/* Explore bars (explore.html) and a bar's page (venue.html) */
.xp-main { padding-top: 8px; padding-bottom: 64px; }
.xp-loading { color: var(--muted); padding: 60px 0; text-align: center; }
.xp-main .ic { width: 16px; height: 16px; flex: none; }

/* explore: hero + search */
.xp-hero { text-align: center; max-width: 720px; margin: 24px auto 22px; }
.xp-hero h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.035em; line-height: 1.05; margin: 8px 0 12px; }
.xp-hero .lede { color: var(--muted); font-size: 17px; line-height: 1.5; }
.xp-search { display: flex; align-items: center; gap: 10px; margin: 22px auto 0; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 18px; box-shadow: 0 8px 30px rgba(16, 28, 52, 0.08); }
.xp-search .ic { color: var(--muted); width: 18px; height: 18px; }
.xp-search input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; padding: 10px 4px; outline: none; color: var(--text); min-width: 0; }

.xp-filters { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.xp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.xp-chips button.on { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }
.xp-selects { display: flex; gap: 10px; flex-wrap: wrap; }
.xp-selects label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.xp-selects select { font: inherit; font-size: 14px; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 30px 8px 12px; background: var(--surface); }
.xp-count { color: var(--muted); font-size: 14px; margin: 18px 0 12px; }

.xp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.xp-card { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.xp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.xp-img { position: relative; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.xp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-img em { position: absolute; left: 12px; bottom: 12px; font-style: normal; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, 0.94); color: var(--text); padding: 5px 10px; border-radius: 999px; }
.xp-body { display: grid; gap: 6px; padding: 14px 16px 16px; }
.xp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.xp-row b { font-size: 17px; letter-spacing: -0.01em; }
.xp-body > small { color: var(--muted); font-size: 13.5px; }
.xp-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; margin-top: 2px; }
.xp-facts span { display: inline-flex; align-items: center; gap: 5px; }

.xp-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; white-space: nowrap; }
.xp-rating small { color: var(--muted); }
.xp-new { font-size: 12px; font-weight: 600; color: var(--gold-ink); background: var(--peach); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.xp-stars { display: inline-flex; gap: 1px; color: #d8cfbf; font-size: 14px; letter-spacing: 0; }
.xp-stars i { font-style: normal; }
.xp-stars i.on { color: #f0a92b; }
.xp-stars i.half { background: linear-gradient(90deg, #f0a92b 50%, #d8cfbf 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xp-stars.sm { font-size: 13px; }

.xp-empty { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 60px 20px; color: var(--muted); }
.xp-empty .ic { width: 34px; height: 34px; color: var(--gold-ink); }
.xp-empty h2 { color: var(--text); font-size: 22px; }
.xp-cta { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--ink-800); color: #fff; border-radius: 22px; padding: 26px 30px; }
.xp-cta h2 { font-size: 22px; }
.xp-cta p { color: var(--ink-muted); margin-top: 4px; }

/* one bar */
.xp-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; margin: 12px 0 16px; }
.xp-venue { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.xp-cover { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--bg-alt); }
.xp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-vhead { margin-top: 22px; }
.xp-vhead h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.03em; margin: 6px 0 8px; }
.xp-vmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); }
.xp-vmeta span { display: inline-flex; align-items: center; gap: 5px; }
.xp-desc { font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 64ch; }
.xp-sec { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.xp-sec h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 12px; }
.xp-sub { color: var(--muted); margin: -4px 0 12px; }
.xp-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.xp-type { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 4px; align-content: start; }
.xp-tmin { color: var(--gold-ink); font-weight: 700; font-size: 14px; }
.xp-type p { color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 4px; }
.xp-type small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.xp-sched, .xp-hours { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.xp-sched li, .xp-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.xp-sched li:first-child, .xp-hours li:first-child { border-top: 0; }
.xp-hours li.today { background: var(--peach); font-weight: 600; }
.xp-hours span, .xp-sched span { color: var(--muted); }
.xp-hours li.today span { color: var(--text); }

.xp-rsum { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.xp-rbig { display: grid; justify-items: start; gap: 2px; }
.xp-rbig b { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.xp-rbig small { color: var(--muted); }
.xp-rbig .xp-stars { font-size: 18px; }
.xp-dist { list-style: none; display: grid; gap: 4px; flex: 1; min-width: 200px; max-width: 320px; }
.xp-dist li { display: grid; grid-template-columns: 28px 1fr 24px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.xp-dist i { height: 8px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.xp-dist em { display: block; height: 100%; background: #f0a92b; border-radius: inherit; }
.xp-reviews { list-style: none; display: grid; gap: 12px; }
.xp-reviews > li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.xp-rhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.xp-rhead small { color: var(--muted); }
.xp-reviews p { margin-top: 8px; line-height: 1.55; }
.xp-reply { margin-top: 12px; background: var(--bg); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 10px 12px; font-size: 14px; }
.xp-reply p { margin-top: 2px; color: var(--muted); }

.xp-book { position: sticky; top: 24px; }
.xp-bookcard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.xp-bmin { font-size: 20px; letter-spacing: -0.01em; }
.xp-bookcard ul { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 14.5px; }
.xp-bookcard li { display: flex; gap: 10px; align-items: flex-start; }
.xp-bookcard li .ic { margin-top: 2px; color: var(--gold-ink); }
.xp-bookcard a:not(.btn) { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.xp-fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.xp-own { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.xp-own a { color: inherit; text-decoration: underline; }
.xp-mbook { display: none; }

@media (max-width: 900px) {
  .xp-venue { grid-template-columns: 1fr; }
  .xp-book { display: none; }
  .xp-mbook { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16, 28, 52, 0.08); }
  .xp-mbook span { display: grid; min-width: 0; }
  .xp-mbook small { color: var(--muted); font-size: 12.5px; }
  body[data-page="venue"] .footer { padding-bottom: 90px; }
  .xp-cover { aspect-ratio: 16 / 10; border-radius: 18px; }
  .xp-filters { flex-direction: column; align-items: stretch; }
  .xp-selects label { flex: 1; min-width: 120px; }
  .xp-selects select { width: 100%; }
}
/* the built-in sample bars on the real site: shown, but marked and not bookable */
.xp-sample { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8a6200; background: #fff3d6; border-radius: 999px; padding: 3px 8px; }

/* a bar's own photos: cover + up to 4 beside it, and a full-screen viewer */
.xp-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 16 / 8; border-radius: 24px; overflow: hidden; }
.xp-gallery button { border: 0; padding: 0; margin: 0; cursor: zoom-in; position: relative; overflow: hidden; background: var(--bg-alt); }
.xp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.xp-gallery button:hover img { transform: scale(1.03); }
.xp-g-main { grid-row: 1 / 3; }
.xp-gallery.n2 { grid-template-columns: 2fr 1fr; } .xp-gallery.n2 .xp-g-thumb { grid-row: 1 / 3; }
.xp-gallery.n3 { grid-template-columns: 2fr 1fr; }
.xp-gallery.n4 .xp-g-thumb:last-child { grid-column: 2 / 4; }
.xp-g-thumb span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 20, 40, .5); color: #fff; font-weight: 800; font-size: 20px; }
.xp-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 14, 28, .94); display: flex; align-items: center; justify-content: center; }
.xp-lightbox[hidden] { display: none; }
.xp-lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; }
.xp-lb-x, .xp-lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.xp-lb-x { top: 16px; right: 16px; } .xp-lb-nav.prev { left: 16px; } .xp-lb-nav.next { right: 16px; }
.xp-lb-count { position: absolute; bottom: 20px; color: #fff; font-weight: 700; font-size: 14px; }
@media (max-width: 760px) {
  .xp-gallery, .xp-gallery.n2, .xp-gallery.n3 { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; aspect-ratio: auto; border-radius: 18px; gap: 6px; }
  .xp-g-main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .xp-g-thumb, .xp-gallery.n2 .xp-g-thumb, .xp-gallery.n4 .xp-g-thumb:last-child { grid-row: auto; grid-column: auto; aspect-ratio: 1; }
  .xp-lb-nav { top: auto; bottom: 12px; } .xp-lb-nav.prev { left: 24px; } .xp-lb-nav.next { right: 24px; }
}

/* a bar's highlights and what it's good for (from its listing) */
.xp-highlights { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.xp-highlights li { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.xp-highlights .ic { color: var(--gold-ink); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.xp-good { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.xp-good span { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.xp-good em { font-style: normal; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
