/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;background:#fff;color:#1a1a1a;font-size:14px;line-height:1.4;-webkit-font-smoothing:antialiased}
img{display:block;width:100%;object-fit:cover}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:inherit;border:none;background:none}
ul{list-style:none}

/* ── TOKENS ── */
:root{
  --orange:#E8961A;
  --orange-dark:#C97E0E;
  --orange-light:#FFF8EE;
  --green:#22A45D;
  --red:#E04030;
  --gray-border:#E8E8E8;
  --gray-bg:#F5F5F5;
  --text:#1A1A1A;
  --text-mid:#555;
  --text-muted:#999;
  --white:#FFFFFF;
  --star:#F5A623;
  --shadow-card:0 1px 6px rgba(0,0,0,.08);
  --shadow-card-hover:0 6px 20px rgba(0,0,0,.13);
  --radius-card:10px;
  --radius-sm:6px;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:48px;
  padding:0 28px;
  background:#fff;
  border-bottom:1px solid var(--gray-border);
  position:sticky;
  top:0;
  z-index:200;
}
.nav-logo{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:15px;
  font-weight:800;
  color:var(--text);
  white-space:nowrap;
}
.logo-pin{
  width:24px;height:24px;
  background:var(--orange);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.logo-pin svg{width:13px;height:13px;fill:#fff}

.nav-links{
  display:flex;
  align-items:center;
  gap:0;
}
.nav-links a{
  font-size:12.5px;
  font-weight:500;
  color:var(--text-mid);
  padding:0 11px;
  height:48px;
  display:flex;
  align-items:center;
  border-bottom:2px solid transparent;
  transition:color .15s;
  white-space:nowrap;
}
.nav-links a:hover{color:var(--orange)}
.nav-links a.active{
  color:var(--orange);
  font-weight:700;
  border-bottom-color:var(--orange);
}
.nav-item-dropdown{position:relative}
.nav-dropdown-trigger{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:12.5px;
  font-weight:500;
  color:var(--text-mid);
  padding:0 11px;
  height:48px;
  border:none;
  border-bottom:2px solid transparent;
  background:transparent;
  cursor:pointer;
  font-family:inherit;
  white-space:nowrap;
  transition:color .15s,border-color .15s;
}
.nav-dropdown-trigger:hover,
.nav-item-dropdown.is-open .nav-dropdown-trigger{color:var(--orange)}
.nav-dropdown-trigger.active{color:var(--orange);font-weight:700;border-bottom-color:var(--orange)}
.nav-dropdown-chevron{
  opacity:.65;
  transition:transform .2s ease,opacity .15s;
}
.nav-dropdown-trigger:hover .nav-dropdown-chevron,
.nav-item-dropdown.is-open .nav-dropdown-chevron{opacity:1}
.nav-item-dropdown.is-open .nav-dropdown-chevron{transform:rotate(180deg)}
.nav-dropdown-panel{
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  width:min(360px,calc(100vw - 24px));
  padding:14px;
  background:#fff;
  border:1px solid #ebe4da;
  border-radius:16px;
  box-shadow:0 16px 40px rgba(47,42,38,.14),0 2px 8px rgba(47,42,38,.06);
  z-index:10060;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
.nav-item-dropdown.is-open .nav-dropdown-panel{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}
.nav-dropdown-heading{
  margin:0 0 10px;
  padding:0 4px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:var(--text-muted);
}
.nav-dropdown-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}
.nav-dropdown-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border-radius:12px;
  font-size:13px;
  font-weight:600;
  color:var(--text-mid);
  text-decoration:none;
  border:1px solid transparent;
  transition:background .15s,border-color .15s,color .15s,transform .15s;
}
.nav-dropdown-item:hover{
  color:var(--orange);
  background:#fff8f2;
  border-color:#f5e0cc;
  transform:translateY(-1px);
}
.nav-dropdown-item.active{
  color:var(--orange);
  background:var(--orange-light);
  border-color:#f5c9a8;
}
.nav-dropdown-item__img{
  width:36px;
  height:36px;
  border-radius:50%;
  overflow:hidden;
  flex-shrink:0;
  background:#faf7f2;
  border:1px solid #efe8df;
  display:flex;
  align-items:center;
  justify-content:center;
}
.nav-dropdown-item__img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.nav-dropdown-item__label{
  line-height:1.2;
}

.header-categories{
  background:linear-gradient(180deg,#fff 0%,#fdfaf6 100%);
  border-bottom:1px solid #f0ebe4;
}
.header-categories-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px 10px;
  max-width:1280px;
  margin:0 auto;
  padding:12px clamp(16px,3vw,40px);
}
.header-cat-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 14px 7px 8px;
  border-radius:999px;
  background:#fff;
  border:1px solid #efe8df;
  box-shadow:0 1px 3px rgba(47,42,38,.05);
  font-size:12.5px;
  font-weight:600;
  color:var(--text-mid);
  text-decoration:none;
  white-space:nowrap;
  transition:background .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s;
}
.header-cat-pill:hover{
  color:var(--orange);
  border-color:#f5c9a8;
  background:var(--orange-light);
  box-shadow:0 4px 12px rgba(232,120,50,.12);
  transform:translateY(-1px);
}
.header-cat-pill.active{
  color:var(--orange);
  border-color:#f0a96a;
  background:var(--orange-light);
  box-shadow:0 2px 8px rgba(232,120,50,.15);
}
.header-cat-pill img{
  width:24px;
  height:24px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #f0ebe4;
}

.nav-hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  padding:6px;
}
.nav-hamburger span{
  display:block;width:22px;height:2px;
  background:var(--text-mid);border-radius:2px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero{
  display:grid;
  /* Left ~55%, right photo ~45% */
  grid-template-columns:55% 45%;
  min-height:310px;
  background:#fef9f3;
  overflow:hidden;
}

/* LEFT SIDE */
.hero-left{
  padding:44px 36px 40px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:transparent;
}

.hero-title{
  font-size:44px;
  font-weight:900;
  line-height:1.1;
  color:var(--text);
  letter-spacing:-1px;
  margin-bottom:26px;
}
.hero-title .line-accent{
  color:var(--orange);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.hero-title .sun-svg{
  width:38px;height:38px;flex-shrink:0;
}

/* SEARCH WIDGET */
.search-widget{
  display:flex;
  flex-direction:column;
}
.search-tabs{
  display:flex;
  gap:0;
}
.s-tab{
  padding:9px 16px;
  font-size:12.5px;
  font-weight:600;
  color:#666;
  background:#ede8df;
  border:1px solid #d8d0c4;
  border-bottom:none;
  border-radius:8px 8px 0 0;
  transition:all .15s;
  cursor:pointer;
  line-height:1;
}
.s-tab:hover{background:#e4ddd3;color:#333}
.s-tab.active{
  background:#fff;
  color:var(--text);
  font-weight:700;
  border-color:#ccc;
  border-bottom:1px solid #fff;
  position:relative;
  z-index:2;
}
.search-bar{
  display:flex;
  align-items:stretch;
  background:#fff;
  border:1px solid #ccc;
  border-radius:0 8px 8px 8px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.09);
  position:relative;
  z-index:1;
}
.search-input-wrap{
  display:flex;
  align-items:center;
  gap:9px;
  flex:1;
  padding:0 16px;
}
.search-input-wrap svg{flex-shrink:0;color:#bbb}
.search-input-wrap input{
  border:none;
  outline:none;
  font-size:13.5px;
  color:var(--text);
  width:100%;
  background:transparent;
  padding:15px 0;
  font-family:inherit;
}
.search-input-wrap input::placeholder{color:#bbb}
.btn-use-location{
  display:flex;
  align-items:center;
  gap:7px;
  background:var(--orange);
  color:#fff;
  font-size:13px;
  font-weight:700;
  padding:0 22px;
  white-space:nowrap;
  transition:background .15s;
  border-left:none;
}
.btn-use-location:hover{background:var(--orange-dark)}
.btn-use-location svg{width:14px;height:14px;fill:#fff;flex-shrink:0}

/* RIGHT SIDE — photo fills completely */
.hero-right{
  position:relative;
  overflow:hidden;
  background:transparent;
}
.hero-right img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

/* ══════════════════════════════════════
   CATEGORY BAR
══════════════════════════════════════ */
.cat-bar{
  background:#fff;
  border-bottom:1px solid var(--gray-border);
  padding:10px 0 8px;
}
.cat-row{
  display:flex;
  justify-content:center;
  gap:0;
  overflow-x:auto;
  scrollbar-width:none;
  padding:0 12px;
}
.cat-row::-webkit-scrollbar{display:none}
.cat-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:4px 18px;
  border-radius:10px;
  cursor:pointer;
  flex-shrink:0;
  transition:background .15s;
}
.cat-item:hover{background:#fff3e0}
.cat-img{
  width:44px;height:44px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid #f0e0c0;
  flex-shrink:0;
}
.cat-img img{width:100%;height:100%}
.cat-label{font-size:11.5px;color:var(--orange);font-weight:600}

/* ══════════════════════════════════════
   LAYOUT WRAPPER
══════════════════════════════════════ */
.page-wrap{max-width:780px;margin:0 auto;padding:0 16px}

.sec-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:22px 0 13px;
}
.sec-title{font-size:16px;font-weight:800;color:var(--text)}
.see-all{font-size:12.5px;font-weight:600;color:var(--orange)}
.see-all:hover{text-decoration:underline}

/* ══════════════════════════════════════
   RESTAURANT CARDS
══════════════════════════════════════ */
.rest-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:22px;
}
.rest-card{
  border:1px solid var(--gray-border);
  border-radius:var(--radius-card);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-card);
  cursor:pointer;
  transition:transform .18s,box-shadow .18s;
}
.rest-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-card-hover);
}
.rest-img{
  position:relative;
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  overflow:hidden;
}
.rest-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s;
}
.rest-card:hover .rest-img img{transform:scale(1.06)}
.fav-btn{
  position:absolute;
  top:7px;right:7px;
  width:26px;height:26px;
  background:rgba(255,255,255,.9);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;
  color:#ccc;
  box-shadow:0 1px 4px rgba(0,0,0,.15);
  transition:color .15s;
}
.fav-btn.liked,.fav-btn:hover{color:var(--red)}

.rest-body{padding:9px 10px 11px}
.rest-name{
  font-size:12.5px;
  font-weight:800;
  color:var(--text);
  margin-bottom:4px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:4px;
}
.rest-name .hrt{color:var(--red);font-size:11px;flex-shrink:0}
.rating-row{
  display:flex;
  align-items:center;
  gap:4px;
  margin-bottom:4px;
}
.rating-num{font-size:12px;font-weight:800;color:var(--text)}
.stars{color:var(--star);font-size:10.5px;letter-spacing:.2px}
.rating-ct{font-size:10.5px;color:var(--text-muted)}
.dist-row{
  display:flex;
  justify-content:space-between;
  font-size:10.5px;
  color:var(--text-muted);
  margin-bottom:4px;
}
.open-now{color:var(--green);font-weight:700}
.score-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10.5px;
}
.score-row .lbl{color:var(--text-muted)}
.score-row .num{font-weight:800;color:var(--text)}
.badges{display:flex;gap:3px;align-items:center}
.bdg{
  width:16px;height:16px;
  border-radius:50%;
  font-size:8px;font-weight:900;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
}
.bdg-o{background:var(--orange)}
.bdg-r{background:var(--red)}
.pin-icon{font-size:11px;color:var(--red)}

/* ══════════════════════════════════════
   AD BANNER
══════════════════════════════════════ */
.ad-banner{
  border:1px dashed #ccc;
  border-radius:5px;
  background:#f2f2f2;
  text-align:center;
  padding:17px 10px;
  color:#bbb;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.8px;
  margin-bottom:22px;
}
.ad-banner small{
  display:block;
  font-size:10.5px;
  font-weight:400;
  color:#ccc;
  margin-top:2px;
}

/* ══════════════════════════════════════
   POPULAR SEARCH TAGS
══════════════════════════════════════ */
.search-tags{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:26px;
}
.s-tag{
  background:#fff9ec;
  border:1px solid #f2d98c;
  color:#333;
  padding:8px 17px;
  border-radius:999px;
  font-size:12.5px;
  font-weight:500;
  cursor:pointer;
  transition:background .15s;
}
.s-tag:hover{background:#ffe9a0}

/* ══════════════════════════════════════
   TWO COLUMN: ZIP + TOP RATED
══════════════════════════════════════ */
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-bottom:26px;
}

/* ZIP CHIPS */
.zip-box{
  border:1px solid var(--gray-border);
  border-radius:var(--radius-card);
  overflow:hidden;
  box-shadow:var(--shadow-card);
}
.zip-row-inner{display:flex}
.zip-chip{
  flex:1;
  display:flex;
  align-items:center;
  gap:7px;
  padding:12px 10px;
  cursor:pointer;
  border-right:1px solid var(--gray-border);
  transition:background .15s;
}
.zip-chip:last-child{border-right:none}
.zip-chip:hover{background:#fff9f0}
.zip-pin{font-size:16px;flex-shrink:0}
.zip-val{font-size:13px;font-weight:800;color:var(--text);display:block;line-height:1.2}
.zip-sub{font-size:10px;color:var(--text-muted);display:block}

/* TOP RATED PHOTOS */
.top-photos{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
}
.top-photo{
  border-radius:8px;
  overflow:hidden;
  height:76px;
  cursor:pointer;
  position:relative;
}
.top-photo img{
  width:100%;height:100%;
  transition:transform .2s;
}
.top-photo:hover img{transform:scale(1.07)}
.top-hb{
  position:absolute;
  top:5px;right:5px;
  width:20px;height:20px;
  background:rgba(255,255,255,.85);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:10px;
  color:#ccc;
}

/* ══════════════════════════════════════
   BREAKFAST GUIDES
══════════════════════════════════════ */
.guides-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin-bottom:22px;
}
.guide-card{
  border-radius:14px;
  padding:20px 16px;
  font-size:15px;
  font-weight:800;
  color:#fff;
  line-height:1.35;
  min-height:118px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  border:none;
  box-shadow:0 2px 10px rgba(47,42,38,.12);
  transition:transform .15s,box-shadow .15s,filter .15s;
}
.guide-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(47,42,38,.18);
  color:#fff;
  filter:brightness(1.06);
}
/* Homepage strip — solid palette left → right (matches design mock) */
.guides-grid .guide-card:nth-child(1){background:#f59e42}
.guides-grid .guide-card:nth-child(2){background:#a855f7}
.guides-grid .guide-card:nth-child(3){background:#3b82f6}
.guides-grid .guide-card:nth-child(4){background:#fbbf24}
.guides-grid .guide-card:nth-child(5){background:#2dd4bf}
.guides-grid .guide-card:nth-child(1):hover{background:#e88f2a}
.guides-grid .guide-card:nth-child(2):hover{background:#9333ea}
.guides-grid .guide-card:nth-child(3):hover{background:#2563eb}
.guides-grid .guide-card:nth-child(4):hover{background:#f59e0b}
.guides-grid .guide-card:nth-child(5):hover{background:#14b8a6}

/* ══════════════════════════════════════
   RECENTLY ADDED
══════════════════════════════════════ */
.recent-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:32px;
}
.rec-card{
  border:1px solid var(--gray-border);
  border-radius:var(--radius-card);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-card);
  cursor:pointer;
  transition:transform .18s,box-shadow .18s;
}
.rec-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-card-hover)}
.rec-img{height:100px;overflow:hidden}
.rec-img img{transition:transform .25s}
.rec-card:hover .rec-img img{transform:scale(1.06)}
.rec-body{padding:8px 10px 10px}
.rec-name{font-size:12px;font-weight:800;color:var(--text);margin-bottom:5px}
.rec-stars{color:var(--star);font-size:11px}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer{
  background:#f7f7f7;
  border-top:1px solid var(--gray-border);
  padding:28px 40px 24px;
}
.foot-inner{
  display:grid;
  grid-template-columns:190px repeat(5,1fr);
  gap:18px;
  max-width:780px;
  margin:0 auto;
}
.foot-brand .f-logo{
  display:flex;align-items:center;gap:5px;
  font-size:14px;font-weight:800;
  margin-bottom:9px;color:var(--text);
}
.foot-brand p{
  font-size:10.5px;color:var(--text-muted);
  line-height:1.6;margin-bottom:12px;max-width:175px;
}
.foot-social{display:flex;gap:7px;flex-wrap:wrap;margin-top:2px}
.f-sdot{
  width:26px;height:26px;border-radius:50%;
  background:#e0e0e0;
  display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:700;color:#666;
  cursor:pointer;transition:background .15s,color .15s;
  text-decoration:none;
  line-height:1;
}
.f-sdot:hover{background:#d4d4d4;color:#333}
.f-sdot--placeholder{cursor:default;opacity:.85}
.f-sdot--placeholder:hover{background:#e0e0e0;color:#666}
.f-sdot--instagram span{font-size:9px;letter-spacing:-0.5px}
.f-sdot--twitter span{font-size:11px}
.foot-col h4{
  font-size:12px;font-weight:800;color:var(--text);
  margin-bottom:9px;
}
.foot-col ul li{margin-bottom:5px}
.foot-col ul li a{font-size:11px;color:var(--text-muted);transition:color .15s}
.foot-col ul li a:hover,.foot-col ul li a.hl{color:var(--orange)}

/* ══════════════════════════════════════
   MOBILE NAV MENU
══════════════════════════════════════ */
.mobile-menu{
  display:none;
  flex-direction:column;
  position:fixed;
  top:48px;left:0;right:0;
  background:#fff;
  border-bottom:1px solid var(--gray-border);
  z-index:199;
  padding:12px 0;
  box-shadow:0 8px 24px rgba(0,0,0,.1);
}
.mobile-menu.open{display:flex}
.mobile-menu a{
  padding:12px 24px;
  font-size:14px;
  font-weight:600;
  color:var(--text-mid);
  border-bottom:1px solid #f5f5f5;
}
.mobile-menu a:last-child{border-bottom:none}
.mobile-menu a.active{color:var(--orange)}
.mobile-menu-categories{
  padding:12px 16px 16px;
  border-top:1px solid #f0ebe4;
  background:#faf7f2;
}
.mobile-menu-categories__label{
  margin:0 0 10px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--text-muted);
}
.mobile-menu-categories__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.mobile-cat-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:8px 4px;
  border-radius:10px;
  background:#fff;
  border:1px solid #efe8df;
  font-size:11px;
  font-weight:600;
  color:var(--text-mid);
  text-align:center;
  text-decoration:none;
}
.mobile-cat-item.active,
.mobile-cat-item:hover{color:var(--orange);border-color:#f5c9a8}
.mobile-cat-item img{
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* Tablet */
@media(max-width:900px){
  .guides-grid{grid-template-columns:repeat(3,1fr)}
  .foot-inner{grid-template-columns:1fr 1fr 1fr;gap:20px}
  .hero-title{font-size:36px}
}

/* Mobile landscape / large phone */
@media(max-width:700px){
  /* NAV */
  .nav-links{display:none}
  .nav-hamburger{display:flex}
  .navbar{padding:0 16px}
  .header-categories{display:none}

  /* HERO — stack vertically */
  .hero{
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    min-height:auto;
  }
  .hero-left{
    order:1;
    padding:28px 20px 24px;
  }
  .hero-title{
    font-size:30px;
    letter-spacing:-.5px;
    margin-bottom:20px;
  }
  .hero-title .sun-svg{width:28px;height:28px}
  .hero-right{
    order:0;
    height:210px;
    position:relative;
  }
  .hero-right img{position:absolute;inset:0}

  /* SEARCH TABS scroll on mobile */
  .search-tabs{overflow-x:auto;scrollbar-width:none}
  .search-tabs::-webkit-scrollbar{display:none}
  .s-tab{padding:8px 13px;font-size:12px;white-space:nowrap}

  /* CATS */
  .cat-row{justify-content:flex-start}
  .cat-item{padding:4px 13px}

  /* GRIDS */
  .rest-grid{grid-template-columns:1fr 1fr;gap:10px}
  .two-col{grid-template-columns:1fr}
  .guides-grid{grid-template-columns:repeat(2,1fr)}
  .recent-grid{grid-template-columns:1fr 1fr;gap:10px}

  /* FOOTER */
  footer{padding:20px 16px}
  .foot-inner{grid-template-columns:1fr 1fr;gap:20px}

  /* PAGE WRAP */
  .page-wrap{padding:0 12px}
}

/* Small phones */
@media(max-width:400px){
  .hero-title{font-size:26px}
  .rest-grid{grid-template-columns:1fr}
  .recent-grid{grid-template-columns:1fr}
  .guides-grid{grid-template-columns:1fr 1fr}
  .btn-use-location{padding:0 14px;font-size:12px}
}

/* Search dropdown */
.search-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid var(--gray-border);border-radius:8px;box-shadow:0 12px 32px rgba(0,0,0,.12);z-index:10050;max-height:280px;overflow-y:auto;text-align:left;display:none}
.search-dropdown:not([hidden]){display:block}
.search-dropdown a{display:block;padding:.65rem 1rem;border-bottom:1px solid var(--gray-border);font-size:13px;color:var(--text)}
.search-dropdown a:hover{background:var(--orange-light)}
.search-no-results{padding:1rem;color:var(--text-muted);font-size:13px}
.geo-error{color:var(--red);font-size:12px;margin-top:8px}

/* Scroll animations — cards always visible; optional motion only */
.rest-card,.rec-card,.guide-card,.cat-item,.sec-title{opacity:1;transform:none}
html.bfnme-js.bfnme-animate .rest-card:not(.is-visible),
html.bfnme-js.bfnme-animate .rec-card:not(.is-visible),
html.bfnme-js.bfnme-animate .guide-card:not(.is-visible){transform:translateY(12px);transition:transform .4s ease}
html.bfnme-js.bfnme-animate .cat-item:not(.is-visible){transform:scale(.94);transition:transform .3s ease}
html.bfnme-js.bfnme-animate .sec-title:not(.is-visible){transform:translateX(-10px);transition:transform .35s ease}
html.bfnme-js.bfnme-animate .rest-card.is-visible,
html.bfnme-js.bfnme-animate .rec-card.is-visible,
html.bfnme-js.bfnme-animate .guide-card.is-visible{transform:translateY(0)}
html.bfnme-js.bfnme-animate .cat-item.is-visible{transform:scale(1)}
html.bfnme-js.bfnme-animate .sec-title.is-visible{transform:translateX(0)}
.hero-title{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}
.hero-title.hero-animate{opacity:1;transform:translateY(0)}
@keyframes spin{to{transform:rotate(360deg)}}
.spin{animation:spin .7s linear infinite;display:inline-block}
@media(prefers-reduced-motion:reduce){
  html.bfnme-js .rest-card,html.bfnme-js .rec-card,html.bfnme-js .guide-card,html.bfnme-js .cat-item,html.bfnme-js .sec-title,.hero-title{opacity:1;transform:none;transition:none}
  html.bfnme-js.bfnme-animate .rest-card,html.bfnme-js.bfnme-animate .rec-card,html.bfnme-js.bfnme-animate .guide-card,html.bfnme-js.bfnme-animate .cat-item,html.bfnme-js.bfnme-animate .sec-title{transform:none;transition:none}
}

/* WP overrides */
body.bfnme-v4-home #page,.bfnme-v4-home .site{margin:0 auto;padding:0}
.bfnme-v4-site .navbar .nav-links{list-style:none;margin:0;padding:0;display:flex}
.bfnme-v4-site .navbar .nav-links li{margin:0;padding:0}
.bfnme-v4-site .nav-dropdown-grid{list-style:none}
.bfnme-v4-site .nav-dropdown-panel .nav-dropdown-grid{margin:0;padding:0}
.search-input-wrap{position:relative}
.search-input-wrap .search-dropdown,.search-input-wrap .bfnme-autocomplete-results{position:absolute;top:calc(100% + 4px);left:0;right:0}
.sec-head--flush{margin-top:0}
a.rest-card,a.rec-card{display:block;color:inherit}
a.cat-item{text-decoration:none;color:inherit}
.mobile-menu[hidden]{display:none!important}
.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}
.fav-btn.liked{color:var(--red)}
.bfnme-v4-home .bfnme-ad-placeholder,.bfnme-v4-home .bfnme-ad{border:1px dashed #ccc;border-radius:5px;background:#f2f2f2;text-align:center;padding:17px 10px;color:#bbb;font-size:12.5px;font-weight:700;letter-spacing:.8px;margin-bottom:22px}
.bfnme-v4-home .bfnme-ad-label{display:block;font-size:10.5px;font-weight:400;color:#ccc;margin-top:2px}

/* Cookie consent (also in plugin public.css) */
.bfnme-cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:10060;padding:12px 16px;background:rgba(26,26,26,.96);color:#fff;box-shadow:0 -8px 28px rgba(0,0,0,.18)}
.bfnme-cookie-banner.is-highlighted{outline:2px solid var(--orange);outline-offset:-2px}
.bfnme-cookie-banner__inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.bfnme-cookie-banner__text{margin:0;font-size:14px;line-height:1.5}
.bfnme-cookie-banner__text a{color:#f5c66a;text-decoration:underline}
.bfnme-cookie-banner__accept{border:none;border-radius:8px;padding:10px 18px;background:var(--orange);color:#fff;font-weight:600;cursor:pointer}
.bfnme-cookie-banner__accept:hover{background:var(--orange-dark)}
.bfnme-cookie-banner__decline{border:1px solid rgba(255,255,255,.35);border-radius:8px;padding:10px 16px;background:transparent;color:#fff;font-weight:600;cursor:pointer}
.bfnme-cookie-banner__decline:hover{background:rgba(255,255,255,.08)}
.bfnme-loc-notice{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 18px;padding:12px 14px;border-radius:10px;background:#fff7ea;border:1px solid #f0d7a8;color:#3b342f;font-size:14px}
.bfnme-loc-notice[hidden]{display:none!important}
.bfnme-loc-notice__text{flex:1 1 220px}
.bfnme-loc-notice__refresh{border:none;border-radius:8px;padding:8px 14px;background:var(--orange);color:#fff;font-weight:600;cursor:pointer}
.bfnme-loc-notice__dismiss{border:none;background:transparent;color:#6b635c;font-size:20px;cursor:pointer;padding:0 4px}
@media(max-width:700px){.bfnme-cookie-banner__inner{flex-direction:column;align-items:stretch}.bfnme-cookie-banner__accept,.bfnme-cookie-banner__decline{width:100%}}
