/* ============================================================
   CUSTOM — Per-store overrides for Template TF
   Add store-specific tweaks here. Loaded last so it wins
   over theme.css and style.css.
   ============================================================ */

/* Rakesh 2026-10-29: overflow:hidden makes min-height 0, so 26 categories shrank instead of scrolling - keep full height, sidebar scrolls */
.menu-buttons .menu-button { flex-shrink: 0; }

/* ===== TASK E (2026-11-14): repeat-defect guards, measured on a fresh TF scaffold ===== */
/* item 1: gallery tiles at 390@2 were 1.80-2.02x (one 350px column on phones); two columns keep every tile <=1.5x */
@media (max-width: 560px) { :root .gallery-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; } :root .gallery-wall figcaption { padding: 0.55rem 0.7rem; font-size: 0.9rem; } }
/* item 3: back-to-top (fixed 3rem at right 1.4rem) covered "Powered by iOrders.ca" at 375-1280; reserve its width at the end of the legal row
   only where the row reaches it (0 on wide screens) */
:root .foot-legal { padding-right: max(0px, calc(5.5rem - (100vw - 100%) / 2)); }
/* item 6: small text (<14px) at >=4.5:1 on its real background (Dennis's bar) */
:root .dish-rating .rating-count { color: var(--muted); }                       /* was gold on cream, 2.0:1 (Golden Bell a943b1a pattern) */
:root .kicker:not(.kicker--light):not(.menu-band .kicker), :root p.cs-subtitle, :root #home-hero .cs-subtitle, :root .plate .plate-foot { color: var(--chili-dark); }   /* brand red 3.8-4.35:1 on cream/white */
:root .menu-band .kicker { color: #E9C46E; }  /* gold on the green band 4.46:1 -> lighter gold */
/* hero kicker sits on the store's photo: a 70% dark pill keeps white text >=6.6:1 over any photo, even pure white */
:root .hero-full .kicker--light { background: rgba(24, 20, 16, 0.7); padding: 0.3rem 0.75rem; border-radius: 999px; }

/* TF drawer CTA (Atlas standing ruling 12, 2026-11-12): white label on the phone-menu Order button */
.site-nav .nav-extra .btn{color:#fff}

/* IPOH (Brandy pack v1): derived palette as plain hex (theme tokens mixed as style.css does) so every tool reads real colours */
:root { --sand-2: #F4ECDE; --muted: #6F655B; --chili-dark: #9C1016; --chili-soft: #F6E0E1; --basil-deep: #0A3732; --line: #EBE2D4; }
/* Focus ring (WCAG 1.4.11, Tacomex fix): two tones, so one clears 3:1 on any background */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #201A17; outline-offset: 2px; box-shadow: 0 0 0 2px #FFFFFF; }
.cta-band a:focus-visible, .menu-band a:focus-visible, .site-footer a:focus-visible { outline-color: #FFFFFF; box-shadow: 0 0 0 2px #201A17; }
/* CLS: hold the header's height while components.js loads it (Tacomex a220935) */
#header-container:empty { display: block; min-height: 81px; }
@media (min-width: 901px) { #header-container:empty { min-height: 118.66px; } }
/* The fallback breadcrumb bar hid on header load and shifted the hero (Tacomex CLS fix); BreadcrumbList stays in the DOM/JSON-LD */
.breadcrumb-container { display: none; }
/* IPOH logo (Brandy pack v1, 570x170 transparent wordmark): no white plate; colour logo on the white header, white logo on the green footer */
.brand img { width: clamp(170px, 17vw, 228px); height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.foot-brand img { width: 200px; height: auto; padding: 0; background: none; border-radius: 0; }
