/* ============================================================
   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;
  }
}

/* ============================================================
   SHARED LOCATION CARDS (multi-location) — ONE block, reused by
   every page that shows the location selector (home #locations,
   menu chooser, locations hub, contact). Do not duplicate.
   Markup:
     section.locations#locations > .wrap > .sec-head + .loc-cards
       article.loc-card > img.loc-card__img + .loc-card__body
         h3.loc-card__name, ul.loc-card__list (li > span.ic + a|ul.loc-card__hours),
         .loc-card__actions (a.btn Order Now, a.btn-line View Menu / View Location …)
   Optional extras (contact page): .loc-card__map wrapping a map iframe.
   Uses the template tokens (--panel, --ink, --muted, --line, --chili,
   --r-md, --shadow-lg, --font-display) so it follows any re-theme.
   ============================================================ */
.locations {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg);
  scroll-margin-top: var(--header-h, 78px);
}

.loc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2.5rem;
}

.loc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-radius: var(--r-md);
  padding: 0.75rem;
  transition: transform var(--t-move) ease, box-shadow var(--t-move) ease,
    opacity 1s var(--ease-out);
}

.loc-card::before {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  pointer-events: none;
}

.loc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.loc-card__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-md);
  background: #fff;
}

.loc-card__map {
  position: relative;
  z-index: 1;
  margin-top: 0.75rem;
  aspect-ratio: 16 / 10;
  background: #fff;
}

.loc-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.loc-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem clamp(0.75rem, 2vw, 1.5rem) 1.25rem;
}

.loc-card__name {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.loc-card__list {
  border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  margin-bottom: 1.5rem;
}

.loc-card__list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}

.loc-card__list .ic {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.85rem;
}

.loc-card__list > li > a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--ink);
  padding-top: 0.2rem;
  transition: color var(--t-color) ease;
}

.loc-card__list > li > a:hover {
  color: var(--chili);
}

.loc-card__hours {
  flex: 1;
  padding-top: 0.25rem;
}

.loc-card__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.1rem 0;
  font-size: 0.98rem;
  color: var(--ink);
}

.loc-card__hours li span:first-child {
  color: var(--muted);
}

.loc-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: auto;
}
/* ============ end SHARED LOCATION CARDS ============ */
