﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000000;
  color: #f5f5f7;
  line-height: 1.5;
  padding-bottom: 60px;
  overflow-x: hidden;
}

/* ================= ХЕДЕР ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  font-size: 0.75rem;
  font-weight: 400;
  color: #86868b;
  margin-left: 6px;
}

.badge-link {
  color: #2997ff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.2);
  transition: 0.2s;
}

/* ================= ГЛАВНЫЙ ЭКРАН (HERO) ================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 45px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.85) contrast(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(0, 0, 0, 0.35) 0%, 
    rgba(0, 0, 0, 0.1) 40%, 
    rgba(0, 0, 0, 0.95) 95%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  width: 100%;
}

.tagline {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2997ff;
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 8px 0 12px;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero p {
  color: #a1a1a6;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.btn-primary-glass {
  display: inline-block;
  background: #2997ff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 10px 30px rgba(41, 151, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(41, 151, 255, 0.55);
}

.btn-primary-glass:active {
  transform: scale(0.97);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= КОНФИГУРАТОР ================= */
.configurator {
  padding: 50px 16px;
  max-width: 560px;
  margin: 0 auto;
}

.config-header {
  text-align: center;
  margin-bottom: 22px;
}

.config-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2997ff;
  background: rgba(41, 151, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(41, 151, 255, 0.2);
  margin-bottom: 8px;
}

.configurator h2 {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.config-card.premium-glass {
  background: linear-gradient(165deg, rgba(28, 28, 35, 0.75) 0%, rgba(14, 14, 18, 0.85) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 24px 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.form-group {
  margin-bottom: 18px;
}

.group-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-label {
  font-size: 0.72rem;
  color: #515154;
  font-weight: 500;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px;
  border-radius: 16px;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.seg-btn {
  background: transparent;
  border: none;
  padding: 10px 8px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.seg-title {
  color: #86868b;
  font-size: 0.88rem;
  font-weight: 600;
}

.seg-sub {
  font-size: 0.68rem;
  color: #515154;
  font-weight: 500;
}

/* Синий подзаголовок в стиле Индивидуальный расчет */
.seg-sub.highlight-blue {
  color: #2997ff;
}

.seg-sub.highlight {
  color: #d4af37;
}

.seg-btn.active {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.seg-btn.active .seg-title {
  color: #ffffff;
}

.chips-group {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.chip {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1a6;
  padding: 12px 0;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip.active {
  border-color: #2997ff;
  background: rgba(41, 151, 255, 0.18);
  color: #2997ff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(41, 151, 255, 0.25);
}

/* ================= ОПЦИИ ОТДЕЛКИ С ФОТО ================= */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-pill {
  position: relative;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  min-height: 64px;
}

.option-pill input {
  display: none;
}

.pill-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 10px 8px 10px 12px;
  z-index: 2;
}

.pill-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #a1a1a6;
  transition: color 0.2s;
  line-height: 1.2;
}

.pill-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #515154;
  transition: color 0.2s;
}

/* Область под фото справа (25-30%) */
.pill-thumb-wrap {
  width: 30%;
  min-width: 50px;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.85) contrast(1.1);
}

.option-pill:has(input:checked) {
  background: rgba(41, 151, 255, 0.14);
  border-color: rgba(41, 151, 255, 0.5);
  box-shadow: inset 0 0 14px rgba(41, 151, 255, 0.2);
}

.option-pill:has(input:checked) .pill-name {
  color: #ffffff;
}

.option-pill:has(input:checked) .pill-badge {
  color: #2997ff;
}

.option-pill:has(input:checked) .pill-thumb {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.tax-toggle-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tax-chip {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #86868b;
  padding: 9px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.tax-chip.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.price-cockpit {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.price-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #86868b;
  white-space: nowrap;
}

.price-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.tax-indicator {
  font-size: 0.65rem;
  color: #2997ff;
  font-weight: 600;
  white-space: nowrap;
}

.btn-action-glow {
  flex-shrink: 0;
  background: linear-gradient(135deg, #2997ff 0%, #0071e3 100%);
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(41, 151, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-action-glow svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-action-glow:active {
  transform: scale(0.96);
}

/* Автоматическая адаптация под самые узкие экраны (iPhone SE и др.) */
@media (max-width: 360px) {
  .price-cockpit {
    gap: 6px;
  }
  .price-value {
    font-size: 1.3rem;
  }
  .btn-action-glow {
    padding: 10px 12px;
    font-size: 0.78rem;
  }
}

/* ================= ГАЛЕРЕЯ ДИСКОВ ================= */
.gallery-section {
  padding: 50px 0 20px;
}

.gallery-section h2, .section-subtitle {
  padding: 0 20px;
  text-align: center;
}

.section-subtitle {
  color: #86868b;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px calc(50vw - 140px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  width: 280px;
  background: linear-gradient(165deg, rgba(24, 24, 30, 0.9) 0%, rgba(10, 10, 14, 0.98) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transform: scale(0.9);
  opacity: 0.45;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, border-color 0.35s ease;
  user-select: none;
  cursor: pointer;
}

.gallery-card.active-card {
  transform: scale(1.04);
  opacity: 1;
  border-color: rgba(41, 151, 255, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(41, 151, 255, 0.2);
}

.card-image-placeholder {
  position: relative;
  width: 100%;
  height: 230px;
  background: radial-gradient(circle at center, rgba(30, 30, 40, 0.95) 0%, rgba(5, 5, 8, 1) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image-placeholder::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.25) 0%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

.card-img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.9)) contrast(1.08) brightness(1.03);
  transition: transform 0.35s ease;
}

.gallery-card.active-card .card-img {
  transform: scale(1.05);
}

.gallery-card:first-child .card-img {
  width: 98%;
  height: 98%;
  transform: scale(1.15);
}

.gallery-card:first-child.active-card .card-img {
  transform: scale(1.22);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5f5f7;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 10px;
}

.card-info {
  padding: 16px 18px 20px;
  text-align: center;
}

.card-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.card-info p {
  font-size: 0.82rem;
  color: #86868b;
  margin-bottom: 12px;
}

/* Кнопка «Подобрать параметры» внутри карточки */
.btn-card-select {
  width: 100%;
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.3);
  color: #2997ff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-card-select:hover, .btn-card-select:active {
  background: #2997ff;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(41, 151, 255, 0.4);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.dot.active {
  width: 24px;
  border-radius: 10px;
  background: #2997ff;
  box-shadow: 0 0 10px rgba(41, 151, 255, 0.6);
}

/* ================= СЕКЦИЯ ОТЗЫВОВ ================= */
.trust-section {
  padding: 30px 20px;
  max-width: 560px;
  margin: 0 auto;
}

.trust-card {
  text-align: center;
  background: rgba(20, 20, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 26px;
}

.rating {
  margin-bottom: 8px;
}

.trust-card p {
  color: #86868b;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.btn-secondary {
  display: inline-block;
  color: #f5f5f7;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 14px;
  background: #25252c;
}

/* ================= МОДАЛЬНОЕ ОКНО ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  background: rgba(24, 24, 30, 0.92);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 32px 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #a1a1a6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: -0.5px;
}

.modal-desc {
  font-size: 0.88rem;
  color: #86868b;
  text-align: center;
  margin-bottom: 20px;
}

.avito-notice {
  background: rgba(41, 151, 255, 0.1);
  border: 1px solid rgba(41, 151, 255, 0.25);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #e5e5ea;
  margin-bottom: 20px;
  text-align: left;
}

.avito-notice b {
  color: #2997ff;
}

.modal-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.modal-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-input-group label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #86868b;
}

.modal-input-group input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.modal-input-group input:focus {
  border-color: #2997ff;
}

.channel-selector-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #86868b;
  margin-bottom: 10px;
  text-align: center;
}

.channel-icons-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.channel-icon-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #86868b;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.channel-icon-btn .icon-sym {
  font-size: 1.3rem;
}

.channel-icon-btn.active {
  background: rgba(41, 151, 255, 0.15);
  border-color: #2997ff;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(41, 151, 255, 0.2);
}

.channel-contact-wrap {
  margin-bottom: 20px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0 14px;
}

.input-prefix {
  color: #86868b;
  font-size: 1.1rem;
  margin-right: 6px;
}

.input-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 14px 0;
  font-size: 0.95rem;
  outline: none;
}

.modal-final-submit {
  width: 100%;
  background: linear-gradient(135deg, #2997ff 0%, #0071e3 100%);
  color: #ffffff;
  border: none;
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(41, 151, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  text-align: center;
}

.modal-final-submit:hover {
  box-shadow: 0 12px 35px rgba(41, 151, 255, 0.5);
  transform: translateY(-1px);
}

.modal-final-submit:active {
  transform: scale(0.98);
}

.btn-avito-action {
  width: 100%;
  text-decoration: none;
  display: block;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-avito-action:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(41, 151, 255, 0.4);
}

.btn-avito-action:active {
  transform: scale(0.98);
}

.success-message {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.15);
  color: #34c759;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.success-message h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.success-message p {
  color: #86868b;
  font-size: 0.88rem;
}.pill-thumb.png-thumb {
  object-fit: contain; /* Карбоновые накладки помещаются целиком */
  padding: 4px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

/* ================= ДАТЧИКИ TPMS — «В ПОДАРОК» ================= */
.pill-badge--gift s {
  color: #515154;
  font-size: 0.65rem;
  text-decoration: line-through;
  text-decoration-color: #515154;
}

.gift-label {
  color: #f5c518;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Когда опция выбрана — зачёркнутая цена чуть светлее */
.option-pill:has(input:checked) .pill-badge--gift s {
  color: #86868b;
  text-decoration-color: #86868b;
}
/* ================= ДИСКЛЕЙМЕР ПОД ЦЕНОЙ ================= */
.price-disclaimer-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-top: 4px;
  padding: 0 12px;
  letter-spacing: 0.1px;
}

/* ================= СОГЛАСИЕ НА ОБРАБОТКУ ДАННЫХ ================= */
.privacy-consent-text {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin: 0 0 10px;
  padding: 0 8px;
}

/* ================= ЮРИДИЧЕСКИЙ ПОДВАЛ ================= */
.nw-legal-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
}

.legal-container {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-item {
  font-size: 11px;
  line-height: 1.5;
  color: #86868b;
  margin: 0;
}

.legal-item strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.legal-copyright {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
  .nw-legal-footer {
    padding: 22px 16px 28px;
  }

  .legal-copyright {
    font-size: 10px;
  }
}

/* ================= АВТОДОПОЛНЕНИЕ (AUTOCOMPLETE) ================= */
.autocomplete-wrap {
  position: relative;
}

.suggestions-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: rgba(28, 28, 35, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 10000;
  display: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.suggestions-list.active {
  display: block;
}

.suggestion-item {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #f5f5f7;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
  background: rgba(41, 151, 255, 0.2);
  color: #2997ff;
}

.suggestion-item mark {
  background: transparent;
  color: #2997ff;
  font-weight: 700;
}
