/* ============================================================
   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) used on tag pages
   Map on the left, details on the right, actions in the corner.
   ------------------------------------------------------------ */

.delivery-location-container {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.delivery-location-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
  margin-top: 2rem;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.delivery-location-map {
  position: relative;
  min-height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
}

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

.delivery-location-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0.25rem 0.25rem 0.25rem 0;
}

.delivery-location-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: var(--basil);
}

.delivery-location-item h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.delivery-location-details address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}

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

.delivery-location-details a:hover {
  color: var(--chili-dark);
}

.delivery-location-list,
.delivery-location-hours {
  display: grid;
  gap: 0.35rem;
}

.delivery-location-list li {
  font-size: 0.95rem;
  color: var(--muted);
}

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

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

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

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

  .delivery-location-map {
    min-height: 300px;
  }

  .delivery-location-actions {
    justify-content: flex-start;
  }
}

/* ------------------------------------------------------------
   Dish tag pages — content lists and service-area lists
   Matches the dot-bullet treatment already used in style.css.
   ------------------------------------------------------------ */

.dish-description-content ul,
.delivery-area ul {
  list-style: none;
  padding: 0;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
}

.dish-description-content ul li,
.delivery-area ul li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.3rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.dish-description-content ul li::before,
.delivery-area ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chili);
}

.delivery-area h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

/* ------------------------------------------------------------
   Home page FAQ — internal links to the tag pages
   Every page under /tags/ is linked from the home page FAQ.
   These rules make those links read as links (they inherit
   `color: inherit; text-decoration: none` from the base reset),
   and keep the long service-area list scannable.
   ------------------------------------------------------------ */

.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);
  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);
  text-decoration-color: currentColor;
}

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

/* Dish list: the linked dish name leads, the description follows */
.qa .qa-body li {
  line-height: 1.55;
}

/* Service-area list — 27 neighbourhoods, laid out in columns
   so the answer stays readable instead of scrolling forever. */
.qa .qa-body ul.area-links {
  columns: 3;
  column-gap: 1.5rem;
  padding-left: 1.05rem;
  max-width: none;
}

.qa .qa-body ul.area-links li {
  break-inside: avoid;
  margin-bottom: 0.25rem;
}

.qa .qa-body .qa-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .qa .qa-body ul.area-links {
    columns: 2;
  }
}

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

/* Wide answers (service areas, popular dishes) get the full column */
.qa .qa-body--wide {
  max-width: none;
}

.qa .qa-body ul.dish-links li {
  padding-bottom: 0.15rem;
}
