/*
 * Liana's Boutique — storefront stylesheet
 *
 * Hand-written, mobile-first, no framework. Sections:
 *   1. Tokens          5. Home sections      9. Checkout
 *   2. Base            6. Product card      10. Account + pages
 *   3. Primitives      7. Shop listing      11. Motion
 *   4. Header/footer   8. Product page / cart
 *
 * Breakpoints: 768px (tablet) and 1024px (desktop).
 */

/* ---------- 1. Tokens ---------- */
@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/playfair-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Playfair Display";
    font-style: italic;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/playfair-italic-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url("../fonts/jost-latin.woff2") format("woff2");
}

:root {
    --cream: #fbf4ec;
    --cream-deep: #f5eadf;
    --sand: #eadfd3;
    --sand-deep: #d9cabb;
    --paper: #ffffff;
    --ink: #1c1714;
    --ink-soft: #5c524a;
    --ink-faint: #8c8178;
    --accent: #a16c4b;
    --accent-deep: #84553a;
    --success: #3d6a4d;
    --error: #a33a2c;

    --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
    --font-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

    --radius-sm: 3px;
    --radius: 6px;
    --radius-lg: 18px;
    --shadow: 0 18px 40px -22px rgba(60, 40, 25, 0.35);
    --shadow-soft: 0 6px 22px -14px rgba(60, 40, 25, 0.3);

    --gutter: 20px;
    --header-h: 60px;
    --tabbar-h: 0px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --header-h: 72px; }
}
@media (min-width: 1024px) {
    :root { --gutter: 48px; }
}
@media (max-width: 767px) {
    :root { --tabbar-h: 60px; }
}

/* ---------- 2. Base ---------- */
*, *::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;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
body.no-tabbar { padding-bottom: 0; }
body.is-locked { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
s { color: var(--ink-faint); }
[hidden] { display: none !important; }

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.wrap {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 760px; }
.icon { flex: none; }
.muted { color: var(--ink-soft); }

@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }

/* ---------- 3. Primitives ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-soft);
}
.eyebrow--chip {
    background: rgba(255, 255, 255, 0.82); color: var(--ink);
    padding: 7px 12px; border-radius: var(--radius-sm);
}
.eyebrow--chip::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.eyebrow--rule::before { content: ""; width: 28px; height: 1px; background: var(--ink-soft); }

.section-title {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); line-height: 1.12; letter-spacing: -0.01em;
}
.section-title--lg { font-size: clamp(2.125rem, 1.5rem + 3vw, 3.25rem); }
.section-title em { display: inline; }

.lead { font-size: 1.0625rem; color: var(--ink); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 26px;
    border: 1px solid var(--ink); border-radius: var(--radius-sm);
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-align: center;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #3a302a; border-color: #3a302a; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--sand-deep); }
.btn--light:hover { border-color: var(--ink); }
.btn--ghost { border-color: transparent; padding-inline: 8px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.6875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
    padding-block: 12px;
}
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
    position: relative; display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    transition: background-color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--cream-deep); }

.badge {
    position: absolute; left: 10px; top: 10px; z-index: 2;
    background: var(--paper); color: var(--ink);
    padding: 4px 9px; border-radius: 2px;
    font-size: 0.625rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5;
}
.badge--dark { background: var(--ink); color: var(--paper); }
.badge--accent { background: var(--accent); color: var(--paper); }
.badge--muted { background: var(--sand); color: var(--ink-soft); }

.pill {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 0.75rem; font-weight: 500; background: var(--sand); color: var(--ink);
}
.pill--ok { background: #dfeadf; color: #23482f; }
.pill--warn { background: #f4e3c8; color: #6c4a12; }
.pill--bad { background: #f3d9d4; color: #7a271c; }

.flash {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 16px; padding: 12px 8px 12px 16px;
    border: 1px solid var(--sand-deep); border-left: 3px solid var(--success);
    background: var(--paper); border-radius: var(--radius-sm); font-size: 0.9375rem;
}
.flash--error { border-left-color: var(--error); }

.toast {
    position: fixed; z-index: 120; left: 50%; bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 20px); opacity: 0;
    display: flex; align-items: center; gap: 16px;
    max-width: calc(100vw - 32px); padding: 14px 18px;
    background: var(--ink); color: var(--paper); border-radius: var(--radius); font-size: 0.9375rem;
    box-shadow: var(--shadow); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; font-weight: 500; }
body.has-buybar .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* Forms */
.field { display: grid; gap: 6px; }
.field > label, .label {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.field input, .field select, .field textarea, .input {
    width: 100%; min-height: 50px; padding: 12px 14px;
    background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--radius-sm);
    font-size: 1rem; /* 16px: stops iOS zooming the page on focus */
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231c1714' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus {
    outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 23, 20, 0.08);
}
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.8125rem; }
.field__hint { color: var(--ink-faint); font-size: 0.8125rem; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 560px) {
    .form-grid--2 { grid-template-columns: 1fr 1fr; }
    .form-grid--3 { grid-template-columns: 1.4fr 1fr 1fr; }
    .form-grid .span-2 { grid-column: 1 / -1; }
}
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }

.stepper {
    display: inline-grid; grid-template-columns: 44px 44px 44px; align-items: center;
    border: 1px solid var(--sand-deep); border-radius: var(--radius-sm); background: var(--paper);
}
.stepper button { height: 44px; display: grid; place-items: center; }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper input {
    width: 44px; height: 44px; border: 0; background: none; text-align: center; font-size: 1rem;
    -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- 4. Header / footer ---------- */
.announce {
    background: var(--ink); color: #f1e6da; text-align: center;
    padding: 9px var(--gutter); font-size: 0.6875rem; letter-spacing: 0.14em; line-height: 1.5;
}

.site-header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--sand);
    transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-soft); }
.site-header__inner {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: var(--header-h); gap: 8px;
}
.site-header__menu { justify-self: start; margin-left: -10px; }
.site-header__actions { display: flex; align-items: center; justify-self: end; margin-right: -10px; }

.brand { display: inline-flex; align-items: baseline; gap: 8px; justify-self: center; }
.brand__name { font-family: var(--font-display); font-size: 1.375rem; letter-spacing: 0.06em; line-height: 1; }
.brand__tag { display: none; font-size: 0.5625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); }
.brand { align-items: center; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.site-footer__logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
@media (min-width: 1024px) { .brand__logo { width: 48px; height: 48px; } }

.primary-nav { display: none; }
.bag-count {
    position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
    display: none; place-items: center; border-radius: 9px;
    background: var(--ink); color: var(--paper); font-size: 0.625rem; font-weight: 500; line-height: 1;
}
.bag-count.is-visible { display: grid; }
.lang-switch {
    display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; height: 44px;
    font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--ink-soft);
}
.lang-switch:hover { color: var(--ink); }

@media (min-width: 1024px) {
    .site-header__inner { grid-template-columns: auto 1fr auto; gap: 32px; }
    .site-header__menu { display: none; }
    .brand { justify-self: start; }
    .brand__name { font-size: 1.5rem; }
    .brand__tag { display: inline; }
    .primary-nav { display: flex; justify-content: center; gap: clamp(16px, 2.2vw, 34px); }
    .primary-nav a {
        position: relative; display: inline-flex; align-items: center; height: var(--header-h);
        font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
    }
    .primary-nav > a::after, .primary-nav__group > a::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--ink);
        transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
    }
    .primary-nav > a:hover::after, .primary-nav__group:hover > a::after,
    .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
    .primary-nav__group { position: relative; }
    .primary-nav__menu {
        position: absolute; top: calc(100% - 8px); left: -20px; min-width: 220px; padding: 10px 0;
        background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(6px);
        transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    }
    .primary-nav__group:hover .primary-nav__menu, .primary-nav__group:focus-within .primary-nav__menu {
        opacity: 1; visibility: visible; transform: none;
    }
    .primary-nav__menu a { display: block; height: auto; padding: 10px 20px; letter-spacing: 0.12em; }
    .primary-nav__menu a:hover { background: var(--cream); }
}

.search-panel { border-top: 1px solid var(--sand); background: var(--paper); }
.search-panel__form { display: flex; align-items: center; gap: 12px; height: 64px; }
.search-panel__form input {
    flex: 1; min-width: 0; height: 48px; border: 0; background: none; font-size: 1.0625rem;
}
.search-panel__form input:focus { outline: none; }

/* Mobile menu: brand, search, the main links in display type, collections
   as photo tiles, the Club VIP card, quick links and language. */
.drawer { position: fixed; inset: 0; z-index: 130; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(28, 23, 20, 0.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.35s var(--ease); }
.drawer__panel {
    position: absolute; inset: 0 auto 0 0; width: min(90vw, 400px);
    display: flex; flex-direction: column; gap: 22px;
    padding: 0 22px calc(24px + env(safe-area-inset-bottom, 0px));
    background: radial-gradient(120% 60% at 0% 0%, #fff 0%, var(--cream) 55%);
    border-radius: 0 22px 22px 0; box-shadow: 24px 0 60px -30px rgba(40, 25, 15, 0.5);
    transform: translateX(-104%); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -22px; padding: 14px 16px 14px 22px; background: rgba(255, 252, 248, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(234, 223, 211, 0.7); }
.drawer__brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.drawer__logo { flex: none; width: 42px; height: 42px; padding: 3px; border: 1px solid var(--sand); border-radius: 12px; background: var(--paper); object-fit: contain; }
.drawer__brand span { overflow: hidden; font-family: var(--font-display); font-style: italic; font-size: 1.375rem; white-space: nowrap; text-overflow: ellipsis; }
.drawer__close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--sand-deep); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: transform 0.25s var(--ease), border-color 0.2s; }
.drawer__close:hover { transform: rotate(90deg); border-color: var(--ink); }

.drawer__search { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 48px; border: 1px solid var(--sand); border-radius: 99px; background: var(--paper); color: var(--ink-faint); }
.drawer__search:focus-within { border-color: var(--ink); color: var(--ink); }
.drawer__search input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; font: inherit; font-size: 0.9375rem; color: var(--ink); }
.drawer__search input:focus { outline: none; }

.drawer__nav { display: grid; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--sand); font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; color: var(--ink); text-decoration: none; }
.drawer__link svg { flex: none; color: var(--sand-deep); transition: transform 0.25s var(--ease), color 0.2s; }
.drawer__link:hover svg, .drawer__link[aria-current] svg { transform: translateX(4px); color: var(--ink); }
.drawer__link[aria-current] span { font-style: italic; }
.drawer__link--sale span { color: var(--accent-deep); }

/* "Sale" in the menus while something is on sale (CatalogService::hasSale()):
   a gold light crosses the word every few seconds and a dot beats beside it.
   Without motion the word keeps its colour and the dot stays still. */
.is-live .sale-shine {
    color: var(--accent-deep);
    background: linear-gradient(100deg, var(--accent-deep) 0 36%, #c08a4f 45%, #d9a55f 50%, #c08a4f 55%, var(--accent-deep) 64% 100%) 100% 0 / 300% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: sale-shine 3.6s ease-in-out 0.6s infinite;
}
.sale-dot {
    display: inline-block; flex: none; width: 6px; height: 6px; margin-left: 7px; border-radius: 50%;
    background: #b8322a; vertical-align: 0.2em; box-shadow: 0 0 0 0 rgba(184, 50, 42, 0.55);
    animation: sale-dot 1.8s ease-out infinite;
}
.drawer__link .sale-dot { width: 8px; height: 8px; margin-left: 10px; vertical-align: 0.35em; }
@keyframes sale-shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@keyframes sale-dot {
    0% { box-shadow: 0 0 0 0 rgba(184, 50, 42, 0.55); transform: scale(1); }
    25% { transform: scale(1.18); }
    70%, 100% { box-shadow: 0 0 0 7px rgba(184, 50, 42, 0); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .is-live .sale-shine { animation: none; background: none; -webkit-text-fill-color: currentColor; }
    .sale-dot { animation: none; }
}
@media (forced-colors: active) { .is-live .sale-shine { background: none; -webkit-text-fill-color: currentColor; } }

.drawer__label { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.drawer__label span { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.drawer__label a { font-size: 0.8125rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.drawer__tiles { display: flex; gap: 10px; margin: 0 -22px; padding: 0 22px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 22px; scrollbar-width: none; }
.drawer__tiles::after { content: ""; flex: 0 0 12px; }
.drawer__tiles::-webkit-scrollbar { display: none; }
.drawer__tile { flex: none; width: 104px; display: grid; gap: 8px; scroll-snap-align: start; color: var(--ink); text-decoration: none; }
.drawer__tile-img { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--cream-deep); }
.drawer__tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.drawer__tile:hover .drawer__tile-img img { transform: scale(1.05); }
.drawer__tile-name { font-size: 0.8125rem; line-height: 1.3; }

.drawer__club { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: radial-gradient(140% 160% at 0% 0%, #3a302a 0%, var(--ink) 60%); color: var(--paper); text-decoration: none; box-shadow: 0 14px 30px -18px rgba(28, 23, 20, 0.7); }
.drawer__club-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(227, 200, 142, 0.16); color: #e3c88e; }
.drawer__club-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.drawer__club-text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; }
.drawer__club-text small { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
.drawer__club > svg { flex: none; color: #e3c88e; }

.drawer__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.drawer__quick a { display: grid; justify-items: center; gap: 8px; padding: 14px 6px; border: 1px solid var(--sand); border-radius: 16px; background: rgba(255, 255, 255, 0.7); font-size: 0.75rem; line-height: 1.25; text-align: center; color: var(--ink); text-decoration: none; }
.drawer__quick a svg { color: var(--accent); }

.drawer__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.drawer__lang { display: inline-flex; padding: 3px; border: 1px solid var(--sand-deep); border-radius: 99px; background: var(--paper); }
.drawer__lang a, .drawer__lang span { display: grid; place-items: center; min-width: 44px; height: 32px; border-radius: 99px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-soft); text-decoration: none; }
.drawer__lang .is-on { background: var(--ink); color: var(--paper); }
.drawer__social { display: flex; gap: 6px; }
.drawer__social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--sand); border-radius: 50%; color: var(--ink); }

/* Each block arrives a beat after the one above it. */
.drawer.is-open .drawer__nav > *, .drawer.is-open [style*="--i"] { animation: drawer-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.08s + var(--i, 0) * 0.045s); }
@keyframes drawer-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .drawer__panel, .drawer__backdrop { transition: none; }
    .drawer.is-open .drawer__nav > *, .drawer.is-open [style*="--i"] { animation: none; }
}

.site-footer { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--sand); background: var(--cream-deep); }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer__name { font-family: var(--font-display); font-size: 1.375rem; margin-bottom: 12px; }
.site-footer__about { color: var(--ink-soft); font-size: 0.9375rem; max-width: 34ch; }
.site-footer__heading { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li a { display: inline-block; padding: 7px 0; color: var(--ink-soft); font-size: 0.9375rem; }
.site-footer li a:hover { color: var(--ink); }
.social { display: flex; gap: 4px; margin: 14px 0 0 -12px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; padding: 0; }
.social a:hover { background: var(--sand); }
.footer-signup { display: grid; gap: 10px; margin-top: 14px; }
.footer-signup input {
    min-height: 48px; padding: 0 14px; background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--radius-sm); font-size: 1rem;
}
.site-footer__base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    margin-top: 48px; padding-block: 20px; border-top: 1px solid var(--sand-deep);
    font-size: 0.8125rem; color: var(--ink-soft);
}
.site-footer__pay { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
}

.tabbar {
    position: fixed; inset: auto 0 0 0; z-index: 80;
    display: grid; grid-template-columns: repeat(4, 1fr);
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--sand);
}
.tabbar a { display: grid; place-items: center; align-content: center; gap: 2px; font-size: 0.625rem; letter-spacing: 0.08em; color: var(--ink-soft); }
.tabbar a[aria-current="page"] { color: var(--ink); font-weight: 500; }
@media (min-width: 768px) { .tabbar { display: none; } }

/* ---------- 5. Home sections ---------- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tint { background: var(--cream-deep); }
.section--flush { padding-top: 0; }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head__text { color: var(--ink-soft); max-width: 48ch; }
.section-head--center { justify-items: center; text-align: center; }
@media (min-width: 768px) {
    .section-head--split { grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
    .section-head--split > div { display: grid; gap: 10px; }
    .section-head--split .section-head__text { max-width: 44ch; }
}

.hero { position: relative; background: var(--cream); overflow: hidden; }
/* Phones: the photo sits on top and the copy below it on cream, so the
   headline never has to fight the picture for contrast. */
.hero__media { position: relative; display: block; height: min(58svh, 460px); background: var(--cream-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal-xm, 50%) var(--focal-ym, 30%); }
.hero__media picture { display: block; height: 100%; }
/* The video sits over the photo and under the cream veil, and only
   shows once it is actually playing. */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal-xm, 50%) var(--focal-ym, 30%); opacity: 0; transition: opacity 0.9s var(--ease); pointer-events: none; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(251, 244, 236, 0) 55%, rgba(251, 244, 236, 0.75) 86%, var(--cream) 100%);
}
.hero__inner { position: relative; z-index: 1; margin-top: -64px; padding-block: 0 36px; }
.hero__copy { display: grid; gap: 18px; justify-items: start; max-width: 560px; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.75rem, 1.6rem + 6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero__title em { display: block; }
.hero__text { font-size: 1.0625rem; color: var(--ink-soft); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; gap: clamp(20px, 5vw, 44px); padding-top: 14px; }
.hero__stats dt { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; }
.hero__stats dd { font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
@media (min-width: 768px) {
    .hero { display: grid; align-items: center; min-height: min(84vh, 760px); background: var(--cream-deep); }
    .hero__media { position: absolute; inset: 0; height: auto; }
    .hero__media img, .hero__video { object-position: var(--focal-x, 70%) var(--focal-y, 30%); }
    .hero__media::after {
        /* The foot of the photo melts into the page, as it does on phones;
           the second layer is the veil behind the words. */
        background:
            linear-gradient(180deg, rgba(251, 244, 236, 0) 72%, rgba(251, 244, 236, 0.55) 88%, var(--cream) 100%),
            linear-gradient(90deg, var(--cream) 0%, rgba(251, 244, 236, 0.9) 26%, rgba(251, 244, 236, 0.35) 52%, rgba(251, 244, 236, 0) 70%);
    }
    .hero__inner { margin-top: 0; padding-block: 80px; }
}

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile {
    position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
    border-radius: var(--radius); background: var(--sand);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 23, 20, 0) 45%, rgba(28, 23, 20, 0.62) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile__label { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; color: var(--paper); display: grid; gap: 4px; }
.tile__label small { font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }
.tile__label strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.125rem, 0.9rem + 1vw, 1.5rem); line-height: 1.15; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
/* "Ofertas" among the home's categories (HomeController::saleTile()): the deepest discount as a pill. */
.tile.is-sale, .collection.is-sale .collection__media { background: #000; }
.tile-sale-badge {
    position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 11px; border-radius: 99px;
    background: #000; color: #fff; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6);
}

/* Horizontal rail on phones, grid on larger screens */
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
@media (min-width: 600px) { .rail { grid-auto-columns: 40%; } }
@media (min-width: 900px) {
    .rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); gap: 24px; overflow: visible; margin-inline: 0; padding-inline: 0; }
    .rail--three { grid-template-columns: repeat(3, 1fr); }
}

.editorial { display: grid; gap: 40px; align-items: center; }
.editorial__media { position: relative; }
.editorial__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand); }
.editorial__card {
    position: relative; margin: -40px 16px 0; padding: 18px 20px; display: grid; gap: 6px;
    background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 0.875rem; color: var(--ink-soft);
}
.editorial__copy { display: grid; gap: 18px; justify-items: start; }
.editorial__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 6px; }
@media (min-width: 900px) {
    .editorial { grid-template-columns: 0.95fr 1fr; gap: clamp(48px, 7vw, 104px); }
    .editorial__card { position: absolute; right: -28px; bottom: -28px; max-width: 290px; margin: 0; }
    .editorial__copy { max-width: 520px; }
}

.promo { position: relative; display: grid; align-items: center; min-height: 300px; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 244, 236, 0.94) 0%, rgba(251, 244, 236, 0.7) 55%, rgba(251, 244, 236, 0.1) 100%); }
.promo--plain::after { display: none; }
.promo__copy { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; max-width: 520px; padding: clamp(28px, 5vw, 64px); }

.insta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.insta__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.insta__item:hover img { transform: scale(1.06); }
.insta__icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); background: rgba(28, 23, 20, 0.28); opacity: 0; transition: opacity 0.3s var(--ease); }
.insta__item:hover .insta__icon, .insta__item:focus-visible .insta__icon { opacity: 1; }
.insta__item:nth-child(5) { display: none; }
@media (min-width: 768px) {
    .insta { grid-template-columns: repeat(5, 1fr); gap: 16px; }
    .insta__item:nth-child(5) { display: block; }
}

.signup {
    position: relative; overflow: hidden; display: grid; gap: 12px; justify-items: center; text-align: center;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
    background: var(--sand); border-radius: var(--radius-lg);
}
.signup::after {
    content: ""; position: absolute; right: -70px; bottom: -110px; width: 280px; height: 280px; border-radius: 50%;
    background: var(--cream); opacity: 0.6;
}
.signup > * { position: relative; z-index: 1; }
.signup__form { display: grid; gap: 10px; width: 100%; max-width: 480px; margin-top: 8px; }
.signup__form input { min-height: 50px; padding: 0 16px; background: var(--paper); border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 1rem; }
.signup__form input:focus { outline: none; border-color: var(--ink); }
.signup__note { font-size: 0.75rem; color: var(--ink-soft); }
@media (min-width: 560px) { .signup__form { grid-template-columns: 1fr auto; } }

/* ---------- 6. Product card ---------- */
/* position: relative keeps the card's screen-reader-only text inside it: anchored
   further up, it escaped the rail's scroll clipping and widened the page on phones. */
.card { position: relative; display: grid; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); height: 100%; align-content: start; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream-deep); }
.card__media a { display: block; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.45s var(--ease); }
.card__hover { position: absolute; inset: 0; opacity: 0; }
.card--sold-out .card__media img { opacity: 0.6; }
@media (hover: hover) {
    .card:hover .card__media img:first-child { transform: scale(1.04); }
    .card:hover .card__hover { opacity: 1; }
}
.card__save { position: absolute; top: 4px; right: 4px; z-index: 2; }
.card__save button, .save-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.card__save button::before {
    content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.86); z-index: -1;
}
[data-wishlist-toggle][aria-pressed="true"] .icon { fill: var(--accent); stroke: var(--accent); }
[data-wishlist-toggle] .icon { transition: transform 0.2s var(--ease); }
[data-wishlist-toggle]:active .icon { transform: scale(0.85); }
.card__body { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 14px 16px; }
.card__name { font-family: var(--font-display); font-weight: 400; font-size: 1rem; line-height: 1.3; }
.card__price { font-size: 0.9375rem; font-weight: 500; white-space: nowrap; text-align: right; }
.card__price s { display: block; font-weight: 400; font-size: 0.8125rem; }
.price--sale { color: var(--accent-deep); }
.card__desc { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.45; }
.swatches { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; padding-top: 8px; }
.swatches li { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(28, 23, 20, 0.18); }
.swatches__more { width: auto !important; height: auto !important; border: 0 !important; font-size: 0.6875rem; color: var(--ink-faint); }

/* ---------- 7. Shop listing ---------- */
.page-head { padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 32px); display: grid; gap: 10px; }
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); line-height: 1.08; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sand-deep); }

.cat-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
.cat-nav::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 0 16px;
    border: 1px solid var(--sand-deep); border-radius: 999px; background: var(--paper);
    font-size: 0.8125rem; white-space: nowrap; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current="page"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip--remove { min-height: 34px; padding: 0 8px 0 12px; font-size: 0.75rem; background: var(--cream-deep); }

.toolbar {
    position: sticky; top: var(--header-h); z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-block: 20px 16px; padding-block: 10px; background: var(--cream); border-bottom: 1px solid var(--sand);
}
.toolbar__count { font-size: 0.8125rem; color: var(--ink-soft); }
.toolbar__sort { display: flex; align-items: center; gap: 8px; }
.toolbar__sort select {
    appearance: none; min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--sand-deep); border-radius: var(--radius-sm);
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231c1714' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    font-size: 0.875rem; max-width: 52vw;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.shop { display: grid; gap: 32px; align-items: start; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) {
    .shop { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
    .toolbar { top: var(--header-h); }
    .toolbar [data-sheet-open] { display: none; }
}
@media (min-width: 1280px) { .grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.filters { display: grid; gap: 24px; }
.filters__group { display: grid; gap: 12px; margin: 0; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--sand); min-width: 0; }
.filters__group legend { padding: 0; margin-bottom: 12px; }
.filters__title { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.filters__list a { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.9375rem; color: var(--ink-soft); }
.filters__list a:hover, .filters__list a[aria-current="page"] { color: var(--ink); }
.filters__list a[aria-current="page"] { font-weight: 500; }
.option-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; }
.option span {
    display: grid; place-items: center; min-width: 46px; min-height: 44px; padding: 0 12px;
    border: 1px solid var(--sand-deep); border-radius: var(--radius-sm); background: var(--paper); font-size: 0.875rem;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.option input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.option input:disabled + span { color: var(--ink-faint); background: var(--cream-deep); text-decoration: line-through; cursor: not-allowed; }
.option--color span { gap: 8px; grid-auto-flow: column; padding: 0 12px 0 8px; }
.option--color i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(28, 23, 20, 0.2); }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.price-range input { min-height: 44px; }
.filters__actions { display: grid; gap: 8px; }

/* Bottom sheet (mobile filters, size guide) */
.sheet { position: fixed; inset: 0; z-index: 140; display: grid; align-items: end; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(28, 23, 20, 0.45); opacity: 0; transition: opacity 0.3s var(--ease); }
.sheet__panel {
    position: relative; display: grid; grid-template-rows: auto 1fr auto; max-height: 88svh;
    background: var(--cream); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%); transition: transform 0.35s var(--ease);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 10px 14px 20px; border-bottom: 1px solid var(--sand); }
.sheet__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; }
.sheet__body { overflow-y: auto; padding: 20px; }
.sheet__foot { padding: 14px 20px; border-top: 1px solid var(--sand); background: var(--cream); }
@media (min-width: 768px) {
    .sheet { align-items: center; justify-items: center; }
    .sheet__panel { width: min(92vw, 620px); border-radius: var(--radius-lg); transform: translateY(24px); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
    .sheet.is-open .sheet__panel { opacity: 1; }
}
/* On desktop the filter form lives in the sidebar, not in a sheet. */
@media (min-width: 1024px) {
    .sheet--inline { position: static; display: block; z-index: auto; }
    .sheet--inline[hidden] { display: block !important; }
    .sheet--inline .sheet__backdrop, .sheet--inline .sheet__head { display: none; }
    .sheet--inline .sheet__panel { display: block; width: auto; max-height: none; background: none; border-radius: 0; transform: none; opacity: 1; padding: 0; }
    .sheet--inline .sheet__body { overflow: visible; padding: 0; }
    .sheet--inline .sheet__foot { padding: 20px 0 0; border: 0; background: none; }
    .sheet--inline .filters { position: sticky; top: calc(var(--header-h) + 76px); }
}

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
    display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px;
    border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 0.9375rem;
}
.pagination a:hover { border-color: var(--sand-deep); }
.pagination [aria-current="page"] { background: var(--ink); color: var(--paper); }
.pagination .is-disabled { color: var(--sand-deep); }

.empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: clamp(48px, 10vw, 112px) 0; }
.empty h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; }
.empty p { color: var(--ink-soft); max-width: 42ch; }

/* ---------- 8. Product page / cart ---------- */
.pdp { display: grid; gap: 28px; padding-top: 16px; }
.gallery { position: relative; margin-inline: calc(var(--gutter) * -1); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 3 / 4; background: var(--cream-deep); }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
/* A video is shown whole (a phone's 9:16 in the 3:4 frame), over a blur of the product's photo. */
.gallery__slide--video { position: relative; overflow: hidden; background: var(--cream-deep); }
.gallery__slide--video::before { content: ""; position: absolute; inset: -40px; background: var(--poster, none) center / cover no-repeat; filter: blur(28px) saturate(1.05); opacity: 0.6; }
.gallery__slide video { position: relative; width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.gallery__video-toggle { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: 0 2px 10px rgba(28, 23, 20, 0.2); }
.gallery__video-toggle .is-pause, .gallery__video-toggle.is-playing .is-play { display: none; }
.gallery__video-toggle.is-playing .is-pause { display: block; }
.gallery__video-link { display: inline-flex; align-items: center; gap: 8px; margin: 12px var(--gutter) 0; padding: 9px 16px; border: 1px solid var(--line-strong, rgba(28, 23, 20, 0.2)); border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.gallery__video-link:hover { border-color: var(--ink); }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.gallery__dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px rgba(28, 23, 20, 0.15); }
.gallery__dots button[aria-current="true"] { background: var(--ink); }
.gallery__thumbs { display: none; }
.gallery .badge { left: calc(var(--gutter) - 6px); top: 14px; }

.pdp__info { display: grid; gap: 20px; align-content: start; }
.pdp__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); line-height: 1.12; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; font-size: 1.375rem; font-weight: 500; }
.pdp__price s { font-size: 1rem; font-weight: 400; }
.pdp__short { color: var(--ink-soft); }
.pdp__group { display: grid; gap: 10px; }
.pdp__group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pdp__group-head .label strong { color: var(--ink); letter-spacing: 0.02em; text-transform: none; font-weight: 500; }
.text-link { font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.pdp__stock { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-soft); min-height: 22px; }
.pdp__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.pdp__stock.is-low::before { background: #c98a2b; }
.pdp__stock.is-out::before { background: var(--error); }
.pdp__stock:empty { display: none; }
.pdp__buy { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.save-btn { border: 1px solid var(--sand-deep); border-radius: var(--radius-sm); width: 50px; height: 50px; background: var(--paper); }
.pdp__perks { display: grid; gap: 10px; padding: 18px; background: var(--paper); border-radius: var(--radius); font-size: 0.875rem; color: var(--ink-soft); }
.pdp__perks li { display: flex; gap: 12px; align-items: flex-start; }
.pdp__perks .icon { color: var(--ink); margin-top: 1px; }

.accordion { border-top: 1px solid var(--sand); }
.accordion details { border-bottom: 1px solid var(--sand); }
.accordion summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; list-style: none;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform 0.25s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion__body { padding-bottom: 20px; color: var(--ink-soft); }

.prose { display: grid; gap: 14px; color: var(--ink-soft); line-height: 1.7; }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: 1.375rem; margin-top: 12px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.prose table, .size-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td, .size-table th, .size-table td { padding: 12px 10px; border-bottom: 1px solid var(--sand); text-align: left; }
.prose th, .size-table th { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* Sticky buy bar on phones */
.buybar {
    position: fixed; inset: auto 0 0 0; z-index: 85;
    display: flex; align-items: center; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98); border-top: 1px solid var(--sand);
    transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.buybar.is-visible { transform: none; }
.buybar__info { min-width: 0; flex: 1; line-height: 1.3; }
.buybar__name { font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-weight: 500; }
.buybar .btn { flex: none; padding-inline: 20px; }

@media (min-width: 900px) {
    .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); padding-top: 24px; }
    .gallery { margin: 0; display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
    .gallery__track { grid-column: 2; grid-row: 1; border-radius: var(--radius); }
    /* A product with a single photo has no thumbnail strip: the photo takes the whole width. */
    .gallery:not(:has(.gallery__thumbs)) { grid-template-columns: 1fr; }
    .gallery:not(:has(.gallery__thumbs)) .gallery__track { grid-column: 1; }
    .gallery:not(:has(.gallery__thumbs)) .badge { left: 14px; }
    .gallery__thumbs { display: grid; gap: 10px; align-content: start; grid-column: 1; grid-row: 1; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
    .gallery__thumbs button { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; opacity: 0.6; border: 1px solid transparent; transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease); }
    .gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; border-color: var(--ink); }
    .gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
    .gallery__thumb-video { position: relative; background: var(--ink); }
    .gallery__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: 0 2px 8px rgba(28, 23, 20, 0.25); }
    .gallery__video-link { grid-column: 2; margin: 0; justify-self: start; }
    .gallery:not(:has(.gallery__thumbs)) .gallery__video-link { grid-column: 1; }
    .gallery__dots { display: none; }
    .gallery .badge { left: 104px; }
    .buybar { display: none; }
}

/* Cart */
.cart { display: grid; gap: 32px; align-items: start; }
.cart__lines { display: grid; }
.line { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--sand); }
.line:first-child { border-top: 1px solid var(--sand); }
.line__img { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-deep); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.line__top { display: flex; justify-content: space-between; gap: 12px; }
.line__name { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.3; }
.line__meta { font-size: 0.8125rem; color: var(--ink-soft); }
.line__total { font-weight: 500; white-space: nowrap; }
.line__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.line__remove { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 0.8125rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--error); }

.summary { display: grid; gap: 16px; padding: 24px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.summary h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; }
.summary__rows { display: grid; gap: 10px; font-size: 0.9375rem; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 16px; }
.summary__rows dt { color: var(--ink-soft); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--sand); font-size: 1.125rem; font-weight: 500; }
.summary__note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.8125rem; color: var(--ink-soft); }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.coupon input { min-height: 46px; padding: 0 12px; border: 1px solid var(--sand-deep); border-radius: var(--radius-sm); background: var(--paper); font-size: 1rem; text-transform: uppercase; }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); background: #f6ead5; color: #5f430f; font-size: 0.9375rem; }
@media (min-width: 900px) {
    .cart { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
    .cart .summary { position: sticky; top: calc(var(--header-h) + 24px); }
    .line { grid-template-columns: 116px 1fr; gap: 20px; }
}

/* ---------- 9. Checkout ---------- */
.checkout { display: grid; gap: 28px; align-items: start; padding-top: 8px; }
.checkout__main { display: grid; gap: 28px; }
.panel { display: grid; gap: 18px; padding: 22px 20px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.panel__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.panel__title span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-body); font-size: 0.75rem; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card__box {
    display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center;
    padding: 14px 16px; border: 1px solid var(--sand-deep); border-radius: var(--radius-sm);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.radio-card__box::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink-faint); grid-row: span 2; transition: border-width 0.15s var(--ease), border-color 0.15s var(--ease); }
.radio-card input:checked + .radio-card__box { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.radio-card input:checked + .radio-card__box::before { border: 6px solid var(--ink); }
.radio-card input:focus-visible + .radio-card__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.radio-card__name { font-weight: 500; }
.radio-card__price { font-weight: 500; grid-row: span 2; }
.radio-card__desc { grid-column: 2; font-size: 0.8125rem; color: var(--ink-soft); }
.pay-error { color: var(--error); font-size: 0.9375rem; }
.pay-error:empty { display: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-note { padding: 14px 16px; border: 1px dashed var(--accent); border-radius: var(--radius-sm); background: #fbf1e7; font-size: 0.9375rem; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 0.8125rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--sand); }

.order-summary { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.order-summary > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none;
    font-size: 0.9375rem;
}
.order-summary > summary::-webkit-details-marker { display: none; }
.order-summary > summary span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.order-summary > summary .icon { transition: transform 0.25s var(--ease); }
.order-summary[open] > summary .icon { transform: rotate(180deg); }
.order-summary__body { display: grid; gap: 16px; padding: 0 20px 20px; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 0.875rem; }
.mini-line__img { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); background: var(--cream-deep); }
.mini-line__img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.mini-line__img b { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 0.6875rem; font-weight: 500; }
.mini-line small { display: block; color: var(--ink-soft); }
@media (min-width: 960px) {
    .checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
    .checkout__aside { position: sticky; top: calc(var(--header-h) + 24px); order: 2; }
    .order-summary > summary { pointer-events: none; font-family: var(--font-display); font-size: 1.25rem; }
    .order-summary > summary .icon, .order-summary > summary strong { display: none; }
    .panel { padding: 28px; }
}

.confirm { display: grid; gap: 24px; justify-items: center; text-align: center; padding-block: clamp(40px, 8vw, 88px) 24px; }
.confirm__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.confirm__mark--wait { background: var(--sand); color: var(--ink); }
.confirm h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.875rem, 1.4rem + 2.4vw, 2.75rem); line-height: 1.12; }
.confirm p { color: var(--ink-soft); max-width: 52ch; }
.receipt { display: grid; gap: 20px; text-align: left; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; counter-reset: step; }
.steps li { position: relative; display: grid; justify-items: center; gap: 8px; padding-top: 4px; font-size: 0.6875rem; letter-spacing: 0.06em; text-align: center; color: var(--ink-faint); }
.steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--sand-deep); position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--sand-deep); }
.steps li:first-child::after { display: none; }
.steps li.is-done { color: var(--ink); }
.steps li.is-done::before, .steps li.is-done::after { background: var(--ink); }
.address { font-style: normal; color: var(--ink-soft); line-height: 1.6; }

/* ---------- 10. Account + pages ---------- */
.auth { display: grid; gap: 24px; max-width: 440px; margin-inline: auto; padding-block: clamp(32px, 7vw, 80px) 16px; }
.auth__head { display: grid; gap: 8px; text-align: center; }
.auth__head h1 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }
.auth__head p { color: var(--ink-soft); }
.auth form { display: grid; gap: 16px; }
.auth__alt { text-align: center; font-size: 0.9375rem; color: var(--ink-soft); }
.auth__alt a, .auth form a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

.account { display: grid; gap: 28px; align-items: start; padding-bottom: 24px; }
.account__nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.account__nav::-webkit-scrollbar { display: none; }
.account__main { display: grid; gap: 24px; min-width: 0; }
.account__main h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
@media (min-width: 900px) {
    .account { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
    .account__nav { display: grid; gap: 4px; margin: 0; padding: 0; overflow: visible; }
    .account__nav .chip { border: 0; background: none; border-radius: var(--radius-sm); justify-content: flex-start; padding: 0 12px; min-height: 44px; }
    .account__nav .chip:hover { background: var(--cream-deep); }
    .account__nav .chip[aria-current="page"] { background: var(--ink); color: var(--paper); }
}
.order-list { display: grid; gap: 12px; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 20px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.order-row:hover { box-shadow: var(--shadow); }
.order-row__num { font-weight: 500; }
.order-row__meta { font-size: 0.875rem; color: var(--ink-soft); }
.order-row__total { font-weight: 500; text-align: right; }
.cols-2 { display: grid; gap: 20px; }
@media (min-width: 700px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

.about-hero { display: grid; gap: 32px; align-items: center; }
.about-hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text { display: grid; gap: 16px; color: var(--ink-soft); font-size: 1.0625rem; }
.values { display: grid; gap: 20px; }
.value { display: grid; gap: 8px; padding: 24px; background: var(--paper); border-radius: var(--radius); }
.value h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.value p { color: var(--ink-soft); }
@media (min-width: 900px) {
    .about-hero { grid-template-columns: 0.9fr 1fr; gap: 72px; }
    .values { grid-template-columns: repeat(3, 1fr); }
}
.contact { display: grid; gap: 32px; }
.contact__info { display: grid; gap: 18px; align-content: start; }
.contact__info li { display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.8fr 1fr; gap: 72px; } }

.error-page { min-height: 100svh; display: grid; place-items: center; padding: 32px 20px; text-align: center; }
.error-page > div { display: grid; gap: 16px; justify-items: center; max-width: 480px; }
.error-page__code { font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--sand-deep); }

/* ---------- 11. Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease) var(--delay, 0ms), transform 0.7s var(--ease) var(--delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Entrance of the hero. Pure CSS, so it plays without waiting for scripts. */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
@keyframes settle { from { scale: 1.1; } to { scale: 1; } }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-22px, -16px, 0); } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -8px; } }

.hero__media img { animation: settle 2.8s var(--ease-out) both; }
.hero__line { display: block; overflow: hidden; padding: 0.06em 0.1em 0.16em 0; margin: -0.06em 0 -0.16em; }
.hero__line > * { display: block; animation: line-up 1.15s var(--ease-out) 0.2s both; }
.hero__line + .hero__line > * { animation-delay: 0.34s; }
.hero__copy > .eyebrow, .hero__text, .hero__actions, .hero__stats { animation: rise 0.9s var(--ease) both; }
.hero__copy > .eyebrow { animation-delay: 0.05s; }
.hero__text { animation-delay: 0.6s; }
.hero__actions { animation-delay: 0.74s; }
.hero__stats { animation-delay: 0.9s; }

/* Parallax: lianas.js writes --p (hero: 0 → 1 while it scrolls away;
   others: -1 → 1 across the viewport). Without the script --p stays 0. */
[data-parallax] { will-change: transform; }
[data-parallax="hero"] { transform: translate3d(0, calc(var(--p, 0) * 12%), 0); }
[data-parallax=""] { transform: translate3d(0, calc(var(--p, 0) * -5%), 0) scale(1.14); }

/* Photos open like a curtain instead of fading. */
/* The clip goes on the photo, not on the tile: a fully clipped element
   never counts as visible for the IntersectionObserver that reveals it. */
.tile.reveal { opacity: 1; transform: none; background: transparent; transition: background-color 0.6s var(--ease) var(--delay, 0ms); }
.tile.reveal.is-in { background: var(--sand); }
.tile.reveal img { clip-path: inset(0 0 100% 0); transform: scale(1.18); transition: clip-path 1.15s var(--ease-out) var(--delay, 0ms), transform 1.7s var(--ease-out) var(--delay, 0ms), scale 0.9s var(--ease); }
.tile.reveal.is-in img { clip-path: inset(0 0 0 0); transform: none; }
.tile.reveal::after, .tile.reveal .tile__label { opacity: 0; transition: opacity 0.8s var(--ease) calc(var(--delay, 0ms) + 450ms), transform 0.5s var(--ease-out); }
.tile.reveal.is-in::after, .tile.reveal.is-in .tile__label { opacity: 1; }
.editorial__frame { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand); }
.editorial__frame img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.reveal .editorial__frame { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.2s var(--ease-out) 0.1s; }
.reveal.is-in .editorial__frame { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal .editorial__card { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease) 0.7s, transform 0.8s var(--ease) 0.7s; }
.reveal.is-in .editorial__card { opacity: 1; transform: none; }
.reveal .eyebrow--rule::before { width: 0; transition: width 0.9s var(--ease-out) 0.35s; }
.reveal.is-in .eyebrow--rule::before { width: 28px; }

/* Rows arrive one item after another. */
.rail__item.reveal:nth-child(4n + 2), .insta__item.reveal:nth-child(2) { --delay: 90ms; }
.rail__item.reveal:nth-child(4n + 3), .insta__item.reveal:nth-child(3) { --delay: 180ms; }
.rail__item.reveal:nth-child(4n + 4), .insta__item.reveal:nth-child(4) { --delay: 270ms; }
.insta__item.reveal:nth-child(5) { --delay: 360ms; }

.site-header { transition: box-shadow 0.25s var(--ease), background-color 0.35s var(--ease); }
.site-header.is-stuck { background: rgba(255, 255, 255, 0.84); backdrop-filter: saturate(160%) blur(16px); }

.link-arrow { position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }

.tile::before { content: ""; position: absolute; inset: 10px; z-index: 1; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 3px; opacity: 0; transform: scale(1.04); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out); pointer-events: none; }
.tile__label { transition: transform 0.5s var(--ease-out); }
.tile__cta { display: inline-flex; align-items: center; gap: 6px; max-height: 0; overflow: hidden; opacity: 0; font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; transition: max-height 0.5s var(--ease-out), opacity 0.4s var(--ease), margin-top 0.5s var(--ease-out); }

.card { transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out); }
.card__name a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease-out); }
.card__view { display: none; }

.signup::before { content: ""; position: absolute; left: -90px; top: -120px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(28, 23, 20, 0.08); }
.signup::after { animation: drift 9s ease-in-out infinite alternate; }

@media (min-width: 900px) {
    .editorial__card { animation: bob 5s ease-in-out 1.6s infinite alternate; }
}

@media (hover: hover) {
    /* Buttons fill from below instead of switching colour. */
    .btn { position: relative; isolation: isolate; overflow: hidden; }
    .btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; transform: translateY(102%); transition: transform 0.5s var(--ease-out); }
    .btn--dark::before { background: #8a5a3c; }
    .btn--light::before { background: var(--ink); }
    .btn:hover::before { transform: none; }
    .btn--dark:hover { background: var(--ink); border-color: #8a5a3c; }
    .btn--light:hover { color: var(--paper); border-color: var(--ink); }
    .btn[disabled]::before, .btn[aria-disabled="true"]::before { display: none; }
    .btn--light[disabled]:hover, .btn--light[aria-disabled="true"]:hover { color: var(--ink); border-color: var(--sand-deep); }

    .link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

    .tile:hover img { transform: none; scale: 1.07; }
    .tile:hover::before { opacity: 1; transform: none; }
    .tile:hover .tile__label { transform: translateY(-4px); }
    .tile:hover .tile__cta { max-height: 24px; opacity: 1; margin-top: 6px; }

    .card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(28, 23, 20, 0.34); }
    .card:hover .card__media img:first-child { transform: scale(1.06); }
    .card:hover .card__name a { background-size: 100% 1px; }
    .card__view {
        display: block; position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px 10px; text-align: center;
        font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
        background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); border-radius: var(--radius-sm);
        opacity: 0; transform: translateY(14px); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out);
    }
    .card:hover .card__view { opacity: 1; transform: none; }
    .card--sold-out .card__view { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    .reveal { opacity: 1; transform: none; }
    .reveal .editorial__frame, .tile.reveal img { clip-path: none; }
    .tile.reveal img { transform: none; }
    .tile.reveal::after, .tile.reveal .tile__label { opacity: 1; }
    .reveal .editorial__card { opacity: 1; transform: none; }
    [data-parallax="hero"] { transform: none; }
    .signup::after, .editorial__card { animation: none; }
}

@media print {
    .site-header, .site-footer, .tabbar, .announce, .buybar, .toast, .drawer { display: none !important; }
    body { background: #fff; padding: 0; }
}

/* Grid children default to min-width:auto and would push these layouts
   wider than a phone screen; let them shrink instead. */
.cart > *, .checkout > *, .shop > *, .pdp > *, .account > *, .editorial > * { min-width: 0; }
.line__top > div { min-width: 0; }
fieldset.pdp__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.summary > *, .panel > *, .order-summary__body > * { min-width: 0; }
.coupon input { min-width: 0; width: 100%; }
.summary__rows dd { text-align: right; }

/* ---------- Reviews, Club VIP, consent ---------- */
.stars { color: var(--accent); letter-spacing: 0.08em; font-size: 0.9375rem; }
.stars__off { color: var(--sand-deep); }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-soft); min-height: 32px; }
.pdp__rating:hover { color: var(--ink); }
.reviews { display: grid; gap: 14px; }
.review { display: grid; gap: 6px; padding: 18px 20px; background: var(--paper); border-radius: var(--radius); }
.review h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.0625rem; }
.review__meta { font-size: 0.8125rem; color: var(--ink-soft); }
/* Star picker: five radios laid out right-to-left so that hovering or
   checking one lights it and every star before it, with CSS alone. */
.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; margin: 0; padding: 0; position: relative; padding-top: 26px; }
.rating-input legend { position: absolute; top: 0; left: 0; padding: 0; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 2rem; line-height: 1; color: var(--sand-deep); cursor: pointer; padding: 4px 3px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--accent); }
.rating-input input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.check span { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.45; }
.check { align-items: flex-start; }
.check input { margin-top: 2px; flex: none; }
.site-footer__consent { font-size: 0.75rem; color: var(--ink-faint); line-height: 1.45; }
.checkout__coupon { gap: 10px; }
@media (min-width: 960px) { .checkout__coupon { grid-column: 1; } }
/* ---------- Phones: tighter home and footer ---------- */
.editorial--text { grid-template-columns: 1fr; }
.editorial--text .editorial__copy { max-width: 640px; }
.editorial__note { display: grid; gap: 6px; margin-top: 10px; padding: 18px 20px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-soft); font-size: 0.875rem; color: var(--ink-soft); }

@media (max-width: 767px) {
    /* Hero: the headline rides up over the foot of the photo instead of
       starting below it, so photo and message share the first screen. */
    .hero__media { height: min(60svh, 500px); }
    .hero__media::after {
        background: linear-gradient(180deg, rgba(251, 244, 236, 0) 42%, rgba(251, 244, 236, 0.62) 62%, rgba(251, 244, 236, 0.93) 80%, var(--cream) 100%);
    }
    .hero__inner { margin-top: -176px; padding-block: 0 28px; }
    .hero__copy { gap: 14px; }
    .hero__title { font-size: clamp(2.5rem, 1.4rem + 6vw, 3.5rem); }
    .hero__text { font-size: 1rem; line-height: 1.55; }
    .hero__actions { width: 100%; gap: 10px; }
    /* Each button takes the room its label needs; if the two do not fit on
       one row they wrap and each fills the width. */
    .hero__actions .btn { flex: 1 1 auto; min-height: 48px; padding-inline: 14px; font-size: 0.6875rem; letter-spacing: 0.1em; white-space: nowrap; }
    .hero__actions .btn .icon { display: none; }
    .announce { padding-block: 7px; font-size: 0.625rem; letter-spacing: 0.1em; }
    .hero__stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--sand-deep); }
    .hero__stats > div { padding-inline: 12px; border-left: 1px solid var(--sand-deep); }
    .hero__stats > div:first-child { padding-left: 0; border-left: 0; }
    .hero__stats dt { font-size: 1.25rem; }
    .hero__stats dd { font-size: 0.5625rem; letter-spacing: 0.14em; line-height: 1.4; }

    .section { padding-block: 40px; }
    .section--flush { padding-top: 0; }
    .section-head { margin-bottom: 20px; }
    .editorial { gap: 28px; }
    .editorial__copy { gap: 14px; }
    .signup { padding: 36px 20px; }

    /* Footer: brand in one row, the two link lists side by side. */
    .site-footer { margin-top: 16px; padding-top: 36px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .site-footer__brand, .site-footer__club { grid-column: 1 / -1; }
    .site-footer__brand { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
    .site-footer__logo { width: 60px; height: 60px; margin: 0; grid-row: span 2; }
    .site-footer__name { margin: 0; font-size: 1.25rem; align-self: end; }
    .site-footer__about { font-size: 0.875rem; max-width: none; }
    .site-footer__brand .site-footer__about { align-self: start; }
    .site-footer__brand .social { grid-column: 1 / -1; }
    .site-footer li a { padding: 6px 0; font-size: 0.875rem; }
    .site-footer__base { margin-top: 28px; }
    /* The home page ends with the newsletter panel: no second form right under it. */
    .is-home .site-footer__club { display: none; }
}

/* ---------- Uploaded logo: shown whole, not cropped to a circle ---------- */
.brand__logo--full { width: auto; height: 46px; max-width: 132px; border-radius: 0; object-fit: contain; }
.site-footer__logo--full { width: auto; height: 104px; max-width: 220px; border-radius: 0; object-fit: contain; }
@media (min-width: 1024px) { .brand__logo--full { height: 58px; max-width: 170px; } }
@media (max-width: 767px) { .site-footer__logo--full { width: auto; height: 68px; max-width: 120px; } }

/* ---------- Hero on phones: the headline sits over the photo ---------- */
@media (max-width: 767px) {
    .hero { --hero-h: min(62svh, 520px); }
    .hero__media { height: var(--hero-h); }
    /* Two veils: one from the left, behind the words, and one that melts
       the foot of the photo into the page. */
    .hero__media::after {
        background:
            linear-gradient(180deg, rgba(251, 244, 236, 0) 55%, rgba(251, 244, 236, 0.8) 86%, var(--cream) 100%),
            linear-gradient(90deg, rgba(251, 244, 236, 0.9) 0%, rgba(251, 244, 236, 0.66) 48%, rgba(251, 244, 236, 0.12) 82%, rgba(251, 244, 236, 0) 100%);
    }
    .hero__inner { margin-top: calc(var(--hero-h) * -0.86); }
}

/* ============================================================
   Customer portal
   ============================================================ */
.portal { --portal-line: #ece2d6; --portal-radius: 14px; --portal-shadow: 0 1px 2px rgba(60, 40, 25, 0.04), 0 10px 30px -22px rgba(60, 40, 25, 0.35); padding-bottom: 56px; }
.portal__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: clamp(24px, 4vw, 44px) clamp(18px, 3vw, 28px); }
.portal__head > div { display: grid; gap: 6px; }
.portal__head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); line-height: 1.1; }
.portal__lead { color: var(--ink-soft); }
.portal__body { display: grid; gap: 24px; align-items: start; }
.portal__side { display: grid; gap: 14px; min-width: 0; }
.portal__main { display: grid; gap: 20px; min-width: 0; }

/* Profile card */
.portal-profile { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 18px; background: var(--paper); border: 1px solid var(--portal-line); border-radius: var(--portal-radius); box-shadow: var(--portal-shadow); }
.portal-profile__avatar { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #f4e6d8, #e8d3bf); color: var(--accent-deep); font-family: var(--font-display); font-size: 1.4rem; }
.portal-profile__info { display: grid; gap: 1px; min-width: 0; line-height: 1.3; }
.portal-profile__info strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-profile__info span { font-size: 0.8125rem; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-vip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; grid-column: 1 / -1; margin-top: 10px; padding: 4px 12px; border-radius: 99px; background: var(--ink); color: #f3e3c4; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.portal-vip--lg { margin: 0 0 4px; }

/* Menu */
.portal-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.portal-nav::-webkit-scrollbar { display: none; }
.portal-nav a, .portal-nav button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--portal-line); border-radius: 99px; background: var(--paper); color: var(--ink-soft); font-size: 0.875rem; white-space: nowrap; transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease); }
.portal-nav a:hover, .portal-nav button:hover { color: var(--ink); border-color: var(--sand-deep); }
.portal-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.portal-nav small { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; border-radius: 99px; background: var(--cream-deep); color: var(--ink-soft); font-size: 0.6875rem; font-weight: 500; }
.portal-nav a[aria-current="page"] small { background: rgba(255, 255, 255, 0.18); color: var(--paper); }
.portal-nav__logout { display: contents; }

/* Cards */
.portal-card { display: grid; gap: 14px; padding: 22px; background: var(--paper); border: 1px solid var(--portal-line); border-radius: var(--portal-radius); box-shadow: var(--portal-shadow); min-width: 0; }
.portal-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portal-card__head h2, .portal-section-head h2, .portal-subtitle { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.portal-card__head .link-arrow { padding-block: 4px; }
.portal-card--soft { background: linear-gradient(180deg, #fffaf4, var(--paper)); }
.portal-card--club { background: radial-gradient(500px 220px at 100% 0%, #f6e8d8 0%, transparent 70%), var(--paper); }
.portal-card__intro { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding-bottom: 6px; }
.portal-card__intro h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.portal-card__intro p { grid-column: 2; color: var(--ink-faint); font-size: 0.875rem; }
.portal-card__icon { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--cream-deep); color: var(--accent-deep); }
.portal-section-head { display: grid; gap: 4px; }
.portal-section-head p { color: var(--ink-soft); }

/* Figures */
.portal-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.portal-stat { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--paper); border: 1px solid var(--portal-line); border-radius: var(--portal-radius); box-shadow: var(--portal-shadow); transition: border-color 0.15s var(--ease), transform 0.15s var(--ease); min-width: 0; }
.portal-stat:hover { border-color: var(--sand-deep); transform: translateY(-1px); }
.portal-stat > span:last-child { display: grid; min-width: 0; }
.portal-stat small { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.portal-stat strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-stat__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--cream-deep); color: var(--accent-deep); }
.portal-stat.is-vip { background: linear-gradient(135deg, #2a221d, var(--ink)); border-color: var(--ink); color: var(--paper); }
.portal-stat.is-vip small { color: #cdb99f; }
.portal-stat.is-vip .portal-stat__icon { background: rgba(255, 255, 255, 0.1); color: #f3e3c4; }

/* Shortcuts */
.portal-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.portal-shortcut { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--portal-line); border-radius: var(--portal-radius); background: var(--paper); color: var(--accent-deep); transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); min-width: 0; }
.portal-shortcut:hover { border-color: var(--sand-deep); box-shadow: var(--portal-shadow); }
.portal-shortcut > span { display: grid; min-width: 0; color: var(--ink); line-height: 1.3; }
.portal-shortcut strong { font-weight: 500; font-size: 0.9375rem; }
.portal-shortcut small { color: var(--ink-faint); font-size: 0.8125rem; }
.portal-grid { display: grid; gap: 20px; }

/* Orders */
.order-list { display: grid; gap: 12px; }
.order-list--compact { margin-top: 4px; }
.order-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; background: var(--paper); border: 1px solid var(--portal-line); border-radius: var(--portal-radius); transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.order-card:hover { border-color: var(--sand-deep); box-shadow: var(--portal-shadow); }
.order-card__thumbs { display: flex; align-items: center; }
.order-card__thumbs img { width: 52px; height: 68px; object-fit: cover; border-radius: 8px; border: 2px solid var(--paper); background: var(--cream-deep); box-shadow: 0 2px 8px -4px rgba(60, 40, 25, 0.4); }
.order-card__thumbs img + img { margin-left: -18px; }
.order-card__more { margin-left: -12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--paper); background: var(--ink); color: var(--paper); font-size: 0.6875rem; font-weight: 500; }
.order-card__info { display: grid; gap: 6px; min-width: 0; }
.order-card__top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.order-card__top strong { font-weight: 500; }
.order-card__meta { font-size: 0.8125rem; color: var(--ink-faint); }
.order-card__total { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.order-card__total .icon { color: var(--ink-faint); }

/* Delivery progress */
.progress { --at: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 4px 0 0; padding: 0; }
.progress::before, .progress::after { content: ""; position: absolute; top: 5px; left: 12.5%; height: 2px; border-radius: 2px; }
.progress::before { right: 12.5%; background: var(--sand); }
.progress::after { width: calc(75% * var(--at) / 3); background: var(--ink); }
.progress li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--ink-faint); text-align: center; }
.progress li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--sand-deep); }
.progress li.is-done::before { background: var(--ink); border-color: var(--ink); }
.progress li[aria-current="step"]::before { box-shadow: 0 0 0 4px rgba(161, 108, 75, 0.2); background: var(--accent); border-color: var(--accent); }
.progress li.is-done { color: var(--ink); }
.progress-dates { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: -6px 0 0; padding: 0; font-size: 0.6875rem; color: var(--ink-faint); text-align: center; }
.portal-tracking { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 12px 14px; border-radius: 10px; background: var(--cream); font-size: 0.875rem; }
.portal-tracking .text-link { min-height: 0; margin-left: auto; }

/* Order detail */
.portal-order-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.portal-order-head > div:first-child { display: grid; gap: 4px; }
.portal-order-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); }
.portal-order-head__side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.portal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.portal-back:hover { color: var(--ink); }
.portal-detail { display: grid; gap: 20px; align-items: start; }
.portal-detail__side { display: grid; gap: 20px; }
.portal-items { list-style: none; margin: 0; padding: 0; display: grid; }
.portal-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--portal-line); }
.portal-items li:last-child { border-bottom: 0; padding-bottom: 0; }
.portal-items li:first-child { padding-top: 0; }
.portal-items img { width: 64px; height: 84px; object-fit: cover; border-radius: 8px; background: var(--cream-deep); }
.portal-items span { display: grid; gap: 2px; min-width: 0; }
.portal-items strong { font-weight: 500; }
.portal-items small { font-size: 0.8125rem; color: var(--ink-faint); }
.portal-items__total { font-weight: 500; white-space: nowrap; }
.portal-sum { display: grid; gap: 8px; margin: 0; font-size: 0.9375rem; }
.portal-sum div { display: flex; justify-content: space-between; gap: 12px; }
.portal-sum dt { color: var(--ink-soft); }
.portal-sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.portal-sum .is-less { color: var(--accent-deep); }
.portal-sum .is-less dt { color: inherit; }
.portal-sum .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--portal-line); font-size: 1.125rem; font-weight: 500; }
.portal-sum .is-total dt { color: var(--ink); }
.portal-address { display: flex; gap: 12px; font-style: normal; line-height: 1.6; color: var(--ink-soft); }
.portal-address .icon { flex: none; color: var(--accent-deep); margin-top: 2px; }
.portal-address strong { color: var(--ink); font-weight: 500; }
.portal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* Empty states */
.portal-empty { display: grid; justify-items: center; gap: 10px; padding: 28px 12px; text-align: center; }
.portal-empty__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-deep); color: var(--accent-deep); margin-bottom: 4px; }
.portal-empty h2, .portal-empty h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.portal-empty p { color: var(--ink-soft); max-width: 40ch; }
.portal-empty .btn { margin-top: 6px; }

/* Forms */
.portal-form { display: grid; gap: 20px; }
.portal-card--form .form-grid { gap: 16px 20px; }
.portal-savebar { position: sticky; bottom: calc(var(--tabbar-h, 0px) + 12px); z-index: 20; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 18px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border: 1px solid var(--portal-line); border-radius: var(--portal-radius); box-shadow: 0 -10px 30px -22px rgba(60, 40, 25, 0.45); }
.portal-savebar .muted { font-size: 0.8125rem; }

/* Favourites inside the portal */
.grid--portal { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Club VIP */
.club-public { padding-bottom: 56px; }
.club-hero { display: grid; justify-items: center; gap: 10px; padding-block: clamp(32px, 6vw, 64px) 28px; text-align: center; }
.club-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); }
.club-hero p.muted { max-width: 52ch; }
.club-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.club-benefits li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 18px; background: var(--paper); border: 1px solid #ece2d6; border-radius: 14px; }
.club-benefits h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.club-benefits p { grid-column: 2; color: var(--ink-soft); font-size: 0.9375rem; }
.club-join { justify-items: center; text-align: center; padding: 28px 22px; background: radial-gradient(600px 260px at 50% 0%, #f6e8d8 0%, transparent 70%), var(--paper); margin-top: 20px; }
.club-public .club-join { display: grid; gap: 14px; border: 1px solid #ece2d6; border-radius: 14px; }
.club-join__form { display: grid; gap: 14px; justify-items: center; max-width: 440px; }
.club-join__form h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.club-join__form .check { text-align: left; }
.club-join__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.coupons { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coupon-ticket { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px dashed var(--sand-deep); border-radius: 12px; background: #fffaf4; }
.coupon-ticket__value { padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #f3e3c4; font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; }
.coupon-ticket__body { display: grid; gap: 2px; min-width: 0; }
.coupon-ticket code { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink); }
.coupon-ticket small { font-size: 0.8125rem; color: var(--ink-faint); }
.coupon-ticket.is-spent { opacity: 0.55; }
.club-launches { display: grid; gap: 14px; }
.club-launches .promo { min-height: 220px; }
.club-email { display: grid; gap: 12px; justify-items: start; }
.club-leave { margin-top: -6px; }
.club-leave .text-link { min-height: 32px; color: var(--ink-faint); }

/* Sign-in screens: a photo with the monogram, then the form, unboxed */
.is-auth main { background: var(--paper); }
.is-auth .site-footer { margin-top: 0; }
.auth-split { display: grid; min-height: calc(100svh - var(--header-h)); }
.auth-split__media {
    position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 300px;
    padding: 28px var(--gutter) 64px; overflow: hidden; color: #fff;
    background: #2a211c var(--auth-image, none) center 22% / cover no-repeat;
}
.auth-split__media:not([style]) { background-image: radial-gradient(120% 90% at 0% 0%, rgba(201, 162, 106, 0.35), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(160, 110, 80, 0.4), transparent 65%); }
.auth-split__media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 18, 15, 0.28) 0%, rgba(24, 18, 15, 0.08) 38%, rgba(24, 18, 15, 0.78) 100%); }
.auth-split__brand { display: grid; gap: 12px; justify-items: start; max-width: 460px; }
.auth-split__monogram { width: 72px; height: 72px; margin-bottom: 4px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45)); }
.auth-split__eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: #ecd7b4; }
.auth-split__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.auth-split__perks { list-style: none; margin: 10px 0 0; padding: 0; display: none; gap: 10px; }
.auth-split__perks li {
    display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 12px; font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px;
    -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.auth-split__perks .icon { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: rgba(236, 215, 180, 0.22); color: #f3e2c4; }
.auth-split__panel { position: relative; display: grid; align-items: center; padding: 0 0 56px; }
.auth-split .auth {
    position: relative; width: 100%; max-width: none; margin: -28px 0 0; gap: 22px;
    padding: 30px max(var(--gutter), calc((100% - 440px) / 2)) 8px; background: var(--paper); border-radius: 26px 26px 0 0;
}
.auth__head { gap: 10px; }
.auth-split .auth__head { text-align: left; }
.auth-split .auth__head h1 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.01em; }
.auth-split .auth__head p { font-size: 1rem; }
.auth-split .auth__head .auth__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #a07a46; }
.auth form { gap: 14px; }
.auth .field--float { position: relative; gap: 0; }
.auth .field--float > input { min-height: 58px; padding: 25px 15px 7px; border-radius: 12px; background: #fdfaf6; }
.auth .field--float > input:focus { background: var(--paper); }
.auth .field--float > label {
    position: absolute; left: 16px; right: 16px; top: 19px; margin: 0;
    font-size: 1rem; font-weight: 400; letter-spacing: 0; line-height: 1.2; text-transform: none; color: var(--ink-faint);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
    transform-origin: 0 0; transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}
.auth .field--float > input:focus + label,
.auth .field--float > input:not(:placeholder-shown) + label,
.auth .field--float > input:-webkit-autofill + label { transform: translateY(-11px) scale(0.76); color: var(--ink-soft); }
.auth .field--float > input::placeholder { color: transparent; }
.auth .field--password > input { padding-right: 54px; }
.auth .field--password > label { right: 56px; }
.field__reveal {
    position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 10px; background: none; color: var(--ink-faint); cursor: pointer; transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field__reveal:hover { color: var(--ink); background: var(--cream); }
.field__reveal:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.field__reveal .icon + .icon, .field__reveal[aria-pressed="true"] .icon:first-child { display: none; }
.field__reveal[aria-pressed="true"] .icon + .icon { display: block; }
.auth form > .auth__forgot { justify-self: end; margin-top: -4px; font-size: 0.875rem; color: var(--ink-soft); text-decoration: none; }
.auth form > .auth__forgot:hover { color: var(--ink); text-decoration: underline; }
.auth__submit, .auth__secondary { min-height: 56px; border-radius: 14px; }
.auth__submit { margin-top: 4px; box-shadow: 0 14px 30px -18px rgba(28, 23, 20, 0.7); }
.auth__submit:hover { transform: translateY(-1px); }
.auth__consent { font-size: 0.875rem; color: var(--ink-soft); }
.auth__divider { display: flex; align-items: center; gap: 14px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--sand); }
.auth__guest { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--cream); font-size: 0.875rem; color: var(--ink-soft); }
.auth__guest .icon { flex: none; margin-top: 1px; color: #a07a46; }
.auth__guest a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.auth__alt a { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 960px) {
    .auth-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    .auth-split__media { min-height: 0; padding: 56px; }
    .auth-split__monogram { width: 120px; height: 120px; }
    .auth-split__perks { display: grid; }
    .auth-split__panel { padding: 56px var(--gutter); background: var(--paper); }
    .auth-split .auth { max-width: 400px; margin: 0 auto; padding: 0; border-radius: 0; }
}

@media (min-width: 700px) {
    .portal-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .portal-shortcut { flex-direction: column; align-items: flex-start; gap: 10px; }
    .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .club-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .club-benefits li { grid-template-columns: 1fr; justify-items: start; gap: 10px; }
    .club-benefits p { grid-column: auto; }
    .grid--portal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
    .portal__body { grid-template-columns: 270px minmax(0, 1fr); gap: 36px; }
    .portal__side { position: sticky; top: calc(var(--header-h) + 24px); }
    .portal-nav { display: grid; gap: 2px; margin: 0; padding: 8px; overflow: visible; background: var(--paper); border: 1px solid var(--portal-line); border-radius: var(--portal-radius); box-shadow: var(--portal-shadow); }
    .portal-nav a, .portal-nav button { width: 100%; border: 0; border-radius: 10px; justify-content: flex-start; min-height: 44px; padding: 0 14px; }
    .portal-nav a:hover, .portal-nav button:hover { background: var(--cream); }
    .portal-nav small { margin-left: auto; }
    .portal-nav__logout { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--portal-line); }
    .portal-nav__logout button:hover { color: var(--error); background: #f9ebe8; }
    .portal-detail { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 959px) {
    .portal-profile { padding: 14px; }
    .portal-profile__avatar { width: 44px; height: 44px; font-size: 1.2rem; }
}
@media (max-width: 599px) {
    .portal-stats { grid-template-columns: 1fr 1fr; }
    .portal-stats .portal-stat:last-child { grid-column: 1 / -1; }
    .portal-stat { padding: 14px; gap: 10px; }
    .portal-stat__icon { width: 38px; height: 38px; }
    .portal-stat strong { font-size: 1.35rem; }
    .order-card { grid-template-columns: auto minmax(0, 1fr); }
    .order-card__total { grid-column: 2; justify-self: start; }
    .portal-card { padding: 18px; }
    .coupon-ticket { grid-template-columns: 1fr; gap: 10px; }
    .coupon-ticket__value { justify-self: start; }
    .portal-items li { grid-template-columns: 56px minmax(0, 1fr); }
    .portal-items__total { grid-column: 2; }
}

/* Phones: below the overview, the portal header gets out of the way of the screen. */
.portal-card__head { flex-wrap: wrap; }
@media (max-width: 959px) {
    .portal--sub .portal-profile, .portal--sub .portal__lead, .portal--sub .portal__head .btn { display: none; }
    .portal--sub .portal__head { padding-bottom: 14px; }
    .portal--sub .portal__head h1 { font-size: 1.6rem; }
}

.club-sms { display: grid; gap: 10px; width: 100%; text-align: left; }
.club-sms .field { max-width: 320px; }

/* ---------- Checkout: layout and finish ----------
   Two blocks with a fixed place each: the form on the left, the order on the
   right. On phones the order folds into a bar above the form. */
.co-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-block: clamp(24px, 4vw, 44px) clamp(18px, 3vw, 28px); }
.co-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.875rem, 1.4rem + 2.4vw, 2.75rem); line-height: 1.08; }
.co-head__secure { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.co-progress { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: var(--ink-faint); }
.co-progress li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.co-progress li + li::before { content: ""; width: 28px; height: 1px; margin-right: 2px; background: var(--sand-deep); }
.co-progress a { display: inline-flex; align-items: center; gap: 8px; }
.co-progress a:hover { color: var(--ink); }
.co-progress span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--sand-deep); font-size: 0.6875rem; }
.co-progress .is-done span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.co-progress .is-now { color: var(--ink); font-weight: 500; }
.co-progress .is-now span { border-color: var(--ink); }

.checkout { gap: 20px; padding-top: 0; padding-bottom: clamp(40px, 6vw, 80px); }
.checkout__main { gap: 20px; }
.checkout__aside { display: grid; gap: 16px; min-width: 0; }
.panel { gap: 20px; padding: 22px 18px; border: 1px solid rgba(234, 223, 211, 0.75); border-radius: 16px; }
.panel__head { display: grid; gap: 4px; }
.panel__title { font-size: 1.375rem; }
.panel__title span { width: 28px; height: 28px; }
.panel__lead { padding-left: 40px; font-size: 0.875rem; color: var(--ink-soft); }
.checkout .field input, .checkout .field select { min-height: 52px; border-radius: 10px; }
.checkout .form-grid { gap: 16px 14px; }
.checkout .check { padding: 12px 14px; border-radius: 10px; background: var(--cream); }

.radio-card__box { padding: 16px 18px; border-radius: 12px; }
.radio-card input:checked + .radio-card__box { background: var(--cream); }
.radio-card__price { font-family: var(--font-display); font-size: 1.125rem; font-weight: 400; }

.btn--pay { min-height: 60px; justify-content: center; gap: 10px; border-radius: 12px; font-size: 0.875rem; box-shadow: 0 16px 28px -16px rgba(28, 23, 20, 0.8); }
.btn--pay #pay-amount { margin-left: 6px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.3); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0; text-transform: none; }
.panel--pay .summary__note { text-align: center; line-height: 1.45; }
.panel--pay .summary__note .icon { flex: none; }

.pay-off { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 18px; border: 1px solid var(--sand); border-radius: 12px; background: var(--cream); }
.pay-off__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--accent); }
.pay-off strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.3; }
.pay-off p { margin-top: 4px; font-size: 0.9375rem; color: var(--ink-soft); }
.pay-off__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pay-off__actions .btn { flex: 1; min-width: 150px; gap: 8px; }

.order-summary { border: 1px solid rgba(234, 223, 211, 0.75); border-radius: 16px; }
.order-summary > summary { padding: 16px 18px; }
.order-summary > summary b { font-weight: 500; }
.order-summary > summary i { font-style: normal; color: var(--ink-faint); }
.order-summary > summary strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.order-summary__title { display: none; }
.order-summary[open] > summary { border-bottom: 1px solid var(--sand); }
.order-summary__body { gap: 18px; padding: 18px; }
.mini-lines { display: grid; gap: 14px; }
.mini-line { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; font-size: 0.9375rem; line-height: 1.35; }
.mini-line > span { font-weight: 500; font-variant-numeric: tabular-nums; }
.mini-line small { margin-top: 2px; font-size: 0.8125rem; }
.summary__rows dd, .summary__total { font-variant-numeric: tabular-nums; }
.order-summary .summary__total { align-items: baseline; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.order-summary .summary__total span:last-child { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }

.co-coupon { border-block: 1px solid var(--sand); padding-block: 14px; }
.co-coupon > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 0.875rem; color: var(--ink-soft); }
.co-coupon > summary::-webkit-details-marker { display: none; }
.co-coupon > summary .icon:first-child { color: var(--accent); }
.co-coupon > summary .icon:last-child { margin-left: auto; transition: transform 0.2s var(--ease); }
.co-coupon[open] > summary .icon:last-child { transform: rotate(45deg); }
.co-coupon > summary:hover { color: var(--ink); }
.co-coupon > form { margin-top: 12px; }
.co-coupon .coupon input { min-height: 48px; border-radius: 10px; }
.co-coupon .coupon input::placeholder { text-transform: none; color: var(--ink-faint); }
.co-coupon .coupon .btn { min-height: 48px; border-radius: 10px; }
.co-coupon--on { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; }
.co-coupon__note { margin: 8px 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-soft); }
.co-coupon__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: #dfeadf; color: #23482f; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; }
.co-coupon__saved { color: var(--accent); font-variant-numeric: tabular-nums; }
.co-coupon--on .text-link { margin-left: auto; font-size: 0.8125rem; }

.co-perks { display: grid; gap: 10px; padding: 4px 6px; font-size: 0.8125rem; color: var(--ink-soft); }
.co-perks li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.co-perks .icon { flex: none; color: var(--accent); }

@media (max-width: 959px) {
    .co-progress { width: 100%; font-size: 0.75rem; gap: 6px; }
    .co-progress li + li::before { width: 14px; }
    /* On a phone the perks close the page, after the pay button. */
    .checkout { display: flex; flex-direction: column; }
    .checkout__aside { display: contents; }
    .order-summary { order: 1; width: 100%; }
    .checkout__main { order: 2; }
    .co-perks { order: 3; padding: 4px 2px 0; }
}
@media (max-width: 520px) {
    .checkout .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .checkout [data-field="email"], .checkout [data-field="phone"] { grid-column: 1 / -1; }
    .panel__lead { padding-left: 0; }
    .co-progress li:last-child { display: none; }
}
@media (min-width: 960px) {
    .checkout { grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "form order"; gap: 40px; }
    .checkout__main { grid-area: form; }
    .checkout__aside { grid-area: order; order: 0; position: sticky; top: calc(var(--header-h) + 24px); }
    .panel { padding: 30px; }
    .order-summary > summary { padding: 24px 24px 18px; pointer-events: none; font-family: var(--font-display); font-size: 1.375rem; }
    .order-summary[open] > summary { border-bottom: 0; }
    .order-summary__open { display: none; }
    .order-summary__title { display: inline; }
    .order-summary > summary .icon { display: none; }
    .order-summary__body { padding: 0 24px 24px; }
    .order-summary > summary .icon:first-child { display: none; }
}@media (max-width: 559px) {
    .checkout .form-grid .span-2 { grid-column: 1 / -1; }
}

/* ---------- Catalogue: card, header, filters ----------
   The photo is the product. Nothing dims it: a sold-out piece says so on a
   ribbon across the foot of the image. */
.card { border-radius: 14px; box-shadow: 0 1px 2px rgba(60, 40, 25, 0.05), 0 12px 28px -20px rgba(60, 40, 25, 0.35); }
.card__media { border-radius: 14px 14px 0 0; }
.card--sold-out .card__media img { opacity: 1; }
.card__media .badge { z-index: 2; }
.card__soldout {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 9px 12px;
    background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; text-align: center; color: var(--ink);
    pointer-events: none;
}
.card__body { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 16px 18px; }
.card__name { font-size: 1.0625rem; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { display: flex; align-items: baseline; gap: 10px; font-size: 1.0625rem; text-align: left; font-variant-numeric: tabular-nums; }
.card__price s { display: inline; font-size: 0.875rem; color: var(--ink-faint); }
.card__price .price--sale { color: var(--accent); }
.card--sold-out .card__price { color: var(--ink-faint); }
.swatches { gap: 7px; padding-top: 4px; }
.swatches li { width: 15px; height: 15px; border: 2px solid var(--paper); box-shadow: 0 0 0 1px rgba(28, 23, 20, 0.22); }
.swatches__more { box-shadow: none !important; }

.shop-head { padding-block: clamp(20px, 3.5vw, 40px) clamp(14px, 2vw, 22px); }
.shop-head__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.shop-head h1 { font-size: clamp(1.875rem, 1.4rem + 2.2vw, 2.75rem); }
.shop-head__count { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.cat-nav { gap: 8px; padding-bottom: 6px; }
.cat-nav .chip { min-height: 42px; padding: 0 18px; font-size: 0.875rem; }
.toolbar { margin-block: 16px 20px; padding-block: 12px; }
.toolbar__count { letter-spacing: 0.04em; }
.toolbar__sort select { min-height: 42px; border-radius: 99px; padding-left: 16px; }
.active-filters { align-items: center; margin-bottom: 20px; }
.chip--remove { background: var(--paper); border-color: var(--ink); }

.grid { gap: 14px; }
.filters { gap: 0; }
.filters__group { padding: 20px 0; }
.filters__group:first-of-type { padding-top: 0; }
.filters__title { letter-spacing: 0.18em; color: var(--ink-soft); }
.option span { min-width: 48px; min-height: 46px; border-radius: 10px; }
.option:hover span { border-color: var(--ink); }
.option--color span { padding: 0 14px 0 10px; border-radius: 99px; }
.option--color i { width: 20px; height: 20px; border: 2px solid var(--paper); box-shadow: 0 0 0 1px rgba(28, 23, 20, 0.22); }
.price-range input { border-radius: 10px; }
.filters__price-apply { justify-self: start; }
.filters__hint { padding-top: 14px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; font-size: 0.9375rem; }
.toggle input { appearance: none; -webkit-appearance: none; order: 2; flex: none; position: relative; width: 42px; height: 24px; margin: 0; border-radius: 99px; background: var(--sand-deep); cursor: pointer; transition: background-color 0.2s var(--ease); }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(28, 23, 20, 0.3); transition: transform 0.2s var(--ease); }
.toggle input:checked { background: var(--ink); }
.toggle input:checked::after { transform: translateX(18px); }
.toggle input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.pagination { gap: 8px; }
.pagination a, .pagination span { border-radius: 99px; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (min-width: 700px) {
    .grid { gap: 28px 22px; }
}
@media (min-width: 1024px) {
    .shop { grid-template-columns: 250px minmax(0, 1fr); gap: 44px; }
    /* The panel is always in view here: a choice applies as it is made. */
    .sheet--inline .filters { padding: 22px; background: var(--paper); border-radius: 14px; box-shadow: 0 1px 2px rgba(60, 40, 25, 0.05), 0 12px 28px -22px rgba(60, 40, 25, 0.3); }
    .sheet--inline .sheet__foot [data-filter-submit] { display: none; }
    .sheet--inline .sheet__foot { padding-top: 12px; }
    .filters__group:last-of-type { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 1023px) {
    .filters__price-apply, .filters__hint { display: none; }
}
@media (max-width: 699px) {
    .card__body { padding: 12px 12px 14px; gap: 4px; }
    .card__name { font-size: 0.9375rem; }
    .card__price { font-size: 0.9375rem; gap: 8px; }
    .card__soldout { padding: 7px 8px; font-size: 0.625rem; }
    .shop-head__title { gap: 2px 14px; }
}
@media (hover: hover) {
    .card:hover { box-shadow: 0 30px 54px -28px rgba(28, 23, 20, 0.38); }
}

/* Catalogue filters: room between the groups, price fields that fit. */
.filters__group { padding: 0 0 20px; margin-bottom: 20px; }
.filters__group legend, .filters__group > .filters__title { margin-bottom: 14px; }
.filters__group:first-of-type { padding-top: 0; }
.price-range input { min-width: 0; width: 100%; padding-inline: 10px; font-size: 0.875rem; }
.filters__price-apply { margin-top: 2px; }
.filters__hint { padding-top: 0; }
@media (min-width: 1024px) {
    .filters__group:last-of-type { margin-bottom: 14px; }
}
@media (min-width: 1024px) {
    .primary-nav > a, .primary-nav__group > a { white-space: nowrap; }
}
/* Up to 1365px the menu makes room for all its items (Accesorios and Gift
   Cards too) beside a two-line name, even a large one: "Inicio" goes, since
   the name already leads home, and the labels sit closer. Wider, the gap
   stops growing, so the name always keeps its distance. */
@media (min-width: 1024px) and (max-width: 1365px) {
    .primary-nav .primary-nav__home { display: none; }
    .primary-nav { gap: 16px; }
    .primary-nav > a, .primary-nav__group > a { letter-spacing: 0.12em; }
}
@media (min-width: 1366px) {
    .primary-nav { gap: clamp(16px, 1.6vw, 24px); }
}
/* The header's menu and icons share one row from here up: at the narrow end
   of that range the tagline gives way so the row fits. */
@media (min-width: 1024px) and (max-width: 1199px) {
    .brand__tag { display: none; }
    .site-header__inner { gap: 20px; }
    .primary-nav { gap: 11px; }
    .primary-nav > a, .primary-nav__group > a { letter-spacing: 0.08em; font-size: 0.65rem; }
}
/* At the narrowest, a two-line name takes the room of the small logo beside it. */
@media (min-width: 1024px) and (max-width: 1099px) {
    .brand:has(.brand__name--two) .brand__logo { display: none; }
}

/* ---------- Header name and footer colour, from Admin ---------- */
.brand__italic { font-style: italic; font-weight: 400; letter-spacing: 0.01em; text-transform: none; }
.brand__name { white-space: nowrap; }
@media (max-width: 420px) {
    .brand__name { font-size: 1.125rem; }
}
.site-footer--custom { background: var(--footer-bg); border-top-color: var(--footer-line); color: var(--footer-ink); }
.site-footer--custom .site-footer__name,
.site-footer--custom .site-footer__heading,
.site-footer--custom li a:hover { color: var(--footer-ink); }
.site-footer--custom .site-footer__about,
.site-footer--custom li a,
.site-footer--custom .site-footer__base,
.site-footer--custom .site-footer__consent { color: var(--footer-soft); }
.site-footer--custom .site-footer__base { border-top-color: var(--footer-line); }
.site-footer--custom .social a { color: var(--footer-ink); }
.site-footer--custom .social a:hover { background: var(--footer-line); }
/* On a dark background the subscribe button and field turn light. */
.site-footer--custom.is-dark .footer-signup input { background: rgba(255, 255, 255, 0.08); border-color: var(--footer-line); color: var(--footer-ink); }
.site-footer--custom.is-dark .footer-signup input::placeholder { color: var(--footer-soft); }
.site-footer--custom.is-dark .btn--dark { background: var(--footer-ink); border-color: var(--footer-ink); color: var(--footer-bg); }

/* ---------- The logo in the home hero (the header bar shows only the name there) ---------- */
.hero__logo { display: block; width: auto; height: clamp(255px, 26vw, 375px); max-width: min(100%, 600px); object-fit: contain; filter: drop-shadow(0 10px 24px rgba(60, 40, 25, 0.18)); animation: rise 0.9s var(--ease) both; }
.hero__logo:not(.hero__logo--full) { width: clamp(255px, 26vw, 375px); border-radius: 50%; object-fit: cover; }
@media (max-width: 699px) {
    .hero__logo { height: 210px; }
    .hero__logo:not(.hero__logo--full) { width: 210px; }
}
/* Half the space between the header and the logo, as the owner asked. */
.hero__logo { margin-top: -40px; }
@media (max-width: 699px) { .hero__logo { margin-top: -36px; } }

/* The small card under the editorial photo: below it, never over it, so it
   does not hide part of the picture. */
.editorial__card { position: static; margin: 16px 0 0; transform: none; animation: none; }
@media (min-width: 900px) { .editorial__card { position: static; max-width: none; margin: 18px 0 0; } }

/* ---------- Home collections: the grid fits how many there are ----------
   Three: side by side across the full width on a computer; on a phone the
   first spans the row and the other two share the next one. One or two
   fill the row the same way. The label and its "Explore" link are always
   visible, not only on hover, so a phone shows them too. */
.tiles--1, .tiles--2, .tiles--3 { gap: 14px; }
.tiles--1 { grid-template-columns: 1fr; }
.tiles--1 .tile { aspect-ratio: 16 / 10; }
.tiles--2 .tile, .tiles--3 .tile { aspect-ratio: 4 / 5; }
.tiles--3 .tile:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.tiles--1 .tile, .tiles--2 .tile, .tiles--3 .tile { border-radius: 14px; }
.tiles--1 .tile::after, .tiles--2 .tile::after, .tiles--3 .tile::after { background: linear-gradient(180deg, rgba(28, 23, 20, 0) 40%, rgba(28, 23, 20, 0.7) 100%); }
.tiles--1 .tile__label, .tiles--2 .tile__label, .tiles--3 .tile__label { left: 18px; right: 18px; bottom: 18px; gap: 6px; }
.tiles--1 .tile__label strong, .tiles--2 .tile__label strong, .tiles--3 .tile__label strong { font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); }
.tiles--1 .tile__cta, .tiles--2 .tile__cta, .tiles--3 .tile__cta { max-height: 24px; opacity: 1; margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.45); width: max-content; }
@media (min-width: 900px) {
    .tiles--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .tiles--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .tiles--3 .tile:first-child { grid-column: auto; aspect-ratio: 3 / 4; }
    .tiles--2 .tile, .tiles--3 .tile { aspect-ratio: 3 / 4; }
    .tiles--1 .tile__label, .tiles--2 .tile__label, .tiles--3 .tile__label { left: 26px; right: 26px; bottom: 26px; }
}
/* Phones: the three collections in one row that slides sideways, each card
   tall like its photo, so a full-length shot is not cropped to a banner. */
@media (max-width: 899px) {
    .tiles--3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76vw; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
    .tiles--3::-webkit-scrollbar { display: none; }
    .tiles--3 .tile, .tiles--3 .tile:first-child { grid-column: auto; aspect-ratio: 3 / 4; scroll-snap-align: start; }
}
@media (min-width: 600px) and (max-width: 899px) {
    .tiles--3 { grid-auto-columns: 44vw; }
}

/* ---------- Editorial block on a phone ----------
   Read like a magazine page: the heading first, then the photo framed with
   the short note under it as a quote, then the story and its button. The
   copy's pieces join the block's own grid so they can take that order. */
@media (max-width: 899px) {
    .editorial:not(.editorial--text) { gap: 0; justify-items: center; text-align: center; }
    .editorial:not(.editorial--text) .editorial__copy { display: contents; }
    .editorial:not(.editorial--text) .editorial__copy > .eyebrow { order: 1; margin-bottom: 12px; }
    .editorial:not(.editorial--text) .editorial__copy > .section-title { order: 2; margin-bottom: 26px; font-size: clamp(2rem, 1.4rem + 3vw, 2.5rem); line-height: 1.1; }
    .editorial:not(.editorial--text) .editorial__media { order: 3; width: 100%; margin-bottom: 26px; }
    .editorial:not(.editorial--text) .editorial__copy > .lead { order: 4; margin-bottom: 14px; font-size: 1rem; line-height: 1.75; color: var(--ink-soft); max-width: 36ch; }
    .editorial:not(.editorial--text) .editorial__copy > .muted { order: 5; margin-bottom: 14px; font-size: 0.9375rem; max-width: 36ch; }
    .editorial:not(.editorial--text) .editorial__actions { order: 6; width: 100%; justify-content: center; padding-top: 10px; }
    .editorial:not(.editorial--text) .editorial__actions .btn { flex: 1 1 100%; max-width: 360px; }
    .editorial:not(.editorial--text) .eyebrow--rule { justify-content: center; }
    .editorial:not(.editorial--text) .eyebrow--rule::after { content: ""; width: 28px; height: 1px; background: var(--ink-soft); }
    .editorial__frame { border-radius: 16px; box-shadow: 0 24px 48px -28px rgba(60, 40, 25, 0.5); }
    /* The note becomes a quote under the photo: a gold rule, serif italic, no box. */
    .editorial__card { margin: 20px 8px 0; padding: 4px 0 0; background: none; box-shadow: none; border-radius: 0; text-align: center; justify-items: center; }
    .editorial__card .eyebrow { justify-content: center; color: var(--accent); }
    .editorial__card p:last-child { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); max-width: 32ch; }
    .editorial__card::before { content: ""; width: 40px; height: 1px; margin-bottom: 10px; background: var(--accent); }
}

/* ---------- Catalogue on a phone: less before the first piece ----------
   A compact heading, the description cut to two lines, slim collection
   chips and one row with Filters and Sort side by side. */
@media (max-width: 699px) {
    .shop-head { padding-block: 16px 10px; gap: 6px; }
    .shop-head .crumbs { font-size: 0.6875rem; }
    .shop-head__title { display: grid; gap: 2px; }
    .shop-head h1 { font-size: 1.875rem; line-height: 1.1; }
    .shop-head__count { font-size: 0.6875rem; letter-spacing: 0.16em; }
    .shop-head__desc p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.9375rem; line-height: 1.6; }
    .shop-head__desc.is-open p { display: block; -webkit-line-clamp: unset; }
    .shop-head__more { margin-top: 4px; font-size: 0.8125rem; }
    .cat-nav { gap: 6px; padding-bottom: 2px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .cat-nav .chip { min-height: 36px; padding: 0 14px; font-size: 0.8125rem; }
    .toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block: 12px 14px; padding-block: 8px; border-bottom: 0; background: rgba(251, 244, 236, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
    .toolbar [data-sheet-open] { width: 100%; min-height: 42px; border-radius: 99px; justify-content: center; }
    .toolbar__sort { width: 100%; }
    .toolbar__sort select { width: 100%; max-width: none; }
    .active-filters { margin-bottom: 12px; }
    .grid { gap: 12px; }
}

/* ---------- Home collections heading: the line beside the title as a quote ---------- */
.section-head--collections .section-head__text {
    position: relative; padding-left: 18px; border-left: 2px solid var(--accent);
    font-family: var(--font-display); font-style: italic; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); line-height: 1.5; color: var(--ink);
}
@media (min-width: 768px) {
    .section-head--collections { align-items: end; }
    .section-head--collections .section-head__text { max-width: 30ch; padding-bottom: 4px; }
}
@media (max-width: 767px) {
    .section-head--collections { gap: 14px; }
    .section-head--collections .section-head__text { max-width: 32ch; }
}

/* ---------- Home collections, up to three: clean photos, names below ----------
   The heading carries its line right under the title. Each collection is a
   photo with nothing over it and its name, count and "Explore" on the cream
   below. A computer shows them side by side; a phone slides them sideways. */
.section-head--collections { gap: 8px; }
.section-head--collections .section-head__text { margin-top: 6px; max-width: 46ch; }
.collections { display: grid; gap: 24px; }
.collection { display: grid; gap: 16px; align-content: start; color: var(--ink); text-decoration: none; }
.collection__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--cream-deep); box-shadow: 0 1px 2px rgba(60, 40, 25, 0.05), 0 18px 36px -26px rgba(60, 40, 25, 0.45); }
.collection__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.collection__body { display: grid; gap: 4px; padding-inline: 2px; }
.collection__body small { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.collection__body strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.625rem); line-height: 1.2; }
.collection__cta { display: inline-flex; align-items: center; gap: 8px; width: max-content; margin-top: 6px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.collection__cta .icon { transition: transform 0.3s var(--ease-out); }
@media (hover: hover) {
    .collection:hover .collection__media img { transform: scale(1.04); }
    .collection:hover .collection__cta .icon { transform: translateX(4px); }
    .collection:hover strong { color: var(--accent); }
}
@media (min-width: 900px) {
    .collections--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .collections--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
    .collections--1 { grid-template-columns: minmax(0, 560px); }
}
@media (max-width: 899px) {
    .collections--2, .collections--3 { grid-auto-flow: column; grid-auto-columns: 74vw; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
    .collections--2::-webkit-scrollbar, .collections--3::-webkit-scrollbar { display: none; }
    .collection { scroll-snap-align: start; gap: 12px; }
}
@media (min-width: 600px) and (max-width: 899px) {
    .collections--2, .collections--3 { grid-auto-columns: 42vw; }
}
.brand__part { display: inline; line-height: 1; vertical-align: baseline; }
.brand__part.brand__italic { font-style: italic; letter-spacing: 0.01em; }

/* Header name on two lines: the words marked for the second line sit under
   the others, both lines centred on each other like a wordmark. Each line is a
   flex row so its height follows its own words: a block line would keep the
   full-size strut and leave a gap above small second-line words. */
.brand__name--two { display: inline-grid; justify-items: center; gap: 0.18em; line-height: 1; }
.brand__line { display: flex; justify-content: center; align-items: baseline; column-gap: 0.28em; white-space: nowrap; }
.brand__name--two .brand__part { line-height: 1; }
.brand__name--two .brand__line + .brand__line { letter-spacing: 0.08em; }

/* Contact: the boutique's channels as cards beside a form card, on a soft
   cream ground. Only the channels configured in the panel are shown. */
.contact-page { position: relative; padding-block: clamp(32px, 6vw, 80px) clamp(48px, 7vw, 96px); background: radial-gradient(70% 60% at 0% 0%, #fff 0%, rgba(255, 255, 255, 0) 70%), var(--cream); overflow: hidden; }
.contact-page::after { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(185, 138, 58, 0.18); pointer-events: none; }
.contact-page__grid { position: relative; z-index: 1; display: grid; gap: 36px; }
.contact-intro { display: grid; gap: 16px; align-content: start; }
.contact-intro h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.01em; }
.contact-intro__lead { max-width: 44ch; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; }

.contact-channels { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.contact-channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(234, 223, 211, 0.9); border-radius: var(--radius-lg); text-decoration: none; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.contact-channel:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.contact-channel > .icon:last-child { margin-left: auto; color: var(--ink-faint); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.contact-channel:hover > .icon:last-child { color: var(--ink); transform: translateX(3px); }
.contact-channel__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #e3c88e; }
.contact-channel__text { display: grid; gap: 1px; min-width: 0; line-height: 1.35; }
.contact-channel__text small { font-size: 0.625rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.contact-channel__text strong { font-weight: 500; font-size: 1rem; overflow-wrap: anywhere; }
.contact-channel__text em { font-style: normal; font-size: 0.8125rem; color: var(--ink-faint); }

.contact-help { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--sand); order: 3; }
.contact-help__title { font-family: var(--font-display); font-size: 1.1875rem; }
.contact-help__links { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-help__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--sand-deep); border-radius: 99px; background: var(--paper); font-size: 0.875rem; text-decoration: none; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.contact-help__links a:hover { border-color: var(--ink); }
.contact-help__links .icon { color: var(--accent); }

.contact-form { display: grid; gap: 20px; align-content: start; padding: clamp(24px, 4vw, 40px); background: var(--paper); border: 1px solid rgba(234, 223, 211, 0.75); border-radius: 24px; box-shadow: 0 2px 6px rgba(60, 40, 25, 0.04), 0 34px 70px -40px rgba(60, 40, 25, 0.45); }
.contact-form h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.contact-form__pair { display: grid; gap: 18px; }
.contact-form .field textarea { min-height: 170px; }
.contact-form .field input, .contact-form .field textarea { border-radius: 12px; }
.contact-form__send { gap: 10px; min-height: 56px; border-radius: 12px; }
.contact-form__note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.8125rem; color: var(--ink-faint); }

.contact-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.contact-topics legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.contact-topic { position: relative; }
.contact-topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.contact-topic span { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border: 1px solid var(--sand-deep); border-radius: 99px; font-size: 0.875rem; color: var(--ink-soft); transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease); }
.contact-topic input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.contact-topic input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.contact-topic input:checked + span .icon { color: #e3c88e; }

@media (min-width: 640px) {
    .contact-form__pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
    .contact-page__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; column-gap: clamp(48px, 6vw, 96px); row-gap: 28px; align-items: start; }
    .contact-intro { grid-column: 1; grid-row: 1; }
    .contact-form { grid-column: 2; grid-row: 1 / span 2; }
    .contact-help { grid-column: 1; grid-row: 2; }
}

/* ---------- Flyer of an SMS campaign (flyer/show.php) ---------- */
.flyer-page { min-height: 100vh; margin: 0; background: radial-gradient(120% 80% at 50% 0%, var(--cream) 0%, var(--cream-deep) 100%); }
.flyer { display: grid; justify-items: center; gap: 22px; width: min(100%, 520px); margin: 0 auto; padding: 22px 18px 44px; }
.flyer.is-landscape { width: min(100%, 880px); }
.flyer__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; }
.flyer__logo { width: auto; height: 44px; }
.flyer__frame { width: 100%; margin: 0; border-radius: 22px; background: var(--paper); box-shadow: 0 30px 60px -34px rgba(60, 40, 25, 0.55); overflow: hidden; }
.flyer__frame img { display: block; width: 100%; height: auto; }
.flyer__foot { display: grid; justify-items: center; gap: 10px; text-align: center; }
.flyer__eyebrow { margin: 0; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.flyer__foot h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.2; color: var(--ink); }
.flyer__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 6px; padding: 0 38px; border-radius: 99px; background: var(--ink); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.04em; color: var(--paper); text-decoration: none; transition: background-color .2s; }
.flyer__cta:hover { background: var(--accent-deep); }
.flyer__note { max-width: 44ch; margin: 10px 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--ink-faint); }

/* ---------- Home: the categories as a carousel (more than three) ---------- */
.tiles-rail { position: relative; }
.tiles--rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72vw; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-inline: calc(var(--gutter, 20px) * -1); padding-inline: var(--gutter, 20px); scroll-padding-inline: var(--gutter, 20px); }
.tiles--rail::-webkit-scrollbar { display: none; }
.tiles--rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.tiles--rail .tile { scroll-snap-align: start; border-radius: 14px; }
.tiles-rail__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--sand); border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); cursor: pointer; transform: translateY(-50%); transition: background-color .2s, color .2s, opacity .2s; }
.tiles-rail__arrow:hover { background: var(--ink); color: var(--paper); }
.tiles-rail__arrow[hidden] { display: none; }
.tiles-rail__arrow.is-prev { left: -14px; }
.tiles-rail__arrow.is-next { right: -14px; }
@media (min-width: 600px) { .tiles--rail { grid-auto-columns: 42vw; } }
@media (min-width: 900px) {
    .tiles--rail { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}
@media (max-width: 899px) { .tiles-rail__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .tiles--rail { scroll-behavior: auto; } }
/* ---------- A set sold by the piece (product/show.php) ---------- */
.set-modes { display: grid; gap: 8px; }
.set-mode { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--sand); border-radius: 12px; background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.set-mode input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.set-mode span { display: grid; gap: 2px; min-width: 0; }
.set-mode strong { font-weight: 500; color: var(--ink); }
.set-mode small { font-size: 0.8125rem; color: var(--ink-faint); }
.set-mode b { display: grid; justify-items: end; gap: 2px; font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; color: var(--ink); white-space: nowrap; }
.set-mode b em { font-family: var(--font-body); font-style: normal; font-size: 0.75rem; color: var(--success); }
.set-mode:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pdp-set [data-set-piece][hidden] { display: none; }
.pdp__price-note { font-family: var(--font-body); font-size: 0.8125rem; color: var(--ink-faint); }
.card__price--set { flex-wrap: wrap; row-gap: 2px; white-space: normal; }
.card__from { white-space: nowrap; }
.card__from small { font-size: 0.75rem; font-weight: 400; color: var(--ink-soft); }
.card__set { font-size: 0.75rem; font-weight: 400; color: var(--ink-faint); white-space: nowrap; }

.set-onesize { margin: 0; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.set-onesize[hidden] { display: none; }
.set-onesize strong { color: var(--ink); }

/* The catalogue while the next listing is fetched in place. */
[data-shop] .grid, [data-shop] .empty, [data-shop] .pagination { transition: opacity 0.25s var(--ease); }
[data-shop].is-loading .grid, [data-shop].is-loading .empty, [data-shop].is-loading .pagination { opacity: 0.4; pointer-events: none; }

/* ---------- Checkout: a focused page ---------- */
.site-header--focus .site-header__inner { height: 68px; }
.site-header__back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: -8px; padding: 0 8px; border-radius: 99px; font-size: 0.8125rem; color: var(--ink-soft); transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.site-header__back:hover { color: var(--ink); background: var(--cream); }
.site-header__secure { justify-self: end; display: inline-flex; align-items: center; gap: 7px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--success); }
.site-header__secure .icon { flex: none; }
@media (max-width: 599px) {
    .site-header__secure { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e8f0ea; }
    .site-header__secure span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.co-footer { margin-top: 8px; padding: 22px 0 calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sand); font-size: 0.75rem; color: var(--ink-faint); }
.co-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.co-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.co-footer__links a { color: var(--ink-soft); text-underline-offset: 3px; }
.co-footer__links a:hover { color: var(--ink); text-decoration: underline; }

/* Summary bar on a phone: the pieces' photos, then the total. */
.order-summary__thumbs { display: inline-flex; margin-right: 4px; }
.order-summary > summary span.order-summary__thumbs:first-child { gap: 0; }
.order-summary__thumbs img { width: 28px; height: 37px; object-fit: cover; border-radius: 6px; border: 2px solid var(--paper); background: var(--cream-deep); box-shadow: 0 1px 4px rgba(28, 23, 20, 0.16); }
.order-summary__thumbs img + img { margin-left: -12px; }
@media (min-width: 960px) { .order-summary__thumbs { display: none; } }

/* Steps: the number turns into a tick once the section is complete. */
.panel__title span { position: relative; transition: background-color 0.25s var(--ease); }
.panel__title span b { font-weight: 500; }
.panel__title span .icon { display: none; }
.panel.is-done .panel__title span { background: var(--success); }
.panel.is-done .panel__title span b { display: none; }
.panel.is-done .panel__title span .icon { display: block; }
.panel { transition: border-color 0.25s var(--ease); }
.panel.is-done { border-color: rgba(61, 106, 77, 0.22); }

/* Fields with the label inside, floating up once there is something in them. */
.checkout .field--float { position: relative; gap: 0; }
.checkout .field--float > input, .checkout .field--float > select { min-height: 58px; padding: 25px 15px 7px; border-radius: 12px; }
.checkout .field--float > label {
    position: absolute; left: 16px; right: 16px; top: 19px; margin: 0;
    font-size: 1rem; font-weight: 400; letter-spacing: 0; line-height: 1.2; text-transform: none; color: var(--ink-faint);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
    transform-origin: 0 0; transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}
.checkout .field--float > select + label { right: 44px; }
.checkout .field--float > input:focus + label,
.checkout .field--float > input:not(:placeholder-shown) + label,
.checkout .field--float > input:-webkit-autofill + label,
.checkout .field--float > select + label { transform: translateY(-11px) scale(0.76); color: var(--ink-soft); }
.checkout .field--float > input::placeholder { color: transparent; transition: color 0.18s var(--ease); }
.checkout .field--float > input:focus::placeholder { color: var(--ink-faint); }
.checkout .field--float .muted { color: inherit; }
.checkout .field--float.has-error > label { color: var(--error); }
.checkout .field--float .field__error { margin-top: 6px; }
.checkout .form-grid { gap: 12px; }
.checkout .check { padding: 4px 2px 0; background: none; }

/* Shipping options with their icon. */
.checkout .radio-card__box { grid-template-columns: auto auto minmax(0, 1fr) auto; column-gap: 14px; row-gap: 2px; padding: 16px; }
.checkout .radio-card__box::before { grid-column: 1; grid-row: 1 / span 2; }
.radio-card__icon { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cream); color: var(--accent); transition: background-color 0.2s var(--ease); }
.checkout .radio-card input:checked + .radio-card__box .radio-card__icon { background: var(--paper); }
.checkout .radio-card__name { grid-column: 3; grid-row: 1; line-height: 1.35; }
.checkout .radio-card__desc { grid-column: 3; grid-row: 2; line-height: 1.4; }
.checkout .radio-card__price { grid-column: 4; grid-row: 1 / span 2; }
.radio-card__price.is-free { font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--success); }
.checkout .radio-card:hover .radio-card__box { border-color: var(--ink-faint); }

.checkout .demo-note { border: 1px solid var(--sand); border-radius: 12px; background: var(--cream); font-size: 0.875rem; color: var(--ink-soft); }
.checkout #payment-element { min-height: 120px; }
@media (max-width: 959px) {
    .co-head h1 { font-size: 1.875rem; }
    .order-summary > summary { padding: 14px 16px; }
}.site-header--focus .site-header__inner { grid-template-columns: 1fr auto 1fr; }
.site-header--focus .brand { justify-self: center; }
@media (min-width: 960px) { .order-summary > summary span.order-summary__thumbs:first-child { display: none; } }
@media (max-width: 479px) {
    .checkout .radio-card__box { column-gap: 12px; padding: 14px; }
    .radio-card__icon { width: 36px; height: 36px; }
}

/* ---------- Gift cards ---------- */
.gcb-head { max-width: 640px; padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 32px); }
.gcb-head .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.gcb-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); line-height: 1.08; margin: 6px 0 10px; }
.gcb-fine { margin: 0; text-align: center; font-size: 0.8125rem; color: var(--ink-faint); line-height: 1.6; }

.gcbal { padding-bottom: clamp(48px, 7vw, 96px); }
.gcbal-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 18px; border: 1px solid rgba(234, 223, 211, 0.75); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-soft); }
.gcbal-form input { min-height: 54px; padding: 0 16px; border: 1px solid var(--sand-deep); border-radius: 12px; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.gcbal-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 23, 20, 0.08); }
.gcbal-form .btn { min-height: 54px; border-radius: 12px; }
@media (max-width: 479px) { .gcbal-form { grid-template-columns: 1fr; } }
.gcbal-error { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: #f8e7e3; color: var(--error); font-size: 0.9375rem; }
.gcbal-result { display: grid; justify-items: center; gap: 6px; margin-top: 18px; padding: 28px 20px; border-radius: 16px; background: var(--paper); text-align: center; box-shadow: var(--shadow-soft); }
.gcbal-result__label { margin: 0; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.gcbal-result__amount { margin: 0; font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); line-height: 1.1; }
.gcbal-result__state { margin: 0 0 6px; font-size: 0.875rem; font-weight: 500; color: var(--success); }
.gcbal-result.is-off .gcbal-result__state { color: var(--ink-soft); }
.gcbal .gcb-fine { margin-top: 22px; }

.gcc { padding-block: clamp(24px, 5vw, 56px); }
.gcc-sheet { display: grid; gap: 14px; padding: clamp(22px, 4vw, 40px); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.gcc-sheet h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.875rem, 1.4rem + 2vw, 2.5rem); }
.gcc-sheet > .muted { margin: 0; }
.gcc-card { margin-top: 8px; }
.gcc-code { display: grid; gap: 4px; justify-items: center; padding: 18px; border: 1px dashed var(--sand-deep); border-radius: 14px; background: var(--cream); text-align: center; }
.gcc-code span { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.gcc-code strong { font-family: "Courier New", ui-monospace, monospace; font-size: clamp(1.125rem, 0.9rem + 1.2vw, 1.5rem); letter-spacing: 0.08em; }
.gcc-code small { font-size: 0.8125rem; color: var(--ink-soft); }
.gcc-steps { display: grid; gap: 6px; margin: 4px 0 0; padding-left: 20px; list-style: decimal; font-size: 0.9375rem; color: var(--ink-soft); }
.gcc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gcc-actions .btn { flex: 1; min-width: 180px; border-radius: 12px; }
@media print {
    .site-header, .co-footer, .site-footer, .gcc-actions, .announce, .tabbar { display: none !important; }
    body { background: #fff; }
    .gcc-sheet { box-shadow: none; padding: 0; }

}

/* Gift cards in the bag and at checkout */
.line--gift .line__img { aspect-ratio: 8 / 5; height: auto; align-self: start; overflow: hidden; border-radius: 8px; }
.line--gift .line__img img { width: 100%; height: 100%; object-fit: cover; }
.mini-line--gift .mini-line__img { aspect-ratio: 8 / 5; align-self: center; }
.co-gift { display: grid; gap: 10px; }
.co-gift__card { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; border-radius: 12px; background: #eef4ef; font-size: 0.875rem; }
.co-gift__tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: #23482f; letter-spacing: 0.04em; }
.co-gift__use { margin-left: auto; color: #23482f; font-variant-numeric: tabular-nums; }
.co-gift__card form { display: inline-flex; }
.co-gift__card .text-link { font-size: 0.8125rem; }
.co-gift__more { flex: 1 1 100%; font-size: 0.8125rem; color: var(--ink-soft); }
.co-gift__more > summary { cursor: pointer; list-style: none; }
.co-gift__more > summary::-webkit-details-marker { display: none; }
.co-gift__more .coupon { margin-top: 8px; }
.co-gift__more .coupon input { min-height: 44px; border-radius: 10px; text-transform: none; }
.co-gift__more .coupon .btn { min-height: 44px; border-radius: 10px; }
.co-coupon--gift { border-top: 0; padding-top: 0; }
.co-coupon--gift .coupon input { text-transform: uppercase; letter-spacing: 0.06em; }
.co-gift .field__hint { margin-top: 8px; }
.summary__rows--gift { padding-top: 12px; border-top: 1px dashed var(--sand); }
.summary__rows--gift dd { color: #23482f; }
.summary__due dt, .summary__due dd { font-weight: 500; color: var(--ink) !important; font-size: 1rem; }

/* A gift card: the design is the card, and its details are printed on it.
   Dark ink on light art; light ink when the art is dark (lianas.js decides). */
.gcard { position: relative; margin: 0; aspect-ratio: 8 / 5; border-radius: 18px; overflow: hidden; background: var(--cream-deep); container-type: inline-size;
    box-shadow: 0 30px 55px -32px rgba(60, 40, 25, 0.6), 0 2px 8px rgba(60, 40, 25, 0.1);
    --gc-ink: #3b2a1d; --gc-soft: rgba(59, 42, 29, 0.6); --gc-line: rgba(59, 42, 29, 0.22); --gc-shadow: 0 1px 0 rgba(255, 255, 255, 0.55); }
.gcard.is-dark-art { --gc-ink: #fffaf3; --gc-soft: rgba(255, 250, 243, 0.78); --gc-line: rgba(255, 250, 243, 0.35); --gc-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.gcard__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s var(--ease); }
.gcard__art.is-changing { opacity: 0.4; }
.gcard__face { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 6.4cqw 7.2cqw 5.6cqw; color: var(--gc-ink); text-shadow: var(--gc-shadow); }
.gcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 4cqw; }
.gcard__brand { display: grid; font-family: var(--font-display); font-size: max(3.4cqw, 0.8125rem); letter-spacing: 0.03em; line-height: 1.05; }
.gcard__brand small { margin-top: 1cqw; font-family: var(--font-body); font-size: max(1.6cqw, 0.5rem); letter-spacing: 0.34em; text-transform: uppercase; color: var(--gc-soft); }
.gcard__amount { font-family: var(--font-display); font-size: 8.4cqw; line-height: 0.9; letter-spacing: -0.01em; }
.gcard__message { align-self: center; justify-self: center; max-width: 74%; margin: 0; text-align: center; font-family: var(--font-display); font-style: italic; font-size: max(3.7cqw, 0.8125rem); line-height: 1.42; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gcard__message:empty { display: none; }
.gcard .is-placeholder { color: var(--gc-soft); }
.gcard__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 4cqw; padding-top: 2.6cqw; border-top: 1px solid var(--gc-line); }
.gcard__who { display: grid; gap: 0.7cqw; min-width: 0; max-width: 48%; }
.gcard__who.is-right { text-align: right; }
.gcard__who small { font-size: max(1.6cqw, 0.5rem); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gc-soft); }
.gcard__who b { font-family: var(--font-display); font-weight: 400; font-size: max(4.4cqw, 1rem); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcc-card { margin-top: 8px; }
@media print { .gcard { box-shadow: none; } }

/* The monogram top left; the amount top right under its label. A soft
   light sits behind each printed corner, so the words stay legible on
   busy art (a soft shade instead, on dark art). */
.gcard__face::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 30% 40% at 13% 18%, var(--gc-glow), transparent 72%),
        radial-gradient(ellipse 30% 34% at 87% 16%, var(--gc-glow), transparent 72%),
        radial-gradient(ellipse 46% 30% at 50% 50%, var(--gc-glow-soft), transparent 75%),
        radial-gradient(ellipse 30% 28% at 12% 90%, var(--gc-glow), transparent 72%),
        radial-gradient(ellipse 30% 28% at 88% 90%, var(--gc-glow), transparent 72%); }
.gcard { --gc-glow: rgba(255, 250, 242, 0.86); --gc-glow-soft: rgba(255, 250, 242, 0.5); --gc-ink: #2c1e14; --gc-soft: rgba(44, 30, 20, 0.72); --gc-line: rgba(44, 30, 20, 0.28); }
.gcard.is-dark-art { --gc-glow: rgba(18, 11, 8, 0.55); --gc-glow-soft: rgba(18, 11, 8, 0.3); }
.gcard__face > * { position: relative; }
.gcard__logo { display: block; width: max(17.5cqw, 62px); margin: -1.6cqw 0 0 -1.4cqw; }
.gcard__logo img { width: 100%; height: auto; filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.5)); }
/* On dark art the lettering of the monogram is cream instead of black. */
.gcard__logo .is-ink-light, .gcard.is-dark-art .gcard__logo .is-ink-dark { display: none; }
.gcard.is-dark-art .gcard__logo .is-ink-light { display: block; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45)); }
.gcard__value { display: grid; justify-items: end; gap: 1.2cqw; }
.gcard__value small { font-size: max(1.7cqw, 0.5625rem); font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gc-soft); }
.gcard__who small { font-weight: 600; font-size: max(1.7cqw, 0.5625rem); }
.gcard__who b { font-weight: 500; }

/* ---------- Gift cards: the purchase page ---------- */
.gcb { padding-bottom: clamp(56px, 8vw, 110px); }
.gcb-hero { padding: clamp(36px, 6vw, 76px) 0 clamp(26px, 4vw, 46px); text-align: center; background: radial-gradient(120% 90% at 50% 0%, #fffdfa 0%, var(--cream) 60%, transparent 100%); }
.gcb-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.gcb-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.6rem + 4vw, 4.25rem); line-height: 1.02; letter-spacing: -0.01em; }
.gcb-hero__lead { max-width: 560px; margin: 14px auto 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.gcb-hero__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 22px; }
.gcb-hero__perks li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--sand); border-radius: 99px; background: rgba(255, 255, 255, 0.72); font-size: 0.8125rem; color: var(--ink-soft); }
.gcb-hero__perks .icon { flex: none; color: var(--accent); }
@media (max-width: 599px) { .gcb-hero__perks li:nth-child(n + 2) { display: none; } }

.gcb-layout { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) {
    .gcb-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
    .gcb-preview { position: sticky; top: calc(var(--header-h) + 28px); }
}
.gcb-stage { position: relative; padding: clamp(16px, 3vw, 40px); border-radius: 28px; background: radial-gradient(120% 120% at 30% 0%, #fffdf9, var(--cream-deep)); box-shadow: inset 0 0 0 1px rgba(234, 223, 211, 0.85); }
.gcard--main { transform: perspective(1400px) rotateX(2deg); transition: transform 0.5s var(--ease); }
.gcb-stage:hover .gcard--main { transform: perspective(1400px) rotateX(0deg) translateY(-3px); }
/* A soft light crosses the card now and then. */
.gcard--main::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.32) 50%, transparent 62%); transform: translateX(-120%); animation: gcShine 8s var(--ease) 1.5s infinite; }
@keyframes gcShine { 0%, 72% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .gcard--main::after { display: none; } }
.gcb-preview__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 0.8125rem; color: var(--ink-faint); text-align: center; }
.gcb-preview__note .icon { flex: none; color: var(--accent); }

.gcb-form { display: grid; gap: 16px; }
.gcb-step { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 22px 20px; border: 1px solid rgba(234, 223, 211, 0.75); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); }
.gcb-step legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 2px; font-family: var(--font-display); font-size: 1.3125rem; }
.gcb-step legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-body); font-size: 0.75rem; }
.gcb-step legend + * { clear: both; }

.gcb-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
@media (max-width: 599px) {
    .gcb-designs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 6px 20px 10px; scrollbar-width: none; }
    .gcb-designs::-webkit-scrollbar { display: none; }
    .gcb-design { scroll-snap-align: start; }
}
.gcb-design { position: relative; display: block; aspect-ratio: 8 / 5; border-radius: 14px; cursor: pointer; box-shadow: 0 0 0 1px var(--sand); transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.gcb-design img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.gcb-design input { position: absolute; opacity: 0; }
.gcb-design:hover { transform: translateY(-2px); }
.gcb-design:has(input:checked) { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink), 0 14px 26px -16px rgba(28, 23, 20, 0.6); }
.gcb-design:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 5px; }
.gcb-design__tick { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); opacity: 0; transform: scale(0.6); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.gcb-design:has(input:checked) .gcb-design__tick { opacity: 1; transform: none; }

.gcb-amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.gcb-amount { position: relative; }
.gcb-amount input { position: absolute; inset: 0; opacity: 0; }
.gcb-amount span { display: grid; place-items: center; min-height: 54px; border: 1px solid var(--sand-deep); border-radius: 14px; background: var(--paper); font-family: var(--font-display); font-size: 1.25rem; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.gcb-amount span:hover { border-color: var(--ink); }
.gcb-amount input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 10px 22px -14px rgba(28, 23, 20, 0.8); }
.gcb-amount input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.gcb-self { position: relative; display: inline-flex; align-items: center; gap: 12px; justify-self: start; cursor: pointer; font-size: 0.9375rem; }
.gcb-self input { position: absolute; opacity: 0; }
.gcb-self__switch { position: relative; flex: none; width: 40px; height: 24px; border-radius: 99px; background: var(--sand-deep); transition: background-color 0.2s var(--ease); }
.gcb-self__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.2s var(--ease); }
.gcb-self input:checked + .gcb-self__switch { background: var(--ink); }
.gcb-self input:checked + .gcb-self__switch::after { transform: translateX(16px); }
.gcb-self input:focus-visible + .gcb-self__switch { outline: 2px solid var(--ink); outline-offset: 2px; }

.gcb-fields { display: grid; gap: 12px; }
@media (min-width: 600px) { .gcb-fields { grid-template-columns: 1fr 1fr; } .gcb-fields .span-2 { grid-column: 1 / -1; } }
.gcb-form .field--float { position: relative; gap: 0; }
.gcb-form .field--float > input, .gcb-form .field--float > textarea { min-height: 58px; padding: 25px 15px 7px; border-radius: 12px; }
.gcb-form .field--float > textarea { min-height: 124px; padding-top: 28px; resize: vertical; }
.gcb-form .field--float > label {
    position: absolute; left: 16px; right: 16px; top: 19px; margin: 0;
    font-size: 1rem; font-weight: 400; letter-spacing: 0; line-height: 1.2; text-transform: none; color: var(--ink-faint);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
    transform-origin: 0 0; transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}
.gcb-form .field--float > :is(input, textarea):focus + label,
.gcb-form .field--float > :is(input, textarea):not(:placeholder-shown) + label,
.gcb-form .field--float > input:-webkit-autofill + label { transform: translateY(-11px) scale(0.76); color: var(--ink-soft); }
.gcb-form .field--float > :is(input, textarea)::placeholder { color: transparent; transition: color 0.18s var(--ease); }
.gcb-form .field--float > :is(input, textarea):focus::placeholder { color: var(--ink-faint); }
.gcb-form .field--float > input:read-only { background: var(--cream); }
.gcb-form .field--float .field__hint, .gcb-form .field--float .field__error { margin-top: 6px; }
.gcb-form .field--float.has-error > label { color: var(--error); }
.gcb-count { text-align: right; }

/* The button stays in reach on a phone while the form is filled in. */
.gcb-buy { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30; }
.gcb-submit { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; border-radius: 16px; box-shadow: 0 18px 34px -18px rgba(28, 23, 20, 0.85); }
.gcb-submit__amount { margin-left: 4px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.3); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0; text-transform: none; }

.gcb-how { margin-top: clamp(48px, 7vw, 88px); padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-soft); text-align: center; }
.gcb-how h2 { margin: 0 0 24px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.gcb-how ol { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .gcb-how ol { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.gcb-how li { display: grid; justify-items: center; gap: 10px; }
.gcb-how li span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-display); font-size: 1.125rem; }
.gcb-how p { max-width: 280px; margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }

/* On a phone: a small copy of the card docks under the header once the big one scrolls away. */
.gcb-dock { position: fixed; top: calc(var(--header-h) + 10px); left: 50%; z-index: 80; width: min(64vw, 300px); padding: 0; border: 0; background: none; transform: translate(-50%, -150%); opacity: 0; pointer-events: none; transition: transform 0.38s var(--ease-out), opacity 0.25s var(--ease); }
.gcb-dock.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; cursor: pointer; }
.gcb-dock .gcard { border-radius: 12px; box-shadow: 0 20px 38px -16px rgba(28, 23, 20, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.6); }
@media (min-width: 960px) { .gcb-dock { display: none; } }
.gcard--mini .gcard__face { padding: 6cqw 6.6cqw 5cqw; }
.gcard--mini .gcard__logo { width: max(17.5cqw, 36px); }
.gcard--mini .gcard__value small, .gcard--mini .gcard__who small { font-size: max(1.7cqw, 0.4375rem); }
.gcard--mini .gcard__amount { font-size: max(8.4cqw, 1.25rem); }
.gcard--mini .gcard__message { font-size: max(3.7cqw, 0.625rem); -webkit-line-clamp: 3; }
.gcard--mini .gcard__who b { font-size: max(4.4cqw, 0.75rem); }
@media (min-width: 960px) { .gcb-buy { position: static; } }
@media (max-width: 479px) { .gcb-submit { gap: 8px; padding-inline: 16px; font-size: 0.75rem; letter-spacing: 0.1em; } .gcb-submit > span:not(.gcb-submit__amount) { white-space: nowrap; } .gcb-submit__amount { font-size: 1.125rem; padding-left: 10px; } }

/* ---------- The sale's announcement (/shop?status=sale) ----------
   Admin > Banners, "Ofertas": black panel, the title in heavy capitals, the
   first line of the text in large italics, the rest smaller. */
.sale-hero {
    display: grid; gap: clamp(4px, 0.6vw, 8px);
    margin-top: clamp(10px, 1.6vw, 16px);
    padding: clamp(18px, 2.2vw, 26px) clamp(20px, 3.4vw, 44px);
    border-radius: 18px; background: #000; color: #fff;
}
.sale-hero p { margin: 0; overflow-wrap: break-word; }
.sale-hero__eyebrow { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.sale-hero__title { font-family: var(--font-body); font-weight: 600; font-size: clamp(1.625rem, 0.95rem + 2.6vw, 2.75rem); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.sale-hero__tagline { font-family: var(--font-body); font-style: italic; font-weight: 400; font-size: clamp(1.125rem, 0.8rem + 1.3vw, 1.625rem); line-height: 1.15; text-wrap: balance; }
.sale-hero__detail { font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.125rem); line-height: 1.35; text-wrap: balance; color: rgba(255, 255, 255, 0.9); }

/* ---------- Catalogue heading as a banner ----------
   The heading's own box becomes a champagne panel with a fine gold double
   frame and the monogram as a watermark; it keeps about the same height,
   since the panel's padding replaces the heading's. A picture never sets
   the height: on the side it is drawn whole at the panel's height,
   anchored right and fading into the champagne; "full" fills the panel
   behind a light veil. */
.shop-head {
    position: relative; isolation: isolate; overflow: hidden;
    margin-block: clamp(10px, 1.6vw, 16px) clamp(12px, 1.6vw, 18px);
    padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 40px);
    border: 1px solid rgba(176, 138, 82, 0.3); border-radius: 22px;
    background:
        radial-gradient(70% 140% at 100% 0%, rgba(214, 178, 120, 0.32), transparent 62%),
        radial-gradient(50% 120% at 0% 100%, rgba(236, 206, 190, 0.45), transparent 70%),
        linear-gradient(110deg, #f7ecdf 0%, #fcf6ef 48%, #f4e6d4 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 40px -34px rgba(110, 76, 40, 0.55);
}
.shop-head::before {
    content: ""; position: absolute; inset: 6px; z-index: 1; pointer-events: none;
    border: 1px solid rgba(176, 138, 82, 0.18); border-radius: 17px;
}
.shop-head::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: 50%; right: clamp(-10px, 2vw, 40px); width: clamp(120px, 16vw, 200px); aspect-ratio: 1;
    transform: translateY(-50%) rotate(-8deg);
    background: url("../images/giftcard-logo.png") center / contain no-repeat; opacity: 0.16;
}
.shop-head.has-art::after { display: none; }
/* Side: the whole picture at the panel's height, matted and framed like a
   print, the monogram beside it and its colours washed in behind. */
.shop-head__media {
    position: absolute; z-index: 0; top: 14px; bottom: 14px; right: clamp(20px, 3vw, 44px);
    display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.4vw, 34px);
    max-width: 46%; pointer-events: none;
}
.shop-head__mark { flex: none; width: auto; height: 74%; opacity: 0.24; transform: rotate(-8deg); }
.shop-head__photo {
    flex: 0 1 auto; width: auto; height: 100%; min-width: 0; object-fit: cover; border-radius: 12px;
    box-shadow: 0 0 0 4px rgba(255, 252, 247, 0.9), 0 0 0 5px rgba(176, 138, 82, 0.38), 0 16px 30px -14px rgba(80, 50, 25, 0.5);
}
.shop-head__glow {
    position: absolute; z-index: -1; top: -40px; right: -40px; bottom: -40px; left: 40%;
    background: center / cover no-repeat; filter: blur(30px) saturate(1.15); opacity: 0.4;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
/* Full: a banner already designed fills the panel behind a light veil. */
.shop-head__art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-head.has-art--full::after {
    display: block; top: 0; right: 0; bottom: 0; left: 0; width: auto; aspect-ratio: auto; transform: none; opacity: 1;
    background: linear-gradient(90deg, rgba(252, 246, 239, 0.9) 0%, rgba(252, 246, 239, 0.62) 38%, rgba(252, 246, 239, 0) 70%);
}
.shop-head.has-art--full { border-color: rgba(176, 138, 82, 0.22); }
.shop-head .crumbs, .shop-head__title, .shop-head__desc, .shop-head > .muted { position: relative; max-width: min(100%, 680px); }
.shop-head.has-art .crumbs, .shop-head.has-art .shop-head__title, .shop-head.has-art .shop-head__desc { max-width: 52%; }
.shop-head .crumbs { color: #8a6a44; }
.shop-head .crumbs li + li::before { color: rgba(176, 138, 82, 0.55); }
.shop-head h1 { letter-spacing: -0.01em; }
.shop-head__count { color: #a07a46; }
@media (max-width: 699px) {
    .shop-head { margin-block: 8px 12px; padding: 16px 18px; gap: 4px; border-radius: 18px; }
    .shop-head::before { inset: 5px; border-radius: 14px; }
    .shop-head::after { width: 112px; right: -14px; opacity: 0.14; }
    .shop-head__media { top: 12px; bottom: 12px; right: 14px; max-width: 36%; }
    .shop-head__mark { display: none; }
    .shop-head__photo { border-radius: 10px; box-shadow: 0 0 0 3px rgba(255, 252, 247, 0.9), 0 0 0 4px rgba(176, 138, 82, 0.38), 0 12px 24px -12px rgba(80, 50, 25, 0.5); }
    .shop-head__glow { left: 30%; opacity: 0.36; }
    .shop-head.has-art .crumbs, .shop-head.has-art .shop-head__title, .shop-head.has-art .shop-head__desc { max-width: 66%; }
    .shop-head.has-art--full::after { background: linear-gradient(90deg, rgba(252, 246, 239, 0.94) 0%, rgba(252, 246, 239, 0.78) 55%, rgba(252, 246, 239, 0.15) 100%); }
    .shop-head.has-art--full .crumbs, .shop-head.has-art--full .shop-head__title, .shop-head.has-art--full .shop-head__desc { max-width: 78%; }
}

/* ---------- Product page, premium ----------
   Laid over the base rules above (.pdp, .gallery, .option, .accordion,
   .buybar, .reviews). Phones: the photo full width and the details rising
   over it as a sheet. Wide screens: a framed gallery that zooms under the
   pointer beside an airy column. Gold is the brand's hairline colour. */
.pdp-crumbs { padding-top: 16px; }
/* "Volver a los productos": back to the spot of the listing (lianas.js shows it). */
.pdp-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--sand-deep); border-radius: 99px; background: var(--paper); font-size: 0.875rem; color: var(--ink); text-decoration: none; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.pdp-back:hover { border-color: var(--ink); }
.pdp-back[hidden] { display: none; }
.pdp-back:not([hidden]) + .pdp-crumbs { padding-top: 12px; }
.gallery__stage { position: relative; }
.gallery__slide { position: relative; overflow: hidden; background: #f4ece2; }
.gallery__slide img { transition: transform 0.45s var(--ease); }
.gallery__slide.is-zoomable { cursor: zoom-in; }
.gallery__slide.is-zooming img { transform: scale(1.75); }
.gallery .badge { left: var(--gutter); top: 16px; padding: 6px 11px; border-radius: 99px; letter-spacing: 0.18em; }
.gallery__count {
    position: absolute; top: 16px; right: var(--gutter); z-index: 2; padding: 6px 12px; border-radius: 99px;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--ink);
    background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.gallery__nav { display: none; }
.gallery__dots { bottom: 44px; }
.gallery__dots button { width: 6px; height: 6px; background: rgba(255, 255, 255, 0.75); transition: width 0.25s var(--ease), background-color 0.25s var(--ease); }
.gallery__dots button[aria-current="true"] { width: 20px; border-radius: 99px; background: var(--ink); }

/* The details as a sheet over the photo */
.pdp { gap: 0; padding-top: 8px; }
.pdp > .pdp__info {
    position: relative; z-index: 1; gap: 22px; margin: -28px calc(var(--gutter) * -1) 0; padding: 28px var(--gutter) 8px;
    background: var(--paper); border-radius: 26px 26px 0 0; box-shadow: 0 -18px 40px -30px rgba(60, 40, 25, 0.35);
}
.pdp__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.pdp__head-text { display: grid; gap: 10px; min-width: 0; }
.pdp__eyebrow { color: #a07a46; }
.pdp__eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.pdp__title { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.pdp__wish-btn {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--sand-deep); background: var(--paper); color: var(--ink); cursor: pointer;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.pdp__wish-btn:hover { border-color: var(--ink); transform: scale(1.04); }
.pdp__wish-btn[aria-pressed="true"] { border-color: rgba(161, 108, 75, 0.45); background: #fbf1ea; }
.pdp__pricebox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: -6px; }
.pdp__price { flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 1.625rem; font-weight: 500; letter-spacing: -0.01em; }
.pdp__price s { color: var(--ink-faint); }
.pdp__save { padding: 4px 10px; border-radius: 99px; background: #f6e7dc; color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; }
.pdp__save[hidden] { display: none; }
.pdp__rating { min-height: 0; }
.pdp__desc { display: grid; gap: 6px; justify-items: start; }
.pdp__short { font-size: 0.9875rem; line-height: 1.75; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pdp__desc.is-open .pdp__short { display: block; -webkit-line-clamp: unset; }
.pdp__more { padding: 0; border: 0; background: none; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(176, 138, 82, 0.6); cursor: pointer; }
.pdp__rule { width: 100%; height: 1px; margin: 0; border: 0; background: linear-gradient(90deg, rgba(176, 138, 82, 0.5), rgba(176, 138, 82, 0.08)); }

/* Choices */
.pdp form.pdp__info { gap: 22px; }
.pdp__legend { padding: 0; margin-bottom: 12px; }
.pdp__legend--inline { float: left; margin-bottom: 0; }
.pdp .label { font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--ink-soft); }
.pdp .label strong { margin-left: 4px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--ink); }
.pdp__group-head { align-items: center; margin-bottom: 2px; }
.pdp__group-head .text-link { min-height: 32px; color: var(--ink-soft); text-decoration-color: rgba(176, 138, 82, 0.6); }
.pdp .option-grid { gap: 10px; }
.pdp .option span { min-width: 54px; min-height: 52px; padding: 0 14px; border-radius: 12px; font-size: 0.9375rem; font-weight: 500; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.pdp .option input:checked + span { box-shadow: 0 10px 22px -14px rgba(28, 23, 20, 0.8); }
.pdp .option input:disabled + span {
    text-decoration: none; color: var(--ink-faint); background: var(--paper) linear-gradient(to top right, transparent calc(50% - 0.6px), var(--sand-deep) 50%, transparent calc(50% + 0.6px));
    border-style: dashed;
}
.pdp .option--color span { min-height: 48px; padding: 0 18px 0 8px; border-radius: 99px; gap: 10px; font-weight: 400; }
.pdp .option--color i { width: 30px; height: 30px; border: 3px solid var(--paper); box-shadow: 0 0 0 1px rgba(28, 23, 20, 0.2); }
.pdp .option--color input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pdp .set-mode { padding: 16px 18px; border-radius: 14px; }

/* Buying */
.pdp__buy { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.pdp .stepper { grid-template-columns: 42px 38px 42px; border-radius: 14px; border-color: var(--sand-deep); }
.pdp .stepper button, .pdp .stepper input { height: 54px; }
.pdp__buy .btn { min-height: 56px; border-radius: 14px; letter-spacing: 0.16em; box-shadow: 0 16px 30px -18px rgba(28, 23, 20, 0.75); }
.pdp__buy .btn:not([disabled]):hover { transform: translateY(-1px); }
.pdp__buy .btn[disabled] { opacity: 1; background: var(--paper); color: var(--ink-soft); border-color: var(--sand-deep); box-shadow: none; }
.pdp__stock { font-weight: 500; }

/* What every order gets */
.pdp__perks { grid-template-columns: 1fr; gap: 0; padding: 4px 16px; background: #fdfaf6; border: 1px solid rgba(176, 138, 82, 0.22); border-radius: 16px; }
.pdp__perks li { align-items: center; gap: 14px; padding: 12px 0; }
.pdp__perks li + li { border-top: 1px solid rgba(176, 138, 82, 0.14); }
.pdp__perk-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f4e8da; color: #8a6a44; }
.pdp__perk-icon .icon { margin: 0; color: inherit; }
.pdp__perks li > span:last-child { display: grid; gap: 1px; font-size: 0.8125rem; line-height: 1.4; color: var(--ink-soft); }
.pdp__perks strong { font-size: 0.875rem; font-weight: 500; color: var(--ink); }

/* Details, measurements, shipping */
.pdp__accordion { border-top-color: rgba(176, 138, 82, 0.25); }
.pdp__accordion details { border-bottom-color: rgba(176, 138, 82, 0.25); }
.pdp__accordion summary { min-height: 60px; font-family: var(--font-display); font-size: 1.125rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.pdp__accordion summary .icon { width: 30px; height: 30px; padding: 7px; border: 1px solid var(--sand-deep); border-radius: 50%; }
.pdp__accordion details[open] summary .icon { transform: rotate(45deg); border-color: var(--ink); }
.pdp__accordion .accordion__body { padding-bottom: 22px; font-size: 0.9375rem; }

/* Sticky bar on phones: glass, with the photo */
.buybar {
    gap: 12px; padding-top: 10px; background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
    border-top: 1px solid rgba(176, 138, 82, 0.22); box-shadow: 0 -12px 30px -22px rgba(60, 40, 25, 0.4);
}
.buybar__thumb { flex: none; width: 44px; height: 58px; border-radius: 10px; object-fit: cover; background: var(--cream-deep); }
.buybar__name { font-family: var(--font-display); font-size: 0.9375rem; }
.buybar .btn { min-height: 48px; border-radius: 12px; padding-inline: 18px; font-size: 0.6875rem; }

/* Reviews */
.pdp-reviews { padding-block: clamp(40px, 6vw, 72px); }
.reviews-layout { display: grid; gap: 22px; }
.reviews-summary {
    display: grid; gap: 10px; justify-items: start; align-content: start; padding: 26px 22px;
    background: var(--paper); border: 1px solid rgba(176, 138, 82, 0.22); border-radius: 22px;
    box-shadow: 0 24px 50px -40px rgba(60, 40, 25, 0.45);
}
.reviews-summary .section-title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
.reviews-summary__score { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 3.25rem; line-height: 1; }
.reviews-summary__score small { font-family: var(--font-body); font-size: 0.875rem; color: var(--ink-faint); }
.reviews-summary .stars { font-size: 1.25rem; }
.reviews-summary__stars { font-size: 1.5rem; letter-spacing: 0.12em; color: #e2d2bf; }
.reviews-summary__lead { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; color: var(--ink); }
.reviews-summary__hint { font-size: 0.875rem; color: var(--ink-soft); }
.reviews-summary__cta { min-height: 48px; margin-top: 6px; border-radius: 12px; }
.reviews-layout--solo .reviews-summary { justify-items: center; text-align: center; max-width: 560px; margin-inline: auto; width: 100%; }
.reviews-layout--solo .eyebrow--rule::after { content: ""; width: 28px; height: 1px; background: var(--ink-soft); }
.reviews-main { display: grid; gap: 20px; align-content: start; min-width: 0; }
.pdp-reviews .review { gap: 8px; padding: 20px 22px; border: 1px solid rgba(176, 138, 82, 0.16); border-radius: 18px; }
.review-form { border-radius: 20px; }

@media (min-width: 900px) {
    .pdp { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(36px, 5vw, 80px); padding-top: 20px; }
    .pdp > .pdp__info { margin: 0; padding: 8px 0 0; background: none; border-radius: 0; box-shadow: none; gap: 24px; }
    .gallery { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
    .gallery__stage { grid-column: 2; grid-row: 1; }
    .gallery:not(:has(.gallery__thumbs)) .gallery__stage { grid-column: 1; }
    .gallery__track { grid-column: auto; grid-row: auto; border-radius: 22px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 60px -40px rgba(60, 40, 25, 0.55); }
    .gallery__stage::after { content: ""; position: absolute; inset: 0; border-radius: 22px; border: 1px solid rgba(176, 138, 82, 0.22); pointer-events: none; }
    .gallery .badge, .gallery:not(:has(.gallery__thumbs)) .badge { left: 18px; top: 18px; }
    .gallery__count { top: auto; bottom: 18px; right: 18px; }
    .gallery__nav {
        position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px;
        border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.85); color: var(--ink); cursor: pointer;
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -14px rgba(28, 23, 20, 0.55);
        opacity: 0; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    }
    .gallery__nav--prev { left: 16px; transform: translateX(-6px); }
    .gallery__nav--next { right: 16px; transform: translateX(6px); }
    .gallery__stage:hover .gallery__nav, .gallery__nav:focus-visible { opacity: 1; transform: none; }
    .gallery__thumbs { gap: 12px; max-height: 720px; }
    .gallery__thumbs button { border-radius: 14px; opacity: 0.55; border: 0; box-shadow: 0 0 0 1px rgba(176, 138, 82, 0.18); transition: opacity 0.2s var(--ease), box-shadow 0.2s var(--ease); }
    .gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; border: 0; box-shadow: 0 0 0 2px #b08a52; }
    .gallery__video-link { grid-column: 2; }
    .pdp__perks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; background: none; border: 0; }
    .pdp__perks li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; background: #fdfaf6; border: 1px solid rgba(176, 138, 82, 0.22); border-radius: 16px; }
    .pdp__perks li + li { border-top: 1px solid rgba(176, 138, 82, 0.22); }
    .reviews-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
    .reviews-layout--solo { grid-template-columns: minmax(0, 1fr); }
    .reviews-summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px 30px; }
    .reviews-layout--solo .reviews-summary { position: static; }
}
@media (max-width: 480px) {
    .pdp__buy .btn { gap: 8px; padding-inline: 12px; font-size: 0.6875rem; letter-spacing: 0.1em; white-space: nowrap; }
}

/* Online purchases paused from the panel: a calm gold notice under the announcement bar. */
.paused-note { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px var(--gutter); background: linear-gradient(90deg, #f6ead8, #fbf3e7, #f6ead8); border-bottom: 1px solid rgba(176, 138, 82, 0.3); color: #6b4c22; font-size: 0.875rem; line-height: 1.45; text-align: center; }
.paused-note .icon { flex: none; color: #b08a52; }

/* ---------- Subcategories ----------
   In a category: a row of chips (Todo · Camisas · Pantalones…). In the
   header: Colecciones opens as a wide menu, each category over its
   subcategories. In the phone drawer: one folding list per category. */
.sub-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; }
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav__chip {
    flex: none; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 99px;
    border: 1px solid transparent; background: rgba(176, 138, 82, 0.1); color: #6b4c22; font-size: 0.8125rem; text-decoration: none;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.sub-nav__chip:hover { border-color: rgba(176, 138, 82, 0.45); }
.sub-nav__chip[aria-current="page"] { background: #b08a52; color: #fff; }

.drawer__subs { display: grid; margin-top: 14px; border-top: 1px solid var(--sand); }
.drawer__sub { border-bottom: 1px solid var(--sand); }
.drawer__sub summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; cursor: pointer; list-style: none; font-size: 0.9375rem; color: var(--ink); }
.drawer__sub summary::-webkit-details-marker { display: none; }
.drawer__sub summary .icon { color: var(--ink-faint); transition: transform 0.25s var(--ease); }
.drawer__sub[open] summary .icon { transform: rotate(180deg); }
.drawer__sub-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 14px; }
.drawer__sub-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 99px; background: var(--cream); color: var(--ink); font-size: 0.8125rem; text-decoration: none; }
.drawer__sub-links a:first-child { background: var(--ink); color: var(--paper); }

@media (min-width: 1024px) {
    .primary-nav .primary-nav__menu--mega {
        left: 50%; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 10px;
        width: max-content; min-width: 420px; max-width: min(900px, 92vw); padding: 22px 24px;
        transform: translate(-50%, 6px); border-radius: 18px;
    }
    .primary-nav__group:hover .primary-nav__menu--mega, .primary-nav__group:focus-within .primary-nav__menu--mega { transform: translate(-50%, 0); }
    .mega-col { display: grid; align-content: start; gap: 2px; min-width: 0; }
    .primary-nav .mega-col__title { padding: 6px 10px; border-radius: 8px; font-family: var(--font-display); font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
    .primary-nav .mega-col__sub { padding: 6px 10px; border-radius: 8px; font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--ink-soft); }
    .primary-nav .mega-col a::after { display: none; }
    .primary-nav .mega-col a:hover { background: var(--cream); color: var(--ink); }
}
/* Where the menu is compact, "Colecciones" sits further left: three columns keep its panel inside the window. */
@media (min-width: 1024px) and (max-width: 1365px) {
    .primary-nav .primary-nav__menu--mega { max-width: 640px; }
}

/* A set's photo that shows one piece, and that piece's thumbnail in the picker */
.gallery__part { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.92); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); box-shadow: 0 4px 14px -8px rgba(28, 23, 20, 0.5); pointer-events: none; }
.set-mode--thumb { grid-template-columns: 20px 44px minmax(0, 1fr) auto; }
.set-mode__thumb { width: 44px; height: 58px; border-radius: 8px; object-fit: cover; background: var(--cream-deep); }

/* Pack prices: the line under the price, and "build your pack" */
.pdp__packs { margin-top: 6px; font-size: 0.875rem; color: var(--ink-soft); }
.pdp__packs span { font-weight: 500; color: var(--ink); }
.pdp-pack { display: grid; gap: 14px; margin-top: 18px; padding: 20px; border: 1px solid var(--sand); border-radius: 16px; background: linear-gradient(180deg, #fffaf4, var(--paper)); }
.pdp-pack__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; }
.pdp-pack__head p { margin-top: 2px; font-size: 0.875rem; color: var(--ink-soft); }
.pdp-pack__sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.pdp-pack__size { position: relative; cursor: pointer; }
.pdp-pack__size input { position: absolute; opacity: 0; inset: 0; }
.pdp-pack__size span { display: grid; gap: 2px; height: 100%; padding: 10px 12px; border: 1px solid var(--sand); border-radius: 12px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.pdp-pack__size strong { font-weight: 500; }
.pdp-pack__size small { font-size: 0.75rem; color: var(--success); }
.pdp-pack__size input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pdp-pack__size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pdp-pack__slots { display: grid; gap: 12px; }
.pdp-pack__slot { display: grid; gap: 6px; }
.pdp-pack__slot-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.pdp-pack__options { display: flex; flex-wrap: wrap; gap: 6px; }
.pdp-pack__option { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid var(--sand); border-radius: 99px; background: var(--paper); font: inherit; font-size: 0.8125rem; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.pdp-pack__option.has-dot { padding-left: 6px; }
.pdp-pack__option i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(28, 23, 20, 0.2); flex: none; }
.pdp-pack__option[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pdp-pack__option:disabled { opacity: 0.35; cursor: not-allowed; }
.pdp-pack__total { font-weight: 500; }
.pdp-pack__note { font-size: 0.8125rem; color: var(--ink-faint); text-align: center; }
.pdp-pack__note[hidden] { display: none; }

/* Maintenance: the bar for whoever still sees the store, and the "back soon" page */
.paused-note--maintenance { background: #1c1714; border-bottom-color: #1c1714; color: #f4ece2; }
.paused-note--maintenance .icon { color: #e3c88e; }
.maintenance { display: grid; place-items: center; min-height: 100vh; margin: 0; padding: 24px 16px; background: radial-gradient(90% 70% at 50% 0%, #fffaf4 0%, var(--cream) 70%); }
.maintenance__card { display: grid; justify-items: center; gap: 14px; width: 100%; max-width: 520px; padding: 48px 28px 36px; border: 1px solid var(--sand); border-radius: 28px; background: var(--paper); box-shadow: 0 30px 70px -40px rgba(60, 40, 25, 0.45); text-align: center; }
.maintenance__logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.maintenance__logo--full { width: auto; height: 110px; max-width: 220px; border-radius: 0; object-fit: contain; }
.maintenance__eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent, #a16c4b); }
.maintenance h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.1; }
.maintenance__text { max-width: 38ch; color: var(--ink-soft); line-height: 1.6; }
.maintenance__follow { font-size: 0.9375rem; color: var(--ink-soft); }
.maintenance__follow a { margin-left: 6px; color: var(--ink); font-weight: 500; }
.maintenance__lang { margin-top: 6px; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }

/* --- Where the piece for sale is in a photo (product_image_areas): a dot on
   its centre with its name and price; its box shows on hover or tap. The
   layer is sized to the photo as drawn by lianas.js (cover). --- */
.gallery__spots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gallery__spot { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); padding: 0; border: 0; background: none; pointer-events: none; cursor: pointer; }
.gallery__spot-box { position: absolute; inset: 0; border: 1.5px solid rgba(255, 255, 255, 0.95); border-radius: 6px; box-shadow: 0 0 0 1px rgba(28, 23, 20, 0.25), 0 0 0 9999px rgba(28, 23, 20, 0.18); opacity: 0; transition: opacity 0.2s var(--ease, ease); }
.gallery__spot:hover .gallery__spot-box, .gallery__spot.is-on .gallery__spot-box, .gallery__spot:focus-visible .gallery__spot-box { opacity: 1; }
.gallery__spot-dot { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 3px solid #fff; border-radius: 50%; background: var(--ink); box-shadow: 0 2px 10px rgba(28, 23, 20, 0.35); pointer-events: auto; animation: spot-pulse 2.4s ease-out 1s 2; }
.gallery__spot-tag { position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); max-width: 190px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 14px -6px rgba(28, 23, 20, 0.5); color: var(--ink); font-size: 0.75rem; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: auto; }
.gallery__spot.is-left .gallery__spot-tag { left: auto; right: calc(50% + 14px); }
.gallery__spot.is-on .gallery__spot-tag { background: var(--ink); color: #fff; }
.gallery__spot:focus-visible { outline: none; }
.gallery__spot:focus-visible .gallery__spot-tag { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Another piece of the photo: the mark is a link to its page. */
.gallery__spot--link { color: inherit; text-decoration: none; }
.gallery__spot--link .gallery__spot-tag::after { content: " ›"; font-weight: 600; }
.gallery__spot--link:hover .gallery__spot-tag { background: var(--ink); color: #fff; }
/* What the whole look saves (the bag takes it off with every piece in it). */
.pdp__look-offer { display: inline-block; margin-top: 8px; font-size: 0.875rem; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pdp__look-offer:hover { color: var(--ink-soft); }
@keyframes spot-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); } 70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .gallery__spot-dot { animation: none; } .gallery__spot-box { transition: none; } }
@media (max-width: 600px) { .gallery__spot-tag { max-width: 150px; padding: 5px 10px; font-size: 0.6875rem; } }

/* ---------- Catalogue sections: one per collection (or subcategory), so nothing comes mixed ----------
   Six pieces fill two rows of the three-column grid; a phone shows four. */
.shop-section + .shop-section { margin-top: clamp(36px, 5vw, 56px); }
.shop-section__head {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
    margin-bottom: clamp(14px, 2vw, 20px); padding-bottom: 10px; border-bottom: 1px solid var(--sand);
}
.shop-section__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.15; }
.shop-section__title a { color: inherit; text-decoration: none; }
.shop-section__title a:hover { color: var(--accent); }
.shop-section__count { margin: 0; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.shop-section__more { margin-left: auto; padding-block: 6px; color: var(--ink); text-decoration: none; }
.shop-section__more.link-arrow::after { bottom: 2px; }
.shop-all { display: flex; justify-content: center; margin: clamp(40px, 6vw, 64px) 0 0; }
.shop-all .btn { gap: 10px; }
@media (max-width: 699px) {
    .grid--section > :nth-child(n + 5) { display: none; }
}

/* ---------- Catalogue filters: sizes in order, colours as swatches, quick prices ----------
   The same form is the phone's bottom sheet and the wide screen's sidebar. */
.sheet__panel:focus { outline: none; }
.sheet__head h2 { display: flex; align-items: center; gap: 10px; }
.filters__badge {
    display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px;
    background: var(--ink); color: var(--paper); font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; line-height: 1;
}
.sheet__close { width: 40px; height: 40px; background: var(--paper); box-shadow: 0 0 0 1px var(--sand), 0 2px 6px -3px rgba(60, 40, 25, 0.25); }
.sheet__close:hover { background: var(--cream-deep); }
.sheet__body { scrollbar-width: thin; scrollbar-color: var(--sand-deep) transparent; overscroll-behavior: contain; }
.sheet__foot { box-shadow: 0 -12px 24px -20px rgba(60, 40, 25, 0.45); }

.filters__title { color: var(--ink-soft); }
.filters__sizes { gap: 8px; }
.filters .option span { min-width: 54px; min-height: 42px; padding: 0 15px; border-radius: 99px; font-size: 0.8125rem; letter-spacing: 0.03em; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 16px 6px; }
.swatch { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; cursor: pointer; text-align: center; }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch__dot {
    width: 34px; height: 34px; border-radius: 50%; background: var(--swatch, #d8cfc4);
    box-shadow: inset 0 0 0 1px rgba(28, 23, 20, 0.14);
    transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.swatch:hover .swatch__dot { transform: scale(1.06); }
.swatch input:checked ~ .swatch__dot { box-shadow: inset 0 0 0 1px rgba(28, 23, 20, 0.14), 0 0 0 3px var(--swatch-gap, var(--cream)), 0 0 0 4.5px var(--ink); }
.swatch input:focus-visible ~ .swatch__dot { outline: 2px solid var(--ink); outline-offset: 6px; }
.swatch__name { max-width: 100%; font-size: 0.6875rem; line-height: 1.25; color: var(--ink-soft); overflow-wrap: anywhere; }
.swatch input:checked ~ .swatch__name { color: var(--ink); font-weight: 500; }
.filters__group.is-collapsed .swatch--extra { display: none; }
/* The last group (Disponibilidad) ends the form without a rule under it. */
.filters > div.filters__group:last-of-type { border-bottom: 0; padding-bottom: 0; }
.swatches__more { justify-self: start; font-size: 0.8125rem; }

.price-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.price-preset {
    min-height: 38px; padding: 0 15px; border: 1px solid var(--sand-deep); border-radius: 99px; background: var(--paper);
    color: var(--ink); font: inherit; font-size: 0.8125rem; cursor: pointer;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.price-preset:hover { border-color: var(--ink); }
.price-preset[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.price-preset:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.price-range { align-items: end; gap: 10px; }
.price-range__dash { padding-bottom: 13px; color: var(--ink-faint); }
.price-field { display: grid; gap: 6px; min-width: 0; }
.price-field__label { font-size: 0.75rem; color: var(--ink-soft); }
.price-field__box {
    display: flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 14px;
    border: 1px solid var(--sand-deep); border-radius: 12px; background: var(--paper); transition: border-color 0.2s var(--ease);
}
.price-field__box:focus-within { border-color: var(--ink); }
.price-field__box > span { color: var(--ink-faint); font-size: 0.9375rem; }
.price-range .price-field__box input {
    flex: 1; width: 100%; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none;
    font: inherit; font-size: 0.9375rem; color: var(--ink); outline: none; -moz-appearance: textfield; appearance: textfield;
}
.price-field__box input::-webkit-outer-spin-button, .price-field__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-field__box input::placeholder { color: var(--ink-faint); }

.filters__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.filters__actions .btn { min-height: 50px; padding-left: 12px; padding-right: 12px; }
.filters__submit { transition: opacity 0.2s var(--ease); }
.filters__submit.is-counting { opacity: 0.72; }
@media (min-width: 1024px) {
    .sheet--inline .filters { --swatch-gap: var(--paper); }
    .filters__actions { grid-template-columns: 1fr; }
    .filters__actions .btn { min-height: 44px; }
    .sheet--inline .filters__clear.is-idle { display: none; }
    /* An older rule took the line off the last fieldset too (Precio); it keeps it. */
    .sheet--inline fieldset.filters__group:last-of-type { border-bottom: 1px solid var(--sand); padding-bottom: 20px; }
}
