.home-shop {
  padding-block: clamp(2.4rem, 4.6vw, 4.25rem);
  border-block: 1px solid #2d405b;
  background: radial-gradient(ellipse at 79% 0%, #142944 0%, transparent 57%), #0b111c;
}

.home-shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .9rem 1.5rem;
  margin-bottom: clamp(1.2rem, 2.6vw, 2rem);
}

.home-shop-heading h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); }
.home-shop-action { flex: none; gap: .65rem; }
.home-shop-action svg { color: var(--ice); }

.home-shop-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.55rem, 1.05vw, .95rem);
}

.home-shop-category {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(148px, 15vw, 218px);
  overflow: hidden;
  border: 1px solid #344e70;
  border-radius: 6px;
  background: #101c2b;
  transition: border-color .22s ease;
}

.home-shop-category img,
.home-shop-category::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-shop-category img {
  z-index: -2;
  object-fit: cover;
  object-position: center 45%;
  transition: transform .34s ease;
}

.home-shop-category::before {
  z-index: -1;
  background: linear-gradient(0deg, #050913 3%, #050913d9 18%, #0509134a 46%, transparent 72%);
  content: "";
}

.home-shop-category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  padding: .65rem clamp(.65rem, 1vw, 1rem);
  color: #f3f7ff;
  font-size: clamp(.88rem, 1.2vw, 1.08rem);
  line-height: 1.2;
}

.home-shop-category-arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #82bdff66;
  border-radius: 50%;
  background: #142a47d9;
  color: #bddfff;
}

.home-shop-category:hover,
.home-shop-category:focus-visible { border-color: var(--ice); }
.home-shop-category:hover img,
.home-shop-category:focus-visible img { transform: scale(1.05); }
.home-shop-category:hover .home-shop-category-arrow,
.home-shop-category:focus-visible .home-shop-category-arrow { background: #215bb2; color: #fff; }
.home-shop a:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }

.home-shop-featured,
.home-shop-brands { margin-top: clamp(1.65rem, 3.4vw, 2.8rem); }

.home-shop-subheading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .3rem .85rem;
  margin-bottom: .85rem;
}

.home-shop-subheading h3 {
  color: #f5f8ff;
  font-size: clamp(1.12rem, 1.95vw, 1.6rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.22;
}

.home-shop-subheading p { color: var(--muted); font-size: .88rem; }

.home-shop-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.55rem, 1.2vw, .9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-shop-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid #344e70;
  border-radius: 8px;
  background: linear-gradient(145deg, #16263d, #101a2a 75%);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.home-shop-card:hover,
.home-shop-card:focus-visible {
  border-color: var(--ice);
  box-shadow: 0 10px 30px #050a1380;
}

.home-shop-card:hover strong,
.home-shop-card:focus-visible strong { color: #c6e5ff; }

.home-shop-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1.38;
  max-height: 15rem;
  min-width: 0;
  overflow: hidden;
  padding: clamp(.45rem, 1.3vw, 1.1rem);
  background: radial-gradient(ellipse at 48% 22%, #fff 24%, #e4ebf4 100%);
}

.home-shop-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .32s cubic-bezier(.2, .65, .35, 1);
}

.home-shop-card:hover .home-shop-photo img,
.home-shop-card:focus-visible .home-shop-photo img { transform: scale(1.06); }

.home-shop-info {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .44rem;
  min-width: 0;
  padding: clamp(.7rem, 1.5vw, 1.15rem);
  line-height: 1.26;
}

.home-shop-info strong { overflow-wrap: anywhere; font-size: clamp(1rem, 1.6vw, 1.22rem); }
.home-shop-product-meta { color: #a4cfff; font-size: .8rem; font-weight: 650; overflow-wrap: anywhere; }

.home-shop-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .25rem;
  margin-top: .15rem;
}

.home-shop-info b { color: #d7ebff; font-size: clamp(1.1rem, 1.9vw, 1.55rem); font-variant-numeric: tabular-nums; white-space: nowrap; }

.home-shop-product-arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #5274a0;
  border-radius: 50%;
  color: #b8dfff;
}

.home-shop-card:hover .home-shop-product-arrow,
.home-shop-card:focus-visible .home-shop-product-arrow { border-color: #8fbdff; background: #215bb2; color: #fff; }

.home-shop-brands {
  --brand-gap: clamp(.45rem, .8vw, .75rem);
  padding-top: clamp(1.3rem, 2.5vw, 2rem);
  border-top: 1px solid #293c56;
}

.home-shop-brand-control {
  display: none;
  min-height: 44px;
  padding: .25rem .62rem;
  border: 1px solid #405c82;
  border-radius: 5px;
  background: #101e33;
  color: #d8e9ff;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.2;
}

.home-shop-brand-control:hover,
.home-shop-brand-control[aria-pressed="true"] { border-color: #8abcfb; background: #1b3153; }
.home-shop-brand-control:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.home-shop-brand-control::before {
  width: .61rem;
  height: .69rem;
  border-inline: 2px solid currentColor;
  content: "";
}

.home-shop-brand-control[aria-pressed="true"]::before {
  height: 0;
  border: .34rem solid transparent;
  border-inline-start: .54rem solid currentColor;
  border-inline-end: 0;
}

.home-shop-brand-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr));
  gap: var(--brand-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-shop-brand-list[aria-hidden="true"] { display: none; }

.home-shop-brand {
  display: grid;
  place-items: center;
  height: clamp(65px, 6vw, 88px);
  padding: .55rem .85rem;
  border: 1px solid #d1dbea;
  border-radius: 6px;
  background: #fff;
}

.home-shop-brand img {
  width: 100%;
  max-width: 116px;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.home-shop-brand[data-brand="xenum"],
.home-shop-brand[data-brand="nextzett"] {
  border-color: #405570;
  background: #111e30;
}

@media (prefers-reduced-motion: no-preference) {
  .home-shop-brand-control { display: inline-flex; align-items: center; gap: .45rem; }

  .home-shop-brand-viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .home-shop-brand-track {
    display: flex;
    width: max-content;
    animation: home-shop-brand-loop 52s linear infinite;
  }

  .home-shop-brand-list,
  .home-shop-brand-list[aria-hidden="true"] {
    display: flex;
    padding-inline-end: var(--brand-gap);
  }

  .home-shop-brand { width: clamp(8rem, 13vw, 11rem); }
  .home-shop-brands.is-paused .home-shop-brand-track { animation-play-state: paused; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .home-shop-brand-viewport:hover .home-shop-brand-track { animation-play-state: paused; }
}

@keyframes home-shop-brand-loop {
  to { transform: translateX(-50%); }
}

@media (max-width: 850px) {
  .home-shop-categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-shop-category { grid-column: span 2; min-height: clamp(128px, 22vw, 180px); }
  .home-shop-category:nth-last-child(-n+2) { grid-column: span 3; }
  .home-shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .home-shop-heading { flex-wrap: wrap; align-items: center; }
  .home-shop-action { min-height: 42px; padding: .45rem .75rem; font-size: .89rem; }
  .home-shop-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-shop-categories .home-shop-category { grid-column: auto; min-height: 122px; }
  .home-shop-categories .home-shop-category:first-child { grid-column: 1 / -1; min-height: 150px; }
  .home-shop-category:first-child img { object-position: center 38%; }
  .home-shop-category-arrow { width: 24px; height: 24px; }
  .home-shop-category-arrow svg { width: 15px; height: 15px; }
  .home-shop-photo { aspect-ratio: 1.12; }
  .home-shop-product-arrow { width: 24px; height: 24px; }
  .home-shop-product-arrow svg { width: 14px; height: 14px; }
  .home-shop-brand { padding: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-shop-category,
  .home-shop-category img,
  .home-shop-card,
  .home-shop-photo img,
  .shop-thumb { transition: none; }

  .home-shop-category:hover img,
  .home-shop-category:focus-visible img,
  .home-shop-card:hover .home-shop-photo img,
  .home-shop-card:focus-visible .home-shop-photo img,
  .shop-product-photo:hover .shop-thumb { transform: none; }
}

.shop-hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(460px, 37vw, 660px);
  overflow: hidden;
  border-bottom: 1px solid #446da0;
  background: #0b1425;
}

.shop-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 55%;
}

.shop-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #080d17f7, #080d17dd 26%, #080d1775 53%, #080d1712 76%),
    linear-gradient(0deg, #080d17bd, transparent 40%);
  content: "";
}

.shop-hero-copy { padding-block: clamp(54px, 7vw, 105px); }

.shop-hero h1 {
  max-width: 14ch;
  margin: .14em 0 .17em;
  font-size: clamp(3rem, 6.15vw, 6.4rem);
  line-height: 1.07;
}

.shop-hero-copy > p:not(.eyebrow) {
  max-width: 39ch;
  margin-bottom: 1.45rem;
  color: #e3ecf9;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.5;
}

.shop-catalog,
.shop-detail,
.shop-related { padding-block: clamp(40px, 6vw, 88px); }

.shop-catalog { scroll-margin-top: 92px; }

.shop-section-head,
.shop-detail-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem 1.4rem;
  margin: 0 0 1.5rem;
}

.shop-section-head h2 {
  font-size: clamp(2.15rem, 4.8vw, 4.65rem);
  line-height: 1.08;
}

.shop-section-head p {
  max-width: 56ch;
  margin-top: .55rem;
  color: var(--muted);
}

.shop-cart-button {
  gap: .5rem;
  min-height: 44px;
  padding: .45rem .75rem;
  border-color: #4b709c;
  background: #101f34;
  white-space: nowrap;
}

.top-actions { gap: clamp(6px, 1.1vw, 16px); white-space: nowrap; }
.site-cart { position: relative; flex-shrink: 0; }
.shop-cart-button svg { flex: none; }

.shop-count {
  display: inline-grid;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: .3rem;
  place-items: center;
  border-radius: 3px;
  background: #96cbff;
  color: #081426;
  font-size: .8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1041px) and (max-width: 1320px) {
  .topbar-inner { width: calc(100% - 44px); gap: 16px; }
  .top-actions .button-small { padding-inline: 12px; }
}

@media (min-width: 1041px) and (max-width: 1120px) {
  .topbar-inner { width: calc(100% - 32px); gap: 12px; }
  .top-actions { gap: 8px; }
}

@media (max-width: 1220px) {
  .site-cart { width: 44px; padding: 0; }
  .site-cart .shop-cart-label { display: none; }
  .site-cart .shop-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 1rem;
    height: 1rem;
    padding-inline: .12rem;
    font-size: .69rem;
  }
}

.shop-filters {
  display: grid;
  gap: 1rem;
  padding: clamp(.9rem, 2vw, 1.4rem);
  border: 1px solid #2c405c;
  border-radius: 6px;
  background: linear-gradient(125deg, #132137, #101824 70%);
}

.shop-tabs { display: flex; flex-wrap: wrap; gap: .42rem; }

.shop-tabs button {
  min-height: 44px;
  padding: .32rem .8rem;
  border: 1px solid #39516e;
  border-radius: 4px;
  background: #0d1829;
  color: #d9e6f7;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.25;
}

.shop-tabs button:hover { border-color: #8bbfff; background: #192e4a; }
.shop-tabs button[aria-pressed="true"] { border-color: #78b4ff; background: #275da8; color: #fff; }
.shop-tabs button:focus-visible { outline-offset: 2px; }

.shop-filter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.shop-field {
  display: grid;
  gap: .35rem;
  min-width: 0;
  color: #d7e4f6;
  font-size: .86rem;
  font-weight: 700;
}

.shop-field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: .55rem .72rem;
  border-color: #496481;
  background: #0a1320;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.shop-field textarea { resize: vertical; }

.shop-results {
  margin: 1.05rem 0 .65rem;
  color: #b5c5da;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.15rem);
}

.shop-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2d415e;
  border-radius: 7px;
  background: #111a28;
  transition: border-color .18s ease;
}

.shop-product:hover,
.shop-product:focus-within { border-color: #7aace6; }

.shop-product-photo,
.shop-detail-photo {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #fff 24%, #eff3f8 100%);
}

.shop-product-photo { aspect-ratio: 1.08; padding: clamp(.4rem, 1.15vw, .78rem); }

.shop-thumb,
.shop-detail-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.shop-thumb { transition: transform .32s cubic-bezier(.2, .65, .35, 1); }
.shop-product-photo:hover .shop-thumb { transform: scale(1.045); }

.shop-product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
  padding: clamp(.85rem, 1.6vw, 1.15rem);
}

.shop-meta {
  color: #a4cfff;
  font-size: .78rem;
  font-weight: 720;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.shop-meta span { padding-inline: .13em; color: var(--ice); }

.shop-product h3 {
  color: var(--white);
  font: 550 clamp(1.18rem, 1.8vw, 1.65rem)/1.16 var(--display);
  overflow-wrap: anywhere;
}

.shop-product h3 a:hover { color: #b9dfff; text-decoration: underline; text-underline-offset: .18em; }

.shop-product-summary {
  margin-bottom: auto;
  color: #becde0;
  font-size: .9rem;
  line-height: 1.43;
  overflow-wrap: anywhere;
}

.shop-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  margin-top: .5rem;
  padding-top: .75rem;
  border-top: 1px solid #2d405b;
}

.shop-product-bottom strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.85rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  white-space: nowrap;
}

.shop-add { min-height: 44px; padding: .5rem .82rem; border-color: #557aaa; background: #14253e; font-size: .88rem; }

.shop-empty {
  grid-column: 1 / -1;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid #304460;
  border-radius: 6px;
  background: #111a29;
}

.shop-empty h3 { font: 730 1.65rem/1.1 var(--display); }
.shop-empty p { margin-block: .4rem 1rem; color: var(--muted); }

.shop-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  margin-bottom: clamp(2.8rem, 6vw, 5rem);
  padding: clamp(1.15rem, 3vw, 2.65rem);
  border: 1px solid #42638a;
  border-radius: 6px;
  background: radial-gradient(ellipse at 87% 5%, #1c3b68, #131f34 55%, #111827);
}

.shop-help h2,
.shop-spec-panel h2,
.shop-related h2 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.08; }
.shop-help p { margin-top: .55rem; color: #cbd9ec; }

.shop-compat-link,
.shop-sources a,
.shop-trail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a8d3ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.shop-compat-link:hover,
.shop-sources a:hover,
.shop-trail a:hover { color: #fff; }

.shop-detail { padding-top: clamp(21px, 3vw, 41px); }
.shop-detail-nav { align-items: center; }
.shop-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .45rem; color: var(--muted); font-size: .88rem; }

.shop-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(1.1rem, 5vw, 5.25rem);
  align-items: center;
}

.shop-detail-photo {
  aspect-ratio: 1.12;
  margin: 0;
  padding: clamp(.65rem, 2.8vw, 1.9rem);
  border: 1px solid #344a69;
  border-radius: 7px;
}

.shop-detail-copy { min-width: 0; }

.shop-detail-copy h1 {
  margin-block: .15em .19em;
  font-size: clamp(2.35rem, 4.5vw, 4.9rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.shop-detail-copy > p:not(.shop-meta, .shop-availability) {
  max-width: 50ch;
  color: #d5dfed;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.shop-detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .1rem .9rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: .86rem;
}

.shop-detail-price strong,
.shop-cart-total strong {
  color: #e5f1ff;
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.shop-availability {
  display: inline-flex;
  margin-top: .6rem;
  padding: .2rem .55rem;
  border: 1px solid #466a96;
  border-radius: 4px;
  background: #142740;
  color: #bcdbff;
  font-size: .82rem;
  font-weight: 700;
}

.shop-buy {
  display: grid;
  grid-template-columns: 5.9rem minmax(0, max-content);
  align-items: end;
  gap: .7rem;
  margin: 1rem 0 .35rem;
}

.shop-buy .button { min-height: 46px; padding-inline: 1rem; text-align: center; }
.shop-spec-panel { margin-top: clamp(1.7rem, 5vw, 4.6rem); padding: clamp(.95rem, 3vw, 2.2rem); border: 1px solid #304774; border-radius: 7px; background: #101a29; }
.shop-spec-panel h2 { margin-bottom: .85rem; }

.shop-spec-panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin: 0;
}

.shop-spec-panel dl > div { min-width: 0; padding: .65rem .75rem; border: 1px solid #2e405a; border-radius: 4px; background: #0d1523; }
.shop-spec-panel dt { color: #adc9e9; font-size: .81rem; font-weight: 700; }
.shop-spec-panel dd { margin: .15rem 0 0; color: var(--white); line-height: 1.4; overflow-wrap: anywhere; }
.shop-guide { max-width: 75ch; margin-top: .9rem; color: #c4d3e8; }
.shop-sources { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-top: .65rem; }
.shop-related { padding-top: 0; }
.shop-related h2 { margin-bottom: 1.1rem; }

.shop-cart {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 31rem);
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-left: 1px solid #5d8ac2;
  background: #111a29;
  color: var(--white);
  box-shadow: -18px 0 52px #05091480;
}

html:has(.shop-cart[open]) { overflow: hidden; }
.shop-cart::backdrop { background: #02050bd1; }
.shop-cart-inner { --drawer-gutter: clamp(.85rem, 3vw, 1.55rem); padding: 0 var(--drawer-gutter) 1.6rem; }

.shop-cart-inner > header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-inline: calc(-1 * var(--drawer-gutter));
  padding: .9rem var(--drawer-gutter);
  border-bottom: 1px solid #3b577a;
  background: #111b2b;
}

.shop-cart h2 { font-family: var(--headline); font-weight: 710; font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1.05; }
.shop-cart h3 { font: 760 1.65rem/1.1 var(--display); }
.shop-cart .button { min-height: 44px; padding: .53rem .85rem; text-align: center; }

#shop-cart-content { display: grid; gap: .8rem; padding: 1rem 0; }
#shop-cart-content > .button { justify-self: start; }

.shop-cart-items { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }

.shop-cart-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .6rem .7rem;
  min-width: 0;
  padding: .6rem .65rem;
  border: 1px solid #30445f;
  border-radius: 5px;
  background: #0c1421;
}

.shop-cart-items li a { color: #e3efff; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.shop-cart-items li a:hover { text-decoration: underline; text-underline-offset: .18em; }
.shop-cart-items li p { margin-top: .2rem; color: #adc0d7; font-size: .82rem; line-height: 1.35; }

.shop-cart-remove {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b8d8ff;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.shop-cart-quantity {
  display: grid;
  grid-template-columns: 44px minmax(1.45rem, auto) 44px;
  align-items: center;
  justify-items: center;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.shop-cart-quantity button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #4c6b95;
  border-radius: 4px;
  background: #172945;
  color: #e9f3ff;
  font-size: 1.15rem;
  font-weight: 760;
}

.shop-cart-quantity button:hover { background: #244977; }
.shop-cart-quantity button:disabled { cursor: default; opacity: .55; }
.shop-cart-quantity button:focus-visible { outline-offset: 2px; }

.shop-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding-block: .65rem;
  border-block: 1px solid #304a6c;
  color: #d4e6fc;
  font-weight: 700;
}

.shop-cart-total strong { font-size: 2.3rem; }
.shop-cart-note { color: #b8c9df; font-size: .91rem; line-height: 1.43; }
.shop-cart-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-feedback { position: fixed; z-index: 30; right: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); pointer-events: none; }
.shop-feedback:not(:empty) { padding: .55rem .8rem; border: 1px solid #76abe8; border-radius: 5px; background: #132e53; color: #eff7ff; box-shadow: 0 8px 25px #0008; }

@media (prefers-reduced-motion: no-preference) {
  .shop-cart[open] { animation: shop-cart-enter .2s ease-out both; }
}

@keyframes shop-cart-enter {
  from { transform: translateX(100%); }
  to { transform: none; }
}

@media (max-width: 1110px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 790px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-spec-panel dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .shop-hero { align-items: end; min-height: clamp(440px, 105vw, 520px); }
  .shop-hero-image { height: 74%; object-position: 75% 52%; }
  .shop-hero::after { background: linear-gradient(0deg, #080e19 3%, #080e19f5 27%, #080e19bb 48%, #080e1926 80%); }
  .shop-hero-copy { padding-block: 148px 33px; }
  .shop-hero h1 { font-size: clamp(2.15rem, 9.7vw, 4.15rem); }
  .shop-hero-copy > p:not(.eyebrow) { margin-bottom: .9rem; }
  .shop-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-detail-photo { aspect-ratio: 1.25; }
  .shop-detail-copy h1 { font-size: clamp(2rem, 8.5vw, 3.6rem); text-wrap: initial; }
  .shop-buy { grid-template-columns: minmax(0, 5.9rem) minmax(0, 1fr); }
}

@media (max-width: 490px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-product-photo { aspect-ratio: 1.33; }
  .shop-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-filter-fields > :first-child { grid-column: 1 / -1; }
  .shop-tabs { gap: .35rem; }
  .shop-tabs button { padding-inline: .58rem; }
}

@media (max-width: 470px) {
  .mega-nav-ready .topbar-inner { gap: 6px; }
  .mega-nav-ready .brand img { width: clamp(100px, 31vw, 140px); }
}

@media (max-width: 365px) {
  .mega-nav-ready .topbar-inner { gap: 4px; }
  .top-actions .button-small { padding-inline: 8px; }
  .mega-nav-ready .menu-button { justify-content: center; min-width: 44px; }
  .mega-nav__menu-label { position: absolute; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 355px) {
  .shop-filter-fields,
  .shop-spec-panel dl { grid-template-columns: minmax(0, 1fr); }
  .shop-buy { grid-template-columns: minmax(0, 1fr); }
  .shop-buy .shop-field { max-width: 6.5rem; }
  .shop-cart-actions .button { flex: 1 1 100%; }
}
