/* ============================================================
   GAI World 2026 — Buy-Passes add-on v1 (staged 2026-07-20)
   Pulls in the sitewide design system, then adds:
   - VIP ("Most Complete") card emphasis + button tiering
   - Order-builder UI (quantity steppers + sticky summary)
   - FAQ accordion styling
   Assets in File Manager /gai-world-cro. Remove the include tag
   from the page footer HTML to undo.
   ============================================================ */
@import url('gai-world-design-system.css?v=5');

/* ---------- VIP card wins ---------- */
main .tickets-sell .card:has(a[href*="registration/2835"]) {
  border: 2px solid #FBCC24 !important;
  box-shadow: 0 14px 44px rgba(251, 204, 36, .28) !important;
  z-index: 2;
}
/* Button tiering: VIP keeps the primary yellow; the other cards use
   secondary blue. (Browsers without :has keep today's all-yellow.) */
main .tickets-sell .card:has(a[href*="registration/2790"]) .fill-btn,
main .tickets-sell .card:has(a[href*="registration/2800"]) .fill-btn,
main .tickets-sell .card:has(a[href*="registration/2846"]) .fill-btn {
  background: #0E41FB !important;
  border-color: #0E41FB !important;
  color: #FFFFFF !important;
}
main .tickets-sell .card:has(a[href*="registration/2835"]) .fill-btn {
  background: #FBCC24 !important;
  border-color: #FBCC24 !important;
  color: #020E26 !important;
}

/* ---------- Order builder: quantity steppers ---------- */
.gwob-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px 0 4px;
}
.gwob-stepper button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #050D51;
  background: #FFFFFF;
  color: #050D51;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.gwob-stepper button:hover { background: #050D51; color: #FFFFFF; }
.gwob-stepper .gwob-qty {
  min-width: 34px;
  text-align: center;
  font-family: 'Barlow', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
}
.gwob-stepper-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  font-family: 'Inter', sans-serif;
}

/* ---------- Order builder: summary panel ---------- */
#gwob-summary {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #050D51;
  color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(2, 14, 38, .45);
  padding: 18px 18px 16px;
  z-index: 9990;
  font-family: 'Inter', sans-serif;
  display: none;
}
#gwob-summary.gwob-visible { display: block; }
#gwob-summary h4 {
  font-family: 'Barlow', sans-serif !important;
  font-weight: 800 !important;
  font-size: 18px;
  margin: 0 0 10px;
  color: #FFFFFF;
}
.gwob-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  margin: 6px 0;
  color: #E2E8F0;
}
.gwob-line strong { color: #FFFFFF; }
.gwob-savings { color: #FBCC24; font-weight: 600; }
.gwob-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .18);
  margin-top: 10px;
  padding-top: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 20px;
  font-weight: 800;
}
.gwob-deadline {
  font-size: 12px;
  color: #CBD5E1;
  margin: 8px 0 10px;
}
.gwob-checkout a {
  display: block;
  text-align: center;
  background: #FBCC24;
  color: #020E26 !important;
  border-radius: 50px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  margin-top: 8px;
}
.gwob-checkout a:hover { background: #E9BB14; }
.gwob-note {
  font-size: 11.5px;
  color: #94A3B8;
  margin-top: 8px;
  line-height: 1.45;
}
@media (max-width: 767px) {
  #gwob-summary {
    right: 0; left: 0; bottom: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
  }
}


/* ---------- Deadline line matches the intro text ---------- */
main #pricing-section > p {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #020E26 !important;
}

/* ---------- Center the "Save $X Per Pass" pills ---------- */
main .tickets-sell .standerd-rate > div {
  display: block !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- Equal-height pricing cards ---------- */
/* The theme sizes each card to its own content; height:auto lets the
   flex row stretch all four to the tallest. The VIP card's extra
   .center-card wrapper needs its inner panel to grow like the rest. */
main .tickets-sell > .card { height: auto !important; }
main .tickets-sell .center-card { display: flex; flex-direction: column; flex-grow: 1; }
main .tickets-sell .center-card > .card-top { flex-grow: 1; }

/* ---------- FAQ ---------- */
.gw-faq-wrap { max-width: 860px; margin: 0 auto; padding: 8px 16px 24px; }
.gw-faq-wrap h2 { text-align: center; margin-bottom: 18px; color: #050D51 !important; }
details.gw-faq {
  background: #F5F5F5;
  border-radius: 12px;
  margin: 10px 0;
  padding: 0;
  border: 1px solid #E2E8F0;
}
details.gw-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-family: 'Barlow', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #050D51;
  position: relative;
}
details.gw-faq summary::-webkit-details-marker { display: none; }
details.gw-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 600;
  color: #0E41FB;
}
details.gw-faq[open] summary::after { content: "–"; }
details.gw-faq .gw-faq-a {
  padding: 0 18px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}
