/* ═══════════════════════════════════════════════════════════════
   JLR Dev — Starter CSS
   ▸ Set the :root variables below for each client.
   ▸ Do not hardcode colours anywhere else — always use var(--*).
   ▸ Component snippets use the same variable names automatically.
═══════════════════════════════════════════════════════════════ */

/* ── BRAND VARIABLES — East London Guild Theatre ── */
:root {
  /* Theatre Orange + Stage Black — from official logo */
  --primary:      #D4751A;
  --primary-dark: #A85A0F;
  --accent:       #E8A050;
  --dark:         #0A0806;
  --text:         #2C2010;
  --muted:        #6B5D4E;
  --border:       #E8DDD0;
  --bg:           #F5EDE0;
  --white:        #ffffff;

  /* Typography — theatrical & bold */
  --font-head:    'Cinzel', 'Playfair Display', 'Georgia', serif;
  --font-body:    'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script:  'Playfair Display', 'Georgia', serif;

  /* Layout */
  --radius:       10px;
  --radius-sm:    6px;
  --shadow:       0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.12);
  --max-w:        1200px;
  --section-v:    80px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 16px; }
.section-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 0;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 18px 0;
}
.text-center { text-align: center; }
.text-center .divider,
.text-center .section-intro { margin-left: auto; margin-right: auto; }
.text-muted { color: var(--muted); }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.section {
  padding: var(--section-v) 0;
}
.section-alt { background: var(--white); }
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 14px 48px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s;
}
.nav.scrolled .nav-logo { color: var(--dark); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.nav.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s;
}
.nav.scrolled .nav-burger span { background: var(--dark); }
.nav-mobile {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 100vw);
  height: 100%;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 80px 40px 40px;
  gap: 8px;
  box-shadow: -4px 0 40px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-mobile.open { right: 0; }
.nav-mobile a {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 190;
}
.nav-overlay.open { display: block; }
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(212,175,55,0.18) 0%, transparent 50%),
    linear-gradient(135deg, #2A0F1C 0%, #4A1426 45%, #6B1530 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.6s ease, opacity 0.8s ease;
  opacity: 0;
}
.hero-bg.loaded { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 48px 80px;
  max-width: 780px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 48px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
@media (max-width: 768px) {
  .hero-content { padding: 100px 20px 60px; }
  .hero-scroll { left: 20px; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--bg); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 36px; margin-bottom: 16px; }
.card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.card-body { font-size: 14px; color: var(--muted); line-height: 1.65; }
.card-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: color-mix(in srgb, var(--primary) 10%, var(--white));
  color: var(--primary);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 16px;
}
.footer-about { font-size: 13px; line-height: 1.7; opacity: 0.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-nav-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; opacity: 0.7; transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 1; color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.5;
}
.footer-bottom a { color: inherit; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── SCROLL REVEAL ── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.modal-icon { font-size: 40px; margin-bottom: 16px; }
.modal h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.modal-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  font-size: 16px; /* prevents iOS zoom */
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-error { color: #dc2626; font-size: 13px; margin-top: 8px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: color-mix(in srgb, var(--primary) 6%, var(--white));
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--white));
}
.form-success.show { display: block; }
.form-success-icon { font-size: 40px; margin-bottom: 12px; }

/* ── PAGE HERO (non-index pages) ── */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.35));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 48px 60px;
}
.page-hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}
@media (max-width: 768px) {
  .page-hero-content { padding: 100px 20px 48px; }
}

/* ── SHOW CARDS ── */
.show-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.show-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.show-card-poster {
  height: 210px;
  background: linear-gradient(135deg, var(--dark) 0%, #6B2F06 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
}
.show-card-poster .show-emoji { font-size: 56px; opacity: 0.85; }
.show-card-category {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.show-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.show-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.show-card-date { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.show-card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.show-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.show-card-price { font-size: 13px; color: var(--muted); }
.show-card-price strong { color: var(--dark); font-size: 16px; }
.show-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.show-status.on-sale { background: #dcfce7; color: #16a34a; }
.show-status.sold-out { background: #f3f4f6; color: #6b7280; }

/* ── BOOKING FLOW ── */
.booking-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: flex-start; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.ticket-row:last-child { border-bottom: none; }
.ticket-info-name { font-weight: 700; color: var(--dark); margin-bottom: 2px; font-size: 15px; }
.ticket-info-desc { font-size: 13px; color: var(--muted); }
.ticket-price { font-weight: 800; color: var(--primary); font-size: 17px; min-width: 80px; text-align: center; }
.qty-stepper { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1;
  user-select: none;
}
.qty-btn:hover { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--white)); }
.qty-value { min-width: 28px; text-align: center; font-weight: 700; font-size: 16px; }

.booking-summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.booking-summary h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 20px; color: var(--dark); font-weight: 700; }
.booking-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  padding: 7px 0;
}
.booking-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1.5px solid var(--border);
  font-weight: 800;
  color: var(--dark);
}
.booking-summary-total .amount { font-size: 26px; color: var(--primary); }
.performance-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 14px;
  color: var(--text);
}
.performance-option:hover { border-color: var(--primary); }
.performance-option.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, var(--white)); }
.performance-option input[type="radio"] { accent-color: var(--primary); width: 17px; height: 17px; cursor: pointer; }

.booking-show-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #6B2F06 100%);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
  color: var(--white);
}
.booking-show-emoji { font-size: 72px; flex-shrink: 0; }
.booking-show-meta .show-category-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.booking-show-meta h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 8px; }
.booking-show-meta p { color: rgba(255,255,255,0.7); font-size: 14px; }

.section-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}
.section-card h2 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 18px; }

/* ── CONFIRMATION ── */
.confirmation-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 56px 40px;
  text-align: center;
}
.confirmation-icon { font-size: 64px; margin-bottom: 20px; }
.confirmation-ref {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  background: color-mix(in srgb, var(--primary) 10%, var(--white));
  color: var(--primary);
  border-radius: 8px;
  padding: 10px 24px;
  margin: 16px 0 24px;
}
.confirmation-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}
.confirmation-detail-row:last-child { border-bottom: none; }
.confirmation-detail-row span:first-child { color: var(--muted); }
.confirmation-detail-row span:last-child { font-weight: 600; color: var(--dark); }

/* ── BUYER MODAL ── */
.buyer-modal-body { display: flex; flex-direction: column; gap: 0; }

/* ── 404 ── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -24px;
}

/* ── BOOKING PROGRESS BAR ── */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  padding: 24px 0 8px;
}
.booking-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s;
  white-space: nowrap;
}
.booking-progress-step.active { color: var(--primary); }
.booking-progress-step.done { color: #16a34a; }
.bp-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.booking-progress-step.active .bp-num {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.booking-progress-step.done .bp-num {
  background: #16a34a;
  border-color: #16a34a;
  color: var(--white);
}
.bp-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
  transition: background 0.4s;
}
.bp-line.done { background: #16a34a; }
@media (max-width: 640px) {
  .booking-progress-step span:not(.bp-num) { display: none; }
  .bp-line { max-width: 40px; margin: 0 6px; }
}

/* ── MOBILE STICKY BOOKING BAR ── */
.mobile-book-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  z-index: 150;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-book-bar.visible {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.mobile-book-bar-info { display: flex; flex-direction: column; gap: 2px; }
.mobile-book-bar-label { font-size: 12px; color: var(--muted); }
.mobile-book-bar-total { font-size: 20px; font-weight: 800; color: var(--primary); }
@media (min-width: 901px) { .mobile-book-bar { display: none; } }

/* ── URGENCY / POPULARITY BADGES ── */
.badge-selling-fast {
  display: inline-block;
  background: #fff3cd;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.badge-limited {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

/* ── CATEGORY FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  background: var(--white);
  transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── TICKET STUB (confirmation) ── */
.ticket-stub {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  margin: 28px 0;
  display: flex;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.ticket-stub::before,
.ticket-stub::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  transform: translateY(-50%);
  z-index: 1;
}
.ticket-stub::before { left: -13px; }
.ticket-stub::after { right: -13px; }
.ticket-stub-main {
  flex: 1;
  padding: 28px 32px;
  border-right: 2px dashed var(--border);
  text-align: left;
}
.ticket-stub-show { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.ticket-stub-detail { font-size: 13px; color: var(--muted); line-height: 1.7; }
.ticket-stub-ref { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--primary); text-transform: uppercase; }
.ticket-stub-qr {
  width: 130px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}
.ticket-stub-qr svg { width: 80px; height: 80px; }
.ticket-stub-qr-label { font-size: 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; text-align: center; }
@media (max-width: 480px) {
  .ticket-stub { flex-direction: column; }
  .ticket-stub::before { display: none; }
  .ticket-stub::after { display: none; }
  .ticket-stub-main { border-right: none; border-bottom: 2px dashed var(--border); }
  .ticket-stub-qr { width: 100%; flex-direction: row; padding: 16px 24px; }
}

/* ── SHARE / ACTION ROW ── */
.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0 32px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: all 0.2s;
  text-decoration: none;
}
.share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.share-btn.whatsapp { border-color: #25D366; color: #25D366; }
.share-btn.whatsapp:hover { background: #25D366; color: var(--white); }
.share-btn.maps { border-color: #4285F4; color: #4285F4; }
.share-btn.maps:hover { background: #4285F4; color: var(--white); }
.share-btn.calendar { border-color: var(--primary); color: var(--primary); }
.share-btn.calendar:hover { background: var(--primary); color: var(--white); }
.share-btn.print-btn { border-color: var(--muted); color: var(--muted); }
.share-btn.print-btn:hover { border-color: var(--dark); color: var(--dark); }

/* ── IN-APP GUIDANCE HINTS ── */
.booking-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--primary) 6%, var(--white));
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--white));
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  transition: opacity 0.3s;
}
.booking-hint span { font-size: 16px; flex-shrink: 0; }

/* ── MODAL MINI STEPS ── */
.booking-steps-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.booking-step-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.booking-step-mini span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.booking-step-mini-arrow { color: var(--border); font-size: 14px; }

/* ── FILTER BAR + VIEW TOGGLES ── */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-bar .filter-tabs { margin-bottom: 0; }
.view-toggles { display: flex; gap: 4px; }
.view-toggle {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.view-toggle:hover { border-color: var(--primary); color: var(--primary); }
.view-toggle.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ── SCHEDULE VIEW ── */
.schedule-view { max-width: 900px; }
.schedule-month-group { margin-bottom: 40px; }
.schedule-month-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 4px;
}
.schedule-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.schedule-row:hover { background: color-mix(in srgb, var(--primary) 4%, var(--bg)); }
.schedule-date-col {
  min-width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.schedule-day-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.schedule-day-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.schedule-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 18px;
  flex-shrink: 0;
}
.schedule-info { flex: 1; min-width: 0; }
.schedule-show-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schedule-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.schedule-cat-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
}
.schedule-time-badge { font-size: 13px; font-weight: 700; color: var(--primary); }
.schedule-urgency {
  font-size: 10px;
  font-weight: 700;
  color: #92400e;
  background: #fff3cd;
  padding: 2px 8px;
  border-radius: 50px;
}
.schedule-actions { flex-shrink: 0; margin-left: 16px; }
@media (max-width: 600px) {
  .schedule-row { flex-wrap: wrap; gap: 10px; padding: 14px 8px; }
  .schedule-divider { display: none; }
  .schedule-date-col { flex-direction: row; gap: 8px; align-items: baseline; min-width: unset; }
  .schedule-day-num { font-size: 1.2rem; }
  .schedule-actions { margin-left: auto; }
  .schedule-show-name { white-space: normal; }
}

/* ── WEBTICKETS BADGE ── */
.show-webtickets-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 12px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.show-webtickets-link:hover { color: var(--primary); border-color: var(--primary); }

/* ── SIDEBAR CALENDAR SECTION ── */
.sidebar-cal-section {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sidebar-cal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.sidebar-cal-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sidebar-cal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
  cursor: pointer;
}
.sidebar-cal-btn:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }
.sidebar-cal-btn.full-width { grid-column: span 2; flex-direction: row; }

/* ── CONFIRMATION CALENDAR OPTIONS ── */
.cal-options {
  background: color-mix(in srgb, var(--primary) 4%, var(--white));
  border: 1px solid color-mix(in srgb, var(--primary) 16%, var(--white));
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 24px;
  text-align: left;
}
.cal-options-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.cal-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cal-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
  cursor: pointer;
}
.cal-option-btn:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); transform: translateY(-1px); }
@media (max-width: 480px) {
  .cal-options-grid { grid-template-columns: 1fr; }
}

/* ── CONFIRMATION MAP EMBED ── */
.confirmation-map {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 24px;
  box-shadow: var(--shadow);
  line-height: 0;
}
.confirmation-map a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  text-decoration: none;
  line-height: 1;
}
.confirmation-map a:hover { background: var(--primary-dark); }

/* ── SOCIAL PROOF ── */
.booking-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 10px;
  font-weight: 500;
}
.booking-social-proof strong { color: #fff; }
.sp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.3);
  flex-shrink: 0;
  animation: sp-pulse 2s infinite;
}
@keyframes sp-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(74,222,128,0.3); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0.1); }
}

/* ── SEATS REMAINING BAR ── */
.seats-remaining-bar {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--primary) 6%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
  border-radius: var(--radius-sm);
}
.srb-text { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.srb-count { font-size: 13px; font-weight: 800; color: var(--primary); }
.srb-count.srb-urgent { color: #dc2626; }
.srb-sub { font-size: 12px; color: var(--muted); }
.srb-track { height: 5px; background: var(--border); border-radius: 99px; overflow: hidden; }
.srb-fill { height: 100%; background: var(--primary); border-radius: 99px; transition: width 0.6s ease; }
.srb-fill.srb-fill-urgent { background: #dc2626; }

/* ── GROUP BOOKING PROMPT ── */
.group-booking-prompt {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-top: 14px;
}
.group-booking-prompt svg { flex-shrink: 0; color: var(--primary); }
.group-booking-prompt a { text-decoration: none; }

/* ── QUICK-FILL BAR ── */
.buyer-quickfill-bar {
  display: none;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--primary) 6%, var(--white));
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.buyer-quickfill-bar svg { flex-shrink: 0; color: var(--primary); }

/* ── WHATSAPP FALLBACK ── */
.buyer-whatsapp-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.buyer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 20px;
  padding: 5px 12px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.buyer-wa-btn:hover { background: #dcfce7; border-color: #86efac; }
