/* ============================================================
   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 variant: map on the left, details on the right,
   action buttons pinned to the bottom-right corner of the details */
.location-box--map-left .location-box__details {
  order: 0;
  display: flex;
  flex-direction: column;
}

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

@media (max-width: 900px) {
  .location-box--map-left .location-box__actions {
    justify-content: flex-start;
  }
}

/* ---------- takeout page: map + details in one box ---------- */
.delivery-location-box.takeout-location-box {
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.takeout-location-box .delivery-location-box__map {
  min-height: 320px;
  border: 0;
}

.takeout-location-box .delivery-location-box__details {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

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

@media (min-width: 900px) {
  .takeout-location-box .delivery-location-box__map {
    min-height: 460px;
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 899px) {
  .takeout-location-box .delivery-location-box__map {
    border-bottom: 1px solid var(--line);
  }
}

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

/* ---------- Mama Nors wordmark logo (wide, not a round badge) ---------- */
.brand img,
.logo__image,
.foot-brand img {
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
  height: 60px;
  width: auto;
}

.foot-brand img {
  height: 76px;
}

@media (max-width: 900px) {
  .brand img {
    height: 50px;
  }
}
