/* Base Variables */
:root {
    --bg-color: #fefefe;          /* matches collection photo backgrounds */
    --accent-color: #280309;      /* deep maroon / burgundy */
    --text-color: #280309;
    --gold: #a8895c;              /* champagne gold, used sparingly */
    --light-grey: #f4f4f2;
    --hairline: rgba(40, 3, 9, 0.12);
    --border-width: 2px;
    --serif: 'Montserrat', sans-serif;
    --sans: 'Montserrat', sans-serif;
    --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

::selection {
    background: var(--accent-color);
    color: var(--bg-color);
}

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

html.lenis {
  height: auto;
}

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

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

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Typography styles */
.logo-text, h1, h2, h3, h4, .quote, .btn {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h1.title {
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: 0.12em;
    text-wrap: balance;
}

h2.section-title {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.18;
    margin-bottom: 0.5rem;
    text-wrap: balance;
}

p.subtitle, p.section-desc {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.55;
}

/* Editorial eyebrow label, used above headings */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.4rem;
}

.eyebrow::before {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}

/* Accent word inside headings: gold instead of italic serif */
em.lux-italic, .lux-italic {
    font-style: normal;
    color: var(--gold);
}

/* Framing Borders */
.frame-border {
    position: fixed;
    background-color: var(--accent-color);
    z-index: 9999;
    pointer-events: none;
}
.frame-top { top: 0; left: 0; width: 100%; height: var(--border-width); }
.frame-bottom { bottom: 0; left: 0; width: 100%; height: var(--border-width); }
.frame-left { top: 0; left: 0; width: var(--border-width); height: 100%; }
.frame-right { top: 0; right: 0; width: var(--border-width); height: 100%; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: var(--bg-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Dropdown menu for Collection */
.nav-dropdown{position:relative; display:flex; align-items:center; mix-blend-mode:normal; isolation:isolate}
.dropdown-toggle{
    background:transparent;
    border:0;
    color:inherit;
    font:inherit;
    cursor:pointer;
    text-transform:uppercase;
    letter-spacing:0.1em;
}
.dropdown-toggle:focus{outline:2px solid rgba(255,255,255,0.12);outline-offset:4px}
.dropdown-menu{
    position:absolute;
    left:-3px; /* nudge left to align with Collection box */
    top: calc(100% + 5px); /* slight vertical nudge for better spacing */
    min-width:220px;
    background: rgba(40,3,9,0.5); /* semitransparent maroon at 50% */
    mix-blend-mode: normal !important;
    isolation: isolate !important;
    color:var(--bg-color);
    padding:0.5rem 0.25rem;
    display:none;
    border-radius:4px;
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
    z-index:120;
    pointer-events:auto;
    transition:opacity 160ms ease,transform 160ms ease;
}
.dropdown-menu::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -15px; /* extend hover area 15px above menu */
    height: 15px;
    background: transparent;
    pointer-events: auto;
}
.dropdown-menu a{
    display:block;
    padding:0.6rem 1rem;
    color:inherit;
    text-decoration:none;
    font-size:0.9rem;
    letter-spacing:0.06em;
    text-transform:uppercase;
}
.dropdown-menu a:hover{opacity:0.8}
/* Show on hover for desktop */
@media (hover:hover){
    .nav-dropdown:hover .dropdown-menu{display:block}
}
/* Keep open when using keyboard (focus) */
.nav-dropdown:focus-within .dropdown-menu{display:block}

/* Match Collection button typography to other nav links */
.dropdown-toggle{
    font-size:0.9rem;
    letter-spacing:0.1em;
    text-transform:uppercase;
    background:transparent;
    border:0;
    padding:0;
    cursor:pointer;
    display:inline-block;
    line-height:1;
}

/* Center the logo exactly */
.navbar .logo{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    z-index:115;
}
/* Ensure dropdown looks fine on small screens by disabling absolute menu */
@media (max-width:820px){
    .dropdown-menu{position:static;display:block;background: rgba(40,3,9,0.5);color:inherit;box-shadow:none;padding:0.5rem;margin-left:0;border-radius:6px}
    .dropdown-toggle{display:none}
    .nav-dropdown{display:block}
    .nav-dropdown .dropdown-menu a{padding:0.6rem 1rem;margin-right:0}
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-decoration: none;
    color: inherit;
}

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

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

/* Collection page: solid hero background to avoid missing-image icon */
.collection-page .hero-image-wrapper.hero-bg-solid {
    background-color: var(--accent-color);
    background-size: cover;
    background-position: center center;
}
.collection-page .hero-image-wrapper.hero-bg-solid img {
    display: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to top, rgba(20, 2, 5, 0.55) 0%, rgba(20, 2, 5, 0.08) 38%),
        linear-gradient(to bottom, rgba(20, 2, 5, 0.42) 0%, rgba(20, 2, 5, 0) 30%),
        rgba(40, 3, 9, 0.26);
    z-index: 1;
    pointer-events: none;
}

/* Hero slider: slides crossfade with a slow Ken Burns drift on the active frame */
.hero-slider { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; background-color: var(--accent-color); }
.hero-slider .slides { position: relative; width: 100%; height: 100%; }
.hero-slider .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: 0; transition: opacity 1.4s var(--ease-lux); will-change: opacity, transform; display: block; z-index: 0; transform: scale(1.06); }
.hero-slider .slides img.active { opacity: 1; z-index: 1; animation: kenburns 7s var(--ease-lux) forwards; }

@keyframes kenburns {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider .slides img.active { animation: none; transform: none; }
}

.hero-indicators { position: absolute; left: 50%; transform: translateX(-50%); bottom: 34px; display: flex; gap: 12px; z-index: 4; }
.hero-indicator {
    width: 34px;
    height: 18px;
    border: none;
    background: transparent;
    padding: 8px 0;
    cursor: pointer;
    position: relative;
}
.hero-indicator::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.4s ease, height 0.4s ease;
}
.hero-indicator.active::after {
    background: rgba(255, 255, 255, 0.95);
    height: 2px;
}

@media (max-width: 720px) {
    .hero-indicators { bottom: 22px; gap: 8px; }
    .hero-indicator { width: 22px; }
}

.hero-content {
    color: var(--bg-color);
    z-index: 3;
    padding: 2rem;
}

/* Coming Soon page overrides: ensure heading is visible and prominent */
.coming-hero .hero-content {
    color: var(--accent-color);
    position: relative;
    z-index: 2; /* above hero overlays but below navbar */
}
.coming-hero h1.title {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
    line-height: 1;
    color: inherit;
}
@media (max-width: 1024px) {
    .coming-hero h1.title { font-size: 3.6rem; }
}
@media (max-width: 600px) {
    .coming-hero h1.title { font-size: 2.2rem; }
}

.btn {
    position: relative;
    display: inline-block;
    padding: 1.05rem 3.2rem;
    background-color: var(--bg-color);
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    border: 1px solid var(--bg-color);
    overflow: hidden;
    z-index: 0;
    transition: color 0.45s var(--ease-lux), border-color 0.45s var(--ease-lux), transform 0.2s var(--ease-lux);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.55s var(--ease-lux);
    z-index: -1;
}

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

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:active {
    transform: scale(0.98);
}

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

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

/* Hero CTA row: primary solid button + secondary ghost button */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Ghost button for use on the dark hero (transparent with light outline) */
.btn.btn-ghost {
    background-color: transparent;
    color: var(--bg-color);
    border: 1px solid var(--bg-color);
}

.btn.btn-ghost::before {
    background: var(--bg-color);
}

.btn.btn-ghost:hover {
    color: var(--accent-color);
}

/* Inquiry CTA matching product detail's inquiry button but centered */
.inquiry-cta {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 1.5rem auto;
    text-align: center;
    text-decoration: none;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: 1px solid var(--accent-color);
    padding: 1.2rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.inquiry-cta:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Typography utility to match inquiry CTA font styling */
.inquiry-typography {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    font-weight: 600;
}

/* Info Cards — Editorial Luxury Strip */
.info-cards {
    padding: 5rem 0 6rem;
    background-color: transparent;
    color: var(--text-color);
    border-top: 1px solid rgba(40,3,9,0.12);
    border-bottom: 1px solid rgba(40,3,9,0.12);
}

.cards-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 3rem;
}

.info-card {
    padding: 0 2.4rem 0 2rem;
    border-right: 1px solid rgba(40,3,9,0.12);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms cubic-bezier(.22,.9,.18,1), transform 700ms cubic-bezier(.22,.9,.18,1);
}

.info-card:first-child {
    padding-left: 0;
}

.info-card:last-child {
    border-right: none;
    padding-right: 0;
}

.card-num {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.9;
    margin-bottom: 1.4rem;
}

.info-card h4 {
    font-size: 1.05rem;
    letter-spacing: 0.13em;
    font-weight: 600;
    line-height: 1.3;
    color: var(--accent-color);
    margin-bottom: 0;
}

.info-card h4::after {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1px;
    background-color: var(--accent-color);
    opacity: 0.3;
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: width 450ms cubic-bezier(.22,.9,.18,1), opacity 400ms ease;
}

.info-card p {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    line-height: 1.75;
    opacity: 0.5;
    font-weight: 400;
    text-transform: none;
    transition: opacity 300ms ease;
}

@keyframes cardIn {
    from { transform: translateY(14px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.info-card:nth-child(1) { animation: cardIn 700ms cubic-bezier(.22,.9,.18,1) 0.05s forwards; }
.info-card:nth-child(2) { animation: cardIn 700ms cubic-bezier(.22,.9,.18,1) 0.15s forwards; }
.info-card:nth-child(3) { animation: cardIn 700ms cubic-bezier(.22,.9,.18,1) 0.25s forwards; }
.info-card:nth-child(4) { animation: cardIn 700ms cubic-bezier(.22,.9,.18,1) 0.35s forwards; }

.info-card:hover h4::after {
    width: 3rem;
    opacity: 0.6;
}

.info-card:hover p {
    opacity: 0.75;
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .info-card, .info-card h4, .info-card h4::after, .info-card p {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 1024px) {
    .cards-inner {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
    .info-card {
        padding: 2.5rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(40,3,9,0.12);
    }
    .info-card:nth-child(odd) {
        border-right: 1px solid rgba(40,3,9,0.12);
    }
    .info-card:nth-last-child(-n+2):nth-child(odd),
    .info-card:last-child {
        border-bottom: none;
    }
    .info-card:first-child { padding-left: 2rem; }
}

@media (max-width: 600px) {
    .info-cards { padding: 3.5rem 0 4rem; }
    .cards-inner { grid-template-columns: 1fr; padding: 0 1.5rem; }
    .info-card,
    .info-card:nth-child(odd) {
        padding: 2rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(40,3,9,0.12);
    }
    .info-card:last-child { border-bottom: none; }
    .info-card:first-child { padding-left: 0; }
}

/* Products Section */
.products {
    padding: 8rem 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Collection grid (#all-products): 4 across desktop, 3 tablet, 2 mobile.
   ID specificity intentionally overrides the shared .product-grid breakpoints below. */
#all-products.product-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1600px;
}
@media (max-width: 1200px) {
    #all-products.product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
    #all-products.product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 480px) {
    #all-products.product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* Pagination */
.collection-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin: 3.5rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(40, 3, 9, 0.1);
}
.pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-color, #280309);
    text-decoration: none;
    border: 1px solid rgba(40, 3, 9, 0.16);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    user-select: none;
}
.pager-btn.pager-nav {
    font-size: 1.05rem;
    line-height: 1;
}
.pager-btn:hover:not(.is-active):not(.is-disabled) {
    border-color: rgba(40, 3, 9, 0.55);
    background: rgba(40, 3, 9, 0.04);
}
.pager-btn.is-active {
    background: var(--accent-color, #280309);
    border-color: var(--accent-color, #280309);
    color: #fff;
    cursor: default;
}
.pager-btn.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.pager-gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 40px;
    color: rgba(40, 3, 9, 0.5);
    font-size: 0.85rem;
}
@media (max-width: 480px) {
    .collection-pager { gap: 0.3rem; margin-top: 2.5rem; padding-top: 1.8rem; }
    .pager-btn { min-width: 36px; height: 36px; font-size: 0.75rem; }
    .pager-gap { min-width: 20px; height: 36px; }
}
.product-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-image-wrap {
    overflow: hidden;
    position: relative;
    background-color: transparent;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: transform 0.5s ease, box-shadow 0.25s ease;
    box-shadow: none;
}

.product-card--sold .product-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.26);
    z-index: 1;
    pointer-events: none;
}

.product-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(40, 3, 9, 0.92);
    color: var(--bg-color);
    padding: 0.42rem 0.6rem;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    pointer-events: none;
}

/* Small subtle reference badge positioned bottom-left of product images */
.product-image-wrap .image-badge {
    position: absolute;
    /* reduced 20% from original 8px */
    left: 6.4px;
    bottom: 6.4px;
    background: rgba(40, 3, 9, 0.3); /* maroon at 30% opacity */
    color: rgba(255,255,255,0.95);
    /* reduced 20% from original 4px 8px */
    padding: 3.2px 6.4px;
    /* reduced 20% from 0.68rem */
    font-size: 0.544rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    border-radius: 3px;
    z-index: 4;
    pointer-events: none;
    backdrop-filter: blur(2px);
}

@media (max-width: 720px) {
    /* reduced 20% from mobile values */
    .product-image-wrap .image-badge { left: 4.8px; bottom: 4.8px; padding: 2.4px 4.8px; font-size: 0.512rem; }
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card--sold .product-img {
    filter: grayscale(0.52) brightness(0.92);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-card--sold:hover .product-img {
    transform: scale(1.02);
}

.product-info {
    padding-top: 1.5rem;
    text-align: center;
}

.product-card--sold .product-info {
    opacity: 0.58;
}

.product-info .brand {
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 0.45rem;
}

.product-info h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-info p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.product-price {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.center-btn {
    text-align: center;
    margin-top: 4rem;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 8rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.philosophy-container {
    max-width: 900px;
}

.quote {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
}

/* Instagram Section */
.instagram-section {
    /* Height set by JS based on carousel scroll amount */
    overflow: hidden;
}

.ig-sticky-wrap {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.ig-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(40, 3, 9, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 1rem;
}

.ig-link-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
}

.ig-carousel-container {
    padding-top: 2rem;
    overflow: hidden;
}

.ig-carousel {
    display: flex;
    gap: 2rem;
    padding: 0 4rem;
    align-items: center;
    will-change: transform;
}

 .ig-item {
     /* fixed width so every carousel tile is identical */
     flex: 0 0 300px;
     height: 400px; /* restored original height */
     overflow: hidden;
 }

.ig-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-item:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 6rem 4rem 2rem 4rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Desktop: keep footer single-row; allow addresses to wrap into two lines while keeping columns aligned */
@media (min-width: 769px) {
    .footer-content { flex-wrap: nowrap; align-items: flex-start; }
    .footer-col { flex: 0 0 auto; }
    .footer-col:first-child { flex: 0 0 28%; }
    .footer-col.footer-addresses { flex: 0 0 44%; padding: 0 2.5rem; }
    .footer-col:last-child { flex: 0 0 24%; }
    .footer .addr-link { display: inline-flex; gap: 0.75rem; white-space: normal; max-width: 420px; }
}

/* Address icon, link layout, and extra spacing for the addresses column */
.footer-col.footer-addresses {
    padding: 0 2rem; /* add horizontal breathing room between columns */
}
.footer .addr-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}
.footer .addr-link:hover { text-decoration: underline; }
.addr-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
    opacity: 0.95;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col a {
    color: inherit;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(40, 3, 9, 0.1);
    font-size: 0.8rem;
}

.footer-bottom p {
    opacity: 0.6;
    margin: 0;
}

.swiftloop-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bg-color);
    text-decoration: none;
    opacity: 0.75;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.swiftloop-credit:hover { opacity: 1; }

.swiftloop-credit img {
    height: 15px;
    width: auto;
    display: block;
    /* Nudge down to sit the wordmark's baseline on the text baseline
       (the source PNG has extra transparent space below the glyphs). */
    transform: translateY(8%);
}

/* Sticky WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 2.25rem;
    right: 2.25rem;
    background: linear-gradient(180deg, var(--accent-color), #3b0710);
    color: var(--bg-color);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2200;
    box-shadow: 0 10px 30px rgba(40,3,9,0.22), 0 22px 60px rgba(40,3,9,0.12);
    transition: transform 0.35s cubic-bezier(.2,.9,.2,1), box-shadow 0.35s ease;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    will-change: transform, box-shadow;
    animation: whatsapp-float 3.6s ease-in-out infinite;
    overflow: visible;
}

.whatsapp-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 35%);
    box-shadow: 0 0 0 6px rgba(40,3,9,0.06);
    z-index: -1;
    animation: whatsapp-pulse 2.6s infinite ease-out;
    pointer-events: none;
}

.whatsapp-btn svg {
    width: 34px;
    height: 34px;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 6px 10px rgba(40,3,9,0.22));
}

.whatsapp-btn:hover, .whatsapp-btn:focus {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 28px 80px rgba(40,3,9,0.32), 0 10px 30px rgba(40,3,9,0.14);
}

.whatsapp-btn:hover svg { transform: rotate(-8deg) scale(1.02); }

.whatsapp-btn:focus-visible {
    outline: 3px solid rgba(255,255,255,0.12);
    outline-offset: 6px;
}

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

@keyframes whatsapp-pulse {
    0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.7; }
    60% { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
    100% { opacity: 0; }
}

/* ============================================================
   GLOBAL SEARCH
   ============================================================ */

/* Search icon button in navbar */
.nav-search-btn {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.nav-search-btn:hover,
.nav-search-btn:focus-visible { opacity: 1; outline: none; }
.nav-search-btn svg { display: block; }

/* Search overlay backdrop */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(40, 3, 9, 0.72);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 20px 20px;
    z-index: 9990;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.search-overlay.active { display: flex; }

/* Search panel */
.search-panel {
    width: 100%;
    max-width: 900px;
    background: var(--bg-color);
    padding: 0;
    box-shadow: 0 24px 80px rgba(40,3,9,0.28);
}

/* Input row */
.search-input-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(40,3,9,0.12);
    padding: 0 20px;
}
.search-input-row svg { flex-shrink: 0; opacity: 0.45; }
.search-input-row input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 18px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--text-color);
    outline: none;
}
.search-input-row input::placeholder { opacity: 0.45; text-transform: uppercase; }
.search-close-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 4px;
    color: var(--text-color);
    opacity: 0.5;
    font-size: 1.3rem;
    line-height: 1;
    transition: opacity 0.2s;
}
.search-close-btn:hover { opacity: 1; }

/* Results container */
.search-results-wrap {
    max-height: 60vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    /* prevent Lenis scroll bleed */
    -webkit-overflow-scrolling: touch;
}

/* Result grid */
#globalSearchResults {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 900px) { #globalSearchResults { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { #globalSearchResults { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Hint text */
.search-hint {
    grid-column: 1 / -1;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.4;
    text-align: center;
    padding: 28px 0;
}

/* Individual result card */
.search-result-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color);
    transition: opacity 0.2s ease;
}
.search-result-card:hover { opacity: 0.75; }

.search-result-card .src-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--light-grey);
    margin-bottom: 8px;
    position: relative;
}
.search-result-card .src-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.search-result-card--sold {
    opacity: 0.78;
}

.search-result-card--sold .src-img-wrap img {
    filter: grayscale(0.34);
}

.search-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(40, 3, 9, 0.9);
    color: var(--bg-color);
    padding: 0.34rem 0.48rem;
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    pointer-events: none;
}
.search-result-card .src-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-result-card .src-brand {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.5;
}
.search-result-card .src-model {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.search-result-card .src-price {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    opacity: 0.7;
    margin-top: 2px;
}

/* ---- Collection page inline search ---- */
.filter-search-wrap {
    padding: 0 0 1.2rem 0;
    border-bottom: 1px solid rgba(40,3,9,0.1);
    margin-bottom: 0.5rem;
}
.filter-search-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(40,3,9,0.18);
    padding: 0 10px;
    background: transparent;
}
.filter-search-input-row svg { flex-shrink: 0; opacity: 0.38; }
.filter-search-input-row input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 9px 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-color);
    outline: none;
    min-width: 0;
}
.filter-search-input-row input::placeholder { opacity: 0.38; }

@media (max-width: 768px) {
    .search-overlay { padding: 80px 14px 14px; }
    .search-input-row input { font-size: 1rem; }
}

/* Mobile Menu Overlay & Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1000;
}

.menu-toggle .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--bg-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle .line:first-child {
    top: 4px;
}

.menu-toggle .line:last-child {
    bottom: 4px;
}

.menu-open .menu-toggle .line:first-child {
    transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle .line:last-child {
    transform: translateY(-5px) rotate(-45deg);
}

.menu-open .navbar {
    mix-blend-mode: normal;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--accent-color);
    color: var(--bg-color);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-open .mobile-menu {
    transform: translateY(0);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 3rem;
}

.mobile-link {
    color: inherit;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(20px);
}

.menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
}

/* Mobile Collection dropdown (top of mobile menu) */
.mobile-dropdown{display:flex;flex-direction:column;align-items:center;gap:0.6rem}
.mobile-dropdown-toggle{
    background:transparent;
    border:0;
    color:inherit;
    font:inherit;
    cursor:pointer;
    font-size:2.5rem;
    font-weight:400;
    letter-spacing:0.15em;
    text-transform:uppercase;
    padding:0;
}
.mobile-dropdown-toggle:focus,
.mobile-dropdown-toggle:focus-visible {
    outline: none;
}
.mobile-dropdown-menu{display:none;flex-direction:column;gap:1rem;margin-top:0.5rem}
.mobile-sub-link{color:inherit;text-decoration:none;font-size:1.25rem;font-weight:400;letter-spacing:0.12em;text-transform:uppercase;opacity:0;transform:translateY(10px)}
.mobile-dropdown.open .mobile-dropdown-menu{display:flex}
.mobile-dropdown.open .mobile-sub-link{opacity:1;transform:translateY(0);transition:opacity 220ms ease,transform 220ms ease}

/* Responsive */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .quote {
        font-size: 1.5rem;
    }
    .navbar {
        padding: 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
    .nav-links {
        display: none;
    }
    .nav-links.right {
        display: flex;
        position: absolute;
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%);
        gap: 0;
        z-index: 116;
    }
    .nav-links.right a {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .products, .philosophy, .instagram-section {
        padding: 4rem 2rem;
    }
    .footer {
        padding: 4rem 2rem 2rem 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-col.footer-addresses { padding: 0; }

    .instagram-section {
        padding: 1.5rem 1rem 1rem;
    }

    .ig-sticky-wrap {
        justify-content: flex-start;
        height: 100svh;
        box-sizing: border-box;
    }

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

    .ig-carousel-container {
        padding-top: 0;
        /* No scroll-jacking on mobile: let the user swipe the strip directly. */
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none; /* Firefox */
    }

    .ig-carousel-container::-webkit-scrollbar {
        display: none; /* WebKit */
    }

    .ig-carousel {
        padding: 0 1rem;
    }

    .ig-item {
        scroll-snap-align: center;
    }
}

/* Inner Pages Styles */
.hero.small-hero {
    height: 36vh;
    min-height: 240px;
    background-color: var(--light-grey);
    padding-top: 100px;
}

/* Reduce the header block further on mobile (~60% of original height) */
@media (max-width: 768px) {
    .hero.small-hero {
        height: 24vh;
        min-height: 170px;
        padding-top: 72px;
    }
}

.hero.small-hero .hero-content {
    color: var(--accent-color);
}

.hero.small-hero .hero-image {
    object-position: center 30%;
}

.page-content {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.filter-btn:hover, .filter-btn.active {
    opacity: 1;
    border-bottom: 2px solid var(--accent-color);
}

.policy-block {
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.policy-block h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.policy-block p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--light-grey);
    border: 1px solid var(--bg-color);
    font-family: inherit;
    color: var(--text-color);
    font-size: 1rem;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
}

.contact-form .btn:hover {
    background-color: var(--bg-color);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* Contact page specific hero (burgundy background, white text like footer) */
.hero.small-hero.contact-hero {
    background-color: var(--accent-color);
}

.hero.small-hero.contact-hero .hero-content {
    color: var(--bg-color);
}

.hero.small-hero.contact-hero .hero-overlay {
    background: none;
}

.hero.small-hero.contact-hero .title {
    color: var(--bg-color);
}

/* ===================================================
   COLLECTION PAGE — FILTER SYSTEM
   =================================================== */

/* Override page-content constraints for collection layout */
.page-content.collection-page {
    max-width: 1500px;
    padding-top: 5rem;
    padding-bottom: 8rem;
}

/* ---- Toolbar ---- */
.collection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid rgba(40, 3, 9, 0.1);
    margin-bottom: 2.5rem;
}

.filter-toggle-btn {
    display: none; /* desktop: sidebar is always visible, button only for mobile */
    align-items: center;
    gap: 0.55rem;
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.filter-toggle-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.active-filter-count {
    display: none;
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-size: 0.65rem;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.collection-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.results-count {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.45;
    min-width: 5rem;
    text-align: right;
}

.sort-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(40, 3, 9, 0.25);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.3rem 1.5rem 0.3rem 0;
    outline: none;
    transition: border-color 0.2s;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--accent-color);
}

.sort-chevron {
    position: absolute;
    right: 0;
    pointer-events: none;
    opacity: 0.4;
}

.currency-select {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-color);
    cursor: pointer;
    margin-left: 0.75rem;
    padding: 0.3rem 0.6rem 0.3rem 0;
    outline: none;
}

/* ---- Collection Body: two-column layout ---- */
.collection-body {
    display: grid;
    grid-template-columns: 248px 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* ---- Filter Panel (sidebar) ---- */
.filter-panel {
    position: sticky;
    top: 6.5rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(40, 3, 9, 0.15) transparent;
}

.filter-panel::-webkit-scrollbar {
    width: 3px;
}

.filter-panel::-webkit-scrollbar-track {
    background: transparent;
}

.filter-panel::-webkit-scrollbar-thumb {
    background-color: rgba(40, 3, 9, 0.15);
    border-radius: 2px;
}

.filter-panel-top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(40, 3, 9, 0.1);
    margin-bottom: 0.2rem;
}

.filter-panel-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    flex: 1;
}

.filter-clear-all {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.4;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
    transition: opacity 0.18s;
}

.filter-clear-all:hover {
    opacity: 0.9;
}

.filter-panel-close {
    display: none; /* mobile only */
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.5;
    padding: 0;
    line-height: 1;
    align-items: center;
    justify-content: center;
    transition: opacity 0.18s;
    flex-shrink: 0;
}

.filter-panel-close:hover {
    opacity: 1;
}

/* ---- Accordion Groups ---- */
.filter-group {
    border-bottom: 1px solid rgba(40, 3, 9, 0.07);
}

.filter-group-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 1.05rem 0;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-color);
    cursor: pointer;
    text-align: left;
    line-height: 1;
}

.filter-group-header:hover {
    opacity: 0.7;
}

.filter-group-arrow {
    flex-shrink: 0;
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.filter-group.collapsed .filter-group-arrow {
    transform: rotate(-90deg);
}

.filter-group-body {
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.24s ease,
                padding-bottom 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 1.1rem;
}

/* Suppress transitions during initial page load collapse (class added/removed by JS) */
.filter-panel.filter-init .filter-group-body {
    transition: none !important;
}

/* ---- Filter Tags (multi-select) ---- */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.75rem;
    border: 1px solid rgba(40, 3, 9, 0.22);
    background: none;
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.16s, background-color 0.16s, color 0.16s;
    white-space: nowrap;
    line-height: 1;
}

.filter-tag:hover {
    border-color: var(--accent-color);
    background-color: rgba(40, 3, 9, 0.04);
}

.filter-tag.active {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
}

/* ---- Range Inputs (price / size) ---- */
.filter-range-row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.filter-range-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.filter-range-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.4;
}

.filter-range-input {
    width: 100%;
    background-color: rgba(40, 3, 9, 0.03);
    border: none;
    border-bottom: 1px solid rgba(40, 3, 9, 0.2);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-color);
    padding: 0.45rem 0.5rem;
    outline: none;
    transition: border-color 0.18s, background-color 0.18s;
    -moz-appearance: textfield;
    border-radius: 0;
}

.filter-range-input::-webkit-inner-spin-button,
.filter-range-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filter-range-input:focus {
    border-color: var(--accent-color);
    background-color: transparent;
}

.filter-range-input::placeholder {
    opacity: 0.35;
    font-style: italic;
}

.filter-range-sep {
    font-size: 0.75rem;
    opacity: 0.25;
    padding-bottom: 0.45rem;
    flex-shrink: 0;
}

/* ---- Loading skeletons ---- */
.product-card-skeleton {
    pointer-events: none;
}

.skeleton-fill {
    background: linear-gradient(90deg, #f0eded 25%, #e6e2e2 50%, #f0eded 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

.skeleton-fill.skeleton-img {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.skeleton-line {
    height: 11px;
    margin: 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, #f0eded 25%, #e6e2e2 50%, #f0eded 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

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

/* ---- No results state ---- */
.no-results-msg {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.no-results-msg p {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* ---- Filter overlay (mobile backdrop) ---- */
.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(40, 3, 9, 0.35);
    z-index: 498;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.filter-overlay.active {
    display: block;
}

/* ---- Dual-range price slider ---- */
.price-slider-wrap {
    padding: 6px 0 4px;
    user-select: none;
    -webkit-user-select: none;
}

.price-slider-track-wrap {
    position: relative;
    height: 26px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.price-slider-track {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(40, 3, 9, 0.12);
    border-radius: 2px;
}

.price-slider-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
    left: 0;
    width: 100%;
    pointer-events: none;
    transition: width 0.05s linear;
}

.price-range-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 26px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: all;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    cursor: pointer;
}

/* WebKit (Chrome, Safari, Edge) */
.price-range-thumb::-webkit-slider-runnable-track {
    background: transparent;
    height: 3px;
}

.price-range-thumb::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    cursor: grab;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 2.5px solid var(--bg-color);
    box-shadow: 0 1px 6px rgba(40, 3, 9, 0.3);
    margin-top: -8px; /* align thumb centre with 3px track */
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    position: relative;
}

.price-range-thumb:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(40, 3, 9, 0.4);
}

/* Firefox */
.price-range-thumb::-moz-range-track {
    background: transparent;
    height: 3px;
}

.price-range-thumb::-moz-range-thumb {
    pointer-events: all;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: grab;
    border: 2.5px solid var(--bg-color);
    box-shadow: 0 1px 6px rgba(40, 3, 9, 0.3);
    transition: box-shadow 0.15s ease;
}

.price-range-thumb--single { z-index: 2; }

.price-slider-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.price-slider-val {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-color);
    opacity: 0.75;
}

/* Editable number inputs replacing the display spans */
.price-val-input {
    -moz-appearance: textfield;
    width: 5.5em;
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    outline: none;
    font-family: inherit;
    padding: 0 0 1px;
    cursor: text;
    transition: border-color 0.15s, opacity 0.15s;
}
.price-val-input::-webkit-outer-spin-button,
.price-val-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.price-val-input:hover {
    border-bottom-color: rgba(40, 3, 9, 0.25);
    opacity: 1;
}
.price-val-input:focus {
    border-bottom-color: var(--accent-color);
    opacity: 1;
}

/* ---- Mobile filter drawer footer ---- */
.filter-mobile-footer {
    display: none; /* hidden on desktop — drawer footer only needed on mobile */
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 0 1.8rem;
    background: linear-gradient(to bottom, transparent, var(--bg-color) 30%);
    margin-top: 1.5rem;
}

.filter-view-results {
    display: block;
    width: 100%;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.filter-view-results:hover {
    opacity: 0.85;
}

/* ---- Mobile responsive ---- */
@media (max-width: 1024px) {
    .page-content.collection-page {
        padding-top: 4rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .filter-toggle-btn {
        display: inline-flex;
    }

    .collection-body {
        display: block;
    }

    /* Drawer panel */
    .filter-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: min(82vw, 340px);
        height: 100vh;
        max-height: 100vh;
        background-color: var(--bg-color);
        z-index: 499;
        transform: translateX(-100%);
        transition: transform 0.38s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 2rem 1.6rem;
        box-shadow: 6px 0 32px rgba(40, 3, 9, 0.1);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .filter-panel.open {
        transform: translateX(0);
    }

    .filter-panel-close {
        display: inline-flex;
    }

    /* Show the sticky "View Results" footer in the mobile drawer */
    .filter-mobile-footer {
        display: block;
    }

    /* Ensure drawer scrolls natively on iOS */
    .filter-panel {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .collection-main {
        margin-top: 1rem;
    }

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

    .collection-toolbar {
        padding-bottom: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

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

    .sort-select {
        font-size: 0.7rem;
    }

    .results-count {
        display: none;
    }
}

/* ==========================================
   Model Browse Section
   ========================================== */

.model-browse-section {
    padding: 5rem 4rem 6rem;
}

/* "View All" text link inside the maroon collection header */
.hero-viewall-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    color: var(--bg-color);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(254, 254, 254, 0.4);
    transition: border-color 0.25s ease, opacity 0.25s ease;
}

.hero-viewall-link:hover {
    border-bottom-color: var(--bg-color);
}

/* Model cards grid */
.model-browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.model-browse-card {
    /* intentionally empty — layout handled by child .model-browse-link */
}

.model-browse-link {
    display: block;
    text-decoration: none;
    color: var(--text-color);
}

.model-browse-img-wrap {
    position: relative;
    overflow: hidden;
    background-color: var(--light-grey);
    aspect-ratio: 4 / 3;
}

.model-browse-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 3, 9, 0);
    transition: background 0.35s ease;
    pointer-events: none;
}

.model-browse-link:hover .model-browse-overlay {
    background: rgba(40, 3, 9, 0);
}

.model-browse-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.model-browse-link:hover .model-browse-img {
    transform: scale(1.05);
}

.model-browse-label {
    padding: 1.1rem 0 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    display: block;
}

.model-browse-link:hover .model-browse-label {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .model-browse-section {
        padding: 3rem 1.5rem 4rem;
    }

    .model-browse-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .model-browse-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .model-browse-label {
        font-size: 0.78rem;
    }
}


/* ============================================================
   LUXE LAYER — editorial redesign components
   ============================================================ */

/* ---- Grain overlay ---- */
.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain-shift 9s steps(10) infinite;
}

@keyframes grain-shift {
    0%   { transform: translate(0, 0); }
    20%  { transform: translate(-3%, 4%); }
    40%  { transform: translate(4%, -3%); }
    60%  { transform: translate(-4%, -2%); }
    80%  { transform: translate(2%, 4%); }
    100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .grain { animation: none; }
}

/* ---- Hero composition ---- */
.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.6rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "";
    width: 2.6rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.85;
}

.hero .title {
    color: #fdfbf7;
    text-shadow: 0 2px 40px rgba(20, 2, 5, 0.35);
}

.hero-cities {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.6rem;
}

.hero-cities .dot {
    display: inline-block;
    margin: 0 0.7rem;
    color: var(--gold);
    font-style: normal;
    font-size: 0.55em;
    vertical-align: middle;
}

/* masked line reveal: JS wraps lines in .reveal-line > .reveal-inner */
.reveal-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.reveal-line .reveal-inner {
    display: block;
    will-change: transform;
}

/* ---- Section headers, editorial variant ---- */
.section-header.editorial {
    text-align: left;
    max-width: 1400px;
    margin: 0 auto 4.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.section-header.editorial .section-desc {
    margin-bottom: 0.6rem;
}

@media (max-width: 720px) {
    .section-header.editorial { margin-bottom: 2.8rem; }
}

/* ---- Products section refinements ---- */
.products {
    position: relative;
}

.product-image-wrap {
    box-shadow: none;
    border: none;
}

/* ---- Atelier split section ---- */
.atelier {
    max-width: 1400px;
    margin: 0 auto;
    padding: 7rem 4rem 8rem;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 6vw, 6.5rem);
    align-items: center;
}

.atelier-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.atelier-media img {
    width: 100%;
    height: 115%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

.atelier-media::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.atelier-copy h2 {
    margin-bottom: 1.6rem;
}

.atelier-copy p {
    font-size: 0.95rem;
    line-height: 1.95;
    opacity: 0.72;
    max-width: 34rem;
    margin-bottom: 2.4rem;
}

.atelier-list {
    list-style: none;
    margin: 0 0 2.8rem;
    padding: 0;
}

.atelier-list li {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.atelier-list li:first-child {
    border-top: 1px solid var(--hairline);
}

.atelier-list .li-num {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .atelier {
        grid-template-columns: 1fr;
        padding: 4.5rem 1.5rem 5rem;
    }
    .atelier-media { aspect-ratio: 4 / 3; }
}

/* ---- Partner band (Kering) ---- */
.partner-band {
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 5.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-band::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.partner-band .partner-label {
    font-family: var(--sans);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1.4rem;
}

.partner-band .partner-logo {
    width: 130px;
    height: auto;
    margin: 0 auto 1.6rem;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.partner-band .partner-status {
    font-size: clamp(1.1rem, 2.4vw, 1.7rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.35;
    margin-bottom: 1.8rem;
}

.partner-band .partner-status em {
    font-style: normal;
    color: var(--gold);
}

.partner-band .partner-link {
    display: inline-block;
    color: var(--bg-color);
    text-decoration: none;
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.35s ease, color 0.35s ease;
}

.partner-band .partner-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ---- Instagram section polish ---- */
.ig-item {
    border: 1px solid var(--hairline);
}

/* ---- Footer upgrade ---- */
.footer {
    position: relative;
    overflow: hidden;
}

.footer-wordmark {
    font-size: clamp(2.6rem, 10vw, 9rem);
    line-height: 0.95;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.07);
    text-align: center;
    margin: 0 0 3.5rem;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.footer-col h4 {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    color: var(--gold);
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.9;
    opacity: 0.85;
}

.footer .footer-tagline {
    font-size: 0.85rem;
    opacity: 0.75;
    letter-spacing: 0.08em;
}

/* ---- Mobile polish ---- */
@media (max-width: 720px) {
    .hero-eyebrow {
        font-size: 0.56rem;
        letter-spacing: 0.3em;
        text-indent: 0.3em;
    }
    .hero-eyebrow::before,
    .hero-eyebrow::after {
        display: none;
    }
    .btn {
        padding: 1rem 2.1rem;
        font-size: 0.66rem;
        letter-spacing: 0.22em;
        white-space: nowrap;
    }
    .whatsapp-btn {
        width: 58px;
        height: 58px;
        bottom: 1.4rem;
        right: 1.4rem;
    }
    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
    .footer-wordmark {
        white-space: normal;
        line-height: 1.05;
    }
}

/* ---- Generic reveal helpers driven by GSAP ---- */
.img-reveal {
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
}

@media (prefers-reduced-motion: reduce) {
    .img-reveal { clip-path: none !important; }
}
