﻿.wqt,
.wqt * {
  box-sizing: border-box;
}

.wqt {
  --wqt-bg: #f2f7fd;
  --wqt-card: #ffffff;
  --wqt-text: #273e65;
  --wqt-muted: #5f7190;
  --wqt-line: #dbe7f4;
  --wqt-primary: #00B619;
  --wqt-primary-hover: #1adb75;
  --wqt-accent: #d2007f;
  --wqt-heading: #1d4899;
  --wqt-dark: #273e65;
  --wqt-shadow: 0 16px 40px rgba(39, 62, 101, 0.12);
  width: 100%;
  color: var(--wqt-text);
  font-family: Segoe UI, Arial, sans-serif;
}

.wqt__wrap {
  width: 100%;
  background: var(--wqt-bg);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(29, 72, 153, 0.06);
  box-shadow: var(--wqt-shadow);
}

.wqt__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.wqt__title {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.15;
  color: var(--wqt-heading);
}

.wqt__subtitle {
  margin: 0;
  color: var(--wqt-muted);
  font-size: 15px;
  line-height: 1.5;
}

.wqt__progress-box {
  width: 320px;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--wqt-line);
  border-radius: 18px;
  padding: 16px;
  flex-shrink: 0;
}

.wqt__progress-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--wqt-heading);
  margin-bottom: 10px;
}

.wqt__progress {
  height: 10px;
  background: #dde9f7;
  border-radius: 999px;
  overflow: hidden;
}

.wqt__progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--wqt-accent), #ff4bad);
  transition: width 0.25s ease;
}

.wqt-step {
  display: none;
  background: #fff;
  border: 1px solid var(--wqt-line);
  border-radius: 24px;
  padding: 24px;
}

.wqt-step.is-active {
  display: block;
  animation: wqtFade 0.25s ease;
}

@keyframes wqtFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wqt-step__title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  color: var(--wqt-heading);
}

.wqt-step__desc {
  margin: 0 0 22px;
  color: var(--wqt-muted);
  font-size: 15px;
  line-height: 1.5;
}

.wqt-grid {
  display: grid;
  gap: 16px;
}

.wqt-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wqt-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wqt-card {
  appearance: none;
  border: 1px solid var(--wqt-line);
  background: var(--wqt-card);
  border-radius: 20px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wqt-card:hover {
  border-color: var(--wqt-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(210, 0, 127, 0.1);
}

.wqt-card.is-selected {
  border-color: var(--wqt-accent);
  box-shadow: 0 0 0 1px rgba(210, 0, 127, 0.16), 0 12px 30px rgba(210, 0, 127, 0.08);
}

.wqt-card.is-bounce {
  animation: wqtBounce 0.35s ease;
}

@keyframes wqtBounce {
  0% { transform: scale(1); }
  40% { transform: scale(0.98); }
  70% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.wqt-card__badge {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wqt-bg);
  color: var(--wqt-accent);
  font-size: 22px;
  font-weight: 800;
}

.wqt-card__media {
  display: block;
  width: 100%;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  background: none;
  aspect-ratio: 16 / 10;
}

.wqt-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.wqt-card--window-type .wqt-card__media {}
button.wqt-card.wqt-card--window-type.wqt-card--has-image {width: 100%;}

.wqt-card__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--wqt-heading);
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
button.wqt-card.wqt-card--choice.wqt-card--has-image {    border: 1px solid var(--wqt-line);    border-radius: 13px;}
button.wqt-card.wqt-card--choice.wqt-card--has-image:hover {    border: 1px solid var(--wqt-accent);}

.wqt-panel {
  max-width: 1200px;
}

.wqt-window-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wqt-window-type {
  border: 1px solid var(--wqt-line);
  border-radius: 16px;
  padding: 10px;
  background: #fff;
}

.wqt-window-type.is-selected {
  border-color: var(--wqt-accent);
  box-shadow: 0 0 0 1px rgba(210, 0, 127, 0.12);
}

.wqt-card--window-type {
  min-height: 112px;
}

.wqt-window-type__qty {
  margin-top: 10px;
}

.wqt-window-type__qty .wqt-label {
  margin-bottom: 6px;
}

.wqt-window-type__qty .wqt-input {
  min-height: 44px;
}

.wqt-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wqt-callback .wqt-form-grid {
  grid-template-columns: 1fr;
}

.wqt-promo {
  width: 100%;
}

.wqt-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 34px;
  align-items: start;
}

.wqt-promo-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.wqt-promo-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wqt-promo-card__box {
  width: 100%;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(29, 72, 153, 0.08);
  border-radius: 28px;
  padding: 0 22px 24px;
  box-shadow: 0 18px 40px rgba(0, 116, 255, 0.14);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.wqt-promo-card__media {
  display: block;
  width: 100%;
  border-radius: 28px 28px 18px 18px;
  background: #fff;
}

.wqt-promo-card__image {
  width: 100%;
  height: auto;
  display: block;
}

.wqt-promo-card__price {
  margin-top: 18px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--wqt-accent);
  text-align: center;
}

.wqt-promo-card__actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.wqt-promo-card__btn {
  min-width: 252px;
  min-height: 66px;
  padding: 16px 32px;
  border-radius: 30px 30px 30px 30px;
  border-color: #E8E8E8;
  border-style: none;
  background-color: #00B619 !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none !important;
  transform: none !important;
  appearance: none;
  text-align: center;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
}

.wqt-promo-card__btn:hover,
.wqt-promo-card__btn:focus,
.wqt-promo-card__btn:active {
  background-color: var(--wqt-primary-hover) !important;
  color: #fff !important;
  border-color: #E8E8E8 !important;
  border-style: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.wqt-modal__dialog--promo {
  width: calc(100% - 32px);
  max-width: 560px;
  margin: 4vh auto 0;
  max-height: 92vh;
  overflow-y: auto;
  padding: 18px 22px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(39, 62, 101, 0.22);
}

.wqt-promo .wqt-modal__title {
  margin: 0;
  text-align: center;
  padding: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--wqt-heading);
}

.wqt-promo-modal__selected {
  margin: 2px 0 0;
  text-align: center;
  color: var(--wqt-heading);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
}

.wqt-promo-form-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.wqt-promo .wqt-form {
  margin-top: 10px;
}

.wqt-promo .wqt-field {
  margin-bottom: 21px;
}

.wqt-promo .wqt-input,
.wqt-promo .wqt-promo-time-range .wqt-input {
  border-color: #1d4899 !important;
  border-radius: 4px;
  color: #2b4170;
}

.wqt-promo .wqt-actions {
  justify-content: center;
}

.wqt-promo [data-wqt-promo-submit].wqt-btn {
  background-color: #00B619 !important;
  color: #fff !important;
  border-color: #E8E8E8 !important;
  border-style: none !important;
  border-radius: 30px 30px 30px 30px !important;
  min-width: 146px;
  min-height: 30px;
  padding: 13px 21px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none !important;
  appearance: none;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
}

.wqt-promo [data-wqt-promo-submit].wqt-btn:hover,
.wqt-promo [data-wqt-promo-submit].wqt-btn:focus,
.wqt-promo [data-wqt-promo-submit].wqt-btn:active {
  background-color: #1adb75 !important;
  color: #fff !important;
  border-color: #E8E8E8 !important;
  border-style: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.wqt-promo-contact-list {
  gap: 12px;
}

.wqt-promo-radio--icon span {
  width: 72px;
  min-width: 72px;
  height: 72px;
  min-height: 72px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #d3e1f5;
  color: var(--wqt-text);
  background: #fff;
}

.wqt-promo-radio__icon {
  width: 36px;
  height: 36px;
  display: block;
  color: currentColor;
}

.wqt-promo-radio__icon-image {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

.wqt-promo-radio__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wqt-promo-radio--phone span {
  color: #1d4899;
  background: #fff;
}

.wqt-promo-radio--whatsapp span {
  color: #25D366;
  background: #fff;
}

.wqt-promo-radio--telegram span {
  color: #229ED9;
  background: #fff;
}

.wqt-promo-radio--max span {
  color: #6C5CE7;
  background: #fff;
}

.wqt-promo-radio--phone input:checked + span {
  border-color: var(--wqt-accent);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(255, 20, 147, 0.08);
}

.wqt-promo-radio--whatsapp input:checked + span {
  border-color: var(--wqt-accent);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(255, 20, 147, 0.08);
}

.wqt-promo-radio--telegram input:checked + span {
  border-color: var(--wqt-accent);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(255, 20, 147, 0.08);
}

.wqt-promo-radio--max input:checked + span {
  border-color: var(--wqt-accent);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(255, 20, 147, 0.08);
}

.wqt-promo-time-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
    justify-items: center;
}

.wqt-promo-time-range__field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.wqt-promo-time-range__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--wqt-heading);
}

.wqt-promo-slider-wrap {
  margin-top: 4px;
  padding: 18px 20px 14px;
  border: 1px solid #d3e1f5;
  border-radius: 24px;
  background: #fff;
}

.wqt-promo-slider {
  width: 100%;
  appearance: none;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #303030 0 3%, #d0d0d0 3% 100%);
  outline: none;
}

.wqt-promo-slider::-webkit-slider-thumb {
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--wqt-accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.wqt-promo-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--wqt-accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.wqt-promo-slider-marks {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 0;
  font-size: 12px;
  color: #5c6f95;
  text-align: center;
}

.wqt-promo-slider-marks .is-target {
  color: var(--wqt-accent);
  font-weight: 700;
}

.wqt-promo-card__details {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f4f8ff;
  color: #29456f;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  text-align: center;
}

.wqt-form-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wqt-field {
  margin-bottom: 18px;
}

.wqt-fieldset {
  border: 1px solid var(--wqt-line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.wqt-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.wqt-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wqt-heading);
}

.wqt-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--wqt-line);
  border-radius: 14px;
  background: #fff;
  color: var(--wqt-text);
  outline: none;
}

.wqt-input:focus {
  border-color: var(--wqt-accent);
  box-shadow: 0 0 0 4px rgba(210, 0, 127, 0.1);
}

.wqt-textarea {
  min-height: 120px;
  resize: vertical;
}

.wqt-range {
  width: 100%;
  accent-color: var(--wqt-accent);
}

.wqt-range-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--wqt-muted);
  font-size: 13px;
}

.wqt-range-meta strong {
  color: var(--wqt-heading);
}

.wqt-windows-radio-list,
.wqt-contact-list,
.wqt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wqt-actions {
  margin-top: 24px;
}

.wqt-btn {
  appearance: none;
  border: 0;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--wqt-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.wqt-btn:hover {
  background: var(--wqt-primary-hover);
  transform: translateY(-1px);
}

.wqt-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.wqt-btn--ghost {
  background: var(--wqt-dark);
}

.wqt-radio,
.wqt-count-radio {
  position: relative;
  cursor: pointer;
}

.wqt-radio input,
.wqt-count-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wqt-radio span,
.wqt-count-radio span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--wqt-line);
  background: #fff;
  font-weight: 700;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wqt-radio input:checked + span,
.wqt-count-radio input:checked + span {
  border-color: var(--wqt-accent);
  color: var(--wqt-accent);
  box-shadow: 0 0 0 1px rgba(210, 0, 127, 0.14);
}

.wqt-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--wqt-text);
  font-size: 14px;
  line-height: 1.5;
}

.wqt-checkbox a {
  color: var(--wqt-accent);
  text-decoration: none;
  font-weight: 700;
}

.wqt-message {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}

.wqt-message.is-success { color: #0f8c49; }
.wqt-message.is-error { color: #c62828; }

.wqt-callback-success {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #bfe8d1;
  background: #edf9f2;
  color: #0f8c49;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.wqt-callback .smart-captcha {
  width: 100%;
  max-width: 100%;
}

.wqt-summary-wrap {
  margin-top: 20px;
}

.wqt-summary {
  background: #fff;
  border: 1px solid var(--wqt-line);
  border-radius: 20px;
  padding: 20px;
}

.wqt-summary__title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--wqt-heading);
}

.wqt-summary__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wqt-summary__item {
  padding: 10px 0;
  border-bottom: 1px solid #e4edf7;
}

.wqt-summary__item:last-child {
  border-bottom: none;
}

.wqt-summary__key {
  display: block;
  margin-bottom: 3px;
  color: var(--wqt-muted);
  font-size: 13px;
}

.wqt-summary__value {
  display: block;
  color: var(--wqt-heading);
  font-size: 15px;
  font-weight: 700;
}

.wqt-summary__empty {
  color: var(--wqt-muted);
  font-size: 14px;
}

.wqt-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.wqt-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.wqt-modal.is-open {
  display: block;
}

.wqt-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(39, 62, 101, 0.72);
}

.wqt-modal__dialog {
  position: relative;
  z-index: 2;
  width: calc(100% - 32px);
  max-width: 520px;
  margin: 8vh auto 0;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(39, 62, 101, 0.22);
}

.wqt-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #00B619;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.wqt-modal__close:hover,
.wqt-modal__close:focus,
.wqt-modal__close:active {
  background: #00B619;
  color: #fff;
}

.wqt-modal__icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 36px;
  font-weight: 800;
  background: #e5e7eb;
}

.wqt-modal__icon.is-success {
  background: #ddf9ea;
  color: #0f8c49;
}

.wqt-modal__icon.is-error {
  background: #fff1f7;
  color: var(--wqt-accent);
}

.wqt-modal__title {
  margin: 0 0 10px;
  font-size: 28px;
  color: var(--wqt-heading);
}

.wqt-modal__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--wqt-muted);
}

.wqt-modal__actions {
  margin-top: 24px;
}

body.wqt-modal-open {
  overflow: hidden;
}

.wqt[data-quiz-type="extended"] .wqt__wrap {
  border-color: rgba(210, 0, 127, 0.08);
}

.wqt[data-quiz-type="extended"] .wqt-card__badge {
  background: #fff1f7;
}

@media (max-width: 1024px) {
  .wqt-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wqt-window-types {
    grid-template-columns: 1fr;
  }

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

  .wqt-grid--3,
  .wqt-form-grid--triple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wqt-promo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wqt-promo-card__box {
    border-radius: 20px;
    padding: 13px 21px 34px;
  }

  .wqt-promo-card__price {
    font-size: 24px;
  }

  .wqt-promo-card__btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 14px 20px;
    font-size: 15px;
  }

   .wqt-modal__dialog--promo {
    width: calc(100% - 16px);
    margin: 2vh auto 0;
    max-height: 96vh;
    padding: 12px 12px 16px;
    border-radius: 18px;
  }

  .wqt-promo-modal__selected {
    font-size: 20px;
  }

  .wqt-promo .wqt-label,
  .wqt-promo .wqt-checkbox,
  .wqt-promo .wqt-message {
    font-size: 13px;
  }

  .wqt-promo .wqt-field {
    margin-bottom: 12px;
  }

  .wqt-promo .wqt-input {
    min-height: 30px;
    padding: 3px 5px;
  }

  .wqt-promo-radio--icon span {
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    border-radius: 999px;
    padding: 5px;
  }

  .wqt-promo-radio__icon,
  .wqt-promo-radio__icon-image {
    width: 32px;
    height: 32px;
  }

  .wqt-promo-slider-wrap {
    padding: 14px 12px 12px;
    border-radius: 20px;
    margin-bottom: 0 !important;
  }

  .wqt-promo-slider {
    height: 10px;
  }

  .wqt-promo-slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }

  .wqt-promo-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }

  .wqt__wrap,
  .wqt-step,
  .wqt-summary,
  .wqt-modal__dialog {
    border-radius: 18px;
  }

  .wqt__wrap {
    padding: 14px;
  }

  .wqt__header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .wqt__title {
    font-size: 22px;
  }

  .wqt__subtitle,
  .wqt-step__desc {
    font-size: 13px;
  }

  .wqt__progress-box {
    width: 100%;
    padding: 12px;
  }

  .wqt-step {
    padding: 14px;
  }

  .wqt-step__title {
    font-size: 19px;
  }

  .wqt-grid--4,
  .wqt-grid--3,
  .wqt-form-grid,
  .wqt-form-grid--triple {
    grid-template-columns: 1fr;
  }

  .wqt-window-types {
    grid-template-columns: 1fr;
  }

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

  .wqt-btn {
    width: 100%;
    min-height: 44px;
    font-size: 15px;
  }

  .wqt-card__title {
    font-size: 15px;
  }
  
  .wqt-promo-time-range__field {
    width: 120px;
}

.wqt-input::placeholder {
  color: #1d4899;
  opacity: 1;
}

.wqt-promo .wqt-modal__title {
  margin: 0;
  text-align: center;
  padding: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--wqt-heading);
}

.wqt-promo .wqt-field {
  margin-bottom: 13px;
}
}


/* Callback popup prototype integration */
.wqt-callback-trigger-wrap {
  display: flex;
  justify-content: center;
}

.wqt-callback-trigger.wqt-btn,
.wqt-callback [data-wqt-callback-submit].wqt-btn {
  background-color: var(--e-global-color-accent, #00B619) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 30px !important;
  min-height: 56px;
  padding: 10px 30px !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.wqt-callback-trigger.wqt-btn:hover,
.wqt-callback-trigger.wqt-btn:focus,
.wqt-callback-trigger.wqt-btn:active,
.wqt-callback [data-wqt-callback-submit].wqt-btn:hover,
.wqt-callback [data-wqt-callback-submit].wqt-btn:focus,
.wqt-callback [data-wqt-callback-submit].wqt-btn:active {
  background-color: var(--e-global-color-accent, #00B619) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.96;
}

.wqt-callback-trigger.wqt-btn:active,
.wqt-callback [data-wqt-callback-submit].wqt-btn:active {
  transform: scale(0.98);
}

.wqt-modal__dialog--callback {
  width: calc(100% - 24px);
  max-width: 700px;
  max-height: 94vh;
  overflow-y: auto;
  margin: 2vh auto 0;
  padding: 34px;
  border-radius: 28px;
}

.wqt-callback-popup .wqt-modal__close {
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: none !important;
  border-radius: 999px;
  background: var(--e-global-color-accent, #00B619) !important;
  color: #fff !important;
  font-size: 30px;
  line-height: 1;
  box-shadow: none !important;
}

.wqt-callback-popup .wqt-modal__close:hover,
.wqt-callback-popup .wqt-modal__close:focus,
.wqt-callback-popup .wqt-modal__close:active {
  background: var(--e-global-color-accent, #00B619) !important;
  color: #fff !important;
  opacity: 0.96;
}

.wqt-callback__title {
  margin: 0;
  padding-right: 70px;
  text-align: center;
  color: var(--wqt-heading);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
}

.wqt-callback__desc {
  margin: 18px auto 0;
  max-width: 540px;
  text-align: center;
  color: var(--wqt-muted);
  font-size: 17px;
  line-height: 1.55;
}

.wqt-callback-form {
  margin-top: 26px;
}

.wqt-callback .wqt-field {
  margin-bottom: 18px;
}

.wqt-callback .wqt-label {
  display: block;
  margin-bottom: 10px;
  color: var(--wqt-heading);
  font-size: 16px;
  font-weight: 700;
}

.wqt-callback .wqt-input,
.wqt-callback .wqt-callback-form__textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #8ea2c4;
  border-radius: 4px;
  background: #fff;
  color: #2b4170;
  outline: none;
}

.wqt-callback .wqt-callback-form__textarea {
  min-height: 130px;
  resize: vertical;
}

.wqt-callback .wqt-checkbox {
  font-size: 15px;
  line-height: 1.5;
  color: var(--wqt-muted);
}

.wqt-callback .wqt-checkbox a {
  color: var(--e-global-color-accent, #00B619);
  font-weight: 700;
}

.wqt-callback__actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.wqt-callback-antispam {
  margin-top: 6px;
  border: 1px solid var(--wqt-line);
  border-radius: 24px;
  padding: 34px;
  background: #fff;
}

.wqt-callback-antispam__label {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--wqt-heading);
}

.wqt-callback-antispam__slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #303030 0 3%, #d0d0d0 3% 100%);
  outline: none;
}

.wqt-callback-antispam__slider::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wqt-accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.wqt-callback-antispam__slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wqt-accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.wqt-callback-antispam__marks {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  font-size: 13px;
  color: #5c6f95;
  text-align: center;
  font-weight: 700;
}

.wqt-callback-antispam__marks .is-target {
  color: var(--wqt-accent);
}

.wqt-callback .wqt-message {
  margin-top: 14px;
  text-align: center;
}

.wqt-callback .wqt-callback-success {
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 767px) {
  .wqt-modal__dialog--callback {
    width: calc(100% - 12px);
    padding: 21px;
    border-radius: 22px;
  }

  .wqt-callback-popup .wqt-modal__close {
    top: 12px;
    right: 12px;
  }

  .wqt-callback__title {
    font-size: 26px;
    padding-right: 56px;
  }

  .wqt-callback__desc {
    font-size: 15px;
  }

  .wqt-callback .wqt-input,
  .wqt-callback .wqt-callback-form__textarea {
    min-height: 52px;
  }

  .wqt-callback-antispam {
    padding: 14px 12px 12px;
    border-radius: 20px;
  }

  .wqt-callback-antispam__slider {
    height: 10px;
  }

  .wqt-callback-antispam__slider::-webkit-slider-thumb,
  .wqt-callback-antispam__slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }

  .wqt-callback__actions {
    justify-content: stretch;
  }

  .wqt-callback [data-wqt-callback-submit].wqt-btn,
  .wqt-callback-trigger.wqt-btn {
    width: 100%;
  }
}


/* 2.7.4 callback popup refinements */
.wqt-modal__dialog--callback {
  max-width: 800px;
  padding: 34px;
}

.wqt-callback-popup .wqt-step {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.wqt-callback-popup .wqt-modal__close {
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1.5px solid #00b62f;
  border-radius: 999px;
  background: transparent !important;
  color: #00b62f;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none !important;
}

.wqt-callback-popup .wqt-modal__close:hover,
.wqt-callback-popup .wqt-modal__close:focus,
.wqt-callback-popup .wqt-modal__close:active {
  background: transparent !important;
  color: #44546f !important;
  border-color: #8fa0bb !important;
}

.wqt-callback__title {
  padding-right: 0;
  margin: 0 auto;
  text-align: center;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0;
}

.wqt-callback__desc {
  margin: 10px auto 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.45;
}

.wqt-callback-form {
  margin-top: 18px;
}

.wqt-callback .wqt-field {
  margin-bottom: 12px;
}

.wqt-callback .wqt-label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.wqt-callback .wqt-input,
.wqt-callback .wqt-callback-form__textarea {
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 10px;
}

.wqt-callback .wqt-callback-form__textarea {
  min-height: 110px;
}

.wqt-callback .wqt-checkbox {
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.wqt-callback-antispam {
  margin-top: 2px;
  border: 1px solid #dde3ec;
  border-radius: 18px;
  padding: 14px 16px;
}

.wqt-callback-antispam__label {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.wqt-callback-antispam__slider {
  height: 10px;
  background: #c7cdd8 !important;
}

.wqt-callback-antispam__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: #7d8796;
  cursor: pointer;
}

.wqt-callback-antispam__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: #7d8796;
  cursor: pointer;
}

.wqt-callback-antispam__slider::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: #c7cdd8;
}

.wqt-callback-antispam__marks {
  margin-top: 8px;
  font-size: 12px;
  color: #6e7d93;
}

.wqt-callback__actions {
  margin-top: 14px;
}

.wqt-callback [data-wqt-callback-submit].wqt-btn {
  min-width: 220px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wqt-promo-card__btn {
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .wqt-modal__dialog--callback {
    width: calc(100% - 16px);
    max-width: none;
    padding: 24px 18px;
  }

  .wqt-callback__title {
    font-size: 22px;
  }

  .wqt-callback__desc {
    font-size: 14px;
  }

  .wqt-callback-antispam {
    padding: 12px 14px;
  }
}





/* Callback popup hotfix 2.7.9: strict scope, no global selectors */
.wqt-callback,
.wqt-callback-popup,
.wqt-callback-inline {
  --wqt-callback-bg: #edf4ff;
  --wqt-callback-text: #2d4e96;
  --wqt-callback-muted: #6b7da2;
  --wqt-callback-line: #d3e1f5;
  --wqt-callback-accent: var(--e-global-color-accent, #ff1493);
  --wqt-callback-shadow: 0 28px 60px rgba(39, 62, 101, 0.22);
}

.wqt-callback-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.wqt-callback-popup.is-open {
  display: block;
}
.wqt-callback-popup .wqt-modal__overlay,
.wqt-callback-popup .modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(39, 62, 101, 0.72);
}
.wqt-callback-popup .wqt-modal__dialog,
.wqt-callback-popup .modal__dialog,
.wqt-modal__dialog--callback {
  position: relative;
  z-index: 2;
  width: calc(100% - 24px);
  max-width: 800px;
  max-height: 94vh;
  overflow-y: auto;
  margin: 2vh auto 0;
  padding: 34px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--wqt-callback-shadow);
  box-sizing: border-box;
}

.wqt-modal__close,
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 2px solid var(--wqt-primary);
  border-radius: 999px;
  background: transparent !important;
  color: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}
.wqt-modal__close span,
.modal__close span {
  display: none;
}
.wqt-modal__close::before,
.wqt-modal__close::after,
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--wqt-primary);
  transform-origin: center;
}
.wqt-modal__close::before,
.modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.wqt-modal__close::after,
.modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.wqt-callback__title,
.wqt-callback-popup .popup-title {
  margin: 0;
  padding-right: 0;
  text-align: center;
  color: var(--wqt-callback-text);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
}
.wqt-callback__desc,
.wqt-callback-popup .popup-desc {
  margin: 14px auto 0;
  max-width: 700px;
  text-align: center;
  color: var(--wqt-callback-muted);
  font-size: 16px;
  line-height: 1.45;
}
.wqt-callback .wqt-form,
.wqt-callback-popup .form {
  margin-top: 18px;
}
.wqt-callback .wqt-field,
.wqt-callback-popup .field {
  margin-bottom: 14px;
}
.wqt-callback .wqt-label,
.wqt-callback-popup .label {
  display: block;
  margin-bottom: 8px;
  color: var(--wqt-callback-text);
  font-size: 16px;
  font-weight: 700;
}
.wqt-callback .wqt-input,
.wqt-callback .wqt-callback-form__textarea,
.wqt-callback-popup .input,
.wqt-callback-popup .textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #8ea2c4;
  border-radius: 4px;
  background: #fff;
  color: #2b4170;
  font: inherit;
  outline: none;
  box-sizing: border-box;
}
.wqt-callback .wqt-callback-form__textarea,
.wqt-callback-popup .textarea {
  min-height: 118px;
  resize: vertical;
}
.wqt-callback .wqt-checkbox,
.wqt-callback-popup .check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--wqt-callback-muted);
}
.wqt-callback .wqt-checkbox a,
.wqt-callback-popup .check-line a {
  color: #1f9c47;
  font-weight: 700;
  text-decoration: none;
}
.wqt-callback-antispam,
.wqt-callback-popup .antispam-box {
  margin-top: 6px;
  border: 1px solid var(--wqt-callback-line);
  border-radius: 24px;
  padding: 24px;
  background: #fff;
}
.wqt-callback-antispam__label,
.wqt-callback-popup .antispam-box__label {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--wqt-callback-text);
}

.wqt-callback-antispam__slider,
.wqt-callback-popup .antispam-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #c9ced8 !important;
  outline: none;
  opacity: 1 !important;
}
.wqt-callback-antispam__slider::-webkit-slider-runnable-track,
.wqt-callback-popup .antispam-slider::-webkit-slider-runnable-track {
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #c9ced8;
}
.wqt-callback-antispam__slider::-moz-range-track,
.wqt-callback-popup .antispam-slider::-moz-range-track {
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #c9ced8;
}
.wqt-callback-antispam__slider::-webkit-slider-thumb,
.wqt-callback-popup .antispam-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -8px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--wqt-callback-accent) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
  cursor: pointer;
}
.wqt-callback-antispam__slider::-moz-range-thumb,
.wqt-callback-popup .antispam-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--wqt-callback-accent) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
  cursor: pointer;
}
.wqt-callback-antispam__marks,
.wqt-callback-popup .antispam-marks {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  font-size: 13px;
  color: #5c6f95;
  text-align: center;
  font-weight: 700;
}
.wqt-callback-antispam__marks .is-target,
.wqt-callback-popup .antispam-marks .is-human {
  color: var(--wqt-callback-accent);
}
.wqt-callback__actions,
.wqt-callback-popup .submit-row {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.wqt-callback .submit-btn,
.wqt-callback-popup .submit-btn {
  appearance: none;
  border: none !important;
  background: var(--wqt-callback-accent) !important;
  color: #fff !important;
  border-radius: 30px !important;
  min-height: 58px;
  padding: 10px 30px !important;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: none !important;
  cursor: pointer;
}
.wqt-callback .wqt-message {
  margin-top: 14px;
}
.wqt-callback .wqt-callback-success {
  margin-top: 18px;
}

@media (max-width: 767px) {
  .wqt-callback-popup .wqt-modal__dialog,
  .wqt-callback-popup .modal__dialog,
  .wqt-modal__dialog--callback {
    width: calc(100% - 12px);
    max-width: none;
    padding: 21px;
    border-radius: 22px;
  }
  .wqt-callback-popup .wqt-modal__close,
  .wqt-callback-popup .modal__close {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
  }
  .wqt-callback__title,
  .wqt-callback-popup .popup-title {
    font-size: 24px;
  }
  .wqt-callback__desc,
  .wqt-callback-popup .popup-desc {
    font-size: 15px;
  }
  .wqt-callback .wqt-input,
  .wqt-callback .wqt-callback-form__textarea,
  .wqt-callback-popup .input,
  .wqt-callback-popup .textarea {
    min-height: 52px;
  }
  .wqt-callback-antispam,
  .wqt-callback-popup .antispam-box {
    padding: 14px 12px 12px;
    border-radius: 20px;
  }
  .wqt-callback-antispam__slider,
  .wqt-callback-popup .antispam-slider {
    height: 10px;
  }
  .wqt-callback-antispam__slider::-webkit-slider-runnable-track,
  .wqt-callback-popup .antispam-slider::-webkit-slider-runnable-track,
  .wqt-callback-antispam__slider::-moz-range-track,
  .wqt-callback-popup .antispam-slider::-moz-range-track {
    height: 10px;
  }
  .wqt-callback-antispam__slider::-webkit-slider-thumb,
  .wqt-callback-popup .antispam-slider::-webkit-slider-thumb,
  .wqt-callback-antispam__slider::-moz-range-thumb,
  .wqt-callback-popup .antispam-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }
  .wqt-callback-trigger,
  .wqt-callback .submit-btn,
  .wqt-callback-popup .submit-btn {
    width: 100%;
    font-size: 18px;
  }
}
button.wqt-btn {
    appearance: none;
    border: 0;
    padding: 13px 21px;
    border-radius: 34px;
    background: var(--wqt-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}
button.wqt-btn:hover {
    appearance: none;
    border: 0;
    background: #00d91c;
    color: #fff;
    font-size: 18px;
    transition: 0.2s ease;
}

/* FIX: только шаг 2 extended-квиза, не затрагивает второй квиз */
.wqt[data-quiz-type="extended"] .wqt-step[data-step="2"] .wqt-window-type,
.wqt[data-quiz-type="extended"] .wqt-step[data-step="2"] .wqt-card--window-type {
  min-width: 0;
}

.wqt[data-quiz-type="extended"] .wqt-step[data-step="2"] .wqt-card--window-type {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.wqt[data-quiz-type="extended"] .wqt-step[data-step="2"] .wqt-card--window-type .wqt-card__media {
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.wqt[data-quiz-type="extended"] .wqt-step[data-step="2"] .wqt-card--window-type .wqt-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wqt[data-quiz-type="extended"] .wqt-step[data-step="2"] .wqt-card--window-type .wqt-card__title {
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
 button.wqt-modal__close {
    border: 1px solid #00b62f !important;
    border-radius: 50px;
    color: #00b62f;
    font-size: 1rem;
    font-weight: 500;
}

.wqt-window-type__qty input.wqt-input {
    width: 100px;
}