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

/* ============================================================
   DISH PAGES (tags/dishes/*) — Watta Sushi
   Scoped additions only. No existing rule is overridden.
   ============================================================ */

/* --- two-card fact grid (replaces the old ingredients/nutrition grid) --- */
.dish-facts {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.25rem;
}

@media (min-width: 700px) {
  .dish-facts {
    grid-template-columns: 1fr 1fr;
  }
}

.dish-facts-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.6rem;
}

.dish-facts-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
  margin-bottom: 0.9rem;
}

.dish-facts-card ul {
  list-style: none;
  padding: 0;
}

.dish-facts-card li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.3rem;
  color: var(--muted);
}

.dish-facts-card li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chili);
}

.dish-facts-card + .dish-facts-card li::before {
  background: var(--basil);
}

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

/* --- find-us box: map left, address + contact right --- */
.dish-location-container {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 0 0;
}

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

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

.location-map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

@media (min-width: 900px) {
  .location-map {
    aspect-ratio: auto;
    min-height: 26rem;
  }
}

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

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

.location-details h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-bottom: 0.35rem;
}

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

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

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

.location-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.location-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: var(--r-pill);
  background: var(--sand);
  color: var(--chili);
  font-size: 1.05rem;
}

.location-list h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.location-list p,
.location-list a {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.5;
}

.location-list a:hover {
  color: var(--chili);
  text-decoration: underline;
}

.location-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.location-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  border: none;
  color: var(--ink);
}

.location-hours li span:last-child {
  color: var(--muted);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

@media (max-width: 480px) {
  .location-details {
    padding: 1.25rem;
  }

  .location-list li {
    gap: 0.7rem;
  }

  .location-ico {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }

  .location-hours {
    font-size: 0.9rem;
  }

  .location-hours li {
    flex-wrap: wrap;
  }

  .location-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  /* single column on small phones — the shared grids have a 260px track floor */
  .dish-facts,
  .related-dishes-grid,
  .reviews-container .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* reviewer name sits at h3 for a clean heading order; keep the card scale */
.reviews-container .reviewer-info h3 {
  font-size: 1.05rem;
}

/* ============================================================
   SERVICE LANDING PAGES (tags/*) — Watta Sushi
   Scoped link styling for the legacy static FAQ, ordering
   steps and area/dish cards. No existing rule is overridden.
   ============================================================ */

.faq-answer a,
.order-step p a,
.delivery-area-card li a {
  color: var(--chili-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.faq-answer a:hover,
.order-step p a:hover,
.delivery-area-card li a:hover {
  color: var(--chili);
}

/* reviewer name promoted to h3 — keep it flush with the stars row */
.review-header .reviewer-info h3 {
  margin-top: 0;
}

/* ============================================================
   HOME (index.html) — Watta Sushi
   Scoped additions only. No existing rule is overridden.
   ============================================================ */

/* FAQ answers carry dish + neighbourhood links — give them the
   same treatment the .lede/.prose links already use site-wide. */
.faq .qa .qa-body a {
  color: var(--chili-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.faq .qa .qa-body a:hover {
  color: var(--chili);
}

.faq .qa .qa-body a:focus-visible {
  outline: 2px solid var(--chili);
  outline-offset: 2px;
  border-radius: 2px;
}

/* The dish + neighbourhood answers are link indexes, not prose — let them
   use the full panel width instead of the 58ch reading measure. */
.faq .qa .qa-body--wide {
  max-width: none;
}

/* Link lists inside an FAQ answer: no bullet, tighter rhythm. */
.faq .qa .qa-body ul.qa-links {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
}

.faq .qa .qa-body ul.qa-links li {
  margin-bottom: 0.45rem;
  padding-left: 1rem;
  position: relative;
}

.faq .qa .qa-body ul.qa-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chili);
  opacity: 0.55;
}

/* 20 delivery neighbourhoods read as a column of links, so flow them
   into responsive columns rather than one long scroll. */
.faq .qa .qa-body ul.qa-links--areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.15rem 1.25rem;
}

.faq .qa .qa-body ul.qa-links--areas li {
  margin-bottom: 0.35rem;
}

@media (max-width: 480px) {
  .faq .qa .qa-body ul.qa-links--areas {
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.15rem 0.9rem;
  }
}

/* home find-us band: reuses the .location-box map/detail grid */
.home-find-us {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--sand);
}

.home-find-us .sec-head {
  margin-bottom: 0;
}

.home-find-us .sec-head .lede {
  margin-top: 0.9rem;
}
