:root {
  --bg: #0d0f12;
  --bg-elevated: #151920;
  --bg-soft: #1b212b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1f4;
  --muted: #9aa3b2;
  --accent: #e85d04;
  --accent-hover: #ff7a1a;
  --accent-dim: rgba(232, 93, 4, 0.15);
  --ok: #3d9a6a;
  --danger: #d64545;
  --warn: #c9a227;
  --radius: 4px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", sans-serif;
  --display: "Bebas Neue", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, var(--accent), #9b3b00);
  color: #fff;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.logo-img {
  display: block;
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.72rem;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
}

.header-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius);
  transition: 0.2s ease;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
}

.btn-danger {
  background: transparent;
  border-color: rgba(214, 69, 69, 0.5);
  color: #ff8d8d;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(232, 93, 4, 0.35), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(232, 93, 4, 0.08), transparent 50%),
    linear-gradient(160deg, #090b0e 0%, #12161c 42%, #0a0c10 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 72px,
      rgba(255, 255, 255, 0.02) 72px,
      rgba(255, 255, 255, 0.02) 73px
    );
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}

.hero-bg.has-photo {
  background:
    linear-gradient(105deg, rgba(8, 10, 12, 0.96) 28%, rgba(8, 10, 12, 0.55) 58%, rgba(8, 10, 12, 0.82)),
    var(--hero-photo) right center / cover no-repeat;
}

.hero-bg.has-photo::before {
  opacity: 0.4;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  pointer-events: none;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-beam {
  position: absolute;
  z-index: 0;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: linear-gradient(118deg, transparent 35%, rgba(232, 93, 4, 0.18) 48%, transparent 62%);
  transform: rotate(-8deg);
  animation: beamPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-frame {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(6.5rem, 12vh, 9rem) 0 2.5rem;
}

.hero-main {
  max-width: 38rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  animation: heroIn 0.7s ease both;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: heroIn 0.8s ease 0.05s both;
}

.hero-brand-a,
.hero-brand-b {
  display: block;
}

.hero-brand-a {
  font-size: clamp(3.8rem, 12vw, 8.2rem);
  color: #f4f6f8;
}

.hero-brand-b {
  font-size: clamp(3.2rem, 10vw, 6.8rem);
  color: var(--accent);
  margin-top: 0.02em;
  text-shadow: 0 0 40px rgba(232, 93, 4, 0.35);
}

.hero-kicker {
  margin: 1.1rem 0 0.85rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: #d7dde6;
  animation: heroIn 0.85s ease 0.1s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #9aa3b2;
  animation: heroIn 0.9s ease 0.14s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: heroIn 0.95s ease 0.18s both;
}

.hero-cta-primary {
  min-width: 11rem;
  box-shadow: 0 0 0 1px rgba(232, 93, 4, 0.4), 0 12px 40px rgba(232, 93, 4, 0.25);
}

.hero-disc {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: heroIn 1s ease 0.12s both;
}

.disc-svg {
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.42);
  animation: discSpin 28s linear infinite;
  filter: drop-shadow(0 0 30px rgba(232, 93, 4, 0.2));
}

.disc-outer {
  color: rgba(255, 255, 255, 0.55);
  stroke: rgba(255, 255, 255, 0.55);
}

.disc-mid {
  color: rgba(255, 255, 255, 0.28);
  stroke: rgba(255, 255, 255, 0.28);
}

.disc-hub,
.disc-bolt {
  fill: #e85d04;
  color: #e85d04;
}

.disc-accent {
  stroke: #e85d04;
  color: #e85d04;
}

.disc-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.28), transparent 65%);
  animation: discGlow 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-rail {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.28);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  pointer-events: none;
}

.hero-rail span + span {
  margin-top: 0.35rem;
}

.hero-rail span::after {
  content: "";
}

.hero-marquee {
  position: relative;
  z-index: 2;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hero-marquee-track {
  display: flex;
  gap: 2.75rem;
  width: max-content;
  padding: 1rem 0;
  animation: marquee 26s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.hero-marquee-track span::after {
  content: "/";
  margin-left: 2.75rem;
  color: var(--accent);
}

@keyframes beamPulse {
  from { opacity: 0.55; transform: rotate(-8deg) translateX(0); }
  to { opacity: 1; transform: rotate(-8deg) translateX(-2%); }
}

@keyframes discSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes discGlow {
  from { opacity: 0.55; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .disc-svg,
  .hero-marquee-track,
  .hero-beam,
  .disc-glow {
    animation: none !important;
  }

  .hero-main > *,
  .hero-disc {
    animation: none !important;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.page-hero {
  padding: 3rem 0 1rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(232, 93, 4, 0.08), transparent 70%),
    var(--bg);
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.admin-h2 {
  font-family: var(--display);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  margin: 0;
  font-weight: 400;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.link-arrow {
  color: var(--muted);
  font-weight: 600;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.brand-chip {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
  transition: 0.2s ease;
}

.brand-chip:hover {
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.brand-chip.muted {
  color: var(--muted);
  pointer-events: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 93, 4, 0.45);
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #10141b;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
}

.product-card-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.product-card h3 a {
  color: var(--text);
}

.sku {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price-block strong {
  font-size: 1.15rem;
}

.price-block s {
  color: var(--muted);
  font-size: 0.85rem;
}

.price-lg strong {
  font-size: 2rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.category-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  min-height: 150px;
  transition: 0.2s ease;
}

.category-card:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text);
}

.category-index {
  font-family: var(--display);
  color: var(--accent);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.category-card strong {
  font-size: 1.15rem;
}

.category-card span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(232, 93, 4, 0.18), transparent 55%),
    var(--bg-soft);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
  font-weight: 400;
}

.cta-inner p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.catalog-filters,
.filter-form,
.request-form,
.form-aside,
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.filter-form {
  display: grid;
  gap: 0.9rem;
  position: sticky;
  top: 90px;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  border-radius: var(--radius);
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.results-count {
  color: var(--muted);
  margin: 0 0 1rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.pagination a {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-elevated);
}

.pagination a.active,
.pagination a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.product-page {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 90px;
}

.product-gallery-frame {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  aspect-ratio: 1;
  overflow: hidden;
}

.product-gallery img,
.product-gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery .badge,
.product-gallery-frame .badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-gallery-frame .badge-sale {
  left: auto;
  right: 12px;
  background: #b45309;
}

.product-info h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.sku-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.stock.in {
  color: var(--ok);
}

.stock.out {
  color: var(--warn);
}

.product-messengers {
  margin: 0.75rem 0 1rem;
}

.product-perks {
  list-style: none;
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: grid;
  gap: 0.65rem;
}

.product-perks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
}

.product-specs {
  margin-top: 1.25rem;
}

.product-specs h2,
.product-desc h2 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.product-specs th,
.product-specs td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.product-specs th {
  width: 36%;
  color: var(--muted);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

.related-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.product-desc {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.form-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.steps {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.steps li {
  margin-bottom: 0.65rem;
}

.aside-phone {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.about-grid,
.contacts-grid,
.feature-row {
  display: grid;
  gap: 1.25rem;
}

.about-grid {
  grid-template-columns: 1.4fr 1fr;
}

.about-stats {
  display: grid;
  gap: 0.75rem;
}

.stat {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.feature-row {
  grid-template-columns: repeat(3, 1fr);
}

.feature-row article {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg);
}

.feature-row h3 {
  margin-top: 0;
}

.contacts-grid {
  grid-template-columns: repeat(3, 1fr);
}

.muted {
  color: var(--muted);
}

.empty {
  color: var(--muted);
  grid-column: 1 / -1;
}

.notice {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  margin-bottom: 1rem;
}

.notice-warn {
  border-color: rgba(201, 162, 39, 0.45);
  color: #f0d78c;
}

.notice-error {
  border-color: rgba(214, 69, 69, 0.5);
  color: #ffb0b0;
}

.flash {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.flash-success {
  background: rgba(61, 154, 106, 0.15);
  color: #9be0bb;
}

.flash-error {
  background: rgba(214, 69, 69, 0.15);
  color: #ffb0b0;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #0a0c0f;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-copy {
  color: var(--muted);
  max-width: 28rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.site-footer h4,
.footer-heading {
  font-family: var(--display);
  letter-spacing: 0.06em;
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

code {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
}

/* Icons */
.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.2em;
  flex-shrink: 0;
  fill: currentColor;
}

.icon-sm {
  width: 1em;
  height: 1em;
}

.icon-lg {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--accent);
}

.btn .icon {
  margin-right: 0.15rem;
}

/* Breadcrumbs */
.breadcrumbs {
  margin: 0 0 1rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
}

.page-lead {
  color: var(--muted);
  max-width: 42rem;
  margin: 0.5rem 0 0;
}

.catalog-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chip {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
}

.chip:hover,
.chip.active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: #fff;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.results-count {
  margin: 0;
  color: var(--muted);
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.sort-label select {
  width: auto;
  min-width: 150px;
}

.filter-title {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-cats {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.filter-cats h3 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-cats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.filter-cats a {
  display: block;
  padding: 0.45rem 0.55rem;
  color: var(--muted);
  border: 1px solid transparent;
}

.filter-cats a:hover,
.filter-cats a.active {
  color: var(--text);
  background: var(--accent-dim);
  border-color: rgba(232, 93, 4, 0.35);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--line);
  background: var(--bg-elevated);
}

.empty-state h1,
.empty-state h2 {
  margin: 0.75rem 0 0.5rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.empty-state .hero-actions {
  justify-content: center;
  margin-top: 1.25rem;
}

.seo-block {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.seo-block h2 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0 0 0.65rem;
}

.seo-block p {
  margin: 0;
  color: var(--muted);
  max-width: 58rem;
}

.card-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.card-stock.in { color: var(--ok); }
.card-stock.out { color: var(--warn); }

.badge-sale {
  background: #b45309;
}

.product-card .badge + .badge-sale {
  left: auto;
  right: 10px;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Live search */
.header-search {
  position: relative;
  flex: 1;
  max-width: 420px;
  margin-left: 1rem;
}

.header-search .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.header-search input {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  padding-inline: 2.5rem 1rem;
  background: var(--bg-soft);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  background: #12161e;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-height: min(70vh, 420px);
  overflow: auto;
}

.search-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.search-item:hover,
.search-item.active {
  background: var(--accent-dim);
  color: var(--text);
}

.search-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: #0d1016;
}

.search-item-text {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.search-item-text strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.search-item-text small {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-item-price {
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.9rem;
}

.search-empty,
.search-more {
  display: block;
  padding: 0.85rem;
  color: var(--muted);
}

.search-more {
  color: var(--accent);
  font-weight: 600;
  border-top: 1px solid var(--line);
}

.nav-phone {
  display: none;
}

/* Messengers */
.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 0.88rem;
}

.messenger-btn:hover {
  color: #fff;
}

.messenger-btn.tg { border-color: rgba(42, 171, 238, 0.45); }
.messenger-btn.tg:hover { background: #229ed9; border-color: #229ed9; }
.messenger-btn.wa { border-color: rgba(37, 211, 102, 0.45); }
.messenger-btn.wa:hover { background: #1da851; border-color: #1da851; }
.messenger-btn.max { border-color: rgba(255, 120, 40, 0.45); }
.messenger-btn.max:hover { background: #e85d04; border-color: #e85d04; }
.messenger-btn.vb { border-color: rgba(115, 96, 242, 0.45); }
.messenger-btn.vb:hover { background: #7360f2; border-color: #7360f2; }

.contact-card-wide {
  grid-column: 1 / -1;
}

.filters-toggle {
  display: none;
}

.mobile-dock {
  display: none;
}

@media (max-width: 1100px) {
  .header-search {
    max-width: 280px;
  }

  .logo-text small {
    display: none;
  }
}

@media (max-width: 980px) {
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-layout,
  .product-page,
  .form-layout,
  .about-grid,
  .feature-row,
  .contacts-grid,
  .footer-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    display: grid;
  }

  .filter-form {
    position: static;
  }

  .header-inner {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 0.55rem 0;
    gap: 0.65rem;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
  }

  .nav-toggle {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .section {
    padding: 2.25rem 0;
  }

  .page-hero {
    padding: 1.75rem 0 0.75rem;
  }

  .page-hero h1,
  .hero-brand {
    word-break: break-word;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero-frame {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: clamp(5.75rem, 11vh, 7rem) 0 1.5rem;
  }

  .hero-disc {
    width: min(78vw, 320px);
    justify-self: center;
    order: -1;
    opacity: 0.9;
  }

  .hero-rail {
    display: none;
  }

  .hero-brand-a {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .hero-brand-b {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .hero-actions .btn,
  .product-actions .btn,
  .cta-inner .btn {
    width: 100%;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: 64px 0 auto 0;
    z-index: 60;
    background: rgba(12, 14, 18, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.5rem 1.25rem 1.25rem;
    margin: 0;
    max-height: calc(100vh - 64px);
    overflow: auto;
  }

  .main-nav a {
    padding: 0.85rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a.active::after {
    display: none;
  }

  .main-nav .nav-phone {
    display: block;
    color: var(--accent);
    font-weight: 700;
    border-bottom: 0;
  }

  .main-nav.open {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .header-cta {
    display: none;
  }

  .filters-toggle {
    display: inline-flex;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .catalog-filters {
    display: none;
  }

  .catalog-filters.open {
    display: block;
  }

  .product-grid,
  .form-grid,
  .contacts-grid,
  .category-grid,
  .brand-chips {
    grid-template-columns: 1fr;
  }

  .brand-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card-footer .btn {
    width: 100%;
  }

  .search-dropdown {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: 118px;
    width: auto;
  }

  .mobile-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: rgba(10, 12, 15, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 0.35rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    gap: 0.25rem;
  }

  .mobile-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex: 1;
    min-height: 52px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    padding: 0.3rem 0.2rem;
  }

  .mobile-dock a .icon {
    width: 18px;
    height: 18px;
  }

  .mobile-dock .dock-accent {
    color: #fff;
    background: var(--accent);
    border-radius: 4px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 1rem;
  }
}

.error-404 .error-code {
  font-family: var(--display);
  font-size: clamp(4rem, 14vw, 7rem);
  letter-spacing: 0.06em;
  color: var(--accent);
  line-height: 1;
  margin: 0 0 0.5rem;
}

.error-404 h1 {
  margin: 0 0 0.75rem;
}

/* Modal request */
body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 820px);
  overflow: auto;
  background: #12161e;
  border: 1px solid var(--line);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.modal-dialog h2 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 1.9rem;
  margin: 0 0 0.35rem;
}

.modal-lead {
  margin: 0 0 1rem;
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

.link-btn {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.agree-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.agree-check input {
  width: auto;
  margin-top: 0.2rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--muted);
}

.mobile-dock .dock-accent {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* Home extra blocks */
.steps-grid,
.why-grid,
.blog-grid {
  display: grid;
  gap: 1rem;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.step-num {
  display: block;
  font-family: var(--display);
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  margin: 0 0 0.4rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.why-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-grid article {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.why-grid h3 {
  margin: 0.65rem 0 0.4rem;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--bg);
  border-left: 3px solid var(--accent);
}

.blog-card time {
  color: var(--muted);
  font-size: 0.82rem;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.blog-card h2 a,
.blog-card h3 a {
  color: var(--text);
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 1.55rem;
  margin: 1.75rem 0 0.65rem;
}

.legal-content p,
.legal-content li {
  color: #c4cad4;
}

.post-layout {
  max-width: 760px;
}

.post-header h1 {
  font-family: var(--display);
  letter-spacing: 0.03em;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0;
}

.post-excerpt {
  color: var(--muted);
  font-size: 1.1rem;
}

.post-body {
  margin-top: 1.5rem;
  line-height: 1.65;
}

.post-body p,
.post-body li {
  color: #cfd5de;
}

.post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .steps-grid,
  .why-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .steps-grid,
  .why-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
