.wrap { max-width:var(--container); padding-left:clamp(16px,4vw,48px); padding-right:clamp(16px,4vw,48px); }
.venue-photo { display:block; width:100%; max-width:100%; max-height:320px; height:auto; margin:10px auto 0; border-radius:var(--radius); border:1px solid var(--line); object-fit:cover; }
.venue-photo[hidden], [hidden] { display:none !important; }
#venue-board-text { white-space:pre-line; }
#venue-load-error { color:var(--muted); }
.venue-feature-summary-row { margin:0; padding:4px 0; color:#fff; font-family:sans-serif; font-size:.88rem; line-height:1.4; text-align:left; }
.venue-feature-summary-row h3 { display:inline; margin:0; color:#f0a500; font-family:inherit; font-size:inherit; font-weight:700; }
.venue-managed { display:block; width:fit-content; margin:.75rem auto 1.25rem; color:var(--muted); font-size:.9rem; text-align:center; text-decoration:none; }
.venue-managed:hover { color:var(--amber); }
/* Premium preview only (venue_premium_preview.php): managed-by line plus a way back. */
.venue-managed-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px 20px; margin:.75rem auto 1.25rem; }
.venue-managed-row .venue-managed { margin:0; }
.venue-preview-back { display:inline-block; padding:10px 18px; border-radius:8px; background:#ff8c00; color:#000; font-weight:700; font-size:.9rem; text-decoration:none; }
.venue-preview-back:hover { background:#f0a500; color:#000; }
.venue-premium .venue-managed-row { grid-column:1 / -1; }
.venue-booze-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:10px; padding:0; margin:0; list-style:none; }
.venue-booze-item { display:flex; align-items:center; gap:10px; min-width:0; }
.venue-booze-item img { width:52px; height:52px; object-fit:contain; border-radius:8px; }
.venue-feature-group {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.venue-feature-group:last-child { border-bottom:0; padding-bottom:0; }
.venue-feature-group h3 {
  flex:0 0 100%;
  margin:0 0 3px;
  color:var(--muted);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1.3;
  text-transform:uppercase;
}
.venue-feature-pill {
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  padding:7px 11px;
  border:1px solid rgba(240,165,0,.35);
  border-radius:999px;
  background:rgba(240,165,0,.08);
  color:#fff;
  font-size:.88rem;
  line-height:1.35;
}
.venue-feature-pill::before {
  content:"";
  flex:0 0 7px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--amber);
  box-shadow:0 0 8px rgba(240,165,0,.45);
}
@media (min-width:640px) {
  .venue-photo { max-width:420px; max-height:340px; }
}

/* Venue presentation is shared by the public file and portal preview. */
.venue-showcase { background:#0c0c12; }
.venue-showcase main.wrap { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; padding-top:24px; padding-bottom:32px; }
.venue-showcase .venue-head {
  position:relative; isolation:isolate; overflow:hidden; min-height:280px;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:clamp(28px,5vw,64px); border-radius:20px;
  background:radial-gradient(ellipse at top right,#554025,transparent 65%),#20202b;
  border:1px solid rgba(255,255,255,.1);
}
.venue-showcase .venue-head::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,rgba(8,8,14,.96),rgba(8,8,14,.3)); }
.venue-showcase .venue-head h1 { margin:90px 0 12px; color:#fff; font-size:clamp(2rem,4.5vw,4rem); line-height:1.05; letter-spacing:-.04em; max-width:20ch; text-wrap:balance; }
.venue-showcase .venue-head .addr { text-align:left; margin:0; color:#e0d9cc; font-size:1rem; max-width:60ch; }
.venue-showcase .venue-head .venue-photo { position:absolute; inset:0; z-index:-2; width:100%; height:100%; max-width:none; max-height:none; margin:0; border:0; border-radius:0; object-fit:cover; }
.venue-showcase .panel { min-width:0; margin:0; padding:clamp(22px,3vw,36px); background:#15151e; border:1px solid #2b2b37; border-radius:16px; }
.venue-showcase .panel h2 { color:#f6f3ec; font-size:1.45rem; letter-spacing:-.025em; margin:0 0 22px; }
.venue-showcase #venue-booze > h2::before, .venue-showcase .venue-drinks-header > h2::before { content:"THE MENU"; display:block; color:var(--amber); font-size:.7rem; font-weight:700; letter-spacing:.16em; margin-bottom:10px; }
.venue-showcase #board h2::before { content:"FROM THE VENUE"; display:block; color:var(--amber); font-size:.7rem; font-weight:700; letter-spacing:.16em; margin-bottom:10px; }
.venue-showcase #venue-board-text { color:#dedee6; line-height:1.8; margin:0; }
.venue-showcase .venue-booze-list { grid-template-columns:minmax(0,1fr); gap:0 28px; }
.venue-showcase .venue-booze-item { min-height:84px; gap:18px; padding:18px 0; border-bottom:1px solid #2b2b37; font-size:1rem; font-weight:600; }
.venue-showcase .venue-booze-item img { flex:0 0 60px; width:60px; height:60px; background:#20202c; padding:5px; border-radius:12px; }
.venue-showcase .venue-booze-item span { overflow-wrap:anywhere; }
.venue-showcase #venue-feature-list .venue-feature-summary-row { padding:12px 0; color:#d1d1dd; border-bottom:1px solid #2b2b37; font-family:inherit; font-size:.9rem; line-height:1.65; }
.venue-showcase #venue-feature-list .venue-feature-summary-row:last-child { border-bottom:0; }
.venue-showcase #venue-feature-list .venue-feature-summary-row h3 { display:block; margin:0 0 4px; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.venue-showcase .venue-app-cta { background:linear-gradient(110deg,#24202a,#17171f); }
.venue-showcase .venue-app-cta h2 { margin-bottom:8px; font-size:1.2rem; }
.venue-showcase .venue-app-cta p { color:var(--muted); max-width:65ch; }
.venue-premium .venue-app-cta p { font-size:.8rem; line-height:1.5; margin:8px 0 12px; }
.venue-premium .venue-app-cta .store-links { gap:8px; }
.venue-premium .venue-app-cta .appstore-badge { height:32px; }
.venue-premium .venue-app-cta .play-badge-link { min-height:32px; padding:0 10px; border-radius:5px; font-size:.72rem; }
.venue-premium .venue-app-cta [aria-disabled="true"] { cursor:default; }
.venue-showcase .venue-managed { margin:0 auto; }
.venue-sidebar { display:contents; }
.venue-premium .venue-sidebar { display:flex; flex-direction:column; gap:24px; min-width:0; }
@media (min-width:1000px) {
  .venue-premium main.wrap { grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr); gap:24px; align-items:start; }
  .venue-premium .venue-head { grid-column:1 / -1; min-height:340px; }
  .venue-premium #venue-booze { grid-column:1; grid-row:2; }
  .venue-premium .venue-sidebar { grid-column:2; grid-row:2; }
  /* Laptop: the side column stays beside the drinks list; a tall one scrolls on its own. */
  .venue-premium main:has(#venue-booze:not([hidden])) .venue-sidebar {
    position:sticky; top:calc(var(--venue-heading-offset, 0px) + 16px);
    max-height:calc(100vh - var(--venue-heading-offset, 0px) - 32px); overflow-y:auto;
    overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#80603a transparent;
  }
  .venue-premium main:not(:has(#venue-booze:not([hidden]))) .venue-sidebar { grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
  .venue-premium .venue-managed { grid-column:1 / -1; }
  .venue-premium .venue-app-cta { grid-column:1; }
}
@media (min-width:1250px) {
  .venue-premium .venue-booze-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Public venue pages omit the site's fixed navigation footer, including older cached HTML. */
body:has(.venue-head) { padding-bottom:24px; }
body:has(.venue-head) > .footer { display:none; }

/* The logo bar sits at the bottom of venue pages so the venue starts at the top of the screen. */
body:has(.venue-head) { padding-top:env(safe-area-inset-top); }
body:has(.venue-head):has(> .topbar) { padding-bottom:calc(48px + env(safe-area-inset-bottom)); }
body:has(.venue-head) > .topbar { top:auto; bottom:0; padding-top:0; padding-bottom:env(safe-area-inset-bottom); border-bottom:0; border-top:1px solid var(--line); }
body:has(.venue-head) > .topbar .wrap { height:48px; }
body:has(.venue-head) > .topbar .brand { font-size:.9rem; }
body:has(.venue-head) > .topbar .brand img { height:30px; }
/* Premium pages are the venue's own page: no Where's My Booze bar. */
body.venue-premium > .topbar { display:none; }
body.venue-premium:has(> .topbar) { padding-bottom:24px; }
.venue-free .claim { margin:0; background:transparent; }
.venue-free-promotion { display:contents; }
.venue-free-promotion[hidden] { display:none; }
.venue-free .venue-discover { background:radial-gradient(ellipse at top right,#3b2c20,transparent 65%),#1b1923; border-color:#66502e; }
.venue-free .promotion-eyebrow { color:var(--amber); font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.venue-free .venue-discover h2 { font-size:clamp(1.8rem,3vw,2.7rem); line-height:1.15; text-wrap:balance; }
.venue-free .venue-discover p:not(.promotion-eyebrow) { color:#d1d1dd; }
.promotion-benefits { padding-left:20px; margin:20px 0 26px; color:#d1d1dd; }
.promotion-benefits li { padding-left:4px; margin:10px 0; }
.promotion-benefits li::marker { color:var(--amber); }
.promotion-app-shot { display:block; width:180px; height:auto; margin:24px auto 0; border-radius:22px; box-shadow:0 16px 40px rgba(0,0,0,.4); }
.venue-free #board h2::before { content:"USER CONTRIBUTION"; }
.venue-free #board .venue-claim-button { margin-top:24px; }
@media (min-width:1000px) {
  .venue-free main.wrap { grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr); align-items:start; }
  .venue-free .venue-head { grid-column:1 / -1; min-height:340px; }
  .venue-free #board { grid-column:2; grid-row:2; }
  .venue-free .venue-app-cta { grid-column:2; }
  .venue-free .claim { grid-column:1 / -1; }
  .venue-free .venue-discover { grid-column:1; grid-row:2; }
  .venue-free .promotion-app-shot { width:160px; }
}

@media (min-width:1250px) {
  .venue-free .venue-discover { display:grid; grid-template-columns:minmax(0,1fr) 150px; gap:24px; align-items:center; }
  .venue-free .promotion-app-shot { width:150px; margin:0; }
}

.venue-booze-category { grid-column: 1 / -1; list-style: none; }
.venue-booze-category h3 { margin: 24px 0 8px; color: #f0a500; }

.venue-booze-description { min-width:0; }
.venue-booze-description > span { display:block; }
.venue-booze-meta { margin-top:4px; color:#b8b8c8; font-size:.85rem; font-weight:400; line-height:1.4; }

.venue-drinks-tabs { display:flex; flex-wrap:wrap; gap:6px; padding-bottom:14px; margin-bottom:6px; border-bottom:1px solid #4b3a27; }
.venue-drinks-tab { display:inline-flex; align-items:center; gap:7px; padding:8px 11px; border:1px solid #655038; border-radius:7px 7px 0 0; background:#17151d; color:#dedee6; font:inherit; font-size:.8rem; font-weight:600; cursor:pointer; }
@media (hover: hover) { .venue-drinks-tab:hover { background:#30271f; border-color:#f0a500; } }
.venue-drinks-tab[aria-selected="true"] { background:#f0a500; border-color:#f0a500; color:#17110a; }
.venue-drinks-tab:focus-visible, .venue-booze-list[role="tabpanel"]:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.venue-drinks-count { padding:1px 5px; border-radius:9px; background:rgba(128,128,128,.2); font-size:.7rem; }
.venue-drinks-tabs + .venue-booze-list .venue-booze-category { display:none; }

.venue-coming-soon-label { display:block; width:fit-content; margin-top:7px; padding:3px 7px; border:1px solid #80603a; border-radius:4px; color:#f0a500; background:#302519; font-size:.72rem; font-weight:600; }

.venue-booze-description { flex:1; }
.venue-booze-title-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.venue-booze-title-row .venue-booze-name { min-width:0; }
.venue-booze-title-row .venue-booze-price { flex:0 0 auto; color:#f0a500; white-space:nowrap; font-weight:700; }
.venue-showcase #venue-booze > .venue-app-cta { margin:24px 0 0; padding:24px 0 0; border:0; border-top:1px solid #4b3a27; border-radius:0; background:transparent; box-shadow:none; }
.venue-showcase #venue-booze > .venue-app-cta h2 { margin:0 0 10px; color:var(--amber); font-size:.7rem; font-weight:700; letter-spacing:.16em; }
.venue-showcase #venue-booze > .venue-app-cta h2::before { content:none; }
.venue-app-cta-logo { height:1.6em; width:auto; margin-left:6px; vertical-align:middle; }
.venue-pinned-heading { position:fixed; left:0; right:0; z-index:29; padding:12px 0; background:rgba(12,12,18,.97); border-bottom:1px solid #4b3a27; backdrop-filter:blur(8px); box-shadow:0 4px 12px rgba(0,0,0,.25); }
.venue-pinned-heading .wrap { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.venue-pinned-text { min-width:0; }
.venue-pinned-photo { flex:0 0 auto; width:72px; height:44px; border-radius:6px; object-fit:cover; }
.venue-pinned-name { color:#fff; font-size:1.1rem; font-weight:700; line-height:1.3; }
.venue-pinned-address { margin-top:4px; color:#e0d9cc; font-size:.85rem; line-height:1.4; }

/* Keep the drinks menu title and tabs visible beneath the pinned venue identity.
   Board and feature titles scroll normally so they never stack above the menu. */
.venue-premium #venue-booze > h2,
.venue-premium .venue-drinks-header {
  position:sticky;
  top:var(--venue-heading-offset, 0px);
  z-index:20;
  padding:14px 0;
  background:#15151e;
  box-shadow:0 6px 0 #15151e;
}
/* Its padding only covers drinks scrolling beneath it; don't let it add space above "THE MENU". */
.venue-premium #venue-booze > h2, .venue-premium .venue-drinks-header { margin-top:-14px; }
.venue-premium .venue-drinks-header > h2 { margin-bottom:16px; }
.venue-premium .venue-drinks-header .venue-drinks-tabs { margin-bottom:0; padding-bottom:0; border-bottom:0; }
/* Shown under the pinned drinks heading while drinks are hidden above. It sits
   outside the heading's height so showing it never moves the page. */
.venue-drinks-more {
  position:absolute; left:0; right:0; top:calc(100% + 6px);
  display:block; width:100%; padding:7px 0 8px; border:0; border-bottom:1px solid #4b3a27;
  background:#15151e; color:#f0a500; font:inherit; font-size:.8rem; font-weight:700;
  letter-spacing:.04em; text-align:center; cursor:pointer;
}
.venue-drinks-more::after {
  content:""; position:absolute; left:0; right:0; top:100%; height:28px; pointer-events:none;
  background:linear-gradient(#15151e, rgba(21,21,30,0));
}
.venue-drinks-more:hover { color:#ffc94d; }
.venue-drinks-more:focus-visible { outline:2px solid #fff; outline-offset:-2px; }
.venue-drinks-more[hidden] { display:none; }

.venue-booze-serving { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-top:4px; }
.venue-booze-serving .venue-booze-price { flex-shrink:0; }
