.elementor-2510 .elementor-element.elementor-element-79accc2{--display:flex;--min-height:100vh;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-2510 .elementor-element.elementor-element-79accc2.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(min-width:768px){.elementor-2510 .elementor-element.elementor-element-79accc2{--width:87.998%;}}/* Start custom CSS for html, class: .elementor-element-5abccd6 *//* ========== ОСНОВНОЙ КОНТЕЙНЕР ========== */
#quiz-container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(60, 59, 59, 0.08);
  padding: 40px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  color: #3C3B3B;
  animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========== ПРОГРЕСС-БАР ========== */
#quiz-progress {
  background: rgba(217, 182, 134, 0.15);
  border-radius: 50px;
  height: 12px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

#quiz-progress-bar {
  background: linear-gradient(90deg, #D9B686 0%, #C5A572 100%);
  height: 100%;
  border-radius: 50px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(217, 182, 134, 0.3);
  position: relative;
  overflow: hidden;
  will-change: width;
}

#quiz-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
  will-change: transform;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ========== ЗАГОЛОВКИ ========== */
#quiz-container h2 {
  font-family: "Inter", Sans-serif;
  font-size: 40px;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #3C3B3B;
  animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#quiz-container p {
  font-size: 20px;
  font-weight: 500;
  color: #3C3B3B;
}

/* ========== ШАГИ КВИЗА ========== */
.quiz-step {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== ОПЦИИ ========== */
.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

/* ========== IMAGE OPTIONS ========== */
.image-options {
  justify-content: center;
}

.image-options label {
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.image-options label:hover {
  transform: translateY(-5px);
}

.image-block {
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 2px solid rgba(217, 182, 134, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(60, 59, 59, 0.06);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  color: #3C3B3B;
}

.image-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(217, 182, 134, 0.2), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
  opacity: 0;
}

.image-block:hover::before {
  opacity: 1;
  left: 100%;
}

.image-options input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/* ========== RADIO OPTIONS ========== */
.radio-options {
  flex-direction: column;
  gap: 15px;
}

.radio-options label {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 2px solid rgba(217, 182, 134, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.radio-options label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #D9B686;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.radio-options label:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(217, 182, 134, 0.2);
  border-color: rgba(217, 182, 134, 0.4);
}

.radio-options input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

.radio-options label:has(input[type="radio"]:checked) {
  background: rgba(217, 182, 134, 0.2);
  border-color: #D9B686;
  box-shadow: 0 4px 20px rgba(217, 182, 134, 0.25);
}

.radio-options label:has(input[type="radio"]:checked)::before {
  transform: scaleY(1);
}

.radio-options span {
  font-size: 20px;
  font-weight: 500;
  color: #3C3B3B;
}

/* ========== СЛАЙДЕР ========== */
.slider-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 0;
}

#size-range {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: rgba(217, 182, 134, 0.2);
  outline: none;
  -webkit-appearance: none;
}

#size-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #D9B686;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 182, 134, 0.4);
  transition: all 0.3s ease;
}

#size-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(217, 182, 134, 0.5);
}

#size-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #D9B686;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 182, 134, 0.4);
  border: none;
  transition: all 0.3s ease;
}

#size-range::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(217, 182, 134, 0.5);
}

#size-value {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  color: #D9B686;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}


/* ========== ЧЕКБОКСЫ ========== */
.checkbox-group {
  margin: 20px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 15px 0;
  cursor: pointer;
  font-size: 16px;
}

.checkbox-label input[type="checkbox"] {
  position: relative;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(217, 182, 134, 0.4);
  border-radius: 6px;
  transition: all 0.3s ease;
  margin: 0;
}

.checkbox-label input[type="checkbox"]:checked {
  background: #D9B686;
  border-color: #D9B686;
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.checkbox-label span {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #3C3B3B;
}

/* ========== ОШИБКИ ========== */
.quiz-error {
  color: #dc3545;
  font-size: 16px;
  margin-top: 15px;
  padding: 12px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  border-left: 3px solid #dc3545;
}

/* ========== КНОПКИ НАВИГАЦИИ ========== */
#quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

#quiz-prev,
#quiz-next,
#quiz-submit {
  padding: 18px 40px;
  font-size: 20px;
  font-weight: 600;
  font-family: "Inter", Sans-serif;
  background: #D9B686;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(217, 182, 134, 0.3);
  position: relative;
  overflow: hidden;
}

#quiz-prev::before,
#quiz-next::before,
#quiz-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

#quiz-prev:hover::before,
#quiz-next:hover::before,
#quiz-submit:hover::before {
  width: 300px;
  height: 300px;
}

#quiz-prev:hover,
#quiz-next:hover,
#quiz-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(217, 182, 134, 0.4);
  background: #C5A572;
}

#quiz-prev:active,
#quiz-next:active,
#quiz-submit:active {
  transform: translateY(-1px);
}

#quiz-prev:disabled,
#quiz-next:disabled,
#quiz-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

#quiz-submit {
  width: 100%;
  margin-top: 20px;
}

/* ========== ПОПАП УСПЕШНОЙ ОТПРАВКИ ========== */
.quiz-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quiz-popup.show {
  opacity: 1;
  visibility: visible;
}

.quiz-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.quiz-popup-content {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.quiz-popup.show .quiz-popup-content {
  transform: scale(1);
  animation: popupBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupBounce {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.quiz-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(217, 182, 134, 0.1);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: #3C3B3B;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-popup-close:hover {
  background: rgba(217, 182, 134, 0.3);
  transform: rotate(90deg);
}

.quiz-popup-icon {
  margin-bottom: 30px;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.quiz-popup-content h2 {
  font-family: "Labor Union", Sans-serif;
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  color: #3C3B3B;
  margin-bottom: 20px;
  line-height: 1.2;
}

.quiz-popup-content p {
  font-size: 18px;
  font-weight: 500;
  color: #3C3B3B;
  line-height: 1.6;
  margin-bottom: 15px;
}

.quiz-popup-subtext {
  font-size: 16px;
  color: #D9B686;
  font-weight: 600;
  margin-bottom: 30px;
}

.quiz-popup-button {
  padding: 18px 50px;
  font-size: 20px;
  font-weight: 600;
  font-family: "Inter", Sans-serif;
  background: #D9B686;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(217, 182, 134, 0.3);
}

.quiz-popup-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(217, 182, 134, 0.4);
  background: #C5A572;
}

.quiz-popup-button:active {
  transform: translateY(-1px);
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
  #quiz-container {
    padding: 30px 20px;
  }

  #quiz-container h2 {
    font-size: 32px;
  }

  #quiz-container p {
    font-size: 18px;
  }

  .image-block {
    width: 140px;
    height: 140px;
    font-size: 16px;
  }

  #size-value {
    font-size: 36px;
  }

  #quiz-prev,
  #quiz-next,
  #quiz-submit {
    padding: 16px 30px;
    font-size: 18px;
  }
  
  .radio-options span {
    font-size: 18px;
  }

  .quiz-popup-content {
    padding: 40px 30px;
  }

  .quiz-popup-content h2 {
    font-size: 28px;
  }

  .quiz-popup-content p {
    font-size: 16px;
  }

  .quiz-popup-button {
    padding: 16px 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  #quiz-container {
    padding: 25px 15px;
  }

  #quiz-container h2 {
    font-size: 28px;
  }

  .image-block {
    width: 120px;
    height: 120px;
    font-size: 14px;
  }

  .radio-options label {
    padding: 16px 20px;
  }
  
  .radio-options span {
    font-size: 16px;
  }
  
  .quiz-options {
    gap: 15px;
  }

  .quiz-popup-content {
    padding: 35px 25px;
    width: 95%;
  }

  .quiz-popup-content h2 {
    font-size: 24px;
  }

  .quiz-popup-icon svg {
    width: 60px;
    height: 60px;
  }
}

/* ========== ФОНОВЫЕ ИЗОБРАЖЕНИЯ ДЛЯ IMAGE-OPTIONS ========== */

/* Обновлённый стиль для .image-block */
.image-block {
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 2px solid rgba(217, 182, 134, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(60, 59, 59, 0.06);
  padding: 15px;
  position: relative;
  overflow: hidden;
  color: #3C3B3B;
  
  /* Фоновое изображение */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Текст внутри блока */
.image-block-text {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Затемнение фона при наведении */
.image-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* При наведении */
.image-options label:hover .image-block::after {
  opacity: 1;
}

.image-options label:hover .image-block-text {
  opacity: 1;
  transform: translateY(0);
}

/* При выборе */
.image-options input[type="radio"]:checked + .image-block {
  border: 3px solid #D9B686;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(217, 182, 134, 0.3);
}

.image-options input[type="radio"]:checked + .image-block::after {
  opacity: 1;
  background: rgba(217, 182, 134, 0.3);
}

.image-options input[type="radio"]:checked + .image-block-text {
  opacity: 1;
  transform: translateY(0);
  background: rgba(217, 182, 134, 0.95);
  color: white;
}

/* ========== ФОНОВЫЕ ИЗОБРАЖЕНИЯ - ШАГ 1 (ФОРМЫ КУХНИ) ========== */

.image-block[data-bg="pryamaya"] {
  background-image: url('/wp-content/uploads/2025/10/k1_1_1.png.webp');
}

.image-block[data-bg="uglovaya"] {
  background-image: url('/wp-content/uploads/2025/10/k1_2_1.png.webp');
}

.image-block[data-bg="p-obraznaya"] {
  background-image: url('/wp-content/uploads/2025/10/k1_3.png.webp');
}

.image-block[data-bg="s-ostrovkom"] {
  background-image: url('/wp-content/uploads/2025/10/k1_4.png.webp');
}

.image-block[data-bg="consultation"] {
  background-image: url('/wp-content/uploads/2025/10/redquestion_1.png.webp');
}

/* ========== ФОНОВЫЕ ИЗОБРАЖЕНИЯ - ШАГ 5 (ПОДАРКИ) ========== */

.image-block[data-bg="furnitura"] {
  background-image: url('/wp-content/uploads/2025/10/aedd79c598b717a33242.png.webp');
}

.image-block[data-bg="podsvetka"] {
  background-image: url('/wp-content/uploads/2025/10/svetodiodnaya-podsve.png.webp');
}

.image-block[data-bg="stoleshnica"] {
  background-image: url('/wp-content/uploads/2025/10/898_original.png.webp');
}

.image-block[data-bg="moyka"] {
  background-image: url('/wp-content/uploads/2025/10/keramicheskaya-stole.png');
}

/* ========== FALLBACK ДЛЯ БЛОКОВ БЕЗ ИЗОБРАЖЕНИЙ ========== */

.image-block:not([style*="background-image"]):not([data-bg]) {
  background: rgba(255, 255, 255, 0.6);
}

.image-block:not([style*="background-image"]):not([data-bg]) .image-block-text {
  opacity: 1;
  transform: translateY(0);
  background: transparent;
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 768px) {
  .image-block {
    width: 140px;
    height: 140px;
  }

  .image-block-text {
    font-size: 16px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .image-block {
    width: 120px;
    height: 120px;
  }

  .image-block-text {
    font-size: 14px;
    padding: 5px 8px;
  }
}/* End custom CSS */