/* Portable Near Me entry block. Content is owned by the Porto Builder block. */
.storefront-local-options {
  --local-options-purple: #6e0087;
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--local-options-purple);
  color: #fff;
}

.storefront-local-options__desktop {
  display: flex;
  width: 100%;
  height: 320px;
  justify-content: center;
}

.storefront-local-options__inner {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  padding: 20px 60px;
  grid-template-columns: minmax(0, 1fr) 550px;
  gap: 40px;
  align-items: stretch;
}

.storefront-local-options__content {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.storefront-local-options__title {
  margin: 26.5px 0 12px !important;
  flex: 0 0 auto;
  color: #fff !important;
  font-family: Jost, Arial, sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 1.5px !important;
  text-align: left !important;
}

.storefront-local-options__states {
  display: grid;
  min-height: 0;
  max-height: calc(12 * (16px * 1.35 + 8px));
  flex: 1;
  grid-template-columns: repeat(3, auto);
  gap: 8px 80px;
  align-content: start;
  overflow: hidden;
}

.storefront-local-options__state,
.storefront-local-options__mobile-state {
  display: block;
  min-width: 0;
  color: #fff !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: color .2s ease, transform .2s ease;
}

.storefront-local-options__state:hover,
.storefront-local-options__state:focus-visible,
.storefront-local-options__mobile-state:hover,
.storefront-local-options__mobile-state:focus-visible {
  color: #fd6506 !important;
  text-decoration: underline !important;
  transform: translateY(-1px);
}

.storefront-local-options__illustration,
.storefront-local-options__mobile-illustration {
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.storefront-local-options__illustration {
  position: relative;
  z-index: 1;
  display: block;
  height: 250px;
  align-self: center;
  background-image: url("images/storefront/home/explore-local-desktop.svg");
  background-size: contain;
}

.storefront-local-options__mobile {
  display: none;
}

@media (min-width: 835px) and (max-width: 1200px) {
  .storefront-local-options__inner { gap: 30px; }
  .storefront-local-options__title { font-size: 30px !important; }
  .storefront-local-options__states { grid-template-columns: repeat(2, auto); }
}

@media (min-width: 835px) and (max-width: 1024px) {
  .storefront-local-options__inner { gap: 20px; }
  .storefront-local-options__title {
    margin-top: 23px !important;
    font-size: 28px !important;
  }
  .storefront-local-options__state { font-size: 14px !important; }
}

@media (max-width: 834px) {
  .storefront-local-options__desktop { display: none; }

  .storefront-local-options__mobile {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .storefront-local-options__mobile-header {
    padding: 30px 30px 20px;
    text-align: center;
  }

  .storefront-local-options__mobile-header h2 {
    margin: 0 !important;
    color: #000 !important;
    font-family: Jost, Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 2px !important;
  }

  .storefront-local-options__mobile-illustration {
    display: block;
    width: 100%;
    min-height: 200px;
    max-height: 280px;
    background-image: url("images/storefront/home/explore-local-mobile.svg");
    background-size: cover;
  }

  .storefront-local-options__mobile-states {
    display: grid;
    box-sizing: border-box;
    width: auto;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 30px 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 40px;
  }

  .storefront-local-options__mobile-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
  }

  .storefront-local-options__mobile-state {
    width: 100%;
    padding: 1px 0;
    font-weight: 600 !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 768px) {
  .storefront-local-options__mobile-header h2 {
    font-size: 22px !important;
    letter-spacing: 1.5px !important;
  }

  .storefront-local-options__mobile-illustration {
    min-height: 180px;
    max-height: 250px;
  }

  .storefront-local-options__mobile-state { font-size: 15px !important; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .storefront-local-options__mobile-illustration {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    margin-top: -15px;
  }

  .storefront-local-options__mobile-states {
    width: calc(100% - 26px);
    max-width: 510px;
    padding: 5px 30px 30px;
  }
}

@media (max-width: 480px) {
  .storefront-local-options__mobile-header h2 {
    font-size: 20px !important;
    letter-spacing: 1px !important;
  }

  .storefront-local-options__mobile-illustration {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .storefront-local-options__mobile-state { font-size: 14px !important; }

  .storefront-local-options__mobile-states {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 360px) {
  .storefront-local-options__mobile-header h2 { font-size: 18px !important; }
  .storefront-local-options__mobile-state { font-size: 13px !important; }
}

.storefront-local-options.local-options-motion-ready .storefront-local-options__mobile-illustration {
  opacity: 0;
  transition: opacity .35s ease;
}

.storefront-local-options.local-options-motion-ready.local-options-motion-visible .storefront-local-options__mobile-illustration {
  opacity: 1;
}

@media (max-width: 320px) {
  .storefront-local-options__mobile-illustration {
    height: 171px;
    min-height: 171px;
    max-height: 171px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-local-options__state,
  .storefront-local-options__mobile-state {
    transition-duration: .01ms !important;
  }

  .storefront-local-options.local-options-motion-ready .storefront-local-options__mobile-illustration {
    opacity: 1 !important;
    transform: none !important;
    transition-duration: .01ms !important;
  }
}
