:root {
  color-scheme: light;
  --paper: #f5efe5;
  --light: #fffaf3;
  --ink: #2e241d;
  --muted: #694f41;
  --rule: #c4ad99;
  --clay: #8a452e;
  --earth: #422c22;
  --surface: #e8dacc;
  --heading: "Cormorant Garamond", "Times New Roman", serif;
  --text: Manrope, "Manrope Variable", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: .9375rem;
  line-height: 1.55;
}
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
img { display: block; }
p, figure, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: .97; }
h1, h2, h3, p, button, a { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.shell { width: min(100% - clamp(34px, 9vw, 150px), 1280px); margin-inline: auto; }
.screen-reader, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 5;
  inset: .75rem auto auto .75rem;
  background: var(--light);
  padding: .6rem 1rem;
}
.top {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--paper);
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
}
.logo {
  width: fit-content;
  max-width: 100%;
  font: 700 2.5rem/.9 var(--heading);
  letter-spacing: -.07em;
  text-decoration: none;
}
.logo span, .hero h1 span { color: var(--clay); }
.top nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 48px); min-width: 0; }
.top nav a, .footer > a:last-child { font-weight: 650; text-decoration: none; }
.top nav a:hover, .footer > a:last-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.basket-open {
  justify-self: end;
  background: transparent;
  border: 0;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0 5px 8px;
  max-width: 100%;
  min-height: 44px;
  font-weight: 700;
}
.basket-count {
  flex: none;
  min-width: 1.75rem;
  min-height: 1.75rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: .72rem;
  line-height: 1;
}
.has-items .basket-count { background: var(--earth); border-color: var(--earth); color: var(--light); }
.hero {
  padding-block: clamp(24px, 4.5vw, 64px) clamp(36px, 6vw, 92px);
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, .38fr);
  align-items: end;
  gap: 1rem clamp(20px, 4vw, 62px);
  margin-bottom: clamp(24px, 4vw, 54px);
}
.hero h1 { font-size: clamp(3.9rem, 7.8vw, 7.85rem); letter-spacing: -.069em; }
.hero-intro { display: grid; justify-items: start; gap: 1rem; max-width: 18.91em; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.button {
  background: var(--earth);
  min-height: 47px;
  border: 1px solid var(--earth);
  color: var(--light);
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: .65rem 1rem;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 750;
  transition: background .18s ease, color .18s ease;
}
.button:hover { background: var(--clay); border-color: var(--clay); }
.button-outline { background: transparent; color: var(--earth); }
.button-outline:hover { color: var(--light); }
.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px clamp(8px, 1.1vw, 16px);
}
.hero-piece {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .6rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.hero-piece:nth-child(3) { margin-top: clamp(16px, 4vw, 55px); }
.hero-piece:nth-child(4) { margin-top: clamp(12px, 2.2vw, 31px); }
.piece-photo {
  display: block;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1;
}
.hero-piece-main .piece-photo { aspect-ratio: 1.36; }
.piece-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  transition: transform .28s ease;
}
.hero-piece:not(:disabled):is(:hover, :focus-visible) .piece-photo img { transform: scale(1.035); }
.piece-caption { display: flex; justify-content: space-between; gap: .35rem; }
.piece-caption > span:first-child { display: grid; gap: .1rem; min-width: 0; }
.piece-caption strong { overflow-wrap: anywhere; font-size: clamp(.86rem, 1.3vw, 1.04rem); font-weight: 700; }
.piece-caption strong + span { color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.piece-arrow { color: var(--clay); line-height: 1.45; }
.hero-delivery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .2rem 1rem;
  margin-top: clamp(18px, 3vw, 42px);
  font-size: .88rem;
  color: var(--muted);
}
.hero-delivery a {
  color: var(--earth);
  font-weight: 700;
  text-underline-offset: .18em;
}
.serving {
  padding-block: clamp(22px, 4vw, 48px) clamp(42px, 7vw, 96px);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 5.75rem;
}
.serving-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(18px, 3.1vw, 38px);
}
.serving h2 { font-size: clamp(2.8rem, 6.2vw, 5.8rem); letter-spacing: -.04em; }
.serving-options { display: flex; flex-wrap: wrap; gap: 0 .95rem; }
.serving-options button {
  min-height: 44px;
  padding: .35rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}
.serving-options button:hover, .serving-options button[aria-pressed="true"] {
  border-bottom-color: var(--clay);
  color: var(--earth);
}
.serving-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 5vw, 76px);
}
.serving-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 1.46;
  gap: clamp(6px, 1.2vw, 18px);
  padding: clamp(9px, 2vw, 28px);
  background: var(--surface);
}
.serving-scene img { width: 100%; height: 100%; object-fit: cover; }
.serving-scene img:first-child { grid-row: 1 / 3; }
.serving-scene[data-set="tea"] img:first-child { align-self: start; height: 89%; }
.serving-scene[data-set="tea"] img:nth-child(2) {
  grid-row: 1 / 3;
  align-self: end;
  height: 72%;
}
.builder-preview { scroll-margin-top: 5.5rem; }
.builder-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .2rem .75rem;
  padding-bottom: .7rem;
}
.builder-toolbar .button { min-height: 44px; }
.builder-toolbar .button[aria-disabled="true"] { cursor: wait; opacity: .7; }
.builder-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1.36;
  perspective: clamp(650px, 95vw, 1400px);
  background: radial-gradient(ellipse at 30% 15%, #684b39, #31231e 78%);
}
.builder-volume { position: absolute; inset: 0; }
.builder-volume canvas { display: block; width: 100%; height: 100%; }
@media (orientation: landscape) and (max-height: 520px) {
  main :is(a, button) { scroll-margin-block-start: max(86px, 5rem); }
  .builder-preview {
    --builder-header-room: max(76px, 4.75rem);
    scroll-margin-block-start: calc(var(--builder-header-room) + .75rem);
  }
  .builder-stage {
    inline-size: 100%;
    max-block-size: max(0px, calc(100svh - var(--builder-header-room) - 1.5rem));
    scroll-margin-block-start: calc(var(--builder-header-room) + .75rem);
  }
}
@media (orientation: landscape) and (max-height: 520px) and (min-width: 661px) {
  .top { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: .55rem; }
  .top nav { justify-content: center; column-gap: .55rem; }
  .basket-open { white-space: nowrap; }
}
.builder-table {
  width: 80%;
  height: 79%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 6% 5%;
  padding: 4%;
  border: 1px solid #d9bd96;
  border-radius: 9%;
  background: repeating-linear-gradient(90deg, #57402a08 0 1px, transparent 1px 4px), #c09a73;
  box-shadow: 0 9px 0 #7f5540, 0 12px 0 #613e30, 0 23px 33px #180d09a3, inset 0 0 0 6px #ddc19f73;
  transform-style: preserve-3d;
  transition: transform .48s cubic-bezier(.2,.7,.2,1);
}
.builder-table[data-view="angle"] { transform: rotateX(43deg) rotateZ(-7deg) scale(1.04); }
.builder-dish {
  position: relative;
  width: 24%;
  aspect-ratio: 1;
  transform: translateZ(12px);
}
.builder-dish img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 0 #a68772, 0 10px 13px #49312170;
}
.builder-dish span {
  position: absolute;
  z-index: 1;
  right: -6%;
  bottom: -4%;
  display: grid;
  place-items: center;
  min-width: 1.6rem;
  min-height: 1.6rem;
  padding-inline: .2rem;
  border-radius: 50%;
  background: var(--earth);
  color: var(--light);
  font: 750 clamp(.64rem, 1.4vw, .85rem)/1 var(--text);
  font-variant-numeric: tabular-nums;
}
.builder-empty {
  align-self: center;
  color: #422c22;
  font: 600 clamp(1.35rem, 4vw, 3rem)/1.1 var(--heading);
}
.builder-preview figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-block: .25rem;
  column-gap: .8rem;
  color: var(--muted);
  font-size: .82rem;
}
.builder-message { flex-basis: 100%; }
.builder-message:empty { display: none; }
.builder-views { display: flex; flex-wrap: wrap; gap: .72rem; }
.builder-views button {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--earth);
  font-weight: 700;
  font-size: .82rem;
}
.builder-views button[aria-pressed="true"] { border-color: var(--clay); }
.builder-items { margin: 0; padding: 0; border-bottom: 1px solid var(--rule); list-style: none; }
.builder-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .3rem .5rem;
  padding: .45rem 0;
  border-top: 1px solid var(--rule);
}
.builder-item-limit {
  grid-column: 2;
  justify-self: end;
  color: var(--muted);
  font-size: .78rem;
  text-align: right;
  overflow-wrap: anywhere;
}
.builder-product { min-width: 0; overflow-wrap: anywhere; }
.builder-product span { display: block; color: var(--muted); font-size: .82rem; }
.builder-stepper { display: flex; align-items: center; }
.builder-stepper span { width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
.builder-stepper button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--earth);
  font: 700 1.25rem/1 var(--text);
}
.builder-stepper button:not([aria-disabled="true"]):hover { background: var(--surface); border-color: var(--earth); }
.builder-stepper button[aria-disabled="true"], .builder-tools button[aria-disabled="true"] { opacity: .56; cursor: default; }
.builder-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .8rem; margin-top: .2rem; }
@media (scripting: enabled) {
  /* Keep delivery outside the initial viewport while the grid is populated on an anchor visit. */
  .products[aria-busy="true"] { min-block-size: min(100svh, 46rem); }
}
.serving-copy { min-width: 0; }
.serving-description { margin-bottom: clamp(14px, 2vw, 24px); font-size: clamp(.98rem, 1.25vw, 1.12rem); }
.serving-items {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--rule);
  list-style: none;
}
.serving-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .2rem 1rem;
  padding: .55rem 0;
  border-top: 1px solid var(--rule);
}
.serving-item-size { grid-column: 1 / -1; color: var(--muted); font-size: .84rem; }
.serving-item-quantity { font-size: .88rem; font-variant-numeric: tabular-nums; }
.serving-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .2rem .8rem;
  padding-block: .5rem;
}
.serving-total strong { font: 600 clamp(2.2rem, 4vw, 3.4rem)/1 var(--heading); font-variant-numeric: lining-nums tabular-nums; }
.serving-note { min-height: 2.6em; margin-block: .15rem .7rem; color: var(--muted); font-size: .84rem; }
.serving-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .85rem; }
.serving-actions .button[aria-disabled="true"] { border-color: var(--rule); background: var(--surface); color: var(--earth); cursor: default; }
.serving-cart {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--earth);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.serving-cart:disabled { color: var(--muted); text-decoration: none; }
.collection { scroll-margin-top: 5.75rem; padding-bottom: clamp(34px, 6vw, 78px); }
.collection-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: end;
  border-bottom: 1px solid var(--rule);
  padding: .5rem 0 1rem;
  margin-bottom: 1.4rem;
}
.collection-head > * { min-width: 0; max-width: 100%; }
.collection h2, .endnote h2 { font-size: clamp(2.7rem, 5.1vw, 4.6rem); letter-spacing: -.055em; }
.catalog-status { margin-top: .45rem; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 100px;
  color: var(--ink);
  font-weight: 650;
  min-height: 44px;
  max-width: 100%;
  padding: .3rem .85rem;
  font-size: .84rem;
}
.filters button:hover { border-color: var(--earth); }
.filters button[aria-pressed="true"] { color: var(--light); background: var(--earth); border-color: var(--earth); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 58px) clamp(12px, 2.6vw, 37px); }
.product { min-width: 0; display: flex; flex-direction: column; }
.product-photo { overflow: hidden; aspect-ratio: 1.08; background: var(--surface); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem .65rem;
  padding-top: .95rem;
}
.product-title h3, .cart-item h3 { font-size: clamp(1.45rem, 2.65vw, 2.15rem); letter-spacing: -.035em; }
.product-price { color: var(--earth); font-weight: 750; font-variant-numeric: tabular-nums; }
.product-size { color: var(--muted); font-size: .88rem; margin: .48rem 0 .8rem; }
.product-use { margin-top: .42rem; }
.product-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .9rem;
  margin-top: auto;
  border-block: 1px solid var(--rule);
}
.product-detail-trigger {
  min-height: 44px;
  padding: .28rem 0;
  border: 0;
  color: var(--earth);
  background: transparent;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .16em;
  font-size: .85rem;
  font-weight: 650;
}
.product-detail-trigger:hover { color: var(--clay); }
.product-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: .28rem 0;
  border: 0;
  background: transparent;
  color: var(--earth);
  text-align: left;
  font-size: .85rem;
  font-weight: 750;
}
.product-add:hover { color: var(--clay); }
.plus { color: var(--clay); font-size: 1.42rem; font-weight: 500; line-height: 1; }
.product-quantity { flex-basis: 100%; padding-bottom: .28rem; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.catalog-error { color: var(--clay); grid-column: 1 / -1; }
.care-guide {
  margin-bottom: clamp(45px, 8vw, 100px);
  padding: clamp(22px, 5.6vw, 75px);
  background: var(--earth);
  color: var(--light);
}
.care-guide header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  margin-bottom: clamp(25px, 4vw, 55px);
}
.care-guide h2 { font-size: clamp(2.5rem, 6vw, 5.05rem); letter-spacing: -.044em; }
.care-guide header p { max-width: 34ch; }
.care-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem clamp(20px, 4vw, 68px); }
.care-guide article { display: flex; flex-direction: column; gap: .65rem; padding-block: 1.1rem 0; border-top: 1px solid #ae8d74; }
.care-guide h3 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); }
.care-guide p { color: #f3e5d5; }
.care-guide a {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: auto;
  font-weight: 750;
  font-size: .84rem;
  text-underline-offset: .18em;
}
.care-guide a:focus-visible { outline-color: var(--light); }
.endnote {
  scroll-margin-top: 5.75rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(27px, 5vw, 66px) 0;
  display: grid;
  gap: 1rem 2.2rem;
  grid-template-columns: 1.25fr 1fr auto;
  align-items: center;
}
.endnote h2 { font-size: clamp(2.2rem, 3.7vw, 3.65rem); }
.endnote p { color: var(--muted); max-width: 42ch; }
.footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1.25rem;
  flex-wrap: wrap;
  padding-block: 1.2rem;
}
.footer p { color: var(--muted); font-size: .88rem; }
.toast {
  position: fixed;
  z-index: 2;
  inset: auto clamp(15px, 5vw, 45px) clamp(15px, 5vw, 40px) auto;
  max-width: min(90vw, 370px);
  padding: .7rem 1rem;
  background: var(--earth);
  color: var(--light);
  font-size: .87rem;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translateY(.45rem);
  transition: transform .18s ease, opacity .18s ease;
}
.toast.visible { opacity: 1; transform: none; }
.detail {
  inset: 0;
  width: min(900px, calc(100% - 36px));
  max-width: none;
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--light);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.detail::backdrop { background: #291d16a6; }
.detail-tools {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  justify-content: end;
  padding: .65rem clamp(12px, 3vw, 30px);
  background: var(--light);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 3.6vw, 46px);
  padding: 0 clamp(12px, 3vw, 30px) 2rem;
}
.detail-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--surface); }
.detail-copy { min-width: 0; }
.detail-copy h2 { font-size: clamp(2.1rem, 4.35vw, 3.75rem); letter-spacing: -.05em; }
.detail-price { margin-block: .65rem; color: var(--earth); font-weight: 760; font-variant-numeric: tabular-nums; }
.detail-description, .detail-delivery { color: var(--muted); }
.detail-specs { margin-block: .9rem; }
.detail-specs div {
  display: grid;
  grid-template-columns: minmax(6.5rem, .36fr) minmax(0, 1fr);
  align-items: baseline;
  gap: .2rem .65rem;
  border-top: 1px solid var(--rule);
  padding-block: .55rem;
}
.detail-specs dt { color: var(--muted); font-size: .88rem; font-weight: 710; }
.detail-specs dd { min-width: 0; overflow-wrap: anywhere; }
.detail-delivery { margin-bottom: .8rem; font-size: .87rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.detail-feedback:not(:empty) { color: var(--earth); font-size: .9rem; font-weight: 650; margin-top: .55rem; }
.cart {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(100%, 590px);
  max-width: 100%;
  height: 100dvh;
  max-height: 100%;
  border: 0;
  background: var(--light);
  color: var(--ink);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 80px;
}
.cart::backdrop { background: #291d16a6; }
.cart-inner { padding: 0 clamp(17px, 5vw, 35px) 2rem; }
.cart-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-block: .8rem .62rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.2rem;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.cart-head h2 { font-size: clamp(2.15rem, 7vw, 3.3rem); letter-spacing: -.06em; }
.close-cart {
  display: block;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--earth);
  line-height: 1;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
}
.close-cart:hover { color: var(--clay); border-color: var(--clay); }
.cart-empty h3 { font-size: clamp(1.8rem, 4vw, 2.55rem); }
.cart-empty p { margin-block: .8rem 1rem; max-width: 38ch; color: var(--muted); }
.cart-summary { color: var(--muted); font-size: .85rem; margin-bottom: .7rem; }
.cart-items { list-style: none; padding: 0; margin: 0 0 1.15rem; }
.cart-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding-bottom: .8rem;
  margin-bottom: .8rem;
  border-bottom: 1px solid var(--rule);
}
.cart-item:last-child { margin-bottom: 0; }
.cart-item > img { width: 62px; height: 62px; object-fit: cover; background: var(--surface); }
.cart-item h3 { font-size: 1.45rem; }
.cart-item p { margin-top: .32rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.cart-item-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: .45rem; min-width: 0; }
.quantity { display: inline-grid; grid-template-columns: 44px minmax(1.65em, auto) 44px; align-items: center; font-variant-numeric: tabular-nums; }
.quantity button { border: 1px solid var(--rule); background: transparent; color: var(--earth); width: 44px; min-height: 44px; }
.quantity button:hover { color: var(--clay); border-color: var(--clay); }
.quantity button:disabled { color: var(--muted); border-color: var(--rule); opacity: .58; }
.quantity span { text-align: center; }
.remove { color: var(--clay); background: transparent; border: 0; min-height: 44px; padding: 0 .22rem; font-size: .82rem; text-decoration: underline; text-underline-offset: .13em; }
#order-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
#order-fields legend { padding: 0; margin-bottom: .65rem; font-weight: 800; }
.delivery-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .5rem; }
.delivery-options label {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: .52rem;
  border: 1px solid var(--rule);
  padding: .55rem .6rem;
  cursor: pointer;
}
.delivery-options label:has(input:checked) { border-color: var(--clay); background: var(--paper); }
.delivery-options input { accent-color: var(--clay); margin: 0; flex: none; }
.delivery-options span { display: grid; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.delivery-options small { font-size: .78rem; font-weight: 550; color: var(--muted); }
.delivery-note { margin-block: .7rem 1.25rem; color: var(--muted); font-size: .84rem; }
.field-title { margin-bottom: .55rem; font-size: 1.58rem; }
.contact-fields .address-error { display: block; margin-top: .3rem; color: #923510; font-size: .82rem; font-weight: 650; }
.contact-fields input[aria-invalid="true"] { border-color: #923510; }
.order-summary { margin-top: 1.15rem; padding-block: .7rem .15rem; border-top: 1px solid var(--rule); }
.totals { margin-block: 0 .9rem; }
.totals div, .order-received dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem;
  padding-block: .2rem;
}
.total { border-top: 1px solid var(--rule); padding-top: .5rem !important; margin-top: .4rem; font-weight: 800; }
.total dd, .order-received dd { font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.checkout-note { color: var(--muted); margin-bottom: .9rem; font-size: .81rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .75rem; }
.contact-fields label { min-width: 0; font-size: .82rem; font-weight: 700; }
.contact-fields .address { grid-column: 1 / -1; }
.contact-fields input {
  width: 100%;
  display: block;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  min-height: 44px;
  margin-top: .2rem;
  padding: .45rem .55rem;
}
.order-submit { margin-top: .25rem; width: 100%; }
.order-submit:disabled { opacity: .7; }
.order-feedback:not(:empty) { color: #923510; margin-top: .8rem; }
.order-received h3 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 1rem; }
.receipt-items { list-style: none; margin: 0 0 .85rem; padding: 0; }
.receipt-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem 1rem;
  padding-block: .3rem;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.order-received dl { border-block: 1px solid var(--rule); margin-bottom: 1rem; padding-block: .5rem; }
.order-received dd { font-weight: 700; }
@media (max-width: 870px) {
  .hero h1 { font-size: clamp(3.2rem, 8.1vw, 5.4rem); }
  .endnote { grid-template-columns: 1fr 1fr; }
  .endnote button { grid-column: 2; }
}
@media (max-width: 660px) {
  html { scrollbar-gutter: auto; }
  .top { min-height: 60px; display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: .65rem; row-gap: .15rem; padding-block: .35rem; }
  .top nav { justify-content: center; }
  .top nav a:first-child { display: none; }
  .top-demo { display: inline-flex; align-items: center; min-block-size: 44px; font-size: .8rem; }
  .hero h1 { font-size: clamp(2.52rem, 12.6vw, 4.85rem); }
  .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-intro { gap: .7rem; max-width: 40ch; }
  .hero-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(5rem, 29%)), 1fr)); }
  .hero-piece-main { grid-column: 1 / -1; }
  .hero-piece-main .piece-photo { aspect-ratio: 1.55; }
  .hero-piece:nth-child(n) { margin-top: 0; }
  .piece-caption { gap: .1rem; }
  .piece-caption strong { font-size: .83rem; }
  .piece-caption strong + span { font-size: .82rem; }
  .hero-delivery { font-size: .82rem; }
  .serving { scroll-margin-top: 4.5rem; }
  .serving-spread { grid-template-columns: minmax(0, 1fr); }
  .care-guide-grid { grid-template-columns: 1fr; }
  .collection-head { align-items: start; gap: .8rem; }
  .products { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(8.15rem, 40%)), 1fr)); }
  .endnote { grid-template-columns: 1fr; }
  .endnote button { grid-column: auto; }
  .footer p { order: 3; flex-basis: 100%; font-size: .8rem; }
  .footer a:last-child { font-size: .86rem; }
  .detail { width: min(100% - 14px, 440px); max-height: calc(100dvh - 14px); }
  .detail-tools { padding-block: .4rem; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-photo { aspect-ratio: 4 / 3; object-fit: contain; }
}
@media (max-width: 410px) {
  .product-size { font-size: .82rem; }
  .product-title h3 { font-size: 1.5rem; }
  .product-price { font-size: .84rem; }
  .product-title { display: grid; }
  .filters button { font-size: .78rem; padding-inline: .65rem; }
  .cart-item { grid-template-columns: 54px minmax(0, 1fr); gap: 6px 9px; }
  .cart-item > img { width: 54px; height: 54px; }
  .cart-item-actions { grid-column: 1 / -1; justify-content: space-between; }
  .contact-fields { grid-template-columns: 1fr; }
}
@media (min-width: 361px) and (max-width: 660px) {
  main :is(a, button):focus-visible { scroll-margin-block-start: max(76px, 6rem); }
}
@media (max-width: 360px) {
  .top { position: static; }
  .serving { scroll-margin-top: 1rem; }
  .builder-preview { scroll-margin-top: 1rem; }
  .serving h2 { font-size: clamp(2.3rem, 11vw, 2.85rem); }
  .collection h2 { font-size: clamp(2.15rem, 9vw, 3rem); }
  .endnote h2 { font-size: clamp(1.9rem, 8.2vw, 3rem); }
  .collection { scroll-margin-top: 1rem; }
  .detail-specs div { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media (forced-colors: active), (prefers-contrast: more) {
  .serving-options button, .builder-views button { border-bottom-style: none; }

  :is(.serving-options, .builder-views, .filters) button[aria-pressed="true"],
  .delivery-options label:has(input:checked) > span {
    text-decoration: underline solid currentColor .13em;
    text-underline-offset: .27em;
  }

  :is(.serving-options button, .builder-views button, .filters button, .delivery-options input, .basket-open):focus-visible {
    outline: 2px dashed currentColor;
    outline-offset: 3px;
  }

  .has-items .basket-count { border: 3px double currentColor; }
}
