/* ================================================================
   OneSite Storefront Shell
   Brand-neutral PHAT header, mobile menu, and footer structure
   ================================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body,
a,
button,
label {
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.one-storefront-visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@keyframes oneFadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.one-animate-fade-down {
  animation: oneFadeDown .22s ease-out both;
}

.one-storefront-header a,
.one-storefront-footer a {
  text-decoration: none;
}

.one-storefront-header ul,
.one-storefront-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.one-storefront-header svg {
  display: block;
  height: 1em;
  width: 1em;
}

.one-storefront-desktop {
  display: none;
}

.one-storefront-mobile {
  display: block;
}

.one-storefront-topbar {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  min-height: 42px;
}

.one-storefront-topbar-start,
.one-storefront-topbar-center,
.one-storefront-utility {
  min-width: 0;
}

.one-storefront-topbar-center {
  text-align: center;
}

.one-storefront-utility {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.one-storefront-utility-link,
.one-storefront-cart-link,
.one-storefront-mobile-cart {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  position: relative;
}

.one-storefront-brand-row {
  align-items: center;
  display: grid;
  gap: 28px;
  min-width: 0;
}

.one-storefront-logo {
  display: inline-flex;
  justify-self: center;
  min-width: 0;
}

.one-storefront-logo img,
.one-storefront-mobile-logo img,
.one-storefront-footer-logo img {
  display: block;
  height: auto;
  max-width: 100%;
  margin-bottom:15px;
}

.one-storefront-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.one-storefront-search input,
.one-storefront-search button {
  border-radius: 0;
  font: inherit;
  min-height: 46px;
}

.one-storefront-search input {
  min-width: 0;
}

.one-storefront-search button {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-width: 54px;
}

.one-storefront-nav {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.one-storefront-nav-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.one-storefront-nav-item {
  position: relative;
}

.one-storefront-nav-link {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  white-space: nowrap;
}

.one-storefront-nav-caret {
  flex: 0 0 auto;
}

.one-storefront-subnav {
  left: 0;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 5;
}

.one-storefront-nav-item:hover > .one-storefront-subnav,
.one-storefront-nav-item:focus-within > .one-storefront-subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.one-storefront-subnav-link {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 38px;
}

.one-storefront-subnav-separator {
  height: 1px;
}

.one-storefront-color-dot {
  border-radius: 9999px;
  display: inline-block;
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.one-storefront-cart-dot {
  border-radius: 9999px;
  display: inline-block;
  height: 9px;
  position: absolute;
  right: 14px;
  top: 3px;
  width: 9px;
}

.one-storefront-mobile {
  position: relative;
}

.one-storefront-mobile-bar {
  align-items: center;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  left: 0;
  min-height: 90px;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1030;
}

.one-storefront-menu-button,
.one-storefront-mobile-cart {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
}

.one-storefront-menu-button svg {
  height: 36px;
  width: 36px;
}

.one-storefront-mobile-cart svg {
  height: 29px;
  width: 29px;
}

.one-storefront-mobile-logo {
  display: inline-flex;
  justify-self: center;
  min-width: 0;
}

.one-storefront-mobile-promo {
  text-align: center;
}


.one-storefront-footer {
  overflow: hidden;
}

.one-storefront-footer-inner {
  display: grid;
  gap: 40px;
  margin: 0 auto;
  max-width: 1600px;
  width: min(100%, 1600px);
}

.one-storefront-footer-brand {
  min-width: 0;
}

.one-storefront-contact-list {
  display: grid;
  gap: 8px;
}

.one-storefront-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.one-storefront-footer-menus {
  display: grid;
  gap: 28px;
}

.one-storefront-footer-nav h2 {
  margin: 0;
}

.one-storefront-footer-nav ul {
  display: grid;
  gap:2px;
}

.one-storefront-copyright {
  text-align: center;
}

.one-storefront-copyright p {
  margin: 0;
}

.one-storefront-modal-open {
  overflow: hidden;
}

.one-storefront-subscribe-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: var(--one-z-modal, 1000);
}

.one-storefront-subscribe-modal[hidden] {
  display: none;
}

.one-storefront-subscribe-backdrop {
  background: rgba(0, 0, 0, .9);
  inset: 0;
  position: absolute;
}

.one-storefront-subscribe-dialog {
  max-height: min(92vh, 760px);
  max-width: 880px;
  overflow: auto;
  position: relative;
  width: min(100%, 880px);
}

.one-storefront-subscribe-panel {
  background: var(--one-bg-elevated, #242528);
  border-radius: var(--one-radius-md, 6px);
  box-shadow: var(--one-shadow-lg, 0 8px 24px rgba(0,0,0,.6));
  overflow: hidden;
}

.one-storefront-subscribe-header {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-height: 48px;
  padding: 8px 14px;
}

.one-storefront-subscribe-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: currentColor;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 32px;
  justify-content: center;
  line-height: 1;
  min-height: 42px;
  min-width: 42px;
  padding: 0;
}

.one-storefront-subscribe-body {
  text-align: center;
}

.one-storefront-subscribe-body .one-subscribe-pop-title,
.one-storefront-subscribe-success .one-subscribe-success-title {
  color: inherit;
}

.one-storefront-subscribe-form {
  display: grid;
  gap: 10px;
}

.one-storefront-subscribe-input,
.one-storefront-subscribe-submit,
.one-storefront-subscribe-success-button {
  border: 0;
  border-radius: 0;
  font: inherit;
  min-height: 52px;
  width: 100%;
}

.one-storefront-subscribe-input {
  background: #fff;
  color: #111;
  padding: 0 16px;
}

.one-storefront-subscribe-input.is-invalid {
  outline: 3px solid var(--one-red, #C8322D);
}

.one-storefront-subscribe-submit,
.one-storefront-subscribe-success-button {
  align-items: center;
  background: #111;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  padding: 0 18px;
  text-transform: uppercase;
}

.one-storefront-subscribe-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.one-storefront-subscribe-alert {
  color: var(--one-red, #C8322D);
  font-weight: 700;
  margin: 0;
  min-height: 1.4em;
}

.one-storefront-subscribe-link {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 8px 12px;
  text-decoration: underline;
}

.one-storefront-subscribe-success {
  background: #fff;
  color: #111;
  text-align: center;
}

.one-storefront-subscribe-success-icon {
  display: block;
  height: auto;
  margin: 0 auto 14px;
  max-width: 120px;
}

.one-storefront-subscribe-success-button {
  min-width: 150px;
  width: auto;
}

.one-storefront-pagination {
  align-items: center;
  display: grid;
  justify-items: center;
}

.one-storefront-pagination-status {
  text-align: center;
}

.one-storefront-pagination-desktop {
  display: block;
}

.one-storefront-pagination-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.one-storefront-page-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.one-storefront-page-link.is-disabled {
  cursor: default;
  pointer-events: none;
}

.one-storefront-pagination-mobile {
  display: none;
}

.one-storefront-pagination-next,
.one-storefront-pagination-mobile-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.one-storefront-pagination-next.is-disabled,
.one-storefront-pagination-mobile-link.is-disabled {
  cursor: default;
  pointer-events: none;
}

.one-storefront-pagination-mobile-actions {
  align-items: center;
  display: flex;
  justify-content: center;
}

.one-storefront-pagination-divider {
  display: block;
}

.one-storefront-pagination-jump {
  position: relative;
}

.one-storefront-pagination-jump summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  list-style: none;
}

.one-storefront-pagination-jump summary::-webkit-details-marker {
  display: none;
}

.one-storefront-pagination-jump-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: absolute;
  z-index: 10;
}

@media (min-width: 992px) {
  .one-storefront-desktop {
    display: block;
  }

  .one-storefront-mobile {
    display: none;
  }

  .one-storefront-desktop[data-variant="center-logo"] .one-storefront-brand-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .one-storefront-desktop[data-variant="logo-left"] {
    display: grid;
    grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
    grid-template-areas:
      "topbar topbar"
      "brand nav";
    align-items: center;
  }

  .one-storefront-desktop[data-variant="logo-left"] .one-storefront-topbar {
    grid-area: topbar;
  }

  .one-storefront-desktop[data-variant="logo-left"] .one-storefront-brand-row {
    grid-area: brand;
    justify-items: start;
  }

  .one-storefront-desktop[data-variant="logo-left"] .one-storefront-nav {
    grid-area: nav;
    justify-content: flex-end;
  }

  .one-storefront-desktop[data-variant="search-bar"] .one-storefront-brand-row {
    grid-template-columns: minmax(180px, 300px) minmax(300px, 1fr);
  }

  .one-storefront-footer-inner {
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1.7fr);
  }

  .one-storefront-footer-menus {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .one-storefront-cart-dot {
      border-radius: 9999px;
      display: inline-block;
      height: 9px;
      position: absolute;
      right: -10px;
      top: 3px;
      width: 9px;
  }

}

@media (max-width: 991.98px) {
  .one-storefront-pagination-desktop {
    display: none;
  }

  .one-storefront-pagination-mobile {
    display: grid;
    justify-items: center;
  }
}

@media (max-width: 991.98px) {
  .one-storefront-footer-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .one-storefront-footer-brand,
  .one-storefront-footer-nav,
  .one-storefront-copyright {
    text-align: center;
  }

  .one-storefront-footer-brand {
    display: grid;
    justify-items: center;
  }

  .one-storefront-footer-logo {
    display: inline-flex;
  }

  .one-storefront-contact-list {
    justify-items: center;
    width: 100%;
  }

  .one-storefront-contact-list li,
  .one-storefront-contact-list a {
    justify-content: center;
  }

  .one-storefront-footer-logo,
  .one-storefront-social {
    justify-content: center;
  }
}
