:root {
    --bg-primary: #040907;
    --bg-secondary: #07110c;
    --bg-elevated: #0a1710;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(8, 18, 12, 0.6);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --border-glow: rgba(45, 255, 136, 0.35);
    --grid-line: rgba(45, 255, 136, 0.045);

    --text-primary: #eafff1;
    --text-secondary: #a7c4b3;
    --text-muted: #6d8a79;

    /* Primary accent — kept under legacy var names for compatibility */
    --accent-purple: #2dff88;   /* primary neon emerald */
    --accent-pink: #11c46a;     /* deep green */
    --accent-cyan: #22d3ee;
    --accent-blue: #38bdf8;
    --accent-green: #10b981;
    --accent-orange: #f97316;
    --accent-red: #ef4444;

    --accent: #2dff88;
    --accent-bright: #7dffb4;
    --accent-deep: #0fae4a;
    --accent-gold: #7dffb4;
    --on-accent: #03190d;       /* text on accent surfaces */

    --gradient-primary: linear-gradient(120deg, #7dffb4 0%, #2dff88 45%, #11c46a 100%);
    --gradient-card: linear-gradient(150deg, rgba(45, 255, 136, 0.10) 0%, rgba(17, 196, 106, 0.02) 60%);
    --gradient-hero: radial-gradient(120% 120% at 0% 0%, rgba(45, 255, 136, 0.16) 0%, transparent 55%);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(45, 255, 136, 0.22);
    --shadow-glow-strong: 0 10px 60px rgba(45, 255, 136, 0.45);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-full: 9999px;

    --glass-blur: 22px;
    --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;

    --navbar-height: 76px;
    --container-width: 1240px;
}

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

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 255, 136, 0.4) transparent;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(45, 255, 136, 0.32);
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
    transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 255, 136, 0.55);
    background-clip: content-box;
}
::-webkit-scrollbar-corner { background: transparent; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Subtle tech grid + top vignette behind everything */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
    mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
}

h1, h2, h3, .nav-brand-text, .footer-brand-name {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

::selection {
    background: rgba(45, 255, 136, 0.32);
    color: #eafff1;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Film grain over the whole UI — gives the dark theme a tactile depth */
body::after {
    content: '';
    position: fixed;
    inset: -50%;
    z-index: 12500;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    animation: grainShift 0.9s steps(2) infinite;
}

@keyframes grainShift {
    0% { transform: translate(0, 0); }
    50% { transform: translate(2%, -1%); }
    100% { transform: translate(-1%, 2%); }
}

@media (prefers-reduced-motion: reduce) {
    body::after { animation: none; }
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
}

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

.hidden { display: none !important; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
    animation: floatGlow 12s ease-in-out infinite;
}

.bg-glow-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -150px; left: -150px;
}

.bg-glow-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    bottom: -200px; right: -200px;
    animation-delay: -4s;
}

.bg-glow-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    animation-delay: -8s;
}

.particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.toast {
    position: fixed;
    top: 96px; right: 24px;
    background: rgba(10, 23, 16, 0.78);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center;
    gap: 13px;
    z-index: 10000;
    overflow: hidden;
    animation: toastIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 380px;
}

/* animated progress line at the bottom */
.toast::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    height: 2px;
    width: 100%;
    transform-origin: left;
    background: var(--accent);
    animation: toastBar 3.5s linear forwards;
}
.toast.toast-error::after { background: var(--accent-red); }

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
}
.toast-icon i { width: 19px; height: 19px; }
.toast-icon.success {
    background: rgba(45, 255, 136, 0.14);
    border: 1px solid rgba(45, 255, 136, 0.3);
}
.toast-icon.success i { color: var(--accent-bright); }
.toast-icon.error {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.toast-icon.error i { color: var(--accent-red); }

.toast-message { font-size: 0.9rem; font-weight: 600; line-height: 1.4; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px) scale(0.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastBar {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 24px 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    height: 62px;
    padding: 0 14px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.navbar.scrolled { padding-top: 10px; }
.navbar.scrolled .nav-container {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    z-index: 10;
}

.nav-logo {
    width: 38px; height: 38px;
    border-radius: 11px;
    overflow: hidden;
    transition: var(--transition);
}

.nav-logo:hover { transform: rotate(-6deg) scale(1.05); }
.nav-logo.image-logo { background: transparent; }

.brand-logo-img {
    width: 100%; height: 100%;
    object-fit: contain;
}

.nav-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover { color: var(--text-primary); }

.nav-link.active {
    color: var(--accent);
    background: rgba(45, 255, 136, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.nav-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    font-weight: 800;
}

.nav-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(45, 255, 136, 0.12);
    transform: translateY(-2px);
}

.nav-btn i { width: 18px; height: 18px; }

.cart-count {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--gradient-primary);
    color: var(--on-accent);
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px; height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

.mobile-menu-btn { display: none; }

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(6, 14, 8, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-close-btn {
    position: absolute;
    top: 20px; right: 20px;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close-btn i { width: 24px; height: 24px; }

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 8px 24px;
    border-radius: var(--radius-md);
}

.mobile-link:hover {
    color: var(--text-primary);
    background: rgba(37, 228, 77, 0.1);
}

.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 160px 32px 90px;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: -10% -20% 0 -20%;
    background: var(--gradient-hero);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 26px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-badge i { width: 15px; height: 15px; color: var(--accent); }

.hero-title {
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    font-weight: 800;
    line-height: 1.0;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
    animation: fadeInUp 0.6s ease 0.3s both;
    text-wrap: balance;
}

.hero-title .gradient-text { position: relative; }

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 44px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.btn {
    padding: 13px 24px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn i { width: 18px; height: 18px; }

.btn-primary {
    background: var(--gradient-primary);
    color: var(--on-accent);
    box-shadow: 0 6px 22px rgba(45, 255, 136, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.45);
    position: relative;
    overflow: hidden;
}

/* glossy sweep crossing the button on hover */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.btn-primary:hover::before { left: 130%; }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 34px rgba(45, 255, 136, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(45, 255, 136, 0.08);
    color: var(--accent-bright);
    transform: translateY(-3px);
}

.btn-hero {
    padding: 16px 30px;
    font-size: 0.98rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 8px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    width: fit-content;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-stat { text-align: center; padding: 0 22px; }

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    display: block;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-stat-divider {
    width: 1px;
    height: 34px;
    background: var(--border-subtle);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1s ease 0.5s both;
}

.hero-card-stack {
    position: relative;
    width: 350px;
    height: 400px;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: linear-gradient(150deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    cursor: default;
    min-width: 250px;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.floating-card i {
    width: 28px; height: 28px;
    color: var(--accent);
    flex-shrink: 0;
}

.fc-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand, var(--accent-purple)) 35%, transparent), transparent 70%),
        rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--brand, var(--accent-purple)) 30%, transparent),
                0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.fc-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.hero-glow-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, var(--accent-deep), var(--accent), var(--accent-bright), var(--accent-deep));
    filter: blur(80px);
    opacity: 0.4;
    animation: spinGlow 16s linear infinite;
    z-index: 0;
}

@keyframes spinGlow {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-card span {
    font-weight: 700;
    font-size: 0.95rem;
}

.fc-price {
    margin-left: auto;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
}

.fc-1 {
    top: 0; left: 0;
    animation: floatCard 6s ease-in-out infinite;
}

.fc-2 {
    top: 80px; right: -20px;
    animation: floatCard 6s ease-in-out infinite 1s;
}

.fc-3 {
    top: 180px; left: 20px;
    animation: floatCard 6s ease-in-out infinite 2s;
}

.fc-4 {
    top: 280px; right: 0px;
    animation: floatCard 6s ease-in-out infinite 3s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(45, 255, 136, 0.06);
    border: 1px solid rgba(45, 255, 136, 0.22);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    line-height: 1.08;
    text-wrap: balance;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

.brands-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 10px;
    overflow: hidden;
}

.brands-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 28px;
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track img {
    height: 30px;
    width: auto;
    opacity: 0.45;
    filter: grayscale(1);
    transition: var(--transition);
    flex-shrink: 0;
}

.marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

.products-section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 32px;
    position: relative;
    z-index: 1;
}

.products-toolbar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.search-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.search-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(37, 228, 77, 0.15), var(--shadow-glow);
}

.search-input:focus ~ .search-icon { color: var(--accent-purple); }

.search-clear {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-clear i { width: 14px; height: 14px; }
.search-clear:hover { background: rgba(255, 255, 255, 0.12); color: var(--text-primary); }

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.filter-tab {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    background: rgba(37, 228, 77, 0.06);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--on-accent);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(45, 255, 136, 0.3);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.5s ease both;
}

/* Product media (real brand logo on a dark glass tile with brand glow) */
.product-media {
    --brand: var(--accent);
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 62%),
        linear-gradient(160deg, #0d1c13 0%, #060d09 100%);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1;
}

.product-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 50%);
    pointer-events: none;
}

.product-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45),
                0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: transform var(--transition), box-shadow var(--transition);
    z-index: 1;
}

.product-card:hover .product-logo {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--brand) 45%, transparent),
                0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.product-logo-fallback {
    align-items: center;
    justify-content: center;
    color: #fff;
}

.product-logo-fallback i { width: 48px; height: 48px; }

.product-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

/* diagonal light sweep across the card on hover */
.product-card::after {
    content: '';
    position: absolute;
    top: -60%; left: -90%;
    width: 60%; height: 220%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    transform: rotate(18deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover::after { left: 160%; }

.product-badge {
    position: absolute;
    top: 16px; right: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.bestseller {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.product-badge.new {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.product-badge.popular {
    background: rgba(22, 163, 74, 0.15);
    color: var(--accent-pink);
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.product-badge.hot {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.product-icon-area {
    width: 64px; height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.product-card:hover .product-icon-area {
    transform: scale(1.1);
}

.product-icon-area i {
    width: 30px; height: 30px;
}

.product-icon-area.purple { background: rgba(37, 228, 77, 0.12); color: var(--accent-purple); }
.product-icon-area.pink { background: rgba(22, 163, 74, 0.12); color: var(--accent-pink); }
.product-icon-area.cyan { background: rgba(34, 211, 238, 0.12); color: var(--accent-cyan); }
.product-icon-area.blue { background: rgba(99, 102, 241, 0.12); color: var(--accent-blue); }
.product-icon-area.green { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.product-icon-area.orange { background: rgba(249, 115, 22, 0.12); color: var(--accent-orange); }
.product-icon-area.red { background: rgba(239, 68, 68, 0.12); color: var(--accent-red); }

.product-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.product-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.product-meta-tag i { width: 12px; height: 12px; }

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
    -webkit-text-fill-color: var(--text-muted);
}

.btn-add-cart {
    height: 42px;
    padding: 0 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    background: rgba(45, 255, 136, 0.08);
    color: var(--accent-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    transition: var(--transition);
}

.btn-add-cart-label { white-space: nowrap; }

.btn-add-cart:hover {
    background: var(--gradient-primary);
    color: var(--on-accent);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(45, 255, 136, 0.4);
    transform: translateY(-2px);
}

.btn-add-cart i { width: 18px; height: 18px; }

.btn-add-cart.added {
    background: var(--accent-green) !important;
    border-color: transparent !important;
    color: var(--on-accent) !important;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results i {
    width: 48px; height: 48px;
    margin: 0 auto 16px;
    opacity: 0.5;
}

.no-results p {
    font-size: 1.1rem;
    font-weight: 600;
}

.features-section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 32px;
    position: relative;
    z-index: 1;
}

/* Bento grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-template-areas:
        "a a b c"
        "a a d d"
        "e e f f";
    gap: 18px;
}

.ft-a { grid-area: a; }
.ft-b { grid-area: b; }
.ft-c { grid-area: c; }
.ft-d { grid-area: d; }
.ft-e { grid-area: e; }
.ft-f { grid-area: f; }

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 26px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.feature-card:hover::after { opacity: 1; }

/* Hero (big) bento card */
.feature-card--hero {
    justify-content: flex-end;
    padding: 34px;
    background:
        radial-gradient(110% 90% at 100% 0%, rgba(45, 255, 136, 0.16), transparent 55%),
        var(--bg-card);
    border-color: var(--border-strong);
}

.feature-card--hero h3 { font-size: 1.7rem; }
.feature-card--hero p { font-size: 1rem; max-width: 420px; }

.feature-card--hero .feature-icon-wrapper {
    width: 64px; height: 64px;
    margin-bottom: auto;
}

.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: var(--radius-full);
    background: rgba(45, 255, 136, 0.1);
    border: 1px solid rgba(45, 255, 136, 0.2);
    color: var(--accent-bright);
    font-size: 0.78rem;
    font-weight: 600;
}
.feature-chip i { width: 14px; height: 14px; }

.feature-icon-wrapper {
    width: 50px; height: 50px;
    background: rgba(45, 255, 136, 0.1);
    border: 1px solid rgba(45, 255, 136, 0.18);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-primary);
    color: var(--on-accent);
    transform: rotate(-6deg);
    box-shadow: 0 6px 20px rgba(45, 255, 136, 0.35);
}

.feature-icon-wrapper i { width: 24px; height: 24px; }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 9px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.reviews-section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 32px;
    position: relative;
    z-index: 1;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Auto-scrolling reviews marquee (2 rows, opposite directions) */
.reviews-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: revScrollL 55s linear infinite;
}
.reviews-track-b {
    margin-top: 20px;
    animation: revScrollR 65s linear infinite;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.reviews-track .review-card { width: 360px; flex-shrink: 0; }

@keyframes revScrollL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes revScrollR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
    .reviews-track { animation: none; flex-wrap: wrap; }
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* oversized decorative quote mark */
.review-card::before {
    content: '\201C';
    position: absolute;
    top: -18px; right: 10px;
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(45, 255, 136, 0.08);
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 228, 77, 0.2);
    box-shadow: var(--shadow-glow);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-filled { width: 16px; height: 16px; color: #2dff88; fill: #2dff88; }
.star-half { width: 16px; height: 16px; color: #2dff88; }
.star-empty { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.2); }

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
}

.review-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.review-name { font-weight: 700; font-size: 0.9rem; }
.review-date { font-size: 0.75rem; color: var(--text-muted); }

.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
}

.review-badge i { width: 13px; height: 13px; }

.review-badge.verified {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-badge i { width: 15px; height: 15px; }

.faq-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 100px 32px;
    position: relative;
    z-index: 1;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(37, 228, 77, 0.15);
}

.faq-item.open {
    border-color: rgba(37, 228, 77, 0.3);
    box-shadow: 0 0 20px rgba(37, 228, 77, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-purple);
}

.faq-chevron {
    width: 20px; height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 320px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* thin neon line along the footer's top edge */
.footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 255, 136, 0.55), transparent);
}

/* giant outlined watermark wordmark */
.footer::after {
    content: 'SAFEMARKET';
    position: absolute;
    bottom: -0.32em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(4rem, 13vw, 11rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(45, 255, 136, 0.09);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 64px 32px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: rgba(37, 228, 77, 0.1);
    transform: translateY(-3px);
}

.social-link i { width: 18px; height: 18px; }
.social-link svg { width: 18px; height: 18px; }

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-purple);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-payments {
    display: flex;
    gap: 10px;
}

.payment-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-modal { max-width: 520px; }
.auth-modal { max-width: 440px; }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i { width: 20px; height: 20px; color: var(--accent-purple); }

.modal-close {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
}

.modal-close i { width: 18px; height: 18px; }

.modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-subtle);
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.cart-item:hover {
    border-color: rgba(37, 228, 77, 0.15);
}

.cart-item-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-icon i { width: 22px; height: 22px; }

.cart-item-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--accent-purple);
    font-weight: 600;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px; height: 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.qty-value {
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: rgba(239, 68, 68, 0.08);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

.cart-item-remove i { width: 16px; height: 16px; }

/* Cart Empty */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    width: 48px; height: 48px;
    margin: 0 auto 16px;
    opacity: 0.4;
}

.cart-empty p { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.cart-empty span { font-size: 0.85rem; }

/* Cart Total */
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-total-value {
    font-size: 1.4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-checkout {
    width: 100%;
}

/* Auth Forms */
.auth-form {
    animation: fadeIn 0.3s ease;
}

.auth-form.hidden { display: none !important; }

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Input Styles (reused from auth) */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    background: rgba(6, 14, 8, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(37, 228, 77, 0.15);
}

.input-icon {
    position: absolute;
    left: 14px;
    width: 18px; height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.input-wrapper input:focus ~ .input-icon { color: var(--accent-purple); }

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 4px;
}

.toggle-password:hover { color: var(--text-primary); }
.toggle-password i { width: 18px; height: 18px; }

.error-msg {
    font-size: 0.75rem;
    color: var(--accent-red);
    margin-top: 6px;
    display: block;
    min-height: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.error-msg.visible { opacity: 1; }

.link-btn {
    background: none;
    border: none;
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Password Strength */
.strength-meter {
    height: 4px;
    background: var(--border-subtle);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.floating-contact {
    position: fixed;
    bottom: 28px; right: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: var(--on-accent);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(37, 228, 77, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: bounceIn 0.6s ease 1s both;
}

.floating-contact:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 228, 77, 0.5);
}

.floating-contact i { width: 20px; height: 20px; }

.scroll-top {
    position: fixed;
    bottom: 92px; right: 28px;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: rgba(37, 228, 77, 0.1);
}

.scroll-top i { width: 20px; height: 20px; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.08); }
    70% { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* Scroll-triggered animation class */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible-anim {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
        gap: 40px;
    }

    .hero-content { max-width: 100%; margin: 0 auto; }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge,
    .hero-trust,
    .hero-buttons { justify-content: center; }
    .hero-stats { margin: 0 auto; }

    .hero-visual { display: none; }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: none;
        grid-auto-rows: auto;
    }
    .feature-card { grid-area: auto !important; }
    .ft-a { grid-column: span 2; }

    .reviews-grid { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }

    .section-title { font-size: 2rem; }

    .hero-title { font-size: 2.2rem; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero { width: 100%; max-width: 320px; }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat-divider { display: none; }

    .bento-grid { grid-template-columns: 1fr; }
    .ft-a { grid-column: auto; }

    .products-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-payments { flex-wrap: wrap; justify-content: center; }

    .floating-label { display: none; }

    .floating-contact { padding: 14px; border-radius: 50%; }
}

@media (max-width: 480px) {
    .hero-section { padding: 120px 16px 60px; }

    .products-section,
    .features-section,
    .reviews-section,
    .faq-section { padding: 60px 16px; }

    .footer-container { padding: 40px 16px 24px; }

    .nav-container { padding: 0 16px; }

    .hero-title { font-size: 1.8rem; }

    .section-title { font-size: 1.7rem; }

    .filter-tabs { gap: 6px; }

    .filter-tab { padding: 8px 14px; font-size: 0.78rem; }

    .product-card { padding: 22px; }

    .products-grid { grid-template-columns: 1fr; }
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    position: relative;
    z-index: 1;
}

.auth-page-card {
    width: 100%;
    max-width: 420px;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(45, 255, 136, 0.08), transparent 60%),
        var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-2xl);
    padding: 40px 34px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), 0 0 80px rgba(45, 255, 136, 0.1);
    animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.mascot {
    position: absolute;
    right: -28px;
    bottom: -22px;
    width: 132px;
    height: 132px;
    pointer-events: none;
    z-index: 4;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5));
    animation: mascotFloat 3.2s ease-in-out infinite;
}
.mascot svg { width: 100%; height: 100%; display: block; overflow: visible; }

.m-tail {
    transform-box: fill-box;
    transform-origin: 35% 95%;
    animation: mTail 2.6s ease-in-out infinite;
}
.m-body {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: mBreath 3s ease-in-out infinite;
}
.m-head {
    transform-box: fill-box;
    transform-origin: 50% 85%;
    animation: mHead 4.2s ease-in-out infinite;
}
.m-ear-r {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: mEar 5s ease-in-out infinite;
}

@keyframes mascotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes mTail { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes mBreath { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.04); } }
@keyframes mHead { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes mEar { 0%, 88%, 100% { transform: rotate(0); } 94% { transform: rotate(-11deg); } }

@media (prefers-reduced-motion: reduce) {
    .mascot, .m-tail, .m-body, .m-head, .m-ear-r { animation: none; }
}

@media (max-width: 520px) {
    .mascot { width: 96px; height: 96px; right: -10px; bottom: -14px; }
}

.auth-page-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.auth-page-logo img { width: 48px; height: 48px; }

.auth-page-logo span {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-page-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 18px;
    margin-bottom: 6px;
}

.auth-page-sub {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* Google button */
.google-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.google-render {
    display: flex;
    justify-content: center;
    min-height: 0;
    width: 100%;
}
.google-render > div { margin: 0 auto; }

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: #fff;
    color: #1f1f1f;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    transition: var(--transition);
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-google img { width: 20px; height: 20px; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.auth-page .btn-primary,
.btn-block { width: 100%; margin-top: 6px; }

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.auth-back:hover { color: var(--accent-purple); }
.auth-back i { width: 14px; height: 14px; }

/* Account dropdown in navbar */
.account-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(45, 255, 136, 0.06);
    padding: 8px;
    z-index: 1200;
    transform-origin: top right;
    animation: menuPop 0.22s var(--ease-spring);
}

@keyframes menuPop {
    from { opacity: 0; transform: translateY(-6px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.account-menu-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 12px;
    margin-bottom: 8px;
    border-radius: var(--radius-md);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(45,255,136,0.1), transparent 60%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

.account-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--on-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(45, 255, 136, 0.3);
}

.account-name { font-weight: 700; font-size: 0.92rem; }
.account-email { font-size: 0.74rem; color: var(--text-muted); word-break: break-all; }

.account-menu-sep {
    height: 1px;
    background: var(--border-subtle);
    margin: 6px 4px;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 11px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-md);
    text-align: left;
    transition: var(--transition);
}

.account-menu-item:hover { background: rgba(45, 255, 136, 0.08); color: var(--accent-bright); }
.account-menu-item.danger { color: #f87171; }
.account-menu-item.danger:hover { background: rgba(239,68,68,0.12); color: #fca5a5; }
.account-menu-item i { width: 17px; height: 17px; }

.auth-btn.logged-in {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--on-accent);
    font-family: var(--font-display);
    font-weight: 700;
}

.settings-modal { max-width: 560px; }

.settings-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(45,255,136,0.12), transparent 55%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    margin-bottom: 22px;
}

.settings-hero .account-avatar { width: 56px; height: 56px; font-size: 1.4rem; }
.settings-hero-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.settings-hero-email { font-size: 0.82rem; color: var(--text-muted); word-break: break-all; }

.provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(45, 255, 136, 0.12);
    border: 1px solid rgba(45, 255, 136, 0.25);
    color: var(--accent-bright);
}
.provider-badge i { width: 12px; height: 12px; }

.settings-section { margin-bottom: 24px; }
.settings-section:last-child { margin-bottom: 0; }

.settings-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.settings-section-title i { width: 15px; height: 15px; color: var(--accent); }

.settings-row { display: flex; gap: 10px; align-items: flex-end; }
.settings-row .input-group { flex: 1; margin-bottom: 0; }

.btn-sm {
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.settings-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.settings-note i { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.danger-zone {
    border: 1px solid rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.04);
    border-radius: var(--radius-lg);
    padding: 18px;
}
.danger-zone .settings-section-title { color: #f87171; }
.danger-zone .settings-section-title i { color: #f87171; }

.btn-danger {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); color: #fff; }
.btn-danger i { width: 16px; height: 16px; }

/* Login-required hint on checkout */
.checkout-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.checkout-hint i { width: 15px; height: 15px; color: var(--accent-purple); }

.product-stock { margin-bottom: 14px; position: relative; z-index: 1; }

.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
}
.stock-pill i { width: 13px; height: 13px; }
.stock-pill.ok   { background: rgba(45, 255, 136, 0.1);  color: var(--accent-bright); border: 1px solid rgba(45, 255, 136, 0.22); }
.stock-pill.low  { background: rgba(249, 115, 22, 0.12); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.28); }
.stock-pill.out  { background: rgba(239, 68, 68, 0.12);  color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.28); }

.product-card.sold-out { opacity: 0.72; }
.product-card.sold-out .product-logo { filter: grayscale(0.6); }
.btn-add-cart:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-add-cart:disabled:hover { transform: none; background: rgba(45, 255, 136, 0.08); color: var(--accent-bright); box-shadow: none; }

.pay-modal { max-width: 480px; }
.pay-steps { display: flex; flex-direction: column; gap: 14px; }

.pay-step { display: flex; align-items: flex-start; gap: 12px; }
.pay-step-num {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--on-accent);
    font-weight: 800;
    font-size: 0.82rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pay-step-title { font-weight: 700; font-size: 0.92rem; }
.pay-step-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.pay-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}
.pay-field-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.pay-field-val { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }

.pay-ref {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(45, 255, 136, 0.08);
    border: 1px dashed rgba(45, 255, 136, 0.4);
}
.pay-ref-code {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-bright);
}

.copy-btn {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn i { width: 15px; height: 15px; }

.promo-row { display: flex; gap: 8px; margin-bottom: 12px; }
.promo-input-wrap { position: relative; flex: 1; display: flex; align-items: center; }
.promo-icon { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--text-muted); }
.promo-input {
    width: 100%;
    padding: 11px 12px 11px 36px;
    background: rgba(6, 14, 8, 0.6);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.88rem; font-family: inherit;
    text-transform: uppercase;
    transition: var(--transition);
}
.promo-input:focus { outline: none; border-color: var(--accent); border-style: solid; }
.btn-promo {
    padding: 0 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    background: rgba(45, 255, 136, 0.1);
    color: var(--accent-bright);
    font-weight: 700; font-size: 0.85rem; font-family: inherit;
    transition: var(--transition);
}
.btn-promo:hover { background: var(--gradient-primary); color: var(--on-accent); border-color: transparent; }

.cart-summary { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--text-secondary); }
.summary-row.discount { color: var(--accent-bright); font-weight: 600; }
.summary-row.discount span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.summary-row.discount i { width: 14px; height: 14px; }
.promo-remove {
    background: none; border: none; color: var(--text-muted);
    font-size: 1.1rem; line-height: 1; cursor: pointer; margin-left: 4px;
}
.promo-remove:hover { color: var(--accent-red); }

.myorders-modal { max-width: 540px; }
.myorders-list { display: flex; flex-direction: column; gap: 14px; }

.myorder {
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}
.myorder-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.myorder-ref { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.05em; }
.myorder-date { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 10px; }
.myorder-items { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 12px; }
.myorder-foot { display: flex; justify-content: flex-end; }
.myorder-total { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--accent-bright); }

.myorder-pending {
    display: flex; align-items: center; gap: 7px;
    margin-top: 12px; padding: 10px 12px;
    border-radius: var(--radius-md);
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: #fdba74; font-size: 0.82rem; font-weight: 600;
}
.myorder-pending i { width: 15px; height: 15px; }

.myorder-reward {
    position: relative;
    margin-top: 12px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(45, 255, 136, 0.08);
    border: 1px solid rgba(45, 255, 136, 0.25);
}
.myorder-reward-head {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--accent-bright); margin-bottom: 8px;
}
.myorder-reward-head i { width: 15px; height: 15px; }
.myorder-reward-box {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.85rem; color: var(--text-primary);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 40px 12px 12px;
    white-space: pre-wrap; word-break: break-word;
    margin: 0;
}
.reward-copy { position: absolute; top: 40px; right: 22px; }

.orders-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.orders-empty i { width: 46px; height: 46px; margin: 0 auto 14px; opacity: 0.5; }
.orders-empty p { font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: var(--text-secondary); }
.orders-empty span { font-size: 0.85rem; }

.confetti-layer {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 12000; overflow: hidden;
}
.confetti {
    position: absolute; top: -20px;
    display: block;
    opacity: 0;
    animation: confettiFall linear forwards;
}
@keyframes confettiFall {
    0% { opacity: 1; transform: translateY(-20px) rotate(0deg); }
    100% { opacity: 0.9; transform: translateY(105vh) rotate(720deg); }
}

.shop-mascot {
    position: fixed;
    left: 22px; bottom: 20px;
    z-index: 900;
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.shop-mascot .mascot-fig {
    width: 104px; height: 104px;
    cursor: pointer;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5));
    animation: mascotFloat 3.4s ease-in-out infinite;
}
.shop-mascot .mascot-fig:active { transform: scale(0.94); }
.shop-mascot svg { width: 100%; height: 100%; display: block; overflow: visible; }
.shop-mascot.bounce .mascot-fig { animation: mascotBounce 0.6s ease; }
@keyframes mascotBounce { 0%,100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-18px) scale(1.08); } 60% { transform: translateY(0) scale(0.96); } }

.mascot-bubble {
    order: -1;
    max-width: 200px;
    padding: 10px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: 14px 14px 14px 4px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(6px) scale(0.96);
    transition: opacity 0.3s, transform 0.3s;
}
.shop-mascot.show-bubble .mascot-bubble { opacity: 1; transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
    .shop-mascot .mascot-fig { animation: none; }
    .confetti { animation: none; display: none; }
}
@media (max-width: 768px) { .shop-mascot { display: none; } }

.detail-modal {
    max-width: 460px;
    padding: 0;
    overflow: hidden;
    position: relative;
}
.detail-close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(6px);
}
.detail-media {
    --brand: var(--accent);
    position: relative;
    height: 190px;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 62%),
        linear-gradient(160deg, #0d1c13 0%, #060d09 100%);
    border-bottom: 1px solid var(--border-subtle);
}
.detail-logo, .detail-logo-fb {
    width: 96px; height: 96px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.08) inset;
    object-fit: contain;
}
.detail-logo-fb { align-items: center; justify-content: center; color: #fff; }
.detail-logo-fb i { width: 56px; height: 56px; }
.detail-media .product-discount { top: 16px; left: 16px; }

.detail-body { padding: 24px 26px 26px; }
.detail-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.detail-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.detail-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.detail-add { white-space: nowrap; }

.pm-banner {
    background:
        radial-gradient(125% 95% at 22% 12%, color-mix(in srgb, var(--brand, #2dff88) 72%, transparent), transparent 58%),
        linear-gradient(150deg,
            color-mix(in srgb, var(--brand, #2dff88) 52%, #04130a) 0%,
            color-mix(in srgb, var(--brand, #2dff88) 16%, #050b06) 72%,
            #050b06 100%) !important;
}
/* diagonal glossy sheen */
.pm-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.16) 47%, transparent 58%);
}
.pm-banner .product-logo,
.pm-banner .detail-logo {
    background: rgba(255, 255, 255, 0.16);
}

/* SafeMarket brand chip (bottom-left) */
.pm-brand {
    position: absolute;
    bottom: 10px; left: 12px;
    z-index: 3;
    display: flex; align-items: center; gap: 6px;
    padding: 4px 10px 4px 4px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.pm-brand img { width: 16px; height: 16px; border-radius: 5px; }
.pm-brand span {
    font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em;
    color: #fff; text-transform: uppercase;
}

/* Category / PREMIUM tag (bottom-right) */
.pm-tag {
    position: absolute;
    bottom: 12px; right: 14px;
    z-index: 3;
    font-family: var(--font-display);
    font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

/* Bigger on the product detail banner */
.detail-media .pm-brand { bottom: 14px; left: 16px; padding: 5px 12px 5px 5px; }
.detail-media .pm-brand img { width: 18px; height: 18px; }
.detail-media .pm-brand span { font-size: 0.68rem; }
.detail-media .pm-tag { bottom: 16px; right: 18px; font-size: 0.8rem; }

input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.num-stepper { position: relative; display: block; flex: 1; }
.num-stepper input { width: 100%; padding-right: 38px !important; }

.num-btn {
    position: absolute;
    right: 6px;
    width: 24px; height: 15px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.num-btn.up { top: 6px; }
.num-btn.down { bottom: 6px; }
.num-btn:hover { background: var(--gradient-primary); color: var(--on-accent); border-color: transparent; }
.num-btn i { width: 12px; height: 12px; }

/* Live pulsing dot in the badge */
.live-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(45, 255, 136, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(45, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 255, 136, 0); }
}

/* Animated shimmer on the gradient word */
.hero-title .gradient-text {
    background-size: 220% auto;
    animation: heroShimmer 5s linear infinite;
}
@keyframes heroShimmer { to { background-position: 220% center; } }

/* Moving aurora behind the hero text */
.hero-section::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: 620px; height: 620px;
    left: -120px; top: 6%;
    background: radial-gradient(circle, rgba(45, 255, 136, 0.16), transparent 70%);
    filter: blur(50px);
    animation: heroAurora 16s ease-in-out infinite;
}
@keyframes heroAurora {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(140px, 50px) scale(1.18); }
}

/* Trust / social-proof row */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.55s both;
}
.trust-avatars { display: flex; }
.trust-avatars span {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800; color: #fff;
    border: 2px solid var(--bg-primary);
    margin-left: -10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-more { background: rgba(255, 255, 255, 0.1) !important; color: var(--text-secondary) !important; font-size: 0.68rem !important; }
.trust-rating { display: flex; flex-direction: column; gap: 3px; }
.trust-stars { display: flex; gap: 2px; }
.trust-stars svg, .trust-stars i { width: 15px; height: 15px; color: #2dff88; fill: #2dff88; }
.trust-text { font-size: 0.84rem; color: var(--text-secondary); }
.trust-text strong { color: var(--text-primary); }

@media (prefers-reduced-motion: reduce) {
    .live-dot, .hero-title .gradient-text, .hero-section::after { animation: none; }
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 150px 32px 70px;
    min-height: auto;
}
.hero-centered .hero-content { max-width: 780px; margin: 0 auto; }
.hero-centered .hero-badge,
.hero-centered .hero-buttons,
.hero-centered .hero-trust { justify-content: center; }
.hero-centered .hero-title { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.hero-centered .hero-subtitle { max-width: 560px; margin: 0 auto 36px; }
.hero-centered .hero-stats { margin: 0 auto; }

/* Rotating word */
.rotator {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-width: 1ch;
}
.rotator.rotator-out { opacity: 0; transform: translateY(-14px); }

/* Product showcase marquee */
.hero-showcase {
    width: 100%;
    max-width: 1180px;
    margin: 56px auto 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-showcase-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: revScrollL 38s linear infinite;
}
.hero-showcase:hover .hero-showcase-track { animation-play-state: paused; }

.hero-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px 13px 13px;
    border-radius: var(--radius-full);
    background: linear-gradient(150deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    transition: var(--transition);
}
.hero-chip:hover {
    transform: translateY(-4px);
    border-color: var(--brand, var(--accent));
    box-shadow: var(--shadow-md), 0 0 26px color-mix(in srgb, var(--brand, var(--accent)) 35%, transparent);
}
.hero-chip-logo {
    width: 38px; height: 38px;
    border-radius: 11px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--brand, var(--accent)) 36%, transparent), transparent 70%),
        rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.hero-chip-logo img { width: 22px; height: 22px; object-fit: contain; }
.hero-chip-logo i { width: 20px; height: 20px; color: #fff; }
.hero-chip-name { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.hero-chip-price {
    font-family: var(--font-display);
    font-weight: 700; font-size: 0.95rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .hero-showcase-track { animation: none; }
    .rotator { transition: none; }
}
@media (max-width: 600px) {
    .hero-chip-name { display: none; }
    .hero-centered { padding-top: 140px; }
}

.legal-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 150px 32px 90px;
    position: relative;
    z-index: 1;
}

/* --- Hero header --- */
.legal-hero { max-width: 740px; margin-bottom: 52px; }

.legal-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    margin: 16px 0 14px;
    text-wrap: balance;
}

.legal-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 26px;
}

.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; }

.legal-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}
.legal-chip i { width: 14px; height: 14px; color: var(--accent); }
a.legal-chip:hover {
    border-color: var(--accent);
    color: var(--accent-bright);
    transform: translateY(-2px);
}

/* --- Two-column layout: sticky TOC + cards --- */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 44px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 108px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 12px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.legal-toc-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 4px 12px 12px;
}
.legal-toc-label i { width: 13px; height: 13px; color: var(--accent); }

.legal-toc a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.toc-num {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.legal-toc a:hover { color: var(--text-primary); background: rgba(45, 255, 136, 0.06); }
.legal-toc a.active { color: var(--accent-bright); background: rgba(45, 255, 136, 0.1); }
.legal-toc a.active .toc-num { color: var(--accent); }

/* --- Section cards --- */
.legal-content { display: flex; flex-direction: column; gap: 16px; }

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    scroll-margin-top: 110px;
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(110% 90% at 100% 0%, rgba(45, 255, 136, 0.06), transparent 50%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.legal-card:hover { border-color: rgba(45, 255, 136, 0.24); }
.legal-card:hover::before { opacity: 1; }

.legal-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.legal-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-md);
    background: rgba(45, 255, 136, 0.08);
    border: 1px solid rgba(45, 255, 136, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: var(--transition);
}
.legal-icon i { width: 19px; height: 19px; }
.legal-card:hover .legal-icon {
    background: var(--gradient-primary);
    color: var(--on-accent);
    transform: rotate(-6deg);
}

.legal-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 2px;
}

.legal-card h2 {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.legal-card p, .legal-card li {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
}
.legal-card p + p, .legal-card p + ul { margin-top: 10px; }

.legal-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}
.legal-card li { padding-left: 24px; }
.legal-card li::before {
    content: '';
    position: absolute;
    left: 2px; top: 0.62em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(45, 255, 136, 0.6);
}

.legal-card a { color: var(--accent); font-weight: 600; }
.legal-card a:hover { text-decoration: underline; }

/* --- "L'essentiel" highlight card --- */
.legal-essential {
    border-color: rgba(45, 255, 136, 0.28);
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(45, 255, 136, 0.1), transparent 55%),
        var(--bg-card);
}

.legal-essential-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.legal-point {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 15px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}
.legal-point i { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.legal-point strong { display: block; font-size: 0.85rem; color: var(--text-primary); margin-bottom: 3px; }
.legal-point span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

/* --- Cross links to the other legal pages --- */
.legal-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
}

.legal-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}
.legal-nav a:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.legal-nav-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.legal-nav-title { font-weight: 700; font-size: 0.95rem; color: var(--text-primary); }
.legal-nav i { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.legal-placeholder {
    background: rgba(249, 115, 22, 0.08);
    border: 1px dashed rgba(249, 115, 22, 0.4);
    border-radius: var(--radius-sm);
    padding: 2px 8px;
    color: #fdba74;
    font-weight: 600;
}

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; gap: 24px; }
    .legal-toc {
        position: static;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
        padding: 10px;
    }
    .legal-toc-label { display: none; }
    .legal-toc a { white-space: nowrap; flex-shrink: 0; }
    .legal-essential-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .legal-page { padding: 124px 18px 60px; }
    .legal-card { padding: 22px 20px; }
    .legal-nav { grid-template-columns: 1fr; }
}

