/* ============================================================
   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 + contact details) ----------
   Used on the city + cuisine landing page. Map sits on the
   left, address/contact details on the right, with the
   action buttons anchored to the bottom-right corner.
   Uses the existing design tokens only — no new colours. */

.location-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 2rem;
}

.location-box .map-frame {
  border-radius: 0;
  box-shadow: none;
  min-height: 460px;
  height: 100%;
}

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

.location-details h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.location-detail:last-of-type {
  border-bottom: none;
}

.location-detail .ic {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--chili-soft);
  color: var(--chili-dark);
  font-size: 1rem;
}

.location-detail h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.location-detail p,
.location-detail address {
  font-style: normal;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink);
}

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

.location-detail a:hover {
  text-decoration: underline;
}

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

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

  .location-box .map-frame {
    min-height: 320px;
  }

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

/* ---------- home "find us" section (index.html) ----------
   Wrapper for the map + contact box at the end of the home page.
   Padding and background match the other home sections. */

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

.visit-sec .sec-head .lede {
  margin-top: 0.9rem;
}

/* home FAQ accordion links — style.css styles .faq__answer a, but the
   home accordion uses .qa-body, so its links would read as plain text.
   Every dish, delivery-area and service page under /tags/ is linked from
   this accordion, so the treatment has to read clearly as a link. */
.qa .qa-body a {
  color: var(--chili-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.qa .qa-body a:hover,
.qa .qa-body a:focus-visible {
  color: var(--brand);
  text-decoration-thickness: 2px;
}

/* ---------- dish tag pages (tags/dishes/) ----------
   Small polish only — the layout, colours and components
   are the ones already defined in style.css. */

/* hero photos come in mixed aspect ratios; normalise them so
   every dish page reads the same on mobile and desktop */
.dish-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* long-form dish copy reads better left-aligned under the
   left-aligned headings */
.dish-description-content .section__description {
  text-align: left;
  margin-inline: 0;
}

.dish-description-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.dish-description-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  max-width: 72ch;
  margin-bottom: 1rem;
  color: var(--muted);
}

.dish-description-content li {
  padding: 0.2rem 0;
}

.dish-description-content a {
  color: var(--chili-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dish-location-container .section__header,
.dish-location-container .section__description {
  text-align: left;
  margin-inline: 0;
  max-width: 72ch;
}

/* keep the five stars on one line inside the narrow review cards */
.reviews-container .review-header .review-rating {
  display: flex;
  flex: none;
  gap: 0.1rem;
  white-space: nowrap;
}

/* reviewer names are h3 so the heading order runs h1 → h2 → h3 → h4;
   they keep the compact look the review cards were designed with */
.reviews-container .reviewer-info h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0;
}

/* ---------- service landing pages (delivery / takeout) ----------
   Dish names and linked service areas inside the existing
   .delivery-area-card component. Type scale and colours are the
   tokens already defined in theme.css / style.css. */

.delivery-area-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

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

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

/* the static FAQ list on these pages uses .faq-answer, so it misses
   the link treatment style.css gives the accordion .faq__answer */
.faq-answer a {
  color: var(--chili-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
