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

/* ---------- delivery page "visit" map box ----------
   Used on tags/syrian-food-delivery-calgary.html: map on the
   left, address/contact + actions on the right, buttons
   anchored to the bottom-right corner of the box. Namespaced
   with a delivery- prefix so it can't collide with other
   pages' .visit-box-style components in this file. */

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

.delivery-visit-map {
  position: relative;
  min-height: 420px;
}

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

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

.delivery-visit-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.delivery-visit-details {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.delivery-visit-details > div {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.delivery-visit-details .ico {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.15rem;
  color: var(--chili);
}

.delivery-visit-details h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.delivery-visit-details p,
.delivery-visit-details a {
  font-weight: 600;
  color: var(--ink);
}

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

@media (max-width: 860px) {
  .delivery-visit-box {
    grid-template-columns: 1fr;
  }

  .delivery-visit-map {
    min-height: 300px;
  }

  .delivery-visit-actions {
    justify-content: stretch;
  }

  .delivery-visit-actions .btn,
  .delivery-visit-actions .btn-line {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* ---------- dish pages: "visit us" map box (tags/dishes/*) ----------
   Reuses existing tokens/components (.map-frame, .info-cards,
   .info-card, .kicker, .btn / .btn-line) so it matches the rest
   of the site. Map sits left, address/contact sits right, with a
   "Get Directions" button — collapses to a single column on mobile. */

.dish-map-section {
  padding-top: 0;
}

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

.dish-map-box .dish-map-frame.map-frame {
  border-radius: 0;
  box-shadow: none;
  min-height: 420px;
}

.dish-map-info {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--sand);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.dish-map-info h2 {
  text-align: left;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0.35rem 0 0;
}

.dish-map-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--chili);
  margin: 0 0 0.4rem;
}

.dish-map-info .info-cards {
  gap: 0.75rem;
  margin: 0.25rem 0 0.5rem;
}

.dish-map-info .info-card {
  padding: 0.85rem 1.1rem;
}

.dish-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

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

  .dish-map-box .dish-map-frame.map-frame {
    min-height: 280px;
  }
}

/* ---------- popular dish list (calgary-syrian-restaurant.html) ---------- */

.popular-dish-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.popular-dish-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
  font-weight: 600;
}

.popular-dish-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--chili);
}

/* ---------- find & visit map box (calgary-syrian-restaurant.html) ---------- */

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

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

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

.visit-info {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.visit-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.visit-info h4 {
  font-size: 1rem;
  color: var(--basil);
  margin-bottom: 0.75rem;
}

.visit-details {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.visit-details li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.visit-details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

.visit-details a {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.visit-hours {
  margin-bottom: 1.5rem;
}

.visit-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.visit-hours li:last-child {
  border-bottom: none;
}

.visit-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

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

  .visit-map {
    min-height: 300px;
  }

  .visit-actions {
    justify-content: stretch;
  }

  .visit-actions a {
    flex: 1;
    text-align: center;
  }
}

/* ---------- homepage: "visit us" map section wrapper (index.html) ----------
   Reuses the .visit-box grid above; this just gives the section
   the same vertical rhythm as the other homepage sections. */

.visit-sec {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
