.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--taupe-dark);
  text-decoration: none;
}

.checkout-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkout-status-message,
.checkout-empty,
.checkout-error,
.checkout-no-available,
.checkout-unavailable-banner,
.checkout-card,
.checkout-summary-card,
.reservation-panel {
  padding: clamp(20px, 4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: #fff;
}

.checkout-status-message {
  color: var(--muted);
}

.checkout-empty,
.checkout-error,
.checkout-no-available {
  max-width: var(--site-form-width);
  margin-bottom: 24px;
}

.checkout-empty h2,
.checkout-error h2,
.checkout-no-available h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.checkout-empty p,
.checkout-error p,
.checkout-no-available p {
  margin: 0 0 18px;
  color: var(--muted);
}

.checkout-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-unavailable-banner {
  margin-bottom: 24px;
  background-color: var(--taupe-tint);
  border-color: var(--taupe-border);
}

.checkout-unavailable-banner h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.checkout-unavailable-banner p {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--taupe-dark);
}

.checkout-unavailable-banner ul {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 15px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 920px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.checkout-form {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.checkout-fieldset {
  margin: 0;
  min-width: 0;
}

.checkout-legend {
  float: left;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding: 0;
  margin: 0 0 16px;
}

.checkout-field {
  clear: both;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  min-width: 0;
}

.checkout-field:last-child {
  margin-bottom: 0;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: 14px;
  margin-bottom: 14px;
}

@media (max-width: 520px) {
  .checkout-field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.checkout-field-row .checkout-field {
  margin-bottom: 0;
}

.checkout-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.checkout-field input {
  width: 100%;
  min-width: 0;
}

.checkout-field input[aria-invalid="true"] {
  border-color: #b3261e;
}

.field-error {
  margin: 0;
  font-size: 14px;
  color: #b3261e;
  font-weight: 600;
}

.checkout-form-error {
  padding: 12px 16px;
  background-color: #fdecec;
  border-radius: 12px;
  color: #96261c;
  font-size: 15px;
  font-weight: 600;
}

.checkout-option-list {
  clear: both;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-option-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background-color: #fff;
  padding: 14px 16px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.checkout-option-card:has(input:checked) {
  border-color: var(--taupe);
  background-color: var(--taupe-soft);
}

.checkout-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkout-radio-label input[type="radio"] {
  margin-top: 2px;
}

.checkout-option-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.checkout-option-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.checkout-option-text {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-delivery-panel {
  margin-top: 16px;
  padding: 18px;
  background-color: var(--tile);
  border-radius: 14px;
}

.checkout-delivery-panel-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.checkout-band-group {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  min-width: 0;
}

.checkout-band-legend {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  padding: 0;
}

.checkout-band-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-band-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  background-color: #fff;
  border: 1.5px solid var(--input-border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.checkout-band-option:has(input:checked) {
  border-color: var(--taupe);
  background-color: var(--taupe-soft);
  font-weight: 600;
}

.checkout-band-note {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}

.checkout-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
}

.checkout-multi-rule {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-actions .btn {
  flex: 1 1 220px;
}

.checkout-payment-note {
  margin: -8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.checkout-summary-card {
  min-width: 0;
}

.checkout-summary-card h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.checkout-summary-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.checkout-summary-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-summary-item-info {
  min-width: 0;
}

.checkout-summary-item-title {
  display: block;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  overflow-wrap: break-word;
}

.checkout-summary-item-meta {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}

.checkout-summary-item-price {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.checkout-summary-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15.5px;
  color: var(--muted);
}

.checkout-summary-amount {
  font-weight: 700;
  color: var(--ink);
}

.checkout-summary-row--total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
}

.checkout-summary-row--total .checkout-summary-amount {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.checkout-summary-detail {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.checkout-summary-disclaimer {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.reservation-panel {
  margin-top: 28px;
  border-color: var(--taupe);
}

.reservation-panel h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.reservation-notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: var(--taupe-soft);
  font-size: 15.5px;
  color: var(--ink);
}

.reservation-stale {
  margin: 0 0 12px;
  font-size: 15px;
  color: #b3261e;
  font-weight: 600;
}

.reservation-text {
  margin: 0 0 18px;
  padding: 16px;
  background-color: var(--tile);
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.reservation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.reservation-feedback {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--taupe-dark);
  font-weight: 600;
}

.reservation-cart-note {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}
