:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #050505;
  --panel-2: #080808;
  --line: #1d1d1d;
  --line-strong: #2a2a2a;
  --text: #f4f4f4;
  --muted: #777777;
  --slot: #101010;
  --slot-2: #141414;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 1180px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a,
input {
  font: inherit;
}

.site-shell {
  width: min(1880px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--bg);
}

.desktop-header {
  height: 76px;
  display: grid;
  grid-template-columns: 240px minmax(350px, 1fr) minmax(360px, 520px) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo,
.footer-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
}

/* PATCH 005 — desktop header navigation only */
.primary-nav {
  --nav-indicator-x: 0px;
  --nav-indicator-width: 0px;
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 34px;
  min-width: 0;
  height: 100%;
  white-space: nowrap;
}

.primary-nav__item {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #a5a5ad;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.10px;
  text-rendering: geometricPrecision;
  cursor: default;
  outline: none;
  transition:
    color 320ms cubic-bezier(.22, 1, .36, 1),
    text-shadow 380ms cubic-bezier(.16, 1, .3, 1),
    background-position 460ms cubic-bezier(.16, 1, .3, 1),
    filter 380ms cubic-bezier(.16, 1, .3, 1);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .primary-nav__item {
    color: transparent;
    background-image: linear-gradient(
      90deg,
      #f2b4ff 0%,
      #df72ff 28%,
      #b84cff 50%,
      #a5a5ad 50.01%,
      #a5a5ad 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .primary-nav__item:hover,
  .primary-nav__item:focus-visible,
  .primary-nav__item.is-active {
    background-position: 0 0;
  }
}

.primary-nav__item:hover,
.primary-nav__item:focus-visible {
  color: #e8e8ec;
  text-shadow:
    0 0 7px rgba(218, 113, 255, .26),
    0 0 16px rgba(166, 70, 255, .12);
}

.primary-nav__item:active {
  filter: brightness(1.12);
  text-shadow:
    0 0 8px rgba(226, 118, 255, .42),
    0 0 20px rgba(172, 68, 255, .20);
  transition-duration: 120ms;
}

.primary-nav__item.is-active {
  color: #e276ff;
  text-shadow:
    0 0 8px rgba(218, 102, 255, .34),
    0 0 18px rgba(166, 66, 255, .15);
}

.primary-nav__indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--nav-indicator-width);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a94cff 0%, #e877ff 50%, #9b4dff 100%);
  box-shadow:
    0 0 6px rgba(220, 104, 255, .72),
    0 0 15px rgba(183, 70, 255, .38),
    0 7px 18px rgba(145, 54, 235, .16);
  transform: translate3d(var(--nav-indicator-x), 0, 0);
  transform-origin: left center;
  pointer-events: none;
  transition:
    transform 520ms cubic-bezier(.16, 1, .3, 1),
    width 520ms cubic-bezier(.16, 1, .3, 1),
    opacity 220ms ease,
    box-shadow 360ms ease;
  will-change: transform, width;
}

.primary-nav__indicator::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 1px;
  height: 18px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(209, 89, 255, .20) 0%,
    rgba(161, 61, 255, .10) 38%,
    rgba(112, 40, 196, .035) 64%,
    rgba(0, 0, 0, 0) 82%
  );
  filter: blur(3px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav__item,
  .primary-nav__indicator {
    transition-duration: 1ms;
  }
}


.search-shell {
  width: 94%;
  height: 42px;
  justify-self: center;
  display: flex;
  align-items: center;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 10px;
  background: rgba(255, 255, 255, .032);
  cursor: text;
  outline: none;
  transition:
    width 520ms cubic-bezier(.22, 1, .36, 1),
    border-color 340ms cubic-bezier(.22, 1, .36, 1),
    background-color 340ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 420ms cubic-bezier(.22, 1, .36, 1);
}

.search-shell.is-expanded,
.search-shell:focus-visible {
  width: 100%;
  border-color: rgba(193, 98, 255, .20);
  background: rgba(255, 255, 255, .045);
  box-shadow:
    0 0 0 1px rgba(181, 86, 255, .018),
    0 6px 20px rgba(126, 49, 170, .035);
}

.search-shell__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  color: #c8c8d0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  user-select: none;
  transition:
    color 300ms cubic-bezier(.22, 1, .36, 1),
    text-shadow 360ms cubic-bezier(.22, 1, .36, 1),
    transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.search-shell.is-expanded .search-shell__mark,
.search-shell:focus-visible .search-shell__mark {
  color: #d56cff;
  text-shadow: 0 0 10px rgba(199, 86, 255, .26);
  transform: translateX(1px);
}


.search-shell__divider {
  width: 1px;
  height: 18px;
  margin: 0 10px 0 9px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .075);
}

.search-shell__icon {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #74747c;
  opacity: .82;
}

.search-shell__icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 1px;
  top: 1px;
  border: 1.35px solid currentColor;
  border-radius: 50%;
}

.search-shell__icon::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 1.35px;
  left: 9px;
  top: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-shell__icon--left {
  margin-right: 9px;
}

.search-shell__placeholder {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: #777780;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  user-select: none;
  transition: color 320ms cubic-bezier(.22, 1, .36, 1);
}

.search-shell__icon--right {
  margin-left: 12px;
  color: #b96aff;
  opacity: .88;
  filter: drop-shadow(0 0 4px rgba(185, 92, 255, .20));
  transition:
    color 320ms cubic-bezier(.22, 1, .36, 1),
    filter 320ms cubic-bezier(.22, 1, .36, 1),
    opacity 320ms cubic-bezier(.22, 1, .36, 1);
}

.search-shell.is-expanded .search-shell__placeholder,
.search-shell:focus-visible .search-shell__placeholder {
  color: #92929a;
}

.search-shell.is-expanded .search-shell__icon--right,
.search-shell:focus-visible .search-shell__icon--right {
  color: #ca78ff;
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(195, 102, 255, .26));
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.action-slot {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.action-slot--icon {
  position: relative;
  display: grid;
  place-items: center;
  color: #cf72ff;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.header-action-icon {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(190, 84, 255, .16));
}

.header-action-icon--cart {
  width: 21px;
  height: 21px;
}

.action-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  border-radius: 999px;
  background: #8d32f4;
  color: #ffffff;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 0 7px rgba(145, 49, 255, .42);
}

.action-slot--small {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.profile-slot {
  width: 148px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.desktop-main {
  padding: 10px 0 18px;
}

.hero-shell {
  width: 100%;
  aspect-ratio: 2048 / 684;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #030303;
}

.hero-media-shell {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #030303;
}

.hero-media-shell > img,
.hero-media-shell > video,
.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.line,
.lower-line,
.side-lines span {
  display: block;
  border-radius: 999px;
  background: var(--slot-2);
}

.line {
  height: 10px;
  margin-bottom: 16px;
}

.line--xs { width: 90px; height: 7px; margin-bottom: 26px; }
.line--xl { width: 88%; height: 32px; margin-bottom: 12px; }
.line--lg { width: 72%; height: 32px; margin-bottom: 26px; }
.line--md { width: 64%; }

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.button-shell {
  width: 184px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #080808;
}

.strip-shell {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.strip-card {
  min-width: 0;
  height: 60px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 6px 10px 6px 6px;
  overflow: hidden;
  border: 1px solid rgba(139, 86, 196, .24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 12, 20, .96) 0%, rgba(7, 7, 10, .98) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.strip-thumb {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(157, 79, 227, .22);
  border-radius: 7px;
  background: rgba(31, 16, 42, .76);
}

.strip-thumb img {
  display: block;
  width: 88%;
  height: 88%;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  object-position: center;
}

.strip-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  background: transparent;
}

.strip-copy strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #eeeaf2;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .08px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  margin-top: 26px;
}

.catalog-shell {
  min-width: 0;
}

.section-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.section-heading-shell {
  width: 150px;
  height: 16px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--slot-2);
}

.section-control-shell {
  width: 78px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.section-control-shell--short {
  width: 62px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.product-shell {
  min-width: 0;
  height: 256px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.product-media {
  height: 168px;
  border-bottom: 1px solid var(--line);
  background: #070707;
}

.product-meta {
  height: 88px;
  background:
    linear-gradient(var(--slot-2), var(--slot-2)) 14px 18px / 54% 8px no-repeat,
    linear-gradient(var(--slot), var(--slot)) 14px 38px / 36% 7px no-repeat,
    linear-gradient(var(--slot-2), var(--slot-2)) 14px 64px / 31% 10px no-repeat,
    var(--panel);
}

.side-shell {
  min-height: 302px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.side-media {
  height: 188px;
  border-bottom: 1px solid var(--line);
  background: #070707;
}

.side-lines {
  padding: 18px;
}

.side-lines span {
  height: 8px;
  margin-bottom: 12px;
}

.side-lines span:nth-child(1) { width: 44%; height: 14px; }
.side-lines span:nth-child(2) { width: 70%; }
.side-lines span:nth-child(3) { width: 56%; }

.lower-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  margin-top: 16px;
}

.lower-wide,
.lower-side {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.lower-wide {
  position: relative;
  padding: 24px 24px 24px 88px;
}

.lower-mark {
  position: absolute;
  left: 24px;
  top: 26px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #080808;
}

.lower-line {
  width: 36%;
  height: 8px;
  margin-bottom: 12px;
}

.lower-line--lg {
  width: 30%;
  height: 15px;
}

.lower-line--md {
  width: 46%;
  height: 14px;
}

.lower-side {
  padding: 22px;
}

.input-shell {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #050505;
}


.site-footer {
  height: 104px;
  display: grid;
  grid-template-rows: 68px 36px;
  overflow: hidden;
  border-top: 1px solid rgba(129, 72, 185, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background:
    linear-gradient(180deg, rgba(8, 7, 16, .98) 0%, rgba(2, 2, 7, 1) 100%);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 260px minmax(690px, 1fr) 205px 185px;
  align-items: center;
  column-gap: 24px;
  min-width: 0;
  padding: 0 18px 0 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.footer-logo--reference {
  display: block;
  width: 220px;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}

.footer-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  min-height: 20px;
  padding: 0 17px;
  color: #a9a9b2;
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: default;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  transition:
    color 220ms cubic-bezier(.22, 1, .36, 1),
    text-shadow 220ms cubic-bezier(.22, 1, .36, 1);
}

a.footer-nav__item {
  cursor: pointer;
}

.footer-nav__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .085);
  transform: translateY(-50%);
}

a.footer-nav__item:hover,
a.footer-nav__item:focus-visible {
  color: #f2eaff;
  text-shadow: 0 0 8px rgba(178, 91, 255, .16);
  outline: none;
}

.footer-nav__item--static {
  color: #9999a3;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
}

.footer-social {
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: .92;
  text-decoration: none;
  transform: translateY(0) scale(1);
  transition:
    opacity 240ms cubic-bezier(.22, 1, .36, 1),
    transform 280ms cubic-bezier(.22, 1, .36, 1);
}

.footer-social img {
  display: block;
  width: auto;
  height: 22px;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.footer-social:hover,
.footer-social:focus-visible {
  opacity: 1;
  transform: translateY(-1px) scale(1.035);
  outline: none;
}

.footer-future {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.footer-future img {
  display: block;
  width: 170px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 0 20px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .075);
}

.footer-copyright {
  color: #73737d;
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.footer-signature {
  color: #6f6f7c;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  text-align: right;
  white-space: nowrap;
}

/* Desktop-only foundation. Mobile layout will be designed separately. */
