/* ═══════════════════════════════════════════════════════
   BLOEM EATS — Public Stylesheet v2.4
   Warm editorial food magazine aesthetic
═══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;0,9..144,900;1,9..144,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --flame:    #e8461a;
  --flame-dk: #c23610;
  --flame-lt: #fff2ee;
  --coal:     #1c1917;
  --ash:      #44403c;
  --dust:     #78716c;
  --smoke:    #a8a29e;
  --cream:    #f2ede8;
  --linen:    #ede7e0;
  --border:   #ddd8d3;
  --white:    #ffffff;
  --shadow-sm: 0 2px 8px rgba(28,25,23,.09),0 1px 3px rgba(28,25,23,.06);
  --shadow-md: 0 4px 16px rgba(28,25,23,.12),0 2px 6px rgba(28,25,23,.07);
  --shadow-lg: 0 12px 40px rgba(28,25,23,.16),0 4px 12px rgba(28,25,23,.09);
  --wrap:     1160px;
}

* { box-sizing: border-box; }

.be-dir {
  font-family: 'DM Sans', sans-serif;
  color: var(--coal);
  background: var(--cream);
  max-width: 100%;
}

/* ════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════ */
.be-hero {
  background:
    linear-gradient(
      to bottom,
      rgba(20,8,4,.55) 0%,
      rgba(160,45,15,.52) 40%,
      rgba(80,20,5,.70) 100%
    ),
    url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
  padding: 36px 20px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Straight bottom edge */
}
.be-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,85,42,.15) 0%, transparent 70%);
  pointer-events: none;
}
/* No ::after curve — straight edge */
.be-hero-inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; }

.be-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.95); font-size: 10px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .12em;
}

.be-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 6.5vw, 68px);
  font-weight: 900; color: var(--white);
  margin: 0 0 8px; line-height: 1.05;
  letter-spacing: -1.5px;
  text-shadow: 0 3px 28px rgba(0,0,0,.45);
}
.be-hero-title em { color: #ffd4a8; font-style: italic; }

.be-hero-sub {
  color: rgba(255,255,255,.9);
  font-size: clamp(13px, 1.8vw, 16px);
  margin: 0 0 16px; font-weight: 400; line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

/* Hero search */
.be-hero-search {
  max-width: 580px; margin: 0 auto 16px;
  display: flex; align-items: center;
  background: var(--white); border-radius: 50px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.12);
  gap: 8px;
}
.be-hero-search input {
  flex: 1; border: none; outline: none;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  background: transparent; color: var(--coal);
}
.be-hero-search input::placeholder { color: var(--smoke); }
.be-search-icon { font-size: 16px; opacity: .35; flex-shrink: 0; }
.be-clear-btn {
  background: none; border: none; cursor: pointer;
  color: var(--smoke); font-size: 14px; padding: 0 4px; line-height: 1;
}
.be-clear-btn:hover { color: var(--flame); }
.be-search-submit {
  flex-shrink: 0; padding: 10px 22px;
  background: var(--flame); color: var(--white);
  border: none; border-radius: 40px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.be-search-submit:hover  { background: var(--flame-dk); }
.be-search-submit:active { transform: scale(.97); }

/* Quick category pills */
.be-hero-cats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin-bottom: 20px;
}
.be-hero-cat {
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 30px;
  cursor: pointer; transition: all .15s;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.be-hero-cat:hover {
  background: rgba(255,255,255,.32);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}
.be-hero-cat:active { transform: scale(.97); }

/* Hero stats — compact inline strip below subtitle */
.be-hero-stats {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 30px;
  padding: 6px 4px;
  backdrop-filter: blur(4px);
}
.be-hero-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 20px;
  white-space: nowrap;        /* prevent any wrapping */
}
.be-hero-stat + .be-hero-stat {
  border-left: 1px solid rgba(255,255,255,.3);
}
.be-hero-stat strong {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
}

/* Search section — floats between hero and tabs */
.be-search-section {
  background: var(--cream);
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-bottom: 1px solid var(--border);
}
.be-search-section .be-hero-search {
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
}

/* ════════════════════════════════════════════════
   MAIN CONTENT WRAPPER
════════════════════════════════════════════════ */
.be-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 20px 64px;
}

/* ════════════════════════════════════════════════
   TABS
════════════════════════════════════════════════ */
.be-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  padding: 0 0 4px;
  /* Wrap tabs in a pill container */
  background: var(--cream);
}

/* Inner pill container — centred */
.be-tabs-inner {
  display: inline-flex;
  background: #ede8e3;
  border-radius: 14px;
  padding: 5px;
  gap: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.08);
}

.be-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--smoke);
  font-family: 'DM Sans', sans-serif;
  border-radius: 10px;
  transition: all .2s;
  letter-spacing: .01em;
  white-space: nowrap;
  position: relative;
}
.be-tab:hover { color: var(--coal); background: rgba(255,255,255,.5); }
.be-tab-active {
  background: var(--white);
  color: var(--coal);
  box-shadow: 0 1px 6px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.04);
}
.be-tab-active .be-tab-icon { color: var(--flame); }

/* ════════════════════════════════════════════════
   SEARCH WRAP (inside tabs - hidden, hero handles it)
════════════════════════════════════════════════ */
.be-search-wrap { display: none; } /* Hero search handles this */

/* ════════════════════════════════════════════════
   FILTERS
════════════════════════════════════════════════ */
.be-filters {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}
.be-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.be-filter-label {
  display: block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--smoke); margin-bottom: 7px;
}
.be-select {
  width: 100%; padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 13px; font-family: 'DM Sans', sans-serif;
  background: var(--cream); color: var(--coal);
  cursor: pointer; appearance: none; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color .2s, box-shadow .2s;
}
.be-select:focus {
  outline: none; border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(232,70,26,.08);
}
.be-filter-actions {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.be-submit-filters {
  padding: 11px 28px;
  background: var(--flame); color: var(--white);
  border: none; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background .15s, transform .1s;
  letter-spacing: .02em;
}
.be-submit-filters:hover  { background: var(--flame-dk); }
.be-submit-filters:active { transform: scale(.98); }
.be-reset-btn {
  background: none; border: none; cursor: pointer;
  color: var(--flame); font-size: 13px; font-weight: 600;
  padding: 0; text-decoration: underline;
  font-family: 'DM Sans', sans-serif;
}
.be-filter-info {
  padding-top: 14px; border-top: 1px solid var(--linen);
  font-size: 13px; color: var(--dust);
  display: flex; align-items: center; gap: 10px;
}
.be-filter-info strong { color: var(--coal); font-size: 18px; font-family: 'Fraunces', serif; }

/* ════════════════════════════════════════════════
   VENUE GRID
════════════════════════════════════════════════ */
.be-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  width: 100%;
}
.be-card-wrap.be-hidden { display: none; }

/* ════════════════════════════════════════════════
   VENUE CARD
════════════════════════════════════════════════ */
.be-vc {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 22px; overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  box-shadow: 0 2px 10px rgba(28,25,23,.10), 0 1px 3px rgba(28,25,23,.07);
}
.be-vc:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.be-vc-top {
  display: flex; gap: 14px;
  padding: 20px 20px 14px; align-items: flex-start;
}
.be-vc-logo     { flex-shrink: 0; }
.be-vc-logo img {
  width: 68px; height: 68px; border-radius: 14px;
  object-fit: contain; background: #f5f5f4; padding: 4px;
  border: 1.5px solid var(--border);
  min-width: 68px; min-height: 68px; display: block;
  box-shadow: var(--shadow-sm); box-sizing: border-box;
}
.be-vc-logo-placeholder {
  width: 68px; height: 68px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--white);
  text-transform: uppercase; letter-spacing: -1px;
  box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.be-vc-info   { flex: 1; min-width: 0; }
.be-vc-name   {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 700;
  margin: 0 0 4px; line-height: 1.25; color: var(--coal);
  /* Allow name to wrap onto a second line rather than cut off */
  white-space: normal; overflow: visible; word-break: break-word;
}
.be-star    { font-size: 12px; }
.be-vc-type {
  font-size: 10px; font-weight: 700; color: var(--flame);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .1em;
}
/* Food tags hidden from card — kept in data attrs for filtering */
.be-vc-foods { display: none; }
.be-tag {
  background: var(--linen); color: var(--ash);
  font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 20px;
  border: 1px solid var(--border);
}

/* Description — clamped by default, expandable on click */
.be-vc-desc-wrap { padding: 0 20px 10px; }
.be-vc-desc {
  font-size: 13px; color: var(--dust);
  margin: 0 0 4px; line-height: 1.6;
}
.be-vc-desc-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.be-vc-desc-expanded {
  display: block;
  overflow: visible;
}
.be-read-more {
  background: none; border: none; padding: 0;
  color: var(--flame); font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  line-height: 1;
}
.be-read-more:hover { text-decoration: underline; }
.be-vc-details {
  padding: 0 20px 14px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.be-vc-detail {
  font-size: 13px; color: var(--ash);
  display: flex; align-items: flex-start; gap: 8px;
}
.be-vc-detail a { color: var(--ash); text-decoration: none; }
.be-vc-detail a:hover { color: var(--flame); }

/* Card actions */
.be-vc-actions {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 14px 20px; border-top: 1px solid var(--linen);
  margin-top: auto;
}
.be-action-btn {
  padding: 7px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--ash); cursor: pointer; text-decoration: none;
  transition: all .15s; font-family: 'DM Sans', sans-serif;
  display: inline-flex; align-items: center; gap: 5px;
}
.be-action-btn:hover  { border-color: var(--flame); color: var(--flame); background: var(--flame-lt); }
.be-menu-toggle       { border-color: var(--coal); color: var(--coal); }
.be-menu-toggle:hover { background: var(--coal); color: var(--white); }
.be-menu-open         { background: var(--coal) !important; border-color: var(--coal) !important; color: var(--white) !important; }
.be-no-spec { font-size: 12px; color: var(--smoke); padding: 4px 0; }

/* Specials panel */
.be-specials-panel {
  border-top: 2px solid var(--flame);
  background: linear-gradient(180deg,#fff7f5 0%,var(--white) 100%);
}
.be-spec-hd {
  padding: 12px 20px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--flame); border-bottom: 1px solid #fdba74;
}
.be-spec-item {
  display: flex; gap: 14px; padding: 14px 20px;
  border-bottom: 1px solid #fef3c7;
}
.be-spec-item:last-child { border-bottom: none; }
.be-spec-day {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--flame); background: var(--white);
  border: 1.5px solid #fdba74; border-radius: 6px;
  padding: 4px 9px; align-self: flex-start; white-space: nowrap; margin-top: 2px;
}
.be-spec-body  { flex: 1; min-width: 0; }
.be-spec-title { font-size: 14px; font-weight: 700; color: var(--coal); margin-bottom: 4px; font-family: 'Fraunces', serif; }
.be-spec-ftag  {
  display: inline-block; background: #fff7ed; color: #c2410c;
  border: 1px solid #fdba74; border-radius: 20px;
  font-size: 10px; font-weight: 600; padding: 2px 8px; margin-bottom: 5px;
}
.be-spec-desc  { font-size: 13px; color: var(--ash); line-height: 1.55; }
.be-spec-price { font-size: 15px; font-weight: 700; color: var(--flame); margin-top: 6px; font-family: 'Fraunces', serif; }
.be-spec-flyer { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--flame); text-decoration: none; }
.be-spec-flyer:hover { text-decoration: underline; }

/* Menu panel */
.be-menu-panel { border-top: 2px solid var(--coal); background: var(--linen); }
.be-menu-hd    { padding: 12px 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--coal); border-bottom: 1px solid var(--border); }
.be-menu-pages { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px; }
.be-menu-pg    { display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; transition: transform .2s; }
.be-menu-pg:hover { transform: scale(1.05); }
.be-menu-pg img { width: 80px; height: 110px; object-fit: cover; object-position: top; border-radius: 8px; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.be-menu-pg span { font-size: 10px; color: var(--dust); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* ════════════════════════════════════════════════
   FILTER RESULT CARDS (Specials tab)
════════════════════════════════════════════════ */
#be-filter-view      { margin-top: 4px; }
#be-specials-results { display: flex; flex-direction: column; gap: 14px; }

.be-res-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 18px; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  box-shadow: var(--shadow-sm);
}
.be-res-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.be-res-top {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px 12px; border-bottom: 1px solid var(--linen);
}
.be-res-logo {
  width: 48px; height: 48px; border-radius: 12px;
  object-fit: cover; object-position: center;
  border: 1.5px solid var(--border); flex-shrink: 0;
  min-width: 48px; min-height: 48px;
  box-shadow: var(--shadow-sm); display: block;
}
.be-res-logo-ph {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; flex-shrink: 0;
  color: var(--white); text-transform: uppercase; letter-spacing: -0.5px;
}
.be-res-venue-info { flex: 1; min-width: 0; }
.be-res-venue-name { font-size: 15px; font-weight: 700; color: var(--coal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: 'Fraunces', serif; }
.be-res-vtype      { font-size: 10px; color: var(--flame); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.be-res-day {
  flex-shrink: 0; background: var(--coal); color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .06em;
}
.be-res-summary { padding: 10px 18px 6px; font-size: 13px; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.be-res-body    { padding: 2px 18px 14px; }
.be-res-title   { font-size: 15px; font-weight: 700; color: var(--coal); margin: 10px 0 5px; font-family: 'Fraunces', serif; }
.be-res-desc    { font-size: 13px; color: var(--ash); line-height: 1.6; }
.be-res-price   { font-size: 16px; font-weight: 700; color: var(--flame); margin-top: 8px; font-family: 'Fraunces', serif; }
.be-res-ftag    { display: inline-block; background: #fff7ed; color: #c2410c; border: 1px solid #fdba74; border-radius: 20px; font-size: 10px; font-weight: 600; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.be-flyer-link  { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--flame); text-decoration: none; border: 1.5px solid #fdba74; padding: 5px 12px; border-radius: 20px; background: #fff7ed; transition: background .15s; }
.be-flyer-link:hover { background: #ffedd5; }
.be-view-btn {
  display: block; width: 100%; padding: 11px;
  background: var(--linen); border: none; border-top: 1px solid var(--border);
  font-size: 11px; font-weight: 700; color: var(--flame);
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  text-align: center; transition: background .15s;
  text-transform: uppercase; letter-spacing: .08em;
}
.be-view-btn:hover { background: var(--flame-lt); }

/* No results */
.be-no-results { text-align: center; padding: 64px 20px; color: var(--smoke); font-size: 15px; grid-column: 1/-1; }

/* ════════════════════════════════════════════════
   RESPONSIVE  (v2.4 — panel-padding approach)
════════════════════════════════════════════════ */
@media(max-width:640px){
  .be-hero          { padding: 24px 16px 24px; }
  .be-hero-title    { letter-spacing: -1px; }
  .be-hero-stat     { padding: 0 10px; font-size: 11px; }
  .be-hero-stat strong { font-size: 17px; }
  .be-search-section { padding: 12px 16px; }
  .be-tab  { padding: 10px 18px; font-size: 13px; }

  /*
   * Root cause: CSS Grid items ignore margin-based constraints in Sinatra.
   * Fix: strip .be-main horizontal padding, then give BOTH tab panels the
   * same 12px gutter — every child (filter card, grid, result cards)
   * inherits the identical content width with no theme interference.
   */
  .be-main {
    padding: 0 0 48px 0 !important;
  }

  #be-panel-venues,
  #be-panel-specials {
    padding: 0 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: hidden;
  }

  .be-filters {
    width: 100% !important;
    margin: 0 0 14px 0 !important;
    box-sizing: border-box !important;
    padding: 18px 16px;
    border-radius: 16px;
  }

  .be-filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }

  .be-grid {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: hidden;
  }

  .be-card-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .be-vc {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 16px;
  }
}

/* ── Load More pagination (v2.1) ── */
.be-page-hidden { display: none !important; }
.be-loadmore-wrap {
  text-align: center;
  padding: 28px 0 8px;
}
.be-loadmore-btn {
  background: #fff;
  border: 1.5px solid #e7e5e4;
  color: #44403c;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.be-loadmore-btn:hover {
  border-color: #e8552a;
  color: #e8552a;
  background: #fff5f2;
}

/* ══════════════════════════════════════════════════
   PREMIUM vs FREE card differentiation  — v3.7
══════════════════════════════════════════════════ */

/* ── Premium card wrapper ── */
.be-card-premium .be-vc {
  border: 1.5px solid var(--border);
  border-top: 4px solid #555; /* JS replaces with logo dominant colour */
  box-shadow: 0 4px 20px rgba(28,25,23,.10), 0 1px 4px rgba(28,25,23,.06);
  border-radius: 18px;
  overflow: hidden;
}
.be-card-premium .be-vc:hover {
  box-shadow: 0 16px 48px rgba(28,25,23,.18), 0 4px 14px rgba(28,25,23,.10);
  transform: translateY(-5px);
}

/* ── Free card — slightly muted ── */
.be-card-free .be-vc {
  border: 1.5px solid #e7e5e4;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  opacity: .95;
}

/* ── Premium top stripe ── */
.be-prem-stripe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  background: linear-gradient(90deg, #e8552a, #c0392b);
  padding: 7px 14px;
}
.be-prem-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  text-transform: uppercase;
}

/* ── Open / Closed pill ── */
.be-open-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.be-open-now    { background: rgba(255,255,255,.22); color: #fff; font-weight: 700; }
.be-open-closed { background: rgba(0,0,0,.28);       color: #fca5a5; font-weight: 700; }
.be-open-hours  { background: rgba(255,255,255,.18); color: #fff; font-weight: 700; }

/* ── Free description clamp (2 lines only) ── */

/* ── Social links row ── */
.be-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 16px 4px;
}
.be-social-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity .15s;
}
.be-social-btn:hover { opacity: .8; }
.be-social-ig { background: #fce4ec; color: #c2185b; }
.be-social-fb { background: #e3f2fd; color: #1565c0; }
.be-social-wa { background: #e8f5e9; color: #2e7d32; }

/* ── Inline specials ── */
.be-inline-specials {
  margin: 10px 14px;
  background: #fff8f6;
  border: 1.5px solid #fbd5c8;
  border-radius: 12px;
  overflow: hidden;
}
.be-inline-specials-hd {
  background: linear-gradient(90deg,#fff3ee,#ffe8e0);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #e8552a;
  padding: 8px 14px;
  border-bottom: 1px solid #fbd5c8;
}
.be-inline-special {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #fce8e2;
}
.be-inline-special:last-of-type { border-bottom: none; }
.be-inline-flyer {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #fbd5c8;
}
.be-inline-special-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
}
.be-inline-day {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #e8552a;
}
.be-inline-title {
  font-size: 13px;
  font-weight: 700;
  color: #1c1917;
}
.be-inline-desc {
  font-size: 13px;
  color: #57534e;
  flex-basis: 100%;
}
.be-inline-price {
  font-size: 13px;
  font-weight: 700;
  color: #e8552a;
}
.be-inline-more {
  font-size: 12px;
  color: #78716c;
  padding: 8px 14px;
  font-style: italic;
  border-top: 1px solid #fce8e2;
}

/* ── Premium menu button accent ── */
.be-action-btn-prem {
  background: #fff3ee;
  color: #e8552a;
  border-color: #fbd5c8;
}

/* ── Responsive ── */
@media (max-width:640px) {
  .be-prem-stripe { padding: 6px 12px; }
  .be-open-pill { font-size: 10px; }
  .be-inline-specials { margin: 8px 10px; }
}

/* ══════════════════════════════════════════════════
   SPECIALS — flyer-first card design  v3.8
══════════════════════════════════════════════════ */

/* Container */
#be-specials-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 12px;
}

/* Card */
.be-sc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: box-shadow .2s;
}
.be-sc-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); }

/* ── Venue header (clickable) ── */
.be-sc-venue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #faf9f7;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
}
.be-sc-venue:hover { background: #f0ede8; }
.be-sc-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: #f5f5f4;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  display: block;
}
.be-sc-logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
}
.be-sc-venue-info { flex: 1; min-width: 0; }
.be-sc-venue-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--coal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.be-sc-goto {
  font-size: 13px;
  color: var(--flame);
  opacity: 0;
  transition: opacity .15s;
  margin-left: 4px;
}
.be-sc-venue:hover .be-sc-goto { opacity: 1; }
.be-sc-vtype {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--flame);
  margin-top: 2px;
}

/* ── Card body ── */
.be-sc-body { display: flex; flex-direction: column; }

/* ── Special heading bar ── */
.be-sc-heading {
  padding: 12px 16px 8px;
  border-bottom: 1px solid #f5f0eb;
}
.be-sc-heading-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.be-sc-day {
  background: var(--flame);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}
.be-sc-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--coal);
  line-height: 1.2;
  word-break: break-word;
}
.be-sc-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--flame);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Food type tag ── */
.be-sc-ftag {
  display: inline-block;
  background: #f0ede8;
  color: #78716c;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Description ── */
.be-sc-desc {
  margin: 8px 16px 10px;
  font-size: 14px;
  color: #57534e;
  line-height: 1.5;
}

/* ── Flyer — hero image ── */
/* ── Flyer container ── */
.be-sc-flyers {
  border-top: 1px solid var(--border);
}

/* Single flyer — full width, dark background preserved */
.be-sc-flyers-single .be-sc-flyer-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  background: #1c1917;
}
.be-sc-flyers-single .be-sc-flyer {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
  transition: transform .3s;
}

/* Multiple flyers — side by side row, white background, equal widths */
.be-sc-flyers-row {
  display: flex;
  gap: 0;
  background: #fff;
}
.be-sc-flyer-multi {
  display: block;
  position: relative;
  overflow: hidden;
  flex: 1;
  border-right: 1px solid var(--border);
  background: #fff;
}
.be-sc-flyer-multi:last-child { border-right: none; }
.be-sc-flyers-row .be-sc-flyer {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .3s;
  padding: 8px;
  box-sizing: border-box;
}

/* Hover zoom on all */
.be-sc-flyer-wrap:hover .be-sc-flyer { transform: scale(1.02); }

/* "Tap to enlarge" hint */
.be-sc-flyer-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 20px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .be-sc-flyers-row .be-sc-flyer { height: 200px; }
  .be-sc-flyers-single .be-sc-flyer { max-height: 280px; }
}

/* ── Venue card highlight (after navigation) ── */
.be-card-highlight .be-vc {
  box-shadow: 0 0 0 3px var(--flame), 0 4px 20px rgba(232,85,42,.25) !important;
  transition: box-shadow .3s;
}

/* ── Responsive ── */
@media (max-width:640px) {
  .be-sc-title { font-size: 15px; }
  .be-sc-price { font-size: 18px; }
  .be-sc-flyer { max-height: 280px; }
}

/* ══════════════════════════════════════════════════
   PREMIUM card v3.9 — dominant colour + badges
══════════════════════════════════════════════════ */

/* Logo: contain + clean background */
.be-vc-logo-img {
  width: 68px; height: 68px; min-width: 68px;
  object-fit: contain;
  background: #f5f5f4;
  padding: 4px;
  border-radius: 14px;
  display: block;
  border: 1.5px solid #e7e5e4;
  box-sizing: border-box;
}

/* Premium stripe — split layout */
.be-prem-stripe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px;
  /* neutral dark default — JS replaces with logo dominant colour */
  background: linear-gradient(90deg, #2c2c2c, #1a1a1a);
}
.be-prem-stripe-left { display: flex; align-items: center; gap: 8px; }
.be-prem-stripe-right { display: flex; align-items: center; }

/* Verified badge */
.be-verified-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,.22);
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .04em;
}

/* Specials + Menu count badges under food tags */
.be-prem-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.be-count-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}
.be-specials-count {
  background: #fff3ee;
  color: #e8552a;
  border: 1px solid #fbd5c8;
  cursor: pointer;
}
.be-specials-count:hover { background: #ffe8de; }
.be-menu-count {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* WhatsApp CTA — bigger, bolder */
.be-wa-cta {
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(37,211,102,.3);
}
.be-wa-cta:hover { background: #1da851 !important; opacity: 1 !important; }

@media (max-width: 640px) {
  .be-prem-stripe { padding: 7px 12px; }
  .be-wa-cta { padding: 7px 12px !important; }
}

/* ══════════════════════════════════════════════════
   v4.2 — Logo watermark centred in card body only
══════════════════════════════════════════════════ */

/* be-vc-body: wraps everything below the premium stripe.
   This is the positioning parent for the watermark so it
   centres between the stripe and the bottom buttons only. */
.be-vc-body {
  position: relative;
  overflow: hidden;
}

/* Premium card: overflow hidden keeps rounded corners clean */
.be-vc-premium {
  position: relative;
  overflow: hidden;
}

/* Watermark: centred inside be-vc-body, not the whole card */
.be-vc-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(40%);
}

/* All card body content sits above the watermark */
.be-vc-body > *:not(.be-vc-watermark) {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════
   SOCIAL ICON CIRCLES  v5.33 — unified brand colour
══════════════════════════════════════════════════ */
.be-social-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 4px;
}
.be-icon-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  background: var(--flame);
  color: #fff;
  transition: transform .18s, box-shadow .18s, background .15s;
  box-shadow: 0 2px 8px rgba(232,70,26,.30);
}
.be-icon-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,70,26,.40);
  background: var(--flame-dk);
}
.be-icon-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
/* All icons use flame — override individual colour classes */
.be-icon-wa,
.be-icon-ig,
.be-icon-fb,
.be-icon-email {
  background: var(--flame);
  color: #fff;
}

/* ══════════════════════════════════════════════════
   ACTION BUTTONS (Website / Map / Menu)  v4.6
══════════════════════════════════════════════════ */
.be-vc-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.be-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .15s;
  line-height: 1;
}
.be-action-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.be-action-website {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.be-action-website:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(29,78,216,.15);
}

.be-action-map {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}
.be-action-map:hover {
  background: #ffedd5;
  border-color: #fdba74;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(194,65,12,.15);
}

.be-action-menu {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.be-action-menu:hover {
  background: #dcfce7;
  border-color: #86efac;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(21,128,61,.12);
}

.be-menu-count-badge {
  background: #15803d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .be-icon-btn { width: 42px; height: 42px; }
  .be-icon-btn svg { width: 20px; height: 20px; }
  .be-action-btn { padding: 8px 13px; font-size: 12px; }
}

/* ── Claim This Venue bar ─────────────────────── */
.be-claim-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fafaf9;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.be-claim-text { color: var(--smoke); }
.be-claim-link {
  color: var(--flame);
  font-weight: 600;
  text-decoration: none;
}
.be-claim-link:hover { text-decoration: underline; }

/* ── Suburb filter & Open Now row ── */
.be-filter-row-secondary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0 2px;
  flex-wrap: wrap;
}
.be-open-now-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #44403c;
  cursor: pointer;
  user-select: none;
}
.be-open-now-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #16a34a;
}

/* ── Open status row for free venue cards ── */
.be-open-status-row {
  padding: 6px 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Amenity badges (premium only) ── */
.be-amenity-list {
  font-size: 11px;
  color: #7a6f66;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
}
.be-amenity-list.be-food-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.be-amenity-list.be-food-expanded {
  display: block;
  overflow: visible;
}
.be-food-list {
  font-size: 11px;
  color: #7a6f66;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
}
.be-food-wrap, .be-amenity-wrap {
  padding: 6px 14px 4px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.be-info-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
  padding-left: 8px;
  border-left: 3px solid var(--flame);
  line-height: 1.3;
}
.be-food-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.be-food-expanded {
  display: block;
  overflow: visible;
}
.be-food-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  color: #e8552a;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1px;
  display: inline-block;
}
