/* =====================================================================
   Public website — warm, premium look. Light & dark themes.
   Mobile-first; breakpoints at 640px (large phone), 900px (tablet),
   1100px (laptop).
===================================================================== */

:root {
    --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --bg: #f7f3ec;
    --bg-2: #efe8dd;
    --surface: #fffdf9;
    --ink: #1f1a15;
    --ink-2: #4b443b;
    --muted: #857c70;
    --line: #e4dccf;
    --accent: #6e2a26;
    --accent-hover: #57201d;
    --accent-soft: #f2e2df;
    --gold: #b88a4a;
    --on-accent: #ffffff;
    --shadow: 0 1px 2px rgba(31, 26, 21, .05), 0 10px 30px -14px rgba(31, 26, 21, .2);
    --radius: 14px;
    --radius-lg: 22px;
    --header-h: 72px;
    --container: 1320px;
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #14110e;
    --bg-2: #1c1814;
    --surface: #1e1a16;
    --ink: #f2ece3;
    --ink-2: #d3cbbf;
    --muted: #9c9284;
    --line: #2f2923;
    --accent: #d99a8c;
    --accent-hover: #e6b0a4;
    --accent-soft: rgba(217, 154, 140, .14);
    --gold: #d6aa66;
    --on-accent: #1a120c;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 15px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 13px; height: 13px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--surface); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* Typography */
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.01em; }
.display-sm { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.005em; }
.section-sub { color: var(--muted); margin-top: 6px; max-width: 560px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow-light { color: #f0c0b4; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fffaf3; color: #1f1a15; }
.btn-light:hover { background: #fff; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--ink); transition: background .2s; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn-outline { border: 1px solid var(--line); background: var(--surface); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.theme-light { display: none; }
html[data-theme="dark"] .theme-light { display: block; }
html[data-theme="dark"] .theme-dark { display: none; }

/* ---------------------------------------------------------------------
   Header
--------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.25); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.main-nav { display: none; gap: 28px; }
.main-nav a { position: relative; font-size: 13.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--accent); transition: right .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.logo { justify-self: center; display: flex; align-items: center; }
.logo img { height: 44px; width: auto; }
.logo-text { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.header-search { display: none; position: relative; align-items: center; }
.header-search .icon { position: absolute; left: 14px; color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
.header-search input { width: 210px; height: 42px; padding: 0 16px 0 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: width .25s, border-color .2s; }
.header-search input:focus { outline: none; border-color: var(--accent); width: 260px; }
.header-cta { display: none; margin-left: 6px; }
.menu-btn { justify-self: start; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 100; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: rgba(15, 12, 9, .5); animation: fade .2s; }
.mobile-menu-panel {
    position: absolute; inset: 0 auto 0 0; width: min(360px, 88vw); z-index: 1;
    background: var(--bg); padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 16px;
    overflow-y: auto; animation: slide-in .25s ease;
}
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-head .logo-text { font-size: 22px; }
.mobile-search { position: relative; display: flex; align-items: center; }
.mobile-search .icon { position: absolute; left: 14px; color: var(--muted); }
.mobile-search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.mobile-nav { display: grid; margin: 4px 0 8px; }
.mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; }
.mobile-nav a.active { color: var(--accent); }
.mobile-nav .icon { color: var(--muted); }
@keyframes slide-in { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }

.search-overlay { position: fixed; inset: 0 0 auto 0; z-index: 90; padding: 14px 16px; background: var(--bg); box-shadow: var(--shadow); animation: fade .15s; }
.search-overlay-form { display: flex; align-items: center; gap: 10px; max-width: var(--container); margin: 0 auto; }
.search-overlay-form input { flex: 1; height: 50px; border: 0; background: transparent; font-size: 18px; }
.search-overlay-form input:focus { outline: none; }

/* ---------------------------------------------------------------------
   Hero
--------------------------------------------------------------------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: #2a211a; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: hero-zoom 14s ease-out both; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,15,10,.15) 0%, rgba(20,15,10,.2) 40%, rgba(20,15,10,.82) 100%), linear-gradient(90deg, rgba(20,15,10,.55), transparent 65%); }
.hero-content { padding-top: 120px; padding-bottom: clamp(48px, 9vh, 96px); display: grid; gap: 18px; max-width: var(--container); }
.hero-content .display { max-width: 820px; }
.hero-text { font-size: clamp(16px, 2vw, 19px); max-width: 560px; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-pattern {
    background-color: #2e1a18;
    background-image:
        radial-gradient(circle at 18% 25%, rgba(160, 64, 58, .45), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(184, 138, 74, .35), transparent 45%),
        repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px);
}
@keyframes hero-zoom { from { transform: scale(1.08); } }

.trust-bar { background: var(--ink); color: var(--bg); }
html[data-theme="dark"] .trust-bar { background: var(--bg-2); color: var(--ink); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; }
.trust-grid > div { padding: 22px 8px; text-align: center; display: grid; gap: 2px; }
.trust-grid strong { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; color: var(--gold); }
.trust-grid span { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }

/* ---------------------------------------------------------------------
   Sections
--------------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--bg-2); }
.section-flush-top { padding-top: 8px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.section-actions { display: flex; align-items: center; gap: 18px; }
.carousel-nav { display: none; gap: 8px; }

.pill-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pill-tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: .2s; }
.pill-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.pill-tabs-sm button { padding: 8px 16px; font-size: 13px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
.card-product { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.card-img-hover { opacity: 0; }
@media (hover: hover) {
    .card-product:hover .card-img { transform: scale(1.04); }
    .card-product:hover .card-img-hover { opacity: 1; }
}
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.tag { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tag-dark { background: var(--ink); color: var(--bg); }
.card-info { display: grid; gap: 4px; }
.card-title { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--accent); }
.card-meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 2px; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.dots { display: inline-flex; align-items: center; gap: 4px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.dots small { font-size: 11.5px; color: var(--muted); }
.img-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: var(--bg-2); }

/* Carousel */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 0 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-item { scroll-snap-align: start; min-width: 0; }

/* Collections grid */
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.collection-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: #2e1a18; color: #fff; isolation: isolate; }
.collection-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.collection-card .img-placeholder { z-index: -2; background: linear-gradient(135deg, #5a2a26, #241614); color: rgba(255,255,255,.4); }
.collection-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(15,10,6,.78)); }
.collection-card:hover .collection-img { transform: scale(1.06); }
.collection-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: grid; gap: 4px; }
.collection-label strong { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 500; line-height: 1.1; }
.collection-label span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--on-accent); padding: clamp(44px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, #fff 0 1px, transparent 1px 22px); }
.cta-inner { position: relative; display: grid; gap: 24px; align-items: center; }
.cta-inner p { opacity: .88; max-width: 560px; margin-top: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
html[data-theme="dark"] .cta-band .btn-glass { color: var(--on-accent); border-color: rgba(0,0,0,.25); background: rgba(0,0,0,.08); }

/* FAQ */
.faq-wrap { display: grid; gap: 8px; }
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.faq[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform .25s; color: var(--accent); }
.faq[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 20px 18px; color: var(--ink-2); display: grid; gap: 10px; }

/* ---------------------------------------------------------------------
   Shop
--------------------------------------------------------------------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 18px 0; font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.shop-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; margin-bottom: 24px; background: #2e1a18; }
.shop-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.shop-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,10,6,.8), rgba(15,10,6,.15)); }
.shop-banner-text { padding: clamp(24px, 4vw, 48px); max-width: 620px; display: grid; gap: 8px; }
.shop-banner-text p:last-child { color: rgba(255,255,255,.85); }

.collection-strip { display: grid; gap: 14px; margin-bottom: 28px; }
.strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.strip-card {
    flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px;
    border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s, box-shadow .2s;
}
.strip-card:hover { border-color: var(--ink-2); }
.strip-card.is-active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.strip-img { position: relative; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--bg-2); flex: none; }
.strip-img img { width: 100%; height: 100%; object-fit: cover; }
.strip-img .img-placeholder .icon { width: 18px; }
.strip-text { display: grid; line-height: 1.25; }
.strip-text strong { font-size: 14px; white-space: nowrap; }
.strip-text small { color: var(--muted); font-size: 12px; }

.shop-layout { display: grid; gap: 24px; padding-bottom: 80px; align-items: start; }
.results { min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.results-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 500; }
.results-count { color: var(--muted); font-size: 14px; margin-top: 2px; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort select {
    height: 40px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); appearance: none; -webkit-appearance: none; cursor: pointer; font-size: 13.5px; font-weight: 500;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23857c70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
[data-results] { transition: opacity .2s; }
[data-results].loading { opacity: .45; pointer-events: none; }

/* Filters sidebar (drawer on mobile/tablet) */
.filters {
    position: fixed; inset: 0 auto 0 0; z-index: 110; width: min(360px, 90vw);
    background: var(--bg); overflow-y: auto; transform: translateX(-105%); transition: transform .28s ease; box-shadow: var(--shadow);
}
.filters.open { transform: none; }
.filters-backdrop { display: none; }
.filters.open + .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 105; background: rgba(15,12,9,.5); }
.filter-form { padding: 20px; display: grid; gap: 4px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.filters-head h2 { font-size: 18px; font-family: var(--sans); }
.reset-filters { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13.5px; font-weight: 600; margin-left: auto; }
.filter-search { position: relative; display: flex; align-items: center; margin-bottom: 8px; }
.filter-search .icon { position: absolute; left: 13px; color: var(--muted); }
.filter-search input { width: 100%; height: 44px; padding: 0 14px 0 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.filter-search input:focus { outline: none; border-color: var(--accent); }
.filter-group { border-top: 1px solid var(--line); }
.filter-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; cursor: pointer; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary .icon { transition: transform .2s; color: var(--muted); }
.filter-group[open] summary .icon { transform: rotate(180deg); }
.filter-options { display: grid; gap: 2px; padding-bottom: 14px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.opt input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex: none; }
.opt span { flex: 1; }
.opt small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.opt:hover { color: var(--ink); }
.opt-switch { border-top: 1px solid var(--line); padding: 16px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt input, .swatch-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-opt span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; cursor: pointer; transition: .15s; }
.chip-opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-opt input:focus-visible + span, .swatch-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-opt span { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); transition: box-shadow .15s; }
.swatch-opt input:checked + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.filters-apply { margin-top: 12px; position: sticky; bottom: 12px; }

.no-results { text-align: center; padding: 64px 20px; display: grid; justify-items: center; gap: 10px; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.no-results-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.no-results h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.no-results p { color: var(--muted); margin-bottom: 8px; }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 44px; }
.pager-btn { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; transition: .15s; }
.pager-btn:hover { border-color: var(--ink); }
.pager-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager-btn.disabled { opacity: .35; pointer-events: none; }
.pager-gap { align-self: center; color: var(--muted); padding: 0 4px; }
.pager-info { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }

/* ---------------------------------------------------------------------
   Product page
--------------------------------------------------------------------- */
.product-layout { display: grid; gap: 28px; padding-bottom: 40px; }
.gallery { position: relative; display: grid; gap: 12px; min-width: 0; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius-lg); background: var(--bg-2); scrollbar-width: none; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; aspect-ratio: 4 / 5; position: relative; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow { position: absolute; top: calc(50% - 40px); width: 44px; height: 44px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: var(--shadow); display: none; place-items: center; cursor: pointer; color: var(--ink); }
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.thumb-btn { flex: none; width: 72px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; padding: 0; border: 2px solid transparent; cursor: pointer; background: var(--bg-2); opacity: .7; transition: .15s; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn.active, .thumb-btn:hover { opacity: 1; border-color: var(--accent); }

.product-info { display: grid; gap: 18px; align-content: start; }
.product-title { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 50px); font-weight: 500; line-height: 1.05; }
.product-sku { color: var(--muted); font-size: 13px; letter-spacing: .06em; margin-top: -8px; }
.product-price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-price { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-in { background: rgba(31,138,76,.12); color: #1f8a4c; }
.stock-low { background: rgba(183,121,31,.14); color: #a86a12; }
.stock-out { background: rgba(192,57,43,.12); color: #c0392b; }
.spec-list { margin: 0; display: grid; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; }
.spec-list dd a { border-bottom: 1px solid var(--line); }
.spec-list dd a:hover { color: var(--accent); border-color: var(--accent); }
.option-block { display: grid; gap: 10px; }
.option-title { font-family: var(--sans); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.size-list, .color-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip, .color-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 500; }
.color-chip i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.product-actions { display: grid; gap: 10px; }
.assurances { list-style: none; margin: 0; padding: 16px 18px; display: grid; gap: 10px; border-radius: var(--radius); background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.assurances li { display: flex; align-items: center; gap: 10px; }
.assurances .icon { color: var(--accent); }
.product-desc { border-top: 1px solid var(--line); }
.product-desc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 600; }
.product-desc summary::-webkit-details-marker { display: none; }
.product-desc[open] summary .icon { transform: rotate(180deg); }
.product-desc > div { color: var(--ink-2); display: grid; gap: 12px; padding-bottom: 16px; }

/* ---------------------------------------------------------------------
   About & Contact
--------------------------------------------------------------------- */
.page-hero { padding: 0 0 clamp(28px, 5vw, 48px); }
.page-hero .breadcrumb { padding-bottom: clamp(24px, 4vw, 40px); }
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-media { position: relative; }
.about-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.years-badge { position: absolute; right: 16px; bottom: -22px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius-lg); padding: 18px 22px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.years-badge strong { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: .9; }
.years-badge span { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.about-text { display: grid; gap: 16px; font-size: 16.5px; color: var(--ink-2); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-stats strong { display: block; font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 500; color: var(--accent); line-height: 1; }
.about-stats span { font-size: 13px; color: var(--muted); }

.ceo-card { display: grid; gap: 32px; align-items: center; }
.ceo-photo { width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; justify-self: center; position: relative; }
.ceo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ceo-initial { font-family: var(--serif); font-size: 120px; color: var(--accent); }
.ceo-message { margin: 0; display: grid; gap: 14px; }
.quote-mark { width: 44px; height: 44px; color: var(--accent); opacity: .5; }
.ceo-message blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.35; display: grid; gap: 14px; }
.ceo-message figcaption { display: grid; }
.ceo-message figcaption span { color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; gap: 24px; align-items: start; }
.form-card, .info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); display: grid; gap: 14px; }
.card-heading { font-family: var(--serif); font-size: 32px; font-weight: 500; }
.site-form { display: grid; gap: 16px; margin-top: 8px; }
.form-row { display: grid; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-field.invalid input { border-color: #c0392b; }
.field-error { color: #c0392b; font-size: 13px; font-weight: 500; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; }
.notice-success { background: rgba(31,138,76,.1); color: #1a7340; }
.notice-error { background: rgba(192,57,43,.1); color: #a93226; }
html[data-theme="dark"] .notice-success { color: #6ad49a; }
html[data-theme="dark"] .notice-error { color: #f08a7e; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.info-list a, .info-list span { font-weight: 500; }
.info-list a:hover { color: var(--accent); }
.info-list .link-arrow { margin-top: 6px; font-size: 13.5px; }
.info-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }

/* Footer */
.site-footer { background: #17120e; color: #d9d0c3; padding-top: 64px; }
html[data-theme="dark"] .site-footer { background: #0e0b09; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { color: #a39887; max-width: 320px; }
.footer-title { font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: #c3b8a8; transition: color .15s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #c3b8a8; }
.footer-contact .icon { color: var(--gold); margin-top: 2px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); color: #e9e1d6; transition: .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 16px; color: #8f8576; font-size: 13px; }

.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(37,211,102,.6); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* Error page */
.error-page { text-align: center; padding: 96px 16px; display: grid; gap: 14px; justify-items: center; }
.error-code { font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--accent); }
.error-page h1 { font-family: var(--serif); font-size: 40px; font-weight: 500; }
.error-page p { color: var(--muted); max-width: 460px; }
.error-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.btn-ghost { border-color: var(--line); background: transparent; }

/* ---------------------------------------------------------------------
   Breakpoints
--------------------------------------------------------------------- */
@media (min-width: 640px) {
    .container { padding: 0 24px; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
    .carousel { grid-auto-columns: calc((100% - 28px) / 2.4); margin: 0 -24px; padding: 0 24px 8px; scroll-padding: 0 24px; }
    .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .trust-grid { grid-template-columns: repeat(4, 1fr); }
    .form-row { grid-template-columns: 1fr 1fr; }
    .cta-inner { grid-template-columns: 1fr auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { padding: 22px 24px; }
    .gallery-arrow { display: grid; }
}

@media (min-width: 900px) {
    .header-search { display: flex; }
    .search-btn { display: none; }
    .header-cta { display: inline-flex; }
    .carousel-nav { display: flex; }
    .carousel { grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; margin: 0; padding: 0 0 8px; }
    .product-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding-top: 8px; }
    .product-info { position: sticky; top: calc(var(--header-h) + 24px); }
    .gallery { grid-template-columns: 80px minmax(0, 1fr); align-items: start; }
    .gallery-main { grid-column: 2; grid-row: 1; }
    .gallery-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; max-height: 640px; overflow-y: auto; }
    .thumb-btn { width: 80px; }
    .gallery-arrow.prev { left: 94px; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
    .ceo-card { grid-template-columns: auto 1fr; gap: 64px; }
    .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
    .contact-side { position: sticky; top: calc(var(--header-h) + 24px); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

@media (min-width: 1100px) {
    .main-nav { display: flex; }
    .menu-btn { display: none; }
    .shop-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
    .filters { position: sticky; top: calc(var(--header-h) + 16px); inset: auto; z-index: 1; width: auto; transform: none; box-shadow: none; background: transparent; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; border-radius: var(--radius-lg); }
    .filter-form { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
    .filters-close, .filters-open, .filters-apply, .filters-backdrop { display: none !important; }
    .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
    .product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .faq-wrap { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
}

@media (min-width: 1400px) {
    .product-grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Header on phones: keep logo, search and theme buttons on one line */
@media (max-width: 639px) {
    .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px; }
    .logo { min-width: 0; max-width: 100%; justify-self: center; }
    .logo img { height: 36px; max-width: 100%; object-fit: contain; }
    .logo-text { font-size: 18px; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; display: block; }
    .header-actions .icon-btn { width: 38px; height: 38px; }
    .whatsapp-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* Size picker with a price per size */
.price-from { font-size: 12px; font-weight: 500; color: var(--muted); }
.size-picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.size-picker legend { padding: 0; margin-bottom: 10px; }
.size-picker legend span { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 14px; }
.size-option { position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-option span { display: grid; gap: 1px; min-width: 112px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.size-option strong { font-size: 14px; font-weight: 600; }
.size-option small { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.size-option:hover span { border-color: var(--ink-2); }
.size-option input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-soft); }
.size-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-option.is-out span { opacity: .55; }
.size-option.is-out strong { text-decoration: line-through; }

/* Brand logo: light & dark versions */
.logo img, .mobile-menu-head img { width: auto; }
.logo .logo-dark, .mobile-menu-head .logo-dark { display: none; }
html[data-theme="dark"] .logo .logo-light:not(:only-of-type),
html[data-theme="dark"] .mobile-menu-head .logo-light:not(:only-of-type) { display: none; }
html[data-theme="dark"] .logo .logo-dark, html[data-theme="dark"] .mobile-menu-head .logo-dark { display: block; }
.footer-brand img { height: 56px; width: auto; }

/* Larger brand logo in the header */
:root { --header-h: 84px; }
.logo img { height: 62px; }
@media (max-width: 639px) {
    :root { --header-h: 68px; }
    .logo img { height: 44px; }
}
