﻿:root {
  --bg: #090b10;
  --bg-elevated: #12161f;
  --bg-soft: #181d28;
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --accent-deep: #6d28d9;
  --accent-glow: rgba(139, 92, 246, 0.28);
  --accent-soft: rgba(139, 92, 246, 0.1);
  --steel: #7dd3fc;
  --steel-soft: rgba(125, 211, 252, 0.12);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(167, 139, 250, 0.35);
  --text: #e8eef7;
  --text-muted: #94a3b8;
  --white: #f8fafc;
  --radius: 16px;
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 96px;

  /* legacy aliases used across the stylesheet */
  --violet: var(--accent);
  --violet-bright: var(--accent-bright);
  --violet-deep: var(--accent-deep);
  --violet-glow: var(--accent-glow);
  --violet-soft: var(--accent-soft);
  --violet-line: var(--line);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 90% 55% at 10% -10%, rgba(109, 40, 217, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 45% at 95% 15%, rgba(14, 165, 233, 0.1), transparent 45%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(15, 23, 42, 0.9), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Header —— */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  background: linear-gradient(180deg, rgba(9, 11, 16, 0.94) 0%, rgba(9, 11, 16, 0.55) 75%, transparent 100%);
  backdrop-filter: blur(14px);
}

.header--solid {
  background: rgba(9, 11, 16, 0.96);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
  min-width: 0;
}

.header__left {
  flex-shrink: 0;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: 0.35rem;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header__logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.header__logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 55%, #4c1d95 140%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  white-space: nowrap;
}

.header__right {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  flex-shrink: 0;
}

.header__icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.header__address-btn,
.header__social,
.header__tradein,
.header__faq,
.header__cart {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem 0.45rem 0.55rem;
  background: rgba(24, 29, 40, 0.75);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

button.header__cart {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header__address-btn:hover,
.header__address-btn:focus-visible,
.header__address-btn.is-current,
.header__social:hover,
.header__social:focus-visible,
.header__tradein:hover,
.header__tradein:focus-visible,
.header__tradein.is-current,
.header__faq:hover,
.header__faq:focus-visible,
.header__faq.is-current,
.header__cart:hover,
.header__cart:focus-visible {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.45);
  background: var(--steel-soft);
  box-shadow: none;
}

.header__cart {
  position: relative;
  padding: 0.4rem 0.75rem 0.4rem 0.5rem;
}

.header__cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--accent, #7dd3fc);
  color: #0b1220;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.header__tradein {
  padding: 0.4rem 0.7rem 0.4rem 0.5rem;
}

.header__tradein .header__icon,
.header__faq .header__icon {
  width: 16px;
  height: 16px;
}

.header__faq {
  padding: 0.4rem 0.75rem 0.4rem 0.5rem;
}

.header__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--text-muted);
  border: 1px solid var(--line);
  background: rgba(24, 29, 40, 0.75);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header__icon-link:hover,
.header__icon-link:focus-visible,
.header__icon-link.is-current {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.45);
  background: var(--steel-soft);
  box-shadow: none;
}

.header__address {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.header__address:hover,
.header__address:focus-visible {
  color: var(--white);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.header__phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  gap: 0.15rem;
}

.header__phone {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--white);
  transition: color 0.2s ease;
}

.header__phone:hover,
.header__phone:focus-visible {
  color: var(--steel);
  text-shadow: none;
}

.header__hours {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.6rem 0.2rem;
  transition: color 0.25s ease;
}

.nav__link--lg {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0.6rem 0.2rem;
}

.nav__link.is-current {
  color: var(--white);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--steel), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-current {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-current::after {
  transform: scaleX(1);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 2.5rem;
  overflow: hidden;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #07090e;
}

.hero__slide {
  position: absolute;
  /* больше площадь кадра → ПК визуально дальше */
  inset: -28%;
  background-image: var(--img);
  background-size: cover;
  background-position: center 42%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 10s ease;
  filter: brightness(0.72) contrast(1.05);
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 45% at 50% 28%, rgba(14, 165, 233, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 82% 18%, rgba(109, 40, 217, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.78) 0%, rgba(5, 7, 12, 0.82) 42%, rgba(5, 7, 12, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 7, 12, 0.88) 0%, rgba(5, 7, 12, 0.45) 22%, rgba(5, 7, 12, 0.45) 78%, rgba(5, 7, 12, 0.88) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  text-align: center;
  animation: rise-in 0.9s ease both;
}

.hero__region {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.25rem;
  animation: fade-pulse 3s ease-in-out infinite;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--white);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 8px 28px rgba(0, 0, 0, 0.65),
    0 18px 50px rgba(0, 0, 0, 0.45);
}

.hero__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.8vw, 1.55rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.hero__tags li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(18, 22, 31, 0.72);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  animation: tag-in 0.6s ease both;
}

.hero__tags li:nth-child(1) { animation-delay: 0.05s; }
.hero__tags li:nth-child(2) { animation-delay: 0.1s; }
.hero__tags li:nth-child(3) { animation-delay: 0.15s; }
.hero__tags li:nth-child(4) { animation-delay: 0.2s; }
.hero__tags li:nth-child(5) { animation-delay: 0.25s; }
.hero__tags li:nth-child(6) { animation-delay: 0.3s; }
.hero__tags li:nth-child(7) { animation-delay: 0.35s; }
.hero__tags li:nth-child(8) { animation-delay: 0.4s; }
.hero__tags li:nth-child(9) { animation-delay: 0.45s; }
.hero__tags li:nth-child(10) { animation-delay: 0.5s; }

.hero__desc {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  color: var(--text-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero__dots {
  display: none;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero__dot.is-active {
  background: var(--steel);
  border-color: var(--steel);
  box-shadow: none;
  transform: scale(1.2);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 45%, #0ea5e9 160%);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.28);
}

.btn--ghost {
  background: rgba(18, 22, 31, 0.55);
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--steel-soft);
  border-color: rgba(125, 211, 252, 0.4);
  color: var(--white);
  transform: translateY(-2px);
}

/* —— Sections —— */
.section {
  position: relative;
  padding: 5.5rem 1.25rem;
  max-width: 1320px;
  margin: 0 auto;
}

.section__head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section__lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* —— Features —— */
.features {
  max-width: 1280px;
  padding-top: 1.25rem;
  padding-bottom: 3.5rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 1.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.05), transparent 55%),
    var(--bg-elevated);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  border-color: rgba(125, 211, 252, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.feature__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--steel);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(125, 211, 252, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature__icon svg {
  width: 48px;
  height: 48px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--white);
  max-width: 11em;
}

/* —— Builds grid —— */
.builds {
  max-width: 1320px;
}

.builds__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.builds__actions {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.builds__cta-btn {
  gap: 0.55rem;
  min-width: 14rem;
  padding: 0.85rem 1.6rem;
}

.builds__cta-btn-arrow {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.builds__cta-btn:hover .builds__cta-btn-arrow {
  transform: translateX(3px);
}

.builds__grid--ready {
  max-width: 100%;
}

.build-card--empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.03), transparent 55%),
    rgba(18, 22, 31, 0.65);
  overflow: hidden;
  pointer-events: none;
}

.build-card__empty {
  display: grid;
  gap: 0.45rem;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}

.build-card__empty-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(125, 211, 252, 0.08);
}

.build-card__empty-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

.builds__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 72px;
  min-height: 100%;
  align-self: stretch;
  padding: 0.7rem 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background:
    linear-gradient(165deg, rgba(28, 36, 52, 0.95), rgba(14, 18, 28, 0.98));
  color: var(--white);
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.builds__cta:hover,
.builds__cta:focus-visible {
  border-color: rgba(125, 211, 252, 0.65);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  background:
    linear-gradient(165deg, rgba(36, 48, 68, 0.98), rgba(16, 22, 34, 0.98));
}

.builds__cta-text {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.builds__cta-arrow {
  width: 18px;
  height: 18px;
  color: var(--steel, #7dd3fc);
  transition: transform 0.25s ease;
}

.builds__cta:hover .builds__cta-arrow {
  transform: translateX(4px);
}

.build-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--violet-line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.build-card.fx-tilt {
  overflow: visible;
}

.build-card.fx-tilt .build-card__media {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.build-card.fx-tilt .build-card__body {
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--bg-elevated);
}

.build-card:hover {
  transform: translateY(-5px);
  border-color: var(--violet);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.build-card.fx-tilt:hover {
  /* transform задаёт JS-tilt; hover не перебивает */
  transform: none;
}

.build-card__media {
  height: 150px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  position: relative;
}

.build-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, var(--bg-elevated) 100%);
}

.build-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.25rem;
}

.build-card__badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.4rem;
}

.build-card__badge--hot {
  color: #fb923c;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(251, 146, 60, 0.35);
}

.build-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.build-card__specs {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.build-card__price {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--violet-bright);
  letter-spacing: 0.04em;
  margin-top: auto;
  margin-bottom: 0.65rem;
}

.build-card__more,
.build-card__cart {
  width: 100%;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  font-size: 0.76rem;
  margin-bottom: 0.45rem;
}

.build-card__cart {
  margin-bottom: 0;
}

/* Build details modal */
.build-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 8, 14, 0.78);
  backdrop-filter: blur(6px);
}

.build-detail-backdrop[hidden],
.build-detail-modal[hidden] {
  display: none !important;
}

.build-detail-modal {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  width: min(34rem, calc(100vw - 1.5rem));
  max-height: min(92vh, 48rem);
  overflow: auto;
  padding: 1.2rem 1.15rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: linear-gradient(165deg, rgba(18, 24, 34, 0.98), rgba(8, 12, 18, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%);
  animation: trade-modal-pop 0.3s ease both;
}

.build-detail-gallery {
  margin: 0 0 1rem;
}

.build-detail-gallery[hidden] {
  display: none !important;
}

.build-detail-gallery__stage {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0d14;
  border: 1px solid rgba(148, 163, 184, 0.18);
  aspect-ratio: 4 / 3;
}

.build-detail-gallery__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.build-detail-gallery__zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.build-detail-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 12, 18, 0.72);
  color: #e2e8f0;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.build-detail-gallery__nav--prev { left: 0.55rem; }
.build-detail-gallery__nav--next { right: 0.55rem; }

.build-detail-gallery__nav:hover {
  background: rgba(14, 165, 233, 0.35);
}

.build-detail-gallery__thumbs {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.build-detail-gallery__thumb {
  flex: 0 0 auto;
  width: 3.4rem;
  height: 2.55rem;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  background: #0a0d14;
  cursor: pointer;
  opacity: 0.7;
}

.build-detail-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.build-detail-gallery__thumb.is-active,
.build-detail-gallery__thumb:hover {
  opacity: 1;
  border-color: rgba(125, 211, 252, 0.65);
}

.build-detail-gallery__hint {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  color: #64748b;
  text-align: center;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  background: rgba(2, 4, 8, 0.92);
  backdrop-filter: blur(8px);
  padding: 2.5rem 1rem;
}

.photo-lightbox[hidden] {
  display: none !important;
}

.photo-lightbox__img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.photo-lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 1.5rem;
  cursor: pointer;
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 1.7rem;
  cursor: pointer;
}

.photo-lightbox__nav--prev { left: 0.75rem; }
.photo-lightbox__nav--next { right: 0.75rem; }

.photo-lightbox__nav:hover,
.photo-lightbox__close:hover {
  background: rgba(125, 211, 252, 0.28);
}

.build-detail-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.build-detail-modal__close:hover {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.12);
}

.build-detail-modal__badge {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-bright);
}

.build-detail-modal__title {
  margin: 0 0 0.35rem;
  padding-right: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.build-detail-modal__price {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #7dd3fc;
}

.build-detail-modal__note {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.45;
}

.build-detail-modal__list {
  margin: 0 0 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.build-detail-row {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.build-detail-row dt {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.build-detail-row dd {
  margin: 0;
  font-size: 0.84rem;
  color: #e8eef6;
  font-weight: 550;
  line-height: 1.35;
}

.build-detail-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.build-detail-modal__actions .btn {
  flex: 1 1 8rem;
  justify-content: center;
}

@media (max-width: 480px) {
  .build-detail-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* —— Catalog cards —— */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--violet-line);
  background:
    linear-gradient(160deg, rgba(125, 211, 252, 0.06) 0%, transparent 45%),
    var(--bg-elevated);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card--photo {
  padding: 0;
  overflow: hidden;
}

.card__media {
  height: 180px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  position: relative;
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, var(--bg-elevated) 100%);
}

.card__body {
  padding: 1.15rem 1.35rem 1.4rem;
}

.card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

.card__price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--violet-bright);
}

/* —— Configurator —— */
.configurator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--violet-line);
  background:
    radial-gradient(ellipse at top right, rgba(14, 165, 233, 0.1), transparent 50%),
    var(--bg-elevated);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}

.cpu-brands,
.brand-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.cpu-brands__btn,
.brand-tabs__btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-bright);
  background: rgba(5, 5, 8, 0.7);
  border: 1px solid var(--violet-line);
  border-radius: 10px;
  padding: 0.7rem 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cpu-brands__btn:hover,
.brand-tabs__btn:hover {
  border-color: var(--violet);
  background: var(--violet-soft);
}

.cpu-brands__btn.is-active,
.brand-tabs__btn.is-active {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(76, 29, 149, 0.45));
  box-shadow: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(5, 5, 8, 0.7);
  border: 1px solid var(--violet-line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.16);
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--violet) 50%),
    linear-gradient(135deg, var(--violet) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.configurator__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
}

.configurator__estimate {
  color: var(--text-muted);
}

.configurator__estimate strong {
  color: var(--violet-bright);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* —— Services —— */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service {
  padding: 1.45rem 1.3rem;
  border-left: 2px solid var(--steel);
  background: linear-gradient(90deg, var(--steel-soft), transparent 70%);
  transition: background 0.25s ease;
}

.service:hover {
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.16), transparent 80%);
}

.service h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.service__btn {
  margin-top: 1rem;
  display: inline-flex;
}

/* —— Contact —— */
.contact {
  max-width: 720px;
}

.contact__panel {
  padding: 2rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--violet-line);
  background:
    radial-gradient(circle at 20% 0%, rgba(14, 165, 233, 0.1), transparent 45%),
    var(--bg-elevated);
  text-align: center;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
  text-align: left;
}

.contact__form .btn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 0.35rem;
}

/* —— Footer —— */
.footer {
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.05));
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.85rem 0 1rem;
  justify-content: center;
}

.footer__legal-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer__legal-link:hover:not(.is-disabled) {
  color: var(--steel, #7dd3fc);
  border-bottom-color: rgba(125, 211, 252, 0.35);
}

.footer__legal-link.is-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.footer__req {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__req p {
  margin: 0.15rem 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #64748b;
}

.footer__disclaimer {
  max-width: 52rem;
  margin: 0.55rem auto 0 !important;
  font-size: 0.62rem !important;
  color: #64748b;
  opacity: 0.9;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.65rem 0 0.85rem;
  cursor: pointer;
}

.consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: #64748b;
}

.consent span {
  font-size: 0.72rem;
  line-height: 1.4;
  color: #64748b;
  font-weight: 400;
}

.consent__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.consent__link:hover {
  color: var(--steel, #7dd3fc);
}

.part-list--ram {
  max-height: 420px;
  margin-top: 0.55rem;
}

/* —— Toast —— */
.toast {
  position: fixed;
  z-index: 270;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--white);
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body:has(.cookie-banner:not(.is-hidden)) .toast {
  bottom: 6.5rem;
}

body:has(.cookie-banner:not(.is-hidden)) .live-orders {
  bottom: 6.8rem;
}

/* —— Animations —— */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tag-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* —— Configurator page —— */
.page-config,
.page-sub {
  padding-top: calc(var(--header-h) + 1.5rem);
}

.config-page,
.sub-page {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
}

.config-page__head {
  margin-bottom: 2rem;
}

.config-page__back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--violet-bright);
  font-size: 0.92rem;
  font-weight: 600;
}

.config-page__back:hover {
  color: var(--white);
}

.config-page__head h1,
.sub-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 0.6rem;
}

.config-page__head p,
.sub-page__lead {
  color: var(--text-muted);
  max-width: 620px;
}

.sub-page--legal {
  width: min(760px, calc(100% - 2.5rem));
}

.sub-page--legal .sub-page__lead {
  max-width: none;
  font-size: 1rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.legal-meta {
  margin: 0.85rem 0 1.75rem;
  font-size: 0.82rem;
  color: #64748b;
}

.legal-doc {
  display: grid;
  gap: 1.75rem;
}

.legal-section {
  padding: 1.35rem 1.4rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(14, 18, 26, 0.72);
}

.legal-section h2 {
  margin: 0 0 0.85rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #e2e8f0;
  line-height: 1.35;
}

.legal-section p,
.legal-section li {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
  color: #cbd5e1;
}

.legal-section p {
  margin: 0 0 0.85rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.legal-section li::marker {
  color: #7dd3fc;
}

.legal-section a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  color: #bae6fd;
}

.legal-section strong {
  color: #f1f5f9;
  font-weight: 700;
}

.legal-section ol.legal-ol {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.legal-section ol.legal-ol li {
  padding-left: 0.15rem;
}

.footer__disclaimer a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__disclaimer a:hover {
  color: #bae6fd;
}

.legal-contacts {
  list-style: none;
  padding: 0 !important;
  margin: 0 0 0.85rem !important;
  display: grid;
  gap: 0.55rem;
}

.legal-contacts li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.06);
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.legal-contacts span {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

.legal-contacts strong {
  font-size: 0.92rem;
}

@media (max-width: 560px) {
  .legal-section {
    padding: 1.1rem 1rem 1.15rem;
  }

  .legal-contacts li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.address-hours {
  margin-top: 0.85rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.address-hours strong {
  color: var(--violet-bright);
  font-weight: 600;
}

.services__grid--page {
  margin: 1.75rem 0 2rem;
}

.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.config-form {
  display: grid;
  gap: 1rem;
}

.config-block {
  border: 1px solid var(--violet-line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 0;
  overflow: hidden;
}

.config-block__title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin: 0;
  padding: 1rem 1.15rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  transition: background 0.2s ease;
}

.config-block__title:hover {
  background: rgba(125, 211, 252, 0.06);
}

.config-block__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet-deep), var(--violet));
  flex-shrink: 0;
}

.config-block__title h2 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.config-block__pick {
  margin-left: auto;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.config-block.is-open .config-block__pick {
  color: var(--steel, #7dd3fc);
}

.config-block__chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.35rem;
}

.config-block.is-open .config-block__chevron {
  transform: rotate(-135deg);
  border-color: var(--steel, #7dd3fc);
}

.config-block__body {
  display: none;
  padding: 0 1.15rem 1.2rem;
}

.config-block.is-open .config-block__body {
  display: block;
}

.config-select,
.config-block .field input,
.config-block .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(5, 5, 8, 0.7);
  border: 1px solid var(--violet-line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  outline: none;
}

.config-select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--violet) 50%),
    linear-gradient(135deg, var(--violet) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.config-select:focus,
.config-block .field input:focus,
.config-block .field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.16);
}

.config-hint {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.ram-builder {
  display: grid;
  gap: 0.75rem;
}

.ram-step {
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 17, 26, 0.55);
  animation: ram-step-in 0.28s ease;
}

.ram-step[hidden] {
  display: none !important;
}

.ram-step__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ram-step__label span {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: var(--steel, #7dd3fc);
  font-size: 0.68rem;
}

.ram-step__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ram-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: rgba(24, 29, 40, 0.8);
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ram-chip strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: inherit;
}

.ram-chip small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ram-chip:hover {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.4);
}

.ram-chip.is-active {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.55);
  background: var(--steel-soft, rgba(125, 211, 252, 0.12));
}

.ram-chip.is-match:not(.is-active) {
  border-color: rgba(125, 211, 252, 0.35);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.12);
}

.ram-chip[data-ram-kit],
#ram-kit-options .ram-chip {
  border-radius: 14px;
  min-width: 6.5rem;
}

.ram-chip--custom {
  font-size: 0.72rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border-style: dashed;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ram-custom-input {
  width: 100%;
  margin: 0;
}

.ram-builder__result {
  margin: 0.15rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed rgba(125, 211, 252, 0.28);
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.ram-builder__result strong {
  color: var(--white);
  font-weight: 600;
}

.ram-builder__result span {
  color: var(--violet-bright, #c4b5fd);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

@keyframes ram-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.config-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.config-submit {
  width: 100%;
}

.config-summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  border: 1px solid var(--violet-line);
  border-radius: calc(var(--radius) + 2px);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 50%),
    var(--bg-elevated);
  padding: 1.35rem 1.25rem;
}

.config-summary h2 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 1rem;
}

.config-summary__list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.config-summary__list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--violet-line);
}

.config-summary__list span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}

.config-summary__list strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.config-summary__list strong small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.config-summary__mode {
  margin: -0.4rem 0 1rem;
  font-size: 0.82rem;
  color: var(--violet-bright);
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.mode-tabs__btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-bright);
  background: var(--bg-elevated);
  border: 1px solid var(--violet-line);
  border-radius: 12px;
  padding: 0.95rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mode-tabs__btn:hover {
  border-color: var(--violet);
  background: var(--violet-soft);
}

.mode-tabs__btn.is-active {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(76, 29, 149, 0.45));
  box-shadow: none;
}

.mode-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.part-list {
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--violet-line);
  border-radius: 12px;
  background: rgba(5, 5, 8, 0.55);
  padding: 0.35rem;
}

.part-search {
  width: 100%;
  margin-bottom: 0.55rem;
  font: inherit;
  color: var(--text);
  background: rgba(9, 11, 16, 0.75);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  outline: none;
}

.part-search:focus {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.14);
}

.part-list__empty {
  padding: 1rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.gallery-slider {
  position: relative;
  margin: 0 0 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.gallery-slider__track {
  position: relative;
  min-height: 280px;
}

.gallery-slider__slide {
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}

.gallery-slider__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-slider__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 11, 16, 0.55) 100%);
}

.gallery-slider__dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.gallery-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(248, 250, 252, 0.55);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.gallery-slider__dot.is-active {
  background: #f8fafc;
}

.part-list__group {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.45rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(12, 12, 18, 0.95);
}

.part-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.part-option:hover {
  background: var(--violet-soft);
}

.part-option.is-active {
  border-color: var(--violet-line);
  background: rgba(125, 211, 252, 0.12);
}

.part-option__img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
  padding: 2px;
}

.part-option__main {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  flex: 1;
}

.part-option__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.part-option__meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.part-option__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.part-option__price {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--violet-bright);
}

.part-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.12rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 17, 26, 0.85);
}

.part-qty__btn {
  width: 1.4rem;
  height: 1.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.part-qty__btn:hover {
  background: var(--steel-soft, rgba(125, 211, 252, 0.15));
}

.part-qty__val {
  min-width: 0.9rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
}

.part-qty__cart {
  display: none;
  color: var(--steel, #7dd3fc);
  margin-left: 0.15rem;
  margin-right: 0.2rem;
}

.part-option.has-qty .part-qty__cart {
  display: inline-flex;
}

.ram-chip--kit {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  border-radius: 12px;
  padding: 0.4rem 0.7rem 0.4rem 0.4rem;
}

.ram-chip__img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.ram-chip__text {
  display: grid;
  gap: 0.1rem;
  text-align: left;
}

#ram-kit-options .ram-chip {
  border-radius: 12px;
  min-width: auto;
}

.config-summary__price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.config-summary__price span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.config-summary__price strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--violet-bright);
  letter-spacing: 0.04em;
}

.config-summary__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.config-summary__call,
.config-summary__cart {
  width: 100%;
}

.config-summary__cart {
  margin-bottom: 0.55rem;
}

.map-card {
  margin: 1.5rem 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--violet-line);
  background: var(--bg-elevated);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.map-card__frame {
  display: block;
  width: 100%;
  height: min(52vh, 420px);
  border: 0;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.trade-cards {
  margin: 1.75rem 0 2rem;
}

.trade-card--eval {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trade-card--eval p {
  margin: 0;
  flex: 1;
}

.trade-card__photo-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.trade-photo-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 8, 14, 0.78);
  backdrop-filter: blur(6px);
}

.trade-photo-backdrop[hidden],
.trade-photo-modal[hidden] {
  display: none !important;
}

.trade-photo-modal {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  width: min(22rem, calc(100vw - 2rem));
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: linear-gradient(165deg, rgba(18, 24, 34, 0.98), rgba(8, 12, 18, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  /* translate(-50%,-50%) в анимации — иначе bot-pop сбивает центр */
  transform: translate(-50%, -50%);
  animation: trade-modal-pop 0.3s ease both;
}

@keyframes trade-modal-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.trade-photo-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.trade-photo-modal__close:hover {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.12);
}

.trade-photo-modal__title {
  margin: 0 1.5rem 0.45rem 0;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
}

.trade-photo-modal__text {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #94a3b8;
}

.trade-photo-modal__apps {
  display: grid;
  gap: 0.65rem;
}

.trade-photo-app {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(24, 29, 40, 0.9);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.trade-photo-app:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(125, 211, 252, 0.1);
}

.trade-photo-app__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trade-photo-app__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.trade-photo-app--tg .trade-photo-app__icon {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
}

.trade-photo-app--max .trade-photo-app__icon {
  background: rgba(167, 139, 250, 0.18);
  color: #c4b5fd;
}

.trade-photo-app__body {
  display: grid;
  gap: 0.15rem;
}

.trade-photo-app__body strong {
  font-size: 0.95rem;
  color: #f8fafc;
}

.trade-photo-app__body small {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .header__social,
  .header__tradein,
  .header__faq,
  .header__cart {
    padding: 0.4rem 0.55rem;
    font-size: 0.62rem;
  }

  .nav__link {
    font-size: 0.72rem;
    padding: 0.5rem 0.15rem;
  }

  .builds__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .cards,
  .services__grid,
  .features__grid,
  .builds__grid {
    grid-template-columns: 1fr 1fr;
  }

  .config-layout {
    grid-template-columns: 1fr;
  }

  .config-summary {
    position: static;
    order: -1;
  }
}

.pf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.header__burger-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: #e2e8f0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header.is-menu-open .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-menu-open .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header.is-menu-open .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__nav-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  min-width: 0;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .live-orders {
    display: none !important;
  }

  :root {
    --header-h: 64px;
  }

  .header {
    min-height: var(--header-h);
    height: auto;
    padding: 0.5rem 0.85rem;
    background: rgba(9, 11, 16, 0.97);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .header__inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .header__left {
    flex: 1;
    min-width: 0;
  }

  .header__burger {
    display: flex;
    flex-shrink: 0;
  }

  .header__nav-wrap {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 1rem 2rem;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(9, 11, 16, 0.98) 0%, rgba(6, 8, 12, 0.99) 100%);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(125, 211, 252, 0.12);
  }

  .header.is-menu-open .header__nav-wrap {
    display: flex;
  }

  .header__right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
  }

  .nav__link {
    font-size: 0.82rem;
    padding: 0.85rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.1);
    text-align: center;
  }

  .nav__link::after {
    display: none;
  }

  .header__logo-mark {
    width: 40px;
    height: 40px;
    font-size: 0.82rem;
  }

  .header__logo-text {
    font-size: 0.9rem;
  }

  .header__social span,
  .header__tradein span,
  .header__faq span,
  .header__cart span:not(.header__cart-count) {
    display: none;
  }

  .header__social,
  .header__tradein,
  .header__faq,
  .header__cart {
    padding: 0.55rem;
    min-width: 44px;
    justify-content: center;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.5rem);
    min-height: calc(100dvh - 1rem);
  }

  .page-config,
  .page-sub {
    padding-top: calc(var(--header-h) + 1rem);
  }
}

@media (max-width: 768px) {
  .live-orders {
    display: none !important;
  }
}

@media (max-width: 640px) {

  .hero__sub {
    letter-spacing: 0.18em;
  }

  .cards,
  .services__grid,
  .configurator,
  .contact__form,
  .config-grid-2,
  .features__grid,
  .builds__grid {
    grid-template-columns: 1fr;
  }

  .configurator__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .configurator__footer .btn {
    width: 100%;
  }
}

/* —— Cart drawer —— */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(6, 8, 14, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  z-index: 250;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background:
    linear-gradient(180deg, rgba(28, 34, 48, 0.98), rgba(14, 17, 26, 0.98));
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.cart-drawer__close {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(24, 29, 40, 0.8);
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cart-drawer__close:hover {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.45);
}

.cart-empty {
  margin: 1.25rem 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cart-list {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 22, 32, 0.85);
}

.cart-item__media {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(14, 18, 28, 0.15), rgba(8, 10, 16, 0.55)),
    var(--img) center / cover no-repeat;
  border: 1px solid var(--line);
}

.cart-item__media--empty {
  background:
    linear-gradient(145deg, rgba(125, 211, 252, 0.12), rgba(139, 92, 246, 0.1));
}

.cart-item__name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.cart-item__specs {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem;
  background: rgba(24, 29, 40, 0.7);
}

.cart-item__qty button {
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-item__qty button:hover {
  background: var(--steel-soft);
}

.cart-item__qty span {
  min-width: 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
}

.cart-item__price {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--violet-bright);
}

.cart-item__remove {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-item__remove:hover {
  color: var(--white);
}

.cart-drawer__foot {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.cart-drawer__total span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cart-drawer__total strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

.cart-drawer__foot .btn {
  width: 100%;
  justify-content: center;
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  z-index: 260;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 1.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background:
    linear-gradient(135deg, rgba(22, 28, 40, 0.96), rgba(14, 18, 28, 0.98));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(12px);
  animation: cookie-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(18px);
  pointer-events: none;
}

.cookie-banner__text {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 0.55rem 1.15rem;
  font-size: 0.78rem;
}

@keyframes cookie-rise {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    bottom: 0.75rem;
  }

  .cookie-banner__btn {
    width: 100%;
    justify-content: center;
  }

  .header__cart span:not(.header__cart-count) {
    display: none;
  }

  .header__faq span {
    display: none;
  }

  .header__faq {
    padding: 0.45rem;
  }
}

/* —— FAQ —— */
.faq-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(24, 29, 40, 0.92), rgba(14, 17, 26, 0.95));
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(125, 211, 252, 0.32);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.35;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: "+";
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #7dd3fc);
  font-size: 1.05rem;
  line-height: 1;
  background: rgba(24, 29, 40, 0.8);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] .faq-item__q::after {
  content: "–";
  border-color: rgba(125, 211, 252, 0.4);
}

.faq-item__a {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 68ch;
}

.faq-actions {
  margin-top: 0.5rem;
}

/* —— Checkout modal —— */
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 280;
  background: rgba(6, 8, 14, 0.68);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.checkout-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal {
  position: fixed;
  z-index: 290;
  left: 50%;
  top: 50%;
  width: min(420px, calc(100vw - 1.5rem));
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  padding: 1.45rem 1.35rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background:
    linear-gradient(160deg, rgba(28, 34, 48, 0.98), rgba(14, 17, 26, 0.98));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(24, 29, 40, 0.8);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-modal__close:hover {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.45);
}

.checkout-modal__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.55rem;
  padding-right: 2rem;
}

.checkout-modal__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.checkout-form {
  display: grid;
  gap: 0.75rem;
}

.checkout-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.checkout-form .btn--ghost {
  width: 100%;
  justify-content: center;
}

/* Configurator gate + simple mode */
.config-gate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.5rem 0 2rem;
}

.config-gate__card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 55%),
    var(--bg-elevated);
  padding: 1.4rem 1.3rem 1.5rem;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.config-gate__card:hover {
  border-color: rgba(125, 211, 252, 0.45);
  transform: translateY(-2px);
}

.config-gate__card--detail {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 50%),
    var(--bg-elevated);
}

.config-gate__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel, #7dd3fc);
  margin-bottom: 0.65rem;
}

.config-gate__card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 0.55rem;
}

.config-gate__card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.config-back {
  border: 0;
  background: transparent;
  color: var(--steel, #7dd3fc);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0 0 1rem;
  padding: 0;
}

.config-back:hover {
  color: var(--white);
}

.simple-quiz {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-elevated);
  padding: 1.35rem 1.25rem 1.5rem;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.simple-quiz.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

.simple-quiz__progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.simple-quiz__progress span {
  display: block;
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, #38bdf8, #7dd3fc);
  transition: width 0.3s ease;
}

.simple-quiz__step h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 0 1rem;
}

.simple-quiz__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.simple-opt {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(24, 29, 40, 0.85);
  color: var(--text-muted);
  font: inherit;
  font-weight: 600;
  padding: 0.95rem 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.simple-opt:hover,
.simple-opt.is-active {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(125, 211, 252, 0.12);
}

.simple-quiz__next {
  margin-top: 1rem;
}

.simple-result {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-elevated);
  padding: 1.35rem 1.25rem 1.5rem;
  animation: ram-step-in 0.35s ease;
}

.simple-result h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.simple-result__lead {
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.simple-result__list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.simple-result__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.simple-result__list span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.simple-result__list strong {
  color: var(--white);
  font-weight: 600;
  text-align: right;
}

.simple-result__price {
  font-family: var(--font-display);
  color: var(--steel, #7dd3fc);
  font-size: 1.1rem;
  margin: 0 0 1.1rem;
}

.simple-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
  margin: 0.35rem 0 0.75rem;
}

.brand-grid--lg {
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}

.brand-card {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(24, 29, 40, 0.85);
  color: var(--text-muted);
  padding: 0.65rem 0.5rem 0.75rem;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.brand-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px;
}

.brand-card strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: inherit;
  text-align: center;
}

.brand-card:hover,
.brand-card.is-active {
  color: var(--white);
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(125, 211, 252, 0.12);
}

.part-option__img--lg,
.part-option__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
  padding: 3px;
}

.ram-chip__img {
  width: 42px;
  height: 42px;
}

.part-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.55rem;
}

.vendor-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.72);
  z-index: 80;
}

.vendor-modal {
  position: fixed;
  z-index: 90;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 1.5rem));
  max-height: min(80vh, 640px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-elevated);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.vendor-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.vendor-modal__title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 2rem 0.35rem 0;
}

.vendor-modal__text {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.vendor-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.storage-cart {
  margin-top: 0.75rem;
}

.compat-alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.45);
  background: rgba(251, 146, 60, 0.12);
  color: #fdba74;
  font-size: 0.9rem;
  line-height: 1.45;
}

.compat-alert strong {
  color: #ffedd5;
}

.part-option__desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted);
  font-weight: 500;
}

.part-option--mobo {
  align-items: flex-start;
  padding: 0.65rem 0.7rem;
}

.part-option--case {
  align-items: flex-start;
  padding: 0.75rem 0.7rem;
  gap: 0.85rem;
}

.part-option__img--case {
  width: 120px !important;
  height: 120px !important;
  border-radius: 12px;
  padding: 4px;
  background: #fff;
}

.part-list--cases {
  max-height: 560px;
}

.part-list--mobo {
  max-height: 480px;
}

.brand-card small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.case-builder .ram-step {
  margin-bottom: 0.75rem;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.filter-dd {
  position: relative;
  min-width: min(11rem, 100%);
  flex: 1 1 10rem;
}

.filter-dd__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(24, 29, 40, 0.9);
  color: var(--white);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.filter-dd__btn::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
}

.filter-dd__btn:hover,
.filter-dd__btn[aria-expanded="true"] {
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(125, 211, 252, 0.1);
}

.filter-dd__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow: auto;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  background: rgba(10, 14, 20, 0.98);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 0.2rem;
}

.filter-dd__menu[hidden] {
  display: none !important;
}

.filter-dd__opt {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

.filter-dd__opt:hover,
.filter-dd__opt.is-active {
  background: rgba(125, 211, 252, 0.12);
  color: #e2f4ff;
}

.cooling-pick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cooling-card {
  cursor: pointer;
}

.cooling-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cooling-card__box {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(24, 29, 40, 0.85);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-height: 100%;
}

.cooling-card__box strong {
  font-size: 0.95rem;
  color: var(--white);
}

.cooling-card__box small {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #94a3b8;
}

.cooling-card input:checked + .cooling-card__box {
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(125, 211, 252, 0.12);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.2);
}

.cooling-card:hover .cooling-card__box {
  border-color: rgba(125, 211, 252, 0.4);
}

@media (max-width: 640px) {
  .cooling-pick {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .part-option__img--case {
    width: 88px !important;
    height: 88px !important;
  }
}

.ram-chip.is-disabled,
.ram-chip:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.rec-badge,
.warn-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.rec-badge {
  color: #86efac;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.warn-badge {
  color: #fdba74;
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.part-option.is-recommended {
  border-color: rgba(34, 197, 94, 0.35);
}

.part-option.is-weak {
  opacity: 0.78;
}

.config-gate.is-leaving {
  animation: gate-out 0.42s ease forwards;
  pointer-events: none;
}

.simple-flow.is-entering,
.simple-result.is-entering,
.simple-quiz__step.is-pop {
  animation: soft-in 0.45s ease;
}

@keyframes gate-out {
  to {
    opacity: 0;
    transform: translateY(-18px) scale(0.97);
    filter: blur(4px);
  }
}

@keyframes soft-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.simple-budget-custom {
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
}

.simple-budget-custom input {
  font: inherit;
  color: var(--text);
  background: rgba(9, 11, 16, 0.75);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.simple-result__visual {
  margin: 0 0 1.1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: #0b0f16;
}

.simple-result__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.8s ease;
}

.simple-result__visual img.is-shown {
  opacity: 1;
  transform: scale(1);
}

.fx-soft {
  transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.fx-soft:hover {
  transform: translateY(-1px);
}

.header__logo-mark {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.header__logo:hover .header__logo-mark {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.35);
}

.config-block {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.config-block.is-open {
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.12);
}

.noise {
  animation: noise-drift 18s linear infinite;
  opacity: 0.035;
}

@keyframes noise-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2%, -3%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .config-gate.is-leaving,
  .simple-flow.is-entering,
  .simple-result.is-entering,
  .noise,
  .fx-soft,
  .forge-bot__avatar,
  .forge-bot__eye,
  .forge-bot__pulse,
  .forge-bot__sms,
  .forge-bot__bob,
  .forge-bot__rig,
  .forge-bot__arm,
  .forge-bot__leg,
  .forge-bot__antenna i,
  .forge-bot__core,
  .forge-bot__mouth,
  .feature__icon {
    animation: none !important;
    transition: none !important;
  }
}

/* —— Interactive flair —— */
.fx-tilt {
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.feature:hover .feature__icon {
  transform: translateY(-4px) scale(1.08) rotate(-4deg);
  color: var(--steel, #7dd3fc);
}

.feature__icon {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.hero__tags li {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero__tags li:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(125, 211, 252, 0.55);
  color: #e2f4ff;
  background: rgba(125, 211, 252, 0.1);
}

.btn--primary,
.btn--ghost {
  position: relative;
  overflow: hidden;
}

.btn--primary::after,
.btn--ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.btn--primary:hover::after,
.btn--ghost:hover::after {
  transform: translateX(120%);
}

.builds__cta {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.builds__cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.builds__cta:hover .builds__cta-arrow {
  transform: translateX(6px);
}

.builds__cta-arrow {
  transition: transform 0.3s ease;
}

/* —— Forge Bot helper —— */
.forge-bot {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.75rem, calc(1.25rem + env(safe-area-inset-bottom, 0px)));
  z-index: 80;
  width: 5.6rem;
  height: 7.6rem;
  pointer-events: none;
  overflow: visible;
}

.forge-bot__sms {
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.7rem);
  width: min(15.5rem, calc(100vw - 5.5rem));
  min-height: 3.4rem;
  background: linear-gradient(160deg, rgba(16, 22, 32, 0.96), rgba(8, 12, 18, 0.94));
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 16px 16px 6px 16px;
  padding: 0.75rem 0.9rem;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  overflow: hidden;
  animation: bot-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.forge-bot__sms::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: rgba(10, 14, 20, 0.96);
  border-right: 1px solid rgba(125, 211, 252, 0.4);
  border-bottom: 1px solid rgba(125, 211, 252, 0.4);
  transform: rotate(45deg);
}

.forge-bot__sms-track {
  position: relative;
  min-height: 2.4rem;
}

.forge-bot__sms-msg {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #e8eef6;
  font-weight: 500;
  transition: opacity 0.65s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.forge-bot__sms-msg.is-enter {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
}

.forge-bot__sms-msg.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.forge-bot__sms-msg.is-leave {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
}

.forge-bot__sms-msg::after {
  content: none;
}

.forge-bot__sms-msg.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.35em;
  height: 1em;
  margin-left: 1px;
  vertical-align: -0.1em;
  background: #7dd3fc;
  animation: bot-caret 0.9s steps(1) infinite;
}

.forge-bot.is-open .forge-bot__sms {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* —— Live fake orders (fixed bottom-left) —— */
.live-orders {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  bottom: max(1.75rem, calc(1.25rem + env(safe-area-inset-bottom, 0px)));
  z-index: 70;
  width: min(16.5rem, calc(100vw - 2rem));
  padding: 0.7rem 0.8rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: linear-gradient(165deg, rgba(16, 22, 32, 0.94), rgba(8, 12, 18, 0.92));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  pointer-events: none;
  transform: none !important;
}

.live-orders__label {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.live-orders__list {
  display: grid;
  gap: 0.4rem;
}

.live-orders__item {
  display: grid;
  gap: 0.1rem;
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
  animation: live-order-in 0.45s ease both;
}

.live-orders__item.is-new {
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.08);
}

.live-orders__name {
  font-size: 0.78rem;
  font-weight: 650;
  color: #e8eef6;
  line-height: 1.3;
}

.live-orders__spec {
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.35;
}

.live-orders__time {
  font-size: 0.64rem;
  color: #64748b;
}

@keyframes live-order-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-orders__item {
    animation: none;
  }
}

.cursor-glow,
.cursor-glow.is-on {
  display: none !important;
}

/* Standing mini robot — not an icon button */
.forge-bot__toggle {
  pointer-events: auto;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 5.6rem;
  height: 7.6rem;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  cursor: pointer;
  perspective: 700px;
  overflow: visible;
  transition: transform 0.25s ease;
}

.forge-bot__toggle:hover {
  transform: translateY(-5px);
}

.forge-bot__figure {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  perspective: 600px;
}

.forge-bot__shadow {
  position: absolute;
  bottom: 0.15rem;
  left: 50%;
  width: 2.8rem;
  height: 0.55rem;
  margin-left: -1.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  filter: blur(3px);
  animation: bot-shadow 2.8s ease-in-out infinite;
}

.forge-bot__rig {
  position: relative;
  width: 3.6rem;
  height: 6.4rem;
  margin-bottom: 0.35rem;
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(6deg);
  transition: transform 0.25s ease;
}

.forge-bot__bob {
  display: block;
  transform-origin: bottom center;
  animation: bot-bob 2.8s ease-in-out infinite;
}

.forge-bot__antenna {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 0.7rem;
  margin-left: -1px;
  background: linear-gradient(#7dd3fc, #334155);
  transform: translateZ(12px);
  z-index: 5;
}

.forge-bot__antenna i {
  position: absolute;
  top: -0.38rem;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: -0.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff7ad, #f59e0b 55%, #b45309);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.85);
  animation: bot-antenna 1.8s ease-in-out infinite;
}

.forge-bot__ear {
  position: absolute;
  top: 1.05rem;
  width: 0.38rem;
  height: 0.7rem;
  border-radius: 0.2rem;
  background: linear-gradient(180deg, #4b5f7a, #1e293b);
  border: 1px solid rgba(125, 211, 252, 0.35);
  z-index: 2;
}

.forge-bot__ear--l {
  left: 0.12rem;
  transform: translateZ(4px) rotateZ(-8deg);
}

.forge-bot__ear--r {
  right: 0.12rem;
  transform: translateZ(4px) rotateZ(8deg);
}

.forge-bot__head {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 2.35rem;
  height: 1.85rem;
  margin-left: -1.175rem;
  border-radius: 0.7rem 0.7rem 0.55rem 0.55rem;
  background:
    linear-gradient(145deg, #5b7190 0%, #2c3c52 42%, #152033 100%);
  border: 1px solid rgba(125, 211, 252, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    5px 7px 0 rgba(0, 0, 0, 0.28);
  transform: translateZ(18px);
  z-index: 4;
}

.forge-bot__face {
  position: absolute;
  inset: 0.28rem 0.28rem 0.22rem;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, #0a1220, #111827);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.2);
}

.forge-bot__eye {
  position: absolute;
  top: 0.28rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e0f2fe, #38bdf8 55%, #0284c7);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.95);
  animation: bot-blink 4.8s ease-in-out infinite;
}

.forge-bot__eye--l { left: 0.28rem; }
.forge-bot__eye--r { right: 0.28rem; animation-delay: 0.1s; }

.forge-bot__mouth {
  position: absolute;
  bottom: 0.22rem;
  left: 50%;
  width: 0.7rem;
  height: 0.18rem;
  margin-left: -0.35rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background: #64748b;
  box-shadow: inset 0 -1px 0 rgba(125, 211, 252, 0.35);
  animation: bot-talk 3.6s ease-in-out infinite;
}

.forge-bot__neck {
  position: absolute;
  top: 2.4rem;
  left: 50%;
  width: 0.55rem;
  height: 0.35rem;
  margin-left: -0.275rem;
  border-radius: 0.15rem;
  background: #334155;
  border: 1px solid rgba(125, 211, 252, 0.25);
  transform: translateZ(10px);
  z-index: 3;
}

.forge-bot__body {
  position: absolute;
  top: 2.65rem;
  left: 50%;
  width: 2.55rem;
  height: 1.85rem;
  margin-left: -1.275rem;
  transform-style: preserve-3d;
  z-index: 3;
}

.forge-bot__chest {
  position: absolute;
  inset: 0 0.35rem;
  border-radius: 0.55rem;
  background: linear-gradient(165deg, #3d516c, #1a2433 55%, #0f1622);
  border: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    6px 8px 0 rgba(0, 0, 0, 0.3);
  transform: translateZ(12px);
}

.forge-bot__core {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: -0.35rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #bae6fd, #0ea5e9 60%, #0369a1);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.8);
  animation: bot-core 2.2s ease-in-out infinite;
}

.forge-bot__vent {
  position: absolute;
  bottom: 0.28rem;
  left: 0.28rem;
  right: 0.28rem;
  height: 0.28rem;
  border-radius: 0.12rem;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(125, 211, 252, 0.35) 0 2px,
      transparent 2px 5px
    );
  opacity: 0.7;
}

.forge-bot__arm {
  position: absolute;
  top: 0.1rem;
  width: 0.48rem;
  height: 1.45rem;
  border-radius: 0.3rem;
  background: linear-gradient(180deg, #4b607c, #1e293b);
  border: 1px solid rgba(125, 211, 252, 0.35);
  transform-origin: top center;
  transform-style: preserve-3d;
  z-index: 2;
}

.forge-bot__arm--l {
  left: -0.05rem;
  transform: translateZ(8px) rotateZ(14deg);
  animation: bot-wave-l 3.4s ease-in-out infinite;
}

.forge-bot__arm--r {
  right: -0.05rem;
  transform: translateZ(8px) rotateZ(-14deg);
  animation: bot-wave-r 3.4s ease-in-out infinite;
}

.forge-bot__hand {
  position: absolute;
  bottom: -0.22rem;
  left: 50%;
  width: 0.5rem;
  height: 0.42rem;
  margin-left: -0.25rem;
  border-radius: 0.2rem;
  background: linear-gradient(180deg, #64748b, #334155);
  border: 1px solid rgba(125, 211, 252, 0.3);
}

.forge-bot__hips {
  position: absolute;
  top: 4.4rem;
  left: 50%;
  width: 1.5rem;
  height: 0.4rem;
  margin-left: -0.75rem;
  border-radius: 0.2rem;
  background: #1e293b;
  border: 1px solid rgba(125, 211, 252, 0.25);
  transform: translateZ(8px);
  z-index: 2;
}

.forge-bot__legs {
  position: absolute;
  top: 4.7rem;
  left: 50%;
  width: 2rem;
  height: 1.5rem;
  margin-left: -1rem;
  transform-style: preserve-3d;
  z-index: 1;
}

.forge-bot__leg {
  position: absolute;
  top: 0;
  width: 0.55rem;
  height: 1.15rem;
  border-radius: 0.25rem;
  background: linear-gradient(180deg, #334155, #0f172a);
  border: 1px solid rgba(125, 211, 252, 0.28);
  transform-origin: top center;
}

.forge-bot__leg--l {
  left: 0.15rem;
  transform: translateZ(6px) rotateZ(4deg);
  animation: bot-step-l 2.8s ease-in-out infinite;
}

.forge-bot__leg--r {
  right: 0.15rem;
  transform: translateZ(6px) rotateZ(-4deg);
  animation: bot-step-r 2.8s ease-in-out infinite;
}

.forge-bot__foot {
  position: absolute;
  bottom: -0.28rem;
  left: 50%;
  width: 0.72rem;
  height: 0.32rem;
  margin-left: -0.36rem;
  border-radius: 0.2rem 0.35rem 0.15rem 0.15rem;
  background: #475569;
  border: 1px solid rgba(125, 211, 252, 0.25);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25);
}

.forge-bot__avatar,
.forge-bot__pulse,
.forge-bot__stage,
.forge-bot__torso,
.forge-bot__visor {
  display: none !important;
}

.forge-bot__panel {
  pointer-events: auto;
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.7rem);
  width: min(17rem, calc(100vw - 2rem));
  background: rgba(10, 14, 20, 0.96);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 16px;
  padding: 0.85rem;
  display: grid;
  gap: 0.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  animation: bot-pop 0.35s ease both;
}

.forge-bot__panel[hidden] {
  display: none !important;
}

.forge-bot__panel-title {
  margin: 0 0 0.25rem;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.forge-bot__link {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.forge-bot__link:hover {
  background: rgba(125, 211, 252, 0.1);
  border-color: rgba(125, 211, 252, 0.4);
  transform: translateX(3px);
}

.forge-bot__close {
  margin-top: 0.2rem;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  text-align: left;
  padding: 0.35rem 0.5rem;
}

.forge-bot__close:hover {
  color: #e2e8f0;
}

@keyframes bot-antenna {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.72; }
}

@keyframes bot-core {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(14, 165, 233, 0.7); }
  50% { transform: scale(1.12); box-shadow: 0 0 16px rgba(56, 189, 248, 1); }
}

@keyframes bot-wave-l {
  0%, 100% { transform: translateZ(8px) rotateZ(14deg); }
  45% { transform: translateZ(8px) rotateZ(28deg); }
  55% { transform: translateZ(8px) rotateZ(8deg); }
}

@keyframes bot-wave-r {
  0%, 100% { transform: translateZ(8px) rotateZ(-14deg); }
  50% { transform: translateZ(8px) rotateZ(-22deg); }
}

@keyframes bot-step-l {
  0%, 100% { transform: translateZ(6px) rotateZ(4deg); }
  50% { transform: translateZ(6px) rotateZ(-2deg); }
}

@keyframes bot-step-r {
  0%, 100% { transform: translateZ(6px) rotateZ(-4deg); }
  50% { transform: translateZ(6px) rotateZ(2deg); }
}

@keyframes bot-talk {
  0%, 60%, 100% { height: 0.18rem; }
  70% { height: 0.32rem; }
  80% { height: 0.14rem; }
}

@keyframes bot-caret {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes bot-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes bot-shadow {
  0%, 100% { transform: scaleX(1); opacity: 0.55; }
  50% { transform: scaleX(0.82); opacity: 0.35; }
}

@keyframes bot-blink {
  0%, 42%, 48%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.12); }
}

@keyframes bot-ring {
  0% { opacity: 0.7; transform: scale(0.92); }
  100% { opacity: 0; transform: scale(1.2); }
}

@keyframes bot-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bot-swap {
  0% { opacity: 0.4; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .forge-bot {
    right: 0.55rem;
    bottom: max(1.4rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
    width: 4.9rem;
    height: 6.7rem;
  }

  .forge-bot__toggle {
    width: 4.9rem;
    height: 6.7rem;
  }

  .forge-bot__bob {
    transform: scale(0.88);
    transform-origin: bottom center;
  }

  .live-orders {
    left: 0.55rem;
    bottom: max(1.4rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
    width: min(15.5rem, calc(100vw - 1.2rem));
  }
}

.brand-card {
  text-align: left;
  align-items: stretch;
  justify-items: stretch;
}

.brand-card img {
  justify-self: center;
}

.brand-card strong {
  text-align: left;
}

.brand-card__desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #94a3b8;
  font-weight: 500;
}

.brand-card__price {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7dd3fc;
}

.brand-card small {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
}
