/* Shared currency picker on desktop, tablet and inside the mobile navigation. */
.storefront .locale-button {
  border-color: #dce4ec;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f9fafc);
  box-shadow: 0 4px 12px rgba(30, 43, 62, .055);
}
.storefront .locale-button:hover,
.storefront .locale-button[aria-expanded="true"] {
  border-color: #e59aa8;
  background: #fff7f8;
  box-shadow: 0 7px 20px rgba(171, 25, 51, .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: #e1e7ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 68px rgba(21, 35, 55, .19), 0 7px 22px rgba(21, 35, 55, .07);
}
.storefront .locale-menu::before {
  height: 5px;
  background: linear-gradient(90deg, #a90d2a, #d52542 65%, #f07e8e);
}
.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 #e9edf2;
}
.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 #f1c9d1;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff4f6, #ffe8ed);
  color: #bd1935;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}
.storefront .locale-menu-heading strong {
  grid-column: 2;
  grid-row: 1;
  color: #1b2c42;
  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: #cf2440;
  box-shadow: 0 0 0 3px #fce9ed;
}
.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 #e1e7ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f9fafc);
  box-shadow: 0 3px 8px rgba(26, 43, 62, .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: #d5dde7;
  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: #20334c;
  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: #de8798;
  background: #fff6f8;
  box-shadow: 0 8px 18px rgba(149, 27, 49, .095);
  transform: translateY(-2px);
}
.storefront .locale-currencies button[aria-pressed="true"],
.storefront .locale-currencies button[aria-pressed="true"]:hover:not(:disabled) {
  border-color: #ca2847;
  background: linear-gradient(145deg, #fff6f7, #ffecef);
  box-shadow: 0 7px 19px rgba(178, 26, 52, .12), inset 0 0 0 1px rgba(202, 40, 71, .09);
}
.storefront .locale-currencies button[aria-pressed="true"] .currency-copy strong { color: #a91531; }
.storefront .locale-currencies button[aria-pressed="true"] .currency-copy small { color: #aa5665; }
.storefront .locale-currencies button[aria-pressed="true"]::after { border-color: #c51b2d; }
.storefront .locale-currencies button:disabled {
  border-color: #e6e9ee;
  background: #f5f7f9;
  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: #dce4ec;
    border-radius: 17px;
    background: linear-gradient(145deg, #fff, #fbfcfe);
    box-shadow: 0 5px 15px rgba(31, 45, 62, .045);
  }
  .storefront .mobile-nav-currency-copy strong { font-size: 15px; }
  .storefront .mobile-nav-currency .locale-button {
    border-color: #dde5ed;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 9px rgba(24, 40, 60, .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 #e8edf2;
    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 { gap: 8px; }
  .storefront .mobile-nav-currency .locale-currencies button {
    grid-template-columns: 26px minmax(0, 1fr) 17px;
    column-gap: 7px;
    min-height: 72px;
    padding: 9px;
    border-radius: 11px;
  }
  .storefront .mobile-nav-currency .locale-currencies button::before { width: 26px; height: 19px; }
  .storefront .mobile-nav-currency .locale-currencies button::after { width: 17px; height: 17px; font-size: 10px; }
  .storefront .mobile-nav-currency .locale-currencies button .currency-copy strong { font-size: 11px; }
  .storefront .mobile-nav-currency .locale-currencies button .currency-copy small { font-size: 9px; }
}

@media (max-width: 360px) {
  .storefront .mobile-nav-currency { padding: 10px; }
  .storefront .mobile-nav-currency .locale-currencies button {
    grid-template-columns: 22px minmax(0, 1fr) 15px;
    column-gap: 5px;
    min-height: 68px;
    padding: 8px 6px;
  }
  .storefront .mobile-nav-currency .locale-currencies button::before { width: 22px; height: 17px; }
  .storefront .mobile-nav-currency .locale-currencies button::after { width: 15px; height: 15px; }
  .storefront .mobile-nav-currency .locale-currencies button .currency-copy strong { font-size: 10px; }
  .storefront .mobile-nav-currency .locale-currencies button .currency-copy small { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .storefront .locale-currencies button { transition: none; }
}
