/* ============================================================
   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; }

/* ============================================================
   RASAM RESTOBAR — rasamrestobar.online look on TF (Wilson, rebrand 2026-11-13)
   Fonts: Inter (body, UI, h3+) + Abril Fatface (h1/h2 display, its one
   shipped weight 400). Self-hosted, same files Google Fonts serves.
   Buttons: 2px outline, 10px radius, red text; fill red on hover.
   ============================================================ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(assets/fonts/inter-var-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(assets/fonts/inter-var-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Abril Fatface"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/abril-fatface-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Abril Fatface"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/abril-fatface-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font-display: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-head: "Abril Fatface", Georgia, serif;
  --r-btn: 10px;
}
html { font-synthesis: none; }

h1, h2, .display { font-family: var(--font-head); font-weight: 400; letter-spacing: 0; line-height: 1.15; }
h1 em, h2 em, .display em { font-style: normal; font-weight: 400; }

/* buttons: outline in the brand brown, red label, 10px radius */
.btn, .btn-line, .btn-secondary, .btn-small { border-radius: var(--r-btn); }
.btn {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand-2);
  font-family: var(--font-body);
  font-weight: 600;
  box-shadow: none;
}
.btn:hover, .btn:focus-visible {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn--green, .btn--butter { background: #fff; color: var(--brand); border: 2px solid var(--brand-2); }
.btn--green:hover, .btn--butter:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-line { border: 2px solid var(--brand-2); background: #fff; color: var(--brand-2); font-family: var(--font-body); font-weight: 600; }
.btn-line:hover { background: var(--brand-3); color: var(--brand-2); }

/* header + floating "Order Online": solid brown-to-red, as the current site's nav button */
.header-cta .btn, .btn.order-float {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-color: transparent;
  color: #fff;
}
.header-cta .btn:hover, .btn.order-float:hover { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }

/* round badge logo (Brandy pack): sized by height, no white plate */
.brand img { width: auto; height: 64px; padding: 0; background: transparent; box-shadow: none; border-radius: 50%; }
@media (max-width: 900px) { .brand img { height: 54px; } }

/* RASAM: desktop measure <= 75 cpl (Inter), centred blocks stay centred */
p.privacy-desc, p.section__description, p.faq-answer, p.cs-text, p.lede, .qa-body p, p.delivery-note, .dish-description-content p, main p { max-width: 50ch !important; }
.cta-band .wrap > p, .cs-content > p.cs-text, .section__container.cta__container p, .faq__header p, .sec-head p, .page-hero p.lede, .hero-full__content p { margin-inline: auto; }
p.privacy-desc { max-width: 46ch !important; }
/* dish "About" block: one alignment (left) at all widths (Dennis QA precedent, Señors F3) */
.dish-description-content .section__header, .dish-description-content h3, .dish-description-content p.section__description, .dish-description-content p { text-align: left; margin-inline: 0; }
.cta-content p { max-width: 50ch !important; margin-inline: auto; }
.header-cta .btn, .btn.order-float, .header-cta .btn:hover, .btn.order-float:hover { background-color: var(--brand-2); }
/* phone drawer "Order Online": same solid button as the header CTA, 10px radius */
@media (max-width: 900px) {
  .site-nav .nav-extra .btn { border-radius: var(--r-btn); background: linear-gradient(135deg, var(--brand-2), var(--brand)); background-color: var(--brand-2); border-color: transparent; color: #fff; }
  .site-nav .nav-extra .btn:hover { color: #fff; }
}
/* plain hex for the active nav pill + open toggle (color-mix() values read as 1:1 by the contrast probes); #7E1D1B on #F3E4E2 = 8.18:1 */
.site-nav a.active { background: #F3E4E2; color: #7E1D1B; }
.nav-toggle.is-open { background: #F3E4E2; }

/* hero video (desktop + mobile cut; fades in over the poster image after page load) */
.hero-full__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-full__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-full__video { display: none; }
}
/* while the video plays the scrim is lighter (not removed): the storefront shots are bright and busy behind the text */
.hero-full.has-video::before {
  background: linear-gradient(180deg, rgba(24, 20, 16, 0.5) 0%, rgba(24, 20, 16, 0.42) 50%, rgba(24, 20, 16, 0.55) 100%);
}
.hero-full h1,
.hero-full__tag,
.hero-full .kicker--light {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 2px 24px rgba(0, 0, 0, 0.65);
}
.hero-full__tag em,
.hero-full__tag a {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 2px 16px rgba(0, 0, 0, 0.55);
}
.hero-full.has-video .hero-full__foot .store-bar {
  background: rgba(20, 16, 12, 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

/* back-to-top must never cover the "Powered by iOrders" credit (Atlas standing rule 2026-11-06; Seahood e661755 pattern):
   reserve the fixed button's width (right 1.4rem + 3rem + gap) at the right of the legal row, all widths */
.foot-legal { padding-right: calc(1.4rem + 3rem + 0.75rem); }
