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

/* Layout for the location / delivery boxes now lives in style.css
   (Lantern template). Keep only store-specific tweaks below. */

/* ---------- home FAQ: internal links to tag pages ---------- */
.qa .qa-body a {
  color: var(--chili);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--chili) 35%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  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-dark);
  text-decoration-color: currentColor;
}

/* long neighbourhood / dish lists (8+ items) read better in two columns */
.qa .qa-body ul:has(li:nth-child(8)) {
  columns: 2;
  column-gap: 1.5rem;
}

.qa .qa-body ul:has(li:nth-child(8)) li {
  break-inside: avoid;
}

@media (max-width: 560px) {
  .qa .qa-body ul:has(li:nth-child(8)) {
    columns: 1;
  }
}

/* ---------- location box: map left, details right, actions in corner ---------- */
.location-box--map-left .location-box__details {
  order: 0;
  display: flex;
  flex-direction: column;
}

.location-box--map-left .location-box__details h3 {
  overflow-wrap: anywhere;
}

.location-box--map-left .location-box__actions {
  margin-top: auto;
  padding-top: 1.75rem;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .location-box--map-left .location-box__actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
  }
}

/* ---------- delivery page: map + contact in one box ----------
   Scoped to the --card modifier so other pages keep the template box. */
.delivery-location-box--card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: clamp(1rem, 3vw, 1.75rem);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.delivery-location-box--card .delivery-location-box__map {
  min-height: 300px;
}

.delivery-location-box--card .delivery-location-box__details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.delivery-location-box--card .delivery-location-box__list p {
  overflow-wrap: anywhere;
}

.delivery-location-box--card .delivery-location-box__actions {
  margin-top: auto;
  padding-top: 1.75rem;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem 1.5rem;
}

@media (min-width: 900px) {
  .delivery-location-box--card .delivery-location-box__map {
    min-height: 440px;
  }
}

@media (max-width: 480px) {
  .delivery-location-box--card .delivery-location-box__actions {
    justify-content: flex-start;
  }
}

/* ---------- Grandma's Kitchen logo (mascot, portrait, transparent) ---------- */
.brand img {
  height: 64px;
  width: auto;
  border-radius: 10px;
  background: transparent;
  padding: 0;
}
.foot-brand img {
  height: 96px;
  width: auto;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
}
@media (max-width: 860px) {
  .brand img { height: 52px; }
}
