/* DraxionMC identity, navigation and storefront composition. */
.site-header {
  background: #141319;
  border-bottom: 1px solid #302b3a;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 90px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font:
    800 21px/1 "Montserrat",
    system-ui,
    sans-serif;
  letter-spacing: -0.04em;
}
.wordmark-mc {
  color: var(--lavender);
}
.wordmark small {
  display: block;
  margin-top: 7px;
  font:
    600 10px/1.3 "Segoe UI",
    sans-serif;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.header-crest {
  mask-image: radial-gradient(ellipse, #000 57%, transparent 74%);
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.custom-logo {
  max-width: 190px;
  max-height: 64px;
  width: auto;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  color: var(--muted);
  font-size: 14px;
  position: relative;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--text);
}
.desktop-nav a[aria-current]::after {
  content: "";
  height: 2px;
  background: var(--purple);
  position: absolute;
  bottom: 0;
  inset-inline: 0;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
.account-link {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--muted);
  font-size: 14px;
}
.account-link span {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.basket-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 16px;
  background: #2b2535;
  border: 1px solid #554365;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}
.basket-toggle:hover {
  background: #392c49;
  border-color: var(--lavender);
}
.basket-toggle b {
  color: var(--lavender);
  font-size: 13px;
  padding-left: 9px;
  border-left: 1px solid #554365;
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  border-top: 1px solid var(--line);
  padding-block: 12px 20px;
}
.mobile-nav a {
  display: block;
  padding: 13px 12px;
  font-weight: 600;
  border-bottom: 1px solid #302b3a;
}
.mobile-nav .mobile-subcategory {
  padding-left: 30px;
  color: var(--muted);
}

.storefront-home {
  padding-top: 26px;
}
.store-masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  isolation: isolate;
  min-height: 262px;
  padding: 26px 76px 26px 38px;
  overflow: hidden;
  background: #131119;
  border: 1px solid #352d43;
  border-left: 3px solid var(--purple);
}
.store-masthead::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -6% 0 60%;
  background: #0a090e;
  transform: skewX(-18deg);
  border-left: 1px solid #31283e;
}
.masthead-copy {
  position: relative;
  z-index: 1;
}
.masthead-kicker {
  color: #c5b6d9;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.masthead-kicker span {
  color: #786289;
  padding-inline: 9px;
}
.masthead-copy h1 {
  font-size: clamp(30px, 3.2vw, 43px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-top: 15px;
}
.masthead-copy h1 span {
  display: block;
  color: var(--lavender);
  font-size: 0.7em;
  letter-spacing: 0.12em;
  margin-top: 8px;
}
.masthead-copy > p:not(.masthead-kicker) {
  font-size: 15px;
  margin-top: 18px;
  color: #c7c1d0;
}
.masthead-browse {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 9px;
  font-size: 14px;
  font-weight: 600;
}
.masthead-browse .icon {
  width: 17px;
  color: var(--lavender);
  transition: transform 150ms;
}
.masthead-browse:hover .icon {
  transform: translateX(4px);
}
.masthead-crest {
  width: 250px;
  height: 250px;
  object-fit: contain;
  flex-shrink: 0;
  margin-block: -20px;
  mask-image: radial-gradient(ellipse, #000 57%, transparent 73%);
}
.masthead-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.store-masthead.has-scene::before {
  inset: 0;
  transform: none;
  background: linear-gradient(90deg, #131119 10%, #13111970 80%);
  border: 0;
  z-index: 0;
}
.server-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 57px;
  margin-bottom: 30px;
  padding-inline: 18px;
  border: 1px solid #302b3a;
  border-top: 0;
  background: #1b1822;
}
.server-bar button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 0;
  color: var(--text);
  background: none;
  border: 0;
  font-size: 14px;
  font-weight: 600;
}
.server-bar button .icon {
  width: 17px;
  color: var(--lavender);
}
.server-bar button small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin-left: 14px;
}
.server-bar > a {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  color: #d2c3e6;
  font-size: 13px;
}
.server-bar a:hover {
  color: #fff;
}

.store-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.store-main,
.store-layout > aside {
  min-width: 0;
}
.category-rail {
  border: 1px solid #3a3443;
  background: #1b1922;
  border-radius: 3px;
}
.rail-title {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 19px 18px;
  min-height: 60px;
  color: var(--text);
  background: #292431;
  border-bottom: 1px solid #3a3443;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.rail-title::-webkit-details-marker {
  display: none;
}
.rail-title .icon {
  width: 19px;
  color: var(--lavender);
}
.rail-chevron {
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
}
.category-rail[open] .rail-chevron {
  transform: rotate(180deg);
}
.rail-content {
  padding-block: 8px;
}
.rail-home,
.rail-category > a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.5;
  border-left: 3px solid transparent;
  overflow-wrap: anywhere;
}
.rail-home {
  color: var(--muted);
}
.rail-category > a {
  border-top: 1px solid #2b2732;
}
.rail-home > span,
.rail-category > a > span:last-child {
  margin-left: auto;
  color: #9987ad;
}
.rail-category a:hover,
.rail-home:hover {
  background: #27202f;
  color: #e0ccff;
}
.rail-category a[aria-current],
.rail-home[aria-current] {
  color: #e3d2ff;
  background: #332343;
  border-left-color: var(--purple);
}
.rail-marker {
  width: 6px;
  height: 6px;
  border: 1px solid #8b789f;
  flex-shrink: 0;
}
.rail-children {
  margin: 0 16px 8px 28px;
  border-left: 1px solid #584467;
}
.rail-children a {
  display: block;
  padding: 12px 16px;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.rail-empty {
  padding: 14px 18px;
  font-size: 14px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.featured-heading-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  color: #9374b0;
  font-size: 20px;
}
.featured-heading-detail::before {
  content: "";
  height: 1px;
  flex: 1;
  background: #3b3148;
}
.home-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.home-modules > :only-child,
.home-modules .featured-module {
  grid-column: 1/-1;
}
.featured-module {
  background: none;
  border: 0;
  min-width: 0;
}
.product-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  border-color: #594268;
  background: #221c2c;
  border-radius: 3px;
}
.product-featured .product-art {
  min-height: 264px;
  aspect-ratio: auto;
  padding: 38px;
  background: #2b2335;
}
.product-featured .product-art::after {
  inset: 14px;
  height: auto;
  border: 1px solid #6a507c50;
  background: none;
  pointer-events: none;
}
.product-featured .product-art img {
  max-height: 232px;
}
.product-featured .product-info {
  padding: 32px;
  justify-content: center;
}
.product-featured .product-info h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}
.product-featured .product-buyline {
  margin-top: 10px;
  padding: 0;
}
.product-featured .price {
  margin-top: 10px;
}
.product-featured .price strong {
  font-size: 28px;
}
.product-featured .product-details {
  width: auto;
  display: inline-flex;
  gap: 28px;
  min-height: 48px;
  margin-top: 24px;
  padding-inline: 20px;
  font-size: 14px;
  background: var(--purple);
}
.product-featured .product-details:hover {
  background: #8a53ff;
}
.product-featured .featured-label {
  background: #3a274e;
  border-color: #846197;
  color: #efdeff;
  z-index: 1;
}
.store-welcome {
  padding: 24px 0;
}
.store-welcome h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.store-introduction {
  margin-block: 32px;
}
.seasonal-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 30px;
  margin-top: 28px;
  background: #261f20;
  border: 1px solid #634236;
  border-left: 3px solid var(--orange);
  border-radius: 3px;
}
.seasonal-banner > div {
  position: relative;
  z-index: 1;
}
.seasonal-banner .eyebrow {
  color: #ffb798;
}
.seasonal-banner h2 {
  margin-top: 10px;
  font-size: 28px;
}
.seasonal-banner p {
  margin-top: 12px;
  max-width: 400px;
  font-size: 14px;
}
.seasonal-banner .text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  color: #ffc1a4;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
}
.seasonal-banner > img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 45%;
  object-fit: cover;
  opacity: 0.7;
  mask-image: linear-gradient(to right, transparent, #000 45%);
}
.seasonal-banner.has-art > div {
  max-width: 65%;
}
.community-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  margin-top: 26px;
  border-top: 1px solid #39313f;
}
.community-strip h2 {
  font-size: 18px;
  font-weight: 600;
}
.community-strip p {
  font-size: 14px;
  margin-top: 6px;
}
.community-strip > a {
  flex-shrink: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
  gap: 32px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid #3a3342;
}
.footer-brand .wordmark {
  font-size: 20px;
  gap: 0;
}
.footer-brand p {
  font-size: 13px;
  margin-top: 14px;
  max-width: 210px;
}
.footer-brand > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.site-footer h2 {
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0;
  margin-bottom: 12px;
  font-weight: 600;
}
.site-footer nav > a {
  display: block;
  width: fit-content;
  padding-block: 6px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer nav > a:hover {
  color: var(--lavender);
}
.copy-ip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--lavender);
  font-size: 14px;
  text-align: left;
  overflow-wrap: anywhere;
}
.copy-ip .icon {
  width: 16px;
}
.footer-server small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  color: var(--muted);
  font-size: 11px;
}
.footer-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-selectors select {
  min-height: 44px;
  width: auto;
  padding: 8px 25px 8px 10px;
  font-size: 12px;
}

@media (min-width: 821px) {
  .mobile-nav {
    display: none;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 24px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .store-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
  .store-masthead {
    padding-inline: 32px;
  }
  .product-featured .product-info {
    padding: 24px;
  }
  .product-featured .product-art {
    padding: 24px;
  }
  .site-footer {
    gap: 24px;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
  .footer-server {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .footer-server h2 {
    margin: 0;
  }
}
@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #51415f;
    border-radius: 3px;
    background: none;
    color: var(--text);
  }
  .header-inner {
    min-height: 80px;
    gap: 20px;
  }
  .header-actions {
    gap: 12px;
  }
  .store-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .category-rail:not([open]) .rail-title {
    border-bottom: 0;
  }
  .rail-title {
    min-height: 54px;
    padding: 14px 18px;
  }
  .rail-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rail-children {
    margin-left: 20px;
  }
  .masthead-crest {
    width: 225px;
    height: 225px;
  }
  .store-masthead {
    min-height: 248px;
  }
  .product-featured .product-art {
    min-height: 246px;
  }
}
@media (max-width: 640px) {
  .header-inner {
    min-height: 76px;
    gap: 10px;
  }
  .wordmark {
    font-size: 16px;
    gap: 8px;
  }
  .wordmark small {
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  .header-crest {
    mask-image: radial-gradient(ellipse, #000 57%, transparent 74%);
    width: 43px;
    height: 43px;
  }
  .custom-logo {
    max-width: 130px;
    max-height: 56px;
  }
  .header-actions {
    gap: 6px;
  }
  .account-link span,
  .basket-toggle > span {
    display: none;
  }
  .account-link {
    justify-content: center;
  }
  .basket-toggle {
    padding: 8px 10px;
    gap: 6px;
  }
  .basket-toggle .icon {
    width: 17px;
  }
  .basket-toggle b {
    padding-left: 6px;
  }
  .storefront-home {
    padding-top: 16px;
  }
  .store-masthead {
    min-height: 220px;
    padding: 24px 18px;
  }
  .store-masthead::before {
    left: 68%;
  }
  .masthead-copy {
    max-width: 73%;
  }
  .masthead-copy h1 {
    font-size: clamp(23px, 6.2vw, 35px);
    margin-top: 14px;
  }
  .masthead-copy h1 span {
    font-size: 0.8em;
    letter-spacing: 0.08em;
  }
  .masthead-kicker {
    font-size: 9px;
    letter-spacing: 0.06em;
  }
  .masthead-kicker span {
    padding-inline: 4px;
  }
  .masthead-copy > p:not(.masthead-kicker) {
    font-size: 13px;
    max-width: 180px;
    margin-top: 16px;
  }
  .masthead-browse {
    font-size: 13px;
    gap: 8px;
    margin-top: 8px;
  }
  .masthead-crest {
    position: absolute;
    right: 4px;
    width: 132px;
    height: 132px;
    opacity: 0.8;
    z-index: -1;
  }
  .server-bar {
    min-height: 54px;
    padding-inline: 14px;
    margin-bottom: 20px;
  }
  .server-bar button {
    font-size: 13px;
    gap: 9px;
  }
  .server-bar button small,
  .server-bar > a {
    display: none;
  }
  .server-bar button {
    width: 100%;
  }
  .server-bar button .icon:last-child {
    margin-left: auto;
  }
  .store-layout {
    gap: 22px;
  }
  .rail-content {
    grid-template-columns: 1fr;
  }
  .home-modules {
    grid-template-columns: 1fr;
  }
  .section-heading {
    margin-bottom: 14px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .product-featured {
    grid-template-columns: 38% minmax(0, 1fr);
  }
  .product-featured .product-art {
    min-height: 220px;
    padding: 10px;
  }
  .product-featured .product-art::after {
    display: none;
  }
  .product-featured .product-info {
    padding: 20px 16px;
  }
  .product-featured .product-info h3 {
    font-size: 21px;
  }
  .product-featured .price strong {
    font-size: 24px;
  }
  .product-featured .product-details {
    display: flex;
    width: 100%;
    padding-inline: 12px;
    gap: 9px;
    margin-top: 18px;
    font-size: 13px;
  }
  .product-featured .featured-label,
  .product-featured .sale-label {
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 3px 6px;
  }
  .community-strip {
    gap: 16px;
    margin-top: 22px;
  }
  .community-strip h2 {
    font-size: 16px;
  }
  .community-strip p {
    font-size: 13px;
    max-width: 195px;
  }
  .community-strip > a {
    font-size: 13px;
    gap: 10px;
  }
  .seasonal-banner {
    padding: 22px;
  }
  .seasonal-banner h2 {
    font-size: 24px;
  }
  .seasonal-banner.has-art > div {
    max-width: 100%;
  }
  .seasonal-banner > img {
    opacity: 0.22;
    width: 70%;
  }
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 24px;
    margin-top: 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand p {
    max-width: none;
    margin-top: 12px;
  }
  .footer-brand > span {
    margin-top: 4px;
  }
  .footer-server {
    display: block;
  }
  .footer-server h2 {
    margin-bottom: 5px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}
@media (max-width: 374px) {
  .account-link {
    display: none;
  }
  .masthead-crest {
    right: 0;
    opacity: 0.65;
  }
  .masthead-copy {
    max-width: 87%;
  }
  .product-featured {
    grid-template-columns: 1fr;
  }
  .product-featured .product-art {
    min-height: 160px;
    max-height: 170px;
    padding: 22px;
  }
  .product-featured .product-art img {
    max-height: 130px;
  }
  .product-featured .product-info {
    padding: 22px;
  }
  .community-strip {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
}
