/* Alora WTR. One typeface (Jost), navy ink on white, square edges, hairlines, and photographs that carry
   the colour. Icons come from one sheet (/icons.svg). */

@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@view-transition { navigation: auto; }

:root {
  --ink: #06194f;
  --paper: #fff;
  --mist: #edf1f7;
  --set: #e2e9f4;
  --line: #d6deea;
  --muted: #56638a;
  --focus: #1e4fd8;
  --whatsapp: #25d366;
  --danger: #a3261c;
  --ok: #17693a;
  --gutter: clamp(20px, 4.4vw, 64px);
  --wide: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 "Jost", "Century Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-weight: 400; line-height: 1.06; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 72px); }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: 24px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); max-width: 31em; }
.quiet, .small { color: var(--muted); font-size: 15px; }
.label, .eyebrow, legend {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; margin: 0;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 10px 14px; z-index: 10; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.icon { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.brand { fill: currentColor; stroke: none; }

.notice { margin: 0; padding: 9px var(--gutter); background: var(--ink); color: var(--paper); text-align: center; font-size: 14px; letter-spacing: 0.02em; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter); height: 72px;
  background: rgb(255 255 255 / 0.9); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top nav { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.top nav a { text-decoration: none; font-size: 15px; letter-spacing: 0.02em; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.top nav a:hover, .top nav a[aria-current] { background-size: 100% 1px; }
.top .brand img { height: 34px; width: auto; }
.bag { justify-self: end; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; padding: 8px 0; }
.bag b { font-weight: 500; font-size: 12px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 10px; background: var(--ink); color: var(--paper); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0.03em; text-decoration: none; cursor: pointer;
  padding: 16px 28px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.button .icon { transition: translate 0.3s var(--ease); }
.button:hover { background: #0d2a7a; }
.button:hover .icon:last-child { translate: 4px 0; }
.button.ghost, .button.line { background: transparent; color: var(--ink); border-color: var(--line); }
.button.ghost:hover, .button.line:hover { border-color: var(--ink); background: transparent; }
.button.line .icon.brand { color: var(--whatsapp); }
.button[disabled] { opacity: 0.5; cursor: progress; }
.button.full { width: 100%; }
.button.small { padding: 11px 18px; font-size: 14px; }
.button.danger { background: var(--paper); color: var(--danger); border-color: #e6c4c0; }
.button.danger:hover { background: #fdf3f2; border-color: var(--danger); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.text-link { font-weight: 500; font-size: 15px; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px; }

/* Hero: the photograph is the page; the words sit in its empty third */
.hero { position: relative; background: var(--set); display: grid; align-items: center; min-height: min(78vh, 760px, 52vw); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 62%; }
.hero-text { position: relative; width: 100%; padding: clamp(36px, 5vw, 96px) var(--gutter); }
.hero-text > * { max-width: min(28rem, 31vw); }
.hero .label { margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 66px); }
.hero .lead { margin-top: 22px; color: #3d4b76; }
.hero .button.line { background: rgb(255 255 255 / 0.72); border-color: transparent; backdrop-filter: blur(8px); }
.hero .button.line:hover { background: var(--paper); }

.facts { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wide); display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.facts li { position: relative; display: flex; gap: 14px; align-items: center; padding: 28px 20px 28px clamp(18px, 2.4vw, 32px); font-size: 15px; color: var(--muted); line-height: 1.4; }
.facts li:first-child { padding-left: 0; }
.facts li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 30px; translate: 0 -50%; background: var(--line); }
.facts b { display: block; color: var(--ink); font-weight: 500; }

/* Sections */
.block { max-width: var(--wide); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gutter); }
.block.first { padding-top: clamp(40px, 5vw, 72px); }
.block.narrow { max-width: 780px; }
.block > header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 24px; margin-bottom: clamp(28px, 4vw, 52px); }
.block > header .label { grid-column: 1 / -1; color: var(--muted); }
.block.first h1 { font-size: clamp(34px, 4.2vw, 56px); }

/* Product tiles */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 52px) clamp(14px, 1.8vw, 24px); }
.tile { display: block; text-decoration: none; }
.tile[hidden] { display: none; }
.tile-photo { display: block; aspect-ratio: 4 / 5; background: var(--mist); overflow: hidden; }
.tile-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; scale: 1.08; transition: scale 0.9s var(--ease); }
.tile:hover .tile-photo img { scale: 1.15; }
.tile-text { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 14px; }
.tile-name { font-size: 18px; }
.tile-price { font-size: 16px; }
.tile-kinds, .tile-pack { color: var(--muted); font-size: 14px; }
.tile-kinds { grid-column: 1 / -1; }
.tile-kinds:has(+ .tile-pack) { grid-column: 1; }
.tile-price, .tile-pack { text-align: right; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 34px; }
.chips button { font: inherit; font-size: 14px; letter-spacing: 0.03em; cursor: pointer; padding: 9px 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color 0.25s, background 0.25s, color 0.25s; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* The three waters */
.waters { border-top: 1px solid var(--line); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); }
.three article { padding: 6px clamp(18px, 2.6vw, 40px) 6px 0; display: grid; gap: 12px; align-content: start; }
.three article + article { padding-left: clamp(18px, 2.6vw, 40px); border-left: 1px solid var(--line); }
.three .num { font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }
.three p { color: var(--muted); margin: 0; max-width: 24em; }
.three .text-link { margin-top: 10px; }

/* Bulk and refills, side by side */
.duo { background: var(--mist); }
.duo-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.duo-inner > div { display: grid; gap: 18px; align-content: start; justify-items: start; }
.duo .label { color: var(--muted); }
.duo p { margin: 0; color: var(--muted); max-width: 28em; }
.example { color: var(--ink) !important; padding: 16px 0; border-block: 1px solid var(--line); width: 100%; }
.example b { font-weight: 500; }

dl.plain { margin: 0; display: grid; width: 100%; }
dl.plain div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
dl.plain div:last-child { border-bottom: 1px solid var(--line); }
dl.plain dt { color: var(--muted); }
dl.plain dd { margin: 0; }
dl.plain.big div { padding: 20px 0; align-items: center; }
dl.plain.big dd { font-size: 19px; }

/* Product page */
.product { max-width: var(--wide); margin: 0 auto; padding: clamp(16px, 2.4vw, 32px) var(--gutter) clamp(64px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.product-photo { position: sticky; top: 96px; background: var(--mist); aspect-ratio: 1; }
.product-photo img { mix-blend-mode: multiply; width: 100%; height: 100%; object-fit: contain; }
.product-buy { padding-top: clamp(8px, 2vw, 28px); max-width: 30rem; }
.product-buy h1 { font-size: clamp(40px, 4.4vw, 60px); margin-bottom: 14px; }
.crumbs { color: var(--muted); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
[data-picker] { margin-top: 34px; display: grid; gap: 28px; }
[data-picker] > .price { font-size: 22px; margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; color: var(--muted); }
.segmented { display: flex; flex-wrap: wrap; }
.segmented input, .offers input, .choice input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { cursor: pointer; margin-right: -1px; }
.segmented span { display: block; padding: 12px 22px; border: 1px solid var(--line); font-size: 15px; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.segmented label:hover span { border-color: var(--ink); position: relative; }
.segmented input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); position: relative; }
.segmented input:focus-visible + span, .offers input:focus-visible + span, .choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.offers { display: grid; border-top: 1px solid var(--line); }
.offers label { cursor: pointer; border-bottom: 1px solid var(--line); }
.offers span { display: grid; grid-template-columns: 18px 1fr auto 5.4em; gap: 14px; align-items: center; padding: 16px 2px; }
.offers span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1px solid #9aa6c4; transition: border-width 0.2s var(--ease), border-color 0.2s; }
.offers input:checked + span::before { border: 6px solid var(--ink); }
.offers b { font-weight: 400; font-size: 17px; }
.offers i { font-style: normal; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }
.offers small { color: var(--muted); font-size: 14px; white-space: nowrap; }
.bulk { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.offers input:checked + span b, .offers input:checked + span i { font-weight: 500; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; margin: 0; }
.total-line small { display: block; font-size: 14px; color: var(--ok); margin-top: 2px; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: stretch; }
.stepper { display: inline-grid; grid-template-columns: 46px 48px 46px; border: 1px solid var(--line); background: var(--paper); }
.stepper button { display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background 0.2s; }
.stepper button:hover { background: var(--mist); }
.stepper input { font: inherit; font-weight: 500; text-align: center; border: 0; width: 100%; color: var(--ink); background: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.added { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 0; padding: 14px 16px; background: var(--mist); font-size: 15px; }
.added .icon { color: var(--ok); }
.assurances { list-style: none; padding: 0; margin: 36px 0 0; display: grid; border-top: 1px solid var(--line); }
.assurances li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* Checkout */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 0 0 36px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; }
.steps li::before { content: "0" counter(step) "  "; white-space: pre; }
.steps li.on { border-top: 2px solid var(--ink); padding-top: 11px; color: var(--ink); }
.lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lines b { font-weight: 400; font-size: 18px; }
.lines .each { color: var(--muted); font-size: 14px; grid-column: 1; }
.lines .line-total { min-width: 5.5em; text-align: right; }
.lines .remove { grid-column: 1 / -1; justify-self: start; font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.lines.pictured li { grid-template-columns: 64px 1fr auto auto; }
.lines.pictured .remove { grid-column: 2 / -1; }
.thumb { grid-row: span 2; align-self: start; width: 64px; height: 64px; background: var(--mist); }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lines .stepper { grid-template-columns: 38px 40px 38px; }
.lines .stepper button { height: 38px; }
.sums { margin: 22px 0 28px; display: grid; gap: 8px; }
.sums div { display: flex; justify-content: space-between; color: var(--muted); }
.sums .grand { font-size: 24px; color: var(--ink); padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--ink); }
.choice { display: grid; margin: 32px 0; border-top: 1px solid var(--line); }
.choice label { cursor: pointer; border-bottom: 1px solid var(--line); }
.choice span { display: grid; grid-template-columns: 18px 1fr; gap: 2px 14px; align-items: center; padding: 16px 2px; }
.choice span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1px solid #9aa6c4; grid-row: 1 / span 2; transition: border-width 0.2s var(--ease); }
.choice input:checked + span::before { border: 6px solid var(--ink); }
.choice b { font-weight: 400; font-size: 17px; }
.choice input:checked + span b { font-weight: 500; }
.choice small { color: var(--muted); font-size: 14px; grid-column: 2; }
.choice input:disabled + span { opacity: 0.5; cursor: not-allowed; }
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.form label small { letter-spacing: 0; }
.form input, .form textarea, .form select { font: inherit; font-size: 17px; letter-spacing: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper); width: 100%; transition: border-color 0.2s; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ink); outline: 0; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form [aria-invalid="true"] { border-color: var(--danger); }
.error { color: var(--danger); font-size: 15px; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.row .button { flex: 1 1 200px; }
.summary { background: var(--mist); padding: 22px 24px; margin-bottom: 24px; }
.summary h2 { font-size: 11.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.summary p { margin: 0; }
.empty { text-align: center; padding: 56px 0; display: grid; gap: 22px; justify-items: center; }
.secure { display: flex; gap: 10px; align-items: center; }

/* Order status */
.order-head { display: grid; gap: 14px; margin-bottom: 36px; }
.order-head .number { font-size: 11.5px; font-weight: 500; letter-spacing: 0.26em; color: var(--muted); margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0 0 36px; display: grid; }
.timeline li { position: relative; padding: 0 0 26px 38px; color: var(--muted); font-size: 15px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid #9aa6c4; background: var(--paper); }
.timeline li::after { content: ""; position: absolute; left: 9.5px; top: 22px; bottom: -2px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ink); border-color: var(--ink); }
.timeline li.done::after { background: var(--ink); }
.timeline b { display: block; font-weight: 500; font-size: 18px; }

.form + [data-order]:not(:empty) { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }

.prose h2 { font-size: 24px; margin: 1.8em 0 0.5em; }
.prose p { max-width: 38em; color: #2c3a66; }

/* Footer */
.foot { background: var(--ink); color: #dfe6f7; padding: clamp(56px, 7vw, 96px) var(--gutter) 28px; }
.foot-grid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot .wordmark { height: 46px; width: auto; filter: brightness(0) invert(1); }
.foot h2 { font-size: 11.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; margin-bottom: 16px; color: #93a2cf; }
.foot a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 5px 0; font-size: 15px; width: fit-content; }
.foot a:hover { text-decoration: underline; }
.foot p { color: #93a2cf; max-width: 21em; margin-top: 20px; font-size: 15px; }
.foot .small { max-width: var(--wide); margin: 56px auto 0; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.16); font-size: 13px; letter-spacing: 0.04em; }

/* Things arrive quietly as they scroll into view, where the browser can do it without script */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tile, .three article, .duo-inner > div, .facts li {
      animation: arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 42%;
    }
    @keyframes arrive { from { opacity: 0; translate: 0 22px; } }
  }
}

@media (min-width: 961px) and (max-width: 1279px) {
  .hero h1 { font-size: 4.3vw; }
  .hero .label { margin-bottom: 16px; }
  .hero .lead { font-size: 16px; margin-top: 16px; }
  .hero .actions { margin-top: 24px; }
  .hero .button.line { display: none; }
}
@media (max-width: 960px) {
  .hero { display: block; min-height: 0; }
  .hero-photo { position: static; aspect-ratio: 5 / 4; }
  .hero-photo img { object-position: 100% 60%; }
  .hero-text > * { max-width: 34rem; }
  .hero-text { padding-block: 40px 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { padding-left: 0; }
  .facts li:nth-child(3)::before { display: none; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .three, .duo-inner, .product { grid-template-columns: 1fr; }
  .three article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 22px; }
  .product-photo { position: static; }
  .product-buy { max-width: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top { height: 60px; grid-template-columns: auto 1fr auto; gap: 18px; }
  .top nav { order: 2; justify-content: flex-end; gap: 14px; }
  .top nav a { font-size: 14px; }
  .top nav a:nth-child(4) { display: none; }
  .top .brand { order: 1; }
  .bag { order: 3; }
  .bag span { display: none; }
  .top .brand img { height: 28px; }
  .facts li { padding: 18px 10px 18px 14px; font-size: 14px; gap: 10px; }
  .offers span { grid-template-columns: 18px 1fr auto 4.8em; gap: 10px; }
  .lines.pictured li { grid-template-columns: 64px 1fr auto; }
  .lines.pictured .what { grid-area: 1 / 2; }
  .lines.pictured .line-total { grid-area: 1 / 3; align-self: start; min-width: 0; }
  .lines.pictured .stepper { grid-area: 2 / 2; }
  .lines.pictured .remove { grid-area: 2 / 3; justify-self: end; align-self: center; }
  .form .two { grid-template-columns: 1fr; }
  .lines li { grid-template-columns: 1fr auto; }
  .lines .line-total { grid-column: 2; grid-row: 1; }
  .lines .stepper { grid-column: 1 / -1; justify-self: start; }
  .buy-row { grid-template-columns: 1fr; }
  .stepper { justify-self: start; }
  .stepper button { height: 46px; }
  dl.plain div { grid-template-columns: 7.5em 1fr; }
  .block > header { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}

/* Opening hours: days on the left, times on the right */
.hours { margin: 0; display: grid; width: 100%; }
.hours div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.hours div:last-child { border-bottom: 1px solid var(--line); }
.hours dt { color: var(--ink); }
.hours dd { margin: 0; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.visit { width: 100%; display: grid; gap: 12px; margin-top: 10px; }
.visit .label { display: flex; gap: 8px; align-items: center; }
.duo .visit .where { color: var(--ink); padding: 12px 0; border-block: 1px solid var(--line); max-width: none; }

/* Contact: one row per way to reach the shop, its icon always on the left */
.contacts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contacts li { display: grid; grid-template-columns: 22px 7.5em 1fr; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.contacts li > span:first-of-type { color: var(--muted); font-size: 15px; }
.contacts a { text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.contacts .icon { color: var(--ink); }
.contacts .hours div { border: 0; padding: 3px 0; justify-content: flex-start; gap: 18px; }
.contacts .hours dt { min-width: 13.5em; }
.foot .icon, .contacts .icon { width: 18px; height: 18px; }

/* The cart panel */
html.locked { overflow: hidden; }
.scrim { position: fixed; inset: 0; z-index: 20; background: rgb(6 25 79 / 0.34); opacity: 0; transition: opacity 0.45s var(--ease); }
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; z-index: 21; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--paper); display: grid; grid-template-rows: auto 1fr;
  translate: 100% 0; visibility: hidden;
  transition: translate 0.55s var(--ease), visibility 0s 0.55s;
}
.drawer.on { translate: 0 0; visibility: visible; transition: translate 0.55s var(--ease), visibility 0s; box-shadow: -30px 0 80px rgb(6 25 79 / 0.14); }
.drawer > header { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 24px; height: 72px; border-bottom: 1px solid var(--line); }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background 0.2s; }
.icon-button:hover { background: var(--mist); }
.drawer-body { display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.drawer-lines { list-style: none; margin: 0; padding: 0 24px; overflow-y: auto; overscroll-behavior: contain; }
.drawer-lines li { display: grid; grid-template-columns: 72px 1fr auto; gap: 8px 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.drawer-lines .thumb { width: 72px; height: 72px; }
.drawer-lines .line-total { justify-self: end; font-variant-numeric: tabular-nums; }
.drawer-lines .what { display: grid; gap: 2px; }
.drawer-lines b { font-weight: 400; font-size: 17px; line-height: 1.3; }
.drawer-lines .each { color: var(--muted); font-size: 14px; }
.drawer-lines .stepper { grid-column: 2; grid-template-columns: 34px 38px 34px; justify-self: start; }
.drawer-lines .stepper button { height: 34px; }
.drawer-lines .remove { grid-column: 3; align-self: center; justify-self: end; font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.drawer-lines li.fresh { animation: settle 0.9s var(--ease) both; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-foot .sub { display: flex; justify-content: space-between; font-size: 20px; margin: 0; }
.drawer-foot .quiet { margin: 0 0 4px; }
.drawer-empty { display: grid; gap: 22px; place-content: center; justify-items: center; padding: 24px; color: var(--muted); }
@keyframes settle { from { opacity: 0; translate: 24px 0; } }

/* Small changes that should feel like one thing changing, not a redraw */
.bag b.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { scale: 1.35; } }
[data-total].tick { animation: tick 0.35s var(--ease); }
@keyframes tick { from { opacity: 0; translate: 0 6px; } }
.product-photo img { transition: opacity 0.2s ease; }
.product-photo img.changing { opacity: 0; }
.more { border-top: 1px solid var(--line); }

/* Moving between pages and steps: the header stays put, the page eases over, pictures travel */
.top { view-transition-name: top; }
[data-checkout], [data-order] { view-transition-name: stage; }
::view-transition-old(root) { animation: leave 0.22s ease both; }
::view-transition-new(root) { animation: enter 0.5s var(--ease) both; }
::view-transition-old(stage) { animation: leave 0.2s ease both; }
::view-transition-new(stage) { animation: enter 0.45s var(--ease) both; }
::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: var(--ease); }
@keyframes leave { to { opacity: 0; } }
@keyframes enter { from { opacity: 0; translate: 0 10px; } }

@media (max-width: 600px) {
  .contacts li { grid-template-columns: 22px 1fr; gap: 6px 14px; font-size: 17px; }
  .contacts li > :nth-child(3) { grid-column: 2; }
  .contacts .hours dt { min-width: 0; }
  .contacts .hours div { justify-content: space-between; }
  .drawer > header { height: 60px; }
}

/* Address suggestions under a text box */
.lookup { position: relative; display: block; }
.lookup input::placeholder { color: var(--muted); opacity: 0.75; }
.suggest { position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% - 1px); list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 18px 40px rgb(6 25 79 / 0.14); animation: enter 0.25s var(--ease) both; }
.suggest li { display: grid; gap: 1px; padding: 11px 16px; letter-spacing: 0; cursor: pointer; border-bottom: 1px solid var(--line); }
.suggest b { font-weight: 400; font-size: 16px; color: var(--ink); }
.suggest span { font-size: 14px; color: var(--muted); }
.suggest [aria-selected="true"], .suggest [role="option"]:hover { background: var(--mist); }
.suggest .suggest-by { border: 0; cursor: default; padding: 7px 16px; font-size: 12px; color: var(--muted); text-align: right; }
.reach { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 15px; }
.reach.yes { color: var(--ok); }
.reach.no { color: var(--danger); }

/* The pay step of a preview deploy (src/preview.ts). */
.pay-step form { margin-top: 30px; }
.pay-step .back { margin-top: 22px; color: var(--muted); }

/* About page */
.about-hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 64px) var(--gutter) clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-head .label { color: var(--muted); margin-bottom: 16px; }
.about-head h1 { font-size: clamp(36px, 4.4vw, 62px); }
.about-head .lead { max-width: 31em; color: var(--ink); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; margin-top: 24px; }
.about-head .lead strong { font-weight: 600; color: var(--ink); }
.about-body { color: var(--muted); max-width: 34em; margin-top: 16px; }
.about-photo { background: var(--set); aspect-ratio: 4 / 5; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.meaning-band { background: var(--ink); color: #dfe6f7; }
.meaning-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(64px, 8.5vw, 116px) var(--gutter); }
.meaning-inner > .label { color: #93a2cf; }
.meaning-quote { margin: 16px 0 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.022em; color: #fff; font-weight: 400; }
.meaning-quote strong { font-weight: 600; }
.meaning-motto { margin: 16px 0 0; color: #93a2cf; font-size: clamp(16px, 1.4vw, 19px); }
.meaning-cols {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgb(255 255 255 / 0.16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
}
.meaning-cols .label { color: #93a2cf; margin-bottom: 10px; }
.meaning-cols h3 { color: #fff; margin-bottom: 18px; }
.meaning-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(255 255 255 / 0.16); }
.meaning-list li { padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 0.16); color: #dfe6f7; font-size: 16px; }
.meaning-list strong { font-weight: 600; color: #fff; }

.about-pillars { border-top: 0; }

.supply-band { background: var(--mist); }
.supply-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(64px, 8.5vw, 116px) var(--gutter); }
.supply-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 48px); }
.supply-head .label { color: var(--muted); margin-bottom: 12px; }
.supply-head .lead { margin-top: 16px; }
.supply-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(28px, 5vw, 72px);
}
.supply-grid li {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
}
.supply-grid li:nth-child(-n + 2) { border-top: 1px solid var(--line); }
.supply-grid .num { font-size: 12px; letter-spacing: 0.18em; color: var(--muted); font-variant-numeric: tabular-nums; }

.visit-band { background: var(--paper); }
.visit-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(64px, 8vw, 108px) var(--gutter); }
.visit-head { margin-bottom: clamp(28px, 4vw, 44px); }
.visit-head .label { color: var(--muted); margin-bottom: 12px; }
.visit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.visit-cols > div, .about-head, .meaning-cols > div { min-width: 0; }
.visit-cols > div { display: grid; gap: 24px; align-content: start; justify-items: start; }
.visit-cols .visit { margin-top: 0; }
.visit-cols .label { color: var(--muted); }
.visit-cols .visit .where { color: var(--ink); padding: 12px 0; border-block: 1px solid var(--line); max-width: none; margin: 0; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .about-hero { grid-template-columns: 1fr; padding-top: 32px; }
  .about-photo { aspect-ratio: 4 / 3; }
  .meaning-cols, .visit-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .supply-grid { grid-template-columns: 1fr; }
  .supply-grid li:nth-child(2) { border-top: 0; }
}
