    /* ══ RESET & BASE ══════════════════════════════════════════ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
        --red:    #e63946;
        --red2:   #c1121f;
        --dark:   #1a1a2e;
        --grey:   #f5f6fa;
        --border: #eef0f5;
        --text:   #3d3d3d;
        --muted:  #9b9fad;
        --white:  #ffffff;
        --radius: 16px;
        --shadow: 0 4px 24px rgba(0,0,0,.07);
    }
    body { font-family: 'Poppins', sans-serif; background: var(--grey); color: var(--text); }
    a { text-decoration: none; color: inherit; }
    img { display: block; }

    /* ══ NAVBAR ════════════════════════════════════════════════ */
    .navbar {
        background: var(--white);
        position: sticky; top: 0; z-index: 900;
        box-shadow: 0 2px 20px rgba(0,0,0,.06);
    }
    .nav-inner {
        max-width: 1320px; margin: 0 auto;
        display: flex; align-items: center;
        padding: 0 24px; height: 70px; gap: 28px;
    }
    .logo { font-size: 28px; font-weight: 900; color: var(--red); letter-spacing: -.5px; flex-shrink: 0; }
    .logo span { color: var(--dark); }
    .nav-links { display: flex; gap: 2px; flex: 1; align-items: center; }
    .nav-links > a, .nav-has-dd > .nav-dd-trigger {
        padding: 8px 13px; border-radius: 10px;
        font-weight: 600; font-size: 16px; color: var(--text);
        transition: .2s; cursor: pointer; white-space: nowrap;
        border: none; background: none; font-family: inherit;
        display: flex; align-items: center; gap: 5px;
    }
    .nav-links > a:hover, .nav-links > a.active,
    .nav-has-dd:hover > .nav-dd-trigger,
    .nav-has-dd > .nav-dd-trigger.active { background: #fff0f0; color: var(--red); }
    .nav-dd-trigger .chev { font-size: 11px; transition: transform .2s; }
    .nav-has-dd:hover .chev { transform: rotate(180deg); }

    /* ── Mega Menu ── */
    .nav-has-dd { position: relative; }
    .mega-menu {
        position: absolute;
        top: calc(100% + 10px); left: 50%;
        transform: translateX(-50%) translateY(6px);
        background: var(--white);
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,.13);
        border: 1px solid var(--border);
        padding: 20px;
        min-width: 700px;
        display: grid; grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        opacity: 0; visibility: hidden;
        transition: opacity .2s, visibility .2s, transform .2s;
        z-index: 9001;
    }
    .nav-has-dd:hover .mega-menu {
        opacity: 1; visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    .mega-col { padding: 6px; }
    .mega-parent {
        display: flex; align-items: center; gap: 10px;
        padding: 8px 10px; border-radius: 10px;
        font-weight: 700; font-size: 15px; color: var(--dark);
        transition: .18s; margin-bottom: 2px;
    }
    .mega-parent:hover { background: #fff0f0; color: var(--red); }
    .mega-parent-icon {
        width: 32px; height: 32px; border-radius: 8px;
        background: var(--grey); color: var(--red);
        display: flex; align-items: center; justify-content: center;
        font-size: 15px; flex-shrink: 0; transition: .18s;
    }
    .mega-parent:hover .mega-parent-icon { background: var(--red); color: #fff; }
    .mega-children { padding-left: 8px; margin-bottom: 4px; }
    .mega-child {
        display: block; padding: 4px 10px;
        font-size: 14px; color: var(--muted);
        border-radius: 7px; transition: .15s; font-weight: 500;
    }
    .mega-child:hover { color: var(--red); background: #fff5f5; }
    .mega-child::before { content: '›'; margin-right: 6px; opacity: .6; }
    .mega-footer {
        grid-column: 1 / -1; padding-top: 14px;
        margin-top: 10px; border-top: 1px solid var(--border);
        display: flex; justify-content: center;
    }
    .mega-all-btn {
        display: inline-flex; align-items: center; gap: 8px;
        background: var(--red); color: #fff;
        padding: 9px 28px; border-radius: 10px;
        font-size: 15px; font-weight: 700; transition: .2s;
    }
    .mega-all-btn:hover { background: var(--red2); color: #fff; }

    /* ── Nav Actions ── */
    .nav-actions { display: flex; align-items: center; gap: 8px; }
    .nav-icon {
        width: 40px; height: 40px; border-radius: 12px;
        background: var(--grey); border: 1px solid var(--border);
        display: flex; align-items: center; justify-content: center;
        font-size: 18px; color: var(--text); cursor: pointer;
        transition: .2s; position: relative;
    }
    .nav-icon:hover, .nav-icon.active { background: var(--red); color: #fff; border-color: var(--red); }
    .cart-badge {
        position: absolute; top: -6px; right: -6px;
        background: var(--red); color: #fff;
        font-size: 12px; font-weight: 800;
        min-width: 18px; height: 18px; border-radius: 20px;
        display: none; align-items: center; justify-content: center;
        padding: 0 4px;
    }

    /* ══ SEARCH OVERLAY ════════════════════════════════════════ */
    .search-overlay {
        position: fixed; inset: 0; z-index: 9500;
        background: rgba(15,15,30,.55); backdrop-filter: blur(5px);
        display: flex; align-items: flex-start; justify-content: center;
        padding-top: 90px;
        opacity: 0; visibility: hidden; transition: .2s;
    }
    .search-overlay.open { opacity: 1; visibility: visible; }
    .search-box {
        background: var(--white); border-radius: 20px;
        width: 100%; max-width: 660px;
        box-shadow: 0 24px 70px rgba(0,0,0,.22);
        transform: translateY(-10px); transition: transform .22s;
        overflow: hidden;
    }
    .search-overlay.open .search-box { transform: translateY(0); }
    .search-bar {
        display: flex; align-items: center; gap: 12px;
        padding: 18px 22px; border-bottom: 1px solid var(--border);
    }
    .search-bar i { font-size: 20px; color: var(--muted); }
    .search-bar input {
        flex: 1; border: none; outline: none;
        font-family: 'Poppins', sans-serif;
        font-size: 19px; font-weight: 500; color: var(--dark);
    }
    .search-bar input::placeholder { color: #ccc; }
    .search-esc-btn {
        background: var(--grey); border: none; border-radius: 8px;
        width: 32px; height: 32px; cursor: pointer; font-size: 18px;
        display: flex; align-items: center; justify-content: center; color: var(--muted);
    }
    .search-results { max-height: 400px; overflow-y: auto; }
    .search-item {
        display: flex; align-items: center; gap: 14px;
        padding: 12px 22px; transition: .15s; border-bottom: 1px solid var(--border);
        text-decoration: none;
    }
    .search-item:last-child { border-bottom: none; }
    .search-item:hover { background: #fafbfd; }
    .search-item-img {
        width: 50px; height: 50px; border-radius: 10px;
        object-fit: cover; background: var(--grey); flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
        font-size: 22px; color: #dde1e7;
    }
    .search-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
    .search-item-info { flex: 1; min-width: 0; }
    .search-item-name { font-size: 16px; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .search-item-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
    .search-item-price { font-size: 18px; font-weight: 900; color: var(--red); white-space: nowrap; }
    .search-hint { padding: 18px 22px; font-size: 15px; color: var(--muted); text-align: center; }
    .search-view-all {
        display: flex; align-items: center; justify-content: center; gap: 7px;
        padding: 13px 22px; font-size: 15px; font-weight: 700; color: var(--red);
        border-top: 1px solid var(--border); transition: .15s; text-decoration: none;
    }
    .search-view-all:hover { background: #fff0f0; }

    /* ══ CART SIDEBAR ══════════════════════════════════════════ */
    .cart-dimmer {
        position: fixed; inset: 0; z-index: 9000;
        background: rgba(0,0,0,.4);
        opacity: 0; visibility: hidden; transition: .25s;
    }
    .cart-dimmer.open { opacity: 1; visibility: visible; }
    .cart-sidebar {
        position: fixed; top: 0; right: -440px;
        width: 420px; height: 100vh; z-index: 9001;
        background: var(--white);
        box-shadow: -8px 0 40px rgba(0,0,0,.1);
        display: flex; flex-direction: column;
        transition: right .28s cubic-bezier(.4,0,.2,1);
    }
    .cart-dimmer.open + .cart-sidebar,
    .cart-sidebar.open { right: 0; }
    .cart-head {
        display: flex; justify-content: space-between; align-items: center;
        padding: 22px 24px; border-bottom: 1px solid var(--border);
    }
    .cart-head h3 { font-size: 20px; font-weight: 800; color: var(--dark); }
    .cart-close-btn {
        width: 36px; height: 36px; border-radius: 10px;
        background: var(--grey); border: none; cursor: pointer;
        font-size: 20px; display: flex; align-items: center; justify-content: center; color: var(--text);
    }
    .cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
    .cart-empty {
        display: flex; flex-direction: column; align-items: center;
        justify-content: center; height: 100%;
        color: var(--muted); text-align: center; gap: 12px;
    }
    .cart-empty i { font-size: 54px; opacity: .25; }
    .cart-empty p { font-size: 16px; }
    .cart-item {
        display: flex; align-items: center; gap: 14px;
        padding: 14px 0; border-bottom: 1px solid var(--border);
    }
    .cart-item:last-child { border-bottom: none; }
    .cart-item-img {
        width: 62px; height: 62px; border-radius: 12px;
        object-fit: cover; background: var(--grey); flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
        font-size: 24px; color: #dde;
    }
    .cart-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
    .cart-item-info { flex: 1; min-width: 0; }
    .cart-item-name { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 6px; }
    .cart-item-price { font-size: 17px; font-weight: 900; color: var(--red); }
    .cart-qty {
        display: flex; align-items: center; gap: 8px; margin-top: 6px;
    }
    .qty-btn {
        width: 26px; height: 26px; border-radius: 7px;
        border: 1.5px solid var(--border); background: var(--grey);
        cursor: pointer; font-size: 16px; font-weight: 700;
        display: flex; align-items: center; justify-content: center;
        color: var(--text); transition: .15s;
    }
    .qty-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
    .qty-val { font-size: 16px; font-weight: 700; min-width: 22px; text-align: center; }
    .cart-remove { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 18px; padding: 4px; transition: .15s; }
    .cart-remove:hover { color: var(--red); }
    .cart-foot {
        padding: 18px 24px; border-top: 1px solid var(--border);
    }
    .cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
    .cart-total-label { font-size: 16px; color: var(--muted); font-weight: 600; }
    .cart-total-val { font-size: 26px; font-weight: 900; color: var(--dark); }
    .cart-checkout {
        width: 100%; background: var(--red); color: #fff;
        border: none; padding: 15px; border-radius: 14px;
        font-family: 'Poppins', sans-serif; font-size: 17px;
        font-weight: 700; cursor: pointer; transition: .2s;
        display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .cart-checkout:hover { background: var(--red2); }

    /* ══ FOOTER ════════════════════════════════════════════════ */
    footer {
        background: var(--dark); color: rgba(255,255,255,.6);
        padding: 50px 24px 30px;
    }
    .footer-inner {
        max-width: 1320px; margin: 0 auto;
        display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
        padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .footer-logo { font-size: 26px; font-weight: 900; color: var(--red); margin-bottom: 14px; }
    .footer-logo span { color: #fff; }
    .footer-desc { font-size: 15px; line-height: 1.8; }
    .footer-col h5 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .8px; }
    .footer-col a { display: block; font-size: 15px; margin-bottom: 10px; color: rgba(255,255,255,.6); transition: .2s; }
    .footer-col a:hover { color: #fff; padding-left: 4px; }
    .footer-bottom {
        max-width: 1320px; margin: 22px auto 0;
        display: flex; justify-content: space-between; align-items: center; font-size: 14px;
    }

    /* ══ CHAT ══════════════════════════════════════════════════ */
    #chat-btn {
        position: fixed; bottom: 24px; right: 24px;
        width: 58px; height: 58px; border-radius: 50%;
        background: var(--red); color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 26px; cursor: pointer; z-index: 7000;
        box-shadow: 0 6px 20px rgba(230,57,70,.5); transition: .3s; border: none;
    }
    #chat-btn:hover { transform: scale(1.1); }
    #chat-box {
        position: fixed; bottom: 94px; right: 24px;
        width: 330px; height: 460px; background: #fff; border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,.16);
        display: none; flex-direction: column; z-index: 7001;
        overflow: hidden; border: 1px solid var(--border);
    }
    #chat-box.open { display: flex; }
    .chat-head {
        background: linear-gradient(135deg, var(--red2), var(--red));
        padding: 16px 18px; display: flex; align-items: center; gap: 12px;
    }
    .chat-head-icon {
        width: 38px; height: 38px; border-radius: 50%;
        background: rgba(255,255,255,.2); display: flex;
        align-items: center; justify-content: center; font-size: 18px; color: #fff;
    }
    .chat-head-info { flex: 1; }
    .chat-head-info strong { display: block; font-size: 16px; color: #fff; font-weight: 700; }
    .chat-head-info small { font-size: 13px; color: rgba(255,255,255,.7); }
    .chat-head-close { background: none; border: none; color: rgba(255,255,255,.7); font-size: 22px; cursor: pointer; }
    #chat-messages {
        flex: 1; padding: 16px; overflow-y: auto;
        display: flex; flex-direction: column; gap: 10px; background: #fafbfd;
    }
    .msg { padding: 9px 13px; border-radius: 12px; font-size: 15px; max-width: 82%; line-height: 1.5; word-break: break-word; }
    .msg.admin { background: #f0f2f5; color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
    .msg.user  { background: var(--red); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
    .chat-input-area {
        padding: 12px; border-top: 1px solid var(--border);
        display: flex; gap: 8px; align-items: center;
    }
    .chat-input-area input {
        flex: 1; padding: 10px 14px; border: 1.5px solid var(--border);
        border-radius: 12px; font-family: inherit; font-size: 15px;
        outline: none; transition: .2s;
    }
    .chat-input-area input:focus { border-color: var(--red); }
    .chat-send {
        width: 40px; height: 40px; border-radius: 12px;
        background: var(--red); color: #fff; border: none;
        display: flex; align-items: center; justify-content: center;
        font-size: 16px; cursor: pointer; transition: .2s;
    }
    .chat-send:hover { background: var(--red2); }

    /* ══ COMMON UTILITIES ══════════════════════════════════════ */
    .section { padding: 70px 24px; }
    .section-inner { max-width: 1320px; margin: 0 auto; }
    .section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
    .section-title { font-size: 30px; font-weight: 800; color: var(--dark); }
    .section-sub { font-size: 16px; color: var(--muted); margin-top: 4px; font-weight: 500; }
    .view-all {
        font-size: 15px; font-weight: 700; color: var(--red);
        display: flex; align-items: center; gap: 6px;
        padding: 9px 18px; border-radius: 10px;
        border: 1.5px solid var(--red); transition: .2s; white-space: nowrap;
    }
    .view-all:hover { background: var(--red); color: #fff; }
    .page-hero {
        background: linear-gradient(135deg, var(--red2) 0%, var(--red) 100%);
        padding: 56px 24px;
    }
    .page-hero-inner { max-width: 1320px; margin: 0 auto; }
    .page-hero h1 { font-size: 38px; font-weight: 900; color: #fff; margin-bottom: 8px; }
    .page-hero p  { font-size: 17px; color: rgba(255,255,255,.75); }
    .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
    .breadcrumb a { color: rgba(255,255,255,.75); transition: .2s; }
    .breadcrumb a:hover { color: #fff; }
    .breadcrumb i { font-size: 11px; }

    /* Product card (shared) */
    .product-card {
        background: var(--white); border-radius: var(--radius);
        border: 1.5px solid var(--border);
        overflow: hidden; transition: all .3s;
        display: flex; flex-direction: column;
    }
    .product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.09); border-color: #ddd; }
    .product-img-wrap {
        background: #f9fafb; height: 200px;
        display: flex; align-items: center; justify-content: center;
        padding: 20px; position: relative; overflow: hidden;
    }
    .product-img-wrap img { max-width: 100%; max-height: 160px; object-fit: contain; transition: transform .4s; }
    .product-card:hover .product-img-wrap img { transform: scale(1.06); }
    .product-no-img { font-size: 62px; color: #dde1e7; }
    .product-badge {
        position: absolute; top: 12px; left: 12px;
        background: var(--red); color: #fff;
        font-size: 12px; font-weight: 700; padding: 3px 9px;
        border-radius: 20px; text-transform: uppercase;
    }
    .product-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
    .product-brand { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
    .product-name { font-size: 16px; font-weight: 700; color: var(--dark); line-height: 1.4; flex: 1; margin-bottom: 14px; }
    .product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .price-now { font-size: 22px; font-weight: 900; color: var(--red); }
    .price-unit { font-size: 14px; color: var(--muted); font-weight: 500; }
    .add-to-cart {
        background: var(--red); color: #fff;
        border: none; padding: 10px 16px; border-radius: 10px;
        font-size: 14px; font-weight: 700; cursor: pointer;
        display: flex; align-items: center; gap: 6px;
        transition: .2s; white-space: nowrap; font-family: inherit;
    }
    .add-to-cart:hover { background: var(--red2); transform: scale(1.04); }

    /* ══ RESPONSIVE ════════════════════════════════════════════ */
    @media (max-width: 1100px) {
        .mega-menu { min-width: 560px; grid-template-columns: repeat(2, 1fr); }
        .footer-inner { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
        .nav-links { display: none !important; }
        .nav-burger { display: flex !important; }
        .cart-sidebar { width: 100%; right: -100%; }
        .footer-inner { grid-template-columns: 1fr; gap: 24px; }
        .section { padding: 44px 16px; }
        .section-title { font-size: 24px; }
        .page-hero { padding: 36px 16px; }
        .page-hero h1 { font-size: 28px; }
    }

    /* ══ MOBILE NAV ═════════════════════════════════════════════ */
    .nav-burger {
        display: none;
        width: 40px; height: 40px; border-radius: 12px;
        background: var(--grey); border: 1px solid var(--border);
        align-items: center; justify-content: center;
        font-size: 20px; color: var(--dark); cursor: pointer;
        transition: .2s;
    }
    .nav-burger:hover { background: var(--red); color: #fff; border-color: var(--red); }

    /* ══ MOBILE NAV (Drawer Style) ══════════════════════════════ */
    .mobile-nav-dimmer {
        position: fixed; inset: 0; background: rgba(0,0,0,.5);
        backdrop-filter: blur(4px); z-index: 9500;
        opacity: 0; visibility: hidden; transition: .3s;
    }
    .mobile-nav-dimmer.open { opacity: 1; visibility: visible; }

    .mobile-nav {
        position: fixed; top: 0; left: -320px; width: 300px; height: 100vh;
        background: #fff; z-index: 9501; box-shadow: 10px 0 40px rgba(0,0,0,.1);
        display: flex; flex-direction: column; transition: left .3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0; overflow-y: auto;
    }
    .mobile-nav.open { left: 0; }

    .mob-nav-head {
        padding: 20px; display: flex; align-items: center; justify-content: space-between;
        border-bottom: 1.5px solid var(--border); margin-bottom: 10px;
    }
    .mob-nav-close {
        width: 36px; height: 36px; border-radius: 10px; background: var(--grey);
        border: none; font-size: 24px; color: var(--text); cursor: pointer;
        display: flex; align-items: center; justify-content: center;
    }

    .mob-nav-link {
        display: flex; align-items: center; gap: 12px;
        padding: 14px 20px; font-size: 16px; font-weight: 600; color: var(--text);
        text-decoration: none; transition: .2s;
    }
    .mob-nav-link:hover, .mob-nav-link.active { background: #fff0f0; color: var(--red); }
    .mob-nav-link i { width: 20px; text-align: center; color: var(--muted); font-size: 18px; }
    .mob-nav-link:hover i, .mob-nav-link.active i { color: var(--red); }

    .mob-nav-sep { border: none; border-top: 1.5px solid var(--border); margin: 10px 20px; }
    .mob-nav-header {
        font-size: 11px; font-weight: 800; color: var(--muted);
        text-transform: uppercase; letter-spacing: 1px;
        padding: 10px 20px 5px;
    }
    .mob-nav-user {
        margin: 10px 20px; padding: 16px; background: var(--grey);
        border-radius: 16px; display: flex; align-items: center; gap: 12px;
    }
    .mob-nav-avatar {
        width: 44px; height: 44px; border-radius: 50%;
        background: linear-gradient(135deg, var(--red), #ff6b7a);
        color: #fff; font-size: 19px; font-weight: 800;
        display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    
    @media (max-width: 480px) {
        .nav-inner { padding: 0 16px; gap: 12px; }
        .logo { font-size: 24px; }
        .logo img { max-height: 34px !important; }
        .nav-icon { width: 36px; height: 36px; font-size: 16px; }
    }

    /* ══ MOBILE BOTTOM NAV ══════════════════════════════════════ */
    .mob-bottom-nav {
        display: none;
        position: fixed; bottom: 0; left: 0; right: 0;
        height: 64px; background: #fff;
        box-shadow: 0 -4px 20px rgba(0,0,0,.08);
        z-index: 9400; align-items: center; justify-content: space-around;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1.5px solid var(--border);
    }
    @media (max-width: 768px) {
        .mob-bottom-nav { display: flex; }
        footer { padding-bottom: 90px; } /* Space for bottom nav */
    }
    .mob-bottom-item {
        display: flex; flex-direction: column; align-items: center;
        gap: 4px; color: var(--muted); font-size: 10px; font-weight: 700;
        text-transform: uppercase; letter-spacing: .4px; text-decoration: none;
        position: relative; flex: 1; transition: .2s;
    }
    .mob-bottom-item i { font-size: 20px; transition: .2s; }
    .mob-bottom-item.active { color: var(--red); }
    .mob-bottom-item.active i { transform: translateY(-2px); }
    
    .mob-cart-badge {
        position: absolute; top: -4px; right: 22%;
        background: var(--red); color: #fff;
        font-size: 10px; font-weight: 800;
        min-width: 16px; height: 16px; border-radius: 20px;
        display: none; align-items: center; justify-content: center;
        padding: 0 4px; border: 2px solid #fff;
    }
