/* ================================================================
   La Petite Boutique · born to shine.
   Prototype stylesheet — Polis, Paphos
   ================================================================ */

:root {
  --bg:        #f6f2ea;   /* cream, sampled from the boutique card */
  --bg-deep:   #efe7db;
  --white:     #fffdfa;
  --ink:       #17120f;
  --ink-muted: #574c42;
  --accent:    #a6813f;   /* gold, readable weight */
  --gold:      #c7a276;   /* gold, sampled from the logo oval */
  --rose:      #e3b9bd;   /* the stripe pink */
  --rose-soft: #f2dee0;
  --blush:     #f9c5d2;   /* born to shine pink */
  --shine:     #cf2168;   /* born to shine wordmark */
  --sage:      #6c7a63;
  --line:      #e6dccd;
  --shadow:    0 24px 60px rgba(40, 24, 26, .12);
  --radius:    2px;

  --font-brand:   "Marcellus", "Bodoni Moda", "Didot", serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans:    "Outfit", system-ui, -apple-system, sans-serif;
  --font-script:  "Parisienne", "Brush Script MT", cursive;

  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3.25rem, 7vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--ink); }
button { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5rem; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.15rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

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

/* Pink candy-stripe from the boutique's own card — used as a divider. */
.stripes {
  height: 10px;
  background: repeating-linear-gradient(90deg,
    var(--rose) 0 9px, var(--bg) 9px 20px);
  opacity: .85;
}

/* ─── Utility bar ─────────────────────────────────────────── */
.utility-bar {
  background: var(--ink);
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.utility-bar__inner {
  max-width: var(--max); margin: 0 auto;
  padding: .55rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.utility-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.utility-bar a:hover { color: var(--blush); }
.utility-bar__promo strong { color: var(--blush); font-weight: 500; }
.utility-bar__right { display: flex; gap: 1.25rem; align-items: center; }
@media (max-width: 720px) {
  .utility-bar__right { display: none; }
  .utility-bar__inner { justify-content: center; text-align: center; }
}

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,242,234,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: 100%;
  padding: clamp(.5rem, 1.1vw, .8rem) var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}

.logo-lockup {
  display: flex; flex-direction: column; align-items: flex-start;
  flex-shrink: 0; line-height: 1.05; margin-right: auto; color: var(--ink);
}
.logo-lockup:hover { color: var(--accent); }
.logo-lockup__mark {
  font-family: var(--font-brand);
  font-size: clamp(1rem, 2.3vw, 1.4rem);
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.logo-lockup__sub {
  font-family: var(--font-script);
  font-size: clamp(.85rem, 1.5vw, 1.02rem);
  color: var(--shine); margin-left: .3em; margin-top: -.15em;
  letter-spacing: .02em;
}

.nav-primary {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: .35rem 1.4rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-primary > li > a {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--ink); padding: .35rem 0; display: inline-block;
}
.nav-primary > li > a:hover,
.nav-primary > li > a[aria-current="page"] { color: var(--accent); }
.nav-item.has-sub { position: relative; }
.nav-item.has-sub > a::after { content: "▾"; font-size: .6em; margin-left: .3rem; opacity: .5; }
.subnav {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 205px; padding: .6rem 0; margin: 0;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow); list-style: none;
  opacity: 0; visibility: hidden; transition: opacity .18s ease;
  z-index: 60;
}
.nav-item.has-sub:hover .subnav,
.nav-item.has-sub:focus-within .subnav { opacity: 1; visibility: visible; }
.subnav a {
  display: block; padding: .45rem 1.25rem;
  font-size: .8rem; letter-spacing: .06em; color: var(--ink); white-space: nowrap;
}
.subnav a:hover { background: var(--bg-deep); color: var(--accent); }
.subnav__head {
  padding: .35rem 1.25rem .2rem; font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-muted); opacity: .7;
}

.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.icon-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--line); background: var(--white);
  color: var(--ink); border-radius: var(--radius); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--bg-deep); border-color: var(--gold); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--shine); color: #fff;
  font-size: .65rem; line-height: 18px; text-align: center; font-weight: 500;
}
.cart-count[hidden] { display: none; }

.lang-toggle { display: flex; align-items: center; gap: .25rem; font-size: .7rem; letter-spacing: .1em; }
.lang-toggle button {
  border: none; background: none; cursor: pointer; padding: .2rem .15rem;
  color: var(--ink-muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem;
}
.lang-toggle button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-primary {
    position: fixed; inset: 0 0 0 auto; width: min(20rem, 85vw);
    background: var(--bg); border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 0; padding: 5rem 1.75rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; z-index: 120;
  }
  .nav-primary.open { transform: translateX(0); }
  .nav-primary > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-primary > li > a { display: block; padding: .85rem 0; font-size: .85rem; }
  .nav-item.has-sub > a::after { content: none; }
  .subnav {
    position: static; transform: none; opacity: 1; visibility: visible;
    border: none; box-shadow: none; background: transparent;
    padding: 0 0 .75rem .75rem; min-width: 0;
  }
  .subnav a { padding: .35rem 0; opacity: .8; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(23,18,15,.4);
    z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s;
  }
  .nav-scrim.open { opacity: 1; visibility: visible; }
}

/* ─── Split hero ──────────────────────────────────────────── */
.hero-split {
  padding: clamp(.6rem, 2vw, 1.1rem) clamp(.75rem, 3.5vw, 2rem);
  background: var(--bg);
}
.hero-split__cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(.6rem, 1.6vw, 1.1rem);
  min-height: min(84vh, 880px);
}
.hero-panel {
  position: relative; overflow: hidden; display: block;
  border-radius: 3px; background: var(--bg-deep); isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.hero-panel img {
  width: 100%; height: 100%; min-height: min(80vh, 840px);
  object-fit: cover; object-position: center 30%;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0); transition: background .4s ease; pointer-events: none;
}
.hero-panel:hover::before { background: rgba(0,0,0,.16); }
.hero-panel__label {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  margin: 0; padding: 1.15rem 1.6rem 1.25rem;
  max-width: min(18rem, 84%); text-align: center;
  background: rgba(246,242,234,.95);
  border: 1px solid rgba(23,18,15,.1);
  box-shadow: 0 20px 50px rgba(0,0,0,.16);
}
.hero-panel__label span {
  display: block; font-family: var(--font-brand);
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink); line-height: 1.15;
}
.hero-panel__label small {
  display: block; margin-top: .45rem;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted);
}
.hero-panel--jewellery .hero-panel__label small { color: var(--shine); }
@media (max-width: 780px) {
  .hero-split__cols { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel img { min-height: 42svh; }
}

/* ─── Marquee tagline ─────────────────────────────────────── */
.brandline {
  background: var(--rose-soft);
  border-block: 1px solid var(--line);
  padding: clamp(1.5rem, 3.5vw, 2.4rem) var(--gutter);
  text-align: center;
}
.brandline p {
  max-width: 44rem; margin: 0 auto;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--ink);
}

/* ─── Section heads ───────────────────────────────────────── */
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: .4rem; }
.section-head .p-lead { font-size: 1.02rem; color: var(--ink-muted); margin: 0; }
.section-head .eyebrow {
  display: block; font-size: .66rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .75rem;
}
.section-head .eyebrow--shine { color: var(--shine); }

/* ─── Product sections & grid ─────────────────────────────── */
.product-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg); border-top: 1px solid var(--line);
}
.product-section.alt { background: var(--bg-deep); }
.product-section.shine { background: #fdf4f7; }

.grid-products {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
@media (max-width: 980px) { .grid-products { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 460px) { .grid-products { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }

.product-card {
  background: var(--white); border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card__media {
  aspect-ratio: 3/4; overflow: hidden; background: var(--bg-deep);
  position: relative; display: block;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__media .alt-img {
  position: absolute; inset: 0; opacity: 0;
}
.product-card:hover .alt-img { opacity: 1; }

.product-card__body {
  padding: 1rem 1.1rem 1.25rem; text-align: center;
  flex: 1; display: flex; flex-direction: column;
}
.product-card__body h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.product-card__body h3 a { color: var(--ink); }
.product-card__body h3 a:hover { color: var(--accent); }
.product-card .price { font-size: .95rem; color: var(--accent); font-weight: 500; margin: .15rem 0 .5rem; }
.product-card .stock { font-size: .72rem; color: var(--sage); margin: 0 0 .75rem; letter-spacing: .04em; }
.product-card .btn-add { margin-top: auto; }

.badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 3;
  padding: .28rem .6rem; font-size: .6rem; letter-spacing: .14em;
  text-transform: uppercase; background: var(--ink); color: #fff;
}
.badge--shine { background: var(--shine); }
.badge--best { background: var(--gold); color: var(--ink); }

.wish-btn {
  position: absolute; top: .6rem; right: .6rem; z-index: 3;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,253,250,.9);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; color: var(--ink-muted);
  transition: color .2s, border-color .2s, background .2s;
}
.wish-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.wish-btn:hover { color: var(--shine); border-color: var(--shine); }
.wish-btn[aria-pressed="true"] { color: var(--shine); border-color: var(--shine); }
.wish-btn[aria-pressed="true"] svg { fill: var(--shine); }

.section-cta { text-align: center; margin-top: 2.75rem; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block; cursor: pointer; text-align: center;
  font-family: var(--font-sans); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .16em;
  padding: .9rem 2.1rem; border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--shine { background: var(--shine); border-color: var(--shine); color: #fff; }
.btn--shine:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: var(--bg); border-color: transparent; }
.btn--light:hover { background: var(--white); color: var(--ink); transform: translateY(-1px); }
.btn--sm { padding: .6rem 1.2rem; font-size: .64rem; letter-spacing: .13em; }
.btn--full { display: block; width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ─── Service tiles ───────────────────────────────────────── */
.services { padding: var(--section-pad) var(--gutter); background: var(--bg); border-top: 1px solid var(--line); }
.grid-services {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 980px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-services { grid-template-columns: 1fr; } }
.service-tile {
  position: relative; overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; border-radius: 3px;
}
.service-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-tile:hover img { transform: scale(1.05); }
.service-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,18,15,.78) 0%, rgba(23,18,15,.15) 55%, transparent 100%);
}
.service-tile__body { position: relative; z-index: 2; padding: 1.5rem; color: #fff; width: 100%; }
.service-tile__body h3 { color: #fff; margin-bottom: .25rem; }
.service-tile__body p { margin: 0 0 .9rem; font-size: .85rem; color: rgba(255,255,255,.85); }

/* ─── Two-house band ──────────────────────────────────────── */
.houses { padding: var(--section-pad) var(--gutter); background: var(--bg-deep); border-top: 1px solid var(--line); }
.houses__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 820px) { .houses__grid { grid-template-columns: 1fr; } }
.house {
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(1.75rem, 3.5vw, 2.75rem); text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.house--shine { background: #fdf4f7; }
.house img { width: 150px; height: auto; margin-bottom: 1.25rem; }
.house h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.house p { color: var(--ink-muted); margin: 0 0 1.5rem; max-width: 26rem; }

/* ─── Find us ─────────────────────────────────────────────── */
.find-us { padding: var(--section-pad) var(--gutter); background: var(--bg-deep); border-top: 1px solid var(--line); }
.find-us__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
@media (max-width: 900px) { .find-us__grid { grid-template-columns: 1fr; } }
.find-us__info { display: flex; flex-direction: column; gap: 1.6rem; }
.find-us__block h4 {
  font-family: var(--font-sans); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--ink-muted); margin: 0 0 .45rem; font-weight: 600;
}
.find-us__block p { margin: 0; font-size: .95rem; line-height: 1.75; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .15rem 0; }
.hours-row span:last-child { color: var(--ink-muted); }
.find-us__map { border: 1px solid var(--line); overflow: hidden; min-height: 420px; display: flex; background: var(--bg); }
.find-us__map iframe { display: block; width: 100%; min-height: 420px; flex: 1; border: 0; }
@media (max-width: 900px) { .find-us__map, .find-us__map iframe { min-height: 300px; } }

/* ─── Newsletter ──────────────────────────────────────────── */
.newsletter { padding: var(--section-pad) var(--gutter); background: var(--rose-soft); border-top: 1px solid var(--line); text-align: center; }
.newsletter__form { display: flex; gap: .6rem; max-width: 30rem; margin: 1.5rem auto 0; }
.newsletter__form input { flex: 1; }
@media (max-width: 520px) { .newsletter__form { flex-direction: column; } }

/* ─── Forms ───────────────────────────────────────────────── */
input, select, textarea {
  width: 100%; font-family: var(--font-sans); font-size: .92rem;
  padding: .8rem .9rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 8rem; resize: vertical; }
label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; color: var(--ink-muted); margin-bottom: .4rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .8rem; color: var(--ink-muted); margin-top: .5rem; }

/* ─── Page shell ──────────────────────────────────────────── */
.page { padding: var(--section-pad) var(--gutter); }
.page-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.page-head .eyebrow { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.crumbs { max-width: var(--max); margin: 0 auto 1.5rem; font-size: .74rem; letter-spacing: .08em; color: var(--ink-muted); text-transform: uppercase; }
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--accent); }

/* ─── Shop layout ─────────────────────────────────────────── */
.shop-layout { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 15rem 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 6.5rem; }
@media (max-width: 900px) { .filters { position: static; } }
.filter-group { margin-bottom: 1.75rem; }
.filter-group h4 { font-family: var(--font-sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); margin: 0 0 .7rem; font-weight: 600; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list li { margin-bottom: .1rem; }
.filter-list a { display: block; font-size: .88rem; color: var(--ink); padding: .28rem 0; }
.filter-list a:hover { color: var(--accent); }
.filter-list a.active { color: var(--accent); font-weight: 500; }
.filter-list a.active::before { content: "— "; }
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.shop-toolbar .count { font-size: .82rem; color: var(--ink-muted); }
.shop-toolbar select { width: auto; padding: .5rem 2rem .5rem .7rem; font-size: .8rem; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--ink-muted); }

/* ─── Product detail ──────────────────────────────────────── */
.product-detail { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
.pd-gallery__main { border: 1px solid var(--line); background: var(--bg-deep); aspect-ratio: 3/4; overflow: hidden; }
.pd-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: .6rem; margin-top: .6rem; }
.pd-thumbs button { width: 72px; aspect-ratio: 3/4; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; overflow: hidden; }
.pd-thumbs button[aria-current="true"] { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .price-lg { font-family: var(--font-display); font-size: 1.75rem; color: var(--accent); margin: .25rem 0 1.25rem; }
.pd-info .desc { color: var(--ink-muted); margin-bottom: 1.75rem; }
.size-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.size-list button {
  min-width: 3rem; padding: .6rem .8rem; font-size: .8rem; letter-spacing: .06em;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.size-list button:hover { border-color: var(--gold); }
.size-list button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); width: max-content; background: var(--white); }
.qty button { width: 2.5rem; height: 2.6rem; border: none; background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.qty button:hover { background: var(--bg-deep); }
.qty span { min-width: 2.5rem; text-align: center; font-size: .92rem; }
.pd-actions { display: flex; gap: .75rem; align-items: stretch; margin: 1.5rem 0; flex-wrap: wrap; }
.pd-actions .btn { flex: 1; min-width: 12rem; }
.pd-meta { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 1.75rem; font-size: .86rem; color: var(--ink-muted); }
.pd-meta p { margin: .3rem 0; }

/* ─── Cart & checkout ─────────────────────────────────────── */
.cart-layout { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line__img { width: 88px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); }
.cart-line__name { font-family: var(--font-display); font-size: 1.05rem; }
.cart-line__name a { color: var(--ink); }
.cart-line__opt { font-size: .78rem; color: var(--ink-muted); }
.cart-line__right { text-align: right; }
.cart-line__price { color: var(--accent); font-size: .95rem; }
.link-remove { background: none; border: none; padding: 0; cursor: pointer; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; }
.link-remove:hover { color: var(--shine); }
.summary { background: var(--white); border: 1px solid var(--line); padding: 1.6rem; position: sticky; top: 6.5rem; }
@media (max-width: 860px) { .summary { position: static; } }
.summary h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .92rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .9rem; font-size: 1.1rem; font-family: var(--font-display); }
.summary-row.total span:last-child { color: var(--accent); }
.ship-note { font-size: .78rem; color: var(--sage); margin: .5rem 0 1rem; }

/* ─── Toast ───────────────────────────────────────────────── */
.toast-stack { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 300; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.toast {
  background: var(--ink); color: #fff; padding: .85rem 1.15rem;
  font-size: .85rem; box-shadow: var(--shadow); max-width: 22rem;
  display: flex; align-items: center; gap: .75rem;
  animation: toast-in .25s ease;
}
.toast a { color: var(--blush); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ─── Modal ───────────────────────────────────────────────── */
.modal-scrim {
  position: fixed; inset: 0; z-index: 250; background: rgba(23,18,15,.55);
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}
.modal-scrim[hidden] { display: none; }
.modal {
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow);
  max-width: 30rem; width: 100%; padding: clamp(1.75rem, 4vw, 2.75rem); text-align: center;
  position: relative; max-height: 90vh; overflow-y: auto;
}
.modal__close {
  position: absolute; top: .6rem; right: .6rem; width: 2rem; height: 2rem;
  border: none; background: none; cursor: pointer; font-size: 1.2rem; color: var(--ink-muted); line-height: 1;
}
.modal__close:hover { color: var(--ink); }
.modal .code {
  display: inline-block; margin: .75rem 0 1.25rem; padding: .55rem 1.25rem;
  border: 1px dashed var(--gold); font-family: var(--font-sans);
  letter-spacing: .28em; font-size: .95rem; color: var(--accent); background: var(--white);
}

/* ─── Search panel ────────────────────────────────────────── */
.search-panel {
  position: fixed; inset: 0 0 auto; z-index: 200;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter);
  box-shadow: var(--shadow);
}
.search-panel[hidden] { display: none; }
.search-panel__inner { max-width: 44rem; margin: 0 auto; }
.search-panel input { font-size: 1.1rem; padding: 1rem; }
.search-results { margin-top: 1.25rem; max-height: 50vh; overflow-y: auto; }
.search-hit { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.search-hit img { width: 56px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); }
.search-hit strong { font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.search-hit span { color: var(--accent); font-size: .88rem; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer { padding: 3.25rem var(--gutter) 2rem; background: #191410; color: rgba(255,255,255,.75); font-size: .86rem; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.45); margin: 0 0 1rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: rgba(255,255,255,.8); display: block; padding: .25rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: .3rem 0; color: rgba(255,255,255,.65); }
.footer-brand { font-family: var(--font-brand); font-size: 1.1rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; display: block; margin-bottom: .3rem; }
.footer-brand-sub { font-family: var(--font-script); font-size: 1.05rem; color: var(--blush); display: block; margin-bottom: .9rem; }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a { width: 2.2rem; height: 2.2rem; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; padding: 0; }
.footer-social a:hover { border-color: var(--blush); }
.footer-social svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.footer-bottom {
  max-width: var(--max); margin: 2.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .75rem; color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal a { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); padding: 0; }

/* ─── Prototype ribbon ────────────────────────────────────── */
.proto-flag {
  position: fixed; left: 0; bottom: 0; z-index: 400;
  background: var(--shine); color: #fff;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .45rem .9rem; cursor: pointer; border: none;
}
.proto-flag:hover { background: var(--ink); }

/* ─── Rich text ───────────────────────────────────────────── */
.prose { max-width: 44rem; margin: 0 auto; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.2rem; }
.prose p { color: var(--ink-muted); }
.prose ul { color: var(--ink-muted); padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose img { margin: 2rem 0; border: 1px solid var(--line); }

.split-feature { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .split-feature { grid-template-columns: 1fr; } }
.split-feature img { border: 1px solid var(--line); }
