/* TÔPERTO Pacote 13B - Vitrine publica premium por cidade */

:root {
  --lfy-orange: #ff6b00;
  --lfy-green: #28d17c;
  --lfy-yellow: #ffd166;
  --lfy-red: #ff4d4d;
}

.localfy-city-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px;
}

.localfy-city-hero-premium {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 320px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,107,0,.35), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(40,209,124,.18), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
}

.localfy-city-hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--city-cover);
  background-size: cover;
  background-position: center;
  opacity: var(--city-cover-opacity, .18);
  filter: saturate(1.15) contrast(1.05);
}

.localfy-city-hero-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.34), rgba(0,0,0,.68));
}

.localfy-city-hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.localfy-city-hero-title {
  margin: 14px 0 10px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .88;
  letter-spacing: -.075em;
}

.localfy-city-hero-subtitle {
  max-width: 760px;
  font-size: clamp(15px, 2vw, 18px);
}

.localfy-city-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.localfy-city-stat {
  min-width: 132px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.23);
  border-radius: 18px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
}

.localfy-city-stat b {
  display: block;
  font-size: 24px;
  letter-spacing: -.04em;
}

.localfy-city-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px 190px;
  gap: 10px;
  margin-top: 16px;
}

.localfy-city-toolbar input,
.localfy-city-toolbar select {
  width: 100%;
}

.localfy-city-category-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 2px 4px;
  margin-top: 6px;
}

.localfy-city-category-btn {
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.localfy-city-category-btn.active {
  background: rgba(255,107,0,.22);
  border-color: rgba(255,107,0,.55);
}

.localfy-city-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin: 22px 0 12px;
}

.localfy-city-section-head h2 {
  margin: 0;
}

.localfy-store-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.localfy-store-card-premium {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.052);
  border-radius: 24px;
  padding: 14px;
  min-height: 100%;
}

.localfy-store-card-premium.featured {
  border-color: rgba(255,107,0,.5);
  background:
    radial-gradient(circle at 18% 10%, rgba(255,107,0,.18), transparent 36%),
    rgba(255,255,255,.058);
}

.localfy-store-cover-premium {
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 22%, rgba(255,107,0,.34), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
}

.localfy-store-cover-premium img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.localfy-store-badges {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.localfy-store-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
  background: rgba(0,0,0,.62);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}

.localfy-store-pill.open {
  color: var(--lfy-green);
}

.localfy-store-pill.closed {
  color: var(--lfy-yellow);
}

.localfy-store-pill.featured {
  color: #fff;
  background: rgba(255,107,0,.78);
}

.localfy-store-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.localfy-store-title-row h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.03em;
}

.localfy-store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.localfy-store-meta span {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  border-radius: 999px;
  padding: 5px 8px;
}

.localfy-store-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  min-height: 38px;
}

.localfy-store-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.localfy-city-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 38px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045);
  border-radius: 24px;
}

.localfy-city-skeleton {
  display: grid;
  gap: 14px;
}

.localfy-city-skeleton-line {
  height: 18px;
  max-width: 520px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.localfy-city-skeleton-line.big {
  height: 56px;
  max-width: 720px;
}

@media (max-width: 1080px) {
  .localfy-store-grid-premium {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .localfy-city-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .localfy-city-toolbar input {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .localfy-city-page {
    padding: 12px;
  }

  .localfy-store-grid-premium,
  .localfy-city-toolbar {
    grid-template-columns: 1fr;
  }

  .localfy-city-hero-premium {
    min-height: 280px;
    border-radius: 24px;
  }

  .localfy-store-cover-premium {
    height: 132px;
  }

  .localfy-city-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

