/* ============================================================
   YOOLAND — checkout, auth & waiver components
   (ported from the Giggle Jungle system; light 'boarding pass'
   cards on the dark cosmos)
   ============================================================ */
:root{
  --teal:#7C3AED; --teal-deep:#5B21B6; --lav:#A21CAF; --lav-deep:#86198F;
  --lav-pale:#F3EDFF; --sky:#FFD76A; --signal:#FFD76A; --pink:#DB2777;
  --white:#FFFFFF; --chalk:#FBFAFF; --ballpit:#F3F0FB; --paynow:#7C1A78;
  --card-ink:#241A3E; --card-ink-soft:#5A4F7A;
  --pine-2:#2E1065; --chalk:#FBFAFF; --grad-sign:linear-gradient(92deg,#7C3AED,#DB2777);
}
/* copied GJ rules below reference --ink/--ink-soft for text on light cards.
   Scope them to the light components so the dark page text is unaffected. */
.checkout,.modal,.detail-panel,.price-card,.card,.success-panel{ --ink:#241A3E; --ink-soft:#5A4F7A; color:var(--ink) }
.checkout{background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(5,2,18,.6)}
.card{background:#fff}
.modal{color:var(--ink)}
.modal a{color:var(--teal)}
.checkout a{color:var(--teal)}
.detail-panel{--white:#fff}
.price-card .price{color:var(--teal-deep)}
.qty button{background:var(--teal);color:#fff;border:none;width:38px;height:38px;border-radius:11px;font-size:1.2rem;cursor:pointer}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.8rem; color: var(--chalk); }

/* ---------- BUTTONS · SIGN PLATES ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .98rem;
  letter-spacing: .04em;
  padding: 14px 28px; border-radius: 6px; border: none;
  transition: transform .15s cubic-bezier(.16,1,.3,1);
}
.btn:hover:not(:disabled), .btn:focus-visible { transform: translateY(-2px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-teal { background: var(--signal); color: var(--pine-2); box-shadow: 0 4px 0 #9a6708; }
.btn-teal:hover:not(:disabled) { background: #FFC64A; }
.btn-lav  { background: var(--teal); color: var(--white); box-shadow: 0 4px 0 var(--teal-deep); }
.btn-ink  { background: var(--pine-2); color: var(--chalk); box-shadow: 0 4px 0 #04150C; }
.btn-pink { background: var(--pink); color: var(--white); box-shadow: 0 4px 0 #9C2F1A; }
.btn-outline { background: transparent; border: 2px solid var(--ink); color: var(--ink); box-shadow: none; }

/* signature: neon sign treatment, like the storefront */
/* carved jungle-sign treatment (was Giggle Jungle's neon gradient) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  border-bottom: 6px solid transparent; transition: transform .2s;
}
.card:hover { transform: translateY(-6px); }
.card .icon { font-size: 2.3rem; margin-bottom: 10px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card.b-teal { border-bottom-color: var(--teal); }
.card.b-lav  { border-bottom-color: var(--lav); }
.card.b-pink { border-bottom-color: var(--pink); }
.card.b-sky  { border-bottom-color: var(--sky); }
.price-card { text-align: center; position: relative; }
.price-card .price { font-family: 'Baloo 2', sans-serif; font-size: 2.8rem; font-weight: 800; }
.price-card .note { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--pink); color: var(--white);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .85rem;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card.selectable { cursor: pointer; border: 3px solid transparent; }
.price-card.selectable.selected { border-color: var(--teal); box-shadow: 0 8px 24px rgba(30,91,61,.35); }

.qty { display: flex; align-items: center; gap: 10px; justify-content: center; }
.qty button {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--teal); color: var(--white); font-size: 1.35rem; font-weight: 800; line-height: 1;
}
.qty button:disabled { background: #CBD8DF; cursor: not-allowed; }
.qty .qty-value { min-width: 28px; text-align: center; font-weight: 800; font-size: 1.15rem; }

/* ---------- CHECKOUT ---------- */
.checkout {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px;
  max-width: 600px; margin: 40px auto 0;
}
.checkout h3 { font-size: 1.4rem; margin-bottom: 16px; text-align: center; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; gap: 12px; }
.row + .row { border-top: 2px dashed #E3E8F0; }
.row .label { font-weight: 700; }
.row .muted { color: var(--ink-soft); font-size: .92rem; }
.row.total .label, .row.total .value { font-family: 'Baloo 2', sans-serif; font-size: 1.35rem; font-weight: 800; }
.checkout .btn { width: 100%; text-align: center; margin-top: 14px; }
.step-note {
  text-align: center; font-size: .92rem; color: var(--ink-soft); margin-top: 12px;
}
.step-note .done { color: var(--teal-deep); font-weight: 800; }

/* ---------- QR PANEL ---------- */
.qr-panel { text-align: center; margin-top: 26px; display: none; }
.qr-panel.show { display: block; }
.qr-box { display: inline-block; background: var(--white); padding: 18px; border-radius: var(--radius); border: 3px solid var(--paynow); }
.paynow-tag { font-family: 'Baloo 2', sans-serif; font-weight: 800; color: var(--paynow); margin-top: 10px; }
.ref { font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }
.qr-steps { text-align: left; max-width: 440px; margin: 18px auto 0; color: var(--ink-soft); font-size: .95rem; padding-left: 18px; }

/* ---------- WAIVER MODAL ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(44,42,74,.55); backdrop-filter: blur(3px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 4vh 16px; overflow-y: auto;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius);
  max-width: 720px; width: 100%; padding: 30px;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.modal h2 { font-size: 1.6rem; margin-bottom: 4px; }
.modal .sub { color: var(--ink-soft); margin-bottom: 16px; }
.waiver-text {
  max-height: 290px; overflow-y: auto;
  background: var(--ballpit); border: 2px solid #E3E8F0; border-radius: 14px;
  padding: 18px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 18px;
}
.waiver-text h4 { color: var(--ink); margin: 14px 0 6px; font-family: 'Baloo 2', sans-serif; font-weight: 800; }
.waiver-text h4:first-child { margin-top: 0; }
.waiver-text p { margin-bottom: 8px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .88rem; }
.field input, .field textarea {
  font-family: 'Baloo 2', sans-serif; font-size: 1rem;
  padding: 11px 14px; border: 2px solid #DDE3EC; border-radius: 12px;
  background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field .hint { font-size: .8rem; color: var(--ink-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }
.modal-actions { display: flex; gap: 12px; margin-top: 18px; }
.modal-actions .btn { flex: 1; text-align: center; }
.form-error { color: #D6336C; font-weight: 700; font-size: .9rem; margin-top: 10px; display: none; }
.form-error.show { display: block; }

/* ---------- SUCCESS PANEL ---------- */
.success-panel {
  display: none; text-align: center;
  background: #EAF4EC; border: 2px solid var(--teal); border-radius: 14px;
  padding: 20px; margin-top: 18px;
}
.success-panel.show { display: block; }
.success-panel h4 { font-family: 'Baloo 2', sans-serif; color: var(--teal-deep); font-size: 1.2rem; }

/* (GJ .strip block removed — unused on Yooland) */

/* ---------- CHILDREN ROWS ---------- */
.children-block { margin: 6px 0 14px; }
.children-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.children-head label { font-weight: 800; font-size: .88rem; }
.btn-add {
  background: var(--teal); color: var(--white); border: none; cursor: pointer;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .9rem;
  padding: 7px 16px; border-radius: 999px;
}
.btn-add:hover { background: var(--teal-deep); }
.child-row { display: grid; grid-template-columns: 1fr 90px 44px; gap: 8px; margin-bottom: 8px; }
.children-block .child-row { display: block; }
.child-row input { font-family: 'Baloo 2', sans-serif; font-size: 1rem; padding: 10px 12px; border: 2px solid #DDE3EC; border-radius: 12px; }
.child-row input:focus { outline: none; border-color: var(--teal); }
.child-remove { border: none; background: #F6E2D6; color: #B4432A; border-radius: 12px; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.child-remove:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- REUSE BANNER ---------- */
.reuse-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #EAF4EC; border: 2px solid var(--teal); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 16px; font-size: .92rem;
}
.reuse-banner .btn { padding: 9px 18px; white-space: nowrap; }

/* ---------- OPERATING HOURS ---------- */
.hours-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; max-width: 460px;
}
.hours-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.hours-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 1rem; }
.hours-row + .hours-row { border-top: 1px solid #EEF1F6; }
.hours-row .day { font-weight: 700; }
.hours-row.today { background: var(--ballpit); border-radius: 10px; padding: 9px 12px; margin: 2px -12px; }
.hours-row.today .day::after { content: " · Today"; color: var(--teal-deep); font-weight: 800; }
.hours-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }

/* ---------- SINGLE TICKET DETAIL PANEL ---------- */
.ticket-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.detail-panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: sticky; top: 86px; }
.detail-panel h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.detail-panel h3:first-child { margin-top: 0; }
.detail-panel ul { list-style: none; margin: 0; }
.detail-panel li { position: relative; padding-left: 24px; margin-bottom: 7px; font-size: .92rem; color: var(--ink-soft); }
.detail-panel li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.detail-panel li.no::before { content: "✕"; color: #C2407C; }
.detail-panel .accordion { border-top: 1px solid #EEF1F6; }
.detail-panel .accordion summary { cursor: pointer; font-family: 'Baloo 2', sans-serif; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; }
.detail-panel .accordion summary::-webkit-details-marker { display: none; }
.detail-panel .accordion summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; }
.detail-panel .accordion[open] summary::after { content: "–"; }
.detail-panel .accordion .body { font-size: .9rem; color: var(--ink-soft); padding-bottom: 12px; }
.detail-panel .accordion .body p { margin-bottom: 6px; }

/* ---------- BIRTHDAY BOOKING CONSOLE ---------- */

.console { display: grid; grid-template-columns: 320px 1fr 300px; gap: 20px; align-items: start; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.panel h3 { font-size: 1.1rem; margin-bottom: 12px; }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head button { border: none; background: var(--ballpit); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.cal-head .mon { font-family: 'Baloo 2', sans-serif; font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-grid .dow { text-align: center; font-size: .7rem; font-weight: 800; color: var(--ink-soft); padding: 4px 0; }
.cal-day { aspect-ratio: 1; border: none; background: var(--ballpit); border-radius: 9px; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--ink); }
.cal-day:hover:not(:disabled) { background: var(--lav-pale); }
.cal-day.sel { background: var(--teal); color: var(--white); }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day:disabled { color: #C6D0DC; cursor: not-allowed; }
.cal-day.wknd:not(.sel):not(:disabled) { box-shadow: inset 0 -3px 0 var(--pink); }

.slot-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.slot { border: 2px solid #DDE3EC; background: var(--white); border-radius: 12px; padding: 11px 14px; cursor: pointer; font-weight: 700; text-align: left; font-family: 'Baloo 2', sans-serif; }
.slot:hover { border-color: var(--teal); }
.slot.sel { border-color: var(--teal); background: #EAF4EC; }
.slot.muted { color: var(--ink-soft); }

/* package selector */
.pkg { border: 2px solid #DDE3EC; border-radius: 14px; padding: 12px 14px; cursor: pointer; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.pkg:hover { border-color: var(--lav); }
.pkg.sel { border-color: var(--lav); background: #F5EBDD; }
.pkg .pkg-name { font-weight: 800; }
.pkg .pkg-sub { font-size: .85rem; color: var(--ink-soft); }
.pkg .pkg-price { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.25rem; }

.addon-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.addon-row + .addon-row { border-top: 1px dashed #E3E8F0; }
.addon-row .a-label { font-weight: 700; font-size: .92rem; }
.addon-row .a-sub { font-size: .8rem; color: var(--ink-soft); }

@media (max-width: 600px) {
  .contents-grid { grid-template-columns: 1fr; }
  .hours-flex { grid-template-columns: 1fr; }
}

/* tickets: order box + detail panel side by side */
.ticket-layout .left-col .checkout { max-width: none; margin: 0; }
.ticket-layout { margin-top: 30px; }

/* ---------- v4: DOB, tick-all, minor popup ---------- */
.check-all { background: var(--ballpit); border: 2px solid var(--teal); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.child-dob { font-family: 'Baloo 2', sans-serif; font-size: .95rem; padding: 10px 12px; border: 2px solid #DDE3EC; border-radius: 12px; color: var(--ink); }
.child-dob:focus { outline: none; border-color: var(--teal); }

.mini-pop { position: absolute; inset: 0; background: rgba(44,42,74,.45); display: none; align-items: center; justify-content: center; border-radius: var(--radius); padding: 20px; z-index: 5; }
.mini-pop.show { display: flex; }
.mini-pop-card { background: var(--white); border-radius: 18px; padding: 26px; max-width: 360px; text-align: center; box-shadow: 0 16px 44px rgba(0,0,0,.28); }
.mini-pop-emoji { font-size: 2.6rem; }
.mini-pop-card h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.mini-pop-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }
.mini-pop-card .btn { width: 100%; }

/* the modal needs relative positioning so the popup overlays it */
.modal { position: relative; }

/* mandatory socks callout on tickets */
.socks-note { background: #FDF0E8; border: 2px solid var(--pink); border-radius: 14px; padding: 12px 16px; margin: 16px 0; font-size: .95rem; color: var(--ink); }

/* ---------- v5: fix field overflow + auth UI ---------- */
/* grid/flex children must allow shrinking, and inputs must fill their cell */
.field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.modal-narrow { max-width: 440px; }

/* phone row: country code + number */
.phone-row { display: grid; grid-template-columns: 128px 1fr; gap: 8px; }
.phone-row select { font-family: 'Baloo 2', sans-serif; font-size: 1rem; padding: 11px 8px; border: 2px solid #DDE3EC; border-radius: 12px; background: var(--white); color: var(--ink); }
.phone-row select:focus { outline: none; border-color: var(--teal); }

/* account dropdown summary */
.acct-pop { min-width: 268px; max-width: 300px; }
.child-dob-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; }
.child-dob-row select { width: 100%; min-width: 0; font-family: 'Sora', sans-serif; font-size: .95rem; padding: 10px 8px;
  border: 2px solid #DDE3EC; border-radius: 10px; background: #fff; color: var(--ink); -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235A5878' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; padding-right: 24px; }
.child-dob-row select:focus { outline: none; border-color: var(--teal); }
.child-remove { flex: 0 0 auto; }

/* ---------- v9: groups mini date-picker ---------- */
.grp-cal { border: 2px solid var(--lav-pale); border-radius: 14px; padding: 12px; }
.cal-nav { border: none; background: var(--ballpit); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.grp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.grp-dow { text-align: center; font-size: .7rem; font-weight: 800; color: var(--ink-soft); padding: 3px 0; }
.grp-day { aspect-ratio: 1; border: 1px solid #E7E9F2; border-radius: 8px; background: #fff; cursor: pointer; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .85rem; color: var(--ink); }
.grp-day:hover:not(:disabled) { border-color: var(--teal); }
.grp-day:disabled { opacity: .35; cursor: not-allowed; }
.grp-day.sel { background: var(--teal); color: #fff; border-color: var(--teal); }
.grp-day.ph { background: #FBF3E4; }

/* ---------- v10: legal / policy pages ---------- */
.legal { max-width: 820px; }
.legal h3 { font-family: 'Baloo 2', sans-serif; font-size: 1.15rem; color: var(--ink); margin: 26px 0 8px; }
.legal h3:first-of-type { margin-top: 8px; }
.legal p { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.75; }
.legal ul { margin: 0 0 14px 0; padding-left: 0; list-style: none; }
.legal li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-soft); line-height: 1.65; }
.legal li::before { content: "•"; position: absolute; left: 4px; color: var(--teal); font-weight: 800; }
.legal .intro { background: var(--ballpit); border-radius: 14px; padding: 16px 18px; font-size: .95rem; }
.legal .updated { font-size: .85rem; color: var(--ink-soft); margin-top: 30px; font-style: italic; }


/* ---------- v10: waiver DOB field + calendar popup ---------- */
.dob-field { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: 'Baloo 2', sans-serif; font-size: 1rem; padding: 13px 15px; border: 2px solid #DDE3EC;
  border-radius: 12px; background: #fff; color: var(--ink-soft); cursor: pointer; text-align: left; }
.dob-field.has { color: var(--ink); font-weight: 700; }
.dob-field:hover { border-color: var(--teal); }
.dob-field.active { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,91,61,.18); }
.dob-field .dob-ic { font-size: 1.05rem; }
.dob-cal { margin-top: 8px; border: 2px solid var(--lav-pale); border-radius: 14px; padding: 12px; background: #fff; box-shadow: 0 8px 24px rgba(44,42,74,.10); }
.dob-cal-head { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.dob-cal-head .cal-title { flex: 1; text-align: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1rem; color: var(--ink); }
.dob-cal .cal-nav { border: none; background: var(--ballpit); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-weight: 800; color: var(--ink); font-size: 1rem; }
.dob-cal .cal-nav:hover:not(:disabled) { background: var(--lav-pale); }
.dob-cal .cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.dob-cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-bottom: 4px; }
.dob-cal-dow span { text-align: center; font-size: .68rem; font-weight: 800; color: var(--ink-soft); }
.dob-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dob-cal-grid .cal-day { aspect-ratio: 1; border: none; background: transparent; border-radius: 8px; cursor: pointer;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .88rem; color: var(--ink); }
.dob-cal-grid .cal-day:hover:not(:disabled) { background: var(--lav-pale); }
.dob-cal-grid .cal-day.sel { background: var(--teal); color: #fff; }
.dob-cal-grid .cal-day:disabled { opacity: .25; cursor: not-allowed; }

/* Event announcements (shown under the header on every page) */
.event-notice{margin:14px auto 0;border-radius:14px;padding:12px 18px;background:#fff;border:1px solid #E6DFF6;box-shadow:0 6px 18px rgba(44,42,74,.07)}
.event-notice .ev{display:flex;gap:10px;align-items:flex-start;margin:5px 0;font-size:.94rem;line-height:1.45;color:var(--ink)}
.event-notice .ev .ico{font-size:1.05rem;line-height:1.4}
.event-notice .ev.closed{color:#9C4407}
.event-notice .ev.open{color:#14614A}
.event-notice .ev-title{font-weight:800;margin:0 0 4px;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft)}

/* ---------- v37: keyboard-focus visibility (accessibility) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px;
}



@media (max-width: 900px){ .ticket-layout{grid-template-columns:1fr} .detail-panel{position:static} .grid-3{grid-template-columns:1fr 1fr} }
@media (max-width: 640px){ .grid-3{grid-template-columns:1fr} .field-grid{grid-template-columns:1fr} .modal{padding:22px} }

/* ---- Yooland fixes: light form controls inside light modals/checkout ---- */
.modal input, .modal select, .modal textarea,
.checkout input, .checkout select, .checkout textarea{
  background:#fff;color:#241A3E;border:2px solid #DDE3EC;border-radius:12px;
  padding:10px 12px;font-family:'Sora',system-ui,sans-serif;font-size:1rem;color-scheme:light}
.modal input:focus, .modal select:focus, .modal textarea:focus{outline:none;border-color:var(--teal)}
.modal ::placeholder{color:#9A92B5}
.child-row input{color:#241A3E;background:#fff}
.btn-add{background:var(--teal);color:#fff;border:none;border-radius:999px;
  padding:5px 12px;font-weight:700;font-size:.82rem;cursor:pointer;font-family:'Baloo 2',sans-serif}
.child-remove{background:#F3EDFF;color:#7C3AED;border:none;border-radius:8px;width:28px;height:28px;cursor:pointer;font-weight:800}
.mini-pop-card{background:#fff;border-radius:16px;padding:20px;max-width:340px;text-align:center;color:#241A3E;box-shadow:0 20px 60px rgba(5,2,18,.4)}
.mini-pop.show{display:flex}

/* ---- v6: card blurbs + centered checkout flow ---- */
.vip-card .desc{color:var(--card-ink-soft, #BCAEDE);font-size:.92rem;margin-top:.7rem;line-height:1.55}
#ticket-grid .vip-card .desc{color:#BCAEDE}
.flow{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:24px 0 18px}
.flow-chip{display:inline-flex;align-items:center;gap:10px;background:var(--lav-pale);border:1.5px solid #E4D9FB;
  border-radius:999px;padding:8px 18px 8px 10px;font-weight:700;font-size:.92rem;color:var(--card-ink,#241A3E)}
.flow-chip .n{width:30px;height:30px;border-radius:50%;background:var(--teal);color:#fff;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;font-family:'Baloo 2',sans-serif;font-weight:800}
.flow-arrow{color:#B9AEDA;font-size:1.05rem}
.checkout-actions{max-width:460px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.checkout-actions .btn{width:100%;margin-top:0}
.benefits-box ul{display:inline-block;text-align:left}
.benefits-box{text-align:center}
@media(max-width:640px){.flow-arrow{display:none}.flow{gap:8px}}


/* ---- v7: child name + birthday on one line (65/35) ---- */
.child-row{display:grid !important;grid-template-columns:65fr 35fr;gap:8px;align-items:start;margin-bottom:8px}
.child-row .child-main{display:flex;gap:6px;min-width:0}
.child-row .child-main .child-name{flex:1;min-width:0}
.child-row .dob-field{width:100%;min-width:0;display:flex;justify-content:space-between;align-items:center;
  gap:6px;padding:10px 10px;font-size:.88rem;white-space:nowrap;overflow:hidden}
.child-row .dob-field span:first-child{overflow:hidden;text-overflow:ellipsis}
.child-row .dob-cal{grid-column:1 / -1}
@media(max-width:430px){.child-row{grid-template-columns:60fr 40fr}}

/* ---- v7: booking-paused notice + premium stepper ---- */
.ck-pause{display:flex;gap:14px;align-items:flex-start;background:linear-gradient(135deg,#F6F1FF,#FDF3FA);
  border:1.5px solid #E4D3FA;border-radius:16px;padding:16px 18px;margin:20px 0 6px}
.ck-pause-ic{font-size:1.6rem;line-height:1;margin-top:2px}
.ck-pause b{font-family:'Baloo 2',sans-serif;font-size:1.02rem;color:#4C1D95;display:block;margin-bottom:2px}
.ck-pause p{font-size:.9rem;color:#5A4F7A;margin:0;max-width:none}
.ck-pause a{color:#7C3AED;font-weight:700}

.stepper{position:relative;display:grid;grid-template-columns:repeat(3,1fr);max-width:520px;margin:26px auto 20px}
.stepper-track{position:absolute;top:23px;left:calc(100%/6);right:calc(100%/6);height:3.5px;
  background:#EDE7FA;border-radius:99px;overflow:hidden}
.stepper-track i{display:block;height:100%;width:0;border-radius:99px;
  background:linear-gradient(90deg,#7C3AED,#DB2777);transition:width .6s cubic-bezier(.165,.84,.44,1)}
.step{position:relative;z-index:1;text-align:center}
.step .dot{width:46px;height:46px;border-radius:50%;background:#fff;border:2.5px solid #E4D9FB;
  display:inline-flex;align-items:center;justify-content:center;font-size:1.15rem;
  box-shadow:0 5px 14px rgba(36,26,62,.1);transition:border-color .3s,background .3s,box-shadow .3s}
.step b{display:block;margin-top:9px;font-family:'Baloo 2',sans-serif;font-weight:700;font-size:.95rem;color:#241A3E}
.step small{display:block;color:#8A7FA8;font-size:.75rem;line-height:1.35;margin-top:1px}
.step.active .dot{border-color:#7C3AED;box-shadow:0 0 0 5px rgba(124,58,237,.14),0 5px 14px rgba(36,26,62,.1)}
.step.active b{color:#5B21B6}
.step.done .dot{background:linear-gradient(160deg,#8B5CF6,#6D28D9);border-color:#6D28D9;color:#fff;font-weight:800}
@media(max-width:430px){
  .step small{display:none}
  .step .dot{width:40px;height:40px;font-size:1rem}
  .stepper-track{top:20px}
}
