.customer-app {
  --nav-active: var(--nx-blue);
}

.customer-app .app-header {
  background: linear-gradient(180deg, #fff 0%, var(--pz-paper) 100%);
  border-top: 3px solid var(--pz-primary);
}

.loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--nx-blue);
  background: var(--nx-blue-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.loc-pill svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.offer-card {
  background: var(--nx-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--nx-border);
  overflow: hidden;
}

.offer-card .thumb {
  height: 72px;
  background: linear-gradient(135deg, var(--nx-blue-light), var(--pz-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.offer-card .body {
  padding: var(--space-3);
}

.savings-hero {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  background: linear-gradient(160deg, var(--pz-deeper) 0%, var(--pz-primary) 62%, var(--pz-teal) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.savings-hero .sub {
  opacity: 0.9;
  font-size: var(--fs-sm);
  margin-top: var(--space-2);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
}

.compare-row .num {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.compare-row .vs {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--nx-text-muted);
}

.map-panel {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--nx-border);
  background: var(--nx-blue-light);
  z-index: 1;
}

.map-panel .leaflet-container {
  height: 100%;
  width: 100%;
  font: inherit;
  background: var(--nx-blue-light);
}

.map-panel .leaflet-control-attribution {
  font-size: 9px;
  line-height: 1.2;
  max-width: 68%;
  background: rgba(255, 255, 255, 0.88);
}

.maptiler-logo {
  position: absolute;
  left: 8px;
  bottom: 4px;
  z-index: 500;
  line-height: 0;
}

.maptiler-logo img {
  height: 14px;
  width: auto;
}

.map-fallback {
  height: 100%;
  margin: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--nx-text);
}

.map-fallback-overlay {
  position: absolute;
  inset: 0;
  z-index: 600;
  background: rgba(250, 250, 250, 0.92);
}

.shop-row {
  cursor: pointer;
  border-radius: var(--radius-sm);
  margin: 0 calc(-1 * var(--space-2));
  padding-left: var(--space-2);
  padding-right: var(--space-2);
  transition: background 0.15s;
}

.shop-row.is-active {
  background: var(--nx-blue-light);
  outline: 1.5px solid var(--nx-blue);
}

.marker-pin {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.marker-pin.under {
  background: var(--nx-success);
}

.marker-pin.inline {
  background: var(--nx-text-muted);
}

.marker-pin.over {
  background: var(--nx-warning);
}

.marker-pin.is-active {
  box-shadow: 0 0 0 3px rgba(50, 88, 144, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25);
}

.push-banner {
  background: var(--nexi-wash);
  border: 1.5px solid var(--nexi-blue);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.inmarket {
  display: block;
  border-left: 4px solid var(--pz-accent);
}

.zone-pill {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--nx-border);
  font-size: var(--fs-sm);
}

.zone-pill:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
