.checkout-intro {
  padding: 70px 0 42px;
  background: radial-gradient(ellipse at 85% -30%, #3e4c2c 0%, transparent 60%);
}

.checkout-intro h1 {
  margin: 18px 0 12px;
  font-size: clamp(44px, 6.6vw, 92px);
  font-weight: 500;
  letter-spacing: -.068em;
  line-height: 1.04;
}

.checkout-intro h1 span { color: var(--accent); }
.checkout-lead { max-width: 550px; margin: 12px 0; color: var(--muted); font-size: 15px; }
.checkout-wrap { padding-bottom: 70px; }
.checkout-mode { margin: 0 0 18px; padding: 12px 17px; border: 1px solid #5b693e; border-radius: 9px; color: #d6e7b3; font-size: 12px; }
.checkout-mode.is-live { border-color: #3e5031; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, .9fr); gap: 24px; align-items: start; }
.checkout-panel { background: var(--paper); color: var(--dark); padding: clamp(20px, 3vw, 42px); border-radius: 16px; min-width: 0; }
.checkout-panel a:focus-visible, .checkout-panel button:focus-visible, .checkout-panel summary:focus-visible { outline-color: #445d24; }
.checkout-panel h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 550; line-height: 1.2; letter-spacing: -.045em; margin: 25px 0 10px; }
.checkout-panel h2[tabindex="-1"]:focus { outline: none; }
.checkout-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0 0 20px; gap: 8px; list-style: none; border-bottom: 1px solid #d2dac7; }
.checkout-progress li { display: flex; gap: 7px; align-items: center; font-size: 11px; font-weight: 600; color: #59664a; }
.checkout-progress b { display: grid; place-items: center; width: 25px; height: 25px; background: #e0e6d7; border-radius: 50%; font-size: 9px; }
.checkout-progress li[aria-current="step"] { color: #26351a; font-weight: 800; }
.checkout-progress li[aria-current="step"] b { background: #334426; color: #fff; }
.checkout-help { margin: 0 0 20px; color: #526047; line-height: 1.75; font-size: 13px; }
.checkout-small { margin: 15px 0 0; font-size: 11px; }
.checkout-small a { text-decoration: underline; }
.order-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.order-service { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 17px; background: #fafaf2; border: 1px solid #cfd9c5; border-radius: 10px; color: #273420; min-height: 176px; }
.order-service:hover { background: #e7efcf; border-color: #a6ba88; }
.order-service .category { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: #506044; }
.order-service .name { font-weight: 760; font-size: 15px; line-height: 1.25; }
.order-service .description { font-size: 12px; color: #55634b; }
.order-service .service-price { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; font-size: 14px; font-weight: 800; }
.checkout-fields { display: grid; gap: 16px; }
.checkout-field { display: block; font-weight: 700; font-size: 12px; color: #33452b; }
.checkout-field small { margin-left: 7px; font-size: 10px; font-weight: 500; color: #59674e; }
.checkout-field .field-hint { display: block; margin-top: 4px; font-weight: 400; font-size: 11px; color: #58654c; }
.checkout-field input, .checkout-field textarea {
  display: block;
  margin-top: 8px;
  width: 100%;
  min-height: 45px;
  padding: 12px 13px;
  border: 1px solid #c4d0b8;
  border-radius: 7px;
  background: #fcfdf7;
  font-size: 14px;
  font-weight: 500;
  color: #253420;
}
.checkout-field textarea { resize: vertical; }
.checkout-field input:focus, .checkout-field textarea:focus { outline: 2px solid #607b38; outline-offset: 1px; }
.order-extras { border: 0; margin: 24px 0 0; padding: 0; }
.order-extras legend { padding: 0; margin-bottom: 11px; font-weight: 760; font-size: 13px; }
.order-extra { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; padding: 12px 13px; margin-bottom: 8px; border: 1px solid #d2dcc7; border-radius: 8px; background: #f7f8f0; font-size: 12px; }
.order-extra:has(input:checked) { background: #e3eec9; border-color: #9daf81; }
.order-extra input, .checkout-save input { accent-color: #435b2c; margin: 4px 0 0; width: 16px; height: 16px; }
.order-extra .extra-note { display: block; color: #53624a; font-size: 11px; }
.order-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.order-back { background: none; border: 0; padding: 8px 0; color: #405336; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.checkout-panel .button { min-height: 46px; }
.account-options { display: grid; gap: 9px; }
.account-option { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; min-height: 53px; padding: 10px 15px; color: #293b20; background: #fbfcf6; border: 1px solid #c6d0bb; border-radius: 9px; font-weight: 700; font-size: 13px; }
.account-option:hover:not(:disabled) { border-color: #7d925f; background: #e9f0db; }
.account-option:disabled { opacity: .7; }
.account-icon { display: grid; place-items: center; border-radius: 50%; width: 28px; height: 28px; background: #e5ebdc; font-size: 13px; }
.account-note { background: #e6edd8; padding: 13px 16px; border-radius: 8px; margin-bottom: 12px; }
.account-note p { margin: 0 0 12px; overflow-wrap: anywhere; }
.account-note .order-back { margin-left: 13px; }
.order-auth-form { margin-top: 20px; padding: 16px; border: 1px solid #c6d0bb; border-radius: 9px; }
#auth-code-field { margin-top: 12px; }
.guest-actions { padding-top: 17px; border-top: 1px solid #d1d9c7; }
.checkout-save { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; font-size: 12px; color: #3d4b31; }
.checkout-summary { position: sticky; top: 104px; padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: #20261d; }
.checkout-summary h2 { margin: 10px 0 9px; font-size: 24px; font-weight: 550; letter-spacing: -.04em; }
.checkout-summary p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.checkout-summary dl, .order-review dl, .order-receipt dl { margin: 12px 0; }
.checkout-summary dl div, .order-review dl div, .order-receipt dl div { display: flex; gap: 15px; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid #65745a4d; font-size: 12px; }
.checkout-summary dd, .order-review dd, .order-receipt dd { text-align: right; margin: 0; overflow-wrap: anywhere; }
.order-total { display: flex; gap: 12px; justify-content: space-between; align-items: center; font-size: 12px; }
.order-total strong { font-size: 25px; color: var(--accent); }
.checkout-summary .text-link { margin-top: 8px; }
.order-review { background: #fcfdf7; border: 1px solid #d2dbc6; border-radius: 9px; padding: 12px 16px; }
.order-review dl div { border-color: #d9e1d1; }
.order-review details { margin: 14px 0 6px; }
.order-review summary { cursor: pointer; font-size: 12px; color: #38502b; font-weight: 750; }
.order-review details p { font-size: 12px; color: #4d5e43; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-alert { padding: 10px 12px; border-radius: 7px; background: #e7edd9; color: #2d4a25; font-size: 12px; margin: 17px 0 0; }
#order-error { color: #7d2d25; background: #f4ded9; }
.receipt-mark { display: grid; place-items: center; height: 48px; width: 48px; background: #d8ebac; border-radius: 50%; margin-top: 22px; font-size: 23px; color: #344826; }

@media (max-width: 850px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { position: static; }
  .checkout-intro { padding: 48px 0 26px; }
}

@media (max-width: 520px) {
  .checkout-panel { padding: 20px 16px; }
  .checkout-progress li { flex-direction: column; align-items: flex-start; gap: 3px; font-size: 10px; }
  .order-services { grid-template-columns: 1fr; }
  .order-service { min-height: 130px; }
  .checkout-field input, .checkout-field textarea { font-size: 16px; }
  .checkout-summary { padding: 20px; }
}

/* Store checkout */
.checkout-intro { background: none; padding: clamp(35px,5vw,66px) 0 28px; }
.checkout-intro h1 { font-weight: 800; font-size: clamp(42px, 6vw, 76px); }
.checkout-intro .text-link, .checkout-summary .text-link { color: var(--brand-dark); border-color: var(--border); }
.checkout-intro .eyebrow, .checkout-summary .eyebrow { color: var(--brand-dark); }
.checkout-mode { color: #334084; border-color: #ccd5fa; background: var(--brand-pale); font-weight: 730; }
.checkout-mode.is-live { border-color: #ccd5fa; }
.checkout-panel, .checkout-summary { background: white; border: 1px solid var(--border); border-radius: 12px; }
.checkout-summary { top: 95px; }
.checkout-panel h2 { font-weight: 800; }
.checkout-panel .button.dark { background: var(--brand); color: white; border-radius: 8px; }
.checkout-panel .button.dark:hover { background: var(--brand-dark); }
.checkout-panel :is(a,button,summary):focus-visible { outline-color: var(--brand); }
.checkout-progress { border-color: var(--border); }
.checkout-progress li, .checkout-help, .checkout-field .field-hint, .checkout-field small, .order-extra .extra-note { color: var(--subtle); }
.checkout-progress b, .account-icon { background: var(--brand-pale); }
.checkout-progress li[aria-current="step"] { color: var(--brand-dark); }
.checkout-progress li[aria-current="step"] b { background: var(--brand); }
.checkout-field { color: var(--text); }
.checkout-field input, .checkout-field textarea, .order-auth-form { color: var(--text); background: #fbfbff; border-color: #c8cfe8; }
.checkout-field input:focus, .checkout-field textarea:focus { outline-color: var(--brand); }
.order-back, .order-review summary { color: var(--brand-dark); }
.order-extra, .order-review, .account-option { background: #fbfbff; border-color: var(--border); color: var(--text); }
.order-extra:has(input:checked), .account-option:hover:not(:disabled), .account-note, .order-alert { background: var(--brand-pale); color: var(--brand-dark); border-color: #aeb9ee; }
.order-extra input, .checkout-save input, .order-tier input, .payment-path input { accent-color: var(--brand); }
.order-review dl div, .checkout-summary dl div, .order-receipt dl div, .guest-actions { border-color: var(--border); }
.order-review details p { color: var(--subtle); }
.order-services { display: grid; grid-template-columns: 1fr; gap: 20px; }
.order-category h3 { font-size: 17px; margin: 2px 0 9px; }
.order-service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.order-service { min-height: 154px; background: #fbfbff; color: var(--text); border-color: var(--border); }
.order-service:hover { background: var(--brand-pale); border-color: #aeb9ee; }
.order-service .category { color: var(--brand-dark); font-weight: 800; }
.order-service .description { color: var(--subtle); }
.order-tiers, .payment-paths { border: 0; padding: 0; margin: 0 0 21px; min-width: 0; }
.order-tiers legend, .payment-paths legend { color: var(--text); font-weight: 800; margin-bottom: 7px; font-size: 13px; }
#service-tiers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.order-tier, .payment-path { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: start; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #fafbff; font-size: 13px; cursor: pointer; }
.order-tier:has(input:checked), .payment-path:has(input:checked) { border-color: #879aef; background: var(--brand-pale); }
.order-tier input, .payment-path input { margin: 4px 0 0; }
.order-tier small, .payment-path small { display: block; color: var(--subtle); font-size: 11px; line-height: 1.45; }
.tier-price { text-align: right; }
.tier-price small { color: #2d603e; font-weight: 800; }
.payment-paths { margin: 19px 0 0; }
.payment-path + .payment-path { margin-top: 7px; }
.checkout-result { grid-template-columns: minmax(0,760px); }
.checkout-result :is(.checkout-progress,.checkout-summary) { display: none; }
.booking-kicker { margin: 0; color: var(--brand-dark); font-weight: 800; font-size: 13px; overflow-wrap: anywhere; }
.booking-panel h2 { margin-top: 7px; }
.booking-totals { margin: 15px 0; padding: 7px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fbfbff; }
.booking-totals div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 7px; font-size: 13px; }
.booking-totals div + div { border-top: 1px solid var(--border); }
.booking-totals dd { margin: 0; font-weight: 800; }
.booking-contact { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 17px 0; }
.booking-return { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 15px; padding: 13px; border-radius: 8px; background: var(--brand-pale); }
.booking-return p { margin: 2px 0 0; color: var(--subtle); font-size: 12px; }
.booking-return input { min-width: 0; width: 100%; padding: 7px; border: 1px solid var(--border); border-radius: 5px; color: var(--text); background: white; font-size: 13px; }
#booking-copy-status { width: 100%; color: var(--subtle); font-size: 12px; }
@media(max-width: 520px) {
  .order-service-grid, #service-tiers { grid-template-columns: 1fr; }
  .order-service { min-height: 122px; }
}

.store-checkout .container { width: min(100% - 72px, 1240px); padding-inline: 0; }
.store-checkout .checkout-intro h1 { font: 400 clamp(52px,6vw,86px)/.96 var(--display); letter-spacing: -.025em; }
.store-checkout .checkout-panel, .store-checkout .checkout-summary { background: var(--surface); border-radius: 4px; }
.store-checkout .checkout-panel h2 { font: 400 clamp(31px,4vw,46px)/1 var(--display); letter-spacing: -.012em; }
.store-checkout .checkout-mode, .store-checkout .checkout-mode.is-live { color: var(--brand-dark); border-color: #d5beba; background: var(--brand-pale); border-radius: 4px; }
.store-checkout :is(.checkout-field input,.checkout-field textarea,.order-auth-form,.order-review,.order-extra,.account-option,.order-service,.order-tier,.payment-path,.booking-totals,.booking-return input) { background: #fff9ef; border-color: var(--border); border-radius: 4px; }
.store-checkout :is(.order-tier,.payment-path):has(input:checked), .store-checkout .order-extra:has(input:checked) { background: #f3e6e0; border-color: #b89290; }
.store-checkout .order-service:hover, .store-checkout .account-option:hover { background: #f1e6d9; border-color: #bdab95; }
.store-checkout .checkout-panel .button.dark { border-radius: 4px; }
.store-checkout .guest-only .checkout-progress { grid-template-columns: repeat(4,minmax(0,1fr)); }
.store-checkout .guest-only [data-progress="account"] { display: none; }
.store-checkout .guest-only [data-progress="details"] b, .store-checkout .guest-only [data-progress="payment"] b { font-size: 0; }
.store-checkout .guest-only [data-progress="details"] b::after { content: "03"; font-size: 9px; }
.store-checkout .guest-only [data-progress="payment"] b::after { content: "04"; font-size: 9px; }
@media (max-width: 660px) {
  .store-checkout .container { width: calc(100% - 32px); }
}
