/* TEMP:  Google Maps JavaScript API */
.pac-container {
  background-color: #fff;
  position: absolute !important;
  z-index: 1000;
  border-radius: 2px;
  border-top: 1px solid #d9d9d9;
  font-family: Arial, sans-serif;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}
.pac-item {
  cursor: default;
  padding: 0 4px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  line-height: 30px;
  text-align: left;
  border-top: 1px solid #e6e6e6;
  font-size: 11px;
  color: #515151;
}
.pac-icon {
  width: 15px;
  height: 20px;
  margin-right: 7px;
  margin-top: 6px;
  display: inline-block;
  vertical-align: top;
  background-image: url(../../../maps.gstatic.com/mapfiles/api-3/images/autocomplete-icons.png);
  -webkit-background-size: 34px 34px;
  background-size: 34px;
}
.pac-icon-marker {
  background-position: -1px -161px;
}
.pac-item-query {
  font-size: 13px;
  padding-right: 3px;
  color: #000;
}
.pac-matched {
  font-weight: 700;
}
.pac-logo:after {
  content: "";
  padding: 1px 1px 1px 0;
  height: 18px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: right;
  display: block;
  background-image: url(../../../maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white3.png);
  background-position: right;
  background-repeat: no-repeat;
  -webkit-background-size: 120px 14px;
  background-size: 120px 14px;
}

.store-locator--map-container {
  background-image: url("../images/_TEMP_google-map.png");
  background-size: cover;
  background-position: center;
}

.pac-container {
  display: none;
}
.store-locator--input-container:focus-within + .pac-container {
  display: block;
}

/* END TEMP */

.screen--store-locator {
}
.store-locator--map-container {
  position: relative;
  flex: 1;
}

.store-locator--pad {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: var(--gap-2xl);
  box-sizing: border-box;
  z-index: 1;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.store-locator--picto {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: -2.75rem;
  top: -0.75rem;
  transform: rotate(-20deg);
  background: var(--orange);
  border-radius: 1rem;
  height: 4rem;
  width: 4rem;
}
.store-locator--picto img {
  height: 70%;
}
.store-locator--title {
  font-size: var(--text-4xl-m);
}
.store-locator--subtitle {
  font-size: var(--text-3xl-m);
  font-weight: 500;
  margin-top: 0.2em;
}
.store-locator--input-container {
  position: relative;
  border: 2px solid var(--orange-light);
  border-radius: 2em;
  font-size: 1rem;
  height: 2.5em;
}
.store-locator--input {
  outline: none;
  border: none;
  height: 100%;
  width: calc(100% - 2em - 2px);
  padding: 0.5em;
  box-sizing: border-box;
  background: none;
  padding-left: 1em;
  font-size: 0.9em;
}
.store-locator--input-search {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -2px;
  right: -2px;
  height: calc(100% + 4px);
  width: 7em;
  background: var(--orange);
  color: #fff;
  border-radius: 2em;
  overflow: hidden;
  transition: 0.3s ease;
}
.store-locator--input:focus + .store-locator--input-search {
  width: calc(2.5em + 4px);
}
.store-locator--input-search span {
  transform: translate(0);
  opacity: 1;
  transition: 0.3s ease;
}
.store-locator--input:focus + .store-locator--input-search span {
  opacity: 0;
  transform: translate(6em);
}
.store-locator--input-search img {
  position: absolute;
  transform: rotate(-90deg) translateY(-6em);
  opacity: 0;
  transition: 0.3s ease;
}
.store-locator--input:focus + .store-locator--input-search img {
  opacity: 1;
  transform: rotate(-90deg);
}

.store-locator--search-wrapper {
  position: relative;
  max-height: 0;
  opacity: 0;
  transition: 0.5s ease;
  pointer-events: none;
  overflow: hidden;
}
.store-locator--input-container:focus-within + .store-locator--search-wrapper {
  max-height: 30rem;
  opacity: 1;
  pointer-events: all;
}

.pac-container {
  border-top: 0;
  z-index: 90;
  border-radius: 1rem;
  padding: 1rem 2rem;

  display: block;
}
.pac-container {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  margin: auto;
  padding: 0 !important;
  box-shadow: none;
  left: 0 !important;
  transform: translateY(0.5rem);
}
.pac-item {
  padding: 0;
  line-height: 2.7em;
  color: var(--orange);
}
.pac-item:first-child {
  border-top: 0;
}
.pac-icon.pac-icon-marker {
  display: none;
}
.pac-item-query {
  color: var(--blue);
}
.pac-logo:after {
  display: none;
}

@media screen and (min-width: 1024px) {
  .store-locator--pad {
    width: 49.5rem;
  }
  .store-locator--title,
  .store-locator--subtitle {
    width: 22.5rem;
  }
  .store-locator--input-container {
    position: absolute;
    right: 2rem;
    top: 3.25rem;
    width: 22rem;
  }
}

@media screen and (max-width: 1023px) {
  .store-locator--pad {
    width: 90vw;
    padding: 2rem 2.5rem 3rem 2.5rem;
  }
  .store-locator--picto {
    display: none;
  }
  .store-locator--input-container {
    margin-top: var(--gap-2xl);
  }
  .store-locator--input-container {
    font-size: 1.4rem;
  }
  .pac-container {
    position: relative !important;
    top: auto !important;
    width: 74vw !important;
    margin: auto;
    padding: 0 !important;
    box-shadow: none;
    left: 0 !important;
    transform: translateY(0.5rem);
  }
  .pac-item {
    font-size: 1.3rem;
  }
  .pac-item-query {
    font-size: 1.4rem;
  }
}
