/* ==========================================================================
   Cassidy Inspired design system
   Warm gallery palette: ivory paper, deep ink, coastal teal, terracotta CTA.
   ========================================================================== */

:root {
    --paper: #FBF8F3;
    --paper-deep: #F3EDE3;
    --sand: #E9E0D1;
    --ink: #1E2A3A;
    --ink-soft: #4F5B6B;
    --ink-mute: #8A94A3;
    --teal: #2B7A8B;
    --teal-deep: #1F5F6D;
    --teal-tint: #E3F0F2;
    --terracotta: #D4683A;
    --terracotta-deep: #B8532A;
    --gold: #D9A441;
    --white: #FFFFFF;
    --line: #E4DCCF;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(30, 42, 58, .06), 0 1px 1px rgba(30, 42, 58, .04);
    --shadow-md: 0 10px 30px rgba(30, 42, 58, .10);
    --shadow-lg: 0 24px 60px rgba(30, 42, 58, .16);
    --shadow-inset: inset 0 0 0 1px rgba(30, 42, 58, .06);
    --container: 1320px;
    --gutter: 16px;
    --header-h: 68px;

    /* Type scale: one size per role. */
    --fs-hero: clamp(2.8rem, 5.6vw, 4.6rem);
    --fs-h1: clamp(2rem, 3.4vw, 2.8rem);
    --fs-h2: clamp(1.6rem, 2.6vw, 2.1rem);
    --fs-h3: 1.2rem;

    /* Motion: one easing, two durations. */
    --ease: cubic-bezier(.2, .7, .2, 1);
    --dur-fast: .18s;
    --dur: .4s;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
    color: var(--ink);
}
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); }
/* The soft, slightly wonky Fraunces cut, reserved for the hero. */
.display { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.025em; font-variation-settings: "SOFT" 60, "WONK" 1; }

p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section { padding: clamp(40px, 6vw, 80px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.section--band { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2 { color: var(--paper); }

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.section-head h2 { margin: 0; }
.section-head .link { white-space: nowrap; font-weight: 500; }
/* Links with the class draw their underline in from the left. */
.link { position: relative; text-decoration: none !important; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-fast) var(--ease); }
.link:hover::after { transform: scaleX(1); }

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.lede { font-size: 1.125rem; color: var(--ink-soft); max-width: 56ch; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
    text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: 0 6px 18px rgba(212, 104, 58, .28); }
.btn--primary:hover { background: var(--terracotta-deep); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Announcement bar + header
   -------------------------------------------------------------------------- */
.announce {
    background: var(--ink);
    color: var(--paper);
    font-size: .82rem;
    text-align: center;
    padding: 8px var(--gutter);
    letter-spacing: .02em;
}
.announce strong { color: var(--gold); font-weight: 600; }
.announce .dot { margin: 0 10px; opacity: .5; }

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 248, 243, .92);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header .container { position: relative; }
.header__row {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-h);
}
.brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none !important;
    white-space: nowrap;
}
.brand em { font-style: italic; font-weight: 400; color: var(--gold); }

.nav {
    display: flex;
    gap: 4px;
    margin-left: 12px;
}
.nav a {
    color: var(--ink);
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none !important;
}
.nav a:hover, .nav a.active { background: var(--paper-deep); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none !important;
    position: relative;
    cursor: pointer;
}
.icon-btn:hover { background: var(--paper-deep); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--terracotta);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header search bar. The search icon is a <label> for the input, so clicking it focuses the
   input; the bar is open while it has focus or holds text. Works with no JavaScript. */
.site-search {
    overflow: hidden;
    max-height: 0;
    border-top: 1px solid transparent;
    transition: max-height .22s ease, border-color .22s ease;
}
.site-search:focus-within,
.site-search:has(.site-search__input:not(:placeholder-shown)) {
    max-height: 96px;
    border-top-color: var(--line);
}
.site-search__inner { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.site-search__inner svg { width: 20px; height: 20px; color: var(--ink-mute); flex: none; }
.site-search__input {
    flex: 1;
    min-width: 0;
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1.05rem;
    color: var(--ink);
    padding: 8px 0;
    outline: none;
}
.site-search__input::placeholder { color: var(--ink-mute); }
.site-search .btn { padding: 10px 20px; }

.nav-toggle { display: none; }
.nav-toggle-btn { display: none; }

@media (max-width: 900px) {
    .nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        flex-direction: column;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 16px;
        margin: 0;
        box-shadow: var(--shadow-md);
    }
    .nav a { padding: 12px 10px; font-size: 1.05rem; }
    .nav-toggle:checked ~ .header__row .nav { display: flex; }
    .nav-toggle-btn { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    padding: clamp(32px, 5vw, 72px) 0 clamp(32px, 5vw, 64px);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--teal); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: .9rem;
    color: var(--ink-soft);
    list-style: none;
    margin: 0;
    padding: 0;
}
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.trust strong { color: var(--ink); }

.collage {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    aspect-ratio: 1.1;
}
.collage__item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--sand);
    box-shadow: var(--shadow-md);
}
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__item--tall { grid-row: 1 / 3; }

@media (max-width: 820px) {
    .hero__grid { grid-template-columns: 1fr; }
    .collage { aspect-ratio: 1.3; }
}

/* --------------------------------------------------------------------------
   Stars
   -------------------------------------------------------------------------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); vertical-align: -2px; }
.stars svg { width: 16px; height: 16px; }
.stars--lg svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Category tiles
   -------------------------------------------------------------------------- */
.tiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.tile {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--sand);
    text-decoration: none !important;
    box-shadow: var(--shadow-sm);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.05); }
.tile__label {
    position: absolute;
    inset: auto 0 0 0;
    padding: 36px 14px 14px;
    background: linear-gradient(to top, rgba(30, 42, 58, .82), rgba(30, 42, 58, 0));
    color: var(--white);
}
.tile__label strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.tile__label span { font-size: .8rem; opacity: .85; }

@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 20px;
}
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .card__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
    .card__title { font-size: .9rem; }
}

.card { display: flex; flex-direction: column; position: relative; }
.card__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--sand);
    box-shadow: var(--shadow-sm);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 1;
    background: var(--white);
    color: var(--ink);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.card__badge--new { background: var(--teal); color: var(--white); }
.card__body { padding: 12px 2px 0; }
.card__title {
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title { text-decoration: underline; text-decoration-color: var(--ink-mute); }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-right: 3px; }
.card__rating { font-size: .78rem; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.step { position: relative; padding-top: 10px; }
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--teal);
    opacity: .55;
    margin-bottom: 10px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.review {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}
.review blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.08rem;
    line-height: 1.45;
    color: var(--ink);
    flex: 1;
}
.review footer { font-size: .85rem; color: var(--ink-soft); }
.review footer strong { color: var(--ink); }
.review footer span { display: block; }
.review footer .review__source { color: var(--ink-mute); font-size: .78rem; margin-top: 4px; }
.review footer .review__source a { color: inherit; text-decoration: underline; }
.review__rated { margin: 0; color: var(--ink-soft); font-size: .95rem; flex: 1; }
.pdp__rating a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pdp__rating a:hover { text-decoration: underline; }
.pdp__shoprating { color: var(--ink-soft); }
.pdp__shoprating a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--ink-mute); }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } }

.rating-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 24px;
    color: var(--ink-soft);
}
.rating-summary .big { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--ink); line-height: 1; }

/* --------------------------------------------------------------------------
   About strip
   -------------------------------------------------------------------------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}
.about__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; background: var(--sand); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about .lede { color: inherit; opacity: .9; }
.about .sig { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; margin-top: 10px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about__media { aspect-ratio: 16 / 10; } }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.crumbs { font-size: .85rem; color: var(--ink-soft); margin: 18px 0 8px; }
.crumbs a { color: var(--ink-soft); }
.crumbs span { margin: 0 6px; opacity: .6; }

.pdp {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    padding-bottom: 60px;
}
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
/* Gallery: hidden radios + label thumbnails and arrows, no JavaScript */
.gallery { position: relative; }
.gallery__radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 1; box-shadow: var(--shadow-sm); }
.gallery__img { display: none; width: 100%; height: 100%; object-fit: cover; }
@keyframes gallery-fade { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }

.gallery__nav { display: none; position: absolute; inset: 0; pointer-events: none; }
.gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(30, 42, 58, .18);
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    transition: opacity .2s ease, background .15s ease, transform .15s ease;
    backdrop-filter: blur(4px);
}
.gallery__arrow svg { width: 22px; height: 22px; }
.gallery__arrow--prev { left: 14px; }
.gallery__arrow--next { right: 14px; }
.gallery__arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }
.gallery__arrow:active { transform: translateY(-50%) scale(.96); }
.gallery__main:hover .gallery__arrow, .gallery__main:focus-within .gallery__arrow { opacity: 1; }
@media (hover: none) { .gallery__arrow { opacity: 1; } }

.gallery__counter {
    position: absolute;
    right: 14px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(30, 42, 58, .72);
    color: var(--white);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    backdrop-filter: blur(4px);
}

.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery__thumb { width: 72px; flex: none; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--sand); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color .15s ease; }
.gallery__thumb:hover { border-color: var(--ink-mute); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__radio:nth-of-type(1):checked ~ .gallery__main .gallery__img:nth-of-type(1) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(1):checked ~ .gallery__main .gallery__nav:nth-of-type(1) { display: block; }
.gallery__radio:nth-of-type(1):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(1) { border-color: var(--ink); }
.gallery__radio:nth-of-type(1):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(1) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(2):checked ~ .gallery__main .gallery__img:nth-of-type(2) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(2):checked ~ .gallery__main .gallery__nav:nth-of-type(2) { display: block; }
.gallery__radio:nth-of-type(2):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(2) { border-color: var(--ink); }
.gallery__radio:nth-of-type(2):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(2) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(3):checked ~ .gallery__main .gallery__img:nth-of-type(3) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(3):checked ~ .gallery__main .gallery__nav:nth-of-type(3) { display: block; }
.gallery__radio:nth-of-type(3):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(3) { border-color: var(--ink); }
.gallery__radio:nth-of-type(3):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(3) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(4):checked ~ .gallery__main .gallery__img:nth-of-type(4) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(4):checked ~ .gallery__main .gallery__nav:nth-of-type(4) { display: block; }
.gallery__radio:nth-of-type(4):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(4) { border-color: var(--ink); }
.gallery__radio:nth-of-type(4):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(4) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(5):checked ~ .gallery__main .gallery__img:nth-of-type(5) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(5):checked ~ .gallery__main .gallery__nav:nth-of-type(5) { display: block; }
.gallery__radio:nth-of-type(5):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(5) { border-color: var(--ink); }
.gallery__radio:nth-of-type(5):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(5) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(6):checked ~ .gallery__main .gallery__img:nth-of-type(6) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(6):checked ~ .gallery__main .gallery__nav:nth-of-type(6) { display: block; }
.gallery__radio:nth-of-type(6):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(6) { border-color: var(--ink); }
.gallery__radio:nth-of-type(6):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(6) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(7):checked ~ .gallery__main .gallery__img:nth-of-type(7) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(7):checked ~ .gallery__main .gallery__nav:nth-of-type(7) { display: block; }
.gallery__radio:nth-of-type(7):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(7) { border-color: var(--ink); }
.gallery__radio:nth-of-type(7):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(7) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(8):checked ~ .gallery__main .gallery__img:nth-of-type(8) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(8):checked ~ .gallery__main .gallery__nav:nth-of-type(8) { display: block; }
.gallery__radio:nth-of-type(8):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(8) { border-color: var(--ink); }
.gallery__radio:nth-of-type(8):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(8) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(9):checked ~ .gallery__main .gallery__img:nth-of-type(9) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(9):checked ~ .gallery__main .gallery__nav:nth-of-type(9) { display: block; }
.gallery__radio:nth-of-type(9):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(9) { border-color: var(--ink); }
.gallery__radio:nth-of-type(9):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(9) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(10):checked ~ .gallery__main .gallery__img:nth-of-type(10) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(10):checked ~ .gallery__main .gallery__nav:nth-of-type(10) { display: block; }
.gallery__radio:nth-of-type(10):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(10) { border-color: var(--ink); }
.gallery__radio:nth-of-type(10):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(10) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(11):checked ~ .gallery__main .gallery__img:nth-of-type(11) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(11):checked ~ .gallery__main .gallery__nav:nth-of-type(11) { display: block; }
.gallery__radio:nth-of-type(11):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(11) { border-color: var(--ink); }
.gallery__radio:nth-of-type(11):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(11) { outline: 2px solid var(--teal); outline-offset: 2px; }
.gallery__radio:nth-of-type(12):checked ~ .gallery__main .gallery__img:nth-of-type(12) { display: block; animation: gallery-fade .35s ease; }
.gallery__radio:nth-of-type(12):checked ~ .gallery__main .gallery__nav:nth-of-type(12) { display: block; }
.gallery__radio:nth-of-type(12):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(12) { border-color: var(--ink); }
.gallery__radio:nth-of-type(12):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(12) { outline: 2px solid var(--teal); outline-offset: 2px; }

.pdp h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.pdp__rating { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 16px; }
/* Buy box: hidden variant radios drive the price shown and the highlighted chip */
.buybox { position: relative; }
.buybox__radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.buybox__prices { margin-bottom: 20px; min-height: 2.2rem; }
.buybox__price { display: none; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.buybox__amount { font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.buybox__price small { font-size: .9rem; color: var(--ink-soft); }
.buybox__sku { flex-basis: 100%; font-size: .72rem; color: var(--ink-mute); letter-spacing: .04em; }

.option { margin-bottom: 18px; }
.option__label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.option--inline { display: flex; align-items: center; gap: 12px; }
.option--inline .option__label { margin: 0; }
.option__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 9px 16px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: var(--white);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .1s ease;
}
.chip:hover { border-color: var(--ink-mute); }
.chip:active { transform: scale(.97); }
.chip__price { font-size: .75rem; color: var(--ink-soft); }
.qty {
    appearance: none;
    padding: 9px 36px 9px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 12px center / 16px;
    font: inherit;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
}
.qty:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(1):checked ~ .buybox__prices .buybox__price:nth-of-type(1) { display: flex; }
.buybox__radio:nth-of-type(1):checked ~ .option .chip:nth-of-type(1) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(1):checked ~ .option .chip:nth-of-type(1) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(1):focus-visible ~ .option .chip:nth-of-type(1) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(2):checked ~ .buybox__prices .buybox__price:nth-of-type(2) { display: flex; }
.buybox__radio:nth-of-type(2):checked ~ .option .chip:nth-of-type(2) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(2):checked ~ .option .chip:nth-of-type(2) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(2):focus-visible ~ .option .chip:nth-of-type(2) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(3):checked ~ .buybox__prices .buybox__price:nth-of-type(3) { display: flex; }
.buybox__radio:nth-of-type(3):checked ~ .option .chip:nth-of-type(3) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(3):checked ~ .option .chip:nth-of-type(3) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(3):focus-visible ~ .option .chip:nth-of-type(3) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(4):checked ~ .buybox__prices .buybox__price:nth-of-type(4) { display: flex; }
.buybox__radio:nth-of-type(4):checked ~ .option .chip:nth-of-type(4) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(4):checked ~ .option .chip:nth-of-type(4) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(4):focus-visible ~ .option .chip:nth-of-type(4) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(5):checked ~ .buybox__prices .buybox__price:nth-of-type(5) { display: flex; }
.buybox__radio:nth-of-type(5):checked ~ .option .chip:nth-of-type(5) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(5):checked ~ .option .chip:nth-of-type(5) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(5):focus-visible ~ .option .chip:nth-of-type(5) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(6):checked ~ .buybox__prices .buybox__price:nth-of-type(6) { display: flex; }
.buybox__radio:nth-of-type(6):checked ~ .option .chip:nth-of-type(6) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(6):checked ~ .option .chip:nth-of-type(6) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(6):focus-visible ~ .option .chip:nth-of-type(6) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(7):checked ~ .buybox__prices .buybox__price:nth-of-type(7) { display: flex; }
.buybox__radio:nth-of-type(7):checked ~ .option .chip:nth-of-type(7) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(7):checked ~ .option .chip:nth-of-type(7) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(7):focus-visible ~ .option .chip:nth-of-type(7) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(8):checked ~ .buybox__prices .buybox__price:nth-of-type(8) { display: flex; }
.buybox__radio:nth-of-type(8):checked ~ .option .chip:nth-of-type(8) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(8):checked ~ .option .chip:nth-of-type(8) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(8):focus-visible ~ .option .chip:nth-of-type(8) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(9):checked ~ .buybox__prices .buybox__price:nth-of-type(9) { display: flex; }
.buybox__radio:nth-of-type(9):checked ~ .option .chip:nth-of-type(9) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(9):checked ~ .option .chip:nth-of-type(9) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(9):focus-visible ~ .option .chip:nth-of-type(9) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(10):checked ~ .buybox__prices .buybox__price:nth-of-type(10) { display: flex; }
.buybox__radio:nth-of-type(10):checked ~ .option .chip:nth-of-type(10) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(10):checked ~ .option .chip:nth-of-type(10) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(10):focus-visible ~ .option .chip:nth-of-type(10) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(11):checked ~ .buybox__prices .buybox__price:nth-of-type(11) { display: flex; }
.buybox__radio:nth-of-type(11):checked ~ .option .chip:nth-of-type(11) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(11):checked ~ .option .chip:nth-of-type(11) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(11):focus-visible ~ .option .chip:nth-of-type(11) { outline: 2px solid var(--teal); outline-offset: 2px; }
.buybox__radio:nth-of-type(12):checked ~ .buybox__prices .buybox__price:nth-of-type(12) { display: flex; }
.buybox__radio:nth-of-type(12):checked ~ .option .chip:nth-of-type(12) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.buybox__radio:nth-of-type(12):checked ~ .option .chip:nth-of-type(12) .chip__price { color: rgba(255, 255, 255, .75); }
.buybox__radio:nth-of-type(12):focus-visible ~ .option .chip:nth-of-type(12) { outline: 2px solid var(--teal); outline-offset: 2px; }

.pdp__buy { display: grid; gap: 10px; margin: 24px 0 18px; }
.pdp__assure { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.pdp__assure li { display: flex; gap: 9px; align-items: flex-start; }
.pdp__assure svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }

details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; color: var(--ink-mute); font-weight: 400; }
details.acc[open] summary::after { content: "\2013"; }
details.acc .acc__body { padding: 0 0 16px; color: var(--ink-soft); font-size: .95rem; }
details.acc ul { padding-left: 18px; margin: 0 0 12px; }
.desc h3 { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 18px 0 8px; }
.desc h3:first-child { margin-top: 4px; }
.desc p { margin: 0 0 12px; }
.desc li { margin-bottom: 4px; }

@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; } .pdp__gallery { position: static; } }

/* --------------------------------------------------------------------------
   Shop listing page
   -------------------------------------------------------------------------- */
.shop-head { padding: 28px 0 20px; }
.shop-head h1 { margin-bottom: 6px; }
.shop-head .lede { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.filters a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none !important; background: var(--white); }
.filters a.active, .filters a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.filters__n { margin-left: 4px; opacity: .55; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Search page */
.search-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 680px;
    margin: 16px 0 4px;
    padding: 6px 6px 6px 18px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    transition: border-color .15s ease;
}
.search-hero:focus-within { border-color: var(--ink); }
.search-hero svg { width: 20px; height: 20px; color: var(--ink-mute); flex: none; }
.search-hero input { flex: 1; min-width: 0; appearance: none; border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--ink); padding: 10px 0; outline: none; }
.search-hero .btn { padding: 12px 22px; }
.search-status { color: var(--ink-soft); margin: 12px 0 0; }
.search-status strong { color: var(--ink); }
.search-empty { padding: 8px 0 24px; }
.search-empty h2 { margin-bottom: 8px; }
@media (max-width: 560px) { .search-hero .btn { padding: 12px 16px; } }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 40px 0 10px; flex-wrap: wrap; }
.pager__status { font-size: .9rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(251, 248, 243, .78); padding: 56px 0 28px; margin-top: 40px; font-size: .92rem; }
.footer a { color: rgba(251, 248, 243, .85); }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer .brand { color: var(--paper); font-size: 1.5rem; margin-bottom: 10px; display: inline-block; }
.footer h4 { color: var(--paper); font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__bottom { border-top: 1px solid rgba(251, 248, 243, .14); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; opacity: .75; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   Utility / misc
   -------------------------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.muted { color: var(--ink-soft); }
@media (max-width: 640px) { .hidden-sm { display: none !important; } }


/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.link-btn { appearance: none; border: 0; background: none; padding: 0; font: inherit; font-size: .9rem; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--terracotta-deep); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.qty--sm { padding: 8px 32px 8px 12px; }

.cart h1 { margin-bottom: 18px; }
.cart__notice { background: var(--teal-tint); color: var(--teal-deep); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 18px; font-weight: 500; }
.cart__notice--warn { background: #FBEDE4; color: var(--terracotta-deep); }
.cart__empty { padding: 32px 0 60px; max-width: 56ch; }
.cart__empty .btn { margin-top: 10px; }
.cart__layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 60px; }
.cart__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart__line { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart__thumb img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-deep); }
.cart__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.cart__variant { color: var(--ink-soft); font-size: .92rem; margin-top: 2px; }
.cart__unit { color: var(--ink-mute); font-size: .85rem; margin-top: 2px; }
.cart__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.cart__qty { display: flex; align-items: center; gap: 8px; }
.cart__total { font-weight: 600; font-size: 1.1rem; white-space: nowrap; }
.cart__summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.cart__summary h2 { font-size: 1.3rem; margin-bottom: 14px; }
.cart__summary dl { margin: 0 0 18px; display: grid; gap: 10px; }
.cart__summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.cart__summary dt { color: var(--ink-soft); }
.cart__summary dd { margin: 0; text-align: right; font-weight: 500; }
.cart__summary dl div:first-child dd { font-size: 1.15rem; font-weight: 600; }
.cart__fine { font-size: .82rem; color: var(--ink-soft); margin: 14px 0; }
.buybox__soon { background: var(--paper-deep); border-radius: var(--radius-sm); padding: 14px 16px; margin: 20px 0 18px; color: var(--ink-soft); }
.buybox__soon strong { color: var(--ink); }
@media (max-width: 820px) {
    .cart__layout { grid-template-columns: 1fr; }
    .cart__summary { position: static; }
    .cart__line { grid-template-columns: 88px 1fr; }
    .cart__thumb img { width: 88px; height: 88px; }
    .cart__total { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Order status
   -------------------------------------------------------------------------- */
.order h1 { margin-bottom: 10px; }
.order__timeline { list-style: none; margin: 28px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: step; }
.order__timeline li { position: relative; padding-top: 22px; font-size: .9rem; color: var(--ink-mute); }
.order__timeline li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 4px; background: var(--line); border-radius: 2px; }
.order__timeline li.done::before { background: var(--teal); }
.order__timeline li.done { color: var(--ink); }
.order__timeline li.current span { font-weight: 600; }
.order__timeline li span { display: block; }
.order__timeline li small { color: var(--ink-mute); }
.order__tracking { margin: 10px 0 0; }
.order__layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 32px; padding-bottom: 60px; }
.order__layout h2 { font-size: 1.3rem; }
.order__grand dt, .order__grand dd { font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; }
.order__address { font-style: normal; color: var(--ink-soft); line-height: 1.5; margin-bottom: 14px; }
.cart__summary h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin: 18px 0 6px; }
@media (max-width: 820px) {
    .order__layout { grid-template-columns: 1fr; }
    .order__timeline { grid-template-columns: repeat(2, 1fr); }
}
.cart__country { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cart__country label { color: var(--ink-soft); }
.cart__country select { flex: 1; }
.cart__warn { margin-top: 6px; font-size: .9rem; color: var(--terracotta-deep); font-weight: 500; }

/* --------------------------------------------------------------------------
   Policy pages, FAQ and the contact form
   -------------------------------------------------------------------------- */
.policy h2 { margin-top: 1.8em; }
.policy h3 { margin-top: 1.3em; font-size: 1.1rem; }
.policy__meta { font-size: .85rem; color: var(--ink-mute); margin: -6px 0 14px; }
.policy__list { padding-left: 1.2em; display: grid; gap: 8px; }
.faq { margin: 0; }
.faq summary { font-weight: 600; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__aside { background: var(--paper-deep); border-radius: var(--radius); padding: 24px; font-size: .95rem; }
.contact__aside h2 { font-size: 1.1rem; margin: 0 0 6px; }
.contact__aside h2 + * { margin-top: 0; }
.contact__aside p, .contact__aside ul { margin: 0 0 18px; }
.contact__aside ul { padding-left: 1.1em; display: grid; gap: 6px; }
.contact__legal { font-size: .82rem; color: var(--ink-soft); margin-bottom: 0 !important; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; margin: 24px 0 8px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field__hint { font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    font: inherit;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 20px; }
.notice ul { margin: 6px 0 0; padding-left: 1.2em; }
.notice--ok { background: var(--teal-tint); color: var(--teal-deep); }
.notice--warn { background: #FBEDE4; color: var(--terracotta-deep); }

/* --------------------------------------------------------------------------
   Admin (static server-rendered, forms only)
   -------------------------------------------------------------------------- */
.admin { min-height: 100vh; background: var(--paper-deep); }
.admin__bar { background: var(--white); border-bottom: 1px solid var(--line); }
.admin__inner { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand--sm { font-size: 1.2rem; }
.admin__tag { font-family: var(--font-body); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-left: 6px; font-weight: 600; }
.admin__nav { display: flex; gap: 18px; font-weight: 500; }
.admin__nav a { color: var(--ink); }
.admin__user { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--ink-soft); }
.admin__main { max-width: 1240px; margin: 0 auto; padding: 24px 16px 60px; }
.admin__main h1 { font-size: 1.8rem; margin-bottom: 16px; }
.admin__main h2 { font-size: 1.2rem; margin: 0 0 10px; }
.admin__main h3 { font-size: .95rem; margin: 16px 0 6px; font-family: var(--font-body); font-weight: 600; color: var(--ink-soft); }
.admin__card { background: var(--white); border-radius: var(--radius); padding: 32px; max-width: 520px; margin: 40px auto; box-shadow: var(--shadow-sm); }
.admin__card .btn { margin: 8px 0 16px; }
.admin__dev { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; }
.admin__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--white); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 2px; box-shadow: var(--shadow-sm); }
.stat__label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.stat strong { font-size: 1.5rem; font-family: var(--font-display); }
.admin__section, .admin__panel { background: var(--white); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 18px; box-shadow: var(--shadow-sm); overflow-x: auto; }
.admin__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.admin__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin__table th { text-align: left; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.admin__table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin__table--tight td { padding: 6px 8px; }
.admin__table--report td:first-child { width: 70%; }
.admin__table .num { text-align: right; white-space: nowrap; }
.admin__row-strong td { font-weight: 700; }
.admin__table img { border-radius: 6px; display: block; }
.admin__filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.admin__filters input, .admin__filters select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.admin__filters input[type="search"] { min-width: 280px; }
.admin__paging { display: flex; gap: 18px; align-items: center; margin-top: 12px; }
.admin__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.admin__links { display: flex; gap: 16px; font-weight: 500; }
.admin__crumb { margin: 0 0 6px; font-size: .9rem; }
.admin__totals, .admin__facts { margin: 12px 0 0; }
.admin__totals div, .admin__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: .92rem; }
.admin__totals dt, .admin__facts dt { color: var(--ink-soft); }
.admin__totals dd, .admin__facts dd { margin: 0; text-align: right; }
.admin__totals-grand { font-weight: 700; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px !important; }
.admin__list { padding-left: 1.1em; margin: 0; font-size: .92rem; display: grid; gap: 4px; }
.admin__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.admin__actions form { margin: 0; }
.admin__inline { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 10px; display: grid; gap: 8px; }
.admin__inline .field input, .admin__inline .field textarea { padding: 8px 10px; }
.admin__danger { color: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.admin__error { color: var(--terracotta-deep); }
.admin__message { max-width: 420px; white-space: pre-wrap; }
.admin__timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.admin__timeline time { color: var(--ink-mute); margin-right: 8px; font-variant-numeric: tabular-nums; }
.status { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--sand); color: var(--ink-soft); vertical-align: middle; }
.status--paid, .status--senttofulfillment { background: var(--teal-tint); color: var(--teal-deep); }
.status--shipped, .status--delivered { background: #E6F2E6; color: #2E6B3A; }
.status--fulfillmenterror { background: #FBEDE4; color: var(--terracotta-deep); }
.status--cancelled, .status--refunded { background: var(--sand); color: var(--ink-mute); }
button[disabled].btn { opacity: .45; cursor: not-allowed; transform: none; }

/* --------------------------------------------------------------------------
   Collections: tiles, index shelves, collection page hero, product chips
   -------------------------------------------------------------------------- */
.ctiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ctiles--3 { grid-template-columns: repeat(3, 1fr); }
.ctiles--search { grid-template-columns: repeat(2, minmax(0, 320px)); margin: 0 0 22px; }
/* Home shelf: the first (in-season or lead) tile spans two columns and two rows. */
.ctiles--home { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
.ctiles--home .ctile--lg { grid-column: span 2; grid-row: span 2; }
.ctile {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--sand);
    text-decoration: none !important;
    box-shadow: var(--shadow-sm);
    color: var(--white);
}
.ctiles--home .ctile--lg { aspect-ratio: auto; min-height: 100%; }
.ctile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.ctile:hover img { transform: scale(1.05); }
.ctile__label {
    position: absolute;
    inset: auto 0 0 0;
    padding: 56px 16px 16px;
    background: linear-gradient(to top, rgba(30, 42, 58, .9), rgba(30, 42, 58, .35) 60%, rgba(30, 42, 58, 0));
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ctile__label strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.ctile--lg .ctile__label strong { font-size: 1.8rem; }
.ctile__tagline { font-size: .85rem; opacity: .9; line-height: 1.35; display: none; }
.ctile--lg .ctile__tagline, .cshelf .ctile__tagline { display: block; }
.ctile__count { font-size: .78rem; opacity: .8; }
.ctile__flag {
    align-self: flex-start;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    margin-bottom: 4px;
}
.filters--more { margin: 14px 0 0; }
.filters--more a { font-size: .82rem; padding: 6px 12px; }
.filters--more .filters__all { border-style: dashed; }
.browse-by { margin: -12px 0 26px; }
.browse-by__label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }

.cshelf { margin: 0 0 clamp(24px, 4vw, 44px); }
.cshelf .section-head { margin-bottom: 16px; }

/* Collection header: a short editorial band. Text left, a fanned stack of three
   member images right, never taller than about a third of a desktop viewport,
   so the chips and the grid are on screen from the start. */
.chero {
    background: linear-gradient(135deg, var(--paper-deep) 0%, var(--paper) 70%);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 28px;
    margin-bottom: 8px;
}
.chero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; }
.chero .crumbs { margin: 14px 0 14px; }
.chero h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 4px 0 10px; }
.chero .lede { font-size: 1.05rem; max-width: 62ch; margin-bottom: 14px; }
.chero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .85rem; }
.chero__pill {
    display: inline-flex; align-items: center;
    padding: 6px 12px; border-radius: 999px;
    background: var(--white); border: 1.5px solid var(--line); color: var(--ink);
    text-decoration: none !important; font-weight: 500;
}
.chero__pill span { opacity: .55; font-variant-numeric: tabular-nums; }
.chero__pill--link:hover { border-color: var(--ink); }
.chero__pill--season { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chero__stack { position: relative; height: 250px; justify-self: end; width: 340px; }
.chero__card {
    position: absolute; top: 50%; left: 50%;
    width: 190px; height: 190px; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow-md);
    border: 4px solid var(--white); background: var(--sand);
    transition: transform .4s ease;
}
.chero__card:nth-child(1) { transform: translate(-108%, -52%) rotate(-7deg); z-index: 1; }
.chero__card:nth-child(2) { transform: translate(-50%, -46%) rotate(2deg); z-index: 3; }
.chero__card:nth-child(3) { transform: translate(8%, -54%) rotate(7deg); z-index: 2; }
.chero:hover .chero__card:nth-child(1) { transform: translate(-116%, -54%) rotate(-9deg); }
.chero:hover .chero__card:nth-child(3) { transform: translate(16%, -56%) rotate(9deg); }

/* A little lift on product cards, so the grid reads as objects rather than a flat sheet. */
.card__media { transition: transform .35s ease, box-shadow .35s ease; }
.card:hover .card__media { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ctile { transition: transform .35s ease, box-shadow .35s ease; }
.ctile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Collections index: a short head, then the shelves. */
.shop-head--index { padding-bottom: 8px; }
.shop-head--index .lede { max-width: 70ch; }

.pdp__collections { margin: 10px 0 0; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pdp__collections-label { color: var(--ink-mute); margin-right: 2px; }
.pdp__collections a {
    padding: 4px 11px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--ink);
    text-decoration: none !important;
    font-weight: 500;
}
.pdp__collections a:hover { border-color: var(--ink); }

@media (max-width: 1000px) {
    .ctiles, .ctiles--home { grid-template-columns: repeat(3, 1fr); }
    .ctiles--home .ctile--lg { grid-column: span 2; grid-row: span 2; }
    .ctiles--3 { grid-template-columns: repeat(3, 1fr); }
    .chero__grid { grid-template-columns: 1fr; gap: 8px; }
    .chero__stack { display: none; }
}
@media (max-width: 640px) {
    .ctiles, .ctiles--home, .ctiles--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ctiles--home .ctile--lg { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
    .ctiles--search { grid-template-columns: 1fr 1fr; }
    .ctile__label { padding: 40px 12px 12px; }
    .ctile__label strong { font-size: 1.05rem; }
    .ctile--lg .ctile__label strong { font-size: 1.4rem; }
}

/* ==========================================================================
   Design pass (2026-10-25): header mega-menu, editorial hero, rails, strips
   ========================================================================== */

/* --- Navigation: underline instead of pill, mega-menu for Collections --- */
.nav a { border-radius: 0; padding: 8px 10px; position: relative; }
.nav a:hover, .nav a.active { background: transparent; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-fast) var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav__item { position: static; display: flex; }
.mega {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 26px var(--gutter) 22px;
    z-index: 60;
    animation: mega-in var(--dur-fast) var(--ease);
}
@keyframes mega-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { display: block; }
.mega__inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 28px; align-items: start; }
.mega__col h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 10px; }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__col a { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: .92rem; font-weight: 500; color: var(--ink); }
.mega__col a span { color: var(--ink-mute); font-size: .78rem; font-variant-numeric: tabular-nums; }
.mega__col a:hover { color: var(--teal-deep); text-decoration: none; }
.mega__col a::after { display: none; }
.mega__hot { color: var(--teal-deep) !important; }
.mega__feature { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--sand); color: var(--white); text-decoration: none !important; padding: 0 !important; }
.mega__feature::after { display: none; }
.mega__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.mega__feature:hover img { transform: scale(1.05); }
.mega__feature-label { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(to top, rgba(30, 42, 58, .9), rgba(30, 42, 58, 0)); display: grid; gap: 2px; }
.mega__feature-label strong { font-family: var(--font-display); font-size: 1.2rem; }
.mega__feature-label span:last-child { font-size: .8rem; opacity: .9; }
.mega__all { grid-column: 1 / -1; justify-self: start; font-weight: 600; color: var(--ink); padding: 6px 0 0 !important; }
.mega__all::after { display: none; }
@media (max-width: 900px) {
    .nav__item { display: block; }
    .mega { display: none !important; }
    .nav a::after { display: none; }
    .nav a:hover, .nav a.active { background: var(--paper-deep); border-radius: var(--radius-sm); }
}

/* --- Editorial hero --- */
.hero--editorial { padding: clamp(24px, 4vw, 56px) 0 0; overflow-x: clip; }
.hero--editorial .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero--editorial h1 { margin-bottom: 20px; }
.hero--editorial .lede { font-size: 1.15rem; }
.hero--editorial .hero__ctas { margin-bottom: 0; }
.hero__art { position: relative; margin-right: calc(min(0px, (var(--container) - 100vw) / 2) - var(--gutter)); padding-bottom: 56px; }
.hero__main { aspect-ratio: 4 / 3; border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-lg); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; }
.hero__stack { position: absolute; left: -24px; bottom: 0; display: flex; gap: 14px; }
.hero__stack img { width: 168px; height: 168px; object-fit: cover; border-radius: var(--radius); border: 5px solid var(--paper); box-shadow: var(--shadow-lg); background: var(--sand); }
.hero__stack img:first-child { transform: rotate(-4deg) translateY(6px); }
.hero__stack img:last-child { transform: rotate(3deg); }
@media (max-width: 820px) {
    .hero--editorial { padding-top: 20px; }
    .hero--editorial .hero__grid { grid-template-columns: 1fr; }
    .hero__art { margin-right: 0; padding-bottom: 0; }
    .hero__main { border-radius: var(--radius-lg); aspect-ratio: 16 / 11; }
    .hero__stack { display: none; }
}

.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); margin-top: clamp(24px, 4vw, 48px); }
.trust--bar { justify-content: space-between; padding: 12px 0; gap: 8px 24px; font-size: .88rem; }
.trust--bar li { white-space: nowrap; }
@media (max-width: 820px) { .trust--bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } }

/* --- Category rail: every category in one row, swipeable on phones --- */
.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 6 * 16px) / 7);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail .tile { scroll-snap-align: start; }
@media (max-width: 1000px) { .rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; } }
@media (max-width: 560px) { .rail { grid-auto-columns: 44%; gap: 12px; } }

/* --- How it works: one slim strip with icons --- */
.steps--strip { gap: 28px; counter-reset: none; }
.steps--strip .step { padding-top: 0; }
.steps--strip .step::before { display: none; }
.steps--strip .step svg { width: 30px; height: 30px; color: var(--teal); margin-bottom: 10px; }
.steps--strip .step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps--strip .step p { font-size: .9rem; }
@media (max-width: 820px) { .steps--strip { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 480px) { .steps--strip { grid-template-columns: 1fr; } }

/* --- Reviews as a quote wall --- */
.review { position: relative; padding-top: 30px; }
.review::before { content: "\201C"; position: absolute; top: 2px; left: 16px; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--gold); opacity: .9; }
.review .stars { position: absolute; top: 18px; right: 18px; }
.review blockquote { font-size: 1.12rem; }

/* --- Meet the artist: the image hangs like a framed print --- */
.section--ink .about__media { position: relative; overflow: visible; box-shadow: none; }
.section--ink .about__media::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid rgba(251, 248, 243, .35); border-radius: var(--radius); }
.section--ink .about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); position: relative; }

/* --- Product cards: second image on hover, type line, framed media --- */
.card__media { box-shadow: var(--shadow-sm), var(--shadow-inset); }
.card__media img { transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.card__alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__alt { opacity: 1; }
.card:hover .card__media img:not(.card__alt) { transform: scale(1.04); }
.card:hover .card__media { transform: translateY(-3px); box-shadow: var(--shadow-md), var(--shadow-inset); }
.card__type { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 3px; }
.card__title { font-size: .95rem; font-weight: 500; }
.card:hover .card__title { text-decoration: none; color: var(--teal-deep); }
@media (hover: none) { .card__alt { display: none; } }

/* --- Product page: folded description, thumbnail strip, phone buy bar --- */
details.acc--sub { border-top: 1px solid var(--line); margin-top: 6px; }
details.acc--sub:last-of-type { border-bottom: 0; }
details.acc--sub summary { padding: 10px 0; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
details.acc--sub .acc__body { padding-bottom: 10px; }
details.acc summary { transition: color var(--dur-fast) var(--ease); }
details.acc summary:hover { color: var(--teal-deep); }
.gallery__thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__main { box-shadow: var(--shadow-md), var(--shadow-inset); }
.buybox__amount { font-size: 1.9rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.buybar { display: none; }
@media (max-width: 820px) {
    .buybar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        display: flex; align-items: center; justify-content: space-between; gap: 14px;
        padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
        background: rgba(251, 248, 243, .94);
        backdrop-filter: saturate(160%) blur(10px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -10px 30px rgba(30, 42, 58, .08);
    }
    .buybar__price { font-size: .95rem; color: var(--ink-soft); }
    .buybar__price strong { font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums; }
    .buybar .btn { padding: 12px 22px; }
    body:has(.buybar) .footer { padding-bottom: 90px; }
}

/* --- Shop: one sticky filter bar; numbered pagination --- */
.filterbar {
    position: sticky; top: var(--header-h); z-index: 30;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0;
    margin: 8px 0 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.filterbar__cats { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 2px; background: var(--paper-deep); border-radius: 999px; }
.filterbar__cats::-webkit-scrollbar { display: none; }
.filterbar__cats a { padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink); white-space: nowrap; text-decoration: none !important; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.filterbar__cats a:hover { background: rgba(255, 255, 255, .7); }
.filterbar__cats a.active { background: var(--ink); color: var(--white); }
.filterbar__count { margin-left: auto; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dropdown { position: relative; }
.dropdown summary { list-style: none; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: .88rem; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--dur-fast) var(--ease); }
.dropdown[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.dropdown[open] summary { border-color: var(--ink); }
.dropdown__panel {
    position: absolute; left: 0; top: calc(100% + 8px); z-index: 35;
    width: min(560px, calc(100vw - 2 * var(--gutter)));
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px;
    padding: 14px 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    animation: mega-in var(--dur-fast) var(--ease);
}
.dropdown__panel a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 4px; font-size: .9rem; font-weight: 500; color: var(--ink); border-radius: var(--radius-sm); }
.dropdown__panel a:hover { background: var(--paper-deep); text-decoration: none; }
.dropdown__all { grid-column: 1 / -1; color: var(--teal-deep) !important; margin-top: 4px; }
.pager { gap: 6px; }
.pager__num, .pager__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; font-weight: 500; color: var(--ink); text-decoration: none !important; font-variant-numeric: tabular-nums; transition: background var(--dur-fast) var(--ease); }
.pager__num:hover, .pager__btn:hover { background: var(--paper-deep); }
.pager__num--current { background: var(--ink); color: var(--white); }
.pager__gap { color: var(--ink-mute); padding: 0 4px; }
.pager__status { margin-left: 12px; }
@media (max-width: 640px) {
    .filterbar { flex-wrap: wrap; top: var(--header-h); }
    .filterbar__count { display: none; }
}

/* --- Policy pages: a reading column with a sticky contents list; cart and order polish --- */
.policy-layout { display: grid; grid-template-columns: 200px minmax(0, 70ch); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; font-size: .9rem; }
.toc__label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.toc a { color: var(--ink-soft); padding: 4px 0 4px 12px; border-left: 2px solid var(--line); text-decoration: none; transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.toc a:hover { color: var(--ink); border-left-color: var(--gold); }
.policy h2 { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 820px) { .policy-layout { grid-template-columns: 1fr; } .toc { position: static; grid-template-columns: 1fr 1fr; } }
.cart__thumb img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm), var(--shadow-inset); }
.cart__summary { box-shadow: var(--shadow-md); }
.order__timeline li::before { height: 5px; }
.order__timeline li.done::before { background: linear-gradient(90deg, var(--teal-deep), var(--teal)); }
.order__timeline li.current::before { background: var(--gold); }
/* Grid items default to min-width:auto, so a non-wrapping thumbnail strip would widen the whole page. */
.pdp > * { min-width: 0; }

/* --- Honest reviews: ratings only on reviewed pieces; a spotlight review card set into listings --- */
.card__rating { font-size: .78rem; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }
.card__rating .stars svg { width: 13px; height: 13px; }
.card__rating-n { color: var(--ink-mute); }
.card--review { border-radius: var(--radius); background: var(--ink); color: var(--paper); box-shadow: var(--shadow-md); aspect-ratio: 1; display: flex; }
.spot { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 20px; width: 100%; }
.spot::before { content: "\201C"; position: absolute; top: 6px; right: 18px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--gold); opacity: .55; }
.spot__eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.spot .stars { color: var(--gold); }
.spot__quote { margin: 0; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.4; flex: 1; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.spot__foot { font-size: .82rem; color: rgba(251, 248, 243, .78); display: grid; gap: 2px; }
.spot__foot strong { color: var(--paper); }
.spot__foot a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(251, 248, 243, .4); }
.spot__foot a:hover { text-decoration-color: var(--gold); }
.spot__date { color: rgba(251, 248, 243, .55); }
.spot__all { font-size: .82rem; font-weight: 600; color: var(--gold); align-self: flex-start; margin-top: 4px; }
@media (max-width: 640px) { .card--review { aspect-ratio: auto; } .spot__quote { -webkit-line-clamp: 5; font-size: 1rem; } }

/* --- Image frames are fixed squares: the picture fills the frame and can never stretch it. --- */
.card__media img, .tile img, .ctile img, .mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media, .tile, .ctile, .mega__feature { position: relative; }
/* Listings end with air before whatever follows (the related-collections band, the footer). */
.listing { padding-bottom: clamp(32px, 5vw, 56px); }

/* --- Grid integrity: the image frame is a fixed square and never shrinks inside the card's flex column.
       Without this the grid measures a squashed frame on its first pass and rows come out shorter than
       their tallest card, which made one column spill into the section below. --- */
.card__media { flex: none; }
.card--review { aspect-ratio: auto; }

/* --- Review band: a full-width editorial pause between rows of a listing --- */
.proof {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin: 12px 0;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
    background: var(--paper-deep);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.proof::before { content: "\201C"; position: absolute; top: -14px; left: 22px; font-family: var(--font-display); font-size: 9rem; line-height: 1; color: var(--gold); opacity: .22; pointer-events: none; }
.proof__quote { position: relative; }
.proof__eyebrow { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.proof blockquote { margin: 0 0 18px; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); max-width: 30ch; }
.proof__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .9rem; color: var(--ink-soft); }
.proof__foot .stars { color: var(--gold); }
.proof__foot strong { color: var(--ink); }
.proof__date { color: var(--ink-mute); }
.proof__product { display: grid; gap: 10px; padding: 14px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm), var(--shadow-inset); color: var(--ink); }
.proof__product-link { display: flex; align-items: center; gap: 18px; color: var(--ink); text-decoration: none !important; border-radius: var(--radius-sm); }
.proof__product-link:hover strong { color: var(--teal-deep); }
.proof__product-link:hover .proof__thumb img { transform: scale(1.04); }
.proof__thumb img { transition: transform var(--dur) var(--ease); }
.proof__thumb { position: relative; flex: none; width: 112px; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.proof__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proof__product-text { display: grid; gap: 4px; min-width: 0; }
.proof__label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.proof__product-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.proof__all { font-size: .85rem; font-weight: 600; color: var(--teal-deep); justify-self: start; padding-left: 2px; }
@media (max-width: 820px) {
    .proof { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
    .proof::before { font-size: 6rem; top: -8px; left: 12px; }
    .proof blockquote { max-width: none; }
    .proof__thumb { width: 84px; }
}
