/* HILLTILL — storefront styles. Plain CSS, no build step. */

:root {
    --paper: #ffffff;
    --paper-2: #f5f5f5;
    --ink: #141414;
    --ink-2: #2b2b2b;
    --mute: #6b6b6b;
    --line: #ffffff;
    --sale: #9a3b1e;
    --ok: #3c5a3a;

    --serif: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

    --gutter: clamp(16px, 3.6vw, 48px);
    --max: 1480px;
    --header-h: 64px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 15px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
del { color: var(--mute); }
ins { text-decoration: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { left: 8px; }
.muted { color: var(--mute); }

/* ---------- Type ---------- */
.eyebrow {
    font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
    margin-bottom: 14px;
}
.display {
    font-family: var(--serif); font-weight: 400; letter-spacing: -.01em;
    font-size: clamp(36px, 4.6vw, 68px); line-height: 1;
}
.display--sm { font-size: clamp(32px, 3.4vw, 50px); }
.display em, .hero__title em, .story__text em { font-style: italic; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 52ch; margin-block: 18px 28px; }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 26px;
    background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
    font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size .35s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); }
.link-btn { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--mute); }
.link-btn:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--line);
}
.announce {
    height: 32px; display: flex; align-items: center; justify-content: center;
    background: var(--ink); color: var(--paper);
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.site-header__bar {
    height: var(--header-h);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.logo img { width: 84px; height: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__link {
    position: relative; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding-block: 8px;
}
.nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.tool {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    min-width: 44px; min-height: 44px; padding: 0 8px; justify-content: center;
    font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.tool__label { display: none; }
.tool__count {
    position: absolute; top: 6px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
    display: grid; place-items: center; border-radius: 9px;
    background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: 0;
}
.tool__count[hidden] { display: none; }
.tool--menu { display: none; }

.search-panel { border-top: 1px solid var(--line); background: var(--paper); }
.search-panel__form { display: flex; align-items: center; gap: 12px; height: 68px; }
.search-panel__form input {
    flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
    font-family: var(--serif); font-size: clamp(22px, 3vw, 32px);
}
.search-panel__go { min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; }
.search-panel__go:hover { background: #333; }
.search-panel__close { min-width: 44px; min-height: 44px; display: grid; place-items: center; }

.tools { gap: 2px; }
.tool { border-radius: 50%; padding: 0; color: var(--ink); transition: background .2s; }
.tool:hover, .tool[aria-expanded="true"] { background: rgba(0, 0, 0, .06); }
.tool .icon { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer {
    position: fixed; inset: 0; z-index: 60; background: var(--paper);
    display: flex; flex-direction: column; padding: 0 var(--gutter) 28px;
    overflow-y: auto; overscroll-behavior: contain;
}
.drawer[hidden] { display: none; }
.drawer__head { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; margin-right: -10px; }
.drawer__nav { display: flex; flex-direction: column; margin-top: 18px; border-top: 1px solid var(--line); }
.drawer__nav a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 68px; border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: 34px; line-height: 1;
    animation: drawer-in .5s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 60ms);
}
.drawer__nav a[aria-current] { font-style: italic; }
.drawer__search { display: flex; margin-top: 28px; border-bottom: 1px solid var(--ink); }
.drawer__search input { flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent; outline: none; font-size: 16px; }
.drawer__search button { min-width: 48px; display: grid; place-items: center; }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: auto; padding-top: 32px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.drawer__foot a { min-height: 44px; display: inline-flex; align-items: center; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(12px); } }
body.menu-open { overflow: hidden; }

@media (max-width: 899px) {
    .site-header__bar { grid-template-columns: auto 1fr; gap: 8px; }
    .nav { display: none; }
    .tool--menu { display: inline-flex; }
    .logo img { width: 74px; }
}

/* ---------- Flash & toast ---------- */
.flash { background: var(--ink); color: var(--paper); font-size: 14px; padding-block: 12px; }
.flash--error { background: var(--sale); }
.toast {
    position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%);
    width: min(440px, calc(100% - 32px));
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 18px; background: var(--ink); color: var(--paper); font-size: 14px;
    animation: toast-in .35s var(--ease);
}
.toast[hidden] { display: none; }
.toast--error .toast__link { display: none; }
.toast__link { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 120px); }
.section--tint { background: #fff; border-block: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.02; }
.sec-head .eyebrow { margin-bottom: 8px; }

/* Hero styles live in hero.css (home page only). */

/* ---------- Product grid & card ----------
   Edge-to-edge grid of square photos; hover shows photo arrows and a quick-add bag. */
.grid-products, .rail {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
    margin-inline: calc(var(--gutter) * -1);
}
@media (max-width: 1023px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-products--mobile-2 > :nth-child(n + 3) { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .page-home .grid-products > :nth-child(4) { display: none; }
}
.rail.wrap { margin-inline: auto; padding-inline: 0; }
/* Rail: grid on desktop, swipe on mobile */
@media (max-width: 899px) {
    .rail {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
        margin-inline: 0; padding-inline: 0;
    }
    .rail::-webkit-scrollbar { display: none; }
    .rail > .card { flex: 0 0 min(72vw, 320px); scroll-snap-align: start; }
}

.card { position: relative; min-width: 0; padding-bottom: 28px; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #f4f4f4; }
.card__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.card__track::-webkit-scrollbar { display: none; }
.card__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.card__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

.card__nav {
    position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px;
    color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); opacity: 0; transition: opacity .25s;
}
.card__nav--prev { left: 6px; }
.card__nav--prev svg { transform: rotate(180deg); }
.card__nav--next { right: 6px; }
.card:hover .card__nav, .card__nav:focus-visible { opacity: 1; }

.badge {
    position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 12px; border-radius: 999px;
    background: #fff; color: var(--sale); font-size: 12px; font-weight: 500; box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}
.badge--muted { background: #ededed; color: var(--ink-2); box-shadow: none; }

.card__bag {
    position: absolute; right: 14px; bottom: 14px; z-index: 4; display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s, background .2s, color .2s;
}
.card:hover .card__bag, .card__bag:focus-visible, .card.is-open .card__bag { opacity: 1; transform: none; }
.card__bag:hover { background: var(--ink); color: #fff; }
.card.is-open .card__bag { background: var(--ink); color: #fff; }

@media (hover: none) {
    .card__bag { opacity: 1; transform: none; width: 36px; height: 36px; right: 10px; bottom: 10px; }
    .card__nav { display: none; }
}

.card__body { padding: 12px clamp(10px, 1.6vw, 24px) 0; }
.card__title { font-size: 13px; font-weight: 400; line-height: 1.35; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 2px; font-size: 13px; }
.price ins { color: var(--ink); font-weight: 500; }
.price del { font-size: 12px; color: var(--mute); }

/* ---------- Slide-out cart ---------- */
body.cart-open { overflow: hidden; }
.cd { position: fixed; inset: 0; z-index: 80; }
.cd[hidden] { display: none; }
.cd__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .4); opacity: 0; transition: opacity .3s var(--ease); }
.cd__panel {
    position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100%);
    background: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, .12); transform: translateX(100%); transition: transform .35s var(--ease); outline: none;
}
.cd.is-open .cd__backdrop { opacity: 1; }
.cd.is-open .cd__panel { transform: none; }
.cd__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px 24px; border-bottom: 1px solid #ececec; }
.cd__head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.cd__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--paper-2); font-size: 12px; font-weight: 500; }
.cd__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); }
.cd__close:hover { background: var(--paper-2); color: var(--ink); }
.cd__content { display: flex; flex: 1; flex-direction: column; min-height: 0; transition: opacity .2s; }
.cd__content[aria-busy="true"] { opacity: .5; pointer-events: none; }
.cd__lines { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px; }
.cd-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding-block: 18px; border-bottom: 1px solid #f0f0f0; }
.cd-line:last-child { border-bottom: 0; }
.cd-line__img img { width: 72px; height: 90px; object-fit: cover; object-position: 50% 20%; background: var(--paper-2); }
.cd-line__name { display: block; font-size: 14px; line-height: 1.35; }
.cd-line__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cd-line__opts, .cd-line__price { margin-top: 3px; font-size: 12.5px; color: var(--mute); }
.cd-line__price del { margin-left: 6px; }
.cd-line__warn { margin-top: 4px; font-size: 12.5px; color: var(--sale); }
.cd-line__ctrl { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.cd-line__total { font-size: 14px; font-weight: 500; white-space: nowrap; }
.cd-qty { display: inline-flex; align-items: center; height: 40px; border: 1px solid #d9d9d9; }
.cd-qty button { width: 38px; height: 100%; font-size: 17px; color: var(--ink-2); }
.cd-qty button:hover:not(:disabled) { background: var(--paper-2); }
.cd-qty button:disabled { color: #c4c4c4; cursor: not-allowed; }
.cd-qty input { width: 36px; height: 100%; border: 0; padding: 0; text-align: center; font-size: 14px; -moz-appearance: textfield; appearance: textfield; }
.cd-qty input::-webkit-inner-spin-button, .cd-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cd-line__remove { display: grid; place-items: center; width: 40px; height: 40px; color: var(--mute); }
.cd-line__remove:hover { color: var(--sale); }
.cd__foot { padding: 16px 24px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid #ececec; background: #fff; }
.cd__row { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; font-size: 14px; }
.cd__row--save { color: var(--ok); border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; margin-bottom: 4px; }
.cd__row--total strong { font-size: 16px; }
.cd__note { margin: 2px 0 14px; font-size: 12.5px; color: var(--mute); }
.cd__btn { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.cd__btn:hover { background: #333; }
.cd__btn--ghost { min-height: 46px; padding: 0 22px; background: #fff; color: var(--ink); }
.cd__btn--ghost:hover { background: var(--ink); color: #fff; }
.cd__link { display: block; margin-top: 12px; text-align: center; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.cd__empty { display: grid; flex: 1; place-content: center; justify-items: center; gap: 14px; padding: 40px 24px; color: var(--mute); text-align: center; }
.cd__empty p { font-size: 16px; color: var(--ink); }
.cd__loading { margin: auto; color: var(--mute); font-size: 14px; }
@media (max-width: 479px) {
    .cd__head { padding-left: 18px; }
    .cd__lines { padding-inline: 18px; }
    .cd__foot { padding-inline: 18px; }
    .cd-line { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; }
    .cd-line__img img { width: 64px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) { .cd__panel, .cd__backdrop { transition: none; } }

/* ---------- Quick-add pop-up ---------- */
.qv {
    width: min(760px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 48px)); padding: 0; border: 0; border-radius: 14px;
    overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
}
.qv::backdrop { background: rgba(20, 20, 20, .45); }
.qv[open] { animation: qv-in .25s var(--ease); }
@keyframes qv-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.qv.is-loading .qv__body { min-height: 300px; opacity: .4; }
.qv__close { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-2); }
.qv__close:hover { background: rgba(0, 0, 0, .06); color: var(--ink); }
.qv__grid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); height: min(560px, calc(100vh - 48px)); }
.qv__media { overflow-y: auto; scrollbar-width: thin; background: #f4f4f4; }
.qv__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.qv__info { display: flex; flex-direction: column; padding: 26px 24px 22px; overflow-y: auto; background: #f5f5f5; }
.qv__title { padding-right: 36px; font-size: 21px; font-weight: 500; line-height: 1.25; }
.qv__price { margin-top: 6px; font-size: 13.5px; }
.qv__price ins { font-weight: 600; }
.qv__price del { margin-left: 6px; color: var(--mute); font-size: 12.5px; }
.qv__stock { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; }
.qv__stock span { width: 12px; height: 12px; border-radius: 50%; border: 3px solid #fff; background: #2f9e5b; box-shadow: 0 0 0 1.5px #2f9e5b; }
.qv__stock.is-out span { background: #9a9a9a; box-shadow: 0 0 0 1.5px #9a9a9a; }
.qv__opt { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.qv__label { padding: 0; margin-bottom: 8px; font-size: 13px; }
.qv__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.qv__pills label { position: relative; flex: 1 1 56px; max-width: 80px; }
.qv__pills input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qv__pills span { display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 10px; border-radius: 999px; background: #fff; font-size: 13px; transition: background .2s, color .2s; }
.qv__pills label:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.qv__pills input:checked + span { background: var(--ink); color: #fff; }
.qv__pills input:focus-visible + span, .qv__dots input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.qv__dots { display: flex; flex-wrap: wrap; gap: 8px; }
.qv__dots label { position: relative; cursor: pointer; }
.qv__dots input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qv__dot { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 3px #fff; }
.qv__dots input:checked + .qv__dot { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--ink); }
.qv__pill-text { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 12.5px; }
.qv__dots input:checked + .qv__pill-text { background: var(--ink); color: #fff; }
.qv__colors { display: flex; flex-wrap: wrap; gap: 8px; }
.qv__colors a { position: relative; display: block; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.qv__colors img { width: 52px; height: 65px; object-fit: cover; object-position: 50% 20%; }
.qv__colors a.is-current { box-shadow: 0 0 0 2px var(--ink); }
.qv__colors a.is-out img { opacity: .45; }
.qv__colors--pick label { position: relative; display: block; border-radius: 8px; overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.qv__colors--pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qv__colors--pick label:has(input:checked) { box-shadow: 0 0 0 2px var(--ink); }
.qv__colors--pick label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.qv__form { display: flex; flex-direction: column; flex: 1; }
.qv__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }
.qv__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px;
    background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transition: background .2s;
}
.qv__btn:hover { background: #333; }
.qv__btn--buy { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.qv__btn:disabled { opacity: .6; }
.qv__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; align-self: center; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.qv__soldout { margin-top: 18px; padding: 14px; border-radius: 10px; background: #fff; font-size: 13.5px; }
.qv__error { padding: 60px 24px; text-align: center; }
@media (max-width: 699px) {
    .qv { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
    .qv__grid { grid-template-columns: minmax(0, 1fr); height: auto; max-height: 92vh; overflow-y: auto; }
    .qv__media { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; }
    .qv__media { gap: 4px; }
    .qv__media img { flex: 0 0 42%; width: 42%; min-width: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; }
    .qv__info { overflow: visible; }
    .qv__actions { padding-top: 18px; }
}

/* ---------- Banner slider (home, managed in Admin → Banners) ---------- */
.bslider { position: relative; overflow: hidden; background: #1a1a1a; }
.bslider__track { position: relative; height: clamp(320px, 42vw, 760px); }
.bslider__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.bslider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s var(--ease), visibility 0s; }
.bslider__link { display: block; height: 100%; }
.bslider__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease-out; }
.bslider__slide.is-active img { transform: scale(1); }
.bslider__caption {
    position: absolute; left: var(--gutter); bottom: 64px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; max-width: min(80%, 720px);
    color: #fff; font-weight: 700; font-size: clamp(24px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.bslider__link:hover .bslider__caption svg { transform: translateX(4px); }
.bslider__caption svg { transition: transform .3s var(--ease); flex: none; }
.bslider__controls {
    position: absolute; left: 50%; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 7px 12px;
    transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px);
}
.bslider__pause { display: grid; place-items: center; width: 18px; height: 18px; color: var(--ink); }
.bslider__i-play, .bslider.is-stopped .bslider__i-pause { display: none; }
.bslider.is-stopped .bslider__i-play { display: block; }
.bslider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(21, 20, 18, .3); transition: background .3s, transform .3s; }
.bslider__dot:hover { background: rgba(21, 20, 18, .6); }
.bslider__dot.is-active { background: var(--ink); transform: scale(1.15); }
@media (max-width: 599px) {
    .bslider__track { height: min(118vw, 560px); }
    .bslider__caption { bottom: 60px; }
}

/* ---------- Video strip (home, managed in Admin → Videos) ---------- */
.reels { padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); background: #fff; }
.reels__head { max-width: 560px; margin: 0 auto clamp(32px, 5vw, 72px); text-align: center; }
.reels__head h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.reels__head p { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.reels__track {
    --reel-w: clamp(200px, 15vw, 280px);
    display: flex; gap: 8px; padding: 24px calc(50% - var(--reel-w) / 2); overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reels__track::-webkit-scrollbar { display: none; }
.reel {
    position: relative; flex: 0 0 var(--reel-w); aspect-ratio: 9 / 16; margin: 0; overflow: hidden; border-radius: 18px;
    background: #1c1c1c; scroll-snap-align: center; cursor: pointer; transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .45s var(--ease);
}
.reel.is-center { transform: scale(1.06); z-index: 1; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__caption {
    position: absolute; left: 14px; right: 56px; bottom: 16px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.reel__caption a:hover { text-decoration: underline; }
.reel__sound {
    position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, .85); color: var(--ink); backdrop-filter: blur(4px); transition: background .2s;
}
.reel__sound:hover { background: #fff; }
.reel__i-sound, .reel__sound[aria-pressed="true"] .reel__i-muted { display: none; }
.reel__sound[aria-pressed="true"] .reel__i-sound { display: block; }
@media (max-width: 599px) {
    .reels__track { --reel-w: 62vw; }
    .reel.is-center { transform: scale(1.03); }
}

/* ---------- Editorial ---------- */
.editorial {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 24px);
    max-width: var(--max); margin-inline: auto; padding-right: var(--gutter);
}
.editorial__img { grid-column: 1 / 8; overflow: hidden; background: var(--paper-2); }
.editorial__img img { width: 100%; height: min(92svh, 980px); object-fit: cover; object-position: 50% 30%; }
.editorial__copy { grid-column: 9 / 13; align-self: center; padding-block: 48px; position: relative; }
.editorial__copy p:not(.eyebrow) { margin-block: 24px 28px; color: var(--ink-2); max-width: 40ch; }
.editorial__inset { width: 58%; margin-top: clamp(40px, 6vw, 88px); margin-left: auto; }
.editorial__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 899px) {
    .editorial { grid-template-columns: 1fr; padding-right: 0; }
    .editorial__img { grid-column: 1; margin-right: 18%; }
    .editorial__img img { height: auto; aspect-ratio: 4 / 5; }
    .editorial__copy { grid-column: 1; padding: 36px var(--gutter) 0; }
    .editorial__inset { width: 46%; margin-top: -120px; margin-right: 0; position: relative; z-index: -1; display: none; }
}

/* ---------- Shop by category (home; Admin → Categories → “Show on home page”) ---------- */
.home-cats { padding-block: clamp(56px, 7vw, 104px) 0; }
.home-cats__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.home-cats__head h2 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.home-cats__head a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.home-cats__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 4px; }
.home-cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.home-cat img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.2s var(--ease); }
.home-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 13, 12, .55)); pointer-events: none; }
.home-cat:hover img { transform: scale(1.05); }
.home-cat__text { position: absolute; left: clamp(16px, 2vw, 28px); right: 16px; bottom: clamp(16px, 2vw, 26px); z-index: 1; display: grid; gap: 6px; color: #fff; }
.home-cat__name { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.home-cat__cta { justify-self: start; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); }
.home-cat:hover .home-cat__cta { background-size: 40% 1px; }
@media (max-width: 767px) { .home-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Our story (home; Admin → Home page → Our story) ---------- */
/* The section owns its vertical rhythm through padding only. It used to add a margin-top on
   top of the previous section's bottom padding and its own top padding, which stacked into a
   ~340px white gap below the product rail (borders are white, so nothing separated them). */
.story2 { background: #fff; border-block: 1px solid var(--line); }
.story2__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-block: clamp(32px, 5vw, 72px); }
.story2__img { margin: 0; overflow: hidden; border-radius: 4px; }
.story2__img img { width: 100%; aspect-ratio: 4 / 5; max-height: 680px; object-fit: cover; object-position: 50% 22%; }
.story2__copy { max-width: 470px; }
.story2__eyebrow { margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.story2__title { font-size: clamp(30px, 3.4vw, 50px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.story2__title em { font-style: italic; font-weight: 400; color: #9a6b3f; }
.story2__text { margin-top: 22px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.story2__btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 30px; padding: 0 24px; border-radius: 999px;
    background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transition: background .25s, gap .25s var(--ease);
}
.story2__btn:hover { background: #333; gap: 14px; }
.story2__inner:not(:has(.story2__img)) { grid-template-columns: 1fr; justify-items: center; text-align: center; }
@media (max-width: 899px) {
    .story2__inner { grid-template-columns: 1fr; }
    .story2__img img { aspect-ratio: 4 / 4.2; }
}

/* ---------- Featured collection (home; Admin → Home page → Featured collection) ---------- */
.feature { padding-block: clamp(64px, 8vw, 120px); }
.feature__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.feature__eyebrow { margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.feature__title { font-size: clamp(32px, 3.6vw, 54px); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; }
.feature__title em { font-style: italic; font-weight: 400; color: #9a6b3f; }
.feature__text { max-width: 44ch; margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.feature__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.feature__ctas .story2__btn { margin-top: 0; }
.feature__link { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .3s var(--ease); }
.feature__link:hover { background-size: 40% 1px; }
.feature__list { margin-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid rgba(0, 0, 0, .09); }
.feature__list a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 16px; align-items: center; gap: 14px; padding-block: 10px; border-bottom: 1px solid rgba(0, 0, 0, .09); }
.feature__list img { width: 48px; height: 60px; object-fit: cover; object-position: 50% 25%; border-radius: 4px; background: var(--paper-2); }
.feature__name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feature__price { font-size: 13.5px; font-weight: 500; }
.feature__list svg { transition: transform .3s var(--ease); }
.feature__list a:hover .feature__name { text-decoration: underline; text-underline-offset: 3px; }
.feature__list a:hover svg { transform: translateX(4px); }
.feature__media { display: grid; gap: 6px; height: clamp(420px, 44vw, 680px); }
.feature__media[data-count="2"] { grid-template-columns: 1fr 1fr; }
.feature__media[data-count="3"] { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
.feature__media[data-count="3"] figure:first-child { grid-row: 1 / 3; }
.feature__media figure { margin: 0; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--ease); }
.feature__media figure:hover img { transform: scale(1.04); }
@media (max-width: 899px) {
    .feature__inner { grid-template-columns: 1fr; }
    .feature__media { order: -1; height: min(110vw, 560px); }
}

/* ---------- Trust ---------- */
.trust { border-block: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust__list li { display: flex; align-items: center; gap: 14px; padding: 26px 24px; font-size: 13px; color: var(--mute); }
.trust__list li + li { border-left: 1px solid var(--line); }
.trust__list li:first-child { padding-left: 0; }
.trust__list strong { display: block; color: var(--ink); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.trust__list .icon { flex: none; }
@media (max-width: 767px) {
    .trust__list { grid-template-columns: 1fr; }
    .trust__list li { padding: 18px 0; }
    .trust__list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Seen outside ---------- */
.seen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 18px); align-items: start; }
.seen__item { overflow: hidden; background: var(--paper-2); }
.seen__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; transition: transform 1.1s var(--ease); }
.seen__item:hover img { transform: scale(1.04); }
.seen__item--2, .seen__item--4 { margin-top: clamp(32px, 5vw, 80px); }
.seen__item--3 img { aspect-ratio: 3 / 5; }
@media (max-width: 767px) {
    .seen { grid-template-columns: 1fr 1fr; }
    .seen__item--3 { display: none; }
    .seen__item--3 img { aspect-ratio: 3 / 4; }
    .seen__item--4 { margin-top: 0; }
    .seen__item--5 { margin-top: -40px; }
    .seen__item--1 { grid-row: span 1; }
}

/* ---------- Newsletter ---------- */
.newsletter { background: #fff; border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 100px); }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.newsletter__inner p { color: var(--ink-2); margin-top: 12px; }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; align-items: end; border-bottom: 1px solid var(--ink); }
.newsletter__form input { min-width: 0; min-height: 52px; border: 0; background: transparent; outline: none; font-size: 16px; }
.newsletter__form .btn { min-height: 44px; margin-bottom: 4px; }
.newsletter__msg { grid-column: 1 / -1; font-size: 13px; color: var(--ok); min-height: 0; margin: 0; }
.newsletter__msg:not(:empty) { padding-block: 10px; }
@media (max-width: 767px) { .newsletter__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d6d6d6; padding-top: clamp(56px, 6vw, 88px); font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px 32px; }
.site-footer__brand img { width: 108px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 30ch; color: #a9a298; }
.site-footer h2 { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #8f897f; margin-bottom: 14px; }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.site-footer__col a { padding-block: 4px; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer address { color: #a9a298; margin-bottom: 8px; line-height: 1.6; }
.social { display: flex; gap: 4px; margin-top: 22px; margin-left: -10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; }
.social a:hover { color: #fff; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-block: 22px; border-top: 1px solid #34312d; font-size: 12px; color: #8f897f; }
@media (max-width: 1023px) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Shared bits (cart, checkout, pagination) ---------- */
.qty, .field select {
    min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 0; background: transparent;
    appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23151412'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; font-size: 13px;
}
.empty { padding: 56px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; color: var(--ink-2); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 56px; }
.pager__item { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; }
.pager__item.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager__item.is-disabled { color: var(--mute); opacity: .55; }
a.pager__item:hover { border-color: var(--ink); }
.field-error { color: var(--sale); font-size: 13px; margin-top: 6px; }

/* ---------- Prose (pages) ---------- */
.narrow { max-width: 860px; padding-block: clamp(36px, 5vw, 72px) clamp(64px, 8vw, 120px); }
.narrow > .display { margin-bottom: 8px; }
.prose { color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--ink); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: disc; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.narrow .prose { margin-top: 32px; font-size: 16px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.contact h2 { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.contact a { display: block; padding-block: 4px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.contact a:hover { text-decoration-color: currentColor; }
@media (max-width: 599px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.form legend { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; padding: 0; }
.form__row { display: grid; gap: 14px; margin-bottom: 14px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.form__row--3 { grid-template-columns: 1.2fr 1fr .8fr; }
@media (max-width: 599px) { .form__row--2, .form__row--3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; min-width: 0; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--ink-2); }
.field input, .field textarea, .field select {
    /* Explicit colour: --line is white on this theme, which made inputs invisible on white pages. */
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #d6d3ce; border-radius: 10px;
    background: #fff; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: #b9b5ae; }
.field select { background-color: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.field input[aria-invalid="true"] { border-color: var(--sale); }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; }
.check--sub { padding-left: 24px; }
.check input, .pay input { width: 18px; height: 18px; accent-color: var(--ink); }
.pay { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--ink); background: #fff; font-size: 14px; }
.pay strong { display: block; }
.auth { max-width: 460px; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); }
.auth .display { margin-bottom: 28px; }
.auth .form { display: grid; gap: 14px; }
.auth__alt { margin-top: 22px; font-size: 14px; }
.auth__alt a { text-decoration: underline; }

.auth__lead { margin: -12px 0 24px; color: var(--ink-2); }
.auth__lead a { text-decoration: underline; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }

/* ---------- Customer account ---------- */
.acct { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 104px); }
.acct__nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.acct__nav a, .acct__nav button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 14px; text-align: left; color: var(--ink-2); }
.acct__nav a:hover, .acct__nav button:hover { background: var(--paper-2); color: var(--ink); }
.acct__nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); font-weight: 500; }
.acct__main { max-width: 760px; min-width: 0; }
.acct__main > .display { margin-bottom: 8px; }
.acct__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.acct__h { margin: 40px 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.acct__notice { margin-top: 16px; padding: 12px 16px; background: #f1e8cf; font-size: 14px; }
.acct__notice a { text-decoration: underline; }
.acct__form { display: grid; gap: 14px; max-width: 460px; }
.acct__form .btn { justify-self: start; }
.acct__kv, .acct__totals { display: grid; gap: 6px; margin-block: 14px; font-size: 14px; }
.acct__kv div, .acct__totals div { display: flex; justify-content: space-between; gap: 16px; max-width: 420px; }
.acct__kv dt, .acct__totals dt { color: var(--mute); }
.acct__totals { max-width: 420px; margin-left: auto; padding-top: 12px; border-top: 1px solid #e6e6e6; }
.acct__grand { padding-top: 8px; font-size: 16px; font-weight: 600; }
.acct__grand dt { color: var(--ink); }
.acct__notes { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; }
.acct__items { display: grid; }
.acct__items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 12px; border-bottom: 1px solid #ececec; font-size: 14px; }
.acct__items img { width: 64px; height: 80px; object-fit: cover; background: var(--paper-2); }
.acct__items .muted { display: block; font-size: 12.5px; }
.acct__items a:hover { text-decoration: underline; }
.acct__addr { font-size: 14px; line-height: 1.7; }
.track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 8px; counter-reset: step; }
.track__step { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--mute); }
.track__step::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: #e3e3e3; z-index: 0; }
.track__step:first-child::before { display: none; }
.track__step.is-done::before { background: var(--ink); }
.track__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #d6d6d6; border-radius: 50%; background: #fff; color: #fff; }
.track__step.is-done .track__dot { border-color: var(--ink); background: var(--ink); }
.track__step.is-done { color: var(--ink); }
.track__step.is-current .track__label { font-weight: 600; }
.track__date { font-size: 12px; color: var(--mute); }
@media (max-width: 767px) {
    .acct { grid-template-columns: 1fr; }
    .acct__nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #ececec; padding-bottom: 12px; }
    .acct__nav a, .acct__nav button { width: auto; min-height: 40px; }
    .acct__nav form { display: contents; }
}

.account__actions { display: flex; align-items: center; gap: 18px; margin-block: 24px 48px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding-block: 16px; border-bottom: 1px solid #ececec; font-size: 14px; }
a.order-row:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.order-row__total { display: inline-flex; align-items: center; gap: 8px; }
.order-row .muted { display: block; font-size: 12.5px; }
.status--shipped, .status--confirmed { background: #dde6f3; color: #1f3f6e; }
.status { display: inline-block; padding: 3px 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--paper-2); }
.status--delivered { background: #dfe8dc; color: var(--ok); }
.status--cancelled { background: #f2ddd5; color: var(--sale); }
.status--pending { background: #f1e8cf; }

/* ---------- Motion ---------- */
.reveal { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Content & policy pages (Admin → Pages) ---------- */
.doc { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 104px); }
.doc__head { max-width: 860px; margin-bottom: clamp(24px, 3vw, 40px); }
.doc__title { font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.doc__updated { margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.doc__layout { max-width: 860px; }
.doc__layout--side { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); max-width: 1120px; align-items: start; }
.doc__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.doc__policies { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid #ececec; }
.doc__policies a { padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.doc__policies a:hover { background: var(--paper-2); color: var(--ink); }
.doc__policies a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 500; }
.doc__toc summary { cursor: pointer; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.doc__toc ol { display: grid; gap: 2px; padding-left: 0; list-style: none; counter-reset: toc; }
.doc__toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid #ececec; font-size: 13.5px; color: var(--ink-2); }
.doc__toc a:hover { border-left-color: var(--ink); color: var(--ink); }
.doc__body { min-width: 0; }
.doc__prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.doc__prose > * + * { margin-top: 1em; }
.doc__prose h2 { margin-top: 2em; padding-top: 4px; font-family: var(--sans); font-size: clamp(20px, 2vw, 24px); font-weight: 650; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); }
.doc__prose h2:first-child { margin-top: 0; }
.doc__prose h3 { margin-top: 1.6em; font-size: 17px; font-weight: 600; color: var(--ink); }
.doc__prose ul, .doc__prose ol { padding-left: 1.3em; }
.doc__prose ul { list-style: disc; }
.doc__prose ol { list-style: decimal; }
.doc__prose li + li { margin-top: .35em; }
.doc__prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.doc__prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc__prose th, .doc__prose td { padding: 10px 12px; border: 1px solid #e3e0db; text-align: left; vertical-align: top; }
.doc__prose th { background: var(--paper-2); color: var(--ink); }
.doc__prose blockquote { padding: 12px 18px; border-left: 3px solid var(--ink); background: var(--paper-2); }
.doc__help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 48px; padding: 22px 24px; border-radius: 12px; background: #f6f4f0; }
.doc__help strong { font-size: 17px; }
.doc__help p { margin-top: 2px; font-size: 14px; color: var(--mute); }
.doc__help-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14px; }
.doc__help-links a { display: inline-flex; align-items: center; gap: 8px; }
.doc__help-links a:hover { text-decoration: underline; }
.doc__help-btn { min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; }
.doc__help-btn:hover { background: #333; text-decoration: none !important; }
@media (max-width: 899px) {
    .doc__layout--side { grid-template-columns: 1fr; }
    .doc__side { position: static; }
    .doc__policies { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 14px; }
    .doc__policies a { flex: none; border: 1px solid #e3e0db; border-radius: 999px; padding: 7px 14px; font-size: 13px; }
    .doc__toc:not([open]) { padding-bottom: 0; }
}
@media print {
    .site-header, .site-footer, .doc__side, .doc__help { display: none !important; }
    .doc__layout--side { display: block; }
}
