.bde-checkout {
    --field: #2b1e38;
    --field-border: #8766a4;
    --field-hint: #cbb8d9;
}
.checkout-shell { padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.checkout-options { margin-bottom: 1.1rem; }
.checkout-payment-jump { display: none; }
.checkout-panel { border-color: #74528c; }
.checkout-panel .payment-intro { font-size: .94rem; }
.preview-fields { display: grid; gap: .85rem; margin-top: 1rem; }
.preview-fields label { margin-top: 0; color: var(--paper); font-weight: 650; font-size: .84rem; }
.preview-fields input, .preview-fields select {
    color: var(--paper);
    background: var(--field);
    border: 1px solid var(--field-border);
    margin-top: .35rem;
    padding: .65rem .75rem;
    font-size: 1rem;
}
.preview-fields input::placeholder { opacity: 1; color: var(--field-hint); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.field-row > div { min-width: 0; }
.card-fields {
    min-inline-size: 0;
    margin: 0;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #1c1426;
}
.card-fields legend {
    padding: 0 .35rem;
    color: var(--paper);
    font-size: .9rem;
    font-weight: 750;
}
.card-fields .field-row { margin-top: .65rem; }
.preview-fields .preview-disclosure {
    margin-top: 0;
    padding: 0 .1rem;
    border-top: 0;
}
.preview-fields .preview-disclosure summary {
    min-height: 32px;
    padding: .2rem 0;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 650;
}
.preview-disclosure .details-copy { color: var(--muted); font-size: .85rem; }
.order-totals {
    display: grid;
    gap: .25rem;
    margin: 1.15rem 0 0;
    padding: .95rem 0 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}
.order-totals > div { display: flex; justify-content: space-between; gap: 1rem; }
.order-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.order-totals .total { margin-top: .25rem; color: var(--paper); font-size: 1rem; font-weight: 750; }
.preview-pay {
    display: block;
    width: 100%;
    margin: .3rem 0 0;
    min-height: 49px;
    background: var(--accent);
    border-color: var(--accent);
    color: #211130;
    font-weight: 800;
    opacity: 1;
}
.checkout-panel .preview-note {
    margin: -.4rem 0 0;
    text-align: center;
    color: var(--muted);
    font-size: .75rem;
}
@media (max-width: 480px) {
    .checkout-options { margin-bottom: .25rem; }
    .checkout-payment-jump {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin-bottom: .75rem;
        color: var(--accent);
        font-size: .9rem;
        font-weight: 750;
        text-underline-offset: .2em;
    }
    .contact-fields { grid-template-columns: minmax(0, 1fr); }
    .checkout-header-inner, .checkout-shell { width: calc(100% - 2rem); }
    .checkout-brand { font-size: 1.06rem; }
    .checkout-brand img { width: 1.55rem; }
    .preview-label { font-size: .61rem; }
}
.checkout-shell [hidden] { display: none; }
#booking {
    padding: .75rem;
    margin: .9rem 0 .75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
}
#booking legend { font-weight: 750; }
#booking label { margin-bottom: -.65rem; }
#payment-message:empty, #promo-message:empty { display: none; }
#payment-message:not(:empty) { margin-top: .75rem; }
#pay:disabled { opacity: .65; }

.order-totals > .total[hidden] { display: none; }

.checkout-columns { align-items: stretch; }
.checkout-columns > * { min-width: 0; }
.checkout-offer { align-self: start; }
.checkout-offer .checkout-photo { display: block; width: 100%; height: auto; max-height: 29rem; object-fit: cover; }
.checkout-panel #payment-title { margin-block: .2rem .95rem; scroll-margin-top: .85rem; }
.checkout-progress { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; list-style: none; margin: 0 0 .8rem; padding: 0; color: var(--muted); font-size: .79rem; }
.checkout-progress [aria-current="step"] { color: var(--accent); font-weight: 750; }
.checkout-step { display: grid; gap: .85rem; margin-top: 0 !important; }
.form-block { margin: 0; padding: .75rem; border: 1px solid var(--line); border-radius: 10px; }
.form-block legend { padding-inline: .35rem; font-size: .88rem; font-weight: 750; }
.form-block label { margin: 0; }
.form-block input, .form-block select, .detail-fields textarea, .detail-fields input { margin-top: .2rem; }
.drummer-block { display: grid; gap: .75rem; }
.drummer-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .35rem; }
.drummer-header h3 { margin: 0; font-size: .88rem; font-weight: 750; }
.drummer { min-width: 0; }
.drummer + .drummer { border-top: 1px solid var(--line); padding-top: .7rem; }
.kit-choice { min-width: 0; border: 0; margin: .55rem 0 0; padding: 0; }
.kit-choice legend { padding: 0; font-size: .81rem; }
.kit-options { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .25rem; }
.kit-options label {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 44px;
  padding: .25rem .48rem;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: var(--field);
  cursor: pointer;
  font-size: .76rem;
  white-space: nowrap;
}
.kit-options input[type="radio"] { width: 1rem; height: 1rem; flex: 0 0 auto; margin: 0; padding: 0; accent-color: var(--accent); }
.kit-options label:has(:checked) { color: var(--accent); border-color: var(--accent); }
.kit-options label:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.drummer-header .gift-choice {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  margin: 0;
  padding: .3rem .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--field);
  cursor: pointer;
  font-size: .76rem;
  white-space: nowrap;
}
.drummer-header .gift-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
}
.gift-track {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  width: 1.5rem;
  height: .9rem;
  padding: .1rem;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  color: var(--muted);
}
.gift-track::before {
  content: '';
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: currentColor;
}
.drummer-header .gift-choice:has(:checked) { color: var(--accent); border-color: var(--accent); }
.gift-choice :checked ~ .gift-track { justify-content: flex-end; background: var(--accent); color: var(--field); }
.gift-choice:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.checkout-panel .checkout-details { margin: 0; border: 1px solid var(--line); border-radius: 9px; padding: 0 .75rem; }
.checkout-panel .checkout-details summary { display: list-item; padding: .66rem 0; min-height: 44px; color: var(--accent); font-size: .86rem; font-weight: 720; }
.checkout-panel .experience-details summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; list-style: none; }
.experience-details summary::after { content: '+' / ''; font-size: 1.1rem; line-height: 1; }
.experience-details[open] summary::after { content: '−' / ''; }
.detail-fields { margin: .25rem 0 .75rem; }
.detail-fields textarea { resize: vertical; color: var(--paper); background: var(--field); border: 1px solid var(--field-border); }
.checkout-panel .field-note, .checkout-panel .field-error { margin: .35rem 0 0; font-size: .79rem; line-height: 1.45; }
.checkout-panel .field-note { color: var(--muted); }
.checkout-panel .field-error { color: #ffb8c5; }
.checkout-panel [aria-invalid="true"] { border-color: #ffb8c5; }
.contact-review { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .25rem .65rem; background: #2a1d36; border-radius: 8px; font-size: .84rem; }
.contact-review p { margin: 0; min-width: 0; white-space: pre-line; overflow-wrap: anywhere; }
.contact-review button { margin: 0; background: transparent; border: none; color: var(--accent); padding: .2rem; flex: none; }
.checkout-step button:disabled { cursor: default; opacity: .62; }

@media (min-width: 54rem) {
  .checkout-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-offer .checkout-photo { aspect-ratio: 5 / 4; }
}
@media (max-width: 480px) {
  .checkout-panel .field-row { gap: .55rem; }
}

.checkout-panel #payment-message:empty { display: none; }
