:root {
  color-scheme: light;
  scrollbar-gutter: stable;
  --cream: #faf7f3;
  --paper: #fffaf6;
  --champagne: #eadbd0;
  --wine: #800f2f;
  --ink: #392a28;
  --muted: #6d5754;
  --line: #e8d8cc;
  --control-border: #9a827f;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 16px; line-height: 1.55; }
h1, h2, h3, p, dl, dt, dd { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--wine); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 1; left: 8px; top: -95px; padding: 12px; background: white; }
.skip-link:focus { top: 8px; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner, main, footer > div { width: min(1120px, calc(100% - clamp(24px, 5vw, 64px))); margin-inline: auto; }
.header-inner, nav, footer > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 70px; }
.header-inner .brand-logo { width: 124px; height: 62px; }
nav { gap: clamp(14px, 3vw, 30px); }
nav a, footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: .88rem; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
main { padding-block: clamp(12px, 1.8vw, 23px) clamp(30px, 5vw, 62px); min-height: 70vh; }
main[aria-busy="true"] { min-height: 100vh; min-height: 100svh; }
.eyebrow { color: var(--wine); font-size: .69rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { color: var(--wine); font-family: var(--serif); font-weight: 400; }
.kit-hero {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(108deg, #fcf8f2, #f4ebe1 70%, var(--champagne));
}
.hero-copy { align-self: center; padding: clamp(18px, 4.8vw, 34px) clamp(17px, 5vw, 42px) 10px; }
h1 { margin: 6px 0 10px; color: var(--ink); font-size: clamp(2.05rem, 8.5vw, 3.7rem); letter-spacing: -.052em; line-height: 1.02; }
h1 em { color: var(--wine); white-space: nowrap; font-weight: 400; }
.hero-lead { color: var(--ink); font: 400 clamp(1.12rem, 3.1vw, 1.8rem)/1.23 var(--serif); }
.hero-lead strong { color: var(--wine); font-weight: 600; }
.hero-batches { margin-top: 3px; color: var(--muted); font-size: .88rem; }
.hero-shortcut { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.hero-shortcut::before { content: ""; width: 26px; height: 1px; background: var(--wine); }
.kit-photo { position: relative; align-self: center; width: 100%; min-width: 0; margin: 0; container-type: inline-size; }
.kit-photo > img { display: block; width: 100%; height: auto; }
.batch-callout {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 30.4%;
  height: 11.9%;
  border: 1px solid #fffaf4;
  border-width: clamp(1px, .28cqw, 2px);
  border-radius: 999px;
  color: #fffaf4;
  background: #780c29;
  font-family: var(--serif);
  line-height: 1.02;
  text-align: center;
  white-space: nowrap;
}
.batch-callout.half { left: 1.04%; top: 18.36%; }
.batch-callout.full { left: 59.42%; top: 19.35%; }
.batch-callout strong { font-size: .85rem; font-size: clamp(.71rem, 3.55cqw, 1.46rem); }
.batch-callout small { font-size: .67rem; font-size: clamp(.63rem, 2.5cqw, .98rem); }
.kit-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin: 12px 0 clamp(18px, 2.5vw, 30px);
  padding: 8px 0;
  list-style: none;
  background: #f2e7dd;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.kit-highlights li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 1px 5px; text-align: center; }
.kit-highlights li + li { border-left: 1px solid #d7bfb2; }
.kit-highlights svg, .panel-heading svg { flex: none; width: 25px; height: 25px; fill: none; stroke: var(--wine); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.kit-highlights li > span { color: #532a32; font: 400 clamp(.82rem, 2.4vw, 1.07rem)/1.17 var(--serif); }
.kit-highlights strong { font-weight: 400; }
.kit-highlights small { display: block; font: inherit; }
#delivery-details { scroll-margin-block-start: 12px; }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.15rem); letter-spacing: -.032em; line-height: 1.22; }
h3 { font-size: 1.43rem; letter-spacing: -.025em; line-height: 1.25; }
.checkout, .receipt-grid { display: grid; gap: 16px; min-width: 0; }
.receipt-grid { align-items: start; }
.panel, .notice { min-width: 0; padding: clamp(19px, 3.3vw, 34px); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.checkout > .panel { display: flex; flex-direction: column; padding: 0; overflow: hidden; box-shadow: 0 3px 11px #5b332606; }
.panel-heading { display: flex; align-items: center; gap: 10px; min-height: 53px; padding: 10px clamp(16px, 2.3vw, 26px); border-bottom: 1px solid var(--line); background: #f4e9df; }
.panel-heading h2 { font: 600 clamp(.94rem, 1.6vw, 1.13rem)/1.25 var(--serif); letter-spacing: .09em; text-transform: uppercase; }
.panel-heading svg { width: 23px; height: 23px; }
.panel-body { padding: clamp(16px, 2.25vw, 26px); }
.summary { background: #f9f2ea; }
.summary-body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: clamp(18px, 2.3vw, 27px); }
.summary-product { display: grid; grid-template-columns: minmax(72px, .75fr) minmax(0, 1fr); align-items: center; gap: 14px; max-width: 418px; }
.summary-product img { display: block; width: 100%; max-width: 158px; height: auto; border-radius: 9px; }
.summary-product h3 { color: var(--ink); font: 500 clamp(1.3rem, 2.25vw, 1.8rem)/1.12 var(--serif); }
.notice { color: var(--ink); padding-block: 15px; margin-bottom: 16px; }
.notice .text-button { margin-left: 8px; }
.kit-price { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: baseline; color: var(--muted); margin-top: 8px; }
.kit-price strong { color: var(--wine); font: 600 clamp(1.35rem, 2.3vw, 1.95rem)/1.15 var(--serif); }
.kit-price span { font-size: .88rem; }
.kit-price span, .fine, .muted, .optional { color: var(--muted); }
.fine { font-size: .86rem; line-height: 1.55; }
.totals { margin: 14px 0; }
.totals > div, .fulfilment { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 15px; padding: 5px 0; }
.totals dt { color: var(--muted); font-size: .9rem; }
.totals dd { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; text-align: right; margin-left: auto; }
.totals > .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.total dt, .total dd { color: var(--wine); }
.total dt { font-weight: 700; }
.total dd { font: 400 1.5rem/1.15 var(--serif); }
.summary .totals { margin: 0; padding-top: 7px; border-top: 1px dashed #cbb5a9; }
.summary .totals > div { padding-block: 9px; }
.summary .totals > div + div { border-top: 1px solid var(--line); }
.summary .totals > .total { padding: 11px 15px; border: 0; border-radius: 10px; background: #f2dfd9; }
.summary .total dt { color: var(--wine); font: italic 500 1.47rem/1.12 var(--serif); }
.summary .total dd { font-weight: 600; }
.summary-note { margin-top: 11px; }
label { display: block; min-width: 0; font-size: .9rem; font-weight: 600; }
.required-mark { color: var(--wine); }
.optional { font-weight: 400; font-size: .83rem; }
input, textarea, select { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 9px 11px; min-height: 44px; color: var(--ink); background: #fffdfb; border: 1px solid var(--control-border); border-radius: 7px; font-size: 16px; font-weight: 400; line-height: 1.4; }
textarea { resize: vertical; }
input:disabled, select:disabled { opacity: .75; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--control-border); border-radius: 8px; background: var(--paper); margin-top: 5px; }
.stepper button { width: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--wine); font-size: 1.2rem; }
.stepper button:disabled { color: #9a8785; }
.stepper input { width: 54px; border: 0; border-radius: 0; margin: 0; text-align: center; background: transparent; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.fields { display: grid; gap: 14px; }
.fields > div > .fine { margin-top: 4px; }
.action { width: 100%; margin-top: 19px; min-height: 48px; }
.order-action { grid-column: 1 / -1; text-align: center; }
.order-action .action {
  width: min(100%, 570px); min-height: 56px; margin: 0; gap: 12px;
  color: #fffaf7; background: var(--wine); border-color: var(--wine);
  font: 600 clamp(1.25rem, 2.25vw, 1.55rem)/1.2 var(--serif);
  letter-spacing: 0;
}
.order-action .action::before { content: ""; width: 24px; height: 24px; flex: 0 0 24px; background: url("/starter-kit/kit-bag.svg") center / contain no-repeat; }
.order-action .action:disabled { color: #fffaf7; background: #865665; border-color: #865665; }
.order-action .error { margin: 0 0 12px; }
.error { margin-top: 14px; color: #79273c; font-weight: 600; }
button.outline-button, button.text-button { min-height: 44px; padding: 5px 0; border: 0; background: transparent; color: var(--wine); font-weight: 600; font-size: .9rem; }
button.text-button { text-decoration: underline; text-underline-offset: .23em; }
button.outline-button { padding: 8px 16px; border: 1px solid var(--control-border); border-radius: 999px; }
.receipt-top { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 18px 0; }
.receipt-top h2 { overflow-wrap: anywhere; }
.pill { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; background: var(--champagne); color: var(--wine); font-size: .82rem; font-weight: 600; }
.private-link, .fulfilment { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.private-link h3 { font-size: 1.2rem; margin-bottom: 6px; }
.utility-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 17px; margin-top: 12px; }
#copy-feedback:not(:empty), #manual-copy { margin-top: 9px; }
#payment-summary { margin-top: 8px; }
.qr-image { margin: 16px auto 11px; padding: 9px; width: fit-content; max-width: 100%; background: white; border: 1px solid var(--line); border-radius: 10px; }
.qr-image img { display: block; width: min(240px, 100%); height: auto; max-height: 320px; object-fit: contain; }
#qr-loading:not(:empty) { margin-top: 12px; }
#report-payment { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
#payment-proof { padding: 6px; }
input::file-selector-button { min-height: 32px; margin-right: 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--cream); color: var(--wine); }
#proof-help { margin-top: 5px; }
.new-order { margin-top: 12px; }
main:has(#receipt:not([hidden])) .kit-highlights,
main:has(#receipt:not([hidden])) .kit-photo,
main:has(#receipt:not([hidden])) .hero-copy > :not(h1) { display: none; }
main:has(#receipt:not([hidden])) .kit-hero { display: block; border: 0; border-radius: 0; background: transparent; }
main:has(#receipt:not([hidden])) .hero-copy { padding: 6px 0 15px; }
main:has(#receipt:not([hidden])) h1 { margin: 0; font-size: clamp(1.5rem, 3.8vw, 2.1rem); }
main:has(#receipt:not([hidden])) h1 em { display: inline; }
footer { border-top: 1px solid var(--line); background: var(--paper); }
footer > div { padding-block: 8px; font-size: .86rem; }
@media (min-width: 520px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .fields .full { grid-column: 1 / -1; }
  .kit-highlights { padding: 11px 0; }
  .kit-highlights li { flex-direction: row; gap: clamp(7px, 1.2vw, 14px); text-align: left; }
  .kit-highlights svg { width: 30px; height: 30px; }
}
@media (min-width: 680px) {
  .kit-hero { grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); }
  .hero-copy { padding: clamp(24px, 4vw, 55px) clamp(18px, 3.5vw, 45px); }
  h1 { margin: 12px 0 16px; font-size: clamp(2.75rem, 6.1vw, 4.9rem); }
  h1 em, .hero-lead strong { display: block; }
  .hero-lead { font-size: clamp(1.27rem, 2.35vw, 1.85rem); }
  .hero-batches { margin-top: 6px; font-size: clamp(.92rem, 1.6vw, 1.08rem); }
  .hero-shortcut { margin-top: 8px; }
  .kit-highlights { min-height: 64px; }
}
@media (min-width: 760px) {
  .checkout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 22px; }
  .receipt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .header-inner { min-height: 82px; }
  .header-inner .brand-logo { width: 144px; height: 72px; }
}
