@font-face {
  font-family: Quicksand;
  src: url(quicksand.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url(inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fffdfa;
  --warm: #f6f4ef;
  --ink: #292722;
  --muted: #666259;
  --rule: #e6e1d9;
  --deep: #2c5142;
  --mint-wash: #edf3ec;
  --raised: 0 1px 2px #29272212, 0 4px 12px #2927220a;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --page-gutter: 24px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-padding: 20px 0 104px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 Inter, system-ui, sans-serif;
}
body:has(#piece-detail[open]) { overflow: hidden; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.shell {
  width: min(100%, 640px);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.brand {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding-block: 8px;
}
.brand img { display: block; width: 78px; height: auto; }
.brand-home { display: grid; place-items: center; min-height: 44px; border-radius: 8px; }
main { padding-bottom: 40px; }
body:has(.rail:not([hidden])) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
body:has(.rail:not([hidden])) main { flex: 1; padding-bottom: 24px; }
main, .quote-body { touch-action: pan-y pinch-zoom; }
.piece img, .extra-tile img, .quote-kit img { -webkit-user-drag: none; }
h1, h2, legend { margin: 0; font-weight: 610; line-height: 1.06; letter-spacing: -.055em; }
h1 { margin: 0 0 16px; font: 650 clamp(36px, 9.7vw, 56px)/1.1 Quicksand, Inter, system-ui, sans-serif; letter-spacing: -.045em; }
h2, legend { margin-bottom: 12px; padding: 0; font-size: 26px; }
p, figure, fieldset { margin: 0; }
fieldset { min-inline-size: 0; padding: 0; border: 0; }
small, .fine { font-size: 13px; color: var(--muted); }
a { color: var(--deep); text-underline-offset: 4px; }
button, textarea, #date-form input { font: inherit; color: inherit; }
button, summary, label { cursor: pointer; }
button, .button, .extra-tabs label { -webkit-tap-highlight-color: transparent; user-select: none; }
:focus-visible, label:has(input:focus-visible) { outline: 2px solid var(--deep); outline-offset: 3px; }

.back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 24px;
  background: var(--warm);
  font-size: 15px;
}
.step h1:focus { outline: none; }

.piece-grid, .feature-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.feature-extras { align-items: start; }

.setup-picker, .setup-choices { display: grid; gap: 16px; }
.setup-choices legend {
  margin-bottom: 8px;
  font: 600 15px/1.25 Inter, system-ui, sans-serif;
  letter-spacing: normal;
}
.theme-grid, .size-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.theme-card, .size-row {
  min-width: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--warm);
}
.theme-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 88px;
  padding: 0;
  overflow: hidden;
}
.theme-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 64%;
}
.theme-card[aria-pressed=true]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 2px solid var(--deep);
  border-radius: inherit;
  pointer-events: none;
}
.theme-name {
  position: relative;
  background: var(--paper);
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 4px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
}
.theme-card[aria-pressed=true] .theme-name { background: var(--mint-wash); }
.size-row {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 76px;
  padding: 8px 4px;
  text-align: center;
}
.size-row.linked-size { outline: 1px dashed var(--deep); outline-offset: -3px; }
.theme-card[aria-pressed=true], .size-row[aria-pressed=true] {
  background: var(--mint-wash);
  box-shadow: inset 0 0 0 2px var(--deep);
  color: var(--deep);
}
.size-name, .size-row small { display: block; }
.size-name { font-size: 14px; font-weight: 650; line-height: 1.2; }
.size-row small { font-size: 12px; line-height: 1.3; }
.size-price { font-size: 12px; font-weight: 600; }
.size-price small { display: inline; margin-inline-end: 3px; font-weight: 400; }
.size-price, #running, dd { font-variant-numeric: tabular-nums; }
.setup-next { color: var(--muted); font-size: 14px; }
#setup-step:has(#included:not([hidden])) .setup-next { display: none; }
.theme-context { position: relative; min-width: 0; }
.theme-context img {
  display: block;
  width: 100%;
  height: clamp(140px, 42vw, 220px);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 64%;
  background: var(--warm);
}
.theme-context figcaption {
  position: absolute;
  inset: auto auto 8px 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
  color: var(--muted);
}
#included { margin-top: 24px; }
.included-heading-row { margin-bottom: 12px; }
.included-heading-row h2 { margin-bottom: 4px; }

.piece-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.piece, .extra-tile {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius) var(--radius) 4px 4px;
  background: transparent;
  text-align: start;
}
.piece-visual, .extra-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--warm);
}
.piece-visual { aspect-ratio: 4 / 3; background: #adbfaf; }
.piece-visual img, .extra-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.print-quote .quote-kit .piece-visual img { object-fit: contain; }
.piece-caption { display: block; margin-top: 4px; }
.party-fill-photo { margin: 12px 0 0; }
.party-fill-photo figcaption { padding: 4px 12px; }
.piece-expand, .extra-toggle {
  position: absolute;
  display: grid;
  place-items: center;
  inset: auto 4px 4px auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--deep);
  line-height: 1;
  font-weight: 580;
  text-decoration: none;
}
.piece-label { display: block; margin-top: 4px; font-size: 14px; font-weight: 610; line-height: 1.2; }
.service-list {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.service-list li::marker { color: var(--deep); }
.packing-note { margin-top: 8px; }
#quote-inclusions { font-size: 13px; }

.extra-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 16px;
  background: var(--warm);
}
.extra-tabs label { min-width: 0; border-radius: 12px; }
.extra-tabs span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: 4px;
  border-radius: inherit;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.extra-tabs input:checked + span {
  background: var(--paper);
  box-shadow: var(--raised);
  color: var(--deep);
  font-weight: 650;
}
.extra-visual { aspect-ratio: 1.3; }
.extra-toggle { inset: auto 8px 8px auto; width: 32px; height: 32px; font-size: 20px; }
.extra-toggle svg { display: none; width: 18px; height: 18px; }
.extra-tile[aria-pressed=true] .extra-visual { outline: 2px solid var(--deep); outline-offset: -2px; }
.extra-tile[aria-pressed=true] .extra-toggle { background: var(--deep); color: white; }
.extra-tile[aria-pressed=true] .extra-toggle span { display: none; }
.extra-tile[aria-pressed=true] .extra-toggle svg { display: block; }
.extra-name { display: block; margin-top: 8px; font-weight: 610; }
.extra-price { display: block; }
.extra-option { min-width: 0; }
.extra-option .extra-tile { width: 100%; }
.extra-quantity { justify-content: flex-start; gap: 4px; }
.extra-quantity output { min-width: 16px; text-align: center; }
.extra-tile[aria-disabled=true] .extra-toggle { opacity: .42; }
.fit-note { margin-top: 16px; }
.time-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}
.time-option small { display: block; }
.stepper { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.stepper button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--warm); }
.stepper button[aria-disabled=true] { color: var(--muted); cursor: default; }

.piece-expand svg { width: 12px; height: 12px; }
.extra-toggle svg, .piece-expand svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#piece-detail-visual { border-radius: var(--radius); overflow: hidden; background: var(--warm); }
#piece-detail-visual img { display: block; width: 100%; height: auto; }
#piece-description { margin-top: 16px; }

.disclosure { border-bottom: 1px solid var(--rule); }
.disclosure summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  list-style: none;
  font-size: 15px;
  font-weight: 570;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after {
  display: block;
  margin: 0 4px 4px auto;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  content: "";
}
.disclosure[open] summary::after { margin-block: 4px 0; transform: rotate(225deg); }
.disclosure summary span { margin-inline-start: auto; color: var(--muted); font-size: 13px; font-weight: 400; }
.disclosure summary span:empty { display: none; }
.disclosure summary:has(span:not(:empty))::after { margin-inline-start: 4px; }
.disclosure-body { padding-bottom: 16px; }

.rail {
  position: sticky;
  bottom: 0;
  z-index: 3;
  background: #fffdfaf2;
  border-top: 1px solid var(--rule);
  backdrop-filter: blur(16px);
  padding-bottom: env(safe-area-inset-bottom);
}
.rail-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding-block: 12px; }
#rail-label, #running { display: block; line-height: 1.18; }
#running { margin-top: 4px; font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 580;
}
.primary { background: var(--deep); color: white; box-shadow: var(--raised); }
.rail .primary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.secondary { border-color: #8d897f; background: transparent; }
.rail .button { flex: none; }

dialog {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: min(100%, 540px);
  max-height: calc(100dvh - 20px);
  margin: 0 auto;
  padding: 16px 20px max(24px, env(safe-area-inset-bottom));
  border: 0;
  border-radius: 16px 16px 0 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}
dialog::backdrop { background: #211f1b96; }
.quote-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.quote-header h2 { margin: 0; }
.quote-brand { display: block; width: 76px; height: auto; margin-bottom: 8px; }
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--warm);
  font-size: 23px;
  line-height: 1;
}
dd { margin: 0; text-align: right; font-weight: 590; }
#quote-note { max-width: 48ch; }
#quote-inclusions { margin-block: 8px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block: 16px 4px; }
.actions .whatsapp { grid-column: 1 / -1; text-decoration: none; }
.quote-terms { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--rule); }
.quote-terms h3 { margin: 0 0 4px; font-size: 15px; }
.quote-terms p + p { margin-top: 4px; }
#feedback:empty, #date-error:empty { display: none; }
#feedback { margin-block: 8px; }
#date-error, .date-help { margin-top: 8px; }
#date-form input, textarea {
  display: block;
  min-height: 44px;
  width: 100%;
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: var(--paper);
}

@media (hover: hover) and (pointer: fine) {
  .theme-card:hover .theme-name { color: var(--deep); }
  .piece:hover .piece-label, .extra-tile:hover .extra-name { color: var(--deep); }
  .icon-button:hover { border-color: #8d897f; }
  .size-row:hover, .back:hover, .stepper button:hover:not([aria-disabled=true]) { background: var(--mint-wash); }
  .extra-tabs label:hover span { color: var(--ink); }
  .primary:hover { background: #244437; }
  .secondary:hover { background: var(--warm); }
}
@media (max-width: 679px) {
  #setup-step:has(#included:not([hidden])) .theme-context { display: none; }
  .included-heading-row h2 { font-size: 22px; }
}
@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
  h1 { font-size: 36px; }
  .button { gap: 8px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.theme-card, .size-row, .piece, .extra-tile, .button, .back, .stepper button, .icon-button) {
    transition: transform 140ms var(--ease-out);
  }
  :is(.theme-card, .size-row, .piece, .extra-tile, .button, .back, .stepper button, .icon-button):active:not([aria-disabled=true]) {
    transform: scale(.97);
  }
}
@media (min-width: 680px) {
  :root { --page-gutter: 32px; }
  .shell { width: min(100%, 1120px); }
  .brand { min-height: 80px; }
  .brand img { width: 88px; }
  .setup-picker { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .theme-context img { height: 100%; max-height: 240px; min-height: 200px; }
  .theme-card { min-height: 112px; }
  .theme-name, .size-price { font-size: 14px; }
  .piece-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 680px; gap: 16px; }
  .feature-extras { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; gap: 16px; }
  .extra-tabs { max-width: 448px; }
  .time-option { max-width: 880px; }
  dialog { inset: 0; margin: auto; border-radius: 16px; padding: 20px 24px 24px; }
}
@media (min-width: 980px) {
  .shell { width: min(100%, 1360px); }
  #setup-heading { margin-block: 12px 28px; }
  .setup-picker { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); }
  .setup-choices { gap: 24px; }
  .setup-choices legend { margin-bottom: 12px; font-size: 16px; }
  .theme-grid, .size-grid { gap: 12px; }
  .theme-card { min-height: clamp(128px, 11vw, 176px); }
  .theme-name { min-height: 40px; }
  .size-row { align-content: center; min-height: 88px; }
  .size-name { font-size: 16px; }
  .theme-context img { height: clamp(312px, 29vw, 434px); max-height: none; }
  #included { margin-top: 32px; }
  .piece-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: none; }
}
#basket[open], #deposit-basket[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - 12px);
  padding: 0;
  overflow: hidden;
}
#basket > .quote-header, #deposit-basket > .quote-header {
  flex: none;
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule);
}
.basket-heading { display: flex; align-items: center; gap: 12px; }
.basket-heading .quote-brand { width: 64px; margin: 0; }
.quote-body {
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px;
  min-height: 0;
}
.party-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.party-fields input { min-width: 0; font-size: 16px; }
.party-fields input:is([type=date], [type=time]) { appearance: none; }
#basket-heading:focus { outline: none; }
#date-form label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.checkout-time { margin-top: 16px; }
.quote-section { margin-top: 24px; }
.quote-section h3, .quote-terms h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.025em; }
.quote-kit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 12px 0;
  padding: 0;
}
.quote-kit strong, .quote-kit small { display: block; line-height: 1.2; }
.quote-kit strong { font-size: 13px; margin-top: 4px; }
.quote-kit small { margin-top: 4px; }
#rental-terms { margin-top: 8px; }
#rental-terms summary { padding-block: 12px; font-size: 14px; font-weight: 600; }
.terms-copy dl { margin: 12px 0 0; }
.terms-copy dt { margin: 12px 0 4px; font-size: 14px; font-weight: 620; }
.terms-copy dd { margin: 0; text-align: left; font-size: 14px; font-weight: 400; }
.print-quote { display: none; }

.quote-document-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}
.quote-document-meta dd {
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.quote-party, .print-terms-reference { display: none; }
.quote-overview {
  padding: 12px;
  background: var(--mint-wash);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.quote-kit small { color: var(--deep); font-variant-numeric: tabular-nums; }

@media print {
  @page { size: A4; margin: 13mm 15mm; background: #fafaf2; }

  html, body:has(.print-quote) { display: block; min-height: 0; overflow: visible; background: #fafaf2; }
  body > :not(.print-quote), .print-quote summary { display: none !important; }
  dialog::backdrop { display: none; }
  .print-quote {
    display: block;
    color: #354344;
    font-size: 11px;
    line-height: 1.4;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .print-quote::before {
    content: "";
    position: fixed;
    inset: auto -15mm -13mm;
    height: 88mm;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 330' fill='none'%3E%3Cpath d='M24 330a376 300 0 0 1 752 0' stroke='%2398d1d5' stroke-width='30'/%3E%3Cpath d='M170 330a230 182 0 0 1 460 0' stroke='%23edb4c7' stroke-width='30'/%3E%3Cpath d='M300 330a100 76 0 0 1 200 0' stroke='%23efc991' stroke-width='30'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    opacity: .16;
  }
  .print-quote > * { position: relative; }
  .print-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    align-items: end;
    gap: 42px;
    margin: 0 0 14px;
  }
  .print-header h1 {
    margin: 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #a4adab;
    font: 400 33px/1.16 Inter, sans-serif;
    letter-spacing: .025em;
    text-transform: uppercase;
  }
  .print-header .quote-brand { width: 128px; margin: 0; }
  .print-quote .quote-document-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 20px;
    row-gap: 2px;
    margin: 0 0 15px;
  }
  .print-quote .quote-document-meta > div {
    display: flex;
    gap: 6px;
    grid-column: 2;
    justify-content: end;
  }
  .print-quote .quote-document-meta > div[hidden] { display: none; }
  .print-quote .quote-document-meta > .quote-party:not([hidden]) {
    display: flex;
    grid-column: 1;
    justify-content: start;
  }
  .print-quote .quote-document-meta > :nth-child(1) { grid-row: 2; }
  .print-quote .quote-document-meta > :nth-child(2) { grid-row: 1; }
  .print-quote .quote-document-meta dt, .print-quote .quote-document-meta dd { font-size: 10px; }
  .print-quote .quote-document-meta dt { flex: none; font-weight: 650; }
  .print-pricing { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
  .print-pricing th, .print-pricing td { padding: 6px 9px; border: 1px solid #fafaf2; }
  .print-pricing th { text-transform: uppercase; background: #a1d5d8; text-align: left; }
  .print-pricing tbody td { background: #e3f2ef; }
  .print-pricing th:first-child, .print-pricing tbody td:first-child,
  .print-pricing th:nth-child(3), .print-pricing tbody td:nth-child(3) { width: 1%; text-align: center; }
  .print-pricing th:last-child, .print-pricing td:last-child { white-space: nowrap; text-align: right; }
  .print-pricing tfoot { display: table-row-group; }
  .print-pricing tfoot td { font-weight: 650; text-align: right; }
  .print-pricing tfoot td:last-child { background: #e3f2ef; }
  .print-pricing tr { break-inside: avoid; }
  .print-quote #quote-note { max-width: none; margin: 6px 0 0; font-size: 10px; }
  .print-quote .quote-section { margin-top: 13px; }
  .print-quote .quote-section h3, .print-quote .quote-terms h3 {
    margin: 0 0 7px;
    padding-bottom: 3px;
    border-bottom: 1px solid #a4adab;
    font: 650 13px/1.25 Inter, sans-serif;
    letter-spacing: 0;
    break-after: avoid;
  }
  .print-quote .quote-kit { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 7px 0; }
  .print-quote .quote-kit:has(li:nth-child(9)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .print-quote .quote-kit:has(li:nth-child(16)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .print-quote .quote-kit li { break-inside: avoid; }
  .print-quote .quote-kit .piece-visual { aspect-ratio: 1.65; border-radius: 4px; }
  .print-quote .quote-kit strong { font-size: 9px; }
  .print-quote .quote-kit small { display: none; }
  .print-quote .quote-kit li > small { display: block; font-size: 9px; }
  .print-quote #quote-fencing { margin: 5px 0 0; font-size: 10px; }
  .print-quote #quote-inclusions { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 5px 0 0; }
  .print-quote #quote-inclusions li { margin: 0; font-size: 10px; }
  .print-quote .quote-terms { border: 0; padding: 0; margin: 13px 0 0; }
  .print-quote:has(.quote-kit li:nth-child(17)) .quote-terms { break-before: page; margin-top: 0; }
  .print-quote .quote-terms .fine { font-size: 10px; margin: 3px 0; }
  .print-quote .terms-copy dl { margin: 4px 0 0; }
  .print-quote .terms-copy dl > div { break-inside: avoid; margin-bottom: 3px; }
  .print-quote .terms-copy dt, .print-quote .terms-copy dd { display: inline; font-size: 9.5px; }
  .print-quote .terms-copy dt::before { content: "• "; }
  .print-quote .terms-copy dt::after { content: " · "; }
  .print-quote .print-terms-reference { display: block; margin: 10px 0 0; color: #5c6a6a; font-size: 9px; }
}

.extra-info {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--deep);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.upgrade-note { margin-block: 16px; padding: 12px 16px 0; border-radius: 12px; background: var(--warm); }
.upgrade-note p { margin: 0; font-size: 14px; }
.quote-extra-detail {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

@media print {
  .print-quote .quote-kit .piece-expand { display: none; }
}


.venue-field { margin-top: 12px; }
.venue-field input { min-width: 0; font-size: 16px; }
#venue-suggestions { margin: 4px 0 0; padding: 4px; background: var(--warm); border-radius: var(--radius); }
#venue-suggestions [role="option"] { display: block; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; overflow-wrap: anywhere; }
#venue-suggestions [aria-selected="true"], #venue-suggestions [role="option"]:hover { outline: 2px solid var(--deep); outline-offset: -2px; }
#venue-address-credit { margin: 4px 0; }
#venue-search gmp-place-autocomplete { width: 100%; color-scheme: light; }
#venue-search + .fine, #venue-location .fine { margin: 6px 0; }
#venue-preview { height: 224px; isolation: isolate; border-radius: var(--radius); overflow: hidden; background: var(--warm); }
#venue-location { margin-top: 10px; }
#venue-access-label { margin-top: 10px; }
#date-form [hidden] { display: none !important; }
#whatsapp[aria-busy=true] { opacity: .72; }

.venue-manual { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--deep); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

#venue-map-center, #venue-map-clear { margin-right: 12px; }
.quote-body:has(#venue-location:not([hidden])) { touch-action: auto; }

@media print { #quote-check { display: none !important; } }

.quote-details { border-top: 1px solid var(--rule); }
.quote-details summary { min-height: 44px; padding: 12px 0; font-weight: 620; cursor: pointer; }
.quote-details .fine { font-weight: 400; }
.quote-equipment[open] { padding-bottom: 12px; }
.quote-reference { margin-top: 16px; }

.quote-plan { margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--rule); break-inside: avoid; }
.quote-plan small { display: block; color: var(--muted); }
.quote-plan svg { display: block; width: 100%; height: 200px; margin: 8px auto 0; background: var(--warm); border-radius: 8px; }
@media print { .print-quote .quote-plan svg { height: 52mm; } }

#extras-heading .fine { margin-inline-start: 4px; font: 500 14px/1.2 Inter, system-ui, sans-serif; letter-spacing: normal; }
#extras .time-option { margin: 18px 0 16px; }
#extra-hours { min-width: 2ch; text-align: center; }

#basket[open] { max-height: min(700px, calc(100dvh - 12px)); }
#quote-plan-details .quote-plan { margin: 0; padding-top: 0; border: 0; }
#basket-body { display: flex; flex-direction: column; }
.basket-setup, .basket-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.basket-setup { padding: 0 0 16px; border-bottom: 1px solid var(--rule); }
.basket-setup img, .basket-item img, .basket-time-icon {
  display: block;
  border-radius: 10px;
  object-fit: cover;
  background: var(--warm);
}
.basket-setup img { width: clamp(42px, 14vw, 64px); height: auto; aspect-ratio: 1; }
.basket-setup small, .basket-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.basket-setup > strong { align-self: start; white-space: nowrap; }
.basket-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.basket-action {
  width: 100%;
  justify-content: flex-start;
  border-color: var(--rule);
  border-radius: 14px;
  color: var(--deep);
  background: var(--mint-wash);
}
.basket-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.basket-action:hover { border-color: var(--deep); }
.basket-extras { display: grid; gap: 8px; margin-top: 8px; }
.basket-extras-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.basket-extras-heading h3 { margin: 0; font-size: 17px; }
.basket-more, .basket-offer {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.basket-more { min-height: 44px; padding: 0; color: var(--deep); background: transparent; font-size: 14px; font-weight: 650; }
.basket-more-icon, .basket-offer-add {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
}
.basket-more-icon { background: var(--mint-wash); }
.basket-more-icon svg, .basket-offer-add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.basket-offers { display: grid; gap: 8px; }
.basket-offer { width: 100%; min-height: 64px; padding: 4px 8px 4px 4px; border-radius: 14px; background: var(--warm); }
.basket-offer img { flex: 0 0 56px; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.basket-offer > .basket-time-icon { flex: 0 0 56px; width: 56px; height: 56px; background: var(--paper); }
.basket-offer-copy { flex: 1; min-width: 0; }
.basket-offer-copy strong { display: block; font-size: 15px; line-height: 1.2; }
.basket-offer-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.basket-offer-add { background: var(--paper); }
.basket-more:active .basket-more-icon, .basket-offer:active .basket-offer-add { background: var(--deep); color: var(--paper); }
@media (hover: hover) {
  .basket-more:hover .basket-more-icon, .basket-offer:hover .basket-offer-add { background: var(--deep); color: var(--paper); }
}
#basket-items:empty, #basket-offers:empty { display: none; }
#basket-items { padding: 0; margin: 0; list-style: none; }
.basket-item { padding: 10px 0; border-top: 1px solid var(--rule); }
.basket-item .stepper { gap: 3px; }
.basket-time-icon { width: 48px; height: 48px; display: grid; place-items: center; }
.basket-time-icon svg { width: 23px; color: var(--deep); }

#basket #quote-layout-card { margin-top: 12px; }
#basket-status { margin-block: 10px 0; }
.basket-footer { padding: 10px 20px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); }
.basket-footer span, .basket-footer strong { display: block; }
.basket-footer strong { font-size: 21px; white-space: nowrap; letter-spacing: -.025em; }
.basket-footer :is(.primary, .secondary) { min-height: 44px; }
.basket-footer:has(#whatsapp:not([hidden])) { display: grid; grid-template-columns: 1fr auto; }
.basket-footer #whatsapp { grid-column: 1 / -1; }
#generated-quote #quote-note { margin: 12px 0 8px; }
#booking-details .quote-terms { border: 0; margin: 0; padding: 0 0 12px; }
@media (max-width: 370px) {
  #basket > .quote-header, #basket-body, .basket-footer { padding-inline: 14px; }
  .basket-heading .quote-brand { width: 48px; }
  .basket-item .stepper { gap: 1px; }
}


#quote-contact { border-top: 1px solid var(--rule); padding: 14px 0; }
#contact-heading { margin: 0; font-size: 16px; }
#contact-heading:focus { outline: none; }
#contact-help { margin: 4px 0 10px; }
.contact-fields { display: grid; gap: 10px; }
.contact-fields label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 650; }
.contact-fields input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: inherit; font: inherit; font-size: 16px; }
.contact-fields input[aria-invalid="true"] { border-color: #9c3429; }
#contact-error { margin: 6px 0 0; color: #9c3429; }
#contact-error:empty { display: none; }
@media (min-width: 520px) { .contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

#deposit-basket .quote-body { display: grid; gap: 16px; }
#deposit-basket .quote-body p { margin: 0; }
#deposit-basket .basket-footer:has(button:not([hidden])) button { width: 100%; }
#deposit-basket .basket-footer .button { width: 100%; }
.deposit-summary { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--rule); border-radius: 16px; }
.deposit-summary h3 { margin: 0; }
.deposit-summary > div { display: flex; justify-content: space-between; gap: 8px; }

/* Bank-transfer instructions approved by Ivan, 13 November 2026. */
.bank-details { margin: 14px 0; padding: 14px; border-radius: 8px; background: #e7f0e7; color: #2a2520; break-inside: avoid; }
.bank-details p { margin: 5px 0; font-size: 12px; }
.bank-details dl { margin: 8px 0; }
.bank-details dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; margin: 3px 0; font-size: 12px; }
.bank-details dt { font-weight: 600; }
.bank-details dd { margin: 0; overflow-wrap: anywhere; }
.bank-details .bank-iban { font-weight: 700; }
@media print {
  .print-quote .bank-details { margin: 8px 0; padding: 8px 10px; }
  .print-quote .bank-details h3 { border: 0; margin: 0 0 3px; padding: 0; font-size: 11px; }
  .print-quote .bank-details p, .print-quote .bank-details dl > div { font-size: 9px; line-height: 1.2; }
  .print-quote .bank-details dl { margin: 4px 0; }
  .print-quote .bank-details dl > div { margin: 2px 0; grid-template-columns: 95px minmax(0, 1fr); }
}
