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

/* Tres Marias rebrand: real tresmarias.ca logo (wide, ~2.6:1) is sized by HEIGHT so the
   header doesn't balloon. */
.brand img {
  width: auto;
  height: 64px;
}
.foot-brand img {
  width: auto;
  height: 60px;
}
@media (max-width: 600px) {
  .brand img { height: 52px; }
}

/* --brand-3 is a light pink made for the purple bands; on white cards use the primary
   pink instead so stars/badges stay readable. */
.quote-card .stars,
.dish-rating span,
.sb-cell:last-child .sb-ico,
.review-rating span { color: var(--brand); }

/* Dish page hero photo: one 5:4 shape, never stretched (TF template sets width:100%
   without height:auto). */
.dish-hero-image img {
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

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