/* Same brand tokens as badi-palace.com (src/styles/global.css), copied by
   hand since this is a separate repo — keep these two in sync if the site's
   palette or fonts ever change. */
:root {
  --gold: #c9a227;
  --gold-bright: #e0bc4a;
  --terracotta: #8b4513;
  --oxide: #8b4513;
  --oxide-dark: #6f370f;
  --cream: #fbf8f2;
  --sand: #f5f0e6;
  --plaster-soft: #efe7d7;
  --earth: #2c1810;
  --earth-soft: #5a463a;

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --err-bg: #fbeae5;
  --err-border: #e8b4a4;
  --err-text: #8a2e14;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--earth);
}

.co-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.co-card {
  background: var(--cream);
  border: 1px solid var(--plaster-soft);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 2rem;
}

.co-card h1 {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--earth);
}

.co-sub {
  margin: 0 0 1.5rem;
  color: var(--earth-soft);
}

/* The order summary, styled after the site's own ticket-option cards: a
   dashed gold frame with the price and the details as two visually distinct
   halves, rather than a plain definition list. */
.co-summary-card {
  display: flex;
  flex-wrap: wrap;
  border: 2px dashed var(--gold);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 0 1.5rem;
}

.co-summary-price {
  flex: 1 1 9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 1.25rem 1rem;
  background: var(--cream);
  text-align: center;
}

.co-summary-price .amount {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--earth);
}

.co-summary-price .label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--earth-soft);
}

.co-summary-details {
  flex: 1.4 1 14rem;
  background: var(--earth);
  color: var(--cream);
  padding: 1.25rem 1.4rem;
}

.co-summary-details h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.co-summary-details dl {
  margin: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
}

.co-summary-details dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0.92;
}

.co-summary-details dt { font-weight: 400; }
.co-summary-details dd { margin: 0; font-weight: 600; }

.co-field {
  margin-bottom: 1.1rem;
}

.co-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--earth);
}

.co-optional {
  font-weight: 400;
  color: var(--earth-soft);
}

.co-field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--earth);
  background: #fff;
  border: 1px solid var(--plaster-soft);
  border-radius: 4px;
}

.co-field input:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22);
}

.co-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 1.25rem 0;
  color: var(--earth-soft);
}

.co-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--oxide);
}

.co-consent a {
  color: var(--oxide);
}

.co-err {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  background: var(--err-bg);
  border: 1px solid var(--err-border);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--err-text);
}

#coPaymentElement {
  margin-bottom: 1.25rem;
}

/* Same gold pill as every "Get Your Tickets" / "Book Now" button on the
   storefront, not a generic dark "pay" button — this screen is the same
   purchase, not a separate checkout brand. */
.co-pay {
  width: 100%;
  padding: 0.95rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--earth);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.co-pay:hover:not(:disabled) {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.co-pay:disabled {
  opacity: 0.65;
  cursor: progress;
}

.co-legal {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--earth-soft);
}

@media (max-width: 26rem) {
  .co-summary-price,
  .co-summary-details {
    flex-basis: 100%;
  }
}
