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

/* ------------------------------------------------------------
   City + cuisine landing page (calgary-indian-restaurant.html)
   ------------------------------------------------------------ */

/* signature dish cards — h3 group with h4 dish names */
.dish-group h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 1.1rem;
}

.dish-group h4:first-of-type {
  margin-top: 0;
}

.dish-group p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* location box — map on the left, address + contact on the right */
.location-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  margin-top: 2rem;
  padding: clamp(1.1rem, 2.4vw, 1.9rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.location-box__map {
  position: relative;
  min-height: 400px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
}

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

.location-box__info {
  display: flex;
  flex-direction: column;
}

.location-box__info h3 {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.location-box__list {
  display: grid;
  gap: 1rem;
}

.location-box__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  font-weight: 600;
}

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

.location-box__list strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.location-box__list a:hover {
  color: var(--chili-dark);
}

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

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

  .location-box__map {
    min-height: 300px;
  }

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

/* ------------------------------------------------------------
   Home page (index.html)
   ------------------------------------------------------------ */

/* "Visit us" band that holds the map + contact box at the end
   of the home page — matches the rhythm of the other bands */
.visit-sec {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--sand);
}

.visit-sec .location-box {
  margin-top: 0;
}

/* FAQ questions carry an <h3> for a correct heading outline but
   render exactly like the plain summary text they replaced */
.qa summary h3 {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
}

/* ---- FAQ answer links -------------------------------------
   The home-page FAQ is the hub that links every dish, delivery
   area and service page under /tags/. Base `a` is colour:inherit
   with no underline, so these need an explicit affordance. */
.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) 45%, 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: 3px;
}

/* wider max-width for the two link-heavy answers so 17 neighbourhood
   chips and 10 dish rows do not run as one long thin column */
.qa .qa-body:has(.qa-area-list),
.qa .qa-body:has(.qa-dish-list) {
  max-width: 72ch;
}

/* delivery neighbourhoods — tappable chips instead of bullets */
.qa .qa-body ul.qa-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
  margin-bottom: 0.9rem;
  padding-left: 0;
  list-style: none;
}

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

.qa .qa-body ul.qa-area-list a {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--chili-dark);
  background: var(--chili-soft);
  border: 1px solid color-mix(in srgb, var(--chili) 22%, transparent);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

.qa .qa-body ul.qa-area-list a:hover,
.qa .qa-body ul.qa-area-list a:focus-visible {
  background: var(--chili);
  border-color: var(--chili);
  color: #fff;
  transform: translateY(-1px);
}

/* popular dishes — link + short description, two columns on desktop */
.qa .qa-body ul.qa-dish-list {
  margin-top: 0.7rem;
}

@media (min-width: 700px) {
  .qa .qa-body ul.qa-dish-list {
    columns: 2;
    column-gap: 2rem;
  }

  .qa .qa-body ul.qa-dish-list li {
    break-inside: avoid;
    margin-bottom: 0.5rem;
  }
}

/* ------------------------------------------------------------
   Dish tag pages (tags/dishes/*.html)
   ------------------------------------------------------------ */

/* editorial copy in the dish description + FAQ blocks reads left,
   matching the left-aligned section heading above it */
.dish-description-content .section__description {
  text-align: left;
  margin-inline: 0;
}

/* dish photography is a mix of square and landscape shots — crop it to a
   single ratio so every dish page and card block lines up */
.dish-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

/* price sits beside the order button in the dish hero */
.dish-hero .dish-price .price {
  line-height: 1;
}

/* accent word in a full-bleed hero headline sits on the dark scrim,
   so it takes the gold rather than the terracotta used on light pages */
.hero-full h1 em {
  color: var(--gold);
}

/* the catering spread is brighter through the middle than the home hero
   photo, so this page carries a heavier scrim to keep the copy legible */
#catering-top.hero-full::before {
  background: linear-gradient(
    180deg,
    rgba(24, 20, 16, 0.74) 0%,
    rgba(24, 20, 16, 0.6) 45%,
    rgba(24, 20, 16, 0.8) 100%
  );
}

/* ------------------------------------------------------------
   Header nav — seven items (Tiffin and Catering added)
   ------------------------------------------------------------ */

/* never break a label across two lines */
.site-nav a {
  white-space: nowrap;
}

/* tighten the links between the mobile breakpoint and wide desktop,
   where seven items would otherwise wrap */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-nav a {
    padding: 0.55rem 0.6rem;
    font-size: 0.92rem;
  }
}

/* keep the mobile panel's staggered reveal running past the fifth link */
@media (max-width: 900px) {
  .site-nav.open a:nth-child(6) {
    transition-delay: 0.24s;
  }

  .site-nav.open a:nth-child(7) {
    transition-delay: 0.28s;
  }
}
