        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            /* Brand palette — Warm Cream, Soft Pink, Baby Blue.
               Text/button-bearing tokens (--primary, --accent, --danger, --success, --warning, --gray)
               are deepened from the literal pastel requests to meet ~4.5:1 contrast for legibility.
               The literal pastel tones (--pink-soft, --blue) are kept for decorative fills only
               (hero card, tiles, tints) where no text sits directly on them without a dark override. */
            --primary: #db2777;          /* soft-pink family, deepened for legible buttons/links/text */
            --primary-dark: #be185d;
            --primary-light: #fce7f3;
            --pink-soft: #f8bbd0;        /* literal requested soft pink — decorative fills only */
            --pink-softer: #fdeef4;
            --secondary: #5b8fb0;        /* baby-blue based slate for dark accents/footer */
            --secondary-dark: #4a7a99;
            --secondary-light: #e4f4fc;
            --accent: #0369a1;           /* baby-blue family, deepened for legible buttons/text */
            --accent-dark: #075985;
            --accent-light: #e4f4fc;
            --blue: #b3e5fc;             /* literal requested baby blue — decorative fills only */
            --blue-soft: #eaf6fd;
            --gold: #ffc857;
            --success: #047857;
            --success-tint: #eef9f1;
            --warning: #b45309;
            --danger: #dc2626;
            --cream: #fff8f3;            /* requested warm cream — main background */
            --light: #fff8f3;
            --dark: #4a4a55;
            --heading: #3a3540;
            --gray: #6e6b78;
            --gray-light: #ece7ea;
            --gray-lighter: #f6f1f4;
            --white: #ffffff;
            --surface: #ffffff;          /* card/panel/navbar background — swaps for dark theme, unlike literal --white */
            --border: #f0e6ec;
            --shadow-xs: 0 1px 2px rgba(16,24,40,0.05);
            --shadow: 0 2px 8px rgba(16,24,40,0.06);
            --shadow-md: 0 6px 20px rgba(16,24,40,0.10);
            --shadow-lg: 0 12px 34px rgba(16,24,40,0.14);
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 22px;
            --font-head: 'Poppins', 'Inter', sans-serif;
            --font-body: 'Inter', sans-serif;
            --ease: cubic-bezier(0.22, 1, 0.36, 1);
        }
        :root[data-theme="dark"] {
            --primary: #f472b6;
            --primary-dark: #ec4899;
            --primary-light: rgba(244,114,182,0.16);
            --pink-soft: #472536;
            --pink-softer: #2a1720;
            --secondary: #7fb3d1;
            --secondary-dark: #5b8fb0;
            --secondary-light: rgba(127,179,209,0.14);
            --accent: #38bdf8;
            --accent-dark: #0ea5e9;
            --accent-light: rgba(56,189,248,0.14);
            --blue: #1c3444;
            --blue-soft: #16232b;
            --gold: #fbbf24;
            --success: #34d399;
            --success-tint: rgba(52,211,153,0.1);
            --warning: #fbbf24;
            --danger: #f87171;
            --cream: #131318;
            --light: #131318;
            --dark: #d7d5db;
            --heading: #f5f3f7;
            --gray: #a29fac;
            --gray-light: #2e2c35;
            --gray-lighter: #201f26;
            --surface: #1c1b22;
            --border: #322f39;
            --shadow-xs: 0 1px 2px rgba(0,0,0,0.25);
            --shadow: 0 2px 8px rgba(0,0,0,0.3);
            --shadow-md: 0 6px 20px rgba(0,0,0,0.4);
            --shadow-lg: 0 12px 34px rgba(0,0,0,0.5);
        }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-body);
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        h1, h2, h3, h4, .font-head { font-family: var(--font-head); color: var(--heading); }
        a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
        img { max-width: 100%; height: auto; }
        :focus-visible { outline: 3px solid rgba(236,127,169,0.45); outline-offset: 2px; border-radius: 4px; }
        ::selection { background: var(--primary-light); color: var(--primary-dark); }

        /* ── Buttons ── */
        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.65rem 1.5rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; cursor: pointer; border: 2px solid transparent; transition: transform 0.12s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; text-align: center; font-family: var(--font-body); line-height: 1.2; }
        .btn:hover { transform: translateY(-2px); }
        .btn:active { transform: translateY(0) scale(0.98); }
        .btn-primary { background-color: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(232,67,147,0.28); }
        .btn-primary:hover { background-color: var(--primary-dark); box-shadow: 0 8px 22px rgba(232,67,147,0.35); }
        .btn-outline { background-color: transparent; color: var(--primary); border-color: var(--primary); }
        .btn-outline:hover { background-color: var(--primary); color: var(--white); }
        .btn-secondary { background-color: var(--secondary); color: var(--white); }
        .btn-secondary:hover { background-color: var(--secondary-dark); }
        .btn-accent { background-color: var(--accent); color: var(--white); box-shadow: 0 4px 14px rgba(46,204,113,0.28); }
        .btn-accent:hover { background-color: var(--accent-dark); }
        .btn-white { background-color: var(--white); color: var(--primary); border-color: var(--white); }
        .btn-white:hover { background-color: var(--primary-light); }
        .btn-ghost { background: var(--gray-lighter); color: var(--dark); }
        .btn-ghost:hover { background: var(--gray-light); }
        .btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; border-radius: var(--radius-sm); }
        .btn-lg { padding: 0.9rem 2.2rem; font-size: 1.05rem; border-radius: var(--radius); }
        .btn-block { width: 100%; }

        /* ── Badges ── */
        .badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; font-weight: 800; padding: 0.22rem 0.6rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.4px; }
        .badge-sale { background: var(--danger); color: #fff; }
        .badge-new { background: var(--accent); color: #fff; }
        .badge-low { background: var(--warning); color: #fff; }
        .badge-soft { background: var(--primary-light); color: var(--primary); }

        /* ── Star rating ── */
        .stars { display: inline-flex; gap: 1px; color: var(--gold); font-size: 0.8rem; }
        .stars .off { color: var(--gray-light); }

        /* ── Container ── */
        .container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
        .main-content { flex: 1; width: 100%; }

        /* ── Product Card (global reusable component) ── */
        .product-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); }
        .product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
        .product-image { width: 100%; aspect-ratio: 1 / 1; background: var(--gray-lighter); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
        .product-image > a { display: block; width: 100%; height: 100%; }
        .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
        .product-card:hover .product-image img { transform: scale(1.07); }
        .product-image .no-image { font-size: 2.5rem; color: var(--gray-light); display: flex; align-items: center; justify-content: center; height: 100%; }
        .product-badges { position: absolute; top: 0.65rem; left: 0.65rem; display: flex; flex-direction: column; gap: 0.35rem; z-index: 2; align-items: flex-start; }
        .wish-btn { position: absolute; top: 0.6rem; right: 0.6rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 1rem; z-index: 3; box-shadow: var(--shadow-xs); transition: transform 0.15s, color 0.2s, background 0.2s; }
        .wish-btn:hover { transform: scale(1.12); color: var(--primary); background: var(--surface); }
        .wish-btn.active { color: var(--primary); }
        .wish-btn.active i { animation: heartPop 0.35s var(--ease); }
        @keyframes heartPop { 0% { transform: scale(0.6); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
        .product-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s var(--ease); z-index: 2; background: rgba(27,42,74,0.22); pointer-events: none; }
        .product-card:hover .product-overlay { opacity: 1; }
        .product-overlay .btn-quick { pointer-events: auto; margin-bottom: 0.85rem; align-self: flex-end; padding: 0.55rem 1.25rem; background: var(--white); color: var(--secondary); font-weight: 800; border-radius: 22px; font-size: 0.8rem; border: none; cursor: pointer; font-family: var(--font-body); transition: background 0.2s, color 0.2s; box-shadow: var(--shadow-md); }
        .product-overlay .btn-quick:hover { background: var(--primary); color: #fff; }
        .product-info { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
        .product-category-tag { font-size: 0.66rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.3rem; }
        .product-info h3 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 0.35rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-body); }
        .product-info h3 a:hover { color: var(--primary); }
        .product-rating { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.45rem; }
        .product-rating .rating-count { font-size: 0.72rem; color: var(--gray); font-weight: 600; }
        .product-price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; margin-top: auto; flex-wrap: wrap; }
        .product-price .current { font-size: 1.1rem; font-weight: 900; color: var(--heading); font-family: var(--font-head); }
        .product-price .original { font-size: 0.8rem; color: var(--gray); text-decoration: line-through; }
        .product-actions { display: flex; gap: 0.5rem; }
        .product-actions form { flex: 1; display: flex; }
        .product-actions .btn-add-cart { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.8rem; cursor: pointer; border: 2px solid var(--primary); background: var(--primary); color: #fff; font-family: var(--font-body); transition: background 0.2s, transform 0.1s; box-shadow: 0 3px 10px rgba(232,67,147,0.22); }
        .product-actions .btn-add-cart:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
        .product-actions .btn-add-cart:active { transform: scale(0.97); }
        .product-actions .btn-add-cart.disabled { background: var(--gray-lighter); border-color: var(--gray-light); color: var(--gray); cursor: not-allowed; box-shadow: none; }
        @media (max-width: 768px) {
            .product-info { padding: 0.7rem 0.75rem 0.8rem; }
            .product-info h3 { font-size: 0.82rem; }
            .product-price .current { font-size: 0.95rem; }
            .product-overlay { display: none; }
            .product-actions .btn-add-cart { padding: 0.5rem; font-size: 0.72rem; min-height: 40px; }
            .wish-btn { width: 34px; height: 34px; font-size: 0.9rem; }
        }

        /* ── Announcement bar ── */
        .announce { background: var(--pink-soft); color: var(--heading); font-size: 0.8rem; }
        .announce-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center; padding: 0.5rem 1.5rem; gap: 1.75rem; }
        .announce-items { display: flex; align-items: center; gap: 1.75rem; overflow: hidden; }
        .announce-items span { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; font-weight: 600; }
        .announce-items i { color: var(--primary-dark); }
        .announce-right { display: flex; align-items: center; gap: 1.25rem; white-space: nowrap; }
        .announce-right a { color: var(--primary-dark); font-weight: 800; }
        .announce-rotator { display: none; font-weight: 700; }

        /* ── Navbar ── */
        .navbar { background: var(--surface); box-shadow: var(--shadow-xs); position: sticky; top: 0; z-index: 200; border-bottom: 1px solid var(--border); transition: box-shadow 0.25s; }
        .navbar.scrolled { box-shadow: var(--shadow-md); }
        .navbar-main { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; height: 74px; padding: 0 1.5rem; }
        .navbar-brand { font-family: var(--font-head); font-size: 1.6rem; font-weight: 900; letter-spacing: -0.5px; flex-shrink: 0; }
        .navbar-brand .brand-totos { color: var(--primary); }
        .navbar-brand .brand-planet { color: var(--accent); }

        /* Search */
        .nav-search { flex: 1; max-width: 560px; position: relative; }
        .nav-search form { display: flex; align-items: center; background: var(--gray-lighter); border: 2px solid transparent; border-radius: var(--radius-xl); padding: 0.15rem 0.15rem 0.15rem 1.1rem; transition: border-color 0.2s, background 0.2s; }
        .nav-search form:focus-within { background: var(--surface); border-color: var(--primary); box-shadow: 0 4px 16px rgba(232,67,147,0.12); }
        .nav-search i.search-icon { color: var(--gray); font-size: 0.9rem; }
        .nav-search input { flex: 1; border: none; background: transparent; padding: 0.6rem 0.75rem; font-size: 0.9rem; font-family: var(--font-body); color: var(--dark); outline: none; }
        .nav-search button { border: none; background: var(--primary); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; flex-shrink: 0; transition: background 0.2s; }
        .nav-search button:hover { background: var(--primary-dark); }
        .search-suggestions { position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 300; display: none; border: 1px solid var(--border); }
        .search-suggestions.active { display: block; }
        .search-suggestions a { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; transition: background 0.15s; border-bottom: 1px solid var(--gray-lighter); }
        .search-suggestions a:last-child { border-bottom: none; }
        .search-suggestions a:hover { background: var(--primary-light); }
        .ss-img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--gray-lighter); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--gray-light); }
        .ss-info { flex: 1; min-width: 0; }
        .ss-info strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .ss-info span { font-size: 0.72rem; color: var(--gray); }
        .ss-price { font-size: 0.85rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
        .ss-empty { padding: 1rem; text-align: center; color: var(--gray); font-size: 0.85rem; }

        /* Nav actions */
        .navbar-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; margin-left: auto; }
        .nav-icon-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 52px; padding: 0.35rem 0.4rem; border-radius: 12px; color: var(--dark); transition: background 0.2s, color 0.2s; background: none; border: none; cursor: pointer; font-size: 1.2rem; }
        .nav-icon-btn .nav-icon-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2px; }
        .nav-icon-btn:hover { background: var(--primary-light); color: var(--primary); }
        .nav-badge { position: absolute; top: -2px; right: 6px; background: var(--primary); color: #fff; font-size: 0.6rem; font-weight: 900; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }
        .nav-badge.wish { background: var(--accent-dark); }

        /* Profile dropdown */
        .nav-profile-wrapper { position: relative; }
        .nav-profile-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.85rem 0.3rem 0.35rem; border-radius: 24px; background: var(--gray-lighter); font-weight: 700; font-size: 0.85rem; transition: background 0.2s; cursor: pointer; border: none; font-family: var(--font-body); color: var(--dark); }
        .nav-profile-btn:hover { background: var(--gray-light); }
        .nav-profile-btn .avatar-circle { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; }
        .nav-profile-wrapper.open .nav-dropdown { display: block; }
        .nav-dropdown { position: absolute; top: calc(100% + 0.6rem); right: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 240px; z-index: 300; display: none; overflow: hidden; border: 1px solid var(--border); animation: ddIn 0.18s var(--ease); }
        @keyframes ddIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
        .nav-dropdown-header { padding: 1rem 1.25rem; background: var(--light); border-bottom: 1px solid var(--border); }
        .nav-dropdown-header strong { display: block; font-size: 0.9rem; color: var(--dark); }
        .nav-dropdown-header span { font-size: 0.78rem; color: var(--gray); }
        .nav-dropdown a, .nav-dropdown button.dd-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1.25rem; font-size: 0.85rem; font-weight: 600; color: var(--dark); transition: background 0.15s, color 0.15s; width: 100%; background: none; border: none; cursor: pointer; font-family: var(--font-body); text-align: left; }
        .nav-dropdown a i, .nav-dropdown button.dd-item i { width: 18px; text-align: center; color: var(--gray); }
        .nav-dropdown a:hover, .nav-dropdown button.dd-item:hover { background: var(--primary-light); color: var(--primary); }
        .nav-dropdown a:hover i, .nav-dropdown button.dd-item:hover i { color: var(--primary); }
        .nav-dropdown-divider { height: 1px; background: var(--border); }
        .nav-dropdown a.logout-link { color: var(--danger); }
        .nav-dropdown a.logout-link i { color: var(--danger); }

        /* Secondary nav bar */
        .navbar-links { background: var(--surface); border-top: 1px solid rgba(58, 53, 64, 0.1); }
        .navbar-links-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 0.25rem; padding: 0 1.5rem; height: 52px; }
        .navbar-links-right { display: flex; align-items: center; gap: 0.9rem; }
        .navbar-links-inner > a, .navbar-links-right > a, .nav-mega-trigger > a { position: relative; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.3rem; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.1px; color: var(--dark); transition: color 0.2s; }
        .navbar-links-right > a::after { content: ''; position: absolute; left: 0.3rem; right: 0.3rem; bottom: 0.35rem; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform 0.2s var(--ease); }
        .navbar-links-right > a:hover, .navbar-links-right > a.active { color: var(--primary); }
        .navbar-links-right > a:hover::after, .navbar-links-right > a.active::after { transform: scaleX(1); }
        .nav-mega-trigger:hover > a { color: var(--primary); }
        .nav-link-hot { color: var(--danger) !important; }
        .nav-link-hot::after { background: var(--danger) !important; }
        .nav-all-cats { margin-right: 0.5rem; }
        .nav-all-cats > a { background: var(--primary); color: #fff !important; font-weight: 800; padding: 0.55rem 1rem; border-radius: var(--radius-sm); }
        .nav-all-cats:hover > a { background: var(--primary-dark); color: #fff !important; }

        /* Mega menu */
        .nav-mega-trigger { position: relative; }
        .nav-mega { position: absolute; top: 100%; left: 0; background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); border-top: none; padding: 1.25rem; width: 640px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 300; }
        .nav-mega-trigger:hover .nav-mega { opacity: 1; visibility: visible; transform: translateY(0); }
        .nav-mega a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.7rem; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 600; color: var(--dark); transition: background 0.15s; }
        .nav-mega a:hover { background: var(--primary-light); color: var(--primary); }
        .nav-mega a .mega-ic { width: 34px; height: 34px; border-radius: 8px; background: var(--gray-lighter); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; overflow: hidden; }
        .nav-mega a .mega-ic img { width: 100%; height: 100%; object-fit: cover; }

        /* ── Mobile drawer ── */
        .menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
        .menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--dark); transition: 0.3s; border-radius: 2px; }
        .drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(16,24,40,0.5); z-index: 998; opacity: 0; transition: opacity 0.3s; }
        .drawer-overlay.active { display: block; opacity: 1; }
        .mobile-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; background: var(--surface); z-index: 999; transform: translateX(-100%); transition: transform 0.32s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
        .mobile-drawer.active { transform: translateX(0); }
        .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
        .drawer-head .navbar-brand { font-size: 1.3rem; }
        .drawer-close { background: var(--gray-lighter); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; color: var(--dark); }
        .drawer-body { flex: 1; overflow-y: auto; padding: 0.75rem; }
        .drawer-body a, .drawer-body button.drawer-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem; color: var(--dark); }
        .drawer-body a i, .drawer-body button.drawer-item i { width: 20px; text-align: center; color: var(--primary); }
        .drawer-body a:hover, .drawer-body button.drawer-item:hover { background: var(--primary-light); color: var(--primary); }
        .drawer-body button.drawer-item { width: 100%; background: none; border: none; cursor: pointer; font-family: var(--font-body); text-align: left; }
        .drawer-section-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gray); padding: 1rem 1rem 0.4rem; }
        .drawer-foot { padding: 1rem 1.25rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.5rem; }

        /* ── Toast messages ── */
        .messages { position: fixed; top: 88px; right: 1.5rem; z-index: 1000; list-style: none; display: flex; flex-direction: column; gap: 0.6rem; max-width: 400px; width: calc(100% - 3rem); }
        .message { padding: 0.9rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: 0.88rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; box-shadow: var(--shadow-lg); animation: slideIn 0.35s var(--ease); position: relative; overflow: hidden; background: var(--surface); }
        .message-content { display: flex; align-items: center; gap: 0.6rem; flex: 1; }
        .message-content i.msg-ic { font-size: 1.1rem; }
        .message-close { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: inherit; opacity: 0.55; padding: 0; line-height: 1; }
        .message-close:hover { opacity: 1; }
        .message-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: currentColor; opacity: 0.35; animation: progressBar 4.5s linear forwards; }
        .message-success { border-left: 4px solid var(--success); color: #065f46; }
        .message-success .msg-ic { color: var(--success); }
        .message-error { border-left: 4px solid var(--danger); color: #991b1b; }
        .message-error .msg-ic { color: var(--danger); }
        .message-info { border-left: 4px solid #0ea5e9; color: #075985; }
        .message-info .msg-ic { color: #0ea5e9; }
        .message-warning { border-left: 4px solid var(--warning); color: #92400e; }
        .message-warning .msg-ic { color: var(--warning); }
        @keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        @keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(120%); opacity: 0; } }
        @keyframes progressBar { from { width: 100%; } to { width: 0%; } }

        /* Password toggle */
        .password-wrapper { position: relative; }
        .password-wrapper input { padding-right: 2.75rem !important; }
        .password-toggle { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--gray); font-size: 1rem; padding: 0.25rem; display: flex; align-items: center; transition: color 0.2s; }
        .password-toggle:hover { color: var(--primary); }

        /* ── Shared auth-form component (login, signup, password change/reset) ── */
        .auth-container { max-width: 440px; margin: 3rem auto; padding: 0 1.5rem; }
        .auth-container.wide { max-width: 480px; }
        .auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.5rem; }
        .auth-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; }
        .auth-card h2 { font-size: 1.55rem; font-weight: 900; color: var(--heading); text-align: center; margin-bottom: 0.3rem; letter-spacing: -0.3px; }
        .auth-card .subtitle { text-align: center; color: var(--gray); font-size: 0.88rem; margin-bottom: 1.85rem; line-height: 1.5; }
        .auth-card .form-group { margin-bottom: 1.15rem; }
        .auth-card .form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
        .auth-card .form-group input,
        .auth-card .form-group select,
        .auth-card .form-group textarea { width: 100%; padding: 0.72rem 1rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: var(--font-body); font-size: 0.92rem; color: var(--dark); transition: border-color 0.2s, box-shadow 0.2s; outline: none; background: var(--surface); }
        .auth-card .form-group input:focus,
        .auth-card .form-group select:focus,
        .auth-card .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(219,39,119,0.1); }
        .auth-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
        .form-errors { list-style: none; margin-top: 0.35rem; }
        .form-errors li { color: var(--danger); font-size: 0.78rem; font-weight: 600; display: flex; align-items: center; gap: 0.3rem; }
        .form-errors li::before { content: '\f06a'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
        .auth-card .btn { width: 100%; padding: 0.8rem; font-size: 0.98rem; margin-top: 0.4rem; }
        .auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.88rem; color: var(--gray); }
        .auth-footer a { color: var(--primary); font-weight: 700; }
        .auth-footer a:hover { text-decoration: underline; }
        .forgot-link { display: block; text-align: right; font-size: 0.78rem; font-weight: 700; color: var(--primary); margin-top: 0.5rem; }
        .forgot-link:hover { text-decoration: underline; }
        .invalid-link { text-align: center; }
        .invalid-link .error-icon { width: 64px; height: 64px; border-radius: 50%; background: #fee2e2; color: var(--danger); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; }
        .invalid-link p { color: var(--gray); margin-bottom: 1.5rem; font-size: 0.9rem; }
        .auth-card.center { text-align: center; }
        .auth-card .status-icon { width: 72px; height: 72px; border-radius: 50%; font-size: 1.9rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
        .auth-card .status-icon.success { background: #d1fae5; color: var(--success); }
        .auth-card .status-icon.info { background: var(--primary-light); color: var(--primary); }
        .auth-card.center h2 { margin-bottom: 0.6rem; }
        .auth-card.center p { color: var(--gray); margin-bottom: 1.5rem; line-height: 1.7; font-size: 0.9rem; }
        @media (max-width: 500px) {
            .auth-card { padding: 1.75rem 1.35rem; }
            .auth-card .form-row { grid-template-columns: 1fr; gap: 0; }
        }

        /* ── Footer ── */
        .footer { background: #3a3540; color: rgba(255,255,255,0.7); padding: 3.5rem 1.5rem 1.5rem; margin-top: auto; }
        .footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
        .footer-brand { font-family: var(--font-head); font-size: 1.4rem; font-weight: 900; margin-bottom: 0.75rem; }
        .footer-brand .brand-totos { color: var(--pink-soft); }
        .footer-brand .brand-planet { color: var(--blue); }
        .footer-text { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1rem; }
        .footer h4 { color: var(--white); font-size: 0.85rem; font-weight: 800; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: 0.6px; }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 0.55rem; }
        .footer-links a, .footer-links li { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: color 0.2s; }
        .footer-links a:hover { color: var(--primary); }
        .footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.6rem; }
        .footer-contact i { color: var(--primary); margin-top: 3px; }
        .newsletter-form { display: flex; margin: 0.5rem 0 1rem; background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,0.12); }
        .newsletter-form input { flex: 1; background: transparent; border: none; padding: 0.7rem 0.9rem; color: #fff; font-size: 0.85rem; font-family: var(--font-body); outline: none; min-width: 0; }
        .newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
        .newsletter-form button { background: var(--primary); border: none; color: #fff; padding: 0 1.1rem; cursor: pointer; font-weight: 800; transition: background 0.2s; }
        .newsletter-form button:hover { background: var(--primary-dark); }
        .footer-social { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
        .footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 1rem; transition: background 0.2s, color 0.2s, transform 0.2s; }
        .footer-social a:hover { transform: translateY(-3px); color: #fff; }
        .footer-pay { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; flex-wrap: wrap; }
        .footer-pay span { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); font-size: 0.72rem; font-weight: 700; padding: 0.35rem 0.7rem; border-radius: 6px; }
        .footer-bottom { max-width: 1240px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; }
        .footer-bottom a { color: rgba(255,255,255,0.55); }
        .footer-bottom a:hover { color: var(--primary); }

        /* Skeleton loader utility */
        .skeleton { background: var(--gray-lighter); animation: shimmer 1.4s ease-in-out infinite; border-radius: 8px; }
        @keyframes shimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

        /* WhatsApp float */
        .whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 6px 20px rgba(37,211,102,0.45); z-index: 900; transition: transform 0.2s; }
        .whatsapp-float:hover { transform: scale(1.1); color: #fff; }

        /* Back to top */
        .to-top { position: fixed; bottom: 24px; left: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--secondary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--shadow-md); z-index: 890; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
        .to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

        @media (max-width: 992px) {
            .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
            .nav-mega { width: 480px; grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .announce-items { display: none; }
            .announce-rotator { display: flex; align-items: center; gap: 0.4rem; }
            .announce-inner { justify-content: center; }
            .announce-right { display: none; }
            .menu-toggle { display: flex; }
            .navbar-main { height: 60px; gap: 0.4rem; padding: 0 1rem; }
            .navbar-brand { font-size: 1.35rem; }
            .navbar-brand .brand-mascot { width: 28px; height: 28px; font-size: 0.85rem; }
            .navbar-links { display: none; }
            .nav-search { display: none; }
            .nav-search.mobile-search-open { display: block; position: absolute; top: 60px; left: 0; right: 0; padding: 0.75rem 1rem; background: var(--surface); box-shadow: var(--shadow-md); max-width: none; z-index: 150; }
            .navbar-actions { gap: 0.1rem; }
            .nav-icon-btn { min-width: 38px; padding: 0.3rem 0.25rem; font-size: 1.05rem; }
            .nav-icon-btn .nav-icon-label { display: none; }
            .navbar-actions > a.btn-primary.btn-sm { display: none; }
            /* The action row is already at its width limit on small phones —
               the drawer carries a labelled theme toggle instead. */
            .navbar-actions .theme-toggle { display: none; }
            .nav-profile-btn { padding: 0.3rem; }
            .nav-profile-btn span:not(.avatar-circle) { display: none; }
            .messages { top: 70px; right: 1rem; left: 1rem; max-width: none; width: auto; }
            .footer { padding: 2.5rem 1.25rem 1.25rem; }
            .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .btn { min-height: 44px; }
            .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 1.5rem; }
            .to-top { bottom: 16px; left: 16px; width: 42px; height: 42px; }
        }
