:root {
  --bg: #0b0b0f;
  --bg-2: #151518;
  --panel: rgba(24, 24, 31, .82);
  --panel-solid: #1d1d23;
  --text: #f7f7fb;
  --muted: #a6a6b3;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --violet: #8d5cff;
  --violet-2: #bd8cff;
  --purple: #5c24c9;
  --cyan: #35d6ff;
  --lime: #b7ff00;
  --white: #ffffff;
  --danger: #fb7185;
  --success: #5eead4;
  --radius: 28px;
  --container: 1340px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, rgba(141, 92, 255, .17), transparent 32vw),
    radial-gradient(circle at 86% 18%, rgba(53, 214, 255, .12), transparent 26vw),
    linear-gradient(180deg, #07070b 0%, var(--bg) 45%, #030305 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.2) 55%, transparent);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.section-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(15, 15, 17, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.header-line {
  width: min(var(--container), calc(100% - 48px));
  height: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.55);
  font-size: 14px;
}
.header-main {
  width: min(var(--container), calc(100% - 48px));
  height: 56px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.05em; }
.logo-word {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -.07em;
}
.logo-word span { color: var(--text); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: 15px;
  transition: color .25s ease, transform .25s ease;
}
.nav a:hover { color: var(--white); transform: translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn, .nav-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  color: #fff;
  background: transparent;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  transition: background .25s ease, transform .25s ease;
}
.icon-btn:hover, .nav-toggle:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: #101010;
  font-size: 11px;
  font-weight: 900;
}
.nav-toggle { display: none; }

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 620px;
  padding: 28px 0 86px;
  background: #141414;
  overflow: hidden;
}
.hero-slider__track {
  position: relative;
  width: min(calc(100% - 48px), 1580px);
  height: 560px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015) translateX(24px);
  transition: opacity .9s ease, transform 1.05s cubic-bezier(.2,.75,.2,1);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: scale(1) translateX(0); pointer-events: auto; }
.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.44) 34%, rgba(0,0,0,.14) 62%, rgba(0,0,0,.35) 100%),
    linear-gradient(0deg, rgba(0,0,0,.62), transparent 42%);
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: min(620px, 90%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
}
.hero-slide__content h1 {
  margin: 8px 0 18px;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: .92;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.hero-slide__content p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255,255,255,.76);
  font-size: 18px;
  line-height: 1.55;
}
.hero-slider__controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}
.slider-dots { display: flex; align-items: center; gap: 8px; }
.slider-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  transition: width .3s ease, background .3s ease;
}
.slider-dot.is-active { width: 34px; background: var(--lime); }
.slider-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.07);
  transition: transform .25s ease, background .25s ease;
}
.slider-arrow:hover { transform: scale(1.08); background: rgba(255,255,255,.14); }

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-heading { margin-bottom: 42px; }
.section-heading h2, .page-hero h1, .admin-card h2, .admin-login h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: .96;
  letter-spacing: -.06em;
}
.section-heading p, .page-hero p, .feature-card p, .steps p, .footer p, .review-card p, .admin-card p {
  color: var(--muted);
  line-height: 1.65;
}
.section-heading--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.lime-link { color: var(--lime); font-weight: 900; transition: opacity .25s ease; }
.lime-link:hover { opacity: .72; }

.btn {
  min-height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 14px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #0b0b10;
  background: #fff;
  box-shadow: 0 16px 42px rgba(255,255,255,.16);
}
.btn-primary:hover { background: var(--lime); box-shadow: 0 18px 50px rgba(183,255,0,.24); }
.btn-ghost {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.product-showcase { padding: 72px 0 88px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 34px;
}
.product-card {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  text-align: center;
  animation: cardIn .65s ease both;
}
.product-card__image {
  position: relative;
  height: 318px;
  padding: 24px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.22), transparent 20%),
    linear-gradient(160deg, #b695ff 0%, #8c4df3 48%, #5f23bd 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 26px 60px rgba(0,0,0,.3);
  transition: transform .35s ease, box-shadow .35s ease;
}
.product-card:nth-child(2n) .product-card__image { background: linear-gradient(160deg, #cbb8ff 0%, #8e53e9 50%, #2b155f 100%); }
.product-card:nth-child(3n) .product-card__image { background: linear-gradient(160deg, #bd87ff 0%, #9e55ee 45%, #1f1f26 100%); }
.product-card:hover .product-card__image { transform: translateY(-8px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 40px 80px rgba(87,39,189,.38); }
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 22px rgba(0,0,0,.28));
  transform: scale(1.02);
  transition: transform .5s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.08); }
.product-card__badge {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  min-width: 92px;
  padding: 8px 18px;
  border: 2px solid rgba(255,255,255,.86);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: lowercase;
  background: rgba(72, 27, 161, .18);
}
.product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 10px 0;
}
.product-card__category {
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 800;
}
.product-card__title {
  margin: 8px 0 18px;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.product-card__description {
  margin: 0 0 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.45;
  max-width: 360px;
  min-height: 62px;
}
.product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
}
.product-specs li {
  display: flex;
  justify-content: center;
  gap: 7px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
}
.product-specs span { color: rgba(255,255,255,.55); }
.product-specs b { color: #fff; }
.product-card__bottom {
  margin-top: auto;
  display: grid;
  justify-items: center;
  gap: 20px;
}
.product-card__price {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.atelier, .gallery-section, .steps, .reviews, .custom-request, .page-hero { padding: 88px 0; }
.feature-grid, .steps-grid, .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card, .steps-grid article, .review-card, .custom-request__panel, .admin-card, .admin-topbar {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-card, .steps-grid article, .review-card { padding: 28px; position: relative; overflow: hidden; }
.feature-card::before, .review-card::before {
  content: "";
  position: absolute;
  inset: -90px auto auto -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(141,92,255,.18);
  filter: blur(10px);
}
.feature-card__num, .steps-grid b { color: var(--violet-2); font-size: 48px; font-weight: 900; letter-spacing: -.06em; }
.feature-card h3, .steps-grid h3, .review-card h3 { margin: 16px 0 10px; font-size: 24px; letter-spacing: -.04em; }
.custom-request__panel {
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 46px;
  background:
    radial-gradient(circle at 82% 30%, rgba(183,255,0,.18), transparent 18%),
    radial-gradient(circle at 18% 20%, rgba(141,92,255,.32), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
}
.custom-request__panel h2 { margin: 0 0 12px; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.06em; line-height: .95; }
.custom-request__panel p { max-width: 680px; color: var(--muted); line-height: 1.6; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.gallery-card {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #101018;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.gallery-card:first-child { grid-row: span 2; min-height: 500px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(12px);
  font-weight: 900;
}
.reviews-rating {
  min-width: 190px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  display: grid;
  gap: 4px;
}
.reviews-rating b { font-size: 44px; line-height: .9; }
.reviews-rating span, .review-card span { color: #ffc857; letter-spacing: .08em; }
.reviews-rating small { color: var(--muted); }

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 14px;
  margin-bottom: 34px;
}
.catalog-toolbar input, .catalog-toolbar select,
.admin-form input, .admin-form textarea, .admin-form select,
.form-grid input, .form-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.16);
  outline: 0;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.catalog-toolbar input:focus, .catalog-toolbar select:focus,
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus,
.form-grid input:focus, .form-grid textarea:focus {
  border-color: rgba(189,140,255,.7);
  box-shadow: 0 0 0 4px rgba(141,92,255,.14);
  background: rgba(255,255,255,.1);
}
.form-grid, .product-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid__wide { grid-column: 1 / -1; }
label { display: grid; gap: 7px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
textarea { resize: vertical; }
.form-message { margin: 0; min-height: 24px; color: var(--muted); }
.form-message.ok { color: var(--success); }
.form-message.error { color: var(--danger); }

.modal, .cart-drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open, .cart-drawer.is-open { display: block; }
.modal__overlay, .cart-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(12px); }
.modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #17171d;
  box-shadow: var(--shadow);
  animation: modalIn .35s ease both;
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.modal__actions, .cart-drawer__actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.order-config { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.order-config span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
}
.order-config b { display: block; color: #fff; margin-top: 4px; }
.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100%;
  padding: 36px 26px;
  background: #17171d;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: drawerIn .35s ease both;
}
.cart-items { display: grid; gap: 12px; margin: 24px 0; max-height: calc(100vh - 240px); overflow: auto; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
}
.cart-item img { width: 72px; height: 58px; object-fit: contain; border-radius: 12px; background: linear-gradient(135deg, #ad84ff, #4c1b9f); }
.cart-item h3 { margin: 0 0 4px; font-size: 15px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-remove { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #fff; background: rgba(251,113,133,.16); }

.footer {
  width: min(var(--container), calc(100% - 48px));
  margin: 60px auto 0;
  padding: 38px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 28px;
  border-top: 1px solid var(--line);
}
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer a:hover { color: var(--violet-2); }

.admin-body { min-height: 100vh; padding: 42px 0; }
.admin-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.admin-login { max-width: 500px; margin: 72px auto; padding: 34px; }
.admin-dashboard { display: grid; gap: 22px; }
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
}
.admin-topbar h1 { margin: 0; font-size: clamp(32px, 5vw, 54px); }
.admin-topbar__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-tabs {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.05);
}
.admin-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  color: rgba(255,255,255,.72);
  background: transparent;
  font-weight: 900;
}
.admin-tab.is-active { color: #0a0a0c; background: #fff; }
.admin-tab-panel { display: none; }
.admin-tab-panel.is-active { display: block; }
.admin-card { padding: 28px; }
.admin-card--wide { width: 100%; }
.admin-card__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-card__head h2 { margin-bottom: 0; }
.admin-form { display: grid; gap: 14px; margin-bottom: 24px; }
.admin-list { display: grid; gap: 12px; }
.admin-list-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.admin-list-item img { width: 110px; height: 74px; object-fit: cover; border-radius: 12px; background: #111; }
.admin-list-item h3 { margin: 0 0 6px; font-size: 17px; }
.admin-list-item p { margin: 0; font-size: 13px; line-height: 1.45; }
.admin-list-item__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.danger { color: #fff; background: rgba(251,113,133,.16); border-color: rgba(251,113,133,.35); }
code { color: var(--cyan); }

.reveal { animation: reveal .75s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -47%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes drawerIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

@media (max-width: 1120px) {
  .nav { gap: 16px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-slide__content { padding: 46px; }
}
@media (max-width: 860px) {
  .header-main { grid-template-columns: auto 1fr; }
  .nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15,15,17,.98);
  }
  .nav.is-open { display: grid; }
  .nav-toggle { display: inline-grid; }
  .header-actions { justify-content: end; }
  .hero-slider__track { height: 500px; }
  .hero-slide__content { width: 100%; padding: 32px; }
  .feature-grid, .steps-grid, .reviews-grid, .gallery-grid, .footer { grid-template-columns: 1fr; }
  .gallery-card:first-child { grid-row: span 1; min-height: 320px; }
  .section-heading--row, .custom-request__panel, .admin-topbar, .admin-card__head { align-items: start; flex-direction: column; }
  .catalog-toolbar, .form-grid, .product-form, .order-config { grid-template-columns: 1fr; }
  .admin-list-item { grid-template-columns: 82px 1fr; }
  .admin-list-item__actions { grid-column: 1 / -1; justify-content: start; }
}
@media (max-width: 620px) {
  .section-shell, .header-line, .header-main, .footer { width: min(100% - 24px, var(--container)); }
  .header-phone { display: none; }
  .logo-word { font-size: 22px; }
  .hero-slider { min-height: 560px; padding-top: 16px; }
  .hero-slider__track { width: calc(100% - 24px); height: 480px; }
  .hero-slide__content h1 { font-size: 42px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .product-card__image { height: 290px; }
  .modal__content { padding: 26px 18px; }
}

/* v3: catalog compare + more stable header/cart order UI */
.site-header,
.site-header * {
  box-sizing: border-box;
}
.site-header a,
.site-header button {
  text-decoration: none;
}
.compare-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--violet-2);
  color: #09090d;
  font-size: 11px;
  font-weight: 900;
}
.product-card.is-compared .product-card__image {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 0 0 2px rgba(189,140,255,.72),
    0 34px 88px rgba(141,92,255,.34);
}
.product-card__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: min(100%, 430px);
}
.product-card__actions .btn {
  min-width: 126px;
  padding-inline: 18px;
}
.compare-toggle.is-active {
  color: #08080c;
  border-color: transparent;
  background: linear-gradient(90deg, var(--violet-2), #fff);
  box-shadow: 0 18px 48px rgba(189,140,255,.2);
}
.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(189,140,255,.34);
  border-radius: 24px;
  background: rgba(16, 16, 22, .84);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 48px rgba(141,92,255,.16);
  animation: compareBarIn .32s ease both;
}
.compare-bar__label {
  display: block;
  margin-bottom: 3px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.compare-bar b {
  color: #fff;
  font-size: 15px;
}
.compare-bar__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.compare-modal__content {
  width: min(1120px, calc(100% - 32px));
  background:
    radial-gradient(circle at 20% 0%, rgba(141,92,255,.2), transparent 36%),
    #15151b;
}
.compare-modal__hint {
  margin: -4px 0 22px;
  color: var(--muted);
  line-height: 1.6;
}
.compare-content {
  display: grid;
  gap: 18px;
}
.compare-empty {
  padding: 24px;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
}
.compare-empty h3 {
  margin: 0 0 10px;
  color: #fff;
}
.compare-products-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.compare-product-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}
.compare-product-head img {
  width: 150px;
  height: 118px;
  object-fit: contain;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 15%, rgba(255,255,255,.22), transparent 25%), linear-gradient(145deg, #b997ff, #5320ac);
}
.compare-product-head span {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.compare-product-head h3 {
  margin: 7px 0 10px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: .98;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.compare-product-head b {
  color: #fff;
}
.compare-table {
  display: grid;
  gap: 8px;
}
.compare-row {
  display: grid;
  grid-template-columns: 190px repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.compare-cell {
  min-height: 52px;
  padding: 14px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.045);
  line-height: 1.35;
}
.compare-cell--label {
  color: rgba(255,255,255,.55);
  font-weight: 900;
}
.compare-row.is-different .compare-cell:not(.compare-cell--label) {
  border-color: rgba(189,140,255,.42);
  background: linear-gradient(135deg, rgba(141,92,255,.16), rgba(255,255,255,.045));
  box-shadow: inset 0 0 24px rgba(141,92,255,.06);
}
.compare-modal__actions {
  margin-top: 22px;
}
@keyframes compareBarIn {
  from { opacity: 0; transform: translate(-50%, 18px) scale(.98); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (max-width: 860px) {
  .compare-products-head,
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-cell--label {
    min-height: auto;
    background: transparent;
    border-color: transparent;
    padding-bottom: 2px;
  }
  .compare-product-head {
    grid-template-columns: 112px 1fr;
  }
  .compare-product-head img {
    width: 112px;
    height: 92px;
  }
  .compare-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .compare-bar__actions {
    justify-content: stretch;
  }
  .compare-bar__actions .btn {
    flex: 1;
  }
}

@media (max-width: 620px) {
  .product-card__actions {
    flex-direction: column;
  }
  .product-card__actions .btn {
    width: 100%;
  }
  .compare-product-head {
    grid-template-columns: 1fr;
  }
  .compare-product-head img {
    width: 100%;
    height: 170px;
  }
}
