/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.20.1
Requires at least:    6.4
Requires PHP:         7.4
WC requires at least: 8.3
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/
.pswp__zoom-wrap {
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.pswp__bg, .mfp-bg.mfp-ready {
    background-color: #737373a8 !important;
}

.dark .form-flat input:not([type=submit]){
    background-color: hsl(0deg 0% 0% / 59%) !important;
}



img.pswp__img {
    opacity: 1 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 90vw !important; 
    max-height: 90vh !important;
    position: static !important; 
    margin: auto !important;
}



.product-quick-view-container button.single_add_to_cart_button.button.alt {
    margin-top: auto;
}
.product-quick-view-container .slider.slider-show-nav.product-gallery-slider.main-images.mb-0.flickity-enabled {
    position: sticky;
    top: 35px;
}
.product-quick-view-container .product_meta {
    display: none;
}
.product-quick-view-container .is-divider.small {
    width: 100%;
    max-width: 100%;
    background-color: #000 !important;
}














.search-results .page-col {
    display: none !important;
}
.search-results h4.uppercase{
    display: none;
}
.oso-collection-page{
		background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('https://duck.flashecom.media/wp-content/uploads/2025/12/blog.webp');
    
    background-size: cover;
    background-position: center;
    padding: 60px 20px !important;
    text-align: center !important;
}

.custom-outer-title {
	background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('https://duck.flashecom.media/wp-content/uploads/2025/12/blog.webp');
    
    background-size: cover;
    background-position: center;
    padding: 60px 20px !important;
    text-align: center !important;
}
ul.header-nav.header-nav-main.nav.nav-left.nav-uppercase {
    justify-content: center;
}
.custom-outer-title h1 {
    color: #ffffff !important;
}
button.oso-size-chart-trigger span.link:hover {
    text-decoration: none !important;
}


button.oso-size-chart-trigger {
    display: block;
}
.wcpa_wrap .wcpa_field_label {
    display: flex !important;
    align-items: center !important;
}

.oso-relatedproduct h3.product-section-title.container-width.product-section-title-related.pt-half.pb-half.uppercase {
    display: none;
}
.custom-icon {
    display: none;
}
/* .single-product table.variations {
    display: none !important;
} */
.single-product span.woocommerce-Price-amount.amount bdi {
    font-family: Roboto, Arial, Helvetica, sans-serif;
}
h1.product-title.product_title.entry-title{
/* font-family: "Noto Serif", Times, "Times New Roman", serif; */
font-family: "Noto Serif", serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    margin: 0 0 .78571rem;
    text-transform: none;
    color: #000;
}
.fa-plane:before {
    content: "\f072";
    font-family: 'FontAwesome';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
}
span.globalBanner-label a {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    color: #000;
	font-family:"Noto Serif",Times,"Times New Roman",serif;
}
.header-wrapper {
    display: flex !important;
    flex-direction: column !important;
}
#masthead {
    order: 1 !important;
}
#wide-nav {
    order: 2 !important;
}
#top-bar {
    order: 1 !important;
}
.header-bg-container.fill {
	 order: 4 !important;
}
#top-bar {
    position: relative;
    z-index: 1 !important;
}

.nav-vertical>li>a, .nav-vertical>li>ul>li a {
    align-items: center;
    display: flex;
    flex-grow: 1;
    width: auto;
    text-align: center;
    justify-content: center;
}
.nav-vertical > li > a {
    flex: 0 0 auto !important;
    margin-right: 5px;
}

.nav-vertical > li > .toggle {
    width: auto !important;
    margin-left: 0 !important;
    position: static !important;
}

.nav-vertical > li {
    justify-content: space-between !important;
}

.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
    background-color:#ebebeb !important;
}
.mfp-content .nav-column>li>a, .mfp-content .nav-dropdown>li>a, .mfp-content .nav-vertical-fly-out>li>a, .mfp-content .nav>li>a {
    color: rgb(0 0 0 / 85%);
}
.oso-btn-banner-home span {
    font-size: 2em !important;
	color:#f2bf4c;
}
.oso-btn-banner-home:hover span {
	color:#000 !important;
}
.callout.badge.badge-circle {
    display: none;
}
span.wpcf7-spinner {
    display: none;
}
.custom-subscribe-form input.input-email{
	border:none !important;
	box-shadow: none;
}
.footer-info-heading {
    color: #050505;
}
.footer-newsletter-summary {
    font-size: 10px;
    margin-top: .78571rem;
}
.oso-menufooter {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
	color:#373737;
	font-size:14px;
}
.social-media {
    display: flex;
    gap:10px;
	justify-content: center;
}
.absolute-footer.dark.medium-text-center.small-text-center {
    display: none;
}
ul.social-media,ul.social-media li{
    list-style: none;
    padding: 0px;
    margin: 0px;
}
.footer-copyright>.powered-by {
    color: #373737;
    font-size: 10px;
    margin: 0;
}
.wcpa_wrap .wcpa_group_field, .wcpa_wrap .wcpa_grp_items {
    gap: 10px 12px;
}
a.sizechart-btn-oso.button.is-small.mb-0 {
    border-radius: 5px ! IMPORTANT;
}
a.sizechart-btn-oso.button.is-small.mb-0:hover {
    color: #000;
    background-color: #fff;
}


.oso-sec1-productpage .flickity-viewport .flickity-slider .col img {
    border-radius: 10px;
}
.product-thumbnails img {
    backface-visibility: hidden;
    margin-bottom: 0px !important;
    opacity: .5;
    transition: transform .6s, opacity .6s;
	border:solid 2px #fff !important;
}
.product-thumbnails .is-nav-selected a img, .product-thumbnails a:hover img {
    border-color: rgba(0, 0, 0, .3);
    opacity: 1;
    transform: translateY(0px) !important;
	border:solid 2px #000 !important;
}
@media screen and (min-width: 850px) {
    .vertical-thumbnails .col {
        width: 85% !important;
    }
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content ul li a {
    font-size: 16px;
}
.page-title-inner.flex-row.medium-flex-wrap.container {
    align-items: flex-end !important;
}
.shop-page-title.category-page-title.page-title .is-large {
    display: none;
}
.woocommerce-ordering, .woocommerce-ordering select {
    margin: 0px !important;
}


.custom-outer-title h1 {
    font-size: 42px;
    color: #000;
    padding: 60px 0px 20px 0px;
}
/* .tax-product_cat a.filter-button.uppercase.plain {
    border: solid 1px #dcdcdc;
    padding: 10px 10px;
    border-radius: 5px;
}
.tax-product_cat select.orderby {
    border-radius: 5px;
}
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner {
    background-color: #fff;
}
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner {
    padding: 30px 40px;
}
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner label.wp-block-search__label {
    display: none;
}
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner .is-divider.small {
    display: none;
}
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner span.widget-title.shop-sidebar {
    font-size: 20px;
	text-transform: capitalize;
}
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner .widget.widget_categories ul li {
    line-height: 1.2em;
} */
/* Filter button */
.tax-product_cat a.filter-button.uppercase.plain,
.search-results.post-type-archive-product a.filter-button.uppercase.plain {
    border: solid 1px #dcdcdc;
    padding: 10px 10px;
    border-radius: 5px;
}

/* Orderby select box */
.tax-product_cat select.orderby,
.search-results.post-type-archive-product select.orderby {
    border-radius: 5px;
}

/* Sidebar inner styling (Background & Padding) */
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner,
.search-results.post-type-archive-product .off-canvas-left .mfp-content .sidebar-inner {
    background-color: #fff;
    padding: 30px 40px;
}

/* Hide Search Label */
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner label.wp-block-search__label,
.search-results.post-type-archive-product .off-canvas-left .mfp-content .sidebar-inner label.wp-block-search__label {
    display: none;
}

/* Hide Divider */
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner .is-divider.small,
.search-results.post-type-archive-product .off-canvas-left .mfp-content .sidebar-inner .is-divider.small {
    display: none;
}

/* Widget Title */
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner span.widget-title.shop-sidebar,
.search-results.post-type-archive-product .off-canvas-left .mfp-content .sidebar-inner span.widget-title.shop-sidebar {
    font-size: 20px;
    text-transform: capitalize;
}

/* Category List Items */
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner .widget.widget_categories ul li,
.search-results.post-type-archive-product .off-canvas-left .mfp-content .sidebar-inner .widget.widget_categories ul li {
    line-height: 1.2em;
}
.widget>ul>li+li, ul.menu>li+li {
    border-top: 0px solid #ececec;
}
.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
    background-color: #ffffff !important;
}
.tax-product_cat .off-canvas-left .mfp-content .sidebar-inner h3.widget-title {
    color: #000;
}
.divier-slibar {
    border: solid 0.5px #d6d6d6;
}

/* --- CSS LIST VIEW (ÁP DỤNG CẢ MÁY TÍNH & ĐIỆN THOẠI) --- */

/* 1. KHUNG BAO NGOÀI: Gộp cả selector Desktop (large) và Mobile (small) */
.large-columns-1 .product-small .box,
.small-columns-1 .product-small .box {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100% !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* 2. CỘT HÌNH ẢNH (Bên trái) */
.large-columns-1 .product-small .box-image,
.small-columns-1 .product-small .box-image {
    width: 35% !important; /* Mobile cho ảnh nhỏ lại chút */
    max-width: 280px !important;
    flex: 0 0 35%;
    margin-right: 15px !important; /* Khoảng cách với chữ */
    margin-bottom: 0 !important;
}

/* 3. CỘT NỘI DUNG (Bên phải) */
.large-columns-1 .product-small .box-text,
.small-columns-1 .product-small .box-text {
    width: 65% !important;
    flex: 1 1 auto;
    text-align: left !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
}

/* --- SẮP XẾP THỨ TỰ (Title -> Price -> Button) --- */

/* Wrapper chứa Title */
.large-columns-1 .box-text .title-wrapper,
.small-columns-1 .box-text .title-wrapper {
    display: flex !important;
    flex-direction: column !important;
}

/* Tên sản phẩm */
.large-columns-1 .box-text .product-title,
.small-columns-1 .box-text .product-title {
    order: 1 !important;
    font-size: 1.1em !important; /* Mobile chữ nhỏ hơn xíu cho gọn */
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.3;
}

/* Category (Ẩn category trên mobile cho đỡ chật nếu muốn) */
.large-columns-1 .box-text .category,
.small-columns-1 .box-text .category {
    order: 0 !important;
    font-size: 0.7em;
    margin-bottom: 5px;
}

/* Giá tiền */
.large-columns-1 .price-wrapper,
.small-columns-1 .price-wrapper {
    font-size: 1.1em !important;
    color: #333;
    margin-bottom: 10px;
    order: 2 !important;
}

/* Nút Mua Hàng */
.large-columns-1 .box-text .cart,
.small-columns-1 .box-text .cart {
    order: 3 !important;
    margin-top: 5px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.large-columns-1 .box-text .cart button,
.small-columns-1 .box-text .cart button {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 8px 15px; /* Nút nhỏ gọn hơn trên mobile */
    min-width: unset !important; /* Bỏ giới hạn chiều rộng để vừa màn hình nhỏ */
    font-size: 12px;
}
.large-columns-1 .box-text .cart button:hover,
.small-columns-1 .box-text .cart button:hover {
    background: #000 !important;
    color: #fff !important;
}

@media (max-width: 550px) {
    .small-columns-1 .box-image .quick-view {
        display: none !important;
    }
}


div#cart-popup .inner-padding {
    padding: 20px;
}

div#cart-popup .is-divider {
    max-width: 100%;
    width: 100%;
}
div#cart-popup ul.wcpa_cart_meta {
    display: flex;
	    flex-direction: column;
}
div#cart-popup span.wcpa_cart_color.disp_squircle.wcpa_clb_border.wcpa_clb_nowhite {
    display: none;
}
div#cart-popup ul.wcpa_cart_meta {
    height: 35px;
}
div#cart-popup p.woocommerce-mini-cart__buttons.buttons {
    display: flex;
    gap: 10px;
}
div#cart-popup p.woocommerce-mini-cart__buttons.buttons a {
    border-radius:10px;
}
div#cart-popup .widget_shopping_cart p.total {
    border-bottom: 0px solid #ececec;
    border-top: 0px solid #ececec;
    margin-bottom: 0;
    padding: 10px 0;
    text-align: center;
}
a.button.wc-forward {
    background-color: #fff;
    color: #000;
}
a.button.checkout.wc-forward {
	background-color: #000;
    color: #fff;
}

.woocommerce-cart .woocommerce {
    max-width: 1600px;
    margin: auto;
}
.woocommerce-cart .message-box.relative.dark {
    max-width: 1600px;
    margin: auto;
}

.checkout-product-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-product-wrapper img.checkout-thumbnail {
    width: 60px; 
    height: auto;
    border-radius: 5px; 
    border: 1px solid #ddd;
    margin-bottom: 0;
}

.checkout-product-wrapper .checkout-product-name {
    line-height: 1.4;
}
@media (max-width: 480px) {
    .checkout-product-wrapper img.checkout-thumbnail {
        width: 40px;
    }
}

.oso-btn-collection a.button.primary.is-large.lowercase {
    background-color: #ffffffd9;
    color: #000;
}
.oso-btn-collection a.button.primary.is-large.lowercase:hover {
    background-color: #000;
    color: #fff;
}




/* ///////////////////////////////////////////////////////// */
/* ///////////////////////////////////////////////////////// */
/* cart */
.oso-sec1-productpage form.cart {
    display: flex;
    flex-direction: column;
}
.oso-sec1-productpage button.single_add_to_cart_button.button.alt {
    /* height: 31px; */
    padding: 10px;
    border-radius: 10px;
}

.woocommerce-cart-form__cart-item .product-thumbnail img {
    width: 90px !important;
    height: auto !important;
    max-width: none !important; 
    opacity: 1 !important; 
}

.woocommerce-cart td.product-thumbnail {
    max-width: 150px;
}
.woocommerce-cart .cart_totals>h2 {
    display: block;
	margin-bottom: 0px;
}


/* --- 1. Tùy chỉnh Cột bên phải (Cart Totals) --- */

/* Tạo nền xám và căn chỉnh khoảng cách cho sidebar */
.cart-collaterals .col-inner {
    background-color: #f7f7f7;
    padding: 10px 30px 30px 30px;
    border-radius: 10px;
}

/* Ẩn tiêu đề bảng thừa (nếu có) để giao diện sạch hơn */
.cart-collaterals table th.product-name {
    display: none;
}

/* Chỉnh font chữ tiêu đề Cart Totals */
.cart_totals h2 {
    font-size: 18px;
    font-weight: bold;
    text-transform: none; /* Không viết hoa toàn bộ */
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Kẻ đường gạch ngang mờ giữa các dòng tính tiền */
.cart_totals table.shop_table tr th, 
.cart_totals table.shop_table tr td {
    border-top: 1px solid #e5e5e5;
    padding: 15px 0;
}

.cart_totals table.shop_table tr:first-child th,
.cart_totals table.shop_table tr:first-child td {
    border-top: none; /* Bỏ đường kẻ dòng đầu tiên */
}

/* --- 2. Tùy chỉnh Nút Thanh Toán (Checkout Button) --- */

/* Biến nút thành màu đen, chữ trắng, full chiều rộng */
.wc-proceed-to-checkout .checkout-button {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 0px !important; /* Vuông góc */
    width: 100%;
    margin-top: 20px;
    font-weight: 700;
    text-transform: none;
}

/* Hiệu ứng khi di chuột vào nút */
.wc-proceed-to-checkout .checkout-button:hover {
    background-color: #333333 !important;
    opacity: 1;
}

/* --- 3. Tùy chỉnh Bảng sản phẩm (Bên trái) --- */

/* Bỏ đường viền dọc của bảng */
.shop_table thead th {
    border-bottom: 1px solid #e5e5e5;
    border-top: none;
    color: #000;
    font-weight: 700;
    text-transform: capitalize; /* Viết hoa chữ cái đầu */
}

/* Chỉnh ảnh sản phẩm */
.product-thumbnail img {
    border-radius: 4px; /* Bo góc nhẹ cho ảnh */
    width: 80px !important; /* Kích thước ảnh chuẩn */
}

/* Nút xóa sản phẩm (dấu X) */
a.remove {
    border: none !important;
    color: #999 !important;
    font-size: 18px !important;
}
a.remove:hover {
    background: none !important;
    color: #ff0000 !important;
}

/* --- 4. Coupon (Mã giảm giá) --- */
/* Nếu coupon đang nằm ở sidebar, làm cho nó gọn lại */
.cart-sidebar .coupon {
    margin-top: 20px;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
}
.cart-sidebar .coupon input.input-text {
    border-radius: 0;
    border: 1px solid #ddd;
}
.cart-sidebar .coupon button {
    background-color: #000;
    color: #fff;
    border-radius: 0;
}
/* --- Tùy chỉnh nút Số lượng (Quantity) giống mẫu --- */

/* 1. Tạo khung bao quanh màu xám */
.woocommerce-cart .product-quantity .ux-quantity {
    background-color: #f7f7f7 !important; /* Màu nền xám */
    border-radius: 4px !important;        /* Bo góc nhẹ */
    border: none !important;              /* Xóa viền cũ */
    display: inline-flex;                 /* Xếp ngang hàng */
    align-items: center;                  /* Căn giữa dọc */
    padding: 0 5px;                       /* Khoảng cách 2 đầu */
    height: 36px;                         /* Chiều cao cố định */
    width: auto !important;
}

/* 2. Chỉnh nút Trừ (-) và Cộng (+) */
.woocommerce-cart .product-quantity .ux-quantity .button {
    background-color: transparent !important; /* Nền trong suốt */
    border: none !important;                  /* Xóa viền nút */
    color: #000 !important;                   /* Màu dấu + - là đen */
    box-shadow: none !important;              /* Xóa bóng đổ */
    font-size: 18px !important;               /* Cỡ chữ dấu + - */
    font-weight: 400 !important;              /* Độ đậm vừa phải */
    width: 25px !important;                   /* Chiều rộng vùng bấm */
    height: 100% !important;                  /* Chiều cao full khung */
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;              /* Bỏ bo tròn riêng lẻ */
}

/* Hiệu ứng khi di chuột vào nút + - */
.woocommerce-cart .product-quantity .ux-quantity .button:hover {
    color: #555 !important;
    background-color: transparent !important;
}

/* 3. Chỉnh ô nhập số ở giữa */
.woocommerce-cart .product-quantity .ux-quantity .qty {
    background-color: transparent !important;
    border: none !important;                
    color: #000 !important;               
    font-weight: 600 !important;       
    width: 30px !important;               
    height: 100% !important;
    min-height: auto !important;
    padding: 0 !important;
    text-align: center;
    -moz-appearance: textfield; 
	box-shadow: none;
}

.woocommerce-cart .product-quantity .ux-quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart .product-quantity .ux-quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.product-small .box-image img {
    border-radius: 12px;
}


/* ///////////////////////////////////////////////////////// */
/* ///////////////////////////////////////////////////////// */

.image-tools.grid-tools {
    justify-content: center !important;
	margin-bottom: 10px !important;
}

.image-tools .quick-view {
    font-size: 0 !important;
    color: transparent !important;
    
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    width: 38px !important;
    height: 38px !important;
    
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    
    padding: 0 !important;
    margin: 0 5px !important;
    position: relative;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.image-tools .quick-view::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-tools .quick-view:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

.image-tools .quick-view:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
/* ///////////////////////////////////////////////////////// */

.product-lightbox.lightbox-content button.single_add_to_cart_button.button.alt {
    height: 35px !important;
}

/* ///////////////////////////////////////////////////////// */

.woocommerce-checkout .checkout-page-title.page-title {
    display: none;
}
.cart-container.container.page-wrapper.page-checkout {
    max-width: 1500px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    border: solid 1px #bfbfbf;
    padding: 30px;
}
.woocommerce-checkout .col-inner.has-border {
    padding: 0px;
    border: none;
}
.woocommerce-checkout div#order_review {
    border: solid 1px #b0b0b0;
    padding: 40px;
	background-color: #fafafa;
}
.woocommerce-checkout input[type=email],.woocommerce-checkout input[type=number],.woocommerce-checkout input[type=search],.woocommerce-checkout input[type=tel],.woocommerce-checkout input[type=text], .woocommerce-checkout input[type=url], textarea {
border-radius:10px;
}
.woocommerce-checkout span.select2-selection.select2-selection--single {
    border-radius: 10px;
}

.woocommerce-checkout .wcpa_cart_meta_item-value p {
    display: flex;
    gap: 10px;
}

/* ///////////////////////////////////////////////////////// */

.product-small .box-image {
    padding-top: 100% !important;
    position: relative;
    overflow: hidden;
}

.product-small .box-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
}


.product-gallery .slide img,
.woocommerce-product-gallery img {
    object-fit: contain !important;
    height: auto !important;
    padding-top: 0 !important;
}



/* ///////////////////////////////////////////////////////// */
.nav-dropdown-has-border .nav-dropdown {
    border: 1px solid #e7e7e7 !important;
    border-radius: 10px !important;
}
.nav-dropdown-default {
    padding: 10px !important;
}
.nav-dropdown-default .nav-column li > a, 
.nav-dropdown.nav-dropdown-default > li > a {
    border-bottom: none !important;
    color: #000 !important;
    text-decoration: none;
    position: relative;
    width: fit-content;
    display: block;
}

.nav-dropdown-default .nav-column li > a::after, 
.nav-dropdown.nav-dropdown-default > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease-out;
}

.nav-dropdown-default .nav-column li > a:hover::after, 
.nav-dropdown.nav-dropdown-default > li > a:hover::after {
    width: 100%;
}

.menu-item-design-default .nav-dropdown-default {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    
    transform: translateY(20px);     
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    
    pointer-events: none;
}
.menu-item-design-default.current-dropdown .nav-dropdown-default,
.menu-item-design-default:hover .nav-dropdown-default {
    opacity: 1; 
    visibility: visible;
    transform: translateY(0); 
    pointer-events: auto;
}
.off-canvas .mobile-sidebar-slide input#woocommerce-product-search-field-2 {
 border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
.off-canvas .mobile-sidebar-slide button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    border-radius: 10px;
}


/* ///////////////////////////////////////////////////////// */
/* footer */
/* .oso-footer2 .ux-menu-link.flex.menu-item a:hover {
	text-decoration:underline;
	
} */
/* 1. Thiết lập cho thẻ SPAN chứa chữ (chính xác nhất) */
.ux-menu-link__text {
    position: relative;
    display: inline-block; /* Giúp khung bo sát nội dung chữ */
}

/* 2. Tạo đường kẻ ẩn bên dưới span */
.ux-menu-link__text::after {
    content: '';
    position: absolute;
    width: 0%;           /* Ban đầu ẩn (độ rộng 0) */
    height: 1px;         /* Độ dày nét gạch */
    bottom: 0;           /* Nằm sát chân chữ */
    left: 0;             /* Bắt đầu từ trái */
    background-color: currentColor; /* Màu tự động theo màu chữ */
    transition: width 0.3s ease-out; /* Hiệu ứng trượt mượt mà */
}

/* 3. Kích hoạt: Khi hover vào thẻ A (cha), thì thẻ SPAN (con) sẽ hiện gạch chân */
.ux-menu-link__link:hover .ux-menu-link__text::after {
    width: 100%;
}

/* ///////////////////////////////////////////////////////// */

/* --- BẮT ĐẦU CODE THAY ICON SEARCH --- */

/* 1. Chọn icon ở Header và Nút tìm kiếm trong Popup */
.header-search a .icon-search,
.ux-search-submit .icon-search {
    /* Ẩn font icon cũ của Flatsome */
    font-size: 0 !important; 
    
    /* Thiết lập khung cho icon mới */
    display: inline-block;
    width: 20px;  /* Kích thước icon (tăng giảm tùy ý) */
    height: 20px;
    
    /* QUAN TRỌNG: Dùng màu hiện tại của menu làm màu nền */
    background-color: currentColor; 
    
    /* Dùng SVG làm mặt nạ đục lỗ (Mask) để icon đổi màu được */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    
    /* Căn chỉnh mặt nạ */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    
    /* Reset lại line-height để căn giữa chuẩn hơn */
    line-height: 1;
    vertical-align: middle;
}

/* 2. Đảm bảo ẩn triệt để các thành phần cũ (::before) */
.header-search a .icon-search::before,
.ux-search-submit .icon-search::before {
    content: none !important;
    display: none !important;
}

/* 3. Tinh chỉnh riêng cho nút Search trong Popup (để nó nằm giữa đẹp hơn) */
.ux-search-submit .icon-search {
    width: 18px;
    height: 18px;
    margin-top: -2px; /* Nhích lên một chút nếu cần */
}
.image-icon img {
    max-width: 20px;
    min-width: 100%;
}

/* --- KẾT THÚC CODE --- */
/* ///////////////////////////////////////////////////////// */
/* 1. Mobile (Small): < 550px */
@media only screen and (max-width: 549px) {
	.oso-menufooter {
    display: flex;
    flex-direction: column;
		align-items: center;
}
.form-submit input.wpcf7-form-control {
    width: 100% !important;
}
	.form-submit {
    width: 100%;
}
	.footer-newsletter-summary {
    font-size: 13px;
}
	.custom-subscribe-form {
    flex-direction: column;
}
	.form-field {
    width: 100%;
}
	.custom-outer-title h1 {
    font-size: 42px;
    color: #000;
    padding: 35px 0px 0px 0px;
}
	.custom-toolbar-center {
    margin-top: -15px !important;
}
.custom-subscribe-form {
    padding: 5px 5px 5px 15px !important;
}
	nav.rank-math-breadcrumb p {
    margin-bottom: 0px;
}
	.off-canvas-left .mfp-content {
    --drawer-width: 90% !important;
}
.mfp-close {
    color: #000000 !important;
}
	
}

/* 2. Tablet (Medium): 550px - 849px */
@media only screen and (min-width: 550px) and (max-width: 849px) {
		.oso-menufooter {
    display: flex;
    flex-direction: column;
			align-items: center;
}
.form-submit input.wpcf7-form-control {
    width: 100% !important;
}
	.footer-newsletter-summary {
    font-size: 13px;
}
		.custom-subscribe-form {
    flex-direction: column;
}
	.form-submit {
    width: 100%;
}
	.form-field {
    width: 100%;
}
.custom-toolbar-center {
    margin-top: -20px !important;
}
	
}

/* 3. Desktop (Large): >= 850px */
@media only screen and (min-width: 850px) {
	.tax-product_cat .off-canvas-left .mfp-content,
	.search-results.post-type-archive-product .off-canvas-left .mfp-content{
    --drawer-width: 25% !important;
}
.tax-product_cat .off-canvas-left .mfp-close,
	.search-results.post-type-archive-product .off-canvas-left .mfp-content{
    color: #000000;
} 
	
}


/* 
//////////////////////////////////////////////////// */


.e-atc-qty-button-holder {
    display: flex;
    flex-direction: column;
    margin: 10px 0px;
    gap: 10px;
}
.quantity.spinners-added {
    border-radius: 5px;
}
.quantity.spinners-added {
    border: solid 1px;
    align-items: center;
}
button.single_add_to_cart_button.button.alt {
    margin-inline-start: 0px !important;
}
.woocommerce div.product .button.single_add_to_cart_button {
    height: 60px;
    line-height: 40px;
    padding: 0 2em;
    text-align: center;
    border-radius: 20px;
    font-size: 16px;
    font-style: italic;
}
button.single_add_to_cart_button.ajax_add_to_cart.button.alt.button-buy-now {
    width: 100%;
}
.stock.in-stock.entry-product-stock {
    display: none;
}
.wcpa_color_bg {
    border: 2px solid #eee;
    border-radius: 1px !important;
}
.wcpa_wrap .wcpa_color_bg::after {
    display: none !important;
}
.wcpa_color_bg:before {
    content: "";
    inset: calc(-1 * 7px);
    opacity: 0;
    border-radius: inherit;
    will-change: transform;
    transition: opacity .2s 
ease-in-out, transform .2s 
ease-in-out;
    position: absolute;
    transform: scale(.75);
    box-shadow: 0 0 0 2px;
}
.wcpa_wrap .wcpa_color_wrap .wcpa_color_bg{
    border:solid 1px #000 !important;
}
.wcpa_wrap .wcpa_color_wrap input:checked~.wcpa_color_bg:before {
    opacity: 1;
 
}
.wcpa_radio label {
    padding: 10px 20px !important;
    /* font-size: 15px; */
    border-radius: 5px !important;
    background-color: #fff !important;
}
.wcpa_wrap .wcpa_check_ui_button .wcpa_radio.wcpa_selected label {
    outline: solid 2px #000000 !important;
}




/* product page */
.oso-sec1-productpage .product_meta .sku_wrapper{display:none;}
.oso-sec1-productpage .product_meta .tagged_as{display:none;}
.oso-sec1-productpage .product_meta .posted_in{font-size: 0!important;border-top:none;}
.oso-sec1-productpage .product_meta .posted_in a{ font-size:15px !important;color:#888888;font-style:italic;font-weight:400;font-family: "Halyard Display", sans-serif;}
.oso-sec1-productpage .product_meta .posted_in a:hover{color:#000;}
.oso-sec1-productpage .product_meta .posted_in a:not(:last-child)::after{
    content: ", ";
    font-size: 15px !important;
}

.product_meta {
    font-size: .8em;
    margin-bottom: 0px !important;
}

.oso-sec1-productpage .wcpa_row.wcpa_row_index_0 .wcpa_field.wcpa_group_field.wcpa_fl_inline label {
    padding: 0px 0px;
}
.oso-sec1-productpage .wcpa_wrap .wcpa_image img {
    display: block;
    position: relative;
    left: 0;
    top: 0;
    border-radius: 0px;
    cursor: pointer;
    box-shadow: none;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border: solid 1px #fff;
}
.oso-sec1-productpage form.cart {
    margin-bottom: 0px;
}
.oso-sec1-productpage .product-thumbnails a {
    background-color: #fff;
    border: 0px solid transparent;
    display: block;
    overflow: hidden;
    transform: translateY(0);
}
.oso-sec1-productpage .commercekit-pdp-sticky-inner {
        overflow-x: hidden !important;
}
.oso-sec1-productpage input[type=button].is-form {
    border: solid 1px #000;
    background-color: #fff;
    border-radius: 7px;
}
.oso-sec1-productpage input[type=button].is-form:hover {
    background-color: #fff !important;
    border: solid 1px #000;
}
.oso-sec1-productpage input[type=number] {
    border-top: solid 1px;
    box-shadow: none;
    border-bottom: solid 1px;
    border-left: none;
    border-right: none;
}
.oso-sec1-productpage .ux-quantity.quantity.buttons_added {
    margin-bottom: 1rem;
}
.oso-sec2-productpage .product-section {
    border-top:none;
}
.oso-sec2-productpage a.quick-view.quick-view-added{
	margin-right: 10%;
}
.oso-sec2-productpage .slider-nav-reveal .flickity-prev-next-button, .oso-sec2-productpage .slider-nav-reveal .flickity-prev-next-button:hover {
    background-color: #ffffff00;
    box-shadow: 0 -150px 15px 0 rgba(0, 0, 0, .3);
    height: 100%;
    margin: 0 !important;
    top: -2px;
    width: 30px;
}
.wcpa_image label {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
}
.add-to-cart-container form.cart {
    gap: 0px;
}
details.product-info__accordion.accordion.group h2, details.product-info__accordion.accordion.group h3 {
    font-size: 15px;
}
.oso-sec1-productpage button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
    max-width: 100%;
    width: 100%;
	max-width: 100%;
    width: 100%;
    background-color: #000 !important;
    opacity: 1;
	height: 55px !important;
}
.oso-sec1-productpage label.wcpa_field_label {
    font-size: 16px !important;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 600;
}
.wcpa_wrap .wcpa_color input:checked~.wcpa_color_bg {
    outline-color: #fff;
}
button.oso-size-chart-trigger {
	max-width: 90%;
    width:fit-content;
    justify-content: flex-end;
    position: relative;
}

form.cart.custom-loop-cart label.wcpa_field_label {
    display: none;
}
form.cart.custom-loop-cart .wcpa_row.wcpa_row_index_0 p.wcpa_color_label {
    display: none;
}
form.cart.custom-loop-cart .wcpa_wrap .wcpa_group_field, form.cart.custom-loop-cart .wcpa_wrap .wcpa_grp_items {
    gap: 10px 10px;
}
form.cart.custom-loop-cart button.single_add_to_cart_button.button.alt {
    display: none;
}
form.cart.custom-loop-cart .wcpa_wrap .wcpa_field_wrap {
    margin: 0px;
}


@media screen and (min-width: 850px) {
    .flickity-slider .vertical-thumbnails .col {
        width: 70% !important;
    }
}
/* product page - end */



.product-small .box-text .custom-loop-cart {
    width: 100%;
    z-index: 9;
    position: relative;
    clear: both;
}

.product-small .box-text .custom-loop-cart button {
    width: 100%;
    border-radius: 3px;
    line-height: 1.2;
}

@media (min-width: 850px) {
    .product-small .box-text .custom-loop-cart {
        margin-top: 0px; 
        margin-bottom: 5px;
    }
}

@media (max-width: 849px) {
    .product-small .box-text .custom-loop-cart {
        margin-top: 5px; 
        margin-bottom: 8px;
    }

    .product-small .box-text .custom-loop-cart button {
        padding: 5px 0;   
        font-size: 12px;   
        min-height: 35px; 
        font-weight: normal;
    }
   
    .product-small .box-text .custom-loop-cart .quantity {
        display: none !important;
    }
}
p.category.uppercase.is-smaller.no-text-overflow.product-cat.op-8 {
    display: none;
}
form.cart.custom-loop-cart .wcpa_row.wcpa_row_index_1 {
    display: none;
}

/* --- CHỈ SỬA LỖI PADDING Ở CHẾ ĐỘ 1 CỘT (LIST VIEW) --- */

.large-columns-1 .product-small .box-image,
.small-columns-1 .product-small .box-image {
    padding-top: 0 !important; /* Tắt chế độ khung vuông bắt buộc */
    height: auto !important;   /* Để chiều cao tự nhiên theo ảnh */
    overflow: visible !important; /* Để không bị cắt trộm */
}

.large-columns-1 .product-small .box-image img,
.small-columns-1 .product-small .box-image img {
    position: relative !important; /* Bỏ absolute để ảnh chiếm chỗ thật */
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Đảm bảo ảnh không bị méo */
    top: auto !important;
    left: auto !important;
}
/* (Không cần code gì thêm, vì CSS trên chỉ nhắm vào class columns-1) */



/* 1. Cho phép khung chứa rớt dòng */
.ux-quantity.buttons_added {
    flex-wrap: wrap !important;
    justify-content: flex-start !important; /* Căn trái */
    width: auto; /* Hoặc 100% nếu muốn nó rộng hết cỡ */
}

/* 2. Ép chữ Quantity chiếm hết chiều ngang để đẩy nút xuống dưới */
.ux-quantity.buttons_added span {
    width: 100%;
    margin-right: 0 !important; /* Xóa margin cũ */
    margin-bottom: 5px; /* Khoảng cách với nút bên dưới */
    text-align: left; /* Căn trái chữ */
    display: block;
}
