/* ============================================================
   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 — Google Map on the left, address / contact
   details on the right, action buttons pinned to the corner.
   Used by the city + cuisine landing page.
   ------------------------------------------------------------ */

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

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

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

.location-box__info {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.location-box__info h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.location-box__info h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--chili);
  margin-bottom: 0.3rem;
}

.location-detail p {
  color: var(--muted);
  font-size: 0.97rem;
}

.location-detail a {
  color: var(--ink);
  font-weight: 600;
}

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

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

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

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

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

  .location-box__map {
    min-height: 320px;
  }

  .location-box__actions {
    justify-content: center;
  }
}

/* ------------------------------------------------------------
   Find-us band — hosts the location box at the end of the
   home page, directly above the footer.
   ------------------------------------------------------------ */

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

.visit .location-box {
  margin-top: 0;
}

/* ------------------------------------------------------------
   Neighbourhood links inside delivery-area cards (tag pages) —
   make the internal links to the /tags/places pages readable
   as links instead of plain list text.
   ------------------------------------------------------------ */

.delivery-area-card li a,
.delivery-area li a {
  color: var(--chili-dark);
  font-weight: 600;
}

.delivery-area-card li a:hover,
.delivery-area li a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   Home page FAQ — internal links out to every /tags page
   (dishes, delivery, takeout and neighbourhoods). Base links
   inherit colour from style.css, so give them a clear link
   treatment here.
   ------------------------------------------------------------ */

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

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

/* Neighbourhood lists read better as pills than as a long
   bulleted column — used by the delivery-areas FAQ answer. */

.qa .qa-body ul.qa-areas {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-left: 0;
  margin: 0.65rem 0 0;
}

.qa .qa-body ul.qa-areas li {
  margin-bottom: 0;
}

.qa .qa-body ul.qa-areas a {
  display: inline-block;
  padding: 0.32rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.qa .qa-body ul.qa-areas a:hover,
.qa .qa-body ul.qa-areas a:focus-visible {
  background: var(--chili);
  border-color: var(--chili);
  color: #fff;
}

/* The two dish / neighbourhood answers hold a lot of links, so
   let those answers use the full card width. */

.qa .qa-body:has(ul.qa-areas),
.qa .qa-body:has(ul.qa-dishes) {
  max-width: 100%;
}

.qa .qa-body ul.qa-dishes li {
  margin-bottom: 0.45rem;
}
