/* Refinements, newest at the bottom. These rules sit outside the cascade layers, so they win over
   base, components and views. Keep each change in a titled block; when a block settles, it can move into its layer.
   Load order (see index.html): fonts, base, components, views, utilities, refinements. */

  /* Polish: balanced headings, no single-word last lines in product names. */
  h1, h2, h3, .display, .section__title, .band__title, .promise__title, .sheet__title { text-wrap: balance; }
  .card__title, .quad__name, .hero__lede, .section__sub, .room__line, p { text-wrap: pretty; }
  /* "No reviews yet" stays on the product page; on cards it only adds noise. */
  .card .rating--none { display: none; }
  /* Close buttons sit at the dialog edge: keep their focus ring inside so it is never cut off. */
  .sheet__head .icon-btn:focus-visible { outline-offset: -3px; }
  /* Home feed */
  .feed__grid:empty { display: none; }
  .feed__more { margin-top: 2.25rem; display: grid; justify-items: center; gap: 1.5rem; }
  .feed__more[hidden], .feed__end[hidden] { display: none; }
  .feed__skeleton { width: 100%; grid-template-rows: auto; grid-auto-rows: 0; row-gap: 0 !important; overflow: hidden; }
  .skel { display: grid; gap: 0.6rem; overflow: hidden; }
  .skel__img { aspect-ratio: 4 / 5; background: var(--chalk); }
  .skel__line { height: 0.85rem; width: 80%; background: var(--chalk); border-radius: 2px; }
  .skel__line--short { width: 45%; }
  .skel > * { background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); background-size: 200% 100%; background-repeat: no-repeat; animation: skel 1.3s linear infinite; }
  @keyframes skel { from { background-position: 150% 0; } to { background-position: -50% 0; } }
  .feed__btn { min-width: 12rem; }
  .feed__status { margin-top: 1.25rem; text-align: center; font-size: 0.875rem; color: var(--ink-2); }
  .feed__end { margin-top: 2.5rem; padding: 2.5rem 1.25rem; border-top: 1px solid var(--line); display: grid; justify-items: center; gap: 0.75rem; text-align: center; }
  .feed__end-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
  .feed__end p { max-width: 46ch; color: var(--ink-2); }
  .feed__end .feed__end-title { color: var(--ink); max-width: none; }
  .feed__top { background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; font-weight: 700; }
  .feed__top svg { transform: rotate(-90deg); }
  @media (prefers-reduced-motion: reduce) { .skel > * { animation: none; } }

  /* =====================================================================
     Storefront design layer. One system, written once; see docs/DESIGN.md.
     ===================================================================== */
  :root {
    --surface: #F4F4F2;          /* quiet panels, image backgrounds */
    --line-soft: rgb(22 22 29 / 0.09);
    --r-sm: 6px; --r-pill: 999px;
    --shadow-1: 0 1px 2px rgb(22 22 29 / 0.06), 0 6px 20px rgb(22 22 29 / 0.08);
    --t-xs: 0.75rem; --t-sm: 0.8125rem; --t-base: 0.9375rem; --t-md: 1.0625rem;
  }
  body { font-size: 1rem; }
  .photo { object-fit: cover; object-position: center; }

  /* Announcement bar */
  .perks { background: var(--ink); color: #fff; font-weight: 500; font-size: var(--t-sm); letter-spacing: 0.01em; }
  .perks__list { min-height: 2.25rem; gap: 0.25rem 3rem; }
  .perks svg { color: var(--saffron); width: 1rem; height: 1rem; }

  /* Header */
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line-soft); }
  .header__row { gap: 0.25rem; min-height: 4rem; }
  .wordmark { font-size: 1.875rem; letter-spacing: -0.025em; font-weight: 400; }
  .icon-btn svg { width: 1.375rem; height: 1.375rem; }
  @media (hover: hover) { .icon-btn:hover { background: var(--surface); } }
  .badge-count { top: 0.25rem; right: 0.125rem; background: var(--saffron); color: var(--ink); box-shadow: 0 0 0 2px #fff; }
  .lang-btn { gap: 0.5rem; font-size: var(--t-base); font-weight: 500; }
  .lang-globe { width: 1.25rem; height: 1.25rem; flex: none; }
  .subbar { gap: 0.5rem; padding-bottom: 0.75rem; }
  .search-pill, .deliver-chip { border: 0; border-radius: var(--r-pill); background: var(--surface); min-height: 2.75rem; }
  .search-pill { color: var(--ink-2); font-size: var(--t-base); }
  .deliver-chip { font-size: var(--t-sm); }
  @media (hover: hover) { .search-pill:hover, .deliver-chip:hover { background: #EAEAE6; } }
  @media (min-width: 75rem) {
    .header__row { position: relative; min-height: 4.75rem; }
    .wordmark { font-size: 2.125rem; margin-inline-end: auto; }
    .nav { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; gap: 0.25rem; }
    .nav a { font-size: var(--t-base); font-weight: 500; padding-inline: 0.875rem; letter-spacing: 0.005em; text-decoration: none !important; position: relative; }
    .nav a[aria-current="page"] { font-weight: 600; }
    .nav a::after { content: ""; position: absolute; left: 0.875rem; right: 0.875rem; bottom: 0.4rem; height: 2px; background: currentColor; transform: scaleX(0); transition: transform 180ms var(--ease); }
    .nav a[aria-current="page"]::after { transform: scaleX(1); }
    @media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
    .nav a[href="#sale"] { color: var(--sale); }
  }

  /* Buttons */
  .btn { border-radius: var(--r-sm); font-weight: 600; letter-spacing: 0.005em; }
  .btn--big { min-height: 3.25rem; padding-inline: 1.75rem; font-size: 1rem; }
  .btn--light { background: #fff; border-color: var(--ink); }
  @media (hover: hover) { .btn:not(.btn--light):not(:disabled):hover { background: #2C2C36; } .btn--light:hover { background: var(--surface); } }
  .text-link { font-weight: 600; }

  /* Section rhythm */
  .section { padding-top: 3.5rem; }
  @media (min-width: 45rem) { .section { padding-top: 5rem; } }
  .section__title { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); line-height: 1.08; }

  /* Hero: the four rooms are the brand, so the rooms are the hero */
  .hx { padding-top: 2rem; }
  .hx__grid { display: grid; gap: 1.75rem; }
  .hx__copy { display: grid; gap: 1rem; align-content: start; }
  .hx__title { font-size: clamp(2.5rem, 1.55rem + 4vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; max-width: 14ch; }
  .hx__lede { font-size: var(--t-md); line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
  .hx__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
  .hx__ctas .btn { flex: 1 1 10rem; }
  .hx__rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
  .hx__room a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
  .hx__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
  .hx__img .photo { width: 100%; height: 100%; transition: transform 500ms var(--ease); }
  @media (hover: hover) { .hx__room a:hover .photo { transform: scale(1.04); } }
  .hx__label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.125rem 0.75rem; padding: 0.75rem 0.875rem 0.875rem; background: var(--room); color: var(--ink); }
  .hx__label.on-dark { color: #fff; }
  .hx__name { font-family: var(--display); font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.1; }
  .hx__count { font-size: var(--t-sm); font-weight: 500; opacity: 0.85; }
  .hx__room a:focus-visible { outline-offset: 4px; }
  @media (max-width: 63.99rem) { .hx__label { flex-direction: column; align-items: flex-start; } }
  @media (min-width: 64rem) {
    .hx { padding-top: 3rem; }
    .hx__copy { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 4rem; align-items: end; }
    .hx__title { grid-row: span 2; max-width: 12ch; }
    .hx__lede { align-self: end; }
    .hx__ctas { margin-top: 0; }
    .hx__ctas .btn { flex: 0 1 auto; }
    .hx__rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
    .hx__img { aspect-ratio: 3 / 4; }
    .hx__label { padding: 1rem 1.125rem 1.125rem; }
  }

  /* Product cards */
  .card__media { background: var(--surface); }
  .card__media .photo { transition: transform 500ms var(--ease); }
  @media (hover: hover) { .card:hover .card__media .photo { transform: scale(1.035); } }
  .card__body { gap: 0.25rem; padding-top: 0.75rem; }
  .card__brand { font-size: var(--t-xs); letter-spacing: 0.02em; color: var(--ink-2); }
  .card__title { font-size: var(--t-base); line-height: 1.35; min-height: 2.7em; }
  .card__price { font-size: var(--t-base); }
  .card__ship { font-size: var(--t-sm); color: var(--ink-2); }
  .card__cta { border-radius: var(--r-pill); box-shadow: var(--shadow-1); border: 0; font-size: var(--t-sm); font-weight: 600; }
  .tag { border-radius: var(--r-pill); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.2rem 0.55rem; }

  /* New-in rail */
  .rail__head, .feed__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
  .rail__ctl { display: flex; align-items: center; gap: 0.5rem; }
  .rail__all { font-weight: 600; font-size: var(--t-base); margin-inline-end: 0.75rem; text-underline-offset: 0.3em; display: inline-flex; align-items: center; min-height: var(--tap); }
  .rail__btn { display: none; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; }
  .rail__btn svg { width: 1.25rem; height: 1.25rem; }
  .rail__btn--prev svg { transform: scaleX(-1); }
  @media (hover: hover) { .rail__btn:hover { border-color: var(--ink); background: var(--surface); } }
  @media (min-width: 45rem) { .rail__btn { display: inline-grid; } }
  .rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 0.75rem) / 1.6); gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 0.25rem; }
  .rail__track::-webkit-scrollbar { display: none; }
  .rail__track > li { scroll-snap-align: start; }
  @media (min-width: 45rem) { .rail__track { grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; } }
  @media (min-width: 64rem) { .rail__track { grid-auto-columns: calc((100% - 4.5rem) / 4); } }

  /* Promise band */
  .promise { background: var(--forest); margin-top: 4.5rem; }
  .promise__title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); line-height: 1.04; max-width: 16ch; }
  .promise__points { display: grid; gap: 1.25rem; margin-top: 2rem; }
  .promise__points li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.875rem; align-items: start; }
  .promise__points li > svg { width: 1.5rem; height: 1.5rem; color: var(--saffron); margin-top: 0.05rem; }
  .promise__points li div { display: grid; gap: 0.2rem; }
  .promise__points b { font-weight: 600; }
  .promise__points span { color: rgb(255 255 255 / 0.8); font-size: var(--t-base); }
  .receipt { border-radius: var(--r-sm); }

  /* Shop everything feed */
  .feed__chips { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 0.25rem; margin: -0.25rem; }
  .feed__chips::-webkit-scrollbar { display: none; }
  .fchip { flex: none; min-height: 2.5rem; padding: 0 1.125rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: inherit; font-size: var(--t-base); font-weight: 500; cursor: pointer; white-space: nowrap; }
  .fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  @media (hover: hover) { .fchip[aria-pressed="false"]:hover { border-color: var(--ink); } }
  .feed__end { border-top: 1px solid var(--line-soft); }

  /* Room and list pages */
  .band { padding-block: 2.5rem 2rem; }
  .band__title { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); letter-spacing: -0.02em; }
  .band__line { margin-top: 0.5rem; }
  .chip { border-radius: var(--r-pill); }
  @media (min-width: 30rem) { .toolbar label { flex-wrap: nowrap; } }
  .hx__ctas .btn { white-space: nowrap; }

  /* Product dialog: the photo fills its frame, never letterboxed */
  .pd__media { background: var(--surface); overflow: hidden; }
  @media (max-width: 44.99rem) { .pd__media { aspect-ratio: 1 / 1; height: auto; max-height: 46svh; width: 100%; } }

  /* Footer */
  .footer { display: flex; flex-direction: column; margin-top: 6rem; }
  .footer__news { order: -1; border-top: 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); padding-block: 3rem; }
  .footer__news h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
  .news-form input { border-radius: var(--r-sm); height: 3.25rem; }
  .news-form .btn { height: 3.25rem; }
  @media (min-width: 64rem) {
    .footer__news { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); align-items: end; column-gap: 4rem; }
    .footer__main { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 4rem; padding-block: 3.5rem 3rem; }
  }
  .footer .footer__h { font-size: var(--t-sm); font-weight: 600; color: #fff; letter-spacing: 0.01em; }
  .footer__links { gap: 0; }
  .footer .footer__links a, .footer .footer__links .link-btn { min-height: 2.5rem; font-size: var(--t-base); }
  .care__mail { font-size: 1.0625rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
  .footer__bottom { padding-block: 1.5rem 2.25rem; }
  .footer__pay { flex-basis: 100%; order: -1; }
  .pay-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .pay-list li { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 0.625rem; border: 1px solid rgb(255 255 255 / 0.28); border-radius: 4px; font-size: var(--t-xs); font-weight: 600; color: rgb(255 255 255 / 0.9); }
  .footer .lang-btn { margin-inline: 0; padding-inline: 0; color: #fff; }
  .footer .lang-globe { color: var(--saffron); }
  .size, .select, .field input, .field textarea, .field select { border-radius: var(--r-sm); }
  .lang-hint .lang-globe { width: 1.5rem; height: 1.5rem; }
  @media (prefers-reduced-motion: reduce) { .hx__img .photo, .card__media .photo, .nav a::after { transition: none; } }

  /* =====================================================================
     Header chrome: announcement, menu, country and language
     ===================================================================== */
  html { scrollbar-gutter: stable; }
  .announce { background: var(--ink); color: #fff; }
  .announce__line { display: block; margin: 0 auto; line-height: 2.25rem; text-align: center; font-size: clamp(0.6875rem, 0.52rem + 0.8vw, 0.8125rem); font-weight: 500; letter-spacing: 0.01em; word-spacing: 0.12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  @media (max-width: 22.49rem) { .announce__line { padding-inline: max(0.5rem, env(safe-area-inset-left)); letter-spacing: 0; word-spacing: 0; } }
  .menu-btn { display: inline-flex; align-items: center; gap: 0.375rem; min-height: var(--tap); min-width: var(--tap); margin-inline-start: -0.5rem; padding: 0 0.625rem 0 0.5rem; border: 0; border-radius: var(--r-sm); background: none; color: inherit; font: inherit; font-size: var(--t-base); font-weight: 600; cursor: pointer; }
  .menu-btn svg { width: 1.5rem; height: 1.5rem; flex: none; }
  @media (hover: hover) { .menu-btn:hover { background: var(--surface); } }
  @media (max-width: 22.49rem) { .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .menu-btn { padding-inline: 0.5rem; } }
  @media (min-width: 75rem) { .menu-btn { display: none; } }

  .flag { display: block; flex: none; width: 1.375rem; height: auto; aspect-ratio: 3 / 2; border-radius: 2px; box-shadow: 0 0 0 1px rgb(22 22 29 / 0.14); }
  .flag--none { box-shadow: none; }
  .region-pill { word-spacing: 0.12em; display: inline-flex; align-items: center; gap: 0.5rem; flex: none; min-height: var(--tap); padding: 0 0.875rem; border: 0; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; cursor: pointer; }
  @media (hover: hover) { .region-pill:hover { background: #EAEAE6; } }
  .region-pill--header { display: none; }
  @media (min-width: 75rem) { .region-pill--header { display: inline-flex; background: none; } }
  .region-pill--dark { background: rgb(255 255 255 / 0.1); color: #fff; }
  .region-pill--dark .flag { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.24); }
  @media (hover: hover) { .region-pill--dark:hover { background: rgb(255 255 255 / 0.18); } }
  .subbar .search-pill { flex: 1 1 auto; min-width: 0; }

  /* Country and language: bottom sheet on phones, centred 480 px panel from tablets up */
  .sheet--region { overflow: hidden; }
  .sheet--region .sheet__head { flex: none; }
  .region-search { position: relative; flex: none; padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--line-soft); }
  .region-search svg { position: absolute; left: 2rem; top: 50%; width: 1.25rem; height: 1.25rem; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
  .region-search input { width: 100%; height: var(--tap); padding: 0 1rem 0 2.75rem; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; }
  .region-search input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; background: var(--paper); border-color: var(--line-strong); }
  .region-body { flex: 1 1 auto; min-height: 0; gap: 1.5rem; padding-top: 1rem; }
  .region-body section[hidden] { display: none; }
  .region-h { margin: 0 0 0.375rem 0.75rem; font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
  .region-list li[hidden] { display: none; }
  .region-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 1.25rem; align-items: center; gap: 0.75rem; width: 100%; min-height: 3rem; padding: 0.375rem 0.75rem; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); font: inherit; font-size: 1rem; text-align: start; cursor: pointer; }
  @media (hover: hover) { .region-opt:hover { background: var(--surface); } }
  .region-opt[aria-pressed="true"] { font-weight: 600; background: var(--surface); }
  .region-opt__name { overflow-wrap: anywhere; }
  .region-opt__sub { font-size: var(--t-sm); font-weight: 400; color: var(--ink-2); }
  .region-opt__check { grid-column: 4; width: 1.25rem; height: 1.25rem; opacity: 0; }
  .region-opt[aria-pressed="true"] .region-opt__check { opacity: 1; }
  .region-opt__code { display: block; width: 1.375rem; font-size: 0.625rem; font-weight: 700; line-height: 0.9375rem; text-align: center; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
  .region-note, .region-none { margin: 0; padding-inline: 0.75rem; font-size: var(--t-sm); color: var(--ink-2); }
  @media (max-width: 44.99rem) {
    .sheet--region { max-height: calc(85dvh - var(--kb, 0px)); border-radius: 1rem 1rem 0 0; }
    .sheet--region .region-body { padding-bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 0.75rem)); }
  }
  @media (min-width: 45rem) { .sheet--region { width: min(30rem, calc(100vw - 2rem)); max-height: min(85dvh, 44rem); border-radius: 0.75rem; } }

  /* Menu: full height on every screen */
  @media (max-width: 44.99rem) {
    .sheet--menu { height: 100dvh; max-height: 100dvh; margin: 0; }
    .sheet--menu .sheet__head { padding-top: max(0.5rem, env(safe-area-inset-top)); }
  }
  .menu-body { flex: 1 1 auto; gap: 1.75rem; padding-bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1rem)); }
  .menu-row { display: flex; align-items: center; gap: 0.875rem; width: 100%; min-height: 3.25rem; padding: 0; border: 0; border-bottom: 1px solid var(--line-soft); background: none; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 500; text-align: start; cursor: pointer; list-style: none; }
  .menu-row::-webkit-details-marker { display: none; }
  .menu-row__icon { width: 1.375rem; height: 1.375rem; flex: none; }
  .menu-row .flag.menu-row__icon { height: auto; }
  .menu-row__label { flex: 1 0 auto; white-space: nowrap; }
  .menu-row__value + .menu-row__chev, .menu-row__value { margin-inline-start: auto; }
  @media (max-width: 22.49rem) { .menu-row__value { display: none; } }
  .menu-row__value { word-spacing: 0.1em; flex: 0 1 auto; min-width: 0; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-sm); font-weight: 400; color: var(--ink-2); }
  .menu-row__chev { width: 1.125rem; height: 1.125rem; flex: none; color: var(--ink-2); transition: transform 180ms var(--ease); }
  .menu-more[open] > .menu-row .menu-row__chev { transform: rotate(90deg); }
  .menu-more__list { padding: 0.25rem 0 0.5rem; }
  .menu-more__list .link-btn { display: flex; align-items: center; width: 100%; min-height: var(--tap); font-size: var(--t-base); color: var(--ink-2); text-align: start; }
  @media (prefers-reduced-motion: reduce) { .menu-row__chev { transition: none; } }

  /* =====================================================================
     Product cards, price tag, size sheet
     Colour roles: --action (ink) fills primary actions only; --sale marks reductions; --ok (green) is only for
     stock and confirmation. Ink on white: 18.9:1. White on --ok: 6.3:1. --sale on white: 5.9:1.
     ===================================================================== */
  :root { --action: var(--ink); --on-action: #fff; --confirm: var(--ok); }

  .card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
  .card__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 0.6) 50%, transparent 100%) var(--surface); background-size: 200% 100%; background-repeat: no-repeat; animation: skel 1.3s linear infinite; }
  .card__media.is-loaded::before, .card__media:empty::before { content: none; }
  .card__media .photo { position: relative; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 200ms var(--ease), transform 500ms var(--ease); }
  .card__media.is-loaded .photo { opacity: 1; }
  .card__body { display: grid; gap: 0.375rem; padding-top: 0.75rem; }
  .card__title { margin: 0; font-size: var(--t-base); font-weight: 400; line-height: 1.35; min-height: 2.7em; }
  .card__buy { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: var(--tap); }

  .ptag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.125rem 0.5rem; min-width: 0; margin: 0; font-variant-numeric: tabular-nums; }
  .ptag__now { font-size: 1.0625rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
  .ptag__now--sale { color: var(--sale); }
  .ptag__was { font-size: var(--t-sm); color: var(--ink-2); text-decoration-thickness: 1px; white-space: nowrap; }
  .ptag__off { font-size: var(--t-sm); font-weight: 700; color: var(--sale); white-space: nowrap; }
  .pd__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; }
  .pd__price .ptag { gap: 0.25rem 0.75rem; }
  .pd__price .ptag__now { font-size: clamp(1.75rem, 1.45rem + 1.1vw, 2.25rem); line-height: 1.1; }
  .pd__price .ptag__was, .pd__price .ptag__off { font-size: 1rem; }
  .pd__vat { font-size: var(--t-sm); color: var(--ink-2); }

  /* The card's one action: a 44 px round button beside the price */
  .card .card__cta { position: relative; inset: auto; z-index: 2; flex: none; display: grid; place-items: center; width: var(--tap); height: var(--tap); min-width: 0; max-width: none; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: none; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
  .card .card__cta svg { display: block; width: 1.25rem; height: 1.25rem; }
  @media (hover: hover) { .card .card__cta:hover { background: var(--action); border-color: var(--action); color: var(--on-action); } }
  .card .card__cta.is-done { background: var(--confirm); border-color: var(--confirm); color: #fff; animation: cta-pop 180ms var(--ease); }
  @keyframes cta-pop { 50% { transform: scale(1.1); } }
  .card__state { flex: none; font-size: var(--t-sm); color: var(--ink-2); }

  /* Size sheet */
  .size-sheet { gap: 1.25rem; }
  .size-sheet__item { display: grid; grid-template-columns: 4rem minmax(0, 1fr); align-items: center; gap: 0.875rem; }
  .size-sheet__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
  .size-sheet__img .photo { width: 100%; height: 100%; object-fit: cover; }
  .size-sheet__name { margin: 0 0 0.25rem; font-weight: 500; line-height: 1.35; }
  .sheet--size .size-hint { margin: 0; }
  .size { border-radius: var(--r-sm); min-height: 3rem; }
  .size[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--on-action); }
  .size:disabled { cursor: not-allowed; text-decoration: line-through; }
  .btn[aria-disabled="true"] { background: var(--surface); border-color: var(--line-strong); color: var(--ink-2); cursor: not-allowed; }
  @media (min-width: 45rem) { .sheet--size { width: min(28rem, calc(100vw - 2rem)); border-radius: 0.75rem; } }
  @media (max-width: 44.99rem) { .sheet--size { border-radius: 1rem 1rem 0 0; } }

  /* Compact confirmation after adding: one action, View basket */
  .added__actions { grid-template-columns: 1fr; }
  .added__actions .btn--light { display: none; }

  /* View all: one text link with a chevron, everywhere */
  .view-all { display: inline-flex; align-items: center; gap: 0.25rem; min-height: var(--tap); font-size: var(--t-base); font-weight: 600; color: var(--ink); text-decoration: none; }
  .view-all svg { width: 1.125rem; height: 1.125rem; flex: none; transition: transform 160ms var(--ease); }
  @media (hover: hover) { .view-all:hover { text-decoration: underline; text-underline-offset: 0.25em; } .view-all:hover svg { transform: translateX(2px); } }
  .rail__ctl .view-all { margin-inline-end: 0.5rem; }

  @media (prefers-reduced-motion: reduce) {
    .card__media::before { animation: none; }
    .card__media .photo, .card .card__cta, .view-all svg { transition: none; }
    .card .card__cta.is-done { animation: none; }
  }

  /* =====================================================================
     App feel: tab bar, tucking header, back to top, feed skeletons
     ===================================================================== */
  :root { --tabbar-h: 3.5rem; }
  html { -webkit-tap-highlight-color: transparent; }
  /* Installed to the home screen: no rubber-band bounce or pull-to-refresh on the page itself. In the browser the
     shopper keeps pull-to-refresh; inner scroll areas never pass their scroll on to the page. */
  @media (display-mode: standalone) { html, body { overscroll-behavior-y: none; } }
  .sheet__body, .region-body, .rail__track, .feed__chips { overscroll-behavior: contain; }

  .header { transition: transform 200ms var(--ease); }
  .header.is-tucked { transform: translateY(-100%); }

  .card--skel { pointer-events: none; }
  .card--skel .card__media:empty::before { content: ""; }
  .skel-line { display: block; height: 0.8em; width: 85%; margin: 0.2em 0 0.45em; border-radius: 3px; background: var(--surface); }
  .skel-line--short { width: 55%; }
  .skel-line--price { width: 4rem; height: 1.0625rem; margin: 0; }

  .tabbar { display: none; }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1875rem; min-width: 0; min-height: var(--tabbar-h); padding: 0.375rem 0.125rem; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 0.6875rem; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; }
  .tab > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tab svg { display: block; width: 1.5rem; height: 1.5rem; }
  .tab[aria-current="page"], .tab.is-active { color: var(--ink); font-weight: 600; }
  .tab:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
  .tab__icon { position: relative; display: block; }
  .tab__icon .badge-count { top: -0.375rem; right: -0.75rem; }
  @media (max-width: 63.99rem) {
    body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
    .tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0 max(0.25rem, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(0.25rem, env(safe-area-inset-left)); background: rgb(255 255 255 / 0.97); border-top: 1px solid var(--line-soft); }
    .cookie { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 0.75rem); }
    /* The room for the tab bar sits inside the dark footer, not as a white band under it. */
    body:has(.footer) { padding-bottom: 0; }
    .footer::after { content: ""; display: block; flex: none; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  }

  .to-top { position: fixed; z-index: 39; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); cursor: pointer; }
  .to-top[hidden] { display: none; }
  .to-top svg { width: 1.25rem; height: 1.25rem; transform: rotate(-90deg); }
  @media (hover: hover) { .to-top:hover { border-color: var(--ink); } }
  @media (max-width: 63.99rem) { .to-top { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 0.75rem); } }
  html:has(dialog[open]) :is(.tabbar, .to-top) { display: none; }

  .cat-list { display: grid; }
  .cat-row { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
  .cat-row--plain { min-height: 3.5rem; }
  .cat-row__img { flex: none; width: 3.5rem; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); }
  .cat-row__img .photo { width: 100%; height: 100%; object-fit: cover; }
  .cat-row__text { flex: 1 1 auto; display: grid; gap: 0.125rem; min-width: 0; }
  .cat-row__name { font-family: var(--display); font-size: 1.375rem; line-height: 1.15; }
  .cat-row__count { font-size: var(--t-sm); color: var(--ink-2); }
  @media (hover: hover) { .cat-row:hover .cat-row__name { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; } }

  @media (prefers-reduced-motion: reduce) { .header { transition: none; } }

  /* =====================================================================
     Footer: newsletter, trust row, groups (accordions below 1024 px), social, payments, legal line
     ===================================================================== */
  .footer { --ft-line: rgb(255 255 255 / 0.12); --ft-muted: rgb(255 255 255 / 0.72); margin-top: 5rem; }
  .ft-news { display: grid; gap: 1rem; padding-block: 2.5rem 2rem; }
  .ft-news__title { margin: 0 0 0.375rem; font-family: var(--display); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 400; line-height: 1.1; }
  .ft-news__text p { margin: 0; color: var(--ft-muted); font-size: var(--t-base); }
  .ft-news__form .news-form__row input, .ft-news__form .btn { height: 3rem; }
  .ft-news__form .news-form__row input { border-radius: var(--r-sm); }
  .ft-news__form .news-form__row input::placeholder { color: rgb(255 255 255 / 0.6); }

  .ft-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem 2rem; padding-block: 1.75rem; border-block: 1px solid var(--ft-line); }
  .ft-trust li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.875rem; align-items: start; }
  .ft-trust li[hidden] { display: none; }
  .ft-trust svg { width: 1.5rem; height: 1.5rem; color: #fff; }
  .ft-trust div { display: grid; gap: 0.125rem; min-width: 0; }
  .ft-trust b { font-weight: 600; }
  .ft-trust span { color: var(--ft-muted); font-size: var(--t-sm); }
  .ft-trust__mail { display: inline-block; justify-self: start; margin-block: -0.625rem; padding-block: 0.625rem; color: #fff; font-weight: 600; text-underline-offset: 0.2em; overflow-wrap: anywhere; }

  .ft-main { display: grid; gap: 1.25rem; padding-block: 1.75rem 0.5rem; }
  .ft-brand .footer__line { margin-top: 0.375rem; font-size: var(--t-sm); }
  .ft-group { border-bottom: 1px solid var(--ft-line); }
  .ft-group__h { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; list-style: none; cursor: pointer; font-size: 1rem; font-weight: 600; }
  .ft-group__h::-webkit-details-marker { display: none; }
  .ft-links { display: grid; padding-bottom: 0.75rem; }
  .footer .ft-links a, .footer .ft-links .link-btn { display: flex; align-items: center; min-height: var(--tap); color: rgb(255 255 255 / 0.78); font-size: var(--t-base); text-align: start; text-decoration: none; }
  @media (hover: hover) { .footer .ft-links a:hover, .footer .ft-links .link-btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; } }

  .ft-social { padding-block: 1.5rem; }
  .ft-social__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
  .ft-social__item { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: var(--tap); min-height: var(--tap); padding: 0 0.875rem; border: 1px solid rgb(255 255 255 / 0.22); border-radius: var(--r-pill); color: #fff; font-size: var(--t-sm); font-weight: 600; text-decoration: none; }
  .ft-social__item img { width: 1.5rem; height: 1.5rem; }
  .ft-social__item.is-off { cursor: default; }
  @media (hover: hover) { a.ft-social__item:hover { background: rgb(255 255 255 / 0.1); } }

  /* Room at the very bottom for the floating Back to top button, so it never sits on the footer's last row. */
  .ft-bottom { display: grid; justify-items: center; gap: 1rem; padding-block: 1.5rem calc(4.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--ft-line); font-size: var(--t-sm); color: rgb(255 255 255 / 0.68); text-align: center; }
  .ft-pay .pay-list { justify-content: center; }
  .pay-list li.has-logo { padding: 0 0.375rem; background: #fff; }
  .pay-list li.has-logo img { display: block; height: 1.25rem; width: auto; }
  .ft-legal { display: grid; gap: 0.25rem; }
  .ft-legal p { margin: 0; }

  @media (min-width: 64rem) {
    .ft-news { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: center; column-gap: 4rem; padding-block: 3rem 2.5rem; }
    .ft-main { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 4rem; padding-block: 2.5rem 1rem; }
    .ft-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
    .ft-group { border: 0; }
    .ft-group__h { min-height: 0; margin-bottom: 0.5rem; cursor: default; font-size: var(--t-sm); }
    .ft-links { padding: 0; }
    .footer .ft-links a, .footer .ft-links .link-btn { min-height: 2.25rem; }
    .ft-social__list { justify-content: flex-start; }
    .ft-bottom { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); justify-items: stretch; align-items: center; text-align: start; }
    .ft-pay .pay-list { justify-content: flex-start; }
    .ft-legal { text-align: center; }
    .ft-bottom .footer__prefs { justify-self: end; }
  }

  /* =====================================================================
     Fixes: listing price note, sort row, feed width, home-screen Back, social row
     ===================================================================== */
  .toolbar__count { display: grid; gap: 0.125rem; }
  .toolbar__note, .list-note { font-size: var(--t-sm); color: var(--ink-2); }
  .list-note { margin: 0.25rem 0 0; }
  .toolbar label { flex-wrap: nowrap; }
  .toolbar .select { min-width: 9.5rem; }
  /* The home feed loads 12 at a time, so it keeps to 4 columns at most: every batch fills whole rows. */
  @media (min-width: 110rem) { .feed__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .app-back svg { transform: scaleX(-1); }
  .app-back[hidden] { display: none; }
  .app-back:not([hidden]) + .menu-btn .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* Social row: six equal outlined pills, three across on phones, one row from tablets up */
  .ft-social__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.625rem; }
  .ft-social__list li { display: flex; }
  .ft-social__item { flex: 1 1 auto; min-height: 3rem; padding: 0 0.75rem; border: 1px solid rgb(255 255 255 / 0.3); border-radius: var(--r-pill); background: rgb(255 255 255 / 0.04); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
  .ft-social__out { width: 0.875rem; height: 0.875rem; flex: none; transform: rotate(-45deg); opacity: 0.8; }
  @media (hover: hover) { a.ft-social__item:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; } }
  @media (min-width: 45rem) { .ft-social__list { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 48rem; } }
  @media (min-width: 64rem) { .ft-social__list { margin: 0; } }
  @media (max-width: 63.99rem) { .ft-social__list { margin-inline: auto; } }
  @media (prefers-reduced-motion: reduce) { .ft-social__item { transition: none; } }

  /* =====================================================================
     Header v3: logo, search, account and basket; a scrolling category strip underneath
     Icon sizes, everywhere: 24 px for controls, 20 px inside buttons and rows, 16 px inline.
     ===================================================================== */
  .header .header__row { display: flex; flex-wrap: nowrap; align-items: center; gap: 0.25rem; min-height: 3.5rem; position: static; }
  .header .wordmark { font-size: 1.75rem; margin-inline-end: auto; line-height: 1; }
  .header .icon-btn { width: var(--tap); height: var(--tap); }
  .header .icon-btn svg, .menu-btn svg { width: 1.5rem; height: 1.5rem; }
  .header-search { display: none; }
  .search-field { display: none; }
  @media (max-width: 63.99rem) { .header-account { display: none; } }
  @media (min-width: 64rem) {
    .header .header__row { min-height: 4.5rem; gap: 0.75rem; }
    .header .wordmark { font-size: 2rem; margin-inline-end: 1rem; }
    .search-field { display: flex; align-items: center; flex: 1 1 auto; max-width: 40rem; height: 2.875rem; margin-inline: auto; padding: 0 0.25rem 0 1.25rem; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--paper); color: var(--ink-2); font: inherit; font-size: var(--t-base); text-align: start; cursor: text; }
    .search-field > span:first-child { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .search-field__go { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--action); color: var(--on-action); flex: none; }
    .search-field__go svg { width: 1.125rem; height: 1.125rem; }
    @media (hover: hover) { .search-field:hover { background: var(--surface); } }
    .header .region-pill--header { display: inline-flex; background: none; }
    .subbar { display: none; }
    .menu-btn { display: none; }
  }
  .subbar .search-pill { border: 1.5px solid var(--ink); background: var(--paper); }
  .subbar .search-pill svg { width: 1.25rem; height: 1.25rem; }

  /* Category strip: one row; scrolls sideways on narrow screens with a soft fade at the edge */
  .catbar { border-top: 1px solid var(--line-soft); }
  .header .catbar__nav { position: static; transform: none; display: flex; flex-wrap: nowrap; gap: 0.25rem; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); }
  .header .catbar__nav::-webkit-scrollbar { display: none; }
  .header .catbar__nav a { position: relative; flex: none; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 0.75rem; color: var(--ink); font-size: var(--t-base); font-weight: 500; white-space: nowrap; text-decoration: none; }
  .header .catbar__nav a:first-child { padding-inline-start: 0; }
  .header .catbar__nav a::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.375rem; height: 2px; background: currentColor; transform: scaleX(0); transition: transform 180ms var(--ease); }
  .header .catbar__nav a:first-child::after { left: 0; }
  .header .catbar__nav a[aria-current="page"] { font-weight: 600; }
  .header .catbar__nav a[aria-current="page"]::after { transform: scaleX(1); }
  @media (hover: hover) { .header .catbar__nav a:hover::after { transform: scaleX(1); } }
  .header .catbar__nav .nav__sale { color: var(--sale); }
  .header .catbar__nav:not(.is-scrollable) { -webkit-mask-image: none; mask-image: none; }
  @media (prefers-reduced-motion: reduce) { .header .catbar__nav a::after { transition: none; } }

  /* =====================================================================
     Audit fixes: one icon scale, 44 px targets, compact menu and title bands
     Icons: 24 px for stand-alone controls and row icons, 20 px inside buttons and for row chevrons,
     16 px next to text links. Empty-state icon 32 px.
     ===================================================================== */
  .icon-btn svg { width: 1.5rem; height: 1.5rem; }
  .menu-row__icon { width: 1.5rem; height: 1.5rem; }
  .menu-row .flag.menu-row__icon { width: 1.5rem; height: auto; }
  .menu-row__chev, .cat-row .menu-row__chev { width: 1.25rem; height: 1.25rem; }
  .search-field__go svg, .search-pill svg, .region-search svg, .rail__btn svg, .card .card__cta svg { width: 1.25rem; height: 1.25rem; }
  .view-all svg { width: 1rem; height: 1rem; }
  .fchip { min-height: var(--tap); }
  .menu-list a { min-height: 3.25rem; font-size: 1.375rem; }
  .band:not(:has(.band__line)) { padding-block: 2rem 1.5rem; }
  .band:not(:has(.band__line)) .band__title { font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); }
  .search-pill .sp-short { display: none; }
  @media (max-width: 22.49rem) { .search-pill .sp-long { display: none; } .search-pill .sp-short { display: inline; } }

  /* =====================================================================
     Bug-hunt fixes
     ===================================================================== */
  /* Header: one compact row on phones (menu, logo, country flag, basket); search lives in the tab bar */
  .header .header__row { min-height: 3.25rem; gap: 0.125rem; }
  .menu-btn { margin-inline-start: -0.625rem; }
  .menu-btn svg { width: 1.5rem; height: 1.5rem; }
  .header .region-pill--header { display: inline-flex; }
  @media (max-width: 63.99rem) {
    .header .region-pill--header { width: var(--tap); height: var(--tap); padding: 0; justify-content: center; background: none; }
    .header .region-pill--header .region-pill__code { display: none; }
    .header .region-pill--header .flag { width: 1.5rem; }
  }
  @media (min-width: 64rem) { .header .header__row { min-height: 4.5rem; } }
  .catbar__nav a { min-height: var(--tap); }

  /* Price promise on home: three quiet points, no example receipt */
  .promise { background: var(--surface); color: var(--ink); padding-block: 2.5rem; margin-top: 4rem; }
  .promise .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 0; }
  .promise__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); max-width: none; }
  .promise__points { margin-top: 0; gap: 1.25rem; }
  .promise__points li > svg { color: var(--ink); }
  .promise__points span { color: var(--ink-2); }
  @media (min-width: 64rem) { .promise__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

  /* Cards: a long state ("Can't be ordered yet") wraps under the price instead of running over it */
  .card__buy { flex-wrap: wrap; row-gap: 0.25rem; }
  .card__state { flex: 1 1 100%; white-space: normal; line-height: 1.3; }
  .card__buy > .ptag { flex: 1 1 0; min-width: 0; }

  /* Back to top never sits on the cookie banner */
  body:has(#cookie-bar:not([hidden])) .to-top { display: none; }

  /* Tab labels at the platform size, so every language fits on a 320 px screen */
  .tab { font-size: 0.625rem; letter-spacing: 0; padding-inline: 0; }

  /* Country & language: two plain choices */
  .region-form { gap: 1.25rem; padding-bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1rem)); }
  .region-form label { display: block; margin-bottom: 0.375rem; font-size: var(--t-sm); font-weight: 600; }
  .region-form .select { width: 100%; min-height: 3rem; font-size: 1rem; border-radius: var(--r-sm); }
  .rg-select { position: relative; }
  .rg-select .flag { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); width: 1.5rem; pointer-events: none; }
  .rg-select .select { padding-inline-start: 3rem; }
  /* Short sheets size to their content (a dialog with top and bottom set would otherwise stretch) */
  .sheet--region, .sheet--size { height: fit-content; }
  @media (min-width: 45rem) { .sheet--region { width: min(30rem, calc(100vw - 2rem)); } }

  /* =====================================================================
     Allbirds-level polish: top line, first visit, cookies, sort, search, account, empty basket
     ===================================================================== */
  /* Top line: one message at a time, arrows at the edges, a swipe also works */
  .announce { background: var(--ink); color: #fff; }
  .announce .announce__row { display: grid; grid-template-columns: var(--tap) minmax(0, 1fr) var(--tap); align-items: center; min-height: 2.75rem; padding-inline: max(0.125rem, env(safe-area-inset-left)) max(0.125rem, env(safe-area-inset-right)); }
  .announce__line { grid-column: 2; margin: 0; text-align: center; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1.3; padding-block: 0.375rem; overflow-wrap: anywhere; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
  .announce__btn { display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%; background: none; color: rgb(255 255 255 / 0.8); cursor: pointer; }
  .announce__btn:last-child { grid-column: 3; }
  .announce__btn[hidden] { display: grid; visibility: hidden; }
  .announce__btn svg { width: 1rem; height: 1rem; }
  .announce__btn--prev svg { transform: scaleX(-1); }
  @media (hover: hover) { .announce__btn:hover { color: #fff; } }
  .announce__btn:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
  .announce__line.is-swap { animation: ann-in 280ms var(--ease); }
  @keyframes ann-in { from { opacity: 0; transform: translateX(var(--ann-from, 0.75rem)); } }
  @media (min-width: 64rem) { .announce__line { font-size: 0.875rem; } .announce .announce__row { max-width: 44rem; } }

  /* Cookie notice: a calm card with two equal choices and a way to fine-tune */
  .cookie { left: 0.75rem; right: 0.75rem; max-width: 26rem; padding: 1.125rem 1.125rem 1rem; gap: 0.5rem; border-radius: 1rem; background: var(--paper); box-shadow: 0 0 0 1px rgb(22 22 29 / 0.06), 0 0.75rem 2.5rem rgb(22 22 29 / 0.18); animation: cookie-in 320ms var(--ease) both; }
  .cookie__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block: -0.5rem -0.25rem; }
  .cookie .cookie__title { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; font-family: var(--sans); font-size: 1rem; font-weight: 700; }
  .cookie__manage { font-size: var(--t-base); font-weight: 600; color: var(--ink); }
  .cookie .cookie__text { font-size: var(--t-base); line-height: 1.5; color: var(--ink-2); }
  .cookie .cookie__actions { margin-top: 0.375rem; gap: 0.5rem; }
  .cookie .cookie__actions .btn { min-height: 2.875rem; border-radius: var(--r-pill); font-size: var(--t-base); padding-inline: 0.75rem; }
  @keyframes cookie-in { from { opacity: 0; transform: translateY(1rem); } }
  @media (min-width: 45rem) { .cookie { left: var(--gutter); right: auto; width: 26rem; padding: 1.375rem 1.5rem 1.25rem; } }

  /* Listing head: title, count and the sort pill on one line */
  .list-head { padding-block: 1.5rem 1rem; }
  /* Phones: title on its own line, then the count beside the sort pill. Wider: title beside the pill. */
  .list-head__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "meta sort" "line line"; align-items: center; column-gap: 1rem; }
  .list-head__title { grid-area: title; }
  .list-head .sort { grid-area: sort; margin-top: 0.75rem; }
  .list-head__meta { grid-area: meta; }
  .list-head__line { grid-area: line; }
  .list-head__row:not(:has(.sort)) .list-head__meta { grid-column: 1 / -1; }
  @media (min-width: 45rem) {
    .list-head__row { grid-template-areas: "title sort" "meta meta" "line line"; }
    .list-head .sort { margin-top: 0; }
  }
  .list-head__title { font-size: clamp(1.875rem, 1.45rem + 1.8vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; overflow-wrap: break-word; hyphens: auto; }
  .list-head__meta { display: flex; flex-wrap: wrap; align-self: center; gap: 0.125rem 0.75rem; margin: 0.75rem 0 0; font-size: var(--t-sm); line-height: 1.35; color: var(--ink-2); }
  .list-head__meta > span:first-child { color: var(--ink); font-weight: 600; }
  .list-head__line { margin: 0.5rem 0 0; max-width: 52ch; font-size: var(--t-sm); color: var(--ink-2); }
  .sort { position: relative; flex: none; display: inline-flex; align-items: center; gap: 0.375rem; min-height: var(--tap); padding: 0 0.75rem 0 0.875rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--paper); font-size: var(--t-base); font-weight: 600; white-space: nowrap; }
  .sort__icon { width: 1rem; height: 1rem; flex: none; }
  .sort__chev { width: 1rem; height: 1rem; flex: none; transform: rotate(90deg); color: var(--ink-2); }
  .sort__value { max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
  .sort__select { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; cursor: pointer; -webkit-appearance: none; appearance: none; }
  @media (hover: hover) { .sort:hover { border-color: var(--ink); } }
  .sort:has(.sort__select:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
  @media (max-width: 26rem) { .sort__value { max-width: 7.5rem; } }
  .list-head + .wrap > .grid { margin-top: 0.25rem; }

  /* Search: a large field, quiet labels, bold match, rounded thumbnails */
  .search-box { border-radius: var(--r-pill); border-color: var(--line-strong); padding-inline-end: 0.25rem; }
  .search-box:focus-within { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
  .search-box input { height: 3.25rem; font-size: 1.0625rem; }
  .search-label { margin: 0.25rem 0 0.75rem; font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
  .search-none { margin: 0.25rem 0 1.25rem; }
  .search-count { margin: 0; font-size: var(--t-sm); color: var(--ink-2); min-height: 1.25rem; }
  .results { gap: 0.125rem; }
  .result { border-radius: 0.75rem; padding: 0.5rem; }
  .result:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
  .result__img { border-radius: 0.5rem; overflow: hidden; }
  .result__text { min-width: 0; }
  .result__title mark { background: none; color: inherit; font-weight: 700; }
  @media (min-width: 45rem) { .sheet--search { width: min(42rem, calc(100vw - 4rem)); } }

  /* Account: a two-way switch, roomy fields, password you can show */
  .acc { gap: 1.25rem; }
  .acc-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0.25rem; border-radius: var(--r-pill); background: var(--surface); }
  .acc-switch__btn { min-height: var(--tap); padding: 0.25rem 0.75rem; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font: inherit; font-size: var(--t-base); font-weight: 600; line-height: 1.2; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
  .acc-switch__btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(22 22 29 / 0.12), 0 0 0 1px rgb(22 22 29 / 0.06); }
  .acc-switch__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
  .acc-form { display: grid; gap: 1rem; }
  .acc .field { display: grid; gap: 0.375rem; }
  .acc .field label { font-size: var(--t-sm); font-weight: 600; }
  .acc .field input { height: 3.25rem; border-radius: 0.625rem; font-size: 1rem; padding-inline: 1rem; }
  .acc .field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
  .field__hint { margin: 0; font-size: var(--t-sm); color: var(--ink-2); }
  .acc .field__error:empty { display: none; }
  .pw { position: relative; }
  .pw input { padding-inline-end: 3.25rem; }
  .pw__toggle { position: absolute; top: 50%; right: 0.25rem; transform: translateY(-50%); display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
  .pw__toggle svg { width: 1.25rem; height: 1.25rem; }
  .pw__toggle[aria-pressed="true"] { color: var(--ink); }
  .pw__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .acc .btn--big { border-radius: var(--r-pill); margin-top: 0.25rem; }
  .acc-guest { margin: 0; padding-top: 1.125rem; border-top: 1px solid var(--line-soft); font-size: var(--t-base); color: var(--ink-2); }
  .acc-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: -0.75rem 0 0; padding: 0; list-style: none; }
  .acc-links .link-btn { font-size: var(--t-base); font-weight: 600; }
  @media (min-width: 45rem) { #dlg-account { width: min(28rem, calc(100vw - 2rem)); height: fit-content; } }

  /* Empty basket: the message, then the way back in */
  .bk-empty { justify-items: stretch; text-align: center; gap: 1.5rem; padding-block: 2.5rem 1rem; }
  .bk-empty__title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); line-height: 1.15; }
  .bk-ways { display: grid; gap: 0.625rem; width: min(100%, 20rem); margin: 0 auto; padding: 0; list-style: none; }
  .bk-ways .btn { border-radius: var(--r-pill); min-height: 3rem; }

  /* Home: the four rooms as clean rounded photos with the name underneath */
  .hx__img { border-radius: 0.75rem; }
  .hx__label, .hx__label.on-dark { background: none; color: var(--ink); padding: 0.625rem 0.125rem 0; }
  .hx__count { color: var(--ink-2); opacity: 1; }
  @media (min-width: 64rem) { .hx__label { padding: 0.75rem 0.125rem 0; } .hx__copy .hx__ctas { grid-row: 2; grid-column: 2; justify-content: flex-end; align-self: end; } }
  .card__media { border-radius: 0.625rem; }
  @media (prefers-reduced-motion: reduce) { .announce__line.is-swap, .cookie { animation: none; } .acc-switch__btn { transition: none; } }

  /* =====================================================================
     Listings keep going: "More to explore" under a category's own products
     ===================================================================== */
  .feed--more { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
  .feed--more .section__title { margin-bottom: 1.25rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }

  /* =====================================================================
     Colour and icons, v11. okenshop's own palette: "Midnight, Deep Sea and a spark of gold".
     A dark, cool action colour (research links darker blue-greens with trust), quiet stone neutrals so the
     photos carry the colour, and the gold of the okenshop mark used only as a spark: the basket count and
     small details on midnight. Red is kept for sale prices alone.
     Contrast on white: Midnight 17.5:1, Slate 6.1:1, Deep Sea 7.7:1 (white on it too), sale 6.5:1.
     Midnight on Gold 9.0:1.
     ===================================================================== */
  :root {
    --ink: #0F1B24;            /* Midnight: text, top line, footer */
    --ink-2: #566470;          /* Slate: secondary text */
    --paper: #FFFFFF;
    --chalk: #F2F4F3; --surface: #F2F4F3;   /* Stone: quiet panels, photo backgrounds */
    --line: rgb(15 27 36 / 0.12); --line-strong: rgb(15 27 36 / 0.38); --line-soft: rgb(15 27 36 / 0.08);
    --action: #0F5C63;         /* Deep Sea: the one action colour */
    --action-hover: #136C74; --action-press: #0B4A50; --on-action: #FFFFFF;
    --action-tint: rgb(15 92 99 / 0.09); --link: #0F5C63; --focus: #0F5C63;
    --gold: #E3B341; --saffron: #E3B341;    /* the spark: basket count, details on Midnight */
    --sale: #B3261E;
    /* Icon sizes: the same everywhere, measured in rem so they grow with text on very large screens. */
    --icon-lg: 1.5rem; --icon-md: 1.25rem; --icon-sm: 1rem;
  }
  /* Buttons: soft rectangles. Deep Sea for the main action, a quiet outline for the rest. */
  .btn, .cookie .cookie__actions .btn, .acc .btn--big, .bk-ways .btn { border-radius: 0.75rem; }
  .btn { background: var(--action); border-color: var(--action); color: var(--on-action); }
  @media (hover: hover) { .btn:not(.btn--light):not(:disabled):not([aria-disabled="true"]):hover { background: var(--action-hover); border-color: var(--action-hover); } }
  .btn:not(.btn--light):active:not(:disabled) { background: var(--action-press); }
  .btn--light { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
  @media (hover: hover) { .btn--light:hover { background: var(--surface); border-color: var(--ink); } }
  .btn[aria-disabled="true"], .btn:disabled { background: var(--surface); border-color: var(--surface); color: var(--ink-2); }
  /* Links in text and sheets */
  .sheet .link-btn, .acc-links .link-btn, .cookie__manage, .inline-link, .view-all, main p a, .sheet__body p a { color: var(--link); }
  /* Focus: one ring everywhere */
  :focus-visible { outline-color: var(--focus); }
  /* Add to basket on cards: a Deep Sea plus on a soft disc */
  .card .card__cta { color: var(--action); background: var(--action-tint); border-color: transparent; }
  @media (hover: hover) { .card .card__cta:hover { background: var(--action); border-color: var(--action); color: var(--on-action); } }
  .size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
  .acc-switch__btn[aria-pressed="true"] { color: var(--ink); }
  /* The spark of gold, on Midnight only */
  .announce__btn { color: var(--gold); }
  @media (hover: hover) { .announce__btn:hover { color: #fff; } }
  .footer .ft-trust svg { color: var(--gold); }
  .badge-count { background: var(--gold); color: var(--ink); }
  ::selection { background: rgb(15 92 99 / 0.18); }

  /* Icons, one scale */
  .icon-btn svg, .header .icon-btn svg, .menu-btn svg, .tab svg, .menu-row__icon { width: var(--icon-lg); height: var(--icon-lg); }
  .card__cta svg, .pw__toggle svg, .search-box > svg, .rail__btn svg, .toast svg, .ft-trust svg, .promise__points svg { width: var(--icon-md); height: var(--icon-md); }
  .announce__btn svg, .sort__icon, .sort__chev, .view-all svg, .menu-row__chev { width: var(--icon-sm); height: var(--icon-sm); }

  /* Tab bar: icons only (names stay for screen readers); the current tab turns blue and filled */
  .tab > span:not(.tab__icon) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tab { gap: 0; color: var(--ink-2); }
  .tab[aria-current="page"], .tab.is-active { color: var(--action); --icon-fill: currentColor; }
  @media (hover: hover) { .tab:hover { color: var(--ink); } }

  /* Header: icons only. Search is the magnifier at every width; the country shows as its flag. */
  @media (min-width: 64rem) {
    .header .search-field { display: none; }
    .header .header-search { display: inline-grid; }
    .header .region-pill--header { margin-inline-start: auto; }
    .header .region-pill--header .region-pill__code { display: none; }
    .header .region-pill--header { width: var(--tap); height: var(--tap); padding: 0; justify-content: center; background: none; border: 0; }
    .header .region-pill--header .flag { width: 1.5rem; }
  }

  /* Top line: pause, previous, message, next. Phones swipe instead of the previous arrow. */
  .announce .announce__row { grid-template-columns: var(--tap) minmax(0, 1fr) var(--tap); }
  .announce__pause { grid-column: 1; grid-row: 1; }
  .announce__btn--prev { display: none; }
  .announce__line { grid-column: 2; grid-row: 1; }
  .announce__btn--next, .announce__btn:last-child { grid-column: 3; grid-row: 1; }
  .announce__pause[hidden] { display: grid; visibility: hidden; }
  @media (min-width: 30rem) {
    .announce .announce__row { grid-template-columns: var(--tap) var(--tap) minmax(0, 1fr) var(--tap) var(--tap); }
    .announce__btn--prev { display: grid; grid-column: 2; grid-row: 1; }
    .announce__line { grid-column: 3; }
    .announce__btn--next, .announce__btn:last-child { grid-column: 4; }
  }
  .announce { background: var(--ink); }

  /* =====================================================================
     Header and footer, v12
     ===================================================================== */
  /* Content reached by a link or Tab never hides under the sticky header */
  html { scroll-padding-top: 7.5rem; }

  /* Category strip: "All categories" first, set off by a hairline, then the shortcuts */
  .header .catbar__nav .nav__all { display: inline-flex; align-items: center; gap: 0.5rem; flex: none; min-height: var(--tap); padding: 0 1rem 0 0; margin-inline-end: 0.5rem;
    border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
  .header .catbar__nav .nav__all svg { width: var(--icon-md); height: var(--icon-md); flex: none; }
  @media (hover: hover) { .header .catbar__nav .nav__all:hover { color: var(--action); } }
  .header .catbar__nav .nav__all:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 0.25rem; }

  /* Top line on wider screens: the arrows sit evenly either side of the message; pause at the end */
  @media (min-width: 30rem) {
    .announce__pause { grid-column: 5; }
  }

  /* Menu: category names in the interface face, like the strip, so the two read as one list */
  .menu-list a { font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; min-height: 3rem; letter-spacing: 0; }
  .menu-list a.nav__sale, .menu-list a[href="/sale"] { color: var(--sale); }

  /* Footer: the full category list is one tap away; the social row appears only once accounts are set */
  .ft-more { min-height: var(--tap); padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
  .ft-more:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .ft-social[hidden] { display: none; }
  /* Phones and tablets: the grid icon alone (the tab bar also has Categories); the name stays for screen readers */
  @media (max-width: 63.99rem) {
    .header .catbar__nav .nav__all { width: var(--tap); padding: 0; margin-inline-end: 0.25rem; justify-content: center; }
    .header .catbar__nav .nav__all-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  }

  /* =====================================================================
     Footer, v13: one compact block. Brand and newsletter beside the links, the promises on one line,
     then ways to pay and the legal line. About a third shorter on desktop and a fifth on phones.
     ===================================================================== */
  .footer { margin-top: 4rem; }
  .ft-top { display: grid; gap: 1.5rem; padding-block: 2.5rem 0.5rem; }
  .ft-intro { display: grid; gap: 0.875rem; align-content: start; }
  .footer .ft-intro__mark { font-size: 1.625rem; line-height: 1; margin: 0; }
  .ft-intro .ft-news__title { margin: 0 0 0.25rem; font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
  .ft-intro .ft-news__text p { font-size: var(--t-sm); line-height: 1.45; }
  .ft-intro .news-form__row input, .ft-intro .news-form .btn { height: 2.875rem; }
  .ft-intro .news-form .btn { border-radius: 0.75rem; }
  .ft-intro .news-form__row input { border-color: rgb(255 255 255 / 0.32); }
  .ft-intro .news-form__row input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
  .ft-top .ft-group__h { min-height: 3.25rem; }

  /* The promises: icon and a short label, side by side, wrapping as needed */
  .footer .ft-trust { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; padding-block: 1.125rem; margin-top: 1rem; border-block: 1px solid var(--ft-line); grid-template-columns: none; }
  .footer .ft-trust li { display: inline-flex; align-items: center; gap: 0.625rem; min-height: var(--tap); grid-template-columns: none; font-size: var(--t-sm); font-weight: 600; }
  .footer .ft-trust li[hidden] { display: none; }
  .footer .ft-trust svg { width: var(--icon-md); height: var(--icon-md); flex: none; }
  .footer .ft-trust__mail { display: inline-flex; align-items: center; min-height: var(--tap); margin: 0; padding: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }

  /* Bottom: ways to pay, one legal line, country and language */
  .footer .ft-bottom { gap: 0.875rem; padding-block: 1.25rem calc(var(--tabbar-h) + 1.25rem + env(safe-area-inset-bottom)); border-top: 0; }
  .footer .ft-legal { display: block; color: var(--ft-muted); font-size: var(--t-xs, 0.75rem); text-align: center; }
  .footer .ft-legal p { display: inline; }
  .footer .ft-legal p + p::before { content: " · "; }

  @media (min-width: 64rem) {
    .ft-top { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 5rem; padding-block: 3.5rem 2rem; }
    .ft-top .ft-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
    .ft-top .ft-group__h { min-height: 0; }
    .footer .ft-trust { margin-top: 0; gap: 0 2.5rem; }
    .footer .ft-bottom { padding-block: 1.25rem; }
    .footer .ft-legal { text-align: center; }
  }

  /* Touch: a sideways row (New in, the category strip, filter chips) must still let the page scroll
     up and down when a finger starts on it. Only sideways overscroll is held in. */
  .rail__track, .feed__chips, .header .catbar__nav { overscroll-behavior-x: contain; overscroll-behavior-y: auto; }

  /* =====================================================================
     Product grid and footer, v14
     ===================================================================== */
  /* Grid: even rhythm, photos lead, text is just the name and the price */
  .grid { gap: 2rem 0.75rem; }
  @media (min-width: 45rem) { .grid { gap: 2.5rem 1.25rem; } }
  @media (min-width: 64rem) { .grid { gap: 2.75rem 1.5rem; } }
  .card__body { display: grid; gap: 0.25rem; padding-top: 0.75rem; }
  .card .card__title { min-height: 2.7em; margin: 0; font-size: var(--t-base); font-weight: 400; line-height: 1.35; }
  .card .card__buy { display: block; min-height: 0; }
  .card .ptag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem; margin: 0; }
  .card .ptag__now { font-weight: 600; }
  .card .ptag__off { font-size: var(--t-sm); font-weight: 600; color: var(--sale); }
  .card .card__state { display: block; margin-top: 0.125rem; font-size: var(--t-sm); color: var(--ink-2); }

  /* Add: a quiet white disc on the photo's corner. No shadow, no glow: a hairline keeps it visible on white photos. */
  .card .card__media .card__cta { position: absolute; inset: auto 0.5rem 0.5rem auto; z-index: 2; display: grid; place-items: center;
    width: var(--tap); height: var(--tap); padding: 0; border: 1px solid var(--line); border-radius: 50%;
    background: var(--paper); color: var(--ink); box-shadow: none; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
  .card .card__media .card__cta svg { width: var(--icon-md); height: var(--icon-md); }
  @media (hover: hover) { .card .card__media .card__cta:hover { background: var(--action); border-color: var(--action); color: var(--on-action); } }
  .card .card__media .card__cta:active { background: var(--action-press); border-color: var(--action-press); color: var(--on-action); }
  .card .card__media .card__cta:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  /* Photos: one calm hover, a slow slight zoom; nothing on touch screens */
  @media (hover: hover) { .card .card__media img { transition: transform 600ms var(--ease); } .card:hover .card__media img { transform: scale(1.025); } }
  @media (prefers-reduced-motion: reduce) { .card .card__media img, .card .card__media .card__cta { transition: none; } .card:hover .card__media img { transform: none; } }

  /* Home rooms: the name alone under each photo */
  .hx__label { display: block; }

  /* Listing head: title and sort, the count beside the sort; the price notes as one footnote under the grid */
  .list-note { max-width: 60ch; margin: 2rem 0 0; font-size: var(--t-xs, 0.75rem); line-height: 1.5; color: var(--ink-2); }

  /* The promises: a light Stone band above the footer, three equal columns, icon over label on phones */
  .service { margin-top: 4rem; background: var(--surface); }
  .service + .footer { margin-top: 0; }
  .service .ft-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0.5rem; margin: 0; padding-block: 1.25rem; border: 0; list-style: none; }
  .service .ft-trust li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.5rem; min-height: var(--tap); text-align: center; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
  .service .ft-trust li[hidden] { display: none; }
  .service .ft-trust svg { width: var(--icon-lg); height: var(--icon-lg); color: var(--action); flex: none; }
  .service .ft-trust__mail { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: -0.75rem; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
  .service .ft-trust__full { display: none; }
  @media (min-width: 45rem) {
    .service .ft-trust { padding-block: 1.5rem; gap: 2rem; }
    .service .ft-trust li { flex-direction: row; justify-content: center; gap: 0.75rem; font-size: var(--t-base); text-align: start; }
    .service .ft-trust__mail { margin-top: 0; }
    .service .ft-trust__short { display: none; }
    .service .ft-trust__full { display: inline; }
  }
  /* Phones: the newsletter line stays to one or two short lines */
  .ft-top { padding-top: 2.25rem; }

  /* =====================================================================
     v15: a calmer phone scale and quicker, clearer feedback. See docs/DESIGN.md.
     Tap areas stay 44 px everywhere; only what is drawn gets quieter.
     ===================================================================== */
  /* Scale: product text, buttons and sheet titles one step smaller on phones and tablets */
  .card .card__title { font-size: 0.875rem; }
  .card .ptag__now { font-size: var(--t-base); }
  @media (min-width: 64rem) { .card .card__title { font-size: var(--t-base); } .card .ptag__now { font-size: var(--t-md); } }
  .btn { font-size: var(--t-base); }
  .btn--big, .hx__ctas .btn { min-height: 3rem; }
  .sheet__title { font-size: 1.5rem; }
  @media (min-width: 45rem) { .sheet__title { font-size: 1.75rem; } }

  /* Sort: a slim pill (36 px drawn) whose invisible native select still takes a 44 px tap */
  .sort { min-height: 2.25rem; gap: 0.3125rem; padding: 0 0.625rem 0 0.75rem; font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
  .sort__select { inset: calc(-0.25rem - 1px); width: calc(100% + 0.5rem + 2px); height: calc(100% + 0.5rem + 2px); }  /* past the 1 px border: 36 + 8 = 44 px */

  /* Add: a filled Deep Sea disc with a white plus, lifted off the photo so it reads as "tap me" on any picture.
     It dips when pressed; once added it turns into a green tick that pops, the basket count bumps and phones that
     can give one short tick. */
  .card .card__media .card__cta { border: 0; background: var(--action); color: var(--on-action);
    box-shadow: 0 1px 2px rgb(15 27 36 / 0.18), 0 4px 12px rgb(15 27 36 / 0.16);
    transition: transform 140ms var(--ease), background-color 140ms var(--ease); }
  .card .card__media .card__cta svg { width: 1.375rem; height: 1.375rem; }
  @media (hover: hover) { .card .card__media .card__cta:hover { background: var(--action-hover); border-color: transparent; color: var(--on-action); transform: scale(1.06); } }
  .card .card__media .card__cta:active { background: var(--action-press); transform: scale(0.9); }
  .card .card__media .card__cta.is-done { background: var(--ok); color: #fff; transform: none; animation: cta-pop 220ms var(--ease); }
  .card .card__media .card__cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) { .card .card__media .card__cta, .card .card__media .card__cta:hover, .card .card__media .card__cta:active { transition: none; transform: none; } .card .card__media .card__cta.is-done { animation: none; } }

  /* Notices on the page: a small dark bar at the bottom, above the tab bar on phones, clear of the header and the
     page title. Confirmations go after 2.5 s, warnings after 5 s, and a tap closes them. Inside a dialog the notice
     keeps its place under the dialog's head. */
  .toast.toast--bar { top: auto; bottom: calc(1.25rem + env(safe-area-inset-bottom)); width: max-content; max-width: min(26rem, calc(100vw - 1.5rem));
    align-items: center; gap: 0.625rem; padding: 0.6875rem 1rem; border: 0; border-radius: 0.75rem; background: var(--ink); color: #fff;
    font-size: var(--t-base); font-weight: 500; line-height: 1.35; box-shadow: 0 8px 24px rgb(15 27 36 / 0.24); cursor: pointer; }
  .toast.toast--bar svg { margin-top: 0; color: var(--gold); }
  .toast.toast--bar.is-warn svg { color: #FFB4AB; }
  .toast.toast--bar.is-in { animation: toast-rise 220ms var(--ease); }
  @keyframes toast-rise { from { opacity: 0; transform: translateY(0.5rem); } }
  @media (max-width: 63.99rem) { .toast.toast--bar { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 0.75rem); } }
  body:has(.toast--bar:not([hidden])) .to-top { visibility: hidden; }
  @media (prefers-reduced-motion: reduce) { .toast.toast--bar.is-in { animation: none; } }

  /* Cookie card: lighter and shorter. Both choices stay identical (white, ink outline), so refusing is exactly as
     easy as accepting. */
  .cookie { gap: 0.375rem; padding: 1rem 1rem 0.875rem; }
  .cookie .cookie__title { font-size: var(--t-base); }
  .cookie .cookie__manage { font-size: var(--t-sm); }
  .cookie .cookie__text { font-size: var(--t-sm); line-height: 1.45; }
  .cookie .cookie__actions { margin-top: 0.25rem; }
  .cookie .cookie__actions .btn { min-height: var(--tap); background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); font-size: var(--t-sm); font-weight: 600; }
  /* Outlined like each other, so both fill with Midnight on hover; :not() lifts this above the general button hover (teal) */
  @media (hover: hover) { .cookie .cookie__actions .btn:not(.btn--light):hover { background: var(--ink); border-color: var(--ink); color: #fff; } }


  /* Checkout: tighter sections, plain sans headings, the chosen payment marked in the action colour, and a quiet tick
     on every field that passed its check. */
  .co-form { gap: 1.25rem; }
  .co-sec { gap: 0.875rem; }
  .co-sec + .co-sec { padding-top: 1.25rem; }
  .co-sec__h { font-family: var(--sans); font-size: var(--t-md); font-weight: 700; line-height: 1.3; letter-spacing: 0; }
  .co-ship { box-shadow: inset 0 0 0 1px var(--line-strong); border-radius: 0.75rem; }
  .co-parcels li { border-radius: 0.5rem; }
  .choice { min-height: 3rem; border-radius: 0.75rem; }
  .choice input { accent-color: var(--action); }
  .choice:has(input:checked) { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); background: var(--action-tint); }
  #co-form .field input[aria-invalid="false"] { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.875rem center; background-size: 1.125rem; }

  /* =====================================================================
     v16: say less. Labels and amounts, not reassurance sentences; product pages search engines can list.
     ===================================================================== */
  /* Hero: one line and the two ways in */
  .hx__title { font-size: clamp(2.125rem, 1.35rem + 3.6vw, 4.5rem); max-width: 15ch; }



  /* A product's own page (/p/<id>) as written by tools/prerender.mjs: readable before the scripts run */
  .pd-static { display: grid; gap: 0.75rem; max-width: 40rem; padding-block: 1.5rem 3rem; }
  .pd-static .photo { width: 100%; max-width: 28rem; height: auto; aspect-ratio: 4 / 5; border-radius: 0.75rem; }
  .pd-static__crumbs { font-size: var(--t-sm); color: var(--ink-2); }
  .pd-static__crumbs a, .pd-static ul a { color: var(--link); }
  .pd-static__brand { font-size: var(--t-sm); color: var(--ink-2); }
  .pd-static__title { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.1; }
  .pd-static__price { font-weight: 600; }
  .pd-static__price small { font-weight: 400; color: var(--ink-2); }
  .pd-static__more { margin-top: 1rem; font-size: 1.25rem; }
  .pd-static ul { display: grid; gap: 0.375rem; }

  /* Product sheet: delivery, import duty where it applies, returns and guarantee as one compact list of labels and
     amounts. The line under the title would only say "No reviews yet": that lives in the Reviews section below. */
  .pd__info > .rating--none { display: none; }
  .pd-spec { display: grid; margin-top: 0.5rem; border-top: 1px solid var(--line-soft); }
  .pd-spec li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; min-height: 2.75rem; padding-block: 0.5rem; border-bottom: 1px solid var(--line-soft); font-size: var(--t-sm); line-height: 1.35; color: var(--ink); }
  .pd-spec svg { width: var(--icon-sm); height: var(--icon-sm); color: var(--ink-2); }
  .pd-spec b { font-weight: 600; white-space: nowrap; }
  .rg-hint { margin: 0.5rem 0 0; font-size: var(--t-sm); color: var(--ink-2); }

  /* =====================================================================
     Oken, the voice assistant (js/app/voice.js). An instrument, not a chat window: a Midnight panel (the colour
     of the top bar) with no avatar and no bubbles. Its one bold thing is the horizon, a gold line across the panel
     that is Oken's voice: flat at rest, a wave while it listens, a swell while it speaks, a sweep while it thinks.
     Under it, what the shopper said (small), Oken's answer (the serif, short: the details are spoken), and the
     products in a strip. A large mic sits between "type instead" and the basket.
     Sizes are measured against the tab bar, the safe areas and the on-screen keyboard (--kb); the middle scrolls
     before anything is cut, so it fits a 320px phone, a phone on its side and a wide desktop alike.
     ===================================================================== */
  .oken, .oken-orb { --o-bg: #0F1B24; --o-raise: rgb(255 255 255 / 0.06); --o-line: rgb(255 255 255 / 0.12); --o-text: #F6F4EF;
    --o-mute: rgb(246 244 239 / 0.66); --o-gold: var(--gold); --o-pad: 1.25rem; }
  /* The lens, Oken's face: a dark disc, a teal-to-gold halo turning slowly behind its rim, a soft light at the top
     left, and a voice wave at the centre. Round, glowing and gently alive: the eye goes to it, without a blink or a
     badge asking for attention. */
  .oken-lens { --lens: 3rem; --spin: 16s; position: relative; display: grid; place-items: center; flex: none; width: var(--lens); height: var(--lens);
    border-radius: 50%; overflow: hidden; isolation: isolate; background: var(--o-bg); }
  .oken-lens__aura { position: absolute; inset: -30%; z-index: -2; border-radius: 50%;
    background: conic-gradient(from 20deg, #0F5C63, #2FA3A6, #9FD8CF, #F2D27A, #E3B341, #2FA3A6, #0F5C63);
    filter: blur(5px); animation: oken-spin var(--spin) linear infinite; }
  /* The dark iris over the halo leaves a glowing rim; the light sits on top, like glass */
  .oken-lens::before { content: ""; position: absolute; inset: 9%; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle at 50% 55%, #10202B 0%, #0F1B24 62%, rgb(15 27 36 / 0.86) 100%);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06), 0 0 10px 1px rgb(15 27 36 / 0.6); }
  .oken-lens::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    background: radial-gradient(60% 45% at 32% 18%, rgb(255 255 255 / 0.28), transparent 70%); }
  .oken-lens__wave { display: flex; align-items: center; gap: calc(var(--lens) * 0.055); height: 45%; }
  .oken-lens__wave i { display: block; width: calc(var(--lens) * 0.065); height: 100%; border-radius: 99px; background: #F6F4EF; transform-origin: center;
    transform: scaleY(var(--s)); }
  .oken-lens__wave i:nth-child(1), .oken-lens__wave i:nth-child(5) { --s: 0.3; }
  .oken-lens__wave i:nth-child(2), .oken-lens__wave i:nth-child(4) { --s: 0.62; }
  .oken-lens__wave i:nth-child(3) { --s: 1; }
  @keyframes oken-spin { to { transform: rotate(1turn); } }
  @keyframes oken-breathe { 0%, 70%, 100% { transform: scaleY(var(--s)); } 80% { transform: scaleY(calc(var(--s) * 1.45)); } 90% { transform: scaleY(calc(var(--s) * 0.8)); } }
  @keyframes oken-talk { 0%, 100% { transform: scaleY(var(--s)); } 50% { transform: scaleY(calc(var(--s) * 1.9 + 0.1)); } }
  .oken-lens__wave i { animation: oken-breathe 5.2s ease-in-out infinite; }
  .oken-lens__wave i:nth-child(2) { animation-delay: 90ms; } .oken-lens__wave i:nth-child(3) { animation-delay: 180ms; }
  .oken-lens__wave i:nth-child(4) { animation-delay: 270ms; } .oken-lens__wave i:nth-child(5) { animation-delay: 360ms; }

  /* The launcher: the lens in a Midnight pill. Its label shows on wide screens; on phones it slides out once per
     visit ("Talk to Oken") and folds back in. */
  .oken-orb { position: fixed; z-index: 39; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom));
    display: flex; align-items: center; height: 3.5rem; min-width: 3.5rem; padding: 0.25rem; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--o-bg); color: var(--o-text); font: inherit;
    box-shadow: 0 8px 24px rgb(15 27 36 / 0.24), 0 2px 6px rgb(15 27 36 / 0.2), inset 0 0 0 1px rgb(227 179 65 / 0.3);
    transition: transform 160ms ease, box-shadow 200ms ease; }
  .oken-orb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px rgb(227 179 65 / 0.55); }
  .oken-orb__label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.01em;
    transition: max-width 420ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 260ms ease, padding 420ms cubic-bezier(0.2, 0.8, 0.2, 1); }
  .oken-orb.is-hello .oken-orb__label { max-width: 12rem; opacity: 1; padding: 0 1rem 0 0.75rem; }
  .oken-orb.is-hello::after { animation: oken-call 1600ms ease-out 2; }
  @keyframes oken-call { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18, 1.35); } }
  @media (min-width: 64rem) and (pointer: fine) { .oken-orb .oken-orb__label { max-width: 12rem; opacity: 1; padding: 0 1.125rem 0 0.75rem; } }
  .oken-orb:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
  @media (hover: hover) { .oken-orb:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgb(15 27 36 / 0.3), 0 2px 6px rgb(15 27 36 / 0.2), inset 0 0 0 1px rgb(227 179 65 / 0.55); }
    .oken-orb:hover .oken-lens { --spin: 5s; } }
  .oken-orb:active { transform: scale(0.96); }
  @media (max-width: 63.99rem) { .oken-orb { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 0.75rem); } }
  .oken-orb[aria-expanded="true"] { visibility: hidden; }
  .oken-orb[aria-expanded="true"] .oken-lens__aura, .oken-orb[aria-expanded="true"] .oken-lens__wave i { animation-play-state: paused; }
  html:has(dialog[open]) .oken-orb { display: none; }
  body:has(#cookie-bar:not([hidden])) .oken-orb { display: none; }
  body:has(.toast--bar:not([hidden])) .oken-orb, body:has(#added:not([hidden])) .oken-orb { visibility: hidden; }
  /* Back to top moves up to make room for the orb, and steps aside while Oken is open. */
  .to-top { bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
  @media (max-width: 63.99rem) { .to-top { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 5rem); } }
  body:has(#oken:not([hidden])) .to-top { visibility: hidden; }

  /* In the panel the small lens follows Oken: quicker while it listens or thinks, its wave talking while it speaks */
  .oken-lens--sm { --lens: 1.75rem; margin-right: 0.25rem; }
  .oken[data-mode="listening"] .oken-lens--sm, .oken[data-mode="thinking"] .oken-lens--sm { --spin: 2.2s; }
  .oken[data-mode="speaking"] .oken-lens--sm .oken-lens__wave i { animation: oken-talk 520ms ease-in-out infinite; }
  .oken[data-mode="speaking"] .oken-lens--sm .oken-lens__wave i:nth-child(even) { animation-delay: -260ms; }

  /* The panel: a card at the lower right on wide screens, a sheet above the tab bar on phones */
  .oken { --oken-b: max(calc(1rem + env(safe-area-inset-bottom)), calc(var(--kb, 0px) + 0.5rem));
    position: fixed; z-index: 45; right: max(1rem, env(safe-area-inset-right)); bottom: var(--oken-b);
    display: flex; flex-direction: column; width: min(26rem, calc(100vw - 2rem));
    max-height: min(38rem, calc(100dvh - var(--oken-b) - 0.75rem - env(safe-area-inset-top)));
    overflow: hidden; border-radius: 1.5rem; background: var(--o-bg); color: var(--o-text); color-scheme: dark;
    box-shadow: 0 28px 70px rgb(15 27 36 / 0.36), 0 0 0 1px rgb(255 255 255 / 0.06);
    animation: oken-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1); }
  .oken[hidden] { display: none; }
  @keyframes oken-in { from { opacity: 0; transform: translateY(0.75rem); } }
  @media (max-width: 63.99rem) {
    .oken { --oken-b: max(calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 0.5rem), calc(var(--kb, 0px) + 0.5rem));
      left: max(0.5rem, env(safe-area-inset-left)); right: max(0.5rem, env(safe-area-inset-right)); width: auto; border-radius: 1.25rem; } }
  @media (min-width: 40rem) and (max-width: 63.99rem) { .oken { left: auto; width: 26rem; } }
  @media (max-width: 22.5rem) { .oken { --o-pad: 1rem; } }

  .oken__head { flex: none; display: flex; align-items: center; gap: 0.25rem; padding: 0.375rem 0.375rem 0 calc(var(--o-pad) - 0.125rem); }
  .oken__who { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 0.625rem; }
  .oken__name { flex: none; margin: 0; font-family: var(--display); font-size: 1.125rem; font-weight: 400; line-height: 1.2; letter-spacing: 0; color: var(--o-text); }
  .oken__status { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-sm); color: var(--o-mute); }
  /* At rest Oken says nothing about itself; the status shows only while it listens, thinks or speaks */
  .oken[data-mode="idle"] .oken__status { visibility: hidden; }
  .oken__icon { color: var(--o-mute); }
  .oken__icon svg { width: 1.25rem; height: 1.25rem; }
  .oken__icon:focus-visible { outline: 2px solid var(--o-gold); outline-offset: -2px; }
  @media (hover: hover) { .oken__icon:hover { color: var(--o-text); background: var(--o-raise); } }

  /* The horizon: Oken's voice */
  .oken__line { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 2px; height: 2rem; margin: 0.125rem var(--o-pad) 0; color: var(--o-gold); }
  .oken__line i { flex: 1; max-width: 4px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.85; transform-origin: center; transition: transform 300ms ease; }
  .oken__line i:nth-child(-n+4), .oken__line i:nth-last-child(-n+4) { opacity: 0.35; }
  /* At rest the strokes close up into one quiet hairline, not a dashed rule */
  .oken[data-mode="idle"] .oken__line { gap: 0; }
  .oken[data-mode="idle"] .oken__line i { max-width: none; height: 1px; border-radius: 0; opacity: 0.45; }
  .oken[data-mode="listening"] .oken__line i { animation: oken-wave 1100ms ease-in-out infinite; animation-delay: calc(var(--i) * -70ms); }
  .oken[data-mode="speaking"] .oken__line i { animation: oken-swell 1600ms ease-in-out infinite; animation-delay: calc(var(--i) * -55ms); }
  .oken[data-mode="thinking"] .oken__line i { animation: oken-sweep 900ms ease-in-out infinite; animation-delay: calc(var(--i) * 28ms); }
  @keyframes oken-wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(var(--h, 6)); } }
  @keyframes oken-swell { 0%, 100% { transform: scaleY(1.5); } 50% { transform: scaleY(calc(var(--h, 6) * 0.6)); } }
  @keyframes oken-sweep { 0%, 100% { opacity: 0.3; } 40% { opacity: 1; transform: scaleY(2.5); } }

  /* The exchange */
  .oken__stage { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    scrollbar-color: rgb(255 255 255 / 0.2) transparent; display: flex; flex-direction: column; gap: 0.375rem; padding: 0.5rem var(--o-pad) 1rem; }
  .oken__said { display: block; font-size: var(--t-sm); line-height: 1.45; color: var(--o-mute); overflow-wrap: anywhere; quotes: "\201C" "\201D"; }
  .oken__said[hidden] { display: none; }
  .oken__said.is-live { color: var(--o-text); }
  .oken__said.is-live::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -0.15em; background: var(--o-gold); animation: oken-caret 900ms steps(1) infinite; }
  @keyframes oken-caret { 50% { opacity: 0; } }
  .oken__answer { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); font-weight: 400; line-height: 1.28;
    letter-spacing: -0.01em; color: var(--o-text); overflow-wrap: anywhere; text-wrap: pretty; transition: opacity 150ms ease; }
  .oken__answer.is-new { animation: oken-rise 280ms ease-out; }
  @keyframes oken-rise { from { opacity: 0; transform: translateY(0.25rem); } }
  .oken[data-mode="thinking"] .oken__answer { opacity: 0.4; }
  /* The extras run edge to edge, so the product strip can scroll under the panel's side margins */
  .oken__extra { display: grid; gap: 0.875rem; min-width: 0; margin: 0.5rem calc(-1 * var(--o-pad)) 0; }
  .oken__extra:empty { display: none; }
  .oken__extra > :not(.oken-cards) { margin-inline: var(--o-pad); }
  .oken__note { margin: 0; font-size: var(--t-xs); line-height: 1.5; color: var(--o-mute); }
  .oken__note--alert { padding: 0.625rem 0.75rem; border-radius: 0.75rem; background: rgb(227 179 65 / 0.12); color: var(--o-text); font-size: var(--t-sm); }

  /* Products: a strip that scrolls sideways (a mouse wheel scrolls it too) */
  .oken-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 8.25rem; gap: 0.75rem; margin: 0; padding: 0.125rem var(--o-pad) 0.375rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--o-pad); scrollbar-width: none; list-style: none; }
  .oken-cards::-webkit-scrollbar { display: none; }
  .oken-card { position: relative; min-width: 0; scroll-snap-align: start; }
  .oken-card__view { all: unset; box-sizing: border-box; display: grid; gap: 0.125rem; width: 100%; border-radius: 0.875rem; cursor: pointer; }
  .oken-card__view:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }
  .oken-card__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 0.875rem; background: var(--o-raise); }
  .oken-card__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 0.375rem;
    font-size: var(--t-sm); line-height: 1.3; color: var(--o-text); overflow-wrap: anywhere; }
  @media (hover: hover) { .oken-card__view:hover .oken-card__name { text-decoration: underline; text-underline-offset: 2px; } }
  .oken-card__price { font-size: var(--t-sm); font-weight: 600; color: var(--o-text); }
  .oken-card__add { position: absolute; top: 0.375rem; right: 0.375rem; display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0;
    border: 0; border-radius: 50%; background: rgb(15 27 36 / 0.78); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; }
  .oken-card__add svg { width: 1.25rem; height: 1.25rem; }
  .oken-card__add:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }
  @media (hover: hover) { .oken-card__add:hover { background: var(--o-gold); color: var(--o-bg); } }
  .oken-card__add:active { transform: scale(0.92); }

  /* First open: what to try, as quiet lines rather than chips */
  .oken-try { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--o-line); }
  .oken-try__btn { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: var(--tap); padding: 0.5rem 0; border: 0; border-bottom: 1px solid var(--o-line);
    background: none; color: var(--o-text); font: inherit; font-size: var(--t-sm); line-height: 1.35; text-align: start; cursor: pointer; overflow-wrap: anywhere; }
  .oken-try__btn::before { content: ""; flex: none; width: 0.875rem; height: 1px; background: var(--o-gold); transition: width 160ms ease; }
  .oken-try__btn:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }
  @media (hover: hover) { .oken-try__btn:hover::before { width: 1.375rem; } }
  .oken__email { justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--tap); padding: 0 1.125rem; border-radius: 999px;
    background: var(--o-gold); color: var(--o-bg); font-weight: 600; text-decoration: none; }
  .oken__email svg { width: var(--icon-sm); height: var(--icon-sm); }
  .oken__email:focus-visible { outline: 2px solid var(--o-text); outline-offset: 2px; }

  /* The dock: voice (keyboard, mic, basket) or text (mic, box, send) */
  .oken__dock { flex: none; padding: 0.5rem 0.75rem 0.75rem; border-top: 1px solid var(--o-line); }
  .oken__voice { display: grid; grid-template-columns: var(--tap) auto var(--tap); justify-content: space-between; align-items: center; padding-inline: 0.25rem; }
  .oken[data-typing="true"] .oken__voice, .oken:not([data-typing="true"]) .oken__type { display: none; }
  .oken__side { position: relative; display: grid; place-items: center; flex: none; width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%;
    background: none; color: var(--o-text); cursor: pointer; }
  .oken__side[hidden] { display: none; }
  .oken__side svg { width: 1.375rem; height: 1.375rem; }
  .oken__side:focus-visible, .oken__send:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }
  @media (hover: hover) { .oken__side:hover { background: var(--o-raise); } }
  .oken__count { position: absolute; top: 0.25rem; right: 0.125rem; min-width: 1.125rem; height: 1.125rem; padding-inline: 0.3rem; border-radius: 1rem;
    background: var(--o-gold); color: var(--o-bg); font-size: 0.6875rem; font-weight: 700; line-height: 1.125rem; text-align: center; }
  .oken__count[hidden] { display: none; }
  /* The mic is the lens too, larger: tap it and the halo speeds up and the mic becomes a moving wave */
  .oken__mic { --lens: 3.75rem; --spin: 16s; position: relative; display: grid; place-items: center; width: var(--lens); height: var(--lens); padding: 0; border: 0;
    border-radius: 50%; overflow: hidden; isolation: isolate; cursor: pointer; background: var(--o-bg); color: #F6F4EF;
    box-shadow: 0 6px 16px rgb(0 0 0 / 0.32); transition: transform 140ms ease, box-shadow 200ms ease; }
  .oken__mic::before { content: ""; position: absolute; inset: 7%; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle at 50% 55%, #132532 0%, #0F1B24 64%, rgb(15 27 36 / 0.84) 100%); transition: inset 220ms ease; }
  .oken__mic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    background: radial-gradient(60% 45% at 32% 18%, rgb(255 255 255 / 0.26), transparent 70%); }
  .oken__mic:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 3px; }
  @media (hover: hover) { .oken__mic:hover { --spin: 5s; } }
  .oken__mic:active { transform: scale(0.95); }
  .oken__micface { display: grid; place-items: center; }
  .oken__mic svg { width: 1.625rem; height: 1.625rem; }
  .oken__mic[aria-pressed="true"] { --spin: 1.8s; box-shadow: 0 0 0 4px rgb(227 179 65 / 0.18), 0 6px 16px rgb(0 0 0 / 0.32); }
  .oken__mic[aria-pressed="true"]::before { inset: 11%; }
  .oken__mic .oken__wave { display: none; align-items: center; gap: 3px; height: 1.5rem; }
  .oken__mic .oken__wave i { display: block; width: 3px; height: 100%; border-radius: 99px; background: #F6F4EF; --s: 0.35; transform: scaleY(var(--s));
    animation: oken-talk 760ms ease-in-out infinite; }
  .oken__mic .oken__wave i:nth-child(2), .oken__mic .oken__wave i:nth-child(4) { --s: 0.55; animation-delay: -190ms; }
  .oken__mic .oken__wave i:nth-child(3) { --s: 0.8; animation-delay: -380ms; }
  .oken__mic .oken__wave i:nth-child(5) { animation-delay: -570ms; }
  .oken__mic[aria-pressed="true"] svg { display: none; }
  .oken__mic[aria-pressed="true"] .oken__wave { display: flex; }
  .oken__type { display: flex; align-items: center; gap: 0.375rem; }
  .oken__input { flex: 1; min-width: 0; min-height: var(--tap); padding: 0 1rem; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 999px; background: var(--o-raise);
    color: var(--o-text); font: inherit; font-size: 1rem; caret-color: var(--o-gold); }
  .oken__input::placeholder { color: rgb(246 244 239 / 0.5); }
  .oken__input:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 1px; border-color: transparent; }
  .oken__send { display: grid; place-items: center; flex: none; width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%;
    background: var(--o-gold); color: var(--o-bg); cursor: pointer; transition: transform 120ms ease, background-color 160ms ease; }
  .oken__send svg { width: 1.25rem; height: 1.25rem; }
  @media (hover: hover) { .oken__send:hover { background: #F2D27A; } }
  .oken__send:active { transform: scale(0.94); }
  .oken__send:focus-visible { outline-color: var(--o-text); }

  /* Short screens (phones on their side, a keyboard up): a thinner horizon, smaller type, mic and photos */
  @media (max-height: 34rem) {
    .oken__line { height: 1.25rem; margin-top: 0; }
    .oken__stage { padding-block: 0.25rem 0.625rem; }
    .oken__answer { font-size: 1.125rem; }
    /* Cards turn into short rows: photo beside name and price */
    .oken-cards { grid-auto-columns: 13.5rem; }
    .oken-card__view { grid-template-columns: 4rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0.625rem; align-content: center; padding-right: var(--tap); }
    .oken-card__img { grid-row: 1 / 3; width: 4rem; }
    .oken-card__name { margin: 0; align-self: end; }
    .oken-card__price { align-self: start; }
    .oken-card__add { top: 50%; right: 0; transform: translateY(-50%); background: var(--o-raise); }
    .oken-card__add:active { transform: translateY(-50%) scale(0.92); }
    .oken__dock { padding-block: 0.375rem 0.5rem; }
    .oken__mic { width: 3rem; height: 3rem; }
  }
  @media (max-height: 22.5rem) { .oken__said:not(.is-live) { display: none; } .oken__line { height: 0.75rem; } }
  @media (prefers-reduced-motion: reduce) {
    .oken, .oken__answer.is-new { animation: none; }
    .oken-lens__aura, .oken-lens__wave i, .oken-orb::after { animation: none !important; }
    .oken-orb__label { transition: none; }
    .oken__line i, .oken__mic .oken__wave i, .oken__mic::after, .oken__said.is-live::after { animation: none !important; }
    .oken[data-mode="listening"] .oken__line i:nth-child(3n), .oken[data-mode="speaking"] .oken__line i:nth-child(4n) { transform: scaleY(3); }
    .oken__mic[aria-pressed="true"]::after { opacity: 0.7; transform: scale(1.12); }
    .oken-orb:active, .oken-card__add:active, .oken__mic:active { transform: none; }
  }

  /* =====================================================================
     v17: the first-visit question, the footer and checkout, built like the best shops build them.
     Labels sit inside their boxes, related things share one outline, and every control has one radius.
     See docs/DESIGN.md.
     ===================================================================== */
  :root {
    --field-line: rgb(15 27 36 / 0.46);   /* 3:1 on white, so the box edge itself is visible */
    --field-h: 3.25rem;
    --r-field: 0.5rem;
  }

  /* Fields with the label inside the box (.fl). With a value or focus the label sits small above the value; an
     empty, unfocused field shows it in the middle. It is a real <label>, always on screen; only its place moves. */
  .fl { display: grid; gap: 0.375rem; min-width: 0; }
  .fl__box { position: relative; min-width: 0; }
  .fl .fl__control { display: block; width: 100%; height: var(--field-h); min-height: 0; margin: 0; padding: 1.25rem 0.875rem 0.25rem;
    border: 1px solid var(--field-line); border-radius: var(--r-field); background-color: var(--paper); color: var(--ink);
    font: inherit; font-size: 1rem; line-height: 1.5rem; transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
  .fl select.fl__control { padding-right: 2.5rem; text-overflow: ellipsis; }
  .fl .fl__label { position: absolute; top: 0; left: 0.875rem; right: 2.5rem; display: block; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    font-size: 1rem; font-weight: 400; line-height: 1.5rem; color: var(--ink-2); pointer-events: none;
    transform-origin: 0 0; transform: translateY(0.375rem) scale(0.75); transition: transform 160ms var(--ease), color 160ms var(--ease); }
  .fl input.fl__control:placeholder-shown:not(:focus) + .fl__label,
  .fl select.fl__control:has(option[value=""]:checked) + .fl__label { transform: translateY(0.875rem) scale(1); }
  .fl .fl__control:focus, .fl .fl__control:focus-visible { outline: none; border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
  .fl .fl__control:focus + .fl__label { color: var(--action); }
  .fl .fl__control[aria-invalid="true"] { border: 1px solid var(--sale); box-shadow: 0 0 0 1px var(--sale); }
  .fl .fl__control[aria-invalid="true"] + .fl__label { color: var(--sale); }
  .fl .field__hint { margin: 0; font-size: var(--t-sm); line-height: 1.4; color: var(--ink-2); }
  .fl .field__error { margin: 0; font-size: var(--t-sm); font-weight: 500; line-height: 1.4; color: var(--sale); }
  .fl .field__error:empty { display: none; }
  .fl__box--flag .flag { position: absolute; z-index: 1; top: 50%; left: 0.875rem; width: 1.5rem; transform: translateY(-50%); pointer-events: none; }
  .fl__box--flag .fl__control { padding-left: 3.125rem; }
  .fl__box--flag .fl__label { left: 3.125rem; }
  @media (prefers-reduced-motion: reduce) { .fl .fl__label, .fl .fl__control { transition: none; } }

  /* The first visit and the country sheet: a small centred card on every screen, the question in the serif, one
     line on why it matters, the two choices and Confirm. */
  .sheet--region { width: min(27rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; border-radius: 1rem;
    box-shadow: 0 1.5rem 4rem rgb(15 27 36 / 0.28); }
  .sheet--region[open] { animation: card-in 240ms var(--ease); }
  @keyframes card-in { from { opacity: 0; transform: translateY(0.75rem) scale(0.98); } }
  .sheet--region .sheet__head { position: relative; display: block; padding: 2rem 3.5rem 0; border: 0; text-align: center; }
  .sheet--region .sheet__head .icon-btn { position: absolute; top: 0.5rem; right: 0.5rem; }
  .sheet--region .sheet__title { font-size: 1.75rem; line-height: 1.15; }
  .sheet--region .sheet__title:focus { outline: none; }
  .sheet--region .region-form { gap: 0.875rem; padding: 1.25rem 1.5rem 1.5rem; }
  .rg-lede { margin: -0.5rem 0 0.375rem; text-align: center; font-size: var(--t-base); line-height: 1.5; color: var(--ink-2); text-wrap: balance; }
  .sheet--region .rg-hint { margin: 0; padding-inline: 0.125rem; font-size: var(--t-sm); }
  .sheet--region .btn { margin-top: 0.375rem; }
  @media (prefers-reduced-motion: reduce) { .sheet--region[open] { animation: none; } }

  /* Footer: plus-and-minus accordions on phones, the country as plain text with a chevron above a hairline, then
     the seller and the policies in a small grid, the price note and the ways to pay. */
  .ft-group__pm { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
  .ft-group__v { transform-box: fill-box; transform-origin: center; transition: transform 200ms var(--ease); }
  .ft-group[open] .ft-group__v { transform: scaleY(0); }
  .ft-top .ft-group__h { min-height: 3.5rem; font-size: 1rem; font-weight: 600; }
  @media (max-width: 63.99rem) { .ft-top .ft-groups { border-top: 1px solid var(--ft-line); } }
  @media (min-width: 64rem) { .ft-group__pm { display: none; } }
  @media (prefers-reduced-motion: reduce) { .ft-group__v { transition: none; } }

  .footer .footer__prefs { display: flex; justify-content: center; padding-block: 2rem 1.25rem; }
  .ft-region { display: inline-flex; align-items: center; gap: 0.625rem; min-height: var(--tap); padding: 0 0.75rem; border: 0; border-radius: var(--r-sm);
    background: none; color: #fff; font: inherit; font-size: var(--t-base); font-weight: 600; letter-spacing: 0.01em; cursor: pointer; }
  .ft-region .flag { width: 1.375rem; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.24); }
  .ft-region__chev { width: var(--icon-sm); height: var(--icon-sm); transform: rotate(90deg); opacity: 0.8; }
  .ft-region:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  @media (hover: hover) { .ft-region:hover .region-pill__code { text-decoration: underline; text-underline-offset: 0.25em; } }

  .footer .ft-bottom { display: grid; justify-items: stretch; gap: 1rem; padding-block: 0 calc(var(--tabbar-h) + 1.5rem + env(safe-area-inset-bottom));
    border-top: 0; text-align: start; font-size: var(--t-sm); color: var(--ft-muted); }
  /* The hairline keeps to the text column, like the accordion rules above it */
  .footer .ft-bottom::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: 0.25rem; background: var(--ft-line); }
  .footer .ft-legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 0; padding: 0; list-style: none;
    font-size: var(--t-base); line-height: 1.35; color: rgb(255 255 255 / 0.78); text-align: start; }
  .footer .ft-legal li { display: flex; align-items: center; min-width: 0; min-height: var(--tap); }
  .footer .ft-legal .link-btn { min-height: var(--tap); padding: 0; color: rgb(255 255 255 / 0.78); font-size: var(--t-base); text-align: start; text-decoration: none; }
  @media (hover: hover) { .footer .ft-legal .link-btn:hover { color: #fff; text-decoration: underline; } }
  .ft-note { margin: 0; font-size: var(--t-xs); line-height: 1.5; color: var(--ft-muted); }
  .footer .ft-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; }
  .ft-pay__label { font-size: var(--t-xs); color: var(--ft-muted); }
  .footer .ft-pay .pay-list { justify-content: flex-start; gap: 0.25rem 1rem; }
  .footer .pay-list li { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.01em; color: #fff; }
  .footer .pay-list li.has-logo { padding: 0.125rem 0.375rem; border-radius: 4px; background: #fff; }
  @media (min-width: 64rem) {
    .footer .footer__prefs { justify-content: flex-start; padding-block: 1.5rem 1rem; }
    .ft-region { margin-inline-start: -0.75rem; }
    .footer .ft-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 2rem; row-gap: 0.25rem; padding-block: 0 3.5rem; }  /* the last row clears Oken's launcher */
    .footer .ft-bottom::before { grid-row: 1; margin-bottom: 0.5rem; }
    .footer .ft-legal { display: flex; flex-wrap: wrap; gap: 0 1.75rem; font-size: var(--t-sm); }
    .footer .ft-legal .link-btn { font-size: var(--t-sm); }
    .footer .ft-legal { grid-row: 2; }
    .footer .ft-pay { grid-column: 2; grid-row: 2; justify-content: flex-end; }
    .ft-note { grid-column: 1 / -1; grid-row: 3; }
  }

  /* Checkout. Phones: the whole screen, the order summary as a grey band under the title, then the form.
     Wider: the form on white beside the summary on a Stone panel that runs the full height. */
  #dlg-checkout .sheet__body { flex: 1 1 auto; min-height: 0; }
  @media (max-width: 44.99rem) {
    #dlg-checkout { height: calc(100dvh - var(--kb, 0px)); max-height: none; margin: 0 0 auto; border-radius: 0; }
    #dlg-checkout .sheet__head { padding-top: max(0.5rem, env(safe-area-inset-top)); border-bottom: 0; }
    .co-aside { margin: -1.25rem -1.25rem 0.25rem; }
    .co-sum { padding-inline: 1.25rem; border-block: 1px solid var(--line-soft); }
  }
  .co-layout { gap: 1.5rem; }
  .co-form { gap: 2rem; }
  .co-sec { gap: 0.75rem; }
  .co-sec + .co-sec { padding-top: 0; border-top: 0; }
  .co-sec__h { font-family: var(--sans); font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
  .co-grid { gap: 0.75rem; }
  @media (min-width: 22rem) { .co-grid--2 { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
  .co-note { margin: 0; font-size: var(--t-sm); line-height: 1.5; color: var(--ink-2); }
  #co-delivery { display: grid; gap: 0.625rem; }
  .co-form .co-open-note { display: flex; align-items: flex-start; gap: 0.625rem; margin: 0; padding: 0.75rem 0.875rem; border-radius: var(--r-field);
    background: rgb(227 179 65 / 0.16); color: var(--ink); font-size: var(--t-sm); line-height: 1.45; }
  .co-open-note svg { flex: none; width: var(--icon-sm); height: var(--icon-sm); margin-top: 0.125rem; }

  /* Order summary */
  .co-sum { background: var(--surface); }
  .co-sum > summary { min-height: 3.75rem; gap: 1rem; font-weight: 400; }
  .co-sum > summary::after { content: none; }
  .co-sum__toggle { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--link); font-size: var(--t-base); }
  .co-sum__chev { width: var(--icon-sm); height: var(--icon-sm); transform: rotate(90deg); transition: transform 200ms var(--ease); }
  .co-sum[open] .co-sum__chev { transform: rotate(-90deg); }
  .co-sum__total { font-size: 1.125rem; font-weight: 700; }
  .co-sum__lines { gap: 1rem; padding-block: 0.75rem 1rem; }
  .co-sum__lines li { grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 1rem; font-size: var(--t-base); }
  .co-sum__img { aspect-ratio: 1; border-radius: var(--r-field); background: var(--paper); box-shadow: 0 0 0 1px var(--line-soft); }
  .co-sum__img > :first-child { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-field); }
  .co-sum__qty { top: -0.5rem; right: -0.5rem; box-shadow: 0 0 0 2px var(--surface); }
  .co-sum .summary { gap: 0.5rem; margin-top: 0.75rem; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--line); background: none; }
  .co-sum .summary__row { font-size: var(--t-base); }
  .co-sum .summary__total { margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); align-items: baseline; font-weight: 600; }
  .co-sum .summary__total > span:last-child { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
  .co-sum > .co-note { margin-top: 0.75rem; font-size: var(--t-xs); }
  @media (prefers-reduced-motion: reduce) { .co-sum__chev { transition: none; } }
  @media (min-width: 45rem) {
    #dlg-checkout .sheet__body:has(.co-layout) { padding: 0; }
    .co-layout { flex: 1 0 auto; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; align-items: stretch; }
    .co-form { padding: 2rem 2.5rem 2.5rem; }
    .co-aside { position: static; order: 0; padding: 2rem; border-left: 1px solid var(--line-soft); background: var(--surface); }
    .co-aside .co-sum { position: sticky; top: 2rem; padding: 0; background: none; }
    .co-sum > summary { min-height: 0; margin-bottom: 0.25rem; cursor: default; }
    .co-sum__toggle { color: var(--ink); font-size: 1.25rem; font-weight: 600; }
    .co-sum__chev, .co-sum__total { display: none; }
  }

  /* Delivery: the method and its parcels in one outline */
  .co-shipbox { overflow: hidden; border: 1px solid var(--field-line); border-radius: var(--r-field); }
  .co-shipbox .co-ship { padding: 0.875rem 1rem; border-radius: 0; box-shadow: none; background: var(--action-tint); }
  .co-shipbox .co-ship svg { color: var(--action); }
  .co-shipbox .co-ship p { margin: 0; }
  .co-shipbox .co-ship b.num { font-weight: 600; }
  .co-shipbox .co-parcels { gap: 0; }
  .co-shipbox .co-parcels li { gap: 0.125rem; padding: 0.75rem 1rem; border-top: 1px solid var(--line-soft); border-radius: 0; background: none; font-size: var(--t-sm); }
  .co-shipbox .co-parcels b { font-weight: 600; }
  .co-shipbox .co-parcels span { font-size: var(--t-sm); line-height: 1.45; color: var(--ink-2); }

  /* Payment: one outline, rows split by hairlines; the chosen one tinted and opened to show its note */
  #co-form .choices { gap: 0; overflow: hidden; border: 1px solid var(--field-line); border-radius: var(--r-field); }
  #co-form .choice { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 0.875rem; min-height: 3.5rem; padding: 0.875rem 1rem; border: 0; border-radius: 0;
    background: var(--paper); box-shadow: none; }
  #co-form .choice + .choice { box-shadow: inset 0 1px 0 var(--line); }
  #co-form .choice:has(input:checked) { background: var(--action-tint); box-shadow: inset 0 0 0 1px var(--action); }
  #co-form .choice:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: -2px; }
  #co-form .choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--action); }
  .choice__name { font-weight: 500; }
  .choice__mark { justify-self: end; width: var(--icon-md); height: var(--icon-md); color: var(--ink-2); }
  img.choice__mark { width: auto; height: 1.25rem; }
  #co-form .choice small { grid-column: 2 / -1; margin-top: 0.25rem; font-size: var(--t-sm); line-height: 1.45; color: var(--ink-2); }
  #co-form .choice:not(:has(input:checked)) small { display: none; }

  /* The buy button */
  #dlg-checkout .sheet__foot { border-top-color: var(--line-soft); }
  #co-buy { min-height: 3.5rem; font-size: 1.0625rem; }
  /* "A few details need a look": a light red tint like the pre-launch note's gold one, no coloured side bar */
  .co-form .notice--warn { margin: 0; padding: 0.75rem 0.875rem; border-radius: var(--r-field); box-shadow: none; background: rgb(179 38 30 / 0.08);
    color: var(--ink); font-size: var(--t-sm); font-weight: 500; line-height: 1.45; }
  .co-form .notice--warn:focus { outline: none; }
  .co-form .notice--warn:focus-visible { outline: 2px solid var(--sale); outline-offset: 2px; }
  html:lang(ja) .rg-lede { word-break: auto-phrase; line-break: strict; }
