@font-face {
  font-family: RobotoCondensed;
  src: url('assets/roboto-condensed-black-latin-r18.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
:root { color-scheme: light; --paper: #fff8e9; --ink: #001e0b; --muted: #586451; --line: #b8c0ad; --red: #f00008; --display: RobotoCondensed, Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.45 Arial, sans-serif; -webkit-text-size-adjust: 100%; }
h1, h2, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; padding: 12px; background: var(--ink); color: var(--paper); z-index: 10; }
.skip:focus { top: 8px; }
.checkout-header, .checkout-layout, .checkout-footer { width: min(100% - 40px, 1080px); margin-inline: auto; }
.checkout-header { min-height: 64px; padding-block: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; border-bottom: 1px solid var(--line); }
.checkout-brand { display: inline-flex; align-items: center; min-height: 44px; font: 900 2rem/1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .875rem; }
.back-link span { font-size: 1.25rem; text-decoration: none; }
.checkout-layout { display: grid; grid-template-areas: 'heading' 'summary' 'form'; grid-template-columns: minmax(0,1fr); padding-top: 24px; }
.checkout-heading { grid-area: heading; margin-bottom: 16px; }
h1 { font: 900 clamp(2.5rem, 10vw, 3.5rem)/1 var(--display); letter-spacing: -.025em; overflow-wrap: anywhere; }
.checkout-summary { grid-area: summary; min-width: 0; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.product-line { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 20px; align-items: center; }
.product-photo { width: 96px; height: 120px; overflow: hidden; mix-blend-mode: darken; }
.product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 90%; }
.product-photo img[src*='size-4'] { transform: scale(1.45); }
.product-photo img[src*='size-6'] { transform: scale(1.16); }
.product-photo img[src*='size-7'] { transform: scale(1.06); }
.product-copy { min-width: 0; }
.product-copy h2 { font-size: 1.0625rem; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.product-copy > p:not(.product-price) { margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 4px; font: 900 1.625rem/1.15 var(--display); }
.change-size { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.order-breakdown { display: none; }
.price-timing { font: 400 .8125rem/1.4 Arial,sans-serif; color: var(--muted); }
.checkout-form { grid-area: form; min-width: 0; }
.checkout-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.checkout-section > legend, .section-title h2 { max-width: 100%; margin: 0; padding: 0; color: var(--ink); font: 700 1.25rem/1.3 Arial, sans-serif; }
.checkout-section > legend { margin-bottom: 16px; }
.field-grid { display: grid; gap: 16px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label { display: block; font-size: .9375rem; font-weight: 400; line-height: 1.35; }
.field input, .field select { width: 100%; min-width: 0; min-height: 52px; margin: 0; padding: 13px 14px; border: 1px solid #9da893; border-radius: 4px; background: #fffcf5; color: var(--ink); font: 400 1rem/1.4 Arial, sans-serif; box-shadow: none; }
.field input::placeholder { opacity: 1; color: #65705e; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.field-pair { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); gap: 12px; }
.field-pair .field label { flex: 1; }
.optional { font-size: .8125rem; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 42px; }
.select-wrap::after { content: ''; position: absolute; right: 17px; top: 20px; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.contact-section { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.delivery-section { margin-top: 24px; }
.verification-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.section-note { margin-top: 6px; font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.card-fields { container-type: inline-size; min-width: 0; margin: 16px 0 0; padding: 0; border: 1px solid #adb7a3; border-radius: 4px; background: #fffcf5; overflow: hidden; }
.card-field { position: relative; min-width: 0; padding: 10px 14px 8px; }
.card-field label { display: block; color: #596252; font-size: .8125rem; line-height: 1.35; }
.card-field input { display: block; width: 100%; min-width: 0; min-height: 30px; margin: 0; padding: 2px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 400 1rem/1.4 Arial,sans-serif; }
.card-field input::placeholder { opacity: 1; color: #626a5a; }
.card-number-field { padding-right: 56px; }
.card-icon { position: absolute; right: 16px; top: 26px; width: 26px; height: 20px; color: #7e8975; }
.card-pair { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); border-top: 1px solid #bdc5b4; }
.card-pair > .card-field + .card-field { border-left: 1px solid #bdc5b4; }
.hold-note { margin-top: 12px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.checkout-action { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.cost-note { margin-bottom: 16px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.cost-note strong { color: var(--ink); font-weight: 700; white-space: nowrap; }
#order-continue { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid #c90007; border-radius: 5px; background: var(--red); color: #fff8e9; font: 900 1.5rem/1.15 var(--display); cursor: pointer; }
#order-continue span { font: 400 1.5rem/1 Arial,sans-serif; }
#order-continue:active { background: #cf0006; }
@media(hover:hover) { #order-continue:hover { background: #dc0007; } .change-size:hover, .back-link:hover { text-decoration-thickness: 2px; } }
.action-note { margin-top: 12px; text-align: center; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.order-status { margin-top: 18px; border-left: 3px solid var(--ink); padding-left: 14px; font-size: 1rem; }
.order-status:focus { outline: 2px solid var(--ink); outline-offset: 6px; }
.checkout-footer { margin-top: 36px; padding-block: 16px 28px; border-top: 1px solid var(--line); }
.checkout-footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.checkout-footer a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: .875rem; }
.footer-preferences { margin-top: 4px; color: var(--muted); }
@media(min-width: 850px) {
  .checkout-header { min-height: 96px; }
  .checkout-brand { font-size: 2.5rem; }
  .checkout-layout { grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr); grid-template-areas: 'heading heading' 'form summary'; column-gap: 64px; padding-top: 32px; }
  .checkout-heading { margin-bottom: 32px; }
  .checkout-summary { position: sticky; top: 28px; align-self: start; margin: 0; padding: 0 0 0 32px; border-bottom: 0; border-left: 1px solid var(--line); }
  .product-line { grid-template-columns: 128px minmax(0,1fr); gap: 16px; }
  .product-photo { width: 128px; height: 160px; }
  .product-copy h2 { font-size: 1.125rem; }
  .product-price { font-size: 1.875rem; }
  .order-breakdown { display: block; margin: 24px 0 0; border-top: 1px solid var(--line); }
  .order-breakdown > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
  .order-breakdown dt, .order-breakdown dd { margin: 0; }
  .order-breakdown dd { margin-left: auto; text-align: right; }
}
@media(min-width: 850px) and (max-width: 1050px) {
  .checkout-layout { column-gap: 40px; }
  .checkout-summary { padding-left: 24px; }
  .product-line { grid-template-columns: 96px minmax(0,1fr); gap: 12px; }
  .product-photo { width: 96px; height: 120px; }
}
@media(max-width: 359px) {
  .checkout-header, .checkout-layout, .checkout-footer { width: calc(100% - 32px); }
  .product-line { grid-template-columns: 80px minmax(0,1fr); gap: 14px; }
  .product-photo { width: 80px; height: 108px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior: auto !important; } }

@container(max-width: 18rem) { .card-pair > .card-field + .card-field { border-left: 0; border-top: 1px solid #bdc5b4; } }

.card-fields:focus-within { border-color: var(--ink); }
.card-field:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.card-field input:focus-visible { outline: 0; }
.card-field:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 1px #a31818; }
.field-error { margin: 4px 0 2px; color: #a31818; font-size: .875rem; line-height: 1.4; }

.product-photo picture { display: contents; }
