/* ==========================================================================
   BoxMart.vn - Main Stylesheet
   ========================================================================== */

/* --- Reset & Base --- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Design System: Spacing & Tokens --- */
:root {
    --bg-canvas: #F5F5F7;
    --bg-card: #FFFFFF;
    --border-light: #F1F5F9;
    --border-subtle: #E2E8F0;
    
    /* Spacing Scale */
    --space-2xs: 4px;
    --space-xs: 6px;
    --space-sm: 8px;
    --space-md: 10px;
    --space-base: 14px;
    --space-lg: 18px;
    --space-xl: 24px;
    --space-2xl: 32px;
    
    /* Radius Scale */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Box Gap: khoảng trống giữa các khung trắng (section-to-section) và giữa các thẻ trong lưới.
       Đổi 1 chỗ này để đổi toàn site. Desktop dùng giá trị dưới, mobile ghi đè ở @media bên dưới. */
    --box-gap: 12px;
}

@media (max-width: 768px) {
    :root {
        --box-gap: 6px;
    }

    /* Box-stack wrappers: mọi khung trắng con trực tiếp của các khối trang này
       tự động cách nhau đúng --box-gap, không cần khai margin riêng cho từng class.
       Thêm trang mới? Chỉ cần đặt section/khung mới làm con trực tiếp của 1 trong các wrapper này. */
    main.site-main:not(.product-detail-page),
    main.category-page-wrapper,
    .blog-mobile-view,
    .contact-page-wrapper,
    .cart-page-wrapper,
    .checkout-left-col,
    .checkout-right-col,
    main.product-detail-page > .container {
        display: flex;
        flex-direction: column;
        gap: var(--box-gap);
    }
    /* "gap" chỉ tạo khoảng cách GIỮA các khung con, không tự thêm khoảng trống SAU khung
       cuối cùng trước footer — nên các wrapper cấp trang (chạm trực tiếp footer) cần thêm
       padding-bottom riêng. checkout-left-col/right-col không cần vì chúng nằm bên trong
       checkout-page-wrapper, không tiếp giáp footer. */
    main.site-main:not(.product-detail-page),
    main.category-page-wrapper,
    div.blog-mobile-view,
    main.contact-page-wrapper,
    main.cart-page-wrapper,
    main.product-detail-page > .container {
        padding-bottom: var(--box-gap) !important;
        box-sizing: border-box;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-canvas);
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-orange { color: #FF5000 !important; }
.text-green { color: #10B981 !important; }
.text-blue { color: #2563EB !important; }
.text-purple { color: #8B5CF6 !important; }
.text-gold { color: #F59E0B !important; }
.text-muted { color: #94A3B8 !important; }
.bg-peach { background-color: #FFF3E0 !important; color: #EA580C; }
.bg-pink { background-color: #FCE4EC !important; color: #E11D48; }
.bg-blue { background-color: #E3F2FD !important; color: #0284C7; }
.bg-purple { background-color: #EDE7F6 !important; color: #7C3AED; }
.bg-green { background-color: #E8F5E9 !important; color: #16A34A; }
.bg-amber { background-color: #FFF8E1 !important; color: #D97706; }

/* ==========================================================================
   TOPBAR (DESKTOP) - Matching media_1788856268552.png
   ========================================================================== */
.topbar {
    display: none !important;
    background-color: #F8FAFC;
    border-bottom: 1px solid #EDF2F7;
    font-size: 12px;
    padding: 7px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left .hotline-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    font-size: 12.5px;
}

.topbar-left .hotline-link i {
    color: #FF5000;
    font-size: 13px;
}

.topbar-left .hotline-number {
    color: #FF5000;
    font-weight: 700;
}

.topbar-left .hotline-time {
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 400;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748B;
    font-weight: 500;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.topbar-item:hover {
    color: #FF5000;
}

.topbar-item i {
    font-size: 13px;
    color: #64748B;
    transition: color 0.15s ease;
}

.topbar-item:hover i {
    color: #FF5000;
}

.topbar-separator {
    width: 1px;
    height: 12px;
    background-color: #CBD5E1;
}

/* ==========================================================================
   MAIN HEADER (DESKTOP) - Matching media_1788856268552.png
   ========================================================================== */
.main-header {
    background-color: #FFFFFF;
    padding: 16px 0 12px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo-img {
    display: block;
    height: auto;
    object-fit: contain;
}

.main-header .brand-logo .logo-img-desktop,
.header-logo .logo-img-desktop,
.logo-img-desktop {
    display: block;
    height: 72px !important;
    width: auto !important;
    max-width: 270px !important;
    object-fit: contain !important;
}

.footer-logo-img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 12px;
}

.logo-img-mobile {
    display: none !important;
}

.logo-name {
    font-size: 32px;
    font-weight: 800;
    color: #FF5000;
    letter-spacing: -0.5px;
    line-height: 1.05;
}

.logo-ext {
    color: #FF5000;
}

.logo-tagline {
    font-size: 12px;
    color: #64748B;
    margin-top: 3px;
    font-weight: 400;
    line-height: 1.2;
}

/* Search Bar (Capsule with outer orange border) */
.header-search {
    flex: 1;
    max-width: 620px;
    margin: 0 auto;
}

.search-form-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #FF5000;
    border-radius: 9999px;
    background-color: #FFFFFF;
    height: 44px;
    padding: 2px 3px 2px 18px;
    box-sizing: border-box;
    width: 100%;
}

.search-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    margin-right: 12px;
    color: #1E293B;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.search-input-wrap {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    color: #0F172A;
    background: transparent;
    padding: 0;
}

.search-input::placeholder {
    color: #94A3B8;
    font-size: 14px;
}

.search-btn {
    background-color: #FF5000;
    color: #FFFFFF;
    border-radius: 9999px;
    height: 38px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.search-btn:hover {
    background-color: #E03A00;
}

.search-btn i {
    font-size: 13px;
    color: #FFFFFF;
}

.desktop-search-text {
    display: inline;
}

/* Header Actions (Account & Cart) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1E293B;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.action-btn:hover {
    opacity: 0.85;
}

.action-divider {
    width: 1px;
    height: 24px;
    background-color: #E2E8F0;
    display: block;
}

.account-btn .icon-wrap {
    font-size: 26px;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.user-links {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.25;
}

.link-login {
    font-weight: 700;
    font-size: 13px;
    color: #0F172A;
}

.link-register {
    color: #64748B;
    font-size: 11.5px;
    margin-top: 1px;
}

.cart-btn .icon-badge-wrap {
    position: relative;
    font-size: 26px;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -7px;
    background-color: #FF5000;
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    padding: 0 3px;
}

.action-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.25;
}

.action-label {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

.action-sublabel {
    font-size: 11.5px;
    color: #64748B;
    margin-top: 1px;
}

/* ==========================================================================
   NAVIGATION BAR (DESKTOP) - Matching media_1788856268552.png
   ========================================================================== */
.main-navbar {
    background-color: #FFFFFF;
    border-top: 1px solid #F1F5F9;
    padding: 8px 0 10px;
}

.navbar-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cat-menu-button {
    position: relative;
}

.btn-all-categories {
    background-color: #FF5000;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    height: 42px;
    width: 250px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    flex-shrink: 0;
}

.header-cat-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    z-index: 200;
    flex-direction: column;
    box-shadow: none;
}

.header-cat-dropdown.active {
    display: flex;
}

.btn-all-categories i {
    font-size: 15px;
}

.nav-links {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1E293B;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: none;
}

.nav-link i {
    color: #FF5000;
    font-size: 14px;
}

.nav-link:hover {
    border-color: #FF5000;
    color: #FF5000;
    transform: translateY(-1px);
    box-shadow: none;
}

/* Active Item (Trang chủ) */
.nav-item.active .nav-link {
    border-color: #FFE4D6;
    color: #FF5000;
    background-color: #FFFFFF;
}

.nav-item.active .nav-link i {
    color: #FF5000;
}

.nav-item.active::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    background-color: #FF5000;
    border-radius: 3px;
    margin-top: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 12px 0 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 250px 1fr 260px;
    gap: var(--box-gap);
    align-items: stretch;
}

/* Category Sidebar */
.hero-category-sidebar {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 0 0 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: none;
}

.cat-list {
    display: flex;
    flex-direction: column;
}

.cat-item-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid #F8FAFC;
    transition: background-color 0.15s ease;
}

.cat-item-link:hover {
    background-color: #FFF7ED;
}

.cat-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.cat-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cat-title {
    font-size: 12px;
    font-weight: 600;
    color: #1E293B;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cat-desc {
    font-size: 10px;
    color: #94A3B8;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cat-arrow {
    font-size: 10px;
    color: #CBD5E1;
}

.cat-footer {
    padding: 8px 12px;
    border-top: 1px solid #F1F5F9;
    text-align: center;
}

.cat-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #FF5000;
}

/* Center Hero Banner */
.hero-center-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    box-shadow: none;
}

.hero-slider-wrap {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 100%;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(22px, 0, 0) scale(1.008);
    transition: opacity 0.65s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.8s;
}

.hero-slide.active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0s;
}

.hero-banner-content {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 3;
    width: 54%;
    padding: 26px 24px 28px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-banner-content .brand-row {
    margin-bottom: 10px;
}

.hero-cat-tag {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 12px;
    border: 1px solid rgba(255, 80, 0, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #C94308;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-headline {
    display: grid;
    gap: 7px;
    margin: 0;
    color: #182235;
    font-size: clamp(25px, 2.15vw, 36px);
    font-weight: 850;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.hero-headline-line {
    display: block;
}

.hero-subtext {
    max-width: 360px;
    margin: 10px 0 0;
    color: #556176;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
    color: #334155;
    font-size: 11px;
    font-weight: 650;
}

.hero-features li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-cta-wrap {
    margin-top: 17px;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: #FF5000;
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.025em;
    box-shadow: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-cta:hover {
    background: #E74600;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: none;
}

.hero-center-banner .hero-banner-image {
    width: 100%;
    height: 100%;
}

.hero-center-banner .hero-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.hero-dots .dot {
    appearance: none;
    border: 0;
    padding: 0;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #E2E8F0;
    cursor: pointer;
    transition: all 0.2s;
}

.hero-dots .dot.active {
    width: 20px;
    background-color: #FF5000;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transform: none;
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }
    .hero-slide.active {
        transition-delay: 0s;
    }
}

/* Right Promo Cards */
.hero-promo-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-card {
    flex: 1;
    min-height: 108px;
    border-radius: 16px;
    padding: 14px 12px 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: none;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 116px;
    height: 116px;
    right: -26px;
    top: -34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.52);
    filter: blur(1px);
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.promo-card-kids { background: linear-gradient(135deg, #FFF4F0 0%, #FFE2D6 100%); }
.promo-card-home { background: linear-gradient(135deg, #FFF9E9 0%, #FFE8C4 100%); }
.promo-card-wellness { background: linear-gradient(135deg, #EEF7F5 0%, #DDEFEA 100%); }

.promo-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    max-width: calc(100% - 82px);
    z-index: 2;
}

.promo-kicker {
    color: #C54812;
    font-size: 7.5px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.09em;
}

.promo-card-wellness .promo-kicker { color: #14735D; }

.promo-title {
    margin: 1px 0 0;
    color: #172033;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.015em;
}

.promo-sub {
    margin: 1px 0 0;
    color: #667085;
    font-size: 9.5px;
    line-height: 1.25;
}

.btn-promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #FF5000;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.2;
    width: fit-content;
    box-shadow: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-promo-pill:hover {
    background: #E74600;
    color: #FFFFFF;
    transform: translateX(2px);
}

.btn-promo-pill i { font-size: 7px; }

.promo-thumb {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.promo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 8px rgba(30, 41, 59, 0.13));
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-card:hover .promo-thumb img { transform: scale(1.05) rotate(-1deg); }

/* ==========================================================================
   USP / TRUST BAR
   ========================================================================== */
.trust-bar-section {
    margin: 0;
}

.trust-bar-inner {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    font-size: 22px;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-size: 12px;
    font-weight: 700;
    color: #1E293B;
    letter-spacing: 0.2px;
}

.trust-desc {
    font-size: 11px;
    color: #64748B;
}

/* ==========================================================================
   PRODUCTS SHOWCASE: DEAL HOT & BEST SELLERS (SEPARATE ROWS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   3. DEAL HOT MỖI NGÀY (FULL ROW - 6 PRODUCTS)
   -------------------------------------------------------------------------- */
.section-deal-hot {
    margin: 0;
}

.deal-hot-box {
    background-color: #FFFFFF;
    border: 2px solid #FF5000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.deal-hot-header-bar {
    background: linear-gradient(90deg, #FF4500 0%, #FF6A00 100%);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dh-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
}

.dh-header-left i {
    font-size: 18px;
    color: #FFFFFF;
}

.dh-title {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dh-header-center {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
}

.dh-cd-label {
    color: #FFFFFF;
    font-weight: 500;
}

.cd-timer {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cd-box {
    background-color: #FFFFFF;
    color: #FF4500;
    font-size: 13px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    min-width: 24px;
    text-align: center;
    line-height: 1.3;
}

.cd-colon {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
}

.dh-header-right {
    display: flex;
    align-items: center;
}

.dh-link-hunt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.dh-link-hunt:hover {
    opacity: 0.85;
}

.deal-hot-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--box-gap);
    padding: 16px 14px 18px;
}

.product-thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.deal-hunt-card {
    position: relative;
    border: 1px solid #F1F5F9;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    box-shadow: none;
}

.deal-hunt-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    border-color: #FFEDD5;
}

.deal-hunt-card .product-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: block;
    overflow: hidden;
    border-radius: 0;
    background-color: #F8FAFC;
    position: relative;
}

.deal-hunt-card .product-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.deal-hunt-card .product-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.deal-hunt-card:hover .product-thumb img {
    transform: scale(1.05);
}

.deal-hunt-card .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 6px 10px 6px !important;
    margin-top: -16px;
    border-radius: 18px 18px 0 0;
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    box-shadow: none;
}

.deal-hunt-card .product-title {
    margin: 0 0 6px !important;
}

.deal-hunt-card .product-rating {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
}

.deal-hunt-card .product-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    gap: 6px;
}

.btn-san-deal {
    width: 100%;
    background: linear-gradient(90deg, #FF4500, #FF6A00);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 7px 0;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-san-deal:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   4. SẢN PHẨM BÁN CHẠY (FULL ROW - 6 PRODUCTS)
   -------------------------------------------------------------------------- */
.section-bestsellers {
    margin: 0;
}

/* Common Block Header */
.block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.header-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.block-title {
    font-size: 14px;
    font-weight: 800;
    color: #1E293B;
}

.block-subtitle {
    color: #64748B;
    font-size: 12.5px;
    font-weight: 400;
    margin-left: 8px;
}

.card-trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    gap: 4px;
}

.card-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #64748B;
    font-weight: 500;
    white-space: nowrap;
}

.card-trust-item i.text-orange {
    color: #FF5000 !important;
}

.card-trust-item i.text-green {
    color: #10B981 !important;
}

.link-view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
}

.link-view-all:hover {
    color: #FF5000;
}

.bestseller-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--box-gap);
    flex: 1;
}

/* ==========================================================================
   PRODUCT CARD - 2026 MODERN PREMIUM REDESIGN
   ========================================================================== */
.product-card {
    position: relative;
    border: 1px solid #F1F5F9;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    border-color: #FFEDD5;
}

/* Sale Discount Badge (Top-Left) */
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #FF3B30;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    z-index: 3;
    line-height: 1.2;
    box-shadow: none;
    letter-spacing: -0.2px;
}

/* Top-Right Floating Wishlist Heart Button */
.card-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    color: #EF4444;
    font-size: 15px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.card-wishlist-btn:hover {
    transform: scale(1.12);
    background: #FFFFFF;
    box-shadow: none;
}

.card-wishlist-btn.active,
.card-wishlist-btn.active i {
    color: #EF4444;
}

/* Product Thumbnail */
.product-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: block;
    overflow: hidden;
    border-radius: 0;
    background-color: #F8FAFC;
    position: relative;
}

.product-thumb a.thumb-link,
.product-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.card-feature-tags {
    display: none !important;
}

/* Card Body Details - Overlapping Sheet with Rounded Top Corners */
.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 6px 10px 6px !important;
    margin-top: -16px;
    border-radius: 18px 18px 0 0;
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    box-shadow: none;
}

.product-title {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
    margin: 0 0 6px !important;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-title a:hover {
    color: #FF5000;
}

.product-subtitle {
    display: none !important;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
}

.star-rating {
    font-weight: 700;
    color: #1E293B;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.star-rating i,
.star-rating .text-gold {
    color: #F59E0B;
}

.review-count {
    color: #94A3B8;
    font-size: 10.5px;
    font-weight: 500;
}

/* Price and Cart Row */
.product-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    gap: 6px;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.price-now {
    font-size: 15px;
    font-weight: 800;
    color: #FF5000;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.price-was {
    font-size: 11px;
    font-weight: 500;
    color: #94A3B8;
    text-decoration: line-through;
    line-height: 1.2;
}

/* Modern Pastel Orange Cart Button */
.btn-card-cart {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: #FFF1EB;
    border: none;
    color: #FF5000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-card-cart:hover {
    background-color: #FF5000;
    color: #FFFFFF;
    transform: scale(1.08);
    box-shadow: none;
}

.btn-card-cart:active {
    transform: scale(0.95);
}

.btn-card-cart.btn-card-cart-added {
    background-color: #10B981 !important;
    color: #FFFFFF !important;
    transform: scale(1.1) !important;
    box-shadow: none;
}

/* ==========================================================================
   PRODUCTS SECTIONS (TOP SEARCHES & TODAY SUGGESTIONS)
   ========================================================================== */
.products-section {
    margin-bottom: 20px;
}

.products-block-container {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 16px;
}

.products-grid-6,
.products-grid-5 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--box-gap);
}

.header-tag-pill {
    font-size: 11px;
    font-weight: 600;
    color: #FF5000;
    background-color: #FFF2EB;
    padding: 4px 12px;
    border-radius: 9999px;
}

.view-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.btn-view-more-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 26px;
    border-radius: 8px;
    border: 1px solid #FED7AA;
    background-color: #FFFFFF;
    color: #FF5000;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-view-more-outline:hover {
    background-color: #FF5000;
    color: #FFFFFF;
    border-color: #FF5000;
    box-shadow: none;
}

/* ==========================================================================
   BOTTOM CATEGORY BANNERS (4 CARDS)
   ========================================================================== */
.bottom-categories-section {
    margin: 0 0 20px;
}

.cat-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--box-gap);
}

.cat-banner-card {
    min-height: 124px;
    border-radius: 16px;
    padding: 16px 12px 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-banner-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 144px;
    height: 144px;
    right: -34px;
    top: -46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.cat-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.banner-health { background: linear-gradient(135deg, #EEF8F5 0%, #DCEFE9 100%); }
.banner-home { background: linear-gradient(135deg, #FFF9E9 0%, #FFE8C5 100%); }
.banner-tech { background: linear-gradient(135deg, #EEF5FA 0%, #DAEAF4 100%); }
.banner-beauty { background: linear-gradient(135deg, #FFF2EF 0%, #F8DED9 100%); }

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    max-width: calc(100% - 96px);
    z-index: 2;
}

.banner-kicker {
    color: #C54812;
    font-size: 7.5px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.09em;
}

.banner-health .banner-kicker { color: #14735D; }
.banner-tech .banner-kicker { color: #236A8C; }

.banner-title {
    margin: 2px 0 0;
    color: #172033;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.015em;
}

.banner-sub {
    margin: 1px 0 0;
    color: #667085;
    font-size: 9.5px;
    line-height: 1.25;
}

.btn-banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #FF5000;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.2;
    width: fit-content;
    box-shadow: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-banner-pill:hover {
    background: #E74600;
    color: #FFFFFF;
    transform: translateX(2px);
}

.btn-banner-pill i { font-size: 7px; }

.banner-image {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 9px rgba(30, 41, 59, 0.13));
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-banner-card:hover .banner-image img { transform: scale(1.05) rotate(-1deg); }

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: #FFFFFF;
    margin-top: 0px;
}
.desktop-footer-only {
    display: block;
}
.mobile-footer-only {
    display: none;
}

/* 1. Top Trust Bar */
.footer-trust-bar {
    background-color: #FFFFFF;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
    padding: 16px 0;
}

.footer-trust-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.f-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    border: 1.5px solid #FF5000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5000;
    font-size: 18px;
    flex-shrink: 0;
}

.f-trust-text {
    display: flex;
    flex-direction: column;
}

.f-trust-title {
    font-size: 13px;
    font-weight: 800;
    color: #1E293B;
    letter-spacing: 0.1px;
}

.f-trust-desc {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
}

.f-trust-divider {
    width: 1px;
    height: 36px;
    background-color: #F1F5F9;
    margin: 0 16px;
}

/* 2. Category Pills Bar */
.footer-category-pills-bar {
    background-color: #FFFFFF;
    padding: 16px 0;
    border-bottom: 1px solid #F1F5F9;
}

.pills-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pills-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    transition: transform 0.15s ease;
}

.cat-pill:hover {
    transform: translateY(-1px);
}

.pill-thethao { background-color: #E8F8F0; color: #16A34A; }
.pill-mebe { background-color: #FCE4EC; color: #E11D48; }
.pill-balo { background-color: #E3F2FD; color: #0284C7; }
.pill-thoitrang { background-color: #EDE7F6; color: #7C3AED; }
.pill-giadung { background-color: #FFF3E0; color: #EA580C; }
.pill-bachhoa { background-color: #FFF8E1; color: #D97706; }

.pill-all-cats {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #FED7AA;
    color: #FF5000;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
}

.pill-all-cats:hover {
    background-color: #FFF7ED;
}

/* 3. Main Footer (5 Columns) */
.footer-main-content {
    background-color: #FFFFFF;
    padding: 36px 0 28px;
}

.footer-grid-4 {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 32px;
    align-items: start;
    width: 100%;
}

.f-col-title {
    font-size: 13px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

/* Brand Col */
.footer-brand .logo-name {
    font-size: 26px;
    font-weight: 800;
    color: #FF5000;
}

.brand-description {
    font-size: 12px;
    color: #64748B;
    line-height: 1.6;
    margin: 10px 0 16px;
}

.brand-mini-badges {
    display: flex;
    gap: 12px;
}

.mini-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 10px;
    color: #475569;
}

.mini-badge-circle {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: 1.5px solid #FF5000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5000;
    font-size: 14px;
    margin-bottom: 4px;
}

.badge-lbl-line1, .badge-lbl-line2 {
    display: block;
    line-height: 1.2;
}

/* Col 2 & 3: Links */
.f-icon-links li {
    margin-bottom: 10px;
}

.f-icon-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748B;
}

.f-icon-links a i {
    font-size: 13px;
    color: #64748B;
    width: 14px;
    text-align: center;
}

.f-icon-links a:hover,
.f-icon-links a:hover i {
    color: #FF5000;
}

/* Col 4: Featured Cats with Thumbs */
.f-thumb-links li {
    margin-bottom: 10px;
}

.f-thumb-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #475569;
}

.f-cat-thumb {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.f-thumb-links a:hover {
    color: #FF5000;
}

/* Col 5: Connect & Newsletter */
.connect-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
}

.app-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.qr-benefits-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.qr-code-img {
    width: 54px;
    height: 54px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 2px;
    background: #FFFFFF;
    flex-shrink: 0;
}

.qr-code-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
    color: #475569;
}

.qr-benefits-list li {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.qr-benefits-list li i {
    font-size: 9px;
}

.social-channels-wrap {
    margin-bottom: 14px;
}

.social-icons-row {
    display: flex;
    gap: 10px;
}

.s-icon {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 12px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.s-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.s-fb { background: #1877F2; }
.s-tiktok { background: #000000; }
.s-yt { background: #FF0000; }
.s-insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.s-zalo { background: #0068FF; font-size: 9px; font-weight: 800; }

/* Newsletter Card */
.newsletter-card {
    background: #FFFBF7;
    border: 1px solid #FED7AA;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.nl-title {
    font-size: 12px;
    font-weight: 800;
    color: #1E293B;
}

.nl-desc {
    font-size: 10px;
    color: #64748B;
    line-height: 1.35;
}

.nl-input-wrap {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #FED7AA;
    border-radius: 8px;
    padding: 2px 2px 2px 10px;
    height: 32px;
    margin-top: 2px;
}

.nl-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 11px;
    color: #1E293B;
    background: transparent;
}

.nl-input::placeholder {
    color: #94A3B8;
}

.nl-btn-submit {
    background: #FF5000;
    color: #FFFFFF;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background-color 0.2s;
}

.nl-btn-submit:hover {
    background-color: #E04600;
}

.nl-security {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #94A3B8;
    margin-top: 2px;
}

/* 4. Bottom Section (Payment, Certification, Copyright) */
.footer-bottom-section {
    background-color: #FFFFFF;
    border-top: 1px solid #F1F5F9;
    padding: 16px 0 20px;
}

.bottom-grid-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.bottom-heading {
    font-size: 11px;
    font-weight: 700;
    color: #1E293B;
    display: block;
    margin-bottom: 8px;
}

.payment-methods-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pay-badge {
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 800;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
}

.pay-visa { color: #1A1F71; font-style: italic; }
.pay-mastercard { display: inline-flex; align-items: center; }
.circle-red { width: 12px; height: 12px; border-radius: 9999px; background: #EB001B; display: inline-block; }
.circle-orange { width: 12px; height: 12px; border-radius: 9999px; background: #F79E1B; display: inline-block; margin-left: -5px; }
.pay-momo { color: #A50064; text-transform: lowercase; font-size: 10px; }
.pay-zalopay { color: #0068FF; font-size: 10px; }
.pay-vnpay { color: #005BAA; font-size: 10px; }
.pay-atm { color: #64748B; font-size: 12px; }

.cert-badges-list {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #475569;
    line-height: 1.25;
}

.cert-item i {
    font-size: 16px;
}

.copyright-block {
    text-align: right;
}

.bottom-grid-copyright-only {
    justify-content: center;
}

.bottom-grid-copyright-only .copyright-block {
    text-align: center;
}

.cp-text {
    font-size: 11px;
    color: #64748B;
}

.cp-sub {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
}

.cp-sub strong {
    color: #FF5000;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #FFFFFF;
    border: 1px solid #10B981;
    border-left: 4px solid #10B981;
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: none;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cart-toast i {
    font-size: 20px;
}

.toast-content strong {
    font-size: 13px;
    color: #1E293B;
}

.toast-content p {
    font-size: 12px;
    color: #64748B;
}

/* Enhanced Cart Toast Notification Popup */
.cart-toast-enhanced {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #10b981;
    padding: 16px;
    z-index: 999999;
    transform: translateY(120px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-toast-enhanced.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.cart-toast-enhanced .cart-toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-toast-enhanced .toast-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-toast-enhanced .toast-icon-check {
    color: #10b981;
    font-size: 18px;
}

.cart-toast-enhanced .toast-title-text {
    font-weight: 700;
    font-size: 13.5px;
    color: #1e293b;
}

.cart-toast-enhanced .toast-close-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s;
}

.cart-toast-enhanced .toast-close-btn:hover {
    color: #0f172a;
}

.cart-toast-enhanced .cart-toast-body {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.cart-toast-enhanced .toast-prod-thumb {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
}

.cart-toast-enhanced .toast-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-toast-enhanced .toast-prod-info {
    flex: 1;
    min-width: 0;
}

.cart-toast-enhanced .toast-prod-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-toast-enhanced .toast-prod-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.cart-toast-enhanced .toast-variant-badge {
    display: inline-block;
    background: #fff7ed;
    color: #c2410c;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #fed7aa;
}

.cart-toast-enhanced .toast-prod-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-toast-enhanced .toast-price {
    color: #ff5000;
    font-weight: 700;
    font-size: 14px;
}

.cart-toast-enhanced .toast-qty-badge {
    font-size: 12px;
    color: #64748b;
}

.cart-toast-enhanced .cart-toast-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cart-toast-enhanced .toast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cart-toast-enhanced .toast-btn-cart {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.cart-toast-enhanced .toast-btn-cart:hover {
    background: #f1f5f9;
    color: #ff5000;
    border-color: #ff5000;
}

.cart-toast-enhanced .toast-btn-checkout {
    background: #ff5000;
    color: #ffffff;
    border: 1px solid #ff5000;
}

.cart-toast-enhanced .toast-btn-checkout:hover {
    background: #e04600;
    border-color: #e04600;
}

/* Button Added Success State Animation */
.btn-pdetail-cart.btn-added-active {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: none;
    transform: scale(1.02);
}

@media (max-width: 576px) {
    .cart-toast-enhanced {
        bottom: 16px;
        left: 12px;
        right: 12px;
        width: auto;
        padding: 14px;
    }

    .cart-toast-enhanced .toast-btn {
        font-size: 12px;
        padding: 9px 6px;
        gap: 4px;
        white-space: nowrap;
    }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.product-detail-page {
    background-color: var(--bg-canvas, #F5F5F7);
    padding: 16px 0 0;
}

.pdetail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 13px;
    color: #64748B;
}

.pdetail-breadcrumb a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.15s;
}

.pdetail-breadcrumb a:hover {
    color: #FF5000;
}

.pdetail-breadcrumb .bc-sep {
    font-size: 10px;
    color: #94A3B8;
}

.pdetail-breadcrumb .bc-current {
    color: #1E293B;
    font-weight: 600;
}

/* Main Product Card */
.pdetail-main-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--box-gap);
    margin-bottom: var(--box-gap);
}

/* Gallery - Shopee Style (Main View on Top, Thumbs Carousel Below) */
.pdetail-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.gallery-main-view {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-view img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.15s ease-in-out;
}

.pdetail-img-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.65);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 5;
    pointer-events: none;
}

/* Thumbs Wrap & Carousel Track */
.gallery-thumbs-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
    box-sizing: border-box;
}

.gallery-thumbs-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    padding: 2px 1px;
    box-sizing: border-box;
}

.gallery-thumbs-track::-webkit-scrollbar {
    display: none;
}

.gallery-thumbs-track .thumb-btn {
    flex: 0 0 calc((100% - 40px) / 5);
    max-width: calc((100% - 40px) / 5);
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 8px;
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    padding: 2px;
    cursor: pointer;
    transition: all 0.18s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.gallery-thumbs-track .thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.gallery-thumbs-track .thumb-btn.active,
.gallery-thumbs-track .thumb-btn:hover {
    border-color: #FF5000 !important;
    box-shadow: none;
}

/* Thumbs Nav Arrows */
.thumb-nav-btn {
    flex: 0 0 28px;
    width: 28px;
    height: 48px;
    background: rgba(0, 0, 0, 0.28);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
}

.thumb-nav-btn:hover {
    background: #FF5000;
    color: #FFFFFF;
}

/* Desktop product gallery: vertical thumbnails beside the main image. */
@media (min-width: 769px) {
    .pdetail-gallery {
        position: relative;
        display: block;
    }

    .pdetail-gallery .gallery-main-view {
        width: calc(100% - 88px);
        margin-left: 88px;
        min-width: 0;
    }

    .pdetail-gallery .gallery-thumbs-wrap {
        position: absolute;
        inset: 0 auto 0 0;
        width: 76px;
        height: auto;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .pdetail-gallery .gallery-thumbs-track {
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        padding: 1px;
        flex-direction: column;
        gap: 8px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .pdetail-gallery .gallery-thumbs-track .thumb-btn {
        flex: 0 0 74px;
        width: 74px;
        max-width: 74px;
        height: 74px;
        aspect-ratio: 1 / 1;
    }

    .pdetail-gallery .gallery-thumbs-wrap .thumb-nav-btn {
        flex: 0 0 25px;
        width: 100%;
        height: 25px;
        border-radius: 6px;
    }

    .pdetail-gallery .gallery-thumbs-wrap .thumb-nav-btn i {
        transform: rotate(90deg);
    }
}

/* Product Info */
.pdetail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge-bestseller {
    display: inline-block;
    background: #FF5000;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    align-self: flex-start;
}

.pdetail-title {
    font-size: 22px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.35;
    margin: 0;
}

.pdetail-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Chưa có đánh giá/lượt bán: rating-left rỗng, đưa Yêu thích/Chia sẻ về sát trái
   thay vì bị đẩy sang phải để lại khoảng trống bên trái. Ẩn hẳn .rating-left (rỗng)
   để nó không còn tính vào flex-gap 12px của hàng, rồi bù trừ nốt padding-left 8px
   của .btn-action-link để icon thẳng mép với tiêu đề sản phẩm phía trên. */
.pdetail-rating-row.rating-row-empty {
    justify-content: flex-start;
}
.pdetail-rating-row.rating-row-empty .rating-left {
    display: none;
}
.pdetail-rating-row.rating-row-empty .rating-actions {
    margin-left: -8px;
}

.rating-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.stars-group {
    display: flex;
    align-items: center;
    gap: 3px;
}

.stars-group .rating-score {
    font-weight: 700;
    color: #1E293B;
    margin-left: 4px;
}

.stars-group .rating-reviews {
    color: #64748B;
}

.rating-divider {
    color: #CBD5E1;
}

.sales-count {
    color: #64748B;
}

.rating-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdetail-share-wrap {
    position: relative;
}

.pdetail-share-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    flex-wrap: wrap;
    width: 152px;
    gap: 8px;
    padding: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.btn-share-messenger {
    background: linear-gradient(45deg, #0099FF, #A033FF, #FF5280, #FF7061);
    color: #FFFFFF;
}

.btn-share-x {
    background-color: #000000;
    color: #FFFFFF;
}

.pdetail-share-menu.is-open {
    display: flex;
}

.btn-action-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748B;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s;
}

.btn-action-link:hover {
    color: #FF5000;
    background: #FFF5F0;
}

.btn-action-link.btn-wishlist.is-active {
    color: #FF5000;
}

.wishlist-count-num {
    font-weight: 700;
}

.pdetail-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748B;
    border-bottom: 1px dashed #E2E8F0;
    padding-bottom: 10px;
}

.pdetail-meta-row .meta-sep {
    color: #CBD5E1;
}

.pdetail-meta-row strong {
    color: #1E293B;
}

/* Flash Sale Bar */
.pdetail-flashsale-bar {
    background: linear-gradient(90deg, #FF4500, #FF6A00);
    border-radius: 6px;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
}

.fs-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-bolt {
    font-size: 16px;
    color: #FFFFFF;
}

.fs-title {
    font-size: 16px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.5px;
}

.fs-sub {
    font-size: 11px;
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 9999px;
}

.fs-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.fs-countdown {
    display: flex;
    align-items: center;
    gap: 3px;
}

.fs-countdown .fs-box {
    background: #FFFFFF;
    color: #FF4500;
    font-weight: 800;
    font-size: 13px;
    padding: 2px 5px;
    border-radius: 4px;
    min-width: 22px;
    text-align: center;
}

.fs-countdown .fs-colon {
    font-weight: 700;
    color: #FFFFFF;
}

/* Price */
.pdetail-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 4px 0 2px;
}

.pdetail-price-row .price-current {
    font-size: 28px;
    font-weight: 800;
    color: #FF5000;
    letter-spacing: -0.5px;
}

.pdetail-price-row .price-original {
    font-size: 16px;
    color: #94A3B8;
    text-decoration: line-through;
}

.pdetail-price-row .discount-badge {
    background: #EF4444;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Option Groups */
.pdetail-option-group {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.pdetail-option-group .option-label {
    width: 76px;
    flex-shrink: 0;
    color: #64748B;
    font-weight: 500;
}

.options-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.opt-btn {
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.opt-btn:hover {
    border-color: #FF5000;
    color: #FF5000;
}

.opt-btn.active {
    border-color: #FF5000;
    color: #FF5000;
    background: #FFF5F0;
    box-shadow: none;
    font-weight: 700;
}

.opt-color {
    padding: 4px 12px 4px 6px;
}

.opt-color img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.combo-badge {
    background: #EF4444;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 2px;
}

/* Quantity */
.quantity-control-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quantity-stepper {
    display: inline-flex;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    overflow: hidden;
    height: 34px;
}

.btn-qty-minus,
.btn-qty-plus {
    width: 34px;
    height: 100%;
    border: none;
    background: #F8FAFC;
    color: #1E293B;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qty-minus:hover,
.btn-qty-plus:hover {
    background: #E2E8F0;
}

.qty-input {
    width: 44px;
    border: none;
    border-left: 1px solid #CBD5E1;
    border-right: 1px solid #CBD5E1;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
    background: #FFFFFF;
}

.stock-note {
    font-size: 12px;
    color: #64748B;
}

/* Actions */
.pdetail-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 6px;
}

.btn-pdetail-cart {
    height: 44px;
    border: 1.5px solid #FF5000;
    background: #FFF5F0;
    color: #FF5000;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-pdetail-cart:hover {
    background: #FF5000;
    color: #FFFFFF;
}

.btn-pdetail-buynow {
    height: 44px;
    border: none;
    background: #FF5000;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-pdetail-buynow:hover {
    background: #E04600;
    box-shadow: none;
}

/* Trust Guarantees */
.pdetail-trust-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 6px;
}

.trust-box-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: inherit;
    transition: opacity 0.2s ease;
}

.trust-box-item:hover {
    opacity: 0.82;
}

.trust-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFF5F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.trust-item-text {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    line-height: 1.3;
}

.trust-item-text strong {
    color: #1E293B;
    font-weight: 700;
}

.trust-item-text span {
    color: #64748B;
}

/* Lower Section */
.pdetail-lower-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: var(--box-gap);
}

.pdetail-tabs-card {
    margin-bottom: var(--box-gap);
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    overflow: hidden;
}

.pdetail-tabs-header {
    display: flex;
    border-bottom: 1px solid #F1F5F9;
    background: #FFFFFF;
    overflow-x: auto;
}

.pdetail-tabs-header .tab-btn {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.2s;
}

.pdetail-tabs-header .tab-btn.active,
.pdetail-tabs-header .tab-btn:hover {
    color: #FF5000;
    font-weight: 700;
}

.pdetail-tabs-header .tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FF5000;
    border-radius: 3px 3px 0 0;
}

.pdetail-tabs-body {
    padding: 20px 24px;
}

.pdetail-tabs-body .tab-pane {
    display: none;
}

.pdetail-tabs-body .tab-pane.active {
    display: block;
}

.tab-desc-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
}

.tab-desc-content {
    width: 100%;
}

.desc-heading {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 10px;
}

.desc-paragraph {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* Đồng bộ toàn bộ chữ thường trong tab mô tả sản phẩm (giữ nguyên các thẻ tiêu đề h1 - h6) */
.tab-desc-content p,
.tab-desc-content li,
.tab-desc-content ol,
.tab-desc-content ul,
.tab-desc-content td,
.tab-desc-content th,
.tab-desc-content .lead-text,
.desc-paragraph,
.desc-paragraph p,
.desc-paragraph li,
.desc-paragraph ol,
.desc-paragraph ul,
.desc-paragraph td,
.desc-paragraph th,
.desc-paragraph .lead-text,
.product-description-rich p,
.product-description-rich li,
.product-description-rich ol,
.product-description-rich ul,
.product-description-rich td,
.product-description-rich th,
.product-description-rich .lead-text {
    font-size: 14.5px !important;
    line-height: 1.75 !important;
}

.tab-desc-content p span:not([class*="fa"]):not([class*="icon"]),
.tab-desc-content li span:not([class*="fa"]):not([class*="icon"]),
.desc-paragraph p span:not([class*="fa"]):not([class*="icon"]),
.desc-paragraph li span:not([class*="fa"]):not([class*="icon"]),
.product-description-rich p span:not([class*="fa"]):not([class*="icon"]),
.product-description-rich li span:not([class*="fa"]):not([class*="icon"]) {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Standalone product description images (Hero / Single banner) */
.desc-paragraph img:not(.desc-inline-icon),
.tab-desc-content img:not(.desc-inline-icon),
.product-description-rich img:not(.desc-inline-icon) {
    display: block !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    box-shadow: none;
}

/* Small inline icons/emoji embedded in product description text: keep them flowing with the text instead of being forced into a centered block */
.desc-paragraph img.desc-inline-icon,
.tab-desc-content img.desc-inline-icon,
.product-description-rich img.desc-inline-icon {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 1.15em !important;
    height: 1.15em !important;
    max-width: none !important;
    margin: 0 3px !important;
    border-radius: 0 !important;
    box-shadow: none;
}

/* Hide stray br inside description grid containers created by wpautop */
.tab-desc-content div[style*="grid"] br,
.desc-paragraph div[style*="grid"] br,
.product-description-rich div[style*="grid"] br {
    display: none !important;
}

/* 2-Column Image Grid in Description */
.tab-desc-content div[style*="grid"],
.desc-paragraph div[style*="grid"],
.product-description-rich div[style*="grid"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin: 24px auto !important;
    max-width: 100% !important;
    align-items: stretch !important;
}

.tab-desc-content div[style*="grid"] img,
.desc-paragraph div[style*="grid"] img,
.product-description-rich div[style*="grid"] img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 10px !important;
    display: block !important;
    box-shadow: none;
}

.specs-heading {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 10px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.specs-table th,
.specs-table td {
    padding: 7px 10px;
    border-bottom: 1px solid #F1F5F9;
    text-align: left;
}

.specs-table th {
    background: #F8FAFC;
    color: #64748B;
    font-weight: 600;
    width: 38%;
}

.specs-table td {
    color: #1E293B;
    font-weight: 500;
}

.specs-table tr:nth-child(even) th {
    background: #F1F5F9;
}

.specs-table tr:nth-child(even) td {
    background: #FAFAFA;
}

.specs-table-full th {
    width: 25%;
}

/* Related Products Card */
.pdetail-related-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 16px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.related-title {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
}

.related-link-all {
    font-size: 12px;
    color: #FF5000;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.related-link-all:hover {
    text-decoration: underline;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--box-gap);
}

.rel-prod-item {
    border: 1px solid #F1F5F9;
    border-radius: 8px;
    padding: 6px;
    text-align: left;
    transition: all 0.2s;
    background: #FFFFFF;
}

.rel-prod-item:hover {
    border-color: #FF5000;
    box-shadow: none;
    transform: translateY(-2px);
}

.rel-thumb {
    aspect-ratio: 1/1;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
    background: #F8FAFC;
}

.rel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rel-name {
    font-size: 11px;
    font-weight: 600;
    color: #1E293B;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.rel-prices {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}

.rel-price-now {
    font-size: 12px;
    font-weight: 700;
    color: #FF5000;
}

.rel-price-was {
    font-size: 10px;
    color: #94A3B8;
    text-decoration: line-through;
}

.rel-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: #F59E0B;
}

.rel-rating span {
    color: #64748B;
    font-weight: 600;
    margin-left: 2px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .deal-hot-grid,
    .bestseller-grid,
    .products-grid-6,
    .products-grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 200px 1fr;
    }
    .hero-promo-cards {
        grid-column: span 2;
        flex-direction: row;
    }
    .deal-hot-grid,
    .bestseller-grid,
    .products-grid-6,
    .products-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .cat-banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .bottom-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    .copyright-block {
        grid-column: span 2;
        text-align: left;
    }
    .pdetail-main-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pdetail-lower-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pdetail-gallery {
        flex-direction: column;
    }
    .gallery-thumbs-wrap .thumb-nav-btn {
        display: none !important;
    }
    .gallery-thumbs-col {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    .tab-desc-grid {
        grid-template-columns: 1fr;
    }
    .pdetail-trust-box {
        grid-template-columns: 1fr;
    }
    .pdetail-action-buttons {
        grid-template-columns: 1fr;
    }
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .topbar-right {
        display: none;
    }
    .header-inner {
        flex-wrap: wrap;
    }
    .header-search {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-category-sidebar {
        display: none;
    }
    .trust-bar-inner {
        flex-wrap: wrap;
        gap: 12px;
    }
    .deal-hot-header-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 12px 14px;
    }
    .dh-header-center {
        justify-content: center;
        flex-wrap: wrap;
    }
    .dh-header-right {
        justify-content: center;
    }
    .block-subtitle {
        display: none;
    }
    .deal-hot-grid,
    .bestseller-grid,
    .products-grid-6,
    .products-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .cat-banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-trust-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .f-trust-divider {
        display: none;
    }
    .footer-grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-logo-img {
        height: 44px;
        max-width: 170px;
        margin-bottom: 10px;
    }
    .bottom-grid-3 {
        grid-template-columns: 1fr;
    }
    .cert-badges-list {
        flex-wrap: wrap;
    }
}


/* Reviews Tab */
.reviews-overview-box {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--box-gap);
    align-items: center;
    margin-bottom: var(--box-gap);
}

.reviews-score-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.score-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.score-num {
    font-size: 42px;
    font-weight: 800;
    color: #1E293B;
    line-height: 1;
}

.score-den {
    font-size: 20px;
    font-weight: 600;
    color: #64748B;
}

.score-stars {
    color: #FF5000;
    font-size: 18px;
    display: flex;
    gap: 4px;
}

.score-subtext {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

.reviews-breakdown-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.breakdown-row .star-name {
    width: 45px;
    color: #475569;
    font-weight: 500;
    white-space: nowrap;
}

.breakdown-row .bar-track {
    flex: 1;
    height: 8px;
    background: #F1F5F9;
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-row .bar-fill {
    height: 100%;
    background: #FF5000;
    border-radius: 4px;
}

.breakdown-row .star-count {
    width: 90px;
    text-align: right;
    color: #64748B;
    font-size: 12px;
}

/* Reviews Filter Bar */
.reviews-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.reviews-pills-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.rev-pill {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.rev-pill:hover {
    border-color: #FF5000;
    color: #FF5000;
}

.rev-pill.active {
    background: #FFF5F0;
    border-color: #FF5000;
    color: #FF5000;
    font-weight: 600;
}

.sort-select-pill {
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    font-size: 13px;
    color: #1E293B;
    background: #FFFFFF;
    cursor: pointer;
    outline: none;
}

/* 2 Columns Layout */
.reviews-two-cols-layout,
.faq-two-cols-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: var(--box-gap);
    align-items: start;
}

/* Form Card */
.write-review-card,
.ask-question-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: none;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 6px;
}

.card-subtitle {
    font-size: 12px;
    color: #64748B;
    margin: 0 0 18px;
    line-height: 1.5;
}

.review-form-field,
.faq-form-field {
    margin-bottom: 16px;
    position: relative;
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 6px;
}

.star-input-group {
    display: flex;
    gap: 6px;
    font-size: 20px;
    cursor: pointer;
}

.star-rate-btn {
    transition: color 0.15s, transform 0.1s;
    color: #CBD5E1;
}

.star-rate-btn.active,
.star-rate-btn.hover {
    color: #FF5000;
}

.field-input,
.field-textarea {
    width: 100%;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #1E293B;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.field-input:focus,
.field-textarea:focus {
    border-color: #FF5000;
}

.field-textarea {
    resize: vertical;
    min-height: 90px;
}

.field-char-count {
    text-align: right;
    font-size: 11px;
    color: #94A3B8;
    margin-top: 4px;
}

.upload-slots-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

.upload-slot-item {
    border: 1.5px dashed #CBD5E1;
    border-radius: 8px;
    padding: 14px 6px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #FAFAFA;
    transition: all 0.2s;
}

.upload-slot-item:hover {
    border-color: #FF5000;
    background: #FFFBF9;
}

.upload-slot-item .slot-file-input {
    display: none;
}

.upload-slot-item .slot-icon {
    font-size: 18px;
    color: #64748B;
}

.upload-slot-item .slot-text {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}

.slot-tip-note {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.4;
}

.btn-post-review,
.btn-post-faq {
    width: 100%;
    background: #FF5000;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
}

.btn-post-review:hover,
.btn-post-faq:hover {
    background: #E04600;
}

/* Reviews Feed Column */
.reviews-feed-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-feed-item {
    border: 1px solid #F1F5F9;
    border-radius: 10px;
    padding: 18px 20px;
    background: #FFFFFF;
    transition: box-shadow 0.2s;
}

.review-feed-item:hover {
    box-shadow: none;
}

.feed-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.feed-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-meta-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-display-name {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
}

.badge-bought {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #10B981;
    font-weight: 500;
}

.feed-date {
    font-size: 12px;
    color: #94A3B8;
}

.feed-stars-row {
    color: #FF5000;
    font-size: 13px;
    display: flex;
    gap: 3px;
    margin-bottom: 8px;
}

.feed-stars-inline-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.feed-stars-row.inline {
    margin-bottom: 0;
}

.feed-review-title {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 6px;
}

.feed-review-title.inline {
    margin: 0;
}

.feed-review-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 10px;
}

.feed-photos-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.feed-photos-row img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    transition: transform 0.2s;
}

.feed-photos-row img:hover {
    transform: scale(1.05);
}

.btn-open-write-review {
    display: none;
}

.reviews-feed-header {
    display: none;
}

.feed-product-variant-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748B;
    margin-bottom: 8px;
}

.variant-divider {
    color: #CBD5E1;
}

.badge-verified-buyer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #10B981;
    font-weight: 500;
}

.feed-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-user-avatar.letter-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E2E8F0;
    color: #475569;
    font-weight: 700;
    font-size: 15px;
}

.feed-photo-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.feed-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.feed-actions-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    padding-top: 8px;
}

.btn-feed-action {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.15s;
}

.btn-feed-action:hover,
.btn-feed-action.active {
    color: #FF5000;
}

.btn-feed-more {
    margin-left: auto;
    background: none;
    border: none;
    padding: 0;
    font-size: 16px;
    color: #94A3B8;
    cursor: pointer;
}

.review-bottom-sheet {
    display: none;
}

/* FAQ Tab Styles */
.faq-top-banner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.faq-headline-title {
    font-size: 20px;
    font-weight: 800;
    color: #1E293B;
    margin: 0 0 4px;
}

.faq-headline-desc {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}

.faq-callout-card {
    background: #FFF7ED;
    border: 1px solid #FFEDD5;
    border-radius: 10px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.callout-chat-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FF5000;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.callout-title {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
}

.callout-sub {
    font-size: 12px;
    color: #64748B;
}

/* FAQ Controls Toolbar */
.faq-filter-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.faq-search-input-wrap {
    flex: 1;
    min-width: 240px;
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search-input-wrap i {
    position: absolute;
    left: 12px;
    color: #94A3B8;
    font-size: 13px;
}

.faq-search-input-wrap input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    font-size: 13px;
    outline: none;
    color: #1E293B;
    background: #FFFFFF;
    box-sizing: border-box;
}

.faq-search-input-wrap input:focus {
    border-color: #FF5000;
}

.faq-filter-select-wrap .select-field,
.faq-sort-select-wrap .select-field {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    font-size: 13px;
    color: #1E293B;
    background: #FFFFFF;
    outline: none;
    cursor: pointer;
}

.faq-sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748B;
}

/* FAQ Feed */
.faq-items-stream {
    display: flex;
    flex-direction: column;
    gap: var(--box-gap);
}

.faq-qa-card {
    border: 1px solid #F1F5F9;
    border-radius: 10px;
    padding: 16px 18px;
    background: #FFFFFF;
}

.qa-user-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.qa-user-badge.letter-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #475569;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qa-user-badge.photo-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.qa-user-info {
    flex: 1;
}

.qa-name-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 4px;
}

.qa-name-time .user-name {
    font-weight: 700;
    color: #1E293B;
}

.qa-name-time .dot-sep,
.qa-name-time .post-time {
    color: #94A3B8;
    font-size: 12px;
}

.qa-question-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #1E293B;
    margin: 0;
    line-height: 1.5;
}

.qa-options-btn {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}

.qa-reply-box {
    margin-top: 10px;
    margin-left: 46px;
    background: #FFF7ED;
    border-radius: 8px;
    padding: 12px 16px;
}

.reply-sender-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.boxmart-letter-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FF5000;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-tag-boxmart {
    background: #FFE8DD;
    color: #FF5000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.reply-time {
    font-size: 11px;
    color: #94A3B8;
}

.reply-message-body {
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .reviews-overview-box {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .reviews-two-cols-layout,
    .faq-two-cols-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .qa-reply-box {
        margin-left: 0;
    }
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   CATEGORY ARCHIVE PAGE (BẢO HỘ THỂ THAO) STYLES - 100% DESIGN MATCH
   ========================================================================== */

.category-page-wrapper {
    background-color: var(--bg-canvas, #F5F5F7);
    padding-top: 14px;
    padding-bottom: 0;
}

/* Category Hero Banner */
.cat-hero-banner-section {
    margin-bottom: 14px;
}

.cat-hero-banner-card {
    position: relative;
    min-height: clamp(280px, 20vw, 340px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.82);
    box-shadow: none;
    background: #FFFFFF;
}

.cat-banner-exact-img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: contain;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.cat-hero-copy {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 54%;
    padding: 24px 32px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.cat-banner-bc-overlay {
    position: static;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 17px;
    font-size: 12px;
    line-height: 1.3;
}

.cat-bc-overlay-link {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cat-bc-overlay-link:hover {
    color: #FF5000;
}

.cat-bc-overlay-sep {
    color: #CBD5E1;
}

.cat-bc-overlay-current {
    color: #334155;
    font-weight: 600;
}

.cat-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 25px;
    margin-bottom: 10px;
    padding: 4px 11px;
    border: 1px solid rgba(255, 80, 0, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #E94700;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.cat-hero-title {
    max-width: 620px;
    margin: 0;
    color: #1E293B;
    font-size: clamp(28px, 2.4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.cat-hero-subtitle {
    max-width: 520px;
    margin: 9px 0 0;
    color: #53657D;
    font-size: 15px;
    line-height: 1.45;
}

.cat-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
}

.cat-hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.cat-hero-features i {
    color: #FF5000;
    font-size: 11px;
}

/* Mobile Category Elements (Hidden on Desktop) */
.cat-mobile-hero-card,
.cat-mobile-hero-copy,
.cat-mobile-pills-section,
.cat-mobile-toolbar-section,
.cat-mob-filter-overlay,
.cat-mob-filter-drawer {
    display: none;
}

/* Product Card Badges & Wishlist */
.card-badges-wrap {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}

.card-badges-wrap .card-badge {
    position: static;
    font-size: 9.5px;
    font-weight: 700;
    background-color: #EF4444;
    color: #FFFFFF;
    padding: 1.5px 5px;
    border-radius: 4px;
    line-height: 1.2;
}

.card-badge-tag {
    font-size: 9px;
    font-weight: 700;
    color: #FFFFFF;
    padding: 1.5px 5px;
    border-radius: 4px;
    line-height: 1.2;
}

.badge-tag-bestseller {
    background-color: #FF5000;
}

.badge-tag-favorite {
    background-color: #EF4444;
}

.btn-card-wishlist {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    font-size: 12px;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.15s ease, color 0.15s ease;
}

.btn-card-wishlist:hover,
.btn-card-wishlist.active {
    color: #EF4444;
    transform: scale(1.08);
}

/* Horizontal Filters Bar */
.cat-filters-section {
    margin-bottom: 12px;
}

.cat-filters-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-filters-left-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-filter-dropdown {
    position: relative;
}

.cat-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: none;
}

.cat-filter-btn:hover,
.cat-filter-dropdown.active .cat-filter-btn {
    border-color: #CBD5E1;
    color: #FF5000;
    box-shadow: none;
}

.cat-filter-btn i {
    font-size: 9.5px;
    color: #64748B;
    transition: transform 0.2s ease;
}

.cat-filter-dropdown.active .cat-filter-btn i {
    transform: rotate(180deg);
}

.cat-filter-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: none;
    padding: 10px 14px;
    min-width: 190px;
    z-index: 60;
}

.cat-filter-dropdown.active .cat-filter-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cat-filter-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.cat-filter-opt input {
    accent-color: #FF5000;
    cursor: pointer;
}

.cat-sort-right-group {
    flex-shrink: 0;
}

.cat-sort-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 12.5px;
    position: relative;
    box-shadow: none;
}

.cat-sort-icon {
    color: #334155;
    font-size: 12px;
}

.cat-sort-prefix {
    color: #64748B;
    font-weight: 500;
}

.cat-sort-native-select {
    border: none;
    background: transparent;
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 14px;
}

.cat-sort-chevron {
    font-size: 9.5px;
    color: #64748B;
    position: absolute;
    right: 10px;
    pointer-events: none;
}

/* Active Filters & View Switcher */
.cat-active-filters-section {
    margin-bottom: 14px;
}

.cat-active-bar-box {
    background: #F1F5F9;
    border-radius: 8px;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cat-active-left-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cat-total-count {
    font-size: 12.5px;
    color: #64748B;
}

.cat-total-count strong {
    color: #0F172A;
    font-weight: 700;
}

.cat-active-tags-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-active-label {
    font-size: 12px;
    color: #64748B;
}

.cat-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: #E2E8F0;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 500;
    color: #334155;
}

.cat-tag-remove {
    border: none;
    background: transparent;
    color: #64748B;
    font-size: 10px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.15s ease;
}

.cat-tag-remove:hover {
    color: #EF4444;
}

.cat-btn-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    color: #FF5000;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: opacity 0.15s ease;
}

.cat-btn-clear-all:hover {
    opacity: 0.8;
}

.cat-btn-clear-all i {
    color: #FF5000;
    font-size: 12.5px;
}

.cat-view-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-view-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    border-radius: 6px;
    color: #64748B;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-view-btn:hover {
    border-color: #CBD5E1;
    color: #0F172A;
}

.cat-view-btn.active {
    background: #FF5000;
    border-color: #FF5000;
    color: #FFFFFF;
}

/* Products Grid (5 columns per row) */
.cat-products-grid-section {
    margin-bottom: 20px;
}

.cat-products-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--box-gap);
}

.cat-product-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s ease;
}

.cat-product-card:hover {
    border-color: #CBD5E1;
    box-shadow: none;
    transform: translateY(-2px);
}

.cat-card-thumb-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.cat-card-thumb-link {
    display: block;
    width: 100%;
    aspect-ratio: 188 / 152;
    overflow: hidden;
    background: #F8FAFC;
}

.cat-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cat-product-card:hover .cat-card-img {
    transform: scale(1.04);
}

.cat-card-wishlist {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
}

.cat-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cat-card-title {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px 0;
    height: 34px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cat-card-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cat-card-title a:hover {
    color: #FF5000;
}

.cat-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    margin-bottom: 8px;
    color: #64748B;
}

.cat-stars {
    display: inline-flex;
    gap: 1px;
    color: #F59E0B;
    font-size: 9.5px;
}

.cat-rating-score {
    color: #334155;
    font-weight: 700;
}

.cat-rating-count {
    color: #64748B;
}

.cat-rating-pipe {
    color: #CBD5E1;
    margin: 0 2px;
}

.cat-sold-count {
    color: #64748B;
}

.cat-card-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 2px;
}

.cat-card-prices {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cat-current-price {
    font-size: 15px;
    font-weight: 700;
    color: #FF5000;
    line-height: 1.2;
}

.cat-old-price-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-original-price {
    font-size: 11px;
    color: #94A3B8;
    text-decoration: line-through;
    line-height: 1;
}

.cat-discount-badge {
    font-size: 9.5px;
    font-weight: 700;
    color: #EF4444;
    background: #FEE2E2;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
}

.cat-card-add-cart {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #FFFFFF;
    border: 1px solid #FF5000;
    color: #FF5000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cat-card-add-cart:hover {
    background: #FF5000;
    color: #FFFFFF;
}

/* List View Mode */
.cat-products-grid-6.view-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-products-grid-6.view-list .cat-product-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 12px;
}

.cat-products-grid-6.view-list .cat-card-thumb-wrap {
    width: 120px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.cat-products-grid-6.view-list .cat-card-thumb-link {
    aspect-ratio: 1 / 1;
}

.cat-products-grid-6.view-list .cat-card-title {
    font-size: 14px;
    height: auto;
    -webkit-line-clamp: 2;
}

/* Pagination Bar */
.cat-pagination-section {
    margin-top: 0;
    margin-bottom: 40px;
}

.cat-pagination-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cat-pagination-info {
    font-size: 12.5px;
    color: #64748B;
}

.cat-pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-page-btn {
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cat-page-btn:hover:not(:disabled) {
    border-color: #CBD5E1;
    color: #FF5000;
}

.cat-page-btn.active {
    background: #FF5000;
    border-color: #FF5000;
    color: #FFFFFF;
    font-weight: 700;
}

.cat-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cat-page-dots {
    color: #94A3B8;
    font-size: 12px;
    padding: 0 2px;
}

.cat-page-size-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748B;
}

.cat-page-size-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    position: relative;
}

.cat-page-size-select {
    border: none;
    background: transparent;
    font-size: 12px;
    color: #334155;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 14px;
}

.cat-page-size-box i {
    position: absolute;
    right: 8px;
    font-size: 8.5px;
    color: #64748B;
    pointer-events: none;
}

/* Category Page Responsive */
@media (max-width: 1200px) {
    .cat-products-grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .cat-products-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .cat-pagination-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Category Page Mobile Wrapper & Gutter */
    .category-page-wrapper {
        padding-top: 8px !important;
        padding-bottom: 0 !important;
        background-color: #F5F5F7 !important;
    }
    .category-page-wrapper .container {
        padding-left: 6px !important;
        padding-right: 6px !important;
        max-width: 100% !important;
    }

    /* Hide Desktop Elements on Mobile */
    .cat-desktop-banner,
    .cat-filters-section,
    .cat-active-filters-section {
        display: none !important;
    }

    /* Mobile category hero reuses the same campaign artwork as desktop. */
    .cat-hero-banner-section {
        margin-bottom: 10px !important;
    }
    .cat-mobile-hero-card {
        display: block !important;
        position: relative !important;
        min-height: 0 !important;
        height: auto !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        border: 1px solid rgba(226, 232, 240, 0.9) !important;
        box-shadow: none;
        background: #FFFFFF !important;
    }
    .cat-mobile-hero-card::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.28) 51%, rgba(255, 255, 255, 0) 72%);
        pointer-events: none;
    }
    .cat-mobile-hero-img {
        width: 100% !important;
        height: auto !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        display: block !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
    .cat-mobile-hero-copy {
        position: absolute;
        inset: 0 auto 0 0;
        z-index: 2;
        width: 61%;
        padding: 9px 0 9px 14px;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .cat-mobile-hero-copy .cat-hero-eyebrow {
        min-height: 18px;
        margin-bottom: 4px;
        padding: 2px 7px;
        font-size: 7.5px;
    }
    .cat-mobile-hero-copy .cat-hero-title {
        font-size: clamp(17px, 4.8vw, 21px);
        line-height: 1.05;
    }
    .cat-mobile-hero-copy .cat-hero-subtitle {
        display: -webkit-box;
        margin-top: 4px;
        overflow: hidden;
        color: #475569;
        font-size: 10px;
        line-height: 1.3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }
    .cat-mobile-bc-overlay {
        position: absolute !important;
        top: 6px !important;
        left: 8px !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        z-index: 5 !important;
    }
    .cat-mobile-bc-link {
        color: transparent !important;
        text-decoration: none !important;
        display: inline-block !important;
        padding: 2px 4px !important;
    }
    .cat-mobile-bc-sep,
    .cat-mobile-bc-current {
        color: transparent !important;
        display: inline-block !important;
    }

    /* Mobile Sub-category Pills Filter Bar */
    .cat-mobile-pills-section {
        display: block !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
    }
    .cat-mobile-pills-scroll {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 1px 0 !important;
    }
    .cat-mobile-pills-scroll::-webkit-scrollbar {
        display: none !important;
    }
    .cat-mob-pill {
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 7px 16px !important;
        border-radius: 9999px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #334155 !important;
        background-color: #F1F5F9 !important;
        border: none !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        line-height: 1.25 !important;
        transition: all 0.2s ease !important;
    }
    .cat-mob-pill.active {
        background-color: #FFF2EB !important;
        color: #FF5000 !important;
        font-weight: 600 !important;
    }

    /* Mobile Dual-Button Toolbar (Bộ lọc & Phổ biến nhất) */
    .cat-mobile-toolbar-section {
        display: block !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
    }
    .cat-mobile-toolbar-row {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .cat-mob-tool-btn {
        flex: 1 !important;
        height: 40px !important;
        background-color: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 9999px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 0 12px !important;
        cursor: pointer !important;
        position: relative !important;
        box-shadow: none;
    }
    .cat-mob-tool-text {
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #0F172A !important;
    }
    .cat-tool-icon {
        color: #334155 !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }
    .cat-tool-chevron {
        font-size: 9.5px !important;
        color: #64748B !important;
        margin-left: 1px !important;
    }
    .cat-mob-native-sort {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 0 !important;
        cursor: pointer !important;
        z-index: 2 !important;
    }

    /* Products Grid 2 Columns */
    .cat-products-grid-section {
        margin-bottom: 16px !important;
    }
    .cat-products-grid-6 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .cat-products-grid-section .product-card {
        background-color: #FFFFFF !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 10px !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-shadow: none;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .cat-products-grid-section .product-thumb {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        border-radius: 0 !important;
        background-color: #F8FAFC !important;
        display: block !important;
        overflow: hidden !important;
        margin-bottom: 0 !important;
        position: relative !important;
    }
    .cat-products-grid-section .product-thumb a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }
    .cat-products-grid-section .product-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    .cat-products-grid-section .product-body {
        padding: 6px 8px 6px !important;
    }
    .cat-products-grid-section .product-title {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #0F172A !important;
        line-height: 1.35 !important;
        height: auto !important;
        min-height: 32.4px !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 6px !important;
    }
    .cat-products-grid-section .product-rating {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 11px !important;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding: 0 !important;
    }
    .cat-products-grid-section .product-rating .star-rating {
        color: #0F172A !important;
        font-weight: 600 !important;
    }
    .cat-products-grid-section .product-rating .star-rating i {
        color: #F59E0B !important;
    }
    .cat-products-grid-section .product-rating .review-count {
        color: #94A3B8 !important;
        font-size: 11px !important;
    }
    .cat-products-grid-section .product-price-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }
    .cat-products-grid-section .price-now {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #EF4444 !important;
        line-height: 1.2 !important;
    }
    .cat-products-grid-section .price-was {
        font-size: 11px !important;
        color: #94A3B8 !important;
        text-decoration: line-through !important;
    }
    .cat-products-grid-section .btn-card-cart {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        background-color: #FFF0EB !important;
        border: none !important;
        color: #FF5000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 13px !important;
    }

    /* Wishlist Heart on Mobile */
    .btn-card-wishlist {
        position: absolute !important;
        top: 6px !important;
        right: 6px !important;
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        background-color: #FFFFFF !important;
        border: none !important;
        box-shadow: none;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 3 !important;
        color: #334155 !important;
        font-size: 12px !important;
        cursor: pointer !important;
    }

    /* Card Badges Wrap on Mobile */
    .card-badges-wrap {
        position: absolute !important;
        top: 6px !important;
        left: 6px !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        z-index: 3 !important;
    }
    .card-badges-wrap .card-badge {
        position: static !important;
        padding: 2px 5px !important;
        border-radius: 4px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        background-color: #EF4444 !important;
        color: #FFFFFF !important;
        line-height: 1.2 !important;
    }
    .card-badge-tag {
        padding: 2px 5px !important;
        border-radius: 4px !important;
        font-size: 9.5px !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
        line-height: 1.2 !important;
    }
    .badge-tag-bestseller {
        background-color: #FF5000 !important;
    }
    .badge-tag-favorite {
        background-color: #EF4444 !important;
    }

    /* Pagination on Mobile */
    .cat-pagination-section {
        margin-top: 0 !important;
        margin-bottom: 6px !important;
    }
    .cat-pagination-row {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        text-align: center !important;
    }
    .cat-pagination-info {
        font-size: 12px !important;
        color: #64748B !important;
    }
    .cat-pagination-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }
    .cat-page-btn {
        min-width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    .cat-page-size-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 12px !important;
    }

    /* Mobile Filter Drawer & Overlay */
    .cat-mob-filter-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(15, 23, 42, 0.6) !important;
        z-index: 9998 !important;
        backdrop-filter: blur(2px) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.25s ease !important;
    }
    .cat-mob-filter-overlay.active {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .cat-mob-filter-drawer {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-height: 82vh !important;
        background: #FFFFFF !important;
        border-radius: 20px 20px 0 0 !important;
        z-index: 9999 !important;
        flex-direction: column !important;
        transform: translateY(100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: none;
    }
    .cat-mob-filter-drawer.active {
        transform: translateY(0) !important;
    }

    .cat-mob-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px !important;
        border-bottom: 1px solid #F1F5F9 !important;
    }
    .cat-mob-drawer-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #0F172A !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .cat-mob-drawer-title i {
        color: #FF5000 !important;
        font-size: 14px !important;
    }
    .cat-mob-drawer-close {
        background: #F1F5F9 !important;
        border: none !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        color: #64748B !important;
        cursor: pointer !important;
    }
    .cat-mob-drawer-body {
        padding: 16px 20px !important;
        overflow-y: auto !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .cat-mob-filter-group-title {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        margin: 0 0 8px 0 !important;
    }
    .cat-mob-filter-chips {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .cat-mob-chip {
        padding: 7px 14px !important;
        border-radius: 8px !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        color: #334155 !important;
        cursor: pointer !important;
        transition: all 0.15s ease !important;
    }
    .cat-mob-chip.active {
        background: #FFF2EB !important;
        border-color: #FF5000 !important;
        color: #FF5000 !important;
        font-weight: 600 !important;
    }
    .cat-mob-drawer-footer {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 14px 20px !important;
        border-top: 1px solid #F1F5F9 !important;
        background: #FFFFFF !important;
    }
    .cat-mob-btn-reset {
        flex: 1 !important;
        height: 42px !important;
        border-radius: 10px !important;
        background: #F1F5F9 !important;
        border: 1px solid #E2E8F0 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        cursor: pointer !important;
    }
    .cat-mob-btn-apply {
        flex: 1.5 !important;
        height: 42px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #FF6B00 0%, #FF5000 100%) !important;
        border: none !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #FFFFFF !important;
        cursor: pointer !important;
        box-shadow: none;
    }
}


/* ==========================================================================
   CART PAGE STYLES (BoxMart High Fidelity)
   ========================================================================== */

.cart-page-wrapper {
    background-color: #f8fafc;
    min-height: 80vh;
    padding-bottom: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
}

/* Desktop Cart Breadcrumbs Bar */
.cart-breadcrumbs-bar {
    padding: 14px 0 6px;
    background-color: #f8fafc;
    padding-bottom: 14px;
}
.cart-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}
.cart-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}
.cart-breadcrumbs a:hover {
    color: #ff5000;
}
.cart-breadcrumbs .sep {
    color: #94a3b8;
    font-size: 11px;
}
.cart-breadcrumbs .current {
    color: #0f172a;
    font-weight: 600;
}

.cart-mobile-nav-bar {
    display: none;
}

/* Stepper Component */
.cart-stepper-wrap,
.checkout-stepper-wrap {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 18px 0;
}

.cart-stepper,
.checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.stepper-step {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: default;
}

a.stepper-step {
    cursor: pointer;
}

a.stepper-step:hover .step-label {
    text-decoration: underline;
}

.stepper-step .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    background-color: #93a2b7;
    transition: background-color 0.2s, transform 0.15s;
}

.stepper-step.active .step-num,
.stepper-step.completed .step-num {
    background-color: #ff5000;
}

.stepper-step .step-label {
    font-size: 15px;
    font-weight: 600;
    color: #64738a;
    transition: color 0.2s;
}

.stepper-step.active .step-label,
.stepper-step.completed .step-label {
    color: #ff5000;
    font-weight: 700;
}

.stepper-line {
    width: 70px;
    height: 2.5px;
    background-color: #e1e7ef;
    border-radius: 2px;
}

.stepper-line.active {
    background-color: #ff5000;
}

/* Cart Main Area */
.cart-main-area {
    padding-top: 24px;
}

.cart-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--box-gap);
    align-items: start;
}

/* Left Column */
.cart-heading-wrap {
    margin-bottom: 16px;
}

.cart-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.cart-count-badge {
    font-size: 15px;
    font-weight: 400;
    color: #64748b;
}

/* Promo Banner */
.cart-promo-banner {
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--box-gap);
}

.promo-banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-ticket-icon {
    width: 26px;
    height: 26px;
    background-color: #ff5000;
    color: #ffffff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.promo-text {
    font-size: 13px;
    color: #334155;
}

.promo-bold {
    color: #ea580c;
    font-weight: 600;
}

.promo-link {
    font-size: 13px;
    font-weight: 600;
    color: #ea580c;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.promo-link:hover {
    text-decoration: underline;
}

/* Cart Table Card */
.cart-table-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
}

.cart-table-head {
    display: grid;
    grid-template-columns: 3.2fr 1.8fr 1.2fr 1.3fr 1.3fr 0.8fr;
    padding: 14px 18px;
    background-color: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.th-col.th-price,
.th-col.th-qty,
.th-col.th-subtotal,
.th-col.th-action {
    text-align: center;
}

.cart-table-body {
    display: flex;
    flex-direction: column;
}

.cart-row-item {
    display: grid;
    grid-template-columns: 3.2fr 1.8fr 1.2fr 1.3fr 1.3fr 0.8fr;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: background-color 0.15s, opacity 0.3s;
}

.cart-row-item:hover {
    background-color: #fcfdfe;
}

/* Product column */
.td-col.td-product {
    display: flex;
    align-items: center;
    gap: 14px;
}

.prod-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
    background-color: #ffffff;
}

.prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prod-meta {
    flex: 1;
    min-width: 0;
}

.prod-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 3px;
}

.prod-name a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s;
}

.prod-name a:hover {
    color: #ff5000;
}

.prod-brand {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.prod-brand .sep {
    color: #cbd5e1;
}

/* Variant column */
.td-col.td-variant {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.var-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.var-label {
    color: #64748b;
}

.color-circle {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.color-circle.color-black {
    background-color: #1e293b;
}

.color-circle.color-grey {
    background-color: #94a3b8;
}

.color-circle.color-navy {
    background-color: #0f2b5c;
}

.var-name {
    color: #334155;
    font-weight: 500;
}

.select-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.custom-var-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 2px 20px 2px 8px;
    font-size: 11.5px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    cursor: pointer;
    line-height: 1.4;
}

.custom-var-select:focus {
    border-color: #ff5000;
}

.dropdown-arrow {
    position: absolute;
    right: 6px;
    font-size: 9px;
    color: #64748b;
    pointer-events: none;
}

.stock-badge.in-stock {
    font-size: 11.5px;
    font-weight: 600;
    color: #16a34a;
}

/* Price column */
.td-col.td-price {
    text-align: center;
}

.price-current {
    font-size: 13.5px;
    font-weight: 700;
    color: #ff5000;
    margin-bottom: 2px;
}

.price-original {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Qty column */
.td-col.td-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stepper-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
}

.btn-step {
    width: 26px;
    height: 26px;
    border: none;
    background-color: transparent;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: background-color 0.15s, color 0.15s;
}

.btn-step:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.qty-field {
    width: 30px;
    height: 26px;
    border: none;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    background-color: transparent;
    -moz-appearance: textfield;
    pointer-events: none;
}

.qty-field::-webkit-inner-spin-button,
.qty-field::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Subtotal column */
.td-col.td-subtotal {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.row-subtotal-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

/* Action column */
.td-col.td-action {
    text-align: center;
}

.btn-trash-item {
    background-color: transparent;
    border: none;
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.15s, background-color 0.15s;
}

.btn-trash-item:hover {
    color: #ef4444;
    background-color: #fee2e2;
}

/* Cart Table Foot */
.cart-table-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background-color: #ffffff;
}

.foot-actions-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.select-all-box {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.select-all-box input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.check-box-ui {
    width: 16px;
    height: 16px;
    border: 1.5px solid #ff5000;
    border-radius: 4px;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.15s;
}

.select-all-box input:checked + .check-box-ui {
    background-color: #ff5000;
    color: #ffffff;
}

.select-text {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.btn-remove-selected {
    background-color: transparent;
    border: none;
    color: #64748b;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.15s;
}

.btn-remove-selected:hover {
    color: #ef4444;
}

.back-shop-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0284c7;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.2s, color 0.15s;
}

.back-shop-link:hover {
    color: #0369a1;
    text-decoration: underline;
    gap: 10px;
}

/* Right Column: Order Summary */
.order-summary-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    box-shadow: none;
}

.summary-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
}

.summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #64748b;
}

.summary-row .row-val {
    color: #0f172a;
    font-weight: 600;
    font-size: 13.5px;
}

.summary-row.discount-highlight .row-val {
    color: #16a34a !important;
}

.info-tooltip {
    color: #94a3b8;
    font-size: 12px;
    cursor: help;
    margin-left: 4px;
    vertical-align: middle;
}

.summary-sep-line {
    height: 1px;
    background-color: #f1f5f9;
    margin: 16px 0;
}

.summary-total-group {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.total-meta .total-text {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.total-meta .vat-text {
    font-size: 11.5px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

.total-amount-display {
    font-size: 22px;
    font-weight: 800;
    color: #ff5000;
    letter-spacing: -0.5px;
}

/* Coupon Apply Group */
.coupon-apply-group {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.coupon-field-wrap {
    position: relative;
    flex: 1;
}

.coupon-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff5000;
    font-size: 13px;
}

.coupon-input {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 34px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.coupon-input:focus {
    border-color: #ff5000;
}

.btn-coupon-submit {
    background-color: #ff5000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
    white-space: nowrap;
}

.btn-coupon-submit:hover {
    background-color: #e04700;
}

.coupon-feedback-alert {
    font-size: 12px;
    margin-bottom: 12px;
    min-height: 16px;
}

.coupon-feedback-alert.success {
    color: #16a34a;
}

.coupon-feedback-alert.error {
    color: #ef4444;
}

/* Checkout Button */
.btn-checkout-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    background-color: #ff5000;
    color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 0.15s, transform 0.1s;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.btn-checkout-primary:hover {
    background-color: #e04700;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Trust Badges */
.trust-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.trust-feat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
}

.trust-icon {
    font-size: 16px;
    color: #475569;
    margin-bottom: 2px;
}

.trust-heading {
    font-size: 10px;
    font-weight: 700;
    color: #334155;
    line-height: 1.2;
    display: block;
}

.trust-sub {
    font-size: 9px;
    color: #64748b;
    display: block;
}

/* Savings Box */
.savings-alert-box {
    position: relative;
    background-color: #fff7ed;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.savings-icon-wrap {
    font-size: 22px;
    color: #ff5000;
    flex-shrink: 0;
}

.savings-text-wrap {
    flex: 1;
    min-width: 0;
}

.savings-main {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.savings-desc {
    font-size: 11px;
    color: #64748b;
}

.savings-deco-leaf {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: rgba(255, 80, 0, 0.1);
    pointer-events: none;
}

/* ==========================================================================
   RECOMMENDATIONS SECTION ("Có thể bạn cũng thích")
   ========================================================================== */

.cart-rec-block {
    margin-top: var(--box-gap);
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 16px;
}

.rec-block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rec-main-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
}

.rec-sub-title {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.rec-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ff5000;
    text-decoration: none;
    transition: gap 0.15s;
}

.rec-more-link:hover {
    gap: 8px;
    text-decoration: underline;
}

.rec-slider-container {
    position: relative;
}

.rec-cards-flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--box-gap);
}

.rec-item-card {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    box-shadow: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.rec-item-card:hover {
    box-shadow: none;
    transform: translateY(-2px);
}

.rec-thumb-box {
    width: 83px;
    height: 83px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f8fafc;
}

.rec-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rec-body {
    flex: 1;
    min-width: 0;
}

.rec-prod-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
}

.rec-prod-title a {
    color: #1E293B;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    transition: color 0.15s;
}

.rec-prod-title a:hover {
    color: #ff5000;
}

.rec-price-box {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.rec-price-curr {
    font-size: 15px;
    font-weight: 800;
    color: #ff5000;
    letter-spacing: -0.2px;
}

.rec-price-old {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-rec-cart {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background-color: #ff5000;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, transform 0.1s;
}

.btn-rec-cart:hover {
    background-color: #e04700;
    transform: scale(1.08);
}

.rec-arrow-btn {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.15s, color 0.15s;
}

.rec-arrow-btn:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

/* New Cart Elements Desktop Defaults */
.mobile-prod-specs {
    display: none;
}
.cart-item-right-wrap {
    display: contents;
}
.cart-item-right-top {
    display: contents;
}
/* Mobile-only elements in cart page — STRICTLY HIDDEN ON DESKTOP */
@media (min-width: 769px) {
    .trust-features-card-mobile,
    .cart-mobile-sticky-bottom,
    .cart-inline-total-bar,
    .cart-mobile-nav-bar {
        display: none !important;
    }
}
.trust-features-card-mobile,
.cart-mobile-sticky-bottom,
.cart-inline-total-bar,
.cart-mobile-nav-bar {
    display: none;
}
.rec-bottom-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Explicit desktop columns in cart-row-item */
@media (min-width: 769px) {
    .cart-row-item {
        grid-auto-flow: row dense;
        align-items: center;
    }
    .cart-row-item > .td-col.td-product {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }
    .cart-row-item > .td-col.td-variant {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }
    .cart-row-item .td-col.td-price {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .cart-row-item .td-col.td-qty {
        grid-column: 4;
        grid-row: 1;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .cart-row-item > .td-col.td-subtotal {
        grid-column: 5;
        grid-row: 1;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .cart-row-item .td-col.td-action {
        grid-column: 6;
        grid-row: 1;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .cart-row-item .stepper-box {
        margin: 0 auto;
    }
    .cart-row-item .row-subtotal-val {
        text-align: center;
        display: block;
        width: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .cart-layout-grid {
        grid-template-columns: 1fr;
    }
    .rec-cards-flex {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cart-page-wrapper {
        background-color: #f8fafc;
        min-height: auto !important;
        padding-bottom: 0 !important;
        overflow-x: hidden;
        width: 100%;
    }
    .cart-page-wrapper .container,
    .cart-stepper-wrap .container,
    .cart-main-area .container {
        padding: 0 6px !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    .cart-main-area {
        padding-top: 10px;
    }
    .cart-layout-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .cart-left-col {
        width: 100%;
    }
    .cart-heading-wrap {
        display: none !important;
    }

    .cart-breadcrumbs-bar {
        display: none !important;
    }

    .cart-mobile-nav-bar {
        display: block !important;
        padding-top: 10px;
        background-color: #f8fafc;
    }
    .cart-mobile-nav-bar .container {
        padding: 0 6px !important;
    }
    .cart-mobile-nav-bar .mob-nav-header {
        margin-bottom: 0 !important;
    }

    /* Stepper Mobile */
    .cart-stepper-wrap {
        padding: 4px 0 10px;
        background: transparent;
        border-bottom: none;
        width: 100%;
    }
    .cart-stepper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    .stepper-step {
        gap: 5px;
        flex-shrink: 0;
    }
    .stepper-step .step-num {
        width: 22px;
        height: 22px;
        font-size: 11.5px;
        font-weight: 700;
    }
    .stepper-step .step-label {
        font-size: 12.5px;
        white-space: nowrap;
    }
    .stepper-line {
        width: 28px;
        height: 1.5px;
        flex-shrink: 1;
    }

    /* Promo Banner Mobile */
    .cart-promo-banner {
        background-color: #fff8f3;
        border: 1px solid #fed7aa;
        border-radius: 12px;
        padding: 8px 10px;
        margin-top: 6px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        box-sizing: border-box;
        width: 100%;
    }
    .promo-banner-content {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    .promo-ticket-icon {
        width: 28px;
        height: 28px;
        background-color: #ff5000;
        color: #ffffff;
        border-radius: 7px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        flex-shrink: 0;
    }
    .promo-text-wrap {
        display: flex;
        flex-direction: column;
        gap: 1px;
        min-width: 0;
        flex: 1;
    }
    .promo-bold {
        font-size: 13px;
        font-weight: 700;
        color: #ea580c;
        line-height: 1.2;
    }
    .promo-sub {
        font-size: 10.5px;
        color: #64748b;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .promo-link {
        font-size: 11.5px;
        font-weight: 600;
        color: #ea580c;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 2px;
        text-decoration: none;
        white-space: nowrap;
    }

    /* Cart Table Card Mobile */
    .cart-table-card {
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
        width: 100%;
    }
    .cart-table-head {
        display: none !important;
    }
    .cart-table-body {
        display: flex;
        flex-direction: column;
        gap: var(--box-gap);
        width: 100%;
    }

    /* Cart Item Card Mobile */
    .cart-row-item {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        padding: 10px 12px;
        background: #ffffff;
        border: 1px solid #f1f5f9;
        border-radius: 12px;
        position: relative;
        gap: 8px;
        box-sizing: border-box;
        width: 100%;
    }
    .td-col.td-product {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        flex: 1;
        min-width: 0;
        padding: 0;
    }
    .prod-thumb {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        border: 1px solid #f1f5f9;
        background-color: #f8fafc;
    }
    .prod-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .prod-meta {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .prod-name {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        margin: 0;
    }
    .prod-name a {
        color: #0f172a;
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .prod-brand {
        display: none !important;
    }
    .mobile-prod-specs {
        display: flex !important;
        flex-direction: column;
        gap: 1px;
        margin-top: 2px;
    }
    .mobile-var-line {
        font-size: 11px;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mobile-var-line strong {
        color: #1e293b;
        font-weight: 600;
    }
    .mobile-var-line .spec-sep {
        color: #cbd5e1;
        margin: 0 3px;
    }
    .mobile-stock-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        font-weight: 500;
        color: #16a34a;
        margin-top: 1px;
    }
    .stock-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: #16a34a;
        display: inline-block;
    }

    .td-col.td-variant,
    .td-col.td-subtotal {
        display: none !important;
    }

    /* Right Column in Card Mobile */
    .cart-item-right-wrap {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
        flex-shrink: 0;
        min-height: 70px;
        padding: 0;
    }
    .cart-item-right-top {
        display: flex !important;
        align-items: flex-start;
        gap: 6px;
    }
    .td-col.td-price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        padding: 0;
    }
    .price-current {
        font-size: 14px;
        font-weight: 700;
        color: #ff5000;
        line-height: 1.15;
    }
    .price-original {
        font-size: 10.5px;
        color: #94a3b8;
        text-decoration: line-through;
        line-height: 1.15;
        margin-top: 1px;
    }
    .td-col.td-action {
        padding: 0;
    }
    .btn-trash-item {
        color: #94a3b8;
        font-size: 14px;
        padding: 0 0 2px 2px;
        background: transparent;
        border: none;
        cursor: pointer;
        transition: color 0.15s;
    }
    .btn-trash-item:hover {
        color: #ef4444;
    }
    .td-col.td-qty {
        margin-top: 4px;
        padding: 0;
    }
    .stepper-box {
        display: inline-flex;
        align-items: center;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        background-color: #ffffff;
        height: 24px;
        overflow: hidden;
    }
    .btn-step {
        width: 22px;
        height: 22px;
        border: none;
        background-color: transparent;
        color: #64748b;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        cursor: pointer;
    }
    .qty-field {
        width: 24px;
        height: 22px;
        border: none;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #0f172a;
        background-color: transparent;
        padding: 0;
    }

    /* Select All Mobile */
    .cart-table-foot {
        background: transparent;
        padding: 12px 2px 6px 2px;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    .foot-actions-left {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 8px;
    }
    .foot-actions-right {
        display: none !important;
    }
    .select-all-box {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        user-select: none;
    }
    .check-box-ui {
        width: 18px;
        height: 18px;
        border: 1.5px solid #ff5000;
        border-radius: 4px;
        background-color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        color: transparent;
        transition: all 0.15s;
    }
    .select-all-box input:checked + .check-box-ui {
        background-color: #ff5000;
        color: #ffffff;
    }
    .select-text {
        font-size: 13px;
        font-weight: 600;
        color: #1e293b;
    }
    .btn-remove-selected {
        background-color: transparent;
        border: none;
        color: #64748b;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        white-space: nowrap;
    }

    /* Trust Features Card Mobile */
    .trust-features-card-mobile {
        background: #ffffff;
        border: 1px solid #f1f5f9;
        border-radius: 12px;
        padding: 12px 6px;
        margin: 8px 0 10px;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        box-shadow: none;
        box-sizing: border-box;
        width: 100%;
    }
    .trust-features-card-mobile .trust-feat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2px;
    }
    .trust-features-card-mobile .trust-icon {
        font-size: 15px;
        color: #1e293b;
        margin-bottom: 2px;
    }
    .trust-features-card-mobile .trust-heading {
        font-size: 10px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.2;
        display: block;
        white-space: nowrap;
    }
    .trust-features-card-mobile .trust-sub {
        font-size: 9px;
        color: #64748b;
        display: block;
        white-space: nowrap;
    }

    /* Recommendations Mobile */
    .cart-rec-block {
        margin-top: 6px;
        margin-bottom: 6px;
        width: 100%;
        overflow: hidden;
    }
    .rec-block-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .rec-main-title {
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
        margin: 0;
    }
    .rec-sub-title {
        display: none !important;
    }
    .rec-more-link {
        font-size: 12.5px;
        font-weight: 600;
        color: #ff5000;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 3px;
        white-space: nowrap;
    }
    .rec-slider-container {
        width: 100%;
        overflow: hidden;
    }
    .rec-arrow-btn {
        display: none !important;
    }
    .rec-cards-flex {
        display: flex !important;
        overflow-x: auto;
        gap: var(--box-gap);
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        box-sizing: border-box;
    }
    .rec-cards-flex::-webkit-scrollbar {
        display: none;
    }
    .rec-item-card {
        flex: 0 0 138px;
        width: 138px;
        background: #ffffff;
        border: 1px solid #f1f5f9;
        border-radius: 12px;
        padding: 8px;
        display: flex !important;
        flex-direction: column;
        box-shadow: none;
        box-sizing: border-box;
    }
    .rec-thumb-box {
        width: 100%;
        height: 110px;
        border-radius: 8px;
        overflow: hidden;
        background: #f8fafc;
    }
    .rec-thumb-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .rec-body {
        margin-top: 5px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .rec-prod-title {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.25;
        margin: 0 0 4px;
        height: 28px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .rec-prod-title a {
        color: #0f172a;
        text-decoration: none;
    }
    .rec-bottom-action-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-top: 3px;
    }
    .rec-price-box {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }
    .rec-price-curr {
        font-size: 12.5px;
        font-weight: 700;
        color: #ff5000;
    }
    .rec-price-old {
        font-size: 10px;
        color: #94a3b8;
        text-decoration: line-through;
    }
    .btn-rec-cart {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        background-color: #ff5000;
        color: #ffffff;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* Inline Cart Total Bar Under Cart Items on Mobile */
    .cart-inline-total-bar {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
        background: #ffffff;
        border-top: 1px solid #f1f5f9;
        margin-top: 4px;
        border-radius: 0 0 14px 14px;
        box-sizing: border-box;
    }

    /* Sticky Bottom Checkout Bar Mobile: Hidden by default, slides up when scrolled past inline bar */
    .cart-right-col {
        display: none !important;
    }
    .cart-mobile-sticky-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #f1f5f9;
        box-shadow: none;
        padding: 10px 14px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        z-index: 9999;
        box-sizing: border-box;
        transform: translateY(100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
    }
    .cart-mobile-sticky-bottom.is-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .sticky-left-summary {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }
    .sticky-count-text {
        font-size: 11.5px;
        color: #64748b;
    }
    .sticky-grand-total {
        font-size: 19px;
        font-weight: 800;
        color: #ff5000;
        line-height: 1.15;
    }
    .sticky-savings-badge {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        color: #16a34a;
        font-weight: 500;
    }
    .sticky-savings-badge i {
        font-size: 11px;
    }
    .btn-sticky-checkout {
        background: linear-gradient(135deg, #ff5000, #ea580c);
        color: #ffffff;
        border-radius: 10px;
        padding: 11px 22px;
        font-size: 14.5px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: none;
        white-space: nowrap;
    }
}


/* ==========================================================================
   CHECKOUT PAGE STYLES (BoxMart High Fidelity)
   ========================================================================== */

.checkout-page-wrapper {
    background-color: #f8fafc;
    min-height: 80vh;
    padding-bottom: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
}

/* Breadcrumbs */
.checkout-breadcrumbs-bar {
    padding: 14px 0 6px;
    padding-bottom: 14px;
}

.checkout-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.checkout-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.checkout-breadcrumbs a:hover {
    color: #ff5000;
}

.checkout-breadcrumbs .sep {
    color: #94a3b8;
    font-size: 11px;
}

.checkout-breadcrumbs .current {
    color: #0f172a;
    font-weight: 600;
}

/* Mobile-only elements in checkout page — STRICTLY HIDDEN ON DESKTOP */
@media (min-width: 769px) {
    .checkout-mobile-nav-bar,
    .checkout-mobile-sticky-bar,
    .checkout-inline-total-bar {
        display: none !important;
    }
}
.checkout-mobile-nav-bar {
    display: none;
}
.checkout-mobile-sticky-bar,
.checkout-inline-total-bar {
    display: none;
}
.sec-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #475467;
    padding: 4px;
    display: none;
    align-items: center;
    justify-content: center;
}
.sec-toggle-icon {
    transition: transform 0.25s ease;
}
.is-collapsed .sec-toggle-icon {
    transform: rotate(180deg);
}
.is-collapsed .sec-card-body,
.is-collapsed .order-card-body {
    display: none;
}

/* Header */
.checkout-header-area {
    margin-bottom: 20px;
    padding-top: 24px;
}

.checkout-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.checkout-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.checkout-error-area {
    margin-bottom: 20px;
}

.checkout-error-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    padding: 16px 18px;
}

.checkout-error-box::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    line-height: 1.5;
    color: #DC2626;
    flex-shrink: 0;
}

.checkout-error-box ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-error-box li,
.checkout-error-box p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #7F1D1D;
}

.checkout-error-box li strong {
    color: #B91C1C;
    font-weight: 700;
}

/* Layout Grid */
.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: var(--box-gap);
    align-items: start;
}

/* Section Cards (Left Column) */
.checkout-section-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: var(--box-gap);
    box-shadow: none;
}

.sec-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sec-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sec-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background-color: #fff1eb;
    color: #ff5000;
}

.sec-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.login-prompt {
    font-size: 12.5px;
    color: #64748b;
}

.login-link {
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

/* Customer Info Form */
.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-full {
    margin-bottom: 14px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.form-label .required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s;
    background-color: #ffffff;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #ff5000;
    box-shadow: none;
}

.field-error-text {
    display: none;
    font-size: 12px;
    color: #DC2626;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select {
    border-color: #DC2626;
    background-color: #FEF2F2;
}

.form-group.has-error .field-error-text {
    display: block;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.form-select {
    width: 100%;
    height: 38px;
    padding: 0 28px 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12.5px;
    color: #0f172a;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    background-color: #ffffff;
    cursor: pointer;
    box-sizing: border-box;
}

.form-select:focus {
    border-color: #ff5000;
}

.select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #64748b;
    pointer-events: none;
}

.save-info-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #334155;
    cursor: pointer;
    user-select: none;
    margin-top: 4px;
}

.save-info-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-box-ui {
    width: 16px;
    height: 16px;
    border: 1.5px solid #ff5000;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    background-color: #ffffff;
    transition: all 0.15s;
}

.save-info-checkbox input:checked + .custom-box-ui {
    background-color: #ff5000;
    color: #ffffff;
}

/* Shipping Options */
.shipping-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ship-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    background-color: #ffffff;
}

.ship-option-card:hover {
    border-color: #cbd5e1;
}

.ship-option-card.active {
    border-color: #ff5000;
    background-color: #fff7ed;
}

.option-radio-ui .radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
}

.ship-option-card.active .radio-circle {
    border-color: #ff5000;
    background-color: #ff5000;
    box-shadow: none;
}

.ship-option-card.active .radio-circle::after {
    display: none;
}

.option-info {
    flex: 1;
}

.option-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.option-desc {
    font-size: 11.5px;
    color: #64748b;
}

.option-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.option-price.text-orange {
    color: #ff5000;
}

/* Payment Options (2x2 Grid) */
.payment-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.pay-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    background-color: #ffffff;
    min-height: 68px;
    box-sizing: border-box;
}

.pay-option-card:hover {
    border-color: #cbd5e1;
}

.pay-option-card.active {
    border-color: #ff5000;
    background-color: #fff7ed;
}

.pay-radio-ui .radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
}

.pay-option-card.active .radio-circle {
    border-color: #ff5000;
    background-color: #ff5000;
    box-shadow: none;
}

.pay-option-card.active .radio-circle::after {
    display: none;
}

.pay-info {
    flex: 1;
    min-width: 0;
}

.pay-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 2px;
}

.pay-desc {
    font-size: 11px;
    color: #64748b;
}

.pay-logos-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.mini-logo {
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    line-height: 1;
}

.logo-momo {
    background-color: #d82d8b;
    color: #ffffff;
    font-size: 8px;
    text-align: center;
}

.logo-zalopay {
    background-color: #0068ff;
    color: #ffffff;
    font-size: 8px;
    text-align: center;
}

.logo-shopeepay {
    background-color: #ee4d2d;
    color: #ffffff;
    font-size: 8.5px;
}

.logo-vnpay {
    background-color: #005baa;
    color: #ffffff;
    font-size: 8.5px;
}

.logo-visa {
    color: #1a1f71;
    font-style: italic;
    border: 1px solid #e2e8f0;
    font-size: 9px;
    padding: 0 4px;
    background-color: #ffffff;
}

.logo-mastercard {
    border: 1px solid #e2e8f0;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
}

.mc-red {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #eb001b;
    display: inline-block;
}

.mc-orange {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #f79e1b;
    display: inline-block;
    margin-left: -4px;
}

.logo-jcb {
    color: #007934;
    border: 1px solid #e2e8f0;
    font-size: 9px;
    padding: 0 4px;
    background-color: #ffffff;
}

.pay-badge-icon {
    font-size: 20px;
    margin-left: auto;
}

.pay-icon-cod {
    color: #16a34a;
}

.pay-icon-bank {
    color: #475569;
    font-size: 18px;
}

/* Order Notes Box */
.order-notes-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
}

.notes-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.notes-input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12.5px;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.notes-input:focus {
    border-color: #ff5000;
}

/* RIGHT COLUMN: ORDER SUMMARY CARD */
.order-summary-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: none;
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.order-title-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.back-cart-link {
    color: #0284c7;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}

.back-cart-link:hover {
    text-decoration: underline;
}

/* Products List in Checkout */
.order-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.order-prod-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-right: 18px;
    transition: opacity 0.25s, transform 0.25s;
}

.btn-remove-prod {
    position: absolute;
    right: 0;
    top: 2px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    transition: color 0.15s;
}

.btn-remove-prod:hover {
    color: #ef4444;
}

.order-prod-item .prod-thumb {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
    background-color: #ffffff;
}

.order-prod-item .prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-prod-item .prod-details {
    flex: 1;
    min-width: 0;
}

.order-prod-item .prod-title {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px;
    white-space: normal;
    line-height: 1.3;
}

.order-prod-item .prod-variant-line {
    font-size: 10.5px;
    color: #64748b;
    margin-bottom: 2px;
}

.order-prod-item .prod-price-line {
    font-size: 12.5px;
    font-weight: 700;
    color: #ff5000;
}

.mini-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
}

.btn-mini-minus,
.btn-mini-plus {
    width: 22px;
    height: 22px;
    border: none;
    background-color: transparent;
    color: #64748b;
    font-size: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s;
}

.btn-mini-minus:hover,
.btn-mini-plus:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.mini-qty-field {
    width: 24px;
    height: 22px;
    border: none;
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
    color: #0f172a;
    background-color: transparent;
    pointer-events: none;
    -moz-appearance: textfield;
}

.prod-total-price {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-left: 6px;
    white-space: nowrap;
}

/* Voucher Section */
.checkout-voucher-section {
    margin-bottom: 14px;
}

.voucher-label-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #ea580c;
    margin-bottom: 8px;
}

.voucher-form-row {
    display: flex;
    gap: 8px;
}

.voucher-field-wrap {
    position: relative;
    flex: 1;
}

.voucher-ticket-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff5000;
    font-size: 13px;
}

.voucher-input {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 34px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.voucher-input:focus {
    border-color: #ff5000;
}

.btn-voucher-apply {
    background-color: #ff5000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
    white-space: nowrap;
}

.btn-voucher-apply:hover {
    background-color: #e04700;
}

.checkout-coupon-msg {
    font-size: 11.5px;
    margin-top: 6px;
    min-height: 14px;
}

.checkout-coupon-msg.success {
    color: #16a34a;
}

.checkout-coupon-msg.error {
    color: #ef4444;
}

/* Calculation Breakdown */
.checkout-calc-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
}

.calc-amount {
    font-size: 13px;
    color: #0f172a;
}

.calc-amount.text-danger {
    color: #ef4444;
}

/* Final Total */
.checkout-final-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.final-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.final-price {
    font-size: 22px;
    font-weight: 800;
    color: #ff5000;
    letter-spacing: -0.5px;
}

/* Security Privacy Banner */
.security-privacy-banner {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.security-icon-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #16a34a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.sec-headline {
    font-size: 11.5px;
    font-weight: 700;
    color: #166534;
    display: block;
}

.sec-promise {
    font-size: 10.5px;
    color: #15803d;
    margin: 0;
    line-height: 1.3;
}

/* Submit Button */
.btn-checkout-submit {
    width: 100%;
    height: 44px;
    background-color: #ff5000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.15s, transform 0.1s;
    margin-bottom: 12px;
}

.btn-checkout-submit:hover {
    background-color: #e04700;
    transform: translateY(-1px);
}

.checkout-legal-disclaimer {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 18px;
    line-height: 1.4;
}

.checkout-legal-disclaimer a {
    color: #0284c7;
    text-decoration: none;
}

.checkout-legal-disclaimer a:hover {
    text-decoration: underline;
}

/* Trust Badges Bar (4 Items) */
.checkout-trust-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.trust-col-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.trust-ico {
    font-size: 15px;
    color: #ea580c;
    margin-bottom: 2px;
}

.trust-txt strong {
    font-size: 9.5px;
    font-weight: 700;
    color: #334155;
    display: block;
    line-height: 1.2;
}

.trust-txt span {
    font-size: 8.5px;
    color: #64748b;
    display: block;
}

/* Modal Popup Order Success */
.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    backdrop-filter: blur(3px);
}

.checkout-modal-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px 28px;
    width: 440px;
    max-width: 90%;
    text-align: center;
    box-shadow: none;
}

.modal-success-icon {
    font-size: 48px;
    color: #16a34a;
    margin-bottom: 14px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.modal-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 16px;
}

.order-code-badge {
    display: inline-block;
    background-color: #fff7ed;
    color: #ff5000;
    border: 1px dashed #ff5000;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.modal-info-text {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 22px;
    line-height: 1.5;
}

.modal-actions-btn {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-modal-home {
    background-color: #ff5000;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s;
}

.btn-modal-home:hover {
    background-color: #e04700;
    color: #ffffff;
}

.btn-modal-cat {
    background-color: #f1f5f9;
    color: #334155;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s;
}

.btn-modal-cat:hover {
    background-color: #e2e8f0;
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hide desktop elements */
    .checkout-breadcrumbs-bar {
        display: none !important;
    }
    .checkout-header-area {
        display: none !important;
    }
    .desktop-summary-parts {
        display: none !important;
    }
    .back-cart-link {
        display: none !important;
    }

    /* Mobile App Bar Header */
    .checkout-mobile-nav-bar {
        display: block !important;
        padding-top: 10px;
        background-color: #f8fafc;
    }
    .checkout-mobile-nav-bar .container {
        padding: 0 6px !important;
    }
    .checkout-mobile-nav-bar .mob-nav-header {
        margin-bottom: 6px !important;
    }

    /* Stepper Mobile */
    .checkout-stepper-wrap {
        padding: 4px 0 6px !important;
        background: transparent !important;
        border-bottom: none !important;
        width: 100%;
    }
    .checkout-stepper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    .checkout-stepper .stepper-step {
        gap: 5px;
        flex-shrink: 0;
    }
    .checkout-stepper .stepper-step .step-num {
        width: 26px;
        height: 26px;
        font-size: 12px;
        font-weight: 700;
    }
    .checkout-stepper .stepper-step .step-label {
        font-size: 13px;
        font-weight: 600;
    }
    .checkout-stepper .stepper-line {
        width: 32px;
        height: 1.5px;
    }

    /* Main Container & Layout */
    .checkout-page-wrapper {
        min-height: auto !important;
        padding-bottom: 6px !important;
    }
    .checkout-content-area {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .checkout-content-area .container {
        padding: 0 6px !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    .checkout-layout-grid {
        display: flex;
        flex-direction: column;
        gap: var(--box-gap);
        width: 100%;
    }
    .checkout-left-col,
    .checkout-right-col {
        width: 100%;
    }

    /* Section Cards Mobile */
    .checkout-section-card,
    .order-summary-card {
        background: #FFFFFF !important;
        border-radius: 14px !important;
        border: 1px solid #F0F2F5 !important;
        box-shadow: none;
        padding: 14px 12px !important;
        margin-bottom: 0 !important;
        box-sizing: border-box;
    }

    .sec-card-header,
    .order-card-header {
        margin-bottom: 12px;
        padding-bottom: 0;
        cursor: pointer;
    }
    .sec-title,
    .order-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
    }
    .sec-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    .login-prompt {
        display: none !important;
    }
    .sec-toggle-btn {
        display: flex !important;
    }

    /* Customer Info Inputs - 3 Columns on Mobile to match mockup */
    .form-grid-3 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
    }
    .form-grid-3 .form-group {
        margin-bottom: 0 !important;
        min-width: 0 !important;
    }
    .form-grid-3 .form-label {
        font-size: 11px !important;
        font-weight: 500;
        margin-bottom: 3px;
        color: #334155;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .form-grid-3 .form-label .email-hint {
        font-size: 9px !important;
        font-weight: 400 !important;
        color: #64748B !important;
    }
    .form-grid-3 .form-input {
        height: 38px !important;
        padding: 6px 8px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
        border: 1px solid #E2E8F0 !important;
        text-overflow: ellipsis !important;
    }
    .form-group {
        margin-bottom: 8px;
    }
    .form-label {
        font-size: 11px !important;
        font-weight: 500;
        margin-bottom: 3px;
        color: #334155;
    }
    .form-input {
        height: 38px !important;
        padding: 6px 10px !important;
        font-size: 11.5px !important;
        border-radius: 8px;
        border: 1px solid #E2E8F0;
    }

    /* Address Grid 3 Columns on Mobile */
    .address-grid-3 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
    }
    .address-grid-3 .form-group {
        margin-bottom: 0 !important;
        min-width: 0;
    }
    .address-grid-3 .form-label {
        font-size: 11px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 3px;
    }
    .address-grid-3 .select-wrapper {
        position: relative;
    }
    .address-grid-3 .form-select {
        height: 38px !important;
        padding: 6px 18px 6px 6px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
        border: 1px solid #E2E8F0;
        text-overflow: ellipsis;
    }
    .address-grid-3 .select-arrow {
        right: 5px !important;
        font-size: 9px !important;
    }

    .save-info-checkbox {
        margin-top: 4px;
        font-size: 12px;
    }

    /* Shipping Options 2 Columns Grid - Ultra Compact Matching Mockup */
    .shipping-options-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    .ship-option-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 8px 6px !important;
        border-radius: 10px !important;
        border: 1px solid #E2E8F0 !important;
        background: #FFFFFF !important;
        cursor: pointer;
        transition: all 0.15s ease;
        box-sizing: border-box;
        min-height: 56px !important;
        height: auto !important;
    }
    .ship-option-card.active {
        border: 1.5px solid #FF5000 !important;
        background-color: #FFFFFF !important;
    }
    .ship-option-card .option-radio-ui {
        flex-shrink: 0;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .ship-option-card .option-radio-ui .radio-circle {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        border: 1.5px solid #CBD5E1 !important;
        background: #FFFFFF !important;
        display: inline-block;
        position: relative;
        box-sizing: border-box;
    }
    .ship-option-card.active .option-radio-ui .radio-circle {
        border: 2px solid #FF5000 !important;
        background: #FF5000 !important;
        box-shadow: none;
    }
    .ship-option-card.active .option-radio-ui .radio-circle::after {
        display: none !important;
    }
    .ship-option-card .option-info {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .ship-option-card .option-name {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .ship-option-card .option-desc {
        font-size: 9px !important;
        color: #64748B !important;
        margin: 0 0 2px !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .ship-option-card .option-price {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        color: #1E293B !important;
    }
    .ship-option-card .option-price.text-orange {
        color: #FF5000 !important;
    }

    /* Payment Options 2x2 Grid - Ultra Compact Matching Mockup */
    .payment-options-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        margin-bottom: 0 !important;
    }
    .pay-option-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 7px 6px !important;
        border-radius: 10px !important;
        border: 1px solid #E2E8F0 !important;
        background: #FFFFFF !important;
        min-height: 56px !important;
        height: auto !important;
        cursor: pointer;
        transition: all 0.15s ease;
        box-sizing: border-box;
    }
    .pay-option-card.active {
        border: 1.5px solid #FF5000 !important;
        background-color: #FFFFFF !important;
    }
    .pay-option-card .pay-radio-ui {
        flex-shrink: 0;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pay-option-card .pay-radio-ui .radio-circle {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        border: 1.5px solid #CBD5E1 !important;
        background: #FFFFFF !important;
        display: inline-block;
        position: relative;
        box-sizing: border-box;
    }
    .pay-option-card.active .pay-radio-ui .radio-circle {
        border: 2px solid #FF5000 !important;
        background: #FF5000 !important;
        box-shadow: none;
    }
    .pay-option-card.active .pay-radio-ui .radio-circle::after {
        display: none !important;
    }
    .pay-option-card .pay-info {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .pay-option-card .pay-name {
        font-size: 9.5px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        line-height: 1.2 !important;
        margin: 0 0 2px 0 !important;
        letter-spacing: -0.3px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .pay-option-card .pay-desc-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 2px !important;
        width: 100% !important;
    }
    .pay-option-card .pay-desc {
        font-size: 8px !important;
        color: #64748B !important;
        line-height: 1.15 !important;
        white-space: nowrap;
        letter-spacing: -0.25px !important;
    }
    .pay-option-card .pay-badge-icon {
        margin: 0 !important;
        flex-shrink: 0;
        line-height: 1;
    }
    .pay-icon-cod {
        color: #10B981 !important;
        font-size: 13px !important;
    }
    .pay-icon-bank {
        color: #475569 !important;
        font-size: 11px !important;
    }
    .pay-logos-row {
        display: flex !important;
        align-items: center !important;
        gap: 2px !important;
        margin-top: 1px !important;
        flex-wrap: nowrap !important;
    }
    .mini-logo {
        font-size: 6px !important;
        padding: 1px 2px !important;
        border-radius: 2px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
    .logo-momo {
        background: #A50064 !important;
        color: #FFF !important;
    }
    .logo-zalopay {
        background: #0068FF !important;
        color: #FFF !important;
    }
    .logo-shopeepay {
        background: #EE4D2D !important;
        color: #FFF !important;
    }
    .logo-vnpay {
        background: #005BAA !important;
        color: #FFF !important;
    }
    .logo-visa {
        font-style: italic;
        color: #1A1F71 !important;
        border: 1px solid #CBD5E1;
        background: #FFF;
        font-size: 6.5px !important;
        padding: 1px 2px !important;
    }
    .logo-mastercard {
        display: inline-flex;
        align-items: center;
        border: 1px solid #CBD5E1;
        background: #FFF;
        padding: 1px 2px !important;
    }
    .logo-mastercard .mc-red {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #EB001B;
        display: inline-block;
    }
    .logo-mastercard .mc-orange {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #F79E1B;
        display: inline-block;
        margin-left: -2px;
    }
    .logo-jcb {
        color: #005A9C !important;
        border: 1px solid #CBD5E1;
        background: #FFF;
        font-size: 6.5px !important;
        padding: 1px 2px !important;
    }

    /* Hide Order Notes on mobile */
    .order-notes-box {
        display: none !important;
    }

    /* Order Products List on Mobile */
    .order-products-list {
        margin-bottom: 8px;
    }
    .order-prod-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #F1F5F9 !important;
        position: relative !important;
    }
    .order-prod-item .prod-thumb {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        border-radius: 8px !important;
        overflow: hidden;
        border: 1px solid #F1F5F9;
        background-color: #F8FAFC;
    }
    .order-prod-item .prod-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .order-prod-item .prod-details {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .order-prod-item .prod-title {
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        line-height: 1.3 !important;
        margin: 0 0 3px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding-right: 18px;
    }
    .order-prod-item .prod-variant-line {
        font-size: 11px !important;
        color: #64748B !important;
        margin-bottom: 3px !important;
    }
    .order-prod-item .prod-price-line {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        color: #FF5000 !important;
    }
    .order-prod-item .btn-remove-prod {
        position: absolute !important;
        top: 8px !important;
        right: 0 !important;
        background: none !important;
        border: none !important;
        color: #94A3B8 !important;
        font-size: 13px !important;
        cursor: pointer !important;
        padding: 2px !important;
    }
    .order-prod-item .prod-stepper-wrap {
        margin-left: auto !important;
    }
    .order-prod-item .mini-stepper {
        display: inline-flex !important;
        align-items: center !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 6px !important;
        background: #FFFFFF !important;
    }
    .order-prod-item .mini-stepper button {
        width: 22px !important;
        height: 22px !important;
        border: none !important;
        background: transparent !important;
        font-size: 9px !important;
        color: #64748B !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        padding: 0 !important;
    }
    .order-prod-item .mini-stepper input {
        width: 24px !important;
        height: 22px !important;
        border: none !important;
        text-align: center !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        padding: 0 !important;
    }
    .order-prod-item .prod-total-price {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        min-width: 65px !important;
        text-align: right !important;
    }

    /* Voucher Section Mobile */
    .checkout-voucher-section {
        padding: 0 !important;
    }
    .checkout-voucher-section .voucher-form-row {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .checkout-voucher-section .voucher-field-wrap {
        position: relative !important;
        flex: 1 !important;
    }
    .checkout-voucher-section .voucher-ticket-icon {
        position: absolute !important;
        left: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #FF5000 !important;
        font-size: 13px !important;
        flex-shrink: 0;
    }
    .checkout-voucher-section .voucher-input {
        width: 100% !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 8px !important;
        padding: 8px 12px 8px 34px !important;
        font-size: 12px !important;
        color: #1E293B !important;
        background: #FFFFFF !important;
        height: 38px !important;
        box-sizing: border-box !important;
    }
    .checkout-voucher-section .btn-voucher-apply {
        background: #FF5000 !important;
        border: none !important;
        color: #FFFFFF !important;
        font-weight: 700 !important;
        font-size: 12px !important;
        padding: 8px 14px !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        height: 38px !important;
    }

    /* Inline Checkout Total Bar Under Section 4 on Mobile */
    .checkout-inline-total-bar {
        display: block !important;
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-top: 1px solid #F1F5F9 !important;
    }
    .checkout-inline-total-bar .inline-bar-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 4px 0 !important;
        max-width: 100% !important;
    }
    .checkout-inline-total-bar .inline-left-info {
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
    }

    /* Sticky Bottom Checkout Bar (Mobile Only): Hidden by default, slides up when scrolled past inline bar */
    .checkout-mobile-sticky-bar {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: #FFFFFF !important;
        box-shadow: none;
        border-top: 1px solid #F1F5F9 !important;
        z-index: 9999 !important;
        transform: translateY(100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
    }
    .checkout-mobile-sticky-bar.is-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .sticky-bar-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 14px !important;
        max-width: 100% !important;
    }
    .sticky-left-info {
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
    }
    .sticky-label-row {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 12px !important;
        color: #475467 !important;
        font-weight: 500 !important;
    }
    .drawer-chevron-icon {
        font-size: 10px !important;
        color: #475467 !important;
        transition: transform 0.2s ease !important;
    }
    .drawer-chevron-icon.is-open {
        transform: rotate(180deg) !important;
    }
    .sticky-price-row {
        margin-top: 1px !important;
    }
    .sticky-price {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #FF2D20 !important;
        letter-spacing: -0.3px !important;
    }
    .btn-mobile-checkout-submit {
        background: #FF5000 !important;
        color: #FFFFFF !important;
        border: none !important;
        border-radius: 10px !important;
        padding: 12px 20px !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        cursor: pointer !important;
        box-shadow: none;
        transition: background 0.15s ease, transform 0.1s ease !important;
    }
    .btn-mobile-checkout-submit:active {
        transform: scale(0.97) !important;
        background: #e04600 !important;
    }

    /* Drawer Popup for Calculation Breakdown */
    .checkout-calc-drawer {
        display: none;
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        box-shadow: none;
        border-top: 1px solid #F0F2F5;
        padding: 16px 18px 12px;
    }
    .checkout-calc-drawer.is-open {
        display: block !important;
        animation: slideUpDrawer 0.25s ease forwards;
    }
    @keyframes slideUpDrawer {
        from { transform: translateY(12px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #F1F5F9;
    }
    .drawer-title {
        font-size: 13.5px;
        font-weight: 700;
        color: #0F172A;
    }
    .drawer-close-btn {
        background: none;
        border: none;
        font-size: 16px;
        color: #94A3B8;
        cursor: pointer;
        padding: 0 4px;
    }
    .drawer-calc-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 12.5px;
        color: #475467;
        margin-bottom: 7px;
    }
    .drawer-calc-divider {
        height: 1px;
        background: #F1F5F9;
        margin: 8px 0;
    }
    .drawer-calc-total {
        font-size: 13.5px;
        margin-bottom: 0;
    }

    .checkout-trust-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .cart-stepper,
    .checkout-stepper {
        gap: 8px;
    }
    .stepper-line {
        width: 32px;
    }
    .stepper-step .step-label {
        font-size: 13px;
    }
    .stepper-step .step-num {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Order Completed (Thank You) Page Styles (Desktop & Mobile v2.6.5)
   ========================================================================== */
.order-completed-page-wrapper {
    background-color: #ffffff;
    min-height: 70vh;
    padding-bottom: 60px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
}

/* Visibility switches */
.order-completed-desktop-view {
    display: block;
}
.order-completed-mobile-view {
    display: none;
}

/* --------------------------------------------------------------------------
   Desktop Specific Styles (> 768px)
   -------------------------------------------------------------------------- */
.order-completed-area {
    padding: 36px 0 60px;
}

.order-completed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
}

/* Cột trái Desktop */
.complete-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6px 16px;
}

.complete-illustration-box {
    margin-bottom: 16px;
}

.complete-bag-img {
    max-width: 220px;
    height: auto;
    display: inline-block;
    animation: bounceInBag 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.complete-title-box {
    margin-bottom: 12px;
}

.complete-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #047b3c;
    margin: 0 0 4px;
    line-height: 1.2;
}

.complete-sub-title {
    font-size: 28px;
    font-weight: 800;
    color: #047b3c;
    margin: 0;
    line-height: 1.2;
}

.complete-message {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 24px;
    max-width: 440px;
}

.complete-message .order-code-highlight {
    color: #1e293b;
    font-weight: 700;
}

.complete-btn-primary-wrap {
    margin-bottom: 32px;
    width: 100%;
}

.btn-complete-shop-now {
    display: inline-block;
    background-color: #ff5000;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 48px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-complete-shop-now:hover {
    background-color: #e04700;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: none;
}

/* 3 Nút hành động phụ Desktop */
.complete-actions-trio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
}

.action-trio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 8px;
    transition: transform 0.2s;
    cursor: pointer;
}

.action-trio-item:hover {
    transform: translateY(-2px);
}

.action-trio-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 20px;
    transition: background-color 0.2s, color 0.2s;
}

.action-trio-item:hover .action-trio-circle {
    background-color: #ffede5;
    color: #ff5000;
}

.action-trio-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    transition: color 0.2s;
}

.action-trio-item:hover .action-trio-text {
    color: #ff5000;
}

/* Cột phải Desktop */
.complete-right-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-summary-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: none;
}

.order-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #0a1934;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.order-summary-dl {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-dl-row {
    display: flex;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.5;
}

.order-dl-key {
    width: 200px;
    flex-shrink: 0;
    color: #64748b;
}

.order-dl-val {
    flex: 1;
    color: #1e293b;
    font-weight: 500;
}

.order-dl-val.font-code strong {
    font-weight: 700;
    color: #0f172a;
}

.val-address-block .addr-name {
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 2px;
}

.val-address-block .addr-lines {
    color: #1e293b;
    line-height: 1.5;
}

.order-total-divider-line {
    height: 1px;
    background-color: #f1f5f9;
    margin: 18px 0;
}

.order-card-total-box {
    display: flex;
    align-items: baseline;
    font-size: 15px;
}

.total-box-label {
    width: 200px;
    flex-shrink: 0;
    font-weight: 600;
    color: #1e293b;
}

.total-box-amount {
    font-size: 26px;
    font-weight: 800;
    color: #ff2a00;
    line-height: 1;
}

/* Email Alert Banner Desktop */
.order-email-notification {
    background-color: #edf9f3;
    border: 1px solid #cbf0db;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.email-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #047b3c;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: none;
}

.email-notification-body {
    flex: 1;
}

.email-notify-heading {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 2px;
    line-height: 1.35;
}

.email-notify-text {
    margin: 0;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Mobile Specific Base Styles (Default hidden on desktop)
   -------------------------------------------------------------------------- */
.completed-mobile-nav-bar {
    display: none;
}


/* Stepper 3 Bước */
.completed-stepper-wrap {
    background: transparent;
    padding: 16px 0 10px;
}
.completed-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.completed-stepper .stepper-step {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: default;
}
.completed-stepper .stepper-step .step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff5000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
}
.completed-stepper .stepper-step .step-label {
    font-size: 13px;
    font-weight: 700;
    color: #ff5000;
}
.completed-stepper .stepper-line {
    width: 32px;
    height: 1.5px;
    background: #ff5000;
}

/* Container */
.completed-content-area {
    padding: 0 12px 10px;
}
.completed-container {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* 1. Hero Bag Block */
.completed-hero-card {
    text-align: center;
    padding: 10px 10px 14px;
}
.completed-bag-aura {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 8px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(220, 252, 231, 0.45) 40%, rgba(248, 250, 252, 0) 72%);
    border-radius: 50%;
    width: 190px;
    height: 140px;
}
.completed-bag-img {
    max-width: 170px;
    height: auto;
    display: block;
    animation: bounceInBag 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.completed-title {
    font-size: 23px;
    font-weight: 800;
    color: #047857;
    margin: 0 0 6px;
    line-height: 1.2;
}
.completed-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
    margin: 0 auto;
    max-width: 440px;
}
.completed-desc strong {
    color: #1e293b;
}
.completed-desc .order-code-tag {
    font-weight: 700;
    color: #0f172a;
}

/* Base Cards */
.completed-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #f0f2f5;
    box-shadow: none;
    padding: 14px 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.completed-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.completed-card-head.is-clickable {
    cursor: pointer;
    user-select: none;
    padding-bottom: 4px;
}
.completed-card-head .head-left-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.completed-card-head .card-head-icon {
    font-size: 16px;
    color: #1e293b;
}
.completed-card-head .card-head-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.items-count-muted {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}
.card-chevron-icon {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}
.card-chevron-icon.is-expanded {
    transform: rotate(90deg);
}

/* Card 1: Thông tin đơn hàng Rows */
.order-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    font-size: 12.5px;
}
.order-info-row.row-address {
    align-items: flex-start;
}
.info-row-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    flex-shrink: 0;
}
.info-row-label .row-icon {
    font-size: 13px;
    color: #475569;
    width: 15px;
    text-align: center;
}
.info-row-val {
    color: #1e293b;
    font-weight: 500;
    text-align: right;
    font-size: 12.5px;
}
.info-row-val.val-address {
    line-height: 1.45;
}
.val-address .addr-name {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1px;
}
.val-address .addr-detail {
    color: #475569;
    font-size: 12.5px;
}

/* Card 2: Sản phẩm trong đơn */
.order-items-preview-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0 4px;
}
.order-items-preview-strip::-webkit-scrollbar {
    display: none;
}
.item-preview-box {
    width: 62px;
    height: 62px;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}
.item-preview-box img {
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
    border-radius: 4px;
}
.item-qty-tag {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 2px;
    border-radius: 2px;
}
.item-preview-box.item-more-box {
    background: #f8fafc;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s;
}
.item-preview-box.item-more-box:active {
    background: #f1f5f9;
}
.more-num {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    line-height: 1.1;
}
.more-txt {
    font-size: 9.5px;
    color: #64748b;
    line-height: 1.1;
    margin-top: 1px;
}

/* Expandable Drawer inside Card 2 */
.items-drawer-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 10px 0 12px;
}
.items-drawer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.drawer-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
}
.drawer-item-row:last-child {
    border-bottom: none;
}
.drawer-item-thumb {
    width: 46px;
    height: 46px;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    background: #ffffff;
    padding: 2px;
}
.drawer-item-meta {
    flex: 1;
    min-width: 0;
}
.drawer-item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drawer-item-variant {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 2px;
}
.drawer-item-price-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}
.drawer-qty {
    color: #64748b;
    font-weight: 600;
}

/* Card 3: Tổng thanh toán */
.order-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 13px;
    color: #475569;
}
.order-calc-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 10px 0 12px;
}
.order-final-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2px;
}
.final-label {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
}
.final-price {
    font-size: 21px;
    font-weight: 800;
    color: #ff2d20;
    letter-spacing: -0.3px;
}

/* Card 4: Email Banner */
.completed-email-banner {
    background: #ebf8f0;
    border: 1px solid #d1f4e0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}
.email-badge-icon {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: none;
}
.email-banner-text {
    flex: 1;
}
.email-heading {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #065f46;
    line-height: 1.35;
    margin-bottom: 2px;
}
.email-sub {
    font-size: 11.5px;
    color: #047857;
    margin: 0;
    line-height: 1.35;
}

/* Action Links Grid (2 Buttons) */
.completed-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}
.btn-action-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    min-width: 0;
}
.btn-action-card:hover {
    transform: translateY(-1px);
    box-shadow: none;
}
.action-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #1e293b;
    flex-shrink: 0;
}
.action-text-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.action-heading {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    white-space: nowrap;
}
.action-sub {
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
}

/* Primary CTA */
.completed-bottom-cta {
    width: 100%;
    margin-bottom: 16px;
}
.btn-primary-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: #ff5000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 0.15s ease, transform 0.1s ease;
    box-sizing: border-box;
}
.btn-primary-continue:hover {
    background-color: #e04600;
    color: #ffffff;
}
.btn-primary-continue:active {
    transform: scale(0.98);
}

/* Order Completed Mobile Responsive Overrides */
@media (max-width: 768px) {
    .order-completed-desktop-view {
        display: none !important;
    }
    .order-completed-mobile-view {
        display: block !important;
    }
    .order-completed-page-wrapper {
        background-color: #f8fafc !important;
        min-height: auto !important;
        padding-bottom: 6px !important;
    }
    .completed-breadcrumbs-bar {
        display: none !important;
    }
    .completed-mobile-nav-bar {
        display: block !important;
        padding-top: 10px;
        background-color: #f8fafc;
    }
    .completed-mobile-nav-bar .container {
        padding: 0 6px !important;
        max-width: 520px;
        margin: 0 auto;
    }
    .completed-mobile-nav-bar .mob-nav-header {
        margin-bottom: 6px !important;
    }
    .completed-stepper-wrap {
        padding: 4px 0 8px !important;
    }
    .completed-stepper {
        gap: 6px;
    }
    .completed-stepper .stepper-step {
        gap: 5px;
    }
    .completed-stepper .stepper-step .step-num {
        width: 22px;
        height: 22px;
        font-size: 11.5px;
    }
    .completed-stepper .stepper-step .step-label {
        font-size: 13px;
    }
    .completed-stepper .stepper-line {
        width: 32px;
    }
}


/* ==========================================================================
   Shipping & Returns Policy Page Styles (Chính sách giao hàng & đổi trả)
   ========================================================================== */
.policy-page-wrapper {
    background-color: #ffffff;
    min-height: 70vh;
}

/* Breadcrumbs */
.policy-breadcrumb-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
}

.policy-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
}

.policy-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.policy-breadcrumbs a:hover {
    color: #ff5000;
}

.policy-breadcrumbs .bc-sep {
    color: #cbd5e1;
    font-size: 12px;
}

.policy-breadcrumbs .bc-current {
    color: #ff5000;
    font-weight: 500;
}

/* Main Content Area */
.policy-content-area {
    padding: 30px 0 60px;
}

/* 1. Hero Header Section */
.policy-hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.policy-hero-left {
    flex: 1;
    max-width: 580px;
}

.policy-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.policy-hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.policy-hero-right {
    flex-shrink: 0;
}

.policy-banner-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    max-width: 474px;
    box-shadow: none;
}

.policy-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Branded policy heroes: unified Kiboni banner with accessible HTML copy */
.policy-hero-section.policy-hero-branded {
    position: relative;
    isolation: isolate;
    align-items: stretch;
    min-height: clamp(260px, 15.25vw, 312px);
    gap: 0;
    overflow: hidden;
    background: #FFF7F0;
    border: 1px solid #F8D8C5;
    border-radius: 16px;
    box-shadow: none;
}

.policy-hero-branded .policy-hero-left {
    position: relative;
    z-index: 2;
    width: 55%;
    max-width: none;
    min-height: inherit;
    padding: clamp(26px, 2.6vw, 48px) clamp(28px, 3.2vw, 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.policy-hero-branded .policy-hero-right {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.policy-hero-branded .policy-banner-img-wrap {
    width: 100%;
    height: 100%;
    max-width: none;
    display: flex;
    justify-content: flex-end;
    border-radius: 0;
    box-shadow: none;
    background: #FFF7F0;
}

.policy-hero-branded .policy-hero-img {
    width: auto;
    height: 100%;
    max-width: none;
    margin-left: auto;
    object-fit: contain;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.policy-hero-branded .policy-hero-title {
    margin-bottom: 10px;
    font-size: clamp(32px, 2.45vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.policy-hero-branded .policy-hero-subtitle {
    max-width: 650px;
    color: #4B586B;
    font-size: clamp(13px, 0.92vw, 16px);
    line-height: 1.55;
}

.policy-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    color: #E94700;
    font-size: clamp(11px, 0.78vw, 14px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.policy-hero-eyebrow i {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #FF5000;
    border-radius: 8px;
    font-size: 12px;
}

.policy-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.policy-hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    color: #38465A;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 112, 45, 0.16);
    border-radius: 999px;
    font-size: clamp(10px, 0.7vw, 13px);
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.policy-hero-benefits i {
    color: #FF5000;
}

/* 2. Top 4 Feature Cards (Trust Badges) */
.policy-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--box-gap);
    margin-bottom: var(--box-gap);
}

.policy-feature-card {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.policy-feature-card:hover {
    border-color: #ffdacf;
    box-shadow: none;
    transform: translateY(-2px);
}

.feature-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #fff1eb;
    color: #ff5000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.feature-card-content {
    flex: 1;
}

.feature-card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
    line-height: 1.3;
}

.feature-card-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* 3. Main Accordion 6 Cards (2 Columns) */
.policy-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--box-gap);
    margin-bottom: var(--box-gap);
}

.policy-card-item {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 20px 22px;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.policy-card-item:hover {
    border-color: #ffdacf;
    box-shadow: none;
}

.policy-card-item.active {
    border-color: #ff5000;
    box-shadow: none;
}

.policy-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.policy-card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff1eb;
    color: #ff5000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.card-main-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.card-toggle-arrow {
    color: #94a3b8;
    font-size: 13px;
    transition: transform 0.25s ease, color 0.2s;
    flex-shrink: 0;
}

.policy-card-item.active .card-toggle-arrow {
    transform: rotate(180deg);
    color: #ff5000;
}

.card-summary-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

.policy-card-collapse {
    display: none;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.card-detailed-content {
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
}

.policy-detail-list {
    margin: 0;
    padding-left: 18px;
}

.policy-detail-list li {
    margin-bottom: 8px;
}

.policy-detail-list li:last-child {
    margin-bottom: 0;
}

.policy-detail-list li strong {
    color: #0f172a;
}

.text-orange {
    color: #ff5000;
}

/* 4. Bottom Contact CTA Banner */
.policy-cta-banner {
    background: linear-gradient(135deg, #fff8f5 0%, #ffefe8 100%);
    border: 1px solid #ffd8c7;
    border-radius: 14px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-left-box {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cta-headset-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #fff1eb;
    border: 2px solid #ffd8c7;
    color: #ff5000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.cta-heading {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.cta-subheading {
    font-size: 13.5px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

.cta-right-box {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}

.btn-cta-contact {
    background-color: #ff5000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
    transition: background-color 0.2s, transform 0.15s;
}

.btn-cta-contact:hover {
    background-color: #e04700;
    color: #ffffff;
    transform: translateY(-1px);
}

.cta-contact-meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.meta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-icon {
    color: #ff5000;
    font-size: 18px;
}

.meta-info {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 500;
}

.meta-val {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s;
}

.meta-val:hover {
    color: #ff5000;
}

/* Responsive Policy Styles */
@media (max-width: 1024px) {
    .policy-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .policy-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .cta-right-box {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .policy-hero-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .policy-hero-title {
        font-size: 26px;
    }
    .policy-banner-img-wrap {
        max-width: 100%;
    }
    .policy-features-grid {
        grid-template-columns: 1fr;
    }
    .policy-accordion-grid {
        grid-template-columns: 1fr;
    }
    .cta-left-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cta-right-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .cta-contact-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ==========================================================================
   General Page Template Content Styling (WordPress Editor Content)
   ========================================================================== */
.page-entry-content-wrap {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 36px 40px;
    margin-bottom: 32px;
}

.page-entry-article {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.page-entry-article h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.page-entry-article h2:first-child {
    margin-top: 0;
}

.page-entry-article h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 22px 0 12px;
}

.page-entry-article h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 18px 0 10px;
}

.page-entry-article p {
    margin: 0 0 16px;
}

.page-entry-article ul {
    list-style: disc !important;
    margin: 0 0 20px;
    padding-left: 26px;
}

.page-entry-article ul ul {
    list-style: circle !important;
    margin: 6px 0 10px;
    padding-left: 22px;
}

.page-entry-article ol {
    list-style: decimal !important;
    margin: 0 0 20px;
    padding-left: 26px;
}

.page-entry-article ol ol {
    list-style: lower-alpha !important;
    margin: 6px 0 10px;
    padding-left: 22px;
}

.page-entry-article li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.page-entry-article strong {
    color: #0f172a;
}

.page-entry-article a {
    color: #ff5000;
    text-decoration: underline;
    transition: color 0.15s;
}

.page-entry-article a:hover {
    color: #e04700;
}

.page-entry-article blockquote {
    border-left: 4px solid #ff5000;
    background-color: #fff8f5;
    padding: 16px 22px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    color: #475569;
    font-style: italic;
}

.page-entry-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.page-entry-article th,
.page-entry-article td {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.page-entry-article th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #0f172a;
}

.page-entry-article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

@media (max-width: 768px) {
    .page-entry-content-wrap {
        padding: 24px 20px;
    }
    .page-entry-article h2 {
        font-size: 19px;
    }
    .page-entry-article h3 {
        font-size: 16.5px;
    }
}

/* ==========================================================================
   Payment Policy Dedicated Visual Components (Legal & Transparent Standard)
   ========================================================================== */
.payment-steps-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 18px 0 28px;
}

.payment-step-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 16px 18px;
    align-items: flex-start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-step-item:hover {
    border-color: #ffdacf;
    box-shadow: 0 4px 12px rgba(255, 80, 0, 0.06);
}

.payment-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff1eb;
    color: #ff5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    line-height: 1;
    flex-shrink: 0;
}

.payment-step-badge small {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.payment-step-content h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
    line-height: 1.35;
}

.payment-step-content p {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.payment-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 16px 0 28px;
}

.payment-step-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-step-card:hover {
    border-color: #ffdacf;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.payment-step-card .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #fff1eb;
    color: #ff5000;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 8px;
}

.payment-step-card h4 {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
    line-height: 1.35;
}

.payment-step-card p {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.payment-cost-table-wrap {
    overflow-x: auto;
    margin: 16px 0 24px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
}

.payment-cost-table-wrap table {
    width: 100%;
    margin: 0 !important;
    border-collapse: collapse;
    font-size: 13.5px;
}

.payment-cost-table-wrap th {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.payment-cost-table-wrap td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.payment-cost-table-wrap tr:last-child td {
    border-bottom: none;
}

.badge-free {
    display: inline-block;
    padding: 2px 8px;
    background-color: #ecfdf5;
    color: #10b981;
    font-weight: 700;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
}

.payment-alert-box {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 18px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.payment-alert-box i {
    color: #2563eb;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.payment-alert-box p {
    margin: 0 !important;
    font-size: 13.5px;
    color: #1e3a8a;
    line-height: 1.5;
}

.payment-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 24px;
}

.payment-faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
}

.payment-faq-item h4 {
    margin: 0 0 6px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-faq-item h4 i {
    color: #ff5000;
    font-size: 14px;
}

.payment-faq-item p {
    margin: 0 !important;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .payment-steps-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .payment-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .payment-steps-flow {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .payment-step-item {
        grid-template-columns: 44px 1fr;
        gap: 10px;
        padding: 12px 12px;
    }
    .payment-step-badge {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
    .payment-steps-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .payment-step-card {
        padding: 14px 12px;
    }
}

/* ==========================================================================
   Blog Single Post Detail Styles
   ========================================================================== */
.blog-single-page-wrapper {
    background-color: #ffffff;
    min-height: 70vh;
}

.blog-breadcrumb-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
}

.blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
    flex-wrap: wrap;
}

.blog-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.blog-breadcrumbs a:hover {
    color: #ff5000;
}

.blog-breadcrumbs .sep {
    color: #cbd5e1;
    font-size: 12px;
}

.blog-breadcrumbs .cat-name {
    color: #64748b;
}

.blog-breadcrumbs .current {
    color: #334155;
    font-weight: 500;
}

/* ==========================================================================
   BOXMART BLOG DETAIL 3-COLUMN REDESIGN (Matches media_1788594716382.jpg)
   ========================================================================== */
.blog-detail-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Breadcrumb Bar */
.blog-detail-breadcrumb-bar {
    padding: 16px 0 14px;
    border-bottom: 1px solid #f3f4f6;
    background-color: #ffffff;
}

.blog-detail-breadcrumbs {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.blog-detail-breadcrumbs a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.15s;
}

.blog-detail-breadcrumbs a:hover {
    color: #ff5000;
}

.blog-detail-breadcrumbs .sep {
    margin: 0 8px;
    color: #9ca3af;
    font-size: 11px;
}

.blog-detail-breadcrumbs .current {
    color: #111827;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 480px;
}

/* Page Wrapper */
.blog-detail-page-wrapper {
    background-color: #ffffff;
    padding: 24px 0 60px;
}

/* 3-Column Top Layout */
.blog-detail-3col-layout {
    display: flex;
    align-items: stretch;
    gap: var(--box-gap);
}

/* LEFT COLUMN: Sticky Share (Compact Social Capsule) */
.blog-sticky-left-col {
    width: 48px;
    flex-shrink: 0;
    position: relative;
}

.blog-sticky-left-inner {
    position: sticky;
    top: 24px;
    will-change: transform;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.25s ease, background-color 0.25s ease, padding 0.25s ease;
}

.blog-sticky-left-inner.is-floating {
    padding: 10px 5px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: none;
}

.blog-share-widget {
    margin-bottom: 0;
    text-align: center;
}

.blog-share-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-align: center;
}

.blog-share-icons-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.share-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.share-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
    opacity: 0.92;
}

.btn-share-fb {
    background-color: #1877f2;
    color: #ffffff;
}

.btn-share-zalo {
    background-color: #0084ff;
    color: #ffffff;
}

.zalo-letter {
    font-size: 13px;
    font-weight: 900;
    font-family: inherit;
    line-height: 1;
}

.btn-share-pin {
    background-color: #e60023;
    color: #ffffff;
}

.btn-share-copy,
.btn-share-more {
    background-color: #f3f4f6;
    color: #4b5563;
}

.btn-share-copy:hover,
.btn-share-more:hover {
    background-color: #e5e7eb;
    color: #111827;
}

/* TOC Widget */
.blog-toc-widget {
    padding-top: 10px;
}

.blog-toc-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.blog-toc-list {
    list-style: none;
    padding: 0 0 0 12px;
    margin: 0;
    position: relative;
    border-left: 2px solid #f3f4f6;
}

.toc-item {
    margin-bottom: 16px;
    position: relative;
}

.toc-item:last-child {
    margin-bottom: 0;
}

.toc-item a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.45;
    transition: color 0.15s;
}

.toc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d1d5db;
    margin-left: -16px;
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toc-text {
    flex: 1;
}

.toc-item:hover a,
.toc-item.active a {
    color: #ff5000;
    font-weight: 600;
}

.toc-item.active .toc-dot {
    background-color: #ff5000;
    box-shadow: none;
    transform: scale(1.25);
}

/* CENTER COLUMN: Article Main Content */
.blog-main-center-col {
    flex: 1;
    min-width: 0;
}

/* Article Header */
.blog-article-header {
    margin-bottom: 20px;
}

.blog-article-h1 {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.blog-article-subhead {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Meta Bar (Đóng khung hiện đại trên Desktop) */
.blog-article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #F8F9FA;
    border: 1px solid #EBECEF;
    border-radius: 12px;
    padding: 10px 18px;
    margin-bottom: 22px;
    box-sizing: border-box;
}

.meta-left-cluster {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.meta-author-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-meta-thumb {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.author-meta-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.author-meta-text .author-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1D1D1F;
    line-height: 1.25;
}

.author-meta-text .author-role {
    font-size: 11.5px;
    color: #86868B;
    line-height: 1.2;
}

.meta-cluster-divider {
    width: 1px;
    height: 22px;
    background-color: #E2E4E8;
    flex-shrink: 0;
}

.meta-details-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6E6E73;
}

.meta-details-group .meta-sep {
    color: #D1D1D6;
    font-size: 10px;
    user-select: none;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.meta-item i {
    font-size: 11.5px;
    color: #86868B;
}

.btn-bookmark-article {
    background: #FFFFFF;
    border: 1px solid #FF6422;
    color: #FF6422;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(255, 100, 34, 0.08);
    flex-shrink: 0;
}

.btn-bookmark-article:hover {
    background-color: #FF6422;
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(255, 100, 34, 0.25);
}

.btn-bookmark-article.saved {
    background-color: #FF6422;
    color: #FFFFFF;
}

/* Hero Fridge Banner */
.blog-hero-fridge-banner {
    margin-bottom: 22px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article Body */
.blog-article-body-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: #374151;
}

.blog-body-intro {
    font-size: 14.5px;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 22px;
}

/* Quick Summary Box */
.blog-quick-summary-box {
    background-color: #fff8f3;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 26px;
}

.summary-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.summary-bulb-icon {
    font-size: 16px;
    color: #ea580c;
}

.summary-box-title {
    font-size: 14px;
    font-weight: 700;
    color: #ea580c;
}

.summary-checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.summary-checklist-items li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.5;
}

.check-orange {
    color: #ea580c;
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Section Common */
.blog-content-section {
    margin-bottom: 26px;
}

.section-title-with-num {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    line-height: 1.35;
}

.num-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #ff5000;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.blog-content-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 14px;
}

/* Section 2 Principles Checklist */
.blog-principles-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-principles-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.55;
}

.blog-principles-checklist li strong {
    color: #111827;
}

/* Section 3 Food Category Tabs */
.food-category-tabs-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.food-tab-pill {
    border: none;
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.food-tab-pill:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.food-tab-pill.active {
    background-color: #ff5000;
    color: #ffffff;
    box-shadow: none;
}

/* Food Tab Content Card */
.food-tab-content-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    background-color: #ffffff;
    margin-bottom: 12px;
}

.tab-card-image-wrap {
    width: 140px;
    height: 85px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.tab-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tab-card-info-wrap {
    flex: 1;
    min-width: 0;
}

.tab-card-category-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px;
}

.tab-card-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tab-card-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.45;
}

/* Food Gallery Thumbs Row */
.food-gallery-thumbs-row {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.gallery-thumb-item {
    flex: 1;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s;
}

.gallery-thumb-item:hover,
.gallery-thumb-item.active {
    border-color: #ff5000;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-with-more .thumb-more-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
}

.thumb-more-overlay .more-sub {
    font-size: 10px;
    font-weight: 500;
}

/* Centered Quote */
.blog-centered-quote {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    margin: 22px 0 26px;
}

.blog-centered-quote .quote-text {
    font-size: 14px;
    font-style: italic;
    color: #6b7280;
    margin: 0;
}

/* RIGHT COLUMN: Sidebar */
.blog-sidebar-right-col {
    width: 320px;
    flex-shrink: 0;
    position: relative;
}

.blog-sidebar-sticky-wrap {
    position: sticky;
    top: 24px;
    will-change: transform;
    transform: translateZ(0);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-sidebar-sticky-wrap::-webkit-scrollbar {
    display: none;
}

.blog-widget-box {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Widget 1: Reading Progress */
.widget-reading-progress {
    background-color: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.widget-reading-progress.is-floating {
    border-color: #fed7aa;
    box-shadow: none;
}

.progress-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.reading-hint-text {
    font-size: 11.5px;
    color: #9ca3af;
}

.reading-fraction-num {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
}

.reading-article-title-trunc {
    font-size: 12.5px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.reading-progress-track {
    height: 5px;
    background-color: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 6px;
}

.reading-progress-indicator {
    height: 100%;
    background-color: #ff5000;
    border-radius: 999px;
    transition: width 0.1s linear;
}

.reading-percent-text {
    text-align: right;
    font-size: 11px;
    color: #9ca3af;
}

/* Widget 2: Table of Contents (Nội dung bài viết) */
.widget-toc-box {
    background-color: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.widget-toc-box .widget-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.widget-toc-box .blog-toc-list {
    list-style: none;
    padding: 0 0 0 14px;
    margin: 0;
    position: relative;
    border-left: 2px solid #f3f4f6;
}

.widget-toc-box .toc-item {
    margin-bottom: 11px;
    position: relative;
}

.widget-toc-box .toc-item:last-child {
    margin-bottom: 0;
}

.widget-toc-box .toc-item a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: #4b5563;
    font-size: 12.5px;
    line-height: 1.45;
    transition: color 0.15s ease;
}

.widget-toc-box .toc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d1d5db;
    margin-left: -18px;
    margin-right: 12px;
    margin-top: 5px;
    flex-shrink: 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.widget-toc-box .toc-text {
    flex: 1;
}

.widget-toc-box .toc-item:hover a,
.widget-toc-box .toc-item.active a {
    color: #ff5000;
    font-weight: 600;
}

.widget-toc-box .toc-item.active .toc-dot {
    background-color: #ff5000;
    box-shadow: none;
    transform: scale(1.25);
}

/* Widget 3: Trending Posts */
.widget-trending-posts .widget-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.widget-trending-posts .widget-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.text-fire {
    color: #ea580c;
}

.widget-trending-posts .widget-link-all {
    font-size: 12px;
    color: #ff5000;
    font-weight: 600;
    text-decoration: none;
}

.trending-items-list {
    display: flex;
    flex-direction: column;
}

.trending-post-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f9fafb;
    text-decoration: none;
}

.trending-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-item-thumb {
    width: 66px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.trending-item-info {
    flex: 1;
    min-width: 0;
}

.trending-item-title {
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

.trending-post-item:hover .trending-item-title {
    color: #ff5000;
}

.trending-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: #9ca3af;
}

.trending-item-meta .meta-views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Widget 3: Newsletter Box (Compact) */
.widget-newsletter-box {
    background-color: #fff7ed;
    border-color: #ffedd5;
    text-align: left;
    padding: 12px 14px;
}

.newsletter-header-compact {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
}

.newsletter-header-compact i {
    font-size: 14px;
    color: #ea580c;
    flex-shrink: 0;
}

.newsletter-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.newsletter-card-desc {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.35;
    margin: 0 0 8px;
}

.newsletter-subscribe-form {
    margin: 0;
}

.newsletter-form-row-compact {
    display: flex;
    gap: 6px;
    align-items: center;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 7px 10px;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    font-size: 12px;
    background-color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

.newsletter-input:focus {
    border-color: #f97316;
}

.newsletter-submit-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    background-color: #ff5000;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s;
}

.newsletter-submit-btn:hover {
    background-color: #e04700;
}

/* BOTTOM FULL-WIDTH SECTIONS */
.blog-detail-bottom-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

/* 1. Author Bio Card */
.blog-author-bio-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.author-bio-avatar-col {
    flex-shrink: 0;
}

.author-bio-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-content-col {
    flex: 1;
    min-width: 0;
}

.author-bio-label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
    display: block;
}

.author-bio-fullname {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin: 1px 0;
}

.author-bio-work {
    font-size: 11.5px;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}

.author-bio-description {
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

.author-bio-actions-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.btn-author-more-posts {
    border: 1px solid #ff5000;
    color: #ff5000;
    background: transparent;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-author-more-posts:hover {
    background-color: #fff5f0;
}

.author-share-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-group-title {
    font-size: 11.5px;
    color: #6b7280;
}

.share-group-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-group-icons .share-icon-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

/* 2. Related Tags Row */
.blog-detail-tags-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
}

.tags-row-label {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.tags-row-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-pill-item {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: default;
    user-select: none;
    display: inline-block;
}

.mob-detail-tags-bar {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #F2F2F7;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mob-detail-tags-bar .tags-row-label {
    font-size: 13px;
    font-weight: 700;
    color: #1D1D1F;
}

/* 3. Related Posts Grid */
.blog-related-posts-section {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.related-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.related-section-title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-section-link {
    font-size: 12.5px;
    color: #ff5000;
    font-weight: 600;
    text-decoration: none;
}

.related-posts-grid-4col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.related-post-card {
    border: 1px solid #f3f4f6;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    gap: 10px;
    padding: 10px;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: none;
}

.related-post-card:hover {
    border-color: #fed7aa;
    transform: translateY(-2px);
    box-shadow: none;
}

.related-card-thumb {
    width: 78px;
    height: 66px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-card-content {
    flex: 1;
    min-width: 0;
}

.related-card-title {
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

.related-post-card:hover .related-card-title {
    color: #ff5000;
}

.related-card-meta {
    font-size: 10.5px;
    color: #9ca3af;
    display: flex;
    justify-content: space-between;
}

.related-card-meta .meta-views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* 4. Comments Bar */
.blog-detail-comments-bar {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #ffffff;
}

.comments-bar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    flex-shrink: 0;
}

.comments-bar-form {
    display: flex;
    flex: 1;
    gap: 12px;
    align-items: center;
}

.comments-bar-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #1f2937;
    outline: none;
}

.comments-bar-btn {
    background-color: #ff5000;
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s;
}

.comments-bar-btn:hover {
    background-color: #e04700;
}

/* Toast */
.blog-detail-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #111827;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: none;
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.blog-detail-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-detail-3col-layout {
        gap: 16px;
    }
    .blog-sticky-left-col {
        display: none;
    }
    .blog-sidebar-right-col {
        width: 250px;
    }
    .related-posts-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-detail-3col-layout {
        flex-direction: column;
    }
    .blog-sidebar-right-col {
        width: 100%;
    }
    .blog-sidebar-sticky-wrap {
        position: static;
    }
    .blog-article-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .blog-author-bio-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .author-bio-actions-col {
        align-items: flex-start;
        width: 100%;
    }
    .related-posts-grid-4col {
        grid-template-columns: 1fr;
    }
    .blog-detail-comments-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .comments-bar-form {
        flex-direction: column;
    }
    .food-tab-content-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .tab-card-image-wrap {
        width: 100%;
        height: 140px;
    }
}

/* ==========================================================================
   BOXMART BLOG PORTAL PAGE (page-blog.php)
   ========================================================================== */
.blog-portal-wrapper {
    background-color: var(--bg-canvas, #F5F5F7);
    padding-bottom: 0;
}

.blog-nav-bar-row {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 16px;
}

/* Breadcrumb */
.blog-portal-breadcrumb-bar {
    padding: 16px 0 14px;
}

.blog-portal-breadcrumbs {
    font-size: 13.5px;
    color: #4b5563;
    display: flex;
    align-items: center;
}

.blog-portal-breadcrumbs a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.15s;
}

.blog-portal-breadcrumbs a:hover {
    color: #ff5000;
}

.blog-portal-breadcrumbs .sep {
    margin: 0 8px;
    color: #9ca3af;
}

.blog-portal-breadcrumbs .current {
    color: #111827;
    font-weight: 600;
}

/* 2. Hero Banner Card */
.blog-hero-section {
    margin-bottom: 24px;
}

.blog-hero-card {
    background: #F8ECE0;
    border: 1px solid #F8D8C5;
    border-radius: 16px;
    display: flex;
    align-items: stretch;
    min-height: clamp(260px, 15.25vw, 312px);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    box-shadow: none;
}

.blog-hero-left {
    position: relative;
    z-index: 2;
    width: 55%;
    max-width: 580px;
    min-height: inherit;
    padding: clamp(26px, 2.6vw, 48px) clamp(28px, 3.2vw, 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, #F8ECE0 0%, #F8ECE0 45%, rgba(248, 236, 224, 0.88) 72%, rgba(248, 236, 224, 0) 100%);
}

.blog-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.blog-hero-tag .tag-dash {
    width: 20px;
    height: 3px;
    background-color: #ff5000;
    border-radius: 2px;
}

.blog-hero-tag .tag-text {
    font-size: 11.5px;
    font-weight: 800;
    color: #ff5000;
    letter-spacing: 0.8px;
}

.blog-hero-title {
    font-size: clamp(32px, 2.45vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin: 0 0 12px;
    letter-spacing: -0.03em;
}

.blog-hero-title .text-orange {
    color: #ff5000 !important;
}

.blog-hero-subtitle {
    font-size: clamp(13px, 0.92vw, 15px);
    line-height: 1.6;
    color: #475569;
    margin: 0;
    max-width: 520px;
}

.blog-hero-right {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    background: #F8ECE0;
}

.blog-hero-graphic {
    width: auto;
    height: 100%;
    max-width: none;
    margin-left: auto;
    object-fit: contain;
    object-position: right center;
    display: block;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

/* 3. Category Filter Tabs & Search Bar */
.blog-nav-bar-section {
    margin-bottom: 28px;
}

.blog-nav-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.blog-filter-tabs {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
}

.blog-filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-tab-btn:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    color: #ff5000;
}

.filter-tab-btn.active {
    background-color: #ff5000;
    color: #ffffff;
    border-color: #ff5000;
    box-shadow: none;
}

.filter-tab-btn.active i {
    color: #ffffff;
}

.filter-tab-btn i {
    font-size: 11px;
    color: #64748b;
    transition: color 0.18s ease;
}

.filter-tab-btn:hover i {
    color: #ff5000;
}

.blog-quick-search-box {
    flex-shrink: 0;
    width: 165px;
}

.quick-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.quick-search-input-wrap .search-icon {
    position: absolute;
    left: 10px;
    font-size: 11.5px;
    color: #94a3b8;
    pointer-events: none;
}

#blog-quick-search-input {
    width: 100%;
    padding: 6px 10px 6px 28px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#blog-quick-search-input:focus {
    border-color: #ff5000;
    box-shadow: none;
}

/* 4. Main 2-Column Grid Layout */
.blog-layout-grid {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: var(--box-gap);
    align-items: start;
}

/* Left Column */
.blog-main-col {
    min-width: 0;
}

.blog-section-block {
    margin-bottom: 32px;
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 16px;
}

.blog-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.blog-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.blog-section-title .sec-bar {
    width: 4px;
    height: 18px;
    background-color: #ff5000;
    border-radius: 2px;
    display: inline-block;
}

.blog-section-see-all {
    font-size: 12.5px;
    font-weight: 600;
    color: #ff5000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.15s ease;
}

.blog-section-see-all:hover {
    transform: translateX(3px);
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--box-gap);
}

/* Post Card Item */
.blog-card-item {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card-item:hover {
    transform: translateY(-3px);
    box-shadow: none;
    border-color: #e2e8f0;
}

.card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 188 / 105;
    overflow: hidden;
    background-color: #f8fafc;
}

.card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-card-item:hover .card-thumb-img {
    transform: scale(1.05);
}

.card-cat-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 2.5px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    color: #ea580c;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: none;
    pointer-events: none;
}

.card-cat-badge i {
    font-size: 9.5px;
}

.card-body-wrap {
    padding: 10px 10px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
}

.card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.card-title a:hover {
    color: #ff5000;
}

.card-excerpt {
    font-size: 11px;
    line-height: 1.45;
    color: #64748b;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.card-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 7px;
    border-top: 1px solid #f8fafc;
    font-size: 10.5px;
    gap: 4px;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #334155;
    font-size: 10.5px;
    min-width: 0;
}

.card-author-avatar {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.card-author-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-date {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-date i {
    font-size: 9px;
}

/* Pagination */
.blog-pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 16px 0 10px;
}

.blog-pagination-wrap .dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-pagination-wrap .dot.active {
    width: 22px;
    background-color: #ff5000;
}

/* Empty Search state */
.blog-search-empty {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8fafc;
    border-radius: 12px;
    color: #64748b;
}

.blog-search-empty i {
    font-size: 32px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.blog-search-empty p {
    font-size: 14.5px;
    margin: 0 0 16px;
}

.btn-reset-blog-filter {
    padding: 8px 18px;
    background-color: #ff5000;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* RIGHT COLUMN: Sidebar Widgets */
.blog-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-sidebar-widget {
    background-color: #ffffff;
    border-radius: 12px;
}

.sidebar-widget-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
}

/* Widget 1: Search Form */
.widget-search-box {
    border: 1px solid #f1f5f9;
    padding: 16px;
}

.sidebar-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sb-search-icon {
    position: absolute;
    left: 10px;
    font-size: 12px;
    color: #94a3b8;
    pointer-events: none;
}

.sb-search-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px 8px 30px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12.5px;
    outline: none;
    transition: border-color 0.2s;
}

.sb-search-input:focus {
    border-color: #ff5000;
}

.sb-search-btn {
    padding: 8px 14px;
    background-color: #ff5000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.sb-search-btn:hover {
    opacity: 0.9;
}

/* Widget 2: Popular Posts */
.widget-popular-posts {
    border: 1px solid #f1f5f9;
    padding: 16px;
}

.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.popular-post-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pop-thumb-link {
    flex-shrink: 0;
    width: 54px;
    height: 41px;
    border-radius: 6px;
    overflow: hidden;
}

.pop-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pop-content-wrap {
    flex: 1;
    min-width: 0;
}

.pop-title {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pop-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s;
}

.pop-title a:hover {
    color: #ff5000;
}

.pop-date {
    font-size: 11px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pop-date i {
    font-size: 10px;
}

/* Widget 3: Newsletter Box */
.widget-newsletter-box {
    background: linear-gradient(135deg, #fffaf5 0%, #fff2ea 100%);
    border: 1px solid #fed7c3;
    padding: 16px;
    border-radius: 12px;
}

.newsletter-header-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.newsletter-envelope-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: #ff5000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.newsletter-title-group {
    flex: 1;
}

.newsletter-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #ea580c;
    margin: 0 0 3px;
}

.newsletter-subtitle {
    font-size: 11.5px;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
}

.newsletter-form-row {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.newsletter-email-input {
    flex: 1;
    min-width: 0;
    padding: 7px 10px;
    border-radius: 6px;
    border: 1px solid #fdba74;
    font-size: 12px;
    background: #ffffff;
    outline: none;
}

.newsletter-email-input:focus {
    border-color: #ff5000;
}

.newsletter-submit-btn {
    padding: 7px 12px;
    background-color: #ff5000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.newsletter-submit-btn:hover {
    opacity: 0.9;
}

.newsletter-consent-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #718096;
    cursor: pointer;
}

.newsletter-chk {
    accent-color: #ff5000;
}

/* Widget 4: Promo Banner Card */
.widget-promo-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.promo-card-link {
    display: block;
    position: relative;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.promo-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.25s ease;
}

.promo-card-copy {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 55%;
    padding: 15px 0 14px 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.promo-card-eyebrow {
    margin-bottom: 5px;
    color: #E94700;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.promo-card-title {
    color: #1E293B;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.promo-card-cta {
    min-height: 25px;
    margin-top: 9px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #FF5000;
    box-shadow: none;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
}

.promo-card-cta i {
    margin-left: 3px;
    font-size: 8px;
}

.widget-promo-card:hover .promo-card-img {
    transform: scale(1.02);
}

/* Responsive Blog Portal */
@media (max-width: 1024px) {
    .blog-layout-grid {
        grid-template-columns: 1fr;
    }
    .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-sidebar-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop Blog View Default */
.blog-mobile-view {
    display: none;
}
.blog-desktop-view {
    display: block;
}

@media (max-width: 768px) {
    /* Hide Desktop Blog View, Show Mobile Blog View */
    .blog-desktop-view {
        display: none !important;
    }
    .blog-mobile-view {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--box-gap);
        background-color: var(--bg-canvas, #F5F5F7);
        padding: 10px 0 0;
    }

    /* Hide duplicate newsletter card in mobile footer on blog page */
    body.page-template-page-blog .mf-newsletter-card {
        display: none !important;
    }

    /* Mobile Blog Container & Spacing System (6px gutters & gaps) */
    .blog-mob-container {
        padding: 0 6px !important;
        width: 100%;
        box-sizing: border-box;
    }
    .blog-mob-hero-section,
    .blog-mob-pills-section,
    .blog-mob-featured-section,
    .blog-mob-cat-section,
    .blog-mob-trending-section,
    .blog-mob-topics-section,
    .blog-mob-newsletter-section {
        margin-bottom: 0 !important;
    }

    /* 1. Mobile Hero Banner Card (Đồng bộ với Desktop & Branded Hero) */
    .blog-mob-hero-card {
        position: relative;
        height: 144px;
        border-radius: 14px;
        overflow: hidden;
        background: #F8ECE0;
        border: 1px solid #F8D8C5;
        box-shadow: none;
        display: flex;
        align-items: stretch;
        isolation: isolate;
        margin: 0;
    }

    .blog-mob-hero-img-wrap {
        position: absolute;
        inset: 0;
        z-index: 1;
        display: flex;
        justify-content: flex-end;
        overflow: hidden;
        background: #F8ECE0;
    }

    .blog-mob-hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 75% center;
        display: block;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 15%, #000 45%, #000 100%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 15%, #000 45%, #000 100%);
    }

    .blog-mob-hero-copy {
        position: absolute;
        inset: 0 auto 0 0;
        z-index: 2;
        width: 58%;
        padding: 12px 13px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: linear-gradient(90deg, #F8ECE0 0%, #F8ECE0 55%, rgba(248, 236, 224, 0.88) 80%, rgba(248, 236, 224, 0) 100%);
        box-sizing: border-box;
    }

    .blog-mob-hero-tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 4px;
    }

    .blog-mob-hero-tag .tag-dash {
        width: 14px;
        height: 2.5px;
        background-color: #ff5000;
        border-radius: 2px;
    }

    .blog-mob-hero-tag .tag-text {
        font-size: 8px;
        font-weight: 800;
        color: #ff5000;
        letter-spacing: 0.5px;
    }

    .blog-mob-hero-title {
        font-size: 16px;
        font-weight: 800;
        line-height: 1.18;
        color: #0f172a;
        margin: 0 0 4px;
        letter-spacing: -0.03em;
    }

    .blog-mob-hero-title .text-orange {
        color: #ff5000 !important;
    }

    .blog-mob-hero-subtitle {
        font-size: 9px;
        line-height: 1.35;
        color: #475569;
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    /* 2. Mobile Sub-category Filter Pills */
    .blog-mob-pills-scroll {
        display: flex;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 0;
    }
    .blog-mob-pills-scroll::-webkit-scrollbar {
        display: none;
    }
    .blog-mob-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        background-color: #FFFFFF;
        color: #334155;
        border: 1px solid #E2E8F0;
        white-space: nowrap;
        flex-shrink: 0;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .blog-mob-pill i {
        font-size: 11px;
        color: #64748B;
        transition: color 0.2s;
    }
    .blog-mob-pill.active {
        background-color: #FF5000 !important;
        color: #FFFFFF !important;
        border-color: #FF5000 !important;
        box-shadow: none;
    }
    .blog-mob-pill.active i {
        color: #FFFFFF !important;
    }

    /* 3. Mobile Featured Articles Grid (1 Large + 2 Small Stacked) */
    .blog-mob-featured-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: var(--box-gap);
        align-items: stretch;
    }
    /* Large Card (Left) */
    .blog-mob-feat-large-card {
        background: #FFFFFF;
        border-radius: 12px;
        border: 1px solid #F1F5F9;
        overflow: hidden;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .feat-large-thumb-wrap {
        position: relative;
        width: 100%;
        line-height: 0;
    }
    .feat-large-img {
        width: 100%;
        height: auto;
        aspect-ratio: 310 / 180;
        object-fit: cover;
        display: block;
    }
    .feat-large-body {
        padding: 9px 9px 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
    }
    .feat-large-title {
        font-size: 12.5px;
        font-weight: 700;
        line-height: 1.35;
        color: #0F172A;
        margin: 0 0 5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .feat-large-title a {
        color: #0F172A;
        text-decoration: none;
    }
    .feat-large-title a:hover {
        color: #FF5000;
    }
    .feat-large-excerpt {
        font-size: 10.5px;
        line-height: 1.4;
        color: #64748B;
        margin: 0 0 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .feat-large-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: auto;
        padding-top: 5px;
        border-top: 1px solid #F8FAFC;
    }
    .feat-author {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .feat-author-avatar {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        object-fit: cover;
    }
    .feat-author-name {
        font-size: 10.5px;
        font-weight: 600;
        color: #1E293B;
    }
    .feat-date {
        font-size: 9.5px;
        color: #94A3B8;
        display: flex;
        align-items: center;
        gap: 3px;
    }

    /* Small Cards Stack (Right) */
    .blog-mob-feat-stack {
        display: flex;
        flex-direction: column;
        gap: var(--box-gap);
        justify-content: space-between;
    }
    .blog-mob-feat-small-card {
        background: #FFFFFF;
        border-radius: 12px;
        border: 1px solid #F1F5F9;
        overflow: hidden;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
    }
    .feat-small-thumb-wrap {
        position: relative;
        width: 100%;
        line-height: 0;
    }
    .feat-small-img {
        width: 100%;
        height: auto;
        aspect-ratio: 176 / 90;
        object-fit: cover;
        display: block;
    }
    .feat-small-body {
        padding: 7px 8px 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
    }
    .feat-small-title {
        font-size: 11px;
        font-weight: 700;
        line-height: 1.35;
        color: #0F172A;
        margin: 0 0 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .feat-small-title a {
        color: #0F172A;
        text-decoration: none;
    }
    .feat-small-title a:hover {
        color: #FF5000;
    }
    .feat-small-date {
        font-size: 9.5px;
        color: #94A3B8;
        display: flex;
        align-items: center;
        gap: 3px;
        margin-top: auto;
    }

    /* Mobile Section Head (Bài viết mới nhất) */
    .blog-mob-section-head {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        padding: 0 2px;
    }
    .blog-mob-section-head .blog-section-title {
        font-size: 15px;
        font-weight: 800;
        color: #0F172A;
        gap: 7px;
        margin: 0;
        display: flex;
        align-items: center;
    }
    .blog-mob-section-head .sec-bar {
        width: 3.5px;
        height: 15px;
        background-color: #FF5000;
        border-radius: 2px;
        display: inline-block;
    }

    /* 4. Mobile Category Sections (4 Khung cho 4 Tag) */
    .blog-mob-cat-box .blog-section-head {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        padding: 0;
    }
    .blog-mob-cat-box .blog-section-title {
        font-size: 14.5px;
        font-weight: 800;
        color: #0F172A;
        gap: 7px;
        margin: 0;
        display: flex;
        align-items: center;
    }
    .blog-mob-cat-box .sec-bar {
        width: 3.5px;
        height: 15px;
        background-color: #FF5000;
        border-radius: 2px;
        display: inline-block;
    }
    .blog-mob-cat-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .mob-cat-card {
        background: #FFFFFF;
        border: 1px solid #F1F5F9;
        border-radius: 10px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .mob-cat-thumb-wrap {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 10;
        overflow: hidden;
        background: #F8FAFC;
        line-height: 0;
    }
    .mob-cat-thumb-link {
        display: block;
        width: 100%;
        height: 100%;
    }
    .mob-cat-thumb-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .mob-cat-body {
        padding: 7px 7px 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
    }
    .mob-cat-title {
        font-size: 11.5px;
        font-weight: 700;
        line-height: 1.35;
        color: #0F172A;
        margin: 0 0 5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .mob-cat-title a {
        color: #0F172A;
        text-decoration: none;
    }
    .mob-cat-title a:hover {
        color: #FF5000;
    }
    .mob-cat-meta {
        display: flex;
        align-items: center;
        font-size: 9.5px;
        color: #94A3B8;
        margin-top: auto;
    }
    .mob-cat-date {
        display: flex;
        align-items: center;
        gap: 3px;
    }

    /* 5. Trending Section (Bài viết được quan tâm) */
    .blog-mob-card-box {
        background: #FFFFFF;
        border-radius: 12px;
        border: 1px solid #F1F5F9;
        padding: 12px 12px 10px;
        box-shadow: none;
    }
    .blog-mob-box-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 6px;
    }
    .head-left {
        display: flex;
        align-items: center;
        gap: 7px;
    }
    .head-icon-orange {
        color: #FF5000;
        font-size: 14px;
    }
    .head-title {
        font-size: 14px;
        font-weight: 700;
        color: #0F172A;
        margin: 0;
    }
    .head-see-all {
        color: #FF5000;
        font-size: 11.5px;
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .blog-mob-trending-list {
        display: flex;
        flex-direction: column;
    }
    .mob-trending-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 0;
        border-bottom: 1px solid #F8FAFC;
    }
    .mob-trending-item:last-child {
        border-bottom: none;
        padding-bottom: 2px;
    }
    .trend-rank {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        flex-shrink: 0;
    }
    .trend-rank.rank-1 {
        background: #FFDFC6;
        color: #E64A19;
    }
    .trend-rank.rank-2 {
        background: #FF6B00;
        color: #FFFFFF;
    }
    .trend-rank.rank-3 {
        background: #FFA770;
        color: #FFFFFF;
    }
    .trend-thumb-link {
        line-height: 0;
        flex-shrink: 0;
    }
    .trend-thumb-img {
        width: 63px;
        height: 46px;
        border-radius: 8px;
        object-fit: cover;
        display: block;
    }
    .trend-content {
        flex: 1;
        min-width: 0;
    }
    .trend-item-title {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
        color: #0F172A;
        margin: 0 0 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .trend-item-title a {
        color: #0F172A;
        text-decoration: none;
    }
    .trend-item-title a:hover {
        color: #FF5000;
    }
    .trend-item-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 10.5px;
        color: #94A3B8;
    }
    .meta-date, .meta-views {
        display: flex;
        align-items: center;
        gap: 3px;
    }

    /* 5. Topics Section (Khám phá theo chủ đề) */
    .blog-mob-section-head-plain {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
        padding: 0 2px;
    }
    .blog-mob-topics-scroll {
        display: flex;
        align-items: stretch;
        gap: var(--box-gap);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
    }
    .blog-mob-topics-scroll::-webkit-scrollbar {
        display: none;
    }
    .mob-topic-card {
        background: #FFF8F4;
        border: 1px solid #FFE4D6;
        border-radius: 12px;
        padding: 8px 8px 8px 8px;
        display: flex;
        align-items: center;
        gap: 8px;
        width: 156px;
        min-width: 156px;
        max-width: 156px;
        flex-shrink: 0;
        text-decoration: none;
        position: relative;
        scroll-snap-align: start;
        transition: transform 0.15s, border-color 0.15s;
        box-sizing: border-box;
    }
    .mob-topic-card:hover {
        border-color: #FFB38A;
        transform: translateY(-1px);
    }
    .topic-thumb-img {
        width: 52px;
        height: 52px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
        display: block;
    }
    .topic-text-wrap {
        flex: 1;
        min-width: 0;
        padding-right: 14px;
    }
    .topic-title {
        font-size: 11.5px;
        font-weight: 700;
        color: #0F172A;
        margin: 0 0 2px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .topic-sub {
        font-size: 9px;
        color: #64748B;
        margin: 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .topic-arrow-circle {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #FFFFFF;
        border: 1px solid #FFD8C2;
        color: #FF5000;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 8px;
        position: absolute;
        right: 6px;
        bottom: 6px;
        box-shadow: none;
    }

    /* 6. Newsletter Card (Compact matching Desktop) */
    .blog-mob-newsletter-card {
        background: linear-gradient(135deg, #fffaf5 0%, #fff2ea 100%);
        border: 1px solid #fed7c3;
        border-radius: 12px;
        padding: 14px 14px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
}

/* Toast notification hidden by default */
.blog-copy-toast {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: none;
}

/* ==========================================================================
   CONTACT PAGE (LIÊN HỆ BOXMART.VN)
   ========================================================================== */
.contact-page-wrapper {
    background-color: var(--bg-canvas, #F5F5F7);
    padding-bottom: 0;
}

/* Breadcrumb */
.contact-breadcrumb-section {
    padding: 14px 0 10px;
    padding-bottom: 0px;
}

.contact-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748B;
}

.contact-bc-link {
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.contact-bc-link:hover {
    color: #FF5000;
}

.contact-bc-sep {
    font-size: 9px;
    color: #94A3B8;
}

.contact-bc-current {
    color: #1E293B;
    font-weight: 600;
}

/* 1. Hero Banner */
.contact-hero-section {
    margin-bottom: 20px;
}

.contact-hero-card {
    width: 100%;
    position: relative;
    isolation: isolate;
    border-radius: 16px;
    overflow: hidden;
    min-height: clamp(260px, 15.25vw, 312px);
    box-shadow: none;
    background-color: #FFF5EC;
    border: 1px solid #F8D8C5;
}

.contact-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 249, 244, 0) 45%, rgba(255, 249, 244, 0.08) 57%, rgba(255, 249, 244, 0) 72%);
}

.contact-hero-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 43%;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 52%;
    min-height: clamp(260px, 15.25vw, 312px);
    padding: clamp(26px, 2.6vw, 48px) clamp(28px, 3.2vw, 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #1E293B;
}

.contact-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    color: #E94700;
    font-size: clamp(11px, 0.78vw, 14px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-hero-eyebrow i {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #FF5000;
    border-radius: 8px;
    font-size: 12px;
}

.contact-hero-title {
    margin: 0;
    color: #182033;
    font-size: clamp(30px, 2.45vw, 48px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.contact-hero-title strong {
    color: #FF5000;
    font-weight: 800;
}

.contact-hero-lead {
    margin: 10px 0 0;
    color: #344155;
    font-size: clamp(14px, 1.05vw, 19px);
    line-height: 1.45;
    font-weight: 650;
}

.contact-hero-copy {
    max-width: 660px;
    margin: 5px 0 0;
    color: #64748B;
    font-size: clamp(12px, 0.84vw, 15px);
    line-height: 1.5;
}

.contact-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.contact-hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    color: #38465A;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 112, 45, 0.16);
    border-radius: 999px;
    box-shadow: none;
    font-size: clamp(10px, 0.7vw, 13px);
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.contact-hero-benefits i {
    color: #FF5000;
}

/* 2. 4 Channels Grid */
.contact-channels-section {
    margin-bottom: 24px;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--box-gap);
}

.contact-channel-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: none;
}

.contact-channel-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border-color: #CBD5E1;
}

.channel-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.channel-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.channel-icon-circle.icon-hotline {
    background-color: #FF5000;
    color: #FFFFFF;
}

.channel-icon-circle.icon-zalo {
    background-color: #0068FF;
    color: #FFFFFF;
}

.zalo-text-badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.channel-icon-circle.icon-messenger {
    background: linear-gradient(135deg, #00B2FE 0%, #006AFF 50%, #9B00E8 100%);
    color: #FFFFFF;
    font-size: 20px;
}

.channel-icon-circle.icon-email {
    background-color: #FF5000;
    color: #FFFFFF;
    font-size: 17px;
}

.channel-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.channel-label {
    font-size: 12px;
    color: #64748B;
    font-weight: 500;
    line-height: 1.2;
}

.channel-val {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.channel-title-main {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}

.channel-val-dark {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-sub {
    font-size: 11px;
    color: #94A3B8;
    margin-top: 1px;
    line-height: 1.2;
}

.channel-card-arrow {
    color: #FF5000;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.contact-channel-card:hover .channel-card-arrow {
    transform: translateX(3px);
}

/* 3. Main 2-Column Grid */
.contact-main-grid-section {
    margin-bottom: 20px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--box-gap);
    align-items: stretch;
}

.contact-card-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 30px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-sec-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FF5000;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-sec-title {
    font-size: 22px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
}

.contact-sec-desc {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 22px;
    line-height: 1.5;
}

/* Form Styles */
.contact-alert-box {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.contact-alert-box.success {
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.contact-alert-box.error {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.contact-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.message-group {
    margin-bottom: 22px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
}

.required-star {
    color: #EF4444;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13.5px;
    color: #1E293B;
    background-color: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: inherit;
}

.form-control::placeholder {
    color: #94A3B8;
}

.form-control:focus {
    border-color: #FF5000;
    box-shadow: none;
}

.select-wrap {
    position: relative;
    width: 100%;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 36px;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #94A3B8;
    font-size: 11px;
}

.form-textarea {
    height: auto;
    min-height: 115px;
    padding: 12px 14px 26px;
    resize: vertical;
    line-height: 1.5;
}

.char-counter-wrap {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 11px;
    color: #94A3B8;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.85);
    padding: 1px 4px;
    border-radius: 4px;
}

.form-action-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: auto;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #FF5000;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: none;
    flex-shrink: 0;
}

.btn-contact-submit:hover {
    background-color: #E04600;
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-contact-submit:active {
    transform: translateY(0);
}

.contact-response-promise {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748B;
    font-size: 12px;
    line-height: 1.35;
}

.promise-icon {
    font-size: 20px;
    color: #10B981;
    flex-shrink: 0;
}

.promise-text {
    display: flex;
    flex-direction: column;
}

.p-line1 {
    font-weight: 500;
    color: #475569;
}

.p-line2 {
    color: #94A3B8;
    font-size: 11px;
}

/* FAQ Accordion */
.faq-card-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--box-gap);
    margin-bottom: 16px;
}

.contact-faq-item {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-faq-item:hover {
    border-color: #CBD5E1;
}

.contact-faq-item.is-open {
    border-color: #FED7AA;
    box-shadow: none;
}

.faq-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #FFFFFF;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 13.5px;
    font-weight: 600;
    color: #1E293B;
    transition: color 0.2s, background-color 0.2s;
    outline: none;
}

.faq-accordion-header:hover {
    color: #FF5000;
    background-color: #F8FAFC;
}

.contact-faq-item.is-open .faq-title-text {
    color: #FF5000;
}

.faq-chevron-icon {
    font-size: 12px;
    color: #94A3B8;
    transition: transform 0.25s ease, color 0.2s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.contact-faq-item.is-open .faq-chevron-icon {
    transform: rotate(180deg);
    color: #FF5000;
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-body-content {
    padding: 0 16px 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.65;
    border-top: 1px dashed #F1F5F9;
    padding-top: 10px;
}

/* Callout Box */
.faq-not-found-callout {
    background-color: #FFF7ED;
    border: 1px solid #FFEDD5;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: auto;
}

.not-found-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FF5000;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.not-found-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.not-found-title {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
}

.not-found-text {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

.callout-hotline {
    font-weight: 700;
    color: #FF5000;
    text-decoration: none;
}

.callout-hotline:hover {
    text-decoration: underline;
}

.callout-email {
    color: #FF5000;
    text-decoration: underline;
    font-weight: 500;
}

.callout-email:hover {
    color: #E04600;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .contact-card-box {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .contact-hero-section {
        margin-bottom: 16px;
    }
    .contact-hero-card,
    .contact-hero-content {
        min-height: 310px;
    }
    .contact-hero-card {
        border-radius: 14px;
    }
    .contact-hero-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(255, 248, 241, 0.99) 0%, rgba(255, 248, 241, 0.95) 52%, rgba(255, 248, 241, 0.58) 77%, rgba(255, 248, 241, 0.14) 100%);
    }
    .contact-hero-banner-img {
        object-position: 70% center;
    }
    .contact-hero-content {
        width: 78%;
        padding: 24px 20px;
    }
    .contact-hero-eyebrow {
        max-width: 220px;
        margin-bottom: 9px;
        font-size: 10px;
    }
    .contact-hero-eyebrow i {
        width: 25px;
        height: 25px;
    }
    .contact-hero-title {
        font-size: clamp(29px, 9vw, 38px);
    }
    .contact-hero-lead {
        margin-top: 9px;
        font-size: 14px;
        line-height: 1.4;
    }
    .contact-hero-copy {
        max-width: 255px;
        margin-top: 5px;
        font-size: 11.5px;
    }
    .contact-hero-benefits {
        max-width: 250px;
        gap: 6px;
        margin-top: 12px;
    }
    .contact-hero-benefits span {
        padding: 6px 8px;
        font-size: 9.5px;
    }
    .contact-channels-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .form-action-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .btn-contact-submit {
        width: 100%;
    }
    .contact-card-box {
        padding: 20px 16px;
    }
}

/* ==========================================================================
   SHOPEE AFFILIATE BUTTONS & ACTIONS (Trang Chi Tiết Sản Phẩm)
   ========================================================================== */
/* Mode 2: Hybrid Actions (Vừa bán trên web vừa mua Shopee) */
.shopee-hybrid-action-box {
    margin-top: 14px;
    width: 100%;
}

.shopee-hybrid-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.shopee-hybrid-divider::before,
.shopee-hybrid-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed #CBD5E1;
}

.shopee-hybrid-divider span {
    padding: 0 12px;
}

.btn-shopee-hybrid {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background-color: #FFF5F1;
    border: 1.5px solid #EE4D2D;
    color: #EE4D2D;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.btn-shopee-hybrid:hover {
    background-color: #EE4D2D;
    color: #FFFFFF;
    box-shadow: none;
    transform: translateY(-1px);
}

.btn-shopee-hybrid .shopee-btn-icon-bag {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shopee-hybrid-title {
    font-size: 14px;
    font-weight: 700;
}

.shopee-hybrid-tag {
    background-color: #FFE8E0;
    color: #EE4D2D;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 9999px;
    margin-left: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.btn-shopee-hybrid:hover .shopee-hybrid-tag {
    background-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.shopee-hybrid-arrow {
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.btn-shopee-hybrid:hover .shopee-hybrid-arrow {
    transform: translate(2px, -2px);
}

/* Mode 3: Affiliate Only (Chỉ mua trên Shopee) */
.shopee-affiliate-only-box {
    margin: 18px 0;
    width: 100%;
}

.btn-shopee-primary-large {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, #EE4D2D 0%, #FF5722 100%);
    color: #FFFFFF;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-shopee-primary-large:hover {
    background: linear-gradient(135deg, #D73211 0%, #E64A19 100%);
    color: #FFFFFF;
    box-shadow: none;
    transform: translateY(-2px);
}

.btn-shopee-primary-large .shopee-btn-icon-bag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    flex-shrink: 0;
    margin-right: 14px;
}

.shopee-btn-text-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.shopee-cta-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.shopee-cta-sub {
    font-size: 12px;
    opacity: 0.92;
    font-weight: 500;
    margin-top: 3px;
}

.shopee-btn-arrow-icon {
    font-size: 15px;
    margin-left: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-shopee-primary-large:hover .shopee-btn-arrow-icon {
    transform: translate(3px, -3px);
}

.shopee-affiliate-trust-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #475569;
    margin-top: 10px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 8px 14px;
    border-radius: 8px;
}

.shopee-affiliate-trust-bar i {
    font-size: 14px;
}

@media (max-width: 640px) {
    .btn-shopee-hybrid {
        padding: 10px 12px;
        gap: 6px;
    }
    .shopee-hybrid-title {
        font-size: 13px;
        white-space: nowrap;
    }
    .shopee-hybrid-tag {
        font-size: 10px;
        padding: 2px 6px;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .btn-shopee-primary-large {
        padding: 12px 14px;
    }
    .btn-shopee-primary-large .shopee-btn-icon-bag {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }
    .shopee-cta-title {
        font-size: 14.5px;
    }
    .shopee-cta-sub {
        font-size: 11px;
    }
}

/* ==========================================================================
   Shopee Variations & Size Chart Modal
   ========================================================================== */
.size-chart-link-row {
    margin-top: 8px;
}

.btn-size-chart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 500;
    color: #0284C7;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    background: transparent;
    border: none;
    padding: 0;
}

.btn-size-chart-trigger:hover {
    color: #0369A1;
    text-decoration: underline;
}

.btn-size-chart-trigger i {
    font-size: 10px;
    transition: transform 0.15s ease;
}

.btn-size-chart-trigger:hover i {
    transform: translateX(2px);
}

/* Modal Styling */
.boxmart-size-chart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.boxmart-size-chart-modal .size-chart-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.boxmart-size-chart-modal .size-chart-modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow: hidden;
    animation: sizeChartModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sizeChartModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.size-chart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
    background: #FAFAFA;
}

.size-chart-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.size-chart-modal-title i {
    color: #0284C7;
}

.size-chart-modal-close {
    background: #F1F5F9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.size-chart-modal-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.size-chart-modal-body {
    padding: 20px;
    overflow-y: auto;
    text-align: center;
    max-height: calc(90vh - 70px);
}

.size-chart-full-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: none;
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   MOBILE HOMEPAGE & HEADER REDESIGN (MATCHING MOCKUP)
   ========================================================================== */

/* Base Defaults for Desktop */
.mobile-menu-toggle {
    display: none;
}
.mobile-quick-pills-bar {
    display: none;
}
.mobile-drawer,
.mobile-drawer-backdrop,
.mob-search-icon-btn,
.mob-scan-btn {
    display: none;
}

/* Featured Categories Desktop */
.section-featured-categories {
    margin: 0;
    padding: 0;
}

.featured-categories-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 18px 20px 20px;
}

.featured-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F8FAFC;
}

.featured-cat-header .header-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-cat-header .block-icon {
    font-size: 15px;
    color: #FF5000;
}

.featured-cat-title {
    font-size: 14px;
    font-weight: 800;
    color: #1E293B;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

.featured-cat-header .block-subtitle {
    color: #64748B;
    font-size: 12.5px;
    font-weight: 400;
    margin-left: 8px;
}

.cat-link-all {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.cat-link-all:hover {
    color: #FF5000;
}

.featured-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--box-gap);
}

.featured-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 178px;
    padding: 12px 9px 14px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--featured-cat-bg, #FAFAFC);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    box-shadow: none;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.featured-cat-item::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 118px;
    height: 118px;
    top: -42px;
    right: -38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

.featured-cat-health { --featured-cat-bg: linear-gradient(145deg, #F2FAF7 0%, #E1F2EC 100%); }
.featured-cat-home { --featured-cat-bg: linear-gradient(145deg, #FFF9EC 0%, #FDECCB 100%); }
.featured-cat-tech { --featured-cat-bg: linear-gradient(145deg, #F1F7FB 0%, #DDECF5 100%); }
.featured-cat-beauty { --featured-cat-bg: linear-gradient(145deg, #FFF5F2 0%, #F8E2DD 100%); }
.featured-cat-living { --featured-cat-bg: linear-gradient(145deg, #F7F7EE 0%, #E9EAD9 100%); }
.featured-cat-kids { --featured-cat-bg: linear-gradient(145deg, #FFF5F1 0%, #FFE4DA 100%); }

.featured-cat-item:hover {
    border-color: rgba(255, 112, 45, 0.2);
    transform: translateY(-4px);
    box-shadow: none;
}

.cat-card-visual {
    width: 104px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.cat-card-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 8px rgba(30, 41, 59, 0.13));
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-cat-item:hover .cat-card-visual img {
    transform: scale(1.07) rotate(-1deg);
}

.cat-card-name {
    color: #172033;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    letter-spacing: -0.01em;
    transition: color 0.15s;
}

.featured-cat-item:hover .cat-card-name {
    color: #FF5000;
}

.cat-card-count {
    margin-top: 4px;
    color: #718096;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

/* Featured Brands Desktop */
.section-featured-brands {
    padding: 16px 0 24px;
}
.featured-brands-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.featured-brands-title {
    font-size: 17px;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    margin: 0;
}
.brands-link-all {
    font-size: 13px;
    font-weight: 600;
    color: #FF5000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   MOBILE BREAKPOINT (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
    }
    .site-wrapper {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
        padding-top: var(--kiboni-mobile-header-height, 116px);
    }

    /* 1. Hide Topbar & Desktop Navbar to Save Space */
    .topbar {
        display: none !important;
    }
    .main-navbar {
        display: none !important;
    }

    /* 2. Compact Mobile Header - Signature Vivid Orange Gradient (Matches media_1788855713651.png) */
    .main-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: linear-gradient(135deg, #FF5500 0%, #FF3000 100%) !important;
        border-radius: 0 !important;
        padding: 10px 12px 14px !important;
        box-shadow: none;
        box-sizing: border-box !important;
        transform: translateY(0);
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }
    .main-header.is-scroll-hidden {
        transform: translateY(calc(-100% - 2px));
    }
    .main-header .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        padding: 0;
        width: 100%;
    }

    /* Hamburger Menu Button */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        font-size: 22px;
        color: #FFFFFF !important;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
        order: 1;
    }

    /* Logo Center-Left */
    .header-logo {
        order: 2;
        flex: 1;
        margin-left: 8px;
    }
    .brand-logo {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        line-height: 1;
    }
    .main-header .brand-logo .logo-img-desktop,
    .header-logo .logo-img-desktop,
    .logo-img-desktop {
        display: none !important;
    }
    .logo-img-mobile {
        display: block !important;
        height: 34px !important;
        width: auto !important;
        max-width: 130px !important;
        object-fit: contain !important;
    }
    .logo-name {
        font-size: 21px !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
        line-height: 1.1;
        letter-spacing: -0.3px;
    }
    .logo-ext {
        color: #FFFFFF !important;
    }
    .logo-tagline {
        font-size: 10px !important;
        color: rgba(255, 255, 255, 0.92) !important;
        margin-top: 1px;
        line-height: 1.1;
        white-space: nowrap;
        font-weight: 400;
    }

    /* User & Cart Actions (Right) */
    .header-actions {
        order: 3;
        display: flex;
        align-items: center;
        gap: 14px;
        margin-left: auto;
    }
    .header-actions .action-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #FFFFFF !important;
        background: transparent;
        border: none;
        padding: 0;
        position: relative;
        min-width: auto;
    }
    .header-actions .account-btn .icon-wrap,
    .header-actions .tracking-btn .icon-wrap {
        font-size: 20px;
        color: #FFFFFF !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
    }
    .header-actions .account-btn .user-links,
    .header-actions .tracking-btn .action-text {
        display: none !important;
    }
    .header-actions .cart-btn {
        margin-right: 0;
    }
    .header-actions .cart-btn .icon-badge-wrap {
        position: relative;
        font-size: 22px;
        color: #FFFFFF !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
    }
    .header-actions .cart-badge {
        position: absolute;
        top: -5px;
        right: -7px;
        background: #EF4444 !important;
        color: #FFFFFF !important;
        font-size: 10px;
        font-weight: 700;
        min-width: 17px;
        height: 17px;
        border-radius: 9999px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #FFFFFF !important;
        padding: 0 3px;
        box-shadow: none;
    }
    .header-actions .cart-btn .action-text {
        display: none !important;
    }
    .action-divider {
        display: none !important;
    }

    /* 3. Search Bar Row */
    .header-search {
        order: 4;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 10px;
        padding: 0;
    }
    .search-form-wrap {
        height: 42px !important;
        border: none !important;
        border-radius: 9999px !important;
        background: #FFFFFF !important;
        padding: 0 14px !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        box-shadow: none;
        box-sizing: border-box !important;
    }
    .search-cat-dropdown {
        display: none !important;
    }
    .search-divider {
        display: none !important;
    }
    .search-btn {
        display: none !important;
    }
    .search-input-wrap {
        flex: 1;
        min-width: 0;
        display: flex !important;
        align-items: center !important;
        height: 100%;
    }
    .mob-search-icon-btn,
    .search-icon-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0;
        margin-right: 10px;
        color: #0F172A !important;
        font-size: 16px;
        cursor: pointer;
        flex-shrink: 0;
    }
    .search-input {
        flex: 1;
        width: 100%;
        border: none !important;
        background: transparent !important;
        font-size: 13.5px !important;
        color: #0F172A !important;
        outline: none !important;
        padding: 0 !important;
        font-weight: 400;
    }
    .search-input::placeholder {
        color: #94A3B8 !important;
        font-size: 13.5px !important;
    }
    .mob-scan-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0;
        margin-left: 8px;
        color: #0F172A !important;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* 4. Mobile Quick Action Pills Row */
    .mobile-quick-pills-bar {
        display: block !important;
        width: 100%;
        margin-top: 10px;
        padding: 0;
    }
    .mobile-quick-pills-bar .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .quick-pills-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 5px !important;
        width: 100% !important;
    }
    .quick-pill-item {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3.5px !important;
        height: 32px !important;
        padding: 0 7px !important;
        border-radius: 9999px !important;
        font-size: 11px !important;
        letter-spacing: -0.2px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        border: none !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        transition: transform 0.15s, opacity 0.15s !important;
        background: #FFFFFF !important;
        color: #1E293B !important;
        box-shadow: none;
    }
    .quick-pill-item:active {
        transform: scale(0.96);
        opacity: 0.9;
    }
    .quick-pill-item .pill-icon {
        font-size: 11.5px !important;
        display: flex !important;
        align-items: center !important;
        color: #FF5000 !important;
        flex-shrink: 0;
    }
    .quick-pill-item .pill-label {
        color: #1E293B !important;
        font-size: 11px !important;
        letter-spacing: -0.2px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }
    .quick-pill-item.pill-fire,
    .quick-pill-item.pill-tag,
    .quick-pill-item.pill-category,
    .quick-pill-item.pill-blog {
        background: #FFFFFF !important;
        color: #1E293B !important;
    }

    /* 5. Mobile Navigation Drawer & Backdrop */
    .mobile-drawer-backdrop {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.6);
        z-index: 99998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        backdrop-filter: blur(2px);
    }
    .mobile-drawer-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    .mobile-drawer {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 310px;
        max-width: 86vw;
        height: 100vh;
        background: #FFFFFF;
        z-index: 99999;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: none;
    }
    .mobile-drawer.active {
        transform: translateX(0);
    }
    body.drawer-open {
        overflow: hidden;
    }
    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        border-bottom: 1px solid #F1F5F9;
        background: #FAFBFD;
    }
    .drawer-brand {
        display: inline-flex;
        align-items: center;
    }
    .drawer-logo-img {
        display: block;
        height: 38px;
        width: auto;
        max-width: 145px;
        object-fit: contain;
    }
    .drawer-logo-text {
        font-size: 20px;
        font-weight: 800;
        color: #FF4D00;
        line-height: 1.1;
    }
    .drawer-logo-ext {
        color: #FF4D00;
    }
    .drawer-tagline {
        font-size: 9px;
        color: #8C8C8C;
        margin-top: 1px;
    }
    .btn-close-drawer {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: none;
        background: #E2E8F0;
        color: #475569;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.15s;
    }
    .btn-close-drawer:hover {
        background: #CBD5E1;
        color: #0F172A;
    }
    .drawer-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
    }
    .drawer-section {
        margin-bottom: 22px;
    }
    .drawer-section-title {
        font-size: 12px;
        font-weight: 700;
        color: #64748B;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0 0 10px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .drawer-cat-menu,
    .drawer-nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .drawer-cat-menu li,
    .drawer-nav-menu li {
        margin-bottom: 4px;
    }
    .drawer-cat-menu li a,
    .drawer-nav-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 8px;
        text-decoration: none;
        color: #1E293B;
        font-size: 13px;
        font-weight: 500;
        transition: background 0.15s, color 0.15s;
    }
    .drawer-cat-menu li a:hover,
    .drawer-nav-menu li a:hover {
        background: #FFF1E8;
        color: #FF5000;
    }
    .drawer-icon-box {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }
    .drawer-contact-box {
        padding-top: 14px;
        border-top: 1px solid #F1F5F9;
    }
    .drawer-call-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        background: #FFF7ED;
        border: 1px solid #FFEDD5;
        border-radius: 10px;
        text-decoration: none;
        color: #EA580C;
    }
    .drawer-call-btn i {
        font-size: 20px;
        color: #FF5000;
    }
    .call-sub {
        font-size: 10px;
        color: #7C2D12;
        display: block;
    }
    .call-number {
        font-size: 15px;
        font-weight: 800;
        color: #EA580C;
    }

    /* 6. Hero Banner Carousel on Mobile */
    .hero-section {
        padding: 8px 0 0;
    }
    .hero-inner {
        display: block;
        padding: 0 6px;
    }
    .hero-category-sidebar {
        display: none !important;
    }
    .hero-promo-cards {
        display: none !important;
    }
    .hero-center-banner {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 8 / 3;
        touch-action: pan-y;
        border-radius: 12px;
        overflow: hidden;
        background: transparent !important;
        border: none !important;
        box-shadow: none;
    }
    .hero-slide {
        padding: 0 !important;
        min-height: auto !important;
        display: block !important;
        background: transparent !important;
        position: absolute !important;
    }
    .hero-slider-wrap {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 8 / 3;
    }
    .hero-banner-content {
        position: absolute !important;
        inset: 0 auto 0 0 !important;
        z-index: 3 !important;
        width: 58% !important;
        padding: 12px 4px 13px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }
    .hero-banner-content .brand-row {
        margin-bottom: 5px !important;
    }
    .hero-cat-tag {
        min-height: 18px !important;
        padding: 0 8px !important;
        font-size: 7px !important;
        letter-spacing: 0.07em !important;
    }
    .hero-headline {
        font-size: clamp(15px, 4.6vw, 21px) !important;
        gap: 3px !important;
        line-height: 1.16 !important;
        letter-spacing: -0.035em !important;
    }
    .hero-subtext {
        max-width: 200px !important;
        margin-top: 5px !important;
        font-size: 8.5px !important;
        line-height: 1.35 !important;
    }
    .hero-features {
        display: none !important;
    }
    .hero-cta-wrap {
        margin-top: 8px !important;
    }
    .btn-hero-cta {
        min-height: 28px !important;
        padding: 0 11px !important;
        gap: 6px !important;
        font-size: 8px !important;
        box-shadow: none;
    }
    .btn-hero-cta i {
        font-size: 8px !important;
    }
    .hero-banner-image {
        position: static !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }
    .hero-picture {
        display: block;
        width: 100%;
        height: 100%;
    }
    .hero-img-main {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        border-radius: 12px !important;
        display: block !important;
        box-shadow: none;
    }
    .discount-badge-banner,
    .hero-script-tag {
        display: none !important;
    }
    .hero-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        padding: 6px 0 6px;
    }
    .hero-dots .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #CBD5E1;
        transition: all 0.2s;
    }
    .hero-dots .dot.active {
        width: 14px;
        border-radius: 3px;
        background: #FF5000;
    }

    /* 7. Trust Bar Section */
    .trust-bar-section {
        padding: 0 !important;
        margin: 0 !important;
    }
    .trust-bar-section .container {
        padding: 0 6px !important;
    }
    .trust-bar-inner {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2px !important;
        background: #FFFFFF;
        border-radius: 12px;
        padding: 10px 4px;
        border: 1px solid #F1F5F9;
        text-align: center;
    }
    .trust-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 0 2px;
    }
    .trust-item:nth-child(4) {
        display: none !important; /* Hide 4th item (Thanh toán an toàn) so exactly 4 items show matching mockup */
    }
    .trust-item:nth-child(5) {
        display: flex !important;
    }
    .trust-icon {
        font-size: 16px;
        margin-bottom: 2px;
    }
    .trust-title {
        font-size: 8.5px !important;
        font-weight: 800;
        color: #0F172A;
        line-height: 1.15;
        margin: 0;
        text-transform: uppercase;
    }
    .trust-desc {
        font-size: 7.5px !important;
        color: #64748B;
        line-height: 1.1;
        margin: 0;
    }

    /* 8. Deal Hot Section */
    .section-deal-hot {
        padding: 0 !important;
        margin: 0 !important;
    }
    .section-deal-hot .container {
        padding: 0 6px !important;
    }
    .deal-hot-box {
        background: #FFF8F5;
        border-radius: 12px !important;
        padding: 12px 10px !important;
        border: 1px solid #FFEFEA;
    }
    .deal-hot-header-bar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 0 8px !important;
        border-bottom: none !important;
        background: transparent !important;
        gap: 4px;
    }
    .dh-header-left {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .dh-lightning-circle {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #FF4D00;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        flex-shrink: 0;
    }
    .dh-title-box {
        display: flex;
        flex-direction: column;
    }
    .dh-title {
        font-size: 13.5px !important;
        font-weight: 800;
        color: #E03A00;
        line-height: 1.1;
        margin: 0;
    }
    .dh-subtitle {
        font-size: 9px;
        color: #64748B;
        line-height: 1.1;
        margin-top: 1px;
    }
    .dh-header-right {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .cd-timer {
        display: flex;
        align-items: center;
        gap: 2px;
    }
    .cd-box {
        background: #FF4D00;
        color: #FFFFFF;
        font-size: 10px;
        font-weight: 800;
        padding: 2px 4px;
        border-radius: 4px;
        min-width: 19px;
        text-align: center;
        line-height: 1.2;
    }
    .cd-colon {
        color: #FF4D00;
        font-weight: 800;
        font-size: 9px;
    }
    .dh-more-arrow {
        color: #EA580C;
        font-size: 12px;
        padding-left: 2px;
        text-decoration: none;
        display: flex;
        align-items: center;
    }
    .deal-hot-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 6px !important;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .deal-hot-grid::-webkit-scrollbar {
        display: none;
    }
    .deal-hunt-card {
        flex: 0 0 162px !important;
        width: 162px !important;
        max-width: 162px !important;
        background: #FFFFFF;
        border-radius: 16px !important;
        padding: 0 !important;
        overflow: hidden;
        border: 1px solid #F1F5F9;
        box-shadow: none;
        display: flex !important;
        flex-direction: column !important;
        position: relative;
        scroll-snap-align: start;
    }
    .deal-hunt-card .card-badge {
        display: block !important;
        position: absolute;
        top: 6px;
        left: 6px;
        z-index: 2;
        font-size: 9.5px;
        padding: 2px 6px;
        border-radius: 6px;
    }
    .deal-hunt-card .card-wishlist-btn {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
        font-size: 12px;
    }
    .deal-hunt-card .card-feature-tags {
        bottom: 16px;
        right: 5px;
        gap: 2px;
        z-index: 3;
    }
    .deal-hunt-card .card-tag-pill {
        font-size: 7.5px;
        padding: 1.5px 4.5px;
        gap: 2px;
    }
    .deal-hunt-card .card-tag-pill i {
        font-size: 7px;
    }
    .deal-hunt-card .product-thumb {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 0;
        overflow: hidden;
        margin-bottom: 0;
        background: #F8FAFC;
    }
    .deal-hunt-card .product-thumb a {
        display: block;
        width: 100%;
        height: 100%;
    }
    .deal-hunt-card .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .deal-hunt-card .product-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 6px 7px 6px !important;
        margin-top: -12px !important;
        border-radius: 14px 14px 0 0 !important;
        position: relative !important;
        z-index: 2 !important;
        background: #FFFFFF !important;
    }
    .deal-hunt-card .product-title {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
        height: auto;
        min-height: 31.2px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin: 0 0 6px !important;
        color: #1E293B;
    }
    .deal-hunt-card .product-title a {
        color: #1E293B;
        text-decoration: none;
    }
    .deal-hunt-card .product-subtitle {
        display: none !important;
    }
    .deal-hunt-card .product-rating {
        font-size: 9px;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        gap: 2px;
    }
    .deal-hunt-card .star-rating {
        font-weight: 700;
        color: #1E293B;
    }
    .deal-hunt-card .star-rating i {
        color: #F59E0B;
    }
    .deal-hunt-card .review-count {
        color: #94A3B8;
        font-size: 8.5px;
    }
    .deal-hunt-card .product-price-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        gap: 4px;
    }
    .deal-hunt-card .product-price-box {
        display: flex;
        flex-direction: column;
    }
    .deal-hunt-card .price-now {
        font-size: 12.5px;
        font-weight: 800;
        color: #FF5000;
        line-height: 1;
    }
    .deal-hunt-card .price-was {
        font-size: 9px;
        color: #94A3B8;
        text-decoration: line-through;
        margin-top: 1px;
    }
    .deal-hunt-card .btn-card-cart {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 12px;
    }

    /* 9. Featured Categories on Mobile (Card-Based & Harmonized) */
    .section-featured-categories {
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
    }
    .section-featured-categories .container {
        padding: 0 6px !important;
        overflow: hidden;
    }
    .featured-categories-card {
        background: #FFFFFF !important;
        border-radius: 12px !important;
        border: 1px solid #F1F5F9 !important;
        padding: 12px 10px 10px !important;
        box-sizing: border-box;
    }
    .featured-cat-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }
    .featured-cat-header .header-title-group {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .featured-cat-header .block-icon {
        font-size: 13px !important;
        color: #FF5000 !important;
    }
    .featured-cat-title {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        text-transform: uppercase !important;
        margin: 0 !important;
    }
    .featured-cat-header .block-subtitle {
        display: none !important;
    }
    .cat-link-all {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #FF5000 !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 2px !important;
    }
    .featured-cat-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px !important;
        padding: 2px 0 !important;
        width: 100%;
        box-sizing: border-box;
    }
    .featured-cat-grid::-webkit-scrollbar {
        display: none;
    }
    .featured-cat-item {
        flex: 0 0 86px !important;
        width: 86px !important;
        min-width: 86px !important;
        min-height: 104px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-decoration: none !important;
        text-align: center !important;
        gap: 4px !important;
        padding: 7px 5px 8px !important;
        background: var(--featured-cat-bg, #FAFAFC) !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
        border-radius: 12px !important;
        scroll-snap-align: start;
        box-shadow: none;
        transform: none !important;
    }
    .featured-cat-item::after {
        width: 62px;
        height: 62px;
        top: -24px;
        right: -22px;
    }
    .cat-card-visual {
        width: 64px !important;
        height: 64px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0 !important;
    }
    .cat-card-name {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #334155 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }
    .cat-card-count {
        display: none !important;
    }

    /* 10. Products Sections on Mobile (Aligned to Deal Hot) */
    .products-section:not(.section-deal-hot) {
        padding: 0 !important;
        margin: 0 !important;
    }
    .products-section:not(.section-deal-hot) .container,
    .bottom-categories-section .container {
        padding: 0 6px !important;
    }
    .products-section:not(.section-deal-hot) .products-block-container {
        background: #FFFFFF;
        border-radius: 12px !important;
        padding: 12px 10px !important;
        border: 1px solid #F1F5F9;
    }
    .products-section:not(.section-deal-hot) .block-header {
        margin-bottom: 10px;
        padding: 0 2px;
    }
    .products-section:not(.section-deal-hot) .block-title {
        font-size: 13.5px;
        font-weight: 800;
        color: #0F172A;
    }
    .products-section:not(.section-deal-hot) .products-grid-6,
    .bestseller-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .products-section:not(.section-deal-hot) .product-card {
        border-radius: 16px;
        border: 1px solid #F1F5F9;
        padding: 0 !important;
        overflow: hidden;
        box-shadow: none;
    }
    .products-section:not(.section-deal-hot) .product-thumb {
        border-radius: 0 !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        display: block !important;
        overflow: hidden !important;
    }
    .products-section:not(.section-deal-hot) .product-thumb a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }
    .products-section:not(.section-deal-hot) .product-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    .products-section:not(.section-deal-hot) .product-body {
        padding: 6px 7px 6px !important;
        margin-top: -12px !important;
        border-radius: 14px 14px 0 0 !important;
        position: relative !important;
        z-index: 2 !important;
        background: #FFFFFF !important;
    }
    .products-section:not(.section-deal-hot) .card-wishlist-btn {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
        font-size: 12px;
    }
    .products-section:not(.section-deal-hot) .card-badge {
        top: 6px;
        left: 6px;
        font-size: 9.5px;
        padding: 2px 6px;
        border-radius: 6px;
    }
    .products-section:not(.section-deal-hot) .card-feature-tags {
        bottom: 16px;
        right: 5px;
        gap: 2px;
        z-index: 3;
    }
    .products-section:not(.section-deal-hot) .card-tag-pill {
        font-size: 7.5px;
        padding: 1.5px 4.5px;
        gap: 2px;
    }
    .products-section:not(.section-deal-hot) .card-tag-pill i {
        font-size: 7px;
    }
    .products-section:not(.section-deal-hot) .product-title {
        font-size: 12px;
        line-height: 1.3;
        min-height: 29px;
        margin: 0 0 6px !important;
    }
    .products-section:not(.section-deal-hot) .product-subtitle {
        display: none !important;
    }
    .products-section:not(.section-deal-hot) .product-rating {
        font-size: 9px;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding: 0 !important;
    }
    .products-section:not(.section-deal-hot) .product-price-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        gap: 4px;
    }
    .products-section:not(.section-deal-hot) .price-now {
        font-size: 13px;
    }
    .products-section:not(.section-deal-hot) .price-was {
        font-size: 9.5px;
    }
    .products-section:not(.section-deal-hot) .btn-card-cart {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 12px;
    }
    .bottom-categories-section {
        padding: 0;
        margin: 0;
    }
    .cat-banners-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .cat-banner-card {
        border-radius: 14px;
        padding: 10px 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        min-height: 86px;
    }
    .cat-banner-card .banner-text {
        min-width: 0;
        flex: 1;
        gap: 2px;
        max-width: calc(100% - 54px);
    }
    .cat-banner-card .banner-kicker {
        font-size: 6px;
        line-height: 1.15;
        letter-spacing: 0.06em;
    }
    .cat-banner-card .banner-title {
        font-size: 11.5px;
        font-weight: 700;
        line-height: 1.25;
        color: #1E293B;
    }
    .cat-banner-card .banner-sub {
        font-size: 9px;
        color: #64748B;
        line-height: 1.2;
    }
    .cat-banner-card .btn-banner-pill {
        font-size: 9px;
        font-weight: 600;
        padding: 2.5px 8px;
        border-radius: 9999px;
        margin-top: 4px;
        display: inline-flex;
        width: fit-content;
    }
    .cat-banner-card .banner-image {
        width: 58px;
        height: 52px;
        min-width: 50px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cat-banner-card .banner-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* ==========================================================================
       11. MOBILE FOOTER (MATCHING MOCKUP DESIGN)
       ========================================================================== */
    .desktop-footer-only {
        display: none !important;
    }
    .site-footer {
        margin-top: 0 !important;
        padding-top: 0 !important;
        background-color: transparent !important;
    }
    .mobile-footer-only {
        display: block !important;
        background-color: #FFFFFF !important;
        padding: 10px 0 28px !important;
    }
    .mobile-footer-inner {
        padding: 0 10px !important;
    }

    /* 1. Newsletter Card */
    .mf-newsletter-card {
        background: linear-gradient(145deg, #FFFDFC 0%, #FFF7F2 100%);
        border: 1px solid #F3E7DE;
        border-radius: 14px;
        padding: 13px 13px 11px;
        position: relative;
        overflow: hidden;
        margin-bottom: 6px;
        box-shadow: none;
    }
    .mf-nl-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 9px;
        position: relative;
    }
    .mf-nl-text {
        max-width: calc(100% - 64px);
        position: relative;
        z-index: 2;
    }
    .mf-nl-title {
        font-size: 15.5px;
        font-weight: 800;
        color: #111827;
        line-height: 1.25;
        margin: 0 0 3px;
        letter-spacing: -0.2px;
    }
    .mf-nl-desc {
        font-size: 11.5px;
        color: #64748B;
        line-height: 1.4;
        margin: 0;
        max-width: 255px;
    }
    .mf-nl-art {
        position: absolute;
        right: -5px;
        top: -8px;
        width: 76px;
        z-index: 1;
        pointer-events: none;
        opacity: 0.9;
    }
    .mf-nl-plane-img {
        width: 100%;
        height: auto;
        display: block;
    }
    .mf-nl-form {
        display: flex;
        align-items: center;
        gap: 7px;
        position: relative;
        z-index: 2;
    }
    .mf-nl-input-wrap {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 9px;
        padding: 0 10px;
        height: 38px;
        gap: 7px;
    }
    .mf-nl-icon {
        color: #64748B;
        font-size: 14px;
        flex-shrink: 0;
    }
    .mf-nl-input {
        border: none;
        outline: none;
        background: transparent;
        width: 100%;
        font-size: 12px;
        color: #1E293B;
        padding: 0;
    }
    .mf-nl-input::placeholder {
        color: #94A3B8;
    }
    .mf-nl-btn {
        background: #FF5000;
        color: #FFFFFF;
        border: none;
        border-radius: 9px;
        font-weight: 700;
        font-size: 12.5px;
        padding: 0 13px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        white-space: nowrap;
        flex-shrink: 0;
        box-shadow: none;
        transition: background 0.15s;
    }
    .mf-nl-btn:active {
        background: #E03A00;
    }
    .mf-nl-security {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 10px;
        color: #64748B;
        margin-top: 7px;
        position: relative;
        z-index: 2;
        line-height: 1.3;
    }
    .mf-nl-security i {
        font-size: 10px;
        color: #94A3B8;
    }

    /* 2. Brand & Contact Row (2 Columns) */
    .mf-brand-contact-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 20px;
    }
    .mf-brand-col {
        flex: 1.18;
        min-width: 0;
    }
    .mf-brand-head {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }
    .mf-logo-img {
        display: block;
        height: 38px;
        width: auto;
        max-width: 140px;
        object-fit: contain;
    }
    .mf-bag-icon {
        width: 36px;
        height: 36px;
        object-fit: contain;
        flex-shrink: 0;
    }
    .mf-brand-title-wrap {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }
    .mf-brand-name {
        font-size: 17px;
        font-weight: 800;
        color: #1E293B;
        letter-spacing: -0.3px;
        line-height: 1.1;
    }
    .mf-brand-name .text-orange {
        color: #FF5000;
    }
    .mf-brand-slogan {
        font-size: 9.5px;
        color: #64748B;
        margin-top: 2px;
        white-space: nowrap;
    }
    .mf-brand-bullet-lines {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    .mf-bullet-line {
        font-size: 12.5px;
        color: #475569;
        line-height: 1.5;
        margin: 0;
    }

    /* Right Contact Column */
    .mf-contact-col {
        flex: 1;
        min-width: 0;
    }
    .mf-col-heading {
        font-size: 13px;
        font-weight: 700;
        color: #1E293B;
        margin: 0 0 9px;
        line-height: 1.2;
    }
    .mf-contact-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 7px;
    }
    .mf-contact-icon-box {
        width: 26px;
        height: 26px;
        border-radius: 7px;
        background: #FF5000;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        flex-shrink: 0;
    }
    .mf-contact-detail {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }
    .mf-hotline-num {
        font-size: 14px;
        font-weight: 700;
        color: #FF5000;
        text-decoration: none;
        line-height: 1.2;
    }
    .mf-hotline-time {
        font-size: 9.5px;
        color: #64748B;
        margin-top: 1px;
    }
    .mf-mail-address {
        font-size: 11.5px;
        font-weight: 500;
        color: #334155;
        text-decoration: none;
        word-break: break-all;
    }
    .mf-social-heading {
        margin-top: 12px;
        margin-bottom: 8px;
    }
    .mf-social-icons {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .mf-social-link {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #F1F5F9;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1E293B;
        text-decoration: none;
        font-size: 12px;
        transition: background 0.15s, color 0.15s;
    }
    .mf-social-link:hover {
        background: #FFEBE0;
        color: #FF5000;
    }
    .mf-link-zalo {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: -0.2px;
    }

    /* 3. Divider */
    .mf-divider-line {
        height: 1px;
        background: #F1F5F9;
        margin: 16px 0 18px;
    }

    /* 4. Navigation Links Grid (2 Columns side-by-side) */
    .mf-links-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }
    .mf-links-group {
        display: flex;
        flex-direction: column;
    }
    .mf-group-title {
        font-size: 13.5px;
        font-weight: 700;
        color: #1E293B;
        margin: 0 0 8px;
    }
    .mf-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    .mf-nav-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 0;
        text-decoration: none;
        color: #475569;
        font-size: 13px;
        transition: color 0.15s;
    }
    .mf-nav-item i {
        font-size: 10px;
        color: #94A3B8;
    }
    .mf-nav-item:hover {
        color: #FF5000;
    }

    /* 5. Bottom row */
    .mf-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 11px;
        color: #64748B;
        padding-top: 14px;
        border-top: 1px solid #F1F5F9;
    }
    .mf-copyright {
        font-size: 11px;
        color: #64748B;
    }
    .mf-locale-picker {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 11.5px;
        color: #334155;
        cursor: pointer;
    }
    .mf-flag {
        font-size: 13px;
        line-height: 1;
    }
    .mf-locale-picker i {
        font-size: 10px;
        color: #64748B;
    }

    /* ==========================================================================
       12. MOBILE PRODUCT DETAIL (MATCHING MOCKUP DESIGN 100%)
       ========================================================================== */
    
    /* Hide desktop topbar and desktop breadcrumbs on mobile product detail */
    body.single-product .topbar,
    body.page-template-page-product-detail .topbar,
    .product-detail-page .pdetail-breadcrumb,
    .desktop-only-actions {
        display: none !important;
    }

    /* Page container adjustments */
    .product-detail-page {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
        background-color: var(--bg-canvas, #F5F5F7) !important;
    }
    .product-detail-page .container {
        padding: 0 6px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. Mobile Sub-Topbar (Back Arrow + Breadcrumb + Wishlist + Share) */
    .pdetail-mobile-topbar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        height: 40px;
        padding: 0 12px;
        background: #FFFFFF !important;
        position: relative !important;
        top: auto !important;
        z-index: 10;
        border: 1px solid #F1F5F9 !important;
        border-radius: 10px !important;
        margin-bottom: 10px !important;
        box-shadow: none;
        box-sizing: border-box !important;
    }
    .mob-topbar-left {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }
    .mob-btn-back {
        color: #1E293B;
        font-size: 18px;
        display: flex;
        align-items: center;
        text-decoration: none;
        flex-shrink: 0;
    }
    .mob-breadcrumb {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13.5px;
        font-weight: 500;
        color: #64748B;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mob-breadcrumb a {
        color: #64748B;
        text-decoration: none;
    }
    .mob-bc-sep {
        font-size: 10px;
        color: #94A3B8;
    }
    .mob-topbar-right {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-shrink: 0;
    }
    .mob-topbar-action {
        background: none;
        border: none;
        color: #334155;
        font-size: 19px;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 2. Main Showcase Card */
    .pdetail-main-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none;
        padding: 0 !important;
        margin: 0 0 12px 0 !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }
    .pdetail-gallery {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 10px !important;
        background: #FFFFFF !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .gallery-main-view {
        order: 1 !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        aspect-ratio: 1 / 1 !important;
        min-height: unset !important;
        height: auto !important;
        background: #F8FAFC !important;
        border: none !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .gallery-main-view img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .pdetail-img-counter {
        display: block !important;
        position: absolute !important;
        bottom: 12px !important;
        right: 12px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        color: #FFFFFF !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        padding: 3px 9px !important;
        border-radius: 12px !important;
        backdrop-filter: blur(2px) !important;
        letter-spacing: 0.5px !important;
        z-index: 10 !important;
    }

    /* Thumbnails Row */
    .gallery-thumbs-wrap {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .gallery-thumbs-wrap .thumb-nav-btn {
        display: none !important;
    }
    .gallery-thumbs-col {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding: 0 12px 6px !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .gallery-thumbs-col::-webkit-scrollbar {
        display: none;
    }
    .gallery-thumbs-col .thumb-btn {
        flex: 0 0 54px !important;
        width: 54px !important;
        height: 54px !important;
        border-radius: 8px !important;
        border: 1.5px solid #E2E8F0 !important;
        padding: 2px !important;
        background: #FFFFFF;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
    }
    .gallery-thumbs-col .thumb-btn img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
    }
    .gallery-thumbs-col .thumb-btn.active {
        border-color: #FF5000 !important;
    }

    /* 3. Product Info Block (White Card) */
    .pdetail-info {
        background: #FFFFFF !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 12px !important;
        padding: 14px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .pdetail-badge-wrap {
        margin-bottom: 6px;
    }
    .badge-bestseller {
        background: #FF5000 !important;
        color: #FFFFFF !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        padding: 3px 8px !important;
        border-radius: 4px !important;
        display: inline-block;
        line-height: 1.2;
    }
    .pdetail-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #0F172A !important;
        line-height: 1.35 !important;
        margin: 0 0 8px !important;
    }

    /* Rating & Sold Row */
    .pdetail-rating-row {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
        flex-wrap: wrap;
    }
    /* No real rating/sales yet: wishlist+share are already mobile-hidden (.desktop-only-actions),
       so the row is fully empty here — collapse it instead of leaving a dead gap. */
    .pdetail-rating-row.rating-row-empty {
        display: none !important;
        margin-bottom: 0 !important;
    }
    .rating-left {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
    }
    .stars-group {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        color: #FFB800;
        font-size: 12.5px;
    }
    .rating-score {
        font-weight: 700;
        color: #0F172A;
        font-size: 13px;
        margin-left: 2px;
    }
    .rating-reviews {
        color: #64748B;
        font-size: 12px;
    }
    .rating-divider {
        color: #CBD5E1;
        margin: 0 4px;
    }
    .sales-count {
        color: #64748B;
        font-size: 12px;
    }
    .sales-count strong {
        color: #0F172A;
    }

    /* Brand / SKU / Stock */
    .pdetail-meta-row {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: 11.5px !important;
        color: #64748B !important;
        border-bottom: 1px dashed #E2E8F0 !important;
        padding-bottom: 8px !important;
        margin-bottom: 10px !important;
    }
    .pdetail-meta-row strong {
        color: #0F172A;
    }
    .meta-sep {
        color: #CBD5E1 !important;
    }
    .stock-status.text-green {
        color: #10B981 !important;
        font-weight: 600;
    }

    /* 4. Flash Sale Bar */
    .pdetail-flashsale-bar {
        background: linear-gradient(90deg, #FF4500 0%, #FF6A00 100%) !important;
        border-radius: 8px !important;
        padding: 8px 10px !important;
        margin: 0 0 10px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .fs-left {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .fs-bolt {
        color: #FFFFFF !important;
        font-size: 13px !important;
    }
    .fs-title {
        color: #FFFFFF !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        letter-spacing: 0.2px;
        white-space: nowrap !important;
    }
    .fs-sub {
        background: rgba(0, 0, 0, 0.16) !important;
        color: #FFFFFF !important;
        font-size: 9.5px !important;
        padding: 2px 6px !important;
        border-radius: 10px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
    }
    .fs-right {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }
    .fs-label {
        color: #FFFFFF !important;
        font-size: 10.5px !important;
        font-weight: 500;
        margin-right: 2px;
        white-space: nowrap !important;
    }
    .fs-countdown {
        display: flex;
        align-items: center;
        gap: 3px;
    }
    .fs-box {
        background: #FFFFFF !important;
        color: #FF4500 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        border-radius: 4px !important;
        padding: 2px 4px !important;
        min-width: 18px;
        text-align: center;
        box-shadow: none;
    }
    .fs-colon {
        color: #FFFFFF !important;
        font-weight: 700 !important;
        font-size: 11px !important;
    }

    /* 5. Price Row */
    .pdetail-price-row {
        display: flex !important;
        align-items: baseline !important;
        gap: 8px !important;
        margin: 0 0 10px 0 !important;
    }
    .pdetail-price-row .price-current {
        font-size: 26px !important;
        font-weight: 800 !important;
        color: #FF5000 !important;
        line-height: 1 !important;
    }
    .pdetail-price-row .price-original {
        font-size: 14px !important;
        color: #94A3B8 !important;
        text-decoration: line-through !important;
    }
    .pdetail-price-row .discount-badge {
        background: #EF4444 !important;
        color: #FFFFFF !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
    }

    /* 6. Option Groups */
    .pdetail-option-group {
        display: flex !important;
        align-items: center !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        gap: 8px !important;
    }
    .pdetail-option-group .option-label {
        width: 68px !important;
        min-width: 68px !important;
        font-size: 13px !important;
        color: #64748B !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }
    .options-list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        align-items: center !important;
    }
    .opt-btn {
        border: 1px solid #E2E8F0 !important;
        border-radius: 6px !important;
        padding: 5px 12px !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        color: #1E293B !important;
        background: #FFFFFF !important;
        cursor: pointer;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        transition: border-color 0.15s, color 0.15s;
    }
    .opt-btn.active {
        border-color: #FF5000 !important;
        color: #FF5000 !important;
        font-weight: 600 !important;
        background: #FFFFFF !important;
    }
    .opt-btn.opt-color img {
        display: none !important;
    }
    .group-sizes .opt-btn {
        min-width: 36px;
        justify-content: center;
        padding: 5px 10px !important;
    }
    .group-quantity {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }
    .quantity-control-wrap {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .quantity-stepper {
        display: inline-flex !important;
        align-items: center !important;
        border: 1px solid #CBD5E1 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        height: 28px !important;
    }
    .btn-qty-minus,
    .btn-qty-plus {
        width: 28px !important;
        height: 28px !important;
        background: #F8FAFC !important;
        border: none !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer;
    }
    .qty-input {
        width: 38px !important;
        height: 28px !important;
        border: none !important;
        border-left: 1px solid #CBD5E1 !important;
        border-right: 1px solid #CBD5E1 !important;
        text-align: center !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #0F172A !important;
        background: #FFFFFF !important;
        padding: 0 !important;
    }
    .stock-note {
        font-size: 12px !important;
        color: #64748B !important;
    }

    /* 6. Inline Action Buttons on Mobile (Thêm vào giỏ & Mua ngay) */
    .pdetail-action-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 0 0 10px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .pdetail-action-buttons .btn-pdetail-cart,
    .pdetail-action-buttons .btn-pdetail-buynow {
        height: 44px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }
    .pdetail-action-buttons .btn-pdetail-cart {
        border: 1.5px solid #FF5000 !important;
        background: #FFF5F0 !important;
        color: #FF5000 !important;
    }
    .pdetail-action-buttons .btn-pdetail-cart:hover,
    .pdetail-action-buttons .btn-pdetail-cart:active {
        background: #FF5000 !important;
        color: #FFFFFF !important;
    }
    .pdetail-action-buttons .btn-pdetail-buynow {
        border: none !important;
        background: linear-gradient(135deg, #FF5000 0%, #FF2A00 100%) !important;
        color: #FFFFFF !important;
        box-shadow: none;
    }
    .pdetail-action-buttons .btn-pdetail-buynow:hover,
    .pdetail-action-buttons .btn-pdetail-buynow:active {
        opacity: 0.92 !important;
    }

    .shopee-hybrid-action-box {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    /* 7. Trust Badges (Embedded in Info Card) */
    .pdetail-trust-box {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 4px !important;
        background: #F8FAFC !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 8px !important;
        box-shadow: none;
        padding: 8px 6px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .trust-box-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 4px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .trust-icon-wrap {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        border-radius: 50% !important;
        background: #FFF4ED !important;
        color: #FF5000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 11px !important;
        margin: 0 !important;
        flex-shrink: 0;
    }
    .trust-item-text {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
    }
    .trust-item-text strong {
        display: block !important;
        font-size: 9.5px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    .trust-item-text span {
        display: block !important;
        font-size: 8px !important;
        color: #64748B !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        margin-top: 1px !important;
    }

    /* 8. Tabs Card & 4 Tab Contents (Full-width optimized mobile layout) */
    .pdetail-tabs-card {
        background: #FFFFFF !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 12px !important;
        padding: 0 !important;
        margin: 0 0 12px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .pdetail-tabs-header {
        display: flex !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        gap: 16px !important;
        border-bottom: 1px solid #F1F5F9 !important;
        padding: 0 12px !important;
        background: #FFFFFF !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .pdetail-tabs-header::-webkit-scrollbar {
        display: none !important;
    }
    .pdetail-tabs-header .tab-btn {
        padding: 13px 4px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #64748B !important;
        white-space: nowrap !important;
        border: none !important;
        background: none !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    .pdetail-tabs-header .tab-btn.active {
        color: #FF5000 !important;
        font-weight: 700 !important;
    }
    .pdetail-tabs-header .tab-btn.active::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 2.5px !important;
        background: #FF5000 !important;
        border-radius: 2px 2px 0 0 !important;
    }

    /* Tab Body Container on Mobile */
    .pdetail-tabs-body {
        padding: 14px 12px 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .pdetail-tabs-body .tab-pane {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* --- TAB 1: Mô tả sản phẩm --- */
    .tab-desc-content {
        padding-top: 0 !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .desc-heading {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #0F172A !important;
        margin: 0 0 8px !important;
        line-height: 1.4 !important;
    }
    .desc-paragraph {
        font-size: 14px !important;
        color: #475569 !important;
        line-height: 1.65 !important;
        margin: 0 !important;
    }
    .tab-desc-content p,
    .tab-desc-content li,
    .tab-desc-content ol,
    .tab-desc-content ul,
    .tab-desc-content td,
    .tab-desc-content th,
    .tab-desc-content .lead-text,
    .desc-paragraph p,
    .desc-paragraph li,
    .desc-paragraph ol,
    .desc-paragraph ul,
    .desc-paragraph td,
    .desc-paragraph th,
    .desc-paragraph .lead-text,
    .product-description-rich p,
    .product-description-rich li,
    .product-description-rich ol,
    .product-description-rich ul,
    .product-description-rich td,
    .product-description-rich th,
    .product-description-rich .lead-text {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
    .tab-desc-content img:not(.desc-inline-icon),
    .desc-paragraph img:not(.desc-inline-icon),
    .product-description-rich img:not(.desc-inline-icon) {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        margin: 14px auto !important;
        display: block !important;
    }
    .tab-desc-content img.desc-inline-icon,
    .desc-paragraph img.desc-inline-icon,
    .product-description-rich img.desc-inline-icon {
        display: inline-block !important;
        vertical-align: middle !important;
        width: 1.15em !important;
        height: 1.15em !important;
        max-width: none !important;
        margin: 0 3px !important;
        border-radius: 0 !important;
    }
    .tab-desc-content div[style*="grid"],
    .desc-paragraph div[style*="grid"],
    .product-description-rich div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .tab-desc-content div[style*="grid"] img,
    .desc-paragraph div[style*="grid"] img,
    .product-description-rich div[style*="grid"] img {
        aspect-ratio: auto !important;
        margin: 0 auto !important;
    }

    /* --- TAB 2: Thông số kỹ thuật --- */
    .specs-table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 12.5px !important;
        margin: 0 !important;
    }
    .specs-table th,
    .specs-table td {
        padding: 8px 10px !important;
        font-size: 12.5px !important;
        line-height: 1.4 !important;
    }
    .specs-table th {
        width: 35% !important;
    }
    .specs-size-chart-wrap {
        margin-top: 16px !important;
        padding-top: 14px !important;
    }

    /* --- TAB 3: Đánh giá sản phẩm (Matches media_1788934174728.png) --- */
    .reviews-overview-box {
        display: grid !important;
        grid-template-columns: 115px 1fr !important;
        gap: 16px !important;
        padding: 14px 16px !important;
        margin-bottom: 14px !important;
        background: #FFFFFF !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 12px !important;
        align-items: center !important;
    }
    .reviews-score-col {
        text-align: left !important;
        padding: 0 !important;
        border-right: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }
    .score-display .score-num {
        font-size: 30px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }
    .score-display .score-den {
        font-size: 14px !important;
        color: #64748B !important;
        font-weight: 600 !important;
    }
    .score-stars {
        color: #FF5000 !important;
        font-size: 12px !important;
        display: flex !important;
        gap: 2px !important;
        margin: 2px 0 !important;
    }
    .score-subtext {
        font-size: 11px !important;
        color: #94A3B8 !important;
    }
    .reviews-breakdown-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        width: 100% !important;
    }
    .breakdown-row {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 11.5px !important;
    }
    .breakdown-row .star-name {
        width: 32px !important;
        font-size: 11px !important;
        color: #64748B !important;
    }
    .breakdown-row .bar-track {
        flex: 1 !important;
        height: 6px !important;
        background: #F1F5F9 !important;
        border-radius: 3px !important;
    }
    .breakdown-row .bar-fill {
        background: #FF5000 !important;
        border-radius: 3px !important;
    }
    .breakdown-row .star-count {
        width: 30px !important;
        font-size: 11px !important;
        color: #64748B !important;
        text-align: right !important;
    }

    /* Filter Pills & Sort Bar */
    .reviews-filter-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }
    .reviews-pills-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 8px !important;
        width: 100% !important;
        padding-bottom: 2px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .reviews-pills-list::-webkit-scrollbar {
        display: none !important;
    }
    .rev-pill {
        padding: 6px 14px !important;
        font-size: 12.5px !important;
        border-radius: 6px !important;
        border: 1px solid #E2E8F0 !important;
        background: #FFFFFF !important;
        color: #334155 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .rev-pill.active {
        background: #FFF7F3 !important;
        border-color: #FF5000 !important;
        color: #FF5000 !important;
        font-weight: 600 !important;
    }
    .desktop-only-sort {
        display: none !important;
    }

    /* Mobile Action CTA: Viết đánh giá */
    .btn-open-write-review {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 10px 14px !important;
        background: #FFFFFF !important;
        border: 1.5px solid #FF5000 !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        margin-bottom: 14px !important;
        box-sizing: border-box !important;
        transition: background 0.15s !important;
    }
    .btn-open-write-review:active {
        background: #FFF7F3 !important;
    }
    .btn-open-write-review .btn-write-rev-title {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #FF5000 !important;
    }
    .btn-open-write-review .btn-write-rev-sub {
        font-size: 11.5px !important;
        color: #64748B !important;
        margin-top: 2px !important;
    }

    /* Hide desktop write card on mobile */
    .desktop-write-card {
        display: none !important;
    }

    /* Reviews Feed Column */
    .reviews-two-cols-layout {
        display: block !important;
    }
    .reviews-feed-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* Mobile Feed Header: Đánh giá gần đây + Mới nhất ⌄ */
    .reviews-feed-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 12px 0 8px !important;
    }
    .feed-header-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        margin: 0 !important;
    }
    .feed-sort-dropdown {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .feed-sort-select {
        border: none !important;
        background: transparent !important;
        font-size: 12.5px !important;
        color: #64748B !important;
        font-weight: 500 !important;
        padding-right: 16px !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        cursor: pointer !important;
        outline: none !important;
    }
    .feed-sort-arrow {
        position: absolute !important;
        right: 0 !important;
        font-size: 11px !important;
        color: #64748B !important;
        pointer-events: none !important;
    }

    /* Review Feed Items (List style with bottom dividers) */
    .review-feed-item {
        padding: 12px 0 14px !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #F1F5F9 !important;
        background: #FFFFFF !important;
    }
    .feed-item-top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        margin-bottom: 4px !important;
    }
    .feed-user-box {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .feed-user-avatar {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
    }
    .feed-user-avatar.letter-avatar {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #E2E8F0 !important;
        color: #475569 !important;
        font-weight: 700 !important;
        font-size: 14px !important;
    }
    .user-meta-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }
    .user-display-name {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
    }
    .feed-stars-row {
        color: #FF5000 !important;
        font-size: 11px !important;
        display: flex !important;
        gap: 2px !important;
    }
    .feed-date {
        font-size: 11.5px !important;
        color: #94A3B8 !important;
    }
    .feed-product-variant-row {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 11.5px !important;
        color: #64748B !important;
        margin: 4px 0 8px !important;
    }
    .badge-verified-buyer {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 11.5px !important;
        color: #10B981 !important;
        font-weight: 500 !important;
    }
    .badge-verified-buyer .text-green {
        color: #10B981 !important;
        font-size: 12px !important;
    }
    .feed-review-desc {
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: #334155 !important;
        margin: 0 0 10px !important;
    }
    .feed-photos-row {
        display: flex !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }
    .feed-photos-row::-webkit-scrollbar {
        display: none !important;
    }
    .feed-photo-item {
        position: relative !important;
        width: 68px !important;
        height: 68px !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
    }
    .feed-photo-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .photo-more-overlay {
        position: absolute !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.45) !important;
        color: #FFFFFF !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .feed-actions-bar {
        display: flex !important;
        align-items: center !important;
        gap: 18px !important;
        margin-top: 8px !important;
    }
    .btn-feed-action {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        font-size: 12.5px !important;
        color: #64748B !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        cursor: pointer !important;
    }
    .btn-feed-action.active {
        color: #FF5000 !important;
    }
    .btn-feed-more {
        margin-left: auto !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        font-size: 15px !important;
        color: #94A3B8 !important;
        cursor: pointer !important;
    }

    /* --- MOBILE BOTTOM SHEET MODAL (Matches media_1788934174728.png) --- */
    .review-bottom-sheet {
        position: fixed !important;
        inset: 0 !important;
        z-index: 999999 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
        transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s !important;
    }
    .review-bottom-sheet.is-open {
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
    .sheet-backdrop {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(2px) !important;
        -webkit-backdrop-filter: blur(2px) !important;
    }
    .sheet-panel {
        position: relative !important;
        background: #FFFFFF !important;
        border-radius: 20px 20px 0 0 !important;
        max-height: 92vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 16px 20px !important;
        transform: translateY(100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: none;
        z-index: 2 !important;
    }
    .review-bottom-sheet.is-open .sheet-panel {
        transform: translateY(0) !important;
    }
    .sheet-drag-handle {
        width: 38px !important;
        height: 4px !important;
        background: #CBD5E1 !important;
        border-radius: 2px !important;
        margin: 2px auto 10px !important;
    }
    .sheet-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 12px !important;
    }
    .sheet-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        margin: 0 !important;
    }
    .sheet-close-btn {
        background: #F1F5F9 !important;
        border: none !important;
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #64748B !important;
        font-size: 14px !important;
        cursor: pointer !important;
    }
    .sheet-product-card {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 8px 10px !important;
        background: #F8FAFC !important;
        border-radius: 8px !important;
        margin-bottom: 14px !important;
    }
    .sheet-prod-thumb {
        width: 46px !important;
        height: 46px !important;
        border-radius: 6px !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
    }
    .sheet-prod-meta {
        flex: 1 !important;
        overflow: hidden !important;
    }
    .sheet-prod-name {
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        margin: 0 0 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .sheet-prod-variant {
        font-size: 11.5px !important;
        color: #64748B !important;
    }
    .sheet-rating-section {
        text-align: center !important;
        margin-bottom: 14px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid #F1F5F9 !important;
    }
    .sheet-section-title {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }
    .sheet-stars-interactive {
        display: flex !important;
        justify-content: center !important;
        gap: 10px !important;
        font-size: 30px !important;
        cursor: pointer !important;
    }
    .sheet-stars-interactive i {
        color: #CBD5E1 !important;
        transition: color 0.15s, transform 0.1s !important;
    }
    .sheet-stars-interactive i.active {
        color: #FF5000 !important;
    }
    .sheet-stars-interactive i:active {
        transform: scale(1.15) !important;
    }
    .sheet-rating-mood {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #FF5000 !important;
        margin-top: 4px !important;
    }
    .sheet-form-field {
        margin-bottom: 12px !important;
    }
    .sheet-field-label {
        display: block !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        margin-bottom: 5px !important;
    }
    .sheet-field-input,
    .sheet-field-textarea {
        width: 100% !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 8px !important;
        padding: 9px 12px !important;
        font-size: 13px !important;
        color: #1E293B !important;
        background: #FFFFFF !important;
        outline: none !important;
        box-sizing: border-box !important;
        font-family: inherit !important;
    }
    .sheet-field-input:focus,
    .sheet-field-textarea:focus {
        border-color: #FF5000 !important;
    }
    .sheet-char-count {
        text-align: right !important;
        font-size: 10.5px !important;
        color: #94A3B8 !important;
        margin-top: 3px !important;
    }
    .sheet-upload-grid {
        display: flex !important;
        gap: 10px !important;
        margin-bottom: 6px !important;
    }
    .sheet-upload-slot {
        position: relative !important;
        width: 76px !important;
        height: 76px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        border: 1.5px dashed #CBD5E1 !important;
        background: #FAFAFA !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        cursor: pointer !important;
        color: #64748B !important;
    }
    .sheet-upload-slot i {
        font-size: 16px !important;
    }
    .sheet-upload-slot span {
        font-size: 10px !important;
        font-weight: 500 !important;
    }
    .sheet-upload-slot.has-preview {
        border: 1px solid #E2E8F0 !important;
        background: #FFFFFF !important;
    }
    .sheet-upload-slot.has-preview img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .sheet-upload-slot .slot-remove-btn {
        position: absolute !important;
        top: 4px !important;
        right: 4px !important;
        width: 18px !important;
        height: 18px !important;
        background: rgba(0, 0, 0, 0.65) !important;
        color: #FFFFFF !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 9px !important;
        cursor: pointer !important;
        border: none !important;
        line-height: 1 !important;
        z-index: 3 !important;
    }
    .sheet-upload-note {
        font-size: 11px !important;
        color: #94A3B8 !important;
    }
    .sheet-anon-section {
        margin: 14px 0 16px !important;
        padding-top: 10px !important;
        border-top: 1px solid #F1F5F9 !important;
    }
    .sheet-anon-question {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        margin-bottom: 8px !important;
    }
    .sheet-anon-question .anon-info {
        color: #94A3B8 !important;
        font-size: 13px !important;
    }
    .sheet-checkbox-label {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        cursor: pointer !important;
        font-size: 12.5px !important;
        color: #334155 !important;
        user-select: none !important;
    }
    .sheet-checkbox-input {
        display: none !important;
    }
    .sheet-checkbox-custom {
        width: 18px !important;
        height: 18px !important;
        border: 1.5px solid #CBD5E1 !important;
        border-radius: 4px !important;
        background: #FFFFFF !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.15s !important;
    }
    .sheet-checkbox-input:checked + .sheet-checkbox-custom {
        background: #FF5000 !important;
        border-color: #FF5000 !important;
    }
    .sheet-checkbox-input:checked + .sheet-checkbox-custom::after {
        content: "✓" !important;
        color: #FFFFFF !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }
    .sheet-btn-wrap {
        margin-top: 14px !important;
        padding-bottom: calc(env(safe-area-inset-bottom, 12px) + 24px) !important;
    }
    .btn-sheet-submit {
        width: 100% !important;
        height: 44px !important;
        background: #FF5000 !important;
        color: #FFFFFF !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: background 0.2s !important;
    }

    /* --- TAB 4: Hỏi đáp --- */
    .faq-top-banner-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 14px !important;
    }
    .faq-headline-title {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    .faq-headline-desc {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }
    .faq-callout-card {
        padding: 10px 12px !important;
        border-radius: 8px !important;
        gap: 10px !important;
    }
    .faq-two-cols-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    .ask-question-card {
        padding: 14px 12px !important;
        border-radius: 10px !important;
        border: 1px solid #F1F5F9 !important;
        background: #FAFAFA !important;
    }
    .ask-question-card .card-title {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    .ask-question-card .card-subtitle {
        font-size: 11.5px !important;
        margin-bottom: 12px !important;
    }
    .btn-post-faq {
        width: 100% !important;
        height: 40px !important;
        border-radius: 8px !important;
        font-size: 13.5px !important;
    }
    .faq-filter-toolbar {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    .faq-search-input-wrap,
    .faq-filter-select-wrap,
    .faq-sort-select-wrap {
        width: 100% !important;
    }
    .faq-search-input-wrap input {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px 12px 8px 34px !important;
        font-size: 12.5px !important;
    }
    .faq-items-stream {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--box-gap) !important;
    }
    .faq-qa-card {
        padding: 12px 10px !important;
        border-radius: 8px !important;
        border: 1px solid #F1F5F9 !important;
    }
    .qa-reply-box {
        margin-left: 0 !important;
        padding: 10px !important;
        margin-top: 8px !important;
        border-radius: 6px !important;
        background: #F8FAFC !important;
    }

    /* 9. Mobile Smart Sticky Bottom Action Bar */
    .pdetail-mobile-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: #FFFFFF !important;
        border-top: 1px solid #F1F5F9 !important;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        gap: 10px !important;
        box-shadow: none;
        transform: translateY(115%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
    }
    .pdetail-mobile-bottom-bar.is-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .btn-mob-cart {
        flex: 1 1 0 !important;
        height: 42px !important;
        background: #FFFFFF !important;
        border: 1.5px solid #FF5000 !important;
        border-radius: 8px !important;
        color: #FF5000 !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        cursor: pointer;
        transition: background 0.15s;
    }
    .btn-mob-cart:active {
        background: #FFF5F0 !important;
    }
    .btn-mob-buynow {
        flex: 1 1 0 !important;
        height: 42px !important;
        background: #FF5000 !important;
        border: none !important;
        border-radius: 8px !important;
        color: #FFFFFF !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        cursor: pointer;
        box-shadow: none;
        transition: background 0.15s;
    }
    .btn-mob-buynow:active {
        background: #E03A00 !important;
    }

    /* 10. Related Products Section on Mobile (White Card) */
    .section-related-products {
        padding: 0 !important;
        margin: 0 0 5px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .section-related-products .products-block-container {
        background: #FFFFFF !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 12px !important;
        padding: 12px 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Base Desktop Helpers for Mobile Product Detail components */
.pdetail-mobile-topbar,
.pdetail-mobile-bottom-bar,
.pdetail-img-counter {
    display: none;
}
.color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    vertical-align: middle;
}
.dot-black { background-color: #111111; }
.dot-grey { background-color: #888888; }
.dot-pink { background-color: #F472B6; }

.combo-badge-red {
    background-color: #EF4444;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 4px;
    display: inline-block;
}

.thumb-has-video {
    position: relative;
}
.thumb-video-icon {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 14px;
    border-radius: 6px;
    pointer-events: none;
}

/* ==========================================================================
   SINGLE BLOG POST - DESKTOP / MOBILE SEPARATION & MOBILE VIEW
   ========================================================================== */
.post-desktop-view {
    display: block;
}
.post-mobile-view {
    display: none;
}

@media (max-width: 768px) {
    .post-desktop-view {
        display: none !important;
    }
    
    .post-mobile-view {
        display: block !important;
        background: #F5F5F7;
        padding-bottom: 6px;
    }

    body.single-post .mf-newsletter-card {
        display: none !important;
    }

    /* Top Sticky App Bar */
    .mob-post-topbar {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #FFFFFF;
        border-bottom: 1px solid #ECECEE;
        height: 48px;
    }
    .mob-post-topbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        padding: 0 10px;
    }
    .mob-post-back-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: #1D1D1F;
        font-size: 17px;
        text-decoration: none;
        border-radius: 50%;
    }
    .mob-post-breadcrumb {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13.5px;
        color: #6E6E73;
        flex: 1;
        margin-left: 4px;
    }
    .mob-post-breadcrumb a {
        color: #6E6E73;
        text-decoration: none;
        font-weight: 500;
    }
    .mob-post-breadcrumb .crumb-sep {
        font-size: 9px;
        color: #A1A1A6;
    }
    .mob-post-breadcrumb span {
        color: #6E6E73;
        font-weight: 500;
    }
    .mob-post-top-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .mob-top-act-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        background: none;
        border: none;
        color: #1D1D1F;
        font-size: 17px;
        cursor: pointer;
        padding: 0;
    }

    /* Mobile Body Wrapper: 6px padding & gaps */
    .mob-post-body-wrap {
        padding: 6px 6px 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
        box-sizing: border-box;
    }

    .mob-post-card {
        background: #FFFFFF;
        border-radius: 14px;
        box-shadow: none;
        overflow: hidden;
    }

    /* Header Card */
    .mob-post-header-card {
        padding: 16px 14px 14px;
    }
    .mob-post-title {
        font-size: 20px;
        font-weight: 700;
        color: #1D1D1F;
        line-height: 1.35;
        margin: 0 0 8px 0;
        letter-spacing: -0.3px;
    }
    .mob-post-subtitle {
        font-size: 13px;
        color: #6E6E73;
        line-height: 1.4;
        margin: 0 0 14px 0;
    }
    /* Author & Meta Box (Đóng khung tác giả & thông số bài viết chuyên nghiệp) */
    .mob-author-meta-box {
        background: #F8F9FA;
        border: 1px solid #EBECEF;
        border-radius: 12px;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .mob-author-row,
    .mob-post-author {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 0;
    }
    .mob-author-meta-box .mob-author-row {
        padding-bottom: 8px;
        border-bottom: 1px solid #EEF0F3;
    }
    .mob-author-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 1.5px solid #FFFFFF;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
    .mob-author-info {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }
    .mob-author-name {
        font-size: 13.5px;
        font-weight: 600;
        color: #1D1D1F;
        line-height: 1.25;
    }
    .mob-author-role {
        font-size: 11.5px;
        color: #86868B;
        line-height: 1.2;
    }

    /* Mobile Meta Flow (Date • Reading time • Views) */
    .mob-meta-flow {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px 9px;
        font-size: 11.5px;
        color: #6E6E73;
        margin: 0;
    }
    .mob-meta-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }
    .mob-meta-item i {
        color: #86868B;
        font-size: 11px;
    }
    .mob-meta-sep {
        color: #D1D1D6;
        font-size: 9px;
        user-select: none;
    }

    /* Hero Banner Card */
    .mob-hero-banner-card {
        border-radius: 14px;
        box-shadow: none;
    }
    .mob-hero-banner-img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 14px;
    }

    /* TOC Card (Mặc định thu gọn trên Mobile, click để mở) */
    .mob-toc-card {
        padding: 14px;
        transition: padding 0.2s ease;
    }
    .mob-toc-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        user-select: none;
        padding-bottom: 10px;
        border-bottom: 1px solid #F2F2F7;
        transition: padding-bottom 0.25s ease, border-color 0.25s ease;
    }
    .mob-toc-card.is-collapsed .mob-toc-header {
        padding-bottom: 0;
        border-bottom-color: transparent;
    }
    .mob-toc-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14.5px;
        font-weight: 700;
        color: #1D1D1F;
    }
    .mob-toc-quickview {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12.5px;
        font-weight: 600;
        color: #FF6422;
        text-decoration: none;
    }
    .mob-toc-arrow {
        font-size: 11px;
        transition: transform 0.25s ease;
    }
    .mob-toc-card:not(.is-collapsed) .mob-toc-arrow {
        transform: rotate(180deg);
    }
    .mob-toc-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px 12px;
        padding-top: 10px;
        transition: max-height 0.3s ease, opacity 0.25s ease, padding-top 0.25s ease;
        overflow: hidden;
    }
    .mob-toc-card.is-collapsed .mob-toc-grid {
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        pointer-events: none;
    }
    .mob-toc-card:not(.is-collapsed) .mob-toc-grid {
        max-height: 1200px;
        opacity: 1;
        pointer-events: auto;
    }
    .mob-toc-col {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .mob-toc-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        text-decoration: none;
        color: #2C2C2E;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.35;
    }
    .mob-toc-num {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #FF6422;
        color: #FFFFFF;
        font-size: 10.5px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: -1px;
    }
    .mob-toc-text {
        flex: 1;
    }

    /* Summary Callout */
    .mob-summary-callout {
        background: #FFF9F5;
        border: 1px solid #FFE4D6;
        border-radius: 14px;
        padding: 14px;
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }
    .mob-summary-bulb-wrap {
        flex-shrink: 0;
    }
    .mob-summary-bulb {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #FFE8DC;
        color: #FF6422;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
    .mob-summary-content {
        flex: 1;
    }
    .mob-summary-title {
        font-size: 14.5px;
        font-weight: 700;
        color: #FF6422;
        margin: 0 0 8px 0;
    }
    .mob-summary-checklist {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .mob-summary-checklist li {
        font-size: 12.5px;
        line-height: 1.45;
        color: #4B4B4F;
        display: flex;
        align-items: flex-start;
        gap: 6px;
    }
    .mob-summary-checklist li i {
        font-size: 12px;
        margin-top: 3px;
        flex-shrink: 0;
    }

    /* Section Cards */
    .mob-content-card {
        padding: 16px 14px;
    }
    .mob-sec-title {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 15.5px;
        font-weight: 700;
        color: #1D1D1F;
        line-height: 1.35;
        margin: 0 0 10px 0;
    }
    .mob-sec-num {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #FF6422;
        color: #FFFFFF;
        font-size: 11.5px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 1px;
    }
    .mob-sec-desc {
        font-size: 13.5px;
        line-height: 1.6;
        color: #3A3A3C;
        margin: 0;
    }

    /* Principles List */
    .mob-principles-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    .mob-principle-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mob-principle-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
        background: #FFF0E6;
        color: #FF6422;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
    }
    .mob-principle-text {
        font-size: 13px;
        line-height: 1.45;
        color: #3A3A3C;
    }
    .mob-principle-text strong {
        color: #1D1D1F;
        font-weight: 600;
    }

    /* Expand Button */
    .mob-expand-wrap {
        display: flex;
        justify-content: center;
        margin: 0;
    }
    .mob-expand-btn {
        background: #FFFFFF;
        border: 1.5px solid #FFD9C7;
        color: #FF6422;
        font-size: 13px;
        font-weight: 600;
        padding: 9px 24px;
        border-radius: 24px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        box-shadow: none;
        outline: none;
    }

    /* Extra Sections */
    .mob-extra-sections {
        display: flex;
        flex-direction: column;
        gap: var(--box-gap);
    }
    .mob-food-tabs-row {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .mob-food-tabs-row::-webkit-scrollbar {
        display: none;
    }
    .mob-food-tab {
        padding: 6px 14px;
        border-radius: 16px;
        font-size: 12px;
        font-weight: 500;
        border: none;
        background: #F2F2F7;
        color: #6E6E73;
        white-space: nowrap;
        cursor: pointer;
    }
    .mob-food-tab.active {
        background: #FF6422;
        color: #FFFFFF;
        font-weight: 600;
    }
    .mob-food-preview-card {
        display: flex;
        gap: 10px;
        background: #F8F8FA;
        border-radius: 10px;
        padding: 10px;
        margin-top: 10px;
    }
    .mob-food-preview-img {
        width: 90px;
        height: 80px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }
    .mob-food-preview-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .mob-food-preview-details h4 {
        font-size: 13px;
        font-weight: 600;
        color: #1D1D1F;
        margin: 0 0 6px;
    }
    .mob-food-preview-details ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 11.5px;
        color: #4B4B4F;
        line-height: 1.35;
    }
    .mob-food-gallery-thumbs {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        margin-top: 10px;
    }
    .mob-thumb-item {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
        object-fit: cover;
        border: 2px solid transparent;
        cursor: pointer;
    }
    .mob-thumb-item.active {
        border-color: #FF6422;
    }
    .mob-quote-highlight {
        margin-top: 12px;
        border-left: 3px solid #FF6422;
        background: #FFF9F5;
        padding: 10px 14px;
        border-radius: 0 8px 8px 0;
    }
    .mob-quote-phrase {
        font-style: italic;
        font-weight: 600;
        color: #FF6422;
        font-size: 13.5px;
        margin: 0;
        text-align: center;
    }
    .mob-checklist-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .mob-checklist-list li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 13px;
        color: #3A3A3C;
        line-height: 1.45;
    }
    .mob-checklist-list li i {
        font-size: 14px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    /* Feed Sections: Related & Popular */
    .mob-feed-card {
        padding: 14px;
    }
    .mob-feed-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    .mob-feed-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 700;
        color: #1D1D1F;
    }
    .mob-feed-more {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 12.5px;
        font-weight: 600;
        color: #FF6422;
        text-decoration: none;
    }
    .mob-rel-grid-3col {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--box-gap);
    }
    .mob-rel-post-card {
        display: flex;
        flex-direction: column;
        text-decoration: none;
    }
    .mob-rel-thumb-holder {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
        overflow: hidden;
        background: #F0F0F2;
    }
    .mob-rel-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .mob-rel-heading {
        font-size: 11.5px;
        font-weight: 600;
        color: #1D1D1F;
        line-height: 1.35;
        margin: 6px 0 3px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .mob-rel-view-count {
        font-size: 11px;
        color: #86868B;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* Mint Green Newsletter Card */
    .mob-mint-newsletter-card {
        background: #EEF8F1 !important;
        border: 1px solid #D1EEDC;
        padding: 14px;
        border-radius: 14px;
    }
    .mob-mint-nl-header {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }
    .mob-mint-nl-icon-badge {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #D1EEDC;
        color: #2EB553;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }
    .mob-mint-nl-copy {
        flex: 1;
    }
    .mob-mint-nl-title {
        font-size: 13.5px;
        font-weight: 700;
        color: #1D1D1F;
        margin: 0 0 3px;
    }
    .mob-mint-nl-sub {
        font-size: 11px;
        color: #555555;
        line-height: 1.35;
        margin: 0;
    }
    .mob-mint-nl-form {
        display: flex;
        gap: 8px;
        margin-top: 10px;
    }
    .mob-mint-nl-input {
        flex: 1;
        height: 36px;
        border: 1px solid #CCEBD6;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 12px;
        background: #FFFFFF;
        outline: none;
        box-sizing: border-box;
    }
    .mob-mint-nl-btn {
        height: 36px;
        background: #FF5500;
        color: #FFFFFF;
        font-weight: 600;
        font-size: 12.5px;
        border-radius: 8px;
        padding: 0 16px;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* Popular Articles 2-column Grid */
    .mob-popular-grid-2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--box-gap);
    }
    .mob-pop-card {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
    }
    .mob-pop-thumb {
        width: 52px;
        height: 52px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }
    .mob-pop-details {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .mob-pop-title {
        font-size: 11px;
        font-weight: 600;
        color: #1D1D1F;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0 0 3px;
    }
    .mob-pop-meta {
        font-size: 10px;
        color: #86868B;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .mob-pop-views {
        display: flex;
        align-items: center;
        gap: 3px;
    }
}

/* ==========================================================================
   STATIC & POLICY PAGES - DESKTOP / MOBILE SEPARATION & MOBILE VIEW
   ========================================================================== */
.page-desktop-view {
    display: block;
}
.page-mobile-view {
    display: none;
}

@media (max-width: 768px) {
    .page-desktop-view {
        display: none !important;
    }

    .page-mobile-view {
        display: block !important;
        background: #F5F5F7;
        padding-bottom: 6px;
    }

    /* Top Sticky App Header */
    .mob-page-topbar {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #FFFFFF;
        border-bottom: 1px solid #ECECEE;
        height: 48px;
    }
    .mob-page-topbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        padding: 0 10px;
        max-width: 390px;
        margin: 0 auto;
    }
    .mob-page-back-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: #1D1D1F;
        font-size: 17px;
        text-decoration: none;
        border-radius: 50%;
    }
    .mob-page-topbar-title {
        flex: 1;
        text-align: center;
        font-size: 14px;
        font-weight: 600;
        color: #1D1D1F;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 8px;
    }
    .mob-page-top-actions {
        display: flex;
        align-items: center;
    }
    .mob-page-act-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        background: none;
        border: none;
        color: #1D1D1F;
        font-size: 17px;
        cursor: pointer;
        padding: 0;
    }

    /* Mobile Body Wrapper: 10px padding & gaps */
    .mob-page-body-wrap {
        padding: 10px 6px 0;
        display: flex;
        flex-direction: column;
        gap: var(--box-gap);
        box-sizing: border-box;
        width: 100%;
    }

    .mob-page-card {
        background: #FFFFFF;
        border-radius: 14px;
        box-shadow: none;
        overflow: hidden;
    }

    /* 1. Header Card (Matching Image 1) */
    .mob-page-header-card {
        padding: 16px 14px 14px;
    }
    .mob-page-card-breadcrumb {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        font-size: 12.5px;
        color: #64748B;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .mob-page-card-breadcrumb a {
        color: #64748B;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }
    .mob-page-card-breadcrumb .mob-bc-home {
        color: #64748B;
        font-size: 13px;
    }
    .mob-page-card-breadcrumb .mob-bc-sep {
        color: #CBD5E1;
        font-size: 11px;
    }
    .mob-page-card-breadcrumb .mob-bc-parent {
        color: #64748B;
    }
    .mob-page-card-breadcrumb .mob-bc-current {
        color: #FF5000;
        font-weight: 600;
    }
    .mob-page-h1 {
        font-size: 22px;
        font-weight: 800;
        color: #0F172A;
        line-height: 1.3;
        margin: 0 0 8px;
        letter-spacing: -0.3px;
    }
    .mob-page-subtitle {
        font-size: 13px;
        color: #64748B;
        line-height: 1.45;
        margin: 0;
    }

    /* 2. Hero Banner Card */
    .mob-page-hero-card {
        border-radius: 14px;
        box-shadow: none;
    }
    .mob-page-hero-img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 14px;
    }
    .mob-page-hero-card.mob-branded-policy-hero {
        position: relative;
        height: auto;
        box-shadow: none;
        background: #FFF7F0;
    }
    .mob-branded-policy-hero .mob-page-hero-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .mob-policy-hero-copy {
        position: absolute;
        inset: 0 auto 0 0;
        z-index: 2;
        width: 61%;
        padding: 10px 0 10px 13px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        box-sizing: border-box;
    }
    .mob-policy-hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 5px;
        color: #E94700;
        font-size: 7.5px;
        line-height: 1.15;
        font-weight: 800;
        letter-spacing: 0.045em;
        text-transform: uppercase;
    }
    .mob-policy-hero-eyebrow i {
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 18px;
        color: #FFFFFF;
        background: #FF5000;
        border-radius: 6px;
        font-size: 8px;
    }
    .mob-policy-hero-title {
        margin: 0;
        color: #0F172A;
        font-size: clamp(18px, 5.35vw, 22px);
        line-height: 1.06;
        font-weight: 800;
        letter-spacing: -0.035em;
    }
    .mob-policy-hero-subtitle {
        display: -webkit-box;
        margin: 6px 0 0;
        overflow: hidden;
        color: #4B586B;
        font-size: 9.5px;
        line-height: 1.32;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    /* 3. Trust Highlights Bar */
    .mob-page-trust-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 12px 10px;
        background: #FFFFFF;
    }
    .mob-trust-item {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 600;
        color: #1E293B;
    }
    .mob-trust-item i {
        font-size: 14px;
    }
    .mob-trust-sep {
        color: #CBD5E1;
        font-size: 10px;
    }

    /* 4. Content Card */
    .mob-page-content-card {
        padding: 18px 16px;
    }
    .mob-page-article h2 {
        font-size: 16px;
        font-weight: 700;
        color: #0F172A;
        margin: 20px 0 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #F1F5F9;
    }
    .mob-page-article h2:first-child {
        margin-top: 0;
    }
    .mob-page-article h3 {
        font-size: 15px;
        font-weight: 700;
        color: #0F172A;
        margin: 16px 0 8px;
    }
    .mob-page-article p {
        font-size: 13.5px;
        line-height: 1.65;
        color: #334155;
        margin: 0 0 12px;
    }
    .mob-page-article ul {
        list-style: disc !important;
        padding-left: 22px;
        margin: 0 0 14px;
    }
    .mob-page-article ul ul {
        list-style: circle !important;
        padding-left: 18px;
        margin: 4px 0 8px;
    }
    .mob-page-article ol {
        list-style: decimal !important;
        padding-left: 22px;
        margin: 0 0 14px;
    }
    .mob-page-article li {
        font-size: 13.5px;
        line-height: 1.6;
        color: #334155;
        margin-bottom: 6px;
    }

    /* 5. Support CTA Banner Card (Matching Image 2) */
    .mob-policy-cta-card {
        background: linear-gradient(135deg, #FFF8F4 0%, #FFF3EC 100%) !important;
        border: 1px solid #FFE4D6;
        border-radius: 16px;
        padding: 16px 14px;
    }
    .mob-cta-top-row {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
    }
    .mob-cta-headset-circle {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #FFF1EB;
        border: 2px solid #FFD8C7;
        color: #FF5000;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        flex-shrink: 0;
    }
    .mob-cta-copy {
        flex: 1;
    }
    .mob-cta-title {
        font-size: 16px;
        font-weight: 700;
        color: #0F172A;
        margin: 0 0 4px;
    }
    .mob-cta-desc {
        font-size: 12.5px;
        line-height: 1.45;
        color: #64748B;
        margin: 0;
    }
    .mob-cta-btn-wrap {
        margin-bottom: 14px;
    }
    .mob-btn-cta-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        height: 42px;
        background: #FF5000;
        color: #FFFFFF;
        font-size: 13.5px;
        font-weight: 700;
        border-radius: 8px;
        text-decoration: none;
        box-shadow: none;
        transition: background-color 0.2s;
    }
    .mob-btn-cta-contact:active {
        background: #E04700;
    }
    .mob-cta-divider {
        height: 1px;
        background: #FFE4D6;
        margin-bottom: 12px;
    }
    .mob-cta-meta-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .mob-cta-meta-col {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
    }
    .mob-cta-meta-icon {
        color: #FF5000;
        font-size: 18px;
        flex-shrink: 0;
    }
    .mob-cta-meta-text {
        display: flex;
        flex-direction: column;
    }
    .mob-cta-meta-label {
        font-size: 10px;
        color: #64748B;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    .mob-cta-meta-val {
        font-size: 13px;
        font-weight: 700;
        color: #0F172A;
        text-decoration: none;
    }
    .mob-cta-meta-divider {
        width: 1px;
        height: 28px;
        background: #FFE4D6;
        margin: 0 10px;
        flex-shrink: 0;
    }

    /* 6. Quick Policy Navigation Card */
    .mob-policy-links-card {
        padding: 14px;
    }
    .mob-policy-links-head {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
        color: #0F172A;
        margin-bottom: 12px;
    }
    .mob-policy-links-list {
        display: flex;
        flex-direction: column;
        gap: var(--box-gap);
    }
    .mob-pol-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        background: #F8FAFC;
        border-radius: 10px;
        text-decoration: none;
        color: #1E293B;
        font-size: 13px;
        font-weight: 500;
    }
    .mob-pol-item-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mob-pol-item-left i {
        color: #FF5000;
        font-size: 14px;
        width: 16px;
        text-align: center;
    }
    .mob-pol-arrow {
        color: #94A3B8;
        font-size: 11px;
    }
}

/* ==========================================================================
   UNIFIED MOBILE NAVIGATION HEADER (Matches media_1788853481906.png)
   Standardized 2-Tier Mobile App Bar + Pill Breadcrumbs for all Subpages
   ========================================================================== */
.mob-nav-header {
    display: none !important;
}

@media (max-width: 768px) {
    .mob-nav-header {
        display: flex !important;
        flex-direction: column !important;
        background: #FFFFFF !important;
        border-radius: 14px !important;
        padding: 10px 12px !important;
        box-shadow: none;
        border: 1px solid #F0F2F5 !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    /* Trên category-page-wrapper/search, mob-nav-header nằm LỒNG trong cat-hero-banner-section
       (cùng section với ảnh hero mobile ngay sau nó) chứ không phải con trực tiếp của wrapper,
       nên cần margin riêng thay vì dựa vào gap của wrapper. */
    .cat-hero-banner-section .mob-nav-header {
        margin-bottom: var(--box-gap) !important;
    }

    /* Tier 1: Action App Bar */
    .mob-nav-topbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        min-height: 38px !important;
    }

    .mob-nav-circle-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 50% !important;
        background: #F1F4F9 !important;
        color: #1E293B !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        font-size: 15px !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        transition: background 0.15s ease, transform 0.1s ease !important;
        -webkit-tap-highlight-color: transparent !important;
        flex-shrink: 0 !important;
    }

    .mob-nav-circle-btn:active {
        background: #E2E8F0 !important;
        transform: scale(0.95) !important;
    }

    .mob-nav-circle-btn.is-active,
    .mob-nav-circle-btn.wishlist-added {
        color: #EF4444 !important;
    }

    .mob-nav-title {
        flex: 1 !important;
        font-size: 17.5px !important;
        font-weight: 700 !important;
        color: #0F172A !important;
        margin: 0 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-family: inherit !important;
    }

    .mob-nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    /* Tier 2: Pill Breadcrumbs Row */
    .mob-nav-pills-row {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 8px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding-bottom: 2px !important;
    }

    .mob-nav-pills-row::-webkit-scrollbar {
        display: none !important;
    }

    .mob-pill-bc-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: #F1F4F9 !important;
        color: #344054 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        text-decoration: none !important;
        flex-shrink: 0 !important;
        line-height: 1.4 !important;
        transition: background 0.15s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .mob-pill-bc-item i {
        font-size: 11.5px !important;
        color: #475467 !important;
    }

    .mob-pill-bc-item:active {
        background: #E2E8F0 !important;
    }

    .mob-pill-bc-sep {
        color: #98A2B3 !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        user-select: none !important;
        font-weight: 400 !important;
        padding: 0 1px !important;
    }

    .mob-pill-bc-item.is-active {
        background: #FFF0E6 !important;
        color: #FF5000 !important;
        font-weight: 600 !important;
        cursor: default !important;
    }

    .mob-pill-bc-item.is-active i {
        color: #FF5000 !important;
    }

    /* Legacy Subpage Topbars Cleanup */
    .pdetail-mobile-topbar {
        display: none !important;
    }
    .mob-post-topbar {
        display: none !important;
    }
    .mob-page-topbar {
        display: none !important;
    }
    .policy-breadcrumb-bar {
        display: none !important;
    }
}

/* ==========================================================================
   ĐỒNG BỘ CÁC KHOẢNG TRỐNG TRONG Ô SẢN PHẨM HOÀN TOÀN BẰNG NHAU:
   1. Khoảng cách: Tên sản phẩm -> Sao = 6px (Desktop) / 5px (Mobile)
   2. Khoảng cách: Sao -> Giá (+ nút giỏ) = 6px (Desktop) / 5px (Mobile)
   3. Khoảng cách: Giá -> Chân ô sản phẩm = 6px (Desktop) / 5px (Mobile)
   ========================================================================== */
.product-card .product-body,
.deal-hunt-card .product-body,
.san-deal-card .product-body,
.prod-card-vertical .product-body {
    padding-bottom: 6px !important;
}

.product-card .product-title,
.deal-hunt-card .product-title,
.san-deal-card .product-title,
.prod-card-vertical .product-title {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.product-card .product-rating,
.deal-hunt-card .product-rating,
.san-deal-card .product-rating,
.prod-card-vertical .product-rating {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.product-card .product-price-row,
.deal-hunt-card .product-price-row,
.san-deal-card .product-price-row,
.prod-card-vertical .product-price-row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .product-card .product-body,
    .deal-hunt-card .product-body,
    .san-deal-card .product-body,
    .prod-card-vertical .product-body {
        padding-bottom: 6px !important;
    }

    .product-card .product-title,
    .deal-hunt-card .product-title,
    .san-deal-card .product-title,
    .prod-card-vertical .product-title {
        margin-top: 0 !important;
        margin-bottom: 6px !important;
    }

    .product-card .product-rating,
    .deal-hunt-card .product-rating,
    .san-deal-card .product-rating,
    .prod-card-vertical .product-rating {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .product-card .product-price-row,
    .deal-hunt-card .product-price-row,
    .san-deal-card .product-price-row,
    .prod-card-vertical .product-price-row {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ==========================================================================
   Trang Khuyến Mãi - hiện pills danh mục cả ở desktop (mặc định chỉ mobile)
   ========================================================================== */
.promo-page-wrapper .cat-mobile-pills-section {
    display: block;
    margin: 18px 0;
    padding: 0;
}
.promo-page-wrapper .cat-mobile-pills-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 4px;
}
.promo-page-wrapper .cat-mobile-pills-scroll::-webkit-scrollbar {
    display: none;
}
.promo-page-wrapper .cat-mob-pill {
    flex-shrink: 0;
    white-space: nowrap;
    text-decoration: none;
}
.promo-sort-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .promo-page-wrapper .promo-filters-section {
        display: block !important;
        margin: 0 !important;
    }
    .promo-page-wrapper .promo-sort-row {
        gap: 8px !important;
    }
    .promo-page-wrapper .cat-total-count {
        font-size: 13px !important;
    }
    .promo-page-wrapper .cat-sort-pill {
        font-size: 12.5px !important;
    }
}

/* ==========================================================================
   Trang Khuyến Mãi - Hero, Flash Sale, Pills, Sort (khớp bố cục ảnh mẫu)
   ========================================================================== */
.promo-hero-section {
    margin-bottom: 16px;
}
.promo-hero-card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    min-height: clamp(290px, 20vw, 340px);
    gap: 0;
    background: #FFF7F0;
    border: 1px solid #FCD9BE;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
}
.promo-hero-left {
    position: relative;
    z-index: 2;
    flex: 0 0 56%;
    min-width: 0;
    padding: 30px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.promo-hero-breadcrumb {
    position: static;
    margin-bottom: 10px;
    color: #64748B;
    font-size: 13px;
}
.promo-hero-breadcrumb .cat-bc-overlay-link,
.promo-hero-breadcrumb .cat-bc-overlay-current {
    color: #64748B;
}
.promo-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #1E293B;
    margin: 6px 0 8px;
    line-height: 1.2;
}
.promo-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 18px;
}
.promo-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.promo-trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5000;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: none;
}
.promo-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}
.promo-trust-text strong {
    font-size: 13.5px;
    color: #1E293B;
}
.promo-trust-text span {
    font-size: 12px;
    color: #64748B;
}
.promo-hero-right {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    border-radius: 0;
    overflow: hidden;
    background: #FFF7F0;
}
.promo-hero-img {
    width: auto;
    height: 100%;
    max-width: none;
    margin-left: auto;
    object-fit: contain;
    object-position: right center;
    display: block;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}
.promo-hero-bubble {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #FFFFFF;
    color: #FF5000;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    padding: 12px 16px;
    border-radius: 50%;
    box-shadow: none;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promo-hero-ribbon {
    position: absolute;
    top: 18px;
    right: auto;
    bottom: auto;
    left: calc(56% + 18px);
    background: #FF5000;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: none;
}
.promo-hero-ribbon strong {
    font-size: 16px;
}
.promo-hero-tagline {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: #1E293B;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    text-align: right;
    padding: 8px 12px;
    border-radius: 10px;
}
.promo-mobile-hero-card {
    position: relative;
}
.promo-hero-ribbon-mobile {
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
    font-size: 11px;
    padding: 6px 10px;
}

/* Flash Sale extra controls */
.promo-flash-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.promo-countdown-label {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
}
.promo-view-all-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    color: #FF5000;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
}

/* Category Pills as solid buttons */
.promo-filters-block .cat-mob-pill {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #334155;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.promo-filters-block .cat-mob-pill.active {
    background: #FF5000;
    border-color: #FF5000;
    color: #FFFFFF;
}

/* White-box wrapper cho pills + sort (đồng bộ với khung sản phẩm) */
.promo-filters-block {
    display: block;
    padding: 16px;
}
.promo-filters-block .promo-cat-pills-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.promo-filters-block .promo-cat-pills-scroll::-webkit-scrollbar {
    display: none;
}
.promo-filters-divider {
    height: 1px;
    background: #F1F5F9;
    margin: 16px 0;
}
.promo-filters-block .promo-sort-toprow {
    margin-bottom: 12px;
}

/* Sort pills + display/view toggle row */
.promo-sort-toprow {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.promo-sort-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    flex-shrink: 0;
}
.promo-sort-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.promo-sort-pill-btn {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #334155;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.promo-sort-pill-btn.active {
    background: #FF5000;
    border-color: #FF5000;
    color: #FFFFFF;
}
.promo-display-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.promo-display-label {
    font-size: 13px;
    color: #64748B;
}
.promo-display-count {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
}

/* Real working list view for promo grid */
#promoGridEl.view-list {
    grid-template-columns: 1fr !important;
}
#promoGridEl.view-list .product-card {
    display: flex;
    align-items: stretch;
    gap: 16px;
}
#promoGridEl.view-list .product-thumb {
    width: 140px;
    flex-shrink: 0;
}
#promoGridEl.view-list .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#promoGridEl.view-list .product-title {
    -webkit-line-clamp: 1;
}

@media (max-width: 992px) {
    .promo-hero-card {
        flex-direction: column;
    }
    .promo-hero-right {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .promo-hero-section .promo-hero-card {
        display: none !important;
    }
    .promo-mobile-hero-card {
        min-height: 0 !important;
        height: auto !important;
        border-color: #FCD9BE !important;
        background: #FFF7F0 !important;
        box-shadow: none;
    }
    .promo-mobile-hero-card .cat-mobile-hero-img {
        width: 100% !important;
        height: auto !important;
        position: static !important;
        transform: none !important;
        object-fit: contain !important;
        object-position: center !important;
    }
    .promo-mobile-hero-card .cat-mobile-hero-copy {
        width: 59%;
        padding: 12px 0 12px 14px;
    }
    .promo-sort-toprow {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .promo-sort-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 4px;
    }
    .promo-sort-pill-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    .promo-flash-right {
        flex-wrap: wrap;
        gap: 8px;
    }
    .promo-view-all-btn {
        font-size: 12px;
        padding: 7px 12px;
    }
    .promo-countdown-label {
        display: none;
    }
}

.promo-products-block-container {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    padding: 16px;
}

/* Infinite scroll status (trang danh mục) */
.cat-infinite-scroll-status {
    text-align: center;
    padding: 16px 0 4px;
}
.cat-infinite-loading {
    color: #64748B;
    font-size: 13.5px;
}
.cat-infinite-loading i {
    color: #FF5000;
    margin-right: 6px;
}
.cat-infinite-end {
    color: #94A3B8;
    font-size: 13px;
}

/* ==========================================================================
   ĐỒNG BỘ KHOẢNG CÁCH GIỮA CÁC KHỐI (WHITE BOX) TOÀN SITE
   Desktop: 16px | Mobile: 12px — ghi đè toàn bộ margin-bottom lệch chuẩn cũ
   ========================================================================== */
.hero-section,
.trust-bar-section,
.products-section,
.section-featured-categories,
.bottom-categories-section,
.blog-hero-section,
.blog-nav-bar-section,
.blog-section-block,
.blog-content-section,
.blog-related-posts-section,
.blog-detail-bottom-section,
.cat-hero-banner-section,
.cat-filters-section,
.cat-products-grid-section,
.cat-pagination-section,
.promo-hero-section,
.contact-breadcrumb-section,
.contact-hero-section,
.contact-channels-section,
.contact-main-grid-section,
.policy-hero-section,
.checkout-voucher-section {
    margin-bottom: var(--box-gap) !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0 6px !important;
    }
    /* Các khung dưới đây nằm trong 1 box-stack wrapper (xem đầu file) nên khoảng cách
       đã tự động qua "gap", KHÔNG cần margin-bottom ở đây nữa: hero-section, trust-bar-section,
       products-section, section-featured-categories, bottom-categories-section, cat-hero-banner-section,
       cat-filters-section, cat-products-grid-section, cat-pagination-section, promo-hero-section,
       cat-mobile-pills-section, cat-mobile-toolbar-section, contact-breadcrumb-section, contact-hero-section,
       contact-channels-section, contact-main-grid-section, blog-mob-*-section. */
    .blog-hero-section,
    .blog-nav-bar-section,
    .blog-section-block,
    .blog-content-section,
    .blog-related-posts-section,
    .blog-detail-bottom-section,
    .policy-content-area .mob-nav-header,
    .policy-hero-section,
    .policy-features-grid,
    .policy-accordion-grid,
    .checkout-voucher-section {
        margin-bottom: 6px !important;
    }
    .hero-section,
    .trust-bar-section,
    .products-section,
    .section-featured-categories,
    .bottom-categories-section,
    .cat-hero-banner-section,
    .cat-filters-section,
    .cat-products-grid-section,
    .cat-pagination-section,
    .promo-hero-section,
    .contact-breadcrumb-section,
    .contact-hero-section,
    .contact-channels-section,
    .contact-main-grid-section,
    .products-section:not(.section-deal-hot),
    .blog-mob-hero-section,
    .blog-mob-pills-section,
    .blog-mob-featured-section,
    .blog-mob-cat-section,
    .blog-mob-trending-section,
    .blog-mob-topics-section,
    .blog-mob-newsletter-section,
    .cat-mobile-pills-section,
    .cat-mobile-toolbar-section {
        margin-bottom: 0 !important;
    }
    .blog-layout-grid,
    .contact-main-grid,
    .reviews-two-cols-layout,
    .faq-two-cols-layout,
    .promo-hero-card,
    .reviews-overview-box,
    .pdetail-lower-grid {
        gap: 6px !important;
    }
    .pdetail-main-card,
    .pdetail-tabs-card {
        margin-bottom: 0 !important;
    }
    .reviews-overview-box {
        margin-bottom: 6px !important;
    }
    .mob-post-body-wrap .mob-nav-header {
        margin-bottom: 0 !important;
    }
}
/* Desktop footer — clean five-column Kiboni layout. */
@media (min-width: 1200px) {
    .site-footer,
    .desktop-footer-only,
    .footer-main-content,
    .footer-bottom-section {
        background: #FFFBF7;
    }

    .footer-main-content {
        padding: 48px 0 38px;
        border-top: 1px solid #F6EEE8;
    }

    .footer-main-content .container,
    .footer-bottom-section .container {
        width: 100%;
        max-width: 1400px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .footer-grid-4 {
        grid-template-columns: 1.18fr 1fr 1fr 1.25fr 1.14fr;
        gap: 0;
        align-items: stretch;
    }

    .footer-grid-4 > .f-col {
        min-width: 0;
        min-height: 300px;
        padding: 0 28px;
    }

    .footer-grid-4 > .f-col:first-child {
        padding-left: 0;
    }

    .footer-grid-4 > .f-col + .f-col {
        border-left: 1px solid #E7E5E4;
    }

    .footer-grid-4 > .f-col:last-child {
        padding-right: 0;
    }

    .footer-logo-img {
        width: auto;
        height: 66px;
        max-width: 220px;
        object-fit: contain;
    }

    .brand-description {
        max-width: 265px;
        margin: 26px 0 28px;
        color: #64748B;
        font-size: 13px;
        line-height: 1.75;
    }

    .brand-tagline-image {
        display: block;
        width: min(100%, 285px);
        height: auto;
    }

    .f-col-title {
        margin: 5px 0 24px;
        color: #172033;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .f-icon-links li {
        margin-bottom: 16px;
    }

    .f-icon-links a {
        gap: 13px;
        color: #64748B;
        font-size: 13px;
        line-height: 1.35;
    }

    .f-icon-links a i {
        width: 18px;
        color: #53657D;
        font-size: 16px;
    }

    .f-contact-list {
        display: flex;
        flex-direction: column;
        gap: 17px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .f-contact-list li {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        color: #64748B;
        font-size: 13px;
        line-height: 1.5;
    }

    .f-contact-list li > i {
        margin-top: 2px;
        color: #53657D;
        font-size: 16px;
        text-align: center;
    }

    .f-contact-list strong,
    .f-contact-list a {
        color: #FF5000;
        font-weight: 500;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .social-channels-wrap {
        margin-bottom: 20px;
    }

    .social-icons-row {
        gap: 10px;
    }

    .s-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .s-zalo {
        font-size: 10px;
    }

    .newsletter-card {
        gap: 8px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .nl-title {
        margin: 5px 0 0;
        color: #172033;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .nl-desc {
        margin: 0;
        color: #64748B;
        font-size: 11.5px;
        line-height: 1.55;
    }

    .newsletter-card .nl-form {
        margin: 0;
    }

    .nl-input-wrap {
        height: 40px;
        margin-top: 2px;
        padding: 2px 2px 2px 12px;
        border-color: #F5CDB8;
        border-radius: 9px;
    }

    .nl-input {
        min-width: 0;
        font-size: 12px;
    }

    .nl-btn-submit {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        font-size: 13px;
    }

    .nl-security {
        margin-top: 2px;
        color: #8190A5;
        font-size: 10.5px;
    }

    .footer-bottom-section {
        padding: 0 0 28px;
        border-top: 0;
    }

    .bottom-grid-copyright-only {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 24px;
        padding-top: 24px;
        border-top: 1px solid #DDE2E8;
    }

    .copyright-block {
        grid-column: auto;
        flex: 0 0 auto;
    }

    .cp-text {
        margin: 0;
        color: #718096;
        font-size: 11.5px;
    }

    .footer-legal-links {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
        min-width: 0;
        color: #718096;
        font-size: 11.5px;
        white-space: nowrap;
    }

    .footer-legal-links a {
        color: inherit;
        text-decoration: none;
    }

    .footer-legal-links a:hover {
        color: #FF5000;
    }

    .footer-legal-links > span:not(.footer-happiness) {
        width: 1px;
        height: 18px;
        background: #D8DEE7;
    }

    .footer-happiness {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .footer-happiness i {
        color: #FF5000;
    }
}

/* Tablet and compact desktop: preserve the same content without squeezing five columns. */
@media (min-width: 769px) and (max-width: 1199px) {
    .site-footer,
    .desktop-footer-only,
    .footer-main-content,
    .footer-bottom-section {
        background: #FFFBF7;
    }

    .footer-main-content {
        padding: 38px 0 30px;
        border-top: 1px solid #F6EEE8;
    }

    .footer-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 0;
    }

    .footer-grid-4 > .f-col {
        min-width: 0;
        padding: 0 26px;
    }

    .footer-grid-4 > .f-col:nth-child(even) {
        border-left: 1px solid #E7E5E4;
    }

    .footer-grid-4 > .f-col:nth-child(odd) {
        padding-left: 0;
    }

    .f-col-connect {
        grid-column: 1 / -1;
        padding-left: 0 !important;
        border-left: 0 !important;
    }

    .f-col-connect .social-channels-wrap {
        margin-bottom: 18px;
    }

    .f-col-connect .newsletter-card {
        max-width: 520px;
    }

    .f-contact-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .f-contact-list li {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 10px;
        color: #64748B;
        font-size: 12px;
        line-height: 1.5;
    }

    .f-contact-list a,
    .f-contact-list strong {
        color: #FF5000;
        font-weight: 500;
        text-decoration: none;
    }

    .brand-tagline-image {
        display: block;
        width: min(100%, 285px);
        height: auto;
    }

    .footer-happiness i {
        color: #FF5000;
    }

    .bottom-grid-copyright-only {
        align-items: flex-start;
        padding-top: 20px;
    }

    .footer-legal-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 14px;
        color: #718096;
        font-size: 11px;
    }

    .footer-legal-links a {
        color: inherit;
        text-decoration: none;
    }

    .footer-legal-links > span:not(.footer-happiness) {
        width: 1px;
        height: 16px;
        background: #D8DEE7;
    }
}

/* Mobile footer v2 — branded, compact accordion layout. */
@media (max-width: 768px) {
    .mobile-footer-only {
        padding: 28px 0 20px !important;
        background: #FFFBF7 !important;
    }

    .mobile-footer-inner.mf-v2 {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        padding: 0 14px !important;
    }

    .mf-v2-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mf-v2-logo-link {
        display: inline-flex;
        align-items: center;
        margin-bottom: 14px;
    }

    .mf-v2-logo {
        display: block;
        width: 133px;
        max-width: 41vw;
        height: auto;
        object-fit: contain;
    }

    .mf-v2-description {
        margin: 0;
        color: #64748B;
        font-size: 14px;
        line-height: 1.62;
    }

    .mf-v2-tagline {
        display: block;
        width: min(100%, 310px);
        height: auto;
        margin-top: 7px;
    }

    .mf-v2-social {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin: 10px 0 18px;
    }

    .mf-v2-social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        color: #FFFFFF;
        font-size: 16px;
        text-decoration: none;
        box-shadow: none;
    }

    .mf-v2-social-link.is-facebook { background: #1877F2; }
    .mf-v2-social-link.is-tiktok { background: #050505; }
    .mf-v2-social-link.is-youtube { background: #FF0000; }
    .mf-v2-social-link.is-instagram { background: radial-gradient(circle at 30% 105%, #FDF497 0 5%, #FD5949 42%, #D6249F 62%, #285AEB 92%); }
    .mf-v2-social-link.is-zalo {
        background: #0868F3;
        font-size: 11px;
        font-weight: 800;
    }

    .mf-v2-newsletter {
        padding: 14px 14px 12px;
        background: linear-gradient(135deg, #FFF7F1 0%, #FFF2E8 100%);
        border: 1px solid #F8E1D3;
        border-radius: 18px;
        box-shadow: none;
    }

    .mf-v2-newsletter-head {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
        margin-bottom: 12px;
    }

    .mf-v2-newsletter-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #FFE6D5;
        color: #FF5000;
        font-size: 18px;
    }

    .mf-v2-newsletter h3 {
        margin: 0 0 4px;
        color: #172033;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: .01em;
    }

    .mf-v2-newsletter-head p {
        margin: 0;
        color: #64748B;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .mf-v2-newsletter-form {
        display: flex;
        align-items: center;
        height: 40px;
        overflow: hidden;
        background: #FFFFFF;
        border: 1px solid #FFD1B9;
        border-radius: 10px;
    }

    .mf-v2-newsletter-form input {
        flex: 1;
        min-width: 0;
        height: 100%;
        padding: 0 14px;
        color: #334155;
        font-size: 14px;
        background: transparent;
        border: 0;
        outline: 0;
    }

    .mf-v2-newsletter-form input::placeholder {
        color: #94A3B8;
    }

    .mf-v2-newsletter-form button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 40px;
        flex: 0 0 44px;
        color: #FFFFFF;
        font-size: 16px;
        background: #FF5000;
        border: 0;
        border-radius: 9px;
        cursor: pointer;
    }

    .mf-v2-security {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 11px 2px 0;
        color: #64748B;
        font-size: 11.5px;
        line-height: 1.35;
    }

    .mf-v2-security i {
        color: #8090A6;
    }

    .mf-v2-accordions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 22px;
        padding-top: 12px;
        border-top: 1px solid #E7E5E4;
    }

    .mf-v2-accordion {
        overflow: hidden;
        background: #FFFEFD;
        border: 1px solid #E1E4E8;
        border-radius: 14px;
    }

    .mf-v2-accordion[open] {
        border-color: #FFD0B7;
    }

    .mf-v2-accordion summary {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) 18px;
        align-items: center;
        gap: 10px;
        min-height: 52px;
        padding: 9px 15px;
        color: #172033;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.25;
        cursor: pointer;
        list-style: none;
    }

    .mf-v2-accordion summary::-webkit-details-marker {
        display: none;
    }

    .mf-v2-accordion-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        color: #FF5000;
        font-size: 18px;
    }

    .mf-v2-chevron {
        justify-self: end;
        font-size: 14px;
        transition: transform .22s ease;
    }

    .mf-v2-accordion[open] .mf-v2-chevron {
        color: #FF5000;
        transform: rotate(180deg);
    }

    .mf-v2-accordion > ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0 14px 14px;
        padding: 4px 14px 8px 44px;
        list-style: none;
        background: #FFFBF8;
        border-radius: 12px;
    }

    .mf-v2-accordion > ul li + li {
        border-top: 1px solid #F2E9E2;
    }

    .mf-v2-accordion > ul a {
        display: block;
        padding: 10px 0;
        color: #53657D;
        font-size: 13px;
        line-height: 1.35;
        text-decoration: none;
    }

    .mf-v2-contact-list {
        padding: 11px 14px !important;
    }

    .mf-v2-contact-list li {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        padding: 9px 0;
        color: #64748B;
        font-size: 13px;
        line-height: 1.45;
    }

    .mf-v2-contact-list li > i {
        margin-top: 2px;
        color: #FF5000;
        font-size: 16px;
        text-align: center;
    }

    .mf-v2-contact-list strong,
    .mf-v2-contact-list a {
        display: inline !important;
        padding: 0 !important;
        color: #FF5000 !important;
        font-weight: 500;
        overflow-wrap: anywhere;
    }

    .mf-v2-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 22px;
        padding-top: 17px;
        border-top: 1px solid #E7E5E4;
        color: #718096;
        text-align: center;
    }

    .mf-v2-bottom p {
        margin: 0;
        font-size: 10.5px;
        line-height: 1.4;
    }

    .mf-v2-bottom-links {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 11px;
    }

    .mf-v2-bottom-links a {
        color: #64748B;
        text-decoration: none;
    }

    .mf-v2-bottom-links span {
        width: 1px;
        height: 14px;
        background: #D8DEE7;
    }
}

/* Floating quick-contact widget — desktop and mobile. */
.kb-contact-float {
    position: fixed;
    right: 26px;
    bottom: 28px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #172033;
    pointer-events: none;
}

.kb-contact-float-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    margin-bottom: 0;
    visibility: hidden;
    pointer-events: none;
}

.kb-contact-option {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    color: #172033;
    text-decoration: none;
    background: transparent;
    border: 0;
    opacity: 0;
    transform: translateY(10px) scale(.92);
    transition: opacity .2s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}

.kb-contact-float.is-open .kb-contact-float-menu {
    visibility: visible;
    pointer-events: auto;
}

.kb-contact-float.is-open .kb-contact-option {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.kb-contact-float.is-open .kb-contact-option:nth-child(1) { transition-delay: .12s; }
.kb-contact-float.is-open .kb-contact-option:nth-child(2) { transition-delay: .09s; }
.kb-contact-float.is-open .kb-contact-option:nth-child(3) { transition-delay: .06s; }
.kb-contact-float.is-open .kb-contact-option:nth-child(4) { transition-delay: .03s; }

.kb-contact-option-icon,
.kb-contact-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 18px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 5px 16px rgba(23, 32, 51, .18);
}

.kb-contact-option-label,
.kb-contact-hint {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #E8E2DE;
    border-radius: 10px;
    color: #334155;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
    box-shadow: 0 4px 13px rgba(23, 32, 51, .1);
}

.kb-contact-option-label strong {
    display: block;
    color: #334155;
    font-size: 10px;
}

.kb-contact-option-label small {
    display: block;
    margin-left: 4px;
    color: #FF5000;
    font-size: 10px;
    font-weight: 700;
}

.kb-contact-option.is-hotline .kb-contact-option-label {
    flex-direction: column;
    align-items: flex-start;
}

.kb-contact-option.is-hotline .kb-contact-option-label small {
    margin: 2px 0 0;
}

.kb-contact-option.is-hotline .kb-contact-option-icon,
.kb-contact-option.is-map .kb-contact-option-icon {
    background: #FF5A1F;
}

.kb-contact-option.is-zalo .kb-contact-option-icon {
    background: #0868F3;
    font-size: 10px;
    font-weight: 800;
}

.kb-contact-option.is-messenger .kb-contact-option-icon {
    background: #1977F3;
    font-size: 21px;
}

.kb-contact-close .kb-contact-option-icon {
    background: #F1F5F9;
    color: #94A3B8;
}

.kb-contact-toggle {
    position: relative;
    width: 62px;
    height: 62px;
    padding: 0;
    background: #FF5A1F;
    border-width: 4px;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 22px rgba(255, 80, 0, .34);
    animation: kiboni-contact-pulse 2.2s ease-out infinite;
}

.kb-contact-toggle::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(255, 80, 0, .25);
    border-radius: 50%;
}

.kb-contact-float.is-open .kb-contact-toggle {
    animation: none;
}

.kb-contact-hint {
    position: absolute;
    right: 76px;
    bottom: 13px;
    color: #334155;
    font-weight: 700;
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}

.kb-contact-float.is-open .kb-contact-hint {
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
}

.kb-contact-option:hover .kb-contact-option-icon,
.kb-contact-toggle:hover {
    transform: translateY(-2px);
}

@keyframes kiboni-contact-pulse {
    0%, 58%, 100% { box-shadow: 0 8px 22px rgba(255, 80, 0, .34); }
    72% { box-shadow: 0 8px 22px rgba(255, 80, 0, .34), 0 0 0 10px rgba(255, 80, 0, 0); }
}

@media (max-width: 768px) {
    .kb-contact-float {
        right: 13px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }

    body.single-product .kb-contact-float,
    body.page-template-page-product-detail .kb-contact-float,
    body.page-template-page-checkout .kb-contact-float {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    .kb-contact-float-menu {
        gap: 7px;
        bottom: calc(100% + 10px);
    }

    .kb-contact-option-icon {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .kb-contact-option-label {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 9px;
    }

    .kb-contact-toggle {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .kb-contact-hint {
        display: inline-flex;
        right: 70px;
        bottom: 12px;
        min-height: 32px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kb-contact-toggle {
        animation: none;
    }

    .kb-contact-option,
    .kb-contact-hint {
        transition: none;
    }
}

/* ==========================================================================
   BREADCRUMB CHUẨN DÙNG CHUNG TOÀN SITE
   Trước đây mỗi trang tự viết 1 class breadcrumb riêng (cart, checkout, policy,
   contact, blog, product...) nên font-size/màu bị lệch nhau. Khối này đồng bộ
   tất cả về đúng 1 kiểu (theo trang danh mục sản phẩm) — sửa ở đây là áp dụng
   cho toàn site, không cần sửa từng trang.
   ========================================================================== */
.cat-banner-bc-overlay,
.cart-breadcrumbs,
.checkout-breadcrumbs,
.policy-breadcrumbs,
.contact-breadcrumb-nav,
.blog-portal-breadcrumbs,
.blog-detail-breadcrumbs,
.pdetail-breadcrumb {
    font-size: 14px;
    line-height: 1.3;
    color: #64748B;
}

.cat-bc-overlay-link,
.cart-breadcrumbs a,
.checkout-breadcrumbs a,
.policy-breadcrumbs a,
.contact-bc-link,
.blog-portal-breadcrumbs a,
.blog-detail-breadcrumbs a,
.pdetail-breadcrumb a {
    color: #64748B;
}

.cat-bc-overlay-link:hover,
.cart-breadcrumbs a:hover,
.checkout-breadcrumbs a:hover,
.policy-breadcrumbs a:hover,
.contact-bc-link:hover,
.blog-portal-breadcrumbs a:hover,
.blog-detail-breadcrumbs a:hover,
.pdetail-breadcrumb a:hover {
    color: #FF5000;
}

.cat-bc-overlay-sep,
.cart-breadcrumbs .sep,
.checkout-breadcrumbs .sep,
.policy-breadcrumbs .bc-sep,
.contact-bc-sep,
.blog-portal-breadcrumbs .sep,
.blog-detail-breadcrumbs .sep,
.pdetail-breadcrumb .bc-sep {
    color: #CBD5E1;
    font-size: 14px;
}

.cat-bc-overlay-current,
.cart-breadcrumbs .current,
.checkout-breadcrumbs .current,
.policy-breadcrumbs .bc-current,
.contact-bc-current,
.blog-portal-breadcrumbs .current,
.blog-detail-breadcrumbs .current,
.pdetail-breadcrumb .bc-current {
    color: #334155;
    font-weight: 600;
}

/* ==========================================================================
   KIBONI DESKTOP HEADER — compact styling based on the approved reference
   The existing HTML structure is intentionally preserved. Mobile is untouched.
   ========================================================================== */
@media (min-width: 769px) {
    .topbar {
        display: none !important;
    }

    .main-header {
        min-height: 106px;
        padding: 18px 0;
        background: linear-gradient(90deg, #ffffff 0%, #fffdfc 68%, #fff7f2 100%);
        border-bottom: 0;
    }

    .header-inner {
        gap: 32px;
    }

    .main-header .brand-logo .logo-img-desktop,
    .header-logo .logo-img-desktop,
    .logo-img-desktop {
        width: 240px !important;
        max-width: 240px !important;
        height: auto !important;
    }

    .header-search {
        max-width: 686px;
        min-width: 300px;
        margin: 0;
    }

    .search-form-wrap {
        height: 58px;
        padding: 4px 5px 4px 22px;
        border: 2px solid #ffe0d0;
        background: #fff;
    }

    .search-icon-btn {
        margin-right: 14px;
        font-size: 19px;
        color: #182236;
    }

    .search-input,
    .search-input::placeholder {
        font-size: 15px;
    }

    .search-input::placeholder {
        color: #6f7b8e;
    }

    .search-btn {
        min-width: 152px;
        height: 48px;
        justify-content: center;
        gap: 10px;
        padding: 0 25px;
        background: linear-gradient(135deg, #ff650d 0%, #ff4700 100%);
        font-size: 16px;
    }

    .search-btn i {
        font-size: 17px;
    }

    .header-actions {
        gap: 12px;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .header-actions .action-divider {
        display: none;
    }

    .header-actions .action-btn {
        min-height: 56px;
        padding: 7px 18px 7px 10px;
        border-radius: 999px;
        gap: 11px;
        white-space: nowrap;
        background: #ffffff;
        border: 1.5px solid #ffe8db;
        transition: all 0.25s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    }

    .header-actions .action-btn:hover {
        background: #fff9f5;
        border-color: #ffd2bb;
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(255, 86, 8, 0.1);
    }

    .header-actions .tracking-btn {
        min-width: 158px;
    }

    .header-actions .cart-btn {
        min-width: 158px;
    }

    .header-actions .icon-wrap,
    .header-actions .icon-badge-wrap {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 50%;
        background: #fff0e6;
        color: #ff5608;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: all 0.25s ease;
    }

    .header-actions .action-btn:hover .icon-wrap,
    .header-actions .action-btn:hover .icon-badge-wrap {
        background: #ffe5d4;
        transform: scale(1.05);
    }

    .header-actions .cart-badge {
        position: absolute;
        top: -3px;
        right: -4px;
        background: linear-gradient(135deg, #ff650d 0%, #ff4700 100%);
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
        min-width: 19px;
        height: 19px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #ffffff;
        padding: 0 4px;
        box-shadow: 0 2px 6px rgba(255, 71, 0, 0.35);
    }

    .header-actions .action-text {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .header-actions .action-label {
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.25;
    }

    .header-actions .action-sublabel {
        font-size: 12px;
        font-weight: 500;
        color: #64748b;
        line-height: 1.25;
    }

    .main-navbar {
        padding: 0 0 12px;
        background: linear-gradient(90deg, #fffdfb 0%, #fff8f3 100%);
        border-top: 0;
        border-bottom: 1px solid #ffeadf;
    }

    .main-navbar .navbar-inner {
        width: calc(100% - 48px);
        max-width: 1352px;
    }

    .navbar-inner {
        min-height: 64px;
        align-items: center;
        gap: 28px;
        padding: 7px 0 !important;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(255, 238, 229, 0.95);
        border-radius: 20px;
    }

    .btn-all-categories {
        width: 250px;
        height: 50px;
        padding: 0 14px;
        gap: 8px;
        border-radius: 16px;
        background: linear-gradient(135deg, #ff650d 0%, #ff4700 100%);
        font-size: 15px;
        white-space: nowrap;
    }

    .btn-all-categories::after {
        content: "\f054";
        margin-left: auto;
        font-family: "Font Awesome 6 Free";
        font-size: 13px;
        font-weight: 900;
    }

    .nav-links {
        align-items: center;
        gap: 14px;
    }

    .nav-link {
        height: 46px;
        padding: 0 24px;
        border-color: #edf0f3;
        background: #fff;
        font-size: 14px;
    }

    .nav-link i {
        font-size: 16px;
    }

    .nav-item.active .nav-link {
        border-color: #ffe8dc;
        background: #fff5ee;
    }

    .nav-item.active::after {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1280px) {
    .header-inner {
        gap: 18px;
    }

    .main-header .brand-logo .logo-img-desktop,
    .header-logo .logo-img-desktop,
    .logo-img-desktop {
        width: 195px !important;
        max-width: 195px !important;
    }

    .search-btn {
        min-width: 112px;
        padding: 0 18px;
    }

    .header-actions .action-btn {
        min-width: 0;
        padding: 8px 12px;
    }

    .header-actions .tracking-btn,
    .header-actions .cart-btn {
        min-width: 145px;
    }

    .navbar-inner {
        gap: 14px;
    }

    .btn-all-categories {
        font-size: 14px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-link {
        padding: 0 14px;
        font-size: 13px;
    }
}

/* ==========================================================================
   KIBONI ORDER TRACKING — CLEAN 1-COLUMN DESIGN (FULL CONTAINER)
   ========================================================================== */
.page-entry-article.post-196 {
    max-width: 100% !important;
}

.kb-track-page-inner {
    width: 100%;
    max-width: 820px;
    margin: 10px auto 16px;
}

.kb-track-header {
    text-align: center;
    margin-bottom: 28px;
}

.kb-track-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff7ed;
    color: #ff520f;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(255, 82, 15, 0.12);
}

.kb-track-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.kb-track-subtitle {
    font-size: 14.5px;
    color: #64748b;
    margin: 0 auto;
    line-height: 1.55;
    max-width: 560px;
}

.kb-track-form-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 32px 28px;
}

.kb-track-form-box .woocommerce-form-track-order,
.woocommerce-form-track-order {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.kb-track-form-box .woocommerce-form-track-order > p:first-child,
.woocommerce-form-track-order > p:first-child {
    display: none !important;
}

.woocommerce-form-track-order {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.woocommerce-form-track-order .form-row-first,
.woocommerce-form-track-order .form-row-last {
    flex: 1 1 calc(50% - 8px);
    margin: 0 !important;
}

.woocommerce-form-track-order p.form-row:has(button),
.woocommerce-form-track-order p.form-row:last-of-type {
    flex: 1 1 100% !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
}

.woocommerce-form-track-order .clear {
    display: none !important;
}

.woocommerce-form-track-order label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.woocommerce-form-track-order .input-text {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 14.5px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.woocommerce-form-track-order .input-text:focus {
    border-color: #ff520f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 82, 15, 0.12);
}

.woocommerce-form-track-order button.button {
    width: 100% !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #ff650d 0%, #ff4700 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(255, 82, 15, 0.28) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-form-track-order button.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 82, 15, 0.38) !important;
    filter: brightness(1.04);
}

.kb-track-helper-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: #fffbf5;
    border: 1px dashed #fed7aa;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.5;
    color: #9a3412;
}

.kb-track-helper-box br,
.kb-track-footer-support br {
    display: none !important;
}

.kb-track-helper-box i {
    font-size: 16px;
    color: #ea580c;
    flex-shrink: 0;
    margin-top: 2px;
}

.kb-track-footer-support {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.kb-track-footer-support a {
    color: #ff520f;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.kb-track-footer-support a:hover {
    text-decoration: underline;
}

.kb-track-footer-support .sep {
    color: #cbd5e1;
}

/* Order tracking result styling */
.woocommerce .order-info {
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    border-radius: 12px;
    color: #166534;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 24px;
}

.woocommerce .order-info mark.order-status {
    background: #22c55e;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-block;
}

.woocommerce .order-info mark.order-number,
.woocommerce .order-info mark.order-date {
    background: transparent;
    font-weight: 700;
    color: #15803d;
}

.woocommerce .commentlist.notes {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.woocommerce .commentlist.notes li.comment {
    padding: 14px 18px;
    background: #f8fafc;
    border-left: 4px solid #ff520f;
    border-radius: 0 10px 10px 0;
    margin-bottom: 12px;
}

.woocommerce .commentlist.notes li.comment .meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
    font-weight: 600;
}

.woocommerce .commentlist.notes li.comment .description {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .woocommerce-form-track-order .form-row-first,
    .woocommerce-form-track-order .form-row-last {
        flex: 1 1 100%;
    }
    .kb-track-form-box {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .kb-track-title {
        font-size: 20px;
    }
    .kb-track-footer-support {
        flex-direction: column;
        gap: 6px;
    }
    .kb-track-footer-support .sep {
        display: none;
    }
}

/* Mobile action captions are only used by the reference-style mobile header. */
.mobile-action-label {
    display: none;
}

/* ==========================================================================
   KIBONI MOBILE HEADER — reference layout, desktop rules remain untouched
   ========================================================================== */
@media (max-width: 768px) {
    .main-header {
        min-height: 0 !important;
        padding: calc(env(safe-area-inset-top, 0px) + 8px) 14px 14px !important;
        background-color: #ff520f !important;
        background-image: linear-gradient(135deg, #ff6814 0%, #ff3f0b 100%) !important;
        border: 0 !important;
        border-radius: 0 0 28px 28px !important;
        box-shadow: none !important;
    }

    .main-header .header-inner {
        align-items: center !important;
        min-height: 0;
    }

    .mobile-menu-toggle {
        width: 40px !important;
        height: 44px !important;
        font-size: 28px !important;
        justify-content: flex-start !important;
    }

    .header-logo {
        min-width: 0;
        margin-left: 2px !important;
    }

    .logo-img-mobile {
        width: auto !important;
        height: 40px !important;
        max-width: 138px !important;
    }

    .header-actions {
        align-self: center;
        gap: 8px !important;
        margin-left: 4px !important;
    }

    .header-actions .action-btn {
        width: 32px;
        min-width: 32px !important;
        color: #fff !important;
        line-height: 1.05;
    }

    .header-actions .tracking-btn .icon-wrap,
    .header-actions .cart-btn .icon-badge-wrap {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        color: #ff520f !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }

    .header-actions .tracking-btn .icon-wrap i,
    .header-actions .cart-btn .icon-badge-wrap i {
        color: #ff520f !important;
    }

    .header-actions .cart-btn .icon-badge-wrap {
        font-size: 14.5px !important;
    }

    .header-actions .action-btn:hover .icon-wrap,
    .header-actions .action-btn:hover .icon-badge-wrap,
    .header-actions .action-btn:focus .icon-wrap,
    .header-actions .action-btn:focus .icon-badge-wrap,
    .header-actions .action-btn:active .icon-wrap,
    .header-actions .action-btn:active .icon-badge-wrap {
        background: #ffffff !important;
        color: #ff520f !important;
    }

    .header-actions .cart-badge {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 15px !important;
        height: 15px !important;
        padding: 0 2px !important;
        background: #fd5315 !important;
        border: 1.5px solid #ffffff !important;
        border-radius: 999px !important;
        color: #ffffff !important;
        font-size: 9.5px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .header-actions .mobile-action-label {
        display: none !important;
    }

    .header-search {
        margin-top: 9px !important;
    }

    .search-form-wrap {
        height: 34px !important;
        padding: 0 14px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .mob-search-icon-btn,
    .search-icon-btn {
        margin-right: 10px !important;
        color: #152039 !important;
        font-size: 17px !important;
    }

    .search-input,
    .search-input::placeholder {
        font-size: 14px !important;
    }

    .search-input::placeholder {
        color: #9aa6b9 !important;
    }

    .mob-scan-btn {
        margin-left: 10px !important;
        color: #152039 !important;
    }

    .mob-scan-btn svg {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 374px) {
    .main-header {
        padding-right: 11px !important;
        padding-left: 11px !important;
    }

    .mobile-menu-toggle {
        width: 38px !important;
        font-size: 26px !important;
    }

    .logo-img-mobile {
        height: 37px !important;
        max-width: 128px !important;
    }

    .header-actions {
        gap: 5px !important;
        margin-left: 2px !important;
    }

    .header-actions .action-btn {
        width: 28px;
        min-width: 28px !important;
    }

    .header-actions .tracking-btn .icon-wrap,
    .header-actions .cart-btn .icon-badge-wrap {
        width: 28px !important;
        height: 28px !important;
        font-size: 12.5px !important;
    }

    .header-actions .cart-btn .icon-badge-wrap {
        font-size: 13px !important;
    }

    .header-actions .cart-badge {
        min-width: 14px !important;
        height: 14px !important;
        font-size: 8.5px !important;
        top: -3px !important;
        right: -3px !important;
    }
}


/* Real customer forms and freeship feedback */
.kb-form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.kiboni-newsletter-message {
    min-height: 18px;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45;
}
.kiboni-newsletter-message:empty { display: none; }
.kiboni-newsletter-message.is-success { color: #15803d; }
.kiboni-newsletter-message.is-error { color: #dc2626; }
.kb-form-privacy-note {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}
.kb-form-privacy-note a { color: #e65300; text-decoration: underline; }
.checkout-freeship-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.45;
}
.checkout-freeship-note.is-qualified {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}
