:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4D06F;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-medium: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.3s ease;

    --gap-sm: 1rem;
    --gap-md: 2rem;
    --gap-lg: 4rem;
    --gap-xl: 8rem;
}

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

html {
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 10%, #1c1c1c 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, #181818 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, #0f0f0f 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 60ch;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-color);
}

/* Search Bar */
.search-container {
    position: relative;
    max-width: 400px;
    margin: 1.5rem auto 0;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    padding-right: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    /* Slight rounding */
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.search-container i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

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

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

.btn-text {
    padding: 0;
    color: var(--accent-gold);
    font-weight: 500;
}

.btn-text:hover {
    color: var(--accent-gold-light);
    transform: translateX(5px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-align: center;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Performance fixes for smooth text scaling */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* Main Text Stacking Context */
.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
}

/* The Shine Layer */
.logo-main::before {
    content: "JASMINE'S";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #FFFFFF 0%, var(--accent-gold) 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
    /* Ensure gradient layer is also optimized */
    will-change: opacity;
}

.logo:hover .logo-main::before {
    opacity: 1;
    animation: shine 2s linear infinite;
}

/* Subtext Styling */
.logo-subtext {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-top: 6px;
    font-weight: 500;
}

.logo:hover {
    transform: scale(1.05);
    /* slightly clearer zoom as requested */
}

/* Ensure subtext stays gold on hover */
.logo:hover .logo-subtext {
    color: var(--accent-gold-light);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.nav-left,
.nav-right {
    display: flex;
    gap: 2rem;
    flex: 1;
    /* Take up equal space to ensure logo remains centered */
}

.nav-right {
    justify-content: flex-end;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    opacity: 0.8;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-top: 12vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    filter: brightness(0.6);
    transform: scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 4rem;
}

.hero-title {
    margin-bottom: 1rem;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    animation: fadeUp 1s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero .btn {
    animation: fadeUp 1s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    right: auto;
    left: 3rem;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-primary) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Valentine's Promo Modal Styling */
/* Valentine's Promo Modal Styling */
#promo-modal {
    background: rgba(10, 2, 2, 0.9);
    backdrop-filter: blur(20px);
    z-index: 4000;
}

.modal-content.promo-modal-content {
    background: linear-gradient(145deg, #1f0808 0%, #0a0101 100%);
    border: 1px solid rgba(255, 182, 193, 0.15);
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 105, 180, 0.05);
    border-radius: 20px;
    max-width: 1000px;
    /* Increased to fit 4 cols easily */
    width: 95%;
    height: 90vh;
    /* Fixed height for scrolling */
    padding: 0;
    overflow: hidden;
    /* Header/Footer fixed, inner scrolls */
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Close Button Positioning update */
.promo-modal-content .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 50;
    /* Increased Z-Index to be safe */
    color: #fff;
    /* Force White Icon */
    background: rgba(255, 255, 255, 0.1);
    /* Subtle light background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Definitive border */
    border-radius: 50%;
    width: 36px;
    /* Slightly larger */
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-modal-content .modal-close:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

/* Fixed Header */
/* Fixed Header */
.promo-fixed-header {
    flex-shrink: 0;
    width: 100%;
    /* Force full width */
    padding: 2rem 2rem 1rem;
    background: linear-gradient(to bottom, #1f0808 80%, rgba(31, 8, 8, 0));
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Header Typography Styles */
.promo-eyebrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 0.5rem;
    display: block;
    background: linear-gradient(to right, #eeb678, #f5a6b5, #eeb678);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 4s linear infinite;
    font-weight: 600;
    text-align: center;
    /* Explicit center */
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.promo-date {
    color: #ccc;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    /* Vertically align items */
    justify-content: center;
    gap: 0.75rem;
    /* Increased gap */
    width: 100%;
    /* Ensure full width for centering */
}

.promo-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.2em;
    /* Taller divider */
    font-weight: 300;
    position: relative;
    top: -1px;
    /* Visual adjustment */
}

.promo-offer {
    color: #ff8fa3;
    font-weight: 500;
    background: rgba(255, 143, 163, 0.08);
    padding: 0.35em 0.8em;
    /* Relative padding */
    border-radius: 6px;
    border: 1px solid rgba(255, 143, 163, 0.15);
    font-family: var(--font-body);
    font-size: 0.8em;
    /* Slightly smaller text */
    letter-spacing: 0.05em;
    line-height: 1;
    /* Reset line height for better vertical centering */
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 143, 163, 0.05);
}

/* Scroll Container */
.promo-scroll-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem 2rem 8rem;
    /* Bottom padding for fixed footer clearance */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) rgba(255, 255, 255, 0.05);
    overscroll-behavior: contain;
}

.promo-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.promo-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.promo-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-gold);
    border-radius: 10px;
}

/* Sections */
.promo-section {
    margin-bottom: 4rem;
    animation: fadeUp 0.8s ease forwards;
}

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

.section-title {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 500;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Promo List (Rings) */
.promo-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.promo-list-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 12px;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.promo-list-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 77, 77, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.promo-list-media {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.promo-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-list-info h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.item-desc {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.price-value {
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.size-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Watches Grid */
/* Watches Grid - Switched to Flex for better centering of few items */
.promo-grid-watches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    /* Reduced gap to fit 4 items */
}

.promo-watch-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 1 200px;
    /* Slightly narrower basis */
    min-width: 160px;
    /* Allow fitting 4 across (4*170 + 4.5rem gap < 900) */
    max-width: 250px;
}

.promo-watch-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.watch-media {
    width: 100%;
    aspect-ratio: 1;
    background: #000;
}

.watch-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watch-info {
    padding: 1rem;
    text-align: center;
}

.watch-info h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

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

/* Fixed Footer */
.promo-fixed-footer {
    flex-shrink: 0;
    padding: 1rem 2rem 1.5rem;
    background: linear-gradient(to top, #0f0202 85%, rgba(15, 2, 2, 0));
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    justify-content: center;
    pointer-events: none;
    /* Allow clicks through transparent part if needed, but wrapper is full width */
}

.promo-fixed-footer .btn {
    pointer-events: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .promo-list-item {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .promo-list-media {
        width: 100px;
        height: 100px;
    }

    .promo-grid-watches {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .promo-scroll-container {
        padding: 1rem 1rem 6rem;
    }
}

/* Product Detail Modal Styles */
.product-detail-modal .modal-content {
    max-width: 900px;
    padding: 3rem;
    width: 95%;
}

#product-detail-modal,
.product-detail-modal {
    z-index: 4005;
}

.product-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.product-image-large {
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-col h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-info-col .price {
    font-size: 1.5rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 1.5rem;
}

.detail-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.small-specs {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .product-detail-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.promo-thumb {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.promo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-item-info h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.promo-item-info .price {
    font-size: 1.15rem;
    color: var(--accent-gold);
    display: block;
    font-weight: 400;
}

.modal-cta {
    background: linear-gradient(45deg, #ff5e78, #d61c4e);
    border: none;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-top: 1rem;
    cursor: pointer;
    display: inline-block;
    width: auto;
    /* Not full width */
    min-width: 250px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.modal-cta:hover {
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.4);
    transform: scale(1.02);
}

/* Floating Widget */
.promo-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-widget.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff4d4d, #cc0000);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pulse-glow 2s infinite;
}

.widget-icon-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    transition: transform 0.3s ease;
    /* SVG is already white stroke, but this ensures it pops */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.widget-btn:hover .widget-icon-img {
    transform: scale(1.1);
}

.widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 77, 77, 0.8);
}

.widget-tooltip {
    background: white;
    color: #000;
    padding: 0.5rem 2rem 0.5rem 1rem;
    /* Extra right padding for close btn */
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    pointer-events: auto;
    /* Allow clicking the close button */
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tooltip-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px 6px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.tooltip-close:hover {
    color: #000;
}

/* Tooltip Arrow */
.widget-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 24px;
    width: 10px;
    height: 10px;
    background: white;
    transform: rotate(45deg);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 77, 77, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
    }
}

@media (max-width: 768px) {
    /* Removed conflicting promo styles to consolidate in bottom media query */
}

/* Narrative */
.narrative {
    padding: var(--gap-xl) 0;
}

.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

.narrative-image figure {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.narrative-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.narrative-image:hover img {
    transform: scale(1.05);
}

/* About Founder */
.about-founder {
    padding: var(--gap-xl) 0;
}

.founder-image {
    height: 100%;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

.founder-image figure {
    position: relative;
    overflow: hidden;
    height: 96%;
    border-radius: 2px;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.founder-image:hover img {
    transform: scale(1.05);
}

.founder-text h2 {
    margin-bottom: 2rem;
}

.founder-text p {
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .founder-image figure {
        height: 500px;
        margin-bottom: 2rem;
    }
}

/* Showcase */
.showcase {
    padding: var(--gap-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.section-header p {
    margin-left: auto;
    margin-right: auto;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.catalog-item {
    position: relative;
    cursor: pointer;
}

.catalog-item.span-2 {
    grid-column: span 2;
}

.item-media {
    overflow: hidden;
    aspect-ratio: 1;
    /* Square by default */
    background: #111;
    margin-bottom: 1rem;
    position: relative;
}

.catalog-item.span-2 .item-media {
    aspect-ratio: 16/9;
}

.item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.catalog-item:hover .item-media img {
    transform: scale(1.03);
}

.item-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.item-info p {
    font-size: 0.9rem;
    margin: 0;
}

/* Bespoke */
.bespoke-highlight {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--gap-xl);
    margin-bottom: 0;
}

.bespoke-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bespoke-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.bespoke-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 2rem;
}

.bespoke-content p {
    color: #f5f5f5;
    font-size: 1.25rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

/* Craftsmanship */
.craftsmanship {
    padding: var(--gap-xl) 0;
    /* background: var(--surface-color); Removed to alternate */
    position: relative;
    /* Ensure it sits on top of fixed bg */
    z-index: 1;
}

.craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

.craft-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    font-size: 2rem;
    color: var(--accent-gold);
}

/* Store */
.store-banner img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Contact */
.contact {
    padding: var(--gap-xl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--gap-lg);
    margin-bottom: var(--gap-lg);
}

.contact-info address {
    font-style: normal;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links i {
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: color 0.3s;
}

.social-links i:hover {
    color: var(--accent-gold);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

input,
select,
textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0;
}

select option {
    background-color: var(--surface-color);
    color: var(--text-primary);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.full-width {
    width: 100%;
}

.map-embed {
    filter: grayscale(1) invert(0.9);
    opacity: 0.8;
}

/* Footer */
/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border base */
    background: #080808;
    /* Slightly darker than main bg */
    position: relative;
    overflow: hidden;
}

/* Golden Streaks Animation */
.golden-streak-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    z-index: 10;
    overflow: hidden;
}

.golden-streak {
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    /* Shorter line for sharper traveling effect */
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-gold) 20%,
            #fff 50%,
            /* Bright white center for "energy" */
            var(--accent-gold) 80%,
            transparent 100%);
    opacity: 1;
    /* Fully visible */
    filter: blur(0px);
    /* Sharp line */
    box-shadow: 0 0 10px var(--accent-gold);
    /* Glow outside */
    animation: streakMove 3s linear infinite;
    /* Linear for constant travel */
}

.golden-streak.delay-1 {
    width: 40%;
    animation-delay: 2s;
    animation-duration: 6s;
    filter: blur(4px);
    opacity: 0.5;
}

@keyframes streakMove {
    0% {
        left: -50%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.footer-content-expanded {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-logo .logo-main {
    font-size: 3rem;
}

/* Make footer logo shine always */
.footer-logo .logo-main::before {
    opacity: 1;
    animation: shine 3s linear infinite;
    background-size: 200% auto;
}

/* Make footer logo hover effect subtle */
.footer-logo:hover .logo-subtext {
    color: var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    width: 100%;
    max-width: 900px;
    /* Increased from 800px to give more room */
    text-align: center;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-col a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: nowrap;
    /* Prevent wrapping for address */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.social-links-footer i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-links-footer i:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-logo .logo-main {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 900px) {
    .header-inner {
        padding: 0 1rem;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .narrative-grid,
    .craft-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .catalog-item.span-2 {
        grid-column: auto;
    }

    h1 {
        font-size: 3rem;
    }

    .narrative-image figure {
        height: 400px;
    }

    .bespoke-highlight {
        height: 60vh;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle Gold Border */
    padding: 4rem;
    width: 90%;
    max-width: 950px;
    height: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 20;
    /* Ensure above content */
    width: 44px;
    /* Minimum touch target */
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:active {
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-header {
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.5;
}

.modal-body {
    text-align: left;
    flex: 1;
    /* Fill remaining height */
    overflow-y: auto;
    padding-right: 1rem;
    max-height: none;
    /* Remove previous restriction */
    overscroll-behavior: contain;
}

/* Custom Scrollbar for text content */
.modal-body::-webkit-scrollbar {
    width: 4px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 2px;
}

.modal-body p {
    color: #e5e5e5;
    /* Brighter than text-secondary */
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 100%;
}

.modal-body h3 {
    text-align: center;
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
    text-align: center;
}

/* Instagram Feed */
.instagram-feed {
    padding: var(--gap-lg) 0;
    overflow: hidden;
    background: var(--surface-color);
    /* Added for alternation */
    position: relative;
    z-index: 1;
}

.insta-carousel-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
}

.insta-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: none;
    /* Disable snap for smooth auto-scroll */
    padding: 40px 0;
    /* Vertical padding prevents clipping on hover, no horizontal padding for full width */
    margin-top: -40px;
    /* Compensate layout */
    margin-bottom: -20px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: auto;
    /* IMPORTANT: Must be auto for JS loop */
    user-select: none;
    -webkit-user-select: none;
}

/* Mobile Adjustments for Instagram */
@media (max-width: 768px) {
    .instagram-feed .container-fluid {
        padding: 0;
        /* Remove side padding from container */
    }

    .insta-track {
        gap: 1rem;
        /* Smaller gap */
        padding: 20px 0;
        /* No horizontal padding for full width */
    }

    .insta-card {
        flex: 0 0 260px;
        /* Slightly smaller cards */
        height: 400px;
    }
}

.insta-track::-webkit-scrollbar {
    display: none;
}

.insta-track.active {
    cursor: grabbing;
    scroll-snap-type: none;
    /* Disable snap while dragging for smoothness */
}


.insta-item {
    display: none;
    /* Hide old wrappers if they exist */
}

/* Custom Instagram Link Cards - Premium */
/* Custom Instagram Link Cards - Premium */
.insta-card {
    flex: 0 0 320px;
    height: 520px;
    /* Taller, more cinematic */
    scroll-snap-align: center;
    position: relative;
    border-radius: 16px;
    /* Softer corners */
    overflow: hidden;
    display: flex;
    /* Changed from block to flex to ensure child fill */
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Slightly more visible border */
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform-style: preserve-3d;
}

.insta-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.8s;
    z-index: 2;
    pointer-events: none;
}

.insta-card:hover::after {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

.insta-card img,
.insta-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
    opacity: 0.95;
    margin: 0;
    /* Ensure no margin */
    padding: 0;
    /* Ensure no padding */
}

/* Hover State: Lift & Glow */
.insta-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(212, 175, 55, 0.3),
        /* Inner glow ring */
        0 0 30px rgba(212, 175, 55, 0.15);
    /* Soft gold ambient glow */
    z-index: 5;
}

.insta-card:hover img {
    transform: scale(1.12);
    opacity: 1;
}

/* Cinematic Overlay */
.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 3.5rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
}

/* Icon & Text Animation */
.insta-overlay i {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    transform: translateY(30px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    padding: 10px;
}

/* Reveal on Hover */
.insta-card:hover .insta-overlay {
    opacity: 1;
}

.insta-card:hover .insta-overlay i {
    transform: translateY(0);
}

/* Navigation Removed - Infinite Scroll Active */
/* Archive Modal Styles - Converted to "Page" Overlay */
.modal.full-screen-modal {
    padding: 0;
    /* Full bleed, no modal padding */
    background: #080808;
    /* Ensure partial transparency doesn't show */
    overflow: hidden;
    /* Prevent body scroll bleed */
}

/* Full Screen Modal Content Wrapper */
/* Full Screen Modal Content Wrapper - Premium 'Page' Feel */
.modal-content.wide-content {
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    /* Deep Rich Background with subtle center glow */
    background: radial-gradient(circle at top center, #1a1a1a 0%, #050505 60%, #000000 100%);
    border: none;
}

/* Modal Inner Body */
.scrollable-body {
    flex: 1;
    max-height: none;
    overflow-y: auto;
    padding: 0;
    /* Smooth Scroll behavior for the 'page' */
    scroll-behavior: smooth;
}

/* Header - Magazine Masthead Style */
/* Header - Magazine Masthead Style */
.modal-content.wide-content .modal-header {
    padding: 3rem 4rem 2rem 4rem;
    /* Taller, more substantial */
    background: rgba(8, 8, 8, 0.95);
    /* Deeper bg for readability */
    backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: sticky;
    top: 0;
    display: grid;
    /* Use grid for layout */
    grid-template-columns: 1fr auto 1fr;
    /* Center title, right widgets */
    align-items: center;
    margin-bottom: 0;
    /* Forced removal of gap */
}

/* Remove small decorative line from this specific mega-header */
/* Instead of removing, we position it relative to the center column */
.modal-content.wide-content .modal-header .modal-header-center {
    position: relative;
    padding-bottom: 2rem;
    /* Make space for the line */
}

.modal-content.wide-content .modal-header .modal-header-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.5;
}

.modal-content.wide-content .modal-header::after {
    display: none;
    /* Hide the generic one */
}

/* Ensure Close Button is visible and positioned relative to header */
.modal-content.wide-content .modal-close {
    position: static;
    /* Let it sit in grid */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border */
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Circle button */
    transition: all 0.3s ease;
    justify-self: end;
    /* Align to right */
}

.modal-content.wide-content .modal-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

/* Center Column (Title) */
.modal-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Title tweaks specific to this header */
.modal-content.wide-content .modal-header h2 {
    font-size: 3.5rem;
    /* Massive title */
    margin: 0;
    line-height: 0.9;
}

.modal-content.wide-content .modal-header .eyebrow {
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

/* Custom scrollbar for modal */
.scrollable-body::-webkit-scrollbar {
    width: 6px;
}

.scrollable-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.scrollable-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Collection Content Wrapper - The Main Container */
.collection-content-wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: 1800px;
    padding: 0 8rem 8rem 8rem;
    /* Massive side/bottom padding for the whole page */
}

/* Category Section */
.category-section {
    margin-bottom: 6rem;
    /* Space between categories */
    width: 100%;
}

/* Category Title */
.category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    display: inline-block;
    /* Only underline text width */
    width: 100%;
}

/* Product Grid - Gallery Style */
.collection-grid-large {
    display: grid;
    /* Larger minimum card width for 'Heavy' feel */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 4rem 3rem;
    /* Vertical gap 4rem, Horizontal 3rem */
    width: 100%;
    padding: 0;
    /* Remove internal padding */
}

/* Skeleton Loading Animation */
.skeleton-item {
    pointer-events: none;
    /* Non-interactive placeholder */
}

.skeleton-box {
    background: #1a1a1a;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skeleton-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    animation: skeletonShimmer 1.5s infinite;
}

.skeleton-text {
    background: #1a1a1a;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-text::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    animation: skeletonShimmer 1.5s infinite;
}

.skeleton-text.title {
    height: 1.2rem;
    width: 70%;
}

.skeleton-text.subtitle {
    height: 0.9rem;
    width: 40%;
}

@keyframes skeletonShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.8s ease, visibility 0.8s ease;
    /* Force GPU layer */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.preloader.hidden {
    background-color: transparent;
    pointer-events: none;
    visibility: hidden;
    transition-delay: 0.5s;
    /* Wait for logo to move */
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10000;
    /* Force GPU layer */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.preloader-logo {
    /* Start larger than header logo */
    transform-origin: center center;
    will-change: transform, clip-path;
    position: relative;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Force own compositing layer */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.preloader-logo .logo-main {
    font-size: 3rem;
    display: inline-block;
    white-space: nowrap;
    /* Prevent text wrapping/breaking */
    clip-path: inset(-50% 100% -50% 0);
    animation: revealLeftRight 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    will-change: clip-path;
}

.preloader-logo .logo-main::before {
    box-sizing: border-box;
}

.preloader-logo .logo-subtext {
    font-size: 1.1rem;
    clip-path: inset(0 100% 0 0);
    animation: revealLeftRight 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    will-change: clip-path;
}

.loading-bar-wrapper {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transform: translateX(-100%);
    animation: loadBar 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    will-change: transform;
}

.preloader.loaded .loading-bar-wrapper {
    opacity: 0;
}

@keyframes revealLeftRight {
    0% {
        clip-path: inset(-50% 100% -50% 0);
    }

    100% {
        clip-path: inset(-50% 0 -50% 0);
    }
}

@keyframes loadBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Stuller Infinite Scroll Spinner */
.stuller-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Hide header logo initially - enforce it */
.header .logo {
    opacity: 0;
    visibility: hidden;
    /* Added visibility to prevent interactions */
    transition: opacity 0.5s ease;
}

.header .logo.visible-force {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateY(-20px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.mobile-nav-link::before {
    content: attr(data-text);
    /* Requires JS to populate if desired, keeping simple for now */
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
}

.mobile-menu-footer {
    position: absolute;
    bottom: 4rem;
}

/* Enhanced Responsive Styles */
@media (max-width: 900px) {
    :root {
        --gap-xl: 5rem;
        /* Reduce large gaps on mobile */
    }

    .header-inner {
        padding: 0 1.5rem;
    }

    /* Adjust Preloader on Mobile */
    .preloader-logo .logo-main {
        font-size: 2.2rem;
    }

    .preloader-logo .logo-subtext {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title br {
        display: block;
        /* Keep line breaks */
    }

    .store-banner img {
        height: 300px;
        /* Reduce banner height */
    }

    .contact-form-container {
        padding: 0 1rem;
    }

    .mobile-nav-link {
        font-size: 2rem;
    }

    .hero-bg img {
        object-position: bottom;
        transform-origin: bottom;
        transform: scale(1.3);
        /* Zoom in more on mobile */
    }

    .scroll-indicator {
        bottom: 1.5rem;
        /* Move lower on mobile */
    }

    .scroll-indicator {
        bottom: 1.5rem;
        /* Move lower on mobile */
    }
}

/* Love Notes (Testimonials) */
.love-notes {
    padding: var(--gap-xl) 0;
    background-color: #0a0a0a;
    /* Slightly lighter than main bg for subtle contrast */
    position: relative;
    z-index: 1;
}

.love-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.love-note {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.love-note:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
}

.love-note blockquote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 1.5rem 0;
    font-style: italic;
    font-weight: 400;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.love-note cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-style: normal;
    margin-bottom: 0.5rem;
}

.love-note .note-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

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

    .love-note blockquote {
        font-size: 1.2rem;
    }
}

/* Dynamic Animations */
.animated-item {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Adjustments for New Features */
@media (max-width: 768px) {

    /* Promo Grid falls back to 2 cols on tablets */
    .promo-grid-modal {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Product Detail Modal Stacked */
    .product-detail-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .product-detail-modal .modal-content {
        padding: 2rem;
        width: 90%;
    }

    .product-info-col h2 {
        font-size: 2rem;
    }

    /* General Mobile Modal Improvements */
    .modal-content {
        padding: 2rem;
        width: 90%;
        max-height: 85vh;
        /* Ensure space for browser bars */
        overflow-y: auto;
        /* Scrollable content */
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {

    /* Promo Grid on mobile: keep list/grid behavior, not carousel */
    .promo-grid-watches {
        gap: 1rem;
    }

    .promo-watch-card {
        flex: 1 1 150px;
        /* Allow smaller cards on mobile */
        min-width: 140px;
    }



    .promo-thumb {
        height: 180px;
        /* Increased back slightly for impact */
        margin-bottom: 1rem;
        width: 100%;
        /* Ensure image fits */
        padding: 0 1rem;
        /* Add padding inside image area so it doesn't touch arrows */
    }

    .promo-thumb img {
        object-fit: contain;
        /* Prevent cutting off */
    }

    .promo-item-info h4 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
        white-space: nowrap;
        /* Prevent wrap on title */
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .promo-item-info .price {
        font-size: 0.9rem;
    }

    .promo-header h2 {
        font-size: 1.35rem;
        /* Reduced */
        line-height: 1.1;
        margin: 0.25rem 0;
    }

    .promo-header .eyebrow {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }

    .promo-date {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    /* Fix Catalog Grid in Collection Modal */
    .catalog-grid,
    .collection-grid-large {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .catalog-item.span-2 {
        grid-column: auto;
    }

    .catalog-item.span-2 .item-media {
        aspect-ratio: 1;
    }

    /* Scroll Indicator left alignment mobile */
    .scroll-indicator {
        left: 1.5rem;
        bottom: 2rem;
    }

    /* Floating Widget Position */
    .promo-widget {
        bottom: 20px;
        right: 20px;
    }

    .widget-btn {
        width: 50px;
        height: 50px;
    }

    .widget-icon-img {
        width: 30px;
        height: 30px;
    }

    .founder-image figure {
        height: 500px;
    }

    /* Tighter Modal Padding for Small Screens */
    .modal-content {
        padding: 1rem;
        /* Reduced generic modal padding */
    }

    .promo-details-modal {
        margin-bottom: 1rem;
        /* Tighter */
    }

    .promo-details-modal p {
        font-size: 0.85rem;
        /* Compact info text */
        line-height: 1.4;
        margin-bottom: 0.25rem;
    }

    /* Promo Modal Sticky Footer Layout */
    .promo-modal-content {
        display: flex;
        flex-direction: column;
        padding: 0 !important;
        overflow: hidden !important;
        max-height: 80vh;
        /* Slightly smaller to ensure fit */
        height: auto;
    }

    .promo-scroll-container {
        flex: 1;
        overflow-y: auto;
        padding: 3.5rem 1rem 0 1rem;
        /* Reduced side padding, top slightly reduced */
        -webkit-overflow-scrolling: touch;
    }

    /* Footer */
    .promo-fixed-footer {
        flex-shrink: 0;
        padding: 0.75rem 1rem;
        background: #121212;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 10;
        width: 100%;
    }

    .promo-fixed-footer .modal-cta {
        margin-top: 0;
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        /* Make button full width for easier tapping */
        border-radius: 8px;
        /* Softer pill */
    }
}

/* Custom Necklace Banner in Collection Modal - Premium Split Layout */
/* Custom Necklace Banner - Matching Founder/Philosophy Section Layout */
/* Custom Necklace Banner - Centered & Refined Layout */
.custom-necklace-banner {
    display: flex;
    /* Flex is easier for centering than grid here */
    align-items: center;
    justify-content: center;
    /* Center everything horizontally */
    gap: 4rem;
    /* Gap between image and text */
    width: 100%;
    max-width: 1200px;
    /* Constrain max width for large screens */
    margin: 0 auto 4rem auto;
    /* Center the container itself */
    padding: 2rem 4rem;
    /* Horizontal padding */
    background: transparent;
    border: none;
    box-shadow: none;
    height: auto;
    min-height: auto;
}

/* Ensure no child height forcing */
.custom-necklace-banner>* {
    height: auto;
}

/* Image Side (Left) */
.fade-carousel {
    position: relative;
    width: 45%;
    /* Increased size */
    max-width: 550px;
    /* Allow growing larger */
    min-width: 320px;
    aspect-ratio: 1/1;
    /* Square */
    overflow: hidden;
    border-radius: 12px;
    order: 1;
    flex-shrink: 0;
}



.fade-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1);
}

.fade-img.active {
    opacity: 1;
}

.fade-img.zoom {
    transform: scale(1.1);
    transition: transform 16s linear, opacity 2s ease-in-out;
}

/* Text Side (Right) */
.banner-overlay {
    position: relative;
    width: 50%;
    /* Remaining space roughly */
    height: auto;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Force left align */
    order: 2;
    border: none;
}

/* Typography Refinements */
.banner-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 0.8rem;
    /* Reverted to sweet spot */
    display: block;
    text-align: left;
    /* Ensure left align */
    line-height: normal;
    /* Reset line height for better font rendering */
}

.banner-content {
    width: 100%;
    max-width: 100%;
    text-align: left;
    /* Force alignment on container */
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    /* Increased size */
    font-weight: 400;
    color: #fff;
    margin-top: 0;
    /* Remove default browser margin */
    padding-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: none;
    text-align: left;
    /* Force alignment on text */
}

.banner-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    /* Tightened from 1.5 */
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    font-weight: 300;
}

/* Refined Input Form */
.custom-name-section {
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    width: 100%;
    max-width: 400px;
    /* Don't stretch input infinitely */
}

.custom-name-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
    /* Clearer padding */
    font-size: 1.1rem;
    color: #fff;
    font-family: var(--font-heading);
    font-style: italic;
    transition: border-color 0.3s ease;
}

.custom-name-input:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
}

.custom-name-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.custom-name-btn {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    /* Reduced from 1.5rem */
}

.custom-name-btn:hover {
    background: var(--accent-gold);
    color: #000;
}

.small-specs {
    margin-top: 1.5rem;
    /* Reduced from 3rem */
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .custom-necklace-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fade-carousel {
        aspect-ratio: 1/1;
        /* Square on mobile */
        order: 1;
    }

    .banner-overlay {
        order: 2;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .banner-content h3 {
        font-size: 2.25rem;
    }
}

/* Stuller Collection Modal */
.stuller-modal {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    z-index: 4000;
}

.stuller-modal-content {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.stuller-modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f0f0f;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stuller-modal-header h2 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin: 0;
}

.stuller-search {
    max-width: 600px;
    margin: 0;
    width: 100%;
}

.stuller-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

#stuller-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

/* Update Modal Close for Stuller */
.stuller-modal-content .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 20;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Stuller Catalog Pricing */
.catalog-item .item-info .price {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Column Grid */
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-item {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Span Classes */
.bento-item.span-2 {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
    /* Wide Aspect Ratio */
}

/* Bento Carousel Overrides */
.bento-carousel {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    position: absolute !important;
    top: 0;
    left: 0;
    border-radius: 0 !important;
}

.bento-carousel .fade-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    /* Ensure fill */
}

/* Overlay Styling */
.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.7) 40%, rgba(5, 5, 5, 0) 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 60%;
    pointer-events: none;
}

.bento-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

/* Collection Page Header */
.collection-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 2rem;
    width: 100%;
}

.collection-page-header .header-center {
    text-align: left;
}

.collection-page-header .eyebrow {
    color: var(--accent-gold);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.collection-page-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin: 0;
    color: #fff;
    line-height: 1.1;
}

.collection-page-header .search-container {
    margin: 0;
    width: 300px;
    position: relative;
    max-width: 100%;
}

.collection-page-header input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
}

.collection-page-header input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.collection-page-header i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 900px) {

    /* Layout Primitives */
    .narrative-grid,
    .founder-grid,
    .craft-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-item.span-2 {
        grid-column: span 2;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Sections */
    .bespoke-highlight {
        height: 60vh;
    }

    .store-banner img {
        height: 400px;
    }

    /* Modals */
    .modal-content {
        width: 95%;
        padding: 2rem;
    }

    .custom-necklace-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .banner-overlay {
        width: 100%;
        align-items: center;
    }

    .banner-content h3,
    .banner-content,
    .banner-eyebrow,
    .custom-name-section {
        text-align: center;
    }

    .banner-content h3 {
        font-size: 2.5rem;
    }

    .fade-carousel {
        width: 80%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {

    /* Global Typography */
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    /* Collection Page Header Mobile */
    .collection-page-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .collection-page-header .header-center {
        text-align: center;
        width: 100%;
    }

    .collection-page-header .search-container {
        width: 100%;
        max-width: 400px;
    }

    /* Header/Nav */
    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-inner {
        justify-content: space-between;
    }

    /* Hero */
    .hero {
        align-items: center;
        text-align: center;
    }

    .hero-bg img {
        object-position: 60% center;
        /* Center subject more */
    }

    /* Catalog */
    .catalog-grid,
    .collection-grid-large {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .catalog-item.span-2 {
        grid-column: span 1;
    }

    .catalog-item.span-2 .item-media {
        aspect-ratio: 1/1;
    }

    /* Promo Modal List */
    .promo-list-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .promo-list-media {
        width: 100%;
        height: 250px;
        margin: 0 auto;
    }

    .item-price {
        justify-content: center;
    }

    /* Promo Watches */
    .promo-grid-watches {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-brand-section {
        flex-direction: column;
        gap: 1rem;
    }

    /* Product Detail Modal */
    .product-detail-body {
        grid-template-columns: 1fr;
    }

    /* Stuller Grid in Modal */
    #stuller-modal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    /* Typography */
    h1,
    .hero-title {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Hero */
    .hero-content {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    /* Promo Modal */
    .promo-fixed-header {
        padding: 1.5rem 1rem 1rem;
    }

    .promo-date {
        flex-direction: column;
        gap: 0.5rem;
    }

    .promo-divider {
        display: none;
    }

    .promo-grid-watches {
        grid-template-columns: 1fr;
    }

    #stuller-modal-grid,
    .collection-grid-large {
        grid-template-columns: 1fr;
    }

    /* Custom Necklace */
    .fade-carousel {
        width: 100%;
    }

    .banner-content h3 {
        font-size: 2rem;
    }

    /* General Spacing */
    :root {
        --gap-xl: 4rem;
        --gap-lg: 2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .catalog-item .item-info h3 {
        font-size: 1.1rem;
    }

    /* Buttons */
    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Modal Header */
    .promo-eyebrow {
        font-size: 0.75rem;
    }

    /* Banner in Collection Modal */
    .custom-necklace-banner {
        padding: 0;
    }

    main {
        padding-top: 80px !important;
    }
}

.bento-overlay .eyebrow {
    margin-bottom: 0.25rem;
    font-size: 0.7rem;
    opacity: 0.9;
}

.bento-overlay .btn-text {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: var(--accent-gold);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.bento-item:hover .bento-overlay .btn-text {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.span-2 {
        grid-column: span 1;
        aspect-ratio: 1.1 / 1;
        /* Slightly taller than square on mobile for info */
    }

    .bento-overlay .btn-text {
        opacity: 1;
        /* Always show on mobile */
        transform: translateY(0);
    }
}

/* Banner Description Styling */
.banner-description {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.banner-description p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 600px;
}

.banner-description p:last-child {
    font-style: italic;
    color: var(--accent-gold);
}


@media (max-width: 900px) {
    .banner-description {
        text-align: center;
    }

    .banner-description p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Whispered Wings Specific Fixes */
.whispered-wings-carousel {
    aspect-ratio: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    align-self: flex-start;
    /* Align to top with text */
    max-width: 500px;
}

.whispered-wings-carousel .fade-img {
    position: relative !important;
    /* Let image dictate height */
    height: auto !important;
    max-height: 550px;
    width: 100%;
    object-fit: contain !important;
    /* Ensure full image is seen */
    background: transparent !important;
    border-radius: 12px;
}

/* =========================================
   MOBILE FIRST OPTIMIZATIONS (Added)
   ========================================= */

@media (max-width: 600px) {
    :root {
        --gap-xl: 4rem;
        --gap-lg: 3rem;
        --gap-md: 2rem;
    }

    body {
        font-size: 15px;
        /* Slightly smaller base font */
    }

    /* Container Spacing */
    .container,
    .container-fluid {
        padding: 0 1.25rem;
    }

    /* Typography Adjustments */
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }

    /* Hero Section - Full Height Mobile */
    .hero {
        height: 100dvh;
        /* Use dynamic viewport height */
        padding-top: 0;
        /* Center content vertically */
        align-items: center;
    }

    .hero-content {
        margin-top: 0;
        width: 100%;
        padding: 0 1rem;
    }

    /* Full Width Buttons for easier touch */
    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 0.95rem;
    }

    .hero .btn {
        width: auto;
        /* Keep hero button closer to text width or full? User pref. Let's keep auto for elegance unless requested */
        min-width: 200px;
    }

    /* Stack all Grids */
    .narrative-grid,
    .founder-grid,
    .craft-grid,
    .contact-wrapper,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    .store-banner img {
        height: 300px;
    }

    /* Catalog Grid - Mobile Impact */
    .catalog-grid {
        grid-template-columns: 1fr;
        /* Full width cards for "App" feel */
        gap: 2rem;
    }

    .catalog-item.span-2 {
        grid-column: auto;
    }

    .catalog-item.span-2 .item-media {
        aspect-ratio: 1;
        /* Reset aspect ratio for consistency */
    }

    /* Feature List Items */
    .feature-list li {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        align-items: center;
    }

    .feature-list i {
        margin-bottom: 0.5rem;
    }

    /* Inputs - Prevent Zoom on iOS */
    input[type="text"],
    input[type="email"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
        /* Forces iOS to not zoom */
    }

    /* Modals - Full Screen and SAFE AREA */
    .modal-content {
        width: 100%;
        height: 100%;
        /* Full screen */
        max-height: 100dvh;
        border: none;
        border-radius: 0;
        padding: 4rem 1.5rem 2rem;
        /* Top padding for close button */
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        background: rgba(0, 0, 0, 0.2);
        /* Make visible on images */
        width: 44px;
        height: 44px;
    }

    /* Promo Modal Specifics */
    .promo-scroll-container {
        padding: 1rem;
    }

    .promo-list-item {
        grid-template-columns: 80px 1fr;
        /* Smaller image on list */
        gap: 1rem;
        padding: 1rem;
    }

    .promo-list-media {
        width: 80px;
        height: 80px;
    }

    .item-desc {
        -webkit-line-clamp: 2;
        /* Truncate more on mobile */
    }

    /* Footer links spacing */
    .footer-col a {
        padding: 0.5rem 0;
        /* Easier to tap */
        display: block;
    }
}

@media (max-width: 600px) {

    /* Collection Grid Overrides */
    .collection-grid-large {
        grid-template-columns: 1fr;
        /* Force 1 column stream */
        gap: 2rem;
        padding: 0;
    }

    .collection-content-wrapper {
        padding: 0 1rem 4rem 1rem;
        /* Reset massive padding from desktop */
    }

    /* Ensure category titles aren't huge */
    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Stuller Modal Search */
    .stuller-search {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    body {
        /* Fix mobile scroll jitter */
        background-attachment: scroll;
    }

    /* Ensure modal bodies scroll smoothly */
    .modal-body,
    .promo-scroll-container,
    .scrollable-body {
        -webkit-overflow-scrolling: touch;
    }
}

/* HERO MOBILE FIXES - CRITICAL OVERRIDES */
@media (max-width: 800px) {

    /* Reset Hero Layout completely for mobile */
    .hero {
        height: 100vh;
        /* Fallback */
        height: 100dvh;
        /* Dynamic height */
        min-height: 600px;
        /* Ensure content fits on small screens */
        padding-top: 0 !important;
        margin-top: 0 !important;
        align-items: center;
        /* Vertically center content */
        justify-content: center;
        position: relative;
    }

    .hero-bg {
        position: absolute;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0;
    }

    .hero-bg img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center bottom !important;
        /* Anchor deeper */
        transform: none !important;
        /* Disable any scale/parallax transforms */
        filter: brightness(0.65);
        /* Ensure text readablity */
    }

    .hero-content {
        margin-top: 0 !important;
        padding: 0 1.5rem;
        z-index: 2;
        /* Bring text above bg */
        width: 100%;
        max-width: 100%;
        text-align: center;
        transform: translateY(-20px);
        /* Visual correction to feel centered */
    }

    /* Fix Fonts for Hero Mobile */
    .hero-title {
        font-size: 3rem;
        /* Large but readable */
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Remove Scroll Indicator on short screens to avoid overlap */
    @media (max-height: 700px) {
        .scroll-indicator {
            display: none;
        }
    }
}

/* HERO IMAGE GAP FIX - 100% COVERAGE */
@media (max-width: 800px) {

    html,
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Force hero to top */
    .hero {
        top: 0;
        margin-top: 0 !important;
        padding-top: 0 !important;
        min-height: 100dvh;
        height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Force Image Coverage */
    .hero-bg img {
        height: 100vh !important;
        /* Fallback */
        height: 100dvh !important;
        width: 100vw !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: scale(1.05) !important;
        /* Slight zoom to prevent white edges */
    }

    /* Centered Text Fix */
    .hero-content {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        /* Reset any shift */
        display: flex;
        /* Flex to center vertically if needed inside */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
        top: 0;
        /* Align */
        margin-top: -60px !important;
        /* Visual optical alignment to account for nav bar if needed, or remove */
    }
}

/* CAROUSEL FIXES */
.insta-track a,
.insta-track img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

/* MOBILE NAV SIZING OVERRIDES */
.mobile-nav {
    gap: 1.25rem !important;
    /* Reduced from 2rem */
}

.mobile-nav-link {
    font-size: 1.75rem !important;
    /* Reduced from 2.5rem */
}

@media (max-width: 480px) {
    .mobile-nav-link {
        font-size: 1.5rem !important;
        /* Reduced from 2rem */
    }
}

/* AUTOMATIC FLUID SIZING FOR MOBILE MENU & NAV */
@media (max-width: 768px) {

    /* 1. Hamburger Icon Size */
    .menu-toggle {
        font-size: clamp(1.5rem, 6vw, 2rem);
        /* Scales with screen width */
    }

    /* 2. Mobile Menu Links - Fluid Text */
    .mobile-nav-link {
        /* Minimum 1.4rem, Preferred 5vw, Max 2rem */
        font-size: clamp(1.4rem, 5vw, 2rem) !important;
        padding: 0.25rem 0;
        /* Add tap area without adding visual height */
    }

    /* 3. Spacing between links - Fluid Gap */
    .mobile-nav {
        /* Shrink gap significantly on landscape/small phones */
        gap: clamp(1rem, 3.5vh, 2rem) !important;
    }

    /* 4. Close Button - Fluid Sizing */
    .mobile-menu-close {
        width: clamp(40px, 10vw, 48px) !important;
        height: clamp(40px, 10vw, 48px) !important;
        font-size: clamp(1.2rem, 4vw, 1.5rem) !important;
        top: clamp(1.5rem, 3vh, 2rem) !important;
        right: clamp(1.5rem, 5vw, 2rem) !important;
    }

    /* 5. Footer Socials - Adjust positioning */
    .mobile-menu-footer {
        bottom: clamp(1.5rem, 5vh, 4rem) !important;
    }

    /* 6. Header Logo Fluidity */
    .logo-main {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .logo-subtext {
        font-size: clamp(0.5rem, 2vw, 0.65rem);
    }
}

/* Extra Tweaks for very small heights (Landscape Mode) */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem !important;
        max-width: 80%;
    }

    .mobile-nav-link {
        font-size: 1.2rem !important;
    }

    .mobile-menu-overlay {
        justify-content: center;
        padding-top: 2rem;
    }
}

/* Showcase Banner */
.showcase-banner {
    width: 100%;
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
    background-color: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    padding: 4rem 2rem;
    text-align: center;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1617038224558-28ad3fb558a7?q=80&w=2600&auto=format&fit=crop');
    /* Placeholder image, replace with a nice jewelery texture/image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.showcase-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.showcase-banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.btn-showcase-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.btn-showcase-link:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

@media (max-width: 600px) {
    .showcase-banner {
        padding: 3rem 1.5rem;
        margin-bottom: 4rem;
    }

    .showcase-banner h2 {
        font-size: 1.8rem;
    }
}

/* Make Banner Background Darker/Richer */
.showcase-banner {
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6rem 2rem;
    /* Taller */
}

/* Premium Animation for Showcase Banner */
.showcase-banner {
    /* Core properties handled above, adding animation props */
    position: relative;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease, border-color 0.6s ease;
    overflow: hidden;
    /* Ensure shimmer stays inside */
}

/* Light Sheen Effect */
.showcase-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(212, 175, 55, 0.05) 40%,
            rgba(212, 175, 55, 0.15) 50%,
            rgba(212, 175, 55, 0.05) 60%,
            transparent 100%);
    transform: skewX(-25deg);
    z-index: 1;
    pointer-events: none;
    /* Auto-play the sheen occasionally */
    animation: bannerSheen 6s infinite ease-in-out;
}

@keyframes bannerSheen {

    0%,
    80% {
        left: -100%;
        opacity: 0;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

/* Hover Interaction */
.showcase-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.6);
}

/* Pulse on the button to draw attention */
@keyframes subtlePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.showcase-banner .btn-showcase-link {
    animation: subtlePulse 3s infinite;
    z-index: 2;
    /* Ensure clickable above sheen */
    position: relative;
}