/* ============================================================
   Arayat Sports Center — guest views (home, booking wizard, lookup, ticket)
   Builds on tokens/components in styles.css
   ============================================================ */

.g-page { min-height: 100dvh; display: flex; flex-direction: column; }
.g-main { flex: 1 0 auto; outline: none; }
.g-main section[id^="sec-"] { scroll-margin-top: calc(var(--header-h) + 12px); }

.g-skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--blue-700); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.g-skip:focus { top: 10px; }

/* ---------- header ---------- */
.g-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s, background .2s;
  padding-top: env(safe-area-inset-top, 0px);
}
.g-header.is-scrolled, .g-header.menu-open { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(4, 35, 122, .35); background: rgba(255, 255, 255, .94); }
.g-header-in { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.g-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex: none; min-height: 44px; }
.g-brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 4px 12px -4px rgba(10, 54, 176, .5); }
.g-brand-txt { display: flex; flex-direction: column; line-height: 1; }
.g-brand-txt b { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; color: var(--blue-700); }
.g-brand-txt small { font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-500); margin-top: 3px; }
.g-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.g-nav a { color: var(--ink-2); font-weight: 600; font-size: .92rem; padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: color .15s, background .15s; }
.g-nav a:hover, .g-nav a.is-active { color: var(--blue-700); background: var(--blue-50); }
.g-header-cta { display: flex; align-items: center; gap: 6px; }
.g-book-btn { --bh: 40px; padding: 0 16px; }
.g-menu-btn { display: none; color: var(--ink); }
.g-mnav { border-top: 1px solid var(--line); background: #fff; padding: 8px 0 16px; animation: g-drop .18s ease; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.g-mnav a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.02rem; text-decoration: none; }
.g-mnav a:not(.btn) svg { color: var(--ink-3); }
.g-mnav .btn { margin-top: 16px; }
.g-mnav a.g-mnav-call { justify-content: center; gap: 8px; border: 0; color: var(--blue-700); font-size: .95rem; }
@keyframes g-drop { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 959px) {
  .g-nav { display: none; }
  .g-header-cta { margin-left: auto; }
  .g-menu-btn { display: inline-flex; }
}
@media (min-width: 960px) { .g-mnav { display: none !important; } }
@media (max-width: 380px) { .g-brand-txt small { display: none; } .g-book-btn { padding: 0 12px; } }

/* ---------- hero ---------- */
.g-hero { position: relative; overflow: hidden; padding: 56px 0 72px; isolation: isolate; }
.g-hero-dots { position: absolute; inset: 0; z-index: -1; opacity: .5; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.g-hero-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 123, 32, .45), transparent 65%); filter: blur(10px); }
.g-hero-in { display: grid; gap: 40px; align-items: center; }
.g-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: .85rem; margin-bottom: 18px; }
.g-live { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62, 224, 143, .6); animation: g-pulse 2s infinite; }
@keyframes g-pulse { 70% { box-shadow: 0 0 0 8px rgba(62, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0); } }
.g-hero h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .98; margin-bottom: 18px; text-wrap: balance; }
.g-hl { color: var(--orange-500); position: relative; }
.g-lead { font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 28px; }
.g-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.g-btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.g-btn-glass:hover { background: rgba(255, 255, 255, .2); }
.g-hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .9rem; }
.g-hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.g-hero-facts svg { color: var(--orange-500); }
.g-hero-art { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.g-hero-card { border-radius: 28px; overflow: hidden; background: var(--blue-700); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .15); transform: rotate(-2deg); transition: transform .4s ease; }
.g-hero-card:hover { transform: rotate(0); }
.g-hero-card img { width: 100%; height: auto; aspect-ratio: 1942 / 809; object-fit: cover; transform: scale(1.2); }
.g-float { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-weight: 700; display: flex; align-items: center; gap: 6px; animation: g-float 5s ease-in-out infinite; }
.g-float-a { left: -6px; bottom: -22px; flex-direction: column; align-items: flex-start; gap: 0; }
.g-float-b { right: 4px; top: -18px; font-size: .85rem; color: var(--blue-700); animation-delay: -2.5s; }
.g-float-k { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.g-float-v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--blue-700); line-height: 1.1; }
.g-float-v small { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
@keyframes g-float { 50% { transform: translateY(-6px); } }
@media (min-width: 900px) {
  .g-hero { padding: 80px 0 104px; }
  .g-hero-in { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}
@media (max-width: 599px) {
  .g-hero { padding: 36px 0 60px; }
  .g-hero-ctas .btn { flex: 1 1 100%; }
  .g-hero-art { max-width: 400px; margin-top: 8px; }
}

/* ---------- sections ---------- */
.g-sec { padding: 64px 0; }
@media (max-width: 599px) { .g-sec { padding: 48px 0; } }
.g-sec-head { margin-bottom: 28px; max-width: 680px; }
.g-sec-head h2 { margin-top: 6px; }
.g-sec-head p { margin: 6px 0 0; }
.g-sec-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.g-sub-head { margin: 40px 0 16px; }
.g-sub-head h3 { font-size: 1.35rem; margin-bottom: 2px; }
.g-sub-head p { margin: 0; }

/* sports */
.g-sports-sec { padding-top: 56px; }
.g-sports { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.g-sport { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; color: var(--ink); text-decoration: none !important; overflow: hidden; min-height: 170px; }
.g-sport::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--blue-50), transparent 70%); transition: transform .3s; }
.g-sport:hover::after { transform: scale(1.4); }
.g-sport-ico { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.9rem; border-radius: 16px; background: linear-gradient(145deg, var(--blue-50), var(--blue-100)); position: relative; z-index: 1; }
.g-sport-body { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.g-sport-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.g-sport-meta { font-size: .85rem; color: var(--ink-3); }
.g-sport-go { position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-700); color: #fff; transform: translateX(-4px); opacity: .9; transition: transform .2s, background .2s; z-index: 1; }
.g-sport:hover .g-sport-go { transform: none; background: var(--orange-500); }
@media (max-width: 599px) {
  .g-sports { grid-template-columns: 1fr; gap: 10px; }
  .g-sport { flex-direction: row; align-items: center; min-height: 0; padding: 16px; padding-right: 60px; }
  .g-sport-go { top: 50%; bottom: auto; transform: translateY(-50%); }
  .g-sport:hover .g-sport-go { transform: translateY(-50%); }
}

/* availability strip */
.g-avail-sec { background: linear-gradient(180deg, var(--bg), #fff); }
.g-avail { padding: 20px; }
.av-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.ts-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .ts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.ts-col { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.ts-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--blue-50); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: .95rem; }
.ts-head strong { flex: 1; min-width: 0; }
.ts-count { font-family: var(--font); font-size: .72rem; font-weight: 700; color: var(--ink-3); background: var(--muted-bg); padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.ts-count.has-open { color: var(--ok); background: var(--ok-bg); }
.ts-col.is-past { opacity: .6; }
.ts-col.is-past .ts-head { border-bottom: 0; background: var(--muted-bg); }
.ts-list { list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; }
.ts-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none !important; font-size: .88rem; }
.ts-time { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ts-pill { display: inline-flex; align-items: center; gap: 2px; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.ts-open { background: var(--ok-bg); transition: background .15s, transform .1s; }
.ts-open .ts-pill { background: var(--ok); color: #fff; }
a.ts-open:hover { background: #d2f0df; }
a.ts-open:active { transform: scale(.99); }
.ts-full .ts-pill { background: var(--danger-bg); color: var(--danger); }
.ts-closed .ts-pill { background: var(--muted-bg); color: var(--ink-2); }
.ts-full .ts-time, .ts-closed .ts-time { color: var(--ink-3); }
.ts-past { opacity: .5; }
.ts-past .ts-pill { background: var(--muted-bg); color: var(--ink-3); }
.ts-past .ts-time { text-decoration: line-through; color: var(--ink-3); }
.av-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.av-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 6px; border-radius: 9px; display: inline-block; }
.lg-free { background: #33c27f; } .lg-limited { background: var(--orange-500); } .lg-full { background: var(--danger); } .lg-past { background: var(--line-2); }
.g-avail-note { margin: 12px 2px 0; }
.seg button { min-height: 40px; }

/* rates */
.g-rates { display: grid; gap: 16px; }
@media (min-width: 900px) { .g-rates { grid-template-columns: 1.5fr 1fr; } }
.g-rate { padding: 22px; overflow: hidden; }
.g-rate-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.g-rate-head h3 { font-size: 1.35rem; margin: 2px 0 2px; }
.g-rate-head p { margin: 0; }
.g-rate-ico { font-size: 1.5rem; padding: 10px 12px; border-radius: 14px; background: var(--blue-50); white-space: nowrap; letter-spacing: 2px; }
.g-rate-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 320px; }
.g-rate-table th, .g-rate-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.g-rate-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; background: var(--blue-50); }
.g-rate-table thead th:first-child { border-radius: 10px 0 0 10px; } .g-rate-table thead th:last-child { border-radius: 0 10px 10px 0; }
.g-rate-table thead th svg { vertical-align: -2px; color: var(--blue-600); }
.g-rate-table tbody tr:last-child > * { border-bottom: 0; }
.g-rt { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.g-pax { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.g-price { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--blue-700); }
.g-price small { font-size: .7rem; color: var(--ink-3); font-family: var(--font); font-weight: 600; text-transform: uppercase; }
.g-price-xl { font-size: 2.6rem; }
.g-per { font-size: .8rem; color: var(--ink-3); font-weight: 600; margin-left: 2px; }
.g-rate-split { background: linear-gradient(160deg, #fff 40%, var(--orange-100)); }
.g-split-price { margin: 4px 0 8px; }
.g-courts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.g-courts span { border: 2px solid var(--blue-700); border-radius: 8px; text-align: center; padding: 14px 0; font-family: var(--font-display); font-weight: 700; color: var(--blue-700); font-size: .85rem; background: repeating-linear-gradient(90deg, transparent 0 48%, rgba(10, 54, 176, .25) 48% 52%, transparent 52%); }
.g-addons { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g-addon { display: flex; align-items: center; gap: 14px; padding: 16px; }
.g-addon-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--orange-100); font-size: 1.4rem; }
.g-addon-price { text-align: right; white-space: nowrap; }
.g-addon-price .g-price { font-size: 1.15rem; }
.g-addon-price .g-per { display: block; }
.g-flyer { width: 100%; border-radius: 14px; }

/* facilities */
.g-facil-sec { background: var(--blue-950); color: #fff; position: relative; overflow: hidden; }
.g-facil-sec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 0% 0%, rgba(47, 95, 224, .45), transparent 60%), radial-gradient(600px 300px at 100% 100%, rgba(244, 123, 32, .25), transparent 60%); }
.g-facil-sec .container { position: relative; }
.g-facils { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.g-facil { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, transform .2s; }
.g-facil:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.g-facil h3 { margin: 14px 0 6px; }
.g-facil p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.g-facil-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--orange-500); color: #fff; }

/* how it works */
.g-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.g-step { position: relative; padding: 22px; }
.g-step h3 { margin: 12px 0 6px; }
.g-step p { margin: 0; }
.g-step-n { position: absolute; top: 16px; right: 18px; font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--blue-100); }
.g-step-e { font-size: 1.8rem; }
.g-cta-band { position: relative; overflow: hidden; margin-top: 32px; border-radius: var(--radius-lg); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.g-cta-band > * { position: relative; }
.g-cta-band h2 { margin: 0 0 4px; }
.g-cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.g-cta-dots { position: absolute !important; inset: 0; opacity: .4; }
@media (max-width: 599px) { .g-cta-band { padding: 24px; } .g-cta-band .btn { width: 100%; } }

/* location */
.g-loc { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .g-loc { grid-template-columns: 1fr 1fr; gap: 48px; } }
.g-loc-list { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 14px; }
.g-loc-list li { display: flex; gap: 14px; align-items: flex-start; }
.g-loc-list li > svg { flex: none; color: var(--blue-700); background: var(--blue-50); padding: 9px; width: 40px; height: 40px; border-radius: 12px; }
.g-loc-list li div { display: flex; flex-direction: column; }
.g-loc-list strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.g-loc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { .g-loc-btns .btn { flex: 1 1 100%; } }
.g-social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.g-social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); min-height: 44px; }
.g-social a:hover { color: var(--blue-700); }
.g-map { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: #e8eefc; box-shadow: var(--shadow); text-decoration: none !important; border: 1px solid var(--line); }
.g-map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(10, 54, 176, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 54, 176, .07) 1px, transparent 1px); background-size: 28px 28px; }
.g-map-road { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(10, 54, 176, .08); }
.g-map-road.r1 { left: -10%; right: -10%; top: 44%; height: 22px; transform: rotate(-8deg); }
.g-map-road.r2 { top: -10%; bottom: -10%; left: 58%; width: 18px; transform: rotate(12deg); }
.g-map-road.r3 { left: -10%; right: 30%; top: 72%; height: 12px; transform: rotate(4deg); background: #ffe7cf; }
.g-map-pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); width: 64px; height: 64px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--blue-700); display: grid; place-items: center; box-shadow: 0 14px 24px -8px rgba(4, 35, 122, .6); animation: g-float 4s ease-in-out infinite; }
.g-map-pin img { width: 50px; height: 50px; border-radius: 50%; rotate: 45deg; }
.g-map-label { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 14px; padding: 12px 14px; color: var(--ink); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.g-map-label small { color: var(--blue-600); font-weight: 700; margin-top: 2px; }

/* ---------- footer ---------- */
.g-footer { padding: 48px 0 calc(24px + var(--safe-b)); margin-top: auto; }
.g-footer-in { display: grid; gap: 28px; }
@media (min-width: 900px) { .g-footer-in { grid-template-columns: 1fr 2fr; } }
.g-footer-brand { display: flex; gap: 14px; align-items: center; }
.g-footer-brand img { border-radius: 50%; }
.g-footer-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.g-footer-sub { color: rgba(255, 255, 255, .7); font-size: .88rem; }
.g-footer-cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); font-size: .9rem; line-height: 2; }
.g-footer-h { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--orange-500); margin-bottom: 4px; }
.g-footer a { color: rgba(255, 255, 255, .88); }
.g-footer a:hover { color: #fff; }
.g-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.g-footer a.g-staff-link { color: rgba(255, 255, 255, .55); }

/* ============================================================
   Booking wizard
   ============================================================ */
.wz-hero { position: relative; overflow: hidden; padding: 28px 0 72px; }
.wz-hero-dots { position: absolute; inset: 0; opacity: .35; }
.wz-hero-in { position: relative; display: grid; gap: 18px; }
.wz-h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 900; text-transform: uppercase; margin: 4px 0 0; }
.wz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wz-si button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0; background: none; border: 0; color: rgba(255, 255, 255, .6); text-align: left; cursor: pointer; min-height: 44px; }
.wz-si button:disabled { cursor: default; }
.wz-si button::before { content: ''; display: block; width: 100%; height: 4px; border-radius: 9px; background: rgba(255, 255, 255, .2); transition: background .3s; }
.wz-si-done button::before { background: rgba(255, 255, 255, .75); }
.wz-si-current button::before { background: var(--orange-500); }
.wz-si-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .75rem; font-weight: 800; background: rgba(255, 255, 255, .15); color: #fff; flex: none; }
.wz-si button { flex-direction: row; flex-wrap: wrap; align-items: center; }
.wz-si button::before { flex: 1 1 100%; }
.wz-si-t { font-size: .82rem; font-weight: 600; }
.wz-si-current button { color: #fff; }
.wz-si-current .wz-si-n { background: var(--orange-500); }
.wz-si-done .wz-si-n { background: #fff; color: var(--blue-700); }
.wz-si-done button:not(:disabled):hover { color: #fff; }
@media (max-width: 719px) {
  .wz-si-t { display: none; }
  .wz-si-current .wz-si-t { display: block; position: absolute; left: 0; top: calc(100% + 4px); white-space: nowrap; font-size: .9rem; }
  .wz-steps { position: relative; margin-bottom: 26px; }
  .wz-hero { padding-bottom: 78px; }
}

.wz-layout { position: relative; margin-top: -48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 48px; }
.wz-main { min-width: 0; }
.wz-card { padding: 24px; box-shadow: var(--shadow); min-height: 300px; }
@media (max-width: 599px) { .wz-card { padding: 18px 16px; border-radius: 20px; } }
.wz-anim { animation: wz-in .28s ease; }
@keyframes wz-in { from { opacity: 0; transform: translateX(10px); } }
.wz-step-head { margin-bottom: 20px; }
.wz-step-head h2 { margin-bottom: 4px; outline: none; }
.wz-step-head p { margin: 0; }
.wz-block { margin-top: 26px; }
.wz-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.wz-label h3 { margin: 0; font-size: 1.08rem; }
.wz-nav { display: none; justify-content: space-between; gap: 12px; margin-top: 16px; }
.wz-side { display: none; }

@media (min-width: 1024px) {
  .wz-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .wz-side { display: block; position: sticky; top: calc(var(--header-h) + 20px); }
  .wz-nav { display: flex; }
  .wz-bar { display: none !important; }
  body.has-wz-bar { padding-bottom: 0; }
}

/* sport tiles */
.wz-sports { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.wz-sport { flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 16px; min-height: 120px; font: inherit; color: var(--ink); }
.wz-sport-ico { font-size: 1.9rem; line-height: 1; margin-bottom: 8px; }
.wz-sport-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; }
.wz-sport-sub { font-size: .78rem; color: var(--ink-3); }
.wz-check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-700); color: #fff; transform: scale(0); transition: transform .18s ease; }
.option.is-selected .wz-check { transform: scale(1); }
@media (max-width: 420px) { .wz-sports { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wz-sport { min-height: 108px; padding: 14px; } }

.wz-tiles { display: grid; gap: 10px; }
@media (min-width: 640px) { .wz-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wz-tile { align-items: center; text-align: left; font: inherit; color: var(--ink); width: 100%; min-height: 72px; }
.wz-tile-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); transition: background .15s, color .15s; }
.option.is-selected .wz-tile-ico { background: var(--blue-700); color: #fff; }
.wz-pref-aircon .wz-tile-ico { color: #0e8bd6; }
.wz-pref-fan .wz-tile-ico { color: var(--orange-600); }
.wz-tile-t { display: block; font-weight: 700; }
.wz-tile-d { display: block; font-size: .8rem; color: var(--ink-3); }
.wz-pax { display: inline-block; margin-left: 4px; font-size: .72rem; font-weight: 700; color: var(--orange-600); background: var(--orange-100); padding: 2px 8px; border-radius: 99px; vertical-align: 1px; }
.wz-tile-p { font-family: var(--font-display); font-weight: 800; color: var(--blue-700); font-size: 1.1rem; white-space: nowrap; }
.wz-tile-p small { font-size: .72rem; color: var(--ink-3); font-family: var(--font); }
.wz-courts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.wz-court-vis { display: flex; gap: 6px; }
.wz-court-vis span { width: 44px; height: 58px; border-radius: 8px; border: 2px dashed var(--line-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--ink-3); transition: all .2s; }
.wz-court-vis span.on { border: 2px solid var(--blue-700); background: var(--blue-50); color: var(--blue-700); }
.stepper output { font-size: 1.05rem; }

/* date strip */
.wz-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.wz-day { position: relative; flex: 0 0 auto; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 0 12px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; scroll-snap-align: start; transition: all .15s; }
.wz-day:hover { border-color: var(--blue-500); }
.wz-day.is-active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; box-shadow: 0 8px 18px -8px rgba(10, 54, 176, .7); }
.wz-day-w { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.wz-day-d { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.wz-day-m { font-size: .72rem; opacity: .75; }
.wz-load { position: absolute; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; }
.wz-load-free { background: #33c27f; } .wz-load-some { background: #33c27f; } .wz-load-busy { background: var(--orange-500); } .wz-load-full { background: var(--danger); }
.wz-day.is-active .wz-load { box-shadow: 0 0 0 2px #fff; }
.wz-other-date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 6px; font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.wz-other-date svg { color: var(--blue-700); }
.wz-other-date .input { width: auto; min-width: 180px; flex: 0 1 220px; min-height: 44px; padding: 8px 12px; }
.wz-durs { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-dur { min-height: 44px; padding: 0 18px; font-size: .92rem; transition: all .15s; }
.wz-dur:hover:not(.is-active) { border-color: var(--blue-500); color: var(--blue-700); }
.wz-slot-group + .wz-slot-group { margin-top: 16px; }
.wz-slot-gh { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
.wz-slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
@media (max-width: 420px) { .wz-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wz-slot { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; text-align: left; min-height: 64px; transition: all .15s; }
.wz-slot:hover:not(:disabled) { border-color: var(--blue-500); transform: translateY(-1px); }
.wz-slot-t { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.wz-slot-r { font-size: .72rem; color: var(--ink-3); }
.wz-slot-s { font-size: .72rem; font-weight: 700; color: var(--ok); margin-top: 2px; }
.wz-slot-limited .wz-slot-s { color: var(--orange-600); }
.wz-slot:disabled { background: var(--muted-bg); border-style: dashed; cursor: not-allowed; opacity: .6; }
.wz-slot:disabled .wz-slot-t { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--ink-3); }
.wz-slot:disabled .wz-slot-s { color: var(--ink-3); }
.wz-slot.is-active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; box-shadow: 0 8px 18px -8px rgba(10, 54, 176, .7); }
.wz-slot.is-active .wz-slot-r, .wz-slot.is-active .wz-slot-s { color: rgba(255, 255, 255, .85); }
.wz-empty { padding: 24px 12px; border: 1.5px dashed var(--line-2); border-radius: 14px; }
.wz-empty p { margin: 4px 0 0; }

/* add-ons */
.wz-addons { display: grid; gap: 12px; }
.wz-addon { padding: 14px 16px; transition: border-color .15s, background .15s; }
.wz-addon.is-on { border-color: var(--blue-500); background: var(--blue-50); }
.wz-addon-row { display: flex; align-items: center; gap: 14px; }
.wz-addon-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--orange-100); font-size: 1.3rem; }
.wz-addon-price { font-weight: 700; color: var(--blue-700); }
.wz-addon-calc { margin: 10px 0 0 58px; font-size: .85rem; color: var(--ink-2); }
.wz-equip { margin: 12px 0 0 58px; }
.req { color: var(--danger); }
.textarea.is-invalid { border-color: var(--danger); }
.stepper-sm { flex: none; }
@media (max-width: 479px) {
  .wz-addon-row { flex-wrap: wrap; }
  .wz-addon-row .grow { flex: 1 1 calc(100% - 60px); }
  .wz-addon-row .stepper { margin-left: 58px; }
  .wz-addon-calc, .wz-equip { margin-left: 0; }
}

/* details */
.wz-form { display: grid; gap: 16px; }
.wz-form-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .wz-form-2 { grid-template-columns: 1fr 1fr; } }

/* review */
.rv { margin: 0; padding: 4px 18px; }
.rv-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rv-row:last-child { border-bottom: 0; }
.rv-row dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; padding-top: 2px; }
.rv-row dd { margin: 0; font-weight: 600; word-break: break-word; }
.rv-edit { --bh: 32px; margin-top: -4px; color: var(--blue-600); }
@media (max-width: 479px) { .rv-row { grid-template-columns: 1fr auto; } .rv-row dd { grid-column: 1 / -1; grid-row: 2; } }
.rv-quote { margin-top: 14px; padding: 16px 18px; }
.rv-quote-h { font-weight: 700; margin-bottom: 6px; }
.rv-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--orange-100); color: #7a3c06; }
.rv-note svg { flex: none; margin-top: 2px; }
.rv-note p { margin: 0; font-size: .9rem; }
.rv-agree { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; font-size: .92rem; transition: border-color .15s, background .15s; }
.rv-agree:hover { border-color: var(--blue-500); }
.rv-agree.is-invalid { border-color: var(--danger); background: var(--danger-bg); }
.rv-agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; background: #fff; transition: all .15s; }
.rv-agree input:checked + .rv-box { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.rv-agree input:focus-visible + .rv-box { box-shadow: var(--ring); }
.rv-agree:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); }

/* quote lines (shared by summary, review, ticket) */
.q-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .88rem; color: var(--ink-2); }
.q-line span:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.q-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font-weight: 700; }
.q-total span:last-child { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--blue-700); }

/* summary sidebar */
.wz-summary { padding: 20px; box-shadow: var(--shadow); }
.wz-summary-sheet { padding: 0; box-shadow: none; }
.sm-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sm-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(145deg, var(--blue-50), var(--blue-100)); }
.sm-title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.sm-facts { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.sm-facts li { display: flex; align-items: center; gap: 8px; }
.sm-facts svg { color: var(--blue-600); flex: none; }
.sm-lines { border-top: 1px solid var(--line); padding-top: 8px; }
.sm-foot { margin: 10px 0 0; }
.sm-empty { text-align: center; padding: 20px 8px; }
.sm-empty-ico { font-size: 2.2rem; margin-bottom: 6px; }
.sm-empty p { margin: 4px 0 0; }

/* mobile bottom bar */
body.has-wz-bar { padding-bottom: calc(84px + var(--safe-b)); }
.wz-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(4, 35, 122, .4); padding: 10px var(--gutter) calc(10px + var(--safe-b)); }
.wz-bar-in { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.wz-bar-total { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; background: none; border: 0; padding: 4px 6px; text-align: left; cursor: pointer; border-radius: 10px; min-height: 44px; }
.wz-bar-total:disabled { cursor: default; }
.wz-bar-total strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 900; color: var(--blue-700); line-height: 1.1; }
.wz-bar-total .tiny { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wz-bar-next { --bh: 48px; padding: 0 22px; flex: none; }

/* ============================================================
   Booking detail (ticket) + lookup
   ============================================================ */
.bd-hero { position: relative; overflow: hidden; padding: 40px 0 96px; text-align: center; }
.bd-hero-dots { position: absolute; inset: 0; opacity: .35; }
.bd-hero-in { position: relative; }
.bd-hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; text-transform: uppercase; margin: 6px 0 10px; }
.bd-hero p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto; }
.bd-hero.is-new { padding-top: 48px; }
.bd-success-ico { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #22b26b; color: #fff; box-shadow: 0 0 0 10px rgba(34, 178, 107, .2), 0 16px 30px -10px rgba(0, 0, 0, .4); animation: bd-pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes bd-pop { from { transform: scale(.3); opacity: 0; } }
.bd-confetti { position: absolute; inset: 0; pointer-events: none; }
.bd-confetti i { position: absolute; top: -12px; left: calc(var(--i) * 5.6% + 2%); width: 8px; height: 14px; border-radius: 2px; background: var(--orange-500); opacity: 0; animation: bd-fall 2.6s ease-in calc(var(--i) * .08s) 1 forwards; }
.bd-confetti i:nth-child(3n) { background: #fff; width: 6px; height: 10px; }
.bd-confetti i:nth-child(4n) { background: #ffd23f; border-radius: 50%; width: 8px; height: 8px; }
@keyframes bd-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(320px) rotate(540deg); } }

.bd-wrap { position: relative; margin-top: -64px; padding-bottom: 56px; display: grid; gap: 16px; }
.ticket { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ticket::before { content: ''; display: block; height: 6px; background: linear-gradient(90deg, var(--blue-700), var(--blue-500) 60%, var(--orange-500)); }
.ticket-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 0; }
.ticket-sport { display: flex; gap: 14px; align-items: center; min-width: 0; }
.ticket-ico { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 1.9rem; background: linear-gradient(145deg, var(--blue-50), var(--blue-100)); }
.ticket-sport-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1.1; }
.ticket-setup { color: var(--ink-3); }
.ticket-code { padding: 18px 24px 22px; }
.ticket-k { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.ticket-code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 2px; }
.ticket-code-v { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 8vw, 2.8rem); letter-spacing: .06em; color: var(--blue-700); line-height: 1.05; user-select: all; }
.ticket-perf { position: relative; height: 0; border-top: 2px dashed var(--line-2); margin: 0 18px; }
.ticket-perf::before, .ticket-perf::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.ticket-perf::before { left: -32px; } .ticket-perf::after { right: -32px; }
.ticket-grid { margin: 0; padding: 20px 24px 6px; display: grid; gap: 16px 20px; grid-template-columns: 1fr 1fr; }
.ticket-grid .span-2 { grid-column: 1 / -1; }
.ticket-grid dt { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 3px; }
.ticket-grid dd { margin: 0; font-weight: 600; word-break: break-word; }
.ticket-mn { display: block; font-size: .78rem; color: var(--orange-600); font-weight: 600; margin-top: 2px; }
@media (max-width: 479px) { .ticket-grid { grid-template-columns: 1fr; } .ticket-top, .ticket-code, .ticket-grid { padding-left: 18px; padding-right: 18px; } .ticket-top { flex-direction: column-reverse; } }
.ticket-quote { margin: 14px 24px 22px; padding: 14px 16px; background: var(--bg); border-radius: 14px; }
@media (max-width: 479px) { .ticket-quote { margin: 14px 12px 16px; } }
.ticket-pay { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.ticket-pay .badge { margin-left: 6px; }

.bd-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--orange-100); border-color: #ffd6b0; color: #6b3605; }
.bd-note svg { flex: none; margin-top: 2px; }
.bd-note p { margin: 2px 0 0; font-size: .92rem; }
.bd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { .bd-actions .btn { flex: 1 1 calc(50% - 5px); } }
.bd-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 18px; }
.bd-contact p { margin: 2px 0 0; }
.bd-contact-btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 599px) { .bd-contact-btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; } }
.bd-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bd-empty h3 { color: var(--ink); }

.lk-form { display: grid; gap: 16px; box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); padding: 24px; }
.lk-code { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 1.15rem; }
.lk-code::placeholder { letter-spacing: .08em; }
.lk-help { margin: 0; }
.lk-recent h3 { margin: 12px 0 10px; font-size: 1.05rem; }
.lk-recent { display: grid; gap: 10px; }
.lk-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ink); text-decoration: none !important; }
.lk-item .grow { display: flex; flex-direction: column; }
.lk-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue-50); font-size: 1.3rem; }

/* ---------- print (ticket) ---------- */
@media print {
  body { background: #fff; }
  .g-header, .g-footer, .bd-actions, .bd-more, .bd-contact-btns, .bd-confetti, .g-skip, .wz-bar, .ticket-code .btn { display: none !important; }
  .bd-hero { background: none !important; color: var(--ink); padding: 0 0 12px; }
  .bd-hero p { color: var(--ink-2); }
  .bd-hero-dots, .bd-success-ico { display: none; }
  .bd-wrap { margin-top: 0; }
  .ticket { box-shadow: none; border: 1px solid var(--line-2); }
  .ticket-perf::before, .ticket-perf::after { display: none; }
  .bd-note { background: #fff; }
}

/* ============================================================
   Payments — wizard step 5 picker
   ============================================================ */
.pp { margin-top: 14px; padding: 18px; }
.pp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; margin-bottom: 14px; }
.pp-head h3 { margin: 0; font-size: 1.1rem; }
.pp-due { display: grid; justify-items: end; text-align: right; }
.pp-due-k { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.pp-due-v { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; line-height: 1.05; color: var(--orange-600); }
.pp-due-s { font-size: .8rem; color: var(--ink-2); }
@media (max-width: 479px) { .pp-due { justify-items: start; text-align: left; } }
.pp-tiles { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 0 -2px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pp-tile { flex: 0 0 auto; width: min(240px, 72vw); scroll-snap-align: start; align-items: center; min-height: 72px; padding: 12px 40px 12px 12px; text-align: left; font: inherit; color: inherit; }
.pp-tile-txt { display: flex; flex-direction: column; min-width: 0; }
.pp-tile-t { font-weight: 700; }
.pp-tile-d { font-size: .78rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-tile .wz-check { top: 50%; margin-top: -11px; }
@media (min-width: 720px) {
  .pp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); overflow: visible; }
  .pp-tile { width: auto; }
}
.pp-how { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--orange-100); color: #7a3c06; font-size: .88rem; }
.pp-how svg { flex: none; margin-top: 1px; }
.sm-pay { margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: var(--orange-100); }
.sm-pay .q-line { padding: 3px 0; }
.sm-pay .q-line:first-child span:last-child { color: var(--orange-600); }

/* ============================================================
   Payments — ticket page
   ============================================================ */
.bd-h1-sub { display: block; margin-top: 6px; font-size: clamp(1rem, 3.2vw, 1.35rem); font-weight: 700; text-transform: none; letter-spacing: 0; color: #ffd8b8; }
.bd-pay-cta { margin-top: 20px; }

.bd-layout { position: relative; margin-top: -64px; padding-bottom: 56px; display: grid; gap: 16px; max-width: 760px; }
.bd-main { display: contents; }
.bd-layout .ticket { order: 0; }
.bd-side { order: 1; min-width: 0; }
.bd-side.is-urgent { order: -1; }
.bd-layout .bd-actions, .bd-layout .bd-contact, .bd-layout .bd-more { order: 2; }
@media (min-width: 1024px) {
  .bd-layout { max-width: 1180px; grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); align-items: start; gap: 24px; }
  .bd-main { display: grid; gap: 16px; grid-column: 1; grid-row: 1; min-width: 0; }
  .bd-side, .bd-side.is-urgent { grid-column: 2; grid-row: 1; }
}

.pay-panel { padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; gap: 16px; scroll-margin-top: calc(var(--header-h) + 12px); }
.pay-panel.is-due { border-color: #ffd6b0; }
@media (max-width: 479px) { .pay-panel { padding: 16px; } }
.pay-panel h3 { font-size: 1rem; margin: 0; }
.pay-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pay-panel-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.35rem; }
.pay-panel-head h2 svg { color: var(--blue-700); }
.pay-panel-head h2:focus { outline: none; box-shadow: none; }

.pay-due-box { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(140deg, #fff7ef, var(--orange-100)); border: 1px solid #ffd6b0; }
.pay-due-k { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #8a4a10; }
.pay-due-v { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 9vw, 2.8rem); line-height: 1.05; color: var(--orange-600); }
.pay-due-s { font-size: .88rem; color: #6b3605; }
.pay-deadline { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed #f3b886; font-size: .86rem; color: #6b3605; }
.pay-deadline svg { flex: none; margin-top: 2px; }
.pay-deadline.is-late { color: var(--danger); }

.pay-state { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; }
.pay-state svg { flex: none; margin-top: 1px; }
.pay-state p { margin: 2px 0 0; font-size: .88rem; }
.pay-state-ok { background: var(--ok-bg); color: #0b6b3c; }
.pay-state-ok svg { background: var(--ok); color: #fff; border-radius: 50%; padding: 3px; width: 26px; height: 26px; }
.pay-state-info { background: var(--info-bg); color: #123f8c; }
.pay-state-warn { background: var(--orange-100); color: #6b3605; }
.pay-state-muted { background: var(--muted-bg); color: var(--ink-2); }
.pay-pulse { flex: none; width: 12px; height: 12px; margin: 5px 4px 0; border-radius: 50%; background: var(--info); box-shadow: 0 0 0 0 rgba(26, 95, 208, .5); animation: pay-pulse 1.6s infinite; }
@keyframes pay-pulse { 70% { box-shadow: 0 0 0 10px rgba(26, 95, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(26, 95, 208, 0); } }
@media (prefers-reduced-motion: reduce) { .pay-pulse, .pay-spin { animation: none; } }

.pay-sum { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-sum > div { padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.pay-sum dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.pay-sum dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.pay-sum dd.is-ok { color: var(--ok); }
.pay-sum dd.is-info { color: var(--info); }
.pay-sum .pay-sum-bal { background: var(--blue-50); }
.pay-sum .pay-sum-bal dd { color: var(--blue-700); }

.pay-actions { display: grid; gap: 14px; }
.pay-step-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; }
.pay-step-n { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-700); color: #fff; font-size: .8rem; font-weight: 800; }

.pay-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pay-tab { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font: inherit; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background .15s; }
.pay-tab .pay-chip { border-radius: 50%; }
.pay-tab:hover { border-color: var(--blue-500); }
.pay-tab.is-active { border-color: var(--blue-700); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue-700) inset; }

.pay-acct { display: grid; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg)); }
.pay-acct-head { display: flex; align-items: center; gap: 12px; }
.pay-acct-head > div { display: flex; flex-direction: column; }
.pay-acct-head strong { font-size: 1.05rem; }
.pay-acct-rows { margin: 0; display: grid; gap: 10px; }
.pay-acct-rows dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.pay-acct-rows dd { margin: 2px 0 0; font-weight: 700; word-break: break-word; }
.pay-acct-num dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.pay-num { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; letter-spacing: .04em; color: var(--blue-700); user-select: all; }
.pay-acct .btn-sm { --bh: 40px; }
.pay-qr { display: grid; justify-items: center; gap: 6px; padding: 12px; border: 1px dashed var(--line-2); border-radius: 14px; background: #fff; cursor: zoom-in; font: inherit; color: var(--ink-3); font-size: .8rem; }
.pay-qr img { width: min(220px, 100%); aspect-ratio: 1; object-fit: contain; border-radius: 8px; }
.pay-qr span { display: inline-flex; align-items: center; gap: 4px; }
.pay-instr { margin: 0; font-size: .88rem; color: var(--ink-2); white-space: pre-line; }
.pay-ref { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 10px 12px; border-radius: 12px; background: var(--blue-50); }
.pay-ref-k { grid-column: 1; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.pay-ref strong { grid-column: 1; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; letter-spacing: .06em; color: var(--blue-700); }
.pay-ref .btn { grid-column: 2; grid-row: 1 / span 2; }

.pay-form { display: grid; gap: 14px; }
.pay-form-hint { margin: -6px 0 0; }
.pay-form-2 { display: grid; gap: 14px; }
@media (min-width: 520px) { .pay-form-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pay-form-2 { grid-template-columns: 1fr; } }
.pay-amt { position: relative; }
.pay-amt span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-3); pointer-events: none; }
.pay-amt .input { padding-left: 30px; font-weight: 700; }
.pay-drop { position: relative; display: grid; justify-items: center; align-content: center; text-align: center; gap: 4px; min-height: 150px; padding: 22px 16px; border: 2px dashed var(--line-2); border-radius: 16px; background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.pay-drop:hover, .pay-drop.is-over { border-color: var(--blue-500); background: var(--blue-50); }
.pay-drop:focus-within { border-color: var(--blue-500); box-shadow: var(--ring); }
.pay-drop strong { font-size: 1rem; color: var(--blue-700); }
.pay-drop > span:not(.pay-drop-ico):not(.pay-spin) { font-size: .8rem; color: var(--ink-3); }
.pay-drop-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); margin-bottom: 4px; }
.pay-drop.is-busy { cursor: progress; }
.pay-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pay-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--blue-100); border-top-color: var(--blue-700); animation: pay-spin .8s linear infinite; margin-bottom: 4px; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
.pay-preview { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px solid var(--ok); border-radius: 16px; background: var(--ok-bg); }
.pay-preview strong { display: flex; align-items: center; gap: 6px; color: #0b6b3c; }
.pay-preview .grow { display: flex; flex-direction: column; }
.pay-thumb, .pay-hist-thumb { flex: none; padding: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; }
.pay-thumb { width: 72px; height: 72px; }
.pay-thumb img, .pay-hist-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pay-more { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pay-more > summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; font-weight: 700; color: var(--blue-700); cursor: pointer; list-style: none; border-radius: 14px; }
.pay-more > summary::-webkit-details-marker { display: none; }
.pay-more > summary svg { transition: transform .15s; }
.pay-more[open] > summary { border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; }
.pay-more[open] > summary svg { transform: rotate(45deg); }
.pay-more .pay-actions { padding: 14px; }

.pay-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-contact .btn { flex: 1 1 160px; }

.pay-hist ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pay-hist-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.pay-hist-item .pay-chip { border-radius: 50%; }
.pay-hist-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pay-hist-top strong { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.pay-hist-why { margin-top: 4px; font-size: .82rem; color: var(--danger); font-weight: 600; }
.pay-hist-rejected { background: #fffafa; border-color: #f6c9c5; }
.pay-hist-thumb { width: 52px; height: 52px; }

@media print {
  .pay-form, .pay-tabs, .pay-more > summary, .pay-qr span, .pay-acct .btn, .pay-ref .btn, .bd-pay-cta, .pay-pulse, .pay-step-h { display: none !important; }
  .pay-more { border: 0; }
  .pay-more:not([open]) { display: none; }
  .bd-layout { margin-top: 0; max-width: none; display: flex !important; flex-direction: column; gap: 14px; }
  .bd-main { display: contents !important; }
  .bd-side, .bd-side.is-urgent { order: 1 !important; }
  .pay-panel { box-shadow: none; border: 1px solid var(--line-2); break-inside: avoid; }
  .pay-due-box, .pay-state, .pay-sum > div, .pay-ref, .pay-acct { background: #fff !important; border: 1px solid var(--line-2); }
}

/* Payment pickers: wrap into a grid (no sideways scrolling), real logos at readable size */
.pp-tiles { display: grid; grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; }
.pp-tile { width: auto; }
@media (min-width: 520px) { .pp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pay-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; }
@media (min-width: 600px) { .pay-tabs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.pay-tab { min-width: 0; border-radius: 14px; padding: 6px 10px 6px 6px; }
.pay-tab > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-tab .pay-chip { border-radius: 8px; }
.pay-tab .pay-chip-logo { border-radius: 8px; }
