/* ===============================
   NEGOZI - Stile personalizzato
================================== */

/* Modifica specifica per la Hero dei negozi */
/* Se usi la classe .hero generica, questo la sovrascrive */
/* Hero: Usare .hero.hero-small nell'HTML */

.store-section {
  padding: 4rem 2rem 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.store-section.bg-light {
  background-color: var(--colore-grigio);
  text-align: left;
  width: 100%;
  max-width: 100%;
  padding: 4rem 0 0 0;
  /* niente margini bianchi laterali */
  background-color: var(--colore-grigio);
}

/* Mantieni il contenuto centrato come prima */
.store-section.bg-light .store-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* Contenuto principale immagine + info */
.store-content {
  display: flex;
  align-items: stretch;
  gap: 5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.store-content.reverse {
  flex-direction: row-reverse;
}

/* Box immagine negozio */
.store-image {
  flex: 1 1 400px;
  display: flex;
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Box info negozio */
.store-info {
  flex: 1 1 400px;
}

.store-info ul {
  margin-top: 1.5rem;
}

.store-info li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.store-info li img {
  height: 20px;
  margin-top: 2px;
}

a {
  color: #1c1c1c;
  text-decoration: none;
}

/* Mappe integrate */
.store-map {
  width: 100%;
  margin: 4rem 0 0 0;
}

/* Nota: questo hack 100vw funziona bene solo se body ha overflow-x: hidden */
.store-map iframe {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  min-height: 500px;
  border: 0;
  border-radius: 0;
}

/* Toglie eventuali spazi sotto le mappe */
.store-section .store-map {
  margin-bottom: 0;
  padding-bottom: 0;
}

.store-map iframe {
  display: block;
  /* elimina spazi indesiderati sotto iframe */
}


/* Responsive */
@media (max-width: 992px) {
  .hero {
    min-height: 20vh;
    /* Sovrascrive i 60vh di style.css */
  }

  .hero .hero-content {
    padding: 3rem 1rem 0rem 1rem;
  }

  .store-section {
    padding-top: 3rem;
  }

  .store-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .store-content.reverse {
    flex-direction: column;
  }

  .store-image,
  .store-info {
    flex: 1 1 100%;
  }

  .store-image img {
    height: 300px;
    /* Altezza fissa su mobile */
  }

  .store-map iframe {
    min-height: 500px;
  }
}