input[type="checkbox"] {
  accent-color: #ffcb00;
}

.footer,
.header__bottom,
.hs_cos_wrapper.form-title,
form input[type='submit'], form .hs-button {
   display: none;
}

.dnd-section > .row-fluid, .content-wrapper, .header__wrapper{
   max-width: none;
}

.dnd-section{
   padding: 0;
}

.content__quiz{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: normal;
  justify-content: center;
  gap: 24px;
  min-height: 550px;
}

.content__quiz img{
  width: 100%;
  max-width: 550px;
}

section.c-quiz.js-quiz{
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}

#userNameText,
#nameResult{
  text-transform: capitalize;
}

.c-quiz__subtitle{
  font-size: 16px;
  font-weight: bold;
  text-align: start;
  padding: 4px 12px;
  background: #FFCB00;
  display: inline;
  width: fit-content;
}

.c-quiz__question{
  font-size: 24px !important;
}

.c-quiz__slide {
    background-color: #ebeff2;
    width: 100%;
    min-width: 288px;
}

.text__quiz{
  padding: 32px 32px 32px 0;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-width: 550px;
}

.c-quiz__slide:nth-of-type(1) .text__quiz {
  align-items: center;
}

.c-quiz__content {
  display: flex;
  align-items: center;
  gap: 4px;
  text-align: start;
}

.c-quiz__content a{
  font-size: 16px;
  color: #000;
}

.c-quiz__container{
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-y: hidden;
}

.c-quiz__container .c-quiz__slide.js-quiz-slide:nth-of-type(3).active,
.c-quiz__container .c-quiz__slide.js-quiz-slide:nth-of-type(4).active,
.c-quiz__container .c-quiz__slide.js-quiz-slide:nth-of-type(5).active,
.c-quiz__container .c-quiz__slide.js-quiz-slide:nth-of-type(6).active,
.c-quiz__container .c-quiz__slide.js-quiz-slide:nth-of-type(7).active{
    min-height: 100%;
}

.c-quiz__prev,
.c-quiz__next {
    cursor: pointer;
    padding: 10px 20px;
    border: none;
    background-color: #000; 
    color: #fff; /
    font-size: 16px;
     border-radius: 4px;
}

.c-quiz__next{
  background-color: #888; 
  cursor: not-allowed;
}

.c-quiz__next.active{
    background-color: #000;
    cursor: pointer;
}

.c-quiz__prev:hover,
.c-quiz__next:hover {
    background-color: #333; 
}


.c-quiz__progress-bar {
    background-color: #ddd; 
    border-radius: 8px;
    margin: 16px 0;
}

.c-quiz__progress {
    height: 16px;
    background-color: #FFCB00; 
    border-radius: 5px;
}

.c-quiz__nav{
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.quiz__footer{
    margin-top: auto;
    width: 100%;
}

.c-quiz__submit{
  max-width: 230px;
  width: 100%;
}

.c-quiz__options {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 16px;
}

.pregunta_genero .c-quiz__options{
  margin-top: 88px;
  min-height: 150px;
}

.input__field--group{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.input__field{
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  margin-bottom: 16px;
}


.input__field--row{
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-bottom: 8px;
}

.input__field--row.first{
  margin-top: 16px;
}

.input__field input{
  width: 100%;
  border: 1px solid #b2b7bc !important;
  padding: 12px 8px;
  outline: none;
  border-radius: 4px;
}

.input__field input:focus{
    border: 1px solid #000 !important;
}

.c-quiz__radio{
    display: flex;
    align-items: center;
    gap: 8px;
}

.c-quiz__checkbox:hover .c-quiz__selection,
.c-quiz__radio:hover .c-quiz__selection{
  background: #999;
}

.c-quiz__checkbox{
    display: flex;
    align-items: center;
    gap: 8px;
}

.js-quiz-answer{
  position: relative;
  padding: 10px 10px;
  border: 1px solid #FFFFFF;
  background: #FFFFFF;
  cursor: pointer;
  flex-direction: column;
  border-radius: 4px;
}

.js-quiz-answer img{
  width: 64px;
  border-radius: 100%;
}

.women_icons:not(:nth-of-type(1)).hide,
.men_icons:not(:nth-of-type(1)).hide,{
  display: none;
}

.women_icons:not(:nth-of-type(2)).hide,
.men_icons:not(:nth-of-type(2)).hide,{
  display: none;
}

.js-quiz-answer:hover{
  border: 1px solid #FFCB00;
}

.js-quiz-answer.active{
  border: 1px solid #FFCB00;
  background-color: rgba(255, 212, 66, 0.17);
}
 
.c-quiz__label {
    font-size: 16px;
    cursor: pointer;
}



.preocupacion_slide .c-quiz__label {
    font-size: 15px;
    margin-left: 16px;
}

.preocupacion_slide .js-quiz-answer {
    gap: 0;
    justify-content: center;
    min-width: 280px;
}

.preocupacion_slide .desktop__img img {
  max-width: 470px;
}


.button{
  margin-top: 56px;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  border-radius: 4px;
}

.button:hover{
  background: #FFCB00;
}

.button:hover svg{
    color: #FFF;
}

.quiz__result{
  display: none;
}

.c-quiz__counter{
  color: #2E2B32 !important;
  font-size: 14px
}

.c-quiz__selection {
    position: absolute;
    display: inline-block;
    left: 8px;
    width: 16px;
    height: 16px;
    border: 1px solid #aaa;
    transition: background-color 0.3s ease;
    align-self: start;
}

.c-quiz__radio .c-quiz__selection {
  border-radius: 50%;
}

.js-quiz-answer.active .c-quiz__selection{
  background: #FFCB00;
}

.c-quiz__checkbox.js-quiz-answer .c-quiz__selection::after {
  content: '';
  width: 10px;
  height: 5px;
  border: 2px solid transparent;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  position: absolute;
  top: 3px;
  left: 5px;
  opacity: 0;
}

.c-quiz__slide--intro .text__quiz{
  margin-top: 20%;
}

  .c-quiz__checkbox.js-quiz-answer.active .c-quiz__selection::after{
     opacity: 1;
  }

 .cJguiz_:not(.c-quiz__next){
  width: 180px;
   align-self: center;
}

.c-quiz__selection.active {
    background-color: #000;
}

.submitted-message{
    display: none !important;
    background: #F9F9F9 !important;
}

.result{
  padding: 16px;
}

.result h2{
   text-align: center;
}

.products__result{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 200px;
  width: 100%
 }

.product img{
  width: 100%;
}

.product .btn{
    cursor: pointer;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #FFCB00;
    color: #000;
    text-decoration: none;
}

.product p{
    margin-bottom: 0.4rem;
}

.hidden{
  display: none;
}

form{
  background: #f7f6f3 !important;
  text-align: start !important;
  padding: 0;
}

form input,
form select{
  border: 1px solid #999 !important;
}

.quiz__result{
  padding: 24px 24px 32px 24px;
}

.form-prev-btn{
  width: 288px;
  margin: 32px auto 0;
}

.content__results{
    display: grid;
    grid-template-columns: 350px 1fr;
    background: #f7f6f3;
    text-align: justify;
    padding: 24px;
}

.collection__name{
    text-align: center;
}

.collection__info{
  padding: 32px 24px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.collection__info .button {
  margin-top: 0;
}

.atenttion__buttons{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.atenttion__buttons a{
  display: flex;
  align-items: center;
  text-decoration: none;
}

.atenttion__buttons a img{
  width: 200px;
  height: 150px;
  object-fit: cover;
}

.atenttion__buttons .button{
  margin: 0;
  font-size: 14px;
} 

.atenttion__buttons .button:hover svg path{
  fill: white;
}

.atenttion__info .button.secondary{
  background: #FFF;
}

.atenttion__info .button.secondary:hover{
  color: #000;
}

.atenttion__info{
  margin-top: 24px;
}

form .hs-form-field{
  display: none;
}

.c-quiz__slide {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
}

.c-quiz__slide.active {
    opacity: 1;
    visibility: visible;
}

.fade-in {
    animation: fadeIn 0.8s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.8s ease-in-out forwards;
}

.content__results{
  background: #f7f6f3;
}

/* Animations */

 #loader{
    width: 100%;
    min-height: 200px;
    position: relative;
    font-size: 20px;
    font-weight: bold;
  }
  
    #loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4.8rem;
    height: 4.8rem;
    background: url(https://cdn.shopify.com/s/files/1/0584/3625/5926/files/loader.svg?v=1712347940) no-repeat center;
    background-size: contain;
    z-index: 106;
    -webkit-animation-duration: 1.4s;
    animation-duration: 1.4s;
    -webkit-animation-name: loaderRotate;
    animation-name: loaderRotate;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@keyframes loaderRotate {
    0% {
      -webkit-transform: translate(-50%, -50%) rotate(0);
      transform: translate(-50%, -50%) rotate(0);
      }
    100%, 70% {
      -webkit-transform: translate(-50%, -50%) rotate(1turn);
      transform: translate(-50%, -50%) rotate(1turn);
      }
 }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-50%);
    }
}


.desktop__img{
  display: block;
}

.desktop__img{
  min-width: 550px;
}

.mobile__img{
  display: none;
}

  .collection__image img{
  max-width: 350px;
  }

#formButtonTest {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #000 !important;
}

#error__message{
  display: block;
  font-size: 14px;
  text-align: center;
  color: red;
}

.atenttion__buttons{
  flex-wrap: wrap;
}

.atenttion__info{
  padding: 16px;
}


.c-quiz__form{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 550px;
  padding: 24px;
}

.c-quiz__form .c-quiz__nav {
  margin-top: 0;
}

.c-quiz__form .c-quiz__prev{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: auto;
  max-width: 96px;
  width: 100%;
  font-size: 18px;
  
}

  .pregunta_genero .content__quiz{
    grid-template-columns: auto;
  }

  .pregunta_genero .content__quiz .images{
   display: none;
  }

@media only screen and (max-width: 1240px) {

  .preocupacion_slide .js-quiz-answer {
      min-width: auto;
  }

}
@media only screen and (max-width: 1100px) {
  
  .text__quiz{
    padding: 32px 24px 32px 0;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    min-width: 0;
  }

 
}

@media only screen and (max-width: 800px) {
  
  .text__quiz{
    padding: 24px 16px ;
  }

   section.c-quiz.js-quiz{
    padding: 32px 16px;
  }
  
  .text__quiz {
    max-width: none;  
  }
  
  .preocupacion_slide .js-quiz-answer {
      gap: 0;
      justify-content: center;
      min-width: 0;
  }

  h1{
     font-size: 32px;
  }
  
  h2{
    font-size: 24px;
  }
  
  .images img{
    max-width: 100%;
}
  
  .desktop__img{
    display: none;
  }

  .mobile__img{
    display: block;
  }
  
   .c-quiz__container{
    min-height: 650px;
  }
  
  .c-quiz__container.open{
    min-height: 800px;
  }
  
  section.c-quiz.js-quiz{
    align-items: start;
    padding-top: 40px;
  }
  
  .input__field--group{
    grid-template-columns: 1fr;
  }
  
  .c-quiz__slide{
    height: 100%;
    padding: 16px;
  }
  
  
  .quiz__progress--footer,
  .cJguiz_:not(.c-quiz__next){
    width: 92%;
    position: absolute;
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  .content__quiz{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .c-quiz__slide--intro .text__quiz{
    margin-top: 0;
  }
  
  .c-quiz__form{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
  }
  
  .c-quiz__form .c-quiz__nav{
  flex-direction: column-reverse;
  }
  
  .c-quiz__form .c-quiz__nav .button{
    margin-top: 0;
  }
  
  .c-quiz__submit{
    max-width: 300px;
  }
  
   .content__results{
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    padding: 16px 8px;
  }
  
  
  .pregunta_genero .c-quiz__options{
    margin-top: 56px;
  }
  
}

@media only screen and (max-width: 540px) {
  
  
  .c-quiz__selection {
    width: 10px;
    height: 10px;
  }
  
  .js-quiz-answer img{
    width: 56px;
  }
  
  section.c-quiz.js-quiz{
    padding: 0;
  }
  
  
  .c-quiz__container{
    min-height: 500px;
  }
  
  
  .text__quiz{
    padding: 0;
    padding-top: 24px;
  }

  .c-quiz__options {
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-bottom: 24px;
  }
  
   .content__quiz{
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .collection__info{
    padding: 8px;
    }
    
  .atenttion__info{
    padding: 4px;
  }

  .quiz__result{
    padding: 16px 16px 24px 16px;
  }
  
  .text__quiz{
    width: 100%;
  }
  
    
  .c-quiz__slide{
    padding: 16px 8px 0;
  }
  
  
  .content__quiz{
      min-height: 0 !important;
  }
  
  .input__field--row .c-quiz__content a,
  .input__field--row .c-quiz__content {
    font-size: 14px
  }
  
  
  .c-quiz__prev, .c-quiz__next{
    padding: 10px;
  }
  
  .collection__benefits{
    font-size: 14px;
  }
  
  .c-quiz__form .c-quiz__prev{
      max-width: 189px;
  }
  
  .c-quiz__nav{
    margin-top: 56px;
  }
  
    
  .pregunta_genero .c-quiz__options{
    margin-top: 32px;
  }

}

