@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@300;400;900&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --fec-blue: #18aeea;
  --fec-blue-dark: #2f4e9c;
  --fec-blue-soft: #e8f7fe;
  --fec-orange: #f5a31a;
  --fec-orange-soft: #fff3df;
  --fec-green: #7ad04f;
  --fec-red: #ff4747;
  --fec-border: #d7e0ea;
  --fec-border-strong: #8ccff0;
  --fec-text: #173257;
  --fec-text-soft: #6a7a90;
  --fec-surface: #ffffff;
  --fec-bg: #f4f7fb;
  --fec-shadow-sm: 0 6px 16px rgba(24, 45, 78, 0.06);
  --fec-shadow-md: 0 14px 28px rgba(24, 45, 78, 0.1);
  --fec-radius-sm: 12px;
  --fec-radius-md: 18px;
  --fec-radius-lg: 22px;
  --fec-transition: 180ms ease;
  --fec-max-main: 500px;

  /* heading system */
  --fec-heading-bar-width: 12px;      /* thicker left orange block */
  --fec-heading-gap-left: 14px;       /* pulls text slightly left */
  --fec-heading-rule-height: 2px;
  --fec-heading-rule-offset-y: 4px;
  --fec-heading-rule-width: 90%;      /* run line across */
  --fec-heading-color: #63c6ea;

  /* tactile control system */
  --fec-toy-fill: #57bbe1;
  --fec-toy-fill-pressed: #4fb4dc;
  --fec-toy-border: #3f58b6;
  --fec-toy-shadow: #4f5ab9;
  --fec-toy-shadow-soft: rgba(79, 90, 185, 0.18);
  --fec-toy-shadow-offset: 6px;
  --fec-toy-press-offset: 3px;
  --fec-toy-pill-border: #86d3f6;
  --fec-toy-dot: #d7ff72;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#tickets-app {
  padding: 10px 10px 178px;
  max-width: 100%;
  overflow-x: clip;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  color: var(--fec-text);
  background: transparent;
}

.date-day {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
}

.app-loading {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
}

.tickets-shell {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
}

#tickets-app.is-rewards-open {
  padding-bottom: 470px;
}

.tickets-layout {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin: 0 auto;
}

.tickets-main {
  width: 100%;
  max-width: var(--fec-max-main);
  min-width: 0;
  margin: 0 auto;
}

.tickets-side {
  display: none;
}

/* Guest rewards stay visible without covering any checkout controls. */
.fec-rewards-tray {
  width: 100%;
  max-width: var(--fec-max-main);
  margin: 14px auto;
  border: 1px solid #9edcf7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 50, 87, .2);
  overflow: hidden;
}

.fec-rewards-tray-trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  gap: 2px 12px;
  padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
  border: 0;
  background: linear-gradient(90deg, #ecfaff, #fff);
  color: var(--fec-text);
  text-align: left;
  cursor: pointer;
}

.fec-rewards-tray-trigger span:not(.fec-rewards-tray-title) {
  grid-column: 1;
  font-size: .72rem;
  font-weight: 700;
  color: var(--fec-text-soft);
}

.fec-rewards-tray-title,
.fec-rewards-tray-trigger b { font-size: .95rem; font-weight: 900; }
.fec-rewards-tray-trigger b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--fec-blue-dark); font-size: 1.25rem; transition: transform var(--fec-transition); }
.fec-rewards-tray.is-open .fec-rewards-tray-trigger b { transform: rotate(180deg); }

.fec-rewards-sheet { display: none; border-top: 1px solid #d9edf8; padding: 14px; background: #fff; }
.fec-rewards-tray.is-open .fec-rewards-sheet { display: block; animation: fadeSlideUp .18s ease both; }
.fec-rewards-sheet-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.fec-rewards-sheet-head strong, .fec-rewards-sheet-head span { display: block; }
.fec-rewards-sheet-head strong { font-size: 1.05rem; color: var(--fec-blue-dark); }
.fec-rewards-sheet-head span { margin-top: 3px; font-size: .76rem; color: var(--fec-text-soft); font-weight: 700; }
.fec-rewards-sheet-head button { width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid #a8ddf7; border-radius: 50%; background: #f5fbff; color: var(--fec-blue-dark); font-size: 1.35rem; line-height: 1; cursor: pointer; }
.fec-reward-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 3); gap: 10px; margin-top: 13px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 3px; }
.fec-reward-tier { min-height: 122px; padding: 11px 9px; border: 1px solid #d7e7f2; border-radius: 12px; background: #f8fcff; scroll-snap-align: start; }
.fec-reward-tier.is-earned { border-color: #81d79a; background: #f1fff5; }
.fec-reward-tier.is-locked { color: #8b99aa; background: #f2f5f8; filter: grayscale(.35); }
.fec-reward-tier strong, .fec-reward-tier span, .fec-reward-tier small { display: block; }
.fec-reward-tier strong { font-size: .77rem; line-height: 1.12; color: inherit; }
.fec-reward-tier span { margin-top: 8px; font-size: .74rem; font-weight: 900; color: var(--fec-blue-dark); }
.fec-reward-tier small { margin-top: 7px; font-size: .64rem; line-height: 1.22; font-weight: 700; }
.fec-rewards-empty { margin: 12px 0 2px; color: var(--fec-text-soft); font-size: .8rem; line-height: 1.35; }
.summary-rewards-card { display: none; }

/* =========================================
   REUSABLE HEADING SYSTEM
========================================= */

/* =========================================
   REUSABLE HEADING SYSTEM
========================================= */

.fec-section-heading {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0;
  padding-left: calc(var(--fec-heading-bar-width) + var(--fec-heading-gap-left));
  padding-bottom: var(--fec-heading-rule-offset-y);
  font-family: "Londrina Solid", system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.15rem;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--fec-heading-color);
}

.fec-section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--fec-heading-bar-width);
  background: var(--fec-orange);
}

.fec-section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--fec-heading-rule-width);
  height: var(--fec-heading-rule-height);
  background: var(--fec-orange);
}

.fec-section-heading--hero {
  font-size: 2.15rem;
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.tickets-section-intro {
  margin: 0 0 8px;
}

.tickets-header {
  padding: 4px 2px 0;
}

.tickets-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
  margin-bottom: 12px;
}

.tickets-brand-logo {
  display: block;
  width: min(48vw, 190px);
  min-width: 0;
  flex: 0 1 auto;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.tickets-brand-wordmark {
  color: var(--fec-blue-dark);
  font-size: 1.18rem;
  font-weight: 900;
}

.tickets-location-pill {
  width: clamp(108px, 32vw, 126px);
  min-width: 0;
  max-width: 46vw;
  flex: 0 1 auto;
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--fec-toy-border);
  color: #fff;
  font-size: clamp(.64rem, 3.7vw, 1rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tickets-header-subtitle {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.15;
  font-style: italic;
  font-weight: 700;
  color: #b7b7b7;
}

.tickets-section-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--fec-text-soft);
  font-weight: 700;
  line-height: 1.15;
}

.tickets-context-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tickets-context-row--top {
  margin-bottom: 14px;
}

.tickets-location {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fec-blue-dark);
  text-transform: capitalize;
  line-height: 1.05;
  margin-bottom: 14px;
}

.date-strip-wrap {
  margin-bottom: 18px;
  padding-top: 2px;
  margin-top: -2px;
}

.date-strip-shell {
  position: relative;
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  overflow-x: visible;
  padding: 6px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.date-strip--static {
  align-items: stretch;
}

.date-strip::-webkit-scrollbar {
  display: none;
}

.date-strip.is-collapsed {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  overflow: visible;
  padding: 6px 0 6px 2px;
}

.date-strip-picker-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.date-card.is-comet {
  animation: none;
}

.date-card {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 2px solid var(--fec-toy-border);
  border-radius: 17px;
  background: var(--fec-toy-fill);
  color: #fff;
  padding: 16px 8px 12px;
  text-align: center;
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 10px 18px var(--fec-toy-shadow-soft);
  cursor: pointer;
  transition:
    transform var(--fec-transition),
    background var(--fec-transition),
    border-color var(--fec-transition),
    box-shadow var(--fec-transition),
    color var(--fec-transition);
}

.date-card:hover {
  transform: translateY(1px);
}

.date-card:active {
  background: var(--fec-toy-border);
  border-color: var(--fec-toy-border);
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.12);
}

.date-card.is-selected {
  background: var(--fec-toy-border);
  border-color: var(--fec-toy-border);
  color: #fff;
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 6px 12px rgba(79, 90, 185, 0.12);
}

.date-card.is-selected:hover {
  background: var(--fec-toy-border);
  border-color: var(--fec-toy-border);
}

.date-card--calendar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.date-calendar-icon {
  position: relative;
  width: 40px;
  height: 38px;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 -2px 0 rgba(32, 55, 111, 0.12);
}

.date-calendar-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 7px;
  height: 5px;
  border-radius: 999px;
  background: var(--fec-toy-border);
  box-shadow:
    -8px -4px 0 -1px var(--fec-toy-border),
    8px -4px 0 -1px var(--fec-toy-border);
}

.date-calendar-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 16px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--fec-toy-border);
  box-shadow:
    7px 0 0 var(--fec-toy-border),
    14px 0 0 var(--fec-toy-border),
    0 6px 0 var(--fec-toy-border),
    7px 6px 0 var(--fec-toy-border),
    14px 6px 0 var(--fec-toy-border);
}

.today-tag {
  position: absolute;
  top: -9px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--fec-orange);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  font-weight: 900;
  z-index: 2;
}

.date-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.date-day {
  margin-top: 3px;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 900;
}

.date-month {
  margin-top: 2px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.date-strip-arrow {
  display: none;
}

.date-strip-arrow::before {
  content: "\203A";
  font-size: 2rem;
}

.calendar-panel-wrap {
  margin-top: 14px;
  animation: fadeSlideUp 220ms ease;
}

.calendar-panel {
  padding: 18px 16px 16px;
  border: 2px solid #bfe4f7;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(245, 163, 26, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:
    0 12px 22px rgba(24, 45, 78, 0.08),
    inset 0 -2px 0 rgba(255, 255, 255, 0.8);
}

.calendar-panel-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.calendar-month-label {
  text-align: center;
  font-family: "Londrina Solid", system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--fec-blue-dark);
}

.calendar-nav-btn,
.calendar-close-btn {
  border: 2px solid var(--fec-toy-border);
  border-radius: 14px;
  background: #fff;
  color: var(--fec-blue-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  cursor: pointer;
}

.calendar-nav-btn {
  width: 46px;
  height: 46px;
  box-shadow:
    4px 4px 0 var(--fec-toy-shadow),
    0 8px 14px rgba(79, 90, 185, 0.1);
  font-size: 1.5rem;
  line-height: 1;
}

.calendar-nav-btn:active,
.calendar-close-btn:active,
.calendar-day:active {
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays {
  margin-bottom: 10px;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fec-blue-dark);
}

.calendar-day {
  min-height: 48px;
  border: 2px solid #d6e9f7;
  border-radius: 14px;
  background: #fff;
  color: var(--fec-blue-dark);
  box-shadow: 0 5px 10px rgba(24, 45, 78, 0.06);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform var(--fec-transition),
    background var(--fec-transition),
    border-color var(--fec-transition),
    box-shadow var(--fec-transition),
    color var(--fec-transition);
}

.calendar-day.is-outside {
  opacity: 0.38;
}

.calendar-day.is-today {
  border-color: var(--fec-orange);
}

.calendar-day.is-selected {
  border-color: var(--fec-toy-border);
  background: var(--fec-toy-border);
  color: #fff;
  box-shadow:
    3px 3px 0 var(--fec-toy-shadow),
    0 8px 14px rgba(79, 90, 185, 0.12);
}

.calendar-day:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  box-shadow: none;
}

.calendar-panel-actions {
  margin-top: 14px;
}

.calendar-close-btn {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  box-shadow:
    4px 4px 0 var(--fec-toy-shadow),
    0 8px 14px rgba(79, 90, 185, 0.1);
  font-size: 0.9rem;
}

.date-info-panel {
  margin-top: 12px;
  border: 1px solid var(--fec-orange);
  border-radius: 0;
  background: #fff;
  display: grid;
  grid-template-columns: 54px 1fr;
  overflow: hidden;
  animation: none;
}

.date-info-icon {
  background: var(--fec-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-info-main {
  padding: 8px 10px 7px;
  text-align: center;
}

.date-info-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.date-info-title,
.date-info-hours {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fec-blue-dark);
  line-height: 1.1;
}

.date-info-line {
  margin-top: 2px;
  font-size: 0.84rem;
  color: var(--fec-blue-dark);
  font-style: italic;
  line-height: 1.15;
}

.date-info-line--strong {
  font-weight: 700;
}

.event-block,
.ticket-products-section {
  margin-top: 12px;
}

.event-hero-card,
.event-card {
  display: block;
  width: 100%;
  border: 0;
  background: var(--fec-surface);
  box-shadow: var(--fec-shadow-md);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition:
    transform var(--fec-transition),
    box-shadow var(--fec-transition),
    outline-color var(--fec-transition);
  outline: 2px solid transparent;
}

.event-hero-card:active,
.event-card:active,
.time-chip:active,
.qty-btn:active,
.mobile-cart-button:active {
  transform: scale(0.99);
}

.event-hero-card.is-selected,
.event-stack-item.is-selected .event-card {
  outline-color: var(--fec-blue);
}

.event-hero-card {
  border-radius: var(--fec-radius-lg);
}

.event-card {
  border-radius: var(--fec-radius-md);
}

.event-hero-media,
.event-card-media {
  background: #dbe6ef;
}

.event-hero-media img,
.event-card-media img,
.event-choice-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.event-hero-body {
  padding: 14px 14px 16px;
  text-align: center;
}

.event-hero-title {
  font-size: 1.2rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--fec-blue-dark);
}

.event-hero-time {
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
}

.event-hero-subtitle {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--fec-text-soft);
  font-style: italic;
}

.event-hero-pill {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--fec-orange-soft);
  color: #a96700;
  font-size: 0.78rem;
  font-weight: 900;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-stack-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card-body {
  padding: 12px 14px 8px;
}

.event-card-title {
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--fec-blue-dark);
}

.event-card-time {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
}

.event-card-subtitle {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--fec-text-soft);
}

.event-card-note {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--fec-orange-soft);
  color: #a96700;
  font-size: 0.75rem;
  font-weight: 900;
}

.event-card-action {
  padding: 0 14px 14px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--fec-blue);
}

.event-choice-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-choice-card {
  width: 100%;
  border: 2px solid #d9eaf3;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--fec-shadow-sm);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.event-choice-body {
  padding: 14px;
  text-align: center;
}

.event-choice-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
  text-transform: uppercase;
  line-height: 1.05;
}

.event-choice-time {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
}

.event-choice-subtitle {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--fec-text-soft);
  font-style: italic;
}

.coming-up-strip {
  margin-top: 4px;
}

.coming-up-label {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 900;
  color: var(--fec-blue-dark);
  margin: 0 0 10px;
}

.coming-up-cards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.coming-up-cards::-webkit-scrollbar {
  display: none;
}

.coming-up-card {
  min-width: 140px;
  max-width: 140px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.coming-up-media img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 14px;
}

.coming-up-title {
  margin-top: 6px;
  font-size: 0.86rem;
  line-height: 1.05;
  font-weight: 800;
  color: var(--fec-blue-dark);
}

.times-panel {
  margin-top: 2px;
  padding: 14px 12px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f9fc 100%);
  border: 1px solid #d9eaf3;
  box-shadow: var(--fec-shadow-sm);
  animation: fadeSlideUp 220ms ease;
}

.times-panel-head {
  margin-bottom: 12px;
}

.times-panel-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
}

.times-panel-copy {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--fec-text-soft);
  font-weight: 700;
}

.times-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.time-chip {
  position: relative;
  min-height: 54px;
  border-radius: 12px;
  border: 2px solid #d4dde7;
  background: #fff;
  color: var(--fec-blue-dark);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--fec-transition),
    border-color var(--fec-transition),
    box-shadow var(--fec-transition),
    background var(--fec-transition);
}

.time-chip.is-clickable:hover,
.time-chip.is-clickable:active {
  border-color: var(--fec-blue);
  background: var(--fec-blue-soft);
}

.time-chip.is-selected {
  border-color: var(--fec-blue);
  background: var(--fec-blue-soft);
  box-shadow: 0 8px 18px rgba(24, 174, 234, 0.14);
}

.time-chip.is-disabled {
  color: #b8b8b8;
  background: #f7f7f7;
  border-color: #dddddd;
  cursor: not-allowed;
}

.time-chip.is-soldout {
  color: var(--fec-red);
  background: #fff;
  border-color: var(--fec-red);
  cursor: not-allowed;
}

.time-chip.is-limited {
  border-color: #ffb36a;
  background: #fffaf4;
}

.time-chip-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.time-chip-label {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
}

.time-chip-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.time-chip-dot.is-green {
  background: var(--fec-green);
}

.time-chip-dot.is-orange {
  background: var(--fec-orange);
}

.time-chip-soldout {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 900;
}

.time-chip-badge {
  position: absolute;
  top: -8px;
  right: -3px;
  padding: 3px 6px;
  border-radius: 7px;
  background: var(--fec-red);
  color: #fff;
  font-size: 0.64rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-products-section {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 3px solid #e6f3fb;
}

.ticket-products-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ticket-product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 18px;
  background: var(--fec-surface);
  border: 2px solid #d9eaf3;
  box-shadow: var(--fec-shadow-sm);
  transition:
    border-color var(--fec-transition),
    box-shadow var(--fec-transition),
    transform var(--fec-transition);
}

.ticket-product-card.is-active {
  border-color: var(--fec-blue);
  box-shadow: 0 10px 24px rgba(24, 174, 234, 0.14);
  transform: scale(1.02);
}

.ticket-product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ticket-product-title {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
  text-transform: uppercase;
  line-height: 1.05;
}

.ticket-product-price {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--fec-text);
}

.ticket-product-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--fec-orange-soft);
  color: #a96700;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-product-desc {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--fec-text-soft);
  font-weight: 700;
}

.ticket-product-controls,
.addon-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.qty-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid var(--fec-blue);
  background: #fff;
  color: var(--fec-blue-dark);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-btn--sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.1rem;
}

.qty-display {
  min-width: 44px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
}

.qty-display--sm {
  min-width: 24px;
  font-size: 1rem;
}

/* =========================================
   GUIDED TICKET TYPE
========================================= */

.ticket-products-section {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 3px solid #e6f3fb;
}

.ticket-choice-system {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 12px;
  border: 1px solid #d9eaf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  box-shadow: 0 12px 24px rgba(24, 45, 78, 0.08);
}

.duration-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.duration-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 68px;
  padding: 12px 8px 10px;
  border: 2px solid var(--fec-toy-border);
  border-radius: 14px;
  background: var(--fec-toy-fill);
  color: #fff;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 10px 18px var(--fec-toy-shadow-soft);
}

.duration-option-label {
  display: block;
}

.duration-option-note {
  display: block;
  color: #7082a0;
  font-size: 0.54rem;
  line-height: 1.25;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.duration-badge {
  position: absolute;
  top: -10px;
  right: -3px;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.58rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 12px rgba(24, 45, 78, 0.14);
}

.duration-badge--orange {
  background: var(--fec-orange);
}

.duration-badge--red {
  background: var(--fec-red);
}

.duration-badge--gray {
  background: #9ca9ba;
}

.duration-option.is-selected {
  color: #fff;
  border-color: var(--fec-toy-border);
  background: var(--fec-toy-border);
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 6px 12px rgba(79, 90, 185, 0.12);
}

.duration-option:hover {
  transform: translateY(1px);
}

.duration-option.is-unavailable,
.duration-option:disabled {
  border-color: #c9d5e5;
  background: linear-gradient(180deg, #f4f7fb 0%, #eaf0f7 100%);
  color: #8b99ad;
  cursor: not-allowed;
  box-shadow:
    2px 2px 0 rgba(165, 178, 196, 0.9),
    0 8px 14px rgba(140, 154, 177, 0.15);
}

.duration-option.is-unavailable:hover,
.duration-option:disabled:hover,
.duration-option.is-unavailable:active,
.duration-option:disabled:active {
  transform: none;
  box-shadow:
    2px 2px 0 rgba(165, 178, 196, 0.9),
    0 8px 14px rgba(140, 154, 177, 0.15);
}

.duration-option.is-unavailable .duration-option-note,
.duration-option:disabled .duration-option-note {
  color: #8190a6;
}

.duration-option:active {
  background: var(--fec-toy-border);
  border-color: var(--fec-toy-border);
  color: #fff;
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.12);
}

.duration-option.is-selected:active {
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
}

.ticket-helper-text {
  margin: -2px 2px 0;
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
}

.ticket-product-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: ticketChoiceReveal 220ms ease both;
}

.ticket-choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 84px;
  padding: 12px 10px;
  border: 2px solid var(--fec-toy-border);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 10px 18px rgba(79, 90, 185, 0.12);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.ticket-choice-card:hover {
  transform: translateY(1px);
}

.ticket-choice-card:active {
  background: var(--fec-toy-border);
  border-color: var(--fec-toy-border);
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.12);
}

.ticket-choice-card.is-selected {
  border-color: var(--fec-toy-border);
  background: var(--fec-toy-border);
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 6px 12px rgba(79, 90, 185, 0.12);
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
}

.ticket-choice-card.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--fec-orange);
}

.ticket-choice-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #9fb8ce;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.ticket-choice-card.is-selected .ticket-choice-radio {
  border-color: #fff;
  background: var(--fec-orange);
}

.ticket-choice-card.is-selected .ticket-choice-name,
.ticket-choice-card.is-selected .ticket-choice-price {
  color: #fff;
}

.ticket-choice-card.is-selected .ticket-choice-desc {
  color: rgba(255, 255, 255, 0.86);
}

.ticket-choice-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.ticket-choice-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ticket-choice-name {
  color: var(--fec-blue-dark);
  font-size: 0.98rem;
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-choice-price {
  flex: 0 0 auto;
  color: var(--fec-text);
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.ticket-choice-desc {
  color: var(--fec-text-soft);
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 700;
}

.ticket-choice-inline-badge {
  align-self: flex-start;
  display: inline-flex;
  margin-top: 1px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--fec-red);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(255, 71, 71, 0.18);
}

.ticket-choice-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--fec-orange);
  box-shadow: 0 6px 12px rgba(245, 163, 26, 0.24);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticket-quantity-placeholder {
  padding: 10px 12px;
  border: 1px dashed #b8d8ea;
  border-radius: 14px;
  background: #fbfdff;
  color: var(--fec-text-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.ticket-kids-quantity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 9px;
  border: 2px solid #b7e5f8;
  border-radius: 16px;
  background: #f0f9ff;
  box-shadow: 0 8px 18px rgba(24, 174, 234, 0.1);
  animation: ticketChoiceReveal 200ms ease both;
}

.ticket-kids-label {
  color: var(--fec-blue-dark);
  font-size: 0.82rem;
  line-height: 1.1;
  font-weight: 900;
}

.ticket-kids-note {
  display: none;
}

.ticket-kids-stepper {
  display: grid;
  grid-template-columns: 38px 70px 38px;
  gap: 6px;
  align-items: center;
}

.ticket-kids-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0 0 2px;
  border: 2px solid var(--fec-blue);
  border-radius: 11px;
  background: #fff;
  color: var(--fec-blue-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.16rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.ticket-kids-btn:active {
  background: var(--fec-blue-soft);
  box-shadow: inset 0 2px 5px rgba(24, 45, 78, 0.12);
  transform: scale(0.96);
}

.ticket-kids-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ticket-kids-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  border: 1px solid #d8eaf4;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--fec-blue-dark);
}

.ticket-faq-link-wrap {
  margin-top: -5px;
  text-align: right;
}

.ticket-faq-link {
  border: 0;
  background: transparent;
  padding: 0 2px;
  color: var(--fec-blue-dark);
  font-size: 0.76rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: underline;
  cursor: pointer;
}

.ticket-faq-link:active {
  color: var(--fec-blue);
}

.flow-step-actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.flow-step-actions--split {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  margin-top: 12px;
}

.flow-primary-btn,
.flow-secondary-btn {
  min-height: 46px;
  border-radius: 14px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.flow-primary-btn {
  border: 2px solid var(--fec-toy-border);
  background: var(--fec-toy-fill);
  color: #fff;
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 10px 18px var(--fec-toy-shadow-soft);
}

.flow-secondary-btn {
  border: 2px solid #d9eaf3;
  background: #fff;
  color: var(--fec-blue-dark);
}

.flow-primary-btn:hover {
  transform: translateY(1px);
}

.flow-primary-btn:active {
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.12);
}

.flow-secondary-btn:active {
  transform: scale(0.98);
}

.ticket-kids-number {
  font-size: 1.08rem;
  line-height: 1;
  font-weight: 900;
}

.ticket-kids-unit {
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
}

@keyframes ticketChoiceReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.addons-section {
  margin-top: 20px;
  opacity: 0.94;
}

.addons-flow-card {
  padding: 12px;
  border: 1px solid #d9eaf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  box-shadow: 0 12px 24px rgba(24, 45, 78, 0.08);
  animation: ticketChoiceReveal 220ms ease both;
}

.addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas:
    "top top top"
    "image desc controls";
  align-items: center;
  column-gap: 10px;
  row-gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 2px solid #d9eaf3;
  background: #f9fbfd;
  box-shadow: var(--fec-shadow-sm);
}

.addon-card.is-active {
  border-color: var(--fec-blue);
}

.addon-icon-wrap {
  grid-area: image;
  min-width: 0;
}

.addon-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #d9eaf3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}

.addon-image {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid #d9eaf3;
  background: #fff;
  object-fit: cover;
}

.addon-main {
  display: contents;
  min-width: 0;
}

.addon-top {
  grid-area: top;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.addon-title {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--fec-blue-dark);
}

.addon-price {
  font-size: 0.85rem;
  color: var(--fec-text-soft);
  font-weight: 800;
  white-space: nowrap;
}

.addon-desc {
  grid-area: desc;
  margin-top: 0;
  font-size: 0.84rem;
  color: var(--fec-text-soft);
  font-weight: 700;
  line-height: 1.28;
}

.addon-controls {
  grid-area: controls;
  display: grid;
  grid-template-columns: 38px 70px 38px;
  gap: 6px;
  align-items: center;
  justify-content: end;
  min-width: 0;
}

.addon-controls .qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0 0 2px;
  border: 2px solid var(--fec-blue);
  border-radius: 11px;
  background: #fff;
  color: var(--fec-blue-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.16rem;
  line-height: 1;
  font-weight: 900;
}

.addon-controls .qty-btn:active {
  background: var(--fec-blue-soft);
  box-shadow: inset 0 2px 5px rgba(24, 45, 78, 0.12);
  transform: scale(0.96);
}

.addon-controls .qty-display {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  border: 1px solid #d8eaf4;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--fec-blue-dark);
  font-size: 1.08rem;
  line-height: 1;
  font-weight: 900;
}

/* =========================================
   SMS LOOKUP
========================================= */

.sms-section,
.member-section {
  margin-top: 22px;
}

.sms-panel,
.member-panel {
  padding: 12px;
  border: 1px solid #d9eaf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  box-shadow: 0 12px 24px rgba(24, 45, 78, 0.08);
}

.sms-card,
.member-status-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 13px;
  border: 2px solid #d9eaf3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(24, 45, 78, 0.05);
}

.sms-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sms-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sms-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--fec-blue-soft);
  color: var(--fec-blue-dark);
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 900;
  flex: 0 0 auto;
}

.sms-title {
  color: var(--fec-blue-dark);
  font-size: 1.08rem;
  line-height: 1.1;
  font-weight: 900;
}

.sms-text {
  margin: 5px 0 0;
  color: var(--fec-text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.sms-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sms-field--split {
  gap: 8px;
}

.sms-field span {
  color: var(--fec-blue-dark);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 900;
}

.sms-field input {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--fec-blue);
  border-radius: 14px;
  background: #fff;
  color: var(--fec-text);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  padding: 10px 12px;
}

.sms-field input:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(24, 174, 234, 0.12);
}

.sms-status {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 800;
}

.sms-status--info {
  border: 1px solid #cde8fb;
  background: #f5fbff;
  color: var(--fec-blue-dark);
}

.sms-status--error {
  border: 1px solid #f8c8c8;
  background: #fff3f3;
  color: #9e2342;
}

.sms-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sms-primary-btn {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--fec-toy-border);
  border-radius: 14px;
  background: var(--fec-toy-fill);
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 10px 18px var(--fec-toy-shadow-soft);
  color: #fff;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.sms-primary-btn:hover {
  transform: translateY(1px);
}

.sms-primary-btn:disabled,
.sms-secondary-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.sms-primary-btn:active {
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.12);
}

.sms-secondary-btn {
  width: 100%;
  min-height: 46px;
  border: 2px solid #cde0f4;
  border-radius: 14px;
  background: #fff;
  color: var(--fec-blue-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.sms-secondary-btn:hover {
  transform: translateY(1px);
  box-shadow: 0 8px 16px rgba(24, 45, 78, 0.08);
}

.sms-secondary-btn:active {
  transform: translateY(2px);
}

.sms-note {
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.2;
  font-style: italic;
  font-weight: 800;
  text-align: center;
}

.member-status-card {
  border-color: #bfe8d2;
  background: linear-gradient(180deg, #ffffff 0%, #f3fff8 100%);
}

.waiver-verified-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid #d9eaf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
  box-shadow: 0 5px 14px rgba(24, 45, 78, 0.05);
}

.waiver-verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #18aeea 0%, #0ea0dc 100%);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(24, 174, 234, 0.18);
  flex: 0 0 auto;
}

.waiver-verified-copy {
  min-width: 0;
}

.waiver-welcome--celebrated .waiver-welcome-copy {
  min-width: 0;
}

.fec-confetti-burst {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  overflow: hidden;
  z-index: 30;
}

.fec-confetti-piece {
  position: absolute;
  top: 0;
  width: 10px;
  height: 18px;
  border-radius: 3px;
  opacity: 0.95;
  animation-name: fecConfettiFall;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.fec-confetti-burst.is-fading {
  opacity: 0;
  transition: opacity 260ms ease;
}

@keyframes fecConfettiFall {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translate3d(0, 185px, 0) rotate(540deg);
    opacity: 0;
  }
}

/* =========================================
   CHECKOUT
========================================= */

.checkout-section {
  margin-top: 22px;
}

.checkout-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d9eaf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  box-shadow: 0 12px 24px rgba(24, 45, 78, 0.08);
}

.checkout-card {
  padding: 13px;
  border: 2px solid #d9eaf3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(24, 45, 78, 0.05);
}

.checkout-summary-stack {
  perspective: 900px;
}

.checkout-summary {
  transform-origin: center;
  backface-visibility: hidden;
}

.checkout-summary.is-flip-forward {
  animation: checkoutSummaryFlipForward 360ms ease both;
}

.checkout-summary.is-flip-back {
  animation: checkoutSummaryFlipBack 360ms ease both;
}

.bounceback-remove-link {
  display: block;
  margin: 7px 4px 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fec-blue-dark);
  font: inherit;
  font-size: 0.72rem;
  line-height: 1.1;
  font-style: italic;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.checkout-card-head,
.bounceback-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.checkout-card-head--compact {
  margin-bottom: 10px;
}

.checkout-eyebrow {
  color: var(--fec-text-soft);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-title {
  margin-top: 4px;
  color: var(--fec-blue-dark);
  font-size: 1rem;
  line-height: 1.12;
  font-weight: 900;
}

.checkout-muted {
  margin-top: 5px;
  color: var(--fec-text-soft);
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 700;
}

.checkout-total {
  color: var(--fec-blue-dark);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.checkout-summary-grid div {
  padding: 9px;
  border-radius: 12px;
  background: var(--fec-blue-soft);
}

.checkout-summary-grid span,
.checkout-line span {
  display: block;
  color: var(--fec-text-soft);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
}

.checkout-summary-grid strong,
.checkout-line strong {
  display: block;
  margin-top: 3px;
  color: var(--fec-blue-dark);
  font-size: 0.84rem;
  line-height: 1.2;
  font-weight: 900;
}

.checkout-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid #e5edf3;
}

.checkout-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.checkout-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #e5edf3;
}

.checkout-summary-total span {
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-summary-total strong {
  color: var(--fec-blue-dark);
  font-size: 1.08rem;
  line-height: 1;
  font-weight: 900;
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.checkout-field:nth-child(3) {
  grid-column: 1 / -1;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.checkout-field span {
  color: var(--fec-blue-dark);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
}

.checkout-field input,
.checkout-coupon-row input,
.card-fields input {
  width: 100%;
  min-height: 42px;
  border: 2px solid #d9eaf3;
  border-radius: 12px;
  background: #fff;
  color: var(--fec-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 10px;
}

.checkout-field input[readonly] {
  color: var(--fec-blue-dark);
  background: #f4f9fc;
}

.checkout-field input:focus,
.checkout-coupon-row input:focus,
.card-fields input:focus {
  border-color: var(--fec-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(24, 174, 234, 0.1);
}

.checkout-customer-summary {
  margin-top: 12px;
  padding: 11px 0 0;
  border-top: 1px solid #d9eaf3;
}

.checkout-customer-at-a-glance {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 7px;
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 800;
}

.checkout-customer-at-a-glance span + span::before {
  content: "•";
  margin-right: 14px;
  color: var(--fec-blue);
}

.checkout-waiver-details {
  margin-top: 9px;
  border-top: 1px solid #e5edf3;
}

.checkout-waiver-details summary {
  padding: 9px 0 1px;
  color: var(--fec-blue-dark);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 900;
  cursor: pointer;
}

.checkout-waiver-details[open] summary {
  padding-bottom: 8px;
}

.checkout-waiver-summary {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d9eaf3;
}

.checkout-waiver-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-waiver-summary-head span {
  color: var(--fec-text-soft);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-waiver-summary-head strong {
  color: var(--fec-blue-dark);
  font-size: 0.84rem;
  line-height: 1.15;
  font-weight: 900;
}

.checkout-waiver-child-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 7px;
}

.checkout-waiver-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e5edf3;
}

.checkout-waiver-child strong {
  color: var(--fec-blue-dark);
  font-size: 0.82rem;
  line-height: 1.15;
  font-weight: 900;
}

.checkout-waiver-child span {
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 800;
  text-align: right;
}

.checkout-waiver-child--editing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.checkout-waiver-empty {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed #c4dfef;
  background: #fbfdff;
  color: var(--fec-text-soft);
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 800;
  text-align: center;
}

.checkout-customer-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.checkout-customer-summary-head span {
  display: block;
  color: var(--fec-text-soft);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-customer-summary-head strong {
  display: block;
  margin-top: 4px;
  color: var(--fec-blue-dark);
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 900;
}

.checkout-inline-edit-btn,
.waiver-fulltext-btn,
.waiver-modal-close {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px solid #b7dff4;
  background: #fff;
  color: var(--fec-blue-dark);
  font: inherit;
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.checkout-customer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 2px;
}

.checkout-customer-pills span {
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 800;
}

.checkout-customer-pills span + span::before {
  content: "•";
  margin-right: 14px;
  color: var(--fec-blue);
}

.checkout-customer-pills--waiver {
  margin-top: 8px;
}

.checkout-customer-pills--waiver span {
  background: #f5fbff;
}

.sms-auto-submit-copy {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5fbff;
  border: 1px solid #d9eaf3;
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.3;
  font-weight: 800;
  text-align: center;
}

.sms-auto-submit-copy.is-checking {
  color: var(--fec-blue-dark);
}

.checkout-waiver-edit-tools {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px solid #d9eaf3;
}

.checkout-waiver-edit-note {
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 800;
}

.checkout-waiver-edit-warning {
  margin-top: 6px;
  color: #c55252;
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 900;
}

.checkout-waiver-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.checkout-waiver-add-child {
  margin-top: 12px;
}

.checkout-inline-edit-btn--secondary {
  background: #fff;
}

.checkout-inline-edit-btn--danger {
  color: #c55252;
  border-color: #efc7c7;
}

.checkout-field-grid--inline {
  margin-top: 12px;
}

.checkout-disclosure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--fec-blue-dark);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.checkout-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.checkout-coupon-row button,
.bounceback-btn,
.wallet-pay-btn,
.card-pay-btn {
  border: 0;
  border-radius: 12px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  cursor: pointer;
}

.checkout-coupon-row button {
  padding: 0 12px;
  background: var(--fec-blue);
  color: #fff;
}

.checkout-mini-message {
  margin-top: 8px;
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.bounceback-card {
  border-color: #ffcf8a;
  background: linear-gradient(180deg, #ffffff 0%, #fff8ed 100%);
}

.bounceback-card.is-applied {
  border-color: #bfe8d2;
  background: linear-gradient(180deg, #ffffff 0%, #f3fff8 100%);
}

.bounceback-save {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--fec-orange);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.bounceback-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-top: 10px;
  color: var(--fec-blue-dark);
  font-size: 0.76rem;
  line-height: 1.22;
  font-weight: 800;
}

.bounceback-details span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bounceback-details span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--fec-orange);
  flex: 0 0 auto;
}

.bounceback-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  background: var(--fec-orange);
  color: #fff;
  font-size: 0.86rem;
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 #d97b00,
    0 10px 16px rgba(217, 123, 0, 0.18);
}

.checkout-payment {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.wallet-pay-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  background: #111827;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.18);
}

.wallet-pay-btn small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fec-text-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-divider::before,
.checkout-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5edf3;
}

.card-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checkout-opt-in {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 700;
}

.checkout-opt-in input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--fec-blue);
}

.card-pay-btn {
  min-height: 48px;
  background: var(--fec-toy-fill);
  color: #fff;
  font-size: 0.95rem;
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 10px 16px rgba(79, 90, 185, 0.18);
}

.bounceback-btn,
.card-pay-btn {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.bounceback-btn:hover,
.card-pay-btn:hover {
  transform: translateY(1px);
}

.bounceback-btn:active,
.card-pay-btn:active {
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
}

.bounceback-btn:active {
  box-shadow:
    2px 2px 0 #d97b00,
    0 4px 10px rgba(217, 123, 0, 0.14);
}

.card-pay-btn:active {
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.14);
}

@keyframes checkoutSummaryFlipForward {
  0% {
    transform: rotateY(0deg) scale(1);
    opacity: 0.94;
  }
  48% {
    transform: rotateY(88deg) scale(0.985);
    opacity: 0.72;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes checkoutSummaryFlipBack {
  0% {
    transform: rotateY(0deg) scale(1);
    opacity: 0.94;
  }
  48% {
    transform: rotateY(-88deg) scale(0.985);
    opacity: 0.72;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

/* =========================================
   WAIVER STEP
========================================= */

.waiver-section {
  margin-top: 22px;
}

.waiver-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d9eaf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  box-shadow: 0 12px 24px rgba(24, 45, 78, 0.08);
}

.waiver-welcome,
.waiver-compact-card,
.waiver-status-card,
.waiver-step-card,
.waiver-sign-card {
  border: 2px solid #d9eaf3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(24, 45, 78, 0.05);
}

.waiver-welcome,
.waiver-compact-card,
.waiver-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.waiver-compact-card--family {
  align-items: flex-start;
}

.waiver-returning-family {
  flex: 1 1 auto;
  min-width: 0;
}

.waiver-card-label--family-kids {
  margin-top: 14px;
}

.waiver-returning-family .waiver-child-list {
  margin-top: 8px;
}

.waiver-compact-card__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

@media (max-width: 560px) {
  .waiver-compact-card__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.waiver-step-card,
.waiver-sign-card {
  padding: 12px;
}

.waiver-eyebrow,
.waiver-card-label {
  color: var(--fec-text-soft);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.waiver-title {
  margin-top: 3px;
  color: var(--fec-blue-dark);
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 900;
}

.waiver-parent-line {
  margin-top: 4px;
  color: var(--fec-blue-dark);
  font-size: 0.95rem;
  line-height: 1.15;
  font-weight: 900;
}

.waiver-muted {
  display: block;
  margin-top: 3px;
  color: var(--fec-text-soft);
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 700;
}

.waiver-text-btn,
.waiver-edit-btn,
.waiver-add-btn,
.signature-clear-btn {
  border: 0;
  background: transparent;
  color: var(--fec-blue-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}

.waiver-edit-btn,
.waiver-add-btn {
  padding: 9px 10px;
  border: 2px solid var(--fec-blue);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
}

.waiver-add-btn--full {
  width: 100%;
  display: block;
  text-align: center;
}

.waiver-add-btn--solid {
  align-self: end;
  color: #fff;
  background: var(--fec-blue);
}

.waiver-child-save-btn {
  grid-column: 1 / -1;
  margin-top: 0;
}

.waiver-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.waiver-household-actions {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.waiver-household-limit {
  text-align: center;
}

.waiver-child-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.waiver-child-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 2px solid #d9eaf3;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--fec-transition),
    background var(--fec-transition),
    box-shadow var(--fec-transition);
}

.waiver-child-card.is-selected {
  border-color: var(--fec-blue);
  background: var(--fec-blue-soft);
  box-shadow: 0 8px 18px rgba(24, 174, 234, 0.1);
}

.waiver-child-check {
  width: 18px;
  height: 18px;
  border: 2px solid #9fb8ce;
  border-radius: 999px;
  background: #fff;
}

.waiver-child-card.is-selected .waiver-child-check {
  border-color: var(--fec-blue);
  background:
    radial-gradient(circle at center, var(--fec-blue) 0 42%, transparent 45%),
    #fff;
}

.waiver-child-name {
  display: block;
  color: var(--fec-blue-dark);
  font-size: 0.94rem;
  line-height: 1.1;
  font-weight: 900;
}

.waiver-empty {
  padding: 12px;
  border: 1px dashed #b8d8ea;
  border-radius: 14px;
  background: #fbfdff;
  color: var(--fec-text-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.waiver-field-grid,
.waiver-add-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.waiver-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.waiver-field span {
  color: var(--fec-blue-dark);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
}

.waiver-field input {
  width: 100%;
  min-height: 42px;
  border: 2px solid #d9eaf3;
  border-radius: 12px;
  background: #fff;
  color: var(--fec-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 10px;
}

.waiver-field input:focus {
  border-color: var(--fec-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(24, 174, 234, 0.1);
}

.waiver-field--dob {
  grid-column: 1 / -1;
  max-width: none;
}

.digit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
}

.digit-row--sms {
  justify-content: space-between;
}

.digit-row--dob {
  justify-content: flex-start;
}

.digit-box {
  width: 42px;
  min-width: 42px;
  height: 48px;
  border: 2px solid #d9eaf3;
  border-radius: 12px;
  background: #fff;
  color: var(--fec-blue-dark);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  padding: 0;
}

.digit-box:focus {
  border-color: var(--fec-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(24, 174, 234, 0.1);
}

.digit-row--sms .digit-box {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.digit-box--dob {
  width: calc((100% - 28px) / 6);
  min-width: 0;
  flex: 1 1 0;
}

.digit-separator {
  color: var(--fec-blue-dark);
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
}

.waiver-field-help {
  color: var(--fec-text-soft);
  font-size: 0.68rem;
  line-height: 1.25;
  font-weight: 700;
}

.waiver-coverage-note {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px dashed #b6ddf2;
  border-radius: 12px;
  background: #f4fbff;
  color: var(--fec-blue-dark);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 800;
}

.waiver-step-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.waiver-step-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  border: 2px solid var(--fec-blue);
  border-radius: 12px;
  background: #fff;
  color: var(--fec-blue-dark);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.waiver-step-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--fec-blue-soft);
}

.waiver-step-tab.is-active {
  color: #fff;
  border-color: #1098db;
  background: linear-gradient(180deg, #1ab0e7 0%, #1098db 100%);
}

.waiver-step-tab.is-active span {
  color: var(--fec-blue-dark);
  background: #fff;
}

.waiver-agreement-copy {
  margin: 8px 0 10px;
  color: var(--fec-text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.waiver-fulltext-btn {
  margin: 0 0 10px;
}

.waiver-inline-link {
  display: inline;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fec-blue-dark);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.waiver-inline-link:hover,
.waiver-inline-link:focus-visible {
  color: var(--fec-blue);
}

.waiver-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--fec-blue-dark);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 900;
}

.waiver-agree-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--fec-blue);
}

@keyframes fec-waiver-agree-cue {
  0%, 100% { box-shadow: 0 0 0 0 rgba(24, 174, 234, 0); }
  45% { box-shadow: 0 0 0 7px rgba(24, 174, 234, .22); }
}

.waiver-agree-row:has(input:not(:checked)) input {
  border-radius: 3px;
  animation: fec-waiver-agree-cue 2.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .waiver-agree-row input { animation: none !important; }
}

.signature-pad-wrap {
  position: relative;
  border: 2px solid #b7e5f8;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.waiver-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(14, 30, 53, 0.5);
}

.waiver-modal {
  width: min(100%, 560px);
  max-height: min(82vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  border: 2px solid #d9eaf3;
  box-shadow: 0 24px 48px rgba(14, 30, 53, 0.24);
}

.waiver-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid #e5edf3;
}

.waiver-modal-body {
  overflow: auto;
  padding: 14px 18px 18px;
}

.waiver-modal-body p {
  margin: 0 0 12px;
  color: var(--fec-text);
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 700;
}

.signature-pad {
  display: block;
  width: 100%;
  height: 132px;
  touch-action: none;
  background:
    linear-gradient(transparent 78%, rgba(47, 78, 156, 0.2) 79%, transparent 80%),
    #fff;
}

.signature-clear-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.waiver-primary-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 2px solid var(--fec-toy-border);
  border-radius: 14px;
  background: var(--fec-toy-fill);
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 10px 18px var(--fec-toy-shadow-soft);
  color: #fff;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.waiver-primary-btn:hover {
  transform: translateY(1px);
}

.waiver-primary-btn:active {
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.12);
}

.waiver-primary-btn--compact {
  width: auto;
  min-width: 150px;
  margin-top: 0;
  padding: 0 14px;
}

.waiver-status-card.is-valid {
  border-color: #bfe8d2;
  background: linear-gradient(180deg, #ffffff 0%, #f3fff8 100%);
}

.empty-box,
.tickets-summary-card {
  border-radius: 18px;
  background: var(--fec-surface);
  box-shadow: var(--fec-shadow-sm);
}

.empty-box {
  padding: 16px;
  border: 2px dashed var(--fec-border-strong);
  font-size: 0.9rem;
  color: var(--fec-text-soft);
  font-weight: 700;
}

.tickets-summary-card {
  padding: 18px 16px;
  border: 1px solid #e0e8ef;
}

.summary-head {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
}

.summary-row {
  margin-top: 14px;
}

.summary-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fec-text-soft);
  font-weight: 900;
}

.summary-value {
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--fec-text);
  font-weight: 800;
}

.summary-divider {
  margin: 16px 0 12px;
  height: 1px;
  background: #e5edf3;
}

.summary-note,
.summary-checkout-note {
  font-size: 0.88rem;
  color: var(--fec-text-soft);
  font-weight: 700;
}

.summary-checkout-note {
  margin-top: 12px;
}

.summary-continue-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 2px solid var(--fec-toy-border);
  border-radius: 14px;
  background: var(--fec-toy-fill);
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 10px 18px var(--fec-toy-shadow-soft);
  color: #fff;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.summary-continue-btn:hover {
  transform: translateY(1px);
}

.summary-continue-btn:active {
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.12);
}

.summary-items {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.summary-item-name,
.summary-item-total {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--fec-text);
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.summary-membership-savings {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--fec-blue-dark);
}

.summary-membership-savings strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 900;
}

.summary-membership-savings span {
  display: block;
  margin-top: 2px;
  color: var(--fec-text-soft);
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 800;
}

.summary-membership-savings > strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

.summary-total-label {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
}

.summary-total-value {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--fec-blue-dark);
}

.mobile-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  padding: 0 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--fec-transition), transform var(--fec-transition);
  z-index: 50;
}

.mobile-cart-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-cart-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, #1ab0e7 0%, #1098db 100%);
  color: #fff;
  padding: 16px 18px;
  box-shadow: 0 14px 28px rgba(16, 152, 219, 0.28);
  cursor: pointer;
}

.mobile-cart-count {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
}

.mobile-cart-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.mobile-cart-title,
.mobile-cart-subtotal {
  font-size: 1rem;
  font-weight: 900;
}

.mobile-cart-action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.mobile-cart-subtotal {
  white-space: nowrap;
}

#tickets-app .mobile-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  background: #0879dd;
  box-shadow: inset 0 -2px 0 rgba(17, 82, 146, 0.24);
}

#tickets-app .mobile-cart-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

#moderncart-floating-cart,
.moderncart-floating-cart,
.moderncart-floating-cart-button,
.moderncart-toggle-slide-out,
#ast-scroll-top,
.ast-scroll-top,
.ast-scroll-to-top,
.ast-scroll-top-icon,
.scroll-to-top,
.back-to-top,
#back-to-top,
.xoo-wsc-basket,
.xoo-wsc-sc-cont,
.xt_woofc,
.xt_woofc-cart-open,
.woofc-floating-cart,
.woofc-cart-trigger,
.floating-cart,
.floating-cart-button,
.wc-floating-cart,
.cart-floating,
.ast-site-header-cart,
.ast-header-woo-cart,
.ast-cart-menu-wrap,
.ast-woo-header-cart-info-wrap,
.ast-woocommerce-cart-menu,
.site-header-cart,
.woocommerce-mini-cart,
.wc-block-mini-cart,
.wc-block-mini-cart__button {
  display: none !important;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulsePanelIn {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  65% {
    opacity: 1;
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes dateCometIn {
  0% {
    opacity: 0.2;
    transform: translateX(22px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@media (max-width: 380px) {
  .times-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fec-section-heading,
  .fec-section-heading--hero {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .date-card {
    min-height: 68px;
    padding: 12px 4px 8px;
  }

  .date-strip {
    gap: 10px;
  }

  .date-card--calendar {
    padding: 0 6px;
  }

  .date-calendar-icon {
    width: 42px;
    height: 40px;
  }

  .date-label {
    font-size: 0.76rem;
  }

  .date-day {
    margin-top: 2px;
    font-size: 1.55rem;
    line-height: 0.95;
  }

  .date-month {
    font-size: 0.8rem;
  }

  .date-info-top {
    flex-direction: row;
    align-items: center;
  }

  .calendar-panel {
    padding: 16px 12px 14px;
    border-radius: 22px;
  }

  .calendar-panel-head {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .calendar-month-label {
    font-size: 1.42rem;
  }

  .calendar-nav-btn {
    width: 42px;
    height: 42px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 6px;
  }

  .calendar-weekday {
    font-size: 0.66rem;
  }

  .calendar-day {
    min-height: 44px;
    border-radius: 12px;
    font-size: 0.88rem;
  }
}


@media (min-width: 768px) {
  #tickets-app {
    padding: 18px 18px 178px;
  }

  .tickets-main {
    max-width: 560px;
  }

  .fec-section-heading,
  .fec-section-heading--hero {
    font-size: 2.3rem;
  
    }

  .event-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: stretch;
    padding-bottom: 6px;
  }

  .event-card-media img {
    height: 100%;
    min-height: 100%;
  }

  .times-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ticket-product-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .ticket-product-main {
    flex: 1 1 auto;
  }

  .ticket-product-controls {
    flex: 0 0 auto;
  }

  .ticket-choice-system {
    padding: 14px;
    gap: 12px;
  }

  .ticket-kids-quantity {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .ticket-kids-stepper {
    grid-template-columns: 40px 78px 40px;
  }

  .event-choice-grid {
    gap: 16px;
  }

  .coming-up-card {
    min-width: 160px;
    max-width: 160px;
  }

  .coming-up-media img {
    height: 92px;
  }
}

@media (min-width: 1100px) {
  .tickets-layout {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(280px, 340px);
    gap: 34px;
    align-items: start;
    justify-content: center;
  }

  .tickets-main {
    max-width: 560px;
    margin: 0;
  }

  .tickets-side {
    display: block;
    position: sticky;
    top: 24px;
  }

  .mobile-cart-bar {
    display: none;
  }

  .fec-rewards-tray {
    display: none;
  }

  .summary-rewards-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #bce6f8;
    border-radius: 14px;
    background: #f2fbff;
  }

  .summary-rewards-card strong,
  .summary-rewards-card span { display: block; }
  .summary-rewards-card strong { font-size: .84rem; color: var(--fec-blue-dark); }
  .summary-rewards-card span { margin-top: 3px; font-size: .68rem; line-height: 1.25; color: var(--fec-text-soft); font-weight: 700; }
  .summary-rewards-card button { flex: 0 0 auto; border: 1px solid #71ccef; border-radius: 999px; background: #fff; color: var(--fec-blue-dark); padding: 8px 10px; font: inherit; font-size: .72rem; font-weight: 900; cursor: pointer; }
  .summary-rewards-expanded { width: 100%; }
  .summary-rewards-expanded .fec-reward-carousel { grid-auto-columns: calc((100% - 20px) / 3); }
  .summary-rewards-expanded .summary-rewards-close { display: block; margin: 10px 0 0 auto; }
}

/* Unified mobile welcome, loyalty, and cart dock. The water artwork is layered
   back-to-front and the page reserves its full height so controls never sit behind it. */
.fec-mobile-dock {
  position: fixed;
  z-index: 60;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: calc(128px + env(safe-area-inset-bottom));
  overflow: visible;
  pointer-events: none;
}

.fec-mobile-dock-water {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 128px;
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  pointer-events: none;
  animation: fec-water-rise .72s cubic-bezier(.2,.85,.22,1) both, fec-water-drift 10s linear .72s infinite alternate;
}

.fec-mobile-dock-water--back { z-index: 1; background-image: url('assets/rewards/water-back.png'); animation-delay: 0s, .72s; }
.fec-mobile-dock-water--middle { z-index: 2; background-image: url('assets/rewards/water-middle.png'); animation-delay: .12s, .84s; }
.fec-mobile-dock-water--front { z-index: 4; background-image: url('assets/rewards/water-front.png'); animation-delay: .22s, .94s; }

.fec-mobile-dock-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: end;
  gap: 4px;
  min-height: 110px;
  padding: 28px 12px calc(12px + env(safe-area-inset-bottom));
  transform: translateY(20px);
}

.fec-mobile-dock-rewards {
  min-height: 58px;
  border: 0;
  color: #fff;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
}

.fec-mobile-dock-rewards {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 9px 16px 8px;
  background: url('assets/rewards/rewards-surfboard.png') center / 100% 100% no-repeat;
  text-align: center;
  text-shadow: 0 1px 2px rgba(86, 53, 28, .42);
}

.fec-mobile-dock-board { display: block; font-size: .94rem; font-weight: 900; line-height: 1.05; }
.fec-mobile-dock-welcome-copy { padding: 0 0 0 7px; color: #fff; text-shadow: 0 1px 2px rgba(23,50,87,.35); }
.fec-mobile-dock-welcome-copy strong, .fec-mobile-dock-welcome-copy span { display: block; }
.fec-mobile-dock-welcome-copy strong { font-size: .9rem; line-height: 1.1; font-weight: 900; }
.fec-mobile-dock-welcome-copy span { margin-top: 3px; font-size: .65rem; line-height: 1.25; font-weight: 800; }

.fec-mobile-dock .fec-rewards-sheet {
  position: absolute;
  z-index: 8;
  right: 10px;
  bottom: calc(112px + env(safe-area-inset-bottom));
  left: 10px;
  display: none;
  max-height: min(360px, 52vh);
  overflow-y: auto;
  border: 0;
  border-radius: 20px 20px 0 0;
  padding: 0 0 7px 7px;
  background: #384d95;
  box-shadow: 7px 8px 0 #384d95, 0 12px 28px rgba(23,50,87,.24);
  pointer-events: auto;
}

.fec-mobile-dock.is-open .fec-rewards-sheet { display: block; animation: fadeSlideUp .2s ease both; }
.fec-rewards-panel { min-height: 238px; padding: 15px 14px 16px; border-radius: 18px 18px 0 18px; background: linear-gradient(180deg, #f8a319 0%, #fee527 100%); color: #173257; }
.fec-mobile-dock .fec-rewards-sheet-head strong { color: #173257; }
.fec-mobile-dock .fec-rewards-sheet-head span { color: #384d95; }
.fec-mobile-dock .fec-rewards-sheet-head button { display: grid; place-items: center; padding: 0 0 2px; border-color: rgba(56,77,149,.35); background: rgba(255,255,255,.55); color: #384d95; font-size: 1.25rem; line-height: 1; }
.fec-rewards-earn-preview { margin-top: 12px; padding: 8px 10px; border: 1px solid rgba(56,77,149,.36); border-radius: 10px; background: rgba(255,255,255,.42); color: #384d95; font-size: .68rem; line-height: 1.3; font-weight: 800; }
.fec-reward-detail { margin-top: 10px; padding: 9px 10px; border: 1px solid rgba(56,77,149,.38); border-radius: 10px; background: rgba(255,255,255,.76); }
.fec-reward-detail strong, .fec-reward-detail span, .fec-reward-detail small { display: block; }
.fec-reward-detail strong { color: #173257; font-size: .78rem; }
.fec-reward-detail span { margin-top: 3px; color: #384d95; font-size: .68rem; line-height: 1.25; font-weight: 700; }
.fec-reward-detail small { margin-top: 5px; color: #384d95; font-size: .64rem; font-weight: 900; }
.fec-mobile-dock .fec-reward-carousel { margin-top: 12px; }
.fec-mobile-dock .fec-reward-tier { border: 1px solid rgba(56,77,149,.34); background: rgba(255,255,255,.88); color: #173257; font: inherit; text-align: left; cursor: pointer; }
.fec-mobile-dock .fec-reward-tier.is-earned { border-color: #2f9d73; background: #f3fff4; }
.fec-mobile-dock .fec-reward-tier.is-locked { background: rgba(237,237,237,.78); color: #677487; }
.fec-mobile-dock .fec-reward-tier.is-selected { outline: 3px solid #384d95; outline-offset: 1px; }
.fec-mobile-dock .fec-reward-tier img { display: block; width: 100%; height: 55px; margin-bottom: 7px; border-radius: 7px; object-fit: cover; }
.fec-reward-tier-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 55px; margin-bottom: 7px; border-radius: 7px; background: #dce7f2; color: #384d95; font-size: 1.45rem; }

@keyframes fec-water-rise {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fec-water-drift {
  from { background-position: 46% bottom; }
  to { background-position: 54% bottom; }
}

@media (min-width: 1100px) {
  #tickets-app { padding-bottom: 30px; }
  .fec-mobile-dock { display: none; }
}

/* Dedicated ticket pages behave like a small mobile app: the ticket canvas
   scrolls above a dock whose opening rewards sheet takes real layout space. */
@media (max-width: 1099px), (hover: none) and (pointer: coarse) {
  html.fec-tickets-kiosk-document {
    width: 100%;
    max-width: 100%;
    margin-top: 0 !important;
    overflow-x: hidden;
  }

  html.fec-tickets-kiosk-document #wpadminbar {
    display: none !important;
  }

  body.fec-tickets-kiosk-page {
    height: 100dvh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  #tickets-app.fec-tickets-app--kiosk,
  #tickets-app.fec-tickets-app--kiosk.is-rewards-open {
    height: 100dvh;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
  }

  .tickets-shell--kiosk {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  /* Some iPhone browsers retain a desktop-sized layout viewport. The kiosk
     remains a one-pane touch UI even when width media queries say desktop. */
  .tickets-shell--kiosk .tickets-layout {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .tickets-shell--kiosk .tickets-main {
    width: 100%;
    max-width: var(--fec-max-main);
    min-width: 0;
    margin: 0 auto;
  }

  .tickets-shell--kiosk .tickets-side {
    display: none;
  }

  .tickets-shell--kiosk .tickets-scroll-viewport {
    min-height: 0;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Gives the ticket selector room to travel fully above the dock instead
       of stopping early at the bottom of its scrollable canvas. */
    padding: 10px 10px 100px;
    scroll-padding-bottom: 100px;
    -webkit-overflow-scrolling: touch;
  }

  .tickets-shell--kiosk .fec-mobile-dock {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    /* Reserve a small white breathing area above the low waterline without
       returning to the oversized blank dock. */
    min-height: calc(100px + env(safe-area-inset-bottom));
  }

  .tickets-shell--kiosk .fec-mobile-dock-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    /* Leave a slim white break above the water while keeping both dock items
       low enough to feel attached to the wave tray. */
    transform: translateY(-5px);
  }

  .tickets-shell--kiosk .fec-mobile-dock.is-verified .fec-mobile-dock-welcome-copy {
    padding-left: 12px;
    transform: translateY(-10px);
  }

  .tickets-shell--kiosk .fec-rewards-sheet {
    position: relative;
    z-index: 3;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    max-height: 0;
    margin: 0 10px;
    padding: 0 0 0 7px;
    border-radius: 20px 20px 0 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: max-height .95s cubic-bezier(.18,.82,.2,1), margin .95s cubic-bezier(.18,.82,.2,1), opacity .34s ease, transform .95s cubic-bezier(.18,.82,.2,1);
    animation: none;
  }

  .tickets-shell--kiosk .fec-mobile-dock.is-open .fec-rewards-sheet {
    display: block;
    max-height: min(390px, 47dvh);
    /* Raise the usable cards above the wave crest while leaving the panel's
       lower edge submerged behind all three water layers. */
    margin: 5px 10px 36px;
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
    transform: translateY(0);
    animation: none;
  }

  /* render() inserts the open tray in one pass; hold its closed pose for a
     frame so Safari has a real starting point for the slow upward transition. */
  .tickets-shell--kiosk .fec-mobile-dock.is-opening .fec-rewards-sheet {
    max-height: 0;
    margin: 0 10px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(100%);
  }

  /* The reward panel rises from below the water. On open, the complete water
     stack is in front of it; only the dock itself remains behind the waves. */
  .tickets-shell--kiosk .fec-mobile-dock.is-open .fec-mobile-dock-content {
    z-index: 2;
  }

  .tickets-shell--kiosk .fec-mobile-dock.is-open .fec-mobile-dock-water--back { z-index: 4; }
  .tickets-shell--kiosk .fec-mobile-dock.is-open .fec-mobile-dock-water--middle { z-index: 5; }
  .tickets-shell--kiosk .fec-mobile-dock.is-open .fec-mobile-dock-water--front { z-index: 6; }

  .tickets-shell--kiosk .fec-rewards-panel {
    min-height: 0;
    padding-bottom: 26px;
  }
}

@media (max-width: 380px) {
  .fec-mobile-dock-content { grid-template-columns: minmax(0, 1fr) 145px; gap: 1px; padding-right: 8px; padding-left: 8px; transform: translateY(16px); }
  .fec-mobile-dock-rewards { padding: 9px 8px 8px; }
  .fec-mobile-dock-welcome-copy { padding-left: 0; }
  .fec-mobile-dock-welcome-copy strong { font-size: .8rem; }
  .fec-mobile-dock-welcome-copy span, .fec-mobile-dock-board { font-size: .62rem; }
}

/* =========================================
   SELECTED EVENT / PRODUCT DISPLAY REFINEMENT
========================================= */

.event-hero-card {
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid #d9eaf3;
  box-shadow: var(--fec-shadow-md);
  background: #fff;
}

.event-hero-media {
  background: #dbe6ef;
}

.event-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

.event-hero-body {
  padding: 14px 14px 8px;
  text-align: center;
}

.event-hero-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.32rem;
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--fec-blue-dark);
  letter-spacing: -0.01em;
}

.event-hero-time,
.event-hero-subtitle,
.event-hero-pill {
  display: none;
}

/* =========================================
   TIME GRID - 3x3 INITIAL VIEW
========================================= */

.times-panel {
  margin-top: 0;
  padding: 12px 12px 14px;
  border-radius: 0 0 22px 22px;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.times-panel-head {
  margin-bottom: 10px;
}

.times-panel-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fec-blue-dark);
}

.times-panel-copy {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--fec-text-soft);
  font-weight: 700;
}

.times-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.time-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 13px;
  border: 2px solid var(--fec-toy-pill-border);
  background: #fff;
  color: #111;
  padding: 10px 14px 10px 34px; /* reserve left space for icon */
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--fec-transition),
    border-color var(--fec-transition),
    box-shadow var(--fec-transition),
    background var(--fec-transition),
    color var(--fec-transition);
  box-shadow:
    var(--fec-toy-shadow-offset) var(--fec-toy-shadow-offset) 0 var(--fec-toy-shadow),
    0 8px 14px rgba(79, 90, 185, 0.1);
}

.time-chip.is-clickable:hover {
  transform: translateY(1px);
  border-color: #58bde6;
  box-shadow:
    5px 5px 0 var(--fec-toy-shadow),
    0 7px 12px rgba(79, 90, 185, 0.1);
}

.time-chip.is-clickable:active {
  background: var(--fec-toy-border);
  border-color: var(--fec-toy-border);
  color: #fff;
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.1);
}

.time-chip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.time-chip-label {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.time-chip-dot {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  background: var(--fec-toy-dot);
  box-shadow: 0 0 0 3px rgba(215, 255, 114, 0.16);
}

.time-chip-popular {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 0.9rem;
  line-height: 1;
}

.time-chip-dot.is-green {
  background: var(--fec-toy-dot);
}

.time-chip-dot.is-orange {
  background: var(--fec-orange);
}

.time-chip-dot.is-red {
  background: var(--fec-red);
}

.time-chip-badge {
  position: absolute;
  top: -8px;
  right: -3px;
  padding: 3px 6px;
  border-radius: 7px;
  background: var(--fec-red);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.time-chip.is-selected {
  transform: translate(var(--fec-toy-press-offset), var(--fec-toy-press-offset));
  border-color: var(--fec-toy-border);
  background: var(--fec-toy-border);
  color: #fff;
  box-shadow:
    2px 2px 0 var(--fec-toy-shadow),
    0 4px 10px rgba(79, 90, 185, 0.1);
}

.time-chip.is-disabled {
  color: #98a4b5;
  background: #f5f7fa;
  border-color: #dddddd;
  box-shadow: none;
  cursor: not-allowed;
}

.time-chip.is-soldout {
  color: var(--fec-red);
  background: #fff8f8;
  border-color: #ff9b9b;
  box-shadow: 0 3px 0 rgba(255, 155, 155, 0.28);
  cursor: not-allowed;
}

.time-chip.is-limited {
  border-color: #ffc272;
  background: #fffdf8;
  box-shadow: 0 4px 0 rgba(255, 194, 114, 0.32);
}

.time-chip-soldout {
  display: block;
  margin-top: 2px;
  font-size: 0.58rem;
  line-height: 1;
  font-weight: 900;
}

/* =========================================
   EXPAND MORE TIMES LINK
========================================= */

.times-expand-wrap {
  margin-top: 10px;
  text-align: center;
}

.times-expand-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--fec-blue-dark);
  text-decoration: underline;
  cursor: pointer;
}

.times-expand-btn:hover {
  opacity: 0.85;
}

/* =========================================
   EVENT DISPLAY - BARE MEDIA STACK
========================================= */

.event-module,
.event-stack-item,
.event-hero-card {
  display: flex !important;
  flex-direction: column;
  gap: 10px !important;
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

.event-module-top,
.event-choice-card,
.event-card,
.event-hero-card {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.event-module-top:active,
.event-choice-card:active,
.event-card:active,
.event-hero-card:active {
  transform: none;
}

.event-module-media,
.event-choice-media,
.event-card-media,
.event-hero-media {
  width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

.event-module-media img,
.event-choice-media img,
.event-card-media img,
.event-hero-media img,
.coming-up-media img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.event-module-title,
.event-choice-title,
.event-card-title,
.event-hero-title {
  width: 100%;
  margin-top: 8px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 900 !important;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--fec-blue-dark);
  text-align: center;
}

.event-module-title {
  margin-bottom: 10px;
}

.event-choice-grid,
.events-list {
  gap: 22px;
}

.event-choice-body,
.event-card-body,
.event-hero-body {
  padding: 0;
  text-align: center;
}

.event-card-time,
.event-card-subtitle,
.event-card-note,
.event-card-action,
.event-hero-time,
.event-hero-subtitle,
.event-hero-pill {
  display: none;
}

.event-module-times,
.times-panel {
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================================
   SECTION HEADER SPACING OVERRIDE
========================================= */

#tickets-app .tickets-section-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 8px;
}

#tickets-app .tickets-section-intro .fec-section-heading {
  margin: 0;
  padding-bottom: 4px;
}

#tickets-app .tickets-section-intro .tickets-section-note {
  margin: 0;
}

#tickets-app .tickets-section-intro + .ticket-choice-system,
#tickets-app .tickets-section-intro + .addons-flow-card,
#tickets-app .tickets-section-intro + .addons-list,
#tickets-app .tickets-section-intro + .sms-panel,
#tickets-app .tickets-section-intro + .member-panel,
#tickets-app .tickets-section-intro + .waiver-panel,
#tickets-app .tickets-section-intro + .checkout-panel,
#tickets-app .tickets-section-intro + .event-module,
#tickets-app .tickets-section-intro + .event-choice-grid,
#tickets-app .tickets-section-intro + .events-list {
  margin-top: 0;
}

#tickets-app .event-block > .tickets-section-intro {
  gap: 2px;
  margin-bottom: 2px;
}

#tickets-app .event-block > .tickets-section-intro .fec-section-heading {
  padding-bottom: 2px;
}

#tickets-app .tickets-header .tickets-section-intro {
  display: block;
  gap: normal;
  margin: 0 0 6px;
}

#tickets-app .tickets-header .fec-section-heading {
  padding-bottom: 8px;
}

@media (max-width: 640px) {
  .digit-row {
    gap: 6px;
  }

  .digit-box {
    height: 46px;
    font-size: 0.98rem;
  }

  .checkout-customer-summary-head {
    align-items: center;
  }

  .checkout-inline-edit-btn,
  .waiver-fulltext-btn,
  .waiver-modal-close {
    width: auto;
  }

  .checkout-customer-at-a-glance,
  .checkout-customer-pills {
    gap: 3px 10px;
  }

  .checkout-customer-at-a-glance span + span::before,
  .checkout-customer-pills span + span::before {
    margin-right: 10px;
  }

  .checkout-waiver-edit-actions {
    flex-direction: column;
  }

  .checkout-waiver-summary-head,
  .checkout-waiver-child {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-waiver-child span {
    text-align: left;
  }

  .checkout-waiver-child--editing {
    grid-template-columns: 1fr;
  }

  .waiver-modal {
    width: 100%;
    max-height: 86vh;
  }
}

/* Ticket booking flow polish — 2026-09-08. */
#tickets-app .tickets-location-pill { width: auto; max-width: none; flex: 0 0 auto; padding: 10px 12px; font-size: 13px; white-space: nowrap; overflow: visible; text-overflow: clip; }
#tickets-app .tickets-brand-logo { width: min(44vw, 180px); }
#tickets-app .date-strip-wrap { position: relative; }
#tickets-app button:focus-visible { outline: 3px solid #f5a31a; outline-offset: 4px; }
#tickets-app .tickets-main > section, #tickets-app .date-strip-wrap { scroll-margin-top: 20px; }
#tickets-app .completed-step { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #f0faff; border: 1px solid #96cfe7; border-radius: 16px; padding: 16px; margin: 12px 0 24px; }
#tickets-app .completed-step strong { display: block; color: #233b73; font-size: 15px; line-height: 1.5; }
#tickets-app .completed-step span { display: block; font-size: 12px; line-height: 1.6; }
#tickets-app .visit-edit { border: 1px solid #a9cfe1; background: white; color: #233b73; border-radius: 10px; padding: 10px 12px; font: 700 12px/1.4 Montserrat, sans-serif; min-height: 44px; flex: 0 0 auto; cursor: pointer; }
#tickets-app .visit-window { color: #233b73; font-weight: 800; margin: 8px 0 18px; }
#tickets-app .selection-notice { padding: 12px; background: #fff5dc; border-left: 4px solid #efa51d; border-radius: 8px; font-size: 13px; line-height: 1.6; }
#tickets-app .time-periods { display: flex; gap: 8px; margin: 14px 0; }
#tickets-app .time-periods button { flex: 1; min-height: 44px; padding: 9px 6px; border-radius: 10px; border: 1px solid #9cbcd8; background: white; color: #263e73; font: 700 12px/1.2 Montserrat, sans-serif; cursor: pointer; }
#tickets-app .time-periods button[aria-pressed="true"] { background: #4356ae; border-color: #4356ae; color: white; }
#tickets-app .time-periods button:disabled { opacity: .45; cursor: default; }
#tickets-app .times-panel { margin-top: 14px; }
#tickets-app .times-panel .tickets-section-note { font-size: 11px; line-height: 1.5; }
#tickets-app .time-chip-label { color: #173257; }
#tickets-app .time-chip.is-selected .time-chip-label { color: white; }
#tickets-app .duration-option { flex-direction: column; min-height: 96px; height: auto; padding: 18px 5px 12px; gap: 8px; }
#tickets-app .duration-price { display: block; font-size: 11px; line-height: 1.35; font-weight: 700; color: #173257; }
#tickets-app .duration-option.is-selected .duration-price { color: white; }
#tickets-app .ticket-choice-price { text-align: right; white-space: nowrap; }
#tickets-app .ticket-choice-price small { display: block; font-size: 10px; line-height: 1.4; }
#tickets-app .ticket-choice-desc { white-space: pre-line; line-height: 1.6; }
#tickets-app .bundle-difference { display: block; font-size: 11px; line-height: 1.5; margin-top: 8px; font-weight: 700; }
#tickets-app .ticket-choice-card:is(:hover, :focus-visible, :active, .is-selected) { background: #4356ae; border-color: #4356ae; color: #fff; }
#tickets-app .ticket-choice-card:is(:hover, :focus-visible, :active, .is-selected) :is(.ticket-choice-name, .ticket-choice-price, .ticket-choice-price small, .ticket-choice-desc, .bundle-difference) { color: #fff; }
#tickets-app .quantity-feedback { min-height: 22px; margin: 10px 0; font-size: 12px; font-weight: 700; color: #233b73; }
#tickets-app .ticket-quantity-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; margin: 0; }
#tickets-app .ticket-quantity-summary .quantity-feedback { flex: 1 1 auto; min-height: 0; margin: 0; line-height: 1.5; }
#tickets-app .ticket-quantity-summary .ticket-faq-link-wrap { flex: 0 0 auto; margin: 0; }
#tickets-app .ticket-quantity-summary .ticket-faq-link { min-height: 36px; padding: 8px 0; line-height: 1.4; background: transparent; color: #2f4e9c; }
#tickets-app .ticket-choice-system, #tickets-app .ticket-product-options, #tickets-app .ticket-choice-card,
#tickets-app .ticket-kids-quantity, #tickets-app .sms-section, #tickets-app .calendar-panel-wrap { animation: none; }
#tickets-app .ticket-kids-btn { min-width: 44px; min-height: 44px; }
#tickets-app .sms-field input { font-size: 16px; scroll-margin-block: 24px 100px; }
#tickets-app .availability-loading { min-height: 230px; color: #324b79; font-size: 14px; padding: 14px 0; }
#tickets-app .availability-skeleton { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
#tickets-app .availability-skeleton i { height: 54px; background: #edf4f8; border: 1px solid #d7e7ee; border-radius: 12px; }
#tickets-app .empty-box .flow-primary-btn { margin-top: 14px; }
#tickets-app dialog.calendar-panel-wrap { position: fixed; margin: 0; padding: 0; width: 370px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border: 0; border-radius: 20px; overflow: auto; box-shadow: 0 18px 70px #12244440; background: white; }
#tickets-app dialog.calendar-panel-wrap::backdrop { background: #152a4826; }
#tickets-app dialog .calendar-panel { margin: 0; padding: 16px; border: 0; box-shadow: none; }
#tickets-app dialog .calendar-grid, #tickets-app dialog .calendar-weekdays { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; min-width: 0; }
/* Astra's global button padding otherwise forces 64px controls into 42px cells. */
#tickets-app dialog .calendar-day { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; min-height: 44px; padding: 8px 0; display: flex; align-items: center; justify-content: center; line-height: 1; letter-spacing: normal; }
#tickets-app dialog .calendar-nav-btn { box-sizing: border-box; width: 46px; min-width: 0; height: 46px; min-height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; line-height: 1; }
#tickets-app dialog .calendar-close-btn { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; min-height: 44px; padding: 12px 8px; line-height: 1.3; }
#tickets-app .calendar-panel-actions { position: sticky; bottom: 0; background: white; padding-block: 10px 0; }
#tickets-app .booking-mobile-footer, #tickets-app .booking-mobile-rewards { display: none; }
#tickets-app .summary-continue-btn:disabled, #tickets-app .flow-primary-btn:disabled { opacity: .65; cursor: wait; }

@media (max-width: 1099px) {
  /* One document scroll; native dialogs supply their own isolated scroll. */
  html.fec-tickets-kiosk-document { overflow: visible; }
  body.fec-tickets-kiosk-page { height: auto; min-height: 100dvh; overflow-y: auto; }
  #tickets-app.fec-tickets-app--kiosk, #tickets-app.fec-tickets-app--kiosk.is-rewards-open,
  #tickets-app, #tickets-app.is-rewards-open { height: auto; overflow: visible; padding: 12px 12px calc(130px + env(safe-area-inset-bottom)); }
  #tickets-app .tickets-shell--kiosk { height: auto; min-height: 100dvh; display: block; overflow: visible; }
  #tickets-app .tickets-shell--kiosk .tickets-scroll-viewport { height: auto; overflow: visible; padding: 0; scroll-padding: 0; }
  #tickets-app .tickets-brand-row { gap: 8px; margin-bottom: 6px; }
  #tickets-app .tickets-brand-logo { max-height: 48px; }
  #tickets-app .tickets-header { margin-bottom: 8px; }
  #tickets-app .fec-section-heading--hero { font-size: 28px; }
  #tickets-app .date-card { min-height: 68px; height: 72px; padding-block: 7px; }
  #tickets-app .date-day { font-size: 22px; }
  #tickets-app .date-label, #tickets-app .date-month { font-size: 11px; }
  #tickets-app .date-info-panel { margin-block: 12px; padding: 0; }
  #tickets-app .date-info-line { display: none; }
  #tickets-app .date-info-top { display: block; text-align: left; }
  #tickets-app .date-info-title { font-size: 12px; }
  #tickets-app .date-info-hours { font-size: 11px; margin-top: 4px; }
  #tickets-app .event-module { margin-block: 12px; }
  #tickets-app .event-module-top { display: grid !important; grid-template-columns: 98px 1fr; align-items: center; gap: 12px; text-align: left; }
  #tickets-app .event-module-title { margin: 0; padding: 0; text-align: left; font-size: 13px; line-height: 1.45; }
  #tickets-app .times-panel .fec-section-heading { font-size: 25px; }
  #tickets-app .time-chip { min-height: 48px; }
  #tickets-app .completed-step { padding: 12px; gap: 10px; }
  #tickets-app .completed-step strong { font-size: 13px; }
  #tickets-app .completed-step .visit-edit { max-width: 100px; padding: 8px; }
  #tickets-app dialog.calendar-panel-wrap { top: auto !important; left: 0 !important; bottom: 0; width: 100%; max-width: 100%; max-height: min(640px, 92dvh); border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); overscroll-behavior: contain; }
  #tickets-app dialog.calendar-panel-wrap::backdrop { background: #152a4870; }
  #tickets-app .calendar-grid { gap: 3px; }
  #tickets-app .calendar-day { padding: 5px 0; }
  body:has(#tickets-app.is-calendar-open) { overflow: hidden; }
  #tickets-app .booking-mobile-footer { position: fixed; inset: auto 0 0; z-index: 80; display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 1.1fr); gap: 6px 12px; align-items: center; padding: 12px 16px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #c4dbea; box-shadow: 0 -5px 24px #233b7317; }
  #tickets-app .booking-mobile-total strong { display: block; font-size: 14px; color: #233b73; }
  #tickets-app .booking-mobile-total span { display: block; font-size: 11px; line-height: 1.5; margin-top: 3px; }
  #tickets-app .booking-mobile-continue { border: 0; border-radius: 12px; min-height: 48px; padding: 10px 12px; color: white; background: #4356ae; font: 800 13px/1.3 Montserrat, sans-serif; }
  #tickets-app .booking-mobile-continue:disabled { opacity: .65; }
  #tickets-app .booking-mobile-perks { grid-column: 1 / -1; justify-self: start; min-height: 28px; padding: 4px 0; border: 0; background: transparent; color: #4356ae; font: 600 11px/1.2 Montserrat, sans-serif; text-decoration: underline; }
  #tickets-app .booking-mobile-rewards { display: block; margin-top: 24px; padding: 16px; border: 1px solid #b9d6e6; border-radius: 16px; }
  #tickets-app.is-editing-field .booking-mobile-footer { display: none; }
}
@media (max-width: 359px) {
  #tickets-app .tickets-location-pill { font-size: 11px; padding: 10px 8px; }
  #tickets-app .duration-price { font-size: 10px; }
}
#tickets-app .extras-total { margin-top: 16px; font-size: 14px; font-weight: 800; }
#tickets-app dialog.waiver-reader { margin: auto; inset: 0; width: min(680px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: white; overflow: hidden; }
#tickets-app dialog.waiver-reader::backdrop { background: #152a48a6; }
#tickets-app .waiver-reader .waiver-modal { width: 100%; max-height: calc(100dvh - 32px); margin: 0; display: flex; flex-direction: column; overflow: hidden; }
#tickets-app .waiver-reader .waiver-modal-head { flex: 0 0 auto; }
#tickets-app .waiver-reader .waiver-modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
body:has(#tickets-app.is-waiver-reader-open) { overflow: hidden; }
#tickets-app.is-waiver-reader-open .booking-mobile-footer { display: none; }
@media (max-width: 1099px) {
  #tickets-app .addon-card { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "top top" "image desc" "controls controls"; }
  #tickets-app .addon-controls { justify-self: end; grid-template-columns: 44px 60px 44px; }
  #tickets-app .addon-controls .qty-btn { width: 44px; height: 44px; }
}
@media (min-width: 1100px) {
  #tickets-app .summary-rewards-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  #tickets-app .summary-rewards-expanded { grid-column: 1 / -1; min-width: 0; width: 100%; }
  #tickets-app .summary-rewards-expanded .fec-reward-carousel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; width: 100%; }
  #tickets-app .summary-rewards-expanded .fec-reward-tier { min-width: 0; width: 100%; max-width: 100%; padding: 8px; border-radius: 14px; }
  #tickets-app .summary-rewards-expanded img { max-width: 100%; }
  #tickets-app .summary-rewards-expanded .fec-reward-detail { margin-bottom: 12px; }
  #tickets-app .summary-rewards-expanded .fec-rewards-empty { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  #tickets-app *, #tickets-app *::before, #tickets-app *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* Revision 5: optional upgrade and checkout controls. */
#tickets-app .upgrade-card { scroll-margin-top: 16px; }
#tickets-app .upgrade-card .checkout-title { margin: 6px 0 12px; font-size: 20px; line-height: 1.3; }
#tickets-app .upgrade-card p { margin: 12px 0; }
#tickets-app .upgrade-allocation { padding: 12px; border-radius: 12px; background: #fff3d9; display: grid; gap: 7px; }
#tickets-app .upgrade-allocation strong { font-size: 17px; }
#tickets-app .upgrade-allocation span { font-size: 15px; }
#tickets-app .upgrade-price { display: grid; gap: 5px; margin: 12px 0; }
#tickets-app .upgrade-price strong { font-size: 19px; }
#tickets-app .upgrade-price span, #tickets-app .upgrade-optional { font-size: 12px; line-height: 1.5; }
#tickets-app .upgrade-optional { text-align: center; }
#tickets-app .upgrade-confirmation { font-weight: 800; margin: 12px 0; }
#tickets-app .remove-extra { display: inline-block; padding: 8px 0; min-height: 40px; border: 0; background: transparent; color: #354b9c; text-decoration: underline; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
#tickets-app .checkout-coupon label { display: block; margin: 12px 0 6px; font-weight: 700; }
#tickets-app .checkout-coupon-row input { min-width: 0; }
#tickets-app .checkout-mini-message:empty { display: none; }
#tickets-app .checkout-payment .checkout-summary-total { margin: 16px 0; }
/* Revision 6: compact illustrated offer. */
#tickets-app .upgrade-card--compact { padding: 14px; }
#tickets-app .upgrade-heading { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
#tickets-app .upgrade-artwork { display: block; width: 64px; height: 32px; object-fit: contain; }
#tickets-app .upgrade-card--compact .checkout-title { font-size: 18px; margin: 3px 0 0; line-height: 1.25; }
#tickets-app .upgrade-savings { align-self: start; padding: 6px 9px; border-radius: 999px; background: #f7a313; color: #142f5e; font-size: 12px; font-weight: 900; white-space: nowrap; }
#tickets-app .upgrade-card--compact .upgrade-allocation { background: none; padding: 0; margin: 12px 0 8px; gap: 4px; }
#tickets-app .upgrade-card--compact .upgrade-allocation strong { font-size: 16px; }
#tickets-app .upgrade-card--compact .upgrade-allocation span { font-size: 12px; line-height: 1.4; color: #586b82; }
#tickets-app .upgrade-card--compact .upgrade-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 8px 0; }
#tickets-app .upgrade-card--compact .upgrade-price strong { font-size: 17px; }
#tickets-app .upgrade-card--compact .upgrade-validity { font-size: 12px; font-weight: 700; margin: 6px 0 12px; }
#tickets-app .upgrade-card--compact .upgrade-order-total { font-size: 12px; text-align: center; margin: 10px 0 0; }
#tickets-app .upgrade-keep { display: block; margin: 0 auto; padding: 9px 8px; min-height: 40px; background: transparent; color: #354b9c; border: 0; font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; }
#tickets-app .upgrade-details { margin-top: 3px; font-size: 12px; color: #586b82; }
#tickets-app .upgrade-details summary { cursor: pointer; min-height: 32px; padding: 7px 0; font-weight: 700; }
#tickets-app .upgrade-details p { line-height: 1.5; margin: 8px 0; }
@media (max-width: 599px) {
 #tickets-app .upgrade-heading { grid-template-columns: 52px minmax(0,1fr); gap: 7px 9px; }
 #tickets-app .upgrade-artwork { width: 52px; height: 28px; }
 #tickets-app .upgrade-savings { grid-column: 2; justify-self: start; padding: 4px 8px; font-size: 11px; }
 #tickets-app .upgrade-card--compact .checkout-title { font-size: 17px; }
}
#tickets-app .upgrade-keep { margin-top: 6px; }
#tickets-app .upgrade-keep:focus-visible { outline-offset: 0; border-radius: 6px; }
#tickets-app .date-card--calendar { gap: 5px; }
#tickets-app .date-calendar-svg { display: block; width: 42px; height: 42px; flex-shrink: 0; }
#tickets-app .date-calendar-caption { font-size: 10px; font-weight: 800; line-height: 1.2; color: #173257; }
#tickets-app .date-browser { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); gap: 8px; align-items: stretch; padding: 10px 7px 12px 2px; }
#tickets-app .date-scroll-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-width: 0; }
#tickets-app .date-scroll-track .date-card:nth-child(n+5) { display: none; }
#tickets-app .date-browser > .date-card--calendar { display: flex; flex-direction: column; justify-content: center; align-items: center; }
@media (max-width: 767px) {
  #tickets-app .date-browser { grid-template-columns: minmax(0, 1fr) 70px; gap: 8px; padding-top: 0; }
  #tickets-app .date-scroll-track { display: flex; overflow-x: auto; padding: 10px 8px 12px 2px; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  #tickets-app .date-scroll-track::-webkit-scrollbar { display: none; }
  #tickets-app .date-scroll-track .date-card,
  #tickets-app .date-scroll-track .date-card:nth-child(n+5) { display: block; flex: 0 0 76px; scroll-snap-align: start; }
  #tickets-app .date-browser > .date-card--calendar { margin-top: 10px; margin-bottom: 12px; align-self: start; }
}
/* Duration choices: make visit length the primary visual label. */
#tickets-app .duration-option-label {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
#tickets-app .duration-option {
  gap: 8px;
  padding: 20px 6px 14px;
}
#tickets-app .duration-option .duration-price {
  font-size: 12px;
  line-height: 1.35;
}
#tickets-app .duration-option:focus-visible {
  outline: 3px solid #173257;
  outline-offset: 5px;
}
@media (max-width: 600px) {
  #tickets-app .duration-option-label { font-size: 20px; }
  #tickets-app .duration-option .duration-price { font-size: 11px; }
}
@media (max-width: 380px) {
  #tickets-app .duration-option-label { font-size: 18px; }
  #tickets-app .duration-option .duration-price { font-size: 10px; }
}
/* Revision 8: tighter offer spacing; validity is in Offer details. */
#tickets-app .upgrade-card--compact { padding: 12px; }
#tickets-app .upgrade-card--compact .upgrade-allocation { margin: 8px 0 6px; gap: 3px; }
#tickets-app .upgrade-card--compact .upgrade-price { margin: 6px 0 10px; gap: 3px 10px; }
#tickets-app .upgrade-card--compact .upgrade-price span { color: #354b9c; font-weight: 800; }
#tickets-app .upgrade-card--compact .bounceback-btn { margin-top: 0; }
#tickets-app .upgrade-card--compact .upgrade-order-total { margin-top: 8px; }
#tickets-app .upgrade-card--compact .upgrade-keep { margin-top: 3px; min-height: 40px; padding-block: 7px; }
#tickets-app .upgrade-card--compact .upgrade-details { margin-top: 0; }


/* Keep the portable ticket UI independent of the host theme's form typography.
   Astra/Elementor may explicitly style buttons and their text descendants. */
#tickets-app button,
#tickets-app button :is(span, strong, small, div, b, em),
#tickets-app input,
#tickets-app select,
#tickets-app textarea {
  font-family: "Montserrat", system-ui, sans-serif !important;
}
#tickets-app .booking-mobile-rewards h2 {
  font-family: "Londrina Solid", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--fec-blue-dark);
  margin: 0 0 10px;
}
#tickets-app .booking-mobile-rewards p { margin: 0 0 12px; }
#tickets-app .booking-mobile-rewards button {
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--fec-border-strong);
  border-radius: 10px;
  background: white;
  color: var(--fec-blue-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.fec-ticket-preview-banner {
  position: relative;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  background: #173257;
  color: white;
  text-align: center;
  font: 500 12px/1.4 "Montserrat", system-ui, sans-serif;
  overflow-wrap: anywhere;
}

/* Shared returning guest recognition; background contains no household data. */
#tickets-app .kiosk-sms-recognition { position:relative; min-height:550px; max-width:1200px; margin:0 auto; }
#tickets-app .kiosk-family-skeleton { padding:30px; opacity:.4; pointer-events:none; }
#tickets-app .skeleton-heading { height:34px; width:45%; background:#c4d2df; margin-bottom:32px; }
#tickets-app .skeleton-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
#tickets-app .skeleton-card { background:#fff; border:2px solid #bfcedc; padding:28px; min-height:150px; }
#tickets-app .skeleton-card i { display:block; height:18px; background:#c4d2df; margin-bottom:22px; width:75%; }
#tickets-app .skeleton-signature { height:180px; background:#fff; margin-top:38px; border:2px solid #bfcedc; }
#tickets-app .kiosk-sms-overlay { position:absolute; inset:0; background:rgba(242,248,252,.65); display:flex; align-items:center; justify-content:center; padding:16px; }
#tickets-app .kiosk-sms-verification { width:min(650px,100%); text-align:center; background:#fffef1; border:3px solid #102d5b; box-shadow:7px 7px #00bddb; padding:28px; }
#tickets-app .kiosk-sms-verification .sms-primary-btn { width:100%; margin-top:24px; }
#tickets-app .kiosk-sms-verification .sms-actions { display:flex; justify-content:center; gap:20px; margin-top:18px; }
@media(max-width:760px){#tickets-app .kiosk-sms-verification{padding:18px;}#tickets-app .skeleton-cards{grid-template-columns:1fr;}#tickets-app .kiosk-sms-recognition{min-height:600px;}}
#tickets-app .kiosk-sms-verification{box-sizing:border-box;max-width:520px;padding:22px;}
#tickets-app .kiosk-sms-verification h2{margin:0 0 14px;}
#tickets-app .kiosk-sms-verification p{margin:10px 0;}
#tickets-app .kiosk-sms-verification .sms-actions{display:flex;gap:10px;}
#tickets-app .kiosk-sms-verification .sms-actions button{width:auto;flex:1;margin:0;padding:10px;}
#tickets-app .kiosk-sms-recognition{min-height:620px;width:100%;}
#tickets-app .kiosk-sms-verification .digit-box{min-width:0;}
@media(max-width:600px){#tickets-app .kiosk-sms-overlay{padding:10px;}#tickets-app .kiosk-sms-verification{padding:14px;}#tickets-app .kiosk-sms-verification .digit-row{gap:5px;}}
