@import url('https://fonts.googleapis.com/css2?family=Francois+One&display=swap');

.francois-one-regular {
  font-family: "Francois One", serif;
  font-style: normal;
  text-transform: "uppercase";
  
  color: white;
  font-size: 48px;
  text-align: center;
  font-weight: 900;
  margin-top:0px;
  margin-bottom:10px;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: .1px;
}

header,
.webform-progress,
div[data-drupal-messages] {
  display: none;
}

.field_ln_n_components {
  background-image: url('https://www.milo.com.pe/sites/default/files/2025-12/fondo.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/*
 * Todos los fullheight
 */
html,
body,
.dialog-off-canvas-main-canvas,
.layout-container,
main,
.layout-content,
.layout-content > div,
article.contextual-region,
article.contextual-region > div:nth-child(2),
.field_ln_n_components {
  min-height: 100%;
}

.field_ln_n_components {
  display: flex;
  flex-direction: column;   /* stack */
  align-items: center;
  justify-content: center;
}

#edit-flexbox-04 {
  min-height: 860px;
}

/*
article.contextual-region {
    height: 100vh;
  display:flex;
  align-items: center;
  justify-content: center;
}*/
.el-versus-del-verano-container {
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  width: 100%;
  max-width: 1140px;
}

.versus-verano-first-step-container {
  background-image: url('https://www.milo.com.pe/sites/default/files/2025-12/fondo-formulario.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 55px;
}

#edit-first-section-container {
  max-width: 764px;
  padding-top: 44%;
}

.verano-versus-form label {
  color: white;
  font-weight: 600;
}

.verano-versus-form-input {
  background: transparent;
  border: 1px solid white;
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  width: 100%;
  height: 44px;
}

.verano-versus-form-input option {
  color: rgba(0,165,0,1);
}

.description,
.description a {
  color: white;
}

.description a {
  text-decoration: underline;
}

.form-item-novedades-check {
  margin-top: 20px;
}

.js-form-type-checkbox {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin-bottom: 20px;
}

.verano-versus-form-input[type=checkbox] {
  width: 35px;
  height: 35px;
  cursor: pointer;
  background: rgba(40,40,40,0);
  color:black;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
}

.description {
  margin-left: 40px;
}

.verano-versus-form-input[type=checkbox]:checked {
  background: rgba(0,165,0,1);
  appearance: auto;
}


.form-submit {
  background: #ffe600;
  color: #666666;
  max-width: 255px;
  height: 70px;
    border: none;
    border-radius: 999px;
    padding: 15px 30px;
  width: 100%;
  font-size: 26px;
  font-weight: 600;
}

.form-submit:hover {
  background: transparent;
  color: #ffe600;
}

.subtitle-container,
.subtitle-container .paragraph{
  text-align: center;
  padding: 0!important;
}

.el-versus-del-verano-container .form-actions {
  text-align: center;
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;
}

.el-versus-del-verano-container .form-actions .webform-button--previous {
    background: transparent;
    color: white;
    border: 0;
    font-size: 16px;
    margin-top: 15px;
}

.el-versus-del-verano-container .form-actions input {
  font-size: 24px;
  min-width: 250px;
  padding: 7px 10px;
}

.verano-versus-radio-option {
  display: none;
}

.voto-btn-container {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voto-btn {
    border: 0;
    border-radius: 20px;
    font-size: 48px;
    font-weight: 500;
    margin-left: 100px;
    margin-right: 100px;
}

.voto-btn-frio {
  background-color: transparent;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.voto-btn-caliente {
  background-color: transparent;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.voto-btn.active {
  filter: drop-shadow(0px 0px 25px rgba(254, 226, 0, 1));
}

.voto-btn img {
  height: 80%;
  margin-right: 15px;
}

img.caliente-vs-frio {
  display: block;
  max-width: 60%; 
  margin: 0 auto;
}

.dashed-border {
  position: relative;
}

.dashed-border::before {
  border: dashed  2px rgba(254,226,0,1);
  position: absolute;
  top: 2%;
  left: 2%;
  width: 100%;
  height: 100%;
  content: "";
}

.voto-btn.dashed-border::before {
  border-radius: 20px;
}

#edit-actions-submit {
  max-width: 255px;
  height: 70px;
    border: 1px solid white;
    border-radius: 15px;
    padding: 15px 30px;
  width: 100%;
  font-size: 26px;
  font-weight: 600;
}

.octogono-versus-verano {
  position: absolute;
  top: 25px;
  right: 25px;
}

.octogono-versus-verano img {
    max-width: 150px;
}

.tazas-container {
display: block;
    position: relative;
    width: 100%;
    margin: auto;
    aspect-ratio: 750 / 617;
    max-width: 750px;
}

.tazas-container .image {
  position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tazas-container .image.top {
  z-index: 2;
  mix-blend-mode: screen;
}

.tazas-container .image.bottom {
  z-index: 1;
}

.tazas-container img {
  display:block;
  margin: 0 auto;
}

@media all and (max-width: 768px) {
  
  body {
    height: auto!important;
  }
  
  header {
    display: none!important;
  }
  
  .octogono-versus-verano {
    top: 5px;
    right: 5px;
  }

  .octogono-versus-verano img {
    max-width: 100px;
  }

  .field_ln_n_components {
    display: block;
  }
  
  .versus-verano-first-step-container {
    padding: 30% 10% 0 10%;
    background: transparent;
  }
  
  .el-versus-del-verano-container .form-actions {
    padding-top: 5px!important;
  }
  
  .voto-btn {
    font-size: 32px;
  }
  
  img.caliente-vs-frio {
    width: 100%;
    max-width: 100%;
  }
  
  .form-submit {
    font-size: 18px;
  }
  
  #edit-actions-submit {
    font-size: 18px;
    width: 320px;
  }
  
  .resultados-bar-container {
    height: 50px;
  }
  
  .resultados-bar-container img {
    display: none;
  }
}
  
@media (max-width: 767px) {
  .field_ln_n_components {
    background-image: url('https://www.milo.com.pe/sites/default/files/2026-01/Banner_1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }

  /* First-step container background */
  .versus-verano-first-step-container {
    background-image: url('https://www.milo.com.pe/sites/default/files/2026-01/Fondo_Formulario.png');
    background-size: contain;        /* consider cover for mobile; change to contain if needed */
    background-repeat: no-repeat;
    background-position: center center;
    /* Optional: adjust padding for mobile if space is tight */
    /* padding: 24px; */
  }

  .tazas-container p span {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    white-space: nowrap;
  }

  
  .tazas-container img {
    display:block;
    margin: 35% auto 0;
    max-width: 90%; /* or try 60% for smaller size */
    height: auto;   /* keeps aspect ratio */
  }
  
  .francois-one-regular {
    font-size: 30px;
    font-weight: 600;
  }

  /* Contenedor de botones: usar gap y permitir wrap */
  .voto-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 10px;
    margin-top: 32px;
  }

  /* Botón: quitar height, márgenes grandes y dar ancho responsivo */
  .voto-btn {
    border: 0;
    border-radius: 20px;
    padding: 0;                /* sin padding para que la imagen mande */
    margin: 0;                 /* NO márgenes de 100px en mobile */
    width: min(45vw, 320px);   /* ancho razonable */
    max-width: 100%;
    background-color: transparent;
    display: block;            /* o display: inline-block; */
  }

  /* Imagen dentro del botón: que escale por ANCHO */
  .voto-btn img {
    display: block;
    width: 100%;
    height: auto;              /* evita el 80% de altura que te encoge */
    margin: 0;
  }
}

@media (max-width: 321) {
  .tazas-container p span {
    position: absolute;
    top: 25%;
  }
}

@media all and (max-width: 1200px) {

    header {
      display: none!important;
    }

}