
html, body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: auto;
}
html {
  overflow-y: auto;
}
body {
  overflow: hidden;
}



body.desktop {
  background-image: url('alta.png');
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
  background-position: top center;
}

body.desktop .store {
  position: fixed;
  right: 8vw; 
  top: 50vh; 
  width: clamp(250px, 20vw, 320px);
  max-width: 320px;
}




body.mobile {
  background-image: url('fondo.png');
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
  background-position: top center;
}

body.mobile .store {
  position: relative;
  margin: 0 auto;
  top: 0;
  right: 0;
  transform: none;
  width: 90%;
  max-width: 300px;
}




.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 50vh;
  padding-bottom: 70px;
  height: calc(100vh - 80vh);
  margin-bottom: 40px;
}


.icon-container {
  position: relative;
  text-align: center;
  margin-bottom: -60px;
}


.location-icon {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: auto;
}


.nearest-store-text {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Arial', sans-serif;
  color: #F6F6F6;
  font-size: 1.1em;
  white-space: nowrap;
}


.store-name {
  background-color: #006491;
  color: white;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}


.store {
  background-color: #F6F6F6;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
  box-sizing: border-box;
  border-top: none;
}


@font-face {
  font-family: 'PizzaPress-Fill';
  src: url('PizzaPress-Fill.ttf') format('truetype');
}

.store-phone {
  text-align: center;
  padding: 20px;
  font-family: 'PizzaPress-Fill', sans-serif;
}

.call-now-text {
  font-size: 1.2em;
  font-weight: bold;
  color: #E31837;
  margin-bottom: 5px;
  font-family: 'PizzaPress-Fill', sans-serif;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  background-color: #E31837;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: bold;
  transition: background-color 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
  font-family: 'PizzaPress-Fill', sans-serif;
}

.phone-link:hover {
  background-color: #B8162C;
}

.phone-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}


.store-distance {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.distance-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.distance-icon {
  width: 30px;
  height: auto;
  position: absolute;
  top: -20px;
  transform: scale(5.0);
  pointer-events: none;
}

.distance-text {
  color: #006491;
  font-size: 1em;
  margin-top: 5px;
}



@media (orientation: landscape) {
  body.mobile {
    background-image: url('media.png');
    background-repeat: no-repeat;
    background-size: 100% 100%; 
    background-position: center center;
    background-attachment: fixed;
  }
}



@media (max-width: 1024px) {
  .store {
    max-width: 50%;
    min-width: 250px;
    margin: 15px;
  }

  .store-name {
    font-size: 1.3em;
    padding: 14px;
  }

  .store-phone {
    padding: 16px;
  }

  .phone-link {
    font-size: 1.6em; 
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .store {
    max-width: 60%;
    min-width: 180px;
    margin: 10px;
  }

  .store-name {
    font-size: 1.1em;
    padding: 12px;
  }

  .store-phone {
    padding: 15px;
  }

  .phone-link {
    font-size: 1.5em; 
    padding: 8px 15px;
  }
}

@media (max-width: 600px) {
  .store {
    max-width: 85%;
    min-width: 130px;
    margin: 10px 0;
  }

  .store-name {
    font-size: 1em;
    padding: 10px;
  }

  .store-phone {
    padding: 10px;
  }

  .phone-link {
    font-size: 1.4em; 
    padding: 7px 12px;
  }
}

@media (max-width: 480px) {
  .store {
    max-width: 90%;
    min-width: 120px;
    margin: 8px 0;
  }

  .store-name {
    font-size: 0.95em;
    padding: 8px;
  }

  .store-phone {
    padding: 8px;
  }

  .phone-link {
    font-size: 1.3em; 
    padding: 6px 10px;
  }
}

@media (max-width: 320px) {
  .store {
    max-width: 100%;
    min-width: 100px;
    margin: 5px 0;
  }

  .store-name {
    font-size: 0.9em;
    padding: 6px;
  }

  .store-phone {
    padding: 6px;
  }

  .phone-link {
    font-size: 1.2em; 
    padding: 5px 8px;
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  .store {
    max-width: 45%;
    min-width: 140px;
    margin: 5px;
  }

  .store-name {
    font-size: 1em;
    padding: 8px;
  }

  .store-phone {
    padding: 8px;
  }

  .phone-link {
    font-size: 1.3em; 
    padding: 6px 10px;
  }
}