/* ==============================================
   GOOFY EATS STORE — Styles
   Matches the ordering tool design language
   ============================================== */

/* ── Image Protection ── */
img[src*="logo"] {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
}

/* ── Tokens (same as ordering tool) ── */
:root {
    --accent-orange: #d4a843;
    --accent-orange-bright: #f5c842;
    --accent-orange-dark: #b8962a;
    --accent-green: #4dbd5e;
    --accent-green-bright: #6ddf7f;
    --accent-green-dark: #3da84d;
    --accent-gold: #d4a843;

    --gradient-brand: linear-gradient(135deg, var(--accent-orange), var(--accent-green));
    --gradient-btn: linear-gradient(135deg, #b8962a 0%, #3da84d 50%, #6ddf7f 100%);

    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-input: rgba(255, 255, 255, 0.06);
    --bg-input-focus: rgba(255, 255, 255, 0.08);
    --bg-navbar: rgba(10, 10, 10, 0.7);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(212, 168, 67, 0.25);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-input: rgba(255, 255, 255, 0.1);
    --border-input-focus: rgba(212, 168, 67, 0.5);

    --text-primary: #f0ece4;
    --text-secondary: rgba(240, 236, 228, 0.55);
    --text-tertiary: rgba(240, 236, 228, 0.3);

    --color-success: #4dbd5e;
    --color-error: #e8534a;
    --color-warning: #d4a843;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

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

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a, button, input, select, textarea { touch-action: manipulation; }
html { height: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Micro-animations ── */

/* Scroll-reveal: elements start hidden, animate in when visible */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale-up reveal variant for cards/carousel */
.reveal-scale {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger children for sequential reveal */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }

/* Hero entrance — fade up with slight scale */
@keyframes hero-enter {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-content { animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.hero-visual { animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }

/* Stock update pulse */
@keyframes stock-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.stock-badge.updated { animation: stock-pulse 0.4s ease; }

/* Boundary jiggle — horizontal shake when user can't navigate further */
@keyframes jiggle {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px); }
    30% { transform: translateX(5px); }
    45% { transform: translateX(-4px); }
    60% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
    90% { transform: translateX(1px); }
}
.jiggle { animation: jiggle 0.45s ease; }

/* ── Announcement Banner (above navbar) ── */

@keyframes banner-slide-down {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes banner-glow-sweep {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.announcement-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 101; /* above navbar (z-index: 100) */
    background: #111111;
    border-bottom: 1px solid rgba(212, 168, 67, 0.25);
    animation: banner-slide-down 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.announcement-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(212, 168, 67, 0.5) 25%,
        rgba(77, 189, 94, 0.5) 50%,
        rgba(212, 168, 67, 0.5) 75%,
        transparent
    );
    background-size: 200% 100%;
    animation: banner-glow-sweep 4s linear infinite;
}

.announcement-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 9px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Outfit', var(--font-family);
}

.announcement-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.announcement-icon svg {
    width: 14px;
    height: 14px;
}

.announcement-text {
    font-family: 'Outfit', var(--font-family);
    font-size: 0.84rem;
    font-weight: 500;
    color: #f0ece4;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

/* Push navbar + all content down when banner is visible */
body.has-announcement .navbar { top: 36px; }
body.has-announcement .mobile-menu { top: calc(36px + 56px); }
body.has-announcement .hero { padding-top: calc(120px + 36px); }

@media (max-width: 768px) {
    .announcement-banner-inner { padding: 8px 16px; gap: 8px; }
    .announcement-text { font-size: 0.75rem; }
    .announcement-icon svg { width: 12px; height: 12px; }
    body.has-announcement .navbar { top: 32px; }
    body.has-announcement .mobile-menu { top: calc(32px + 52px); }
    body.has-announcement .hero { padding-top: calc(100px + 32px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
    .hero-content, .hero-visual { animation: none; }
    .stock-badge.updated { animation: none; }
    .announcement-banner { animation: none; }
    .announcement-banner::after { animation: none; }
    .skeleton-bone { animation: none; }
    .trust-item { animation: none; opacity: 1; transform: none; }
    .btn-buy .btn-ripple-effect { animation: none; display: none; }
    .btn-buy.btn-loading::after { animation: none; }
}

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

/* ── Background Glows (same as ordering tool) ── */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}

.bg-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,168,67,0.15) 0%, transparent 70%);
    top: -200px; left: -150px;
    animation: floatOrb1 14s ease-in-out infinite;
}

.bg-glow-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(77,189,94,0.1) 0%, transparent 70%);
    bottom: -180px; right: -120px;
    animation: floatOrb2 18s ease-in-out infinite;
}

.bg-glow-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(212,168,67,0.06) 0%, rgba(77,189,94,0.04) 50%, transparent 70%);
    top: 40%; right: -100px;
    animation: floatOrb3 18s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0,0); }
    33% { transform: translate(60px,40px); }
    66% { transform: translate(-30px,60px); }
}
@keyframes floatOrb2 {
    0%, 100% { transform: translate(0,0); }
    33% { transform: translate(-50px,-30px); }
    66% { transform: translate(40px,-50px); }
}
@keyframes floatOrb3 {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(-60px,-40px); }
}

/* ═══════════════════════════════════════════════
   NAVBAR — matches ordering tool exactly
   ═══════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 14px 0;
    background: var(--bg-navbar);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
}

.nav-logo-img {
    width: 38px; height: 38px;
    object-fit: contain;
}

.nav-logo-text {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #d4a843, #a08035);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Status pill — same as ordering tool */
.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-medium);
    touch-action: manipulation;
}

.nav-cart:hover {
    background: rgba(212,168,67,0.08);
    border-color: var(--border-accent);
    color: var(--accent-gold);
}

.cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    border-radius: var(--radius-full);
    background: var(--accent-gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

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

.cart-badge.pop {
    animation: badge-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badge-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ── Main ── */
main {
    position: relative;
    z-index: 1;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-medium);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-btn);
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(212,168,67,0.2), 0 0 40px rgba(77,189,94,0.1);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(212,168,67,0.35), 0 0 60px rgba(77,189,94,0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-card);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    background: rgba(212,168,67,0.04);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-card);
}

.btn-secondary:hover {
    border-color: var(--border-accent);
    background: rgba(212,168,67,0.04);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* Body scroll lock when modal is open */
body.sa-no-scroll,
html.sa-no-scroll {
    overflow: hidden !important;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}
body.sa-no-scroll {
    position: fixed;
    width: 100%;
}

/* ── Mobile Menu ── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-medium);
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    z-index: 99;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu.active { display: flex; }

.mobile-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
}

/* ── Nav Links ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    cursor: pointer;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-brand);
    border-radius: 1px;
    transition: width var(--transition-medium);
}

.nav-link:hover::after { width: 100%; }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(212,168,67,0.1);
    border: 1px solid rgba(212,168,67,0.2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-success);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-title-accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 460px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    animation: trust-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.trust-item:nth-child(1) { animation-delay: 0.8s; }
.trust-item:nth-child(2) { animation-delay: 0.95s; }
.trust-item:nth-child(3) { animation-delay: 1.1s; }

@keyframes trust-fade-in {
    to { opacity: 1; transform: translateY(0); }
}

.trust-item svg { color: var(--color-success); flex-shrink: 0; }

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-wrapper {
    position: relative;
    padding: 3px;
    border-radius: calc(var(--radius-xl) + 3px);
    animation: float 6s ease-in-out infinite;
}

.hero-card-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(from var(--border-angle, 0deg), var(--accent-gold), var(--accent-green), transparent, var(--accent-gold));
    animation: rotate-border 4s linear infinite;
    opacity: 0.6;
    transition: opacity var(--transition-medium);
}

.hero-card-wrapper:hover .hero-card-border { opacity: 1; }

@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes rotate-border { to { --border-angle: 360deg; } }

.hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-primary);
    box-shadow: 0 0 40px rgba(212,168,67,0.1), 0 0 80px rgba(77,189,94,0.05), 0 20px 60px rgba(0,0,0,0.5);
    transition: box-shadow var(--transition-medium);
}

.hero-card-wrapper:hover .hero-card {
    box-shadow: 0 0 60px rgba(212,168,67,0.2), 0 0 100px rgba(77,189,94,0.1), 0 24px 70px rgba(0,0,0,0.6);
}

.hero-card-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    z-index: 2;
    pointer-events: none;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer { 0% { left: -100%; } 50%,100% { left: 150%; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-banner-img { width: 100%; max-width: 520px; display: block; }

/* ═══════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════ */
.stats {
    padding: 40px 0;
    position: relative;
}

.stats::before, .stats::after {
    content: '';
    position: absolute;
    left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.stats::before { top: 0; }
.stats::after { bottom: 0; }

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-medium);
    cursor: default;
}

.stat-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.stat-number.highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════
   SECTIONS COMMON
   ═══════════════════════════════════════════════ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: rgba(212,168,67,0.1);
    border: 1px solid rgba(212,168,67,0.15);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   TRUST CARDS
   ═══════════════════════════════════════════════ */
.trust-section { padding: 60px 0; }

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

.trust-card {
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all var(--transition-medium);
    cursor: default;
}

.trust-card:hover {
    border-color: var(--color-success);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.trust-card-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(212,168,67,0.08);
    border: 1px solid rgba(212,168,67,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: all var(--transition-medium);
}

.trust-card:hover .trust-card-icon {
    background: rgba(212,168,67,0.15);
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

.trust-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   PRODUCTS CAROUSEL
   ═══════════════════════════════════════════════ */
.products-section { padding: 60px 0 100px; overflow: hidden; will-change: margin-top; }

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-track {
    position: relative;
    width: 100%;
    max-width: 400px;
    min-height: 320px; /* default for skeleton visibility, JS overrides */
    overflow: visible;
    margin: 0 auto;
    transition: min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.carousel-arrow {
    position: absolute;
    z-index: 20;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(10,10,10,0.85);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: rgba(30,30,30,0.95);
    border-color: var(--border-accent);
    color: var(--accent-gold);
    transform: translateY(-50%) scale(1.12);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow:disabled {
    opacity: 0.15;
    cursor: not-allowed;
}

.carousel-prev { left: -56px; top: 50%; transform: translateY(-50%); }
.carousel-next { right: -56px; top: 50%; transform: translateY(-50%); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent-gold);
    box-shadow: 0 0 8px rgba(212,168,67,0.3);
    transform: scale(1.2);
    animation: dotBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dotBounce {
    0% { transform: scale(0.6); }
    60% { transform: scale(1.35); }
    100% { transform: scale(1.2); }
}

.carousel-dot:hover:not(.active) {
    background: rgba(255,255,255,0.25);
}

/* Single product toast */
.single-product-toast {
    position: fixed;
    bottom: 80px; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
    white-space: nowrap;
    text-align: center;
}
.single-product-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
@media (max-width: 768px) {
    .single-product-toast {
        bottom: auto;
        top: 70px;
        font-size: 0.72rem;
        padding: 7px 16px;
    }
}

/* ── Skeleton Loading ── */

@keyframes skeleton-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-bone {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(255, 255, 255, 0.04) 80%
    );
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

.skeleton-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skeleton-card::before { display: none; } /* hide the gold top border */

/* Card positions */
.product-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    overflow: hidden;
    cursor: default;
    backface-visibility: hidden;
    will-change: transform, opacity;
    transform: translateZ(0);
    transform-style: preserve-3d;
    perspective: 800px;
}

/* Hover: 3D lift + gold glow on active card */
.product-card[data-pos="0"] {
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
                opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.product-card[data-pos="0"]:hover {
    border-color: rgba(212, 168, 67, 0.35);
    box-shadow: 0 0 40px rgba(212, 168, 67, 0.12), 0 20px 60px rgba(0,0,0,0.4);
    transform: translateY(-6px) scale(1.02);
}

/* Shimmer sweep on hover */
.product-card[data-pos="0"]::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,0.06), transparent);
    transition: none;
    pointer-events: none;
    z-index: 1;
}

.product-card[data-pos="0"]:hover::after {
    animation: cardShimmer 0.8s ease forwards;
}

@keyframes cardShimmer {
    0% { left: -60%; }
    100% { left: 120%; }
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,0.2), transparent);
}

/* Center */
.product-card[data-pos="0"] {
    z-index: 5;
    transform: translateX(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Right peek */
.product-card[data-pos="1"] {
    z-index: 3;
    transform: translateX(85%) scale(0.92);
    opacity: 0.35;
    pointer-events: none;
    filter: blur(2px);
}

/* Left peek */
.product-card[data-pos="-1"] {
    z-index: 3;
    transform: translateX(-85%) scale(0.92);
    opacity: 0.35;
    pointer-events: none;
    filter: blur(2px);
}

/* Hidden */
.product-card[data-pos="2"],
.product-card[data-pos="-2"],
.product-card[data-pos="hidden"] {
    z-index: 1;
    transform: translateX(0) scale(0.8);
    opacity: 0;
    pointer-events: none;
}

/* (duplicate hover removed — consolidated above) */

.product-card.out-of-stock[data-pos="0"] { opacity: 0.7; }
.product-card.out-of-stock[data-pos="1"],
.product-card.out-of-stock[data-pos="-1"] { opacity: 0.25; }

/* Out-of-stock card interior */
.oos-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 16px;
    min-height: 280px;
    gap: 12px;
    flex: 1;
}

/* Make out-of-stock card fill the carousel track height on desktop */
.product-card.out-of-stock {
    display: flex;
    flex-direction: column;
}

.oos-icon {
    margin-bottom: 4px;
    animation: oosFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.oos-icon img {
    display: block;
    width: 56px;
    height: auto;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

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

.oos-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff5c5c;
    background: rgba(255, 60, 60, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.2);
    border-radius: 20px;
    padding: 5px 14px;
}

.oos-badge .stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff5c5c;
    box-shadow: 0 0 6px rgba(255, 60, 60, 0.5);
    flex-shrink: 0;
}

.oos-product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 4px;
}

.oos-subtitle {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.oos-cta {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    opacity: 0.6;
    margin-top: 4px;
    font-style: italic;
}

/* Ghost placeholder cards (single product mode) */
.product-card-ghost {
    pointer-events: none;
    filter: blur(3px);
    opacity: 0.25;
}

.product-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.product-icon-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(212,168,67,0.08);
    border: 1px solid rgba(212,168,67,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.stock-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: rgba(77,189,94,0.08);
    border: 1px solid rgba(77,189,94,0.2);
    color: var(--color-success);
}

.stock-badge.out {
    background: rgba(232,83,74,0.08);
    border: 1px solid rgba(232,83,74,0.2);
    color: var(--color-error);
}

.stock-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 4px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price-unit {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.product-comment {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.55;
    padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 18px;
}

.comment-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 1px 0;
}

.comment-line svg {
    color: var(--accent-gold);
    width: 14px; height: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Qty Selector */
.qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.qty-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.qty-selector {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-family);
    touch-action: manipulation;
}

.qty-btn:hover:not(:disabled) { background: rgba(255,255,255,0.06); color: var(--accent-gold); }
.qty-btn:active:not(:disabled) { transform: scale(0.85); transition: transform 0.08s ease; }
.qty-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.qty-value {
    width: 40px;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    padding: 6px 0;
}

/* Price Breakdown */
.price-breakdown {
    padding: 12px 0 14px;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: 14px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
}

.price-row-label { font-size: 0.8rem; color: var(--text-secondary); }
.price-row-value { font-size: 0.8rem; color: var(--text-primary); font-weight: 600; }

.price-row.fee .price-row-label,
.price-row.fee .price-row-value { color: var(--text-tertiary); font-size: 0.75rem; }

.price-row.total {
    padding-top: 8px; margin-top: 4px;
    border-top: 1px dashed rgba(255,255,255,0.06);
}

.price-row.total .price-row-label { font-size: 0.85rem; color: var(--text-primary); font-weight: 700; }

.price-row.total .price-row-value {
    font-size: 1rem; font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-buy {
    padding: 14px 24px;
    font-weight: 700;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-buy:active:not(.out-of-stock):not(.btn-loading) {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}

/* Buy button loading state */
.btn-buy.btn-loading {
    pointer-events: none;
    color: transparent;
}

.btn-buy.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    top: 50%; left: 50%;
    margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(10,10,10,0.2);
    border-top-color: #0a0a0a;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Ripple effect on buy */
@keyframes btn-ripple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

.btn-buy .btn-ripple-effect {
    position: absolute;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    animation: btn-ripple 0.6s ease-out forwards;
    pointer-events: none;
}

.btn-buy.out-of-stock {
    background: rgba(255,255,255,0.04);
    color: var(--text-tertiary);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.how-it-works { padding: 100px 0; }

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 0 1 280px;
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-medium);
    position: relative;
    cursor: default;
}

.step-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.step-number {
    position: absolute;
    top: -14px; right: 20px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #0a0a0a;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(212,168,67,0.06);
    border: 1px solid rgba(212,168,67,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 8px;
    padding-top: 50px;
    color: var(--text-tertiary);
}



/* ── Store Main (legal pages) ── */
.store-main {
    flex: 1;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════
   LEGAL / CONTENT PAGES
   ═══════════════════════════════════════════════ */
.legal-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 32px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.legal-back:hover { color: var(--text-secondary); }

.legal-back svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legal-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.legal-updated {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.legal-section p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.legal-section li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.legal-section a {
    color: var(--accent-gold);
    transition: opacity var(--transition-fast);
}

.legal-section a:hover { opacity: 0.7; }

.legal-contact {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    margin-top: 8px;
}

.legal-contact p {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   FAQ PAGE
   ═══════════════════════════════════════════════ */
.faq-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}

/* Sidebar */
.faq-sidebar {
    position: sticky;
    top: 100px;
}

.faq-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.faq-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-card);
    cursor: pointer;
    transition: all var(--transition-medium);
    white-space: nowrap;
}

.faq-pill:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: rgba(212,168,67,0.04);
}

.faq-pill.active {
    background: var(--gradient-btn);
    color: #0a0a0a;
    border-color: transparent;
    box-shadow: 0 0 16px rgba(212,168,67,0.2), 0 0 32px rgba(77,189,94,0.08);
}

/* Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid var(--border-subtle);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
    line-height: 1.5;
}

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

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-medium);
}

.faq-icon svg {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-icon {
    background: rgba(212,168,67,0.1);
    border-color: var(--border-accent);
    color: var(--accent-gold);
}

.faq-item.open .faq-icon svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
    padding: 0 0 0 0;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding: 0 0 20px 0;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
}

.faq-answer a {
    color: var(--accent-gold);
    transition: opacity var(--transition-fast);
}

.faq-answer a:hover {
    opacity: 0.7;
}

/* CTA Card */
.faq-cta {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(212,168,67,0.3), rgba(77,189,94,0.15), rgba(212,168,67,0.1));
}

.faq-cta-inner {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 36px 32px;
}

.faq-cta-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.faq-cta-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 400px;
}

.faq-cta .btn-primary {
    padding: 12px 24px;
    font-size: 0.85rem;
}

/* ── FAQ Responsive ── */
@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .faq-sidebar {
        position: static;
        text-align: center;
    }

    .faq-categories {
        justify-content: center;
    }

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

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

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

    .faq-question {
        font-size: 0.88rem;
        padding: 16px 0;
    }

    .faq-pill {
        padding: 7px 14px;
        font-size: 0.72rem;
    }

    .faq-cta-inner {
        padding: 28px 20px;
    }
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.store-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding: 20px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.3px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 32px; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-banner-img { max-width: 420px; margin: 0 auto; }
}

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

    .hero {
        padding: 90px 0 48px;
        min-height: var(--vh, 100vh);
        display: flex;
        align-items: center;
    }
    .hero-container { gap: 28px; padding: 0 20px; }
    .hero-title { font-size: 2.4rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 24px; }
    .hero-banner-img { max-width: 360px; }

    .section-title { font-size: 1.8rem; }
    .section-header { margin-bottom: 32px; }
    .products-section { padding: 60px 0; }

    /* Carousel: full width on tablet */
    .carousel-wrapper { max-width: 100%; padding: 0 60px; }
    .carousel-track { max-width: 100%; min-height: 480px; }
    .carousel-prev { left: 4px; }
    .carousel-next { right: 4px; }
    .carousel-arrow { width: 40px; height: 40px; }

    .oos-icon img { width: 36px; }

    .lookup-section { padding: 0 0 60px; }
    .lookup-row { grid-template-columns: 1fr; }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .legal-page-content { padding: 32px 20px; }

    /* Performance: reduce GPU work on mobile scroll */
    .bg-glow {
        animation: none !important;
        filter: blur(80px);
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    .hero { padding: 84px 0 40px; }
    body.has-announcement .hero { padding-top: calc(84px + 32px); }
    .hero-container { gap: 24px; padding: 0 16px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.9rem; line-height: 1.6; }
    .hero-banner-img { max-width: 100%; }
    .hero-card-wrapper { padding: 2px; }

    .btn-lg { padding: 14px 28px; font-size: 0.92rem; }

    .section-container { padding: 0 16px; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.88rem; }
    .products-section { padding: 48px 0; }

    /* Carousel: card fills screen, hide side peeks */
    .carousel-wrapper { padding: 0 44px; }
    .carousel-track { max-width: 100%; min-height: 460px; }
    .carousel-prev { left: 0; }
    .carousel-next { right: 0; }
    .carousel-arrow {
        width: 36px; height: 36px;
        background: rgba(10,10,10,0.9);
        border-color: rgba(255,255,255,0.1);
    }
    .product-card { padding: 24px 20px; }
    .product-card[data-pos="1"],
    .product-card[data-pos="-1"] {
        opacity: 0.12;
        filter: blur(3px);
        transform: translateX(80%) scale(0.88);
    }
    .product-card[data-pos="-1"] {
        transform: translateX(-80%) scale(0.88);
    }

    .carousel-dots { margin-top: 20px; }

    .lookup-section { padding: 0 0 48px; }
    .lookup-card { padding: 20px 16px; }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }
}

/* ══════════════════════════════════════════
   STOCK ACCESS VERIFICATION MODAL
   ══════════════════════════════════════════ */

/* Overlay */
.sa-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.sa-overlay.visible {
    opacity: 1;
}
.sa-overlay.closing {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Modal Card */
.sa-modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px 32px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}
.sa-overlay.visible .sa-modal {
    transform: scale(1) translateY(0);
}
.sa-overlay.closing .sa-modal {
    transform: scale(0.92) translateY(12px);
}

/* Close button */
.sa-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.sa-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Lock icon */
.sa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
    border: 1px solid rgba(212, 168, 67, 0.2);
    color: var(--accent-gold);
    margin-bottom: 16px;
}

/* Title & subtitle */
.sa-title {
    font-family: var(--font-family);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.sa-subtitle {
    font-family: var(--font-family);
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0 0 24px;
    line-height: 1.5;
}

/* Password field */
.sa-field {
    margin-bottom: 16px;
}
.sa-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.sa-input {
    width: 100%;
    padding: 13px 48px 13px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.92rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.sa-input::placeholder {
    color: var(--text-tertiary);
}
.sa-input:focus {
    border-color: rgba(212, 168, 67, 0.5);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Eye toggle */
.sa-eye {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-tertiary);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.sa-eye:hover {
    color: var(--text-secondary);
}

/* Error message */
.sa-error {
    font-family: var(--font-family);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-error);
    margin-bottom: 16px;
    min-height: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.25s ease;
}
.sa-error.visible {
    max-height: 60px;
    opacity: 1;
    min-height: 20px;
}
.sa-error.shake {
    animation: saShake 0.4s ease;
}

/* Submit button */
.sa-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-btn);
    background-size: 200% 100%;
    border: none;
    border-radius: 12px;
    color: #0a0a0a;
    font-family: var(--font-family);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.sa-submit:hover {
    background-position: 100% 0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(77, 189, 94, 0.25);
}
.sa-submit:active {
    transform: translateY(0);
}

/* Submit loading state */
.sa-submit.loading .sa-submit-text {
    opacity: 0;
}
.sa-submit.loading .sa-submit-spinner {
    display: block;
}
.sa-submit.loading {
    pointer-events: none;
    opacity: 0.85;
}
.sa-submit-spinner {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(10, 10, 10, 0.3);
    border-top-color: #0a0a0a;
    border-radius: 50%;
    animation: saSpinner 0.6s linear infinite;
}

/* Animations */
@keyframes saShake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-8px); }
    30% { transform: translateX(6px); }
    45% { transform: translateX(-5px); }
    60% { transform: translateX(4px); }
    75% { transform: translateX(-2px); }
}
@keyframes saSpinner {
    to { transform: rotate(360deg); }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .sa-modal {
        padding: 28px 22px 24px;
        border-radius: 16px;
    }
    .sa-title {
        font-size: 1.15rem;
    }
    .sa-icon {
        width: 52px;
        height: 52px;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
