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

/* ============================================================
   Dish page — location & Google Maps box
   Boxed layout: map on the left, address/contact on the right,
   with a "Get Directions" button. Responsive on mobile.
   ============================================================ */
.dish-location {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 2rem auto 3.5rem;
}

.dish-location .section__header {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.dish-location .location-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand);
}

.dish-location .location-map {
  position: relative;
  min-height: 380px;
}

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

.dish-location .location-info {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.dish-location .location-info h3 {
  margin: 0 0 0.25rem;
}

.dish-location .location-detail {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  line-height: 1.5;
}

.dish-location .location-detail i {
  color: var(--brand);
  font-size: 1.3rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.dish-location .location-detail a {
  color: inherit;
  text-decoration: none;
}

.dish-location .location-detail a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.dish-location .directions-btn {
  align-self: flex-start;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Homepage location box — Get Directions + Order Online buttons,
   grouped neatly in the corner of the info panel. */
.dish-location .location-cta {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dish-location .location-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

  .dish-location .location-map {
    min-height: 300px;
  }
}

/* ============================================================
   Menu page — Halal / Regular menu switch
   Segmented pill control that toggles the two menu datasets.
   ============================================================ */
.menu-switch-wrap {
  display: flex;
  justify-content: center;
  margin: 0.5rem auto 1.75rem;
}

.menu-switch {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

.menu-switch__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  background: transparent;
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-pill);
  transition: background-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
}

.menu-switch__btn:hover:not(.is-active):not(:disabled) {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.menu-switch__btn.is-active {
  color: #fff;
  background: var(--chili);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent);
}

.menu-switch__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.menu-switch__btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .menu-switch {
    width: 100%;
    max-width: 22rem;
  }

  .menu-switch__btn {
    flex: 1;
    padding: 0.6rem 0.75rem;
    text-align: center;
  }
}
