@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Tipografía del wizard. */
.ifc-checkout-progress,
.ifc-checkout-progress *,
.ifc-wizard-step,
.ifc-wizard-step *{
  font-family:'Montserrat', sans-serif !important;
}

/* Progreso de compra. */
.mfn-checkout-steps{
  display:none!important;
}

.ifc-checkout-progress{
  max-width:1200px;
  margin:28px auto 38px;
  padding:0 18px;
  box-sizing:border-box;
}
.ifc-flow-steps{
  list-style:none!important;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0!important;
  padding:0!important;
}
.ifc-flow-steps--5{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.ifc-flow-step{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  min-width:0;
  color:#697386;
  font-size:15px;
  font-weight:500;
  text-align:center;
}
.ifc-flow-step:not(:last-child)::after{
  content:"";
  position:absolute;
  z-index:0;
  top:50%;
  left:calc(50% + 58px);
  right:calc(-50% + 58px);
  height:1px;
  background:#dfe4ea;
  transform:translateY(-50%);
}
.ifc-flow-step__marker{
  position:relative;
  z-index:1;
  display:inline-flex;
  width:40px;
  height:40px;
  flex:0 0 40px;
  align-items:center;
  justify-content:center;
  border:1px solid #d7dde5;
  border-radius:50%;
  background:#fff;
  color:#53606f;
  font-weight:700;
  box-sizing:border-box;
}
.ifc-flow-step__label{
  position:relative;
  z-index:1;
  background:transparent;
  padding-right:9px;
  white-space:normal;
}
.ifc-flow-step--active{
  color:#0f315c;
  font-weight:700;
}
.ifc-flow-step--active .ifc-flow-step__marker,
.ifc-flow-step--complete .ifc-flow-step__marker{
  border-color:#168fd2;
  background:#168fd2;
  color:#fff;
}
.ifc-flow-step--complete{
  color:#465464;
}
.ifc-flow-step--complete:not(:last-child)::after{
  background:#168fd2;
}

@media(max-width:820px){
  .ifc-checkout-progress{
    margin:22px auto 30px;
    padding:0 12px;
    overflow-x:auto;
  }
  .ifc-flow-steps{
    min-width:620px;
  }
  .ifc-flow-step{
    gap:8px;
    font-size:13px;
  }
  .ifc-flow-step__marker{
    width:34px;
    height:34px;
    flex-basis:34px;
  }
  .ifc-flow-step:not(:last-child)::after{
    left:calc(50% + 48px);
    right:calc(-50% + 48px);
  }
}

/* Formularios del wizard. */
.ifc-wizard-step{
  max-width:1200px;
  margin:0 auto 60px;
  padding:26px 28px;
  background:#fff;
  border:1px solid #dfe4ea;
  border-radius:16px;
  box-shadow:0 8px 28px rgba(15,23,42,.07);
  box-sizing:border-box;
  color:#1b2430;
}
.ifc-wizard-step [hidden]{display:none!important}
.ifc-wizard-step__layout{
  display:grid;
  grid-template-columns:minmax(0,420px) minmax(0,1fr);
  gap:32px;
  align-items:start;
}
.ifc-wizard-info{
  padding:22px 24px;
  border:1px solid #dfe4ea;
  border-radius:12px;
  background:#f8fafc;
  color:#334155;
}
.ifc-wizard-info h2{
  margin:0 0 12px;
  font-size:18px;
  color:#172033;
}
.ifc-wizard-info ul{
  margin:0;
  padding-left:20px;
  line-height:1.7;
}
.ifc-wizard-info li{margin:0 0 6px}
.ifc-wizard-info__lodging{
  margin:16px 0 0;
  padding:12px 14px;
  border-radius:8px;
  background:#fff8e7;
  border:1px solid #f0d48c;
  font-weight:600;
  color:#5c4a1d;
}
@media(max-width:900px){
  .ifc-wizard-step__layout{grid-template-columns:1fr;}
}

.ifc-wizard-errors{
  list-style:none;
  margin:0 0 22px;
  padding:14px 18px;
  background:#fef2f2;
  border:1px solid #fecaca;
  border-radius:10px;
  color:#b42318;
}
.ifc-wizard-errors li{margin:4px 0}

.ifc-wizard-step fieldset{
  border:0;
  padding:0;
  margin:0 0 24px;
}
.ifc-wizard-step fieldset.ifc-room-card{
  margin:0 0 20px;
  padding:18px 20px 6px;
  border:1px solid #dfe4ea;
  border-radius:12px;
  background:#f8fafc;
}
.ifc-wizard-step fieldset.ifc-room-card>legend{
  padding:0 8px;
  margin-left:-8px;
}
.ifc-wizard-step .ifc-room-nights{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 20px;
  margin:0 0 18px;
}
.ifc-wizard-step .ifc-room-nights>legend{
  flex:0 0 100%;
  margin:0 0 4px;
}
.ifc-wizard-step .ifc-room-nights label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-weight:500;
}
.ifc-wizard-step fieldset.ifc-attendee-card{
  margin:0 0 18px;
  padding:18px 20px 6px;
  border:1px solid #dfe4ea;
  border-radius:12px;
  background:#f8fafc;
}
.ifc-wizard-step fieldset.ifc-attendee-card>legend{
  padding:0 8px;
  margin-left:-8px;
}
.ifc-attendee-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:14px 18px;
}
.ifc-wizard-step .ifc-attendee-grid label{
  margin:0;
}
.ifc-wizard-step .ifc-attendee-grid input[type="text"],
.ifc-wizard-step .ifc-attendee-grid input[type="email"],
.ifc-wizard-step .ifc-attendee-grid select{
  max-width:none;
}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--type select{
  font-size:14px;
}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--type{grid-column:span 2;}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--name{grid-column:span 4;}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--surname{grid-column:span 6;}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--dni{grid-column:span 3;}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--email{grid-column:span 9;}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--phone{grid-column:span 3;}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--company{grid-column:span 9;}
.ifc-wizard-step .ifc-attendee-card--companion .ifc-attendee-grid .ifc-field--dni{grid-column:1 / -1;}
.ifc-wizard-step .ifc-attendee-grid .ifc-field--type select{
  background:#eef6ff;
  border-color:#b9d7f5;
}
.ifc-wizard-step .ifc-attendee-grid .ifc-dinner-option{
  grid-column:1 / -1;
  display:block;
  margin:22px 0 0;
  padding:16px 18px;
  border-radius:10px;
  background:#fff8e7;
  border:1px solid #f0d48c;
  cursor:default;
}
@media(max-width:900px){
  .ifc-attendee-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--type,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--name,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--surname,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--dni,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--phone{grid-column:span 2;}
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--email,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--company{grid-column:span 4;}
  .ifc-wizard-step .ifc-attendee-grid .ifc-dinner-option{grid-column:1 / -1;}
}
@media(max-width:600px){
  .ifc-attendee-grid{grid-template-columns:1fr;}
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--type,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--name,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--surname,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--dni,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--company,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--email,
  .ifc-wizard-step .ifc-attendee-grid .ifc-field--phone,
  .ifc-wizard-step .ifc-attendee-grid .ifc-dinner-option{grid-column:1 / -1;}
}
.ifc-wizard-step legend{
  display:block;
  margin:0 0 12px;
  font-size:16px;
  font-weight:700;
  color:#172033;
}
.ifc-wizard-step label{
  display:block;
  margin:0 0 14px;
}
.ifc-wizard-step label>span{
  display:block;
  font-weight:600;
  margin-bottom:7px;
  color:#334155;
}
.ifc-wizard-step input[type="number"],
.ifc-wizard-step input[type="text"],
.ifc-wizard-step input[type="email"],
.ifc-wizard-step input[type="tel"],
.ifc-wizard-step select{
  display:block;
  width:100%;
  max-width:360px;
  min-height:48px;
  padding:10px 12px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#fff;
  box-sizing:border-box;
  color:#1b2430;
}
.ifc-wizard-step input:focus,
.ifc-wizard-step select:focus{
  border-color:#0f315c;
  outline:2px solid rgba(15,49,92,.12);
}
.ifc-wizard-step fieldset fieldset label{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  font-weight:400;
}
.ifc-wizard-step fieldset fieldset label>span{
  margin:0;
}
.ifc-wizard-step input[type="radio"],
.ifc-wizard-step input[type="checkbox"]{
  width:auto;
  min-height:auto;
  accent-color:#168fd2;
}

.ifc-wizard-step button[type="submit"]{
  min-height:48px;
  padding:0 26px;
  border:0;
  border-radius:8px;
  background:#0f315c;
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}
.ifc-wizard-step button[type="submit"]:hover{
  background:#168fd2;
}

@media(max-width:700px){
  .ifc-wizard-step{
    padding:20px 18px;
    margin-bottom:40px;
    border-radius:12px;
  }
  .ifc-wizard-step input[type="number"],
  .ifc-wizard-step input[type="text"],
  .ifc-wizard-step input[type="email"],
  .ifc-wizard-step input[type="tel"],
  .ifc-wizard-step select{
    max-width:none;
  }
  .ifc-wizard-step button[type="submit"]{
    width:100%;
    box-sizing:border-box;
  }
}
