/* Shared currency picker on desktop, tablet and inside the mobile navigation. */
.storefront .locale-button {
  border-color: #e2e3e6;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8f8f9);
  box-shadow: 0 4px 12px rgba(19, 22, 27, .055);
}
.storefront .locale-button:hover,
.storefront .locale-button[aria-expanded="true"] {
  border-color: #a5dad7;
  background: #f7f7f8;
  box-shadow: 0 7px 20px rgba(25, 30, 38, .12);
}

.storefront .locale-menu {
  top: calc(100% + 15px);
  width: min(424px, calc(100vw - 24px));
  max-height: calc(100dvh - 104px);
  padding: 0 22px 22px;
  border-color: #e6e7e9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 68px rgba(16, 18, 22, .19), 0 7px 22px rgba(16, 18, 22, .07);
}
.storefront .locale-menu::before {
  height: 5px;
  background: linear-gradient(90deg, #171b23, #202630 65%, #8fdfda);
}
.storefront .locale-menu-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 13px;
  row-gap: 3px;
  margin: 0 0 18px;
  padding: 22px 0 18px;
  border-bottom: 1px solid #ededee;
}
.storefront .locale-menu-heading::before {
  content: "⇄";
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e4e5e7;
  border-radius: 14px;
  background: linear-gradient(145deg, #f7f7f8, #f2f3f5);
  color: #1b212a;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}
.storefront .locale-menu-heading strong {
  grid-column: 2;
  grid-row: 1;
  color: #14161c;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.storefront .locale-menu-heading span {
  grid-column: 2;
  grid-row: 2;
  color: #758399;
  font-size: 11px;
  line-height: 1.4;
}
.storefront .locale-section-label {
  margin-bottom: 11px;
  color: #68778c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.storefront .locale-section-label::before {
  width: 7px;
  height: 7px;
  background: #202630;
  box-shadow: 0 0 0 3px #f2f2f3;
}
.storefront .locale-currencies {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.storefront .locale-currencies button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 19px;
  grid-template-rows: auto;
  align-items: center;
  column-gap: 10px;
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  border: 1px solid #e7e8e9;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8f8f9);
  box-shadow: 0 3px 8px rgba(18, 21, 26, .035);
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.storefront .locale-currencies button::before {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 22px;
  border-color: #dcdde0;
  border-radius: 5px;
}
.storefront .locale-currencies button .currency-copy {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 5px;
  min-width: 0;
  color: inherit;
  letter-spacing: normal;
}
.storefront .locale-currencies button .currency-copy strong {
  color: #171a20;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.storefront .locale-currencies button .currency-copy small {
  color: #79889a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .035em;
  line-height: 1.1;
}
.storefront .locale-currencies button::after {
  position: static;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 19px;
  height: 19px;
  border-color: #c8d2dd;
  font-size: 12px;
}
.storefront .locale-currencies button:hover:not(:disabled) {
  border-color: #94d1cd;
  background: #f7f7f8;
  box-shadow: 0 8px 18px rgba(22, 26, 34, .095);
  transform: translateY(-2px);
}
.storefront .locale-currencies button[aria-pressed="true"],
.storefront .locale-currencies button[aria-pressed="true"]:hover:not(:disabled) {
  border-color: #202630;
  background: linear-gradient(145deg, #f7f7f8, #f5f5f6);
  box-shadow: 0 7px 19px rgba(26, 31, 40, .12), inset 0 0 0 1px rgba(32, 38, 48, .09);
}
.storefront .locale-currencies button[aria-pressed="true"] .currency-copy strong { color: #181d25; }
.storefront .locale-currencies button[aria-pressed="true"] .currency-copy small { color: #202630; }
.storefront .locale-currencies button[aria-pressed="true"]::after { border-color: #1b212a; }
.storefront .locale-currencies button:disabled {
  border-color: #e9eaeb;
  background: #f7f7f7;
  box-shadow: none;
  opacity: .52;
  cursor: not-allowed;
}

@media (max-width: 800px) and (min-width: 701px) {
  .storefront .header-discovery .locale-menu {
    width: min(424px, calc(100vw - 24px));
  }
}

@media (max-width: 700px) {
  .storefront .mobile-nav-currency {
    padding: 13px;
    border-color: #e2e3e6;
    border-radius: 17px;
    background: linear-gradient(145deg, #fff, #f8f8f9);
    box-shadow: 0 5px 15px rgba(20, 22, 28, .045);
  }
  .storefront .mobile-nav-currency-copy strong { font-size: 15px; }
  .storefront .mobile-nav-currency .locale-button {
    border-color: #e3e4e7;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 9px rgba(17, 20, 25, .05);
  }
  .storefront .mobile-nav-currency .locale-menu {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 7px;
    padding: 15px 0 2px;
    overflow: visible;
    border: 0;
    border-top: 1px solid #ecedee;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .storefront .mobile-nav-currency .locale-menu::before,
  .storefront .mobile-nav-currency .locale-menu-heading { display: none; }
  .storefront .mobile-nav-currency .locale-section-label { margin-bottom: 10px; }
  .storefront .mobile-nav-currency .locale-currencies {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .storefront .mobile-nav-currency .locale-currencies button {
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    column-gap: 12px;
    min-height: 62px;
    padding: 9px 13px;
    border-radius: 12px;
  }
  .storefront .mobile-nav-currency .locale-currencies button::before { width: 32px; height: 23px; }
  .storefront .mobile-nav-currency .locale-currencies button::after { width: 20px; height: 20px; font-size: 12px; }
  .storefront .mobile-nav-currency .locale-currencies button .currency-copy strong { font-size: 13px; }
  .storefront .mobile-nav-currency .locale-currencies button .currency-copy small { font-size: 11px; }
}

@media (max-width: 360px) {
  .storefront .mobile-nav-currency { padding: 10px; }
  .storefront .mobile-nav-currency .locale-currencies button {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    column-gap: 10px;
    min-height: 62px;
    padding: 8px 10px;
  }
  .storefront .mobile-nav-currency .locale-currencies button::before { width: 30px; height: 22px; }
  .storefront .mobile-nav-currency .locale-currencies button::after { width: 20px; height: 20px; }
  .storefront .mobile-nav-currency .locale-currencies button .currency-copy strong { font-size: 13px; }
  .storefront .mobile-nav-currency .locale-currencies button .currency-copy small { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .storefront .locale-currencies button { transition: none; }
}
