/* STORE OVERRIDES: Leduc Meat & Grill #59 (store-level, loaded LAST on every page; no template file edited).
   Palette comes from Brandy theme.css; this file only carries layout fixes carried over from DT #51. */
.brand img, .foot-brand img, .logo__image { background: transparent !important; box-shadow: none !important; }
.brand img { height: 48px; width: auto; }
.foot-brand img { height: 56px; width: auto; }

/* pre-READY layout fixes (store level) */
/* header fits one line at 901-1199  */
@media (min-width: 901px) and (max-width: 1199.98px) {
  .brand img { height: 34px; }
  :root .site-header .site-nav > a { padding-inline: 0.6rem; white-space: nowrap; }
  :root .site-header .site-nav { gap: 0.25rem; }
  :root .site-header .header-cta .btn { padding-inline: 1rem; }
}
/* home plates: 2 per view until 3 cards fit at >=300px text */
@media (min-width: 1140px) and (max-width: 1259.98px) { :root body .plates-track { grid-auto-columns: calc((100% - 1.4rem) / 2); } }
.plate { display: flex; flex-direction: column; }
.plate .plate-foot { margin-top: auto; }
/* menu-band tiles, about snaps, short card lists: no column under 300px, no empty tracks */
.cat-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 901px) { .snap-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.food-picks-grid, .bd-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: start; }
.values .wrap { max-width: 52rem; margin-inline: auto; text-align: center; }
.values .sec-head { justify-content: center; }
@media (max-width: 600px) { .chapter { grid-template-columns: 1fr; gap: 0.5rem; } }
/* plates: titles take 2 lines so the dish links sit on one baseline */
.plates-track .plate h3 { min-height: 56px; display: flex; align-items: flex-end; }
/* phones: copy columns >= 300px at 360 */

/* half-empty: centre the copy-only blocks */
#notfound-top .wrap, .dish-description-container { text-align: center; }
#notfound-top .wrap > *, .dish-description-container > * { margin-inline: auto; }
.dish-description-container .btn, .dish-description-container .btn-line, #notfound-top .btn, #notfound-top .btn-line { margin-inline: 0.25rem; }
.dish-description-container + .cta-container { padding-top: 0; }
#notfound-top .hero-actions { justify-content: center; }
.dish-description-content { max-width: 46rem; margin-inline: auto; }
/* phones: CTA + dish-hero copy columns >= 300px at 360 */
@media (max-width: 399.98px) {
  .cta__container { padding-inline: 0.5rem; }
  .dish-hero .dish-hero-container { padding-inline: 0.5rem; }
}

/* Topic pages: subline under the explore H2 (was a <span> inside the H2) */
.section__subhead { margin: 0.25rem 0 1rem; font-size: 1.125rem; font-weight: 600; line-height: 1.4; color: var(--accent-ink); }

/* Dennis QA R1 (2c6a8ef) store fixes */
/* F2 header logo kept its fixed template width when stuck (distorted); keep the file's ratio */
:root .site-header.is-stuck .brand img { width: auto; }
/* F3 /menu category tabs: labels wrap instead of ellipsis (same fix as #47 F1) */
:root .menu-buttons .menu-button { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.35; }
/* F7 (Atlas 09:13): chips are labels: 14px floor at every width */
:root .chip, :root .story-copy .chip, :root .hero-proof .chip, :root .quotes-intro .chip, :root .cta-chips .chip { font-size: var(--fs-label, 0.875rem); }
/* F8 (Atlas 09:13): hero tag line is reading text: 16px on phones (template sets 0.98rem <=900) */
:root .hero-room .hero-full__tag { font-size: clamp(1rem, 1.4vw, 1.1rem); } /* F8 R3 (Dennis a8485f5): >=16px at 901-1257 too */
@media (max-width: 900px) { :root .hero-room .hero-full__tag, :root .hero-full__tag { font-size: var(--fs-body, 1rem); } }

/* #59 pre-READY fixes (store level) */
/* place pages: the copy block is the only child of #local-info: one centred column, no empty track */
#local-info.explore__container { grid-template-columns: 1fr; max-width: 52rem; margin-inline: auto; }
/* home menu band: no category tiles until the menu lands: one centred column */
.menu-band .wrap { grid-template-columns: 1fr; max-width: 52rem; margin-inline: auto; text-align: center; }
/* /menu heading: the empty-menu note sits under the H2, one column */
.menu-heading .wrap { grid-template-columns: 1fr; }
.menu-empty-note { margin-top: 0.5rem; }
/* /menu while the feed is empty: hide the empty list block and its search bar (they come back as soon as menu.js has items) */
section#menu.menu:not(:has(.menu-item)), main .mobile-menu-controls:has(~ section#menu:not(:has(.menu-item))) { display: none !important; }

/* fix round (QA 0f477f9): home menu-band copy was 280px / 3 lines at 360 (band + wrap both subtract --pad) */
@media (max-width: 479.98px) {
  .menu-band { width: calc(100% - 1rem); }
  .menu-band .wrap { width: 100%; padding-inline: 0.75rem; box-sizing: border-box; }
}

/* Dennis QA R1 (0f477f9) store fixes */
/* F1 place pages: centre the story column together with its H2; line length capped by ch */
#local-info .explore__content { width: 100%; max-width: 58ch; margin-inline: auto; }
#local-info .explore__content p.section__description { max-width: none; }
/* F2 home stat bar: rating line 15.2px -> 16px */
.sb-body strong { font-size: 1rem; }
/* F3 home + /faq at 360: FAQ answers >= 300px (side padding only) */
@media (max-width: 479.98px) {
  .faq .wrap { width: calc(100% - 1.5rem); }
  .faq .qa-body { padding-inline: 0.75rem; }
}
