        /* ============ Address Item ============ */
        .address-item {
            border: 1.5px solid #f1f5f9;
            background: #fff;
            box-shadow: var(--shadow-sm);
            transition: all .25s;
        }
        .address-item:hover { border-color: #d1fae5; transform: translateY(-1px); box-shadow: var(--shadow-md); }
        .address-item.selected {
            border-color: var(--brand);
            background: linear-gradient(135deg, #ecfdf5 0%, #fff 60%);
            box-shadow: 0 4px 14px rgba(0,184,148,0.18);
        }

        /* ============ Inputs ============ */
        input, textarea, select {
            transition: border-color .2s, box-shadow .2s, background .2s;
        }
        input:focus, textarea:focus, select:focus {
            border-color: var(--brand) !important;
            box-shadow: 0 0 0 3px rgba(0,184,148,0.15) !important;
        }

        /* ============ AI FAB ============ */
        .ai-fab-btn {
            background: linear-gradient(#fff, #fff) padding-box,
                        conic-gradient(from 0deg, var(--brand-2), var(--brand), var(--orange), var(--brand-2)) border-box;
            border: 3px solid transparent;
            box-shadow: 0 8px 24px -4px rgba(0,184,148,0.35), 0 0 0 0 rgba(0,184,148,0.4);
            animation: fab-glow 3s ease-in-out infinite;
        }
        @keyframes fab-glow {
            0%,100% { box-shadow: 0 8px 24px -4px rgba(0,184,148,0.35), 0 0 0 0 rgba(0,184,148,0.4); }
            50% { box-shadow: 0 12px 32px -4px rgba(0,184,148,0.5), 0 0 0 12px rgba(0,184,148,0); }
        }
        .ai-fab-btn:hover { transform: scale(1.08) rotate(-3deg); }
        .ai-fab-btn:active { transform: scale(0.95); }

        /* ============ Cart Counter Badge ============ */
        @keyframes badge-pop {
            0% { transform: scale(1); }
            30% { transform: scale(1.4); }
            60% { transform: scale(0.92); }
            100% { transform: scale(1); }
        }
        .cart-counter-pop { animation: badge-pop .4s cubic-bezier(.34,1.56,.64,1); }

        /* ============ Skeletons / Loading ============ */
        .skeleton {
            background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
            background-size: 200% 100%;
            animation: shimmer 1.4s ease-in-out infinite;
            border-radius: 12px;
        }
        @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

        /* ============ Hero / Banners ============ */
        .hero-card {
            position: relative;
            overflow: hidden;
            border-radius: 28px;
            box-shadow: 0 12px 32px -8px rgba(0,184,148,0.35);
            transition: transform .3s, box-shadow .3s;
        }
        .hero-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(0,184,148,0.45); }
        .hero-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 50%);
            pointer-events: none;
        }

        /* ============ Quantity Badge (in cart) ============ */
        .qty-badge {
            background: linear-gradient(135deg, var(--brand), var(--brand-dark));
            color: #fff;
            padding: 3px 10px;
            border-radius: 999px;
            font-size: 0.72rem;
            font-weight: 800;
            box-shadow: 0 2px 6px rgba(0,184,148,0.3);
        }

        /* ============ Section headings ============ */
        .section-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 800;
            font-size: 1.15rem;
            color: #0f172a;
            margin-bottom: 12px;
            letter-spacing: -0.02em;
        }
        .section-title-icon {
            width: 30px; height: 30px;
            display: inline-flex; align-items: center; justify-content: center;
            border-radius: 9px;
            background: linear-gradient(135deg, var(--brand-soft), #fff);
            color: var(--brand);
        }

        /* ============ Page transitions ============ */
        .page.active { animation: pageFade .35s cubic-bezier(.16,1,.3,1); }
        @keyframes pageFade {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ============ Button states ============ */
        button:not([disabled]) { transition: transform .15s, box-shadow .2s, opacity .2s; }
        button:active:not([disabled]) { transform: scale(0.97); }

        /* ============ Tap feedback ============ */
        @media (hover: none) {
            .fv-container:hover { transform: none; }
            .fv-container:hover .fv-main-img { transform: none; }
        }

        /* ============ Profile rows (legacy, kept for back-compat) ============ */
        .profile-row {
            width: 100%;
            padding: 12px 14px;
            border-radius: 18px;
            background: rgba(248,250,252,0.7);
            border: 1px solid rgba(241,245,249,0.8);
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-weight: 700;
            color: #334155;
            font-size: 0.94rem;
            transition: all .25s;
            text-align: right;
        }
        .profile-row:hover {
            background: #fff;
            border-color: #e2e8f0;
            transform: translateX(-2px);
            box-shadow: var(--shadow-sm);
        }
        .profile-row-icon {
            width: 36px; height: 36px;
            display: inline-flex; align-items: center; justify-content: center;
            border-radius: 11px;
            font-size: 0.95rem;
            transition: transform .25s;
        }
        .profile-row:hover .profile-row-icon { transform: scale(1.08); }

        /* ============ Account / Profile Page ============ */
        .acc-hero {
            position: relative;
            border-radius: 28px;
            background: linear-gradient(135deg, #022c22 0%, #064e3b 45%, var(--brand-dark) 100%);
            box-shadow: 0 18px 40px -12px rgba(2,44,34,0.4);
            overflow: hidden;
            isolation: isolate;
            padding-bottom: 36px;
        }
        .acc-hero-bg-deco {
            position: absolute; inset: 0;
            background:
                radial-gradient(circle at 20% 15%, rgba(74,176,79,0.45), transparent 45%),
                radial-gradient(circle at 85% 85%, rgba(0,184,148,0.4), transparent 50%);
            pointer-events: none;
        }
        .acc-hero-pattern {
            position: absolute; inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M40 40c0-12 8-20 20-20s20 8 20 20-8 20-20 20-20-8-20-20zM10 10c0-8 4-12 12-12s12 4 12 12-4 12-12 12-12-4-12-12z'/%3E%3C/g%3E%3C/svg%3E");
            opacity: 0.6;
            pointer-events: none;
        }
        .acc-hero-edit {
            position: absolute;
            top: 14px; left: 14px;
            width: 38px; height: 38px;
            border-radius: 12px;
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.18);
            color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.85rem;
            transition: all .2s;
            z-index: 10;
        }
        .acc-hero-edit:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }
        .acc-hero-edit:active { transform: scale(0.92); }

        .acc-avatar-ring {
            position: relative;
            display: inline-block;
            padding: 4px;
            background: linear-gradient(135deg, rgba(253,224,71,0.35), rgba(0,184,148,0.6));
            border-radius: 50%;
            box-shadow: 0 12px 30px -6px rgba(0,0,0,0.4);
        }
        .acc-avatar {
            width: 88px; height: 88px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
            color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 2.4rem;
            font-weight: 900;
            border: 3px solid rgba(255,255,255,0.95);
            text-transform: uppercase;
        }
        .acc-verified {
            position: absolute;
            bottom: 4px; left: -2px;
            width: 28px; height: 28px;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: #fff;
            border: 2.5px solid #064e3b;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.7rem;
            box-shadow: 0 4px 10px rgba(29,78,216,0.4);
        }

        .acc-tier-badge {
            color: #fde047;
            font-weight: 800;
            font-size: 0.72rem;
            background: rgba(253,224,71,0.12);
            border: 1px solid rgba(253,224,71,0.28);
            backdrop-filter: blur(10px);
            padding: 4px 14px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            letter-spacing: 0.02em;
        }
        .acc-tier-badge::before {
            content: '\f521';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.6rem;
        }

        /* Stats cards */
        .acc-stat-card {
            position: relative;
            background: #fff;
            border: 1.5px solid rgba(15,23,42,0.05);
            border-radius: 20px;
            padding: 14px;
            cursor: pointer;
            box-shadow: 0 8px 22px -10px rgba(15,23,42,0.18);
            transition: all .25s;
            overflow: hidden;
        }
        .acc-stat-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(15,23,42,0.22); }
        .acc-stat-card:active { transform: scale(0.98); }
        .acc-stat-deco {
            position: absolute;
            top: -20px; left: -20px;
            width: 80px; height: 80px;
            border-radius: 50%;
            opacity: 0.5;
            pointer-events: none;
        }
        .acc-stat-points .acc-stat-deco { background: radial-gradient(circle, rgba(251,191,36,0.25), transparent 70%); }
        .acc-stat-wallet .acc-stat-deco { background: radial-gradient(circle, rgba(59,130,246,0.22), transparent 70%); }
        .acc-stat-icon {
            width: 38px; height: 38px;
            border-radius: 12px;
            color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 1rem;
            box-shadow: 0 4px 12px -2px rgba(15,23,42,0.2);
        }

        /* Menu sections */
        .acc-menu-section { padding: 0 1px; }
        .acc-menu-heading {
            font-size: 0.72rem;
            font-weight: 800;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin: 18px 8px 10px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .acc-menu-heading i { color: var(--brand); font-size: 0.8rem; }
        .acc-menu-card {
            background: #fff;
            border: 1px solid rgba(241,245,249,0.95);
            border-radius: 20px;
            box-shadow: 0 4px 14px -4px rgba(15,23,42,0.06);
            overflow: hidden;
        }
        .acc-menu-row {
            width: 100%;
            padding: 13px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all .2s;
            text-align: right;
            border-bottom: 1px solid rgba(241,245,249,0.7);
            background: transparent;
        }
        .acc-menu-row:last-child { border-bottom: none; }
        .acc-menu-row:hover { background: #f8fafc; }
        .acc-menu-row:active { background: #f1f5f9; }
        .acc-menu-icon {
            width: 38px; height: 38px;
            border-radius: 12px;
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 0.95rem;
            transition: transform .2s;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
        }
        .acc-menu-row:hover .acc-menu-icon { transform: scale(1.08) rotate(-3deg); }

        .acc-logout-btn {
            width: 100%;
            margin-top: 18px;
            padding: 14px;
            border-radius: 18px;
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            color: #dc2626;
            border: 1px solid rgba(252,165,165,0.4);
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all .25s;
        }
        .acc-logout-btn:hover { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(220,38,38,0.25); }
        .acc-logout-btn:active { transform: scale(0.98); }

        /* ============ Pro CTA Button ============ */
        .pro-cta-btn {
            width: 100%;
            position: relative;
            padding: 14px 16px;
            border-radius: 22px;
            background:
                radial-gradient(ellipse at top right, rgba(253,224,71,0.18), transparent 50%),
                linear-gradient(135deg, #022c22 0%, #064e3b 50%, var(--brand-dark) 100%);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            box-shadow:
                0 12px 30px -10px rgba(2,44,34,0.5),
                0 0 0 1px rgba(253,224,71,0.18) inset,
                0 1px 0 rgba(255,255,255,0.08) inset;
            overflow: hidden;
            isolation: isolate;
            transition: all .28s;
        }
        .pro-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(2,44,34,0.6), 0 0 0 1px rgba(253,224,71,0.3) inset; }
        .pro-cta-btn:active { transform: scale(0.98); }

        .pro-cta-shine {
            position: absolute; inset: 0;
            background: linear-gradient(120deg, transparent 25%, rgba(253,224,71,0.18) 50%, transparent 75%);
            transform: translateX(100%);
            transition: transform .9s ease;
            pointer-events: none;
        }
        .pro-cta-btn:hover .pro-cta-shine { transform: translateX(-100%); }

        .pro-cta-rays {
            position: absolute; top: -20px; right: 14%;
            width: 100px; height: 50px;
            opacity: 0.55;
            pointer-events: none;
        }
        .pro-cta-rays span {
            position: absolute;
            width: 2px; height: 36px;
            background: linear-gradient(to bottom, rgba(253,224,71,0.7), transparent);
            top: 0;
            transform-origin: top center;
            animation: pro-cta-ray 4s ease-in-out infinite;
        }
        .pro-cta-rays span:nth-child(1) { left: 20%; transform: rotate(-12deg); animation-delay: 0s; }
        .pro-cta-rays span:nth-child(2) { left: 50%; transform: rotate(0deg);   animation-delay: 1.2s; }
        .pro-cta-rays span:nth-child(3) { left: 80%; transform: rotate(12deg);  animation-delay: 2.4s; }
        @keyframes pro-cta-ray {
            0%, 100% { opacity: 0.2; transform: scaleY(0.6) rotate(var(--r, 0deg)); }
            50% { opacity: 0.85; transform: scaleY(1.15) rotate(var(--r, 0deg)); }
        }

        .pro-cta-content {
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            z-index: 1;
        }
        .pro-cta-crown {
            width: 42px; height: 42px;
            border-radius: 14px;
            background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #ca8a04 100%);
            color: #422006;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.05rem;
            box-shadow:
                0 6px 14px -2px rgba(250,204,21,0.55),
                inset 0 -2px 0 rgba(202,138,4,0.4),
                inset 0 1px 0 rgba(255,255,255,0.4);
            animation: pro-cta-crown-bob 3s ease-in-out infinite;
            flex-shrink: 0;
        }
        @keyframes pro-cta-crown-bob {
            0%, 100% { transform: translateY(0) rotate(-4deg); }
            50% { transform: translateY(-2px) rotate(4deg); }
        }
        .pro-cta-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
        .pro-cta-title {
            font-size: 0.95rem;
            font-weight: 800;
            letter-spacing: -0.01em;
            line-height: 1.2;
        }
        .pro-cta-brand {
            background: linear-gradient(135deg, #fde047, #facc15, #fef3c7);
            -webkit-background-clip: text; background-clip: text;
            color: transparent;
            font-style: italic;
            font-weight: 900;
        }
        .pro-cta-subtitle {
            font-size: 0.7rem;
            color: rgba(255,255,255,0.7);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .pro-cta-subtitle i { color: #fde047; }

        /* ============ Guest Card ============ */
        .acc-guest-card {
            position: relative;
            background: #fff;
            padding: 28px 22px;
            border-radius: 28px;
            border: 1px solid rgba(0,184,148,0.08);
            box-shadow: 0 10px 30px -10px rgba(15,23,42,0.08);
            overflow: hidden;
        }
        .acc-guest-bg {
            position: absolute; inset: 0;
            background:
                radial-gradient(circle at 15% 0%, rgba(0,184,148,0.08), transparent 40%),
                radial-gradient(circle at 90% 100%, rgba(74,176,79,0.06), transparent 40%);
            pointer-events: none;
        }
        .acc-guest-icon {
            width: 92px; height: 92px;
            margin: 0 auto 16px;
            border-radius: 26px;
            background: linear-gradient(135deg, var(--brand-soft) 0%, #d1fae5 100%);
            color: var(--brand-dark);
            display: flex; align-items: center; justify-content: center;
            font-size: 2.4rem;
            box-shadow: 0 10px 26px -6px rgba(0,184,148,0.3), inset 0 -2px 0 rgba(0,184,148,0.1);
            border: 4px solid #fff;
        }
        .acc-guest-feature {
            display: flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, #fafdfb, #fff);
            border: 1px solid #ecfdf5;
            padding: 12px;
            border-radius: 16px;
            transition: all .2s;
        }
        .acc-guest-feature:hover { border-color: var(--brand); transform: translateX(-2px); }
        .acc-guest-feature-icon {
            width: 42px; height: 42px;
            background: #fff;
            border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.1rem;
            box-shadow: 0 4px 10px -2px rgba(15,23,42,0.06);
            flex-shrink: 0;
        }

        /* ============ Top header bar ============ */
        .top-bar {
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(241,245,249,0.6);
            padding-top: max(14px, env(safe-area-inset-top)) !important;
        }
