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

/* ---------- location box: map left, contact details right ----------
   Used on the city + cuisine landing page (#visit-us). Reuses the
   existing .map-frame, .btn and .btn-line components for styling. */

.local-visit-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  margin-top: 2rem;
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.local-visit-box .map-frame {
  min-height: 420px;
  height: 100%;
}

.local-visit__details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.local-visit__details h3 {
  font-size: 1.35rem;
  color: var(--basil);
}

.local-visit__list {
  display: grid;
  gap: 1rem;
}

.local-visit__item h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.local-visit__item p {
  font-weight: 600;
  font-size: 0.98rem;
}

.local-visit__item a:hover {
  color: var(--chili-dark);
  text-decoration: underline;
}

.local-visit__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.local-visit__hours li:last-child {
  border-bottom: none;
}

.local-visit__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Home page (index.html #visit-us) reuses the .local-visit-box above.
   This rule only supplies the standard section rhythm/background used
   by .plates / .story / .faq — no new component styling. */
.visit-us {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--sand);
}

/* value cards on the landing page reuse .review-card */
.review-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--basil);
}

@media (max-width: 900px) {
  .local-visit-box {
    grid-template-columns: 1fr;
  }

  .local-visit-box .map-frame {
    min-height: 320px;
  }

  .local-visit__actions {
    justify-content: stretch;
  }

  .local-visit__actions .btn,
  .local-visit__actions .btn-line {
    flex: 1 1 12rem;
  }
}

/* Contact page — the hours card heading is an <h2> so the page
   outline runs h1 -> h2 without skipping a level. Visual output is
   identical to the previous `.hours-table h3` rule. */
.hours-table h2 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

/* ============================================================
   HOME FAQ — internal links to the tag pages
   The global reset sets `a { color: inherit; text-decoration: none }`,
   which makes the dish / neighbourhood / service links inside the FAQ
   answers indistinguishable from body copy. These rules give every
   internal link in a .qa-body a visible, accessible affordance while
   staying inside the existing brand palette.
   ============================================================ */

.qa .qa-body a {
  color: var(--chili);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: color-mix(in srgb, var(--chili) 40%, transparent);
  border-radius: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.qa .qa-body a:hover,
.qa .qa-body a:focus-visible {
  color: var(--chili-dark);
  text-decoration-color: currentColor;
}

.qa .qa-body a:focus-visible {
  outline: 2px solid var(--chili);
  outline-offset: 2px;
}

/* the long dish / neighbourhood lists read better in two columns
   once there is room for them */
.qa .qa-body ul {
  color: var(--ink);
}

@media (min-width: 640px) {
  .qa .qa-body ul.qa-cols {
    columns: 2;
    column-gap: 1.75rem;
  }

  .qa .qa-body ul.qa-cols li {
    break-inside: avoid;
  }
}

/* ============================================================
   DISH PAGES (tags/dishes/*) — Dunked additions
   ============================================================ */

/* keep declared width/height attributes from squashing images */
.dish-hero-image img,
.related-dish-card img {
  height: auto;
}

/* per-dish badge on the hero photo (falls back to the style.css label) */
.dish-hero-image[data-badge]::after {
  content: attr(data-badge);
}

/* related dish cards: uniform photo crop */
.related-dish-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.related-dish-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--basil);
}

.related-dish-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.related-dishes-container .section__description {
  margin-top: 2rem;
}

/* FAQ block sits centred like the rest of the dish page */
.faq-container .faq-wrapper {
  margin-top: 1.75rem;
}

/* ---------- dish location box: map left, details right ---------- */

.dish-location-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  margin-top: 2rem;
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.dish-location-box .map-container {
  padding-bottom: 0;
  height: 100%;
  min-height: 400px;
}

.dish-location-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.dish-location-info h3 {
  font-size: 1.35rem;
  color: var(--basil);
}

.dish-location-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dish-location-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}

.dish-location-list li .ico {
  margin-top: 0.3rem;
  font-size: 1.1rem;
  color: var(--chili);
}

.dish-location-list strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.dish-location-list a:hover {
  color: var(--chili-dark);
  text-decoration: underline;
}

.dish-location-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

@media (max-width: 900px) {
  .dish-location-box {
    grid-template-columns: 1fr;
  }

  .dish-location-box .map-container {
    min-height: 320px;
  }

  .dish-location-actions {
    justify-content: stretch;
  }

  .dish-location-actions .btn,
  .dish-location-actions .btn-line {
    flex: 1 1 12rem;
  }
}
