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

/* ---------- "Find Us" map card (local SEO landing pages) ---------- */

.local-map-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  margin-top: 2rem;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.local-map-embed {
  position: relative;
  min-height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
}

.local-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.local-map-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem clamp(0.25rem, 1vw, 1rem);
}

.local-map-info__body h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-bottom: 1.1rem;
}

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

.local-map-detail:last-child {
  border-bottom: none;
}

.local-map-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;
}

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

.local-map-detail p,
.local-map-detail a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}

.local-map-detail a:hover {
  color: var(--chili-dark);
  text-decoration: underline;
}

.local-map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .local-map-card {
    grid-template-columns: 1fr;
  }

  .local-map-embed {
    min-height: 280px;
  }

  .local-map-actions {
    justify-content: stretch;
  }

  .local-map-actions .btn,
  .local-map-actions .btn-line {
    flex: 1 1 auto;
  }
}

/* Screen-reader-only heading: keeps section headings in the
   h1 > h2 > h3 outline for SEO/accessibility without changing
   any visible layout. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* our-food.html: dish captions use a semantic <h3> for heading
   hierarchy, but must keep the exact look of the old plain-text
   figcaption (no added margin/weight/size from the browser's
   default heading styles). */
.gallery-wall figcaption h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}

/* delivery-area-card: optional H4 sub-heading (e.g. "Parking &
   Transit Access") that can follow the address list, used on
   tags/*-takeout pages. */
.delivery-area-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.delivery-area-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* order-step: optional H4 sub-heading (e.g. "Heat Levels
   Available") nested under a numbered step. */
.order-step h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-top: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

/* ---------- mobile nav: 6th link (Franchise) cascade ---------- */

@media (max-width: 900px) {
  .site-nav.open a:nth-child(6) {
    transition-delay: 0.24s;
  }
}

/* ---------- franchise-enquiry.html: embedded enquiry form ---------- */

.form-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand);
  min-height: 1000px;
  position: relative;
}

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

.info-cards--row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .form-frame {
    min-height: 760px;
  }

  .info-cards--row {
    grid-template-columns: 1fr;
  }
}
