/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); */
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
/* 	font-family: "Inter", sans-serif; */
	font-size: 16px;
}
.section > .section-content > .row > .col {
	padding-bottom: 0;
}
b, strong {
	font-weight: 800;
}
p {
	margin-bottom: 10px;
}
p:last-child {
	margin-bottom: 0;
}
.icon-box p {
	margin-bottom: 0;
}
.icon-box-img img, .icon-box-img svg {
	padding-top: 0;
}
.icon-box-left .icon-box-img, .icon-box-right .icon-box-img {
	width: 16px !important;
}
.icon-box-left {
	display: flex;
	align-items: center;
}
.nav-spacing-xlarge>li {
	margin: 0 20px;
}
.header-main {
	border-bottom: 1px solid #d9d9d9;
}
.col-gradient > .col-inner {
	background-image: linear-gradient(to right, #57AD99 , #3EAA91);
}
.col-gradient.col-gradient-2 > .col-inner {
	background-image: linear-gradient(to right, #E09CBB , #7A5566);
}
.col-gradient.col-gradient-3 > .col-inner {
	background-image: linear-gradient(to right, #C3AAD1 , #64576B);
}
/* Container chính */
.col-gradient .img .img-inner {
  overflow: inherit; /* Quan trọng: Giữ ảnh không bị tràn ra ngoài box khi phóng to */
}

/* Trạng thái mặc định của ảnh */
.col-gradient .img-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease; /* Tạo độ mượt (0.5 giây) */
}

/* Hiệu ứng khi hover vào box */
.col-gradient:hover .img-hover img {
  transform: scale(1.2); /* Phóng to lên 1.2 lần (Zoom In) */
}

.tab-content .button {
	margin-bottom: 0;
}
.product-small .badge-container {
	left: auto;	
	margin: 0;
    top: 10px;
    right: 10px;
}
.product-small .badge-container .badge-inner {
	font-size: 12px;
	font-weight: normal;
}
.product-small .amount,
.product-small ins .amount {
	font-size: 14px;
	color: #DD1A29;
}
.product-small del {
	text-decoration: none;
}
.product-small del .amount {
	font-size: 12px;
	color: #B1B1B1;
	text-decoration: line-through;
}
.product-small .product-title a {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
    font-size: 14px;
}

.tabbed-content .nav>li {
	margin: 0 20px;
}
.tabbed-content .nav>li > a {
	font-weight: normal;
	font-size: 14px;
}
.custom-post-meta span {
	font-size: 10px;
	color: #444444;
	margin-right: 20px;
}
.col.post-item .box-image {
	overflow: hidden;
}
/* Trạng thái mặc định của ảnh */
.col.post-item .box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease; /* Tạo độ mượt (0.5 giây) */
}

/* Hiệu ứng khi hover vào box */
.col.post-item:hover .box-image img {
  transform: scale(1.2); /* Phóng to lên 1.2 lần (Zoom In) */
}
.col.post-item .post-title {
	font-size: 14px;
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
    margin-bottom: 10px;
}
.col.post-item:hover .post-title {
	color: var(--primary-color);
}
.custom-post-readmore {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}
.box-blog-post .is-divider {
	display: none;
}

.row-contact {
	position: relative;
}
.row-contact input.wpcf7-form-control {
	border-radius: 99px;
	margin-bottom: 0;
}
.row-contact input.wpcf7-form-control.wpcf7-submit {
	background-color: transparent !important;
	color: #333;
	position: absolute;
	right: 0;
	top: 2px;
	margin: 0;
	text-transform: none;
	font-size: 14px;
	box-shadow: none;
	border: none;
	border-radius: 99px;
}
.wpcf7-spinner {
	display: none;
}

.absolute-footer {
	border-top: 1px solid #1C384D;
	padding: 10px 0;
}

.widget .is-divider {
	display: none;
}
span.widget-title {
	display: block;
	text-transform: none;
	font-size: 14px;
	font-weight: 600;
}

.widget {
	border-bottom: 1px solid #dddddd;
	padding-bottom: 20px;
}
.widget:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.woocommerce-widget-layered-nav-list > li.woocommerce-widget-layered-nav-list__item  {
	font-size: 14px;
	border: none;
} 
/* Container chung cho các item */
.widget_brand_nav .wc-brand-list-layered-nav-product_brand .wc-layered-nav-term a,
.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: inherit;
    padding: 5px 0;
}

/* Tạo ô vuông trống mặc định */
.widget_brand_nav .wc-brand-list-layered-nav-product_brand .wc-layered-nav-term a::before,
.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #d5d5d5; /* Màu viền ô vuông */
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    
    /* Căn chỉnh dấu X bên trong */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    top: 0;
}

/* Hiệu ứng khi hover vào item */
.widget_brand_nav .wc-brand-list-layered-nav-product_brand .wc-layered-nav-term:hover a::before,
.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item:hover a::before {
    border-color: #666;
}

/* Khi item được chọn (.chosen) - Hiển thị dấu X */
.widget_brand_nav .wc-brand-list-layered-nav-product_brand .wc-layered-nav-term.chosen a::before, 
.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item.chosen a::before {
    content: "\2715"; /* Mã Unicode của dấu X thanh mảnh */
    background-color: #000; /* Màu nền khi được chọn (tùy chọn) */
    color: #fff; /* Màu của dấu X */
    border-color: #000;
    top: 0;
}

/* Tùy chỉnh màu chữ cho item đang được chọn */
/*.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item.chosen a {
    font-weight: bold;
    color: #000;
}*/
.ux-swatch-widget-layered-nav-list__graphic {
	display: none;
}

.archive .post-item .box.box-vertical .image-cover {
	padding-top: 62% !important;
}
.post-item .box-text .from_the_blog_excerpt {
	font-size: 12px;
	text-align: justify;
	margin-bottom: 10px;
	color: #333;
}
.archive .post-item .custom-post-readmore {
	text-align: right;
}

.widget.widget_categories span.widget-title {
	display: none;
}
.widget ul li {
	font-size: 14px;
}
.widget ul li.active a {
	color: var(--primary-color);
}
.widget_nav_menu .menu li.current-menu-item a {
	font-weight: bold;
	color: var(--primary-color);
}
.product-summary .quantity {
	display: flex;
}
.single_add_to_cart_button.button {
	background-color: transparent !important;
	border: 1px solid #DD1A29;
	border-radius: 5px;
	font-size: 12px;
	text-transform: none;
	width: 204px;
	height: 32px;
	line-height: 32px;
	padding: 0 10px;
	color: #DD1A29;
	font-weight: normal;
}
.single_add_to_cart_button.button:hover {
	background-color: #DD1A29 !important;
	color: #fff !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

.single_add_to_cart_button.button.wc-buy-now-btn {
	background-color: #DD1A29 !important;
	color: #fff !important;
}
.single_add_to_cart_button.button.wc-buy-now-btn:hover {
	background-color: transparent !important;
	border: 1px solid #DD1A29;
	color: #DD1A29 !important;
}
.product-gallery-slider img {
	border: 1px solid #dddddd;
	border-radius: 15px;
}
.product-thumbnails .is-nav-selected a, .product-thumbnails a:hover {
	border-color: #DD1A29;
	border-radius: 8px;
}
.product-thumbnails .is-nav-selected a img, .product-thumbnails a:hover img {
	
	transform: none;
}
.product-thumbnails img {
	margin-bottom: 0;
	border-radius: 8px;
	height: 100px;
    object-fit: cover;
}

.product-info ins .amount, 
.product-info .amount {
	font-size: 24px;
	color: #DD1A29;
}
.product-info del {
	text-decoration: none;
}
.product-info del .amount {
	font-size: 14px;
	color: #BCBCBC;
	text-decoration: line-through;
	opacity: 1;
}
.custom-product-meta {
	display: flex;
    align-items: center;
    font-size: 12px;
}
.sku-wrapper {
	margin-right: 40px;
}
.product-info .is-divider {
	display: none;
}
.product-info h1.product-title {
	border-bottom: 1px solid #DDDDDD;
	font-size: 18px;
	text-transform: uppercase;
	padding-bottom: 15px;
	margin-bottom: 20px;
}
.single-rating {
	color: #F8CB5E;
}
.box-info ul li {
	list-style: none;
	display: inline-block;
	margin-left: 0;
	font-size: 13px;
	margin-right: 20px;
}
.box-info ul li:last-child {
	margin-right: 0;
}

.box-info ul li:before {
	content: '\f058';
	font-family: FontAwesome;
	color: #33D3AF;
	margin-right: 5px;
}
.product-section-title-related {
	text-transform: none;
	text-align: center;
	position: relative;
}
.product-section-title-related:after {
	content: '';
	display: block;
	width: 68px;
	height: 1px;
	background-color: var(--primary-color);
	margin: auto;
	margin-top: 8px;
}
.single .tabbed-content .nav>li > a {
	font-size: 18px;
	text-transform: none;
	font-weight: 800;
}
.product-info .cart {
	margin-bottom: 0;
}
@media (max-width: 820px) {
	.product-thumbnails img {
		height: 180px;
	}
}
@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.product-thumbnails img {
		height: 78px;
	}
	.single_add_to_cart_button.button {
		width: 170px;
	}
	.product-main {
		padding-bottom: 0;
	}

}
.row-hv > .col > .col-inner .img-ne{
	transition: 0.2s ease-out;
    -webkit-transform: translate3d(0, 0px, 0);
    -moz-transform: translate3d(0, 0px, 0);
    -ms-transform: translate3d(0, 0px, 0);
    -o-transform: translate3d(0, 0px, 0);
    transform: translate3d(0, 0px, 0);
}
.row-hv > .col > .col-inner:hover .img-ne{
	transition: 0.2s ease-out;
	-webkit-transform: translate3d(10px, 0px, 0);
    -moz-transform: translate3d(10px, 0px, 0);
    -ms-transform: translate3d(10px, 0px, 0);
    -o-transform: translate3d(10px, 0px, 0);
    transform: translate3d(10px, 0px, 0);
}
.product-small.box  .image-tools.top {
	width: 100%;
	text-align: center;
}
.product-small.box .view-ct-button {
	padding: 100px 20px;
}
.product-small.box .view-ct-button a {
	margin: 0 !important;
}
/* Mặc định ẩn nút mobile trên desktop */
.show-on-mobile-only {
    display: none !important;
}

/* Khi vào màn hình mobile và máy tính bảng */
@media (max-width: 767px) {
    .hide-on-mobile-only {
        display: none !important;
    }
    .show-on-mobile-only {
        display: block !important;
        margin-top: 10px; /* Khoảng cách phía trên nút cho thoáng */
        text-align: center;
    }
    /* Tùy chỉnh riêng cho nút trên mobile nếu muốn */
    .show-on-mobile-only .view-ct.button {
		padding: 2px 10px;
        font-size: 12px;
        width: 80%;
        border-radius: 5px;
    }
	.product-small.box .view-ct-button {
		padding: 0;
	}
}