:root {
      --rd-red: #c71618;
      --rd-red-hover: #a51214;
      --rd-red-light: rgba(199, 22, 24, 0.06);
      --rd-dark: #1a1a1a;
      --rd-gray-bg: #f7f8fa;
      --rd-gray-border: #e5e7eb;
      --rd-gray-text: #6b7280;
      --rd-green: #059669;
      --rd-green-light: rgba(5, 150, 105, 0.06);
      --rd-blue: #2563eb;
      --rd-blue-light: rgba(37, 99, 235, 0.06);
      --rd-radius: 16px;
      --rd-radius-sm: 10px;
      --rd-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      --rd-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
      --rd-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
      --rd-transition: 0.25s ease;
    }

    /* ====== ТАРИФНЫЕ КАРТОЧКИ ====== */
    .pricing-cards {
      padding: 40px 0 48px;
    }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      align-items: stretch;
    }
    .pricing-grid--3 {
      grid-template-columns: repeat(3, 1fr);
    }
    .pricing-card {
      background: #fff;
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius);
      padding: 32px 24px 28px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all var(--rd-transition);
      cursor: pointer;
    }
    .pricing-card:hover {
      border-color: #d1d5db;
      box-shadow: var(--rd-shadow-md);
      transform: translateY(-2px);
    }
    .pricing-card.is-active {
      border-color: var(--rd-red);
      box-shadow: 0 0 0 1px var(--rd-red), var(--rd-shadow-md);
    }
    .pricing-card.is-popular {
      border-color: var(--rd-red);
    }
    .pricing-card .card-badge {
      position: absolute;
      top: -13px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--rd-red);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 16px;
      border-radius: 20px;
      white-space: nowrap;
    }
    .pricing-card .card-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }
    .pricing-card .card-icon svg {
      width: 28px;
      height: 28px;
    }
    .pricing-card .card-icon.icon-home { background: var(--rd-green-light); color: var(--rd-green); }
    .login-form {
      max-width: 400px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 20px;
    }
    .login-field { display: flex; flex-direction: column; gap: 6px; }
    .login-field input {
      padding: 12px 14px;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      font-size: 15px;
      outline: none;
      transition: border-color var(--rd-transition);
      color: var(--rd-dark);
    }
    .login-field input:focus { border-color: var(--rd-red); }
    .login-links {
      display: flex;
      gap: 20px;
      margin-bottom: 24px;
    }
    .login-links a {
      font-size: 14px;
      color: var(--rd-red);
      text-decoration: underline;
      text-decoration-color: rgba(199,22,24,0.3);
      transition: text-decoration-color var(--rd-transition);
    }
    .login-links a:hover { text-decoration-color: var(--rd-red); }
    .promo-row {
      margin-bottom: 20px;
    }
    .promo-row .form-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--rd-gray-text);
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
    .btn-apply-promo {
      padding: 12px 18px;
      background: var(--rd-red);
      color: #fff;
      border: none;
      border-radius: var(--rd-radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: background var(--rd-transition);
    }
    .btn-apply-promo:hover { background: var(--rd-red-hover); }
    .card-tip-wrap {
      position: relative;
      display: inline-flex;
      align-items: center;
      vertical-align: middle;
      margin-left: 4px;
    }
    .card-tip-icon {
      color: var(--rd-red);
      cursor: pointer;
      flex-shrink: 0;
    }
    .card-tip-text {
      display: none;
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--rd-dark);
      color: #fff;
      font-size: 12px;
      font-weight: 500;
      line-height: 1.4;
      padding: 8px 12px;
      border-radius: 8px;
      white-space: normal;
      width: 150px;
      text-align: center;
      z-index: 100;
      pointer-events: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .card-tip-text::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 5px solid transparent;
      border-top-color: var(--rd-dark);
    }
    .card-tip-wrap:hover .card-tip-text { display: block; }
    .card-tip-corner {
      position: absolute;
      top: 8px;
      right: 8px;
    }
    .card-only-notice {
      margin: 8px 0 0;
      font-size: 13px;
      color: #92400e;
      background: #fffbeb;
      border: 1px solid #fcd34d;
      border-radius: var(--rd-radius-sm);
      padding: 8px 14px;
      width: 100%;
    }
    .home-limit {
      display: inline-block;
      background: rgba(5, 150, 105, 0.12);
      color: var(--rd-green);
      font-size: 13px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      border: 1px solid rgba(5, 150, 105, 0.3);
      margin-top: 4px;
    }
    .trial-badge {
      display: inline-block;
      background: var(--rd-red-light);
      color: var(--rd-red);
      font-size: 13px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      border: 1px solid rgba(199, 22, 24, 0.25);
      text-decoration: none;
      transition: background var(--rd-transition), box-shadow var(--rd-transition);
    }
    .trial-badge:hover {
      background: rgba(199, 22, 24, 0.15);
      box-shadow: 0 2px 8px rgba(199, 22, 24, 0.2);
    }
    .pricing-card .card-icon.icon-cloud { background: var(--rd-red-light); color: var(--rd-red); }
    .pricing-card .card-icon.icon-server { background: var(--rd-blue-light); color: var(--rd-blue); }
    .pricing-card .card-icon.icon-uem { background: #f3e8ff; color: #7c3aed; }

    .pricing-card .card-illustration {
      width: 100%;
      height: 120px;
      object-fit: contain;
      margin-bottom: 16px;
      border-radius: var(--rd-radius-sm);
    }

    .pricing-card .card-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--rd-dark);
      margin-bottom: 6px;
    }
    .pricing-card .card-price {
      font-size: 15px;
      color: var(--rd-gray-text);
      margin-bottom: 20px;
      line-height: 1.4;
    }
    .pricing-card .card-price strong {
      font-size: 28px;
      font-weight: 800;
      color: var(--rd-dark);
      display: block;
      margin-bottom: 2px;
    }
    .pricing-card .card-features {
      list-style: none;
      padding: 0;
      margin: 0 0 24px;
      flex: 1;
    }
    .pricing-card .card-features li {
      font-size: 14px;
      line-height: 1.5;
      color: #4b5563;
      padding: 6px 0 6px 24px;
      position: relative;
    }
    .pricing-card .card-features li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 10px;
      width: 16px;
      height: 16px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") no-repeat center;
      background-size: contain;
    }
    .pricing-card .card-btn {
      display: block;
      width: 100%;
      padding: 14px;
      border-radius: var(--rd-radius-sm);
      font-size: 15px;
      font-weight: 600;
      text-align: center;
      text-decoration: none;
      transition: all var(--rd-transition);
      border: 2px solid transparent;
    }
    .pricing-card .card-btn.btn-primary {
      background: var(--rd-red);
      color: #fff;
      border-color: var(--rd-red);
    }
    .pricing-card .card-btn.btn-primary:hover {
      background: var(--rd-red-hover);
      border-color: var(--rd-red-hover);
      box-shadow: var(--rd-shadow-md);
    }
    .pricing-card .card-btn.btn-secondary {
      background: #fff;
      color: var(--rd-dark);
      border-color: var(--rd-gray-border);
    }
    .pricing-card .card-btn.btn-secondary:hover {
      border-color: var(--rd-red);
      color: var(--rd-red);
    }
    .pricing-card .card-btn.btn-green {
      background: var(--rd-green);
      color: #fff;
      border-color: var(--rd-green);
    }
    .pricing-card .card-btn.btn-green:hover {
      background: #047857;
      border-color: #047857;
    }

    @media (max-width: 991px) {
      .pricing-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 575px) {
      .pricing-grid { grid-template-columns: 1fr; }
    }

    /* ====== ПРОДЛЕНИЕ ====== */
    .renew-section {
      padding: 32px 0;
      background: var(--rd-gray-bg);
      border-top: 1px solid var(--rd-gray-border);
      border-bottom: 1px solid var(--rd-gray-border);
    }
    .renew-block {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }
    .renew-text h2 {
      font-size: 22px;
      font-weight: 700;
      color: var(--rd-dark);
      margin: 0 0 6px;
    }
    .renew-text p {
      font-size: 15px;
      color: var(--rd-gray-text);
      margin: 0;
    }
    .btn-renew {
      display: inline-block;
      background: var(--rd-red);
      color: #fff !important;
      font-size: 16px;
      font-weight: 700;
      padding: 14px 36px;
      border-radius: var(--rd-radius-sm);
      text-decoration: none;
      white-space: nowrap;
      transition: background var(--rd-transition), box-shadow var(--rd-transition);
      box-shadow: 0 4px 14px rgba(199,22,24,0.25);
    }
    .btn-renew-outline {
      background: #fff !important;
      color: var(--rd-red) !important;
      border: 2px solid var(--rd-red);
      box-shadow: none !important;
    }
    .btn-renew-outline:hover {
      background: var(--rd-red-light, #fff5f5) !important;
    }
    .btn-renew:hover {
      background: var(--rd-red-hover);
      box-shadow: 0 6px 20px rgba(199,22,24,0.35);
    }
    @media (max-width: 600px) {
      .renew-block { flex-direction: column; align-items: flex-start; }
    }
    .renew-pay-tabs {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .renew-tab {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      background: #fff;
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
      cursor: pointer;
      transition: all var(--rd-transition);
    }
    .renew-tab:hover { border-color: var(--rd-red); color: var(--rd-red); }
    .renew-tab.is-active { border-color: var(--rd-red); background: var(--rd-red-light); color: var(--rd-red); }
    .tstep-content { display: none; }
    .tstep-content.is-active { display: block; background: #fff; border-radius: var(--rd-radius); padding: 36px; box-shadow: var(--rd-shadow); animation: fadeSlideIn 0.3s ease; }
    .test-product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 8px;
    }
    .test-product-card {
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      padding: 20px 16px;
      text-align: center;
      cursor: pointer;
      transition: all var(--rd-transition);
      background: #fff;
    }
    .test-product-card:hover { border-color: var(--rd-red); background: var(--rd-red-light); }
    .test-product-card.is-selected { border-color: var(--rd-red); background: var(--rd-red-light); }
    .test-product-name { font-size: 16px; font-weight: 700; color: var(--rd-dark); margin-bottom: 8px; }
    .test-product-days { font-size: 13px; color: var(--rd-gray-text); font-weight: 500; }
    .test-product-card.is-selected .test-product-name { color: var(--rd-red); }
    .test-product-card.is-selected .test-product-days { color: var(--rd-red); }
    @media (max-width: 600px) { .test-product-grid { grid-template-columns: 1fr; } }
    .rstep-content { display: none; }
    .rstep-content.is-active { display: block; background: #fff; border-radius: var(--rd-radius); padding: 36px; box-shadow: var(--rd-shadow); animation: fadeSlideIn 0.3s ease; }
    .estep-content { display: none; }
    .estep-content.is-active { display: block; background: #fff; border-radius: var(--rd-radius); padding: 36px; box-shadow: var(--rd-shadow); animation: fadeSlideIn 0.3s ease; }
    .tstep-content { display: none; }
    .tstep-content.is-active { display: block; background: #fff; border-radius: var(--rd-radius); padding: 36px; box-shadow: var(--rd-shadow); animation: fadeSlideIn 0.3s ease; }

    /* Подписи к шагам прогресс-бара */
    .calculator-section .calc-step {
      position: relative;
    }
    .calculator-section .calc-step .step-label {
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 11px;
      font-weight: 600;
      color: var(--rd-gray-text);
      white-space: nowrap;
      pointer-events: none;
    }
    .calculator-section .calc-step.is-done .step-label,
    .calculator-section .calc-step.is-current .step-label { color: var(--rd-red); }

    /* ====== ПОШАГОВЫЙ КАЛЬКУЛЯТОР ====== */
    .calculator-section {
      padding: 48px 0;
      background: var(--rd-gray-bg);
      display: none; /* показывается JS-ом */
    }
    .calculator-section.is-visible {
      display: block;
      animation: fadeSlideIn 0.35s ease;
    }
    @keyframes fadeSlideIn {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }
    /* Табы режимов */
    .calc-mode-tabs {
      display: flex;
      gap: 0;
      border-bottom: 2px solid var(--rd-gray-border);
      margin-bottom: 32px;
    }
    .mode-tab {
      flex: 1;
      padding: 14px 20px;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      margin-bottom: -2px;
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-gray-text);
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s;
      text-align: center;
    }
    .mode-tab:hover { color: var(--rd-dark); }
    .mode-tab.is-active {
      color: var(--rd-red);
      border-bottom-color: var(--rd-red);
    }

    /* Панели режимов: grid stacking — все в ячейке [1/1], высота = максимальная */
    .mode-panel {
      grid-area: 1 / 1;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }
    .mode-panel.is-active {
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
      transition: opacity 0.2s ease, visibility 0s linear 0s;
    }

    /* Табы тарифов внутри режима Купить */
    .plan-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 24px;
    }
    .plan-tab {
      padding: 10px 20px;
      background: #fff;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      font-size: 14px;
      font-weight: 500;
      color: var(--rd-gray-text);
      cursor: pointer;
      transition: all 0.2s;
    }
    .plan-tab:hover {
      border-color: var(--rd-red);
      color: var(--rd-dark);
    }
    .plan-tab.is-active {
      background: var(--rd-red);
      border-color: var(--rd-red);
      color: #fff;
    }

    .calc-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 32px;
    }
    .calc-header h2 {
      font-size: 24px;
      font-weight: 700;
      margin: 0;
    }
    .calc-back {
      font-size: 14px;
      font-weight: 600;
      color: var(--rd-gray-text);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      transition: color var(--rd-transition);
    }
    .calc-back:hover { color: var(--rd-dark); }
    .calc-back svg { width: 16px; height: 16px; }

    /* Шаги */
    .calculator-section .calc-steps {
      display: flex;
      gap: 8px;
      margin-bottom: 48px;
      padding-bottom: 16px;
    }
    .calculator-section .calc-step {
      flex: 1;
      height: 4px;
      background: #d1d5db;
      border-radius: 2px;
      transition: background var(--rd-transition);
    }
    .calculator-section .calc-step.is-done { background: var(--rd-red); }
    .calculator-section .calc-step.is-current { background: var(--rd-red); opacity: 0.5; }

    /* Контент шага */
    .calculator-section .step-content {
      display: none;
      background: #fff;
      border-radius: var(--rd-radius);
      padding: 36px;
      box-shadow: var(--rd-shadow);
    }
    .calculator-section .step-content.is-active { display: block; animation: fadeSlideIn 0.3s ease; }
    .step-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 24px;
      color: var(--rd-dark);
    }

    /* Опции выбора (срок лицензии и т.д.) */
    .option-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 12px;
      margin-bottom: 24px;
    }
    .option-card {
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      padding: 16px;
      text-align: center;
      cursor: pointer;
      transition: all var(--rd-transition);
      background: #fff;
      position: relative;
    }
    .option-card:hover {
      border-color: #d1d5db;
      background: var(--rd-gray-bg);
    }
    .option-card.is-selected {
      border-color: var(--rd-red);
      background: var(--rd-red-light);
    }
    .option-card .option-label {
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
    }
    .option-card .option-price {
      font-size: 13px;
      color: var(--rd-gray-text);
      margin-top: 4px;
    }

    /* Количество подключений */
    .qty-control {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }
    .qty-control label {
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
      min-width: 200px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .qty-spinner {
      display: flex;
      align-items: center;
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      overflow: hidden;
    }
    .qty-spinner button {
      width: 44px;
      height: 44px;
      border: none;
      background: var(--rd-gray-bg);
      font-size: 20px;
      font-weight: 600;
      color: var(--rd-dark);
      cursor: pointer;
      transition: background var(--rd-transition);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .qty-spinner button:hover { background: #e5e7eb; }
    .qty-spinner input {
      width: 80px;
      height: 44px;
      border: none;
      text-align: center;
      font-size: 18px;
      font-weight: 700;
      color: var(--rd-dark);
      outline: none;
      -moz-appearance: textfield;
      appearance: textfield;
    }
    .qty-spinner input::-webkit-inner-spin-button,
    .qty-spinner input::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    /* Итог */
    .calc-summary {
      background: var(--rd-gray-bg);
      border-radius: var(--rd-radius-sm);
      padding: 20px 24px;
      margin-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .calc-summary .summary-label {
      font-size: 14px;
      color: var(--rd-gray-text);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
    .calc-summary .summary-price {
      font-size: 32px;
      font-weight: 800;
      color: var(--rd-dark);
    }

    /* Кнопки навигации */
    .calc-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 32px;
    }
    .calc-nav .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: none;
      border: none;
      font-size: 16px;
      font-weight: 400;
      cursor: pointer;
      padding: 8px 0;
      text-decoration: none;
      transition: gap 0.18s;
    }
    .calc-nav .btn-next {
      color: #d12d2f;
      margin-left: auto;
    }
    .calc-nav .btn-next:hover { gap: 10px; }
    .calc-nav .btn-prev {
      color: var(--rd-gray-text);
    }
    .calc-nav .btn-prev:hover { color: var(--rd-dark); gap: 10px; }

    /* Форма контактов (шаг 3) */
    .contact-form .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 12px;
      align-items: start;
    }
    .contact-form .form-row.full { grid-template-columns: 1fr; }
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form input[type="password"] {
      width: 100%;
      padding: 14px 16px;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      font-size: 15px;
      transition: all var(--rd-transition);
    }
    .contact-form input:focus {
      outline: none;
      border-color: var(--rd-red);
      box-shadow: 0 0 0 3px rgba(199, 22, 24, 0.08);
    }
    .contact-form input::placeholder { color: #9ca3af; }
    .contact-form .form-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--rd-gray-text);
      margin-bottom: 6px;
      display: block;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
    .invoice-fields { display: none; }
    .invoice-fields.is-visible { display: block; animation: fadeSlideIn 0.25s ease; }

    /* Финальные кнопки */
    .final-actions {
      display: flex;
      gap: 12px;
      margin-top: 24px;
      flex-wrap: wrap;
    }
    .final-actions .btn {
      padding: 16px 32px;
      border-radius: var(--rd-radius-sm);
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: all var(--rd-transition);
      border: 2px solid transparent;
      flex: 1;
      text-align: center;
      min-width: 180px;
    }
    .final-actions .btn-buy {
      background: var(--rd-red);
      color: #fff;
      border-color: var(--rd-red);
    }
    .final-actions .btn-buy:hover {
      background: var(--rd-red-hover);
      transform: translateY(-1px);
      box-shadow: var(--rd-shadow-lg);
    }
    .final-actions .btn-invoice {
      background: #fff;
      color: var(--rd-dark);
      border-color: var(--rd-gray-border);
    }
    .final-actions .btn-invoice:hover {
      border-color: var(--rd-red);
      color: var(--rd-red);
    }
    .final-actions .btn-trial {
      background: #fff;
      color: var(--rd-gray-text);
      border-color: var(--rd-gray-border);
    }
    .final-actions .btn-trial:hover {
      border-color: var(--rd-green);
      color: var(--rd-green);
    }

    .consent-text {
      text-align: center;
      font-size: 13px;
      color: var(--rd-gray-text);
      max-width: 600px;
      margin: 16px auto 0;
      line-height: 1.6;
    }
    .consent-text a {
      color: var(--rd-red);
      text-decoration: underline;
      text-decoration-color: rgba(199, 22, 24, 0.3);
    }
    .email-verify-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .email-verify-row input {
      flex: 1;
    }
    .btn-verify-email {
      flex-shrink: 0;
      padding: 12px 18px;
      background: var(--rd-red);
      color: #fff;
      border: none;
      border-radius: var(--rd-radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background var(--rd-transition);
      white-space: nowrap;
    }
    .btn-verify-email:hover { background: var(--rd-red-hover); }
    .btn-verify-email:disabled { background: #9ca3af; cursor: default; }
    .verify-code-block {
      display: none;
      margin-top: 14px;
    }
    .verify-code-block.is-visible { display: block; animation: fadeSlideIn 0.25s ease; }
    .verify-code-hint {
      font-size: 13px;
      color: var(--rd-gray-text);
      display: block;
      margin-bottom: 10px;
    }
    .verify-code-inputs {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
    }
    .code-digit {
      width: 52px;
      height: 56px;
      text-align: center;
      font-size: 24px;
      font-weight: 700;
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      outline: none;
      transition: border-color var(--rd-transition);
      color: var(--rd-dark);
    }
    .code-digit:focus { border-color: var(--rd-blue); }
    .code-digit.is-error { border-color: var(--rd-red); }
    .btn-resend-code {
      font-size: 13px;
      color: var(--rd-blue);
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      text-decoration: underline;
    }
    .btn-resend-code:disabled { color: var(--rd-gray-text); cursor: default; text-decoration: none; }
    .email-verified-badge {
      display: none;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--rd-green);
      margin-top: 10px;
    }
    .email-verified-badge.is-visible { display: flex; animation: fadeSlideIn 0.25s ease; }
    .email-error-notice {
      display: none;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 600;
      color: #991b1b;
      background: #fee2e2;
      border: 1px solid #fca5a5;
      border-radius: var(--rd-radius-sm);
      padding: 10px 14px;
      margin-top: 10px;
    }
    .email-error-notice svg { flex-shrink: 0; width: 18px; height: 18px; }
    .email-error-notice.is-visible { display: flex; animation: fadeSlideIn 0.25s ease; }
    .field-error {
      display: none;
      font-size: 12px;
      font-weight: 600;
      color: #991b1b;
      background: #fee2e2;
      border: 1px solid #fca5a5;
      border-radius: 6px;
      padding: 6px 10px;
      margin-top: 6px;
    }
    .field-error.is-visible { display: block; animation: fadeSlideIn 0.2s ease; }
    input.is-error { border-color: var(--rd-red) !important; }
    .email-verify-row input.is-error,
    #v2-email.is-error { border-color: var(--rd-red) !important; }
    .review-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 24px;
    }
    @media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }
    .review-card {
      background: var(--rd-gray-bg);
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      padding: 14px 16px;
      min-width: 0;
    }
    .review-card-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--rd-gray-text);
      margin-bottom: 6px;
    }
    .review-card-value {
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
      overflow-wrap: break-word;
      word-break: break-word;
    }
    .review-card.full { grid-column: 1 / -1; }
    .review-card.highlight {
      border-color: rgba(199,22,24,0.3);
      background: rgba(199,22,24,0.04);
    }
    .review-card.highlight .review-card-value { color: var(--rd-red); }
    .consent-checkbox {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      color: var(--rd-gray-text);
      line-height: 1.6;
      margin: 16px 0 0;
      cursor: pointer;
    }
    .consent-checkbox input[type="checkbox"] {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      margin-top: 2px;
      accent-color: var(--rd-red);
      cursor: pointer;
    }
    .consent-checkbox a {
      color: var(--rd-red);
      text-decoration: underline;
      text-decoration-color: rgba(199, 22, 24, 0.3);
    }
    .consent-checkbox.is-error input[type="checkbox"] {
      outline: 2px solid var(--rd-red);
      border-radius: 3px;
    }
    .consent-checkbox.is-error span {
      color: var(--rd-red);
    }

    @media (max-width: 768px) {
      .contact-form .form-row { grid-template-columns: 1fr; }
      .final-actions { flex-direction: column; }
      .final-actions .btn { min-width: auto; }
      .qty-control { flex-direction: column; align-items: stretch; }
      .qty-control label { min-width: auto; }
      .calc-summary { flex-direction: column; gap: 8px; text-align: center; }
    }

    /* ====== КАРТОЧКИ ИНФО (тест / дом) ====== */
    .info-section {
      padding: 48px 0;
    }
    .info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .info-card {
      background: #fff;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius);
      padding: 28px;
      transition: box-shadow var(--rd-transition);
    }
    .info-card:hover { box-shadow: var(--rd-shadow-md); }
    .info-card .badge {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 16px;
    }
    .info-card .badge-red { background: var(--rd-red-light); color: var(--rd-red); }
    .info-card .badge-green { background: var(--rd-green-light); color: var(--rd-green); }
    .info-card .info-card-img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      border-radius: var(--rd-radius-sm);
      margin-bottom: 20px;
    }
    .info-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
    .info-card p { font-size: 15px; line-height: 1.6; color: #4b5563; margin-bottom: 8px; }
    .info-card p:last-child { margin-bottom: 0; }
    .info-card .hl { font-weight: 600; color: var(--rd-dark); }

    .info-grid--single { grid-template-columns: 1fr; max-width: 600px; }

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

    /* ====== AUTH CHECK ====== */
    .auth-check-block {
      padding: 20px 0 8px;
      text-align: center;
    }
    .auth-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
    }
    .auth-icon--lock {
      background: var(--rd-red-light);
      color: var(--rd-red);
    }
    .auth-icon--ok {
      background: var(--rd-green-light);
      color: var(--rd-green);
    }
    .auth-icon--warn {
      background: rgba(234, 179, 8, 0.1);
      color: #d97706;
    }
    .auth-message {
      font-size: 15px;
      color: var(--rd-gray-text);
      margin-bottom: 20px;
      line-height: 1.5;
    }
    .auth-check-block .auth-user-info {
      font-size: 16px;
      color: var(--rd-dark);
      font-weight: 600;
      margin-bottom: 20px;
      line-height: 1.4;
    }
    .auth-license-card {
      background: var(--rd-gray-bg);
      border: 1px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      padding: 4px 20px;
      margin: 0 auto 28px;
      display: block;
      text-align: left;
      max-width: 480px;
    }
    .auth-license-card .lic-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      font-size: 14px;
      border-bottom: 1px solid var(--rd-gray-border);
    }
    .auth-license-card .lic-row:last-child {
      border-bottom: none;
    }
    .auth-license-card .lic-label {
      color: var(--rd-gray-text);
    }
    .auth-license-card .lic-value {
      color: var(--rd-dark);
      font-weight: 600;
    }
    .auth-check-block .btn-next {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: none;
      border: none;
      color: #d12d2f;
      font-size: 16px;
      font-weight: 400;
      padding: 8px 0;
      text-decoration: none;
      cursor: pointer;
      transition: gap 0.18s;
    }
    .auth-check-block .btn-next:hover { gap: 10px; }
    .auth-check-block .btn-login-redirect {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--rd-red);
      color: #fff;
      font-size: 15px;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--rd-radius-sm);
      text-decoration: none;
      transition: all var(--rd-transition);
      border: none;
      cursor: pointer;
    }
    .auth-check-block .btn-login-redirect:hover {
      background: var(--rd-red-hover);
      transform: translateY(-1px);
      box-shadow: var(--rd-shadow-md);
    }
    .auth-user-contacts {
      max-width: 480px;
      margin: 0 auto 20px;
      text-align: center;
    }
    .lic-contact-row {
      font-size: 14px;
      color: var(--rd-gray-text);
      line-height: 1.6;
    }
    .auth-loading {
      padding: 20px 0;
    }
    .auth-loading p {
      font-size: 14px;
      color: var(--rd-gray-text);
      margin-top: 16px;
    }
    .auth-spinner {
      width: 32px;
      height: 32px;
      border: 3px solid var(--rd-gray-border);
      border-top-color: var(--rd-red);
      border-radius: 50%;
      margin: 0 auto;
      animation: auth-spin 0.8s linear infinite;
    }
    @keyframes auth-spin {
      to { transform: rotate(360deg); }
    }
    @media (max-width: 480px) {
      .auth-license-card { max-width: 100%; }
    }

    /* Responsive: mode tabs & plan tabs */
    @media (max-width: 600px) {
      .calc-mode-tabs { gap: 0; }
      .mode-tab { padding: 12px 8px; font-size: 13px; }
      .plan-tabs { gap: 4px; }
      .plan-tab { padding: 8px 12px; font-size: 13px; }
      .pricing-grid--3 { grid-template-columns: 1fr; }
    }

    /* ====== НОВЫЙ SPLIT-МАКЕТ КАЛЬКУЛЯТОРА ====== */

    .calc-split {
      display: flex;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 40px rgba(0,0,0,0.13);
      min-height: 560px;
    }

    /* Левая красная панель */
    /* transition здесь = анимация при РАСКРЫТИИ (снятие is-expanded) */
    .calc-panel-left {
      flex: 0 0 38%;
      width: 38%;
      max-width: 38%;
      background: #d12d2f;
      overflow: hidden;
      transition:
        flex-basis 0.44s cubic-bezier(0.4, 0, 0.2, 1),
        max-width 0.44s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* transition здесь = анимация при СКРЫТИИ (добавление is-expanded) */
    .calc-split.is-expanded .calc-panel-left {
      flex-basis: 0;
      max-width: 0;
      transition:
        flex-basis 0.44s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
        max-width 0.44s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
    }

    /* transition здесь = анимация при РАСКРЫТИИ: тело появляется после открытия контейнера */
    .calc-panel-left__body {
      padding: 40px 32px;
      min-width: 280px;
      transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1) 0.32s, opacity 0.26s ease 0.32s;
    }

    /* transition здесь = анимация при СКРЫТИИ: тело уходит сразу, без задержки */
    .calc-split.is-expanded .calc-panel-left .calc-panel-left__body {
      transform: translateX(-32px);
      opacity: 0;
      transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s ease;
    }

    /* Правая белая панель */
    .calc-panel-right {
      flex: 1;
      min-width: 0;
      background: #fff;
      padding: 40px 40px;
      /* Grid stacking: все mode-panel в одной ячейке — высота = самая высокая панель */
      display: grid;
      grid-template-columns: 1fr;
      align-items: start;
    }

    /* Типографика левой панели */
    .calc-left-title {
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      line-height: 1.25;
      margin: 0 0 8px;
    }

    .calc-left-sub {
      font-size: 15px;
      color: rgba(255, 255, 255, 0.72);
      margin: 0 0 28px;
    }

    /* Табы режимов внутри левой панели */
    .calc-panel-left .calc-mode-tabs {
      border-bottom: none;
      gap: 4px;
      padding: 0;
      background: none;
      border-radius: 0;
      margin-bottom: 32px;
      flex-wrap: wrap;
    }

    .calc-panel-left .mode-tab {
      background: rgba(255, 255, 255, 0.14);
      border: none;
      border-bottom: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.82);
      padding: 10px 6px;
      margin-bottom: 0;
      transition: background 0.2s, color 0.2s;
    }

    .calc-panel-left .mode-tab:hover {
      background: rgba(255, 255, 255, 0.26);
      color: #fff;
    }

    .calc-panel-left .mode-tab.is-active {
      background: #fff;
      color: #d12d2f;
      border-bottom-color: transparent;
    }

    /* Список продуктов в левой панели */
    .calc-product-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 4px;
    }

    .calc-product-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      width: 100%;
      padding: 14px 16px;
      min-height: 64px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 15px;
      background: none;
      color: rgba(255, 255, 255, 0.7);
      font-size: 16px;
      font-weight: 400;
      cursor: pointer;
      text-align: left;
      transition: color 0.2s, background 0.2s, border-color 0.2s;
      line-height: 1.3;
    }

    .calc-product-item:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, 0.5);
    }

    .calc-product-item.is-active {
      background: rgba(255, 255, 255, 0.25);
      border-color: transparent;
      color: #fff;
    }

    .product-item-inner {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
      min-width: 0;
    }

    .product-item-label {
      flex: 1;
      min-width: 0;
    }

    .product-item-icon {
      flex-shrink: 0;
    }

    .product-item-arrow {
      flex-shrink: 0;
      opacity: 0.6;
      transition: opacity 0.2s;
    }

    .calc-product-item:hover .product-item-arrow,
    .calc-product-item.is-active .product-item-arrow {
      opacity: 1;
    }

    /* Прогресс шагов — переделан в стиль табов */
    .calculator-section .calc-steps {
      display: flex;
      align-items: flex-end;
      border-bottom: 2px solid var(--rd-gray-border);
      margin-bottom: 32px;
      gap: 0;
      padding-bottom: 0;
    }

    .calculator-section .calc-step {
      flex: 1;
      height: auto;
      background: none;
      border-radius: 0;
      padding: 0 4px 14px;
      margin-bottom: -2px;
      border-bottom: 2px solid transparent;
      text-align: center;
      transition: border-color 0.25s;
    }

    .calculator-section .calc-step.is-done,
    .calculator-section .calc-step.is-current {
      background: none;
      opacity: 1;
      border-bottom-color: var(--rd-red);
    }

    .calculator-section .calc-step .step-label {
      position: static;
      transform: none;
      top: auto;
      left: auto;
      font-size: 14px;
      font-weight: 600;
      color: var(--rd-gray-text);
      white-space: nowrap;
      display: block;
    }

    .calculator-section .calc-step.is-done .step-label,
    .calculator-section .calc-step.is-current .step-label {
      color: var(--rd-red);
    }

    .calculator-section .calc-step-sep {
      flex: 0 0 28px;
      height: 2px;
      background: var(--rd-gray-border);
      margin-bottom: 16px;
      align-self: center;
      border-radius: 1px;
    }

    /* Контент шагов внутри правой панели (без card-стиля) */
    .calc-panel-right .step-content {
      display: none;
    }
    .calc-panel-right .step-content.is-active {
      display: block;
      animation: fadeSlideIn 0.3s ease;
      background: none;
      box-shadow: none;
      padding: 0;
    }
    .calc-panel-right .rstep-content {
      display: none;
    }
    .calc-panel-right .rstep-content.is-active {
      display: block;
      animation: fadeSlideIn 0.3s ease;
      background: none;
      box-shadow: none;
      padding: 0;
    }
    .calc-panel-right .estep-content {
      display: none;
    }
    .calc-panel-right .estep-content.is-active {
      display: block;
      animation: fadeSlideIn 0.3s ease;
      background: none;
      box-shadow: none;
      padding: 0;
    }
    .calc-panel-right .tstep-content {
      display: none;
    }
    .calc-panel-right .tstep-content.is-active {
      display: block;
      animation: fadeSlideIn 0.3s ease;
      background: none;
      box-shadow: none;
      padding: 0;
    }

    /* Блок количества (новый горизонтальный стиль) */
    .qty-section {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

    .qty-label {
      font-size: 15px;
      color: var(--rd-gray-text);
      display: inline-flex;
      align-items: center;
      gap: 4px;
      flex: 1;
    }

    /* Метка раздела */
    .section-label {
      display: block;
      font-size: 12px;
      font-weight: 700;
      color: var(--rd-gray-text);
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* Строка промокода */
    .promo-input-row {
      display: flex;
      gap: 10px;
      max-width: 420px;
    }

    .promo-input-row input {
      flex: 1;
      padding: 12px 14px;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      font-size: 14px;
      outline: none;
      transition: border-color var(--rd-transition);
      color: var(--rd-dark);
    }

    .promo-input-row input:focus {
      border-color: var(--rd-red);
    }

    /* Option-card — радио-кнопка через псевдоэлемент (CSS grid) */
    .option-card {
      display: grid;
      grid-template-columns: 20px 1fr;
      grid-template-rows: auto auto;
      column-gap: 14px;
      row-gap: 2px;
      align-items: center;
      text-align: left;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      padding: 16px 18px;
      cursor: pointer;
      transition: all var(--rd-transition);
      background: #fff;
      position: relative;
    }

    .option-card:hover {
      border-color: #d1d5db;
      background: var(--rd-gray-bg);
    }

    .option-card.is-selected {
      border-color: var(--rd-red);
      background: var(--rd-red-light);
    }

    /* Кружок радио-кнопки */
    .option-card::before {
      content: '';
      grid-column: 1;
      grid-row: 1 / 3;
      justify-self: center;
      align-self: center;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid #d1d5db;
      background: #fff;
      transition: border-color 0.2s, box-shadow 0.2s;
      flex-shrink: 0;
    }

    .option-card.is-selected::before {
      border-color: var(--rd-red);
      box-shadow: inset 0 0 0 4px var(--rd-red);
      background: #fff;
    }

    .option-card .option-label {
      grid-column: 2;
      grid-row: 1;
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
      text-align: left;
    }

    .option-card .option-price {
      grid-column: 2;
      grid-row: 2;
      font-size: 13px;
      color: var(--rd-gray-text);
      margin-top: 0;
      text-align: left;
    }

    /* Полоса «Итого + Далее» */
    .calc-total-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0 0;
      border-top: 1px solid var(--rd-gray-border);
      margin-top: 24px;
    }

    .calc-total-label {
      font-size: 14px;
      color: var(--rd-gray-text);
      margin-bottom: 3px;
    }

    .calc-total-price {
      font-size: 26px;
      font-weight: 700;
      color: #d12d2f;
    }

    /* Кнопка «Далее» как текст-ссылка */
    .btn-calc-next {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: none;
      border: none;
      color: #d12d2f;
      font-size: 16px;
      font-weight: 400;
      cursor: pointer;
      padding: 8px 0;
      transition: gap 0.18s;
      white-space: nowrap;
    }

    .btn-calc-next:hover { gap: 10px; }

    /* Адаптив левой панели */
    @media (max-width: 900px) {
      .calc-panel-left { flex: 0 0 35%; max-width: 35%; }
      .calc-panel-left__body { padding: 32px 24px; }
      .calc-left-title { font-size: 22px; }
      .calc-product-item { font-size: 14px; min-height: 54px; padding: 10px 14px; }
    }

    @media (max-width: 768px) {
      .calc-split {
        flex-direction: column;
        border-radius: 16px;
        min-height: 0;
      }
      .calc-panel-left {
        flex: none;
        width: 100%;
        max-width: 100%;
        transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1);
        max-height: 600px;
        overflow: hidden;
      }
      .calc-split.is-expanded .calc-panel-left {
        max-height: 0;
        flex-basis: auto;
        max-width: 100%;
        transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1) 0.15s;
      }
      .calc-panel-left__body {
        min-width: 0;
        padding: 24px 20px;
        transition: transform 0.22s cubic-bezier(0.4,0,0.2,1) 0.28s, opacity 0.22s ease 0.28s;
      }
      .calc-split.is-expanded .calc-panel-left .calc-panel-left__body {
        transform: translateY(-12px);
        opacity: 0;
        transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), opacity 0.16s ease;
      }
      .calc-left-title { font-size: 20px; }
      .calc-product-list { display: none; }
      .calc-panel-right { padding: 24px 20px; }
      .calc-panel-left .calc-mode-tabs { flex-wrap: nowrap; }
      .calc-panel-left .mode-tab { font-size: 13px; padding: 8px 4px; }
    }

    /* ====== МОБИЛЬНАЯ АДАПТАЦИЯ ====== */

    @media (max-width: 480px) {
      .qty-section { flex-direction: column; align-items: flex-start; }
      .promo-input-row { max-width: 100%; }
      /* Правая панель — меньше отступы */
      .calc-panel-right { padding: 20px 16px; }

      /* Шаги: сепараторы уже, подписи мельче */
      .calculator-section .calc-step-sep { flex: 0 0 10px; }
      .calculator-section .calc-step { padding: 0 2px 12px; }
      .calculator-section .calc-step .step-label { font-size: 10px; }

      /* Заголовки */
      .step-title { font-size: 16px; margin-bottom: 16px; }
      .calc-left-title { font-size: 18px; }

      /* Итого */
      .calc-total-price { font-size: 20px; }
      .calc-total-bar { padding-top: 16px; margin-top: 16px; }

      /* Option cards — компактнее */
      .option-card { padding: 12px 12px; }
      .option-card .option-label { font-size: 13px; }
      .option-card .option-price { font-size: 12px; }
      .option-grid { gap: 8px; }

      /* Спиннер количества — уже */
      .qty-spinner input { width: 56px; font-size: 16px; }
      .qty-spinner button { width: 40px; height: 40px; }

      /* Навигация шагов */
      .calc-nav { margin-top: 20px; }
      .calc-nav .btn { font-size: 15px; }

      /* Финальные кнопки — по всей ширине */
      .final-actions { gap: 8px; }
      .final-actions .btn { padding: 14px 20px; font-size: 15px; }

      /* Промокод */
      .promo-input-row { flex-direction: column; max-width: 100%; }
      .btn-apply-promo { width: 100%; text-align: center; }

      /* Auth block */
      .auth-check-block .btn-login-redirect { padding: 12px 24px; font-size: 14px; width: 100%; justify-content: center; }
      .auth-message { font-size: 14px; }

      /* Tabs режимов */
      .calc-panel-left .mode-tab { font-size: 12px; padding: 8px 3px; }

      /* Секция qty */
      .qty-section { gap: 10px; }
      .qty-label { font-size: 14px; }

      /* Review grid */
      .review-grid { gap: 8px; }

      /* Consent */
      .consent-checkbox { font-size: 12px; }
    }

    /* Очень маленькие экраны */
    @media (max-width: 360px) {
      .calc-panel-right { padding: 16px 12px; }
      .calculator-section .calc-step-sep { flex: 0 0 6px; }
      .calculator-section .calc-step .step-label { font-size: 9px; }
      .calc-left-title { font-size: 16px; }
      .calc-left-sub { font-size: 13px; }
      .calc-panel-left .mode-tab { font-size: 11px; padding: 7px 2px; }
    }

    /* Auth notices (buy mode step 3) */
    .auth-notice {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 500;
      padding: 10px 14px;
      border-radius: var(--rd-radius-sm);
      line-height: 1.4;
    }
    .auth-notice--ok {
      background: var(--rd-green-light);
      color: var(--rd-green);
      border: 1px solid rgba(5, 150, 105, 0.25);
    }
    .auth-notice--warn {
      background: #fffbeb;
      color: #92400e;
      border: 1px solid #fcd34d;
    }
    /* Баннер общей ошибки/успеха формы */
    .form-error-banner {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: #991b1b;
      background: #fee2e2;
      border: 1px solid #fca5a5;
      border-radius: var(--rd-radius-sm);
      padding: 10px 14px;
      margin-bottom: 16px;
      animation: fadeSlideIn 0.2s ease;
    }
    .form-error-banner--ok {
      color: var(--rd-green);
      background: var(--rd-green-light);
      border-color: rgba(5, 150, 105, 0.25);
    }

    .auth-notice a {
      color: inherit;
      font-weight: 700;
      text-decoration: underline;
    }
