
@font-face {
    font-family: 'Colonna MT';
    src: local('Colonna MT');
    font-display: swap;
}
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo-text {
    font-family: 'Colonna MT', 'Cinzel', 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-top: 2px;
}
/* ============ RESET & VARS ============ */
:root {
    --bg: #080808;
    --bg2: #101010;
    --bg3: #181818;
    --bg4: #1f1f1f;
    --text: #f2f0ec;
    --text-dim: rgba(242,240,236,0.5);
    --gold: #c9a96e;
    --gold-light: #e8cc90;
    --gold-dark: #a07840;
    --border: rgba(255,255,255,0.07);
    --border-gold: rgba(201,169,110,0.25);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 5rem;
    transition: background 0.5s, padding 0.4s, border 0.5s;
}

.navbar.scrolled {
    background: rgba(8,8,8,0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 5rem;
    border-bottom: 1px solid var(--border);
}

/* ---- Logo image (black PNG → white via invert) ---- */
.logo-img {
    height: 42px;
    width: auto;
    filter: invert(1) brightness(2);
    object-fit: contain;
    transition: opacity 0.3s;
}

.logo-img:hover { opacity: 0.75; }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Dropdown styling */
.nav-links li.dropdown {
    position: relative;
    display: inline-block;
}
.nav-links li.dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg2);
    min-width: 140px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 100;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
}
.nav-links li.dropdown:hover .dropdown-content {
    display: block;
}
.nav-links li.dropdown .dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.nav-links li.dropdown .dropdown-content a::after {
    display: none; /* No underline on dropdown items */
}
.nav-links li.dropdown .dropdown-content a:hover,
.nav-links li.dropdown .dropdown-content a.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gold);
}

.cart-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-dim);
    transition: color 0.3s;
}

.cart-icon:hover { color: var(--text); }

.cart-badge {
    background: var(--gold);
    color: #000;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.58rem;
    font-weight: 700;
    transition: transform 0.2s;
}

/* ============ HERO — STICKY SCROLL ============ */

/*
 * The container is TALL (500vh).
 * The .hero inside is STICKY so it stays in the viewport
 * while the user scrolls through the full height.
 * This means the video plays through all 100 frames
 * before the page continues to the next section.
 */
.hero-scroll-container {
    height: 500vh;       /* tall enough to scroll through all frames */
    position: relative;
}

.hero {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.08) 40%,
        rgba(8,8,8,0.65) 80%,
        rgba(8,8,8,1) 100%
    );
    pointer-events: none;
}

/* Hero text — fades out as video plays */
.hero-content {
    position: absolute;
    bottom: 14%;
    left: 8%;
    z-index: 2;
    max-width: 600px;
}

.hero-tagline {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 1.4rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s 0.3s forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s 0.55s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: 0.85rem;
    color: rgba(242,240,236,0.65);
    letter-spacing: 1.5px;
    margin-bottom: 2.8rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s 0.75s forwards;
}

.hero-cta {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 1rem 2.8rem;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    font-weight: 600;
    opacity: 0;
    animation: heroFadeUp 1s 0.95s forwards;
}

.hero-cta:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Cinematic frame counter (bottom right) */
.frame-counter {
    display: none !important;
    position: absolute;
    bottom: 2.5rem;
    right: 5rem;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.35);
    font-weight: 300;
    z-index: 2;
    font-variant-numeric: tabular-nums;
}

#frame-num {
    color: var(--gold);
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 5rem;
    display: flex; flex-direction: column; align-items: center;
    gap: 0.8rem; opacity: 0.4; z-index: 2;
    animation: heroFadeUp 1s 1.2s both;
}

.scroll-line {
    width: 1px; height: 55px;
    background: linear-gradient(to bottom, transparent, var(--text));
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); }
}

.scroll-indicator span {
    font-size: 0.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

/* ============ MARQUEE STRIP ============ */
.marquee-strip {
    background: var(--gold);
    overflow: hidden;
    padding: 0.9rem 0;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: marquee 28s linear infinite;
}

.marquee-track span {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: #000;
    padding: 0 1.5rem;
}

.marquee-track .dot { font-size: 0.45rem; color: rgba(0,0,0,0.45); padding: 0; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ BRAND VALUES ============ */
.brand-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.value-item {
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--border);
    text-align: center;
    transition: background 0.4s;
}

.value-item:last-child { border-right: none; }
.value-item:hover { background: var(--bg3); }

.value-icon {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.value-item h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.8;
}

/* ============ SPOTLIGHT ============ */
.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    overflow: hidden;
}

.spotlight-img-side {
    overflow: hidden;
    position: relative;
}

/* Dark gradient over spotlight image to show maroon tones better */
.spotlight-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8,8,8,0) 60%,
        rgba(8,8,8,0.6) 100%
    );
    pointer-events: none;
}

.spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 1s var(--ease);
}

.spotlight-img-side:hover .spotlight-img { transform: scale(1.04); }

.spotlight-text-side {
    background: var(--bg2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 5rem;
    border-left: 1px solid var(--border);
}

.spotlight-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.spotlight-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.spotlight-title em { font-style: italic; color: var(--gold-light); }

.spotlight-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 2.1;
    margin-bottom: 2rem;
    max-width: 400px;
}

.spotlight-meta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.spotlight-meta span {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 0.4rem 0.9rem;
}

.spotlight-price {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 2.5rem;
}

/* ============ BUTTONS ============ */
.btn-gold {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s, transform 0.25s;
    display: inline-block;
}

.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-gold.full-width { width: 100%; }

/* ============ SHOP SECTION ============ */
.shop-section {
    background: var(--bg);
    padding: 6rem 5rem 8rem;
}

.shop-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.shop-heading h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
}

.shop-category-nav {
    display: flex;
    justify-content: center;
    border: 1px solid var(--border);
    margin-bottom: 4rem;
    overflow-x: auto;
}

.cat-btn {
    background: none;
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-dim);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    padding: 1.2rem 2rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cat-btn:last-child { border-right: none; }
.cat-btn:hover { color: var(--text); background: var(--bg2); }
.cat-btn.active { color: #000; background: var(--gold); }

/* ============ PRODUCT AREA ============ */
.product-area { min-height: 400px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.8rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* ---- Product Card ---- */
.product-card {
    cursor: pointer;
    background: var(--bg2);
    border: 1px solid var(--border);
    transition: border-color 0.4s, transform 0.45s var(--ease), box-shadow 0.45s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border-gold);
}

.product-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 2;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
}

.product-badge.new { background: var(--gold); color: #000; }
.product-badge.soon {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-dim);
    backdrop-filter: blur(4px);
}

/* ---- Product image — Adjusted height to show full shirt ---- */
.product-card-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    background: var(--bg2);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.8s var(--ease);
}

.product-card:hover .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.8s var(--ease);
}

.product-card-body {
    padding: 1.2rem 1.4rem 1.6rem;
}

.product-card-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 400;
}

.product-card-meta {
    font-size: 0.62rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.product-card-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.product-card-actions { display: flex; gap: 0.5rem; }

.btn-outline {
    flex: 1;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 0.65rem 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }

.btn-card-primary {
    flex: 2;
    background: var(--gold);
    color: #000;
    border: none;
    padding: 0.65rem 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 700;
}

.btn-card-primary:hover { background: var(--gold-light); }

/* ============ COMING SOON ============ */
.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: center;
}

.coming-soon-inner { max-width: 500px; }

.cs-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: block;
}

.coming-soon-inner h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.coming-soon-inner h2 em { font-style: italic; color: var(--gold-light); }
.cs-sub { font-size: 0.85rem; color: var(--text-dim); line-height: 2; }
.hidden { display: none !important; }

/* ============ NEWSLETTER ============ */
.newsletter {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 8rem 2rem;
}

.newsletter h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.newsletter-sub {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-right: none;
    color: var(--text);
    padding: 1rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus { border-color: var(--gold); }
.newsletter-input::placeholder { color: var(--text-dim); }
.newsletter-form .btn-gold { padding: 1rem 1.8rem; font-size: 0.6rem; }

/* ============ FOOTER ============ */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 5rem 5rem 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

/* Footer logo — invert black PNG to white */
.footer-logo-img {
    height: 36px;
    width: auto;
    filter: invert(1) brightness(2);
    object-fit: contain;
    margin-bottom: 1.2rem;
    display: block;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.9;
}

.footer-links-col h4 {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.footer-links-col ul { list-style: none; }
.footer-links-col li { margin-bottom: 0.8rem; }

.footer-links-col a {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.footer-links-col a:hover { color: var(--gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 2.5rem; right: 2.5rem;
    width: 44px; height: 44px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 400;
    transition: opacity 0.4s, transform 0.3s;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}

.back-to-top:hover { transform: translateY(-4px); }

/* ============ MODALS ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
}

.modal-panel {
    position: relative; z-index: 1;
    background: var(--bg2);
    border: 1px solid var(--border);
    width: 90%; max-width: 480px;
    padding: 2.5rem;
    max-height: 90vh;
    overflow-y: auto;
}

/* Cart panel — slides in from right */
.cart-panel {
    position: fixed;
    top: 0; right: 0;
    width: 400px; height: 100vh;
    max-height: 100vh; max-width: none;
    border-left: 1px solid var(--border);
    border-top: none; border-right: none; border-bottom: none;
    display: flex; flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
}

.cart-panel.open { transform: translateX(0); }

.cart-panel .modal-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0; flex-shrink: 0;
}

.cart-panel .cart-items { flex: 1; overflow-y: auto; padding: 1rem 2.5rem; }

.cart-panel .cart-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.modal-header {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.modal-header.centered { justify-content: center; position: relative; }
.modal-header.centered .close-btn { position: absolute; right: 0; }

.modal-header h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem; font-weight: 400;
}

.close-btn {
    font-size: 1rem; cursor: pointer;
    color: var(--text-dim);
    transition: color 0.3s;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
}

.close-btn:hover { color: var(--text); }

.cart-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 58px; height: 68px;
    object-fit: cover; flex-shrink: 0;
    border: 1px solid var(--border);
}

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.82rem; margin-bottom: 0.3rem; font-weight: 500; }
.cart-item-price { font-size: 0.78rem; color: var(--gold); }

.remove-item {
    background: none; border: none; color: var(--text-dim);
    font-size: 0.85rem; cursor: pointer; transition: color 0.3s;
    padding: 0.4rem; flex-shrink: 0;
}

.remove-item:hover { color: #e55; }

.cart-total {
    display: flex; justify-content: space-between;
    font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem;
}

/* UPI */
.text-center { text-align: center; }

.upi-instruction { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 1.5rem; }

.qr-wrap {
    display: inline-block; padding: 1rem;
    background: #fff; margin-bottom: 1.5rem;
}

.upi-id {
    font-family: monospace; font-size: 0.95rem;
    color: var(--gold); margin-bottom: 0.5rem; letter-spacing: 1px;
}

.upi-total {
    font-size: 2rem; font-family: var(--font-serif);
    font-weight: 400; margin-bottom: 1.5rem;
}

/* ============ VARIANT SELECTORS ============ */
.variant-section {
    padding: 0.8rem 0;
    border-top: 1px solid var(--border);
}

.variant-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.variant-label span { color: var(--text); font-weight: 600; }

/* Colour swatches */
.color-swatches {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.swatch {
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 3px;
    transition: outline-color 0.25s, transform 0.2s;
    position: relative;
    flex-shrink: 0;
}

.swatch:hover { transform: scale(1.15); }

.swatch.active { outline-color: var(--gold); border-color: var(--bg2); }

.swatch.light-color { border-color: rgba(255,255,255,0.25); }
.swatch.light-color.active { border-color: var(--bg2); }

/* Tooltip */
.swatch::after {
    content: attr(data-color);
    position: absolute;
    bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%);
    background: var(--bg4); color: var(--text);
    font-size: 0.55rem; letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    white-space: nowrap; opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid var(--border);
}

.swatch:hover::after { opacity: 1; }

/* Size buttons */
.size-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.size-btn {
    min-width: 46px; height: 40px;
    padding: 0 0.8rem;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
    font-family: var(--font-sans);
    font-size: 0.65rem; text-transform: uppercase;
    letter-spacing: 1.5px; font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
}

.size-btn:hover:not(.out-of-stock) { border-color: var(--text-dim); color: var(--text); }

.size-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.size-btn.out-of-stock {
    opacity: 0.3; cursor: not-allowed; text-decoration: line-through;
}

.size-btn.out-of-stock::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to top right,
        transparent calc(50% - 0.5px),
        rgba(255,255,255,0.15) calc(50% - 0.5px),
        rgba(255,255,255,0.15) calc(50% + 0.5px),
        transparent calc(50% + 0.5px)
    );
}

/* Warning when no size picked */
.select-prompt {
    font-size: 0.7rem; color: #e07070;
    letter-spacing: 1px; margin-bottom: 0.5rem; font-weight: 500;
}

/* Size chart btn */
.size-chart-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 0.7rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.65rem; text-transform: uppercase;
    letter-spacing: 2px; cursor: pointer;
    transition: all 0.3s; font-weight: 500;
    width: 100%; margin-bottom: 0.8rem;
}

.size-chart-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Product Detail */
.product-detail-panel { max-width: 900px; padding: 0; overflow: hidden; }

.detail-close {
    position: absolute; top: 1.2rem; right: 1.5rem;
    z-index: 10; font-size: 1.1rem;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    border-radius: 50%;
}

.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; }

.product-detail-images { background: var(--bg3); overflow: hidden; }

.main-image-wrap {
    background: #fff;
    aspect-ratio: 4/5;
    border: 1px solid var(--border);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.main-image-wrap img {
    width: 100%; height: auto; aspect-ratio: 3/4;
    object-fit: contain; background: var(--bg2);
    object-position: center top;
    display: block; transition: transform 0.6s var(--ease);
}

.main-image-wrap:hover img { transform: scale(1.5); cursor: zoom-in;; }

.thumb-strip {
    display: flex; gap: 0.5rem;
    padding: 0.8rem; overflow-x: auto;
    background: var(--bg2);
}

.thumb-strip img {
    width: 58px; height: 68px; object-fit: cover;
    cursor: pointer; border: 2px solid transparent;
    transition: border-color 0.3s, opacity 0.3s;
    flex-shrink: 0; opacity: 0.55;
}

.thumb-strip img:hover { opacity: 1; }
.thumb-strip img.active { border-color: var(--gold); opacity: 1; }

.product-detail-info {
    padding: 2.5rem 2rem;
    display: flex; flex-direction: column;
    gap: 1rem; overflow-y: auto; max-height: 500px;
}

.detail-tag {
    font-size: 0.58rem; text-transform: uppercase;
    letter-spacing: 3px; color: var(--gold); font-weight: 500;
}

.product-detail-info h2 {
    font-family: var(--font-serif);
    font-size: 1.7rem; font-weight: 400; line-height: 1.2;
}

.detail-style {
    font-size: 0.65rem; color: var(--text-dim);
    letter-spacing: 2px; text-transform: uppercase;
}

.detail-price {
    font-size: 1.5rem; font-weight: 600; color: var(--text);
    padding: 0.8rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.detail-meta { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.detail-meta span {
    background: var(--bg3); border: 1px solid var(--border);
    padding: 0.4rem 0.8rem; font-size: 0.65rem;
    letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim);
}

.size-chart-panel { max-width: 700px; padding: 2rem; }

.size-chart-img {
    width: 100%; display: block;
    border-radius: 2px; margin-top: 1rem;
}

/* ============ SCROLL ANIMATIONS ============ */
/* Elements start invisible and slide up via GSAP/ScrollTrigger in app.js */
.anim-up, .anim-fade { will-change: opacity, transform; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .navbar { padding: 1.5rem 3rem; }
    .navbar.scrolled { padding: 1rem 3rem; }
    .brand-values { grid-template-columns: 1fr 1fr; }
    .spotlight { grid-template-columns: 1fr; }
    .spotlight-img-side { height: 55vw; }
    .spotlight-text-side { padding: 4rem 3rem; }
    .shop-section { padding: 5rem 3rem 6rem; }
    .footer { padding: 4rem 3rem 2rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {

    .product-grid { 
        display: flex; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        padding-bottom: 20px; 
        gap: 15px; 
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    .product-grid::-webkit-scrollbar {
        height: 6px;
    }
    .product-grid::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 4px;
    }
    .product-card {
        scroll-snap-align: center;
        flex: 0 0 85%;
        margin-bottom: 0;
    }
    .modal-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 15px;
        background: var(--bg2);
        border-top: 1px solid var(--border);
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }
    .modal-content {
        padding-bottom: 120px; /* Leave space for fixed buttons */
    }

    .navbar { padding: 1.2rem 2rem; }
    .navbar.scrolled { padding: 0.9rem 2rem; }
    .hamburger { display: flex; }
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: var(--bg2); z-index: 1000; 
        padding: 1rem 0; 
        gap: 1.5rem; 
        text-align: center; 
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .nav-links li.dropdown .dropdown-content { position: static; transform: none; display: none; width: 100%; }
    .nav-links li.dropdown:hover .dropdown-content { display: block; }
    .logo-img { height: 32px; }
    .hero-content { left: 5%; bottom: 10%; }
    .shop-section { padding: 4rem 1.5rem 5rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card { font-size: 0.9em; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .cart-panel { width: 100%; }
    .footer { padding: 3rem 1.5rem 2rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .hero-scroll-container { height: 400vh; }
}


/* Desktop Logo Container Spacing */
.logo-container { margin-right: 4rem; }

@media (max-width: 768px) {
    .logo-container { margin-right: 0; }
    .nav-right { gap: 8px !important; }
    #search-input { width: 100px !important; padding: 4px 8px !important; }
    .navbar { padding: 1rem 1rem !important; gap: 0.5rem; }
    
    /* Make dropdown clickable by expanding hit area on mobile */
    .nav-links li.dropdown .dropbtn { display: block; padding: 10px; font-weight: bold; }
}

/* Ensure the product modal is fully scrollable on mobile */
@media (max-width: 768px) {
    .product-detail-panel { overflow-y: auto !important; max-height: 85vh !important; }
    .product-detail-info { max-height: none !important; overflow: visible !important; padding: 1.5rem !important; }
    .product-detail-images { padding: 10px; }
}

/* Responsive Nav Updates */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 250px;
        height: 100vh;
        background: var(--bg2);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        border-right: 1px solid var(--border);
        box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        left: 0;
    }
    .search-input-desktop {
        width: 80px !important;
    }
    .nav-right {
        gap: 8px !important;
    }
}
