/* ==========================================================================
   Funnel components (paid landing / checkout / ticket configurator).
   Explicit CSS so the conversion path never depends on Tailwind's purge:
   several utility classes used by the new templates are not in the compiled
   app bundle yet, and the funnel must render correctly regardless.
   ========================================================================== */

/* --- LP: sticky mobile CTA bar --- */
.lp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.lp-sticky > div { width: 100%; }
.lp-sticky .lp-total-box { flex: 0 0 auto; min-width: 96px; }
.lp-sticky .lp-cta {
  flex: 1 1 auto;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) {
  .lp-sticky { display: none !important; }
}
@media (max-width: 1023px) {
  .lp-cta-desktop { display: none !important; }
}

/* --- LP: hero photo (intrinsic size fallback: 1200x675) --- */
.lp-hero-img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 1px solid #1f2937;
}
@media (min-width: 640px) { .lp-hero-img { height: 14rem; } }
@media (min-width: 1024px) { .lp-hero-img { height: 16rem; } }

/* --- LP: quick date chips --- */
.lp-date-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.lp-date-chip:hover { border-color: #aa182c; color: #aa182c; }
.lp-date-chip.is-active { background: #aa182c; border-color: #aa182c; color: #fff; }

/* --- LP: desktop buy-box sticks while scrolling the offer --- */
@media (min-width: 1024px) {
  .lp-buybox { position: sticky; top: 1rem; }
}

/* --- LP: FAQ chevron (details/summary) --- */
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item .faq-chevron { transition: transform 0.2s ease; }
details.faq-item[open] .faq-chevron { transform: rotate(180deg); }

/* --- Ticket configurator modal --- */
#ticket-modal .ticket-modal-card { max-height: 90vh; }
#ticket-modal .ticket-modal-cta { max-width: 260px; }

/* --- /tickets quick-booking form --- */
#tb-form { width: 100%; }
@media (min-width: 640px) {
  #tb-form { width: auto; min-width: 560px; }
}
#tb-form .tb-submit { align-self: flex-end; width: 100%; }
