/* public/assets/css/style.css */

:root {
    --bg-color: #0a0a0a;
    --text-color: #f4f4f0;
    --accent-color: #d4af37; /* Subtle gold for luxury */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography & Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    opacity: 0; /* Hidden for GSAP to reveal */
    transform: translateY(50px);
}

.hero-subtitle {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    opacity: 0;
}

/* Simple Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Forces a perfect 2x2 layout */
        gap: 6rem 4rem; /* Larger vertical gap */
    }
}

.product-card {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    cursor: pointer;
    opacity: 0; /* Hidden for GSAP ScrollTrigger */
    transform: translateY(30px);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #1a1a1a;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #111, #222);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .placeholder-img {
    transform: scale(1.05); /* Premium slow zoom on hover */
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.product-price {
    font-size: 1.1rem;
    color: var(--accent-color);
}

/* Product Single Page (Split Layout) */
.product-single {
    min-height: 100vh;
}

.product-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .product-split {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    
    .product-gallery {
        position: sticky;
        top: 8rem; /* Keeps the image in place while scrolling details */
    }
}

.single-title {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.single-price {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.single-divider {
    height: 1px;
    width: 100%;
    background-color: #333;
    margin: 2rem 0;
}

.single-description {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
}

.product-meta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Premium Buttons */
.btn-primary {
    width: 100%;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #ccc;
}

.btn-primary:disabled {
    background-color: #333;
    color: #666;
    cursor: not-allowed;
}

/* --- Homepage Expansions --- */

/* Reusable Typography */
.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.story-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    line-height: 1.6;
    font-weight: 300;
    color: #ddd;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    opacity: 0; /* GSAP will fade this in */
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Infinite Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #111;
    padding: 1.5rem 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scrollMarquee 25s linear infinite;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: #666;
}

.marquee-content span {
    margin: 0 2rem;
    color: var(--text-color);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls half its width, then loops seamlessly */
}

/* Signature Spotlight */
.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 900px) {
    .spotlight-grid {
        grid-template-columns: 1.2fr 1fr; /* Image takes slightly more space */
    }
}

.spotlight-image-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #1a1a1a;
    overflow: hidden;
}

.spotlight-image {
    width: 100%;
    height: 120%; /* Taller than container for parallax effect */
    background: linear-gradient(45deg, #111, #222);
}

.spotlight-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.spotlight-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
    font-weight: 300;
    margin-bottom: 1rem;
}

.spotlight-notes {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 3rem;
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Ritual Grid */
.ritual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    text-align: center;
}

.ritual-number {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #444;
}

.ritual-action {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.ritual-desc {
    color: #888;
    font-weight: 300;
    line-height: 1.6;
}

/* Newsletter */
.newsletter {
    background-color: #0f0f0f;
    padding: 8rem 0;
    border-top: 1px solid #222;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5rem;
    margin-top: 3rem;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    font-family: var(--font-main);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateX(5px);
}

/* The Ethos (USPs) */
.ethos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    border-top: 1px solid #222;
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .ethos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ethos-item {
    display: flex;
    flex-direction: column;
}

.ethos-title {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.ethos-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
    font-weight: 300;
}

/* Curations (Bundles) */
.curation-card {
    background-color: #111;
    padding: 3rem;
    text-align: center;
    transition: background-color 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.curation-card:hover {
    background-color: #1a1a1a;
}

/* Minimalist Accordion (FAQ) */
.accordion {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #333;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 2rem 0;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    font-family: var(--font-main);
    font-weight: 300;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg); /* Turns + into x */
}

.accordion-content {
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content p {
    padding-bottom: 2rem;
    color: #888;
    font-weight: 300;
    line-height: 1.6;
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference; /* Keeps text visible on light or dark backgrounds */
}

.nav-left, .nav-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link, .cart-toggle {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.logo a {
    color: inherit;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 4px;
}

/* --- Footer --- */
.site-footer {
    background-color: #050505;
    padding: 6rem 0 2rem 0;
    border-top: 1px solid #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-col p, .footer-col a {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
}

/* --- Cart Drawer --- */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen by default */
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background-color: #0a0a0a;
    border-left: 1px solid #222;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Classes to trigger the slide-in */
.cart-open .cart-drawer {
    right: 0;
}

.cart-open .cart-drawer-overlay {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.empty-cart-msg {
    text-align: center;
    color: #888;
    margin-top: 50%;
    transform: translateY(-50%);
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid #222;
    background-color: #0a0a0a;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* --- Cart Drawer Items --- */
.cart-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1a1a1a;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
    width: 80px;
    height: 100px;
    background-color: #222;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-details h4 {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.remove-item {
    background: none;
    border: none;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #ff4444;
}

/* --- Checkout Page --- */
.checkout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .checkout-split {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }
    .checkout-summary {
        position: sticky;
        top: 8rem;
        background-color: #0f0f0f;
        padding: 3rem;
        border: 1px solid #1a1a1a;
    }
}

.form-section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.premium-form .form-group {
    margin-bottom: 1.5rem;
}

.premium-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .premium-form .form-row:has(> :nth-child(3)) {
        grid-template-columns: 1fr 1fr 1fr; /* For City, State, Pincode */
    }
}

.premium-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: var(--text-color);
    font-size: 1rem;
    padding: 1rem 0;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.premium-form input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.premium-form input::placeholder {
    color: #666;
    font-weight: 300;
}

/* Summary Box */
.summary-items {
    margin-bottom: 2rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

.summary-item-qty {
    color: #666;
    margin-left: 0.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.total-row {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
}

/* --- Static Pages (About & Contact) --- */
.story-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
    }
}

textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color) !important;
}

/* --- Header & Mobile Navigation Polish --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    box-sizing: border-box;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-left, .hidden-mobile {
        display: none !important; /* Hide desktop links */
    }

    .mobile-menu-btn {
        display: block; /* Show hamburger */
    }

    /* Keep Cart on the right, Logo in the center */
    .nav-right {
        flex: 0 0 auto;
    }
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========================================= */
/* MASTER HEADER & NAVIGATION CSS FIX        */
/* ========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link, .cart-toggle {
    color: #eee;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: none;
    border: none;
    cursor: pointer;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #fff;
    text-decoration: none;
}

/* --- MOBILE MENU DEFAULTS (HIDDEN ON DESKTOP) --- */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #eee;
    cursor: pointer;
    padding: 0;
}

.mobile-nav-overlay {
    display: none;
    background-color: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: #eee;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- RESPONSIVE BREAKPOINT (TABLET/MOBILE) --- */
@media (max-width: 768px) {
    .nav-left, .hidden-mobile {
        display: none !important;
    }

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

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* --- Smart Cart Progress Bar --- */
.cart-upsell-container {
    background: #111;
    padding: 1.5rem;
    border-bottom: 1px solid #222;
    text-align: center;
}

.upsell-text {
    color: var(--accent-color); /* Your gold/brand color */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.progress-track {
    background: #222;
    height: 4px;
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    background: var(--accent-color);
    height: 100%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth luxury animation */
}

/* ========================================= */
/* LUXURY CART DRAWER STYLING                */
/* ========================================= */

.cart-drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-drawer {
    position: fixed;
    top: 0; right: -100%; width: 100%; max-width: 450px; height: 100vh;
    background-color: #050505; /* Pure, deep black */
    border-left: 1px solid #1a1a1a;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

body.cart-open .cart-drawer-overlay {
    opacity: 1; visibility: visible;
}
body.cart-open .cart-drawer {
    right: 0;
}

/* Header */
.cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #1a1a1a;
}
.cart-header h3 {
    margin: 0; font-size: 1rem; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; color: #fff;
}
.cart-close {
    background: none; border: none; color: #888; cursor: pointer; padding: 0; transition: color 0.3s;
}
.cart-close:hover { color: #fff; }

/* Upsell Progress Bar */
.cart-upsell-container {
    padding: 1.5rem 2rem;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    text-align: center;
}
.upsell-text {
    color: #d4af37; /* Gold accent */
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 1rem 0; font-weight: 500;
}
.progress-track {
    background: #222; height: 2px; width: 100%; border-radius: 2px; overflow: hidden;
}
.progress-fill {
    background: #d4af37; height: 100%; width: 0%; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cart Body (Scrollable) */
.cart-body {
    flex: 1; overflow-y: auto; padding: 0 2rem;
}
.cart-item {
    display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid #1a1a1a;
}
.cart-item-img {
    width: 80px; height: 100px; background: #111; object-fit: cover; border-radius: 2px;
}
.cart-item-details {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.cart-item-details h4 {
    margin: 0 0 0.5rem 0; font-size: 1rem; font-weight: 400; color: #eee;
}
.cart-item-price {
    margin: 0 0 1rem 0; font-size: 0.9rem; color: #888;
}
.cart-item-actions {
    display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem;
}
.cart-qty { color: #888; }
.remove-item {
    background: none; border: none; color: #666; text-transform: uppercase; letter-spacing: 1px; font-size: 0.7rem; cursor: pointer; padding: 0;
}
.remove-item:hover { color: #d4af37; }

/* Empty State */
.empty-cart-msg {
    text-align: center; padding: 4rem 0; color: #666;
}

/* Footer Totals */
.cart-footer {
    padding: 2rem; background: #050505; border-top: 1px solid #1a1a1a;
}
.summary-row {
    display: flex; justify-content: space-between; margin-bottom: 0.8rem;
}
.summary-label {
    color: #888; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
}
.summary-value {
    color: #eee; font-size: 0.9rem;
}
.highlight-row .summary-label, .highlight-row .summary-value {
    color: #d4af37; 
}
.total-row {
    border-top: 1px solid #1a1a1a; padding-top: 1rem; margin-top: 1rem; margin-bottom: 2rem; align-items: center;
}
.checkout-btn {
    display: block; width: 100%; text-align: center; padding: 1.2rem;
    background: #fff; color: #000; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.checkout-btn:hover { background: #d4af37; color: #fff; }

/* --- Quantity Selector --- */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #333;
    border-radius: 3px;
    background: #0a0a0a;
}
.qty-selector button {
    background: none;
    border: none;
    color: #eee;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 1rem;
}
.qty-selector button:hover { color: #d4af37; }
.qty-selector span {
    padding: 0 0.5rem;
    font-size: 0.85rem;
    color: #fff;
    min-width: 20px;
    text-align: center;
}

/* --- Cart Upsells Engine --- */
.cart-upsells {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #333;
}
.upsell-title {
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.upsell-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #111;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.upsell-img {
    width: 40px; height: 50px;
    object-fit: cover; border-radius: 2px;
}
.upsell-info { flex: 1; }
.upsell-info h6 {
    margin: 0 0 0.2rem 0; font-size: 0.85rem; color: #eee; font-weight: 400;
}
.upsell-info span {
    font-size: 0.8rem; color: #888;
}
.upsell-add-btn {
    background: transparent; border: 1px solid #d4af37; color: #d4af37;
    padding: 0.4rem 0.8rem; font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; border-radius: 2px; transition: all 0.3s;
}
.upsell-add-btn:hover { background: #d4af37; color: #000; }

/* --- Checkout UI Fixes --- */
.checkout-container {
    padding-top: 120px !important; /* Pushes content safely below the fixed header */
}

#apply_promo_btn {
    color: #d4af37 !important; /* Brand gold */
    border: 1px solid #d4af37 !important;
    background: transparent !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#apply_promo_btn:hover {
    background: #d4af37 !important;
    color: #000 !important; /* Black text on hover */
}

/* ========================================= */
/* CART SCROLL & MOBILE RESPONSIVE POLISH    */
/* ========================================= */

.cart-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain; /* Locks scroll inside the drawer */
    -webkit-overflow-scrolling: touch; /* Momentum scrolling for iOS */
}

/* Ensure the wrapper doesn't push elements out of bounds */
.cart-items-wrapper, .cart-upsells {
    width: 100%;
    box-sizing: border-box;
}

/* --- Mobile Breakpoint --- */
@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }
    
    /* Tighten paddings for mobile screens */
    .cart-header {
        padding: 1rem 1.5rem;
    }
    .cart-upsell-container {
        padding: 1rem 1.5rem;
    }
    .cart-body {
        padding: 0 1.5rem;
    }
    .cart-footer {
        padding: 1.5rem;
    }
    
    /* Slightly scale down images to save vertical space */
    .cart-item-img {
        width: 60px;
        height: 75px;
    }
    .upsell-img {
        width: 35px;
        height: 45px;
    }
    .cart-item {
        gap: 1rem;
        padding: 1rem 0;
    }
}

/* ========================================= */
/* HERO SECTION: CINEMATIC COMPOSITION       */
/* ========================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center; /* Dead-center vertical alignment */
}

/* The Top Spotlight Effect */
.top-spotlight {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: radial-gradient(ellipse at top center, rgba(255,255,255,0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    opacity: 0; /* GSAP will fade this in */
}

/* Perfected Typography */
.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    pointer-events: none;
    /* transform: translateY(-6vh); <--- This pushes the text up */
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 200; 
    line-height: 0.9; 
    letter-spacing: -3px; 
    color: white;
    margin: 0; /* Prevents text from shifting downward */
}

.hero-subtitle {
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.4); 
    letter-spacing: 5px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* --- Z-Depth & Image Styling --- */
/* Force absolute anchor point for GSAP */
.float-item {
    position: absolute;
    top: 50%; /* Lock to vertical center */
    left: 50%; /* Lock to horizontal center */
    will-change: transform, opacity;
    backface-visibility: hidden; 
    -webkit-backface-visibility: hidden;
    transform: translateZ(0); 
    transition: none !important; 
}

.float-item.tin {
    width: clamp(140px, 16vw, 240px);
    z-index: 10;
    /* Slightly optimized shadow for better frame rates */
    filter: drop-shadow(0px 20px 30px rgba(0,0,0,0.6)); 
}

.float-item.ing {
    width: clamp(60px, 7vw, 110px);
    z-index: 5;
    opacity: 0.92; 
    /* Optimized blur for better frame rates */
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.4)); 
    pointer-events: none;
}

/* --- The Mobile Fix --- */
@media (max-width: 768px) {
    /* Hide ingredients to keep mobile clean */
    .float-item.ing { display: none !important; }
}