/* Lov3one demo store */

:root {
  /* Warm neutrals, tinted toward the ivory of the product photography */
  --paper: oklch(0.986 0.005 85);
  --surface: oklch(0.955 0.008 80);
  --surface-2: oklch(0.928 0.01 80);
  --line: oklch(0.9 0.008 80);
  --ink: oklch(0.215 0.012 55);
  --ink-2: oklch(0.355 0.012 55);
  --muted: oklch(0.51 0.012 60);
  --on-ink: oklch(0.985 0.004 85);
  --hero-bg: oklch(0.17 0.01 50);
  /* One sale color (crossed-out price, % off), plus semantic accents */
  --bad: oklch(0.5 0.17 26);
  --bad-bg: oklch(0.955 0.025 25);
  --sale-bg: oklch(0.955 0.025 25);
  --love: oklch(0.62 0.19 25);
  --ok: oklch(0.5 0.11 155);
  --ok-bg: oklch(0.95 0.03 155);
  --star: oklch(0.6 0.12 82);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --pill: 999px;
  --shadow: 0 1px 2px oklch(0.3 0.02 55 / 6%), 0 12px 32px oklch(0.3 0.02 55 / 9%);
  --font: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Albert Sans", system-ui, sans-serif;
  --font-price: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -999px; top: 12px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: var(--pill); font-weight: 700;
}
.skip:focus { left: 16px; }
.no-scroll { overflow: hidden; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

.icon { flex: none; }
.icon-accent { color: var(--love); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--pill); border: 1px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: -0.005em;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: #2a2a30; }
.btn-primary:disabled { background: #c9c9c6; color: var(--on-ink); cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: var(--ink);
  transition: background .2s var(--ease);
}
.icon-btn:hover { background: var(--surface); }
.icon-btn--ring { border-color: var(--line); background: var(--paper); }
.badge {
  position: absolute; top: 3px; right: 1px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--pill);
  background: var(--love); color: var(--on-ink); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.top.is-stuck { border-bottom-color: var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.top-left { display: flex; align-items: center; gap: 6px; margin-left: -10px; }
.brand-link { display: inline-flex; align-items: center; height: 44px; }
.logo { height: 12px; width: auto; }
.top-nav { display: none; }
.top-actions { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
@media (min-width: 1024px) {
  .logo { height: 13px; }
  .top-nav { display: flex; gap: 30px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
  .top-nav a { padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--ease); }
  .top-nav a:hover { background-size: 100% 1.5px; }
}

/* Promo strip */
.promo { display: flex; align-items: center; height: 38px; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.promo-track { display: flex; width: max-content; animation: promo-scroll 36s linear infinite; }
.promo:hover .promo-track { animation-play-state: paused; }
.promo-group { display: flex; align-items: center; flex: none; }
.promo-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 22px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.promo-dot { flex: none; width: 4px; height: 4px; border-radius: 50%; background: rgb(255 255 255 / 45%); }
@keyframes promo-scroll { to { transform: translateX(-50%); } }
@media (min-width: 1024px) { .promo { height: 40px; } .promo-item { font-size: 13px; padding: 0 28px; } }
@media (prefers-reduced-motion: reduce) { .promo-track { animation: none !important; } }
.page-home .intro { padding-top: 16px; }

/* Intro: search + chips */
.intro { padding-top: 6px; }
.search {
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--paper); color: var(--muted);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgb(14 14 16 / 8%); color: var(--ink); }
.search input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font: 500 16px/1 var(--font); color: var(--ink);
}
.search input::placeholder { color: #8b8b90; }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.chips {
  display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 42px; padding: 0 20px; border: 0; border-radius: var(--pill);
  background: var(--surface); color: var(--ink-2); font-size: 15px; font-weight: 600; white-space: nowrap;
  scroll-snap-align: start; transition: background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { background: var(--surface-2); }
.chip.is-active { background: var(--ink); color: var(--on-ink); }

/* Hero */
.hero {
  position: relative; margin-top: 18px; overflow: hidden; isolation: isolate;
  min-height: 228px; border-radius: var(--r-lg); background: var(--hero-bg); color: var(--on-ink);
  display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 82% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(13 10 9 / 88%) 0%, rgb(13 10 9 / 55%) 40%, rgb(13 10 9 / 0%) 70%);
}
.hero-copy { padding: 24px 22px; max-width: 70%; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { opacity: .85; }
.hero h1 { margin: 10px 0 28px; font-size: clamp(27px, 7.4vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
.hero-sub { display: none; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 18px; border-radius: var(--pill);
  background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; transition: transform .2s var(--ease);
}
.hero-cta .icon { display: none; }
.hero-cta:hover { transform: translateX(3px); }
.hero :focus-visible { outline-color: var(--on-ink); }
@media (min-width: 720px) {
  .hero { min-height: 340px; }
  .hero-copy { padding: 40px; max-width: 54%; }
  .hero-sub { display: block; max-width: 34ch; margin: -4px 0 26px; font-size: 17px; color: rgb(255 255 255 / 82%); }
  .hero-cta { height: 44px; padding: 0 22px; font-size: 15px; }
  .hero-cta .icon { display: block; }
}
@media (min-width: 1024px) {
  .hero { min-height: 460px; }
  .hero-copy { padding: 64px; max-width: 50%; }
  .hero-media img { object-position: 70% center; }
}

/* Stories (Instagram-style circles under the hero) */
.stories-wrap { margin-top: 18px; }
.stories {
  display: flex; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px;
  overflow-x: auto; scrollbar-width: none;
}
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 74px; padding: 0; border: 0; background: none; }
.story-ring {
  display: block; width: 74px; height: 74px; padding: 2.5px; border-radius: 50%;
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  transition: transform .2s var(--ease);
}
.story-ring img { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--paper); object-fit: cover; background: var(--surface); }
.story.is-seen .story-ring { background: #d4d4d0; }
.story:active .story-ring { transform: scale(.94); }
.story:focus-visible { outline: none; }
.story:focus-visible .story-ring { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.story-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.story.is-seen .story-name { color: var(--muted); }
@media (min-width: 720px) {
  .stories { margin: 0; padding: 2px 0 4px; gap: 22px; }
  .story { width: 86px; }
  .story-ring { width: 86px; height: 86px; }
  .story-name { font-size: 13px; }
}

/* Stories on the product page */
.pdp-stories { margin: 4px 0 2px; }
.pdp-stories-title { margin-bottom: 10px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.stories--pdp { margin: 0; padding: 0; gap: 16px; overflow: visible; }
.stories--pdp .story { width: 66px; }
.stories--pdp .story-ring { width: 66px; height: 66px; }
.stories--pdp .story-name { font-size: 12px; }

/* Story viewer */
.sv { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgb(10 10 12 / 94%); }
.sv-panel { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--ink); }
@media (min-width: 720px) { .sv-panel { width: auto; height: min(92vh, 860px); aspect-ratio: 9 / 16; border-radius: 18px; } }
.sv-panel::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 130px; z-index: 2; pointer-events: none;
  background: linear-gradient(rgb(0 0 0 / 50%), transparent);
}
.sv-media { position: absolute; inset: 0; }
.sv-media img, .sv-media video { width: 100%; height: 100%; object-fit: cover; }
.sv-bars { position: absolute; top: calc(10px + env(safe-area-inset-top)); left: 10px; right: 10px; z-index: 3; display: flex; gap: 4px; }
.sv-bar { flex: 1; height: 2.5px; border-radius: 2px; overflow: hidden; background: rgb(255 255 255 / 35%); }
.sv-bar i { display: block; width: 0; height: 100%; background: var(--paper); }
.sv-head {
  position: absolute; top: calc(20px + env(safe-area-inset-top)); left: 12px; right: 4px; z-index: 3;
  display: flex; align-items: center; gap: 10px; color: var(--on-ink); font-size: 14px; font-weight: 700;
  text-shadow: 0 1px 2px rgb(0 0 0 / 40%);
}
.sv-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.sv-close { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; color: var(--on-ink); }
.sv-close:focus-visible, .sv-nav:focus-visible { outline: 2px solid var(--on-ink); outline-offset: -4px; }
.sv-nav { position: absolute; top: 0; bottom: 0; z-index: 2; border: 0; background: transparent; }
.sv-prev { left: 0; width: 35%; }
.sv-next { right: 0; width: 65%; }

/* Sections */
.section { margin-top: 36px; }
@media (min-width: 1024px) { .section { margin-top: 64px; } }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.015em; }
@media (min-width: 1024px) { .section-head { margin-bottom: 20px; } .section-head h2 { font-size: 26px; } }
.see-all { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.see-all:hover .icon { transform: translateX(2px); }
.see-all .icon { transition: transform .2s var(--ease); }
.count { font-size: 14px; color: var(--muted); font-weight: 500; text-align: right; }

/* Product cards */
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card-link { display: flex; flex-direction: column; flex: 1; }
.card-media { position: relative; aspect-ratio: 1; background: var(--surface); overflow: hidden; }
.sale-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 9px; border-radius: var(--pill); background: var(--ok-bg); color: var(--ok);
  font-family: var(--font-price); font-size: 12px; font-weight: 700; line-height: 1.2;
  box-shadow: 0 1px 2px rgb(14 14 16 / 10%);
}
.was {
  margin-left: 6px; font-family: var(--font-price); font-weight: 500; font-size: .82em;
  color: var(--bad); text-decoration-thickness: 1px;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 11px 50px 12px 12px; }
.card-title {
  font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { margin-top: 3px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { margin-top: auto; padding-top: 8px; font-family: var(--font-price); font-size: 15px; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.wish {
  position: absolute; right: 6px; bottom: 6px;
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); transition: color .2s var(--ease), transform .2s var(--ease);
}
.wish:hover { color: var(--love); }
.wish[aria-pressed="true"], .wish-top[aria-pressed="true"] { color: var(--love); }
.wish[aria-pressed="true"] svg, .wish-top[aria-pressed="true"] svg { fill: currentColor; }
.wish:active { transform: scale(.88); }
@media (min-width: 1024px) {
  .card-title { font-size: 15px; }
  .card-body { padding: 14px 54px 16px 16px; }
  .card-price { font-size: 16px; }
  .wish { right: 8px; bottom: 8px; }
}

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { grid-auto-columns: 30%; } }
@media (min-width: 1024px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; overflow: visible; }
}

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.empty p { margin-bottom: 16px; }

/* Shop for circles */
.circles {
  display: flex; gap: 16px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
  overflow-x: auto; scrollbar-width: none;
}
.circles::-webkit-scrollbar { display: none; }
.circle { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 78px; }
.circle-media {
  width: 78px; height: 78px; border-radius: 50%; overflow: hidden; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.circle-media img { width: 100%; height: 100%; object-fit: cover; }
.circle:hover .circle-media { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--ink); }
.circle-label { font-size: 13px; font-weight: 700; text-align: center; }
@media (min-width: 720px) {
  .circles { margin: 0; padding: 2px 0 6px; gap: 32px; }
  .circle { width: 112px; }
  .circle-media { width: 112px; height: 112px; }
  .circle-label { font-size: 15px; }
}

/* Collection tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--surface);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; color: var(--ink); }
.tile .eyebrow { font-size: 10px; color: var(--ink-2); }
.tile-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.tile-sub { display: none; }
.tile-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 700; }
.tile:hover .tile-cta .icon { transform: translateX(3px); }
.tile-cta .icon { transition: transform .2s var(--ease); }
@media (min-width: 720px) {
  .tiles { gap: 20px; }
  .tile { aspect-ratio: 5 / 4; }
  .tile-copy { padding: 32px; gap: 6px; }
  .tile .eyebrow { font-size: 11px; }
  .tile-title { font-size: 36px; }
  .tile-sub { display: block; max-width: 26ch; font-size: 16px; color: var(--ink-2); }
  .tile-cta { margin-top: 10px; height: 44px; padding: 0 18px; border-radius: var(--pill); background: var(--ink); color: var(--on-ink); font-size: 14px; }
}

/* Perks */
.perks { display: grid; gap: 10px; }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--surface); }
.perk .icon { margin-top: 2px; }
.perk-title { font-size: 15px; font-weight: 800; }
.perk p:not(.perk-title) { font-size: 14px; color: var(--muted); }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(3, 1fr); gap: 16px; } .perk { padding: 22px; } }

/* Footer */
.foot { margin-top: 56px; border-top: 1px solid var(--line); }
.foot-inner { display: grid; gap: 28px; padding-block: 36px 28px; }
.foot-brand .logo { height: 13px; }
.foot-brand p { margin-top: 14px; max-width: 38ch; font-size: 14px; color: var(--muted); }
.foot-head { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); column-gap: 32px; }
.foot li a { display: inline-block; padding: 6px 0; font-size: 15px; color: var(--ink-2); }
.foot li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { padding-block: 18px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (min-width: 720px) { .foot-inner { grid-template-columns: 1fr auto; } }

/* Product page */
.appbar {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 10px var(--gutter); background: color-mix(in oklch, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.appbar-logo { display: inline-flex; align-items: center; height: 44px; padding-inline: 8px; }
.appbar-logo .logo { height: 12px; }
.appbar-actions { display: flex; gap: 8px; justify-self: end; }
.page-product .top { display: none; }
@media (min-width: 1024px) {
  .appbar { display: none; }
  .page-product .top { display: block; }
}

.crumbs { display: none; }
@media (min-width: 1024px) {
  .crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; font-size: 14px; color: var(--muted); }
  .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .crumbs [aria-current] { color: var(--ink); font-weight: 600; }
}

.pdp { display: block; }
/* Mobile product page: edge-to-edge photo under the promo strip, details on a rounded sheet over it */
@media (max-width: 1023px) {
  .page-product { --sheet-overlap: 26px; }
  .product .gallery { position: sticky; top: 64px; z-index: 1; margin-inline: calc(var(--gutter) * -1); }
  .product .stage { filter: brightness(calc(1 - var(--cover, 0) * 0.35)); will-change: filter; }
  .product .slides { border-radius: 0; }
  .product .dots { bottom: calc(var(--sheet-overlap) + 12px); }
  .product .slide--video video { bottom: auto; height: calc(100% - var(--sheet-overlap)); }
  .product .info {
    position: relative; z-index: 2;
    margin: calc(var(--sheet-overlap) * -1) calc(var(--gutter) * -1) 0;
    padding: 24px var(--gutter) 0;
    background: var(--paper); border-radius: 26px 26px 0 0;
    box-shadow: 0 -10px 24px rgb(14 14 16 / 7%);
  }
}
@media (min-width: 1024px) {
  .pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .gallery { position: sticky; top: 92px; }
}

.stage { position: relative; }
.slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--r-lg); background: var(--surface); overscroll-behavior-x: contain;
}
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline-offset: 3px; }
.slide { position: relative; flex: 0 0 100%; aspect-ratio: 1; min-height: 0; margin: 0; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide--video { background: var(--ink); }
.slide--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 7px 10px; border-radius: var(--pill); background: color-mix(in oklch, var(--paper) 88%, transparent);
}
.dots { transition: opacity .2s var(--ease); }
.stage.on-video .dots { opacity: 0; pointer-events: none; }
.dot { width: 6px; height: 6px; border-radius: var(--pill); background: rgb(14 14 16 / 25%); transition: width .25s var(--ease), background .25s var(--ease); }
.dot.is-active { width: 18px; background: var(--ink); }
.gal-btn { display: none; }
.thumbs { display: none; }
@media (min-width: 1024px) {
  .dots { display: none; }
  .gal-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: color-mix(in oklch, var(--paper) 92%, transparent); box-shadow: var(--shadow);
    opacity: 0; transition: opacity .2s var(--ease);
  }
  .stage:hover .gal-btn, .gal-btn:focus-visible { opacity: 1; }
  .gal-btn:disabled { opacity: 0 !important; pointer-events: none; }
  .gal-prev { left: 14px; }
  .gal-next { right: 14px; }
  .thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .thumb {
    position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border-radius: var(--r-sm);
    border: 2px solid transparent; background: var(--surface); transition: border-color .2s var(--ease);
  }
  .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .thumb.is-active { border-color: var(--ink); }
  .thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-ink); background: rgb(0 0 0 / 30%); }
  .thumb-play svg { fill: currentColor; }
}

.info { margin-top: 20px; }
@media (min-width: 1024px) { .info { margin-top: 0; } }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-price); font-size: 28px; font-weight: 700; letter-spacing: -0.005em; }
.stock { padding: 6px 12px; border-radius: var(--pill); background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 700; }
.stock.is-out { background: var(--bad-bg); color: var(--bad); }
.pdp-title { margin: 8px 0 12px; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
@media (min-width: 1024px) { .price { font-size: 32px; } .pdp-title { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; } }
.collection { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted); }
.collection img { width: 32px; height: 32px; border-radius: 50%; }
.lede { margin-top: 16px; font-size: 16px; color: var(--ink-2); line-height: 1.55; }

.options { margin-top: 22px; }
.opt { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 800; }
.opt legend span { font-weight: 500; color: var(--muted); }
.opt-values { display: flex; flex-wrap: wrap; gap: 10px; }
.opt-btn { position: relative; border: 0; padding: 0; background: none; }

.opt-chip {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 56px; min-height: 46px; padding: 6px 16px; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px transparent;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.opt-chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.opt-text { font-size: 14px; font-weight: 700; line-height: 1.2; }
.opt-note { font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.opt-chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.opt-chip[aria-pressed="true"] .opt-note { color: rgb(255 255 255 / 72%); }
.opt-chip.is-out .opt-text { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.opt-chip.is-out { color: #9a9a9e; }
.opt-chip.is-out[aria-pressed="true"] { background: #6e6e73; color: var(--on-ink); }

.opt-swatch {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease);
}
.opt-swatch .sw { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 10%); }
.opt-swatch:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.opt-swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }

.opt-image {
  width: 58px; height: 58px; border-radius: var(--r-sm); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.opt-image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; padding: 3px; border-radius: 13px; }
.opt-image:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.opt-image[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }

.opt-swatch.is-out::after, .opt-image.is-out::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, transparent calc(50% - 1px), rgb(14 14 16 / 55%) calc(50% - 1px), rgb(14 14 16 / 55%) calc(50% + 1px), transparent calc(50% + 1px));
}
.opt-swatch.is-out .sw, .opt-image.is-out img { opacity: .45; }

.delivery { list-style: none; margin: 4px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--surface); }
.delivery li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.delivery li + li { margin-top: 8px; }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: flex; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
.page-product { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
.qty { display: flex; align-items: center; gap: 2px; height: 52px; padding: 0 5px; border-radius: var(--pill); border: 1px solid var(--line); }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; }
.qty button:hover { background: var(--surface); }
.qty output { min-width: 2.2ch; text-align: center; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.btn-outline { background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--surface); }
.btn-outline:disabled { border-color: #c9c9c6; color: #9a9a9e; background: var(--paper); cursor: not-allowed; transform: none; }
.buybar { gap: 8px; }
.buybar .qty { flex: none; height: 46px; padding: 0 3px; }
.buybar .qty button { width: 32px; height: 32px; }
.buybar .qty output { min-width: 2ch; font-size: 14px; }
.buybar .btn { flex: 1; min-width: 0; height: 46px; padding: 0 10px; gap: 6px; font-size: 14px; white-space: nowrap; }
@media (max-width: 419px) { .add-btn .icon { display: none; } }
/* Real Apple Pay / Google Pay (Stripe's Express Checkout Element) takes Buy now's place when the device has one */
.buybar .buy-express { flex: 1; min-width: 0; }
@media (min-width: 1024px) {
  .buybar { gap: 10px; }
  .buybar .qty, .buybar .btn { height: 52px; }
  .buybar .btn { font-size: 15px; padding: 0 18px; }
}
@media (min-width: 1024px) {
  .page-product { padding-bottom: 0; }
  .buybar { position: static; padding: 0; margin-top: 22px; border: 0; background: none; }
}

.tabs { margin-top: 28px; }
.tablist { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .tablist { justify-content: flex-start; gap: 32px; } }
.tablist [role="tab"] {
  position: relative; padding: 12px 2px; border: 0; background: none;
  font-size: 15px; font-weight: 700; color: #8b8b90; transition: color .2s var(--ease);
}
.tablist [role="tab"]:hover { color: var(--ink-2); }
.tablist [aria-selected="true"] { color: var(--ink); }
.tablist [aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.tabpanel { padding-top: 18px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.tabpanel p + p { margin-top: 12px; }
.highlights { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.highlights .icon { color: var(--ok); margin-top: 1px; }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.inbox-head { display: flex; align-items: center; gap: 8px; margin: 22px 0 8px; font-weight: 800; color: var(--ink); }
.inbox { margin: 0; padding-left: 20px; }
.inbox li { padding: 2px 0; }

.related { margin-top: 48px; }

/* Stars */
.stars { position: relative; display: inline-block; flex: none; line-height: 0; color: var(--star); vertical-align: middle; }
.stars svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
.stars-base, .stars-fill { display: inline-flex; gap: 2px; white-space: nowrap; }
.stars-base { color: #d9d9d5; }
.stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; }
.stars--sm svg { width: 13px; height: 13px; }
.stars--sm .stars-base, .stars--sm .stars-fill { gap: 1px; }

.card-rating { display: flex; align-items: center; gap: 4px; color: var(--ink-2); font-weight: 700; }
.card-star { display: inline-flex; }
.card-star svg { width: 13px; height: 13px; fill: var(--star); }
.card-rating .card-rating-n { color: var(--muted); font-weight: 500; }

.pdp-rating { display: inline-flex; align-items: center; gap: 8px; margin: -2px 0 14px; font-size: 14px; }
.pdp-rating-avg { font-family: var(--font-price); font-weight: 700; }
.pdp-rating-n { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pdp-rating:hover .pdp-rating-n { color: var(--ink); }

/* Reviews section */
.reviews { margin-top: 48px; scroll-margin-top: 90px; }
.rv-count {
  display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; margin-left: 4px;
  border-radius: var(--pill); background: var(--surface); font-family: var(--font-price); font-size: 13px; font-weight: 700;
}
.rv-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.rv-layout > *, .rv-summary > * { min-width: 0; }
@media (min-width: 1024px) {
  .rv-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
  .rv-summary { position: sticky; top: 92px; }
}
.rv-summary { display: grid; gap: 20px; }
.rv-score { display: flex; align-items: center; gap: 16px; }
.rv-avg { font-family: var(--font-price); font-size: 48px; font-weight: 700; line-height: 1; }
.rv-based { margin-top: 6px; font-size: 13px; color: var(--muted); }
.rv-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rv-dist li { display: grid; grid-template-columns: 10px 14px 1fr 22px; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.rv-dist li svg { width: 12px; height: 12px; fill: var(--star); }
.rv-dist-star { font-family: var(--font-price); font-weight: 700; text-align: right; }
.rv-dist-n { font-family: var(--font-price); color: var(--muted); text-align: right; }
.rv-bar { height: 6px; border-radius: var(--pill); background: var(--surface-2); overflow: hidden; }
.rv-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.rv-gallery-title { margin-bottom: 10px; font-size: 14px; font-weight: 800; }
.rv-gallery-title span { color: var(--muted); font-weight: 500; }
.rv-gallery-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 6px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity;
}
.rv-gallery-grid::-webkit-scrollbar { display: none; }
.rv-gallery-grid .rv-thumb { scroll-snap-align: start; }
@media (min-width: 1024px) {
  .rv-gallery-grid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; }
}
.rv-thumb {
  display: block; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 10px;
  background: var(--surface); cursor: zoom-in;
}
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.rv-thumb:hover img { transform: scale(1.05); }

.rv-list { display: grid; }
.rv { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rv:first-child { padding-top: 0; }
.rv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-date { font-size: 13px; color: var(--muted); }
.rv-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; }
.rv-name { font-weight: 700; }
.rv-variant { padding: 2px 8px; border-radius: var(--pill); background: var(--surface); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.rv-text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); overflow-wrap: anywhere; }
.rv-photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rv-photos .rv-thumb { width: 72px; }
.rv-more { margin-top: 20px; justify-self: start; }
.rv-note { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* Photo lightbox */
.lb { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgb(10 10 12 / 94%); }
.lb-img { max-width: min(92vw, 1000px); max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / 12%); color: var(--on-ink); transition: background .2s var(--ease);
}
.lb-btn:hover { background: rgb(255 255 255 / 22%); }
.lb-btn:focus-visible { outline: 2px solid var(--on-ink); outline-offset: 2px; }
.lb-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgb(255 255 255 / 75%); font-size: 13px; font-family: var(--font-price); }

/* Cart drawer */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-scrim { position: absolute; inset: 0; background: rgb(14 14 16 / 45%); opacity: 0; transition: opacity .25s var(--ease); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  display: flex; flex-direction: column; background: var(--paper);
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.drawer--left .drawer-panel { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head .logo { height: 12px; }

.menu-body { padding-top: 16px; padding-bottom: 24px; }
.search--menu { height: 48px; padding: 0 16px; }
.menu-list { list-style: none; margin: 14px 0 0; padding: 0; }
.menu-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 700; letter-spacing: -0.015em;
}
.menu-list a .icon { color: #a3a3a7; transition: transform .2s var(--ease), color .2s var(--ease); }
.menu-list a:hover .icon { color: var(--ink); transform: translateX(3px); }
.menu-extra { display: grid; gap: 8px; margin-top: 22px; }
.menu-extra button {
  display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px;
  border: 0; border-radius: var(--r); background: var(--surface); font-size: 15px; font-weight: 700; text-align: left;
}
.menu-extra button:hover { background: var(--surface-2); }
.menu-count {
  margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--pill);
  background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 800; line-height: 22px; text-align: center;
}
.line-view { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 18px; font-weight: 800; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.upsell { margin-bottom: 16px; padding: 12px; border-radius: var(--r); background: var(--surface); }
.upsell-title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.upsell-tag {
  padding: 3px 8px; border-radius: var(--pill); background: var(--ok-bg); color: var(--ok);
  font-family: var(--font-price); font-size: 12px; font-weight: 700;
}
.upsell-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.upsell-media { width: 56px; height: 56px; overflow: hidden; border-radius: 10px; background: var(--paper); }
.upsell-media img { width: 100%; height: 100%; object-fit: cover; }
.upsell-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.upsell-price { margin-top: 2px; font-family: var(--font-price); font-size: 14px; font-weight: 700; }
.upsell-add { height: 38px; padding: 0 18px; font-size: 14px; }
.subtotal { display: flex; justify-content: space-between; font-size: 17px; font-weight: 800; }
.subtotal strong { font-family: var(--font-price); font-weight: 700; }
.fine { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
/* "or" between the main button and the express buttons (cart drawer and checkout) */
.pay-or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cart-express { margin-top: 12px; }
.cart-express .pay-or { margin-bottom: 12px; }
.cart-express .field-error { margin-top: 10px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-media { width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-size: 14px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-opts { margin-top: 2px; font-size: 13px; color: var(--muted); }
.line-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.qty--sm { height: 36px; padding: 0 2px; }
.qty--sm button { width: 32px; height: 32px; }
.qty--sm output { font-size: 14px; }
.line-remove { border: 0; background: none; padding: 6px 0; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line-remove:hover { color: var(--ink); }
.line-price { font-family: var(--font-price); font-size: 15px; font-weight: 700; text-align: right; }
.line-price .was { display: block; margin: 2px 0 0; }
.price .was { font-size: .62em; margin-left: 8px; }
.cart-empty { display: grid; justify-items: center; gap: 14px; padding: 56px 0; text-align: center; color: var(--muted); }
.cart-empty .icon { color: #b7b7b3; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70;
  max-width: calc(100% - 32px); padding: 12px 20px; border-radius: var(--pill);
  background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
  transform: translate(-50%, 12px); opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.page-product .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .page-product .toast { bottom: 24px; } }

.notfound { padding-block: 96px; text-align: center; }
.notfound h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.notfound p { margin: 10px 0 24px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Premium pass (impeccable + ux-ui, 2026-11-08)
   Display: Manrope ExtraBold. UI and body: Albert Sans. Prices: Roboto.
   ========================================================================== */

body { line-height: 1.55; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Display type: Manrope ExtraBold (Nicolás preferred it over Young Serif) */
.hero h1, .section-head h2, .pdp-title, .tile-title, .notfound h1, .drawer-head h2, .menu-list a {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em;
}
.hero h1 { font-size: clamp(28px, 7.6vw, 68px); line-height: 1.02; margin: 12px 0 26px; }
.section-head h2 { font-size: 24px; line-height: 1.15; }
.pdp-title { font-size: 24px; line-height: 1.18; margin: 10px 0 12px; }
.tile-title { font-size: 24px; line-height: 1.1; }
.drawer-head h2 { font-size: 20px; letter-spacing: -0.015em; }
.menu-list a { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.notfound h1 { font-size: 32px; }
@media (min-width: 1024px) {
  .section-head h2 { font-size: 32px; }
  .pdp-title { font-size: 36px; line-height: 1.1; }
  .tile-title { font-size: 36px; }
}

/* UI text: calmer weights */
.eyebrow { font-weight: 600; letter-spacing: .18em; }
.chip { font-weight: 500; }
.promo-item { font-weight: 600; letter-spacing: .16em; }
.tablist [role="tab"] { font-weight: 600; }
.opt legend { font-weight: 700; }
.see-all { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.see-all .icon { display: none; }

/* Rhythm: more air between sections */
.section { margin-top: 52px; }
.section-head { margin-bottom: 18px; align-items: baseline; }
@media (min-width: 1024px) {
  .section { margin-top: 96px; }
  .section-head { margin-bottom: 28px; }
}

/* Product cards: no box, the photo carries the card */
.card { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.card:hover { box-shadow: none; }
.card-media { border-radius: var(--r); }
.card-body { padding: 12px 2px 2px; }
.card-title { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.card-price { padding-top: 6px; }
.wish {
  top: 10px; right: 10px; bottom: auto; width: 40px; height: 40px;
  background: color-mix(in oklch, var(--paper) 90%, transparent);
  box-shadow: 0 1px 3px oklch(0.3 0.02 55 / 12%);
}
.wish::after { content: ""; position: absolute; inset: -4px; }
@media (min-width: 1024px) {
  .card-body { padding: 14px 2px 2px; }
  .card-title { font-size: 16px; }
  .wish { top: 12px; right: 12px; bottom: auto; }
  .grid { column-gap: 24px; row-gap: 40px; }
  .rail { column-gap: 24px; }
}
.grid { row-gap: 28px; }

/* Sale: one color family (the crossed-out red), never shouting */
.sale-badge { background: var(--sale-bg); color: var(--bad); box-shadow: none; }
.stock { background: var(--sale-bg); color: var(--bad); }
.stock.is-out { background: var(--surface-2); color: var(--ink-2); }
.upsell-tag { background: var(--sale-bg); color: var(--bad); }

/* Perks: one quiet row with hairlines instead of three identical boxes */
.perks {
  gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  width: calc(100% - 2 * var(--gutter)); max-width: calc(1240px - 2 * var(--gutter)); padding-inline: 0;
}
.perk { background: none; border-radius: 0; padding: 20px 0; }
.perk + .perk { border-top: 1px solid var(--line); }
@media (min-width: 720px) {
  .perk { padding: 28px 24px; }
  .perk:first-child { padding-left: 0; }
  .perk + .perk { border-top: 0; border-left: 1px solid var(--line); }
}

/* Surfaces that float over the page read as paper, not white */
.drawer-panel, .buybar { background: var(--paper); }
.product .info { background: var(--paper); }

/* Product descriptor above the brand-style product name */
.pdp-kind { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pdp-kind + .pdp-title { margin-top: 6px; }

/* Mobile: "Most loved" sits closer to the stories */
@media (max-width: 1023px) {
  .stories-wrap + .section { margin-top: 20px; }
}

/* ==========================================================================
   Category pages (shop/), legal pages and contact (2026-11-08)
   ========================================================================== */
.top-nav a[aria-current="page"] { color: var(--ink); background-size: 100% 1.5px; }

/* Category hero */
.cat-hero { padding-top: 14px; }
.cat-hero .crumbs { margin-top: 4px; }
.cat-hero-inner { display: grid; gap: 20px; }
.cat-hero-media { order: -1; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.cat-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.cat-hero-copy .eyebrow { color: var(--muted); }
.cat-hero-copy h1 { margin: 10px 0 12px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(34px, 9vw, 60px); line-height: 1.02; }
.cat-lede { max-width: 44ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cat-subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-sub { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 14px; font-weight: 600; transition: border-color .2s var(--ease); }
.cat-sub:hover { border-color: var(--ink); }
.cat-sub .icon { transition: transform .2s var(--ease); }
.cat-sub:hover .icon { transform: translateX(2px); }
@media (min-width: 1024px) {
  .cat-hero { padding-top: 0; }
  .cat-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 56px; }
  .cat-hero-media { order: 0; aspect-ratio: 4 / 3; }
  .cat-lede { font-size: 18px; }
}

/* Category toolbar */
.cat-shop { margin-top: 36px; }
.cat-toolbar { display: grid; gap: 14px; margin-bottom: 20px; }
.cat-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cat-count { margin-left: auto; }
.pill-select { position: relative; display: inline-flex; align-items: center; }
.pill-select select {
  appearance: none; -webkit-appearance: none; height: 44px; padding: 0 38px 0 16px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--paper);
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.pill-select select:hover { border-color: var(--ink); }
.pill-select select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pill-select .icon { position: absolute; right: 14px; pointer-events: none; }
@media (min-width: 1024px) {
  .cat-toolbar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .cat-chips { flex-wrap: wrap; margin: 0; padding: 2px 0; overflow: visible; }
  .cat-controls { flex-wrap: nowrap; }
  .cat-count { order: -1; margin: 0 8px 0 0; }
}
.perk a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Footer columns */
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.foot-cols ul { display: grid; grid-template-columns: 1fr; }
.foot-cols > div:first-child { grid-row: span 2; }
@media (min-width: 720px) {
  .foot-cols { grid-template-columns: repeat(3, max-content); gap: 56px; }
  .foot-cols > div:first-child { grid-row: auto; }
}
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot-secure { display: inline-flex; align-items: center; gap: 6px; }

/* Menu drawer help links */
.menu-help { list-style: none; display: flex; flex-wrap: wrap; gap: 0 20px; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.menu-help a { display: inline-block; padding: 10px 0; font-size: 14px; color: var(--muted); }
.menu-help a:hover { color: var(--ink); }

/* Legal pages */
.legal-head, .contact-head { max-width: 760px; padding-top: 14px; margin-bottom: 32px; }
.legal-head .eyebrow, .contact-head .eyebrow { color: var(--muted); }
.legal-head h1, .contact-head h1 { margin: 10px 0 12px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(34px, 8vw, 56px); line-height: 1.03; }
.legal-lede, .contact-lede { max-width: 56ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.legal-owner { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.legal-owner strong { color: var(--ink); font-weight: 650; }
.legal-meta { margin-top: 6px; font-size: 13px; color: var(--muted); }
.legal-layout { display: grid; gap: 28px; }
.legal-toc { border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; background: var(--paper); }
.legal-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 700; cursor: pointer; list-style: none; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary .icon { transition: transform .2s var(--ease); }
.legal-toc[open] summary .icon { transform: rotate(180deg); }
.legal-toc ol { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
.legal-toc a { display: block; padding: 7px 0; font-size: 15px; color: var(--ink-2); }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 72px; align-items: start; }
  .legal-toc { position: sticky; top: 92px; border: 0; padding: 0; background: none; }
  .legal-toc summary { min-height: 0; margin-bottom: 10px; pointer-events: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .legal-toc summary .icon { display: none; }
  .legal-toc a { padding: 5px 0; font-size: 14px; }
}
.prose { max-width: 70ch; }
.legal-sec { scroll-margin-top: 92px; }
.legal-sec + .legal-sec { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.prose h2 { margin-bottom: 12px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
.prose h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; margin: 10px 0 0; padding-left: 20px; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); font-weight: 650; }
.legal-next { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* Contact */
.contact-layout { display: grid; gap: 36px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.215 0.012 55 / 0.12); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.field-error { font-size: 14px; font-weight: 600; color: var(--bad); }
.contact-form .btn { justify-self: start; min-width: 180px; }
.contact-form .fine { font-size: 13px; color: var(--muted); }
.contact-form .fine a, .contact-done a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-done { padding: 32px 28px; border-radius: var(--r-lg); background: var(--surface); }
.contact-done:focus { outline: none; }
.contact-done .icon { color: var(--ok); }
.contact-done h2 { margin: 12px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.015em; }
.contact-done p { max-width: 52ch; margin-bottom: 22px; line-height: 1.6; color: var(--ink-2); }
.contact-side { display: grid; gap: 10px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--surface); }
.contact-card .icon { flex: none; margin-top: 2px; }
.contact-card-title { margin-bottom: 2px; font-weight: 700; }
.contact-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.contact-card a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-faq { margin-top: 22px; }
.contact-faq h2 { margin-bottom: 4px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .2s var(--ease); }
.faq[open] summary .icon { transform: rotate(45deg); }
.faq p { padding-bottom: 16px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.faq a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .legal-toc summary .icon, .faq summary .icon, .cat-sub .icon { transition: none; }
}

/* Footer, dark (2026-11-08) */
.foot {
  --foot-muted: oklch(0.74 0.008 70); --foot-soft: oklch(0.9 0.006 80); --foot-line: oklch(0.31 0.01 55);
  margin-top: 64px; border-top: 0; background: var(--hero-bg); color: var(--on-ink);
}
.foot-top { display: grid; gap: 44px; padding-block: 56px 40px; }
.foot-pitch { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(32px, 8vw, 52px); line-height: 1.03; }
.foot-sub { max-width: 34ch; margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--foot-muted); }
.foot-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; margin-top: 24px; padding: 0 24px;
  border-radius: var(--pill); background: var(--on-ink); color: var(--ink); font-size: 15px; font-weight: 700;
}
.foot-cta .icon { transition: transform .2s var(--ease); }
.foot-cta:hover .icon { transform: translateX(3px); }
.foot .foot-head { margin-bottom: 10px; font-size: 11px; letter-spacing: .16em; color: var(--foot-muted); }
.foot li a { padding: 7px 0; font-size: 15px; color: var(--foot-soft); }
.foot li a:hover { color: var(--on-ink); }
.foot .foot-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 0; padding: 22px 0;
  border-block: 1px solid var(--foot-line); font-size: 14px; font-weight: 500; color: var(--foot-soft);
}
.foot-trust li { display: inline-flex; align-items: center; gap: 10px; }
.foot-trust .icon { flex: none; color: var(--foot-muted); }
.foot-mark { padding-top: 40px; }
.foot-mark img { display: block; width: 100%; height: auto; filter: invert(1); opacity: .13; }
.foot .foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-block: 24px 32px; border-top: 0; font-size: 13px; line-height: 1.6; color: var(--foot-muted);
}
.foot-legal-links { display: flex; gap: 20px; }
.foot-legal a { color: var(--foot-soft); }
.foot-legal a:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.foot a:focus-visible { outline: 2px solid var(--on-ink); outline-offset: 3px; border-radius: 4px; }
@media (min-width: 1024px) {
  .foot-top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 72px; padding-block: 88px 56px; }
  .foot-mark { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .foot-cta .icon { transition: none; } }

/* Order confirmation: left-aligned; on desktop the map card gets its own column */
.thanks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 36px 56px; }
.thanks > * { min-width: 0; max-width: 600px; }
.thanks-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.thanks .eyebrow { margin: 18px 0 0; color: var(--muted); }
.thanks h1 { margin: 8px 0 12px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(30px, 7vw, 44px); line-height: 1.06; text-wrap: balance; }
.thanks-lede { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

.thanks-meta { margin: 0; border-block: 1px solid var(--line); }
.thanks-meta > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block: 14px; }
.thanks-meta > div + div { border-top: 1px solid var(--line); }
.thanks-meta dt { font-size: 14px; color: var(--muted); }
.thanks-meta dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 0; }
.thanks-order { font-family: var(--font-price); font-size: 18px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.thanks-total { font-family: var(--font-price); font-weight: 700; font-variant-numeric: tabular-nums; }
.thanks-sub { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.thanks-copy {
  margin: -12px -8px; padding: 12px 8px; border: 0; background: none;
  font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px;
}
.thanks-copy:hover { color: var(--ink); }

.thanks-ship { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.thanks-map { position: relative; aspect-ratio: 16 / 10; background: var(--surface); }
.thanks-map-canvas { position: absolute; inset: 0; }
.thanks-pin {
  position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none;
  fill: var(--ink); filter: drop-shadow(0 6px 6px oklch(0.2 0.02 55 / 28%));
  opacity: 0; transform: translate(-50%, -130%);
  transition: opacity .25s var(--ease), transform .5s var(--ease);
}
.thanks-pin circle { fill: var(--paper); }
.thanks-map.is-ready .thanks-pin { opacity: 1; transform: translate(-50%, -100%); }
.thanks-addr { padding: 18px 20px 12px; }
.thanks-addr h2 { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.thanks-addr address { font-style: normal; line-height: 1.55; }
.thanks-maplink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.thanks-maplink .icon { transform: rotate(-45deg); }

.thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.thanks .fine { margin: -12px 0 0; font-size: 13px; color: var(--muted); }

@media (min-width: 900px) {
  /* The map card spans every row; the last row (1fr) absorbs its extra height so the left column stays tight */
  .thanks { grid-template-columns: minmax(0, 560px) minmax(0, 440px); grid-template-rows: auto auto auto 1fr; column-gap: clamp(48px, 7vw, 112px); row-gap: 28px; align-items: start; padding-block: 64px 96px; }
  .thanks > :not(.thanks-ship) { grid-column: 1; }
  .thanks-ship { grid-column: 2; grid-row: 1 / span 4; }
}
@media (prefers-reduced-motion: reduce) { .thanks-pin { transition: none; } }

/* ==========================================================================
   Checkout (own 3-step flow with Stripe Checkout Elements, 2026-11-08)
   ========================================================================== */
.page-checkout { background: var(--paper); }
.co-top { border-bottom: 1px solid var(--line); background: var(--paper); }
.co-top-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; }
.co-top .logo { height: 12px; }
.co-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.co-back span { display: none; }
.co-back:hover { color: var(--ink); }
.co-secure { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.co-secure span { display: none; }
@media (min-width: 560px) { .co-back span, .co-secure span { display: inline; } }

.co { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 16px 40px; }
.co > * { min-width: 0; }

/* Summary pill (phones and tablets) */
.co-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); text-align: left;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.co-pill:hover { border-color: var(--muted); }
.co-pill[aria-expanded="true"] { border-color: var(--ink); background: var(--paper); }
.co-pill-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.co-pill-text { display: flex; flex-direction: column; line-height: 1.25; }
.co-pill-text > span:first-child { font-size: 14px; font-weight: 700; }
.co-pill-count { font-size: 12px; color: var(--muted); }
.co-pill-chev { transition: transform .25s var(--ease); }
.co-pill[aria-expanded="true"] .co-pill-chev { transform: rotate(180deg); }
.co-pill-total { font-family: var(--font-price); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

.co-summary:not(.is-open) { display: none; }
.co-summary.is-open .co-summary-inner { animation: co-drop .28s var(--ease); }
@keyframes co-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.co-summary-inner { padding: 20px; border-radius: var(--r-lg); background: var(--surface); }
.co-summary-title { margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.015em; }
.co-lines { list-style: none; display: grid; gap: 14px; margin: 0 0 18px; padding: 0; }
.co-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.co-line-media { position: relative; width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--paper); }
.co-line-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.co-line-qty {
  position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: var(--pill); background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 700;
}
.co-line-text { display: grid; gap: 2px; min-width: 0; }
.co-line-name { font-size: 15px; font-weight: 600; }
.co-line-opts { font-size: 13px; color: var(--muted); }
.co-line-price { font-family: var(--font-price); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.co-totals { display: grid; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.co-totals div { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.co-totals dd { margin: 0; font-family: var(--font-price); font-variant-numeric: tabular-nums; }
.co-totals .co-grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 700; }
.co-totals .co-grand dd { font-size: 20px; font-weight: 700; }
.co-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.co-note .icon { flex: none; margin-top: 1px; }

/* Progress */
.co-progress { list-style: none; display: flex; align-items: center; gap: 8px; margin: 8px 0 18px; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.co-progress li { display: inline-flex; align-items: center; gap: 8px; }
.co-progress li + li::before { content: ""; width: 20px; height: 1px; background: var(--line); }
.co-progress li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; }
.co-progress li[aria-current="step"] { color: var(--ink); }
.co-progress li[aria-current="step"] span, .co-progress li.is-done span { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.co-progress li.is-done { color: var(--ink-2); }

.co-express { margin: 4px 0 20px; }
.co-express-title { margin-bottom: 12px; font-size: 13px; font-weight: 700; text-align: center; color: var(--muted); }
.co-express .pay-or { margin-top: 18px; }
/* One row: Apple Pay + Google Pay (Stripe's element, its own 4px margin above and below) and our Klarna button */
.co-express-row { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; align-items: center; }
.co-express-wallets { min-width: 0; }
:root { --klarna-pink: #ffa8cd; --klarna-ink: #0b051d; } /* Klarna's brand colors, from its payment badge */
.klarna-btn {
  display: grid; place-items: center; width: 100%; height: 48px; padding: 0 12px; border: 0; border-radius: 12px;
  background: var(--klarna-pink); color: var(--klarna-ink); cursor: pointer; transition: filter .15s var(--ease);
}
.klarna-btn:hover { filter: brightness(0.96); }
.klarna-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.klarna-mark { height: 20px; width: auto; }
.co-klarna-note { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.co-klarna-note button {
  padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.co-klarna-note button:disabled { opacity: .5; cursor: progress; }
.co-alert { margin-bottom: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--bad-bg); color: var(--bad); font-size: 14px; font-weight: 600; }

/* Steps */
.co-step { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: border-color .2s var(--ease); }
.co-step + .co-step { margin-top: 12px; }
.co-step.is-open { border-color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 12px 32px -24px oklch(0.215 0.012 55 / 0.35); }
.co-step-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.co-step-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }
.co-step.is-open .co-step-num, .co-step.is-done .co-step-num { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.co-step-titles { flex: 1; min-width: 0; }
.co-step-head h2 { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.015em; }
.co-step:not(.is-open):not(.is-done) h2 { color: var(--muted); }
.co-step-sum { margin-top: 2px; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-step.is-open .co-step-sum, .co-step:not(.is-done) .co-step-sum { display: none; }
.co-edit { min-height: 44px; padding: 0 4px; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.co-step-body { display: grid; gap: 16px; padding: 0 20px 22px; }
.co-step-lede { margin-top: -6px; font-size: 14px; color: var(--muted); }
.field-hint { font-size: 13px; color: var(--muted); }
.co-element { min-height: 60px; }
.co-ship { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--ink); border-radius: var(--r-sm); }
.co-ship > div { flex: 1; }
.co-ship-title { font-size: 15px; font-weight: 600; }
.co-ship-sub { font-size: 13px; color: var(--muted); }
.co-ship strong { font-size: 15px; }
.co-pay { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; font-size: 16px; }
.co-pay [data-pay-amount] { font-family: var(--font-price); font-variant-numeric: tabular-nums; }
.co-step .fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.co-step .fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

.co-empty { display: grid; justify-items: center; gap: 12px; padding-block: 72px; text-align: center; }
.co-empty h1 { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.co-empty p { color: var(--muted); margin-bottom: 8px; }
.co-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.co-foot p:last-child { display: flex; gap: 18px; }
.co-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.thanks-icon.is-warn { background: var(--bad-bg); color: var(--bad); }

@media (min-width: 1024px) {
  .co { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "flow summary"; align-items: start; gap: 56px; padding-block: 40px 64px; }
  .co-pill { display: none; }
  .co-summary, .co-summary:not(.is-open) { display: block; grid-area: summary; position: sticky; top: 24px; }
  .co-summary-inner { padding: 28px; animation: none !important; }
  .co-flow { grid-area: flow; max-width: 640px; }
  .co-step-head { padding: 22px 26px; }
  .co-step-body { padding: 0 26px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .co-summary.is-open .co-summary-inner { animation: none; }
  .co-pill-chev { transition: none; }
}

/* Checkout: own address fields + Google Places suggestions */
.co-step-lede strong { color: var(--ink); font-weight: 650; }
.co-row3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .co-row3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr); } }
.co-ac { position: relative; }
.co-ac-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; list-style: none; margin: 0; padding: 6px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  box-shadow: 0 18px 40px -18px oklch(0.215 0.012 55 / 0.35);
  overflow-y: auto; overscroll-behavior: contain; /* max-height set by checkout.js to stay above a phone's keyboard */
}
.co-ac-list .co-ac-attrib { position: sticky; bottom: -6px; background: var(--paper); } /* Google's credit stays in view */
.co-ac-list [role="option"] { display: grid; gap: 1px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.co-ac-list [role="option"]:hover, .co-ac-list [aria-selected="true"] { background: var(--surface); }
.co-ac-main { font-size: 15px; font-weight: 600; color: var(--ink); }
.co-ac-sub { font-size: 13px; color: var(--muted); }
.co-ac-attrib { padding: 8px 12px 4px; font-size: 11px; color: var(--muted); text-align: right; }
