/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
.hs-point.pos-left .hs-tooltip-pill {
    right: auto !important;
}
#footer ul {
	list-style: none;
}
#footer ul li {
	margin-left: 0px;
}
#logo img {
	filter: brightness(0);
}
#footer .site-slogan, #footer a {
	color: #3c3c3c;
    margin-bottom: 5px;
    font-size: 14px;
}
#footer h4 {
	color: #000;
}
.st-menu {
	z-index: 99999;
}
.tnm-header {
	padding: 0 15px;
}
.st-bannergt .section-bg {
	    background: linear-gradient(180deg, #F2F4FF 0%, #FFFFFF 70%);
}
.devvn_buy_now {
	margin-bottom: 0px;
}
.single_add_to_cart_button  {
	width: 83.5% !important;
}
.custom-file-spec a {
    padding: 9px 0;
    margin-right: 0px;
    border-radius: 5px;
    min-height: 0px;
    min-width: 0px;
    line-height: 42px;
    background: #009e4a;
}
.btn-secondary-recalc {
	margin-bottom: 0px;
	    text-transform: math-auto;
    font-size: 14px;
}
.btn-primary-khaosat {
    background: #0068ff;
    color: #fff !important;
    padding: 12px 24px;
    line-height: 30px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
    display: inline-block;
}
/* Styling nhãn Flash sale dưới Title */
.custom-flash-sale-label {
    margin: 4px 0 8px 0; /* Khoảng cách trên dưới cho đẹp mắt */
    display: block;
}

.custom-flash-sale-label span {
    background: linear-gradient(90deg, #e53e3e, #f56565);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.2;
    letter-spacing: 0.3px;
}



/* --- Styling Badge ngoài danh sách sản phẩm (Dưới Title) --- */
.custom-acf-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 4px 0 6px 0;
}

.custom-acf-badge-list .badge-item {
    background-color: #0068ff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 7px;
    border-radius: 4px;
    line-height: 1.2;
    display: inline-block;
}

/* --- Styling Khung Ưu Đãi trong Trang Chi Tiết --- */
.custom-promo-box {
    border: 1px solid #e1ebfa;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
    background-color: #ffffff;
}

.promo-header {
    background-color: #f0f5ff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e1ebfa;
}

.promo-title {
    color: #0b46a0;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.promo-content {
    padding: 12px 15px;
}

.promo-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.promo-content li {
    font-size: 14px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.promo-content li:last-child {
    margin-bottom: 0;
}

.promo-content .check-icon {
    display: flex;
    align-items: center;
}
/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/
.product_meta {
	display: flex;
}
.product-small.box {
	min-height: 468px;
}
.custom-product-page  .product-title {
	color: #000;
}
.product-main span {
	border-top: none !important;
}
.product-short-description ul {
	margin-bottom: 0px;
}
.product-short-description ul li {
	margin-bottom: 5px;
    font-size: 15px;
    color: #000;
    font-weight: 400;
}
.product-short-description {
	background: linear-gradient(249.83deg, #eff5ff 3.89%, rgba(244, 251, 255, .25) 65.75%);
    border: 1px solid #609afa;
    border-radius: 16px;
    padding: 10px;
	margin-bottom: 15px;
}
.swatch-list-container {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
}
#footer .site-logo {
	filter: brightness(0);
    width: 120px;
}
.medium-cot2, .medium-cot3 {
	flex-basis: 14% !important;
    max-width: 14% !important;
}
.medium-cot4 {
	flex-basis: 20% !important;
    max-width: 20% !important;
}
.medium-cot5 {
	flex-basis: 26% !important;
    max-width: 26% !important;
}
.swatch-list-container bdi {
	color: red;
}
.product-small.box .no-text-overflow {
	opacity: 1;
    color: #0068ff;
}
a.devvn_buy_now:focus, a.devvn_buy_now:hover, #devvn_buy_now, .devvn-popup-title, .devvn-order-btn {
	background: #000 !important;
} 
.variations_form {
	margin-bottom: 20px;
}
.input-text.qty {
	    height: 59px;
}
.single_add_to_cart_button {
	padding: 10px;
    border-radius: 5px !important;
	width: 240px;
}
.woocommerce-breadcrumb,
.breadcrumb-row,
.page-title.shop-page-title {
    display: none !important;
}
.woocommerce-pagination ul.links li a {
    color: rgb(0 0 0);
}
.woocommerce-pagination ul.links li a:hover {
	color: #fff;
}
.product_meta {
    gap: 15px !important;
}
.custom-file-spec a {
    margin-bottom: 0px;
}
.postid-67831 .custom-file-spec {
    top: -10.9% !important;
}
.nav-dropdown-has-shadow .nav-dropdown {
    box-shadow: 0 4px 10px -2px #0000001a !important;
}
#masthead ul li a {
	font-weight: 400 !important;
}
.nav-left .sub-menu li a {
	font-size: 1em;
	border-bottom: none !important;
}
.nav-left .sub-menu li:hover a {
	color: #060097 !important;
}
@media only screen  and (max-width: 768px) {

.fs-countdown-box {
    justify-content: center !important;
}
	.product_meta {
    display: block !important;
}
	.swatch-option {
    width: 145px;
	}
	.single_add_to_cart_button {
    width: 100% !important;
    padding: 9px 0px !important;
}
	.row-2but a.devvn_buy_now {
		margin: 0px !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.row-2but .col {
		padding-bottom: 11px !important;
	}
	.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
    background-color: #fff !important;
	}
	.off-canvas-left .mfp-content li a, .nav-slide-header button, .off-canvas:not(.off-canvas-center) .nav-vertical li>a {
		text-transform: math-auto;
    	color: #000;
		font-weight: 300 !important;
    	font-size: 15px;
	}
	.off-canvas-left .nav-sidebar.nav-vertical>li+li {
    border-top: none;
}
	.off-canvas .nav-vertical li li>a {
    padding-bottom: 15px !important;
    padding-top: 15px !important;
}
}
@media (max-width: 768px) {
    /* Khung chứa logo và nav xếp dọc hoặc linh hoạt */
    .custom-header-container {
        display: flex;
        flex-direction: column; /* Hoặc row tùy theo bố cục logo của bạn */
        width: 100%;
        overflow: hidden; /* Ngăn vỡ layout trang */
    }
	.product-small.box {
    min-height: 310px;
}
	.pure-main-title {
		font-size: 32px !important;
	}

    /* Thẻ nav bọc ngoài làm khung cuộn */
    .custom-header-container nav {
        width: 100%;
        overflow-x: auto; /* Cho phép cuộn ngang */
        white-space: nowrap; /* Giữ các item trên 1 hàng */
        -webkit-overflow-scrolling: touch; /* Cuộn mượt trên iOS Safari */
        
        /* Ẩn thanh thanh cuộn (scrollbar) để đẹp hơn */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE / Edge */
    }

    .custom-header-container nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    /* Danh sách menu ul */
    .custom-header-menu {
        display: flex !important;
        flex-wrap: nowrap !important; /* Không cho rớt dòng */
        padding: 10px 15px; /* Spacing khoảng cách mép màn hình */
        margin: 0;
        list-style: none;
        gap: 12px; /* Khoảng cách giữa các item menu */
    }

    /* Các thẻ li menu con */
    .custom-header-menu > li {
        flex: 0 0 auto; /* Giữ nguyên kích thước thực của item, không bị co lại */
        display: inline-block;
		        margin-left: 0px !important;
        margin-bottom: 0px;
    }

    /* Định dạng đường dẫn/nút cho đẹp mắt và dễ bấm bằng tay */
    .custom-header-menu > li > a {
        display: block;
        padding: 3px 16px;
        margin-left: 0px !important;
        border: 1px solid;
        background-color: #1c2229;
        border-radius: 20px;
        white-space: nowrap;
        font-size: 14px;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
    }
	.custom-header-logo img {
    max-height: 65px !important;
    width: 100px !important;
	}
    /* Trạng thái Active/Hover */
    .custom-header-menu > li.current-menu-item > a,
    .custom-header-menu > li > a:hover {
        background-color: #0068ff;
        color: #fff !important;
    }
	.lead-right-form {
		padding: 0px !important;
	}
	.hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
	}
}


/* Styling ô Option mặc định cho Sản phẩm đơn */
.pure-simple-swatch-wrapper {
    margin-bottom: 20px;
    padding-top: 5px;
}

.pure-simple-swatch-wrapper .pure-swatch-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pure-simple-swatch-wrapper .pure-swatch-item.active {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 10px;
    border: 2px solid #d32f2f; /* Viền đỏ giống mẫu */
    border-radius: 10px;
    background: #fff;
    cursor: default;
    box-sizing: border-box;
}

/* Nút tích tròn màu đỏ ở góc trên bên phải */
.pure-simple-swatch-wrapper .pure-swatch-check {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    z-index: 2;
}

.pure-simple-swatch-wrapper .pure-swatch-img {
    width: 42px !important;
    height: 42px !important;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.pure-simple-swatch-wrapper .pure-swatch-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pure-simple-swatch-wrapper .pure-swatch-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

.pure-simple-swatch-wrapper .pure-swatch-price {
    font-size: 14px;
    font-weight: 700;
    color: #d32f2f;
    margin-top: 2px;
}

.pure-simple-swatch-wrapper .pure-swatch-price .woocommerce-Price-amount,
.pure-simple-swatch-wrapper .pure-swatch-price ins {
    color: #d32f2f !important;
    text-decoration: none !important;
    font-weight: 700;
}

.pure-simple-swatch-wrapper .pure-swatch-price del {
    color: #999 !important;
    font-size: 12px;
    margin-right: 4px;
}



/* 1. Nền xám tổng thể */
.page-id-7 #main {
    background-color: #f5f5f5 !important;
}

/* 2. Header Bảng Giỏ Hàng */
.sp-cart-header {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 20px;
    border-radius: 3px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #888;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.sp-cart-header .col-chk { width: 40px; }
.sp-cart-header .col-product { flex: 2; color: #000; }
.sp-cart-header .col-variation { width: 160px; text-align: center; color: #888; }
.sp-cart-header .col-price { width: 120px; text-align: center; }
.sp-cart-header .col-qty { width: 130px; text-align: center; }
.sp-cart-header .col-total { width: 120px; text-align: center; }
.sp-cart-header .col-action { width: 100px; text-align: center; }

.sp-cart-header input, 
.sp-shop-header input, 
.sp-bottom-bar button, 
.sp-bottom-bar input {
    margin-bottom: 0px;
}

/* 3. Khối Shop Group */
.sp-shop-group {
    background: #fff;
    border-radius: 3px;
    margin-bottom: 15px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.sp-shop-header {
    padding: 12px 20px;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.sp-badge-fav {
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 2px;
}
.sp-voucher-section strong, .sp-voucher-section .amount  {
	font-weight: 500 !important;
}
.sp-voucher-section .amount {
	color: red;
}
.sp-shop-name {
    font-weight: 600;
    color: #222;
}

.sp-chat-icon {
    color: #ee4d2d;
    font-size: 14px;
}

/* 4. Dòng Sản Phẩm */
.sp-cart-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f2f2;
}

.sp-cart-item .col-chk { width: 40px; }
.sp-cart-item .col-product {
    flex: 2;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #000;
}

.sp-cart-item .col-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #e8e8e8;
}

.sp-product-title {
    font-size: 14px;
    color: #222;
    line-height: 1.3;
    margin-bottom: 4px;
}

/* Cột Phân Loại Hàng riêng biệt */
.sp-cart-item .col-variation {
    width: 160px;
    text-align: center;
    font-size: 13px;
    color: rgba(0,0,0,.6);
}

.sp-variation-details dl.variation {
    margin: 0;
    font-size: 13px;
}
/* Sửa lỗi dính chùm, ép các dòng phân loại và ưu đãi hiển thị xuống dòng độc lập */
.sp-variation-details {
    text-align: center !important;
}

.sp-variation-details *,
.sp-variation-details dl.variation,
.sp-variation-details dl.variation dt,
.sp-variation-details dl.variation dd,
.sp-variation-details p,
.sp-variation-details div {
    display: block !important;
    width: 100% !important;
    margin: 0 0 4px 0 !important;
    float: none !important;
}

.sp-variation-details dl.variation dt {
    font-weight: 600;
    color: #222;
}

.sp-variation-details dl.variation dd {
    margin-left: 0 !important;
    color: #666;
}
.sp-cart-item .col-price { width: 120px; text-align: center; font-size: 14px; color: #222; }
.col-price .amount { font-weight: 400; }

.sp-cart-item .col-qty { width: 130px; display: flex; justify-content: center; }
.col-qty input { box-shadow: none !important; }

.sp-qty-box input.qty {
    width: 45px !important;
    height: 40px !important;
    border: 1px solid #e8e8e8 !important;
    text-align: center;
    font-size: 14px;
    margin: 0 !important;
}

.sp-cart-item .col-total { width: 120px; text-align: center; font-size: 14px; color: #ee4d2d; font-weight: 500; }
.col-total .amount { font-weight: 400; color: red; }

.sp-cart-item .col-action { width: 100px; text-align: center; font-size: 13px; }

.sp-cart-item .col-action a.remove {
    color: #222;
    text-decoration: none;
    display: block;
	    width: 100%;
    font-weight: 400;
    border: none !important;
}
.sp-cart-item .col-action a.remove:hover { color: #ee4d2d; }

/* 5. Khối Shopee Voucher (Nằm Ngang) */
.sp-voucher-section {
    background: #fff;
    padding: 16px 24px;
    border-radius: 3px;
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.sp-voucher-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #222;
}

.sp-voucher-link {
    color: #05a;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

/* 6. Thanh Bottom Bar (Thanh Toán Cố Định) */
.sp-bottom-bar {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 3px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
    z-index: 99;
}

.sp-bottom-bar button {
    opacity: 1 !important;
    text-transform: capitalize;
}

.sp-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.sp-bottom-left label {
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: 0px;
}

.sp-bottom-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sp-bottom-right .amount {
    color: red;
    font-weight: 500;
}

.sp-bottom-right .sp-btn-submit, .sp-qty-box button, .sp-qty-box input {
    margin-bottom: 0px;
	    margin-right: 0;
    text-align: center;
    padding: 0;
}

.sp-total-label { font-size: 16px; color: #222; }
.sp-total-amount { font-size: 24px; color: #ee4d2d; font-weight: 500; margin-left: 5px; }

.sp-btn-submit {
    background: #000 !important;
    color: #fff !important;
    width: 200px !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    font-size: 15px !important;
    border: none !important;
    border-radius: 2px !important;
    cursor: pointer;
    text-transform: capitalize !important;
    font-weight: 400 !important;
    text-align: center;
    display: inline-block;
}

.sp-btn-submit:hover { opacity: 0.8; }

/* 7. POPUP VOUCHER SHOPEE */
.sp-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.sp-modal-box {
    background: #fff;
    width: 520px;
    max-width: 92%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: spFadeIn 0.2s ease-in-out;
}

@keyframes spFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.sp-modal-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
}

.sp-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #222;
}

.sp-modal-header .sp-help-link {
    font-size: 13px;
    color: #888;
    text-decoration: none;
}

.sp-modal-body {
    padding: 20px 24px;
    max-height: 440px;
    overflow-y: auto;
}

.sp-voucher-search-bar {
    background: #f8f8f8;
    padding: 16px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sp-voucher-search-bar span {
    font-size: 14px;
    color: #222;
    white-space: nowrap;
}

.sp-voucher-search-bar input {
    flex: 1;
    height: 38px !important;
    border: 1px solid #e2e2e2 !important;
    background: #fff !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    margin: 0 !important;
    border-radius: 2px !important;
}

.sp-voucher-search-bar button {
    height: 38px !important;
    padding: 0 18px !important;
    background: #e8e8e8 !important;
    color: #999 !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 2px !important;
    cursor: pointer;
}

.sp-voucher-search-bar button.active {
    background: #ee4d2d !important;
    color: #fff !important;
}

.sp-voucher-section-title {
    font-weight: 600;
    font-size: 15px;
    color: #222;
    margin-bottom: 2px;
}

.sp-voucher-section-subtitle {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}

.sp-empty-voucher {
    text-align: center;
    padding: 40px 10px;
    color: #888;
    font-size: 14px;
    background: #fafafa;
    border: 1px dashed #e2e2e2;
    border-radius: 4px;
}

.sp-ticket-card {
    display: flex;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.03);
    position: relative;
    overflow: hidden;
}

.sp-ticket-stub {
    width: 110px;
    background: #73c7c2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.sp-ticket-stub .stub-badge {
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #fff;
    padding: 1px 4px;
    border-radius: 2px;
    margin-bottom: 4px;
}

.sp-ticket-stub .stub-title {
    font-size: 12px;
    font-weight: bold;
}

.sp-ticket-details {
    flex: 1;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-ticket-title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
    margin-bottom: 4px;
}

.sp-ticket-expiry {
    font-size: 12px;
    color: #888;
}

.sp-ticket-action {
    padding: 12px 15px;
    display: flex;
    align-items: center;
}
.sp-btn-submit {
	margin-right: 0px !important;
}
.sp-ticket-action input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #ee4d2d;
    cursor: pointer;
}

.sp-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f2f2f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.sp-footer-summary {
    font-size: 13px;
    color: #555;
}

.sp-footer-summary span {
    color: #ee4d2d;
    font-weight: 500;
}

.sp-footer-btns {
    display: flex;
    gap: 10px;
}
#order_review #place_order {
	color: #fff !important;
}
.sp-modal-box button, .sp-modal-box input {
    margin-bottom: 0px;
}
.sp-btn-back {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #555 !important;
    padding: 8px 24px !important;
    font-size: 13px !important;
    border-radius: 2px !important;
    cursor: pointer;
    text-transform: uppercase;
}

.sp-btn-apply {
    background: #ee4d2d !important;
    border: 1px solid #ee4d2d !important;
    color: #fff !important;
    padding: 8px 28px !important;
    font-size: 13px !important;
    border-radius: 2px !important;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
}

.privacy-notice {
	text-align: center;
}


/*****Cart****/
        .snus-cart-trigger-wrap { display: inline; align-items: center; cursor: pointer; }
        .snus-header-cart-btn { display: flex; align-items: center; gap: 8px; text-decoration: none !important; color: inherit; }
        .snus-icon-container { position: relative; display: flex; align-items: center; }
        .snus-cart-svg { width: 22px; height: 22px; fill: currentColor; }
        .snus-cart-badge {
            position: absolute; top: -7px; right: -9px; background: #ee4d2d; color: #fff;
            font-size: 10px; font-weight: 700; height: 16px; min-width: 16px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1;
        }
        .snus-cart-text { font-size: 13px; font-weight: 600; text-transform: uppercase; }

        /* Tắt Mini Cart mặc định của Flatsome */
        .header-cart-content .cart-popup, .cart-popup-title, #cart-popup, .off-canvas-cart, .mfp-content .cart-popup {
            display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important;
        }

        .snus-cart-overlay {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.55); z-index: 999998 !important;
            opacity: 0; visibility: hidden; transition: all 0.3s ease;
        }
        .snus-cart-overlay.active { opacity: 1; visibility: visible; }

        .snus-sidebar-cart {
            position: fixed; top: 0; right: -420px; width: 400px; max-width: 88vw; height: 100vh;
            background: #fff; z-index: 999999 !important; box-shadow: -5px 0 15px rgba(0,0,0,0.15);
            transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }
        .snus-sidebar-cart.active { right: 0 !important; }

        .snus-cart-header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 16px 20px; border-bottom: 1px solid #eee; background: #fff; flex-shrink: 0;
        }
        .snus-cart-header h3 { margin: 0; font-size: 16px; font-weight: 700; color: #111; }
        .snus-cart-close {
            background: none; border: none; font-size: 24px; color: #666;
            cursor: pointer; padding: 0; line-height: 1;
        }

        .snus-cart-body { 
            flex: 1; overflow-y: auto; padding: 15px 20px; transition: opacity 0.2s;
            max-height: calc(100vh - 180px);
        }
        .snus-cart-body.loading { opacity: 0.4; pointer-events: none; }
        .snus-cart-empty { text-align: center; padding: 40px 10px; color: #777; font-size: 14px; }

        .snus-cart-item {
            display: flex; align-items: center; gap: 10px;
            padding: 12px 0; border-bottom: 1px solid #f2f2f2; position: relative;
        }
        .snus-remove-btn {
            color: #999; text-decoration: none !important; font-size: 22px; font-weight: bold;
            line-height: 1; padding: 4px 8px; cursor: pointer; display: inline-block; border: none; background: transparent;
        }
        .snus-remove-btn:hover { color: #ee4d2d; }

        .snus-item-thumb { width: 55px; height: 55px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
        .snus-item-thumb img { width: 100%; height: 100%; object-fit: cover; }

        .snus-item-info { flex: 1; padding-right: 5px; }
        .snus-item-title { font-size: 13px; font-weight: 600; color: #222; line-height: 1.3; margin-bottom: 8px; }

        .snus-qty-box { display: inline-flex; border: 1px solid #e2e2e2; border-radius: 3px; height: 26px; align-items: center; }
        .snus-qty-btn {
                width: 24px;
    height: 24px;
    /* background: #f9f9f9; */
    border: none;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 0;
    color: #555;
    display: flex;
    align-items: center;
    margin-right: 0;
    justify-content: center;
        }
        .snus-qty-btn:hover { background: #eee; }
        .snus-qty-val {
            width: 32px; height: 100%; border-left: 1px solid #e2e2e2; border-right: 1px solid #e2e2e2;
            text-align: center; font-size: 12px; font-weight: 600; line-height: 24px; display: inline-block; color: #333;
        }

        .snus-item-price-col { text-align: right; min-width: 80px; }
        .snus-price-main { font-size: 14px; font-weight: 700; color: #111; display: block; }

        .snus-cart-footer { padding: 15px 20px 20px 20px; border-top: 1px solid #eee; background: #fff; flex-shrink: 0; }

        .snus-cart-total-row {
            display: flex; justify-content: space-between; align-items: center;
            padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #f2f2f2;
        }
        .snus-total-label { font-size: 14px; font-weight: 600; color: #333; }
        .snus-total-amount { font-size: 16px; font-weight: 700; color: #ee4d2d; }

        .snus-cart-actions { display: flex; flex-direction: column; gap: 8px; }

        .snus-view-cart-btn {
            display: flex; justify-content: center; align-items: center;
            width: 100%; background: #ffffff; color: #111111; border: 1.5px solid #111111;
            padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 700;
            text-decoration: none !important; transition: all 0.2s ease; box-sizing: border-box;
        }
        .snus-view-cart-btn:hover { background: #f4f4f4; color: #000; }

        .snus-checkout-btn {
            display: flex; justify-content: center; align-items: center; gap: 8px;
            width: 100%; background: #000; color: #fff; text-align: center;
            padding: 12px; border-radius: 6px; font-size: 14px; font-weight: 700;
            text-decoration: none !important; transition: background 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.15); box-sizing: border-box;
        }
        .snus-checkout-btn:hover { background: #222; color: #fff; }
        .snus-checkout-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ==========================================================================
   TỔNG HỢP CSS GIAO DIỆN SINGLE.PHP (CHUẨN 3 MÀU ĐỀ XUẤT)
   ========================================================================== */

/* 1. BREADCRUMB & WRAPPER */
.sola-single-post-wrapper {
    background-color: #fff;
}

.sola-breadcrumb {
    font-size: 14px;
    color: #666;
}

.sola-breadcrumb a {
    color: #333;
    transition: color 0.2s ease;
}

.sola-breadcrumb a:hover {
    color: #d8232a; /* Màu đỏ điểm nhấn */
}

.sola-breadcrumb .active {
    color: #888;
}
.display-flex {
	    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}
/* 2. CỘT NỘI DUNG CHÍNH (MAIN ARTICLE) */
.sola-single-badge-cat {
        display: inline-block;
    background-color: #0068ff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-top: 5px;
    text-transform: uppercase;
}

.sola-post-main-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #1c1c1c;
}

.sola-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #777;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.sola-post-meta .meta-item i {
    margin-right: 4px;
    color: #999;
}

/* Nội dung WP Editor */
.sola-entry-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.sola-entry-content p {
    margin-bottom: 1.2em;
}

.sola-entry-content img {
    border-radius: 6px;
    max-width: 100%;
    height: auto;
}

/* Footer bài viết: Tags & Social Share */
.sola-post-footer-meta {
    border-top: 1px solid #eee;
}

.sola-tag-link {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.sola-tag-link:hover {
    background: #d8232a; /* Màu đỏ khi hover tag */
    color: #fff;
}

.sola-post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
	margin-top: 15px;
}
.recent-product-item-widget {
	display: grid;
    grid-template-columns: 0.5fr 2fr;
    gap: 8px;
}
.recent-product-item-widget h5 {
	margin-bottom: 0px !important;
}
.sola-post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #444;
    transition: all 0.2s;
}

.sola-post-share a:hover {
    background: #004289; /* Màu xanh dương đậm */
    color: #fff;
}

/* 3. CỘT SIDEBAR RÚT GỌN (CHỈ DANH MỤC & SẢN PHẨM MỚI NHẤT) */
.sola-sidebar-widget {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
	margin-top: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

/* Tiêu đề Box Sidebar (Màu Xanh dương đậm chủ đạo) */
.sola-widget-title-blue {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0068ff;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0068ff;
}
/* Cấu hình Sticky Sidebar dừng đúng chỗ trước footer/related posts */
.sola-post-sidebar {
    position: sticky;
    top: 90px; /* Khoảng cách từ đỉnh màn hình xuống khi cuộn (tránh bị Header che) */
    align-self: flex-start; /* Quan trọng để giữ đúng chiều cao trong Flexbox */
    transition: all 0.2s ease;
}
/* Danh mục sản phẩm (Product Categories) */
.custom-product-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-product-cat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eaeaea;
}

.custom-product-cat-list li:last-child {
    border-bottom: none;
}

.custom-product-cat-list li a {
    color: #444;
    font-size: 14px;
    word-break: break-word;
    padding-right: 8px;
    transition: color 0.2s;
}

.custom-product-cat-list li a:hover {
    color: #004289; /* Chuyển xanh dương đậm khi hover */
}

.custom-product-cat-list li .count {
    background: #0068ff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Widget Sản phẩm mới nhất (Recent Products) */
.recent-product-item-widget {
    align-items: center;
}

.recent-product-item-widget .recent-img-mini {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #eee;
}

.recent-product-item-widget .recent-img-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-info-mini h5 {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 4px;
    font-weight: 500;
}

.recent-info-mini h5 a {
    color: #333;
    transition: color 0.2s;
}

.recent-info-mini h5 a:hover {
    color: #004289;
}

/* Giá sản phẩm (Màu đỏ nổi bật) */
.product-price-mini .amount,
.product-price-mini ins {
    font-size: 13px;
    font-weight: 700;
    color: #d8232a !important; 
    text-decoration: none;
}

.product-price-mini del {
    font-size: 11px;
    color: #999;
    margin-right: 5px;
}

/* 4. BÀI VIẾT LIÊN QUAN (RELATED POSTS) */
.related-section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1c1c1c;
}

.view-all-related {
	font-size: 13px;
    font-weight: 600;
    color: #000000;
    text-align: right;
    transition: opacity 0.2s;
}

.view-all-related:hover {
    opacity: 0.8;
}

.sola-grid-card {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sola-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sola-grid-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.sola-grid-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sola-badge-cat-grid {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.sola-grid-content {
    padding: 15px;
}

.sola-grid-title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 8px;
}

.sola-grid-title a {
    color: #222;
}

.sola-grid-title a:hover {
    color: #004289;
}

.sola-grid-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.sola-date-txt {
    font-size: 11px;
    color: #aaa;
}

/* RESPONSIVE CHO MOBILE */
@media (max-width: 767px) {
    .sola-post-main-title {
        font-size: 22px;
    }
    
    .sola-post-footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}


