:root {
  --zappigo-primary: #001A4B;
  --zappigo-orange: #FF9D00;
  --zappigo-orange-dark: #FE4B00;
  --zappigo-accent: #FE4B00;
  --zappigo-white: #FFFFFF;
  --zappigo-background: #FFFFFF;
  --zappigo-surface: #F7F7F7;
  --zappigo-border: #EBEBEB;
  --zappigo-text: #1F2937;
  --zappigo-muted: #717171;
  --zappigo-gradient: linear-gradient(100deg, #FF9D00, #FE4B00);
  --zappigo-font-heading: 'Poppins', sans-serif;
  --zappigo-font-body: 'Inter', sans-serif;
}

body.body-cidade,
#main.body-cidade {
  background-color: #FFFFFF !important;
  font-family: var(--zappigo-font-body) !important;
  color: var(--zappigo-text);
}

#main.body-cidade {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main.body-cidade .minfit {
  min-height: 0 !important;
}

#main.body-cidade footer.zgm-footer {
  margin-top: auto !important;
  padding: 18px 0 !important;
}

/* =========================================================================
   1. HEADER ÚNICO ESTILO IFOOD (FUNDO BRANCO, LOGO, LINKS, BUSCA, CIDADE)
   ========================================================================= */
.zgm-ifood-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: #FFFFFF;
  border-bottom: 1px solid var(--zgm-border, #EBEBEB);
  padding: 14px 0;
}

.zgm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.zgm-header-left {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

.zgm-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.zgm-logo img {
  height: 62px;
  width: auto;
  display: block;
}

/* BANNER HERO ABAIXO DO MENU SUPERIOR */
.zgm-hero-banner {
  position: relative;
  margin: 18px 0 6px 0;
  border-radius: 22px;
  overflow: hidden;
  min-height: 255px;
  display: flex;
  align-items: center;
  background: #001A4B;
  box-shadow: 0 14px 34px rgba(0, 26, 75, 0.14);
}

.zgm-hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  pointer-events: none;
}

.zgm-hero-vid {
  opacity: 0;
  z-index: 0;
  will-change: opacity;
}

.zgm-hero-vid.is-base {
  opacity: 1;
  z-index: 1;
  transition: none;
}

.zgm-hero-vid.is-fading-in {
  opacity: 1;
  z-index: 2;
  transition: opacity 0.85s ease-in-out;
}

.zgm-hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(95deg, rgba(0, 26, 75, 0.93) 0%, rgba(0, 26, 75, 0.76) 46%, rgba(0, 26, 75, 0.12) 100%);
}

.zgm-hero-banner-content {
  position: relative;
  z-index: 4;
  max-width: 540px;
  padding: 28px 34px;
  color: #FFFFFF;
}

.zgm-hero-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.92);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.zgm-hero-banner-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 8px 0;
  color: #FFFFFF;
}

.zgm-hero-banner-content p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 18px 0;
  line-height: 1.45;
}

.zgm-hero-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zgm-hero-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #FF6B00;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.zgm-hero-banner-btn:hover {
  background: #EA580C;
  transform: translateY(-1px);
}

.zgm-hero-banner-btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  backdrop-filter: blur(4px);
}

@media (max-width: 767px) {
  .zgm-hero-banner {
    min-height: 215px;
    border-radius: 16px;
    margin: 12px 0 4px 0;
  }
  .zgm-hero-banner-overlay {
    background: linear-gradient(180deg, rgba(0, 26, 75, 0.55) 0%, rgba(0, 26, 75, 0.88) 100%);
  }
  .zgm-hero-banner-content {
    padding: 20px 18px;
  }
  .zgm-hero-banner-content h2 {
    font-size: 20px;
  }
  .zgm-hero-banner-content p {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .zgm-hero-banner-btn,
  .zgm-hero-banner-btn-sec {
    padding: 8px 15px;
    font-size: 12.5px;
  }
}

.zgm-top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.zgm-top-nav a {
  font-family: var(--zappigo-font-body);
  font-size: 14px;
  font-weight: 500;
  color: #555555 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.zgm-top-nav a:hover,
.zgm-top-nav a.active {
  color: var(--zappigo-accent) !important;
  font-weight: 600;
}

/* BUSCA CENTRAL ESTILO IFOOD */
.zgm-search-wrap {
  flex: 1;
  max-width: 620px;
  position: relative;
}

.zgm-search-form {
  display: flex;
  align-items: center;
  background: #F7F7F7;
  border: 1px solid #F0F0F0;
  border-radius: 8px;
  height: 44px;
  padding: 0 14px;
  transition: all 0.18s ease;
}

.zgm-search-form:focus-within {
  background: #FFFFFF;
  border-color: var(--zappigo-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.zgm-search-form i.zgm-search-ico {
  color: var(--zappigo-accent);
  font-size: 17px;
  margin-right: 10px;
  flex-shrink: 0;
}

.zgm-search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  height: 42px;
  font-size: 14px;
  color: #1f2937;
  font-family: var(--zappigo-font-body);
  padding: 0 !important;
  outline: none !important;
  min-width: 0;
}

.zgm-search-input::placeholder {
  color: #888888;
}

/* AUTOCOMPLETE DROPDOWN */
.zgm-autocomplete {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #EBEBEB;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
  z-index: 999;
  display: none;
  max-height: 430px;
  overflow-y: auto;
  padding: 10px;
}

.zgm-ac-group-title {
  font-family: var(--zappigo-font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #717171;
  padding: 6px 10px 4px 10px;
}

.zgm-ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none !important;
  color: #1f2937 !important;
  transition: background 0.14s ease;
}

.zgm-ac-item:hover { background: #F7F7F7; }

.zgm-ac-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #F1F5F9;
  flex-shrink: 0;
  border: 1px solid #EBEBEB;
}

.zgm-ac-thumb.is-round { border-radius: 50%; }

.zgm-ac-info { flex: 1; min-width: 0; }
.zgm-ac-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zgm-ac-info small { display: block; font-size: 12px; color: #717171; }
.zgm-ac-price { font-family: var(--zappigo-font-heading); font-size: 13.5px; font-weight: 700; color: #16a34a; white-space: nowrap; }

/* DIREITA DO HEADER: CIDADE + LOGIN + QUERO VENDER */
.zgm-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.zgm-city-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #3e3e3e !important;
  text-decoration: none !important;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.zgm-city-trigger:hover { background: #F7F7F7; }
.zgm-city-trigger i.lni-chevron-down { color: var(--zappigo-accent); font-size: 11px; }

.zgm-login-icon {
  color: var(--zappigo-accent) !important;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.zgm-login-icon:hover { background: #FFF7ED; }

.zgm-sell-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--zappigo-gradient);
  color: #FFFFFF !important;
  font-family: var(--zappigo-font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(254, 75, 0, 0.22);
  transition: transform 0.15s ease;
}

.zgm-sell-pill:hover { transform: translateY(-1px); color: #fff !important; }

/* =========================================================================
   2. SEÇÃO EXPLORE / TILES DE CATEGORIAS PRINCIPAIS (ESTILO IFOOD)
   ========================================================================= */
.zgm-container-wide {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto !important;
  padding: 0 36px;
  box-sizing: border-box;
}

.zgm-intro-block {
  padding: 32px 0 12px 0;
}

.zgm-intro-headline {
  font-family: var(--zappigo-font-heading);
  font-size: 21px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.zgm-intro-sub {
  font-size: 15px;
  font-weight: 600;
  color: #3e3e3e;
  margin: 0 0 22px 0;
}

/* Tiles quadrados coloridos "Explore o ZappiGo" */
.zgm-explore-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  overflow-x: auto;
  padding: 6px 4px 16px 4px;
  scrollbar-width: none;
}

.zgm-explore-row::-webkit-scrollbar { display: none; }

.zgm-explore-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-width: 94px;
  text-decoration: none !important;
  color: #555555 !important;
  transition: transform 0.18s ease;
  cursor: pointer;
}

.zgm-explore-tile:hover {
  transform: translateY(-3px);
  color: var(--zappigo-accent) !important;
}

.zgm-explore-art {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.18s ease;
}

.zgm-explore-tile:hover .zgm-explore-art {
  box-shadow: 0 10px 22px rgba(254, 75, 0, 0.16);
}

.zgm-explore-tile span {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
  max-width: 92px;
}

/* =========================================================================
   3. CARROSSEL "FAMOSOS NO ZAPPIGO" + CATEGORIAS COM FUNDO PASTEL
   ========================================================================= */
.zgm-section {
  padding: 24px 0 8px 0;
  position: relative;
}

.zgm-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.zgm-section-title {
  font-family: var(--zappigo-font-heading);
  font-size: 18.5px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.zgm-section-sub {
  font-size: 13px;
  color: #717171;
  margin: 2px 0 0 0;
}

.zgm-see-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--zappigo-accent) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.zgm-see-more:hover { text-decoration: underline !important; }

.zgm-carousel-outer {
  position: relative;
}

.zgm-h-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 12px 4px;
  scrollbar-width: none;
}

.zgm-h-scroll::-webkit-scrollbar { display: none; }

.zgm-arrow-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  color: #374151 !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 5 !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
}

.zgm-arrow-btn i {
  color: #374151 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.zgm-arrow-btn:hover {
  background: var(--zappigo-primary) !important;
  border-color: var(--zappigo-primary) !important;
  box-shadow: 0 6px 16px rgba(0, 26, 75, 0.22) !important;
}

.zgm-arrow-btn:hover i {
  color: #FFFFFF !important;
}

.zgm-arrow-btn.prev { left: -18px !important; }
.zgm-arrow-btn.next { right: -18px !important; }

/* CARD HORIZONTAL ESTILO IFOOD ("Famosos no iFood") */
.zgm-famoso-card {
  flex: 0 0 275px;
  background: #FFFFFF;
  border: 1px solid #EBEBEB;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none !important;
  color: #1f2937 !important;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.zgm-famoso-card:hover {
  border-color: #DCDCDC;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.zgm-famoso-logo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  background: #F7F7F7;
  border: 1px solid #F0F0F0;
  flex-shrink: 0;
}

.zgm-famoso-info { min-width: 0; flex: 1; }
.zgm-famoso-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zgm-famoso-meta {
  font-size: 11.5px;
  color: #717171;
  display: flex;
  align-items: center;
  gap: 5px;
}

.zgm-dot-open {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

.zgm-dot-closed {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  display: inline-block;
}

/* CARDS DE CATEGORIAS COM FAIIXA PASTEL ESTILO IFOOD */
.zgm-pastel-card {
  flex: 0 0 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none !important;
  color: #3e3e3e !important;
  transition: transform 0.18s ease;
}

.zgm-pastel-card:hover { transform: translateY(-3px); color: var(--zappigo-accent) !important; }

.zgm-pastel-box {
  width: 96px;
  height: 66px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.zgm-pastel-card span {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
}

/* =========================================================================
   4. BARRA DE FILTROS PILL ESTILO IFOOD
   ========================================================================= */
.zgm-filter-pills {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 20px 0 8px 0;
}

.zgm-pill-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #3E3E3E !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.zgm-pill-filter:hover {
  border-color: #BDBDBD;
  background: #FAFAFA;
}

.zgm-pill-filter.active {
  background: #FFF7ED;
  border-color: var(--zappigo-accent);
  color: var(--zappigo-accent) !important;
  font-weight: 600;
}

.zgm-pill-select {
  appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  height: 36px;
  padding: 0 28px 0 15px;
  font-size: 13px;
  font-weight: 500;
  color: #3E3E3E;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233E3E3E' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}

/* =========================================================================
   5. GRID DE LOJAS ESTILO IFOOD + GRID DE PRODUTOS PREMIUM
   ========================================================================= */
.zgm-banners-wrap {
  margin: 18px 0 6px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #EBEBEB;
}

.zgm-grid-stores-ifood {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

.zgm-store-row-card {
  background: #FFFFFF;
  border: 1px solid #EBEBEB;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.zgm-store-row-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.zgm-store-row-card.is-closed { opacity: 0.72; }

.zgm-store-row-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #F0F0F0;
  background: #F7F7F7;
  flex-shrink: 0;
}

.zgm-store-row-body { flex: 1; min-width: 0; }

.zgm-store-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.zgm-store-row-name {
  font-family: var(--zappigo-font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zgm-store-badge-st {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}

.zgm-store-badge-st.open { background: #ECFDF5; color: #059669; }
.zgm-store-badge-st.closed { background: #F1F5F9; color: #64748B; }

.zgm-store-row-seg {
  font-size: 12.5px;
  color: #717171;
  margin-bottom: 6px;
}

.zgm-store-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #4b5563;
}

.zgm-store-row-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zgm-store-row-meta span.free { color: #059669; font-weight: 600; }

/* CARDS DE PRODUTOS */
.zgm-grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 16px;
}

.zgm-prod-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #EBEBEB;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zgm-prod-card:hover {
  transform: translateY(-3px);
  border-color: rgba(254, 75, 0, 0.35);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
}

.zgm-prod-img-wrap {
  position: relative;
  margin: 10px 10px 0 10px;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  background: #F9FAFB;
  overflow: hidden;
}

.zgm-prod-img-wrap img.zgm-prod-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.zgm-prod-card:hover .zgm-prod-img-wrap img.zgm-prod-photo { transform: scale(1.04); }

.zgm-discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--zappigo-gradient);
  color: #FFFFFF;
  font-family: var(--zappigo-font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
}

.zgm-prod-store-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #EBEBEB;
  border-radius: 99px;
  padding: 3px 9px 3px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zgm-prod-store-pill img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.zgm-prod-store-pill span { font-size: 11px; font-weight: 600; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zgm-prod-store-dot { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; flex-shrink: 0; }

.zgm-prod-body { padding: 12px 14px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.zgm-prod-title { font-family: var(--zappigo-font-heading); font-size: 14.5px; font-weight: 700; color: #1f2937; line-height: 1.3; margin: 0 0 4px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zgm-prod-title::first-letter { text-transform: uppercase; }
.zgm-prod-desc { font-size: 12px; color: #717171; line-height: 1.4; margin: 0 0 12px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zgm-prod-price-box { margin-top: auto; padding-top: 10px; border-top: 1px solid #F3F4F6; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zgm-old-price { display: block; font-size: 11px; color: #9ca3af; text-decoration: line-through; }
.zgm-price-kicker { display: block; font-size: 10px; font-weight: 600; color: #9ca3af; text-transform: uppercase; }
.zgm-cur-price { display: flex; align-items: baseline; gap: 2px; font-family: var(--zappigo-font-heading); font-size: 17.5px; font-weight: 800; color: #1f2937; }
.zgm-cur-price small { font-size: 11.5px; color: #717171; font-weight: 600; }
.zgm-prod-cta-btn { padding: 7px 12px; border-radius: 8px; background: #FFF7ED; color: var(--zappigo-accent); font-family: var(--zappigo-font-heading); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; transition: all 0.15s ease; }
.zgm-prod-card:hover .zgm-prod-cta-btn { background: var(--zappigo-gradient); color: #FFFFFF; }

/* TOOLBAR DE LISTAGENS */
.zgm-toolbar {
  padding: 20px 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.zgm-count-label { font-size: 13.5px; color: #717171; }
.zgm-count-label strong { color: #1f2937; }

.zgm-empty-state {
  background: #F9FAFB;
  border: 1px dashed #DCDCDC;
  border-radius: 14px;
  padding: 44px 24px;
  text-align: center;
  margin: 20px 0;
}

.zgm-empty-state i { font-size: 38px; color: var(--zappigo-accent); display: block; margin-bottom: 10px; }
.zgm-empty-state h3 { font-family: var(--zappigo-font-heading); font-size: 18px; font-weight: 700; margin: 0 0 6px 0; }
.zgm-empty-state p { color: #717171; font-size: 14px; margin: 0 0 18px 0; }

/* =========================================================================
   6. RODAPÉ CLEAN ESTILO IFOOD + BARRA MOBILE
   ========================================================================= */
.zgm-merchant-banner {
  background: #F7F7F7;
  border: 1px solid #EBEBEB;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 36px 0 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.zgm-merchant-banner h3 { font-family: var(--zappigo-font-heading); font-size: 18px; font-weight: 700; color: #1f2937; margin: 0 0 4px 0; }
.zgm-merchant-banner p { margin: 0; font-size: 13.5px; color: #717171; }

.zgm-footer {
  background: #FFFFFF;
  border-top: 1px solid #EBEBEB;
  color: #717171;
  padding: 28px 0;
  margin-top: 18px;
}

.zgm-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.zgm-footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.zgm-footer-brand img { height: 34px; width: auto; }
.zgm-footer-brand p { margin: 0; font-size: 12.5px; color: #717171; }

.zgm-footer-socials { display: flex; align-items: center; gap: 10px; }
.zgm-footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F7F7F7;
  color: #555555 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.zgm-footer-socials a:hover { background: var(--zappigo-gradient); color: #FFFFFF !important; }

.zgm-bottom-nav { display: none; }

/* MODAL DE CIDADE */
.zgm-city-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.zgm-city-QuickPill {
  background: #F7F7F7;
  border: 1px solid #E5E7EB;
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1f2937 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.zgm-city-QuickPill:hover { background: #FFF7ED; border-color: var(--zappigo-accent); color: var(--zappigo-accent) !important; }
.zgm-city-QuickPill span.cnt { background: var(--zappigo-accent); color: #fff; border-radius: 99px; padding: 1px 7px; font-size: 11px; }

/* RESPONSIVIDADE MOBILE */
html, body.body-cidade { max-width: 100%; overflow-x: hidden; }

@media (max-width: 991px) {
  body.body-cidade { padding-bottom: 76px !important; }
  .zgm-container-wide { padding: 0 14px !important; }
  .zgm-top-nav, .zgm-sell-pill, .zgm-arrow-btn { display: none !important; }
  .zgm-header-inner { flex-wrap: wrap; gap: 10px; }
  .zgm-header-left { flex: 1; min-width: 0; gap: 10px; }
  .zgm-header-right { gap: 10px; }
  .zgm-logo img { height: 48px; }
  .zgm-city-trigger { font-size: 12.5px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .zgm-search-wrap { order: 3; flex: 0 0 100%; max-width: 100%; }
  .zgm-intro-block { padding: 18px 0 6px 0; }
  .zgm-intro-headline { font-size: 17px; line-height: 1.3; }
  .zgm-intro-sub { font-size: 13.5px; margin-bottom: 14px; }
  .zgm-explore-row {
    gap: 16px;
    padding: 6px 12px 12px 12px;
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }
  .zgm-explore-tile { min-width: 76px; flex: 0 0 auto; gap: 6px; transition: transform 0.16s ease; }
  .zgm-explore-tile:active { transform: scale(0.93); }
  .zgm-explore-art { width: 62px; height: 62px; border-radius: 16px; }
  .zgm-explore-tile span { font-size: 11.5px; }
  .zgm-h-scroll { gap: 12px; }
  #zgm-pastel-track {
    padding: 4px 12px 10px 12px;
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }
  #zgm-pastel-track .zgm-pastel-card:active { transform: scale(0.94); }
  .zgm-famoso-card { flex: 0 0 225px; padding: 12px 14px; gap: 12px; }
  .zgm-filter-pills { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .zgm-filter-pills::-webkit-scrollbar { display: none; }
  .zgm-pill-filter, .zgm-pill-select { flex-shrink: 0; }
  .zgm-grid-stores-ifood { grid-template-columns: 1fr; gap: 12px; }
  .zgm-grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .zgm-prod-img-wrap { margin: 7px 7px 0 7px; }
  .zgm-prod-cta-btn span { display: none; }
  .zgm-merchant-banner { padding: 18px 16px; margin: 22px 0 18px 0; }
  #modalcidade .modal-dialog { margin: 14px auto !important; max-width: calc(100vw - 24px) !important; }

  .zgm-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 62px;
    background: #FFFFFF;
    border-top: 1px solid #EBEBEB;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    z-index: 980;
    align-items: center;
    justify-content: space-around;
  }
  .zgm-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #717171 !important;
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none !important;
  }
  .zgm-bnav-item i { font-size: 19px; }
  .zgm-bnav-item.active { color: var(--zappigo-accent) !important; }
}
