.store-products {
  position: relative;
  align-self: center;
  color: inherit;
}
.store-products > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48em;
  min-height: 44px;
  padding-inline: .28em;
  color: inherit;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  white-space: nowrap;
}
.store-products > summary::-webkit-details-marker { display: none; }
.store-products > summary::after {
  width: .43em;
  height: .43em;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  rotate: 45deg;
  translate: 0 -.12em;
}
.store-products[open] > summary::after { rotate: 225deg; translate: 0 .1em; }
.store-products > summary:is(:hover, :focus-visible, [aria-current]),
.store-products[open] > summary { color: var(--store-products-accent, #f5c2ff); }
.store-products > summary:focus-visible,
.store-products .store-products-links > a:focus-visible {
  outline: 2px solid var(--store-products-accent, #f5c2ff);
  outline-offset: -2px;
  border-radius: 5px;
}
.store-products > .store-products-links {
  position: absolute;
  z-index: 10;
  inset: 100% auto auto 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: min(232px, calc(100vw - 20px));
  max-height: min(300px, calc(100dvh - 124px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5px;
  border: 1px solid var(--store-products-border, #855999);
  border-radius: 10px;
  background: var(--store-products-surface, #21152c);
  box-shadow: 0 10px 26px #080510a6;
}
.store-products--end > .store-products-links {
  inset-inline: auto 0;
  transform: none;
}
.store-products .store-products-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6em;
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 5px;
  color: #f6f0fb;
  font-size: .95rem;
  font-weight: 560;
  line-height: 1.15;
  text-decoration: none;
  white-space: normal;
}
.store-products .store-products-links > a:last-child {
  border-top: 1px solid var(--store-products-border, #855999);
}
.store-products .store-products-links > a::after { content: none; }
.store-products .store-products-links > a:is(:hover, :focus-visible, [aria-current]) {
  background: var(--store-products-hover, #382345);
  color: var(--store-products-accent, #f5c2ff);
}
.store-products .store-products-links small {
  color: #d1bcd6;
  font-size: .71rem;
  font-weight: 500;
  text-align: end;
}
.home-nav .store-products > summary { font-size: clamp(17px, 1.3vw, 23px); }
.main-nav .store-products > summary { font-size: clamp(16px, 1.28vw, 22px); }
.site-header:has(.store-products) { position: relative; z-index: 5; }
.riftpulse-site .store-products {
  justify-self: end;
  --store-products-accent: #a6f5db;
  --store-products-border: #45635b;
  --store-products-surface: #111e21;
  --store-products-hover: #1e3531;
}
.riftpulse-site .store-products summary { font-size: .91rem; }
.mp-header .store-products, .map-guide-header .store-products {
  --store-products-accent: #98e4ff;
  --store-products-border: #365f75;
  --store-products-surface: #111e2b;
  --store-products-hover: #1a3448;
}
.mp-header .store-products summary { font-size: .88rem; }
.map-guide-header .store-products { margin-inline-start: auto; }
.store-products-policy-header .igv-brand { gap: .35em; }
.store-products-policy-header .igv-mark { --igv-mark-width: 1.6em; }

@media (max-width: 820px) {
  .mp-header .store-products summary { font-size: .78rem; }
}
@media (max-width: 740px) {
  .riftpulse-site .store-products summary { font-size: .8rem; }
}
@media (max-width: 600px) {
  .home-nav .store-products > summary { font-size: 16px; }
  .main-nav .store-products > summary { font-size: clamp(14px, 3.85vw, 17px); }
  .mp-header nav:has(.store-products) { gap: 5px; }
  .mp-header nav:has(.store-products) > a { min-width: 0; padding-inline: 5px; }
  .mp-header .store-products summary { min-height: 36px; }
}
@media (max-width: 380px) {
  .map-guide-header .map-guide-wrap { flex-wrap: wrap; gap: .25rem .65rem; padding-block: 5px; }
  .map-guide-header .store-products { margin-inline-start: 0; }
}

@media (max-width: 600px) {
  .product-header nav:has(.store-products) { position: relative; }
  .product-header .store-products { position: static; }
  .store-products-policy-header nav { justify-content: flex-end; }
  .store-products-policy-header .store-products > .store-products-links,
  .mp-header .store-products > .store-products-links {
    inset-inline: auto 0;
    transform: none;
  }
  .mp-header .store-products > .store-products-links { width: 210px; }
}
@media (max-width: 380px) {
  .map-guide-header .map-guide-wrap { position: relative; }
  .map-guide-header .store-products { position: static; }
}
