.checkout-flow {
  width: min(1060px, calc(100% - 48px));
  max-height: 92dvh;
  overscroll-behavior: contain;
}
.checkout-flow [hidden] { display: none !important; }
.checkout-flow-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px 25px;
}
.checkout-flow-header > div { min-width: 0; }
.checkout-flow-header .eyebrow { margin-bottom: 16px; font-size: 9px; color: var(--muted); text-transform: uppercase; overflow-wrap: anywhere; }
.checkout-flow-header h2 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -1.7px; }
.checkout-flow-header h2:focus { outline: none; }
.checkout-flow-close { flex-shrink: 0; margin: -11px -15px 0 0; }
.checkout-preview-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 38px;
  padding: 12px 14px;
  background: var(--accent-tint);
  color: var(--accent-strong);
  font-size: 11px;
  line-height: 1.6;
}
.checkout-preview-note > span { font-size: 23px; line-height: 1; }
.checkout-update-note {
  margin: 18px 38px 0;
  padding: 13px 15px;
  border: 1px solid var(--accent-line);
  border-radius: calc(8px * var(--corner-scale, 1));
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  line-height: 1.7;
}
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 28px 38px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 17px;
  color: #7c8073;
  font-size: 11px;
  position: relative;
}
.checkout-steps li[aria-current="step"] { color: var(--olive); font-weight: 600; }
.checkout-steps li[aria-current="step"]::after { content: ''; position: absolute; left: 0; right: 24px; bottom: -1px; height: 2px; background: var(--olive); }
.checkout-step-number { width: 28px; height: 28px; border: 1px solid var(--accent-line); border-radius: 50%; display: grid; place-items: center; font-size: 9px; }
[aria-current="step"] .checkout-step-number { background: var(--olive); border-color: var(--olive); color: var(--paper); }
.checkout-steps .is-complete { color: var(--accent-strong); }
.checkout-steps .is-complete .checkout-step-number { background: var(--accent-tint); }
.checkout-flow-body { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 42px; padding: 29px 38px 38px; align-items: start; }
.checkout-flow-main { min-width: 0; }
.checkout-account { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.checkout-account-choices, .checkout-account-member { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.checkout-account button { min-height: 44px; font-size: 12px; }
.checkout-guest-choice { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-strong); text-align: left; padding: 8px 12px; border: 1px solid var(--accent-line); border-radius: calc(7px * var(--corner-scale, 1)); background: var(--accent-soft); }
.checkout-guest-choice[aria-pressed="false"] { background: transparent; border-color: var(--line); color: var(--muted); }
.checkout-guest-choice[aria-pressed="false"] > span { visibility: hidden; }
.checkout-account-links { display: flex; align-items: center; gap: 10px; color: #606353; }
.checkout-account-links button, .checkout-account-member > button { padding: 8px 2px; text-decoration: underline; text-underline-offset: 4px; }
.checkout-account-links button[aria-expanded="true"] { color: var(--ink); font-weight: 700; }
.checkout-account-member > div { min-width: 0; flex: 1 1 160px; }
.checkout-account-caption { display: block; color: #606353; font-size: 11px; margin-bottom: 4px; }
.checkout-account-member strong { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.checkout-account-panel { margin-top: 16px; padding: 22px; border: 1px solid var(--accent-line); border-radius: calc(10px * var(--corner-scale, 1)); background: var(--accent-mist); }
.checkout-account-panel h4 { margin: 0 0 8px; font: 500 20px var(--sans); letter-spacing: -.5px; }
.checkout-account-panel > p { font-size: 12px; line-height: 1.8; color: #606353; margin: 0 0 18px; }
.checkout-account-panel .checkout-field label { font-size: 12px; }
.checkout-account-panel .checkout-field input { font-size: 16px; }
.checkout-account-hint { display: block; margin-top: 8px; color: #606353; font-size: 12px; line-height: 1.7; }
.checkout-account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; }
.checkout-account-actions .button { padding: 12px 21px; }
.checkout-account-actions > [data-checkout-auth="guest"] { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-strong); text-align: left; }
.checkout-account .checkout-account-privacy { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--accent-line); font-size: 11px; }
.checkout-account-privacy a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 4px; }
.checkout-account-status, .checkout-account-error { margin: 12px 0 0; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.checkout-account-status { color: var(--accent-strong); }
.checkout-account-error { color: #934533; }
.checkout-account-status:empty, .checkout-account-error:empty { display: none; }
.checkout-account button:disabled { cursor: wait; opacity: .7; }
.checkout-section-intro h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; letter-spacing: -.6px; margin: 0 0 9px; line-height: 1.2; }
.checkout-section-intro p { font-size: 11px; color: var(--muted); margin-bottom: 17px; }
.checkout-sample-button { display: inline-flex; align-items: center; gap: 20px; font-size: 11px; padding: 0 0 8px; border-bottom: 1px solid var(--accent-rule); min-height: 36px; }
.checkout-sample-button:hover { color: var(--accent); }
.checkout-sample-button span { font-size: 17px; }
.checkout-form-status { color: var(--olive); font-size: 10px; line-height: 1.6; margin: 8px 0 0; }
.checkout-form-status:empty { display: none; }
.checkout-fieldset { min-width: 0; border: 0; margin: 26px 0 0; padding: 0; }
.checkout-fieldset legend { font-size: 11px; font-weight: 600; padding: 0; margin-bottom: 16px; }
.checkout-field { min-width: 0; margin-bottom: 15px; }
.checkout-field label { display: block; font-size: 10px; color: #626858; margin-bottom: 8px; line-height: 1.5; }
.checkout-optional { font-size: 9px; color: #7b8171; }
.checkout-field input, .checkout-field textarea {
  display: block;
  border: 1px solid var(--accent-line);
  border-radius: 0;
  background: var(--theme-card);
  color: var(--ink);
  font: 12px var(--sans);
  width: 100%;
  min-height: 44px;
  padding: 12px;
  transition: border-color .15s;
}
.checkout-field input::placeholder, .checkout-field textarea::placeholder { color: #606353; font-size: 12px; opacity: 1; }
.checkout-field textarea { resize: vertical; min-height: 88px; max-height: 220px; line-height: 1.7; }
.checkout-field input:hover, .checkout-field textarea:hover { border-color: var(--accent-rule); }
.checkout-flow .checkout-field input:focus, .checkout-flow .checkout-field textarea:focus { outline: 2px solid var(--olive); outline-offset: 2px; border-color: var(--olive); }
.checkout-flow .checkout-field [aria-invalid="true"] { border-color: #a34835; background: #fffaf6; }
.checkout-flow .checkout-field [aria-invalid="true"]:focus { outline-color: #a34835; border-color: #a34835; }
.checkout-field-error { display: block; color: #934533; font-size: 10px; line-height: 1.6; margin-top: 6px; }
.checkout-field-error:empty { display: none; }
.checkout-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.checkout-postcode { max-width: 230px; }
.checkout-country { font-size: 10px; color: #646d56; margin: 5px 0 0; }
.checkout-country span { color: #838979; }
.checkout-data-note { font-size: 10px; color: var(--muted); margin: 22px 0 0; line-height: 1.8; }
.checkout-help-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-strong); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.checkout-shipping-note p { white-space: pre-line; overflow-wrap: anywhere; }
.checkout-validation-summary { padding: 11px 13px; background: #f1e5de; color: #8c4332; font-size: 11px; margin: 18px 0 0; }
.checkout-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 22px; }
.checkout-actions .button { font-size: 11px; gap: 22px; }
.checkout-back { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 10px; min-height: 44px; text-align: left; }
.checkout-back:hover, .checkout-return:hover { color: var(--accent); }
.checkout-back span { font-size: 18px; }
.checkout-order { position: sticky; top: 24px; min-width: 0; background: var(--accent-soft); padding: 25px 22px 26px; }
.checkout-order-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 19px; border-bottom: 1px solid var(--accent-line); }
.checkout-order-heading h3 { font-family: var(--serif); font-size: 23px; font-weight: 400; letter-spacing: -.5px; margin: 0; }
.checkout-order-heading > span { font-size: 9px; color: var(--muted); white-space: nowrap; }
.checkout-order-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 15px; padding-top: 20px; }
.checkout-order-item > div { min-width: 0; overflow-wrap: anywhere; }
.checkout-order-item picture { display: block; background: #deded3; align-self: start; }
.checkout-order-item img { width: 64px; height: 82px; object-fit: cover; }
.checkout-order-item h4 { font: 21px var(--serif); margin: 0 0 5px; }
.checkout-order-item p { font-size: 9px; color: #707965; margin-bottom: 6px; line-height: 1.7; }
.checkout-order-item strong { font-size: 11px; font-weight: 500; }
.checkout-order-totals { border-top: 1px solid var(--accent-line); margin-top: 22px; padding-top: 18px; }
.checkout-order-totals > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; font-size: 11px; }
.checkout-order-totals strong { font-size: 17px; font-weight: 500; white-space: nowrap; }
.checkout-order-totals .checkout-shipping-total { margin-top: 15px; font-size: 10px; color: #6f7862; }
.checkout-shipping-total > span:last-child { text-align: right; }
.checkout-order-totals .checkout-final-total { flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--accent-line); font-size: 13px; color: var(--ink); }
.checkout-final-total strong { font-size: 21px; }
.checkout-order-footnote { color: #767e6a; font-size: 9px; line-height: 1.85; margin: 20px 0 0; }
.checkout-order-mark { display: flex; flex-direction: column; align-items: center; border-top: 1px solid var(--accent-line); padding-top: 26px; margin-top: 25px; font-size: 28px; letter-spacing: -1.5px; color: #707961; }
.checkout-order-mark > span { font: 7px var(--sans); letter-spacing: 2px; margin: 8px 0 0 2px; }
.checkout-order-mark > .checkout-brand-mark { max-width: 100%; margin: 0; font: inherit; letter-spacing: inherit; line-height: 1.3; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
.checkout-review-card { padding: 22px 0; border-bottom: 1px solid var(--line); }
.checkout-review-card > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.checkout-review-card h4 { font-size: 11px; font-weight: 600; margin: 0; }
.checkout-review-card button { font-size: 10px; padding: 9px 0 9px 8px; min-height: 36px; color: var(--accent); }
.checkout-review-card button span { margin-left: 7px; }
.checkout-review-card p { font-size: 12px; color: #717a63; margin: 0; line-height: 1.85; overflow-wrap: anywhere; }
.checkout-review-card .checkout-recipient { color: var(--ink); margin-bottom: 5px; }
.checkout-review-address { white-space: pre-line; }
.checkout-shipping-note { display: flex; gap: 15px; margin-top: 27px; }
.checkout-note-icon { flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--accent-line); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font-size: 19px; }
.checkout-shipping-note h4 { font-size: 11px; font-weight: 500; margin: 0 0 7px; }
.checkout-shipping-note p { font-size: 10px; line-height: 1.85; color: #77816a; margin-bottom: 0; }
.checkout-payment-preview { text-align: center; padding: 23px 6px 13px; }
.checkout-payment-symbol { width: 84px; height: 84px; border: 1px solid var(--accent-line); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 30px; }
.checkout-payment-symbol svg { width: 40px; height: 40px; color: var(--accent); }
.checkout-payment-preview .eyebrow { font-size: 11px; margin-bottom: 18px; color: #606353; }
.checkout-payment-preview h3 { font: 44px var(--serif); font-weight: 400; letter-spacing: -1.7px; margin: 0 0 20px; }
.checkout-payment-preview > p:not(.eyebrow) { max-width: 315px; margin: 0 auto 23px; font-size: 14px; color: #606353; line-height: 1.8; }
.checkout-payment-notice { padding: 17px 12px; border-block: 1px solid var(--line); font-size: 11px; color: var(--accent-strong); line-height: 1.9; }
.checkout-payment-disabled { width: 100%; justify-content: center; margin-top: 25px; font-size: 11px; opacity: 1 !important; background: var(--accent-tint) !important; color: var(--accent-strong); }
.checkout-return { min-height: 44px; display: flex; gap: 20px; align-items: center; font-size: 11px; padding: 10px 0; }
.checkout-return span { font-size: 19px; }
@media (max-width: 900px) {
  .checkout-flow-body { grid-template-columns: minmax(0, 1fr) 255px; gap: 27px; }
  .checkout-order { padding: 22px 18px; }
  .checkout-order-heading h3 { font-size: 20px; }
  .checkout-actions { gap: 10px; }
  .checkout-actions .button { padding-inline: 15px; gap: 13px; }
}
@media (max-width: 760px) {
  .checkout-flow { width: calc(100% - 24px); max-height: 94dvh; }
  .checkout-flow-header { padding: 27px 22px 23px; gap: 12px; }
  .checkout-flow-header .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
  .checkout-flow-header h2 { font-size: 34px; letter-spacing: -1.3px; }
  .checkout-flow-close { margin-right: -10px; }
  .checkout-preview-note { margin-inline: 22px; font-size: 10px; padding: 11px 12px; }
  .checkout-update-note { margin-inline: 22px; }
  .checkout-steps { margin: 23px 22px 0; }
  .checkout-steps li { font-size: 10px; gap: 7px; }
  .checkout-steps li[aria-current="step"]::after { right: 14px; }
  .checkout-step-number { width: 25px; height: 25px; }
  .checkout-flow-body { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 25px 22px 22px; }
  .checkout-field input, .checkout-field textarea { font-size: 16px; }
  .checkout-order { position: static; padding: 23px 20px; }
  .checkout-order-mark { display: none; }
  .checkout-order-heading h3 { font-size: 24px; }
  .checkout-order-item { grid-template-columns: 56px minmax(0, 1fr); }
  .checkout-order-item img { width: 56px; height: 68px; }
  .checkout-payment-preview { padding-top: 8px; }
}
@media (max-width: 400px) {
  .checkout-account-panel { padding: 17px 14px; }
  .checkout-flow-header h2 { font-size: 31px; }
  .checkout-flow-header, .checkout-flow-body { padding-inline: 18px; }
  .checkout-preview-note, .checkout-steps { margin-inline: 18px; }
  .checkout-update-note { margin-inline: 18px; }
  .checkout-fields-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .checkout-actions { flex-wrap: wrap; }
  .checkout-actions .button { flex: 1; min-width: 170px; }
  .checkout-country span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .checkout-flow *, .checkout-flow *::before, .checkout-flow *::after { transition: none !important; scroll-behavior: auto !important; }
}
