@font-face {
  font-family: "DM Sans";
  src: url(fonts/dm-sans-latin-700-normal.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
.shop-header {
  position: relative;
  z-index: 2;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(90deg, #05142e, #103f81 52%, #08274e);
}
.shop-header::before, .shop-footer::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 0%, #408bc85c, transparent 53%);
}
.christmas .shop-header::before {
  background: url(media/winter-icicles.webp) repeat-x center top / clamp(180px, 21vw, 310px) clamp(30px, 3.8vw, 52px),
    radial-gradient(circle at 25px 4px, #f8f5cb 0 1px, #97ecffa6 2px, transparent 5px) 0 0 / 109px 100%,
    radial-gradient(circle at 65px 3px, #d2ffff 0 1px, #95deff88 2px, transparent 6px) 0 0 / 137px 100%,
    radial-gradient(ellipse at 70% 0%, #408bc85c, transparent 53%);
}
.header-row {
  position: relative;
  width: min(100% - clamp(32px, 8vw, 128px), 1312px);
  height: clamp(74px, 9.7vw, 102px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.6vw, 40px);
}
.shop-header .brand, .shop-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0;
  background: none;
  color: white;
  font: 700 clamp(1.23rem, 2.8vw, 2.18rem)/1 "DM Sans", Arial, sans-serif;
  text-decoration: none;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.shop-header .brand { margin-right: auto; }
.shop-header .brand img, .shop-footer .brand img {
  display: block;
  width: clamp(42px, 6vw, 70px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 51%, #000e 62%, #0006 70%, transparent 76%);
}
.header-row > a:not(.brand), .mobile-menu summary {
  font: 700 .95rem/1.3 "DM Sans", Arial, sans-serif;
  color: white;
  padding-block: .8rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-row > a:not(.brand):hover, .shop-footer nav a:hover, .shop-footer .credit:hover { text-decoration: underline; }
.header-row > a.account-link {
  padding: .64rem 1.05rem;
  border: 1px solid #c9eaff8a;
  border-radius: 99px;
  background: linear-gradient(#538dc62e, #0d295940);
}
.wave {
  display: block;
  position: absolute;
  inset: calc(100% - 1px) 0 auto;
  width: 100%;
  height: clamp(22px, 4vw, 58px);
  pointer-events: none;
  filter: drop-shadow(0 3px 4px #129ad77a);
}
.glint { animation: wave-travel 9s ease-in-out 1.2s infinite; }
@keyframes wave-travel { 0%, 14% { transform: translateX(0); } 80%, 100% { transform: translateX(1730px); } }
.mobile-menu { display: none; }
.shop-footer {
  isolation: isolate;
  position: relative;
  text-align: center;
  padding: clamp(36px, 5vw, 66px) 16px 28px;
  color: white;
  border: none;
  background: linear-gradient(117deg, #051a37, #113569 50%, #051a37);
  font: .91rem/1.5 "DM Sans", Arial, sans-serif;
}
.christmas .shop-footer::before {
  opacity: .45;
  background: radial-gradient(circle at 12px 12px, #ceeaffb0 1px, transparent 1.8px) 0 0 / 111px 95px,
    radial-gradient(circle at 96px 19px, white 1px, transparent 2px) 0 0 / 173px 147px,
    radial-gradient(ellipse at 50% 0%, #2980be66, transparent 65%);
}
.shop-footer .footer-brand { flex-direction: column; font-size: 1.36rem; gap: .2rem; margin: 0; }
.shop-footer .footer-brand img { width: 55px; }
.shop-footer nav {
  width: min(100%, 24rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.2rem auto;
  gap: 0;
  align-items: stretch;
}
.shop-footer nav a { display: grid; place-items: center; padding: .55rem .16rem; min-height: 42px; }
.shop-footer a { color: white; text-decoration: none; }
.shop-footer p { margin: 0; color: #d7e9fd; font-size: .8rem; }
.shop-footer .credit { display: inline-block; color: #d7e9fd; padding: .4rem; font-size: .8rem; text-decoration: underline; }
.shop-header :focus-visible, .shop-footer :focus-visible { outline: 3px solid #95f2ff; outline-offset: 3px; }
@media (max-width: 740px) {
  .shop-header .nav-minor { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; }
  .mobile-menu div {
    position: absolute;
    inset: calc(100% - 8px) 0 auto auto;
    z-index: 2;
    padding: 6px;
    color: #0c2749;
    background: #f8fcff;
    border: 1px solid #9bbcdc;
    border-radius: 12px;
    box-shadow: 0 12px 32px #112d4b35;
  }
  .mobile-menu a { display: block; min-height: 44px; padding: 9px 16px; text-decoration: none; }
  .mobile-menu a:hover { background: #e6f5ff; }
  .header-row { height: clamp(74px, 18.5vw, 86px); }
}
@media (max-width: 460px) {
  .christmas .shop-header::before { background-size: 184px 31px, 109px 100%, 137px 100%, auto; }
  .header-row { gap: 12px; }
  .header-row > a.account-link { padding: .58rem .7rem; }
  .header-row > a:not(.brand), .mobile-menu summary { font-size: .86rem; }
  .header-row .brand { gap: .25rem; }
}
@media (max-width: 359px) {
  .header-row { gap: 8px; width: calc(100% - 16px); }
  .header-row .brand { font-size: 1.04rem; }
  .header-row .brand img { width: 34px; }
}
@media (prefers-reduced-motion: reduce) { .glint { animation: none; } }
