/* ============================================================
   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 (left) + address / contact (right)
   Used on the city + cuisine SEO landing page. Built only from
   the existing design tokens so it inherits the site identity.
   ------------------------------------------------------------ */

.location-box {
  display: grid;
  margin-top: 2rem;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@media (min-width: 861px) {
  .location-box {
    grid-template-columns: 1.05fr 1fr;
  }
}

.location-box__map {
  position: relative;
  min-height: 320px;
  background: var(--sand);
}

.location-box__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

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

.location-box__details h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.location-box__tag {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.location-box__list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.location-box__list > li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.location-box__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--chili-soft);
  color: var(--chili-dark);
  font-size: 1.05rem;
}

.location-box__list h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--basil);
  margin-bottom: 0.2rem;
}

.location-box__list address,
.location-box__list p {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.location-box__hours {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: min(17rem, 100%);
}

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

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

.location-box__hours .is-closed {
  color: var(--chili-dark);
  font-weight: 600;
}

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

@media (max-width: 480px) {
  .location-box__actions {
    justify-content: stretch;
  }

  .location-box__actions .btn,
  .location-box__actions .btn-line {
    flex: 1 1 100%;
    padding-inline: 1rem;
  }
}

/* ------------------------------------------------------------
   HOME — menu band watermark carries the store name instead of
   the template default. Text only; the styling stays in style.css.
   ------------------------------------------------------------ */

.menu-band::after {
  content: "KIN DEE";
}

/* ------------------------------------------------------------
   HOME — "Visit us" band that holds the location box at the
   end of index.html. Padding matches the other home sections.
   ------------------------------------------------------------ */

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

.visit-band .sec-head {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   DISH PAGES — "More Lao & Thai favourites" thumbnails.
   The base card style already exists in style.css; this only
   constrains the photo so the grid stays even on every screen.
   ------------------------------------------------------------ */

.related-dish-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.review-header .reviewer-info .reviewer-name {
  margin-top: 0;
}

/* ------------------------------------------------------------
   HOME FAQ — internal links.
   The global rule sets anchors to `color: inherit` with no
   underline, which made the tag-page links inside the FAQ read
   as plain text. These rules give every FAQ link a visible,
   on-brand affordance and an accessible focus ring.
   ------------------------------------------------------------ */

.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) 40%, transparent);
  border-radius: 3px;
  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: 2px;
}

/* Pure-link lists (delivery areas) render as tappable pills so a
   19-item list stays scannable instead of becoming a long column. */

/* The pill grid needs more room than the 58ch reading measure. */
.qa .qa-body:has(ul.qa-links) {
  max-width: 100%;
}

.qa .qa-body ul.qa-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding-left: 0;
  margin-top: 0.7rem;
}

.qa .qa-body ul.qa-links li {
  margin-bottom: 0;
}

.qa .qa-body ul.qa-links a {
  display: inline-block;
  padding: 0.34rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}

.qa .qa-body ul.qa-links a:hover,
.qa .qa-body ul.qa-links a:focus-visible {
  background: var(--chili-soft);
  border-color: var(--chili);
  color: var(--chili-dark);
}

/* Dish list — link stays bold, the trailing description stays muted. */

.qa .qa-body ul.qa-dish-links li {
  margin-bottom: 0.45rem;
}
