/* ============================================================
   MQ Customer Portal — Design System
   Mobile-first (375px). Responsive: tablet 768px, desktop 1024px.
   Sidebar nav on tablet/desktop; bottom nav on mobile.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lato:wght@300;400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  --blue:       #0A5691;
  --blue-dark:  #00567D;
  --teal:       #62CBC9;
  --orange:     #FF9E18;
  --purple:     #A45A95;
  --lime:       #B5DC79;
  --red:        #E43D30;
  --gray-bg:    #F2F4F7;
  --gray-light: #E3E7EC;
  --gray-mid:   #B0BAC7;
  --gray-dark:  #6B7280;
  --dark:       #111111;
  --white:      #FFFFFF;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 2px 12px rgba(10,86,145,0.10);
  --shadow-md:  0 4px 24px rgba(10,86,145,0.14);
  --nav-h:      64px;
  --header-h:   56px;
  --sidebar-w:  240px;
  --sidebar-w-sm: 64px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--gray-bg);
  color: var(--dark);
  min-height: 100vh;
  display: flex;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ---- Sidebar ---- */
.sidebar {
  display: none; /* hidden on mobile */
  width: var(--sidebar-w-sm);
  min-height: 100vh;
  background: var(--blue);
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 300;
  transition: width .2s;
}
.sidebar__logo {
  padding: 0 12px 24px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.sidebar__logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
/* Icon-only logo at tablet */
.sidebar__logo .logo-full { display: none; }
.sidebar__logo .logo-icon { display: block; height: 36px; }

.sidebar__nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
  border-radius: 0;
  white-space: nowrap;
  overflow: hidden;
}
.sidebar__item svg { width: 22px; height: 22px; flex-shrink: 0; }
.sidebar__item span { display: none; } /* labels hidden at tablet */
.sidebar__item:hover { background: rgba(255,255,255,.1); color: white; }
.sidebar__item.active { background: rgba(255,255,255,.15); color: white; border-left: 3px solid var(--orange); }

/* ---- Main wrapper ---- */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* ---- Page layout ---- */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 8px);
  flex: 1;
}
.page--no-nav { padding-bottom: 0; }

.scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 0;
}

/* ---- Top Header ---- */
.top-bar {
  height: var(--header-h);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-bar__logo {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar__logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.top-bar__logo svg { height: 28px; width: auto; }
.top-bar__logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--blue);
  letter-spacing: .06em;
}
.top-bar__actions { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Bottom Nav (mobile only) ---- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  display: flex;
  z-index: 200;
}
.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--gray-mid);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .15s;
  padding: 8px 4px;
}
.bottom-nav__item.active { color: var(--blue); }
.bottom-nav__item svg { width: 22px; height: 22px; }

/* ---- Sport Icons ---- */
.sport-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.sport-icon--lg {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.sport-icon--sm {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.sport-icon--event-row {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ---- Typography ---- */
.h1 { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; letter-spacing: .04em; line-height: 1; }
.h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: .04em; line-height: 1.1; }
.h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: .04em; line-height: 1.2; }
.label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.body-sm { font-size: .85rem; }
.body-xs { font-size: .75rem; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card--blue {
  background: var(--blue);
  color: white;
}
.card-pad { padding: 16px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--orange); color: var(--dark); }
.btn--blue { background: var(--blue); color: white; }
.btn--outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn--outline-white { background: transparent; border: 2px solid rgba(255,255,255,.5); color: white; }
.btn--ghost { background: var(--gray-light); color: var(--dark); }
.btn--sm { padding: 8px 14px; font-size: .8rem; }
.btn--full { width: 100%; }
.btn--wallet {
  background: #1C1C1E;
  color: white;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .8rem;
  gap: 6px;
}
.btn--wallet-google { background: white; color: var(--dark); border: 1px solid var(--gray-light); }

/* ---- QR Card ---- */
.qr-card {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}
.qr-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.qr-card::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -20px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.qr-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.qr-card__name { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: .06em; }
.qr-card__subtitle { font-size: .75rem; opacity: .7; margin-top: 2px; }
.qr-card__qr {
  background: white;
  border-radius: 12px;
  padding: 12px;
  width: 140px; height: 140px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.qr-card__qr svg { width: 116px; height: 116px; }
.qr-card__hint { text-align: center; font-size: .75rem; opacity: .7; margin-bottom: 16px; }
.qr-card__wallets { display: flex; gap: 8px; }
.qr-card__wallets .btn { flex: 1; font-size: .75rem; padding: 9px 8px; }

/* ---- Section Headers ---- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-header__title { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: .04em; }
.section-header__link { font-size: .8rem; color: var(--blue); font-weight: 600; }

/* ---- Promo Banner ---- */
.promo-banner {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 130px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--teal) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.promo-banner__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: .35;
}
.promo-banner__content { position: relative; z-index: 1; }
.promo-banner__eyebrow {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.promo-banner__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: white;
  letter-spacing: .04em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.promo-dots {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.promo-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.promo-dots span.active { background: var(--orange); width: 18px; border-radius: 3px; }

/* ---- Upcoming Event Cards ---- */
.event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 8px;
}
.event-row__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.event-row__icon--ice { background: #E8F4FD; }
.event-row__icon--field { background: #E8F8F0; }
.event-row__icon--event { background: #FFF0E6; }
.event-row__body { flex: 1; min-width: 0; }
.event-row__name { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-row__meta { font-size: .75rem; color: var(--gray-dark); margin-top: 2px; }
.event-row__member {
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue);
  background: #E8F4FD;
  padding: 2px 7px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ---- Quick Links ---- */
.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.quick-link {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .88rem;
}
.quick-link__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---- Offer Cards ---- */
.offer-card {
  background: linear-gradient(135deg, var(--orange) 0%, #FFB84D 100%);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  box-shadow: var(--shadow);
}
.offer-card__icon { font-size: 1.8rem; flex-shrink: 0; }
.offer-card__title { font-weight: 700; font-size: .9rem; }
.offer-card__sub { font-size: .75rem; opacity: .8; margin-top: 2px; }
.offer-card__exp { font-size: .7rem; font-weight: 700; letter-spacing: .04em; margin-top: 4px; }

/* ---- Filter Tabs ---- */
.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 7px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--white);
  color: var(--gray-dark);
  border: 2px solid var(--gray-light);
  flex-shrink: 0;
}
.filter-tab.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* ---- Product Cards (mobile: stacked, tablet+: grid) ---- */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-card__img {
  height: 160px;
  object-fit: cover;
  width: 100%;
  display: block;
}
.product-card__img-placeholder {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.product-card__body { padding: 14px; }
.product-card__badges {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 50px;
}
.badge--venue { background: var(--gray-light); color: var(--blue); }
.badge--type { background: #E8F4FD; color: var(--blue-dark); }
.badge--age { background: #FFF0E6; color: #C47A0A; }
.badge--event { background: #F3E8FF; color: var(--purple); }
.badge--new { background: var(--lime); color: #3A6B00; }
.product-card__name { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: .04em; margin-bottom: 4px; }
.product-card__meta { font-size: .8rem; color: var(--gray-dark); margin-bottom: 10px; }
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card__price { font-weight: 700; font-size: 1.05rem; }
.product-card__price-sub { font-size: .75rem; color: var(--gray-dark); font-weight: 400; }

/* ---- Schedule ---- */
.schedule-toggle {
  display: flex;
  background: var(--white);
  border-radius: 50px;
  padding: 3px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.schedule-toggle__btn {
  flex: 1;
  padding: 8px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
  color: var(--gray-dark);
}
.schedule-toggle__btn.active {
  background: var(--blue);
  color: white;
}
.schedule-day-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin: 16px 0 8px;
}
.schedule-item {
  display: flex;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 12px;
  margin-bottom: 8px;
  border-left: 4px solid transparent;
}
.schedule-item--ice { border-left-color: var(--blue); }
.schedule-item--field { border-left-color: #22C55E; }
.schedule-item--event { border-left-color: var(--orange); }
.schedule-item__time { font-size: .75rem; color: var(--gray-dark); min-width: 52px; padding-top: 2px; }
.schedule-item__name { font-weight: 700; font-size: .9rem; }
.schedule-item__venue { font-size: .75rem; color: var(--gray-dark); margin-top: 2px; }

/* ---- Team Cards ---- */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 12px;
}
.team-card__header {
  background: var(--blue);
  color: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.team-card__sport-icon { font-size: 1.5rem; }
.team-card__name { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: .06em; }
.team-card__member { font-size: .75rem; opacity: .75; margin-top: 2px; }
.team-card__body { padding: 14px; }
.team-card__next-game {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.team-card__next-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-dark); }
.team-card__next-detail { font-weight: 700; font-size: .88rem; }
.team-card__next-time { font-size: .8rem; color: var(--gray-dark); }
.team-card__record { font-size: .85rem; color: var(--gray-dark); }
.team-card__record strong { color: var(--dark); }

/* ---- F&B Cards ---- */
.fb-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 12px;
}
.fb-card__img-placeholder {
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.fb-card__body { padding: 14px; }
.fb-card__name { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: .04em; margin-bottom: 4px; }
.fb-card__meta { font-size: .8rem; color: var(--gray-dark); margin-bottom: 10px; }

/* ---- Account ---- */
.profile-header {
  background: var(--blue);
  color: white;
  padding: 24px 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.4);
}
.profile-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: .04em; }
.profile-email { font-size: .8rem; opacity: .75; margin-top: 2px; }

.settings-section { margin-bottom: 20px; }
.settings-section__title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 8px;
  padding: 0 4px;
}
.settings-row {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  box-shadow: var(--shadow);
}
.settings-row:first-of-type { border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) var(--radius-sm); }
.settings-row__left { display: flex; align-items: center; gap: 12px; }
.settings-row__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gray-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.settings-row__label { font-weight: 600; font-size: .9rem; }
.settings-row__sub { font-size: .75rem; color: var(--gray-dark); margin-top: 2px; }
.settings-row__chevron { color: var(--gray-mid); font-size: .9rem; }

/* ---- Member Chips ---- */
.member-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-bg);
  border-radius: 50px;
  padding: 6px 12px 6px 6px;
  margin-bottom: 8px;
}
.member-chip__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.member-chip__name { font-weight: 600; font-size: .85rem; }
.member-chip__role { font-size: .7rem; color: var(--gray-dark); }

/* ---- Login Screen ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.login-hero {
  background: linear-gradient(170deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.login-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: rgba(98,203,201,.15);
  border-radius: 50%;
}
.login-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,158,24,.1);
  border-radius: 50%;
}
.login-hero__logo {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.login-hero__logo img { height: 48px; width: auto; }
.login-hero__tagline {
  position: relative; z-index: 1;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.7);
}
.login-form-area {
  flex: 1;
  padding: 28px 24px 32px;
}
.login-form-area h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 14px; }
.form-label { font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; display: block; color: var(--gray-dark); }
.form-input {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  outline: none;
  transition: border-color .15s;
}
.form-input:focus { border-color: var(--blue); }
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0;
  color: var(--gray-mid);
  font-size: .8rem;
}
.divider::before, .divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--gray-light);
}
.btn--google {
  width: 100%;
  background: white;
  border: 2px solid var(--gray-light);
  color: var(--dark);
  font-weight: 700;
  padding: 12px;
  border-radius: 50px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.login-footer { text-align: center; margin-top: 20px; font-size: .85rem; color: var(--gray-dark); }
.login-footer a { color: var(--blue); font-weight: 700; }

/* ---- Detail Page ---- */
.detail-hero {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.detail-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.detail-hero__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.detail-hero__back {
  position: absolute;
  top: 12px; left: 12px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.45);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1rem;
}
.detail-hero__badges {
  position: absolute;
  bottom: 12px; left: 12px;
  display: flex; gap: 6px;
}
.detail-body { padding: 16px; }
.detail-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: .04em; line-height: 1; margin-bottom: 6px; }
.detail-meta { font-size: .85rem; color: var(--gray-dark); margin-bottom: 14px; }
.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.detail-info-cell {
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.detail-info-cell__label { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-dark); margin-bottom: 3px; }
.detail-info-cell__val { font-weight: 700; font-size: .9rem; }
.detail-section-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: .04em; margin-bottom: 8px; }
.detail-desc { font-size: .88rem; color: var(--gray-dark); line-height: 1.6; margin-bottom: 16px; }
.progression-tip {
  background: #EFF8FF;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 12px;
  font-size: .82rem;
  margin-bottom: 16px;
}
.for-whom-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.register-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--gray-light);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
}
.register-bar__price { font-weight: 700; font-size: 1.15rem; }
.register-bar__sub { font-size: .75rem; color: var(--gray-dark); font-weight: 400; }

/* ---- Search Bar ---- */
.search-bar {
  background: var(--white);
  border-radius: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-size: .9rem;
  background: transparent;
}
.search-bar svg { color: var(--gray-mid); flex-shrink: 0; }

/* ---- Registration Steps Bar ---- */
.steps-bar {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  overflow-x: auto;
  scrollbar-width: none;
}
.steps-bar::-webkit-scrollbar { display: none; }
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.step__circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--gray-dark);
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gray-light);
}
.step.active .step__circle {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.step.done .step__circle {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.step__label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gray-mid);
  white-space: nowrap;
}
.step.active .step__label { color: var(--blue); }
.step.done .step__label { color: var(--teal); }
.step-connector {
  flex: 1;
  height: 2px;
  background: var(--gray-light);
  min-width: 16px;
  margin-bottom: 16px;
}
.step-connector.done { background: var(--teal); }

/* ---- Bond Sports Native UI (register-3, -4, -5) ---- */
.bond-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
}

/* Black top bar */
.bond-topbar {
  background: #2b2b2b;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  flex-shrink: 0;
}
.bond-topbar__user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.bond-topbar__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #555;
  display: flex; align-items: center; justify-content: center;
}

/* Title row: Back · CHECKOUT centered */
.bond-title-row {
  background: white;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}
.bond-back {
  font-size: .88rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.bond-checkout-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .02em;
}

/* Blue progress tab bar */
.bond-tabs {
  background: #1565C0;
  display: flex;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.bond-tabs::-webkit-scrollbar { display: none; }
.bond-tab {
  flex: 1;
  min-width: max-content;
  padding: 12px 16px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  font-weight: 400;
}
.bond-tab--active {
  font-weight: 700;
  color: white;
}

/* Two-column layout */
.bond-layout {
  display: flex;
  flex: 1;
  align-items: flex-start;
  background: #f5f7fa;
}
.bond-main {
  flex: 1;
  padding: 24px 28px;
  min-width: 0;
  background: white;
}

/* Invoice Summary panel — hidden on mobile, shown tablet+ */
.bond-invoice {
  display: none;
  width: 310px;
  flex-shrink: 0;
  background: white;
  border: 1px solid #e0e0e0;
  margin: 20px 20px 0 16px;
  border-radius: 2px;
  overflow: hidden;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}
.bond-invoice__header {
  background: #2b2b2b;
  color: white;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  font-weight: 700;
}
.bond-invoice__body {
  padding: 14px;
  min-height: 180px;
  border-bottom: 1px solid #e5e7eb;
}
.bond-invoice__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.bond-invoice__radio {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid #9ca3af;
  margin-top: 3px;
  flex-shrink: 0;
}
.bond-invoice__item-text {
  flex: 1;
  font-size: .82rem;
  color: #374151;
  line-height: 1.45;
}
.bond-invoice__item-text strong {
  display: block;
  font-weight: 700;
  margin-top: 2px;
  color: #1a1a1a;
}
.bond-invoice__item-price {
  font-size: .85rem;
  font-weight: 600;
  flex-shrink: 0;
  color: #111;
}
.bond-invoice__tax {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: #1565C0;
  border-bottom: 1px solid #e5e7eb;
}
.bond-invoice__total {
  background: #1a1a1a;
  color: white;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  font-size: .95rem;
  font-weight: 700;
}

/* Sticky footer with CONTINUE / PAY */
.bond-footer {
  background: #f0f0f0;
  border-top: 1px solid #e0e0e0;
  padding: 12px 20px;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
.bond-continue-btn {
  background: #1565C0;
  color: white;
  padding: 11px 36px;
  border: none;
  border-radius: 3px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  text-transform: uppercase;
}
.bond-pay-btn {
  background: #2e7d32;
  color: white;
  padding: 11px 44px;
  border: none;
  border-radius: 3px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  text-transform: uppercase;
}

/* Content heading */
.bond-content-heading {
  font-size: .98rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

/* Blue info box */
.bond-info-box {
  background: #e3f2fd;
  border-radius: 3px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
  font-size: .85rem;
  color: #1565C0;
  line-height: 1.4;
}

/* Family member avatar grid */
.bond-avatar-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.bond-avatar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: 96px;
}
.bond-avatar-sel {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #1565C0;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px;
  flex-shrink: 0;
  background: white;
}
.bond-avatar-sel--checked {
  background: #1565C0;
  border-color: #1565C0;
  color: white;
}
.bond-avatar-img {
  width: 82px; height: 82px;
  border-radius: 50%;
  background: #dde3ea;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.bond-avatar-name {
  font-weight: 700;
  font-size: .88rem;
  text-align: center;
  color: #1a1a1a;
}
.bond-avatar-img--add {
  background: white;
  border: 2px dashed #9ca3af;
}
.bond-avatar-name--add { color: #6b7280; font-weight: 400; }

/* Application / waiver document sections */
.bond-doc-section {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e7eb;
}
.bond-doc-section:last-child { border-bottom: none; padding-bottom: 0; }
.bond-doc-title {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.bond-doc-excerpt {
  font-size: .85rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 10px;
}
.bond-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #9ca3af;
  background: white;
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #374151;
  border-radius: 2px;
  cursor: pointer;
  margin-bottom: 10px;
}
.bond-agree-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: #374151;
}
.bond-agree-row input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #1565C0;
  flex-shrink: 0;
}

/* Promo code section */
.bond-promo-heading {
  font-size: .98rem;
  font-weight: 700;
  color: #1565C0;
  margin-bottom: 4px;
}
.bond-promo-sub {
  font-size: .82rem;
  color: #1565C0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bond-promo-row {
  display: flex;
  gap: 8px;
}
.bond-promo-input {
  flex: 1;
  padding: 10px 12px;
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  font-size: .9rem;
  outline: none;
}
.bond-promo-apply {
  padding: 10px 16px;
  background: white;
  border: 1.5px solid #9ca3af;
  border-radius: 3px;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bond-section-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 22px 0;
}
.bond-payment-heading {
  font-size: .98rem;
  font-weight: 700;
  color: #1565C0;
  margin-bottom: 14px;
}
.bond-payment-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.bond-payment-option {
  border: 1.5px solid #e0e0e0;
  border-radius: 4px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: white;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  min-width: 120px;
}

/* Show invoice panel on tablet+ */
@media (min-width: 768px) {
  .bond-invoice { display: block; }
}

/* ---- Confirmation Page ---- */
.confirm-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--teal));
  padding: 40px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}
.confirm-checkmark {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  border: 2px solid rgba(255,255,255,.5);
}
.confirm-checkmark svg { width: 32px; height: 32px; }
.confirm-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: .04em; margin-bottom: 6px; }
.confirm-sub { font-size: .9rem; opacity: .8; }

/* ---- Page Sub-Tabs (My Activities, etc.) ---- */
.page-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-tabs::-webkit-scrollbar { display: none; }
.page-tab {
  padding: 10px 18px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gray-dark);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  transition: color .15s, border-color .15s;
}
.page-tab--active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 700;
}

/* ---- Ticket Card ---- */
.ticket-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  border-left: 4px solid var(--orange);
}
.ticket-card__inner {
  flex: 1;
  padding: 14px 16px;
}
.ticket-card__event {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .04em;
  color: var(--dark);
  margin-bottom: 4px;
}
.ticket-card__meta {
  font-size: .78rem;
  color: var(--gray-dark);
  margin-bottom: 8px;
}
.ticket-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ticket-card__qty {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-bg);
  border-radius: 50px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--dark);
}
.ticket-card__source {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* ---- Rental Booking Card ---- */
.rental-booking-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.rental-booking-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #E8F4FD;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.rental-booking-card__body { flex: 1; }
.rental-booking-card__space {
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
  margin-bottom: 3px;
}
.rental-booking-card__time {
  font-size: .78rem;
  color: var(--gray-dark);
  margin-bottom: 4px;
}
.rental-booking-card__conf {
  font-size: .72rem;
  color: var(--gray-mid);
}
.rental-booking-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #E8F8F0;
  color: #166534;
  flex-shrink: 0;
}

/* ---- Pass Item (Account page) ---- */
.pass-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
}
.pass-item:last-child { border-bottom: none; }
.pass-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pass-item__body { flex: 1; }
.pass-item__name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.pass-item__member {
  font-size: .75rem;
  color: var(--gray-dark);
}
.pass-item__counter {
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  text-align: right;
}
.pass-item__counter span {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---- Spacer ---- */
.spacer-sm { height: 8px; }
.spacer { height: 16px; }
.spacer-lg { height: 24px; }

/* ============================================================
   RESPONSIVE — Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
  body { flex-direction: row; }

  .sidebar {
    display: flex;
    width: var(--sidebar-w-sm);
  }

  /* Push main content right of sidebar */
  .main-wrapper {
    margin-left: var(--sidebar-w-sm);
  }

  /* Hide bottom nav on tablet+ */
  .bottom-nav { display: none; }

  /* Page no longer needs bottom nav padding */
  .page { padding-bottom: 0; }

  /* Catalog grid: 2 columns */
  .catalog-grid { grid-template-columns: 1fr 1fr; }

  /* Quick links: 4 columns */
  .quick-links { grid-template-columns: 1fr 1fr 1fr 1fr; }

  /* Register bar adjusts for sidebar */
  .register-bar { left: var(--sidebar-w-sm); }

  /* Scroll area gains breathing room */
  .scroll-area { padding: 20px 24px 0; }

  /* Constrain content for readability */
  .scroll-area > * { max-width: 860px; }
}

/* ============================================================
   RESPONSIVE — Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .sidebar {
    width: var(--sidebar-w);
    align-items: flex-start;
  }

  .sidebar__logo { padding: 0 20px 28px; }
  .sidebar__logo .logo-full { display: block; height: 32px; }
  .sidebar__logo .logo-icon { display: none; }

  .sidebar__item {
    justify-content: flex-start;
    padding: 12px 20px;
    border-radius: 0;
  }
  .sidebar__item span { display: inline; }
  .sidebar__item.active { border-left: 4px solid var(--orange); }

  .main-wrapper { margin-left: var(--sidebar-w); }

  /* Catalog grid: 3 columns */
  .catalog-grid { grid-template-columns: 1fr 1fr 1fr; }

  .register-bar { left: var(--sidebar-w); }

  .scroll-area { padding: 24px 32px 0; }
}
