/* Shared site header and footer */
.sh, .sf {
  box-sizing: border-box;
  background: #000;
}

.sh {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: .7rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.sh .sh-inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sh .header-logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: 48px;
}

.sh .sh-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.sh .sh-nav a, .sh .site-shop-link {
  font-family: var(--fd, "Barlow Condensed", Impact, sans-serif);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.sh .sh-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #b3b3b3;
}

.sh .sh-nav a:hover, .sh .sh-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.sh .site-shop-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 1.1rem;
  border-radius: .5rem;
  background: #a62164;
  color: #fff;
}

.sh .site-shop-link:hover {
  background: #8e1c55;
  color: #fff;
}

.sh :focus-visible, .sf :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.sf {
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(255 255 255 / 8%);
  color: #b3b3b3;
  text-align: center;
  font-size: .82rem;
}

.sf.site-footer-with-sticky-cta {
  padding-bottom: calc(2rem + var(--sticky-h) + env(safe-area-inset-bottom));
}

.sf .site-footer-inner {
  box-sizing: border-box;
  max-width: 820px;
  padding: 0 1.25rem;
  margin: 0 auto;
}

.sf .footer-logo {
  display: block;
  width: auto;
  height: 160px;
  margin: 0 auto 1.25rem;
}

.sf .fnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.sf a {
  color: #b3b3b3;
  text-decoration: none;
}

.sf .fnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.sf a:hover, .sf .ftag a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.sf .ftag {
  max-width: 400px;
  margin: 0 auto;
}

.sh .site-mobile-menu { display: none; }
@media screen and (max-width: 800px) {
  .sf .footer-logo { height: 120px; }
  .sh .sh-inner { position: relative; display: flex; align-items: center; gap: .65rem; }
  .sh .sh-inner > .sh-nav, .sh .sh-inner > .site-shop-link { display: none; }
  .sh .sh-inner > .cart-btn { margin-left: auto; }
  .sh .site-mobile-menu { display: block; margin-left: auto; color: #fff; }
  .sh .cart-btn + .site-mobile-menu { margin-left: 0; }
  .site-mobile-menu > summary {
    cursor: pointer; display: flex; align-items: center; gap: .5rem; min-height: 44px;
    padding: .2rem .65rem; list-style: none; border: 1px solid #777; border-radius: .4rem;
  }
  .site-mobile-menu > summary::-webkit-details-marker { display: none; }
  .site-menu-bars { width: 1rem; height: .8rem; border-block: 2px solid currentColor; position: relative; }
  .site-menu-bars::after { content: ""; position: absolute; inset: calc(50% - 1px) 0 auto; border-top: 2px solid currentColor; }
  .site-mobile-menu > nav { position: absolute; inset: 100% 0 auto; z-index: 20; padding: .5rem 1rem; background: #121212; border-bottom: 1px solid #555; }
  .site-mobile-menu > nav a { display: flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
  .site-mobile-menu [aria-current="page"] { text-decoration: underline; }
  .site-mobile-menu :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
}
@media screen and (max-width: 380px) {
  .sh .sh-inner:has(> .cart-btn) > a:first-child { min-width: 0; }
  .sh .sh-inner:has(> .cart-btn) .header-logo {
    max-width: 100%;
    height: auto;
    max-height: 48px;
    object-fit: contain;
  }
}
@media print { .sh .site-mobile-menu { display: none; } }
