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

/* ---------- takeoutmap box (shawarma-takeout-calgary.html: map left, info right) ---------- */
/* Page-specific namespace (not .location-box / .geo-card) because this file is
   shared across parallel page-generation passes on this project. */

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

@media (min-width: 769px) {
  .takeoutmap-box {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

.takeoutmap-box__map {
  position: relative;
  min-height: 320px;
}

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

.takeoutmap-box__info {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.takeoutmap-box__info h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.takeoutmap-box__details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.takeoutmap-box__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.takeoutmap-box__details li i {
  flex: none;
  margin-top: 0.15rem;
  color: var(--chili);
  font-size: 1.15rem;
}

.takeoutmap-box__details h4 {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.takeoutmap-box__details a,
.takeoutmap-box__details span.value {
  color: var(--ink);
  font-weight: 600;
}

.takeoutmap-box__details a:hover {
  color: var(--chili-dark);
}

.takeoutmap-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

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

  .takeoutmap-box__actions .btn,
  .takeoutmap-box__actions .btn-secondary {
    flex: 1;
  }
}

/* ---------- deliverymap box (shawarma-delivery-calgary.html: map left, info right) ---------- */
/* Uses a page-specific namespace (not .location-box) because this file is shared
   across parallel page-generation passes on this project. */

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

@media (min-width: 769px) {
  .deliverymap-box {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

.deliverymap-box__map {
  position: relative;
  min-height: 300px;
}

.deliverymap-box__map .map-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.deliverymap-box__info {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.deliverymap-box__info h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.deliverymap-box__details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.deliverymap-box__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.deliverymap-box__details li i {
  flex: none;
  margin-top: 0.15rem;
  color: var(--chili);
  font-size: 1.15rem;
}

.deliverymap-box__details a {
  color: var(--ink);
  font-weight: 600;
}

.deliverymap-box__details a:hover {
  color: var(--chili-dark);
}

.deliverymap-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

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

  .deliverymap-box__actions .btn,
  .deliverymap-box__actions .btn-secondary {
    flex: 1;
  }
}

/* ------------------------------------------------------------
   Geo card — used on the city+cuisine SEO landing page(s).
   One rounded card, map filling the left half, address +
   hours + actions filling the right half, with the Get
   Directions / Order Online buttons pinned to the bottom
   corner of the info panel.
   Namespaced as .geo-card (not .location-box) to avoid
   colliding with the other location-box component above.
   ------------------------------------------------------------ */
.geo-card {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.geo-card__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.geo-card__map {
  position: relative;
  min-height: 420px;
  background: var(--sand);
}

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

.geo-card__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--sand);
}

.geo-card__panel h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 1.25rem;
}

.geo-card__list {
  display: grid;
  gap: 1.1rem;
}

.geo-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.geo-card__list .ic {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--chili-soft);
  color: var(--chili-dark);
  font-size: 1.05rem;
}

.geo-card__list h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.geo-card__list a,
.geo-card__list .value {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.geo-card__list a:hover {
  color: var(--chili-dark);
}

.geo-card__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 860px) {
  .geo-card__inner {
    grid-template-columns: 1fr;
  }

  .geo-card__map {
    min-height: 300px;
  }

  .geo-card__actions {
    justify-content: center;
  }
}

/* ---------- dishmap box (tags/dishes/*.html: map left, info right) ---------- */
/* Page-specific namespace (not .location-box / .geo-card / .takeoutmap-box /
   .deliverymap-box) because this file is shared across parallel
   page-generation passes on this project. */

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

@media (min-width: 769px) {
  .dishmap-box {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

.dishmap-box__map {
  position: relative;
  min-height: 320px;
}

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

.dishmap-box__info {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.dishmap-box__info h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.dishmap-box__details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.dishmap-box__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.dishmap-box__details li i {
  flex: none;
  margin-top: 0.15rem;
  color: var(--chili);
  font-size: 1.15rem;
}

.dishmap-box__details strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.dishmap-box__details a,
.dishmap-box__details span.value {
  color: var(--ink);
  font-weight: 600;
}

.dishmap-box__details a:hover {
  color: var(--chili-dark);
}

.dishmap-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

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

  .dishmap-box__actions .btn,
  .dishmap-box__actions .btn-secondary {
    flex: 1;
  }
}
