/* ============================================================
   ISLAND ADVENTURES MEXICO — Booking & Success Styles
   ============================================================ */

/* --- Booking page layout --- */
.booking-page {
  min-height: 100vh;
  background: var(--navy-deeper);
  padding-top: 80px;
}
.booking-header {
  background: var(--navy-dark);
  border-bottom: 1px solid var(--glass-border);
  padding: 24px 0;
  text-align: center;
}
.booking-header a.back-link {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--white-60);
  transition: color var(--transition-fast);
}
.booking-header a.back-link:hover { color: var(--teal-bright); }
.booking-header-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Progress bar */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 24px;
  max-width: 640px;
  margin: 0 auto;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white-40, rgba(255,255,255,0.4));
  transition: all var(--transition-medium);
  position: relative;
  z-index: 1;
}
.progress-step.active .step-circle {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
  background: rgba(77, 200, 210, 0.12);
}
.progress-step.done .step-circle {
  border-color: var(--teal-bright);
  background: var(--teal-bright);
  color: var(--navy-dark);
}
.step-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-40, rgba(255,255,255,0.4));
  white-space: nowrap;
}
.progress-step.active .step-label { color: var(--teal-bright); }
.progress-step.done .step-label { color: var(--white-60); }
.progress-connector {
  flex: 1;
  height: 2px;
  background: var(--glass-border);
  min-width: 60px;
  max-width: 120px;
  margin-bottom: 17px;
  transition: background var(--transition-medium);
}
.progress-connector.done { background: var(--teal-bright); }

/* Booking layout */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  align-items: start;
}
.booking-main { min-width: 0; }
.booking-sidebar { position: sticky; top: 100px; }

/* Step panels */
.booking-step { display: none; }
.booking-step.active { display: block; }

/* Step 1: the order-summary sidebar has nothing to show yet (no date/pax/contact
   data), so hide it and let the tour grid use the full width instead. */
.booking-layout.step1-wide { grid-template-columns: 1fr; }
.booking-layout.step1-wide .booking-sidebar { display: none; }

.step-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
}
.step-panel-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.step-panel-sub {
  font-size: 14px;
  color: var(--white-60);
  margin-bottom: 28px;
}

/* Tour selection grid — Step 1 now spans the full layout width (no sidebar),
   so use 3 columns on wide screens instead of the old 2. */
.tour-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  align-items: start;
}
@media (min-width: 1000px) {
  .booking-layout.step1-wide .tour-select-grid { grid-template-columns: repeat(3, 1fr); }
}
.tour-select-card {
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  /* Explicit properties, not `all`: transitioning `all` with the overshoot
     spring curve also animated background/shadow and made the card wobble. */
  transition: transform var(--transition-medium),
              border-color var(--transition-fast),
              background var(--transition-fast),
              box-shadow var(--transition-fast);
  background: var(--glass-bg);
}
.tour-select-card:hover {
  border-color: var(--teal-bright);
  transform: translateY(-3px);
}
.tour-select-card.selected {
  border-color: var(--teal-bright);
  background: rgba(77, 200, 210, 0.09);
  box-shadow: 0 0 0 2px var(--teal-bright), 0 0 20px rgba(77, 200, 210, 0.18);
  transform: translateY(-2px);
}
.tour-select-photo {
  height: 220px;
  overflow: hidden;
  position: relative;
  /* Same reason as the homepage cards: contain the photo's clip here so the
     card's rounded corners don't have to re-mask it while the card moves. */
  contain: paint;
}
.tour-select-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo gallery arrows + dots (only rendered when a tour has 2+ photos) */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(4,14,31,0.55);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.gallery-arrow:hover { background: rgba(4,14,31,0.85); }
.gallery-arrow-prev { left: 8px; }
.gallery-arrow-next { right: 8px; }
.gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.gallery-dot.active { background: white; }
.tour-select-body { padding: 12px 14px 10px; }

/* --- Tour detail accordion panel --- */
.tour-detail-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.2s ease;
  border-top: 1px solid transparent;
}
.tour-detail-panel.open {
  grid-template-rows: 1fr;
  border-top-color: rgba(255,255,255,0.08);
}
.tour-detail-inner {
  overflow: hidden;
  padding: 0 14px;
  transition: padding 0.38s ease;
}
.tour-detail-panel.open .tour-detail-inner {
  padding: 13px 14px 16px;
}
.tour-detail-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--white-60);
  margin: 0 0 12px;
}
.tour-detail-includes { margin-bottom: 14px; }
.detail-section-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 7px;
}
.detail-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.detail-includes-list li {
  font-size: 11.5px;
  color: var(--white-80);
  display: flex;
  align-items: center;
  gap: 7px;
}
.detail-includes-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex-shrink: 0;
}
.tour-detail-footer {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tour-detail-book-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  padding: 12px 24px;
}
.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  padding: 4px 9px;
  font-size: 10.5px;
  color: var(--white-60);
  font-family: var(--font-label);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.tour-select-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.tour-select-price {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-bright);
}
.tour-select-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-bright);
  display: none;
  align-items: center;
  justify-content: center;
}
.tour-select-card.selected .tour-select-check { display: flex; }

/* Date and pax */
.date-pax-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 16px;
  margin-bottom: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-60);
}
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(77, 200, 210, 0.12);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--white-40, rgba(255,255,255,0.35)); }
.form-input::-webkit-calendar-picker-indicator { filter: invert(1) opacity(0.5); }
.form-select { background-image: none; }
.form-textarea { min-height: 90px; resize: vertical; }
.form-error {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  color: #f87171;
  letter-spacing: 0.04em;
}

/* Pax counter */
.pax-counter {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 48px;
}
.pax-btn {
  width: 48px;
  height: 100%;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 20px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}
.pax-btn:hover { background: var(--teal-glow); color: var(--teal-bright); }
.pax-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pax-value {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

/* Step 2 - Personal info */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.info-grid .form-group.full { grid-column: 1 / -1; }
.phone-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }

/* Step 3 - Payment */
.payment-type-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.payment-type-card {
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-spring);
  background: var(--glass-bg);
  text-align: left;
}
.payment-type-card:hover { border-color: var(--teal-bright); transform: translateY(-2px); }
.payment-type-card.selected {
  border-color: var(--teal-bright);
  background: rgba(77, 200, 210, 0.06);
}
.payment-type-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.payment-type-amount {
  font-family: var(--font-label);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.payment-type-note {
  font-size: 12px;
  color: var(--white-60);
  line-height: 1.4;
}

.payment-method-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
}
.pm-tab {
  flex: 1;
  padding: 11px 16px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-60);
  background: transparent;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  border: none;
  border-right: 1.5px solid var(--glass-border);
}
.pm-tab:last-child { border-right: none; }
.pm-tab.active {
  background: rgba(77, 200, 210, 0.12);
  color: var(--teal-bright);
}
.pm-panel { display: none; }
.pm-panel.active { display: block; }
#paypal-container { min-height: 44px; }

/* Order summary sidebar */
.order-summary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
}
.order-summary-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.order-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--white-60);
  margin-bottom: 10px;
}
.order-row span:last-child { color: var(--white-80); text-align: right; font-weight: 600; }
.order-divider { border: none; border-top: 1px solid var(--glass-border); margin: 16px 0; }
.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.order-total-label {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.order-total-amount {
  font-family: var(--font-label);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-bright);
}
.order-includes {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}
.order-includes-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-40, rgba(255,255,255,0.4));
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}
.order-includes-toggle:hover { color: var(--white-60); }
.order-includes-toggle .includes-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.order-includes-toggle.open .includes-chevron {
  transform: rotate(180deg);
}
.includes-body {
  margin-top: 8px;
}
.pax-extrapax-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--gold-bright, #F0C040);
  line-height: 1.5;
  padding: 6px 10px;
  background: rgba(240, 192, 64, 0.07);
  border-left: 2px solid var(--gold-bright, #F0C040);
  border-radius: 0 4px 4px 0;
}

/* On mobile, the full order summary is shown in-flow (see responsive section
   at the bottom of this file). It sits between the tour grid and the
   date/people controls so the customer sees the live total before continuing. */
.order-include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white-60);
  margin-bottom: 6px;
}
.order-include-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex-shrink: 0;
}

/* Step nav buttons */
.step-nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white-60);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-back:hover { border-color: var(--white-40, rgba(255,255,255,0.4)); color: var(--white); }
.btn-next-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-bright);
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  border: none;
}
.btn-next-step:hover { background: var(--teal); transform: translateY(-2px); }
.btn-next-step:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.loading .spinner { display: inline-block; }
.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-page {
  min-height: 100vh;
  background: var(--navy-deeper);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 60px;
}
.success-icon {
  margin-bottom: 28px;
}
.check-circle {
  width: 80px;
  height: 80px;
}
.check-bg {
  fill: none;
  stroke: rgba(77, 200, 210, 0.15);
  stroke-width: 4;
}
.check-ring {
  fill: none;
  stroke: var(--teal-bright);
  stroke-width: 4;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  animation: drawRing 0.7s ease 0.2s forwards;
  transform-origin: center;
  transform: rotate(-90deg);
}
.check-mark {
  fill: none;
  stroke: var(--teal-bright);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck 0.4s ease 0.9s forwards;
}
@keyframes drawRing  { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.success-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.success-ref {
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-bright);
  text-align: center;
  background: rgba(77, 200, 210, 0.08);
  border: 1px solid rgba(77, 200, 210, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

/* Ticket element */
#ticket-el {
  width: 800px;
  max-width: 100%;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--gold-bright);
  margin-bottom: 32px;
  font-family: var(--font-label);
}
.ticket-header {
  background: var(--navy-dark);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}
.ticket-brand .logo-main { font-size: 16px; }
.ticket-brand .logo-sub  { font-size: 13px; }
.ticket-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-align: right;
}
.ticket-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-bright);
  border: 1px solid rgba(77, 200, 210, 0.3);
  /* Explicit line-height + symmetric padding instead of inheriting body's 1.7:
     html2canvas puts the baseline at the bottom of an oversized line box, so
     the label sat low inside the pill on the ticket image sent to Telegram.
     The extra padding-left offsets the trailing letter-spacing gap. */
  line-height: 1;
  padding: 7px 10px 7px 11px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
  display: inline-block;
}
.ticket-divider {
  border: none;
  border-top: 1px dashed var(--glass-border);
  margin: 0;
}
.ticket-body { padding: 24px 28px; }
/* Flex + wrap instead of fixed columns: the ticket is captured as an image at
   whatever width the guest's browser has, so a 3-column grid left orphan
   fields with dead space next to them on phones. Here a field that doesn't
   fit drops to its own full-width row and reads as intentional. */
.ticket-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  align-items: start;
}
.ticket-row > div {
  flex: 1 1 110px;
  min-width: 0;
}
.ticket-row > div.ticket-field-full { flex-basis: 100%; }
.ticket-field-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-40, rgba(255,255,255,0.4));
  margin-bottom: 4px;
}
.ticket-field-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ticket-field-value.highlight { color: var(--teal-bright); }
.ticket-field-value.gold      { color: var(--gold-bright); }
.ticket-footer {
  background: var(--navy-dark);
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
}
.ticket-footer-note {
  font-size: 11px;
  color: var(--white-40, rgba(255,255,255,0.4));
  letter-spacing: 0.04em;
}
.ticket-ref {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}

/* Success action buttons */
.success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.btn-success-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1.5px solid;
}
.btn-download {
  background: var(--gold-bright);
  color: var(--navy-dark);
  border-color: var(--gold-bright);
}
.btn-download:hover { background: var(--gold); border-color: var(--gold); }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; }
.btn-email {
  background: transparent;
  color: var(--teal-bright);
  border-color: var(--teal-bright);
}
.btn-email:hover { background: var(--teal-glow); }
.btn-more-tours {
  background: transparent;
  color: var(--white-60);
  border-color: var(--glass-border);
}
.btn-more-tours:hover { border-color: var(--white-40, rgba(255,255,255,0.4)); color: var(--white); }

/* ============================================================
   RESPONSIVE — Booking
   ============================================================ */
@media (max-width: 1024px) {
  .booking-layout { grid-template-columns: 1fr; }
  /* Single column here, so the sidebar would otherwise land AFTER the panel's
     Continue button. Pull it above the panel: the customer always sees the
     booking total before the button, and the button stays last on the page. */
  .booking-sidebar { position: static; order: -1; }
  .order-summary {
    display: block;
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .tour-select-grid { grid-template-columns: 1fr; }
  .date-pax-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .form-group.full { grid-column: auto; }
  .payment-type-cards { grid-template-columns: 1fr; }
  .step-panel { padding: 20px; }

  #ticket-el { width: 100%; }
  .ticket-body { padding: 20px 20px; }
  /* Side-by-side logo + title breaks apart here: a long tour name (the Spanish
     ones especially) wraps and its last word hangs alone on the right. */
  .ticket-header { flex-direction: column; gap: 12px; text-align: center; }
  .ticket-title  { text-align: center; }

  .progress-bar { gap: 8px; padding: 12px 16px; }
  .step-label { display: none; }
  /* Labels are hidden here, so the step is just the circle — drop the
     offset that keeps the line centered on the circle on desktop. */
  .progress-connector { margin-bottom: 0; min-width: 24px; }
}

@media (max-width: 480px) {
  .success-actions { flex-direction: column; align-items: stretch; }
  .btn-success-action { justify-content: center; }
  .ticket-footer { flex-direction: column; gap: 8px; text-align: center; }
}

.tour-select-discount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}
.tour-select-price-original {
  font-size: 12px;
  font-weight: 400;
  color: var(--white-60, rgba(255,255,255,0.6));
  text-decoration: line-through;
  margin-right: 4px;
}
.discount-code-block {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}
.discount-code-block input {
  flex: 1;
  min-width: 0;
}
.discount-code-msg {
  font-size: 12px;
  min-height: 16px;
  margin-bottom: 4px;
}
.discount-code-msg.success { color: var(--teal-bright, #4DC8D2); }
.discount-code-msg.error   { color: #e05252; }
