.section-header.section-header-center {
	text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-image-promo {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.button:not(.button-outline) {
	border: none;
	
}

.button {
  cursor: pointer;
  gap: 8px;
  align-items: center;
}

.button.button-square {
  padding: 0;
  width: 52px;
  height: 52px;
  min-width: 0;
  background-color: transparent;
  border-width: 1px;
}




.button svg {
  width: 16px;
  height: 16px;
}


.section-subtitle {
  margin-top: 12px;
}


.quiz {
  display: flex;
  background: #f4f7fd;
  border-radius: 20px;
  margin-top: 40px;
}

.quiz-main {
  flex-grow: 1;
  overflow-y: auto;
  position: relative;
}

.quiz-content {
  padding: 40px;
  min-height: 630px;
}

.quiz-step:not(.active) {
  display: none;
}

.quiz-title {
  font-size: 32px;
  margin-bottom: 24px;
}

.quiz-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 18px;
}

.quiz-row.quiz-row-alt .quiz-item {
  flex-basis: calc((100% - 18px) / 2);
  background-color: #e9e9e9;
  border-radius: 4px;
  padding: 16px;
  box-sizing: border-box;
  min-height: 60px;
  align-items: center;
  display: flex;
}

.quiz-row.quiz-row-alt .quiz-item .quiz-item-text {
  margin: 0;
}

.quiz-item {
  flex-basis: calc((100% - 36px) / 3);
  cursor: pointer;
  position: relative;
}

.quiz-item::after {
  content: "";
  display: block;
  position: absolute;
  width: 28px;
  height: 28px;
  background: #ff8400 url(../images/check.svg) center/14px 14px no-repeat;
  border-radius: 50%;
  z-index: 2;
  top: 0;
  left: 0;
  transform: translate(-7px, -7px);
}

.quiz-item:not(.checked)::after {
  display: none;
}

.quiz-item-image {
  padding-bottom: 74%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow-y: hidden;
}

.quiz-item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.quiz-item-text {
  font-size: 14px;
  line-height: 1.35;
  color: #000;
  margin-top: 10px;
}

.quiz-control {
  bottom: 0;
  left: 0;
  padding: 20px 40px 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.quiz-count {
  font-size: 14px;
  color: #000;
  opacity: 0.5;
}

.quiz-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-button {
  min-width: 120px;
  height: 52px;
  font-size: 16px;
}

.quiz-button.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.quiz-side {
  flex-basis: 260px;
  flex-shrink: 0;
  padding: 24px;
  box-sizing: border-box;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f7f7f7;
}

.quiz-side-photo img {
  width: 54px;
  height: 54px;
  border-radius: 4px;
}

.quiz-side-message {
  background-color: #ededed;
  border-radius: 4px;
  padding: 10px;
  box-sizing: border-box;
  color: #000;
  line-height: 1.4;
  margin-top: 16px;
  position: relative;
}

.quiz-side-message::after {
  content: "";
  display: block;
  border-bottom: 8px solid #ededed;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px;
  left: 15px;
  top: -8px;
  position: absolute;
}

.quiz-side-name {
  font-weight: 700;
}

.quiz-side-position {
  font-size: 14px;
  opacity: 0.5;
  margin-bottom: 8px;
}

.quiz-side-text {
  font-size: 14px;
}

.contact-form-input {
  width: 100%;
  margin-bottom: 16px;
}

.contact-form-input label {
  font-size: 14px;
}

.contact-form-input input {
  width: 100%;
  height: 60px;
  padding: 0 12px;
  font-size: 16px;
  background-color: #e9e9e9;
  border-radius: 4px;
  border: none;
  box-sizing: border-box;
  display: block;
  margin-top: 4px;
  outline: none !important;
}

.contact-form-input input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.contact-form-input input:active {
  outline: none;
  border: none;
  box-shadow: none;
}

.contact-form-submit .button {
  min-width: 260px;
  height: 60px;
  font-size: 16px;
}


@media (max-width: 1023.98px) {
  .quiz-side {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .quiz-content {
    padding: 16px;
  }

  .quiz-title {
    font-size: 24px;
  }

  .quiz-item {
    flex-basis: calc((100% - 18px) / 2);
  }

  .quiz-control {
    padding: 16px;
  }
}














.modal {
  width: 100%;
  padding: 0;
}

.modal-inner {
  padding: 32px;
  box-sizing: border-box;
}
.modal-header {

  margin-bottom: 24px;
}

.modal-text-list {
  text-align: left;
}


.content-button {
  margin-bottom: 64px;
}

.modal-image img {
  width: 100%;
  height: auto;
  display: block;
}

.modal .form {
  max-width: 100%;
}

.modal-title {
  font-size: 22px;
  font-weight: 500;
}

.modal-text {
  font-size: 18px;
  margin-bottom: 10px;
}

.modal-text-extra {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 500;
}









@media(max-width: 767.98px) {
  .modal-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}










.form label {
  display: block;
  margin-bottom: 16px;
}


.form {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.form input {
  height: 60px;
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: #f1f2f3;
  outline: none;



}

.form input.icon-user {
  padding-left: 48px;
  background: #f1f2f3 url(../images/user.svg) left 16px center / 22px no-repeat; 
}
.form input.icon-flag {
  padding-left: 48px;
  background: #f1f2f3 url(../images/flag-for-flag-russia-svgrepo-com.svg) left 16px center / 22px no-repeat; 
}

.form input::placeholder {
  color: #959a9d;
}

.form .button {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  width: 100%;
  cursor: pointer;
}

.form-input-hidden {
  display: none;
}













/* CSS */
.custom-select {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.custom-select-trigger {
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    border: 1px solid #d9d9d9;
    border-radius: 100px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.custom-select-current {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.custom-select-text {
    font-size: 16px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-select-icon svg,
.custom-select-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.custom-select-icon svg {

}

.custom-select-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.25s ease;
    margin-top: -4px;
}

.custom-select.is-open .custom-select-arrow {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: none;
    z-index: 30;
    text-align: left;
    box-sizing: border-box;
}

.custom-select.is-open .custom-select-dropdown {
    display: block;
}

.custom-select-option {
    min-height: 24px;
    padding: 12px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.custom-select-option:hover {
    background: #f5f5f5;
}

.custom-select-option .custom-select-text {
    flex: 1;
}

.custom-select-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid #cfcfcf;
    border-radius: 50%;
    position: relative;
}

.custom-select-option.is-selected .custom-select-check {
    border-color: #222;
}

.custom-select-option.is-selected .custom-select-check::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #222;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.contact-method {
    margin-bottom: 16px;
}
.contact-method .title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.contact-method-radio {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}







@media(max-width: 767.98px) {
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}






.thx-wrapper {
  display: flex;
  min-height: 100vh;
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;

}

.thx-wrapper p a {
  color: currentColor;
  text-decoration: underline;
}

.thx {
  max-width: 370px;
  margin: auto;
}

.thx-wrapper .button {
  height: 44px;

  display: inline-flex;
  padding: 0 16px;
  box-sizing: border-box;
  width: auto;
}





@media(max-width: 767.98px) {
  .products-title {
    padding: 10px;
    font-size: 14px;
  }
  .products-image {
    height: 162px;
  }
}

@media(max-width: 1023.98px) {
  .hero-image {
    width: 500px;
    height: 513px;    
  }
}

@media(max-width: 852px) {
  .hero-inner {
    padding-bottom: 0;
  }
  .hero-image {
    margin-left: auto;
    margin-right: auto;
    position: static;
    max-width: 500px;
    width: 100%;
    height: auto;
  }
  .hero-image img {
    width: 100%;
    height: auto;
  }
}


@media(max-width: 767.98px) {
  .quiz-row.quiz-row-alt .quiz-item {
    flex-basis: 100%;
  }
}


.gallery-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media(max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .gallery-item {
    height: 221px;
  }
}


@media(max-width: 767.98px) {
  .sales-item {
    text-align: center;
  }
  .sales-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

@media(max-width: 767.98px) {
  .policy-page h1 {
    font-size: 24px;
  }


  .quiz-buttons .button:not(.button-square) {
    padding-left: 14px;
    padding-right: 14px;
  }


  .advantages-image {
    height: 140px;
  }
  .advantages-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .advantages-text {
    font-size: 16px;
  }
  .advantages-content {
    padding-bottom: 16px;
  }

  .section-quiz .section-subtitle {
    font-size: 18px;
  }
}



@media(max-width: 767.98px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .benefits-title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .benefits-text {
    font-size: 14px;
  }
  .benefits-content {
    padding: 14px;
  }
  .benefits-image {
    height: 130px;
  }
}