/*layout*/
.step{
    padding-top:4rem;
}
.step-title{
    text-transform: uppercase;
    font-size:32px !important;
}
.step-text{
    text-transform: uppercase;
    font-size:16px;
    line-height: 1.1;
    margin-bottom:4rem !important;
}
.step-text.babyshower-text{
    margin-bottom:2rem !important;
}
/*error log*/

#form-reserva .error-log,
#form-actividad .error-log{
    font-size:14px;
    color:red;
}

/*selector de servicios*/
.servicios-selector {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.servicios-selector input[type="radio"] {
    display: none;
}

.servicios-selector label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #222;
    border-radius: 4px;
    cursor: pointer;
    color: #222;
    transition: all 0.2s ease-in-out;
    font-size: 0.9rem;
    text-align: center;
    min-width: 150px;
    text-transform: uppercase;
    width:144px;
    height:64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicios-selector input[type="radio"]:checked + label,
.servicios-selector input[type="radio"]:hover + label {
    background-color: #0e1b10;
    color: #fff;
    border-color: #0e1b10;
}
/* seleccion de menu */
.datos-servicio{
    display:flex;
    justify-content: space-between;
    padding:2rem 0 4rem 0;
    align-items: center;
}
.servicio-contenedor-precio{
    display:flex;
    gap:0;
    overflow:hidden;
}
.servicio-contenedor-precio span{
    padding: 0.5rem 1rem;
    border: 1px solid #222;
    border-radius: 4px 0 0 4px;
    font-size:16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.servicio-contenedor-precio #span-precio{
    border-radius: 0 4px 4px 0;
    border-left:none;
    font-family:"Lora";
    font-weight: bold;
    font-size:24px;
}

.servicio-minimo-seleccion{
    text-transform: uppercase;
    background-image:url(../images/garabato.svg);
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center top;
    width:300px;
    height:100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    font-size:16px;
}

#contenedor-menu-dinamico{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 66px;
}

.bloque-categoria{
    border-left:1px solid #111D11;
    padding-left:25px;
}



.bloque-categoria h4{
    font-family:"Lora";
    font-style: italic;
    font-weight: 500;
    text-transform: uppercase;
    font-size:20px;
    margin-bottom:4rem;
}

.bloque-categoria label{
    font-family:"Lora";
    font-weight: 800;
    font-size:16px;
    line-height: 1.2;
    margin-bottom:40px;
    /*display: flex;
    align-items: flex-start;*/
    gap: 10px;
}
/*
.bloque-categoria input[type=checkbox]{
    width:20px;
    height:20px;
    flex-shrink: 0;
}*/
#contenedor-menu-dinamico:not(.with-options) .bloque-categoria input[type="checkbox"] {
  display: none;
}

#contenedor-menu-dinamico:not(.with-options) .bloque-categoria label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #111D11;
  border-radius: 4px;
  margin-right: 10px;
  background-color: white;
}

#contenedor-menu-dinamico:not(.with-options) .bloque-categoria .categoria-options-container >div input[type="checkbox"]:checked + label::before {
  background-color: #111D11; 
  border-color: #111D11; 
  content: '✔';
  color: white;
  text-align: center;
  line-height: 18px;
  font-size: 14px;
  font-weight: bold;
}

#contenedor-menu-dinamico:not(.with-options) .bloque-categoria input[type="checkbox"]:disabled + label {
  color: #111D11;
  cursor: not-allowed;
}

#contenedor-menu-dinamico:not(.with-options) .bloque-categoria input[type="checkbox"]:disabled + label::before {
  background-color: transparent;
  border-color: #111D11;
}
#contenedor-menu-dinamico:not(.with-options) .bloque-categoria input[type="checkbox"]:disabled:checked + label::before {
  background-color: #111D11;
  border-color: #111D11;
}

#contenedor-menu-dinamico:not(.with-options) .categoria-options-container > div{
    display:flex;
    gap:10px;
}
#contenedor-menu-dinamico.with-options .categoria-options-container > div{
    flex:1;
}

#contenedor-menu-dinamico.with-options{
    display: block;
}

#contenedor-menu-dinamico.with-options .bloque-categoria{
    border:none;
}

#contenedor-menu-dinamico.with-options .categoria-options-container{
    display:flex;
    justify-content: space-between;
    gap:24px;
}
#contenedor-menu-dinamico.with-options .detalle-html{
    background-color: #EFEAE5;
    padding:39px 24px;
    min-height:400px;
}

#contenedor-menu-dinamico.with-options input[type="checkbox"] {
    display: none;
}

#contenedor-menu-dinamico.with-options label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #222;
    border-radius: 4px;
    cursor: pointer;
    color: #222;
    transition: all 0.2s ease-in-out;
    font-size: 0.9rem;
    text-align: center;
    min-width: 160px;
    text-transform: uppercase;
    width:auto;
    height:64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contenedor-menu-dinamico.with-options input[type="checkbox"]:checked + label,
#contenedor-menu-dinamico.with-options input[type="checkbox"]:hover + label {
    background-color: #0e1b10;
    color: #fff;
    border-color: #0e1b10;
}


/*paso 3. pedido de confirmacion */
.step3{
    padding-bottom:4rem;
    border-bottom:1px solid #111D11;
}
.step3 .step-title {
  display: flex;
  align-items: center; 
  text-align: center;
}

.step3 .step-title::before,
.step3 .step-title::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #111D11;
}

.step3 .step-title::before {
  margin-right: 20px;
}

.step3 .step-title::after {
  margin-left: 20px;
}
.step3 .step-text{
    text-align: center;
    padding: 0 20%; 
}
.step3 .step-text span{
    display:block;
    margin-bottom:1rem;
}
.step3 .btn-container{
    display:flex;
    align-items: stretch;
    justify-content: center;
    gap:20px;
}
.step3 button, button.btn-confirmar-baby-shower{
    background-color:transparent;
    text-transform: uppercase;
    width:182px;
    height:64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border:1px solid #111D11;
    border-radius:4px;
    color: #111D11;
}
.step3 button:hover, button.btn-confirmar-baby-shower:hover,
.step3 button:active, button.btn-confirmar-baby-shower:active,
.step3 button:focus, button.btn-confirmar-baby-shower:focus{
    background-color: #0e1b10;
    color: #fff;
    border-color: #0e1b10;
}
.btn-confirmar-baby-shower{
    margin-top:2rem;
    margin-bottom:4rem;
}
/*step 4*/
.step4 .step-text{
    width:60%;
}
.step4 .flex-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*sector selector*/
.sector-selector {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.sector-selector input[type="radio"] {
    display: none;
}

.sector-selector label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #222;
    border-radius: 4px;
    cursor: pointer;
    color: #222;
    transition: all 0.2s ease-in-out;
    font-size: 0.9rem;
    text-align: center;
    min-width: 160px;
    text-transform: uppercase;
    width:144px;
    height:64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-selector input[type="radio"]:checked + label,
.sector-selector input[type="radio"]:hover + label {
    background-color: #0e1b10;
    color: #fff;
    border-color: #0e1b10;
}
.sector-item{
    display:flex;
    flex-direction: column;
    justify-content: center;
    gap:7px;
}
.sector-item span{
    text-transform: uppercase;
    text-align: center;
}

/*sector 5 - calendario*/

.step5 .flex-container{
    display:flex;
    flex-direction: column;
    align-items: flex-end;
}
.step5 .step-text {
    width: 90%;
    min-height:53px;
}
.step5 .flex-container .flex-item{
    display: flex;
    gap:10px;
    align-items: center;
    text-transform: uppercase;
}
.step5 .flex-container .square{
    width:14px;
    height:14px;
    background-color:#B9924F;
}
.step5 .flex-container .square-ocup{
    background-color:#111D11;
}

 #calendario-inline {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
    max-width: 1200px;

  }

 #calendario-inline .flatpickr-calendar {
      width: 100%;
      background-color: #efeae5;
    }

 #calendario-inline .flatpickr-rContainer,
 #calendario-inline .flatpickr-days {
    width: 100%;
}

 #calendario-inline .dayContainer {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 1200px !important;
}

 #calendario-inline .flatpickr-day,
 #calendario-inline .flatpickr-day:hover {
    flex: 0 0 calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    height: 64px !important;
    border: 1px solid;
    border-radius: 0;
    box-sizing: border-box;
    text-align: center;
    line-height: 64px;  
    font-size: 14px;
    color: #111d11;
    border-color: #bdb8b3;
}

 #calendario-inline span.flatpickr-day{
    background-color:#B9924F;
}

 #calendario-inline span.flatpickr-day.prevMonthDay,
 #calendario-inline span.flatpickr-day.nextMonthDay,
 #calendario-inline span.flatpickr-day.flatpickr-disabled {
    background-color: #EFEAE5;
}

 #calendario-inline span.flatpickr-day.selected {
    background-color: #111d11;
    color: #bdb8b3;
}

.step5 .calendar-message{
    text-transform: uppercase;
    text-align: right;
    width:100%;
    margin-right: 0;
    line-height: 1.2;
    display:inline-block;
}

.step5 .two-columns-container{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;

}
.step5 .two-columns-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  position: relative;
  margin-top:80px;
  margin-bottom:135px;
}
.step5 .two-columns-container::before {
  content: "";
  position: absolute; 
  top: 0;
  bottom: 0;
  left: 50%; 
  width: 1px; 
  background-color: #cccccc; 
  transform: translateX(-50%); 
}

.step5 .hour-select-container{
    display: flex;
    gap:10px;
}
.step5 .hour-select-container .select-hour,
.step5 input{
    width:144px;
    height:64px;
    border:1px solid #111D11 !important;
    border-radius:4px !important;
}

/*input submit*/

#form-reserva input[type="submit"],
#form-actividad input[type="submit"]{
    background-color:#334B33 !important;
    width:100%;
    border:1px solid #111D11 !important;
    border-radius:4px !important;
    height:64px;
    color:#F9F4EF;
    text-transform: uppercase;
}
#form-reserva input[type="submit"]:disabled,
#form-actividad input[type="submit"]:disabled{
    background-color:grey;
}

/*seccion especial baby shower*/

.servicio-opcion{
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap:10px;
}
.servicio-opcion label {
    font-family: "Lora";
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
}
.servicio-opcion input[type=checkbox] {
    width: 20px;
    height: 20px;
}

/* estilos checkbox */ 
.servicio-opcion input[type="checkbox"] {
  display: none;
}

.servicio-opcion label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #111D11;
  border-radius: 4px;
  margin-right: 10px;
  background-color: white;
}

.servicio-opcion input[type="checkbox"]:checked + label::before {
  background-color: #111D11; 
  border-color: #111D11; 
  content: '✔';
  color: white;
  text-align: center;
  line-height: 18px;
  font-size: 14px;
  font-weight: bold;
}

.servicio-opcion input[type="checkbox"]:disabled + label {
  color: #111D11;
  cursor: not-allowed;
}
.servicio-opcion input[type="checkbox"]:disabled + label::before {
  background-color: #111D11;
  border-color: #111D11;
}


@media screen and (max-width:768px){
    .step-title{
        font-size:24px !important;
    }
    .servicios-selector {
        flex-wrap:wrap;
        align-items: center;
    }
    .datos-servicio {
        flex-direction: column;
        gap: 20px;
    }
    #contenedor-menu-dinamico {
        grid-template-columns: repeat(1, 1fr);
    }
    .step4 .flex-container {
        flex-direction: column;
    }
    .step4 .step-text {
        width: 100%;
    }
    .sector-selector {
        flex-direction: column;
        align-items: center;
    }
    .step5 .two-columns-container {
        display: flex;
        flex-direction: column;
    }
    .step5 .two-columns-container::before{
        display: none;
    }

    .servicios-selector label {
        width: calc(45vw - 0.375rem);
    }
}