/* ============================================================
   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 + address/contact panel used on the
   tag landing pages (map left, details right, actions bottom
   right). Built from the same tokens as style.css.
   ============================================================ */

.location-box {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 2rem;
}

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

.location-box__map {
  position: relative;
  min-height: 320px;
  background: var(--sand);
}

@media (min-width: 900px) {
  .location-box__map {
    min-height: 100%;
  }
}

.location-box__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-box__info {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3.4vw, 2.5rem);
}

.location-box__info h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.location-box__list {
  display: grid;
  gap: 0.25rem;
}

.location-box__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.location-box__list li:last-child {
  border-bottom: none;
}

.location-box__list .ic {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--chili-soft);
  color: var(--chili-dark);
  font-size: 0.95rem;
}

.location-box__list h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.location-box__list p {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}

.location-box__list p a:hover {
  color: var(--chili-dark);
}

.location-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

@media (max-width: 480px) {
  .location-box__actions .btn {
    flex: 1 1 100%;
  }
}

/* ============================================================
   DISH TAG PAGES — "Where to find it" map + details box
   (tags/dishes/*.html). Map left, address/contact right,
   stacks on mobile.
   ============================================================ */

.dish-visit {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.dish-visit .section__header {
  margin-bottom: 1.75rem;
}

.dish-visit__box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(0.85rem, 1.8vw, 1.35rem);
}

.dish-visit__map {
  position: relative;
  min-height: 340px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
}

.dish-visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dish-visit__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(0.5rem, 1.5vw, 1.1rem);
}

.dish-visit__info h3 {
  font-size: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

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

.dish-visit__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.dish-visit__list .ico {
  color: var(--chili);
  margin-top: 0.2rem;
  flex: none;
  font-size: 1.1rem;
}

.dish-visit__list strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.dish-visit__list a {
  color: var(--ink);
  font-weight: 600;
}

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

.dish-visit__hours {
  list-style: none;
  padding: 0.8rem 0.95rem;
  margin: 0.5rem 0 0;
  background: var(--sand);
  border-radius: var(--r-lg);
  display: grid;
  gap: 0.35rem;
}

.dish-visit__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}

.dish-visit__hours li span:last-child {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.dish-visit__actions {
  margin-top: auto;
  padding-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.dish-visit__actions .btn,
.dish-visit__actions .btn-secondary {
  flex: 1 1 auto;
  text-align: center;
  justify-content: center;
}

.dish-visit__actions .btn-secondary {
  border: 1px solid var(--line);
}

@media (max-width: 860px) {
  .dish-visit__box {
    grid-template-columns: 1fr;
  }

  .dish-visit__map {
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .dish-visit__actions .btn,
  .dish-visit__actions .btn-secondary {
    flex: 1 1 100%;
  }
}

/* dish tag pages: related-dish cards keep a consistent photo ratio */
.related-dish-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ============================================================
   HOME — "Find us" band (map + address/contact box) at the
   end of index.html. Uses the shared .location-box component
   above; this only supplies the section rhythm.
   ============================================================ */

.visit-band {
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
}

/* home signature plates: dish titles link through to their tag pages */
.plate h3 a {
  color: inherit;
  text-decoration: none;
}

.plate h3 a:hover,
.plate h3 a:focus-visible {
  color: var(--chili);
  text-decoration: underline;
}

/* ============================================================
   HOME FAQ — internal links inside answers
   Every tag page (dishes, neighbourhoods, delivery/takeout)
   is linked from the FAQ, so those links need to actually
   read as links: brand colour, underline, clear hover/focus.
   ============================================================ */

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

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

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

/* the delivery-neighbourhood lists are long and short-worded —
   lay them out in tidy columns so the answer stays scannable */
.qa .qa-body ul.qa-cols {
  columns: 2;
  column-gap: 1.75rem;
}

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

@media (max-width: 560px) {
  .qa .qa-body ul.qa-cols {
    columns: 1;
  }
}
