/* ============================================
   КОНФИГУРАТОР V2 — ПОЛНЫЕ СТИЛИ
   ============================================ */

/* — Reset & Container — */

.constructor-v2 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #F9FAFB;
  min-height: 100vh;
  padding: 24px 16px 60px;
  color: #111827;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.constructor-v2 *,
.constructor-v2 *::before,
.constructor-v2 *::after {
  box-sizing: border-box;
}

.constructor-v2__container {
  /* Контейнер конфигуратора — расширенный (особенно для результатов) */
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  padding: 48px 56px;
  position: relative;
}

/* Совместимость с ТЗ: алиас контейнера */
.cv2-container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Если появится отдельный класс экрана результатов */
.cv2-results-screen .cv2-container,
.cv2-screen--results .cv2-container {
  max-width: 1400px;
}

/* — Прогресс-бар — */

.cv2-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 0;
}

.cv2-progress__step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #E5E7EB;
  transition: background 0.3s ease;
}

.cv2-progress__step--active,
.cv2-progress__step--done {
  background: #009FED;
}

.cv2-progress__label {
  font-size: 13px;
  color: #6B7280;
  white-space: nowrap;
  margin-left: 8px;
  font-weight: 500;
}

/* Compatibility: progress bar used in current JS */
.cv2-progress__bar {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #E5E7EB;
  overflow: hidden;
}

.cv2-progress__fill {
  height: 100%;
  background: #009FED;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.cv2-progress__text {
  font-size: 13px;
  color: #6B7280;
  white-space: nowrap;
  margin-left: 8px;
  font-weight: 500;
}

/* — Заголовки — */

.cv2-header {
  text-align: center;
  margin-bottom: 24px;
}

.cv2-header__title,
.cv2-title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 10px;
}

.cv2-header__subtitle {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* — Вопрос — */

.cv2-question {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.3;
}

.cv2-subtitle {
  font-size: 15px;
  color: #6B7280;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Подсказка под заголовком вопроса */
.cv2-question-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #009FED;
}
.cv2-question-hint span {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
  font-style: italic;
}
.cv2-hint-icon {
  flex-shrink: 0;
  color: #009FED;
  margin-top: 1px;
}

/* — Секция (для составных экранов) — */

.cv2-section-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cv2-section-label:first-of-type {
  margin-top: 0;
}

/* — Сетка карточек — */

.cv2-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

/* Compatibility: JS uses `cv2-options--two-col` */
.cv2-options--two-col,
.cv2-options--2cols {
  grid-template-columns: repeat(2, 1fr);
}

.cv2-options--compound {
  margin-bottom: 12px;
}

/* — Карточка — */

.cv2-card {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease, transform 0.15s ease;
  position: relative;
  background: #FFFFFF;
  user-select: none;
  -webkit-user-select: none;
}

.cv2-card:hover {
  border-color: rgba(0, 159, 237, 0.35);
  box-shadow: 0 4px 16px rgba(0, 159, 237, 0.1);
  transform: translateY(-2px);
}

.cv2-card:active {
  transform: translateY(0);
}

.cv2-card.selected {
  border-color: #009FED;
  background: #F0F9FF;
  box-shadow: 0 0 0 1px #009FED, 0 4px 16px rgba(0, 159, 237, 0.12);
}

.cv2-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: #009FED;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.cv2-card__icon {
  font-size: 28px;
  margin-bottom: 6px;
  line-height: 1;
}

.cv2-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 3px;
  padding-right: 30px;
}

.cv2-card__desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.4;
  margin: 0;
}

.cv2-card__sub {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

/* — Бейдж — */

.cv2-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.3;
}

.cv2-badge--green {
  background: #E1F5EE;
  color: #0F6E56;
}

.cv2-badge--blue {
  background: #E6F1FB;
  color: #0C447C;
}

/* — Микроподсказка — */

.cv2-micro {
  font-size: 12px;
  color: #9CA3AF;
  margin: 4px 0 12px;
  font-style: italic;
}

/* — Гарантии — */

.cv2-guarantees {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}

.cv2-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(0, 159, 237, 0.06);
  border: 1px solid rgba(0, 159, 237, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #0C447C;
  white-space: nowrap;
}

.cv2-guarantee__icon {
  font-size: 14px;
}

/* — Навигация (кнопки Назад/Далее) — */

.cv2-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #F3F4F6;
}

/* Compatibility: current JS uses `.cv2-btn ...` */
.cv2-btn {
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cv2-btn--back,
.cv2-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: transparent;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
}

.cv2-btn--back:hover,
.cv2-nav__back:hover {
  background: #F3F4F6;
  border-color: #9CA3AF;
  color: #111827;
}

.cv2-btn--primary,
.cv2-nav__next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  background: #009FED;
  border: none;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 159, 237, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cv2-btn--primary:hover:not(:disabled),
.cv2-nav__next:hover:not(:disabled) {
  background: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 159, 237, 0.35);
}

.cv2-btn--primary:disabled,
.cv2-nav__next:disabled {
  background: #D1D5DB;
  color: #9CA3AF;
  cursor: not-allowed;
  box-shadow: none;
}

/* — Скрытый элемент — */
.cv2-hidden {
  display: none !important;
}

/* — Анимация появления экрана — */
@keyframes cv2-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cv2-screen-enter {
  animation: cv2-fadeIn 0.3s ease forwards;
}

/* — Экран загрузки — */
.cv2-loading {
  text-align: center;
  padding: 60px 0;
}

.cv2-loading .cv2-question {
  margin-bottom: 8px;
}

/* ============================================
   АДАПТИВ — ПЛАНШЕТ
   ============================================ */

@media (max-width: 768px) {
  .constructor-v2 {
    padding: 16px 10px 40px;
  }

  .constructor-v2__container {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .cv2-title {
    font-size: 22px;
  }

  .cv2-question {
    font-size: 18px;
  }

  .cv2-options--two-col,
  .cv2-options--2cols {
    grid-template-columns: 1fr;
  }

  .cv2-guarantees {
    flex-direction: column;
    align-items: center;
  }

  .cv2-nav {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .cv2-nav__next,
  .cv2-btn--primary {
    width: 100%;
    justify-content: center;
  }

  .cv2-nav__back,
  .cv2-btn--back {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   АДАПТИВ — МОБИЛЬНЫЙ
   ============================================ */

@media (max-width: 480px) {
  .constructor-v2 {
    padding: 8px 6px 32px;
  }

  .constructor-v2__container {
    padding: 20px 14px;
    border-radius: 10px;
  }

  .cv2-title {
    font-size: 19px;
  }

  .cv2-question {
    font-size: 16px;
  }

  .cv2-card {
    padding: 12px 14px;
  }

  .cv2-card__title {
    font-size: 14px;
  }

  .cv2-card__desc {
    font-size: 12px;
  }

  .cv2-progress__label,
  .cv2-progress__text {
    font-size: 11px;
  }

  .cv2-nav__next,
  .cv2-btn--primary {
    padding: 12px 20px;
    font-size: 14px;
  }

  .cv2-nav__back,
  .cv2-btn--back {
    padding: 8px 14px;
    font-size: 13px;
  }

  .cv2-guarantee {
    font-size: 11px;
    padding: 5px 10px;
  }
}

/* ============================================
   ЭКРАН РЕЗУЛЬТАТА
   ============================================ */

.cv2-result {
  margin-top: 8px;
}

.cv2-result__section {
  margin-bottom: 28px;
}

.cv2-result__section-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E5E7EB;
}

/* — Карточка товара в результате — */

.cv2-product-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #FFFFFF;
  transition: border-color 0.2s ease;
}

.cv2-product-card:hover {
  border-color: #D1D5DB;
}

.cv2-product-card--primary {
  border-color: #009FED;
  background: #FAFBFF;
}

.cv2-product-card--alternative {
  border-color: #E5E7EB;
  border-style: dashed;
}

.cv2-product-card__image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #F3F4F6;
}

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

.cv2-product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cv2-product-card__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.cv2-product-card__label--primary {
  color: #009FED;
}

.cv2-product-card__label--alternative {
  color: #6B7280;
}

.cv2-product-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cv2-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.cv2-product-card__title a:hover {
  color: #009FED;
}

.cv2-product-card__sku {
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 6px;
}

.cv2-product-card__price {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.cv2-product-card__stock {
  font-size: 12px;
  font-weight: 500;
}

.cv2-product-card__stock--in {
  color: #059669;
}

.cv2-product-card__stock--out {
  color: #DC2626;
}

.cv2-product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.cv2-product-card__feature {
  display: inline-block;
  padding: 2px 8px;
  background: #F3F4F6;
  border-radius: 4px;
  font-size: 11px;
  color: #4B5563;
  font-weight: 500;
}

.cv2-product-card__feature--highlight {
  background: #DBEAFE;
  color: #0284C7;
}

/* — Пояснение к рекомендации — */

.cv2-explanation {
  padding: 14px 18px;
  background: #F9FAFB;
  border-radius: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: #4B5563;
  line-height: 1.6;
}

.cv2-explanation__title {
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
  font-size: 13px;
}

/* — Итого — */

.cv2-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #F9FAFB;
  border-radius: 12px;
  margin-top: 20px;
  border: 1px solid #E5E7EB;
}

.cv2-total__label {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.cv2-total__price {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.cv2-total__savings {
  font-size: 13px;
  color: #059669;
  font-weight: 500;
  margin-top: 2px;
}

/* — Скидки — */

.cv2-discounts {
  margin-top: 12px;
}

.cv2-discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 13px;
}

.cv2-discount-row:last-child {
  border-bottom: none;
}

.cv2-discount-row__label {
  color: #6B7280;
}

.cv2-discount-row__value {
  color: #059669;
  font-weight: 600;
}

/* — Кнопки действий на экране результата — */

.cv2-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cv2-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.cv2-action-btn--primary {
  background: #009FED;
  color: #FFFFFF;
  flex: 1;
  justify-content: center;
}

.cv2-action-btn--primary:hover {
  background: #0284C7;
  box-shadow: 0 2px 8px rgba(0, 159, 237, 0.3);
}

.cv2-action-btn--secondary {
  background: #FFFFFF;
  color: #374151;
  border: 1px solid #E5E7EB;
}

.cv2-action-btn--secondary:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

.cv2-action-btn--green {
  background: #059669;
  color: #FFFFFF;
}

.cv2-action-btn--green:hover {
  background: #047857;
}

.cv2-action-btn__icon {
  font-size: 16px;
}

/* — Кнопка выбора альтернативы — */
.cv2-alt-select {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1.5px solid #009FED;
  border-radius: 8px;
  color: #009FED;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.cv2-alt-select:hover {
  background: #F0F9FF;
  box-shadow: 0 2px 6px rgba(0, 159, 237, 0.15);
}

/* — Форма заявки (модальное окно) — */

.cv2-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: cv2-fadeIn 0.2s ease;
}

.cv2-modal {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.cv2-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #F3F4F6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #6B7280;
  transition: background 0.2s ease;
}

.cv2-modal__close:hover {
  background: #E5E7EB;
}

.cv2-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 20px;
}

.cv2-form-group {
  margin-bottom: 14px;
}

.cv2-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.cv2-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  transition: border-color 0.2s ease;
  background: #FFFFFF;
}

.cv2-form-input:focus {
  outline: none;
  border-color: #009FED;
  box-shadow: 0 0 0 3px rgba(0, 159, 237, 0.1);
}

.cv2-form-input::placeholder {
  color: #9CA3AF;
}

.cv2-form-error {
  font-size: 12px;
  color: #DC2626;
  margin-top: 4px;
}

.cv2-form-submit {
  width: 100%;
  padding: 14px;
  background: #009FED;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.cv2-form-submit:hover {
  background: #0284C7;
}

.cv2-form-submit:disabled {
  background: #D1D5DB;
  cursor: not-allowed;
}

/* — Успешная отправка — */

.cv2-success {
  text-align: center;
  padding: 40px 20px;
}

.cv2-success__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.cv2-success__title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.cv2-success__text {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
}

/* ============================================
   АДАПТИВ РЕЗУЛЬТАТА — ПЛАНШЕТ
   ============================================ */

@media (max-width: 768px) {
  .cv2-product-card {
    flex-direction: column;
    gap: 12px;
  }

  .cv2-product-card__image {
    width: 100%;
    height: auto;
    max-height: 280px;
  }

  .cv2-total {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .cv2-actions {
    flex-direction: column;
  }

  .cv2-action-btn {
    justify-content: center;
  }

  .cv2-modal {
    padding: 24px 18px;
  }
}

/* ============================================
   АДАПТИВ РЕЗУЛЬТАТА — МОБИЛЬНЫЙ
   ============================================ */

@media (max-width: 480px) {
  .cv2-product-card {
    padding: 14px;
  }

  .cv2-product-card__image {
    height: auto;
    max-height: 220px;
  }

  .cv2-product-card__title {
    font-size: 14px;
  }

  .cv2-product-card__price {
    font-size: 18px;
  }

  .cv2-total__price {
    font-size: 20px;
  }

  .cv2-action-btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

/* ============================================
   СПЕЦИАЛЬНЫЕ СОСТОЯНИЯ
   ============================================ */

/* Карточка с иконкой слева (горизонтальный layout) */
.cv2-card--horizontal {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.cv2-card--horizontal .cv2-card__icon {
  font-size: 32px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.cv2-card--horizontal .cv2-card__content {
  flex: 1;
  min-width: 0;
}

/* Маршрутизатор — крупные карточки */
.cv2-options--router {
  gap: 14px;
}
.cv2-options--router .cv2-card {
  padding: 28px 32px;
  text-align: left;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  border-width: 2px;
  transition: all 0.2s ease, transform 0.15s ease;
}
.cv2-options--router .cv2-card:hover {
  border-color: rgba(0, 159, 237, 0.35);
  background: #F8FAFF;
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
  transform: translateY(-2px);
  cursor: pointer;
}
.cv2-options--router .cv2-card:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}
.cv2-options--router .cv2-card__icon {
  font-size: 44px;
  margin-bottom: 0;
  flex-shrink: 0;
  width: 56px;
  text-align: center;
}
.cv2-options--router .cv2-card__title {
  font-size: 18px;
  padding-right: 0;
  margin-bottom: 4px;
}
.cv2-options--router .cv2-card__desc {
  font-size: 14px;
  max-width: none;
  color: #6B7280;
}

/* Пульсация при загрузке */
@keyframes cv2-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.cv2-loading-pulse {
  animation: cv2-pulse 1.5s ease-in-out infinite;
}

/* Спиннер */
.cv2-spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid #E5E7EB;
  border-top-color: #009FED;
  border-radius: 50%;
  animation: cv2-spin 0.7s linear infinite;
  margin: 20px auto;
}

@keyframes cv2-spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   ПЕРЕОПРЕДЕЛЕНИЕ СТИЛЕЙ ТЕМЫ
   ============================================ */

.constructor-v2 h1,
.constructor-v2 h2,
.constructor-v2 h3,
.constructor-v2 h4 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

.constructor-v2 a {
  text-decoration: none;
}

.constructor-v2 button {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.page-template-page-constructor-v2 .site-content,
.page-template-page-constructor-v2 .content-area,
.page-template-page-constructor-v2 .entry-content,
.page-template-page-constructor-v2 main {
  padding: 0;
  margin: 0;
  max-width: none;
}

.page-template-page-constructor-v2 .container,
.page-template-page-constructor-v2 .site-main {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* ============================================
АКСЕССУАРЫ И ДОПЫ
============================================ */

.cv2-accessories-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #f0f0f0;
}

.cv2-accessories-header {
  margin-bottom: 20px;
}

.cv2-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px;
}

.cv2-section-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* Группа аксессуаров */
.cv2-acc-group {
  margin-bottom: 24px;
}

.cv2-acc-group-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.cv2-acc-group-title {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.cv2-acc-group-subtitle {
  font-size: 13px;
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

/* Список аксессуаров */
.cv2-acc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Карточка аксессуара */
.cv2-acc-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  transition: all 0.2s ease;
  overflow: hidden;
}

.cv2-acc-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.cv2-acc-item--must-have {
  border-color: #fbbf24;
  background: #fffbeb;
}

.cv2-acc-item--conditional {
  border-color: #93c5fd;
  background: #eff6ff;
}

.cv2-acc-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  width: 100%;
}

.cv2-acc-checkbox {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #10b981;
  cursor: pointer;
}

.cv2-acc-content {
  flex: 1;
  min-width: 0;
}

.cv2-acc-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cv2-acc-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.cv2-acc-name {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.3;
}

.cv2-acc-price {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Бейджи */
.cv2-acc-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.cv2-acc-badge--must {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fbbf24;
}
.cv2-acc-badge--recommended {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

/* Описание выгоды */
.cv2-acc-benefit {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.4;
}
.cv2-acc-benefit-full {
  font-size: 13px;
  color: #4b5563;
  margin-top: 6px;
  line-height: 1.5;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 6px;
  border-left: 3px solid #2563eb;
}
.cv2-acc-more {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 0;
  margin-top: 4px;
  text-decoration: underline;
  text-decoration-style: dotted;
}
.cv2-acc-more:hover {
  color: #1d4ed8;
  text-decoration-style: solid;
}

/* Итого аксессуары */
.cv2-acc-sum {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}
.cv2-acc-count {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 2px;
}

/* Состояние отмеченного чекбокса */
.cv2-acc-item:has(.cv2-acc-checkbox:checked) {
  border-color: #10b981;
  background: #ecfdf5;
  box-shadow: 0 0 0 1px #10b981;
}
.cv2-acc-item:has(.cv2-acc-checkbox:checked) .cv2-acc-name {
  color: #065f46;
}
.cv2-acc-item:has(.cv2-acc-checkbox:checked) .cv2-acc-price {
  color: #059669;
}

/* ============================================
НОВЫЙ LAYOUT — СТАНОК + АКСЕССУАРЫ В РЯД
============================================ */

.cv2-station-section {
  margin-bottom: 32px;
}

.cv2-station-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.cv2-station-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1200px) {
  .cv2-station-row {
    grid-template-columns: 1fr 420px;
  }
}

.cv2-station-main {
  min-width: 0;
}

.cv2-station-accessories {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  max-height: 600px;
  overflow-y: auto;
}

.cv2-station-acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.cv2-station-acc-title {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}

.cv2-station-acc-count {
  font-size: 12px;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Карточка аксессуара — новый формат */
.cv2-acc-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.cv2-acc-card:last-child {
  margin-bottom: 0;
}

.cv2-acc-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.cv2-acc-card--must {
  border-color: #fbbf24;
  background: #fffbeb;
}

.cv2-acc-card--recommended {
  border-color: #93c5fd;
  background: #eff6ff;
}

.cv2-acc-card:has(.cv2-acc-checkbox:checked) {
  border-color: #10b981;
  background: #ecfdf5;
  box-shadow: 0 0 0 1px #10b981;
}

.cv2-acc-card:has(.cv2-acc-checkbox:checked) .cv2-acc-card-name {
  color: #065f46;
}

.cv2-acc-card:has(.cv2-acc-checkbox:checked) .cv2-acc-card-price {
  color: #059669;
}

.cv2-acc-card-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
  width: 100%;
}

.cv2-acc-card-label .cv2-acc-checkbox {
  margin-top: 12px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #10b981;
  cursor: pointer;
}

.cv2-acc-card-image {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv2-acc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv2-acc-card-image--placeholder {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
}

.cv2-acc-card-body {
  flex: 1;
  min-width: 0;
}

.cv2-acc-card-name {
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 2px;
}

.cv2-acc-card-benefit {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cv2-acc-card-price {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
}

.cv2-acc-card-details {
  padding: 0 12px 12px;
}

.cv2-acc-card-details p {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
  padding: 8px 10px;
  background: #f9fafb;
  border-radius: 6px;
  border-left: 3px solid #2563eb;
}

.cv2-acc-details-toggle {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid #f3f4f6;
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
  padding: 8px;
  cursor: pointer;
  text-align: center;
}

.cv2-acc-details-toggle:hover {
  background: #f9fafb;
  color: #1d4ed8;
}

/* ============================================
   ОБОРУДОВАНИЕ ДЛЯ ПОСТА
   ============================================ */
.cv2-post-addons {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #f0f0f0;
}
.cv2-post-addons-header {
  margin-bottom: 20px;
}
/* Сетка категорий */
.cv2-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
/* Категория */
.cv2-addon-category {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}
.cv2-addon-cat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}
.cv2-addon-cat-label {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}
.cv2-addon-cat-badge--required {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fbbf24;
}
/* Карточка допа */
.cv2-addon-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  overflow: hidden;
}
.cv2-addon-card:last-child {
  margin-bottom: 0;
}
.cv2-addon-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cv2-addon-card--primary {
  border-color: #a7f3d0;
  background: #f0fdf4;
}
.cv2-addon-card:has(.cv2-addon-checkbox:checked) {
  border-color: #10b981;
  background: #ecfdf5;
  box-shadow: 0 0 0 1px #10b981;
}
.cv2-addon-card-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
  width: 100%;
}
.cv2-addon-card-label .cv2-addon-checkbox {
  margin-top: 12px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #10b981;
  cursor: pointer;
}
/* Миниатюра */
.cv2-addon-card-image {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv2-addon-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv2-addon-card-image--placeholder {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
}
/* Тело */
.cv2-addon-card-body {
  flex: 1;
  min-width: 0;
}
.cv2-addon-card-name {
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 2px;
}
.cv2-addon-card:has(.cv2-addon-checkbox:checked) .cv2-addon-card-name {
  color: #065f46;
}
.cv2-addon-card-benefit {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
  margin-bottom: 4px;
}
.cv2-addon-card-price {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
}
.cv2-addon-card:has(.cv2-addon-checkbox:checked) .cv2-addon-card-price {
  color: #059669;
}
/* Подробности */
.cv2-addon-card-details {
  padding: 0 12px 12px;
}
.cv2-addon-card-details p {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
  padding: 8px 10px;
  background: #f9fafb;
  border-radius: 6px;
  border-left: 3px solid #2563eb;
}
.cv2-addon-details-toggle {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid #f3f4f6;
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
  padding: 8px;
  cursor: pointer;
  text-align: center;
}
.cv2-addon-details-toggle:hover {
  background: #f9fafb;
  color: #1d4ed8;
}
/* Блок апгрейда */
.cv2-addon-upgrade {
  margin-top: 8px;
}
.cv2-addon-upgrade-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
  padding-left: 4px;
}
.cv2-addon-upgrade-hint svg {
  color: #10b981;
}
/* Расширенный список */
.cv2-addon-expanded {
  margin-top: 8px;
}
.cv2-addon-expanded-toggle {
  display: block;
  width: 100%;
  background: #f3f4f6;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  padding: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.cv2-addon-expanded-toggle:hover {
  background: #e5e7eb;
  color: #374151;
}
.cv2-addon-expanded-list {
  margin-top: 8px;
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ ДОПОВ
   ============================================ */
@media (max-width: 768px) {
  .cv2-addons-grid {
    grid-template-columns: 1fr;
  }

  .cv2-addon-category {
    padding: 12px;
  }

  .cv2-addon-card-image {
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 480px) {
  .cv2-addon-card-label {
    padding: 10px;
    gap: 8px;
  }

  .cv2-addon-card-name {
    font-size: 12px;
  }
}

/* Для будущего развития */
.cv2-acc-future {
  margin-top: 12px;
  border-top: 1px dashed #d1d5db;
  padding-top: 8px;
}
.cv2-acc-future-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 4px;
  cursor: pointer;
  text-align: left;
}
.cv2-acc-future-toggle:hover {
  color: #374151;
}
.cv2-acc-future-icon {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.cv2-acc-future-list {
  margin-top: 8px;
}
.cv2-acc-future-list .cv2-acc-card {
  opacity: 0.75;
}
.cv2-acc-future-list .cv2-acc-card:hover {
  opacity: 1;
}

/* Универсальные аксессуары — горизонтальный блок */
.cv2-universal-acc {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.cv2-acc-list--horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.cv2-acc-list--horizontal .cv2-acc-card {
  margin-bottom: 0;
}

/* Скроллбар для панели аксессуаров */
.cv2-station-accessories::-webkit-scrollbar {
  width: 4px;
}

.cv2-station-accessories::-webkit-scrollbar-track {
  background: transparent;
}

.cv2-station-accessories::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.cv2-station-accessories::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ НОВОГО LAYOUT
   ============================================ */
@media (max-width: 1024px) {
  .cv2-station-row {
    grid-template-columns: 1fr 280px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .cv2-station-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cv2-station-accessories {
    max-height: none;
    overflow-y: visible;
  }

  .cv2-acc-list--horizontal {
    grid-template-columns: 1fr;
  }

  .cv2-acc-card-image {
    width: 48px;
    height: 48px;
  }

  .cv2-acc-card-label {
    padding: 10px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .cv2-station-accessories {
    padding: 12px;
  }

  .cv2-acc-card-label {
    padding: 10px;
    gap: 8px;
  }

  .cv2-acc-card-image {
    width: 40px;
    height: 40px;
  }

  .cv2-acc-card-name {
    font-size: 12px;
  }

  .cv2-acc-card-price {
    font-size: 13px;
  }
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ АКСЕССУАРОВ
   ============================================ */
@media (max-width: 768px) {
  .cv2-accessories-section {
    margin-top: 24px;
    padding-top: 16px;
  }

  .cv2-section-title {
    font-size: 18px;
  }

  .cv2-acc-group-header {
    flex-direction: column;
    gap: 2px;
  }

  .cv2-acc-group-subtitle {
    max-width: 100%;
  }

  .cv2-acc-label {
    padding: 12px;
    gap: 10px;
  }

  .cv2-acc-top-row {
    flex-direction: column;
    gap: 4px;
  }

  .cv2-acc-price {
    font-size: 14px;
  }

  .cv2-acc-name {
    font-size: 13px;
  }

  .cv2-acc-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
@media (max-width: 480px) {
  .cv2-acc-label {
    padding: 10px;
    gap: 8px;
  }

  .cv2-acc-checkbox {
    width: 20px;
    height: 20px;
  }

  .cv2-section-title {
    font-size: 16px;
  }
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ============================================ */
/* Планшеты (до 768px) */
@media (max-width: 768px) {
    .constructor-v2__container {
        max-width: 100%;
        margin: 0 12px;
        padding: 28px 24px;
        border-radius: 12px;
    }
    .cv2-title {
        font-size: 22px;
    }
    .cv2-question {
        font-size: 18px;
    }
    .cv2-subtitle {
        font-size: 14px;
    }
    /* Карточки маршрутизатора — вертикальные на планшете */
    .cv2-options--router .cv2-card {
        padding: 20px 24px;
        min-height: 80px;
    }
    .cv2-options--router .cv2-card__icon {
        font-size: 36px;
        width: 44px;
    }
    .cv2-options--router .cv2-card__title {
        font-size: 16px;
    }
    /* Двухколоночная сетка → одна колонка */
    .cv2-options--two-col {
        grid-template-columns: 1fr;
    }
    /* Гарантии — вертикально */
    .cv2-guarantees {
        flex-direction: column;
        gap: 8px;
    }
    .cv2-guarantee {
        font-size: 12px;
    }
    /* Навигация */
    .cv2-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .cv2-nav .cv2-btn--back,
    .cv2-nav .cv2-nav__back {
        width: 100%;
        justify-content: center;
    }
    .cv2-nav .cv2-btn--primary,
    .cv2-nav .cv2-nav__next {
        width: 100%;
        justify-content: center;
    }
    /* Карточки товаров в результатах */
    .cv2-product-card {
        flex-direction: column;
    }
    .cv2-product-card__image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto 12px;
    }
    .cv2-product-card__image img {
        width: 100%;
        height: auto;
    }
    .cv2-product-card__title a {
        font-size: 15px;
    }
    .cv2-product-card__price {
        font-size: 20px;
    }
    .cv2-product-card__features {
        flex-wrap: wrap;
    }
    .cv2-product-card__feature {
        font-size: 11px;
    }
    /* Итого */
    .cv2-total {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .cv2-total__price {
        font-size: 26px;
    }
    /* Кнопки действий */
    .cv2-actions {
        flex-direction: column;
        gap: 10px;
    }
    .cv2-action-btn {
        width: 100%;
        justify-content: center;
    }
    /* Модальное окно */
    .cv2-modal {
        margin: 16px;
        padding: 24px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    /* Скидки */
    .cv2-discount-row {
        flex-direction: column;
        gap: 4px;
    }
    /* Прогресс */
    .cv2-progress__text {
        font-size: 12px;
    }
}
/* Телефоны (до 480px) */
@media (max-width: 480px) {
    .constructor-v2__container {
        margin: 0 8px;
        padding: 20px 16px;
        border-radius: 10px;
    }
    .cv2-title {
        font-size: 19px;
    }
    .cv2-question {
        font-size: 16px;
    }
    /* Маршрутизатор — полностью вертикальный */
    .cv2-options--router .cv2-card {
        flex-direction: column;
        text-align: center;
        padding: 18px 16px;
        min-height: auto;
        gap: 10px;
    }
    .cv2-options--router .cv2-card__icon {
        font-size: 32px;
        width: auto;
    }
    .cv2-options--router .cv2-card__title {
        font-size: 15px;
    }
    .cv2-options--router .cv2-card__desc {
        font-size: 13px;
    }
    /* Обычные карточки */
    .cv2-card {
        padding: 14px 16px;
    }
    .cv2-card__title {
        font-size: 14px;
        padding-right: 24px;
    }
    .cv2-card__desc {
        font-size: 12px;
    }
    /* Бейджи товаров */
    .cv2-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
    /* Результаты */
    .cv2-result__section-title {
        font-size: 16px;
    }
    .cv2-product-card__title a {
        font-size: 14px;
    }
    .cv2-product-card__price {
        font-size: 18px;
    }
    .cv2-total__price {
        font-size: 22px;
    }
    /* Модалка */
    .cv2-modal {
        margin: 8px;
        padding: 20px 16px;
    }
    .cv2-modal__title {
        font-size: 18px;
    }
    .cv2-form-input {
        font-size: 16px; /* Предотвращает зум на iOS */
        padding: 12px 14px;
    }
    .cv2-form-submit {
        font-size: 16px;
        padding: 14px 20px;
    }
    /* Пояснение */
    .cv2-explanation {
        font-size: 13px;
    }
    /* Кнопка альтернативы */
    .cv2-alt-select {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
    }
}
/* Фикс для iOS — предотвращение зума при фокусе на input */
@supports (-webkit-touch-callout: none) {
    .cv2-form-input {
        font-size: 16px;
    }
}

/* === Кнопка корзины === */
.cv2-action-btn--cart {
    background: #009FED !important;
    color: #fff !important;
    border: none !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    padding: 16px 32px !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
}
.cv2-action-btn--cart:hover {
    background: #0284C7 !important;
    transform: translateY(-1px);
}
.cv2-action-btn--cart:disabled {
    background: #9e9e9e !important;
    cursor: wait;
    transform: none;
}
/* === Уведомление корзины === */
.cv2-cart-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.cv2-cart-notification--visible {
    opacity: 1;
    pointer-events: all;
}
.cv2-cart-notification__content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.cv2-cart-notification--visible .cv2-cart-notification__content {
    transform: scale(1);
}
.cv2-cart-notification__icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.cv2-cart-notification__text strong {
    display: block;
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.cv2-cart-notification__text p {
    color: #666;
    font-size: 15px;
    margin: 0;
}
.cv2-cart-notification__actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
}
.cv2-cart-notification__btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: background 0.2s;
}
.cv2-cart-notification__btn--primary {
    background: #009FED;
    color: #fff;
}
.cv2-cart-notification__btn--primary:hover {
    background: #0284C7;
}
.cv2-cart-notification__btn--secondary {
    background: #f5f5f5;
    color: #333;
}
.cv2-cart-notification__btn--secondary:hover {
    background: #e0e0e0;
}
@media (max-width: 480px) {
    .cv2-cart-notification__content {
        padding: 24px 16px;
    }
    .cv2-cart-notification__actions {
        flex-direction: column;
    }
    .cv2-cart-notification__btn {
        width: 100%;
    }
}

