/* stores.css — página de lojas físicas */

.stores-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 22px 100px;
}

.stores-hero {
  text-align: center;
  padding: 28px 0 30px;
  border-bottom: 1px solid #eef2f0;
  margin-bottom: 28px;
}
.stores-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-700, #0f5b45);
}
.stores-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 6px 0 8px;
  color: #10232f;
  letter-spacing: -0.01em;
}
.stores-hero p {
  color: #6b7280;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.5;
}

.stores-state-section {
  margin-bottom: 36px;
}
.stores-state-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #10232f;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.stores-state-title small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 6px;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.store-card {
  background: #fff;
  border: 1px solid #eef2f0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.store-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.store-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eef9f4, #d8efe5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.store-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-card-ph {
  font-size: 3rem;
}
.store-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.store-card-region {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700, #0f5b45);
}
.store-card-body h2 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  color: #10232f;
  line-height: 1.3;
}
.store-card-desc {
  font-size: 0.88rem;
  color: #2a3947;
  margin: 4px 0;
  line-height: 1.4;
}
.store-card-addr,
.store-card-hours {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 2px 0;
  line-height: 1.4;
}
.store-card-cta {
  background: var(--green-700, #0f5b45);
  color: #fff;
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: auto;
  transition: background 0.15s, transform 0.1s;
}
.store-card-cta:hover {
  background: #0d4a39;
  transform: translateY(-1px);
}

.stores-cta {
  margin-top: 40px;
  padding: 28px 22px;
  background: linear-gradient(135deg, #fffaf0, #fff);
  border-radius: 16px;
  text-align: center;
  border: 1px solid #eef2f0;
}
.stores-cta h2 {
  font-size: 1.3rem;
  margin: 0 0 6px;
  color: #10232f;
}
.stores-cta p {
  color: #6b7280;
  margin: 0 0 14px;
}
.stores-cta-btn {
  display: inline-block;
  background: var(--green-700, #0f5b45);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.stores-cta-btn:hover {
  background: #0d4a39;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .stores-page { padding: 16px 14px 100px; }
  .stores-hero h1 { font-size: 1.7rem; }
  .stores-state-title { font-size: 1.1rem; }
  .stores-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * Refinamentos novos: stats, pills de filtro por estado, action buttons,
 * status badge (Aberto/Fechado)
 * ═══════════════════════════════════════════════════════════════════════════ */

/* Stats no hero (11 / 3 / 4) */
.stores-hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.stores-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stores-stat strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f5b45;
  line-height: 1;
}
.stores-stat span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #5d6c78;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Filtro por estado (pílulas) */
.stores-state-pills {
  display: flex;
  gap: 8px;
  padding: 0 22px;
  margin: 24px 0 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.stores-state-pills::-webkit-scrollbar { display: none; }

.stores-pill {
  background: #fff;
  border: 1.5px solid #e5ded2;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #2a3947;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s, transform .12s, color .15s;
  white-space: nowrap;
  min-height: 40px;
  flex-shrink: 0;
}
.stores-pill:hover {
  border-color: #0f5b45;
  background: #faf7f0;
}
.stores-pill.is-active {
  background: linear-gradient(135deg, #0f5b45, #0a3d2e);
  border-color: #0f5b45;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 91, 69, 0.25);
}

/* Status badge no canto da imagem */
.store-status-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.store-card-img { position: relative; }
.store-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.store-status-badge.open {
  background: rgba(220, 252, 231, 0.92);
  color: #065f46;
}
.store-status-badge.closed {
  background: rgba(254, 226, 226, 0.92);
  color: #991b1b;
}

/* Meta info (endereço + horário) — grid limpo */
.store-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}
.store-card-addr, .store-card-hours {
  margin: 0;
  font-size: 0.82rem;
  color: #5d6c78;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

/* Botões de ação (Como chegar / WhatsApp / Ligar / Ver no mapa) */
.store-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.store-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, transform .12s, box-shadow .15s;
  min-height: 40px;
  white-space: nowrap;
}
.store-action-primary {
  background: linear-gradient(135deg, #0f5b45, #0a3d2e);
  color: #fff;
  grid-column: 1 / -1;
  box-shadow: 0 4px 12px rgba(15, 91, 69, 0.22);
}
.store-action-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(15, 91, 69, 0.32);
}
.store-action-wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.store-action-wa:hover { background: #1ebe5d; border-color: #1ebe5d; }
.store-action-phone {
  background: #fff;
  border-color: #e5ded2;
  color: #2a3947;
}
.store-action-phone:hover { background: #faf7f0; border-color: #0f5b45; color: #0f5b45; }
.store-action-ghost {
  background: rgba(15, 91, 69, 0.05);
  color: #0f5b45;
  border-color: rgba(15, 91, 69, 0.15);
}
.store-action-ghost:hover { background: rgba(15, 91, 69, 0.12); border-color: rgba(15, 91, 69, 0.30); }

/* CTA final refinada */
.stores-cta {
  text-align: center;
  padding: 40px 24px;
  margin: 40px 22px 0;
  background: linear-gradient(135deg, rgba(15, 91, 69, 0.06), rgba(31, 79, 134, 0.04));
  border: 1px solid rgba(15, 91, 69, 0.12);
  border-radius: 20px;
}
.stores-cta-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 8px;
}
.stores-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #10232f;
}
.stores-cta p {
  font-size: 0.95rem;
  color: #5d6c78;
  margin: 0 0 18px;
}
.stores-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0f5b45, #0a3d2e);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 91, 69, 0.25);
  transition: transform .12s, box-shadow .15s;
  min-height: 44px;
}
.stores-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 91, 69, 0.35);
}

/* Mobile */
@media (max-width: 600px) {
  .stores-hero-stats { gap: 22px; }
  .stores-stat strong { font-size: 1.7rem; }
  .stores-stat span { font-size: 0.72rem; }
  .stores-state-pills { padding: 0 16px; }
  .stores-pill { padding: 8px 14px; font-size: 0.82rem; }
  .store-card-actions { grid-template-columns: 1fr 1fr; }
  .stores-cta { padding: 32px 18px; margin: 32px 16px 0; }
  .stores-cta h2 { font-size: 1.2rem; }
}
