/* Sweet Hearts storefront — minimal, editorial, monochrome. */

:root {
  /* Brand: navy (Shopify theme navy) + Sweet Hearts logo pink */
  --navy: #0e1b4d;
  --pink: #cc52a9;        /* logo pink: hearts, large accents, decoration */
  --pink-ink: #a83684;    /* readable pink for small text / badges on light bg (6:1) */
  --pink-soft: #f3b6da;   /* pink on navy backgrounds */
  --ink: var(--navy);
  --ink-2: #2b3766;
  --muted: #5b6386;
  --line: #ece2ea;
  --stone: #f8f0f4;       /* photo tiles (white photo backgrounds multiply into this) */
  --stone-2: #f1e3ec;
  --paper: #ffffff;
  --blush: #fce9f3;
  --danger: #b4233a;

  --font-display: "Fredoka", "Nunito", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1680px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 14px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow, .label, .nav-link, .btn, .tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
}
.eyebrow { font-size: 11px; color: var(--muted); }
.display {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .98;
  font-size: clamp(40px, 6.2vw, 96px);
  margin: 0;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(15px, 1.3vw, 18px);
  margin: 0;
}
.lede { font-size: 15px; color: var(--ink-2); max-width: 44ch; }
.link-underline {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease);
}
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 30px; font-size: 12px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  transition: background .2s, color .2s, opacity .2s;
}
.btn:hover { background: #000; }
.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%; }
.btn[disabled], .btn.is-disabled { background: var(--stone-2); color: var(--muted); border-color: var(--stone-2); cursor: not-allowed; }
.btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: 11px;
  height: 34px; display: grid; place-items: center; overflow: hidden; position: relative;
}
.announce__track { display: grid; }
.announce__msg { grid-area: 1 / 1; text-align: center; padding: 0 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.announce__msg.is-active { opacity: 1; transform: none; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__bar {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.header__nav { display: flex; gap: 28px; align-items: center; height: 100%; }
.nav-link { font-size: 12px; position: relative; padding: 6px 0; display: inline-block; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-item:hover .nav-link::after, .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.logo {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .34em; font-size: 19px; white-space: nowrap; padding-left: .34em;
  display: flex; align-items: center; gap: 10px;
}
.header__icons { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; position: relative; }
.icon-btn svg { width: 20px; height: 20px; }
.bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--ink); color: var(--paper);
  font: 600 10px/17px var(--font-body); text-align: center;
  transform: scale(1); transition: transform .25s var(--ease);
}
.bag-count:empty, .bag-count[data-count="0"] { transform: scale(0); }
.bag-count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* mega menu */
.nav-item { position: static; height: 100%; display: flex; align-items: center; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.mega__inner { display: grid; grid-template-columns: 220px 220px 1fr; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.mega__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.mega__list a { font-size: 14px; color: var(--ink-2); }
.mega__list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.mega__feature { justify-self: end; display: grid; grid-template-columns: repeat(2, 200px); gap: 16px; }
.mega__feature a { display: grid; gap: 10px; font-size: 12px; }
.mega__feature .media { aspect-ratio: 4 / 5; }

/* ---------- media tiles ---------- */
.media { position: relative; background: var(--stone); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(340px, 5fr) 4fr 4fr;
  min-height: min(86vh, 860px); background: var(--stone);
}
.hero__copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 26px; padding: 56px var(--gutter) 64px; }
.hero__copy .eyebrow { color: var(--ink-2); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__panel { position: relative; overflow: hidden; }
.hero__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.04); animation: heroIn 1.6s var(--ease) forwards; }
.hero__panel:nth-child(3) img { animation-delay: .12s; }
@keyframes heroIn { to { transform: scale(1); } }
.hero__caption { position: absolute; left: 20px; bottom: 20px; font-size: 11px; background: var(--paper); padding: 8px 12px; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap; border-top: 1px solid #000; }
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee__item { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; padding: 15px 28px; display: inline-flex; align-items: center; gap: 28px; }
.marquee__item::after { content: "♥"; font-size: 9px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding-top: 32px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section__head p { margin: 8px 0 0; color: var(--muted); }

/* carousel */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4.25);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__btns { display: flex; gap: 8px; }
.rail__btn { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s, opacity .2s; }
.rail__btn:hover { border-color: var(--ink); }
.rail__btn[disabled] { opacity: .3; pointer-events: none; }
.rail__btn svg { width: 14px; height: 14px; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: block; }
.tile .media { aspect-ratio: 3 / 4; }
.tile .media img { transition: transform 1s var(--ease); }
.tile:hover .media img { transform: scale(1.04); }
.tile__label { position: absolute; left: 16px; bottom: 16px; background: var(--paper); padding: 10px 14px; font-size: 12px; display: inline-flex; gap: 10px; align-items: center; }
.tile__label svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.tile:hover .tile__label svg { transform: translateX(4px); }

/* editorial split */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split__media { position: relative; background: var(--stone); overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.split__copy { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 64px clamp(24px, 7vw, 120px); background: var(--blush); }
.split__copy .display { font-size: clamp(36px, 4.4vw, 68px); }
.split--reverse .split__media { order: 2; }
.split--dark .split__copy { background: var(--ink); color: var(--paper); }
.split--dark .lede { color: #cfcac2; }

/* values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value { padding: 40px var(--gutter); display: grid; gap: 8px; }
.value + .value { border-left: 1px solid var(--line); }
.value h3 { margin: 0; }
.value p { margin: 0; color: var(--muted); max-width: 36ch; }

/* ---------- product card ---------- */
.card { position: relative; display: grid; gap: 10px; align-content: start; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.card__img--alt { opacity: 0; }
/* Images use mix-blend-mode: multiply, so the hover image must replace the
   primary (fade it out), not sit on top of it, or the two blend together. */
@media (hover: hover) {
  .card.has-alt:hover .card__img--alt { opacity: 1; }
  .card.has-alt:hover .card__img:not(.card__img--alt) { opacity: 0; }
  .card:hover .card__img { transform: scale(1.03); }
}
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.tag { font-size: 10px; padding: 5px 8px; background: var(--paper); line-height: 1; }
.tag--dark { background: var(--ink); color: var(--paper); }
.card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  background: rgba(255, 255, 255, .96); padding: 12px; display: grid; gap: 10px;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease);
}
.card__quick-head { display: grid; gap: 2px; min-width: 0; }
.card__quick .label { font-size: 10px; }
.card__quick-color { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) {
  .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
}
.card__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip { min-width: 38px; height: 32px; padding: 0 8px; border: 1px solid var(--line); font-size: 12px; background: var(--paper); transition: border-color .15s, background .15s, color .15s; }
.size-chip:hover { border-color: var(--ink); }
.size-chip[disabled] { color: #b9b5ae; text-decoration: line-through; cursor: not-allowed; border-color: var(--line); }
.size-chip.is-soldout { color: #8a867f; border-style: dashed; }
.size-chip.is-added { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card__meta { display: grid; gap: 4px; }
.card__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__title { font-size: 13px; font-weight: 500; line-height: 1.35; }
.card__price { font-size: 13px; white-space: nowrap; }
.card__sub { font-size: 12px; color: var(--muted); }
.swatches { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.swatch {
  width: 18px; height: 18px; border-radius: 50%; position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.swatch-btn { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid transparent; transition: border-color .15s; }
.swatch-btn.is-active, .swatch-btn:hover { border-color: var(--ink); }
.swatch-btn.is-soldout .swatch::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(0, 0, 0, .55); transform: rotate(45deg); }
.swatch-more { font-size: 11px; color: var(--muted); padding-left: 2px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 16px; }

/* ---------- collection ---------- */
.col-hero { padding: 48px 0 28px; display: grid; gap: 14px; }
.crumbs { font-size: 11px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20; background: var(--paper);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; margin-bottom: 28px;
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--line); display: inline-flex; align-items: center; font-size: 12px; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toolbar__right { display: flex; gap: 12px; align-items: center; flex: none; }
.count { font-size: 12px; color: var(--muted); }
.select { position: relative; }
.select select { appearance: none; border: 1px solid var(--line); height: 34px; padding: 0 34px 0 14px; background: var(--paper); font-size: 12px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sizes-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: -12px 0 28px; }
.empty { padding: 80px 0; text-align: center; display: grid; gap: 18px; justify-items: center; color: var(--muted); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr); gap: clamp(24px, 4vw, 64px); padding-top: 20px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery__item { aspect-ratio: 4 / 5; background: var(--stone); position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery__item:first-child { grid-column: span 2; aspect-ratio: 5 / 4; }
.gallery__dots { display: none; }
.buy { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 22px; padding-bottom: 40px; }
.buy__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin: 0; letter-spacing: .01em; }
.buy__price { font-size: 16px; }
.buy__head { display: grid; gap: 10px; }
.opt { display: grid; gap: 12px; }
.opt__label { display: flex; justify-content: space-between; font-size: 12px; }
.opt__label b { font-weight: 500; }
.opt__label span { color: var(--muted); }
.opt .swatch-btn { width: 36px; height: 36px; }
.opt .swatch { width: 28px; height: 28px; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.size-btn { height: 46px; border: 1px solid var(--line); font-size: 13px; transition: border-color .15s, background .15s, color .15s; }
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-btn.is-soldout { color: #8a867f; border-style: dashed; }
.size-btn.is-soldout.is-active { color: var(--paper); border-style: solid; }
.size-btn[disabled] { color: #b9b5ae; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)); cursor: not-allowed; }
.buy__msg { font-size: 12px; color: var(--danger); margin: 0; }
.buy__msg:empty { display: none; }
.buy__note { display: flex; gap: 12px; align-items: flex-start; background: var(--stone); padding: 14px 16px; font-size: 12px; color: var(--ink-2); }
.buy__note svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12px; color: var(--ink-2); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 15px; height: 15px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 300 20px/1 var(--font-body); transition: transform .25s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding: 0 0 22px; color: var(--ink-2); font-size: 13px; display: grid; gap: 12px; }
.accordion__body p { margin: 0; }
.accordion__body ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.spec { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: var(--paper); display: none; }
.lightbox.is-open { display: block; }
.lightbox__track { height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; background: var(--stone); }
.lightbox__slide img { max-height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; background: var(--paper); display: grid; place-items: center; z-index: 2; }
.lightbox__close svg { width: 18px; height: 18px; }

/* ---------- drawers (bag, menu) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 20, 20, .35); z-index: 60; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 70; width: min(440px, 100vw);
  background: var(--paper); display: grid; grid-template-rows: auto 1fr auto;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__body { overflow-y: auto; padding: 8px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; display: grid; gap: 14px; }
.close-btn { width: 36px; height: 36px; display: grid; place-items: center; margin-right: -8px; }
.close-btn svg { width: 16px; height: 16px; }

.line { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { aspect-ratio: 4 / 5; }
.line__info { display: grid; gap: 6px; align-content: start; font-size: 13px; }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__title { font-weight: 500; }
.line__opts { color: var(--muted); font-size: 12px; }
.line__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty { display: inline-grid; grid-template-columns: 32px 32px 32px; height: 32px; border: 1px solid var(--line); align-items: center; text-align: center; font-size: 12px; }
.qty button { height: 100%; }
.qty button:hover { background: var(--stone); }
.line__remove { font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line__warn { font-size: 11px; color: var(--danger); }
.bag-empty { padding: 60px 0; display: grid; gap: 20px; justify-items: center; text-align: center; color: var(--muted); }
.subtotal { display: flex; justify-content: space-between; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 500; }
.fineprint { font-size: 11px; color: var(--muted); text-align: center; margin: 0; }

.menu-drawer .drawer__body { padding: 0; }
.menu-group { border-bottom: 1px solid var(--line); }
.menu-group summary, .menu-group > a { list-style: none; display: flex; justify-content: space-between; padding: 18px 24px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 500; cursor: pointer; }
.menu-group summary::-webkit-details-marker { display: none; }
.menu-group summary::after { content: "+"; font-weight: 300; }
.menu-group[open] summary::after { content: "–"; }
.menu-group ul { list-style: none; margin: 0; padding: 0 24px 18px; display: grid; gap: 12px; }

/* ---------- search overlay ---------- */
.search {
  position: fixed; left: 0; right: 0; top: 0; z-index: 80; background: var(--paper);
  transform: translateY(-100%); transition: transform .4s var(--ease); border-bottom: 1px solid var(--line);
}
.search.is-open { transform: none; }
.search__bar { display: flex; align-items: center; gap: 16px; height: 84px; }
.search__bar svg { width: 20px; height: 20px; flex: none; }
.search__input { flex: 1; border: 0; outline: 0; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .02em; background: transparent; }
.search__results { padding-bottom: 32px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.search__results:empty { display: none; }
.search__hit { display: grid; gap: 8px; font-size: 12px; }
.search__hit .media { aspect-ratio: 4 / 5; }
.search__hint { padding-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper); padding: 14px 20px; font-size: 13px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.footer { background: var(--stone); margin-top: 80px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.footer h4 { margin: 0 0 16px; font-size: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.newsletter { display: grid; gap: 14px; max-width: 420px; }
.newsletter p { margin: 0; color: var(--ink-2); }
.newsletter form { display: flex; border-bottom: 1px solid var(--ink); }
.newsletter input { flex: 1; border: 0; background: transparent; padding: 12px 0; outline: 0; }
.newsletter button { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 500; }
.newsletter__msg { font-size: 12px; min-height: 18px; }
.footer__bottom { border-top: 1px solid var(--stone-2); padding-top: 20px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }

/* ---------- content pages ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 40px; }
.page h1 { margin-bottom: 28px; }
.rte { color: var(--ink-2); font-size: 14px; }
.rte h2, .rte h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin: 32px 0 10px; }
.rte a { text-decoration: underline; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 12px; }
.field input, .field textarea { border: 1px solid var(--line); padding: 14px; font-size: 14px; outline: 0; transition: border-color .15s; background: var(--paper); }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.notice { background: var(--stone); padding: 16px 18px; font-size: 13px; }

/* cart page */
.cart-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; padding-top: 40px; }
.cart-page .line { grid-template-columns: 120px 1fr; }
.summary { background: var(--stone); padding: 28px; display: grid; gap: 16px; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail__track { grid-auto-columns: calc((100% - 2 * 16px) / 3.2); }
  .hero { grid-template-columns: 1.2fr 1fr; }
  .hero__panel:last-child { display: none; }
  .search__results { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 56px; }
  .header__bar { grid-template-columns: auto 1fr auto; }
  .header__nav { display: none; }
  .menu-toggle { display: grid; }
  .logo { justify-content: center; font-size: 16px; letter-spacing: .28em; }
  .hero { grid-template-columns: 1fr 1fr; min-height: auto; }
  .hero__copy { grid-column: 1 / -1; order: 2; padding-top: 32px; padding-bottom: 40px; }
  .hero__panel { aspect-ratio: 4 / 5; }
  .hero__panel:last-child { display: block; }
  .hero__caption { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { aspect-ratio: 4 / 5; }
  .split--reverse .split__media { order: 0; }
  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .pdp { grid-template-columns: 1fr; padding-top: 0; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); gap: 0; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item, .gallery__item:first-child { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .gallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s; }
  .gallery__dots span.is-active { background: var(--ink); }
  .buy { position: static; }
  .cart-page { grid-template-columns: 1fr; gap: 28px; }
  .summary { position: static; }
  .mega { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 13px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .rail__track { grid-auto-columns: 68%; gap: 10px; }
  .rail__btns { display: none; }
  .toolbar { flex-wrap: wrap; }
  .toolbar__right { width: 100%; justify-content: space-between; }
  .search__results { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .card__title, .card__price { font-size: 12px; }
  .hero__ctas .btn { flex: 1; padding: 0 12px; }
  .cart-page .line { grid-template-columns: 92px 1fr; }
}

/* ================================================================
   Mobile & touch
   ================================================================ */
html { -webkit-tap-highlight-color: transparent; }
button, a, summary, label { touch-action: manipulation; }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.drawer__foot { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.footer__bottom { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

/* quick add toggle for touch screens (desktop uses hover) */
.card__frame { position: relative; }
.card__plus {
  display: none; position: absolute; z-index: 4; right: 10px; bottom: 10px; width: 38px; height: 38px;
  background: rgba(255, 255, 255, .94); border-radius: 50%; place-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08); transition: transform .25s var(--ease);
}
.card__plus svg { width: 16px; height: 16px; }
.card.is-quick .card__plus { transform: rotate(45deg); }
.card.is-quick .card__quick { opacity: 1; transform: none; }
.card.is-quick .card__badges { opacity: 0; }

/* gallery counter (mobile) */
.gallery-wrap { position: relative; }
.gallery__count { display: none; }

/* sticky add-to-bag (mobile) */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none;
  grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { display: grid; min-width: 0; }
.sticky-buy__title { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { height: 46px; padding: 0 22px; }

/* mobile menu tiles */
.menu-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 24px 20px; border-bottom: 1px solid var(--line); }
.menu-tile { display: grid; gap: 8px; }
.menu-tile .media { aspect-ratio: 4 / 5; }

@media (hover: none) {
  .card__plus { display: grid; }
  .card.is-quick .card__plus { bottom: auto; top: 10px; }
  .card__quick { pointer-events: none; }
  .card.is-quick .card__quick { pointer-events: auto; }
  .card .swatch-btn { width: 30px; height: 30px; }
  .swatches { gap: 2px; }
}

@media (max-width: 860px) {
  .sticky-buy { display: grid; }
  .gallery__count {
    display: block; position: absolute; right: 12px; bottom: 34px; z-index: 2;
    background: rgba(255, 255, 255, .9); padding: 4px 9px; font-size: 11px; letter-spacing: .08em;
  }
  .close-btn { width: 44px; height: 44px; }
  .qty { grid-template-columns: 40px 34px 40px; height: 38px; }
  .size-btn { height: 50px; }
  .opt .swatch-btn { width: 42px; height: 42px; }
  .opt .swatch { width: 32px; height: 32px; }
  .sizes-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .sizes-filter::-webkit-scrollbar { display: none; }
  .sizes-filter .chip { flex: none; }
  .section__head { align-items: center; }
  .hero__copy { gap: 20px; }
  .footer { margin-top: 56px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 48px; }
  .footer__top .newsletter { grid-column: 1 / -1; }
  body.has-sticky-buy .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .pdp + .sticky-buy, .pdp { padding-bottom: 8px; }
  .page { padding-top: 36px; }
  .lightbox__close { top: calc(12px + env(safe-area-inset-top)); }
}

@media (max-width: 640px) {
  /* 16px inputs stop iOS Safari from zooming on focus */
  .newsletter input, .field input, .field textarea, .search__input, .select select { font-size: 16px; }
  .search__bar { height: 68px; }
  .search__input { font-size: 20px; }
  .col-hero { padding: 28px 0 18px; }
  .toolbar { top: var(--header-h); }
  .tile__label { left: 10px; bottom: 10px; padding: 8px 10px; font-size: 10px; }
  .split__copy { padding: 44px 20px 52px; }
  .value { padding: 28px 20px; }
  .summary { padding: 22px; }
  .card__sub { display: none; }
}


/* Brand logo (image) */
.logo { padding-left: 0; letter-spacing: 0; }
.logo__img { height: 52px; width: auto; display: block; }
.logo__img--sm { height: 40px; }
@media (max-width: 860px) { .logo__img { height: 44px; } .logo__img--sm { height: 38px; } }


/* ================================================================
   Brand theme: navy + logo pink, rounded & playful like the logo
   ================================================================ */
::selection { background: var(--pink-soft); color: var(--navy); }
:focus-visible { outline-color: var(--pink); }
body { font-size: 15px; }

/* type */
.display { font-weight: 600; letter-spacing: 0; line-height: 1; }
.display .accent { color: var(--pink); }
.eyebrow { color: var(--pink-ink); font-weight: 600; letter-spacing: .16em; }
.h2 { font-weight: 600; letter-spacing: .06em; font-size: clamp(17px, 1.5vw, 22px); display: inline-flex; align-items: center; gap: 10px; }
.section__head .h2::before, .footer h4::before {
  content: ""; width: 14px; height: 13px; flex: none; background: var(--pink);
  -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat;
}
:root { --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E"); }
.nav-link, .btn, .tag, .label { font-weight: 600; }
.link-underline { font-weight: 600; background-image: linear-gradient(var(--pink), var(--pink)); background-size: 100% 2px; }
.link-underline:hover { color: var(--pink-ink); }
.nav-link::after { height: 2px; background: var(--pink); border-radius: 2px; }

/* hearts motif (echoes the logo) */
.hearts { display: inline-flex; gap: 6px; color: var(--pink); }
.hearts svg { width: 22px; height: 22px; }

/* buttons: pills */
.btn { border-radius: 999px; height: 52px; padding: 0 32px; letter-spacing: .12em; }
.btn:hover { background: var(--pink-ink); border-color: var(--pink-ink); }
.btn--ghost { border-width: 2px; }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--light:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn--pink { background: var(--pink-ink); border-color: var(--pink-ink); color: #fff; }
.btn--pink:hover { background: var(--navy); border-color: var(--navy); }
.btn[disabled], .btn.is-disabled { border-radius: 999px; }

/* announcement + header */
.announce { background: var(--navy); font-family: var(--font-display); font-weight: 500; }
.announce__msg .h { color: var(--pink-soft); }
.header { border-bottom: 1px solid var(--line); }
.bag-count { background: var(--pink-ink); font-family: var(--font-body); font-weight: 800; }
.mega { border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 30px -18px rgba(14, 27, 77, .18); }
.mega__list a:hover { color: var(--pink-ink); }
.mega__feature .media { border-radius: var(--radius-sm); }

/* rounded media */
.card__media, .tile .media, .gallery__item, .line__img, .search__hit .media, .menu-tile .media, .mega__feature .media { border-radius: var(--radius); overflow: hidden; }
.line__img, .search__hit .media { border-radius: var(--radius-sm); }
.tile__label { border-radius: 999px; font-weight: 600; color: var(--navy) !important; padding: 10px 16px; }
.tile__label svg { color: var(--pink); }
.hero__caption { border-radius: 999px; padding: 8px 14px; font-weight: 600; }

/* hero */
.hero { background: linear-gradient(135deg, #fdf0f7 0%, var(--stone) 55%, #f4eef6 100%); }
.hero__panel { margin: 18px 0; }
.hero__panel + .hero__panel { margin-right: 18px; margin-left: 12px; }
.hero__panel { background: rgba(255, 255, 255, .35); border-radius: var(--radius); }
.hero__copy .eyebrow { color: var(--pink-ink); }

/* marquee */
.marquee { background: var(--navy); border: 0; }
.marquee__item { font-family: var(--font-display); font-weight: 600; letter-spacing: .16em; }
.marquee__item::after { color: var(--pink); opacity: 1; font-size: 12px; }

/* cards */
.card__title { font-weight: 700; font-size: 14px; }
.card__price { font-weight: 700; }
.tag { border-radius: 999px; padding: 6px 10px; }
.tag--dark { background: var(--pink-ink); color: #fff; }
.card__quick { border-radius: var(--radius-sm); }
.size-chip { border-radius: 999px; font-weight: 700; }
.size-chip:hover, .size-chip.is-added { border-color: var(--navy); }
.card__plus { color: var(--navy); }
.swatch-btn.is-active, .swatch-btn:hover { border-color: var(--pink); }

/* split sections */
.split__copy { background: var(--blush); }
.split--dark .split__copy { background: var(--navy); }
.split--dark .eyebrow { color: var(--pink-soft) !important; }
.split--dark .display .accent { color: var(--pink-soft); }
.split__media { background: var(--stone); }

/* values */
.values { border-color: var(--line); }
.value svg { color: var(--pink); }

/* collection + chips */
.chip { border-radius: 999px; font-weight: 600; }
.chip.is-active { background: var(--navy); border-color: var(--navy); }
.chip:hover { border-color: var(--pink); }
.select select { border-radius: 999px; font-weight: 600; }
.toolbar { border-color: var(--line); }

/* product page */
.buy__title { font-weight: 600; }
.buy__price { font-weight: 700; font-size: 18px; }
.size-btn { border-radius: 999px; font-weight: 700; }
.size-btn.is-active { background: var(--navy); border-color: var(--navy); }
.size-btn:hover:not([disabled]) { border-color: var(--pink); }
.opt .swatch-btn.is-active { border-color: var(--pink); border-width: 2px; }
.perks svg { color: var(--pink); }
.accordion summary { font-weight: 600; }
.accordion summary::after { color: var(--pink); }
.gallery__count { border-radius: 999px; }

/* bag */
.qty { border-radius: 999px; overflow: hidden; }
.drawer { border-radius: var(--radius) 0 0 var(--radius); }
.drawer--left { border-radius: 0 var(--radius) var(--radius) 0; }
.drawer__head .h2 { font-weight: 600; }
.subtotal { font-weight: 700; }
.summary { border-radius: var(--radius); background: var(--blush); }
.line__remove:hover { color: var(--pink-ink); }
.sticky-buy .btn { height: 48px; }

/* search */
.search { border-radius: 0 0 var(--radius) var(--radius); }
.search__input { font-weight: 500; }

/* forms */
.field input, .field textarea { border-radius: var(--radius-sm); }
.field input:focus, .field textarea:focus { border-color: var(--pink); }
.notice { border-radius: var(--radius-sm); background: var(--blush); }

/* footer: navy with the logo */
.footer { background: var(--navy); color: #fff; }
.footer h4 { color: #fff !important; display: flex; align-items: center; gap: 8px; }
.footer ul { color: #d4d8ea; }
.footer ul a:hover { color: var(--pink-soft); }
.newsletter p { color: #d4d8ea; }
.newsletter form { border: 2px solid rgba(255, 255, 255, .7); border-radius: 999px; padding: 0 6px 0 20px; align-items: center; }
.newsletter input { color: #fff; }
.newsletter input::placeholder { color: #aab0cc; }
.newsletter button { background: var(--pink); color: #fff; border-radius: 999px; height: 38px; padding: 0 18px; }
.newsletter button:hover { background: var(--pink-ink); }
.newsletter__msg { color: var(--pink-soft); }
.footer__logo { display: flex; justify-content: center; padding: 8px var(--gutter) 36px; }
.footer__logo img { width: min(360px, 70vw); height: auto; }
.footer__bottom { border-top-color: rgba(255, 255, 255, .15); color: #aab0cc; }
.footer__bottom a:hover { color: var(--pink-soft); }

/* mobile menu */
.menu-group summary::after { color: var(--pink); }
.link-underline { align-self: flex-start; }
.rail__btn { border-radius: 50%; color: var(--navy); }
.rail__btn:hover { border-color: var(--pink); color: var(--pink-ink); }
.newsletter { align-content: start; }
.newsletter h4 { margin-bottom: 2px; }
.footer__top { align-items: start; }
@media (max-width: 860px) {
  .hero { gap: 10px; padding: 14px 14px 0; }
  .hero__panel, .hero__panel + .hero__panel { margin: 0; }
  .hero__copy { padding-left: calc(var(--gutter) - 14px); padding-right: calc(var(--gutter) - 14px); }
}
.hero .display { font-size: clamp(38px, 5vw, 84px); text-wrap: balance; }

/* Announcement bar: single line, optically centered */
.announce__msg { margin: 0; line-height: 1; white-space: nowrap; padding-top: 1px; }
@media (max-width: 420px) { .announce { font-size: 10px; letter-spacing: .1em; } }

/* Mobile header: equal side columns so the logo sits dead center */
@media (max-width: 860px) {
  .header__bar { grid-template-columns: 1fr auto 1fr; }
  .menu-toggle { justify-self: start; }
  .header__icons { justify-self: end; }
}

/* One-line logo (LOGO_STYLE=horizontal) */
.logo__img--horizontal { height: 34px; max-width: 100%; }
.logo__img--sm.logo__img--horizontal { height: 22px; }
@media (max-width: 1100px) { .logo__img--horizontal { height: 28px; } }
@media (max-width: 860px) {
  .logo { min-width: 0; }
  .header__bar { gap: 4px; }
  .header__icons { gap: 0; }
  .header__icons .icon-btn, .menu-toggle { width: 38px; }
  .logo__img--horizontal { height: auto; width: 100%; max-height: 24px; object-fit: contain; }
}
@media (max-width: 860px) {
  /* Equal fixed side columns keep the logo centered whatever it's width */
  .header__bar { grid-template-columns: 76px minmax(0, 1fr) 76px; }
  .logo { justify-content: center; }
}

/* Never crop product photos: show the whole image. Photos have white backgrounds and
   use mix-blend-mode: multiply, so the letterbox space blends into the stone tile. */
.media img, .card__img, .hero__panel img, .split__media img, .gallery__item img, .lightbox__slide img {
  object-fit: contain;
}
.hero__panel img, .split__media img { padding: 24px 0; }

/* Skip link: hidden until focused with the keyboard */
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; transition: top .15s; }
.skip-link:focus { top: 12px; }

/* Spam trap field: invisible to people, filled by bots */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Forms */
.field select { border: 1px solid var(--line); padding: 14px; font-size: 14px; border-radius: var(--radius-sm); background: var(--paper); }
.form__note { font-size: 12px; color: var(--muted); margin: 0; }
.form__note a, .newsletter__consent a { text-decoration: underline; text-underline-offset: 3px; }
.notice--error { background: #fdecef; color: var(--danger); }
.newsletter__consent { font-size: 11px; color: #aab0cc !important; line-height: 1.5; margin: 0; }

/* Legal pages */
.legal { max-width: 820px; }
.legal__date { color: var(--muted); font-size: 13px; margin: -12px 0 28px; }
.legal .rte { font-size: 15px; line-height: 1.7; }
.legal .rte h2 { font-size: 16px; margin-top: 36px; }
.legal .rte h3 { font-size: 13px; margin: 20px 0 6px; letter-spacing: .06em; }
.legal .rte ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .rte code { background: var(--stone); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.legal__summary { background: var(--blush); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 8px; }
.legal__summary p { margin: 0 0 6px; }
.legal__callout { background: var(--stone); border-left: 3px solid var(--pink); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal__caps { text-transform: uppercase; font-size: 13px; letter-spacing: .01em; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0; }
.legal__table th, .legal__table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal__table th { background: var(--stone); font-weight: 700; }
@media (max-width: 640px) { .legal__table { display: block; overflow-x: auto; } }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
