/* ==========================================================================
   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;
    --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);
    --container: 1240px;
    --gutter: 16px;
    --header-h: 68px;
}

*, *::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: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

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; }

.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 .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.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; }
.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; }
