:root {
  --primary-color: #092d74;
  --accent-color: #ef7f00;
  --light-gray: #f4f4f4;
  --medium-gray: #e9ecef;
  --dark-gray: #333;
  --border-color: #ccc;
  --text-color: #555;
  --error-color: #d9534f;
}

*,
*::before,
*::after {
  box-sizing: border-box !important;
}

.konf .configurator-wrapper,
.configurator-wrapper_konf {
  margin: 0 auto !important;
  background: #fff !important;
  padding: 30px 40px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
  width: 100% !important;
  max-width: 850px !important;
  text-align: center !important;
}

.konf h1,
.konf h2,
.konf h3 {
  color: var(--dark-gray) !important;
  text-align: center !important;
  width: 100%;
}
.konf h1 {
  font-size: 2em !important;
  font-weight: bold !important;
  color: var(--primary-color) !important;
  margin-bottom: 10px !important;
}
.konf h2 {
  font-weight: bold !important;
  margin-bottom: 30px !important;
  font-size: 20px !important;
}
.konf p {
  color: var(--text-color) !important;
  margin-bottom: 25px !important;
}

.konf .form-step,
.form-step_konf {
  display: none !important;
  animation: fadeIn 0.5s !important;
}
.konf .form-step.active,
.form-step_konf.active {
  display: block !important;
}
@keyframes fadeIn {
  from {
    opacity: 0 !important;
  }
  to {
    opacity: 1 !important;
  }
}
.konf .form-group,
.form-group_konf {
  margin-bottom: 20px !important;
  text-align: left !important;
}
.konf .form-group > label,
.form-group_konf > label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
  font-weight: bold !important;
}
.konf .form-control,
.form-control_konf {
  width: 100% !important;
  padding: 12px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-family: Arial, sans-serif !important;
}
.konf .form-control:focus,
.form-control_konf:focus {
  /* Remove default outline but replace with accessible highlight */
  outline: none !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 5px rgba(239, 127, 0, 0.3) !important;
}
.konf .progress-bar,
.progress-bar_konf {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  align-items: center !important;
  width: 80% !important;
  margin: 30px auto !important;
}
.konf .progress-track,
.progress-track_konf {
  position: absolute !important;
  grid-column: 1 / -1 !important;
  width: calc(100% * 3 / 4) !important;
  justify-self: center !important;
  height: 4px !important;
  background-color: var(--light-gray) !important;
  z-index: 1 !important;
}
.konf #progress {
  height: 100% !important;
  width: 0% !important;
  background-color: var(--accent-color) !important;
  transition: width 0.4s ease !important;
}
.konf .step-indicator,
.step-indicator_konf {
  justify-self: center !important;
  min-width: 30px !important;
  height: 30px !important;
  padding: 0 12px !important;
  background-color: var(--medium-gray) !important;
  color: var(--dark-gray) !important;
  border-radius: 15px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-weight: bold !important;
  z-index: 3 !important;
  transition: all 0.4s ease !important;
}
.konf .step-indicator.active,
.step-indicator_konf.active {
  background-color: var(--accent-color) !important;
  color: #fff !important;
}
.konf .radio-buttons,
.radio-buttons_konf {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.konf .radio-buttons label,
.radio-buttons_konf label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  flex-grow: 1 !important;
  transition: all 0.2s ease-in-out !important;
}
.konf .radio-buttons input[type="radio"],
.radio-buttons_konf input[type="radio"] {
  display: none !important;
}
.konf .radio-buttons input[type="radio"]:checked + label,
.radio-buttons_konf input[type="radio"]:checked + label {
  border-color: var(--accent-color) !important;
  background-color: #fff3e6 !important;
  font-weight: bold !important;
}
.konf .info-tooltip,
.info-tooltip_konf {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 8px !important;
}
.konf .info-icon,
.info-icon_konf {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 18px !important;
  height: 18px !important;
  background-color: var(--medium-gray) !important;
  color: var(--dark-gray) !important;
  border-radius: 50% !important;
  font-size: 12px !important;
  font-style: italic !important;
  font-weight: bold !important;
  cursor: help !important;
  border: 1px solid var(--border-color) !important;
}
.konf .tooltip-text,
.tooltip-text_konf {
  visibility: hidden !important;
  opacity: 0 !important;
  width: 220px !important;
  background-color: var(--dark-gray) !important;
  color: #fff !important;
  text-align: center !important;
  border-radius: 6px !important;
  padding: 10px !important;
  position: absolute !important;
  z-index: 10 !important;
  bottom: 150% !important;
  left: 50% !important;
  margin-left: -110px !important;
  transition: opacity 0.3s !important;
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1.4 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
.konf .tooltip-text::after,
.tooltip-text_konf::after {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  margin-left: -5px !important;
  border-width: 5px !important;
  border-style: solid !important;
  border-color: var(--dark-gray) transparent transparent transparent !important;
}
.konf .info-tooltip:hover .tooltip-text,
.info-tooltip_konf:hover .tooltip-text_konf {
  visibility: visible !important;
  opacity: 1 !important;
}
.konf .water-points-container,
.water-points-container_konf {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  margin-top: 10px !important;
}
.konf .water-point-item,
.water-point-item_konf {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}
.konf .water-point-item > label,
.water-point-item_konf > label {
  font-weight: bold !important;
}
.konf .water-point-item .radio-buttons label,
.water-point-item_konf .radio-buttons_konf label {
  flex-grow: 0 !important;
  min-width: 45px !important;
}
.konf .form-buttons,
.form-buttons_konf {
  display: flex !important;
  justify-content: flex-end;
  gap: 10px !important;
  margin-top: 30px !important;
  border-top: 1px solid var(--light-gray) !important;
  padding-top: 20px !important;
}
.konf .btn,
.btn_konf {
  padding: 12px 30px !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s !important;
}
.konf .btn-primary,
.btn-primary_konf {
  background-color: var(--accent-color) !important;
  color: #fff !important;
}
.konf .btn-primary:hover,
.btn-primary_konf:hover {
  background-color: #d97100 !important;
  transform: translateY(-2px) !important;
}
.konf .btn-secondary,
.btn-secondary_konf {
  background-color: var(--medium-gray) !important;
  color: var(--dark-gray) !important;
}
.konf .btn-secondary:hover,
.btn-secondary_konf:hover {
  background-color: #d1d5d8 !important;
  transform: translateY(-2px) !important;
}
.konf .btn-outline,
.btn-outline_konf {
  background: transparent !important;
  border: 2px solid var(--accent-color) !important;
  color: var(--accent-color) !important;
  padding: 10px 28px !important;
}
.konf .btn-outline:hover,
.btn-outline_konf:hover {
  background: var(--accent-color) !important;
  color: #fff !important;
}
.konf .range-group,
.range-group_konf {
  background-color: #f9f9f9 !important;
  padding: 20px !important;
  border-radius: 8px !important;
  border: 1px solid #e0e0e0 !important;
}
.konf .range-slider-container,
.range-slider-container_konf {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 20px !important;
}
.konf .range-value,
.range-value_konf {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.konf .range-value input,
.range-value_konf input {
  border: none !important;
  width: 70px !important;
  text-align: right !important;
  font-size: 1.2em !important;
  font-weight: bold !important;
  padding: 8px !important;
  font-family: Arial, sans-serif !important;
}
.konf .range-value input:focus,
.range-value_konf input:focus {
  outline: 2px solid var(--accent-color) !important;
  outline-offset: 2px !important;
}
.konf .range-value span,
.range-value_konf span {
  font-weight: bold !important;
  padding-right: 10px !important;
  color: #555 !important;
}
.konf .range-slider,
.range-slider_konf {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  height: 10px !important;
  background: var(--medium-gray) !important;
  border-radius: 5px !important;
  outline: none !important; /* thumb will indicate focus */
  cursor: pointer !important;
  background: linear-gradient(
    to right,
    var(--accent-color) 0%,
    var(--accent-color) var(--value-percent, 0%),
    var(--medium-gray) var(--value-percent, 0%),
    var(--medium-gray) 100%
  ) !important;
}
.konf .range-slider::-webkit-slider-thumb,
.range-slider_konf::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  background: #fff !important;
  border: 3px solid var(--accent-color) !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.2s !important;
}
.konf .range-slider:active::-webkit-slider-thumb,
.range-slider_konf:active::-webkit-slider-thumb {
  transform: scale(1.1) !important;
}
.konf .range-slider::-moz-range-thumb,
.range-slider_konf::-moz-range-thumb {
  width: 24px !important;
  height: 24px !important;
  background: #fff !important;
  border: 3px solid var(--accent-color) !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2) !important;
}

.konf .custom-select-wrapper,
.custom-select-wrapper_konf {
  position: relative !important;
  width: 100% !important;
}
.konf .custom-select-wrapper .form-control,
.custom-select-wrapper_konf .form-control_konf {
  display: none !important;
}
.konf .custom-select,
.custom-select_konf {
  position: relative !important;
  cursor: pointer !important;
}
.konf .custom-select__trigger,
.custom-select__trigger_konf {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  background-color: #fff !important;
  transition: all 0.2s !important;
  height: 48px !important;
}
/* Visible focus for custom select trigger */
.custom-select__trigger_konf:focus-visible {
  outline: 2px solid var(--accent-color) !important;
  outline-offset: 2px !important;
}
.konf .custom-select.open .custom-select__trigger,
.custom-select_konf.open .custom-select__trigger_konf {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 5px rgba(239, 127, 0, 0.3) !important;
}
.konf .custom-select__trigger .arrow,
.custom-select__trigger_konf .arrow,
.konf .custom-select__trigger .arrow_konf,
.custom-select__trigger_konf .arrow_konf {
  width: 0 !important;
  height: 0 !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 5px solid var(--text-color) !important;
  transition: transform 0.3s !important;
}
.konf .custom-select.open .arrow,
.custom-select_konf.open .arrow,
.konf .custom-select.open .arrow_konf,
.custom-select_konf.open .arrow_konf {
  transform: rotate(180deg) !important;
}
.konf .custom-options,
.custom-options_konf {
  position: absolute !important;
  top: calc(100% + 5px) !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #fff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  max-height: 250px !important;
  overflow-y: auto !important;
  z-index: 10 !important;
  display: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}
.konf .custom-select.open .custom-options,
.custom-select_konf.open .custom-options_konf {
  display: block !important;
}
.konf .custom-option,
.custom-option_konf {
  padding: 12px !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
}
.konf .custom-option:hover,
.custom-option_konf:hover {
  background-color: var(--light-gray) !important;
}
.konf .custom-option.selected,
.custom-option_konf.selected {
  background-color: #fff3e6 !important;
  font-weight: bold !important;
}

/* Focus styles for custom select options */
.custom-option_konf:focus-visible {
  outline: 2px solid var(--accent-color) !important;
  outline-offset: -2px !important;
  background-color: var(--light-gray) !important;
}

/* Make radio button-like labels show focus */
.radio-buttons_konf label:focus-visible {
  outline: 2px solid var(--accent-color) !important;
  outline-offset: 2px !important;
}

/* Buttons focus ring */
.btn_konf:focus-visible {
  outline: 2px solid var(--accent-color) !important;
  outline-offset: 2px !important;
}

.konf .results-disclaimer,
.results-disclaimer_konf {
  font-size: 0.9em !important;
  background-color: var(--light-gray) !important;
  padding: 15px !important;
  border-radius: 6px !important;
  text-align: left !important;
  line-height: 1.5 !important;
}

.konf #results-screen {
  text-align: center !important;
  animation: fadeIn 0.5s !important;
}

.konf #calculated-power {
  color: var(--accent-color) !important;
  font-weight: bold !important;
}
.konf #results-screen .results-meta,
.konf #results-screen .results-meta_konf {
  color: var(--dark-gray) !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  font-weight: bold !important;
}
.konf #recommended-devices-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 30px !important;
  margin-top: 30px !important;
  text-align: left !important;
}
.konf .product-box,
.product-box_konf {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  transition: box-shadow 0.3s, transform 0.3s !important;
}
.konf .product-box:hover,
.product-box_konf:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-5px) !important;
}
.konf .product-box-img,
.product-box-img_konf {
  height: 200px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-bottom: 1px solid #e0e0e0 !important;
  background-color: white !important;
  padding: 20px !important;
}
.konf .product-box-img img,
.product-box-img_konf img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
.konf .product-box-content,
.product-box-content_konf {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}
.konf .product-box-title,
.product-box-title_konf {
  font-size: 1.25em !important;
  font-weight: bold !important;
  color: var(--dark-gray) !important;
  margin: 0 0 15px 0 !important;
  line-height: 1.3 !important;
}
.konf .product-box-list,
.product-box-list_konf {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
  flex-grow: 1 !important;
  color: var(--text-color) !important;
}
.konf .product-box-list li,
.product-box-list_konf li {
  display: flex !important;
  margin-bottom: 12px !important;
  font-size: 0.9em !important;
  align-items: flex-start !important;
}
.product-box-list_konf li strong {
  font-size: 0.9em !important;
}
.konf .product-box-list li strong,
.product-box-list_konf li strong {
  margin-left: 5px !important;
  color: var(--dark-gray) !important;
  font-weight: bold !important;
}
.konf .product-box-list .icon,
.product-box-list_konf .icon {
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  margin-right: 10px !important;
}
.konf .product-box-footer,
.product-box-footer_konf {
  padding: 0 20px 20px 20px !important;
  margin-top: auto !important;
  display: flex !important;
  gap: 10px !important;
}
.konf .product-box-footer .btn,
.product-box-footer_konf .btn_konf {
  flex: 1 !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-align: center !important;
  align-content: center !important;
}

.konf .contact-section,
.contact-section_konf {
  margin-top: 50px !important;
  padding: 40px !important;
  border-top: 1px solid var(--medium-gray) !important;
  background-color: #fff !important;
  border-radius: 8px !important;
  text-align: left !important;
  max-width: 650px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.konf .contact__form-title,
h2.contact__form-title_konf {
  color: #fff !important;
  font-weight: bold !important;
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 30px !important;
}
.konf .contact__form-label,
.contact__form-label_konf {
  display: block !important;
  margin-bottom: 20px !important;
  color: #fff !important;
}
.konf .contact__form-label > span,
.contact__form-label_konf > span {
  display: block;
  font-weight: bold !important;
  margin-bottom: 8px !important;
  font-size: 0.9em !important;
  color: #fff !important;
}
.konf .contact__form-input,
.contact__form-input_konf {
  width: 100% !important;
  padding: 12px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-family: Arial, sans-serif !important;
  transition: all 0.2s ease-in-out !important;
}
.konf .contact__form-input:focus,
.contact__form-input_konf:focus {
  outline: none !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 5px rgba(239, 127, 0, 0.3) !important;
}
.konf .contact__form-input::placeholder,
.contact__form-input_konf::placeholder {
  color: #aaa !important;
}

.konf .error-msg,
.error-msg_konf {
  color: var(--error-color) !important;
  font-size: 0.8em !important;
  margin-top: 5px !important;
  display: none;
}
.konf .d-none,
.d-none_konf {
  display: none;
}

.konf .contact__form-label.has-error .contact__form-input,
.contact__form-label_konf.has-error .contact__form-input_konf {
  border-color: var(--error-color) !important;
}
.konf .contact__form-label.has-error .error-msg,
.contact__form-label_konf.has-error .error-msg_konf {
  display: block !important;
}
.konf .form-group.has-error .error-msg,
.form-group_konf.has-error .error-msg_konf {
  display: block !important;
  text-align: center !important;
  margin-top: 15px !important;
}

.konf .custom-agreement,
.custom-agreement_konf {
  font-size: 0.8em !important;
  color: #777 !important;
  line-height: 1.5 !important;
  margin-top: 30px !important;
  margin-bottom: 20px !important;
}
.konf .custom-agreement > span:first-child,
.custom-agreement_konf > span:first-child {
  font-weight: bold !important;
  margin-bottom: 10px !important;
}
.konf .custom-agreement__text,
.custom-agreement__text_konf {
  color: #fff;
  margin-top: 10px !important;
}
.konf a.more-info-agreement,
a.more-info-agreement_konf {
  color: #fff !important;
  font-weight: bold !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.konf a.more-info-agreement:hover,
a.more-info-agreement_konf:hover {
  text-decoration: underline !important;
}
.konf .custom-agreement-more,
.custom-agreement-more_konf {
  display: none;
  margin-top: 15px !important;
  padding: 15px !important;
  background-color: var(--light-gray) !important;
  border-radius: 4px !important;
  text-align: left !important;
}
.konf .custom-agreement-more.visible,
.custom-agreement-more_konf.visible {
  display: block !important;
}
.konf .custom-agreement-more ol,
.custom-agreement-more_konf ol {
  padding-left: 20px !important;
}
.konf .custom-agreement-more li,
.custom-agreement-more_konf li {
  margin-bottom: 10px !important;
}

.konf #brnd-contact-form button[type="submit"] {
  display: block !important;
  width: 100% !important;
  margin-top: 10px !important;
}
.custom-agreement_konf span {
  color: #fff !important;
}

@media (max-width: 768px) {
  .konf .configurator-wrapper,
  .konf .contact-section,
  .configurator-wrapper_konf,
  .contact-section_konf {
    padding: 20px !important;
  }
  .konf h1 {
    font-size: 1.5em !important;
  }
  .konf .range-slider-container,
  .range-slider-container_konf {
    grid-template-columns: 1fr !important;
  }
}

.konf span.bold-navy,
.bold-navy_konf {
  color: var(--primary-color) !important;
}
.konf .configurator-wrapper_konf .contact__form_konf h2.form-thx {
  color: #fff !important;
}
