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

/* ===== Open now / Closed now badge (new-website standards 2026-10-22) =====
   Sits just under the header (absolute, so it never shifts the layout).
   Hidden until the live hours check answers; stays hidden on any error. */
.open-badge {
  position: absolute;
  top: calc(100% + 8px);
  left: max(12px, calc((100% - 1200px) / 2 + 12px));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font: 600 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.open-badge[hidden] { display: none; }
.open-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7280;
}
.open-badge.is-open::before { background: #15803d; }
.open-badge.is-closed::before { background: #b91c1c; }

/* Logo: owner wordmark on a transparent background (square PNG). */
.brand img {
  width: auto;
  height: 76px;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
@media (max-width: 480px) {
  .brand img { height: 60px; }
}
/* Footer: cream-letter logo for the green footer, no white plate behind it. */
.foot-brand img {
  width: auto;
  height: 110px;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* Menu band (black): logo green lifted to #5BD08A for contrast for the small kicker + em. */
.menu-band .kicker,
.menu-band h2 em { color: #5BD08A; }

/* ===== Dark theme: black page, green accents =====
   Page surfaces turn black; --ink (text) is light. White pills/buttons keep
   dark text; every other former-white panel becomes a dark card. */
:root {
  --bg: #0f1311;
  --card: #171d19;
  --lightgray: #171d19;
  --sand-2: #1d251f;
  --line: #2a352d;
  --muted: #a9b8ac;
  --chili-soft: color-mix(in srgb, var(--brand) 24%, #0f1311);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.site-header { background: rgba(0, 0, 0, 0.9); }
.sticker,
.hero-proof .chip,
.story-copy .chip,
.quotes-intro .chip,
.cta-chips .chip,
#home-hero .hero-stats li,
.dropdown-content,
.popup-content,
.dish-hero .dish-detail,
.to-top { background: var(--card); color: var(--ink); }
@media (max-width: 900px) {
  .site-nav { background: #000; }
  .mobile-menu-controls { background: rgba(0, 0, 0, 0.94); }
}
@media (max-width: 768px) {
  .floating-btn-wrapper { background: rgba(0, 0, 0, 0.92); }
}
.btn--butter,
.btn-secondary,
.cta-content .btn { background: #fff; color: #111512; }
.btn--butter:hover,
.btn-secondary:hover,
.cta-content .btn:hover { background: #dfe9e0; color: #111512; }
.cat-tile:hover { background: var(--card); color: var(--ink); }
.btn--green { border: 1px solid var(--line); }

/* ===== Green accents on the dark theme =====
   --green-text is a lighter green that stays readable on black (the brand
   green #0F6B34 is too dark for text on a dark page). */
:root { --green-text: #4ade80; }

.site-topline { background: var(--brand); color: #fff; }
.site-header { border-bottom: 2px solid var(--brand); }
.site-nav a:hover { background: color-mix(in srgb, var(--brand) 30%, #000); color: #fff; }
.site-nav a.active { background: var(--brand); color: #fff; }
.nav-toggle { background: var(--brand); color: #fff; border-color: var(--brand); }

h1 em, h2 em, h3 em, .display em { color: var(--green-text); }
.kicker { color: var(--green-text); }
.kicker::before { background: var(--brand); }
.kicker--light { color: var(--green-text); }
.kicker--light::before { background: var(--green-text); }

.site-footer { border-top: 3px solid var(--brand); }
.site-footer h4 { color: var(--green-text); }
.site-footer li a:hover { color: var(--green-text); }

.btn--butter:hover, .btn-secondary:hover, .cta-content .btn:hover { background: #d6f5e1; }
.cat-tile:hover { border-color: var(--brand); }
.cat-tile .arrow { color: var(--green-text); }
.sticker, .hero-proof .chip, .story-copy .chip, .quotes-intro .chip,
.cta-chips .chip, #home-hero .hero-stats li { border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); }
::selection { background: var(--brand); color: #fff; }

/* ===== Text that used the (now black) secondary colour: unreadable on dark ===== */
.bd-body .bd-note,
.item-desc span,
.package-card h3,
.takeout-features li .ico,
.signoff,
.nav-extra__tel .ico { color: var(--green-text); }
.item-desc span { background: color-mix(in srgb, var(--brand) 28%, #000); color: #fff; }
.menu-button { color: #cfd9d1; }
.menu-button:hover { background: color-mix(in srgb, var(--brand) 30%, #000); color: #fff; }
.menu-item .item-name { color: #fff; }
.menu-item .item-price { color: var(--green-text); }
.menu-item .item-desc { color: #b9c6bc; }

/* ===== Rentals & Events page ===== */
.rent-rules { padding-block: 2rem; }
.rent-rules__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.rent-rule { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r-lg); padding: 1.1rem 1.25rem; display: grid; gap: 0.2rem; }
.rent-rule strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--green-text); }
.rent-rule span { color: var(--muted); }
.rent-estimate { padding-block: 3rem 4rem; }
.rent-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .rent-layout { grid-template-columns: 1fr; } }
.rent-form, .rent-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.5rem; }
.rent-summary { position: sticky; top: 6rem; border-top: 4px solid var(--brand); }
@media (max-width: 900px) { .rent-summary { position: static; } }
.rent-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.rent-name small { display: block; color: var(--muted); font-size: 0.85rem; }
.rent-form input, .rent-form select, .rent-form textarea { background: #0f1311; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.6rem 0.8rem; font: inherit; width: 100%; }
.rent-row input { width: 5.5rem; text-align: center; }
.rent-form input:focus, .rent-form select:focus, .rent-form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.rent-selects, .rent-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
@media (max-width: 560px) { .rent-selects, .rent-contact { grid-template-columns: 1fr; } }
.rent-field { display: grid; gap: 0.35rem; font-weight: 600; }
.rent-field--wide { grid-column: 1 / -1; }
.rent-summary h3 { margin: 0; }
.rent-total { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--green-text); margin: 0.25rem 0 1rem; }
.rent-status h4 { margin: 0 0 0.25rem; color: var(--green-text); }
.rent-status p { color: var(--muted); margin: 0 0 0.5rem; }
.rent-status ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.3rem; font-size: 0.92rem; }
.rent-actions { display: grid; gap: 0.6rem; }
.rent-actions .btn, .rent-actions .btn-line { text-align: center; justify-content: center; }
.rent-or { text-align: center; color: var(--muted); margin: 0; }
.rent-fine { color: var(--muted); font-size: 0.82rem; margin: 1rem 0 0; }

/* WhatsApp buttons: WhatsApp-green pill, large white logo inline on the left */
.has-wa,
.has-wa:hover,
.has-wa:focus-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: #25d366;
  border: 0;
  color: #fff;
  font-weight: 700;
  text-align: center;
  overflow: visible;
}
.has-wa:hover {
  background: #1ebe5a;
}
.has-wa .wa-ico {
  flex: 0 0 auto;
  width: 2em;
  height: 2em;
  margin: -0.25em 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  fill: #fff;
  position: static;
  pointer-events: none;
}
@media (max-width: 600px) {
  .hero-actions .has-wa,
  .has-wa#rent-whatsapp {
    display: flex;
    width: 100%;
    padding-top: 0.85em;
    padding-bottom: 0.85em;
    font-size: 1rem;
  }
  .has-wa .wa-ico {
    width: 2.2em;
    height: 2.2em;
  }
}
