.configure-page { --config-gap: clamp(36px, 4.5vw, 200px); --choice-pad: clamp(16px, 1.4vw, 64px); }
.configure-page [hidden] { display: none !important; }
.configure-page .site-header > .text-link { font-size: var(--small); }
.mobile-group-preview, .checkout-preview { display: none; }
.config-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; padding: 0; border-top: 1px solid #444; align-items: start; }
.config-product { position: sticky; top: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); height: calc(100svh - clamp(78px, 8vw, 170px)); min-height: 560px; min-width: 0; padding: clamp(24px, 2.5vw, 100px) var(--gutter); }
.config-product h1 { max-width: 7.5em; font-size: clamp(56px, min(5.9vw, 12svh), 280px); line-height: .9; letter-spacing: -.065em; }
.reservation-offer { margin-top: clamp(12px, 1.25vw, 44px); color: var(--paper); font-size: clamp(16px, 1.05vw, 40px); line-height: 1.35; }
.reservation-offer span:first-child { white-space: nowrap; }
.config-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; margin: clamp(12px, 1.2vw, 48px) 0 0; }
.config-stage { position: relative; min-height: 0; overflow: visible; }
.config-stage img { position: absolute; width: 100%; height: 100%; object-fit: contain; left: 0; top: 0; }
.config-stage[data-view="stack"] img { width: 100%; height: 100%; object-fit: contain; left: 0; top: 0; }
.config-stage #config-bags { left: 64%; top: 46%; width: 33%; height: auto; }
.config-stage[data-grid="13"] #config-bags { left: 60%; top: 43%; }
.config-stage[data-grid="9"] #config-bags { left: 56%; top: 40%; }
.config-stage.preview-enter { animation: board-enter .28s ease-out; }
@keyframes board-enter { from { transform: translateY(8px); } to { transform: translateY(0); } }
.config-figure figcaption { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; min-height: 48px; font-size: var(--small); color: var(--muted); }
#preview-name { color: var(--paper); }
#preview-caption { flex-basis: 100%; }
.show-colors { background: transparent; color: var(--paper); min-height: 44px; padding: 8px 0; text-decoration: underline; text-underline-offset: .25em; font-size: inherit; }
.config-choices { min-width: 0; border-left: 1px solid #444; padding: clamp(32px, 3.5vw, 160px) var(--gutter) clamp(70px, 8vw, 300px); }
.choice-group { border: 0; padding: 0; margin: 0 0 clamp(32px, 3vw, 150px); min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: clamp(16px, 1.6vw, 80px); font-size: clamp(25px, 2.1vw, 100px); letter-spacing: -.035em; line-height: 1.15; }
.configure-page .color-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, .8vw, 36px); align-items: stretch; }
.color-option { position: relative; display: grid; gap: clamp(16px, 1.5vw, 60px); border: 1px solid #555; padding: var(--choice-pad); font-size: var(--small); cursor: pointer; transition: background-color .15s, border-color .15s; }
.color-option input, .set-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.configure-page .color-dot { display: block; width: clamp(26px, 2.1vw, 90px); height: clamp(26px, 2.1vw, 90px); margin: 0; border-radius: 50%; background: var(--swatch); }
.choice-mark { position: absolute; top: var(--choice-pad); right: var(--choice-pad); visibility: hidden; font-size: .85em; }
.color-option:has(input:checked) { border-color: var(--paper); background: #202020; box-shadow: inset 0 0 0 1px var(--paper); }
.color-option:has(input:checked) .choice-mark { visibility: visible; }
.color-option:has(input:focus-visible), .set-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (hover: hover) {
  .color-option:hover, .set-option:hover { background: #202020; border-color: var(--paper); }
  .color-option:hover .color-dot { transform: scale(1.15); box-shadow: 0 0 0 4px #000, 0 0 0 5px var(--swatch); }
  .set-option:hover .radio-ring { border-color: var(--paper); }
}
.configure-page .color-dot { transition: transform .22s, box-shadow .22s; }
.show-colors:hover, .show-colors:focus-visible { color: var(--accent); text-decoration-thickness: 2px; }
.set-option { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: clamp(12px, 1.1vw, 50px); align-items: start; padding: clamp(22px, 1.8vw, 80px) var(--choice-pad); border: 1px solid #555; cursor: pointer; transition: background-color .15s, border-color .15s; }
.set-option + .set-option { margin-top: clamp(10px, .8vw, 36px); }
.set-option:has(input:checked) { border-color: var(--paper); background: #202020; box-shadow: inset 0 0 0 1px var(--paper); }
.radio-ring { width: 1em; aspect-ratio: 1; border: 1px solid #aaa; border-radius: 50%; margin-top: .2em; }
.set-option:has(input:checked) .radio-ring { border: .28em solid var(--paper); background: var(--ink); }
.set-copy { display: grid; gap: .35em; }
.set-copy small { font-size: var(--small); color: var(--muted); line-height: 1.35; }
.set-price { white-space: nowrap; }
.price-pair { display: flex; align-items: baseline; justify-content: center; gap: .55em; }
.price-pair strong { color: var(--paper); font-weight: 400; }
.set-group { margin-bottom: clamp(24px, 2.2vw, 96px); }
.reservation-panel { background: #111; padding: clamp(22px, 2.2vw, 88px); }
.reservation-title { font-size: clamp(28px, 2.3vw, 72px); font-weight: 400; letter-spacing: -.035em; }
.reservation-reassurance { margin-top: 12px; max-width: 42ch; font-size: var(--body); line-height: 1.45; }
/* The programmatically focused heading announces success without outlining the page. */
#success-title:focus { outline: none; }
.price-note { color: var(--muted); font-size: var(--small); margin-top: .75em; }
.config-join { margin-top: clamp(28px, 2.4vw, 100px); }
.config-join > label { display: block; color: var(--muted); font-size: var(--small); margin: clamp(22px, 1.7vw, 68px) 0 .4em; }
#config-email { display: block; width: 100%; min-width: 0; border: 1px solid var(--accent); border-radius: 0; background: #080808; padding: 1em; color: var(--paper); outline-offset: 5px; font-size: max(16px, var(--body)); }
#config-email::placeholder { color: #aaa; opacity: 1; }
.config-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; background: var(--paper); color: var(--ink); padding: 1em 1.1em; margin-top: clamp(18px, 1.5vw, 60px); min-height: 52px; text-align: left; }
.config-submit:hover { background: var(--paper); }
.config-submit:disabled { opacity: .6; cursor: wait; }
.config-submit:focus-visible { outline-offset: 5px; }
.field-message { font-size: var(--small); color: #ff926e; margin-top: .65em; }
.field-message:empty { display: none; }
.choice-group[data-invalid="true"] legend { color: #ff926e; }
.config-join [aria-invalid="true"] { border-color: #ff926e !important; }
.config-form-loading { cursor: wait; }
.config-note, .config-status { font-size: var(--small); line-height: 1.45; margin-top: 1em; }
.config-note { color: var(--muted); max-width: 55ch; }
.config-status:empty { display: none; }
.config-status { color: var(--paper); }
/* Reserved: the page changes. The configurator rail leaves; a small receipt stays; the ask, if any, leads. */
.is-reserved .config-product { display: none; }
.is-reserved .config-layout { grid-template-columns: minmax(0, 1fr); }
.is-reserved .config-choices { border-left: 0; }
#config-success h2 { font-size: clamp(48px, 7vw, 300px); letter-spacing: -.065em; line-height: .92; margin: 0 0 .5em; max-width: 9em; }
#config-success.has-ask h2 { font-size: clamp(30px, 2.7vw, 120px); letter-spacing: -.045em; line-height: 1; margin: 0 0 .8em; max-width: none; }
#config-success:not(.has-ask) .receipt-thumb { width: min(100%, 420px); }
.receipt-thumb { position: relative; width: 100%; margin: 0 0 clamp(20px, 1.8vw, 80px); aspect-ratio: 4 / 3; overflow: hidden; }
.receipt-thumb > img:not(#receipt-bags) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#receipt-bags { position: absolute; left: 63%; top: 46%; width: 32%; height: auto; }
.receipt-thumb[data-grid="13"] #receipt-bags { left: 59%; top: 43%; }
.receipt-thumb[data-grid="9"] #receipt-bags { left: 55%; top: 40%; }
#success-note { font-size: var(--body); line-height: 1.4; overflow-wrap: anywhere; }
#payment-option { margin-top: clamp(56px, 7vw, 300px); }
@media (min-width: 901px) {
  #config-success.has-ask { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); column-gap: 0; align-items: start; }
  #config-success.has-ask[hidden] { display: none; }
  #config-success.has-ask .receipt { padding-right: clamp(40px, 5vw, 220px); }
  #config-success.has-ask #payment-option { margin-top: 0; border-left: 1px solid #444; padding-left: clamp(40px, 5vw, 220px); min-height: 100%; }
  #config-success.has-ask #payment-option h3 { font-size: clamp(44px, 5.2vw, 240px); }
  #config-success.has-ask #payment-status, #config-success.has-ask .return-link { grid-column: 1 / -1; }
}
#payment-option h3 { font-weight: 400; font-size: clamp(48px, 7vw, 300px); letter-spacing: -.065em; line-height: .92; margin: 0; max-width: 8em; }
.payment-lede { font-size: calc(var(--body) * 1.35); line-height: 1.3; letter-spacing: -.02em; margin-top: 1.2em; max-width: 30ch; }
.payment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(24px, 2.5vw, 100px); margin-top: clamp(28px, 2.6vw, 110px); }
.payment-actions form { flex: 0 1 clamp(320px, 28vw, 1200px); }
.payment-actions .config-submit { margin-top: 0; width: 100%; padding-block: 1.25em; }
.payment-promises { display: grid; gap: .45em; margin: clamp(36px, 3.4vw, 150px) 0 0; padding: 0; list-style: none; font-size: var(--body); line-height: 1.4; }
/* While the ask is showing, the only ways on are the pledge and the explicit no-thanks. */
body.has-ask .return-link, body.has-ask .site-header > .text-link { display: none; }
.payment-fineprint { margin-top: 1.6em; font-size: var(--small); color: var(--muted); }
.payment-fineprint a { color: inherit; }
.skip-payment { padding: 1em 0; background: transparent; color: var(--paper); text-decoration: underline; text-underline-offset: .25em; font-size: var(--small); min-height: 44px; }
@media (max-width: 520px) { .payment-actions form { flex-basis: 100%; } .receipt-thumb { aspect-ratio: auto; height: min(56vw, 230px); } }
.return-link { display: inline-block; margin-top: 2em; }
.config-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: clamp(24px, 2vw, 90px); border-top: 1px solid #555; font-size: var(--small); color: var(--muted); }
.config-privacy { padding-block: clamp(40px, 5vw, 220px); }
.config-privacy h1 { font-size: clamp(44px, 6vw, 240px); line-height: 1; letter-spacing: -.06em; margin-bottom: .7em; }
.config-privacy h2 { margin: 1.5em 0 .5em; font-size: 1.4em; }
.config-privacy p { max-width: 60ch; margin-bottom: 1em; }
.experiment-link { display: inline-flex; gap: 2em; background: var(--paper); color: var(--ink); text-decoration: none; padding: 1em; }
@media (max-width: 900px) {
  .config-layout { grid-template-columns: minmax(0, 1fr); }
  .config-product { position: static; display: block; height: auto; min-height: 0; }
  .config-product h1 { font-size: clamp(58px, 14vw, 98px); }
  .config-product h1 br { display: none; }
  .reservation-offer span:first-child { white-space: normal; }
  .config-figure { display: none; }
  .config-stage { margin-inline: 0; aspect-ratio: 4 / 3; }
  .config-figure figcaption { padding: 0; }
  .config-choices { border-left: 0; border-top: 1px solid #444; padding: 36px var(--gutter) 64px; }
  .choice-group legend { font-size: 27px; }
  .mobile-group-preview { display: grid; gap: 8px; margin: 0 0 16px; }
  .group-preview-stage { position: relative; height: min(56vw, 218px); overflow: hidden; background: #090909; }
  .group-preview-stage > img:not(#set-group-bags) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .24s ease, opacity .2s ease; }
  .grid-preview-stage[data-selected="false"] [data-grid-preview="19"] { z-index: 1; transform: translate(-25%, 0) scale(.62); }
  .grid-preview-stage[data-selected="false"] [data-grid-preview="13"] { z-index: 2; transform: translate(12.5%, 0) scale(.62); }
  .grid-preview-stage[data-selected="false"] [data-grid-preview="9"] { z-index: 3; transform: translate(41.5%, 0) scale(.62); }
  .grid-preview-stage[data-selected="true"] [data-grid-preview] { transform: none; }
  .mobile-group-preview figcaption { color: var(--muted); font-size: var(--small); }
  .configure-page .color-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .color-option { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 16px; }
  .configure-page .color-dot { width: 26px; height: 26px; flex: 0 0 26px; }
  .choice-mark { position: static; margin-left: auto; font-size: 14px; }
  .set-option { padding: 22px 16px; gap: 12px; }
  #set-group-bags { position: absolute; left: 63%; top: 46%; width: 32%; height: auto; }
  .set-preview-stage[data-grid="13"] #set-group-bags { left: 59%; top: 43%; }
  .set-preview-stage[data-grid="9"] #set-group-bags { left: 55%; top: 40%; }
  .set-price { padding-left: 4px; }
  #selection-price { font-size: 42px; }
  .reservation-panel { padding: 22px 18px; }
  .checkout-preview { display: grid; grid-template-rows: auto auto; gap: 8px; margin: 0 0 24px; }
  .checkout-stage { position: relative; height: min(66vw, 260px); background: #090909; overflow: hidden; }
  .checkout-stage > img:not(#checkout-bags) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  #checkout-bags { position: absolute; left: 63%; top: 46%; width: 32%; height: auto; }
  .checkout-stage[data-grid="13"] #checkout-bags { left: 59%; top: 43%; }
  .checkout-stage[data-grid="9"] #checkout-bags { left: 55%; top: 40%; }
  .checkout-preview figcaption { display: none; }
  .config-footer { flex-direction: column; gap: 12px; }
}
@media (max-width: 370px) { .color-option { padding: 12px; gap: 8px; } .set-option { grid-template-columns: 18px minmax(0,1fr); } .set-price { grid-column: 2; justify-content: start; padding: 0; } }
@media (prefers-reduced-motion: reduce) { .configure-page { scroll-behavior: auto; } .config-stage.preview-enter { animation: none; } .color-option, .set-option { transition: none; } }

.grid-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grid-option { position: relative; display: grid; gap: 10px; padding: 20px 12px; border: 1px solid #555; cursor: pointer; text-align: center; }
.grid-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.grid-label { font-size: clamp(22px, 1.7vw, 44px); letter-spacing: -.04em; white-space: nowrap; }
.grid-dimensions { display: grid; gap: 4px; font-size: clamp(11px, .85vw, 16px); line-height: 1.4; white-space: nowrap; }
.grid-inches { color: var(--muted); font-size: .9em; }
.grid-option small, .grid-option [data-grid-price] { font-size: clamp(12px, .88vw, 20px); }
.grid-option small { color: var(--muted); min-height: 2.7em; }
.grid-option:has(input:checked) { border-color: var(--paper); background: #202020; box-shadow: inset 0 0 0 1px var(--paper); }
.grid-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (hover: hover) { .grid-option:hover { background: #202020; border-color: var(--paper); } }
.render-note { flex-basis: 100%; font-size: var(--small); }
@media (max-width: 370px) { .grid-options { gap: 7px; } .grid-option { padding: 16px 6px; } .grid-label { font-size: 21px; } }
