/* Locations section */
.location-item {
  padding: 0 142px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  height: 231px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.location-item:nth-child(even) {
  background-color: #4B4B4B;
}
.location-item:nth-child(odd) {
  background-color: #3D3D3D;
}

.location-list {
  max-height: 693px;
  overflow-y: auto;
  /* padding-right: 10px; */
  scrollbar-width: thin;
  scrollbar-color: #AFAFAF #747474;
}

.location-list::-webkit-scrollbar {
  width: 8px;
}

.location-list::-webkit-scrollbar-track {
  background: #000;
  border-radius: 4px;
}

.location-list::-webkit-scrollbar-thumb {
  background-color: #AFAFAF;
  border-radius: 4px;
}

.store-list-container {
  background: #252525;
  color: var(--white);
  padding: calc((94/16) * 1rem) 0;
}
.locations-copy {
  max-width: 709px;
  margin: 0 auto;
}
.locations-copy p {
  font-size: calc((23/16) * 1rem);
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
}
.locations-copy span {
  font-weight: 800;
  margin-bottom: 4rem;
}

.location-item h4 {
  color: var(--primary);
  font-family: var(--primary-font);
  font-size: calc((29/16) * 1rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 3.48px;
  width: 100%;
  text-transform: uppercase;
}

.location-item p {
  color: var(--white);
  font-family: var(--content-font);
  margin-bottom: 0px;
  line-height: 1.5;
  font-size: calc((17/16) * 1rem);
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  width: 100%;
}

.location-item .location-phone {
  color: var(--primary);
}

.location-buttons {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  width: 100%;
}

.location-buttons button {
  color: var(--white);
  border: 1px solid var(--primary);
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  background-color: transparent;
  font-family: var(--content-font);
  font-size: 12px;
  max-width: 165px;
  text-transform: uppercase;
}

.location-item .location-distance {
  position: absolute;
  left: 50px;
  top: 30px;
  font-size: 14px;
  color: var(--primary);
  width: auto !important;
  display: none;
}

.location-item .location-distance::before {
  content: '';
  display: block;
  width: 100%;
  height: 29px;
  background-image: url('../assets/map-pin.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 10px;
}

/* Map styles */
.map-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#locations-section {
  padding: 0;
}
.info-window h3 {
  font-family: var(--content-font);
  font-weight: 800;
}
.info-window p {
  margin-bottom: 0px;
}

@media screen and (max-width: 1399.98px)   {
  .locations-copy {
      max-width: 100%;
  }
  .locations-copy > p {
      max-width: 90%;
  }
  .store-list-container {
      padding-bottom: 0px;
  }
}

@media screen and (max-width: 1199.98px)   {
  .location-item {
    padding: 0 100px;
  }
  .locations-copy > p {
    font-size: 1rem;
  }
  .location-item h4 {
    font-size: calc((25/16) * 1rem);
    letter-spacing: 2px;
    max-width: 100%;
  }
  .location-item p {
      font-size: calc((15/16) * 1rem);
      max-width: 100%;
  }
  .location-item .location-distance {
      font-size: calc((12/16) * 1rem);
      scale: 0.9;
      left: 40px;
      top: 40px;
      max-width: 100%;
  }
  .location-buttons button {
      font-size: calc((12/16) * 1rem);
  }
}

@media screen and (max-width: 991.98px)   {
  /* LOCATIONS SECTION */
  .store-list-container {
    padding: 0px;
  }
  .locations-copy > p {
      display: none;
  }
  .map-container {
    height: 424px;
  }
}

@media only screen and (max-width: 575.98px) {
  /* LOCATIONS SECTION */
  .store-list-container {
      padding: 0px;
  }
  .location-item {
      padding: 0 40px;
  }
  .location-item h4 {
      max-width: 195px;
  }
  .location-item p {
      max-width: 195px;
  }
  .location-item .location-distance {
      left: 35px;
      top: 20px;
      scale: 0.9;
  }
}