/* Restaurant directory + detail styles.
 * Visual rule: reuse the existing Boone Buzz token palette ONLY (var(--*)).
 * No new colors, no changes to existing surfaces. Card/filter patterns mirror
 * app.js conventions (.card, .card-grid, .card-actions, .source-note). */
.directory-main{max-width:1240px;margin:auto;padding:55px 40px 45px}
.directory-hero{margin-bottom:10px}
.directory-hero .eyebrow{color:var(--muted);margin-bottom:12px}
.directory-hero h1{margin:12px 0}
.directory-hero h1 em{color:var(--orange);font-weight:normal}
.directory-description{max-width:560px;color:var(--muted);font-size:15px;line-height:1.8;margin-top:14px}
.rest-filter-row{flex-wrap:wrap}
.rest-filters{display:flex;flex-wrap:wrap;gap:10px}
.rest-select{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
.rest-select select{padding:9px 12px;border:1px solid var(--line);border-radius:25px;background:var(--paper);color:var(--ink);font-size:12px;font-weight:600;min-height:44px;max-width:220px}
.card-top.restaurant{background:var(--light);flex-wrap:wrap}
.restaurant-name-link{text-decoration:none;color:var(--deal)}
.restaurant-name-link:hover{color:var(--orange);text-decoration:underline;text-underline-offset:4px}
.restaurant-deals-link{font-weight:700}
.profile-card{margin-bottom:34px}
.profile-description{font-size:14px;color:var(--ink);margin:10px 0;overflow-wrap:anywhere}
.profile-section{margin-top:10px}
.profile-section .results-heading{margin:8px 0 22px}
.profile-section .result-count{font-size:10px;color:var(--muted);padding-top:7px;white-space:nowrap}
.deal-card-mini .card-top.deal{min-height:56px;padding:14px 18px}
.deal-card-mini .card-body{padding:18px}
.deal-card-mini h4{font-size:21px}
.card-actions a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:1000px){.directory-main{padding:45px 30px 35px}}
@media(max-width:600px){.directory-main{padding:35px 20px}.directory-hero h1{font-size:44px}.rest-select select{max-width:100%;width:100%}.rest-filters{width:100%}.rest-filters .rest-select{flex:1 1 140px}.profile-card{margin-bottom:26px}}
@media(prefers-reduced-motion:reduce){.card{transition:none}}


/* Craving quick filters */
.craving-section{margin:26px 0 18px}
.craving-section .eyebrow{margin:0 0 10px;color:var(--muted)}
.craving-filters{display:flex;flex-wrap:wrap;gap:8px}

.craving-pill{
  min-height:38px;padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--ink);
  font:inherit;font-size:11px;font-weight:800;
  letter-spacing:.25px;cursor:pointer;
  transition:transform .15s ease,border-color .15s ease
}

.craving-pill:hover{transform:translateY(-1px)}
.craving-pill.active{
  border-color:currentColor;
  box-shadow:inset 0 0 0 1px currentColor
}

.craving-pizza.active{color:var(--orange)}
.craving-bbq.active{color:var(--deal)}
.craving-burgers.active{color:var(--sun)}
.craving-mexican.active{color:var(--trail)}
.craving-asian.active{color:var(--sky)}
.craving-southern.active{color:var(--ridge-mid)}
.craving-breakfast.active{color:var(--header-event)}
.craving-coffee.active{color:var(--header-deal)}
.craving-pubs.active{color:var(--header-taproom)}
.craving-american.active{color:var(--header-truck)}

.restaurant-card{border-top-width:4px}
.craving-card-pizza{border-top-color:var(--orange)}
.craving-card-bbq{border-top-color:var(--deal)}
.craving-card-burgers{border-top-color:var(--sun)}
.craving-card-mexican{border-top-color:var(--trail)}
.craving-card-asian{border-top-color:var(--sky)}
.craving-card-southern{border-top-color:var(--ridge-mid)}
.craving-card-breakfast{border-top-color:var(--header-event)}
.craving-card-coffee{border-top-color:var(--header-deal)}
.craving-card-pubs{border-top-color:var(--header-taproom)}
.craving-card-american{border-top-color:var(--header-truck)}

@media(max-width:600px){
  .craving-filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:6px
  }
  .craving-pill{flex:0 0 auto}
}

/* CRAVINGS-2 visual refinement */

/* Restaurant names need strong contrast */
.restaurant-name-link{
  color:var(--ink);
}

/* Remove category color from entire card edge */
.restaurant-card{
  border-top-color:var(--line);
}

/* Category color belongs on the cuisine badge */
.restaurant-card .status-badge{
  color:var(--action-text);
  border-color:transparent;
}

.craving-card-pizza .status-badge{background:var(--orange)}
.craving-card-bbq .status-badge{background:var(--deal)}
.craving-card-burgers .status-badge{background:var(--sun)}
.craving-card-mexican .status-badge{background:var(--trail)}
.craving-card-asian .status-badge{background:var(--sky)}
.craving-card-southern .status-badge{background:var(--ridge-mid)}
.craving-card-breakfast .status-badge{background:var(--header-event)}
.craving-card-coffee .status-badge{background:var(--header-deal)}
.craving-card-pubs .status-badge{background:var(--header-taproom)}
.craving-card-american .status-badge{background:var(--header-truck)}

/* Selected craving should read as selected, not merely outlined */
.craving-pill.active{
  color:var(--action-text);
  border-color:transparent;
  box-shadow:none;
}

.craving-pill[data-craving=""].active{background:var(--action)}
.craving-pizza.active{background:var(--orange)}
.craving-bbq.active{background:var(--deal)}
.craving-burgers.active{background:var(--sun)}
.craving-mexican.active{background:var(--trail)}
.craving-asian.active{background:var(--sky)}
.craving-southern.active{background:var(--ridge-mid)}
.craving-breakfast.active{background:var(--header-event)}
.craving-coffee.active{background:var(--header-deal)}
.craving-pubs.active{background:var(--header-taproom)}
.craving-american.active{background:var(--header-truck)}

/* CRAVINGS-4 — Boone Buzz neon restaurant names */

.restaurant-name-link{
  color:var(--orange);
  font-weight:700;
}

.restaurant-name-link:hover{
  color:var(--orange);
  text-decoration:underline;
  text-underline-offset:4px;
}

/* Keep cards clean — no category-colored card borders */
.restaurant-card{
  border-top-width:1px;
  border-top-color:var(--line);
}

/* Keep detailed cuisine badge subtle */
.restaurant-card .status-badge{
  background:#ffffff0a;
  color:var(--muted);
  border:1px solid var(--line);
}

/* CRAVINGS-5 — category-colored restaurant headers */

/* Default card header */
.restaurant-card .card-top.restaurant{
  background:var(--light);
}

/* ALL view: each restaurant uses its primary craving color */
.craving-card-pizza .card-top.restaurant{background:var(--orange)}
.craving-card-bbq .card-top.restaurant{background:var(--deal)}
.craving-card-burgers .card-top.restaurant{background:var(--sun)}
.craving-card-mexican .card-top.restaurant{background:var(--trail)}
.craving-card-asian .card-top.restaurant{background:var(--sky)}
.craving-card-southern .card-top.restaurant{background:var(--ridge-mid)}
.craving-card-breakfast .card-top.restaurant{background:var(--header-event)}
.craving-card-coffee .card-top.restaurant{background:var(--header-deal)}
.craving-card-pubs .card-top.restaurant{background:var(--header-taproom)}
.craving-card-american .card-top.restaurant{background:var(--header-truck)}

/* Keep header labels readable */
.restaurant-card .card-top.restaurant .card-kicker,
.restaurant-card .card-top.restaurant .status-badge{
  color:var(--ink);
}

.restaurant-card .card-top.restaurant .status-badge{
  background:#00000022;
  border-color:#ffffff33;
}

/* Selected craving makes every visible card use that category header */
.viewing-craving-pizza .card-top.restaurant{background:var(--orange)}
.viewing-craving-bbq .card-top.restaurant{background:var(--deal)}
.viewing-craving-burgers .card-top.restaurant{background:var(--sun)}
.viewing-craving-mexican .card-top.restaurant{background:var(--trail)}
.viewing-craving-asian .card-top.restaurant{background:var(--sky)}
.viewing-craving-southern .card-top.restaurant{background:var(--ridge-mid)}
.viewing-craving-breakfast .card-top.restaurant{background:var(--header-event)}
.viewing-craving-coffee .card-top.restaurant{background:var(--header-deal)}
.viewing-craving-pubs .card-top.restaurant{background:var(--header-taproom)}
.viewing-craving-american .card-top.restaurant{background:var(--header-truck)}

/* CRAVINGS-7 — stronger card header typography */

.restaurant-card .card-top.restaurant{
  min-height:62px;
  padding:15px 18px;
}

.restaurant-card .card-top.restaurant .card-kicker{
  font-size:11px;
  font-weight:800;
  letter-spacing:1.3px;
  line-height:1.2;
}

.restaurant-card .card-top.restaurant .status-badge{
  font-size:10px;
  font-weight:700;
  line-height:1.2;
  padding:5px 9px;
}

/* CRAVINGS-8 — category color refinements */

/* Pizza & Italian — terracotta */
.craving-card-pizza .card-top.restaurant,
.viewing-craving-pizza .card-top.restaurant{
  background:#B85C3B;
}
.craving-pizza.active{
  background:#B85C3B;
}

/* Mexican — deep emerald */
.craving-card-mexican .card-top.restaurant,
.viewing-craving-mexican .card-top.restaurant{
  background:#24745E;
}
.craving-mexican.active{
  background:#24745E;
}

/* Burgers — dark ochre */
.craving-card-burgers .card-top.restaurant,
.viewing-craving-burgers .card-top.restaurant{
  background:#9A681C;
}
.craving-burgers.active{
  background:#9A681C;
}

/* MENU-PROTOTYPE-1 */

.bb-menu{
  margin-top:34px;
}

.menu-heading .eyebrow{
  color:var(--orange);
  margin:0 0 6px;
  font-size:10px;
  font-weight:800;
  letter-spacing:1.4px;
}

.menu-heading h3{
  margin:0 0 5px;
}

.menu-jump{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 24px;
}

.menu-jump a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--ink);
  text-decoration:none;
  font-size:11px;
  font-weight:800;
}

.menu-jump a:hover{
  border-color:var(--orange);
  color:var(--orange);
}

.menu-group-heading{
  margin:28px 0 12px;
  font-size:11px;
  font-weight:900;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:var(--muted);
}

.menu-section-card{
  scroll-margin-top:20px;
  margin:0 0 20px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--paper);
}

.menu-section-head{
  padding:18px 20px;
  background:#B85C3B;
  color:#fff;
}

.menu-section-head h4{
  margin:0;
  font-size:22px;
  color:#fff;
}

.menu-section-head p{
  margin:6px 0 0;
  max-width:760px;
  font-size:12px;
  line-height:1.55;
  color:#fff;
}

.menu-items{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.menu-item{
  padding:18px 20px;
  border-bottom:1px solid var(--line);
}

.menu-item:nth-child(odd){
  border-right:1px solid var(--line);
}

.menu-item-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.menu-item h5{
  margin:0;
  font-size:17px;
  line-height:1.25;
  color:var(--orange);
}

.menu-item-description{
  margin:7px 0 0;
  font-size:13px;
  line-height:1.6;
  color:var(--ink);
}

.menu-options{
  margin:9px 0 0;
  font-size:11px;
  line-height:1.5;
  color:var(--muted);
}

.menu-dietary{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:5px;
}

.menu-dietary span{
  padding:4px 7px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.4px;
  color:var(--ink);
}

.menu-freshness{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  font-size:11px;
  line-height:1.5;
  color:var(--muted);
}

@media(max-width:700px){
  .menu-jump{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:6px;
  }

  .menu-jump a{
    flex:0 0 auto;
  }

  .menu-items{
    grid-template-columns:1fr;
  }

  .menu-item:nth-child(odd){
    border-right:0;
  }

  .menu-section-head{
    padding:16px;
  }

  .menu-item{
    padding:16px;
  }
}

/* MENU-PROTOTYPE-2 — visual refinement */

/* Give the menu introduction more presence */
.bb-menu{
  margin-top:42px;
}

.menu-heading{
  margin-bottom:20px !important;
}

.menu-heading .eyebrow{
  margin-bottom:8px;
}

.menu-heading h3{
  font-size:30px;
  line-height:1.1;
  margin:0 0 7px;
}

.menu-heading > div > p:not(.eyebrow){
  font-size:13px;
  line-height:1.55;
  color:var(--muted);
}

/* More breathing room around section navigation */
.menu-jump{
  gap:9px;
  margin:0 0 28px;
}

.menu-jump a{
  min-height:42px;
  padding:9px 15px;
  font-size:11px;
}

/* Deeper, less dominant section header */
.menu-section-head{
  padding:19px 20px;
  background:#7A493C;
}

.menu-section-head h4{
  font-size:23px;
  line-height:1.15;
  font-weight:800;
}

.menu-section-head p{
  margin-top:7px;
  font-size:12px;
  line-height:1.6;
}

/* Make individual dishes/items easier to scan */
.menu-item{
  padding:20px;
}

.menu-item h5{
  font-size:18px;
  line-height:1.25;
  font-weight:800;
}

.menu-item-description{
  margin-top:8px;
  font-size:13px;
  line-height:1.7;
}

.menu-options{
  margin-top:10px;
  line-height:1.6;
}

/* Slightly clearer dietary tags without competing with item names */
.menu-dietary span{
  padding:4px 8px;
  font-size:9px;
  letter-spacing:.5px;
}

/* Give sections more separation */
.menu-section-card{
  margin-bottom:24px;
}

/* Freshness note should read as supporting information */
.menu-freshness{
  margin-top:18px;
  padding:15px 17px;
  line-height:1.6;
}

@media(max-width:700px){
  .menu-heading h3{
    font-size:26px;
  }

  .menu-section-head h4{
    font-size:21px;
  }

  .menu-item h5{
    font-size:17px;
  }

  .menu-item{
    padding:18px 16px;
  }
}

/* MENU-PROTOTYPE-3 — Boone Buzz branded menu frame */

.bb-menu{
  position:relative;
  margin-top:42px;
  padding:30px 22px 22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--paper);
  overflow:hidden;
}

/* Boone Buzz spectrum strip */
.bb-menu::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(
    90deg,
    var(--deal),
    var(--orange),
    var(--sun),
    var(--trail),
    var(--sky)
  );
}

.bb-menu .menu-heading{
  margin-top:0;
}

.bb-menu .menu-section-card{
  background:var(--light);
}

@media(max-width:700px){
  .bb-menu{
    padding:26px 14px 16px;
    border-radius:15px;
  }
}

/* MENU-PROTOTYPE-4 — Miami Vice menu section purple */

.menu-section-head{
  background:#7046A8;
}

/* MENU-PROTOTYPE-5 — restaurant profile name consistency */

.profile-card .card-body > h4{
  color:var(--orange);
  font-weight:800;
}

/* MENU-PROTOTYPE-6 — multi-menu navigation */

.menu-group-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:0 0 20px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}

.menu-group-tab{
  min-height:44px;
  padding:9px 17px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--light);
  color:var(--ink);
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.menu-group-tab.active{
  background:#7046A8;
  border-color:#7046A8;
  color:#fff;
}

.menu-group-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:4px 0 12px;
  color:var(--ink);
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
}

.menu-group-title span{
  color:var(--muted);
  font-size:10px;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
}

/* One clean rail rather than several rows of section pills */
.bb-menu .menu-jump{
  flex-wrap:nowrap;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  padding:8px 0 12px;
  margin:0 0 24px;
}

.bb-menu .menu-jump a{
  flex:0 0 auto;
  white-space:nowrap;
}

/* Keep section navigation available on long menus */
.bb-menu-multi .menu-jump{
  position:sticky;
  top:0;
  z-index:5;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.menu-group-panel[hidden]{
  display:none !important;
}

@media(max-width:700px){
  .menu-group-tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:14px;
  }

  .menu-group-tab{
    flex:0 0 auto;
  }

  .menu-group-title{
    align-items:flex-start;
  }
}

/* MENU-PROTOTYPE-7 — Boone Buzz Menu directory action */

.card-actions .boone-buzz-menu-link{
  background:#7046A8;
  border-color:#7046A8;
  color:#fff;
  font-weight:800;
}

.card-actions .boone-buzz-menu-link:hover{
  background:#5F3B91;
  border-color:#5F3B91;
  color:#fff;
}

/* MENU-PROTOTYPE-9 — menu availability badge + legend */

.restaurant-title-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.menu-available-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 7px;
  border:1px solid #7046A8;
  border-radius:999px;
  background:rgba(112,70,168,.18);
  color:#C4A7EE;
  font-size:8px;
  line-height:1;
  font-weight:900;
  letter-spacing:.7px;
  white-space:nowrap;
}

.restaurant-legend{
  display:flex;
  align-items:center;
  gap:8px;
  margin:12px 0 16px;
  color:var(--muted);
  font-size:10px;
  line-height:1.4;
}

.restaurant-legend .menu-available-badge{
  flex:0 0 auto;
}

/* MENU-PROTOTYPE-10 — menu indicator readability */

.menu-available-badge{
  font-size:9px;
}

.restaurant-legend{
  font-size:11px;
}

/* RESTAURANT-SECTION-HERO-CENTER
   Match the new Boone Buzz standalone section pages. */
.directory-hero{
  max-width:900px;
  margin:0 auto 34px;
  text-align:center;
}

.directory-hero .eyebrow{
  color:var(--orange);
  text-align:center;
}

.directory-hero h1{
  text-align:center;
  font-size:clamp(48px,6vw,78px);
}

.directory-description{
  max-width:700px;
  margin:14px auto 0;
  text-align:center;
}

@media(max-width:600px){
  .directory-hero{
    margin-bottom:26px;
  }

  .directory-hero h1{
    font-size:50px;
  }
}

/* RESTAURANT DETAIL — GOOD TO KNOW */

.profile-good-to-know{
  margin:20px 0 18px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--light);
}

.profile-section-label{
  margin:0 0 10px;
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:1.2px;
}

.profile-amenity-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.profile-amenity-tags span{
  display:inline-flex;
  align-items:center;
  padding:6px 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--ink);
  font-size:11px;
  font-weight:800;
  line-height:1.2;
}

.profile-amenity-note{
  margin:11px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}

@media(max-width:600px){
  .profile-good-to-know{
    padding:14px;
  }
}

/* RESTAURANT DETAIL — HOURS */

.profile-hours{
  margin-top:22px;
}

.hours-list{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--paper);
}

.hours-row{
  display:grid;
  grid-template-columns:minmax(105px,.7fr) minmax(150px,1.3fr);
  gap:18px;
  align-items:start;
  padding:10px 14px;
  border-bottom:1px solid var(--line);
}

.hours-row:last-child{
  border-bottom:0;
}

.hours-day{
  font-weight:800;
  color:var(--ink);
}

.hours-time{
  text-align:right;
  color:var(--muted);
  font-weight:700;
}

.hours-seasonal-note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.hours-verification-note{
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--light);
}

.hours-verification-note strong{
  display:block;
  margin-bottom:4px;
}

.hours-verification-note p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

@media(max-width:600px){
  .hours-row{
    grid-template-columns:90px 1fr;
    gap:10px;
    padding:10px 12px;
  }

  .hours-time{
    text-align:right;
  }
}

/* RESTAURANT DETAIL — LIVE HOURS STATUS */

.hours-status-wrap{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:7px;
}

.hours-live-status,
.hours-seasonal-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  line-height:1.2;
  white-space:nowrap;
}

.hours-live-status.is-open{
  background:var(--light);
  color:var(--ink);
}

.hours-live-status.is-closed{
  background:var(--paper);
  color:var(--muted);
}

.hours-seasonal-badge{
  background:var(--paper);
  color:var(--muted);
}

@media(max-width:600px){
  .profile-hours .results-heading{
    align-items:flex-start;
  }

  .hours-status-wrap{
    justify-content:flex-start;
    width:100%;
  }
}

/* RESTAURANT DIRECTORY — LIVE HOURS */

.restaurant-live-hours{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  margin:7px 0 10px;
}

.restaurant-hours-badge,
.restaurant-seasonal-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  line-height:1.2;
}

.restaurant-hours-badge.is-open{
  background:var(--light);
  color:var(--ink);
}

.restaurant-hours-badge.is-closed{
  background:var(--paper);
  color:var(--muted);
}

.restaurant-seasonal-badge{
  background:var(--paper);
  color:var(--muted);
}
