/* ============================================================
   CUSTOM — Per-store overrides for Varsha Indian Kitchen (PM)
   Add store-specific tweaks here. Loaded last so it wins
   over theme.css and style.css.
   e.g. keep a full-colour logo on the dark header:
   .brand img, .foot-brand img { filter: none; }
   ============================================================ */


/* ===== TASK E (2026-11-14): repeat-defect guards, measured on a fresh PM scaffold ===== */
/* item 3: back-to-top (fixed 3rem at right 1.5rem) covered "Powered by iOrders.ca" at 390-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.6rem - (100vw - 100%) / 2)); }
/* item 5: footer logo kept its source ratio only while its column was wide enough (height:6rem + width:auto squashed it to 214x96
   = 33% off at 768); height follows the width now, capped at 6rem, never distorted (Emerald 4cabf85 pattern) */
:root .foot-brand img { height: auto; max-height: 6rem; width: auto; max-width: 100%; object-fit: contain; }
/* item 6: small text (<14px) at >=4.5:1 on its real background (Dennis's bar) */
:root :is(.band-olive, .band-dark) :is(.dish-card__meta, .dish-meta__tag, .eyebrow) { color: color-mix(in srgb, var(--gold) 45%, #fff); }  /* brand accent on olive 2.65:1 */
:root .counter-block__label { color: color-mix(in srgb, var(--ink) 72%, #fff); }                                                       /* ink-55 on white 4.06:1 */
:root :is(.band-dark, .band-olive) .counter-block__label { color: var(--cream-55); }
/* item 6 (full-site re-measure, 19 pages x 7 widths): the brand accent as small text on LIGHT grounds is 3.5-3.65:1 (link-card
   "Signature" label on 12 pages, plain eyebrow on home/menu) -> a darker mix of the same accent (~6.9:1 on white for the template's sample accent); the accent on the page-title photo side 2.51:1 -> a pale tint + shadow; counter label on olive 4.2 -> brand light */
:root { --e-gold-ink: color-mix(in srgb, var(--gold) 70%, #000); }
:root .link-card:not(:hover) small, :root .eyebrow--plain:not(:is(.band-dark, .band-olive) *) { color: var(--e-gold-ink); }
:root .band-dark .link-card:not(:hover) small, :root .band-olive .link-card:not(:hover) small { color: color-mix(in srgb, var(--gold) 45%, #fff); }
:root .page-title__side strong { color: color-mix(in srgb, var(--gold) 25%, #fff); text-shadow: 0 1px 8px color-mix(in srgb, var(--ink) 60%, transparent); }
:root :is(.band-dark, .band-olive) .counter-block__label { color: var(--cream-text); }


/* ===== STORE: Varsha Indian Kitchen v3 (Elena 2026-11-27) ===== */
/* Brandy THEME.md: mustard only on green/ink; brass text never on green/ink */
:root { --mustard: #EDB74A; }
:root :is(.band-olive, .band-dark, .hero-home, .site-footer .foot-main, .nav-overlay__panel, .foot-cta-half) :is(.eyebrow, .price, .item-price, .dish-card__meta, .dish-meta__tag, .link-card small, .counter-block__label) { color: var(--mustard); }
/* logo: owner's stacked lockup 440x307, shown at 56-72px high, never squeezed (HANDOFF rule 42) */
:root .brand img { height: clamp(56px, 6vw, 64px); width: auto; max-width: none; object-fit: contain; }
:root .nav-overlay__brand img { height: 72px; width: auto; object-fit: contain; }
:root .foot-brand img { height: 72px; max-height: 72px; width: auto; }
/* hero crop per HANDOFF */
:root .hero-home__portrait img { object-position: 50% 45%; }

/* ----- rule 58 type floor (PM store-level; tokens as PT) ----- */
:root { --fs-body: 1rem; --fs-label: 0.875rem; --lh-body: 1.5; }
body { line-height: var(--lh-body); }
:root :is(.marquee--dishes p, .feature p, .menu-row__desc, .service-card p, .reviews-score p, .dish-card__text, .dish-card__cat, .cta-phone, .info-card > span:last-child span, .offer-row__text span, .thirds p, .value-card p, .bd-card p, .menu-search input, .menu-search__clear, .item-desc, .mobile-menu-controls input, .dropbtn, .ingredients-grid li, .area li, .step p, .foot-col ul, .nav-overlay__meta, .hero-home__meta > *, .hero-card__meta, .q-by span, .insta-band__handle) { font-size: var(--fs-body); line-height: var(--lh-body); }
:root :is(.btn, .btn-line, .btn--sm, .link-arrow, .nav-toggle, .header-cta .btn) { font-size: var(--fs-body); }
:root :is(h6, .h6, .eyebrow, .chip, .stars, .nav-overlay__label, .breadcrumb, .page-title .eyebrow, .page-title__crumb, .page-title__side strong, .hero-card__panel .eyebrow, .hero-home__meta strong, .counter-block__label, .stat__label, .q-by strong, .dish-meta__tag, .dish-card__meta, .link-card small, .map-guard span, .label-grid strong, .menu-heading .eyebrow, .rating-count, .foot-legal, .cursor-follower) { font-size: var(--fs-label); }
/* header nav (rule 58): 16px / -0.2px / lh 1.38, display face at 600 */
:root :is(.site-nav a, .nav-overlay__links a, .header-cta .btn, .header-cta__order) { font-size: var(--fs-body); letter-spacing: -0.2px; line-height: 1.38; font-weight: 600; }
/* Langford pages carry no dish images (0 dish names while the menu is coming soon): copy-only split, centred */
:root .split.split--solo { display: block; max-width: 46rem; margin-inline: auto; }
