:root {
  --color-bg: #1e1e1e;
  --color-white: #2d2d2d;
  --color-dark: #e5e5e5;
  --color-gray: #b4b4b4;
  --color-muted: #8b8b8b;
  --color-accent: #8b5cf6;
  --color-accent-dark: #7c3aed;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-height: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-dark);
  background: var(--color-bg);
}

body.is-locked {
  overflow: hidden;
}

@supports (text-wrap: balance) {
  h1,
  h2,
  h3 {
    text-wrap: balance;
  }
}

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

input,
textarea,
select {
  color: var(--color-dark);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Шапка в обычном потоке документа, без fixed/sticky */
.site-header {
  position: static;
  background: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.site-header__bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.site-header__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.4px;
  color: var(--color-dark);
}

.site-header__brand span {
  color: var(--color-accent);
}

.site-brand-logo {
  display: block;
  height: auto;
  max-height: 42px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.site-header__brand .site-brand-logo {
  max-height: 30px;
  max-width: min(180px, 42vw);
}

.logo > a .site-brand-logo {
  max-height: 44px;
}

.logo--footer .site-brand-logo {
  max-height: 36px;
  max-width: 200px;
}

.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--color-white);
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__call {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 14px;
}

.site-header__call-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-header__panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-header--menu-open .site-header__toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header--menu-open .site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.site-header--menu-open .site-header__toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}

.logo a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--color-accent);
}

.logo__tagline {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.header-contacts__phone {
  font-weight: 600;
  font-size: 18px;
}

.header-contacts__time {
  font-size: 13px;
  color: var(--color-muted);
}

.header-contacts__address {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.4;
}

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

.home-mobile-intro {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 28px;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 18px rgba(139, 92, 246, 0.25);
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.35);
}

.btn:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.5);
  outline-offset: 3px;
}

.btn--outline {
  background: var(--color-white);
  color: var(--color-accent);
  border: 1px solid rgba(139, 92, 246, 0.5);
  box-shadow: none;
}

.btn--route {
  background: #ffcc00;
  color: #1a1a1a;
  border: none;
  box-shadow: 0 8px 18px rgba(255, 204, 0, 0.35);
}

.btn--route:hover {
  background: #f2c200;
  box-shadow: 0 12px 24px rgba(255, 204, 0, 0.45);
}

.btn--route:focus-visible {
  outline: 3px solid rgba(255, 204, 0, 0.65);
  outline-offset: 3px;
}

.btn--whatsapp {
  background: linear-gradient(135deg, #34d058, #25d366);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.25);
}

.btn--whatsapp:hover {
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.35);
}

.btn--telegram {
  background: #27a7e7;
  box-shadow: 0 8px 18px rgba(39, 167, 231, 0.25);
}

.btn--telegram:hover {
  box-shadow: 0 12px 24px rgba(39, 167, 231, 0.35);
}

.btn--max {
  color: #fff;
  background: linear-gradient(135deg, #38bdf8 0%, #4f6fff 48%, #a855f7 100%);
  box-shadow:
    0 8px 18px rgba(79, 111, 255, 0.32),
    0 4px 14px rgba(56, 189, 248, 0.22);
}

.btn--max:hover {
  box-shadow:
    0 12px 28px rgba(129, 85, 247, 0.38),
    0 6px 18px rgba(56, 189, 248, 0.28);
}

.btn--small {
  padding: 8px 16px;
  font-size: 14px;
}

.site-nav {
  display: flex;
  gap: 24px;
  padding-bottom: 18px;
}

.site-nav__link {
  font-weight: 500;
  color: var(--color-gray);
  position: relative;
  padding-bottom: 6px;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  width: 100%;
}

.site-header__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 32, 0.38);
  border: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 15;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.verified-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.verified-badge--compact {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.verified-badge--inline {
  display: inline-flex;
  margin-bottom: 14px;
}

.hero {
  padding: 64px 0;
}

/* ПК: страницы с заголовком сразу под шапкой — без лишнего зазора (иначе 64px + 66px margin) */
@media (min-width: 769px) {
  .hero:has(> .container > .section-heading:first-child) {
    padding-top: 28px;
  }

  .hero > .container > .section-heading:first-child {
    margin-top: 4px;
    margin-bottom: 22px;
  }
}

.hero__slider {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  isolation: isolate;
}

.banner-card {
  grid-area: 1 / 1;
  position: relative;
  border-radius: var(--banner-radius, 36px);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.09);
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
}

.banner-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 2;
}

.banner-card.is-leaving {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px) scale(0.985);
}
.hero__dots {
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border 0.3s ease;
}

.hero__dot.is-active {
  transform: scale(1.15);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.hero__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.quick-actions {
  margin: 56px 0 48px;
}

.quick-actions__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.quick-actions__header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
}

.quick-actions__header p {
  margin: 0;
  max-width: 420px;
  color: var(--color-gray);
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.quick-action-card {
  background: var(--color-white);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px;
  display: grid;
  gap: 18px;
  align-content: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.quick-action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(15, 22, 38, 0.14);
  border-color: rgba(139, 92, 246, 0.4);
}

.quick-action-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(139, 92, 246, 0.16);
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.quick-action-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
}

.quick-action-card p {
  margin: 0;
  color: var(--color-gray);
  line-height: 1.6;
}

.quick-action-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.quick-action-card__cta::after {
  content: ">";
  display: inline-block;
  transition: transform 0.3s ease;
}

.quick-action-card__cta:hover::after {
  transform: translateX(4px);
}

.reviews {
  margin: 64px 0;
  padding: 38px;
  border-radius: 32px;
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.05), rgba(139, 92, 246, 0));
  display: grid;
  gap: 28px;
}

.reviews__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.reviews__header h2 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: 32px;
}

.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reviews__badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.reviews__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}

.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reviews-carousel__viewport {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  padding: 8px 4px;
  transition: height 0.5s ease;
  min-height: 220px;
}

.reviews-carousel__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.reviews-carousel__arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 22, 38, 0.14);
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--color-accent);
}

.reviews-carousel__arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
  box-shadow: none;
}

.reviews-carousel__arrow::before {
  font-size: 18px;
  font-weight: 600;
}

[data-carousel-prev]::before {
  content: "←";
}

[data-carousel-next]::before {
  content: "→";
}

.review-card {
  position: absolute;
  inset: 8px 4px;
  width: calc(100% - 8px);
  background: var(--color-white);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  display: grid;
  gap: 18px;
  min-height: 220px;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(32px) scale(0.98);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.review-card[data-direction="backward"] {
  transform: translateX(-32px) scale(0.98);
}

.review-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.review-card.is-leaving {
  opacity: 0;
  transform: translateX(-32px) scale(0.985);
  z-index: 1;
}

.review-card.is-leaving[data-direction="backward"] {
  transform: translateX(32px) scale(0.985);
}

.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.review-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.review-card__star {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.2);
  transition: fill 0.2s ease;
}

.review-card__star.is-filled {
  fill: #ffb400;
}

.review-card__source {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
}

.review-card__text {
  margin: 0;
  color: var(--color-dark);
  font-size: 16px;
  line-height: 1.7;
}

.review-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}

.review-card__date {
  font-size: 13px;
  color: var(--color-muted);
}

.review-card__link {
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.reviews-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.reviews-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.reviews-carousel__dot.is-active {
  transform: scale(1.2);
  background: var(--color-accent);
}
.banner-card__media {
  position: relative;
}

.banner-card__media img,
.banner-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(24px, 6vw, 72px);
  background: linear-gradient(
    100deg,
    var(--banner-overlay-bg, rgba(255, 255, 255, 0.85)) 0%,
    rgba(255, 255, 255, 0) 80%
  );
  color: var(--banner-text-color, var(--color-dark));
  font-family: var(--banner-text-font, var(--font-base));
  transition:
    background 0.9s ease,
    backdrop-filter 0.9s ease;
}

.banner-card.is-active .banner-card__overlay {
  backdrop-filter: blur(var(--banner-blur, 6px));
}

.banner-card__content {
  max-width: min(520px, 70%);
  display: grid;
  gap: 18px;
}

.banner-card__content h1 {
  font-family: var(--banner-title-font, var(--font-heading));
  font-size: clamp(28px, var(--banner-title-size, 48px), 72px);
  margin: 0;
  line-height: 1.1;
}

.banner-card__subtitle {
  font-size: clamp(16px, var(--banner-subtitle-size, 20px), 32px);
  margin: 0;
  color: inherit;
}

.banner-card__description {
  margin: 0;
  color: inherit;
  font-size: clamp(14px, var(--banner-description-size, 18px), 26px);
  line-height: 1.6;
}

.banner-card__cta .btn {
  padding: var(--banner-button-padding-y, 12px) var(--banner-button-padding-x, 24px);
  background: var(--color-accent);
  color: #ffffff;
  border-radius: var(--banner-button-radius, 28px);
  font-family: var(--banner-button-font, var(--font-base));
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
  border: none;
}

.banner-card__cta .btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.advantages {
  margin: 72px 0;
  text-align: center;
  color: var(--color-dark);
}

.advantages__header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 42px;
}

.advantages__header p {
  margin: 8px 0 48px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
}

.adv-card {
  display: grid;
  gap: 18px;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.adv-card__icon {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.adv-card__icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.adv-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
}

.adv-card p {
  margin: 0;
  color: var(--color-gray);
  line-height: 1.6;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 66px 0 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 36px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--color-white);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: 200px 1fr;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__body {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.article-card__tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: lowercase;
}

.article-card__tag--detail {
  display: inline-block;
  margin-bottom: 12px;
}

.article-card__body h3 {
  margin: 0;
  font-size: 22px;
}
.articles-page {
  padding: 56px 0;
}

.articles-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 0 18px;
  justify-content: center;
}

.articles-sidebar {
  position: sticky;
  top: 104px;
  background: var(--color-white);
  border-radius: 36px;
  padding: 36px 30px;
  box-shadow: 0 26px 60px rgba(16, 25, 40, 0.14);
  display: grid;
  gap: 24px;
  overflow: hidden;
  justify-items: center;
  text-align: center;
}

.articles-search {
  display: grid;
  gap: 10px;
}

.articles-search__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: #2d2d2d;
  border-radius: 26px;
  border: 1px solid rgba(139, 92, 246, 0.45);
  padding: 10px 16px;
  gap: 8px;
  overflow: hidden;
}

.articles-search__field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 6px 10px;
  font-size: 15px;
  font-family: var(--font-base);
  text-align: left;
  color: var(--color-dark);
}

.articles-search__field input::placeholder {
  color: var(--color-muted);
}

.articles-search__field input:focus {
  outline: none;
}

.articles-search__field:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.articles-search__field button {
  border: none;
  background: var(--color-accent);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.articles-search__field button:hover {
  transform: translateY(-1px);
}

.articles-sidebar__section h3 {
  margin: 0 0 12px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.articles-sidebar__section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.articles-search__field,
.articles-sidebar__section {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.articles-sidebar__section a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 24px;
  background: #2d2d2d;
  font-size: 15px;
  color: var(--color-dark);
  transition: background 0.3s ease, color 0.3s ease;
}

.articles-sidebar__section a.is-active,
.articles-sidebar__section a:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-accent);
}

.articles-sidebar__empty {
  font-size: 14px;
  color: var(--color-muted);
}

.articles-sidebar__hint {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.04));
  border-radius: 28px;
  padding: 22px 24px;
  display: grid;
  gap: 12px;
  font-size: 14px;
  text-align: center;
}

.articles-sidebar__hint p {
  margin: 0;
}

.articles-sidebar__hint .btn {
  width: 100%;
}

.articles-content {
  display: grid;
  gap: 32px;
}

/* Заголовок раздела статей в обычном потоке, без sticky */
.articles-content__header {
  position: static;
  padding-bottom: 16px;
}

.articles-content__header h1 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 42px;
}

.articles-content__header p {
  margin: 0;
  color: var(--color-gray);
}

.articles-active-filters {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--color-muted);
}

.articles-active-filters span {
  background: #2d2d2d;
  border-radius: 14px;
  padding: 6px 12px;
}

.articles-active-filters__reset {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-accent);
  border-radius: 14px;
  padding: 6px 12px;
  text-decoration: none;
  font-weight: 600;
}

.articles-intro {
  padding: 32px;
}

.articles-list {
  display: grid;
  gap: 24px;
}

.article-row {
  background: var(--color-white);
  border-radius: 32px;
  box-shadow: 0 16px 44px rgba(15, 22, 38, 0.12);
  overflow: hidden;
  position: relative;
}

.article-row__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.article-row__media {
  width: 100%;
  min-height: 220px;
  overflow: hidden;
}

.article-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-row__body {
  padding: 28px 32px 32px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.article-row__badge {
  justify-self: start;
  margin-bottom: 8px;
}

.article-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--color-muted);
}

.article-row__category a,
.article-row__category {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.article-row__tag {
  color: var(--color-accent);
  font-weight: 600;
}

.article-row__body h3 {
  margin: 0;
  font-size: 24px;
}

.article-row__body p {
  margin: 0;
  color: var(--color-gray);
  line-height: 1.6;
}

.article-row__cta {
  margin-top: 12px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.article-row__cta::after {
  content: "→";
  transition: transform 0.3s ease;
}

.article-row__link:hover .article-row__cta,
.article-row__link:focus .article-row__cta {
  color: var(--color-accent-dark);
  transform: translateX(4px);
}

.article-row__link:hover .article-row__cta::after,
.article-row__link:focus .article-row__cta::after {
  transform: translateX(2px);
}

.articles-empty {
  color: var(--color-gray);
}

.products-page {
  padding: 56px 0;
}

.products-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.products-sidebar {
  background: var(--color-white);
  border-radius: 36px;
  padding: 28px 24px;
  box-shadow: 0 26px 60px rgba(16, 25, 40, 0.14);
}

.products-sidebar::-webkit-scrollbar {
  width: 6px;
}

.products-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.products-sidebar::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 10px;
}

.products-filters__section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.products-filters__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.products-filters__section h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-dark);
}

.products-filters__search {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  font-size: 14px;
  background: #2d2d2d;
  color: var(--color-dark);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.products-filters__search::placeholder {
  color: var(--color-muted);
}

.products-filters__search:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
  background: var(--color-white);
}

.products-filters__checkboxes {
  display: grid;
  gap: 8px;
  padding-right: 4px;
}

.products-filters__checkboxes::-webkit-scrollbar {
  width: 4px;
}

.products-filters__checkboxes::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 2px;
}

.products-filters__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
}

.products-filters__checkbox:hover {
  background: rgba(139, 92, 246, 0.08);
}

.products-filters__checkbox input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-accent);
}

.products-filters__checkbox input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--color-accent);
}

.products-filters__reset {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.products-filters__reset:hover {
  text-decoration: underline;
}

.products-filters__price {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.products-filters__price input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-size: 14px;
  background: #2d2d2d;
  color: var(--color-dark);
}

.products-filters__price input::placeholder {
  color: var(--color-muted);
}

.products-filters__price input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
  background: var(--color-white);
}

.products-filters__price span {
  color: var(--color-gray);
  font-weight: 600;
}

.products-filters__price-range {
  margin-top: 8px;
}

.products-filters__price-range small {
  color: var(--color-muted);
  font-size: 12px;
}

.products-filters__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-size: 14px;
  background: #2d2d2d;
  color: var(--color-dark);
  cursor: pointer;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.products-filters__select option {
  background: #2d2d2d;
  color: var(--color-dark);
}

.products-filters__select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
  background: var(--color-white);
}

.products-content {
  display: grid;
  gap: 24px;
}

.products-content__header h1 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 42px;
}

.products-content__header p {
  margin: 0;
  color: var(--color-gray);
  font-size: 14px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.product-card__link:hover .product-card__name {
  color: var(--color-accent);
}

.product-card__actions {
  padding: 0 20px 20px;
  display: grid;
  gap: 8px;
}

.product-card__ozon-btn {
  width: 100%;
  margin-top: 12px;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(15, 22, 38, 0.12);
}

.product-card__image {
  width: 100%;
  height: 200px;
  background: #2d2d2d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.product-card__image--placeholder {
  background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
}

.product-card__body {
  padding: 20px 20px 12px;
  display: grid;
  gap: 8px;
}

.product-card__brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card__name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__article {
  font-size: 12px;
  color: var(--color-muted);
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-gray);
  font-weight: 600;
}

.product-card__rating span {
  color: #ffb400;
}

.product-card__rating small {
  color: var(--color-muted);
  font-weight: normal;
}

.product-card__stock-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(39, 174, 96, 0.15);
  color: #1e8449;
}

.product-card__stock-badge--out {
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.product-card__price-current {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
}

.product-card__price-old {
  font-size: 16px;
  color: var(--color-muted);
  text-decoration: line-through;
}

.product-card__discount {
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
  font-size: 12px;
  font-weight: 700;
}

.products-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--color-gray);
  background: var(--color-white);
  border-radius: 24px;
}

.product-detail-page {
  padding: 32px 0 64px;
}

.product-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-gray);
}

.product-detail__breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
}

.product-detail__breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail__breadcrumb-sep {
  margin: 0 8px;
  color: var(--color-muted);
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.product-detail__main {
  min-width: 0;
}

.product-detail__gallery {
  background: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.product-detail__image {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  padding: 24px;
}

.product-detail__image--placeholder {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
  color: var(--color-muted);
  font-size: 16px;
}

.product-detail__tabs {
  background: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.product-detail__tab-head {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-detail__tab-btn {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gray);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.product-detail__tab-btn:hover {
  color: var(--color-dark);
  background: rgba(0, 0, 0, 0.03);
}

.product-detail__tab-btn.is-active {
  color: var(--color-accent);
  background: rgba(139, 92, 246, 0.08);
  border-bottom: 2px solid var(--color-accent);
  margin-bottom: -1px;
}

.product-detail__tab-panels {
  padding: 0;
}

.product-detail__tab-panel {
  display: none;
  padding: 24px;
}

.product-detail__tab-panel.is-active {
  display: block;
}

.product-detail__specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.product-detail__specs th,
.product-detail__specs td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-detail__specs th {
  width: 160px;
  font-weight: 600;
  color: var(--color-gray);
}

.product-detail__specs td {
  color: var(--color-dark);
}

.product-detail__table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 0 -4px;
  padding: 0 4px;
}

.product-detail__spec-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-detail__brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #2d2d2d;
  padding: 4px;
}

.product-detail__rating {
  color: var(--color-dark);
  font-weight: 600;
}

.product-detail__description {
  line-height: 1.7;
  color: var(--color-dark);
}

.product-detail__description p {
  margin: 0 0 12px;
}

.product-detail__description p:last-child {
  margin-bottom: 0;
}

.product-detail__description-empty {
  color: var(--color-muted);
  font-style: italic;
}

.product-detail__sidebar {
  position: sticky;
  top: 104px;
  background: var(--color-white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.product-detail__brand-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-detail__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.35;
  color: var(--color-dark);
}

.product-detail__article {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--color-muted);
}

.product-detail__price-block {
  margin-bottom: 16px;
}

.product-detail__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.product-detail__price-current {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
}

.product-detail__price-old {
  font-size: 20px;
  color: var(--color-muted);
  text-decoration: line-through;
}

.product-detail__discount {
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
  font-size: 14px;
  font-weight: 700;
}

.product-detail__stock-block {
  margin-bottom: 20px;
}

.product-detail__stock {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}

.product-detail__stock--yes {
  background: rgba(39, 174, 96, 0.15);
  color: #1e8449;
}

.product-detail__stock--no {
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
}

.product-detail__ozon-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  text-align: center;
}

@media (max-width: 960px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail__sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .product-detail__tab-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .product-detail__tab-panel {
    padding: 20px;
  }

  .product-detail__specs th {
    width: 120px;
    font-size: 14px;
  }

  .product-detail__price-current {
    font-size: 28px;
  }
}

.pagination {
  margin: 32px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pagination__info {
  color: var(--color-gray);
  font-size: 14px;
}

@media (max-width: 960px) {
  .products-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .products-sidebar {
    max-height: none;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-content__header h1 {
    font-size: 32px;
  }
}

.pagination {
  margin: 32px 0 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.article-detail {
  display: grid;
  gap: 32px;
}

.article-detail__header h1 {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: 48px;
}

.article-chips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-chips a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 24px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.article-detail__cover img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.article-detail__content {
  padding: 36px;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.related-articles {
  display: grid;
  gap: 18px;
}

.related-articles__list {
  display: grid;
  gap: 18px;
}

.article-row--compact .article-row__media {
  width: 180px;
}

.article-row--compact .article-row__body {
  padding-right: 24px;
}

.article-card__body p {
  margin: 0;
  color: var(--color-gray);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.store-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.store-card__title {
  font-size: 20px;
  font-weight: 600;
}

.store-card__address {
  color: var(--color-gray);
}

.store-card__description {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--color-gray);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 960px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1199px) and (min-width: 960px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.partner-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-content: start;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(15, 22, 38, 0.12);
}

.partner-card__logo {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}

.partner-card__content {
  display: grid;
  gap: 8px;
}

.partner-card__name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
}

.partner-card__specialization {
  margin: 0;
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.5;
}

.partner-card__address {
  margin: 0;
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.5;
}

.part-selection {
  padding: 72px 0 120px;
}

.part-selection__header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  display: grid;
  gap: 18px;
}

.part-selection__header h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
}

.part-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 30px;
  padding: 10px 18px;
  margin: 0 auto;
  background: rgba(139, 92, 246, 0.08);
}

.part-status__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.part-status--online {
  background: rgba(34, 197, 94, 0.12);
}

.part-status--online .part-status__dot {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.part-status--offline {
  background: rgba(231, 76, 60, 0.12);
}

.part-status--offline .part-status__dot {
  background: #e74c3c;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.2);
}

.part-status__label {
  font-weight: 700;
}

.part-status__hint {
  color: var(--color-muted);
  font-size: 13px;
}

.part-selection__content {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
}

.part-selection__info ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--color-gray);
  line-height: 1.6;
}

.part-selection__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.part-selection__brand {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 55%, #a78bfa 100%);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Модалки результата отправки заявки на подбор */
.part-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.part-feedback-modal--visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.part-feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 28, 0.55);
  backdrop-filter: blur(6px);
}

.part-feedback-modal__panel {
  position: relative;
  max-width: min(540px, calc(100vw - 32px));
  width: 100%;
  padding: 44px 40px 36px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 22, 38, 0.28), 0 0 0 1px rgba(139, 92, 246, 0.12);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.part-feedback-modal--visible .part-feedback-modal__panel {
  transform: translateY(0) scale(1);
}

.part-feedback-modal__panel--success {
  border-top: 4px solid var(--color-accent);
}

.part-feedback-modal__panel--retry {
  border-top: 4px solid #f59e0b;
}

.part-feedback-modal__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.part-feedback-modal__glow--retry {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, transparent 70%);
}

.part-feedback-modal__icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  color: var(--color-accent);
}

.part-feedback-modal__icon--retry {
  color: #f59e0b;
}

.part-feedback-modal__icon svg {
  width: 100%;
  height: 100%;
}

.part-feedback-modal__title {
  position: relative;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.22;
  color: #1a1d26;
}

.part-feedback-modal__text {
  position: relative;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: #3d4454;
}

.part-feedback-modal__btn {
  position: relative;
  min-width: 220px;
}

.part-selection__form {
  background: var(--color-white);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(15, 22, 38, 0.12);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-field label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--color-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 15px;
  background: #2d2d2d;
  color: var(--color-dark);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted);
}

.form-field select option {
  background: #2d2d2d;
  color: var(--color-dark);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

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

.part-selection__form .btn {
  margin-top: 16px;
}

.form-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-muted);
}

.part-selection__form .errorlist,
.contact-form .errorlist {
  margin: 6px 0 0;
  padding-left: 18px;
  color: #ff5c74;
  font-size: 13px;
  line-height: 1.4;
}

.part-selection__form .errorlist li,
.contact-form .errorlist li {
  color: #ff5c74;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(28, 28, 32, 0.95);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.btn--cookie {
  background: var(--color-accent);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
}

@media (max-width: 960px) {
  .site-header__bar {
    display: flex;
  }

  .site-header__toggle,
  .site-header__call {
    display: inline-flex;
  }

  .site-header__call span {
    font-size: 13px;
  }

  .site-header__panel {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 28px 64px rgba(15, 22, 38, 0.2);
    padding: 24px 24px 28px;
    max-height: calc(100vh - 112px);
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    gap: 24px;
    z-index: 25;
  }

  .site-header__panel::-webkit-scrollbar {
    width: 0;
  }

  .site-header__top {
    display: none;
  }

  .home-mobile-intro {
    display: block;
    padding: 16px 0 8px;
  }

  .home-mobile-intro__card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 22px 20px 24px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .home-mobile-intro .header-contacts {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    margin-top: 16px;
  }

  .home-mobile-intro .header-contacts__time {
    overflow-wrap: anywhere;
    line-height: 1.45;
  }

  .home-mobile-intro .header-actions {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    justify-content: stretch;
    margin-top: 18px;
  }

  .home-mobile-intro .header-actions .btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 11px 12px;
    font-size: 13px;
  }

  .site-nav {
    flex-direction: column;
    gap: 12px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .site-nav__link {
    font-size: 16px;
    padding: 10px 0;
  }

  .site-header__overlay {
    display: block;
  }

  .site-header--menu-open .site-header__panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header--menu-open .site-header__overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .part-selection__content {
    grid-template-columns: 1fr;
  }

  .part-selection__form {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero--desktop-only .hero__slider,
  .hero--desktop-only .hero__dots {
    display: none;
  }

  body {
    padding-bottom: 96px;
  }

  .container {
    width: min(100%, calc(100% - 24px));
  }

  .hero__slider {
    text-align: center;
  }

  .banner-card__overlay {
    padding: clamp(24px, 12vw, 64px);
    justify-content: center;
    background: linear-gradient(
      160deg,
      var(--banner-overlay-bg, rgba(255, 255, 255, 0.94)) 0%,
      rgba(255, 255, 255, 0.78) 65%,
      rgba(255, 255, 255, 0.45) 100%
    );
  }

  .banner-card__content {
    max-width: 100%;
    text-align: center;
    justify-items: center;
  }

  .banner-card__subtitle,
  .banner-card__description {
    color: inherit;
  }

  .site-header__panel {
    top: 68px;
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
    border-radius: 22px;
    padding: 22px 20px 24px;
  }

  .site-header__call {
    padding: 10px 12px;
  }

  .site-header__call span {
    font-size: 12px;
  }

  .quick-actions {
    margin: 44px 0 36px;
  }

  .quick-actions__header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .quick-actions__header h2 {
    font-size: 28px;
  }

  .quick-actions__header p {
    max-width: none;
  }

  .quick-actions__grid {
    grid-template-columns: 1fr;
  }

  .quick-action-card {
    padding: 24px;
    text-align: center;
    justify-items: center;
  }

  .quick-action-card__cta {
    justify-content: center;
    margin: 0 auto;
  }

  .reviews {
    padding: 28px 24px;
    border-radius: 28px;
    gap: 20px;
  }

  .reviews__header h2 {
    font-size: 26px;
  }

  .reviews-carousel {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: center;
  }

  .reviews__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reviews__badge {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    padding: 8px 14px;
  }

  .reviews__link {
    display: inline-flex;
    justify-content: center;
  }

  .review-card__meta,
  .review-card__footer {
    justify-content: center;
  }

  .review-card__author {
    align-items: center;
  }

  .review-card {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 18px;
  }

  .review-card__text {
    font-size: 14px;
  }

  .reviews-carousel__viewport {
    gap: 16px;
    padding: 0;
    margin: 0;
  }

  .reviews-carousel__arrow {
    display: none;
  }

  .review-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 18px;
  }

  .review-card__text {
    font-size: 15px;
  }

  .review-card__stars {
    justify-content: center;
    gap: 6px;
  }

  .review-card__star {
    width: 18px;
    height: 18px;
  }

  .hero {
    padding: 16px 0 36px;
  }

  .hero > .container > .section-heading:first-child {
    margin-top: 8px;
    margin-bottom: 18px;
  }

  .advantages {
    margin: 48px 0;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .adv-card__icon {
    width: 88px;
    height: 88px;
  }

  .section-heading {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    width: 100%;
    margin: 28px 0 18px;
  }

  .section-heading .btn {
    width: 100%;
    max-width: 240px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .articles-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .articles-sidebar {
    position: static;
    border-radius: 28px;
    padding: 24px;
  }

  .articles-search__field {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .articles-search__field input {
    width: 100%;
  }

  .articles-search__field button {
    width: 100%;
  }

  .article-row {
    border-radius: 24px;
  }

  .article-row__link {
    flex-direction: column;
  }

  .article-row__media {
    width: 100%;
    flex: none;
    min-height: 200px;
  }

  .article-row__body {
    padding: 22px 24px 26px;
  }

  .article-detail__header h1 {
    font-size: 36px;
  }

  .article-detail__content {
    padding: 28px;
  }

  .articles-page {
    padding: 24px 0 40px;
  }

  .stores-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .store-card {
    align-items: center;
  }

  .contact-summary {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .contact-form button.btn {
    width: 100%;
  }

  .part-selection__header h1 {
    font-size: 34px;
  }

  .part-selection__form .btn {
    width: 100%;
  }

  .site-footer {
    padding: 40px 0 80px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-contacts .btn {
    width: fit-content;
    justify-self: center;
  }

  .products-page {
    padding: 24px 0 48px;
  }

  .products-sidebar {
    padding: 22px 18px;
    border-radius: 28px;
  }

  .products-content__header h1 {
    font-size: clamp(28px, 7vw, 38px);
  }

  .product-detail-page {
    padding: 16px 0 88px;
  }

  .product-detail__title {
    font-size: clamp(1.15rem, 4.2vw, 1.5rem);
  }

  .product-detail__image {
    padding: 16px;
    max-height: min(52vh, 380px);
  }

  .product-detail__sidebar {
    padding: 22px 20px;
  }

  .detail-content {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .contacts-layout {
    gap: 28px;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
  }

  .partner-card {
    padding: 20px;
  }

  .article-row--compact .article-row__media {
    width: 100%;
    max-width: none;
  }

  .products-filters__search,
  .products-filters__price input,
  .products-filters__select,
  .contact-form input,
  .contact-form textarea,
  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 16px;
  }

  .pagination .btn {
    min-height: 44px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .ozon-section h2 {
    font-size: clamp(26px, 6.5vw, 34px);
  }

  .ozon-hero__text h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .part-selection {
    padding: 36px 0 100px;
  }

  .part-selection__header {
    margin-bottom: 32px;
  }

  .ozon-page {
    padding: 24px 0 90px;
  }

  .mobile-toolbar {
    display: block;
  }
}

@media (max-width: 600px) {
  .part-selection {
    padding: 28px 0 80px;
  }

  .part-selection__header h1 {
    font-size: 32px;
  }

  .part-selection__form {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .banner-card__content p {
    font-size: 16px;
  }

  .article-detail__header h1 {
    font-size: 30px;
  }

  .article-detail__content {
    padding: 24px;
  }

  .part-selection__header h1 {
    font-size: 30px;
  }

  .contact-summary {
    padding: 24px;
  }

  .ozon-hero {
    padding: 20px;
  }

  .ozon-section h2 {
    font-size: 30px;
  }
}

.site-footer {
  margin-top: 80px;
  background: #1b1b1b;
  color: #efefef;
  padding: 48px 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.site-footer a {
  color: inherit;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-contacts {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-contacts span {
  display: block;
}

.footer-contacts .btn {
  justify-self: start;
  padding-left: 28px;
  padding-right: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__bottom {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(239, 239, 239, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-footer__version {
  font-size: 13px;
  color: rgba(239, 239, 239, 0.6);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.modal-overlay--visible {
  opacity: 1;
  pointer-events: all;
}

.modal-window {
  position: relative;
  background: var(--color-white);
  border-radius: 28px;
  padding: 32px 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 28px 68px rgba(15, 22, 38, 0.22);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--color-dark);
  transform-origin: center;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-messages {
  display: grid;
  gap: 16px;
}

.modal-message {
  padding: 16px 18px;
  border-radius: 20px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-dark);
  background: rgba(0, 0, 0, 0.04);
}

.modal-message--success {
  background: rgba(39, 174, 96, 0.15);
  color: #1e8449;
}

.modal-message--warning {
  background: rgba(242, 201, 76, 0.18);
  color: #9c7500;
}

.modal-message--error {
  background: rgba(231, 76, 60, 0.18);
  color: #c0392b;
}

.detail-content {
  background: var(--color-white);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.detail-content h1 {
  margin-top: 0;
  font-family: var(--font-heading);
}

.contacts-layout {
  display: grid;
  gap: 36px;
}

.contacts-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.contact-details {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.contact-map-wrap {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 430px;
  max-height: min(520px, 72vh);
  background: #2d2d2d;
}

.contact-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.detail-content figure,
.detail-content img,
.detail-content iframe,
.detail-content video {
  max-width: 100%;
  border-radius: 24px;
  margin: 24px 0;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form > div > label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
}

.contact-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-base);
  color: rgba(255, 255, 255, 0.94);
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-muted);
}

.contact-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(139, 92, 246, 0.05));
  background-color: #373243;
  padding: 28px;
  border-radius: 32px;
}

.contact-summary__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.contact-summary strong,
.contact-summary a {
  font-size: 18px;
  font-weight: 600;
}

.contact-summary p {
  margin: 6px 0 0;
  color: var(--color-dark);
  font-size: 14px;
}

/* На всю ширину карточки: иначе в 2-колоночной сетке summary блок ужимается в полколонки и кнопки вылезают */
.contact-summary .contact-actions {
  grid-column: 1 / -1;
  justify-self: stretch;
  max-width: 100%;
  min-width: 0;
}

/* Два ряда на ПК: 3 + 2 кнопки */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  align-items: stretch;
}

.contact-actions a {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  min-width: 0;
}

.contact-actions > a:nth-child(1),
.contact-actions > a:nth-child(2),
.contact-actions > a:nth-child(3) {
  grid-column: span 2;
}

.contact-actions > a:nth-child(4),
.contact-actions > a:nth-child(5) {
  grid-column: span 3;
}

.contact-form input:not([type="checkbox"]):not([type="radio"]):focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.contact-form__agree {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-gray);
  cursor: pointer;
}

.contact-form__agree input[type="checkbox"] {
  width: auto;
  min-width: 1.125rem;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--color-accent);
}

.contact-form__agree span {
  flex: 1;
  min-width: 0;
}

.contact-form__agree a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__agree a:hover {
  color: var(--color-accent-dark);
}

.mobile-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 30, 30, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -12px 36px rgba(15, 22, 38, 0.12);
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  display: none;
  z-index: 40;
}

.mobile-toolbar__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mobile-toolbar__link {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray);
  text-decoration: none;
}

.mobile-toolbar__call {
  position: relative;
  min-width: 64px;
  height: 64px;
  border-radius: 32px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(139, 92, 246, 0.45);
  transform: translateY(-26px);
}

.mobile-toolbar__call span {
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-toolbar__label {
  display: block;
  margin-top: 6px;
}

.mobile-toolbar__link strong {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: var(--color-dark);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.articles-search__field,
.articles-sidebar__section a,
.articles-sidebar__hint {
  width: 100%;
  margin: 0;
}

.contact-actions .btn,
.contact-actions .btn--outline,
.contact-actions .btn--route,
.contact-actions .btn--whatsapp,
.contact-actions .btn--telegram,
.contact-actions .btn--max {
  padding: 12px 22px;
  text-align: center;
}

/* После desktop-правил: на узких экранах одна колонка (иначе grid выше перебивает старый @media 768) */
@media (max-width: 960px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-actions > a:nth-child(n) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
  }
}

/* Контакты: одинаковый зазор #373243 (summary) от краёв #2d2d2d (detail-content), без «впритык» */
@media (max-width: 960px) {
  .detail-content.contacts-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contacts-layout .contact-summary {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 26px 22px;
  }
}

.ozon-page {
  padding: 60px 0 100px;
}

.ozon-hero {
  background: var(--color-white);
  border-radius: 36px;
  padding: 48px;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: center;
  box-shadow: 0 22px 52px rgba(16, 25, 40, 0.14);
}

.ozon-hero__tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(139, 92, 246, 0.12);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.ozon-hero__text h1 {
  margin: 0 0 16px;
  font-size: 42px;
  font-family: var(--font-heading);
}

.ozon-hero__text p {
  margin: 0 0 28px;
  color: var(--color-gray);
  line-height: 1.6;
}

.ozon-hero__badges {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin-bottom: 24px;
}

.ozon-badge {
  border-radius: 22px;
  padding: 16px;
  text-align: center;
  background: rgba(139, 92, 246, 0.08);
}

.ozon-badge span {
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.ozon-badge small {
  font-size: 13px;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ozon-hero__visual {
  margin: 0;
}

.ozon-hero__visual img {
  width: 100%;
  max-height: min(480px, 55vh);
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.ozon-section {
  margin: 72px 0;
  text-align: center;
}

.ozon-section h2 {
  margin: 0 0 28px;
  font-size: 36px;
  font-family: var(--font-heading);
}

.ozon-section__lead {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--color-gray);
}

.ozon-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ozon-tile {
  background: var(--color-white);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(15, 22, 38, 0.1);
  display: grid;
  gap: 14px;
  text-align: left;
}

.ozon-tile h3 {
  margin: 0;
  font-size: 24px;
}

.ozon-tile p {
  margin: 0;
  color: var(--color-gray);
  line-height: 1.6;
}

.ozon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ozon-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 20px;
  background: #2d2d2d;
  font-weight: 600;
  color: var(--color-dark);
}

.ozon-faq__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ozon-faq__item {
  background: var(--color-white);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(15, 22, 38, 0.1);
  display: grid;
  gap: 10px;
  text-align: left;
}

.ozon-faq__item h3 {
  margin: 0;
  font-size: 20px;
}

.ozon-faq__item p {
  margin: 0;
  color: var(--color-gray);
}

.ozon-faq__cta {
  margin-top: 36px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.ozon-faq__cta p {
  margin: 0;
  color: var(--color-dark);
  max-width: 480px;
}

.ozon-faq__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ozon-faq__cta .btn {
  min-width: 200px;
}

.ozon-brands {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-auto-flow: dense;
}

.ozon-brand {
  position: relative;
  background: var(--color-white);
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  text-align: left;
}

.ozon-brand__logo {
  max-width: 80px;
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 12px;
}

.ozon-brand::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ozon-brand__name {
  font-size: 20px;
  font-weight: 700;
  z-index: 1;
}

.ozon-brand__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  z-index: 1;
}

.ozon-brand--original {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.85), rgba(139, 92, 246, 0.65));
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(139, 92, 246, 0.25);
}

.ozon-brand--original::after {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ozon-brand--original .ozon-brand__label {
  color: rgba(255, 255, 255, 0.75);
}

.ozon-brand--cta {
  background: linear-gradient(135deg, rgba(2, 107, 204, 0.9), rgba(2, 107, 204, 0.75));
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(2, 107, 204, 0.25);
  grid-column: span 2;
}

.ozon-brand--cta .ozon-brand__label {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 960px) {
  .ozon-hero {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .ozon-hero__text h1 {
    font-size: 32px;
  }

  .ozon-hero__visual {
    order: -1;
  }

  .ozon-hero__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ozon-section {
    margin: 56px 0;
  }

  .ozon-faq__cta {
    justify-content: center;
    text-align: center;
  }

  .ozon-brand--cta {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .site-header__toggle {
    width: 40px;
    height: 40px;
  }

  .site-header__panel {
    top: 62px;
    padding: 20px 18px 22px;
    max-width: calc(100vw - 24px);
  }

  .site-header__call span {
    font-size: 11px;
  }

  .quick-actions__header h2 {
    font-size: 26px;
  }

  .quick-action-card__icon {
    width: 56px;
    height: 56px;
  }

  .reviews {
    padding: 22px 20px;
  }

  .review-card {
    padding: 20px;
  }

  .ozon-page {
    padding: 20px 0 90px;
  }

  .ozon-hero {
    padding: 24px;
    gap: 24px;
  }

  .ozon-hero__badges {
    grid-template-columns: 1fr;
  }

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

  .ozon-faq__cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-actions .btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    padding: 11px 12px;
    font-size: 13px;
  }

  .site-header__brand {
    font-size: 18px;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .footer-contacts {
    justify-items: stretch;
  }

  .footer-contacts .btn {
    width: 100%;
    max-width: 320px;
    justify-self: center;
    box-sizing: border-box;
  }

  .product-detail__specs,
  .product-detail__specs tbody,
  .product-detail__specs tr,
  .product-detail__specs th,
  .product-detail__specs td {
    display: block;
    width: 100% !important;
  }

  .product-detail__specs tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .product-detail__specs th {
    margin-bottom: 6px;
    padding: 0 0 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-muted);
    border-bottom: none;
  }

  .product-detail__specs td {
    padding: 0;
    border-bottom: none;
  }

  .product-detail__table-scroll {
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .product-detail__tab-head {
    flex-direction: column;
  }

  .product-detail__tab-btn {
    width: 100%;
    text-align: center;
  }

  .banner-card__content h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .contact-map-wrap {
    aspect-ratio: 4 / 3;
    min-height: 360px;
    max-height: 62vh;
  }
}

@media (max-width: 380px) {
  .header-actions .btn {
    flex: 1 1 100%;
    max-width: none;
  }
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.2), transparent 35%),
    radial-gradient(circle at 85% 25%, rgba(167, 139, 250, 0.18), transparent 30%),
    #14131f;
}

.error-page__wrap {
  width: min(760px, 100%);
  display: grid;
  gap: 20px;
}

.error-page__brand {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 12px 28px rgba(139, 92, 246, 0.35);
}

.error-page__card {
  background: rgba(28, 25, 43, 0.88);
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.error-page__code {
  font-size: clamp(42px, 10vw, 84px);
  font-weight: 800;
  line-height: 1;
  color: #a78bfa;
  margin-bottom: 8px;
}

.error-page__card h1 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  color: #ffffff;
}

.error-page__card p {
  margin: 0 auto;
  max-width: 560px;
  color: #d4cfee;
  font-size: 16px;
  line-height: 1.6;
}

.error-page__btn {
  margin-top: 24px;
}
