/* Layout: phone first, compact. White store, near-black type, pale grey
   square photo tiles, gold only in the logo and tiny accents.
   Phone: menu button + logo + search, category pills, 2-up grid, thumb dock.
   Tablet (700+): same header with bag, 3-up grid, split product view.
   Desktop (1100+): full top navigation, featured fragrance beside a compact
   2 x 2 selection, 4-up grid. The lower page follows the live site: light
   service strip, grey waves, black footer. One light look on purpose. */
:root {
  --bg: #ffffff;
  --tile: #f4f4f3;
  --ink: #111111;
  --ink-2: #4b4b4d;
  --ink-3: #6c6c70;
  --line: #e6e6e6;
  --line-2: #d0d0d0;
  --gold: #a9834a;
  --gold-sheen: linear-gradient(100deg, #a8763f 0%, #d4bc79 48%, #96612f 100%);
  --black: #0d0d0e;
  --ok: #2f6b3f;
  --danger: #a4261b;

  /* Classic (default): Gilda Display, a calm classical face with clear numerals, and a crisp modern sans */
  --display: "Gilda Display", "Times New Roman", serif;
  --display-weight: 400;
  --display-track: 0.01em;
  --head-case: none;
  --head-track: 0.01em;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 140ms;
  --t-move: 260ms;

  --gutter-l: max(14px, env(safe-area-inset-left, 0px));
  --gutter-r: max(14px, env(safe-area-inset-right, 0px));
  --maxw: 1320px;
  --dock-h: 62px;
  --radius: 4px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.45 var(--sans);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

.view, .mast-inner, .pill-nav, .foot-inner, .foot-bottom, .service-list { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.view { max-width: var(--maxw); margin-inline: auto; padding-bottom: 28px; }

/* ---------- Type roles ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.section-head.first { margin-top: 14px; }
.section-head h2, .section-head h1 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.25rem; line-height: 1.15; letter-spacing: 0.01em; text-wrap: balance; }
.see-all, .text-link { font-size: 0.8125rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; color: var(--ink); white-space: nowrap; }
.list-head { margin-top: 4px; }
.count { margin: 0; color: var(--ink-3); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.small-head { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.brand { font-size: 0.75rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0.02em; }
.name { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: 0.005em; overflow-wrap: anywhere; }
.conc { font-size: 0.8125rem; color: var(--ink-2); }

/* ---------- Header ---------- */
.masthead { background: var(--bg); }
.mast-inner { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 60px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: 22px; cursor: pointer; color: var(--ink); }
.icon-btn svg { width: 24px; height: 24px; stroke-width: 1.7; }
.icon-btn:active { background: var(--tile); }
.menu-btn { margin-left: -10px; }
.logo { justify-self: center; display: block; }
.logo img { height: 48px; width: auto; }
.topnav { display: none; }
.mast-tools { justify-self: end; display: flex; align-items: center; }
.mast-search { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; border: 0; background: none; border-radius: 22px; cursor: pointer; }
.mast-search span { display: none; }
.mast-search svg { width: 23px; height: 23px; stroke-width: 1.7; }
.mast-bag { display: none; }

/* category pills */
.pill-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px 10px; max-width: var(--maxw); margin-inline: auto; scroll-padding-inline: var(--gutter-l); }
.pill-nav::-webkit-scrollbar { display: none; }
.pill-nav a {
  flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 999px;
  background: var(--tile); color: var(--ink); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  transition: background-color 160ms ease, transform var(--t-press) var(--ease-out);
}
.pill-nav a:active { background: #e6e6e5; transform: scale(0.97); }
@media (max-width: 699px) {
  body[data-view]:not([data-view="home"]) .masthead { display: none; }
}

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 24px; }
.card { position: relative; min-width: 0; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
.ph { position: relative; aspect-ratio: 1 / 1; max-width: 100%; background: var(--tile); border-radius: var(--radius); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 500ms var(--ease-out); }
.card .brand { margin: 8px 0 0; line-height: 1.3; }
.card .name { margin: 2px 0 0; font-size: 0.9375rem; line-height: 1.25; }
.card .name a { text-decoration: none; }
.card .name a::after { content: ""; position: absolute; inset: 0; }
.card .conc { margin: 2px 0 0; line-height: 1.3; }
.price-row { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 8px; font-variant-numeric: tabular-nums; }
.price-row .price { font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.price-row .size { font-size: 0.75rem; color: var(--ink-3); white-space: nowrap; }
.price-row .from { font-weight: 400; color: var(--ink-2); }
.card .card-act { margin-top: 8px; position: relative; z-index: 1; align-self: end; }
.card .btn { min-height: 40px; font-size: 0.8125rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: grid; place-items: center; width: 100%; min-height: 44px; padding: 0 14px;
  border-radius: var(--radius); cursor: pointer; font-family: var(--sans); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.01em; text-decoration: none; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform var(--t-press) var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn-line { background: var(--bg); border: 1px solid var(--ink); color: var(--ink); }
.btn-line:active:not(:disabled) { background: var(--tile); }
.btn-solid { background: var(--ink); border: 1px solid var(--ink); color: #fff; min-height: 50px; font-size: 1rem; }
.btn-solid:active:not(:disabled) { background: #333; }
.btn:disabled { cursor: default; color: var(--ink-3); border-color: var(--line); }
.btn-solid:disabled { background: var(--line); border-color: var(--line); color: var(--ink-2); }
.btn > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transition: opacity 150ms ease, transform 200ms var(--ease-out); }
.btn .l-pending, .btn .l-done { opacity: 0; transform: translateY(4px); }
.btn[data-state="pending"] .l-idle, .btn[data-state="done"] .l-idle { opacity: 0; transform: translateY(-4px); }
.btn[data-state="pending"] .l-pending, .btn[data-state="done"] .l-done { opacity: 1; transform: none; }
.btn[data-state="pending"] { cursor: progress; }
.btn .l-done svg { width: 16px; height: 16px; stroke-width: 2; color: var(--gold); }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.text-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; font-weight: 500; font-size: 0.9375rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.error-msg { margin: 8px 0 0; color: var(--danger); font-size: 0.8125rem; }

/* ---------- Journal ---------- */
.journal { margin-top: 32px; }
.stories { display: grid; gap: 12px; }
.story { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; }
.story-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--tile); }
.story-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 30% 50%; transition: transform 600ms var(--ease-out); }
.story-text { display: grid; gap: 3px; }
.story-title { font-family: var(--display); font-weight: var(--display-weight); font-size: 1rem; line-height: 1.25; }
.story-blurb { font-size: 0.8125rem; color: var(--ink-2); }

/* ---------- Service strip (live site layout) ---------- */
.service { margin-top: 8px; background: #f5f5f5; }
body:not([data-view="home"]) .service { display: none; }
.service-list { list-style: none; margin: 0 auto; max-width: var(--maxw); padding-top: 6px; }
.service-list li { display: grid; justify-items: center; gap: 6px; padding: 22px 0; text-align: center; border-bottom: 1px solid #e2e2e2; }
.service-list li:last-child { border-bottom: 0; }
.service-list svg { width: 36px; height: 36px; stroke-width: 1.4; color: #3b4250; margin-bottom: 4px; }
.service-list strong { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.125rem; }
.service-list span { font-size: 0.875rem; color: #4a4a4c; }
.wave { display: block; width: 100%; height: 64px; margin-top: -1px; }

/* ---------- Footer (live site layout) ---------- */
.site-foot { background: var(--black); color: #e9e9ea; }
body[data-view="search"] .site-foot { display: none; }
body:not([data-view="home"]) .site-foot { margin-top: 24px; }
.foot-inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: 34px; padding-block: 30px 10px; }
.foot-block h2 { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.foot-block h2::after { content: ""; display: block; width: 30px; height: 3px; margin: 12px 0 16px; background: #4a4a4d; }
.foot-block p { margin: 0 0 12px; color: #dcdcde; font-size: 0.9375rem; line-height: 1.6; max-width: 40ch; }
.foot-phones { color: #a9a9ad !important; font-size: 0.875rem !important; }
.foot-phones span { color: #fff; font-size: 1rem; font-weight: 500; font-variant-numeric: tabular-nums; user-select: text; -webkit-user-select: text; }
.foot-products { list-style: none; margin: 0; padding: 0; }
.foot-products li + li { border-top: 1px solid #262628; }
.foot-products a { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; text-decoration: none; }
.fp-img { display: block; aspect-ratio: 1; background: #fff; border-radius: 2px; overflow: hidden; }
.fp-img img { width: 100%; height: 100%; object-fit: contain; }
.fp-name { display: block; font-size: 0.8125rem; line-height: 1.35; text-transform: uppercase; color: #e9e9ea; letter-spacing: 0.01em; }
.fp-price { display: block; margin-top: 3px; font-weight: 700; color: #fff; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 4px; background: #1c1c1e; color: #fff; transition: background-color 180ms ease; }
.socials svg { width: 20px; height: 20px; }
.socials a:active { background: #2c2c2e; }
.foot-pages { list-style: none; margin: 0; padding: 0; }
.foot-pages li + li { border-top: 1px solid #262628; }
.foot-pages a { display: flex; align-items: center; min-height: 46px; color: #e9e9ea; text-decoration: none; font-size: 0.9375rem; }
.foot-bottom { max-width: var(--maxw); margin-inline: auto; display: grid; justify-items: center; gap: 14px; padding-block: 20px calc(20px + var(--dock-h) + env(safe-area-inset-bottom, 0px)); text-align: center; }
.foot-bottom p { margin: 0; color: #c9c9cc; font-size: 0.8125rem; }
.foot-bottom strong { color: #fff; }
.pay { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.pay li { padding: 7px 10px; border-radius: 4px; background: #1c1c1e; color: #b9b9bd; font-size: 0.6875rem; font-weight: 700; font-style: italic; letter-spacing: 0.06em; text-transform: uppercase; }

/* back to top */
.to-top { position: fixed; z-index: 18; right: var(--gutter-r); bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.94); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1); cursor: pointer; }
.to-top svg { width: 20px; height: 20px; stroke-width: 1.8; }

/* ---------- Menu drawer ---------- */
.drawer-root { position: fixed; inset: 0; z-index: 45; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.36); opacity: 0; transition: opacity 280ms var(--ease-out); }
.drawer {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  background: #fff; box-shadow: 8px 0 40px rgba(0, 0, 0, 0.14);
  transform: translateX(-100%); transition: transform 300ms var(--ease-drawer);
}
.drawer-root.open .drawer-scrim { opacity: 1; }
.drawer-root.open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer-head img { height: 44px; width: auto; }
.drawer-head .icon-btn { margin-right: -10px; }
.drawer-list { list-style: none; margin: 0; padding: 0; }
.drawer-list a { display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.125rem; }
.drawer-list.small a { min-height: 44px; font-family: var(--sans); font-weight: 400; font-size: 0.9375rem; }
.drawer-head2 { margin: 24px 0 2px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.drawer-phones { margin: 22px 0 0; font-size: 0.8125rem; color: var(--ink-3); }
.drawer-phones strong { color: var(--ink); font-size: 0.9375rem; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Pills, chips, owner panel ---------- */
.pills, .chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span, .chips button { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--tile); font-size: 0.875rem; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.pills input:checked + span { background: var(--ink); color: #fff; }
.pills input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.owner-panel { display: grid; gap: 16px; max-width: 520px; }
.motion-setting { display: grid; gap: 8px; font-size: 0.875rem; }
.fine { font-size: 0.8125rem; color: var(--ink-3); margin: 0; max-width: 60ch; }
.brand-list { list-style: none; margin: 0; padding: 0; }
.brand-list a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-weight: var(--display-weight); font-size: 1rem; }

/* ---------- Sub bars ---------- */
.subbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: flex; align-items: center; min-height: 46px; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); padding: 0 var(--gutter-r) 0 calc(var(--gutter-l) - 8px); background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 10px 0 4px; border: 0; background: none; font-size: 1rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.back svg { width: 22px; height: 22px; stroke-width: 1.8; }
.back:active { opacity: 0.55; }

/* ---------- Finder ---------- */
.finder fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.finder legend { padding: 0; margin-bottom: 8px; font-weight: 500; font-size: 0.9375rem; }
.finder-count { margin-bottom: 10px; }

/* ---------- Search ---------- */
.searchbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: flex; align-items: center; gap: 8px; padding-block: 8px; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); padding-left: var(--gutter-l); padding-right: calc(var(--gutter-r) - 4px); background: var(--bg); }
.search-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--tile); border: 1px solid transparent; }
.search-field svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 400 16px/1 var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.search-field:focus-within { border-color: var(--ink); background: var(--bg); }
.search-body { min-height: 60vh; }
.suggest { margin-top: 6px; }
#search-status { margin: 8px 0 4px; min-height: 1.2em; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { border-bottom: 1px solid var(--line); }
.results a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; }
.results .r-brand { display: block; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); }
.results .r-name { display: block; font-family: var(--display); font-weight: var(--display-weight); font-size: 0.9375rem; line-height: 1.2; }
.results .r-conc { display: block; font-size: 0.8125rem; color: var(--ink-2); }
.results .r-price { text-align: right; font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.results .r-price small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.75rem; }
.results a:active { background: var(--tile); }
.empty { padding: 24px 0; color: var(--ink-2); }

/* ---------- Product page ---------- */
.pdp-media .ph { aspect-ratio: auto; height: clamp(200px, 30vh, 300px); }
.buy { padding-top: 12px; }
.buy .brand { margin: 0; font-size: 0.8125rem; }
.buy .brand a { text-decoration: none; }
.buy h1 { margin: 3px 0 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.625rem; line-height: 1.12; letter-spacing: 0.005em; text-wrap: balance; overflow-wrap: anywhere; }
.buy .conc { margin: 4px 0 0; font-size: 0.9375rem; }
.sizes { border: 0; margin: 12px 0 0; padding: 0; min-width: 0; }
.sizes legend { padding: 0; margin-bottom: 6px; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.seg { position: relative; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; padding: 3px; border-radius: 8px; background: #ececeb; }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.06); transition: transform var(--t-move) var(--ease-out); }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label > span { display: grid; place-items: center; min-height: 42px; padding: 4px 6px; text-align: center; font-size: 0.9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: color 180ms ease; }
.seg input:checked + span { color: var(--ink); font-weight: 500; }
.seg input:disabled + span { color: var(--ink-3); text-decoration: line-through; cursor: default; }
.seg small { display: block; font-size: 0.6875rem; color: var(--ink-3); text-decoration: none; }
.single-size { margin: 12px 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.single-size strong { color: var(--ink); font-weight: 500; }
.buy-price { margin: 10px 0; height: 2.1rem; display: flex; align-items: baseline; gap: 10px; overflow: hidden; }
.buy-price .amount { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; display: inline-block; }
.buy-price .for-size { font-size: 0.875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.buy-price .stock-ok, .buy-price .stock-out { margin-left: auto; font-size: 0.8125rem; }
.stock-ok { color: var(--ok); }
.stock-out { color: var(--danger); }
.deliver { margin: 8px 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }
.smell { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.smell h2, .editions h2 { margin: 0 0 8px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.125rem; }
.smell p { margin: 0; max-width: 62ch; font-size: 0.9375rem; }
.notes { margin: 12px 0 0; display: grid; grid-template-columns: 4.5rem 1fr; gap: 6px 12px; font-size: 0.875rem; }
.notes dt { color: var(--ink-3); }
.notes dd { margin: 0; }
.editions { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Dock (phones) ---------- */
.dock { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 8px var(--gutter-r) calc(8px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.07); }
body[data-view="search"] .dock { display: none; }
.dock-search { flex: 1; min-width: 0; height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--tile); color: var(--ink-2); font-size: 0.9375rem; cursor: pointer; text-align: left; transition: transform var(--t-press) var(--ease-out), background-color var(--t-press) ease; }
.dock-search svg { width: 18px; height: 18px; flex: none; }
.dock-search:active { transform: scale(0.98); background: #e9e9e8; }
.dock-bag { position: relative; flex: none; width: 52px; height: 46px; display: grid; place-items: center; border-radius: 10px; border: 0; background: var(--ink); color: #fff; cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-press) ease; }
.dock-bag svg { width: 22px; height: 22px; }
.dock-bag:active { transform: scale(0.95); background: #333; }
.bag-count { position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--gold-sheen); color: #fff; font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #fff; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 21; left: var(--gutter-l); right: var(--gutter-r); bottom: calc(var(--dock-h) + 12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.14); opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms; }
.toast.show { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s; }
.toast img { width: 40px; height: 50px; object-fit: contain; border-radius: 3px; background: var(--tile); mix-blend-mode: multiply; }
.toast p { margin: 0; min-width: 0; font-size: 0.8125rem; line-height: 1.3; }
.toast strong { display: block; font-size: 0.875rem; font-weight: 500; }
.toast span { display: block; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-view="search"] .toast { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Bag sheet ---------- */
.sheet-root { position: fixed; inset: 0; z-index: 40; }
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.36); opacity: 0; touch-action: none; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100% - 48px - env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.16); transform: translateY(100%); will-change: transform; padding-bottom: env(safe-area-inset-bottom, 0px); }
.sheet-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter-r) 6px var(--gutter-l); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.grabber { position: absolute; top: 7px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: #d4d4d4; }
.sheet-head h2 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.25rem; outline: none; }
.close { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; border: 0; border-radius: 22px; background: none; cursor: pointer; color: var(--ink-2); }
.close svg { width: 20px; height: 20px; }
.close:active { background: var(--tile); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter-r) 14px var(--gutter-l); }
/* From tablet width up the bag is a panel on the right edge, not a sheet as wide as the screen. */
@media (min-width: 700px) {
  .sheet { left: auto; top: 0; width: min(440px, 100%); max-height: none; border-radius: 0; box-shadow: -8px 0 40px rgba(0, 0, 0, 0.16); transform: translateX(100%); }
  .sheet-head { padding: 22px 24px 10px; cursor: default; touch-action: auto; }
  .sheet-head h2 { font-size: 1.5rem; }
  .grabber { display: none; }
  .sheet-body { flex: 1; padding: 0 24px 24px; }
}
.bag-items { list-style: none; margin: 0; padding: 0; }
.bag-item { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bag-item .b-brand { margin: 0; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); }
.bag-item .b-name { margin: 1px 0 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 0.9375rem; line-height: 1.2; }
.bag-item .b-meta { margin: 2px 0 0; font-size: 0.8125rem; color: var(--ink-2); }
.bag-item .b-row { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bag-item .b-line { font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); }
.qty button { width: 40px; height: 36px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty button svg { width: 16px; height: 16px; }
.qty button:active { background: var(--tile); }
.qty output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; font-size: 0.9375rem; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; }
.bag-total strong { font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.bag-note { margin: 0 0 12px; font-size: 0.8125rem; color: var(--ink-2); }
.bag-empty { padding: 8px 0 20px; }
.bag-empty p { margin: 0 0 14px; color: var(--ink-2); }
.checkout-note { margin: 12px 0 0; padding: 12px; border-radius: var(--radius); background: var(--tile); font-size: 0.8125rem; color: var(--ink-2); }
.undo { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 2px 0; font-size: 0.8125rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }

/* ---------- Sale prices and badges ---------- */
.was { margin-left: 5px; color: var(--ink-3); font-weight: 400; font-size: 0.8125rem; text-decoration: line-through; text-decoration-thickness: 1px; }
.badge { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 3px 7px; border-radius: 3px; background: var(--ink); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.badge-light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; }
.buy-price .was { font-size: 0.9375rem; margin-left: 0; }
.set-contents { margin: 6px 0 0; font-size: 0.8125rem; color: var(--ink-2); }
.sale { margin-top: 8px; }

/* ---------- Brand logos: compact 3-up grid on phones, larger on tablet and desktop ---------- */
.logos { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.logos-title { margin: 0 0 10px; text-align: center; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.25rem; letter-spacing: 0.04em; }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; }
.logo-grid a { display: grid; place-items: center; min-height: 64px; padding: 6px 4px; border-radius: var(--radius); }
.logo-grid img { max-width: 78%; max-height: 40px; width: auto !important; height: auto; object-fit: contain; opacity: 0.88; transition: opacity 220ms ease, transform 300ms var(--ease-out); }
.logo-grid a:active { background: var(--tile); }
.logo-all { grid-column: span 2; }
.logo-all a { font-size: 0.8125rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) {
  .logos { margin-top: 48px; padding-top: 36px; }
  .logos-title { font-size: 1.5rem; margin-bottom: 24px; }
  .logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 12px; }
  .logo-grid a { min-height: 92px; padding: 8px; }
  .logo-grid img { max-width: 100%; max-height: none; width: var(--w) !important; }
  .logo-all { grid-column: auto; }
}
@media (min-width: 1100px) {
  .logos { margin-top: 64px; padding-top: 48px; }
  .logos-title { font-size: 1.75rem; margin-bottom: 28px; }
  .logo-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px 20px; }
  .logo-grid a { min-height: 104px; }
}
[data-motion="reduce"] .logo-grid img { transition: none; transform: none !important; }

/* ---------- Page transitions (navigations) ---------- */
.view.enter-forward { animation: enter-forward 260ms var(--ease-out); }
.view.enter-back { animation: enter-back 220ms var(--ease-out); }
@keyframes enter-forward { from { opacity: 0; transform: translateX(28px); } }
@keyframes enter-back { from { opacity: 0.4; transform: translateX(-14px); } }

/* ================= Tablet: 700 px and up ================= */
@media (min-width: 700px) {
  :root { --gutter-l: max(28px, env(safe-area-inset-left, 0px)); --gutter-r: max(28px, env(safe-area-inset-right, 0px)); }
  .dock { display: none; }
  .toast { left: auto; width: 360px; bottom: 20px; }
  .to-top { bottom: 24px; }
  .foot-bottom { padding-bottom: 24px; }
  .masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 25; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .mast-inner { grid-template-columns: 1fr auto 1fr; min-height: 64px; }
  .menu-btn { justify-self: start; }
  .logo img { height: 46px; }
  .mast-tools { gap: 4px; }
  .mast-search { width: auto; margin: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--tile); color: var(--ink-2); font-size: 0.875rem; transition: background-color 180ms ease; }
  .mast-search span { display: inline; }
  .mast-search svg { width: 18px; height: 18px; }
  .mast-bag { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 0; background: none; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
  .mast-bag svg { width: 22px; height: 22px; }
  .mast-bag .bag-count { position: static; margin-left: 2px; }   /* beside the word, never on top of it */
  .pill-nav { justify-content: center; padding-block: 0 12px; }
  .subbar, .searchbar { top: calc(113px + env(safe-area-inset-top, 0px)); }

  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; row-gap: 30px; }
  .section-head { margin: 34px 0 14px; }
  .section-head.first { margin-top: 22px; }
  .section-head h2, .section-head h1 { font-size: 1.5rem; }
  .card .name { font-size: 1rem; }

  .pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 6px; }
  .pdp-media { position: sticky; top: calc(170px + env(safe-area-inset-top, 0px)); }
  .pdp-media .ph { height: auto; aspect-ratio: 1 / 1; max-height: 520px; }
  .buy { padding-top: 0; }
  .buy h1 { font-size: 1.875rem; }

  .stories { grid-template-columns: 1fr 1fr; gap: 20px; }
  .story { grid-template-columns: 150px minmax(0, 1fr); }
  .service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 10px; }
  .service-list li { border-bottom: 0; border-right: 1px solid #e2e2e2; padding: 26px 12px; }
  .service-list li:last-child { border-right: 0; }
  .wave { height: 90px; }
  .foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; padding-block: 40px 16px; }
  .brand-list { columns: 2; column-gap: 40px; }
  .brand-list li { break-inside: avoid; }
}

/* ================= Desktop: 1100 px and up ================= */
@media (min-width: 1100px) {
  :root { --gutter-l: max(40px, env(safe-area-inset-left, 0px)); --gutter-r: max(40px, env(safe-area-inset-right, 0px)); }
  .menu-btn, .pill-nav { display: none; }
  .mast-inner { grid-template-columns: auto 1fr auto; gap: 28px; min-height: 68px; }
  .logo { justify-self: start; }
  .logo img { height: 50px; }
  .topnav { display: flex; justify-content: center; gap: clamp(14px, 1.6vw, 28px); white-space: nowrap; }
  .topnav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 200ms ease, color 200ms ease; }
  .mast-search { min-width: 200px; }
  .subbar, .searchbar { top: calc(69px + env(safe-area-inset-top, 0px)); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; }
  .section-head h2, .section-head h1 { font-size: 1.75rem; }
  .section-head { margin: 44px 0 16px; }
  .section-head.first { margin-top: 26px; }

  /* featured fragrance beside a compact, shoppable 2 x 2 selection */
  .lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .lead .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 26px; }
  .feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: end; height: clamp(420px, calc(100vh - 220px), 560px); background: var(--tile); border-radius: var(--radius); overflow: hidden; }
  .feature-media { grid-column: 2; grid-row: 1; height: 100%; aspect-ratio: auto; background: none; border-radius: 0; }
  .feature-media img { object-fit: contain; object-position: 50% 85%; }
  .feature-info { grid-column: 1; grid-row: 1; padding: 30px 0 30px 30px; }
  .feature-info .brand { margin: 0; font-size: 0.8125rem; }
  .feature-info .name { margin: 4px 0 0; font-size: 2.125rem; line-height: 1.08; }
  .feature-info .name a { text-decoration: none; }
  .feature-info .conc { margin: 4px 0 0; font-size: 0.9375rem; }
  .feature-copy { margin: 10px 0 0; max-width: 40ch; color: var(--ink-2); font-size: 0.875rem; }
  .feature-info .price-row { margin-top: 12px; justify-content: flex-start; gap: 12px; }
  .feature-info .price-row .price { font-size: 1.125rem; }
  .feature-info .btn { width: auto; min-width: 200px; display: inline-grid; margin-top: 16px; }

  .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
  .pdp-media { top: calc(124px + env(safe-area-inset-top, 0px)); }
  .pdp-media .ph { max-height: 600px; }
  .buy h1 { font-size: 2.25rem; }
  .pdp-info { max-width: 500px; }

  .journal { margin-top: 48px; }
  .story { grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
  .story-title { font-size: 1.1875rem; }
  .wave { height: 120px; }
  .foot-inner { grid-template-columns: 1.2fr 1.3fr 0.8fr 1fr; gap: 48px; padding-block: 48px 20px; }
}

/* ---------- Hover (mouse and trackpad only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .card:hover .ph img, .feature-media:hover img { transform: scale(1.03); }
  .story:hover .story-media img { transform: scale(1.03); }
  .card .name a:hover, .feature-info .name a:hover, .story:hover .story-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .btn-line:hover:not(:disabled) { background: var(--ink); color: #fff; }
  .btn-solid:hover:not(:disabled) { background: #2d2d2f; }
  .topnav a:hover { border-bottom-color: var(--ink); }
  .pill-nav a:hover, .mast-search:hover { background: #ebebea; }
  .logo-grid a:hover img { opacity: 1; transform: scale(1.04); }
  .mast-bag:hover, .text-btn:hover, .back:hover, .icon-btn:hover { opacity: 0.7; }
  .socials a:hover { background: #2c2c2e; }
  .foot-pages a:hover, .foot-products a:hover .fp-name { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  .drawer-list a:hover { color: var(--ink-2); }
}

/* ---------- Reduced motion: keep the state changes, drop the movement ---------- */
[data-motion="reduce"] .view.enter-forward, [data-motion="reduce"] .view.enter-back { animation: fade 160ms ease; }
@keyframes fade { from { opacity: 0; } }
[data-motion="reduce"] .seg-thumb, .js-spring .seg-thumb { transition: none; }
[data-motion="reduce"] .btn:active:not(:disabled), [data-motion="reduce"] .dock-search:active, [data-motion="reduce"] .dock-bag:active, [data-motion="reduce"] .pill-nav a:active { transform: none; }
[data-motion="reduce"] .btn > span { transform: none !important; }
[data-motion="reduce"] .toast { transform: none; }
[data-motion="reduce"] .spinner { animation-duration: 1.6s; }
[data-motion="reduce"] .ph img, [data-motion="reduce"] .story-media img { transition: none; transform: none !important; }
[data-motion="reduce"] .drawer { transform: none; opacity: 0; transition: opacity 180ms ease; }
[data-motion="reduce"] .drawer-root.open .drawer { opacity: 1; }

@media (prefers-reduced-transparency: reduce) {
  .dock, .subbar, .masthead { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Phone feel (mobile-native skill baseline) ---------- */
html { -webkit-tap-highlight-color: transparent; }
/* no double-tap-zoom wait on anything tappable, so taps register at once */
a, button, label, [role="button"] { touch-action: manipulation; }
/* a long press on a control must not select its label or pop the link callout;
   product text, prices and phone numbers stay selectable */
button, .btn, .pill-nav a, .topnav a, .drawer-list a, .seg label, .pills label, .logo, .logo-grid a, .socials a {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.search-body { min-height: 60svh; }

/* ---------- Motion library pieces ---------- */
.js-spring .drawer { transition: none; }
.drawer { touch-action: pan-y; }
.fly { position: fixed; z-index: 60; pointer-events: none; object-fit: contain; border-radius: 6px; background: var(--tile); will-change: transform, opacity; }
[data-motion="reduce"] .fly { display: none; }

/* ---------- AI scent advisor ---------- */
.advisor { margin: 0 0 22px; padding: 16px; border-radius: 10px; background: var(--tile); }
.advisor-title { margin: 0 0 10px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.125rem; }
.advisor-form { display: grid; gap: 8px; }
.advisor-form textarea { width: 100%; min-height: 76px; padding: 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans); resize: vertical; -webkit-appearance: none; appearance: none; }
.advisor-form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.advisor-send { min-height: 46px; }
.advisor-ideas { margin-top: 10px; }
.advisor-ideas button { background: #fff; font-size: 0.8125rem; min-height: 36px; text-align: left; }
.advisor-answer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.advisor-reply { margin: 0 0 14px; font-size: 1rem; line-height: 1.5; max-width: 60ch; white-space: pre-line; }
.advisor-picks .ph { background: #fff; }
.advisor-picks .why { margin: 6px 0 0; font-size: 0.8125rem; line-height: 1.35; color: var(--ink-2); }
.advisor-note { margin: 14px 0 0; font-size: 0.75rem; color: var(--ink-3); }
.advisor-or { margin: 0 0 12px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.125rem; }
@media (min-width: 700px) {
  .advisor { padding: 22px; max-width: 860px; }
  .advisor-form { grid-template-columns: minmax(0, 1fr) 140px; align-items: stretch; }
  .advisor-send { min-height: 76px; }
  .advisor-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =====================================================================
   Refinement pass: type styles, softer cards, photography, richer motion
   ===================================================================== */
:root[data-type="editorial"] { --display: "Playfair Display", Georgia, serif; --display-weight: 500; --display-track: -0.005em; --head-track: -0.01em; }
:root[data-type="couture"] { --display: "Tenor Sans", "Helvetica Neue", sans-serif; --display-weight: 400; --display-track: 0.02em; --head-case: uppercase; --head-track: 0.14em; }
:root[data-type="modern"] { --display: "Outfit", "Helvetica Neue", sans-serif; --display-weight: 500; --display-track: -0.01em; --head-track: -0.02em; --sans: "Outfit", "Helvetica Neue", sans-serif; }
:root[data-type="futura"] { --display: Futura, "Futura PT", "Jost", "Century Gothic", sans-serif; --display-weight: 500; --display-track: 0.005em; --head-track: 0.01em; --sans: "Helvetica Neue", Helvetica, Arial, sans-serif; }

body { font-family: var(--sans); }
.name { letter-spacing: var(--display-track); }
.section-head h2, .section-head h1, .logos-title { letter-spacing: var(--head-track); text-transform: var(--head-case); }
.section-head h2, .section-head h1 { font-size: 1.5rem; }
:root[data-type="couture"] .section-head h2, :root[data-type="couture"] .section-head h1, :root[data-type="couture"] .logos-title { font-size: 1.0625rem; }
.card .name { font-size: 1.0625rem; line-height: 1.22; }
:root[data-type="modern"] .card .name, :root[data-type="futura"] .card .name { font-size: 0.9375rem; }
.buy h1 { font-size: 1.875rem; }
.brand { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); }
.buy .brand { font-size: 0.75rem; }
.price-row .price, .buy-price .amount, .bag-item .b-line, .results .r-price { font-weight: 600; }
.see-all { font-weight: 500; }
.type-sample { display: grid; gap: 2px; margin: 8px 0 0; padding: 14px; border-radius: 8px; background: var(--tile); }
.type-sample .name { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.375rem; }
.type-sample .price { font-weight: 600; margin-top: 4px; }

/* announcement bar */
.announce { margin: 0; padding: 7px 12px; background: var(--black); color: #f1f1f1; text-align: center; font-size: 0.75rem; letter-spacing: 0.02em; }
@media (max-width: 699px) { body[data-view]:not([data-view="home"]) .announce { display: none; } }

/* softer product tiles: a lit ground and a shadow under the bottle */
.ph { background: radial-gradient(120% 85% at 50% 22%, #fbfbfa 0%, #f2f2f1 62%, #eaeae9 100%); border-radius: 6px; }
.ph::before { content: ""; position: absolute; left: 24%; right: 24%; bottom: 4.6%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)); }
.ph.dark, .ph.photo { background: #0e0e0f; }
.ph.dark::before, .ph.photo::before, .fp-img::before { display: none; }
.ph.dark img, .ph.photo img { mix-blend-mode: normal; object-fit: cover; }
.ph img { position: relative; }
.ph img.alt { position: absolute; inset: 0; opacity: 0; transition: opacity 320ms ease; background: radial-gradient(120% 85% at 50% 22%, #fbfbfa 0%, #f2f2f1 62%, #eaeae9 100%); mix-blend-mode: normal; }
.ph img.alt { mix-blend-mode: multiply; background: none; }
.card .ph:has(img.alt) > img:first-of-type { transition: opacity 320ms ease, transform 500ms var(--ease-out); }
/* quiet pill buttons on cards instead of heavy outlines */
.card .btn { min-height: 40px; border: 0; border-radius: 999px; background: #f1f1f0; color: var(--ink); font-size: 0.8125rem; font-weight: 600; }
.card .btn:active:not(:disabled) { background: var(--ink); color: #fff; }
.card .btn:disabled { background: #f6f6f5; color: var(--ink-3); }
.btn-solid { border-radius: 999px; font-weight: 600; }
.badge { border-radius: 999px; padding: 4px 9px; }

/* shop by category: the shop's campaign photography */
.cats-section { margin-top: 8px; }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat { position: relative; display: block; overflow: hidden; border-radius: 8px; background: #0e0e0f; aspect-ratio: 1 / 1; max-width: 100%; text-decoration: none; color: #fff; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.cat::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0)); }
.cat-text { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; gap: 1px; }
.cat-label { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.25rem; line-height: 1.15; letter-spacing: var(--display-track); }
.cat-count { font-size: 0.75rem; color: rgba(255, 255, 255, 0.82); }
.cat:active img { transform: scale(1.04); }

/* journal: photo-led again, at a moderate size */
.stories { gap: 18px; }
.story { grid-template-columns: 1fr; gap: 10px; }
.story-media img { aspect-ratio: 16 / 9; }
.story-title { font-size: 1.1875rem; font-weight: var(--display-weight); }

/* product photo gallery */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 8px; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.gallery .slide { flex: 0 0 100%; scroll-snap-align: center; border-radius: 0; }
.pdp-media .ph { height: clamp(210px, 31vh, 320px); aspect-ratio: auto; }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 2px; }
.dots button { width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c9c9c9; transition: background-color 200ms ease, transform 200ms var(--ease-out); }
.dots button[aria-selected="true"]::before { background: var(--ink); transform: scale(1.25); }

/* smart search */
.smart { margin: 6px 0 10px; padding: 12px 14px 4px; border-radius: 10px; background: var(--tile); }
.smart-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 4px; font-size: 0.9375rem; }
.smart-tag { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold); }
.smart.loading #smart-understood { color: var(--ink-3); }
.smart .results li:last-child { border-bottom: 0; }
.smart .results .ph { background: #fff; }

/* owner: add a perfume from a photo */
.p2p { display: grid; gap: 12px; padding: 16px; border-radius: 10px; background: var(--tile); }
.p2p-pin, .p2p-form label { display: grid; gap: 5px; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.p2p input:not([type="file"]), .p2p select, .p2p textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); font: 400 16px/1.35 var(--sans); }
.p2p-pick { cursor: pointer; }
.p2p-form { display: grid; gap: 12px; }
.p2p-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#p2p-thumb { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
.p2p-check { margin: 0; padding: 10px 12px; border-radius: 8px; background: #fff; border-left: 3px solid var(--gold); font-size: 0.875rem; }
.p2p-preview { max-width: 420px; }

/* ---------- motion ---------- */
/* the tapped tile travels into the product page (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: var(--ease-out); }
::view-transition-group(bottle) { animation-duration: 380ms; animation-timing-function: var(--ease-drawer); }
::view-transition-old(bottle), ::view-transition-new(bottle) { height: 100%; object-fit: cover; }
/* lower sections ease in once */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease-out), transform 700ms var(--ease-out); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .cat.reveal img { transform: scale(1.1); }
.js-reveal .cat.reveal.in img { transform: none; transition: transform 1400ms var(--ease-out); }
/* first arrival on the page: header, menu and first row settle in turn */
@keyframes settle { from { opacity: 0; transform: translateY(10px); } }
.first-load .logo { animation: settle 520ms var(--ease-out) both; }
.first-load .pill-nav, .first-load .topnav { animation: settle 520ms var(--ease-out) 70ms both; }
.first-load [data-view="home"] .section-head.first, .first-load #lead { animation: settle 560ms var(--ease-out) 130ms both; }
/* product photos fade in as they load, instead of popping */
@keyframes photo-in { from { opacity: 0; } }
.card .ph > img:first-of-type { animation: photo-in 380ms ease both; }
/* the advisor's picks arrive one after another */
.advisor-picks .card { animation: settle 420ms var(--ease-out) both; }
.advisor-picks .card:nth-child(2) { animation-delay: 70ms; }
.advisor-picks .card:nth-child(3) { animation-delay: 130ms; }
.advisor-picks .card:nth-child(4) { animation-delay: 180ms; }
.smart:not(.loading) .results li { animation: settle 360ms var(--ease-out) both; }
.smart .results li:nth-child(2) { animation-delay: 50ms; }
.smart .results li:nth-child(3) { animation-delay: 90ms; }
.smart .results li:nth-child(n+4) { animation-delay: 120ms; }

@media (min-width: 700px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .cat { aspect-ratio: 4 / 5; }
  .cat-label { font-size: 1.5rem; }
  .cat-text { left: 18px; bottom: 16px; }
  .section-head h2, .section-head h1 { font-size: 1.875rem; }
  .stories { grid-template-columns: 1fr 1fr; gap: 24px; }
  .story { grid-template-columns: 1fr; }
  .pdp-media .ph { height: auto; aspect-ratio: 1 / 1; max-height: 560px; }
  .p2p { max-width: 560px; }
}
@media (min-width: 1100px) {
  .section-head h2, .section-head h1 { font-size: 2.125rem; }
  .cats-section { margin-top: 24px; }
  .cat-label { font-size: 1.75rem; }
  .feature-info .name { font-size: 2.5rem; }
  .story { grid-template-columns: 1fr; }
}
@media (hover: hover) and (pointer: fine) {
  .cat:hover img { transform: scale(1.06); }
  .card:hover .ph img.alt { opacity: 1; }
  .card:hover .ph:has(img.alt) > img:first-of-type { opacity: 0; }
  .card .btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
  .story:hover .story-media img { transform: scale(1.04); }
}
[data-motion="reduce"] .first-load .logo, [data-motion="reduce"] .first-load .pill-nav, [data-motion="reduce"] .first-load .topnav,
[data-motion="reduce"] .first-load #lead, [data-motion="reduce"] .first-load [data-view="home"] .section-head.first,
[data-motion="reduce"] .advisor-picks .card, [data-motion="reduce"] .smart .results li, [data-motion="reduce"] .card .ph > img:first-of-type { animation: none; }
[data-motion="reduce"] .cat img { transition: none; transform: none !important; }

/* numbers in perfume names must never be mistaken for letters */
.name, .buy h1, .section-head h2, .section-head h1, .cat-label, .story-title, .r-name, .b-name { font-variant-numeric: lining-nums; }
/* desktop feature: one continuous tile, no inner box */
.feature { background: radial-gradient(90% 90% at 70% 30%, #fbfbfa 0%, #f2f2f1 60%, #eaeae9 100%); }
.feature .feature-media { background: none; }
.feature .feature-media::before { left: 30%; right: 30%; bottom: 9%; }
/* desktop: the feature tile matches the height of the selection beside it */
@media (min-width: 1100px) {
  .lead { align-items: stretch; }
  .feature { height: auto; min-height: 440px; }
}

/* ---------- perfumes on request: no photo or price yet ---------- */
.ph.empty::before { display: none; }
.ph.empty::after { content: ""; position: absolute; inset: 0; background: url(img/logo.webp) center 46% / 34% auto no-repeat; filter: grayscale(1); opacity: 0.16; }
.results .ph.empty::after, .bag-item .ph.empty::after { background-size: 56% auto; }
.quiet { font-weight: 500 !important; color: var(--ink-2); font-size: 0.8125rem !important; letter-spacing: 0; }
.buy-price .amount.quiet { font-size: 1.125rem !important; color: var(--ink); }
.card.draft .btn { background: none; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; }
.ask-phones { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; user-select: text; -webkit-user-select: text; }
.list-more { display: grid; justify-items: center; gap: 8px; margin: 28px 0 0; }
.list-more .btn { width: auto; min-width: 220px; border-radius: 999px; }
.list-more a.count { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; }   /* a full-size tap target */
.request-band { position: relative; display: grid; gap: 4px; margin: 32px 0 0; padding: 18px 48px 18px 18px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; transition: background-color 200ms ease, border-color 200ms ease; }
.request-title { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.25rem; letter-spacing: var(--display-track); font-variant-numeric: lining-nums; }
.request-sub { font-size: 0.8125rem; color: var(--ink-2); }
.request-band svg { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; }
.request-band:active { background: var(--tile); }
@media (min-width: 700px) { .request-band { padding: 24px 56px 24px 24px; } .request-title { font-size: 1.5rem; } }
@media (hover: hover) and (pointer: fine) { .request-band:hover { background: var(--tile); border-color: var(--ink); } .card.draft .btn:hover { box-shadow: none; } }

.stock-order { color: var(--ink-2); }
.buy-price .stock-order { margin-left: auto; font-size: 0.8125rem; }
/* desktop feature: tall, but never taller than the first screen, so its price and button stay in view */
@media (min-width: 1100px) {
  .lead { align-items: start; }
  .feature { height: clamp(440px, calc(100vh - 190px), 720px); min-height: 0; }
}

/* ---------- Shop pages, journal articles, checkout (29 Nov 2026) ---------- */
.page { max-width: 680px; padding-bottom: 12px; }
.page-head { margin: 6px 0 18px; }
.page-head h1, .done h1 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.875rem; line-height: 1.12; letter-spacing: var(--head-track); text-wrap: balance; }
.lede { margin: 10px 0 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; max-width: 52ch; }
.crumb { margin: 0 0 8px; font-size: 0.875rem; }
.crumb a { color: var(--ink-2); text-underline-offset: 3px; }
.page-date { margin: 8px 0 0; color: var(--ink-3); font-size: 0.875rem; }
.page-hero { margin: 0 0 22px; overflow: hidden; border-radius: 10px; background: var(--tile); }
.page-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1rem; line-height: 1.65; color: var(--ink); max-width: 64ch; }
.prose h2 { margin: 28px 0 8px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.3125rem; line-height: 1.2; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0 0 6px; }
.prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote { margin: 22px 0; padding: 18px 20px; border-radius: 10px; background: var(--tile); font-family: var(--display); font-size: 1.125rem; line-height: 1.5; }
.prose blockquote p { margin: 0 0 10px; }
.prose blockquote footer { font-family: var(--sans); font-size: 0.875rem; color: var(--ink-2); }
.prose .team { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prose .team li { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.prose .team span { color: var(--ink-3); font-size: 0.875rem; }
.contact-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.contact-list li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 10px; background: var(--tile); }
.contact-list span { font-size: 0.8125rem; color: var(--ink-3); }
.contact-list a { font-size: 1.0625rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.page-cta { display: inline-grid; width: auto; min-width: 220px; text-decoration: none; }
.faq { margin: 0 0 18px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform var(--t-move) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }
.page-picks { margin-top: 30px; }
.page-picks h2 { margin: 0 0 12px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.25rem; }
.more-link { margin: 18px 0 0; font-size: 0.9375rem; }
.more-link a { text-underline-offset: 3px; }
.journal-list { margin-bottom: 12px; }
.seo-copy { max-width: 68ch; margin: 34px 0 6px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.9375rem; line-height: 1.6; }
.seo-copy h2 { margin: 0 0 8px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.125rem; color: var(--ink); }
.seo-copy p { margin: 0 0 10px; }
.seo-copy a { color: var(--ink); text-underline-offset: 3px; }

.checkout { display: grid; gap: 22px; max-width: 1040px; }
.co-h { margin: 0 0 12px; padding: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.1875rem; }
.co-summary { padding: 16px; border-radius: 12px; background: var(--tile); }
.co-sum-head { display: flex; justify-content: space-between; align-items: baseline; }
.co-sum-head .co-h { margin: 0; }
.co-items { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.co-items li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.co-items .ph { border-radius: 6px; background: #fff; overflow: hidden; }
.co-items .ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.co-items .b-brand { margin: 0; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.co-items .b-name { margin: 1px 0 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 0.9375rem; line-height: 1.2; }
.co-items .b-meta { margin: 2px 0 0; font-size: 0.8125rem; color: var(--ink-3); }
.co-items .b-line { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.co-totals { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
.co-totals div { display: flex; justify-content: space-between; gap: 12px; }
.co-totals dt { color: var(--ink-2); }
.co-totals dd { margin: 0; text-align: right; }
.co-total dt { color: var(--ink); font-weight: 500; }
.co-total dd { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.co-summary .fine { margin-top: 10px; }
.co-form { display: grid; gap: 20px; }
.co-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; min-width: 0; }
.co-field { display: grid; gap: 6px; }
.co-label { font-size: 0.875rem; font-weight: 500; }
.co-label em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.co-field input, .co-field select, .co-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: 400 16px/1.35 var(--sans); -webkit-appearance: none; appearance: none; }
.co-field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.co-field textarea { min-height: 76px; resize: vertical; }
.co-field input:focus, .co-field select:focus, .co-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.co-field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.co-hint { font-size: 0.8125rem; color: var(--ink-3); }
.co-err { font-size: 0.8125rem; color: var(--danger); font-weight: 500; }
.co-pay { display: grid; gap: 10px; }
.co-opt { position: relative; display: block; cursor: pointer; }
.co-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.co-opt > span { display: grid; gap: 2px; padding: 14px 16px 14px 48px; border: 1px solid var(--line-2); border-radius: 12px; transition: border-color var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out); }
.co-opt > span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border: 1.6px solid var(--ink-3); border-radius: 50%; box-sizing: border-box; transition: border-width var(--t-press) var(--ease-out), border-color var(--t-press); }
.co-opt input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.co-opt input:checked + span::before { border: 5.5px solid var(--ink); }
.co-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.co-opt small { font-size: 0.8125rem; color: var(--ink-2); }
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fbeeec; line-height: 1.45; }
.co-error a { color: inherit; }
.co-submit { width: 100%; }
.co-fine a { color: var(--ink-2); }
.co-empty { padding-top: 6px; }

.done { max-width: 560px; margin: 0 auto; padding-top: 28px; text-align: left; }
.done-mark { width: 56px; height: 56px; margin-bottom: 18px; color: var(--ok); }
.done-mark svg { width: 56px; height: 56px; stroke-width: 2.2; }
.done-mark circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw 620ms var(--ease-out) forwards; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 360ms var(--ease-out) 420ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
[data-motion="reduce"] .done-mark circle, [data-motion="reduce"] .done-mark path { animation: none; stroke-dashoffset: 0; }
.done h1 { outline: none; }
.done .co-items { margin-top: 22px; }
.done-pay { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--tile); }
.done-act { display: grid; gap: 10px; margin-top: 22px; }
.done-act .btn { text-decoration: none; }

.inbox-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.inbox-item { padding: 14px; border-radius: 10px; background: #fff; font-size: 0.875rem; }
.inbox-item p { margin: 0 0 8px; }
.ib-top { display: flex; justify-content: space-between; gap: 10px; }
.ib-top time { color: var(--ink-3); }
.ib-lines { list-style: none; margin: 0 0 8px; padding: 0; }
.ib-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.ib-status { display: flex; align-items: center; gap: 10px; }
.ib-status select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; background: #fff; }

@media (min-width: 700px) {
  .page-head h1, .done h1 { font-size: 2.375rem; }
  .prose { font-size: 1.0625rem; }
  .done-act { grid-template-columns: auto auto; justify-content: start; }
  .done-act .btn { min-width: 220px; }
}
@media (min-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 40px; }
  .co-summary { order: 2; position: sticky; top: calc(130px + env(safe-area-inset-top, 0px)); }
  .co-form { order: 1; }
}
@media (min-width: 1100px) {
  .co-summary { top: calc(90px + env(safe-area-inset-top, 0px)); }
}
@media (min-width: 1100px) {
  .page, .done { margin-inline: auto; }
  .view[data-view="page"] .subbar, .view[data-view="done"] .subbar { max-width: 680px; margin-inline: auto; }
}

/* ---------- Service strip with the live site's wave (29 Nov 2026) ---------- */
.service { position: relative; overflow: hidden; margin-top: 8px; padding: 6px 0 96px; background: #f4f4f4; }
.service-list { position: relative; z-index: 0; }
.service-list li { border-bottom-color: #dcdcdc; }
.service-list svg { width: 40px; height: 40px; color: #111; stroke-width: 1.5; }
.service .wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; display: block; width: 100%; height: 150px; margin: 0; transform: scaleX(-1); pointer-events: none; fill: var(--black); }
.service + .site-foot { margin-top: 0; }
@media (min-width: 700px) {
  .service { padding: 10px 0 70px; }
  .service-list li { border-right-color: #dcdcdc; padding: 30px 16px 40px; }
  .service .wave { height: 150px; }
}
@media (min-width: 1100px) {
  .service { padding: 24px 0 56px; }
  .service-list svg { width: 52px; height: 52px; }
  .service-list strong { font-size: 1.625rem; }
  .service-list span { font-size: 1.125rem; color: #222; }
  .service-list li { gap: 10px; padding: 34px 20px 46px; }
}

/* ---------- Shop by category, redesigned (29 Nov 2026) ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.cat { position: static; display: grid; gap: 10px; overflow: visible; border-radius: 0; background: none; aspect-ratio: auto; color: var(--ink); text-decoration: none; }
.cat::after { content: none; }
.cat-media { position: relative; display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; background: radial-gradient(120% 85% at 50% 22%, #fbfbfa 0%, #f2f2f1 62%, #eaeae9 100%); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.cat-text { position: static; display: grid; gap: 2px; padding: 0 2px; }
.cat-label { font-size: 1.3125rem; color: var(--ink); }
.cat-count { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--ink-3); }
.cat-count svg { width: 14px; height: 14px; stroke-width: 1.8; transition: transform var(--t-move) var(--ease-out); }
.cat:active .cat-media img { transform: scale(1.03); }
.js-reveal .cat.reveal img, .js-reveal .cat.reveal.in img { transform: none; }
@media (min-width: 700px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .cat { aspect-ratio: auto; }
  .cat-text { left: auto; bottom: auto; }
  .cat-label { font-size: 1.375rem; }
}
@media (min-width: 1100px) {
  .cats { gap: 24px; }
  .cat-label { font-size: 1.5rem; }
}
@media (hover: hover) and (pointer: fine) {
  .cat:hover .cat-media img { transform: scale(1.04); }
  .cat:hover .cat-label { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .cat:hover .cat-count svg { transform: translateX(3px); }
}
[data-motion="reduce"] .cat-media img { transition: none; transform: none !important; }
/* wave keeps the live site's proportions at every width (150px tall at 1440px wide) */
.service .wave { height: clamp(64px, 10.42vw, 150px); }
.service { padding-bottom: calc(clamp(64px, 10.42vw, 150px) * 0.42); }
@media (min-width: 1100px) { .service { padding-bottom: 22px; } }

/* ---------- List search and filters (29 Nov 2026) ---------- */
.filters { display: grid; gap: 10px; margin: 0 0 16px; }
.filter-search { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 999px; background: #f1f1f0; }
.filter-search svg { width: 18px; height: 18px; flex: none; color: var(--ink-2); }
.filter-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: 400 16px/1.2 var(--sans); color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.filter-search:focus-within { box-shadow: 0 0 0 1.5px var(--ink); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-for { flex-wrap: nowrap; }
.filter-select select { min-height: 40px; max-width: 46vw; padding: 0 32px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 500 0.875rem/1 var(--sans); -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.filter-select select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.filter-clear { min-height: 40px; padding: 0 6px; font-size: 0.875rem; }
.empty .text-btn { padding: 0 4px; min-height: 0; }
@media (min-width: 1100px) {
  .filters { grid-template-columns: minmax(260px, 380px) 1fr; align-items: center; gap: 14px; }
  .filter-select select { max-width: 240px; }
}

/* ---------- Checkout: location pin and payment note ---------- */
.pin-btn { justify-self: start; display: inline-flex; gap: 8px; min-height: 46px; padding: 0 18px; }
.pin-btn svg { width: 18px; height: 18px; }
.pin-btn:disabled { opacity: 0.6; cursor: progress; }
.pin-set { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 12px 14px; border-radius: 10px; background: #eef5ef; font-size: 0.9375rem; }
.pin-set > svg { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.2; }
.pin-set .text-btn { min-height: 0; padding: 0; margin-left: auto; font-size: 0.875rem; }
.co-paynote p { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--ink); box-shadow: 0 0 0 1px var(--ink); }
@media (max-width: 1099px) {
  .filter-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); padding: 2px var(--gutter-r) 4px var(--gutter-l); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-row > * { flex: none; }
  .filter-select select { max-width: none; min-height: 38px; }
  .filter-for label span { min-height: 38px; }
}
.pin-btn { border-radius: 999px; }

/* ---------- Wishlist ---------- */
.ph { position: relative; }
.wish { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.86); color: var(--ink); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wish svg { width: 19px; height: 19px; stroke-width: 1.7; fill: transparent; transition: fill 160ms ease, color 160ms ease; }
.wish[aria-pressed="true"] svg { fill: #b0322a; color: #b0322a; }
.wish.pop svg { animation: wish-pop 420ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes wish-pop { 0% { transform: scale(1); } 35% { transform: scale(1.32); } 100% { transform: scale(1); } }
.wish::after { content: ""; position: absolute; inset: -4px; }
.pdp-media { position: relative; }
.pdp-media > .wish { top: 12px; right: 12px; width: 44px; height: 44px; }
.pdp-media > .wish svg { width: 22px; height: 22px; }
.ph.empty .wish { z-index: 2; }
.mast-wish { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.mast-wish svg { width: 22px; height: 22px; stroke-width: 1.7; }
.wish-count { position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 0.6875rem; font-weight: 600; line-height: 17px; text-align: center; }
.drawer-count { position: static; display: inline-block; margin-left: 8px; }
.wish-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 48px 0 24px; text-align: center; color: var(--ink-2); }
.wish-empty-icon svg { width: 40px; height: 40px; stroke-width: 1.3; color: var(--ink-3); }
.wish-empty .btn { width: auto; min-width: 220px; text-decoration: none; }
@media (max-width: 699px) { .mast-inner { grid-template-columns: 88px 1fr 88px; } .mast-tools { gap: 0; } }
[data-motion="reduce"] .wish.pop svg { animation: none; }

/* ---------- About: Apple-style story page ---------- */
.view[data-view="page"] .page:has(.about) { max-width: none; }
.about { --ab-ease: cubic-bezier(0.22, 1, 0.36, 1); color: var(--ink); }
.ab-hero { display: grid; justify-items: center; text-align: center; padding: 8px 0 40px; }
.ab-stage { position: relative; width: min(78vw, 360px); aspect-ratio: 300 / 360; padding: 0; border: 0; background: radial-gradient(60% 55% at 50% 58%, #f6efe1 0%, rgba(246, 239, 225, 0) 70%); cursor: pointer; }
.ab-logo { position: absolute; left: 50%; top: 52%; width: 62%; translate: -50% -50%; opacity: 0; }
.ab-bottle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ab-label { font: 600 11px/1 var(--sans); letter-spacing: 0.32em; fill: #a9834a; }
.ab-title { margin: 18px 0 0; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2.25rem, 9vw, 4.75rem); line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
.ab-lede { margin: 14px 0 0; color: var(--ink-3); font-size: 1.0625rem; letter-spacing: 0.02em; }
.ab-story { max-width: 980px; margin: 0 auto; padding: 56px 0 72px; }
.ab-words { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.75rem, 6.2vw, 3.5rem); line-height: 1.18; letter-spacing: -0.005em; text-wrap: pretty; }
.ab-w { transition: opacity 420ms ease, color 420ms ease; }
.about.moving .ab-w { opacity: 0.16; }
.about.moving .ab-w.lit { opacity: 1; }
.ab-h2 { margin: 0 0 22px; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.1; text-align: center; }
.ab-promises { padding: 24px 0 64px; }
.ab-cards { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; gap: 14px; }
.ab-card { padding: 28px 24px; border-radius: 18px; background: #f6f5f2; }
.ab-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 0.875rem; font-weight: 600; }
.ab-card h3 { margin: 16px 0 6px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.5rem; }
.ab-card p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.ab-note { margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); padding: 72px max(24px, var(--gutter-l)); background: var(--black); color: #f2efe8; }
.ab-quote { max-width: 860px; margin: 0 auto; }
.ab-quote p { margin: 0 0 22px; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.375rem, 4.4vw, 2.25rem); line-height: 1.3; }
.ab-quote p:first-child::before { content: "“"; display: block; height: 0.6em; margin-bottom: 0.15em; color: var(--gold); font-size: 2.6em; line-height: 1; }
.ab-quote footer { display: grid; gap: 4px; margin-top: 28px; color: #bdb7aa; font-size: 0.9375rem; }
.ab-sign { font-family: var(--display); font-size: 1.375rem; color: #e3cb8c; }
.ab-team { padding: 72px 0 24px; }
.ab-people { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-people li { display: grid; justify-items: center; gap: 4px; padding: 26px 12px; border-radius: 18px; background: #f6f5f2; text-align: center; }
.ab-mono { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 10px; border-radius: 50%; background: var(--gold-sheen); color: #fff; font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.04em; }
.ab-people strong { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.1875rem; }
.ab-people span:last-child { color: var(--ink-3); font-size: 0.875rem; }
.ab-cta { display: grid; justify-items: center; padding: 56px 0 24px; text-align: center; }
.ab-cta-row { display: grid; gap: 10px; width: min(100%, 420px); }
.ab-cta-row .btn { text-decoration: none; }
@media (min-width: 700px) {
  .ab-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .ab-cta-row { grid-template-columns: 1fr 1fr; width: min(100%, 520px); }
  .ab-hero { padding-top: 20px; }
}

/* the bottle: logo fades away, the gold lines draw a bottle, it fills, the cap presses and it sprays */
.about.moving .ab-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.about.moving .ab-juice { transform: translateY(100%); }
.about.moving .ab-label, .about.moving .ab-shine { opacity: 0; }
.about.moving .ab-drop, .about.moving .ab-mist { opacity: 0; }
.ab-drop { fill: #d9b46e; transform-box: fill-box; transform-origin: center; }
.ab-mist { transform-box: fill-box; transform-origin: 20% 60%; }
.ab-cap { transform-box: fill-box; transform-origin: center bottom; }
.ab-juice { transform-box: fill-box; transform-origin: center bottom; }
.ab-stage.play .ab-logo { animation: ab-logo 1100ms var(--ab-ease) both; }
.ab-stage.play .ab-draw { animation: ab-draw 1300ms var(--ab-ease) 450ms forwards; }
.ab-stage.play .ab-juice { animation: ab-fill 1100ms var(--ab-ease) 1500ms forwards; }
.ab-stage.play .ab-label, .ab-stage.play .ab-shine { animation: ab-fade 600ms ease 2200ms forwards; }
.ab-stage.play .ab-cap { animation: ab-press 380ms var(--ab-ease) 2500ms; }
.ab-stage.play .ab-drop { animation: ab-spray 1100ms var(--ab-ease) calc(2650ms + var(--d)) forwards; }
.ab-stage.play .ab-mist { animation: ab-mist 1600ms ease-out 2650ms forwards; }
@keyframes ab-logo { 0% { opacity: 0; scale: 0.9; } 30% { opacity: 1; scale: 1; } 70% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.08; } }
@keyframes ab-draw { to { stroke-dashoffset: 0; } }
@keyframes ab-fill { from { transform: translateY(100%); } to { transform: translateY(14%); } }
@keyframes ab-fade { to { opacity: 1; } }
@keyframes ab-press { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(7px); } }
@keyframes ab-spray { 0% { opacity: 0; transform: translate(0, 0) scale(0.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); } }
@keyframes ab-mist { 0% { opacity: 0; transform: scale(0.2); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.35); } }
.about.moving .ab-reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ab-ease), transform 1100ms var(--ab-ease); transition-delay: calc(var(--i, 0) * 110ms); }
.about.moving .ab-reveal.in { opacity: 1; transform: none; }
.about.moving .ab-title, .about.moving .ab-lede { animation: ab-rise 1000ms var(--ab-ease) 1900ms both; }
.about.moving .ab-lede { animation-delay: 2100ms; }
@keyframes ab-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* reduced motion: the finished bottle, no movement */
.about.still .ab-logo { display: none; }
/* the bottle draws its own lines; it must not inherit the icon outline style */
.ab-bottle, .ab-bottle * { stroke: none; }
.ab-bottle .ab-lines, .ab-bottle .ab-lines * { stroke: url(#ab-gold); }
.ab-bottle .ab-shine { stroke: #fff; }

/* a fuller splash: droplets arc out and fall a little, two waves of mist */
.ab-drop { fill: url(#ab-drop); }
@keyframes ab-spray { 0% { opacity: 0; transform: translate(0, 0) scale(0.3); } 12% { opacity: 1; } 60% { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(1); } 100% { opacity: 0; transform: translate(calc(var(--dx) * 1.08), calc(var(--dy) + var(--fall))) scale(0.85); } }
.ab-stage.play .ab-drop { animation: ab-spray 1500ms cubic-bezier(0.2, 0.8, 0.3, 1) calc(2650ms + var(--d)) forwards; }
.ab-stage.play .ab-mist { animation: ab-mist 2200ms ease-out 2600ms forwards; }
.ab-stage.play .ab-mist2 { animation-delay: 2800ms; animation-duration: 1700ms; }
@keyframes ab-mist { 0% { opacity: 0; transform: scale(0.15); } 22% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5) translate(12px, -10px); } }
.ab-stage { overflow: visible; }

/* ---------- Phone fixes (29 Nov 2026) ---------- */
/* screen-reader labels inside the swipe rows must not stretch the page sideways */
.filters, .filter-row, .filter-select, .filter-for { position: relative; }
/* cards may never be wider than their column; a sale price wraps under the price */
.card, .grid > * { min-width: 0; }
.price-row .price { white-space: normal; }
.price-row .price .was { white-space: nowrap; }
/* swipe rows fade at the edge, so they read as "more this way", not cut off */
@media (max-width: 1099px) {
  .pill-nav, .filter-row { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .pill-nav::after, .filter-row::after { content: ""; flex: none; width: 18px; }
}
html, body { overflow-x: clip; }

/* ---------- Pinned top bar on phones (29 Nov 2026): the menu, logo, wishlist
   and search stay on screen while you scroll; category pills scroll away ---------- */
@media (max-width: 699px) {
  body[data-view]:not([data-view="home"]) .masthead { display: block; }
  .masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 25; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .mast-inner { min-height: 56px; }
  .logo img { height: 42px; }
  .subbar { top: calc(57px + env(safe-area-inset-top, 0px)); }
  body[data-view="search"] .masthead { display: none; }
  body[data-view="search"] .searchbar { top: env(safe-area-inset-top, 0px); }
  body[data-view]:not([data-view="home"]):not([data-view="list"]) .pill-nav { display: none; }
  .pill-nav { padding-top: 10px; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .subbar, .searchbar { top: calc(65px + env(safe-area-inset-top, 0px)); }
  .pill-nav { padding-top: 10px; }
}
/* pinned bars: nearly solid, so text scrolling underneath never shows through */
.masthead, .subbar { background: rgba(255, 255, 255, 0.97); }

/* ---------- Find my scent: a guided quiz (29 Nov 2026) ---------- */
.fd { display: grid; gap: 22px; margin: 4px 0 30px; max-width: 920px; }
.fd-intro { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.fd-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.fd-q legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.25rem; }
.fd-q legend em { font-family: var(--sans); font-style: normal; font-size: 0.8125rem; color: var(--ink-3); }
.fd-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; }
.fd-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fd-tile { position: relative; display: block; cursor: pointer; }
.fd-tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fd-tile span { display: grid; gap: 3px; min-height: 72px; padding: 13px 14px; border-radius: 14px; background: #f6f5f2; border: 1px solid transparent; transition: border-color var(--t-press) var(--ease-out), background-color var(--t-press) var(--ease-out), transform var(--t-press) var(--ease-out); }
.fd-tile strong { font-weight: 600; font-size: 0.9375rem; }
.fd-tile small { color: var(--ink-3); font-size: 0.8125rem; line-height: 1.35; }
.fd-tile input:checked + span { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fd-tile input:checked + span strong::after { content: ""; display: inline-block; width: 6px; height: 11px; margin-left: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.fd-tile input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fd-tile:active span { transform: scale(0.98); }
.fd-results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.fd-results-head h2 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.375rem; }
.card .why { margin: 4px 0 0; font-size: 0.75rem; color: var(--ink-2); line-height: 1.35; }
@media (min-width: 700px) { .fd-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
[data-motion="reduce"] .fd-tile span { transition: none; }

.conc .why { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--ink-2); line-height: 1.35; }

#pdp-desc p { margin: 0 0 12px; line-height: 1.65; }
.notes-h { margin: 20px 0 8px; font-size: 1rem; font-weight: 600; color: var(--ink); }

/* ---------- Owner panel (/owner/) ---------- */
.own { padding: 0 0 40px; max-width: 760px; }
.own-lock { display: grid; gap: 14px; max-width: 380px; padding: 8px 0 24px; }
.own-field { display: grid; gap: 6px; margin: 0 0 14px; font-size: 0.875rem; font-weight: 600; }
.own-field input, .own-field textarea, .own-search, .own-sizes input {
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 10px 12px; width: 100%; box-sizing: border-box; }
.own-field textarea { resize: vertical; }
.own-field .fine { font-weight: 400; }
.own-field input:focus-visible, .own-field textarea:focus-visible, .own-search:focus-visible, .own-sizes input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.own-tabs { position: relative; z-index: 5; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter-r)) 16px calc(-1 * var(--gutter-l)); padding: 8px var(--gutter-r) 8px var(--gutter-l); background: var(--bg); border-bottom: 1px solid var(--line); }
.own-tabs::-webkit-scrollbar { display: none; }
.own-tabs button { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: 500 0.9375rem var(--sans); color: var(--ink-2); cursor: pointer; }
.own-tabs button[aria-current="page"] { background: var(--ink); color: #fff; }
.own-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.own-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.own-kpi { margin: 0; padding: 14px; border-radius: 8px; background: var(--tile); }
.own-kpi dt { font-size: 0.8125rem; color: var(--ink-3); }
.own-kpi dd { margin: 4px 0 0; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.own-kpi dd.sub { margin-top: 2px; font-size: 0.8125rem; font-weight: 400; color: var(--ink-3); }
.own-card { margin: 0 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.own-card h2 { margin: 0 0 10px; font: 600 1rem var(--sans); }
.own-big { margin: 0 0 6px; font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.own-big small { font-size: 0.8125rem; font-weight: 400; color: var(--ink-3); }
.own-todo { list-style: none; margin: 0; padding: 0; }
.own-todo button { width: 100%; text-align: left; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: 400 0.9375rem var(--sans); color: var(--ink); cursor: pointer; }
.own-todo li:last-child button { border-bottom: 0; }
.own-top { margin: 0; padding-left: 20px; }
.own-top li { padding: 6px 0; }
.own-top li span { display: block; }
.own-top li span + span { font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.own-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 12px; }
.own-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); padding: 0 var(--gutter-r) 2px var(--gutter-l); }
.own-scroll::-webkit-scrollbar { display: none; }
.own-scroll label { flex: none; }
.own-rows, .own-orders, .own-stock { list-style: none; margin: 0; padding: 0; }
.own-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.own-thumb { width: 52px; height: 65px; border-radius: 4px; background: var(--tile); overflow: hidden; }
.own-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.own-row-main, .own-stock-name { display: grid; gap: 1px; min-width: 0; }
.own-row .r-brand, .own-stock-name .r-brand { font-size: 0.75rem; color: var(--ink-3); }
.own-row .r-name, .own-stock-name .r-name { font-size: 0.9375rem; font-weight: 600; overflow-wrap: anywhere; }
.own-row .r-conc, .own-stock-name .r-conc { font-size: 0.8125rem; color: var(--ink-2); }
.own-row-side { display: grid; justify-items: end; gap: 4px; }
.own-row .r-price { font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.own-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; background: var(--tile); color: var(--ink-2); white-space: nowrap; }
.own-badge.ok { background: #e7f1ea; color: var(--ok); }
.own-badge.bad { background: #f7e6e4; color: var(--danger); }
.own-badge.warn { background: #f6eedc; color: #7a5410; }
.own-badge.off { background: #ececec; color: var(--ink-3); }
.own-badge.mine { background: none; border: 1px solid var(--line-2); }
.own-more { width: 100%; margin-top: 12px; }
.own-order { padding: 14px 0; border-bottom: 1px solid var(--line); }
.own-order p { margin: 0 0 6px; }
.own-order.s-new { box-shadow: inset 3px 0 0 var(--danger); padding-left: 12px; }
.own-order.s-cancelled { opacity: 0.6; }
.own-who { font-weight: 600; }
.own-order-act { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-top: 8px; }
.own-order-act .btn { min-height: 44px; padding: 0 22px; width: auto; flex: none; }
.own-stock li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.own-stock li.dirty { background: #fbf6ea; }
.own-stock-name { border: 0; background: none; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.own-step { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.own-step button { width: 40px; height: 40px; border: 0; background: var(--tile); font-size: 1.25rem; cursor: pointer; color: var(--ink); }
.own-step input { width: 52px; height: 40px; border: 0; text-align: center; font: 600 1rem var(--sans); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.own-step input::-webkit-outer-spin-button, .own-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.own-savebar { position: sticky; bottom: calc(var(--dock-h) + 8px + env(safe-area-inset-bottom, 0px)); z-index: 4; display: flex; gap: 14px; align-items: center; margin: 16px 0 0; padding: 10px 0; background: var(--bg); }
.own-savebar .btn { flex: 1; }
.own-link { border: 0; background: none; padding: 8px 0; font: 500 0.9375rem var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.own-danger { color: var(--danger); margin-top: 8px; }
.own-back { margin-bottom: 6px; text-decoration: none; }
.own-title { margin: 0 0 16px; font: var(--display-weight) 1.5rem/1.2 var(--display); }
.own-foot { display: flex; gap: 20px; margin: 28px 0 0; }
.own-photo { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0 0 18px; }
.own-photo-ph { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 6px; background: var(--tile); overflow: hidden; text-align: center; }
.own-photo-ph img { width: 100%; height: 100%; object-fit: cover; }
.own-photo-act { display: grid; gap: 8px; justify-items: start; }
.own-photo-act .btn, .own-ai .btn { min-height: 44px; padding: 0 18px; cursor: pointer; }
.own-ai { display: grid; gap: 10px; justify-items: start; }
.own-group { margin: 0 0 18px; padding: 0; border: 0; }
.own-group legend { padding: 0; margin: 0 0 8px; font-size: 0.875rem; font-weight: 600; }
.own-group .pills input[type="checkbox"]:checked + span { background: var(--ink); color: #fff; }
.own-table-wrap { overflow-x: auto; margin: 0 calc(-1 * var(--gutter-r)) 6px calc(-1 * var(--gutter-l)); padding: 0 var(--gutter-r) 0 var(--gutter-l); }
.own-sizes { border-collapse: collapse; min-width: 520px; width: 100%; }
.own-sizes th { font-size: 0.75rem; font-weight: 500; color: var(--ink-3); text-align: left; padding: 0 4px 4px; }
.own-sizes td { padding: 3px 4px; }
.own-sizes input { padding: 9px 8px; font-variant-numeric: tabular-nums; }
.own-sizes td:nth-child(1) { width: 70px; }
.own-sizes td:nth-child(6), .own-sizes td:nth-child(7) { width: 36px; text-align: center; }
.own-avail input { width: 22px; height: 22px; accent-color: var(--ink); }
.own-x { width: 36px; height: 36px; border: 0; background: none; font-size: 1.25rem; color: var(--ink-3); cursor: pointer; }
.own-check { display: flex; gap: 10px; align-items: center; min-height: 40px; font-size: 0.9375rem; }
.own-check input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.own-display { margin: 32px var(--gutter-r) 40px var(--gutter-l); border-top: 1px solid var(--line); padding-top: 14px; }
.own-display summary { cursor: pointer; font-size: 0.9375rem; min-height: 40px; }
#own-toast { position: fixed; left: 50%; top: calc(66px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 60; max-width: min(92vw, 460px); margin: 0; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 0.9375rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
#own-toast.bad { background: var(--danger); }
#own-toast[hidden] { display: none; }
@media (min-width: 700px) { .own-kpis { grid-template-columns: repeat(4, 1fr); } }

.drawer-owner a { font-weight: 600; }
.drawer-owner a::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* ---------- Shop by category, iPad and desktop: index beside one photograph ---------- */
.cats-index { display: none; }
@media (min-width: 768px) {
  .cats { display: none; }
  .cats-index { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
  .ci-list { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; border-top: 1px solid var(--line); }
  .ci-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name arrow" "blurb arrow"; column-gap: 16px; align-items: center;
    padding: clamp(14px, 1.9vw, 24px) 0; border-bottom: 1px solid var(--line); color: var(--ink-3); text-decoration: none; transition: color 220ms ease; }
  .ci-name { grid-area: name; font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(1.625rem, 2.6vw, 2.375rem); line-height: 1.1; }
  .ci-blurb { grid-area: blurb; margin-top: 4px; font-size: 0.875rem; color: var(--ink-3); }
  .ci-row svg { grid-area: arrow; width: 22px; height: 22px; stroke-width: 1.6; opacity: 0; transform: translateX(-8px); transition: opacity 220ms ease, transform var(--t-move) var(--ease-out); }
  .ci-row.on { color: var(--ink); }
  .ci-row.on svg { opacity: 1; transform: none; }
  .ci-row:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
  .ci-stage { position: relative; display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; background: #0e0e0f; }
  .ci-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 520ms ease, transform 1200ms var(--ease-out); }
  .ci-stage img.on { opacity: 1; transform: none; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .cats-index { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ci-stage { aspect-ratio: 4 / 5; }
}
@media (min-width: 1100px) { .ci-stage { max-height: 520px; } }
@media (prefers-reduced-motion: reduce) {
  .ci-row svg, .ci-stage img { transition: none; transform: none; }
}

/* Desktop has no menu drawer: the owner's way back sits in the masthead (only on his device). */
.mast-owner { display: none; }
@media (min-width: 1100px) {
  .mast-owner:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; margin-right: 4px; border: 1px solid var(--line-2); border-radius: 999px;
    font-size: 0.8125rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
  .mast-owner::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
  .mast-owner:hover { border-color: var(--ink); }
}

.own, .own-body, .own-edit { min-width: 0; max-width: 100%; }
.own-edit .own-group, .own-edit .own-field { min-width: 0; }
.own-scroll, .own-table-wrap, .own .pills label { position: relative; }
.own-usage { list-style: none; margin: 0 0 8px; padding: 0; }
.own-usage li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.b-max { margin: 6px 0 0; font-size: 0.75rem; color: var(--ink-3); }
.qty button:disabled { opacity: 0.35; cursor: default; }

/* Shop filters. Phones: a Filters button (with how many are on) beside Sort,
   both always in view; the other choices open below. Wider screens: one row. */
.filter-toggle { display: none; }
.filter-more { display: contents; }
.filter-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.filter-n[hidden] { display: none; }
@media (max-width: 699px) {
  .filter-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .filter-row::after { content: none; }
  .filter-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 500 0.875rem/1 var(--sans); cursor: pointer; }
  .filter-toggle svg { width: 16px; height: 16px; }
  .filter-row[data-open] .filter-toggle { border-color: var(--ink); }
  .filter-sort { justify-self: end; min-width: 0; }
  .filter-sort select { max-width: 100%; }
  .filter-more { display: none; grid-column: 1 / -1; order: 3; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
  .filter-row[data-open] .filter-more { display: flex; }
  .filter-more .filter-select select { max-width: 100%; }
}

/* ---------- My account ---------- */
.acct { max-width: 640px; padding-bottom: 40px; }
.acct-form { display: grid; gap: 14px; max-width: 420px; }
.acct-form .lede { margin: 0; }
.acct-code { letter-spacing: 0.3em; font-size: 1.25rem !important; font-variant-numeric: tabular-nums; }
.acct-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.acct-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 16px; overflow-wrap: anywhere; }
.acct-note { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #eef5ef; color: var(--ink); }
.acct-card { margin: 0 0 22px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.acct-card p { margin: 6px 0 0; }
.acct-orders { list-style: none; margin: 0; padding: 0; }
.acct-order { padding: 16px 0; border-bottom: 1px solid var(--line); }
.acct-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; }
.acct-status { font-size: 0.75rem; padding: 2px 10px; border-radius: 999px; background: var(--tile); color: var(--ink-2); }
.acct-status.s-delivered { background: #e7f1ea; color: var(--ok); }
.acct-status.s-confirmed { background: #f6eedc; color: #7a5410; }
.acct-status.s-cancelled { background: #ececec; color: var(--ink-3); }
.acct-total { margin: 8px 0 12px; }
.acct-order .btn { min-height: 44px; padding: 0 22px; }
.done-mail { margin-top: 10px; }
.mast-acct { display: none; }
@media (min-width: 700px) {
  .mast-acct { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
  .mast-acct svg { width: 22px; height: 22px; stroke-width: 1.7; fill: none; stroke: currentColor; }
}

.own-customers { list-style: none; margin: 0; padding: 0; }
.own-cust { padding: 14px 0; border-bottom: 1px solid var(--line); }
.own-cust p { margin: 0 0 4px; }
.own-cust-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; overflow-wrap: anywhere; }
.own-mail { margin: 0 0 6px; overflow-wrap: anywhere; font-size: 0.875rem; }

/* bigger tap targets (health check) */
.dots button { width: 36px; height: 40px; }
.see-all { display: inline-flex; align-items: center; min-height: 44px; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }

/* service strip, refined: fine icons, quieter type */
.service-list svg { width: 30px; height: 30px; stroke-width: 1.15; fill: none; stroke: currentColor; stroke-linejoin: round; stroke-linecap: round; color: #111; margin-bottom: 8px; }
.service-list strong { font-size: 1.25rem; letter-spacing: 0.01em; }
.service-list span { font-size: 0.875rem; color: #55555a; max-width: 34ch; line-height: 1.5; text-wrap: balance; }
@media (min-width: 768px) {
  .service { padding-bottom: 150px; }
  .service-list li { align-content: start; }
  .service-list svg { width: 34px; height: 34px; }
  .service-list strong { font-size: 1.375rem; }
  .service-list span { font-size: 0.9375rem; color: #55555a; }
}

/* Our picks for the week: a swipe row on phones, two rows of six on desktop */
.picks { margin-top: 8px; }
.grid.picks-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter-l) var(--gutter-r); scroll-padding-inline: var(--gutter-l); }
.grid.picks-grid::-webkit-scrollbar { display: none; }
.grid.picks-grid > * { scroll-snap-align: start; }
@media (min-width: 700px) { .grid.picks-grid { grid-auto-columns: 30%; } }
@media (min-width: 1100px) {
  .grid.picks-grid { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
/* owner panel: picks */
.own-picks { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: pick; }
.own-pick { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
ol.own-picks .own-pick { counter-increment: pick; }
.own-pick .own-thumb { width: 56px; height: 70px; }
.own-pick .own-row-main { display: grid; min-width: 0; }
.own-pick-act { display: flex; gap: 6px; align-items: center; }
.own-icon { min-width: 40px; min-height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); font-size: 1rem; cursor: pointer; }
.own-icon:disabled { opacity: 0.3; cursor: default; }

.own-list { margin: 0 0 20px; }
.own-list .own-search { margin: 4px 0 8px; }
.own-pick-lead .r-name::after { content: ' · large on computers'; font-weight: 400; color: var(--ink-3); font-size: 0.8125rem; }

/* owner panel: out-of-stock tick beside each perfume */
.own-li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.own-li .own-row { border-bottom: 0; }
.own-out { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-size: 0.8125rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.own-out input { width: 18px; height: 18px; accent-color: #b3261e; }
.own-out.dirty span { font-weight: 600; color: var(--ink); }
@media (max-width: 479px) { .own-out span { font-size: 0.75rem; } }

.badge-best { background: #f3ead8; color: #5c4415; font-weight: 600; }

/* ---------- Home: the blog as one slim animated banner (30 Nov 2026) ---------- */
.jb { position: relative; border-radius: var(--radius); overflow: hidden; background: #1a1714; color: #fff; isolation: isolate; }
.jb-slides { position: relative; height: 200px; }
.jb-slide { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; opacity: 0; transition: opacity 900ms var(--ease-out); }
.jb-slide.is-on { opacity: 1; z-index: 1; }
.jb-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.jb-slide.is-on img { animation: jb-zoom 7s linear both; }
@keyframes jb-zoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.jb-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 16, 12, 0.82) 0%, rgba(20, 16, 12, 0.55) 48%, rgba(20, 16, 12, 0.1) 100%); }
.jb-text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 44px; display: grid; gap: 6px; max-width: 34rem; }
.jb-title { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.375rem; line-height: 1.2; letter-spacing: var(--display-track); }
.jb-blurb { font-size: 0.875rem; color: rgba(255, 255, 255, 0.84); }
.jb-read { justify-self: start; margin-top: 4px; font-size: 0.8125rem; letter-spacing: 0.02em; padding-bottom: 2px; border-bottom: 1px solid rgba(212, 188, 121, 0.9); }
.jb-slide.is-on .jb-text > * { animation: jb-rise 700ms var(--ease-out) both; }
.jb-slide.is-on .jb-blurb { animation-delay: 80ms; }
.jb-slide.is-on .jb-read { animation-delay: 160ms; }
@keyframes jb-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.jb-ctrl { position: absolute; z-index: 2; left: 12px; bottom: 4px; display: flex; align-items: center; }
.jb-dot { width: 44px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.jb-dot::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); transition: background 300ms, width 300ms var(--ease-out); }
.jb-dot[aria-current]::before { width: 30px; background: #d4bc79; }
.jb-pause { width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.jb-pause svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.jb-dot:focus-visible, .jb-pause:focus-visible, .jb-slide:focus-visible { outline: 2px solid #d4bc79; outline-offset: -4px; }
@media (min-width: 700px) {
  .jb-slides { height: 240px; }
  .jb-text { left: 36px; bottom: 52px; }
  .jb-title { font-size: 1.75rem; }
  .jb-ctrl { left: 24px; bottom: 8px; }
}
@media (min-width: 1100px) { .jb-slides { height: 260px; } .jb-title { font-size: 2rem; } }
@media (hover: hover) { .jb-slide:hover .jb-read { border-bottom-color: #fff; } }
[data-motion="reduce"] .jb-slide { transition: opacity 200ms linear; }
[data-motion="reduce"] .jb-slide.is-on img, [data-motion="reduce"] .jb-slide.is-on .jb-text > * { animation: none; }

/* ---------- Price slider in the list filters (30 Nov 2026) ---------- */
.filter-price { display: grid; gap: 2px; width: 260px; padding: 0 4px; }
.filter-price[hidden] { display: none; }
.fp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.8125rem; }
.fp-label { color: var(--ink-3); }
.fp-out { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp-track { --th: 22px; position: relative; height: 36px; }
.fp-track::before { content: ""; position: absolute; left: calc(var(--th) / 2); right: calc(var(--th) / 2); top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--line-2); }
.fp-fill { position: absolute; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--ink); left: 0; right: 0; }
.fp-track input[type="range"] { position: absolute; inset: 0; width: 100%; height: 36px; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.fp-track input[type="range"]::-webkit-slider-runnable-track { background: none; border: 0; }
.fp-track input[type="range"]::-moz-range-track { background: none; border: 0; }
.fp-track input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); cursor: grab; }
.fp-track input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); cursor: grab; }
.fp-track input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.08); }
.fp-track input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ink); outline-offset: 2px; }
.fp-track input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 699px) {
  .filter-price { width: 100%; padding: 6px 4px 2px; }
  /* bigger handles for thumbs on phones */
  .fp-track { --th: 28px; height: 36px; }
  .fp-track input[type="range"] { height: 36px; }
  .fp-track input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; }
  .fp-track input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; }
}

/* ---------- Chat bot on every page (30 Nov 2026) ---------- */
.cb-btn { position: fixed; z-index: 40; right: var(--gutter-r); bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 0.9375rem/1 var(--sans); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); cursor: pointer; }
.cb-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.cb-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
body.cb-open .cb-btn { display: none; }
/* back-to-top sits above the chat button */
body:has(#chatbot) .to-top { bottom: calc(var(--dock-h) + 74px + env(safe-area-inset-bottom, 0px)); }
body[data-view="checkout"] .cb, body[data-view="owner"] .cb, body[data-view="done"] .cb, body.bag-open .cb { display: none; }
.cb-pick-mono { width: 56px; height: 70px; border-radius: 6px; background: var(--tile); display: grid; place-items: center; font-family: var(--display); font-size: 1.5rem; color: var(--ink-3); }
.cb-panel { position: fixed; z-index: 60; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; background: #fff; color: var(--ink); }
.cb-panel[hidden] { display: none; }
.cb-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "face title close" "face sub close"; align-items: center; column-gap: 12px; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 12px 20px; border-bottom: 1px solid var(--line); }
.cb-title { grid-area: title; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.1875rem; line-height: 1.2; }
.cb-sub { grid-area: sub; display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--ink-3); }
.cb-avatar { grid-area: face; position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.cb-avatar img { width: 30px; height: 30px; object-fit: contain; }
/* "online" green dot: on the button, the header photo and before the status words */
.cb-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px #fff; }
.cb-avatar .cb-dot { right: 0; bottom: 0; }
.cb-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); animation: cb-pulse 2s ease-out infinite; }
@keyframes cb-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.cb-btn .cb-dot { top: 2px; right: 4px; width: 13px; height: 13px; box-shadow: 0 0 0 2px var(--ink); animation: cb-pulse 2s ease-out infinite; }
.cb-face { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; align-self: end; }
.cb-face img { width: 20px; height: 20px; object-fit: contain; }
.cb-bot-body { display: grid; gap: 8px; min-width: 0; }
.cb-close { grid-area: close; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--tile); color: var(--ink); cursor: pointer; }
.cb-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; }
.cb-log { list-style: none; margin: 0; padding: 16px; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 12px; }
.cb-msg p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 0.9375rem; line-height: 1.45; white-space: pre-line; }
.cb-me { justify-self: end; max-width: 85%; }
.cb-me p { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.cb-bot { justify-self: start; max-width: 94%; display: flex; align-items: flex-end; gap: 8px; }
.cb-bot p { background: var(--tile); border-bottom-left-radius: 4px; }
.cb-picks { display: grid; gap: 8px; }
.cb-pick { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.cb-pick img { width: 56px; height: 70px; object-fit: cover; border-radius: 6px; background: var(--tile); }
.cb-pick-text { display: grid; gap: 1px; min-width: 0; }
.cb-pick-brand { font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.cb-pick-name { font-family: var(--display); font-size: 1.0625rem; line-height: 1.2; }
.cb-pick-meta { font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cb-pick-why { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.cb-typing { display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 16px; border-bottom-left-radius: 4px; background: var(--tile); }
.cb-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: cb-dot 1s ease-in-out infinite; }
.cb-typing span:nth-child(2) { animation-delay: 0.15s; } .cb-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cb-dot { 0%, 80%, 100% { opacity: 0.3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.cb-ideas { list-style: none; margin: 0; padding: 0 16px 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.cb-ideas[hidden] { display: none; }
.cb-ideas button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 500 0.8125rem/1.2 var(--sans); cursor: pointer; text-align: left; }
.cb-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.cb-input { min-height: 44px; max-height: 120px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 22px; font: 400 1rem/1.35 var(--sans); color: var(--ink); resize: none; background: #fff; }
.cb-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.cb-send { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
.cb-send svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
@media (min-width: 700px) {
  .cb-btn { bottom: 24px; }
  body:has(#chatbot) .to-top { bottom: 84px; }
  .cb-panel { inset: auto 24px 24px auto; width: 390px; height: min(620px, calc(100vh - 48px)); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18); overflow: hidden; }
  .cb-head { padding-top: 14px; }
}
[data-motion="reduce"] .cb-typing span { animation: none; opacity: 0.6; }
[data-motion="reduce"] .cb-live, [data-motion="reduce"] .cb-btn .cb-dot { animation: none; }

/* ---------- About on GSAP (30 Nov 2026) ---------- */
/* each title line is a mask: its words rise up from below the line */
.ab-tl { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ab-tw { display: inline-block; will-change: transform; }
/* until GSAP has set the first frame, the moving parts wait out of sight (at most 3.5 s, then the page shows as it is) */
.about.gs-wait .ab-bottle, .about.gs-wait .ab-logo, .about.gs-wait .ab-tw, .about.gs-wait .ab-lede, .about.gs-wait .ab-reveal, .about.gs-wait .ab-w { opacity: 0; }
.ab-w { transition: none; }
