/* Customer website: header, footer, mobile tab bar and shared page layouts.
   Matches the web-* designs (red #D2311D). Page-specific styles go at the end under "Pages". */

body.theme-customer { display: flex; flex-direction: column; min-height: 100vh; }
body.theme-customer > main { flex: 1 0 auto; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-8); min-height: var(--header-h); display: flex; align-items: center; gap: 8px 32px; }
.site-header__logo { display: flex; align-items: center; height: var(--header-h); flex-shrink: 0; }
.site-header__logo img { height: 50px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0 24px; }
.site-nav a { display: flex; align-items: center; min-height: 44px; font-size: var(--fs-base); font-weight: 600; color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--red-strong); }
.site-nav a[aria-current="page"] { color: var(--red-strong); font-weight: 700; }
.site-header__spacer { flex: 1 1 0; min-width: 0; }
.site-header__actions { display: flex; align-items: center; gap: 8px 20px; padding: 8px 0; }
.site-header__country { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--fs-md); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.site-header__country .icon { width: 18px; height: 18px; }
.site-header__login { display: flex; align-items: center; min-height: 44px; font-size: var(--fs-base); font-weight: 700; color: var(--ink); text-decoration: none; }
.site-header__login[aria-current="page"] { color: var(--red-strong); }

/* Account menu (logged in) */
.menu { position: relative; }
.menu__button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px 0 4px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: var(--bg); font-weight: 700; font-size: var(--fs-md); color: var(--ink); }
.menu__button:hover { border-color: #C5C9D1; }
.menu__button .avatar { width: 34px; height: 34px; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; padding: 8px; border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; z-index: 60; }
.menu__panel[hidden] { display: none; }
.menu__head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; }
.menu__name { font-weight: 800; }
.menu__email { font-size: var(--fs-sm); color: var(--muted); overflow-wrap: anywhere; }
.menu__item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: var(--r-md); border: 0; background: transparent; color: var(--ink); font-size: var(--fs-md); font-weight: 600; text-align: left; text-decoration: none; width: 100%; }
.menu__item:hover { background: var(--bg-sunken); text-decoration: none; }
.menu__item .icon { color: var(--muted); }

/* ---------- Mobile tab bar (720px and below) ---------- */
.tabbar { display: none; }
@media (max-width: 720px) {
  .site-header__inner { padding: 0 var(--s-4); min-height: 60px; gap: 8px 12px; }
  .site-header__logo { height: 60px; }
  .site-header__logo img { height: 40px; }
  .site-nav, .site-header__country, .site-header__getapp, .site-header__signup { display: none !important; }
  .site-header__actions { gap: 8px 12px; }
  .menu__button .menu__label { display: none; }
  .menu__button { padding: 0 6px 0 4px; }
  body.has-tabbar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: flex; align-items: stretch; height: calc(64px + env(safe-area-inset-bottom)); padding: 4px 6px env(safe-area-inset-bottom); background: var(--bg); border-top: 1px solid var(--line); }
  .tabbar a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; color: var(--muted); font-size: 11px; font-weight: 600; text-decoration: none; }
  .tabbar a .icon { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--red); font-weight: 700; }
  .tabbar__home { width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; line-height: 1; }
}
@media (min-width: 721px) and (max-width: 1180px) { .site-header__country { display: none; } }
@media (min-width: 721px) and (max-width: 980px) { .site-header__getapp { display: none; } .site-header__inner { gap: 8px 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #fff; margin-top: auto; }
.site-footer__inner { max-width: var(--container); margin: 0 auto; padding: 56px var(--s-8) 32px; display: flex; flex-direction: column; gap: 40px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer__brand img { height: 40px; width: auto; align-self: flex-start; }
.site-footer__tagline { font-size: var(--fs-base); font-weight: 600; color: var(--dark-muted); }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col h2 { margin: 0 0 4px; font-size: var(--fs-md); line-height: 18px; font-weight: 800; color: #fff; letter-spacing: 0; }
.site-footer a { font-size: var(--fs-md); font-weight: 500; color: var(--dark-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer button.link-like { background: none; border: 0; padding: 0; font-size: var(--fs-md); font-weight: 600; color: var(--dark-text); cursor: pointer; text-align: left; }
.site-footer button.link-like:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.site-footer__lang { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); font-weight: 600; color: var(--dark-text); }
.site-footer__lang select { height: 40px; border-radius: var(--r-md); border: 1px solid #3A4458; background: var(--dark-2); color: #fff; padding: 0 12px; font-size: var(--fs-md); font-weight: 600; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-footer__copy { font-size: var(--fs-sm); font-weight: 500; color: var(--dark-muted); }
.site-footer__company { font-size: var(--fs-xs); line-height: 1.6; color: #8D94A3; }
@media (max-width: 720px) { .site-footer__inner { padding: 40px var(--s-4) 28px; gap: 28px; } }

/* ---------- Page scaffolding ---------- */
.page { padding: var(--s-10) 0 var(--s-14); }
.page--tint { background: var(--bg-page); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.page-head__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.page-head__sub { font-size: var(--fs-base); color: var(--muted); font-weight: 500; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin-bottom: var(--s-3); }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
@media (max-width: 720px) { .page { padding: var(--s-6) 0 var(--s-10); } }

/* Hero with search (home) */
.hero { background: linear-gradient(180deg, #FFF6F4 0%, #FFFFFF 100%); border-bottom: 1px solid var(--line-soft); }
.hero__inner { max-width: var(--container); margin: 0 auto; padding: 64px var(--s-8) 56px; display: flex; flex-direction: column; gap: var(--s-6); }
.hero__title { color: var(--ink); font-size: var(--fs-4xl); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; max-width: 760px; }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
@media (max-width: 720px) { .hero__inner { padding: 36px var(--s-4) 32px; } .hero__title { font-size: 32px; } .hero__lead { font-size: var(--fs-base); } }

.searchbar { display: flex; align-items: stretch; gap: 0; width: 100%; max-width: 860px; padding: 6px; border-radius: var(--r-2xl); background: var(--bg); border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-md); }
.searchbar__field { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; padding: 0 14px; }
.searchbar__field + .searchbar__field { border-left: 1px solid var(--line); }
.searchbar__field .icon { color: var(--muted); }
.searchbar__field input, .searchbar__field select { flex: 1 1 auto; min-width: 0; min-height: 48px; border: 0; background: transparent; font-size: 16px; font-weight: 600; color: var(--ink); }
.searchbar__field input:focus-visible, .searchbar__field select:focus-visible { box-shadow: none; }
.searchbar:focus-within { border-color: var(--red); }
.searchbar .btn { min-height: 52px; border-radius: var(--r-xl); padding: 0 24px; }
@media (max-width: 720px) {
  .searchbar { flex-direction: column; padding: 8px; gap: 6px; }
  .searchbar__field + .searchbar__field { border-left: 0; border-top: 1px solid var(--line); }
  .searchbar .btn { width: 100%; }
}

/* Category tiles */
.categories { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.category { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; border-radius: var(--r-2xl); overflow: hidden; background: var(--bg-sunken); color: #fff; font-weight: 800; font-size: var(--fs-base); text-decoration: none; }
.category img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,24,38,0) 40%, rgba(18,24,38,.72) 100%); }
.category span { position: relative; z-index: 1; padding: 12px 14px; }
.category:hover { text-decoration: none; }
.category:hover img { transform: scale(1.03); }
.category img { transition: transform .25s ease; }

/* Login / sign-up split card (web-login) */
.auth-wrap { background: var(--bg-page); padding: var(--s-10) 0 var(--s-14); }
.auth-card { display: flex; flex-wrap: wrap; border-radius: 24px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(18,24,38,.04), 0 12px 32px rgba(18,24,38,.08); }
.auth-card__brand { position: relative; overflow: hidden; flex: 1 1 420px; min-width: 0; min-height: 520px; padding: 56px; background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.auth-card__brand img { width: 240px; height: auto; }
.auth-card__tagline { font-size: var(--fs-2xl); line-height: 1.35; font-weight: 800; }
.auth-card__points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.auth-card__points li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-lg); line-height: 1.4; font-weight: 700; }
.auth-card__points .dot { width: 36px; height: 36px; border-radius: var(--r-pill); background: #fff; color: var(--red-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.auth-card__form { flex: 1 1 420px; min-width: 0; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: var(--s-5); }
.auth-card__form > * { max-width: 440px; width: 100%; }
@media (max-width: 720px) {
  .auth-wrap { padding: 0 0 var(--s-10); background: var(--bg); }
  .auth-wrap > .container { padding: 0; }
  .auth-card { border-radius: 0; border: 0; box-shadow: none; }
  .auth-card__brand { min-height: 0; padding: 28px var(--s-4); gap: 14px; }
  .auth-card__brand img { width: 150px; }
  .auth-card__tagline { font-size: var(--fs-lg); }
  .auth-card__points { display: none; }
  .auth-card__form { padding: 28px var(--s-4); }
}

/* Long text (legal documents, help) */
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 760px; }
.prose h1 { font-size: var(--fs-3xl); color: var(--ink); margin: 0 0 var(--s-4); }
.prose h2 { font-size: var(--fs-xl); color: var(--ink); margin: var(--s-10) 0 var(--s-3); }
.prose h3 { font-size: var(--fs-lg); color: var(--ink); margin: var(--s-6) 0 var(--s-2); }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 var(--s-4); }
.prose li { margin: 4px 0; }
.prose a { color: var(--red-strong); text-decoration: underline; font-weight: 600; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-md); display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-head); color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--red); background: var(--red-soft); padding: 12px 16px; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.prose hr { margin: var(--s-8) 0; }

/* Sticky summary column (business page booking widget, checkout) */
.sticky-col { position: sticky; top: var(--s-6); }
@media (max-width: 1024px) { .sticky-col { position: static; } }

/* Offline page */
.offline-logo { height: 40px; width: auto; margin: 0 auto; }

/* ---------- Pages ---------- */
/* Page builders: add page-specific rules below, each block under a comment "page: <id>". */

/* ---------- Customer pages (U1): shared bits ---------- */
.theme-customer .mt-1 { margin-top: 4px; }
.theme-customer .mt-3 { margin-top: 12px; }
.theme-customer .mt-4 { margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--bg-sunken); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.pill .icon { width: 14px; height: 14px; }
.pill--soft { background: var(--bg-sunken); color: var(--ink-2); }
.pill--hot { background: var(--red-soft); color: var(--red-strong); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.pill--dark { background: var(--ink); color: #fff; }
.rating__count { color: var(--muted); font-weight: 600; }
.rating--new { color: var(--info); background: var(--info-bg); padding: 3px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars__star .icon { width: 16px; height: 16px; color: #D5D8DE; fill: #D5D8DE; stroke: #D5D8DE; }
.stars__star.is-on .icon { color: var(--red); fill: var(--red); stroke: var(--red); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: var(--s-5); }
.section-head h2 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
.section-head a { font-size: var(--fs-base); }
@media (max-width: 720px) { .section-head h2 { font-size: 24px; } }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); font-weight: 700; }
.back-link .icon { width: 18px; height: 18px; }
.center-link { display: block; text-align: center; padding: 12px; }
.link-navy { color: var(--navy); }
.slots-loading { display: flex; align-items: center; gap: 10px; min-height: 52px; color: var(--muted); font-weight: 600; font-size: var(--fs-md); }
.slots-loading .spinner { width: 18px; height: 18px; border-width: 2.5px; }

/* Business tiles (home, search) */
.biz-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.biz-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--bg); color: var(--ink); font-weight: 400; transition: box-shadow .15s ease; }
.biz-tile:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.biz-tile__photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--red-soft); color: var(--red); overflow: hidden; }
.biz-tile__photo img { width: 100%; height: 100%; object-fit: cover; }
.biz-tile__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.biz-tile__name { font-size: var(--fs-lg); font-weight: 800; }
.biz-tile__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.biz-tile__city { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.biz-tile__city .icon { width: 14px; height: 14px; }

/* Event tiles */
.event-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.event-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--bg); }
.event-tile__poster { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 190px; padding: 22px 24px; background: var(--red); color: #fff; text-decoration: none; font-weight: 800; }
.event-tile:nth-child(3n+2) .event-tile__poster { background: var(--dark); }
.event-tile:nth-child(3n+2) .event-tile__eyebrow, .event-tile:nth-child(3n+2) .event-tile__when { color: #FFC94D; }
.event-tile:nth-child(3n+3) .event-tile__poster { background: var(--navy); }
.event-tile__poster:hover { text-decoration: none; }
.event-tile__eyebrow, .event-tile__when { font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.92); }
.event-tile__title { font-size: 32px; line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase; overflow-wrap: break-word; }
.event-tile__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1 1 auto; }
.event-tile__name { font-size: var(--fs-lg); }
.event-tile__name a { color: var(--ink); }
.event-tile__line { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-md); color: var(--ink-2); font-weight: 500; }
.event-tile__line .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--muted); flex-shrink: 0; }
.event-tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.event-tile__price { font-weight: 800; }

/* ---------- page: business ---------- */
.page--biz { padding-top: var(--s-5); }
.biz-hero { border-radius: 24px; overflow: hidden; background: var(--red-soft); aspect-ratio: 1280 / 400; max-height: 400px; margin-bottom: var(--s-6); }
.biz-hero img { width: 100%; height: 100%; object-fit: cover; }
.biz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "head book" "body book"; gap: 0 48px; align-items: start; }
.biz-layout__head { grid-area: head; min-width: 0; }
.biz-layout__book { grid-area: book; min-width: 0; height: 100%; }
.biz-layout__body { grid-area: body; min-width: 0; }
.biz-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.biz-head__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.biz-head__name { font-size: 38px; line-height: 1.12; letter-spacing: -0.025em; }
.biz-head__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.biz-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-weight: 600; }
.open-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; }
.open-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B9BEC9; }
.open-dot.is-open { color: var(--ok); }
.open-dot.is-open::before { background: #17A35A; }
.biz-tabs { margin: var(--s-5) 0 0; }
.biz-section { padding-top: var(--s-8); scroll-margin-top: 16px; }
.biz-section > h2 { font-size: var(--fs-2xl); margin-bottom: var(--s-4); }
.biz-section .section-head { margin-bottom: var(--s-4); }
.biz-section .section-head h2 { font-size: var(--fs-2xl); }
.biz-about { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: var(--s-4); max-width: 720px; }
.menu-section { font-size: var(--fs-base); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: var(--s-5) 0 var(--s-3); }
.menu-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menu-item { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg); }
.menu-item__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu-item__name { font-weight: 800; }
.menu-item__desc { font-size: var(--fs-md); color: var(--muted); }
.menu-item__price { font-weight: 800; white-space: nowrap; }
.policy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.policy-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; color: var(--ink-2); }
.policy-list .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; flex-shrink: 0; }
.review-score { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s-4); }
.review-score__value { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.review-score__text { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-md); }
.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.review { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-2xl); display: flex; flex-direction: column; gap: 10px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__name { font-weight: 800; }
.review__meta { font-size: var(--fs-sm); color: var(--muted); }
.review__text { line-height: 1.55; }
.review__reply { background: var(--bg-sunken); border-radius: var(--r-lg); padding: 12px 14px; font-size: var(--fs-md); }
.review__reply-title { font-weight: 800; margin-bottom: 2px; }
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.location__where { display: flex; flex-direction: column; gap: 8px; }
.location__address, .location__phone { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; }
.location__address .icon, .location__phone .icon { width: 18px; height: 18px; color: var(--red); margin-top: 2px; flex-shrink: 0; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-md); }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.hours th { text-align: left; font-weight: 600; color: var(--ink-2); }
.hours td { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Booking widget */
.book-card { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-md); border-radius: 20px; }
.book-card__head h2 { font-size: var(--fs-2xl); }
.book-card__price { margin-top: 2px; font-size: var(--fs-md); font-weight: 700; color: var(--ink-2); }
.book-card__price.is-free { color: var(--ok); }
.book-card__block { display: flex; flex-direction: column; gap: 8px; }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: 0 0 auto; width: 58px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: var(--r-xl); border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink); cursor: pointer; scroll-snap-align: start; }
.day:hover { border-color: #C5C9D1; }
.day__wd { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.day__num { font-size: 20px; font-weight: 800; line-height: 1.1; }
.day[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.day[aria-pressed="true"] .day__wd { color: rgba(255,255,255,.9); }
.book-card__other { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.book-card__other .input { width: auto; max-width: 180px; }
.people-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-xl); }
.people-row__text { display: flex; flex-direction: column; gap: 2px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.stepper__btn:hover { border-color: #C5C9D1; }
.stepper__btn:disabled { opacity: .4; cursor: not-allowed; }
.stepper__btn .icon { width: 18px; height: 18px; }
.stepper__value { min-width: 28px; text-align: center; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.book-slots { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.slot--hot { background: var(--red-soft); border-color: #F6C9C2; color: var(--red-strong); }
.slot--hot:hover { border-color: var(--red); }
.slot[aria-pressed="true"].slot--hot { background: var(--red); border-color: var(--red); color: #fff; }
.times-msg { padding: 12px 14px; border-radius: var(--r-lg); background: var(--bg-sunken); color: var(--ink-2); font-size: var(--fs-md); font-weight: 600; line-height: 1.45; }
.hot-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-lg); background: var(--red-soft); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.45; font-weight: 500; }
.hot-note .icon { width: 16px; height: 16px; color: var(--red); margin-top: 1px; flex-shrink: 0; }
.hot-note strong { color: var(--red-strong); }
.hot-note--plain { background: var(--bg-sunken); }
.hot-note--plain .icon { color: var(--muted); }
.book-card__summary { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--bg-head); border: 1px solid var(--line-soft); font-size: var(--fs-md); }
.book-card__lines { list-style: none; margin: 0; padding: 0; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; }
.book-card__hold { display: flex; gap: 8px; align-items: flex-start; color: var(--warn); font-weight: 600; font-size: var(--fs-sm); line-height: 1.4; }
.book-card__hold .icon { width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; }
.book-card__foot { text-align: center; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; min-height: 1em; }
@media (max-width: 1024px) {
  .biz-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "book" "body"; }
  .biz-layout__book { margin-top: var(--s-6); height: auto; }
}
@media (max-width: 720px) {
  .page--biz { padding-top: var(--s-3); }
  .biz-hero { aspect-ratio: 16 / 9; border-radius: var(--r-2xl); margin-bottom: var(--s-4); }
  .biz-head__name { font-size: 28px; }
  .menu-grid, .location { grid-template-columns: minmax(0, 1fr); }
  .biz-tabs { gap: var(--s-5); }
  .book-card { padding: 18px 16px 16px; border-radius: var(--r-2xl); }
}

/* ---------- page: login ---------- */
.auth-head { display: flex; flex-direction: column; gap: 6px; }
.auth-card__tagline { color: #fff; }
.auth-head h1 { font-size: 36px; letter-spacing: -0.025em; }
.auth-alt { text-align: center; font-size: var(--fs-base); font-weight: 600; color: var(--ink-2); }
.auth-terms { font-size: var(--fs-sm); color: var(--muted); text-align: center; line-height: 1.5; }
.auth-terms a { color: var(--red-strong); }
.auth-links { gap: 8px 16px; }
.code-input { font-size: 26px; font-weight: 800; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.dev-code { flex-wrap: wrap; align-items: center; }
.dev-code > span { flex: 1 1 200px; }
@media (max-width: 720px) { .auth-head h1 { font-size: 28px; } }

/* ---------- page: checkout ---------- */
.steps { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.steps__item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--muted); }
.steps__dot { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--bg); }
.steps__dot .icon { width: 16px; height: 16px; }
.steps__item.is-done { color: var(--ok); }
.steps__item.is-done .steps__dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps__item.is-current { color: var(--ink); }
.steps__item.is-current .steps__dot { background: var(--red); border-color: var(--red); color: #fff; }
.checkout__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: var(--s-5); }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.checkout__side { min-width: 0; height: 100%; }
.hold-timer { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.hold-timer:empty { display: none; }
.hold-timer .icon { width: 16px; height: 16px; }
.hold-timer.is-low { background: var(--warn-bg); color: var(--warn); border-color: #F3DDB3; }
.details-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px 20px; margin: 14px 0 0; }
.details-grid dt { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.details-grid dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.card-badge { width: 40px; height: 28px; border-radius: 6px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-badge .icon { width: 18px; height: 18px; }
.secure-line { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.secure-line .icon { width: 15px; height: 15px; flex-shrink: 0; }
.stripe-box { min-height: 120px; }
.terms-field .check { font-weight: 600; }
.summary { display: flex; flex-direction: column; gap: 14px; border-radius: 20px; }
.summary h2 { font-size: var(--fs-xl); }
.summary__item { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary__icon { width: 64px; height: 64px; border-radius: var(--r-xl); background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.summary__icon .icon { width: 28px; height: 28px; }
.summary__name { font-weight: 800; font-size: var(--fs-lg); line-height: 1.3; color: var(--ink); }
.summary__meta { font-size: var(--fs-md); color: var(--muted); font-weight: 500; }
.summary__lines { margin: 0; display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary__lines div { display: flex; justify-content: space-between; gap: 12px; }
.summary__lines dt { display: flex; flex-direction: column; color: var(--ink-2); font-weight: 600; }
.summary__lines dd { margin: 0; font-weight: 700; white-space: nowrap; }
.summary__total { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-2xl); font-weight: 800; }
.summary__note { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; line-height: 1.45; }
@media (max-width: 1024px) {
  .checkout__grid { grid-template-columns: minmax(0, 1fr); }
  .checkout__side { order: -1; }
}
@media (max-width: 720px) {
  .details-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 8px 16px; font-size: var(--fs-md); }
  .steps__dot { width: 28px; height: 28px; }
}

/* ---------- page: booking ---------- */
.booking-page { display: flex; flex-direction: column; gap: var(--s-5); }
.status-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: var(--s-4) 0 0; }
.status-hero__icon { width: 88px; height: 88px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ok-bg); color: var(--ok); margin-bottom: 6px; }
.status-hero__icon .icon { width: 40px; height: 40px; stroke-width: 2.4; }
.status-hero--warn .status-hero__icon { background: var(--warn-bg); color: var(--warn); }
.status-hero--muted .status-hero__icon { background: var(--bg-sunken); color: var(--muted); }
.status-hero h1 { font-size: 36px; letter-spacing: -0.025em; }
.status-hero__text { max-width: 520px; font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-2); }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px; border-radius: 22px; box-shadow: var(--shadow-md); }
.qr-card .qr { border: 0; padding: 4px; }
.qr-card__hint { font-weight: 600; color: var(--ink-2); }
.action-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.booking-detail { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.booking-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.booking-detail__head h2 a { color: var(--ink); }
.booking-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 20px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.booking-facts dt { font-size: var(--fs-sm); color: var(--muted); font-weight: 700; }
.booking-facts dd { margin: 2px 0 0; font-weight: 700; }
.booking-facts__wide { grid-column: 1 / -1; }
.policies summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.policies ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); line-height: 1.55; font-size: var(--fs-md); }
.booking-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.booking-detail__actions .btn--danger { margin-left: auto; }
.booking-page__foot { display: flex; flex-direction: column; gap: 4px; }
.review-form .rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate-field { border: 0; padding: 0; margin: 0; }
.rate-field .rate { align-self: flex-start; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { cursor: pointer; padding: 4px; border-radius: 8px; }
.rate label .icon { width: 34px; height: 34px; color: #D5D8DE; fill: #EEF0F3; stroke: #C9CDD5; }
.rate label:hover .icon, .rate label:hover ~ label .icon, .rate input:checked ~ label .icon { fill: var(--red); stroke: var(--red); }
.rate input:focus-visible + label { box-shadow: var(--focus); }
@media (max-width: 720px) {
  .status-hero h1 { font-size: 28px; }
  .status-hero__icon { width: 72px; height: 72px; }
  .booking-detail { padding: 16px; }
  .booking-detail__actions .btn--danger { margin-left: 0; }
}

/* ---------- page: index ---------- */
.promo-wrap { padding: var(--s-6) 0 0; }
.promo { position: relative; display: flex; align-items: center; min-height: 380px; padding: 56px 48px; border-radius: 28px; overflow: hidden; color: #fff;
  background: linear-gradient(90deg, rgba(18,12,30,.92) 0%, rgba(18,12,30,.72) 45%, rgba(18,12,30,.25) 100%), url("/assets/img/events.jpg") center / cover no-repeat, #1E1430; }
.promo--loading { background: var(--bg-sunken); }
.promo__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 640px; }
.promo__tag { padding: 5px 12px; border-radius: var(--r-pill); background: #fff; color: var(--red-strong); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.promo__title { font-size: 54px; line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.promo__meta { font-size: 18px; font-weight: 600; color: rgba(255,255,255,.92); }
.home-search-wrap { padding: var(--s-10) 0 var(--s-12); }
.home-title { font-size: 44px; line-height: 1.1; letter-spacing: -0.03em; }
.home-lead { margin: 10px 0 var(--s-6); max-width: 680px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.home-search { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow-md); }
.home-search__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.home-search__label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.home-search__input { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); background: var(--bg); }
.home-search__input:focus-within { border-color: var(--red); box-shadow: var(--focus); }
.home-search__input .icon { color: var(--muted); flex-shrink: 0; }
.home-search__field:nth-child(2) .home-search__input .icon { color: var(--red); }
.home-search__input input { flex: 1 1 auto; min-width: 0; min-height: 50px; border: 0; background: transparent; font-size: 16px; font-weight: 600; color: var(--ink); }
.home-search__input input:focus-visible { box-shadow: none; }
.home-search__btn { min-height: 54px; }
.home-cats { padding: var(--s-10) 0; background: var(--bg-page); }
.home-h2 { font-size: var(--fs-2xl); margin-bottom: var(--s-5); }
.home-categories { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.home-categories .category:first-child { grid-column: span 2; aspect-ratio: auto; }
.section--events { padding-top: 0; }
.how { padding: var(--s-12) 0; background: var(--bg-page); }
.how .home-h2 { font-size: var(--fs-3xl); margin-bottom: var(--s-8); }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.how__step { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.how__num { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.how__step h3 { font-size: var(--fs-xl); }
.how__step p { color: var(--ink-2); line-height: 1.6; }
.biz-band { background: var(--navy); color: #fff; }
.biz-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 48px; padding-bottom: 48px; }
.biz-band h2 { font-size: var(--fs-3xl); color: #fff; letter-spacing: -0.02em; }
.biz-band p { margin-top: 8px; font-size: 17px; color: rgba(255,255,255,.9); }
.biz-band__btn { background: #fff; color: var(--navy); }
.biz-band__btn:hover { background: var(--navy-soft); }
@media (max-width: 900px) {
  .home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-categories .category:first-child { aspect-ratio: 8 / 3; }
}
@media (max-width: 1024px) {
  .home-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-search__field--what { grid-column: 1 / -1; }
  .home-search__btn { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .promo-wrap { padding-top: var(--s-4); }
  .promo { min-height: 300px; padding: 28px 22px; border-radius: 22px; align-items: flex-end; background: linear-gradient(180deg, rgba(18,12,30,.35) 0%, rgba(18,12,30,.9) 70%), url("/assets/img/events.jpg") center / cover no-repeat, #1E1430; }
  .promo__title { font-size: 34px; }
  .promo__meta { font-size: var(--fs-base); }
  .home-search-wrap { padding: var(--s-8) 0; }
  .home-title { font-size: 32px; }
  .home-lead { font-size: var(--fs-base); }
  .home-search { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .home-categories { gap: 12px; }
  .how__steps { grid-template-columns: minmax(0, 1fr); }
  .how__step { padding: 22px; }
  .biz-band h2 { font-size: 24px; }
  .biz-band__inner { padding-top: 36px; padding-bottom: 36px; }
}

/* ---------- page: search ---------- */
.search-band { background: var(--bg-page); border-bottom: 1px solid var(--line); padding: 20px 0; }
.search-form { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; }
.search-form__field { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); background: var(--bg); }
.search-form__field:focus-within { border-color: var(--red); box-shadow: var(--focus); }
.search-form__field .icon { color: var(--muted); flex-shrink: 0; }
.search-form__field input { flex: 1 1 auto; min-width: 0; min-height: 48px; border: 0; background: transparent; font-size: 16px; font-weight: 600; color: var(--ink); }
.search-form__field input:focus-visible { box-shadow: none; }
.page--search { padding-top: var(--s-8); }
.results-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: var(--s-6); }
.results-title { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
.results-sort { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); font-weight: 700; color: var(--muted); }
.results-sort .select { width: auto; min-width: 170px; }
.results-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.filters__toggle { display: none; }
.filters__body { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px 20px; }
.filters__title { font-size: var(--fs-lg); }
.filters__group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.filters__group legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.filters__group .check { min-height: 28px; }
.result-list { display: flex; flex-direction: column; gap: 16px; }
.result { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.result:hover { box-shadow: var(--shadow-md); }
.result__photo { display: flex; align-items: center; justify-content: center; width: 150px; height: 130px; border-radius: var(--r-xl); overflow: hidden; background: var(--red-soft); color: var(--red); }
.result__photo img { width: 100%; height: 100%; object-fit: cover; }
.result__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.result__name { font-size: var(--fs-xl); }
.result__name a { color: var(--ink); }
.result__meta { color: var(--muted); font-weight: 600; font-size: var(--fs-md); }
.result__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.result__chips:empty { display: none; }
@media (max-width: 1024px) {
  .search-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .search-form__field--what { grid-column: 1 / -1; }
  .results-layout { grid-template-columns: minmax(0, 1fr); }
  .filters__toggle { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font-weight: 700; cursor: pointer; list-style: none; }
  .filters__toggle::-webkit-details-marker { display: none; }
  .filters[open] .filters__toggle { border-bottom: 1px solid var(--line-soft); }
  .filters__group { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 12px; }
  .filters__group legend { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .search-form { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .search-form .btn { width: 100%; }
  .page--search { padding-top: var(--s-5); }
  .results-title { font-size: 24px; }
  .result { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .result__photo { width: 96px; height: 96px; }
  .result__btn { grid-column: 1 / -1; width: 100%; }
  .result__name { font-size: var(--fs-lg); }
}

/* ---------- page: event ---------- */
.page--event { padding-top: var(--s-5); }
.event-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.poster { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; aspect-ratio: 380 / 560; padding: 36px 36px 40px; border-radius: 24px; background: var(--red); color: #fff; overflow: hidden; }
.poster__logo { width: 110px; height: auto; }
.poster__title { font-size: 54px; line-height: .98; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; overflow-wrap: break-word; }
.poster__title[data-len="l"] { font-size: 42px; }
.poster__title[data-len="xl"] { font-size: 32px; }
.poster__when { font-size: var(--fs-lg); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; }
.event-main { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.event-title { font-size: 44px; line-height: 1.1; letter-spacing: -0.03em; }
.event-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.event-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.event-facts .icon { width: 18px; height: 18px; color: var(--red); margin-top: 2px; flex-shrink: 0; }
.event-facts a { margin-left: 6px; }
.tickets-card { align-self: stretch; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; border-radius: 20px; box-shadow: var(--shadow-md); }
.tickets-card h2 { font-size: var(--fs-xl); }
.ticket-rows { list-style: none; margin: 0; padding: 0; }
.ticket-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.ticket-row:first-child { padding-top: 4px; }
.ticket-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ticket-row__name { font-weight: 800; }
.ticket-row__hint { font-size: var(--fs-sm); color: var(--muted); }
.ticket-row__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.ticket-row__qty { width: 84px; }
.ticket-row.is-off .ticket-row__name, .ticket-row.is-off .ticket-row__price { color: var(--muted); }
.ticket-total { display: flex; flex-direction: column; gap: 10px; }
.ticket-total .summary__lines { padding-bottom: 10px; }
.event-more { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; margin-top: var(--s-12); }
.event-more h2 { font-size: var(--fs-2xl); margin-bottom: var(--s-4); }
.venue__card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 20px; }
.venue__icon { width: 56px; height: 56px; border-radius: var(--r-xl); background: var(--red-soft); color: var(--red); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 1024px) {
  .event-layout, .event-more { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .poster { aspect-ratio: auto; min-height: 260px; }
}
@media (max-width: 720px) {
  .poster { padding: 24px; min-height: 220px; border-radius: 20px; }
  .poster__title, .poster__title[data-len="l"] { font-size: 36px; }
  .poster__title[data-len="xl"] { font-size: 28px; }
  .poster__when { font-size: var(--fs-md); }
  .event-title { font-size: 30px; }
  .tickets-card { padding: 18px 16px; }
  .ticket-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .ticket-row .status { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- page: account ---------- */
.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.account-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); position: sticky; top: var(--s-6); }
.account-nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: var(--r-lg); color: var(--ink); font-weight: 700; }
.account-nav a:hover { background: var(--bg-sunken); text-decoration: none; }
.account-nav a .icon { width: 20px; height: 20px; color: var(--muted); }
.account-nav a[aria-current="page"] { background: var(--red-soft); color: var(--red-strong); }
.account-nav a[aria-current="page"] .icon { color: var(--red-strong); }
.account-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.account-tabs { align-self: flex-start; }
.account-tabs [role="tab"] { min-height: 40px; padding: 0 18px; }
.tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: var(--r-pill); background: var(--red); color: #fff; font-size: var(--fs-xs); font-weight: 800; }
.bk-list { display: flex; flex-direction: column; gap: 14px; }
.bk-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.bk-card__qr { display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
.bk-card__qr .qr { padding: 0; border: 0; gap: 0; }
.bk-card__icon { display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: var(--r-xl); background: var(--red-soft); color: var(--red); overflow: hidden; }
.bk-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.bk-card__icon--event { background: var(--warn-bg); color: var(--warn); }
.bk-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bk-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-card__name { font-size: var(--fs-xl); }
.bk-card__name a { color: var(--ink); }
.bk-card__when { font-weight: 700; color: var(--ink-2); }
.bk-card__sub { font-size: var(--fs-md); color: var(--muted); overflow-wrap: anywhere; }
.bk-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 6px; }
.bk-card__cancel { color: var(--bad); padding: 0 6px; min-height: 36px; }
.bk-card--past { grid-template-columns: 64px minmax(0, 1fr); }
.bk-card--past .bk-card__icon { width: 64px; height: 64px; }
.ticket-qrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 10px; }
.ticket-qrs[hidden] { display: none; }
.ticket-qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-xl); }
.ticket-qr .qr { border: 0; padding: 0; }
.ticket-qr .qr__ref { font-size: 15px; }
.ticket-qr figcaption { display: flex; align-items: center; gap: 8px; }
.danger-zone { border-color: #F1C4BE; }
.danger-zone h2 { color: var(--bad); }
@media (max-width: 1024px) {
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .account-nav { position: static; flex-direction: row; overflow-x: auto; padding: 6px; border-radius: var(--r-xl); }
  .account-nav a { flex: 1 0 auto; justify-content: center; min-height: 44px; }
}
@media (max-width: 720px) {
  .bk-card { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .bk-card__qr, .bk-card__icon { width: 72px; height: 72px; }
  .bk-card__qr .qr__code { width: 60px !important; height: 60px !important; }
  .bk-card__name { font-size: var(--fs-lg); }
  .bk-card__actions { grid-column: 1 / -1; }
  .account-nav a { padding: 0 10px; gap: 8px; font-size: var(--fs-md); }
}

/* ---------- page: legal ---------- */
.legal-head { background: var(--bg-page); border-bottom: 1px solid var(--line); padding-top: var(--s-6); }
.legal-head .crumbs .icon { width: 14px; height: 14px; }
.legal-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.legal-head__title { font-size: 44px; letter-spacing: -0.03em; }
.legal-head__lead { margin-top: 6px; font-size: 18px; color: var(--ink-2); }
.legal-lang { display: flex; align-items: center; gap: 12px; }
.legal-lang__label { font-weight: 700; color: var(--ink-2); font-size: var(--fs-md); }
.legal-lang .segmented { background: var(--bg); border: 1px solid var(--line); }
.legal-lang .segmented button { min-height: 40px; }
.legal-lang .segmented [aria-pressed="true"] { background: var(--ink); color: #fff; }
.legal-tabs { margin-top: var(--s-6); border-bottom: 0; }
.legal-body { padding-top: var(--s-10); padding-bottom: var(--s-14); }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: var(--s-6); max-height: calc(100vh - 48px); overflow-y: auto; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; }
.legal-toc__title { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a { display: block; padding: 6px 0; font-size: var(--fs-md); font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.legal-toc a:hover { color: var(--red-strong); }
.legal-doc { max-width: 820px; min-width: 0; }
.legal-doc__title { font-size: 40px !important; margin: 0 0 var(--s-3) !important; letter-spacing: -0.025em; }
.legal-doc .legal-subtitle { font-size: var(--fs-lg); color: var(--muted); }
.legal-doc .legal-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 var(--s-6); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); font-size: var(--fs-md); }
.legal-doc .legal-meta dt { font-weight: 700; color: var(--ink); }
.legal-doc .legal-meta dd { margin: 0; color: var(--muted); }
.legal-doc .legal-contents { display: none; }
.legal-doc .legal-box { border-left: 4px solid var(--red); background: var(--red-soft); border-radius: 0 var(--r-xl) var(--r-xl) 0; padding: 16px 22px; margin: 0 0 var(--s-5); }
.legal-doc .placeholder { background: var(--warn-bg); color: var(--warn); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.legal-doc h2 { scroll-margin-top: 16px; }
.legal-doc__actions { margin-top: var(--s-8); }
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { display: none; }
  .legal-doc .legal-contents { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-xl); margin-bottom: var(--s-6); }
}
@media (max-width: 720px) {
  .legal-head__title { font-size: 32px; }
  .legal-head__lead { font-size: var(--fs-base); }
  .legal-doc__title { font-size: 28px !important; }
  .legal-body { padding-top: var(--s-6); }
}
@media print {
  .site-header, .site-footer, .tabbar, .test-banner, .legal-head, .legal-toc, .legal-doc__actions, .cookie-banner { display: none !important; }
  .legal-layout { display: block; }
}

/* ---------- page: for-business ---------- */
.fb-hero { background: var(--navy); color: #fff; }
.fb-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.fb-eyebrow { font-size: var(--fs-sm); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.fb-hero__title { margin-top: 14px; font-size: 58px; line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.fb-hero__lead { margin-top: 18px; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.92); max-width: 560px; }
.fb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fb-btn-light { background: #fff; color: var(--navy); }
.fb-btn-light:hover { background: var(--navy-soft); }
.fb-btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.fb-btn-outline:hover { background: rgba(255,255,255,.1); }
.fb-btn-navy { background: var(--navy); color: #fff; }
.fb-btn-navy:hover { background: var(--navy-strong); }
.fb-mock { background: #fff; color: var(--ink); border-radius: 24px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 16px; }
.fb-mock__head { display: flex; align-items: center; gap: 12px; }
.fb-mock__logo { width: 44px; height: 44px; border-radius: var(--r-lg); background: var(--red-soft); color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.fb-mock__name { font-weight: 800; }
.fb-mock__open { font-size: var(--fs-sm); font-weight: 700; color: var(--ok); }
.fb-mock__tag { margin-left: auto; padding: 4px 10px; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fb-mock__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fb-mock__stat { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-xl); font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.fb-mock__stat strong { font-size: 30px; color: var(--ink); }
.fb-mock__stat--warn { background: var(--warn-bg); border-color: #F3DDB3; color: var(--warn); }
.fb-mock__rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-xl); }
.fb-mock__rows li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-md); }
.fb-mock__rows li:last-child { border-bottom: 0; }
.fb-h2 { font-size: var(--fs-3xl); letter-spacing: -0.02em; margin-bottom: var(--s-5); }
.fb-sub { margin: -8px 0 var(--s-6); font-size: 17px; color: var(--ink-2); }
.fb-made { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fb-made li { padding: 10px 18px; border-radius: var(--r-pill); background: var(--navy-soft); color: var(--navy); font-weight: 700; }
.fb-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fb-feature { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; }
.fb-feature__icon { width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--navy-soft); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.fb-feature__icon.is-hot { background: var(--red-soft); color: var(--red); }
.fb-feature h3 { font-size: var(--fs-xl); }
.fb-feature p { color: var(--ink-2); line-height: 1.6; }
.fb-how { background: var(--bg-page); padding: var(--s-12) 0; }
.fb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fb-step { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; }
.fb-step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.fb-step p { color: var(--ink-2); line-height: 1.55; font-size: var(--fs-base); }
.fb-fee-note { margin-bottom: var(--s-8); }
.fb-tickets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px; border-radius: 28px; background: #FFF1DB; }
.fb-tickets__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fb-tickets__text h2 { font-size: var(--fs-3xl); }
.fb-tickets__text p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.fb-tickets__text .policy-list .icon { color: var(--warn); }
.fb-tickets__list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #F3DDB3; border-radius: 20px; }
.fb-tickets__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.fb-tickets__list li:last-child { border-bottom: 0; }
.fb-tickets__list li div { display: flex; flex-direction: column; }
.fb-tickets__list li div span { font-size: var(--fs-sm); color: var(--muted); }
.fb-faq { border-top: 1px solid var(--line); }
.fb-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fb-faq summary { cursor: pointer; font-size: var(--fs-lg); font-weight: 800; min-height: 32px; }
.fb-faq p { margin-top: 10px; max-width: 780px; line-height: 1.65; color: var(--ink-2); }
.fb-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 44px 48px; border-radius: 28px; background: var(--navy); color: #fff; }
.fb-cta h2 { font-size: var(--fs-3xl); color: #fff; }
.fb-cta p { margin-top: 6px; font-size: 17px; color: rgba(255,255,255,.9); }
.fb-cta .fb-hero__actions { margin-top: 0; }
@media (max-width: 1024px) {
  .fb-hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; }
  .fb-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-tickets { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .fb-hero__title { font-size: 36px; }
  .fb-hero__lead { font-size: 16px; }
  .fb-hero__actions .btn { width: 100%; }
  .fb-features, .fb-steps { grid-template-columns: minmax(0, 1fr); }
  .fb-feature, .fb-step { padding: 20px; }
  .fb-h2, .fb-tickets__text h2, .fb-cta h2 { font-size: 26px; }
  .fb-tickets, .fb-cta { padding: 24px 20px; border-radius: 22px; }
  .fb-mock__rows li { grid-template-columns: 48px minmax(0, 1fr); }
  .fb-mock__rows li .status { grid-column: 2; justify-self: start; }
}

/* ---------- Phase 3 · P3-C: all-in ticket prices, live total, search switches ---------- */
.tickets-card__note { display: flex; align-items: flex-start; gap: 8px; margin-top: -6px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.tickets-card__note .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--ok); flex-shrink: 0; }
.ticket-row__price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.ticket-row__fee { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); white-space: nowrap; }
.ticket-total[aria-busy="true"] { opacity: .6; transition: opacity .15s ease; }
.ticket-total .notice { margin: 0; }
.ticket-total .btn--link { min-height: 0; padding: 0; vertical-align: baseline; }
.filters__switches { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.filters__switches[hidden] { display: none; }
.filters__switches .switch-row { min-height: 44px; gap: 8px; }
.filters__switches .switch-row__title { white-space: nowrap; }
.filters__switches .switch-row__title { font-weight: 700; }
.filters__instant { display: inline-flex; align-items: center; gap: 6px; }
.filters__instant .icon { width: 16px; height: 16px; color: var(--red-strong); }
.result__meta .open-dot { margin-left: 4px; font-size: var(--fs-sm); white-space: nowrap; }
.event-tile__price .status { font-size: var(--fs-sm); }
@media (max-width: 1024px) {
  .filters__switches { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
}
