    :root {
        --primary-blue: #1e4fa0;
        --top-bar-gray: #5f6368;
        --text-dark: #333;
        --text-light: #666;
        --font-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

    body {
        font-family: var(--font-primary);
        font-size: 16px;
        line-height: 1.6;
        color: var(--text-dark);
    }

    /* Top Bar */
    .top-bar {
        background-color: var(--top-bar-gray);
        color: white;
        font-size: 0.875rem;
        padding: 0.5rem 0;
    }

    .top-bar a {
        color: white;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .top-bar a:hover {
        opacity: 0.8;
    }

    .top-bar .bi-whatsapp {
        margin-right: 0.25rem;
    }

    .language-switcher {
        display: none;
    }

    /* Language Switcher */
    .lang-switcher {
        display: inline-flex;
        gap: 4px;
        align-items: center;
    }

    .lang-btn {
        display: inline-flex;
        align-items: center;
        padding: 4px;
        background: transparent;
        border: 2px solid transparent;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s ease;
        opacity: 0.6;
    }

    .lang-btn:hover {
        opacity: 1;
    }

    .lang-btn.active {
        opacity: 1;
        border-color: rgba(255,255,255,0.6);
    }

    .lang-btn .flag-img {
        width: 24px;
        height: 16px;
        object-fit: cover;
        border-radius: 2px;
    }

    /* Browser Translate Toast */
    .translate-toast {
        position: fixed;
        top: 80px;
        right: 20px;
        background: #1e4fa0;
        color: #fff;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        z-index: 9999;
        max-width: 320px;
        animation: slideInRight 0.3s ease;
    }

    .translate-toast-title {
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .translate-toast-body {
        font-size: 0.875rem;
        line-height: 1.5;
        opacity: 0.9;
    }

    .translate-toast-close {
        position: absolute;
        top: 8px;
        right: 8px;
        background: none;
        border: none;
        color: #fff;
        opacity: 0.7;
        cursor: pointer;
        padding: 4px;
        line-height: 1;
    }

    .translate-toast-close:hover {
        opacity: 1;
    }

    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Topbar Social Icons (Mobile) */
    .topbar-social-icons {
        display: inline-flex;
        gap: 0.75rem;
        align-items: center;
    }

    .topbar-icon {
        color: white;
        font-size: 1rem;
        text-decoration: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .topbar-icon:hover {
        opacity: 0.8;
        transform: translateY(-2px);
    }

    /* Header Middle Section */
    .header-middle {
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .logo-container {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .logo-cinvico {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

    .logo-leanpro {
        height: 50px;
        width: auto;
        object-fit: contain;
    }

    /* Search Box */
    .search-box {
        position: relative;
        max-width: 500px;
        margin: 0 auto;
    }

    .search-box input {
        border: 1px solid #ddd;
        border-radius: 25px;
        padding: 0.625rem 3rem 0.625rem 1.25rem;
        width: 100%;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .search-box input:focus {
        outline: none;
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 0.2rem rgba(30, 79, 160, 0.15);
    }

    .search-box button {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: var(--text-light);
        cursor: pointer;
        padding: 0.5rem;
        transition: color 0.3s ease;
    }

    .search-box button:hover {
        color: var(--primary-blue);
    }

    /* Social Icons */
    .social-icons {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        color: white;
        text-decoration: none;
        transform: translateZ(0);
        transition: box-shadow 0.2s ease, filter 0.2s ease;
        backface-visibility: hidden;
    }

    .social-icon:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        filter: brightness(1.1);
        color: white;
    }

    .social-icon.cart {
        background-color: #1e4fa0;
    }

    .social-icon.facebook {
        background-color: #1877f2;
    }

    .social-icon.youtube {
        background-color: #ff0000;
    }

    .social-icon.zalo {
        background-color: #0084ff;
    }

    /* Main Navigation */
    .main-nav {
        background-color: var(--primary-blue);
        padding: 0;
        position: relative;
        z-index: 1000;
        transition: box-shadow 0.3s ease;
    }

    /* Sticky Navigation on Desktop */
    @media (min-width: 992px) {
        .main-nav {
            position: sticky;
            top: 0;
        }

        body.is-scrolled .main-nav {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        }
    }

    /* Smart Sticky Header for Mobile */
    @media (max-width: 991.98px) {
        /* Header-middle sticky on mobile */
        .header-middle {
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: box-shadow 0.2s ease;
        }

        body.is-scrolled .header-middle {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        /* Hide topbar when scrolled */
        .top-bar {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        }

        body.is-scrolled .top-bar {
            display: none;
        }
    }

    .main-nav .navbar-nav {
        width: 100%;
        justify-content: space-between;
    }

    .main-nav .nav-link {
        color: white !important;
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    @media (min-width: 1200px) {
        .main-nav .nav-link {
            padding: 1rem 1rem;
            font-size: 0.9375rem;
        }
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link:focus {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Parent item needs position relative for dropdown positioning */
    .main-nav .nav-item {
        position: relative;
    }

    /* Dropdown menu - hidden by default, show on hover */
    .main-nav .nav-item.has-dropdown > .dropdown-menu {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        padding: 8px 0;
        margin: 0;
        background: #fff;
        border: none;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        z-index: 1050;
        pointer-events: none;
    }

    /* Show dropdown on hover */
    .main-nav .nav-item.has-dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .main-nav .dropdown-item {
        display: block;
        padding: 10px 20px;
        font-size: 0.9rem;
        color: #333;
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
        position: relative;
    }

    .main-nav .dropdown-item::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%) scaleX(0);
        width: 3px;
        height: 60%;
        background: var(--primary-blue);
        border-radius: 2px;
        transition: transform 0.2s ease;
        transform-origin: left center;
    }

    .main-nav .dropdown-item:hover {
        background-color: #f0f4f8;
        color: var(--primary-blue);
    }

    .main-nav .dropdown-item:hover::before {
        transform: translateY(-50%) scaleX(1);
    }

    /* Home icon - same line height as other nav items */
    .main-nav .nav-link.nav-home {
        padding: 14px 16px;
    }

    .main-nav .nav-link.nav-home i {
        font-size: 1.25rem;
        line-height: 1;
        vertical-align: middle;
    }

    /* Mobile Menu Toggle */
    .mobile-toggle {
        background-color: var(--primary-blue);
        border: none;
        color: white;
        padding: 0.5rem;
        font-size: 1.5rem;
        cursor: pointer;
        transition: opacity 0.3s ease;
        margin-left: auto;
        display: block;
        min-width: 44px;
        min-height: 44px;
    }

    .mobile-toggle:hover {
        opacity: 0.8;
    }

    @media (max-width: 991.98px) {
        .main-nav .container {
            display: flex;
            justify-content: flex-end;
        }
    }

    /* ============================================
       MOBILE MENU - Professional & Refined
       ============================================ */

    /* Overlay on top of floating-contact */
    .offcanvas {
        z-index: 10000 !important;
    }
    .offcanvas-backdrop {
        z-index: 9999 !important;
    }

    #mobileMenu {
        max-width: 320px;
        border-right: none;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    }

    #mobileMenu .offcanvas-header {
        background: #fff;
        border-bottom: 1px solid #e9ecef;
        padding: 1rem 1.25rem;
    }

    #mobileMenu .offcanvas-body {
        padding: 0;
        background: #fff;
    }

    .mobile-menu-logo {
        max-height: 44px;
        width: auto;
    }

    /* Search Box */
    #mobileMenu .offcanvas-body > form {
        padding: 1rem 1.25rem;
        background: #f8f9fa;
        border-bottom: 1px solid #e9ecef;
    }

    #mobileMenu .offcanvas-body > form .form-control {
        border: none;
        border-radius: 8px;
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    #mobileMenu .offcanvas-body > form .btn {
        border: none;
        background: var(--primary-blue);
        color: #fff;
        border-radius: 8px;
        padding: 0.625rem 0.875rem;
    }

    /* Navigation List */
    .mobile-nav-list {
        list-style: none;
        padding: 0.5rem 0;
        margin: 0;
    }

    .mobile-nav-item {
        border-bottom: none;
        margin: 0 0.75rem;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        padding: 0.875rem 1rem;
        color: #333;
        text-decoration: none;
        font-size: 0.9375rem;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .mobile-nav-link i {
        font-size: 1.1rem;
        color: var(--primary-blue);
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:focus {
        background: #f0f4f8;
        color: var(--primary-blue);
    }

    /* Parent item with link + toggle */
    .mobile-nav-parent {
        display: flex;
        align-items: stretch;
        background: transparent;
        border-radius: 8px;
        overflow: hidden;
    }

    .mobile-nav-parent .mobile-nav-link {
        flex: 1;
        border-right: none;
        border-radius: 8px 0 0 8px;
    }

    .mobile-submenu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 44px;
        background: transparent;
        border: none;
        padding: 0;
        color: #6c757d;
        cursor: pointer;
        transition: all 0.2s ease;
        border-radius: 0 8px 8px 0;
    }

    .mobile-submenu-toggle:hover {
        background: #f0f4f8;
        color: var(--primary-blue);
    }

    .mobile-submenu-toggle i {
        transition: transform 0.25s ease;
        font-size: 0.75rem;
    }

    .mobile-submenu-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    .mobile-submenu-toggle[aria-expanded="true"] {
        color: var(--primary-blue);
    }

    /* Submenu */
    .mobile-submenu {
        background: transparent;
        padding: 0 0 0.5rem 0;
        margin-left: 1rem;
        border-left: 2px solid #e9ecef;
    }

    .mobile-submenu-link {
        display: block;
        padding: 0.625rem 1rem 0.625rem 1.25rem;
        color: #555;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 400;
        transition: all 0.2s ease;
        position: relative;
    }

    .mobile-submenu-link::before {
        content: '';
        position: absolute;
        left: -2px;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 0;
        background: var(--primary-blue);
        transition: height 0.2s ease;
    }

    .mobile-submenu-link:hover,
    .mobile-submenu-link:focus {
        color: var(--primary-blue);
    }

    .mobile-submenu-link:hover::before {
        height: 60%;
    }

    /* Auth Section */
    #mobileMenu .offcanvas-body > .border-top {
        background: #f8f9fa;
        border-top: 1px solid #e9ecef !important;
        padding: 1.25rem !important;
        margin-top: auto !important;
    }

    #mobileMenu .offcanvas-body > .border-top .btn {
        border-radius: 8px;
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    #mobileMenu .offcanvas-body > .border-top .btn-primary {
        background: var(--primary-blue);
        border-color: var(--primary-blue);
    }

    #mobileMenu .offcanvas-body > .border-top .btn-outline-primary {
        color: var(--primary-blue);
        border-color: var(--primary-blue);
    }

    #mobileMenu .offcanvas-body > .border-top .btn-outline-primary:hover {
        background: var(--primary-blue);
        color: #fff;
    }

    /* Content Area */
    .content-area {
        min-height: 60vh;
        padding: 0;
    }

    /* ── Section Spacing Rhythm ──────────────────── */
    .featured-categories-section,
    .featured-products-section,
    .products-section,
    .about-section,
    .services-section,
    .projects-featured-section,
    .gallery-section,
    .partners-section,
    .news-section,
    .testimonials-section,
    .cinvico-contact-section {
        padding: 4.5rem 0;
    }

    @media (max-width: 767.98px) {
        .featured-categories-section,
        .featured-products-section,
        .products-section,
        .about-section,
        .services-section,
        .projects-featured-section,
        .gallery-section,
        .partners-section,
        .news-section,
        .testimonials-section,
        .cinvico-contact-section {
            padding: 2.75rem 0;
        }
    }

    /* Products Section */
    .products-section {
        padding: 4.5rem 0;
    }

    @media (max-width: 767.98px) {
        .products-section {
            padding: 1.5rem 0 2.75rem;
        }
    }

    .section-header {
        background-color: var(--primary-blue);
        margin-bottom: 2rem;
    }

    .section-header h2 {
        color: white;
        font-size: 1.5rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
        padding: 1rem 0;
        text-align: center;
    }

    /* Promo Countdown */
    .promo-countdown {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }

    .promo-countdown .countdown-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
    }

    .promo-countdown .countdown-value {
        background: linear-gradient(135deg, #e53935, #c62828);
        color: #fff;
        font-weight: 700;
        font-size: 1.35rem;
        padding: 0.4rem 0.65rem;
        border-radius: 6px;
        min-width: 46px;
        text-align: center;
        font-variant-numeric: tabular-nums;
        letter-spacing: 1px;
        box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4);
    }

    .promo-countdown .countdown-label {
        font-size: 0.625rem;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .promo-countdown .countdown-sep {
        color: #fff;
        font-size: 1.35rem;
        font-weight: 700;
        line-height: 1;
        margin-bottom: 1rem;
        opacity: 0.6;
    }

    /* Product Boxes */
    .promo-box,
    .bestseller-box {
        background-color: #f8f9fa;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        height: 100%;
    }

    .box-header {
        font-size: 0.9375rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        background: #ffd800;
        color: #333;
        padding: 5px 35px;
        position: relative;
        height: 42px;
        display: inline-flex;
        align-items: center;
        border: none;
        line-height: 1;
    }

    .box-header::after {
        content: "";
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-left: 35px solid #ffd800;
        border-bottom: 42px solid transparent;
        position: absolute;
        top: 0;
        left: 100%;
    }

    .promo-box .box-header,
    .bestseller-box .box-header {
        margin-bottom: 0;
    }

    /* Header wrapper for bestseller box */
    .box-header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0;
        background-color: white;
        flex-wrap: wrap;
    }

    .box-header-wrapper .box-header {
        margin-bottom: 0;
    }

    .box-header-wrapper .products-tabs {
        margin-bottom: 0;
        border-bottom: none;
        flex: 1;
        justify-content: flex-end;
    }

    .box-content {
        padding: 1.5rem;
        background-color: white;
    }

    .promo-box .box-content {
        padding: 1rem;
    }

    .bestseller-box .box-content {
        padding: 0 1.5rem 1.5rem;
    }

    /* Product Tabs */
    .bestseller-box .products-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.5rem;
        padding-bottom: 0;
        scrollbar-width: none;
    }

    .bestseller-box .products-tabs::-webkit-scrollbar {
        display: none;
    }

    .bestseller-box .products-tabs .nav-item {
        flex-shrink: 0;
    }

    .bestseller-box .products-tabs .nav-item {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .bestseller-box .products-tabs .nav-link {
        border: none;
        border-bottom: 2px solid transparent;
        border-radius: 4px;
        padding: 0.375rem 0.75rem;
        font-weight: 500;
        font-size: 0.75rem;
        text-transform: none;
        letter-spacing: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background-color: #6c757d;
        color: white;
        margin-right: 0.25rem;
    }

    .bestseller-box .products-tabs .nav-link:hover {
        background-color: #5a6268;
    }

    .bestseller-box .products-tabs .nav-link.active {
        background-color: var(--primary-blue);
        border-bottom-color: var(--primary-blue);
        color: white;
    }

    /* Products Tab Content */
    .products-tab-content {
        min-height: 600px;
        position: relative;
    }

    .products-tab-content .tab-pane {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .products-tab-content .tab-pane.active {
        opacity: 1;
        transform: translateY(0);
    }

    .products-tab-content .tab-pane.show {
        animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Products Grid */
    .products-grid {
        margin-top: 1.5rem;
    }

    /* ── Product Card ─────────────────────────────── */
    .product-card {
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(30, 79, 160, 0.13);
        border-color: #1e4fa0;
    }

    /* Featured Product (KHUYẾN MÃI card, inline in home) */
    .featured-product {
        border: 2px solid #ffd800;
        position: relative;
    }

    /* ── Badge ────────────────────────────────────── */
    .pc-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 0.6875rem;
        font-weight: 700;
        letter-spacing: 0.4px;
        border-radius: 4px;
        color: #fff;
        text-transform: uppercase;
        z-index: 3;
        line-height: 1.4;
    }
    .pc-badge-hot  { background: #d14f1e; }
    .pc-badge-sale { background: #dc3545; }

    /* Legacy badge (inline KHUYẾN MÃI card) */
    .product-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #dc3545;
        color: #fff;
        padding: 0.3rem 0.65rem;
        font-size: 0.725rem;
        font-weight: 700;
        text-transform: uppercase;
        border-radius: 4px;
        z-index: 2;
    }

    /* ── Image ────────────────────────────────────── */
    .product-image {
        position: relative;
        overflow: hidden;
        aspect-ratio: 1 / 1;
        background: #f5f5f5;
    }

    .featured-product .product-image {
        aspect-ratio: 1 / 1;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
        display: block;
    }

    .product-card:hover .product-image img {
        transform: scale(1.06);
    }

    /* No-image placeholder */
    .pc-no-image {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ccc;
        font-size: 2.5rem;
    }

    /* ── Overlay ──────────────────────────────────── */
    .product-overlay {
        position: absolute;
        inset: 0;
        background: rgba(30, 79, 160, 0.55);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.25s ease;
        text-decoration: none;
    }

    .product-card:hover .product-overlay {
        opacity: 1;
    }

    .product-overlay i {
        font-size: 1.4rem;
        color: #fff;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.85);
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        transition: transform 0.2s ease;
    }

    .product-overlay:hover i {
        transform: scale(1.12);
    }

    /* ── Info panel ───────────────────────────────── */
    .product-info {
        padding: 0.75rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .product-title {
        font-size: 0.875rem;
        font-weight: 500;
        margin: 0 0 0.5rem;
        line-height: 1.45;
        flex: 1;
    }

    .product-title a {
        color: #222;
        text-decoration: none;
        transition: color 0.2s ease;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-title a:hover {
        color: var(--primary-blue);
    }

    /* ── Price + Stars row ────────────────────────── */
    .pc-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.4rem;
        margin-top: auto;
    }

    .pc-price {
        display: flex;
        align-items: baseline;
        gap: 0.3rem;
        flex-wrap: wrap;
        min-width: 0;
    }

    .pc-price-sale {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #dc3545;
        white-space: nowrap;
    }

    .pc-price-original {
        font-size: 0.725rem;
        color: #aaa;
        text-decoration: line-through;
        white-space: nowrap;
    }

    .pc-price-contact {
        font-size: 0.8125rem;
        font-weight: 600;
        color: #1e4fa0;
        background: none;
        border: 1px solid #1e4fa0;
        border-radius: 4px;
        padding: 2px 8px;
        cursor: pointer;
        line-height: 1.4;
        transition: background 0.2s, color 0.2s;
        white-space: nowrap;
    }

    .pc-price-contact:hover {
        background: #1e4fa0;
        color: #fff;
    }

    .pc-rating {
        display: flex;
        align-items: center;
        gap: 1px;
        flex-shrink: 0;
    }

    .pc-rating i {
        font-size: 0.6875rem;
        color: #ddd;
    }

    .pc-rating i.bi-star-fill {
        color: #ffc107;
    }

    /* ── Legacy selectors (inline cards in home) ──── */
    .product-price {
        font-size: 1.125rem;
        font-weight: 700;
        color: #dc3545;
        margin-bottom: 0.5rem;
    }

    .product-rating {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.875rem;
        color: #ffc107;
        margin-top: auto;
    }

    .product-rating i {
        font-size: 0.75rem;
    }

    .rating-text {
        color: var(--text-light);
        font-size: 0.75rem;
        margin-left: 0.25rem;
    }

    /* Countdown Timer */
    .product-countdown {
        display: flex;
        justify-content: space-around;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }

    .countdown-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .countdown-value {
        background-color: #000;
        color: white;
        font-weight: 700;
        font-size: 1.25rem;
        padding: 0.5rem 0.75rem;
        border-radius: 4px;
        min-width: 50px;
        text-align: center;
    }

    .countdown-label {
        font-size: 0.75rem;
        color: var(--text-light);
        text-transform: uppercase;
    }

    /* Responsive */
    @media (max-width: 991.98px) {
        .search-box {
            max-width: 100%;
            margin: 1rem 0;
        }

        .social-icons {
            justify-content: center;
            margin: 1rem 0;
        }

        .logo-container {
            justify-content: center;
            flex-wrap: wrap;
        }

        .main-nav .navbar-nav {
            justify-content: flex-start;
        }

        .main-nav .nav-link {
            padding: 0.875rem 1rem;
        }

        /* Products responsive */
        .box-header {
            padding: 0.625rem 1.25rem;
            font-size: 0.875rem;
        }

        .box-content {
            padding: 1rem;
        }

        .bestseller-box .products-tabs {
            gap: 0.25rem;
        }

        .bestseller-box .products-tabs .nav-link {
            padding: 0.3rem 0.625rem;
            font-size: 0.6875rem;
        }

        .products-tab-content {
            min-height: 400px;
        }
    }

    @media (max-width: 767.98px) {
        .top-bar {
            font-size: 0.75rem;
        }

        /* Hide search box and main social icons on mobile */
        .search-box,
        .social-icons {
            display: none;
        }

        /* Reduce header padding on mobile */
        .header-middle {
            padding: 0.5rem 0;
        }

        /* Mobile menu toggle in header */
        .mobile-menu-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: var(--primary-blue, #1e4fa0);
            border: none;
            border-radius: 8px;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .mobile-menu-toggle:hover,
        .mobile-menu-toggle:focus {
            background: var(--primary-blue-dark, #163d7a);
        }

        .logo-cinvico {
            height: 45px;
        }

        .logo-leanpro {
            height: 38px;
        }

        .logo-container {
            gap: 0.5rem;
        }

        /* Reduce spacing between header sections */
        .header-middle .row {
            row-gap: 0.5rem;
        }

        /* Products responsive mobile */
        .section-header h2 {
            font-size: 1.125rem;
        }

        .box-header {
            font-size: 0.8125rem;
            padding: 4px 24px;
            height: 36px;
        }

        .box-header::after {
            border-left-width: 28px;
            border-bottom-width: 36px;
        }

        .box-content {
            padding: 0.75rem;
        }

        .box-header-wrapper {
            padding: 0;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .box-header-wrapper {
            position: relative;
        }

        .box-header-wrapper .products-tabs {
            width: 100%;
            justify-content: flex-start;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
            scrollbar-width: none;
            padding-bottom: 2px;
            mask-image: linear-gradient(to right, black 85%, transparent 100%);
            -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        }

        .bestseller-box .products-tabs .nav-link {
            padding: 0.4rem 0.75rem;
            font-size: 0.75rem;
            white-space: nowrap;
        }

        .bestseller-box .box-content {
            padding: 0 0.75rem 0.75rem;
        }

        .product-title {
            font-size: 0.8125rem;
        }

        .countdown-value {
            font-size: 1rem;
            min-width: 40px;
            padding: 0.375rem 0.5rem;
        }

        .countdown-label {
            font-size: 0.625rem;
        }

        /* Promo box keeps 1:1 ratio on mobile */

        .products-tab-content {
            min-height: 300px;
        }
    }

    @media (max-width: 575.98px) {
        .bestseller-box .products-tabs .nav-link {
            padding: 0.35rem 0.625rem;
            font-size: 0.6875rem;
        }

        .box-header {
            font-size: 0.75rem;
        }
    }

    /* ── Scroll Reveal Animations ────────────────── */
    .will-animate {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .will-animate.is-visible {
        opacity: 1;
        transform: none;
    }

    /* Stagger for card grids (children animate in sequence) */
    .stagger-grid > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .stagger-grid.is-visible > *:nth-child(1)  { opacity: 1; transform: none; transition-delay: 0s;     }
    .stagger-grid.is-visible > *:nth-child(2)  { opacity: 1; transform: none; transition-delay: 0.07s;  }
    .stagger-grid.is-visible > *:nth-child(3)  { opacity: 1; transform: none; transition-delay: 0.14s;  }
    .stagger-grid.is-visible > *:nth-child(4)  { opacity: 1; transform: none; transition-delay: 0.21s;  }
    .stagger-grid.is-visible > *:nth-child(5)  { opacity: 1; transform: none; transition-delay: 0.28s;  }
    .stagger-grid.is-visible > *:nth-child(6)  { opacity: 1; transform: none; transition-delay: 0.35s;  }
    .stagger-grid.is-visible > *:nth-child(n+7){ opacity: 1; transform: none; transition-delay: 0.42s;  }

    /* Fade-in slide for section headings */
    .section-header.will-animate {
        transform: translateY(16px);
        transition-duration: 0.5s;
    }

    /* Performance Optimization - Reduce animations on low-end devices */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        /* Ensure hidden elements are always visible when animations are disabled */
        .will-animate,
        .stagger-grid > * {
            opacity: 1 !important;
            transform: none !important;
        }
    }

    /* Accessibility - Focus visible */
    *:focus-visible {
        outline: 2px solid var(--primary-blue);
        outline-offset: 2px;
    }

    /* ========== CART DROPDOWN ========== */
    .cart-dropdown-wrapper {
        position: relative;
        display: inline-block;
    }

    .cart-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        width: 320px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1100;
        margin-top: 10px;
    }

    .cart-dropdown::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 15px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid white;
    }

    .cart-dropdown-wrapper:hover .cart-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .cart-dropdown-header {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
        font-weight: 600;
        font-size: 0.875rem;
        color: #333;
    }

    .cart-dropdown-body {
        max-height: 300px;
        overflow-y: auto;
    }

    .cart-dropdown-items {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .cart-dropdown-item {
        border-bottom: 1px solid #f5f5f5;
    }

    .cart-dropdown-item:last-child {
        border-bottom: none;
    }

    .cart-item-link {
        display: flex;
        gap: 12px;
        padding: 12px 15px;
        text-decoration: none;
        color: inherit;
        transition: background 0.2s ease;
    }

    .cart-item-link:hover {
        background: #f8f9fa;
    }

    .cart-item-img {
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .cart-item-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .cart-item-name {
        font-size: 0.8125rem;
        font-weight: 500;
        color: #333;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cart-item-meta {
        font-size: 0.75rem;
        color: #888;
        margin-top: 4px;
    }

    .cart-dropdown-more {
        padding: 10px 15px;
        text-align: center;
        font-size: 0.75rem;
        color: #666;
        background: #f8f9fa;
    }

    .cart-dropdown-empty {
        padding: 30px 15px;
        text-align: center;
        color: #999;
    }

    .cart-dropdown-empty i {
        font-size: 2.5rem;
        margin-bottom: 10px;
        display: block;
    }

    .cart-dropdown-empty p {
        margin: 0;
        font-size: 0.875rem;
    }

    .cart-dropdown-footer {
        padding: 12px 15px;
        border-top: 1px solid #eee;
        background: #f8f9fa;
        border-radius: 0 0 8px 8px;
    }

    .cart-dropdown-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        font-size: 0.875rem;
    }

    .cart-dropdown-total strong {
        color: var(--primary-blue);
        font-size: 1rem;
    }

    /* Cart update animation */
    .cart-count.cart-updated {
        animation: cartPulse 0.6s ease;
    }

    @keyframes cartPulse {
        0%, 100% { transform: translate(-50%, -50%) scale(1); }
        50% { transform: translate(-50%, -50%) scale(1.3); }
    }
