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

/* Contact page: "Opening hours" promoted to h2 for heading order; keep the original h3 look */
.hours-table h2 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

/* ---------- location box (city + cuisine landing page) ---------- */
.location-box {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  margin-top: 2rem;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.location-box__map {
  position: relative;
  min-height: 420px;
  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;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.location-box__info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--basil);
}

.location-box__info h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.9rem 0 0.25rem;
}

.location-box__info p {
  line-height: 1.55;
}

.location-box__info p a:hover {
  color: var(--brand);
}

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

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

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

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

  .location-box__actions .btn {
    flex: 1 1 100%;
  }
}

/* Takeout page: pickup map box (map left, details right, buttons bottom-right) */
.pickup-map-box {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.pickup-map-frame {
  position: relative;
  min-height: 420px;
  background: var(--sand);
}
.pickup-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.pickup-map-info {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.pickup-map-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.pickup-map-info h3 {
  font-size: 1rem;
  color: var(--basil);
  margin: 0.9rem 0 0.25rem;
}
.pickup-map-info p {
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.pickup-map-info p a {
  color: var(--brand);
  font-weight: 600;
}
.pickup-map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
}
@media (max-width: 900px) {
  .pickup-map-box {
    grid-template-columns: 1fr;
  }
  .pickup-map-frame {
    min-height: 300px;
  }
}
@media (max-width: 480px) {
  .pickup-map-actions .btn,
  .pickup-map-actions .btn-line {
    flex: 1 1 100%;
  }
}

/* Location landing pages (tags/places): map + contact box at page end */
.place-map-box {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 1rem auto clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.place-map-box__map {
  position: relative;
  min-height: 420px;
  background: var(--sand);
}

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

.place-map-box__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.place-map-box__info h2,
.place-map-box__info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.2;
  color: var(--basil);
}

.place-map-box__details li {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.place-map-box__details li:last-child {
  border-bottom: none;
}

.place-map-box__details strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.place-map-box__details a {
  color: var(--chili-dark);
  font-weight: 600;
}

.place-map-box__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

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

  .place-map-box__map {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .place-map-box__actions .btn {
    flex: 1 1 100%;
  }
}

/* Home page: map box follows the CTA band, give it breathing room */
.cta-band + .place-map-box {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

/* Phase 2 — Sagarmatha badge logo (1.5:1) sized by height */
.brand img { width: auto; height: 70px; padding: 4px 6px; }
.foot-brand img { width: auto; height: 96px; }
@media (max-width: 600px) { .brand img { height: 56px; } }
