/* ===== CHECKOUT MODAL ===== */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.checkout-overlay.open {
  display: flex;
}

.checkout-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
  animation: slideUp .3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkout-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--cream);
}

.checkout-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-2);
}

.checkout-input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  width: 100%;
  transition: border-color .2s;
}

.checkout-input:focus {
  outline: none;
  border-color: var(--gold);
}

.checkout-input option {
  background: var(--surface-2);
  color: var(--text);
}

.shipping-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shipping-box .ship-label {
  font-size: 13px;
  color: var(--text-2);
}

.shipping-box .ship-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

.ship-unavail {
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ef4444;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.checkout-total span {
  color: var(--text-2);
  font-size: 14px;
}

.checkout-total strong {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--cream);
}

.city-manual {
  margin-top: 8px;
  display: none;
}

.city-manual.show {
  display: block;
}