/* ==========================================================================
   AD!KTED — pages/locations.css
   Single-branch layout: map on the left, details on the right.
   ========================================================================== */

.branch {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 860px) {
  .branch {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-8);
  }
}

.branch__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--brand-cream);
}

.branch__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.branch__status {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: #eafaf0;
  color: var(--brand-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.branch__name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: var(--space-4);
}

.branch__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: #4a4a4a;
  font-size: 1rem;
}

.branch__meta a {
  color: inherit;
}

.branch__meta a:hover {
  color: var(--brand-orange);
}

.branch__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.branch__note {
  margin-top: var(--space-6);
  color: #8a8a8a;
  font-size: 0.95rem;
  max-width: 48ch;
}

/* Locations page hero styles override */
.page-hero__content {
  max-width: 100% !important;
}

.locations-hero-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem) !important;
  text-transform: none !important;
  letter-spacing: 0.02em;
  color: var(--brand-white);
  white-space: normal !important;
  text-align: center;
}

.locations-hero-subtitle {
  font-family: var(--font-script);
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  color: var(--brand-yellow);
  text-transform: none !important;
  margin-top: var(--space-2);
  letter-spacing: 0.04em;
}

/* ---------- Delivery Partner Offer Bar ---------- */
.locations-offer-bar-wrap {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  z-index: 5;
}

.locations-offer-bar {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  width: 100%;
  box-shadow: none;
  border: none;
}

.locations-offer-bar__left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.locations-offer-bar__apps-label {
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: var(--brand-blue);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
}

.locations-offer-bar__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.app-logo-link:hover {
  transform: translateY(-2px) scale(1.05);
  opacity: 0.92;
}

.app-logo-img--ubereats {
  height: clamp(22px, 2.5vw, 28px);
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 639px) {
  .locations-offer-bar-wrap {
    margin-top: 1.75rem;
  }

  .locations-offer-bar {
    gap: 0.65rem;
  }

  .locations-offer-bar__apps-label {
    font-size: 1.15rem;
  }

  .app-logo-img--ubereats {
    height: 22px;
  }
}
