/* Components: buttons, fields, cards, sheets, header, footer and the other shared parts.
   Load order (see index.html): fonts, base, components, views, utilities, refinements. */

@layer components {
  .skip { position: absolute; left: 1rem; top: -10rem; z-index: 100; padding: 0.75rem 1rem; background: var(--ink); color: #fff; }
  .skip:focus { top: 1rem; }

  /* header */
  /* The three promises, above the header: warm, short, and true for the chosen delivery country. */
  .perks { background: var(--saffron); color: var(--ink); font-size: 0.8125rem; font-weight: 700; line-height: 1.35; }
  .perks__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 2.5rem; min-height: 2.25rem; padding-block: 0.375rem; text-align: center; }
  .perks__list li { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; }
  .perks__list li:not(:first-child) { display: none; }
  .perks svg { width: 1.125rem; height: 1.125rem; flex: none; }
  @media (min-width: 45rem) { .perks__list li:not(:first-child) { display: inline-flex; } }
  .header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
  .header__row { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.5rem; min-height: var(--header-h); }
  .wordmark { font-family: "ok-display", Georgia, serif; font-size: 1.75rem; line-height: 1; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); margin-inline-end: auto; padding-inline: 0.25rem; }
  .nav { display: none; }
  /* Language button: a globe and the language's own name. Opens the language list. */
  .lang-btn { display: inline-flex; align-items: center; gap: 0.4375rem; min-height: var(--tap); min-width: var(--tap); padding: 0 0.625rem; border: 0; background: none; color: inherit; font-size: 0.9375rem; white-space: nowrap; }
  .lang-mark { position: relative; display: inline-grid; place-items: center; flex: none; width: 1.875rem; height: 1.625rem; padding-bottom: 0.3125rem; font-family: "ok-display", Georgia, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; font-size: 0.875rem; line-height: 1; transition: color 160ms var(--ease); }
  .lang-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .lang-mark__t { position: relative; letter-spacing: 0.01em; }
  .lang-mark__t:lang(ja) { font-size: 0.8125rem; }
  @media (hover: hover) { .lang-btn:hover .lang-mark { --bubble-fill: var(--chalk); } .footer .lang-btn:hover .lang-mark { --bubble-fill: rgb(255 255 255 / 0.1); } }
  .header .lang-btn { display: none; }
  .lang-btn--row { width: 100%; justify-content: flex-start; padding: 0; border-bottom: 1px solid var(--line); min-height: 3.5rem; font-size: 1rem; }
  @media (hover: hover) { .lang-btn:hover [data-lang-name] { text-decoration: underline; text-underline-offset: 0.25em; } }
  .icon-btn { position: relative; display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); max-width: max(44px, 15vw); max-height: max(44px, 15vw); border: 0; border-radius: 50%; background: none; color: inherit; text-decoration: none; flex: none; }
  @media (hover: hover) { .icon-btn:hover { background: var(--chalk); } }
  .icon-btn svg { width: min(1.5rem, 62%); height: min(1.5rem, 62%); }
  .badge-count { position: absolute; top: 0.125rem; right: 0; min-width: 1.125rem; height: 1.125rem; padding-inline: 0.3rem; border-radius: 1rem; background: var(--ink); color: #fff; font-size: 0.6875rem; font-weight: 700; line-height: 1.125rem; text-align: center; }
  .badge-count[hidden] { display: none; }
  .badge-count.is-bumped { animation: bump 300ms var(--ease); }
  @keyframes bump { 40% { transform: scale(1.35); } }
  /* The full navigation needs about 75rem in the longer languages; below that the menu button carries it. */
  @media (min-width: 75rem) {
    .menu-btn { display: none; }
    .wordmark { font-size: 2.125rem; margin-inline-end: 0; }
    .header__row { flex-wrap: nowrap; }
    .nav { display: flex; margin-inline: auto; }
    .header .lang-btn { display: inline-flex; }
    /* Equal spacing: every label gets the same padding and the same gap, so the gaps between words are equal. */
    .nav { gap: 0.25rem clamp(0rem, 1.6vw - 1.2rem, 0.75rem); }
    .nav a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); min-width: var(--tap); padding-inline: 0.75rem; text-decoration: none; font-weight: 400; }
    .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.55em; }
    @media (hover: hover) { .nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.55em; } }
    .nav a[aria-current="page"] { font-weight: 700; }
  }
  @media (max-width: 22.5rem) { .header__row { gap: 0; } .header .wordmark { font-size: 1.5rem; } :root { --gutter: 0.75rem; } }

  /* buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0 1.25rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
  @media (hover: hover) { .btn:hover { background: #2C2C36; } }
  .btn--light { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
  @media (hover: hover) { .btn--light:hover { background: var(--chalk); border-color: var(--ink); } }
  .btn--block { width: 100%; }
  .btn:active:not(:disabled), .card__cta:active, .size:active:not(:disabled), .icon-btn:active, .chip:active, .stepper button:active { transform: scale(0.97); }
  .btn, .icon-btn, .chip { transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease); }
  .btn--big { min-height: 3.5rem; font-size: 1.0625rem; }
  .inline-link { display: inline-block; min-height: 0; padding: 0.625rem 0.375rem; margin: -0.625rem -0.375rem; border: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
  .btn:disabled { background: var(--chalk); color: var(--ink-2); border: 1px dashed var(--line-strong); }
  .link-btn { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; display: inline-flex; align-items: center; min-height: var(--tap); text-align: left; }
  .text-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--tap); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }

  /* tags: only ever shown when the data says so */
  .tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .tag { display: inline-flex; align-items: center; height: 1.5rem; padding: 0 0.5rem; font-size: 0.75rem; font-weight: 700; line-height: 1; background: var(--paper); color: var(--ink); white-space: nowrap; }
  .tag--sale { background: var(--sale); color: #fff; }
  .tag--new { background: var(--ink); color: #fff; }
  .tag--limited { background: var(--saffron); color: var(--ink); }
  .tag--soldout, .tag--soon { box-shadow: inset 0 0 0 1px var(--ink); }

  /* product card */
  .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 0.75rem; }
  @media (min-width: 45rem) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; } }
  @media (min-width: 64rem) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (min-width: 110rem) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
  @media (min-width: 200rem) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
  .card { position: relative; display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
  .card__media { position: relative; aspect-ratio: 4 / 5; background: var(--tint, var(--chalk)); overflow: hidden; }
  .card__media > svg { width: 100%; height: 100%; transition: transform 300ms var(--ease); }
  @media (hover: hover) { .card:hover .card__media > svg { transform: scale(1.03); } }
  .card.is-soldout .card__media > svg { opacity: 0.45; filter: grayscale(0.7); }
  .card__tags { position: absolute; inset: 0.625rem 0.625rem auto 0.625rem; pointer-events: none; }
  /* One labelled button per card: "Add", or "Choose size" when a size is needed. */
  .card__cta { position: absolute; right: 0.625rem; bottom: 0.625rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; min-width: var(--tap); min-height: var(--tap); padding: 0 0.875rem 0 0.75rem; border: 0; background: var(--paper); color: var(--ink); font-size: 0.875rem; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 1px 2px rgb(22 22 29 / 0.08), 0 0.25rem 0.875rem rgb(22 22 29 / 0.1); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
  @media (hover: hover) { .card__cta:hover { background: var(--ink); color: #fff; } }
  .card__cta svg { width: 1.125rem; height: 1.125rem; flex: none; }
  /* Long labels in any language never spill out of the card. */
  .card__cta { max-width: calc(100% - 1.25rem); }
  .card__cta-label { overflow: hidden; text-overflow: ellipsis; }
  .card__cta.is-done { background: var(--ok); color: #fff; }
  /* Phone-width cards: label only, slightly smaller, so longer languages fit. Very narrow cards: icon only. */
  @container (max-width: 12rem) { .card__cta { padding: 0 0.6875rem; font-size: 0.8125rem; } .card__cta svg { display: none; } }
  @container (max-width: 9.75rem) {
    .card__cta svg { display: block; }
    .card__cta { padding: 0; }
    .card__cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  }
  .card__body { padding-top: 0.875rem; display: flex; flex-direction: column; gap: 0.3125rem; }
  .card__brand { font-size: 0.8125rem; line-height: 1.3; color: var(--ink-2); }
  /* Two lines are always reserved for the title, so prices line up across a row. */
  .card__title { font-size: 1rem; font-weight: 400; line-height: 1.35; min-height: 2.7em; }
  /* The title button stretches over the card, so the whole card opens the product. */
  .card__open { all: unset; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .card__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .card__open:focus-visible { outline: none; }
  .card:has(.card__open:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
  @media (hover: hover) { .card:hover .card__open { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; } }
  .card__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.5rem; }
  .price { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.005em; }
  .price--sale { color: var(--sale); }
  .was { font-size: 0.875rem; color: var(--ink-2); }
  .save { font-size: 0.8125rem; font-weight: 700; color: var(--sale); }
  .rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; min-height: 1.25rem; font-size: 0.8125rem; }
  .rating--none { color: var(--ink-2); }
  .rating__count { color: var(--ink-2); }
  .stars { position: relative; display: block; flex: none; width: 4.375rem; height: 0.875rem; color: rgb(22 22 29 / 0.2); }
  .stars svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .stars__on { color: var(--ink); clip-path: inset(0 calc(100% - var(--fill)) 0 0); }
  .card__ship { display: grid; gap: 0.0625rem; margin-top: 0.125rem; font-size: 0.8125rem; color: var(--ink-2); }
  .ok { color: var(--ok); font-weight: 700; }
  @container (max-width: 10rem) { .card__title { font-size: 0.9375rem; } .price { font-size: 1rem; } }
  .card--feature .card__body { padding-top: 1.125rem; }
  .card--feature .card__title { font-family: var(--display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.01em; min-height: 0; }

  /* receipt */
  .receipt { background: var(--paper); color: var(--ink); padding: 1.25rem; box-shadow: inset 0 0 0 1px var(--line); }
  .receipt__cap { font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 0.5rem; }
  .receipt__row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.375rem 0; }
  .receipt__row::after { content: ""; order: 2; flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted var(--line-strong); transform: translateY(-0.25rem); }
  .receipt__row dt { order: 1; min-width: 0; }
  .receipt__row dd { order: 3; white-space: nowrap; }
  .receipt__row small { display: block; color: var(--ink-2); font-size: 0.75rem; }
  .receipt__total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 2px solid var(--ink); font-weight: 700; }
  .receipt__total span:last-child { font-size: 1.75rem; line-height: 1; }
  .receipt__foot { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--ink-2); }

  /* forms */
  .field { display: flex; flex-direction: column; gap: 0.375rem; }
  .field label { font-size: 0.875rem; font-weight: 700; }
  .field input, .select { width: 100%; height: 3rem; padding: 0 0.875rem; border: 1px solid var(--line-strong); background: var(--paper); font-size: 1rem; border-radius: 0; }
  .field input:focus-visible, .select:focus-visible { outline-offset: 1px; }
  .field input[aria-invalid="true"] { border: 2px solid var(--sale); }
  .field__error { color: var(--sale); font-size: 0.8125rem; font-weight: 700; }
  .field__error:empty { display: none; }
  .form { display: flex; flex-direction: column; gap: 1rem; }
  .form-done { padding: 1rem; background: var(--chalk); font-size: 0.9375rem; }
  .select { appearance: none; padding-right: 2.5rem; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316161D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center / 1.125rem; }
  .check { display: flex; gap: 0.75rem; align-items: flex-start; min-height: var(--tap); font-size: 0.9375rem; cursor: pointer; }
  .check input { width: 1.25rem; height: 1.25rem; margin: 0.125rem 0 0; flex: none; accent-color: var(--ink); }

  /* dialogs: bottom sheet on phones, centred panel or side drawer on larger screens */
  dialog { padding: 0; border: 0; color: var(--ink); background: var(--paper); max-width: none; max-height: none; }
  dialog::backdrop { background: rgb(22 22 29 / 0.55); }
  .sheet { width: 100%; margin: auto 0 0; max-height: 92dvh; flex-direction: column; }
  .dlg-inner { display: contents; }
  /* Phones: when the on-screen keyboard opens, script sets --kb to its height and sheets lift above it. */
  @media (max-width: 44.99rem) {
    .sheet { margin-bottom: var(--kb, 0px); max-height: calc(92dvh - var(--kb, 0px)); }
    .sheet__body:last-child { padding-bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 0.75rem)); }
    /* Search fills the screen from the top: the field never moves and is never under the keyboard. */
    .sheet--search { margin: 0 0 auto; height: calc(100dvh - var(--kb, 0px)); max-height: none; }
    .sheet--search[open] { animation: sheet-down 260ms var(--ease); }
    .sheet--search .sheet__body { flex: 1 1 auto; }
  }
  @keyframes sheet-down { from { transform: translateY(-1.25rem); opacity: 0; } }
  .sheet[open] { display: flex; }
  dialog:not([open]) { display: none; }
  .sheet[open] { animation: sheet-in 280ms var(--ease); }
  @keyframes sheet-in { from { transform: translateY(2rem); opacity: 0; } }
  .sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 1.25rem; border-bottom: 1px solid var(--line); flex: none; }
  .sheet__title { min-width: 0; font-family: var(--display); font-size: 1.75rem; line-height: 1.1; font-weight: 400; }
  .sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
  .sheet__foot { flex: none; padding: 1rem 1.25rem max(1.25rem, calc(env(safe-area-inset-bottom) + 0.75rem)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.75rem; }
  @media (min-width: 45rem) {
    .sheet { width: min(44rem, calc(100vw - 4rem)); margin: auto; max-height: min(52rem, calc(100dvh - 4rem)); }
    .sheet--wide { width: min(64rem, calc(100vw - 4rem)); }
    /* Search is pinned near the top, so the field stays put while results appear below it. */
    .sheet--search { margin: 8dvh auto auto; max-height: min(44rem, 84dvh); }
    .sheet--side { width: min(28rem, 100vw); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; }
    .sheet--side[open] { animation: side-in 280ms var(--ease); }
    .sheet--menu { margin: 0 auto 0 0; }
    .sheet--menu[open] { animation: side-in-left 280ms var(--ease); }
  }
  @keyframes side-in { from { transform: translateX(2rem); opacity: 0; } }
  @keyframes side-in-left { from { transform: translateX(-2rem); opacity: 0; } }

  /* short notices (warnings, saved settings) */
  .toast { position: fixed; z-index: 61; top: 5rem; left: 50%; translate: -50% 0; width: min(28rem, calc(100vw - 1.5rem)); display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.875rem 1.125rem 0.875rem 1rem; background: var(--paper); color: var(--ink); font-size: 0.9375rem; line-height: 1.45; box-shadow: var(--float); border-left: 4px solid var(--ok); }
  .toast.is-warn { border-left-color: var(--sale); }
  .toast svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.0625rem; color: var(--ok); }
  .toast.is-warn svg { color: var(--sale); }
  .toast.is-in, .added.is-in { animation: drop-in 260ms var(--ease); }
  @keyframes drop-in { from { opacity: 0; transform: translateY(-0.5rem); } }

  /* "Added to your basket" panel: what was added, where you stand, what to do next */
  .added { position: fixed; z-index: 60; top: 5rem; right: max(0.75rem, calc((100vw - var(--page)) / 2 + var(--gutter))); width: min(24rem, calc(100vw - 1.5rem)); background: var(--paper); box-shadow: var(--float); }
  .added__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.25rem 0.25rem 0.25rem 1rem; border-bottom: 1px solid var(--line); }
  .added__title { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--ok); }
  .added__title svg { width: 1.25rem; height: 1.25rem; flex: none; }
  .added__item { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0.875rem; padding: 1rem; }
  .added__img { aspect-ratio: 4 / 5; background: var(--tint, var(--chalk)); }
  .added__img > svg, .added__img .no-img { width: 100%; height: 100%; }
  .added__name { font-size: 0.9375rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .added__meta { font-size: 0.8125rem; color: var(--ink-2); margin-top: 0.125rem; }
  .added__price { font-weight: 700; margin-top: 0.25rem; }
  .added .meter { margin-inline: 1rem; }
  .added__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; padding: 1rem; }
  .added__actions .btn { min-height: var(--tap); padding: 0 0.75rem; font-size: 0.9375rem; }
  @media (max-width: 44.99rem) { .added { left: 0.75rem; right: 0.75rem; width: auto; } }

  /* free-delivery meter, shared by the panel and the basket */
  .meter { display: grid; gap: 0.5rem; padding: 0.75rem 0.875rem; background: var(--chalk); }
  .meter__text { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
  .meter__text svg { width: 1.25rem; height: 1.25rem; flex: none; }
  .meter__bar { display: block; height: 0.375rem; border-radius: 1rem; background: rgb(22 22 29 / 0.12); overflow: hidden; }
  .meter__fill { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--ink); transition: width 300ms var(--ease); }
  .meter.is-done { background: var(--ok-wash); }
  .meter.is-done .meter__text { color: var(--ok); font-weight: 700; }
  .meter.is-done .meter__fill { background: var(--ok); }

  /* cookie banner: plain words, two equal choices */
  .cookie { position: fixed; z-index: 50; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); max-width: 36rem; padding: 0.875rem 1rem; background: var(--paper); box-shadow: var(--float); display: grid; gap: 0.625rem; }
  .cookie__title { font-size: 1.0625rem; font-weight: 700; }
  .cookie__text { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
  .cookie__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .cookie__actions .btn { min-height: var(--tap); padding-inline: 0.75rem; }
  /* Phones: the heading stays for screen readers only, so the banner covers less than a quarter of the screen. */
  @media (max-width: 44.99rem) { .cookie__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
  @media (min-width: 45rem) { .cookie { left: var(--gutter); bottom: calc(1.5rem + env(safe-area-inset-bottom)); padding: 1.25rem 1.5rem; gap: 0.75rem; } }

  /* cookie settings */
  .ck-record { padding: 0.75rem 1rem; background: var(--chalk); font-size: 0.875rem; }
  .ck-cat { border: 1px solid var(--line); }
  .ck-cat__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; }
  .ck-cat__head h3 { font-size: 1rem; }
  .ck-cat__head p { font-size: 0.875rem; color: var(--ink-2); margin-top: 0.25rem; }
  .ck-always { flex: none; font-size: 0.8125rem; font-weight: 700; color: var(--ok); padding-top: 0.125rem; }
  .ck-details { border-top: 1px solid var(--line); }
  .ck-details summary { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); padding: 0 1rem; font-size: 0.875rem; font-weight: 700; cursor: pointer; list-style: none; }
  .ck-details summary::-webkit-details-marker { display: none; }
  .ck-details summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; }
  .ck-details[open] summary::after { content: "\2212"; }
  .ck-details > div { display: grid; gap: 0.75rem; padding: 0 1rem 1rem; font-size: 0.875rem; }
  .ck-items { display: grid; gap: 0.5rem; }
  .ck-item { padding: 0.75rem 0.875rem; background: var(--chalk); }
  .ck-item dl { display: grid; gap: 0.25rem; margin-top: 0.375rem; }
  .ck-item dl div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.5rem; }
  .ck-item dt { color: var(--ink-2); }
  .switch { position: relative; flex: none; display: inline-grid; place-items: center; min-width: var(--tap); min-height: var(--tap); cursor: pointer; }
  .switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
  .switch__ui { position: relative; width: 2.75rem; height: 1.625rem; border-radius: 1rem; background: #85858E; pointer-events: none; transition: background-color 160ms var(--ease); }
  .switch__ui::after { content: ""; position: absolute; top: 0.1875rem; left: 0.1875rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.25); transition: transform 160ms var(--ease); }
  .switch input:checked + .switch__ui { background: var(--ok); }
  .switch input:checked + .switch__ui::after { transform: translateX(1.125rem); }
  .switch input:focus-visible + .switch__ui { outline: 3px solid var(--ink); outline-offset: 2px; }

  /* footer: dark, calm, everything a customer looks for in one place */
  .footer { margin-top: 5rem; background: var(--ink); color: #fff; }
  .footer__links { display: grid; gap: 0.5rem; }
  .footer__links a, .footer__links .link-btn { display: flex; align-items: center; min-height: var(--tap); width: 100%; text-decoration: none; }
  @media (hover: hover) { .footer__links a:hover, .footer__links .link-btn:hover { text-decoration: underline; } }
  .footer .footer__links a, .footer .footer__links .link-btn { color: rgb(255 255 255 / 0.78); font-size: 0.9375rem; }
  @media (hover: hover) { .footer .footer__links a:hover, .footer .footer__links .link-btn:hover { color: #fff; } }
  .footer__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 3rem 2.5rem; }
  .footer .wordmark { color: #fff; margin-inline-start: -0.25rem; }
  .footer__line { color: rgb(255 255 255 / 0.72); max-width: 34ch; }
  .footer__h { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.25rem; }
  .care { display: grid; justify-items: start; gap: 0.25rem; margin-top: 1.5rem; }
  .care__mail { display: inline-flex; align-items: center; gap: 0.625rem; min-height: var(--tap); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; overflow-wrap: anywhere; }
  .care__mail svg { width: 1.375rem; height: 1.375rem; flex: none; color: var(--saffron); }
  .care p { font-size: 0.875rem; color: rgb(255 255 255 / 0.72); max-width: 40ch; }
  .footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  @media (min-width: 45rem) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .footer__news { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 2.5rem; border-top: 1px solid rgb(255 255 255 / 0.14); }
  .footer__news h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.15; }
  .footer__news p { margin-top: 0.5rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.72); max-width: 54ch; }
  .news-form { display: grid; gap: 0.5rem; }
  .news-form label { font-size: 0.875rem; font-weight: 700; }
  .news-form__row { display: flex; gap: 0.5rem; }
  .news-form input { flex: 1 1 0; width: 0; min-width: 0; height: 3rem; padding: 0 1rem; border: 1px solid rgb(255 255 255 / 0.5); border-radius: 0; background: rgb(255 255 255 / 0.06); color: #fff; font-size: 1rem; }
  .news-form input[aria-invalid="true"] { border: 2px solid #FFB4AB; }
  .news-form .btn { background: #fff; color: var(--ink); border-color: #fff; flex: none; }
  @media (hover: hover) { .news-form .btn:hover { background: var(--chalk); } }
  .news-form .form-done { background: rgb(255 255 255 / 0.1); color: #fff; }
  .on-dark .field__error { color: #FFB4AB; }
  .footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem 2rem; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 0.8125rem; color: rgb(255 255 255 / 0.68); }
  .footer .lang-btn { margin-inline: -0.625rem; color: rgb(255 255 255 / 0.86); }
  .footer .lang-mark { --bubble-stroke: var(--saffron); }
  .footer__prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; min-width: 0; max-width: 100%; }
  .country-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.625rem; min-width: 0; max-width: 100%; }
  .country-pick .select { width: auto; min-width: 0; max-width: 100%; height: var(--tap); }
  .select--dark { background-color: transparent; color: #fff; border-color: rgb(255 255 255 / 0.5); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
  .select--dark option { color: var(--ink); background: var(--paper); }
  /* Phones and tablets: search you can see and the delivery country, under the header. */
  .subbar { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.625rem; }
  .search-pill { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 0.625rem; min-height: var(--tap); padding: 0 1rem; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink-2); font-size: 1rem; text-align: left; }
  .search-pill svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--ink); }
  .search-pill span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .deliver-chip { position: relative; flex: none; display: inline-flex; align-items: center; gap: 0.3125rem; min-height: var(--tap); padding: 0 0.75rem; border: 1px solid var(--line-strong); background: var(--paper); font-size: 0.9375rem; font-weight: 700; }
  .deliver-chip svg { width: 1.125rem; height: 1.125rem; flex: none; }
  .deliver-chip::after { content: ""; width: 0.4375rem; height: 0.4375rem; margin-inline-start: 0.125rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.125rem) rotate(45deg); }
  .deliver-chip__select { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); opacity: 0; cursor: pointer; }
  .deliver-chip:has(.deliver-chip__select:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
  @media (hover: hover) { .search-pill:hover, .deliver-chip:hover { border-color: var(--ink); } }
  @media (min-width: 75rem) { .subbar { display: none; } }
  /* While the search field is visible under the header, the header's search button isn't repeated. */
  @media (max-width: 74.999rem) { .header .header-search { display: none; } }
  @media (min-width: 64rem) {
    .footer__main { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; padding-block: 3.5rem 3rem; }
    .footer__news { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: center; }
  }
}
