/* ═══════════════════════════════════════════════════════════════════════
   THE INDIESSENCE — ULTRA PREMIUM LUXURY CSS v2025
   FINAL CORRECTED VERSION
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Josefin+Sans:wght@200;300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --obsidian: #06040a;
    --void: #09070e;
    --panel: #0f0c16;
    --panel-2: #14101e;
    --panel-3: #1c1629;
    --glass: rgba(255,255,255,0.035);
    --glass-2: rgba(255,255,255,0.065);
    --text: #f5ede0;
    --muted: #b8a898;
    --whisper: rgba(245,237,224,0.55);
    --gold: #d4a843;
    --gold-bright: #f2cc6b;
    --gold-soft: #f0dca0;
    --gold-dim: rgba(212,168,67,0.18);
    --gold-glow: rgba(212,168,67,0.35);
    --line: rgba(212,168,67,0.14);
    --line-2: rgba(255,255,255,0.06);
    --shadow-xl: 0 40px 120px rgba(0,0,0,0.7);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --radius-card: 20px;
    --radius-pill: 999px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Josefin Sans', sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.23,1,0.32,1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--text);
    background: var(--obsidian);
    background-image:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(160,100,30,0.12), transparent),
        radial-gradient(ellipse 60% 60% at 0% 100%, rgba(100,40,80,0.08), transparent),
        radial-gradient(ellipse 40% 80% at 100% 50%, rgba(30,20,60,0.15), transparent);
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, select, textarea {
    font: inherit;
    border: 0;
    outline: none;
}

button {
    cursor: pointer;
}

.eyebrow {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 6rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2.2rem); }

.hero-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted);
    max-width: 680px;
}

/* TOAST */
.toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    z-index: 30000;
    width: calc(100% - 24px);
    max-width: 420px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.toast-success {
    border: 1px solid rgba(46, 204, 113, 0.45);
}

.toast-error {
    border: 1px solid rgba(231, 76, 60, 0.45);
}

@media (max-width: 768px) {
    .toast {
        top: max(12px, env(safe-area-inset-top));
        width: calc(100% - 20px);
        max-width: none;
        font-size: 14px;
        padding: 10px 14px;
        border-radius: 12px;
    }
}


/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 70%);
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-gold {
    background: linear-gradient(135deg, #f5d87a 0%, #d4a843 50%, #b8831c 100%);
    color: #1a0f00;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 24px rgba(212,168,67,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-gold:hover {
    box-shadow: 0 12px 40px rgba(212,168,67,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
    background: var(--gold-dim);
}

.btn-small {
    min-height: 38px;
    padding: 0.55rem 1.2rem;
    font-size: 0.72rem;
}

.btn-full { width: 100%; }

.btn-danger {
    background: rgba(180,50,50,0.2);
    border-color: rgba(220,80,80,0.3);
    color: #ff9090;
}

.btn-danger:hover {
    background: rgba(200,50,50,0.3);
}

/* HEADER - FINAL WORKING */
.store-topbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 20px;
    background: rgba(6, 4, 10, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(212,168,67,0.12);
}

.store-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.store-brand img {
    display: block;
    width: auto !important;
    height: 44px !important;
    max-width: 150px !important;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
}

.store-nav.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex: 1 1 auto;
}

.store-nav.desktop-nav a {
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.5rem 0.2rem;
}

.store-nav.desktop-nav a:hover,
.store-nav.desktop-nav a.active {
    color: var(--gold-soft);
}

.store-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,168,67,0.14);
    color: var(--gold-soft);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-cart:hover {
    border-color: var(--gold-dim);
    background: rgba(255,255,255,0.06);
}

.nav-cart span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--gold);
    color: #140d05;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0 6px;
}

.desktop-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-auth {
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-login-btn,
.mobile-signup-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.nav-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(212,168,67,0.16);
    background: rgba(255,255,255,0.03);
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--gold-soft);
    border-radius: 2px;
}

/* MOBILE MENU */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    z-index: 10000;
    background: rgba(8, 6, 12, 0.98);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 84px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    align-items: flex-start;
    transition: right 0.28s ease;
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-nav-overlay a {
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.2;
}

.mobile-nav-overlay a:hover {
    color: var(--gold);
}

.mobile-nav-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,168,67,0.12);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

/* HERO SLIDER */
.hero-slider-shell {
    position: relative;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-slider-track {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide.prev-slide {
    opacity: 0;
    transform: scale(1.015);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(6,4,10,0.95) 0%, rgba(6,4,10,0.42) 42%, rgba(6,4,10,0.18) 72%, rgba(6,4,10,0.34) 100%),
        radial-gradient(ellipse at 50% 30%, rgba(212,168,67,0.08), transparent 55%);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-smoke {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero-smoke::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(212,168,67,0.12), transparent 65%);
    animation: smokeFloat1 12s ease-in-out infinite alternate;
    filter: blur(60px);
}

.hero-smoke::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -80px;
    right: -80px;
    background: radial-gradient(circle, rgba(180,80,120,0.08), transparent 65%);
    animation: smokeFloat2 15s ease-in-out infinite alternate;
    filter: blur(50px);
}

@keyframes smokeFloat1 {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(120px,80px) scale(1.3); }
}

@keyframes smokeFloat2 {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(-80px,-60px) scale(1.2); }
}

.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 4vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-copy-centered {
    text-align: center;
    max-width: 860px;
    animation: heroFadeUp 1.2s cubic-bezier(0.23,1,0.32,1) both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

.hero-copy-below-buttons {
    margin-top: 3rem;
}

.hero-copy-below-buttons h1 {
    font-size: clamp(2.4rem, 4.5vw, 5rem);
    font-style: italic;
    font-weight: 300;
    color: var(--text);
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
    margin: 0.75rem 0 1.25rem;
}

.hero-copy-below-buttons .hero-text {
    margin: 0 auto;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-actions-center {
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hero-slider-controls {
    position: absolute;
    bottom: 2.3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 20;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    width: 32px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
    transform: scale(1.1);
}

.hero-dot:hover:not(.active) {
    background: rgba(255,255,255,0.55);
}

.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    z-index: 20;
    box-shadow: 0 0 8px var(--gold-glow);
}

/* MARQUEE */
.running-banner {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(212,168,67,0.04), rgba(212,168,67,0.02), rgba(212,168,67,0.06));
    padding: 0.1rem 0;
}

.running-banner-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
}

.running-banner-track span {
    padding: 0.9rem 2.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.7rem;
    font-weight: 300;
}

.running-banner-track span::after {
    content: '✦';
    margin-left: 2.2rem;
    opacity: 0.4;
    color: var(--gold-soft);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* CTA BANNER */
.cta-banner-section { padding: 3rem 4vw; }

.cta-banner-card {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    min-height: 520px;
    display: flex;
}

.cta-banner-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.cta-banner-card:hover img { transform: scale(1.03); }

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,4,10,0.6) 0%, rgba(6,4,10,0.2) 60%, rgba(6,4,10,0.5) 100%);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    width: 100%;
}

.right-side-buttons-only { justify-content: flex-end; }
.cta-banner-content .hero-actions { flex-direction: column; align-items: flex-start; }

/* FEATURE STRIP */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    border-block: 1px solid var(--line);
    overflow: hidden;
}

.feature-strip > div {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 2rem 2.5rem;
    border-right: 1px solid var(--line);
    transition: var(--transition);
}

.feature-strip > div:last-child { border-right: 0; }
.feature-strip > div:hover { background: var(--glass); }

.feature-strip strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gold-soft);
}

.feature-strip span {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--muted);
}

/* SPLIT BANNERS */
.split-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 3rem 4vw;
}

.category-banner-card,
.collection-banner {
    position: relative;
    min-height: 560px;
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
    width: 100%;
}

.category-banner-card:hover,
.collection-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.category-banner-card img,
.collection-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.category-banner-card:hover img,
.collection-banner:hover img {
    transform: scale(1.04);
}

.category-banner-card::after,
.collection-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6,4,10,0.92) 0%, rgba(6,4,10,0.4) 50%, transparent 100%);
    transition: var(--transition);
}

.category-banner-card:hover::after,
.collection-banner:hover::after {
    background: linear-gradient(0deg, rgba(6,4,10,0.95) 0%, rgba(6,4,10,0.5) 60%, rgba(6,4,10,0.1) 100%);
}

.category-banner-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}

.category-banner-content h3 {
    font-size: 2.4rem;
    font-style: italic;
    margin: 0.5rem 0 0.8rem;
}

.category-banner-content p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 340px;
}

/* PRODUCT GRID */
.collection { padding: 5rem 4vw; }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-head h2 {
    font-style: italic;
    margin: 0.5rem 0 1rem;
}

.section-head p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.section-head.left {
    text-align: left;
    margin: 0 0 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, rgba(212,168,67,0.06), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--line);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,168,67,0.1);
}

.product-card:hover::before { opacity: 1; }

.product-image-wrap {
    display: block;
    aspect-ratio: 4/4.8;
    max-height: 320px;
    overflow: hidden;
    background: var(--panel-2);
    position: relative;
    padding: 12px;
}

.product-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6,4,10,0.5) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-image-wrap::after { opacity: 1; }

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

.product-card:hover .product-image { transform: scale(1.06); }

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    position: relative;
    z-index: 2;
}

.product-body h3 {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
}

.product-body p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
}

.pill {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    width: fit-content;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line-2);
}

.price-row strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold-soft);
}

.stock-left {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.card-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.card-actions form { display: contents; }

.card-actions .btn {
    flex: 1;
    min-height: 40px;
    font-size: 0.72rem;
}

/* PRODUCT DETAIL */
.product-detail-page {
    padding: 5rem 4vw;
    max-width: 1320px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.product-detail-image-wrap {
    position: sticky;
    top: 100px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line-2);
    aspect-ratio: 4/5;
}

.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.product-detail-image-wrap:hover .product-detail-image { transform: scale(1.04); }

.product-detail-copy {
    padding: 1rem 0;
}

.product-detail-copy h1 {
    font-style: italic;
    margin: 0.75rem 0 0.5rem;
}

.product-detail-copy .subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.product-detail-copy .hero-text {
    margin: 0 0 2rem;
    max-width: none;
    color: var(--muted);
}

.product-price-row {
    margin: 1.5rem 0 2rem;
    padding: 1.25rem 0;
    border-block: 1px solid var(--line-2);
}

.product-price-row strong {
    font-size: 2.2rem;
}

.product-buy-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-buy-form label {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-buy-form input[type="number"] {
    background: var(--panel-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-card);
    padding: 0.9rem 1.25rem;
    color: var(--text);
    width: 120px;
    transition: var(--transition);
}

.product-buy-form input[type="number"]:focus { border-color: var(--gold); }

.product-buy-form .card-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.product-buy-form .btn { flex: 1; }

/* CART / CHECKOUT */
.checkout-page {
    padding: 4rem 4vw;
    max-width: 1320px;
    margin: 0 auto;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.checkout-layout {
    grid-template-columns: 1fr 420px;
}

.glass-panel {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-card);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.cart-table-wrap { overflow-x: auto; }

.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.cart-table thead th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line-2);
    white-space: nowrap;
    background: var(--panel-2);
}

.cart-table tbody td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line-2);
    vertical-align: middle;
}

.cart-table tbody tr:last-child td { border-bottom: 0; }
.cart-table tbody tr:hover td { background: var(--glass); }

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cart-thumb {
    width: 72px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line-2);
}

.cart-product-cell strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.qty-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-form input[type="number"] {
    width: 60px;
    background: var(--panel-2);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    color: var(--text);
}

.cart-summary-panel,
.payment-card {
    padding: 2rem;
}

.cart-summary-panel h3,
.payment-card h3 {
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-2);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.summary-row.total {
    border-top: 1px solid var(--line-2);
    margin-top: 0.75rem;
    padding-top: 1.25rem;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.summary-row.total strong {
    color: var(--gold-soft);
    font-weight: 400;
}

.cart-summary-panel .btn { margin-top: 1.25rem; }

.checkout-form-card {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-card);
    padding: 2.5rem;
}

.checkout-form-card h2 {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.checkout-form-card > p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-grid label.full {
    grid-column: 1/-1;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    background: var(--panel-2);
    color: var(--text);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    transition: var(--transition);
    width: 100%;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.payment-card {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-card);
    position: sticky;
    top: 100px;
}

/* AUTH MODAL */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.auth-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6,4,10,0.82);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.auth-panel {
    position: relative;
    z-index: 2;
    width: min(360px,90vw);
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.35rem 1rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
}

.auth-modal.is-open .auth-panel {
    transform: none;
}

.auth-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.auth-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--glass-2);
    border: 1px solid var(--line-2);
    color: var(--muted);
    font-size: 1.2rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.auth-close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-2);
}

.auth-brand img {
    width: 42px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(212,168,67,0.25));
}

.auth-brand .eyebrow {
    margin-bottom: 0.25rem;
}

.auth-brand h3 {
    font-style: italic;
    font-size: 1.15rem;
    margin: 0;
}

.compact-auth-brand {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
}

.auth-tabs {
    display: flex;
    gap: 0;
    background: var(--panel);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--line-2);
}

.auth-tab {
    flex: 1;
    padding: 0.7rem;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab.is-active {
    background: var(--gold-dim);
    color: var(--gold-soft);
    border: 1px solid var(--line);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 0.95rem;
}

.auth-form.is-active { display: flex; }

.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.auth-form input {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 0.78rem 1rem;
    color: var(--text);
    font-size: 0.88rem;
    width: 100%;
    transition: var(--transition);
}

.auth-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.phone-input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.85rem;
    background: var(--panel-3);
    border-right: 1px solid var(--line-2);
    color: var(--muted);
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.india-flag {
    width: 18px;
    height: auto;
    border-radius: 3px;
}

.phone-input-group input {
    border: 0;
    border-radius: 0;
    flex: 1;
    background: var(--panel);
}

.phone-input-group input:focus {
    box-shadow: none;
}

.otp-step {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.otp-step.is-visible { display: flex; }

.auth-note {
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.55;
}

.auth-logged-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.auth-brand-logged {
    margin-bottom: 1.5rem;
}

/* BRAND STORY */
.brand-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 5rem 4vw;
    max-width: 1320px;
    margin: 0 auto;
}

.story-card {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-card);
    padding: 3rem;
    transition: var(--transition);
}

.story-card:hover {
    border-color: var(--line);
    background: var(--panel-2);
}

.story-card h2 {
    font-style: italic;
    margin: 0.75rem 0 1.5rem;
    font-size: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--muted);
}

.feature-list li::before {
    content: '✦';
    color: var(--gold);
    font-size: 0.6rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.contact-card-home .hero-text {
    margin: 1rem 0 1.5rem;
}

.left-text {
    text-align: left;
    max-width: none;
}

.left-text a {
    color: var(--gold);
}

.left-text a:hover {
    color: var(--gold-soft);
}

/* CONTACT PAGE */
.content-page {
    padding: 5rem 4vw;
    max-width: 1160px;
    margin: 0 auto;
}

.content-card {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-card);
    padding: 3rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
    align-items: start;
}

.contact-layout h1 {
    font-style: italic;
    margin: 0.75rem 0 1rem;
}

.contact-layout .hero-text {
    max-width: none;
    margin-bottom: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-form input,
.contact-form textarea {
    background: var(--panel-2);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: var(--text);
    transition: var(--transition);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}

.content-aside {
    padding-top: 0.5rem;
}

.content-aside h2 {
    font-style: italic;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line-2);
}

.info-block:last-child { border-bottom: 0; }

.info-block strong {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.info-block span {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
}

.info-block a {
    color: var(--text);
}

.info-block a:hover {
    color: var(--gold);
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--line-2);
    background: var(--void);
    padding: 5rem 4vw 2rem;
    margin-top: 4rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1320px;
    margin: 0 auto 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line-2);
}

.footer-brand img {
    width: 90px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 280px;
}

.footer-col-title {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-links-col,
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-col a,
.footer-links a {
    font-size: 0.85rem;
    color: var(--muted);
    transition: var(--transition);
}

.footer-links-col a:hover,
.footer-links a:hover {
    color: var(--gold-soft);
    padding-left: 0.4rem;
}

.footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-contact-col p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

.footer-contact-col a {
    color: var(--gold);
}

.footer-contact-col a:hover {
    color: var(--gold-soft);
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    padding-top: 2rem;
    opacity: 0.6;
    max-width: 1320px;
    margin: 0 auto;
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 400;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-pill);
    background: #25d366;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 8px 32px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: floatBob 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04) !important;
    box-shadow: 0 16px 48px rgba(37,211,102,0.55);
    animation: none;
}

@keyframes floatBob {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* SUCCESS */
.success-card,
.payment-card-full {
    max-width: 640px;
    margin: 6rem auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
}

.success-card h1 {
    font-style: italic;
    margin: 1.5rem 0 1rem;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(139,226,139,0.15);
    border: 2px solid rgba(139,226,139,0.4);
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin: 0 auto;
    animation: successPulse 2s ease infinite;
}

@keyframes successPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(139,226,139,0.3); }
    50% { box-shadow: 0 0 0 16px rgba(139,226,139,0); }
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--muted);
}

.empty-state h3 {
    font-style: italic;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.text-danger {
    color: #ff9090;
    font-size: 0.78rem;
}

.muted-copy {
    color: var(--muted);
    font-size: 0.8rem;
}

.hero-empty-layer {
    pointer-events: none;
}

.main-content {
    position: relative;
    z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .product-detail-image-wrap { position: static; }
    .cart-layout,
    .checkout-layout { grid-template-columns: 1fr; }
    .brand-story,
    .split-banners { grid-template-columns: 1fr; }
    .feature-strip { grid-template-columns: repeat(2,1fr); }
    .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .contact-layout { grid-template-columns: 1fr; }

    .hero-slider-shell {
        height: 78vh;
        min-height: 560px;
    }

    .hero-copy-below-buttons h1 {
        font-size: clamp(2rem, 6vw, 3.6rem);
    }

    .hero-copy-below-buttons .hero-text {
        max-width: 92%;
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .cta-banner-card,
    .category-banner-card,
    .collection-banner {
        min-height: 420px;
    }

    .category-banner-card img,
    .cta-banner-card img,
    .collection-banner img {
        object-fit: cover;
        object-position: center center;
    }
}

@media (max-width: 991px) {
    .store-topbar {
        position: fixed;
        left: 0;
        right: 0;
        min-height: 68px;
        padding: 10px 14px;
        gap: 10px;
    }

    .store-brand img {
        height: 32px !important;
        max-width: 110px !important;
    }

    .desktop-nav,
    .desktop-auth {
        display: none !important;
    }

    .mobile-auth {
        display: flex;
    }

    .nav-hamburger {
        display: inline-flex;
    }

    .nav-cart {
        min-height: 36px;
        padding: 0 10px;
        font-size: 0.68rem;
        gap: 6px;
    }

    .nav-cart span {
        min-width: 20px;
        height: 20px;
        font-size: 0.68rem;
    }

    .main-content {
        padding-top: 68px;
    }
}

@media (max-width: 768px) {

    /* ── HERO SLIDER ─────────────────────────────────────────── */
    .hero-slider-shell {
        height: auto;
        min-height: auto;
        aspect-ratio: 16 / 9;
        background: #06040a;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-slider-track,
    .hero-slide {
        position: absolute;
        inset: 0;
    }

    .hero-slide {
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-color: #06040a;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .hero-slide::after {
        background:
            linear-gradient(0deg, rgba(6,4,10,0.88) 0%, rgba(6,4,10,0.38) 40%, rgba(6,4,10,0.12) 72%, rgba(6,4,10,0.28) 100%),
            radial-gradient(ellipse at 50% 30%, rgba(212,168,67,0.05), transparent 55%);
    }

    .hero-slider-controls,
    .hero-dots {
        bottom: 10px !important;
        position: absolute;
        z-index: 20;
    }

    .hero-dots {
        left: 50%;
        transform: translateX(-50%);
        gap: 6px;
    }

    .hero-dot { width: 6px; height: 6px; }
    .hero-dot.active { width: 22px; height: 6px; }

    .hero-inner {
        padding: 0 1rem;
        align-items: flex-end;
        padding-bottom: 1.6rem;
    }

    .hero-copy-centered { max-width: 100%; }
    .hero-copy-below-buttons { margin-top: 1.1rem; }

    .hero-copy-below-buttons h1 {
        font-size: clamp(1.7rem, 7vw, 2.5rem);
        line-height: 1.08;
        margin: 0.4rem 0 0.8rem;
    }

    .hero-copy-below-buttons .hero-text {
        font-size: 0.76rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-actions { gap: 0.6rem; justify-content: center; }

    .hero-actions .btn {
        min-height: 38px;
        padding: 0.58rem 0.8rem;
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }

    /* ── CTA WIDE BANNER ─────────────────────────────────────
       Image is natural height. Buttons sit in overlay at bottom.
    ────────────────────────────────────────────────────────── */
    .cta-banner-card {
        height: auto !important;
        min-height: unset !important;
        border-radius: 16px;
        display: block;
        position: relative;
        overflow: hidden;
    }

    .cta-banner-card > img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        object-fit: unset !important;
        display: block;
        inset: auto !important;
    }

    /* Overlay: tall enough to hold buttons without crowding image */
    .cta-banner-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem 1.2rem;
        align-items: flex-end;
        background: linear-gradient(0deg, rgba(6,4,10,0.97) 0%, rgba(6,4,10,0.7) 55%, transparent 100%);
        /* Guarantee enough height for buttons */
        min-height: 80px;
        display: flex;
    }

    /* Buttons inside CTA banner — compact, no overflow */
    .cta-banner-content .btn,
    .cta-banner-content .hero-actions .btn {
        min-height: 34px !important;
        padding: 0.4rem 1rem !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.1em !important;
        white-space: nowrap;
    }

    .cta-banner-content .hero-actions {
        gap: 0.5rem !important;
        flex-wrap: wrap;
        width: 100%;
    }

    /* ── SPLIT BANNERS (MEN / WOMEN) ─────────────────────────
       Natural image height. Buttons anchored to bottom.
    ────────────────────────────────────────────────────────── */
    .split-banners {
        grid-template-columns: 1fr;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .category-banner-card,
    .collection-banner {
        height: auto !important;
        min-height: unset !important;
        border-radius: 16px;
        display: block;
        position: relative;
        overflow: hidden;
        aspect-ratio: unset;
    }

    .category-banner-card > img,
    .collection-banner > img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        object-fit: unset !important;
        display: block;
        inset: auto !important;
    }

    .category-banner-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem 1.2rem;
        background: linear-gradient(0deg, rgba(6,4,10,0.97) 0%, rgba(6,4,10,0.6) 55%, transparent 100%);
        min-height: 72px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* Buttons inside Men/Women banners — compact, full-width tap target */
    .category-banner-content .btn {
        min-height: 36px !important;
        padding: 0.45rem 1.2rem !important;
        font-size: 0.65rem !important;
        letter-spacing: 0.1em !important;
        align-self: flex-start;
        white-space: nowrap;
    }

    .category-banner-content h3 {
        font-size: 1.5rem;
        margin: 0 0 0.5rem;
        line-height: 1.1;
    }

    .category-banner-content p {
        font-size: 0.76rem;
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 0.6rem;
    }

    /* ── OTHER SECTIONS ───────────────────────────────────── */
    .feature-strip { grid-template-columns: 1fr; }
    .feature-strip > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .feature-strip > div:last-child { border-bottom: 0; }

    .site-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .story-card { padding: 2rem; }
    .checkout-form-card { padding: 1.5rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid label.full { grid-column: 1; }
    .content-card { padding: 2rem; }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .product-image-wrap {
        aspect-ratio: 4 / 4.4;
        max-height: 240px;
        padding: 10px;
    }

    .product-image { object-fit: contain; object-position: center; }

    .product-body { padding: 1rem; }
    .product-body h3 { font-size: 1rem; }
    .product-body p { font-size: 0.74rem; line-height: 1.45; }

    .price-row strong { font-size: 1.15rem; }
    .stock-left { font-size: 0.62rem; }

    .card-actions { flex-direction: column; gap: 0.45rem; }
    .card-actions .btn { width: 100%; }

    .store-actions .btn {
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-auth .btn {
        max-width: 120px;
    }

    .cta-banner-section,
    .collection,
    .brand-story {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .success-card {
        padding: 2.5rem 1.5rem;
        margin: 3rem auto;
    }
}

@media (max-width: 640px) {
    .auth-panel {
        width: min(380px,92vw);
        padding: 1.35rem 1rem;
        border-radius: 18px;
    }

    .auth-close {
        top: 0.8rem;
        right: 0.8rem;
    }

    .auth-brand h3 {
        font-size: 1rem;
    }

    .auth-tab {
        font-size: 0.72rem;
        padding: 0.62rem;
    }
}

@media (max-width: 575px) {
    .store-topbar {
        min-height: 62px;
        padding: 8px 10px;
        gap: 8px;
    }

    .store-brand img {
        height: 28px !important;
        max-width: 96px !important;
    }

    .store-actions {
        gap: 6px;
    }

    .nav-cart {
        min-height: 34px;
        padding: 0 8px;
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .nav-cart span {
        min-width: 18px;
        height: 18px;
        font-size: 0.62rem;
    }

    .mobile-login-btn,
    .mobile-signup-btn {
        min-height: 34px;
        padding: 0 9px;
        font-size: 0.6rem;
        letter-spacing: 0.06em;
    }

    .nav-hamburger {
        width: 36px;
        height: 36px;
    }

    .nav-hamburger span {
        width: 16px;
    }

    .main-content {
        padding-top: 62px;
    }

    .mobile-nav-overlay {
        width: 84%;
        padding: 76px 20px 20px;
    }

    .mobile-nav-overlay a {
        font-size: 1.28rem;
    }

    .hero-slider-shell {
        aspect-ratio: 16 / 9;
        min-height: auto;
        height: auto;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-slide {
        background-size: cover !important;
        background-position: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-inner {
        padding-bottom: 2.4rem;
    }

    .hero-copy-below-buttons {
        margin-top: 1.25rem;
    }

    .hero-copy-below-buttons h1 {
        font-size: clamp(1.45rem, 8vw, 2.1rem);
    }

    .hero-copy-below-buttons .hero-text {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .hero-actions {
        gap: 0.45rem;
    }

    .hero-actions .btn {
        min-height: 36px;
        padding: 0.55rem 0.7rem;
        font-size: 0.58rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .product-image-wrap {
        aspect-ratio: 4 / 4.1;
        max-height: 220px;
        padding: 8px;
    }

    .product-body {
        padding: 0.9rem;
    }

    .section-head {
        margin-bottom: 2rem;
    }

    .section-head h2 {
        font-size: 1.8rem;
    }

    .section-head p {
        font-size: 0.78rem;
        line-height: 1.6;
    }

    .cta-banner-card {
        min-height: unset !important;
        height: auto !important;
    }

    /* Extra-small phone buttons in banners */
    .cta-banner-content .btn,
    .cta-banner-content .hero-actions .btn {
        min-height: 32px !important;
        padding: 0.35rem 0.85rem !important;
        font-size: 0.58rem !important;
    }

    .category-banner-card,
    .collection-banner {
        min-height: unset !important;
        height: auto !important;
    }

    .category-banner-content .btn {
        min-height: 32px !important;
        padding: 0.35rem 0.9rem !important;
        font-size: 0.6rem !important;
    }

    .category-banner-content h3 {
        font-size: 1.45rem;
    }

    .category-banner-content p {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .split-banners {
        padding: 1.5rem;
        gap: 1rem;
    }

    .cta-banner-section {
        padding: 1.5rem;
    }

    .collection {
        padding: 3rem 1.5rem;
    }

    .brand-story {
        padding: 3rem 1.5rem;
    }

    .auth-panel {
        padding: 1.75rem;
    }
}

/* Order File CSS*/

/* ================================
   MY ORDERS PAGE
   ================================ */

.myorders-page {
    padding: 42px 20px 70px;
    min-height: calc(100vh - 80px);
    background: radial-gradient(circle at top left, rgba(212,168,67,0.08), transparent 30%), radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent 25%);
}

.myorders-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.myorders-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

    .myorders-header h1 {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3.2rem);
        color: #f5e8c7;
    }

.myorders-subtitle {
    margin-top: 10px;
    color: rgba(255,255,255,0.72);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 720px;
}

.myorders-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.order-card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(212,168,67,0.16);
    background: linear-gradient(180deg, rgba(20,16,30,0.94), rgba(10,8,16,0.96));
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.order-card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.order-meta-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-number-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-number-label {
    color: rgba(255,255,255,0.58);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-number {
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.order-date {
    color: rgba(255,255,255,0.68);
    font-size: 0.92rem;
}

.order-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.order-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1c96a;
}

.status-badge,
.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.status-badge {
    background: rgba(212,168,67,0.14);
    color: #f3d27d;
    border: 1px solid rgba(212,168,67,0.28);
}

.status-confirmed,
.status-processing,
.status-pending {
    background: rgba(212,168,67,0.14);
    color: #f3d27d;
}

.status-packed,
.status-shipped,
.status-out-for-delivery {
    background: rgba(68,149,255,0.14);
    color: #8fc4ff;
    border: 1px solid rgba(68,149,255,0.24);
}

.status-delivered {
    background: rgba(52,199,89,0.14);
    color: #83e39e;
    border: 1px solid rgba(52,199,89,0.24);
}

.status-cancelled {
    background: rgba(255,99,99,0.14);
    color: #ff9c9c;
    border: 1px solid rgba(255,99,99,0.24);
}

.payment-paid {
    background: rgba(52,199,89,0.12);
    color: #83e39e;
    border: 1px solid rgba(52,199,89,0.22);
}

.payment-pending {
    background: rgba(255,179,71,0.12);
    color: #ffd18f;
    border: 1px solid rgba(255,179,71,0.22);
}

.payment-failed {
    background: rgba(255,99,99,0.12);
    color: #ff9c9c;
    border: 1px solid rgba(255,99,99,0.22);
}

.order-cancelled-strip {
    margin-bottom: 20px;
    border-radius: 14px;
    padding: 12px 16px;
    background: rgba(255,99,99,0.12);
    color: #ffb3b3;
    border: 1px solid rgba(255,99,99,0.18);
    font-weight: 600;
}

.tracking-progress {
    position: relative;
    margin-bottom: 26px;
}

.progress-line {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.progress-line-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #d4a843, #f2cc6b);
    transition: width .35s ease;
}

.progress-step-1 {
    width: 12%;
}

.progress-step-2 {
    width: 38%;
}

.progress-step-3 {
    width: 72%;
}

.progress-step-4 {
    width: 100%;
}

.progress-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.progress-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 600;
}

    .progress-step-item.done {
        color: #f5e8c7;
    }

.progress-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #1b1625;
    border: 2px solid rgba(255,255,255,0.12);
    position: relative;
    z-index: 2;
}

.progress-step-item.done .progress-dot {
    background: #d4a843;
    border-color: #f2cc6b;
    box-shadow: 0 0 0 5px rgba(212,168,67,0.14);
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.order-info-box {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.info-label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,0.55);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-info-box strong {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.5;
}

.order-items-wrap {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
}

.order-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

    .order-items-header h3 {
        margin: 0;
        font-size: 1.08rem;
        color: #f5e8c7;
    }

    .order-items-header span {
        color: rgba(255,255,255,0.62);
        font-size: 0.88rem;
    }

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

    .order-item-row:last-child {
        border-bottom: 0;
    }

.order-item-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.order-item-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,168,67,0.12);
    border: 1px solid rgba(212,168,67,0.2);
    font-size: 1.2rem;
}

.order-item-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .order-item-copy strong {
        color: #fff;
        font-size: 0.98rem;
    }

    .order-item-copy span {
        color: rgba(255,255,255,0.62);
        font-size: 0.86rem;
    }

.order-item-price {
    color: #f1c96a;
    font-size: 0.98rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Desktop sticky button area */
.order-actions-sticky {
    position: sticky;
    bottom: 12px;
    z-index: 20;
    margin-top: 20px;
    border-radius: 18px;
    background: rgba(10, 8, 16, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212,168,67,0.14);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.order-actions-inner {
    display: flex;
    gap: 12px;
    padding: 12px;
}

    .order-actions-inner .btn,
    .order-actions-inner form {
        flex: 1;
    }

        .order-actions-inner form .btn {
            width: 100%;
        }

/* Mobile fixed-like card action area */
.order-actions-mobile {
    display: none;
}

.myorders-empty {
    text-align: center;
    padding: 48px 22px;
    border-radius: 24px;
}

.myorders-empty-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.myorders-empty h2 {
    margin-bottom: 10px;
    color: #f5e8c7;
}

.myorders-empty p {
    margin: 0 auto 18px;
    max-width: 560px;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .order-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .myorders-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-meta-right {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .myorders-page {
        padding: 24px 12px 50px;
    }

    .order-card {
        padding: 18px;
        border-radius: 18px;
    }

    .tracking-progress {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .progress-steps {
        min-width: 460px;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .order-item-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-item-price {
        padding-left: 62px;
    }

    .order-actions-sticky {
        display: none;
    }
    .cancel-success {
        background: linear-gradient(135deg, #0f5132, #14532d);
        color: #d1e7dd;
        padding: 14px;
        border-radius: 12px;
        font-size: 14px;
        margin-top: 10px;
    }

    .cancel-failed {
        background: linear-gradient(135deg, #842029, #5a1a1a);
        color: #f8d7da;
        padding: 14px;
        border-radius: 12px;
        font-size: 14px;
        margin-top: 10px;
    }
    .order-actions-mobile {
        display: flex;
        position: sticky;
        bottom: 10px;
        z-index: 25;
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
        padding: 12px;
        border-radius: 18px;
        background: rgba(10, 8, 16, 0.92);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(212,168,67,0.16);
        box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    }
    .nav-orders {
        height: 36px !important;
        padding: 0 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.12em !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
    }

    .nav-user-name {
        display: inline-flex;
        align-items: center;
        height: 36px;
        color: var(--gold-soft);
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        white-space: nowrap;
        padding: 0 4px;
    }

    @media (max-width: 768px) {
        .nav-orders,
        .nav-user-name {
            height: 34px !important;
            font-size: 0.62rem !important;
            letter-spacing: 0.08em !important;
        }

        .nav-orders {
            padding: 0 10px !important;
        }
    }

        .order-actions-mobile .btn,
        .order-actions-mobile form,
        .order-actions-mobile form .btn {
            width: 100%;
        }
}
@media (max-width: 991px) {
    .mobile-auth .nav-orders,
    .store-actions .nav-cart {
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 10px !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.08em !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .mobile-auth .nav-user-name {
        height: 34px !important;
        padding: 0 2px !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--gold-soft) !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
    }
}
/* FINAL ACCOUNT LOGOUT DROPDOWN */
.account-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.account-trigger {
    height: 40px;
    min-height: 40px;
    padding: 0 6px;
    background: transparent;
    border: 0;
    color: var(--gold-soft);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 135px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(10, 8, 16, 0.98);
    border: 1px solid rgba(212,168,67,0.18);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
    display: none;
    z-index: 30000;
}

.account-dropdown:hover .account-menu,
.account-dropdown:focus-within .account-menu {
    display: block;
}

.account-menu button {
    width: 100%;
    background: transparent;
    border: 0;
    color: var(--text);
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    cursor: pointer;
}

    .account-menu button:hover {
        background: rgba(212,168,67,0.12);
        color: var(--gold-soft);
    }

@media (max-width: 991px) {
    .mobile-auth .account-trigger {
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 2px !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.08em !important;
    }

    .mobile-auth .account-menu {
        right: -20px;
    }
}

/* CENTER LOGOUT POPUP */
.nav-user-name {
    background: transparent;
    border: 0;
    color: var(--gold-soft);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.logout-modal {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: none;
    align-items: center;
    justify-content: center;
}

    .logout-modal.is-open {
        display: flex;
    }

.logout-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6,4,10,0.82);
    backdrop-filter: blur(12px);
}

.logout-panel {
    position: relative;
    z-index: 2;
    width: min(360px, 92vw);
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

    .logout-panel h3 {
        font-size: 1.7rem;
        color: var(--gold-soft);
        margin-bottom: 0.8rem;
    }

    .logout-panel p {
        color: var(--muted);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

.logout-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--glass-2);
    color: var(--text);
    font-size: 1.3rem;
}

.logout-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

    .logout-actions form {
        display: contents;
    }

@media (max-width: 991px) {
    .nav-user-name {
        font-size: 0.62rem !important;
        letter-spacing: 0.08em !important;
    }

    .logout-panel {
        padding: 1.5rem;
    }
}