/* ViaFERT — logotipo en la confirmación de reserva */
#booking-result-view .booking-item.booking-confirmed::before {
  content: "";
  display: block;
  width: min(520px, 90%);
  height: 220px;
  margin: 0 auto 24px;
  background-image: url("https://viafert.com/wp-content/uploads/2026/08/viafert-logo-restored.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 600px) {
  #booking-result-view .booking-item.booking-confirmed::before {
    width: 92%;
    height: 140px;
    margin-bottom: 18px;
  }
}

/* ViaFERT: mostrar completos los logos de los cinco servicios */
#sb_service_step_container .service-item .preloader a[href^="#book/service/5/"] .user-img,
#sb_service_step_container .service-item .preloader a[href^="#book/service/6/"] .user-img,
#sb_service_step_container .service-item .preloader a[href^="#book/service/7/"] .user-img,
#sb_service_step_container .service-item .preloader a[href^="#book/service/8/"] .user-img,
#sb_service_step_container .service-item .preloader a[href^="#book/service/9/"] .user-img {
  object-fit: contain !important;
  object-position: center !important;
  background-color: #fff;
}

/* ViaFERT: composición y tipografía para escritorio y móvil */
#main-buttons .company-name.company-logo-and-name {
  text-align: center !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
#steps-nav .step_info_item .content .title-small {
  text-align: center !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  text-transform: none !important;
}
#sb_service_step_container .service-item .excerpt-info .tab-pd .content > .cap.short[role="heading"] {
  text-align: center !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}
#sb_service_step_container .service-item .bar-service > .time {
  width: 100%;
  text-align: center !important;
}
#sb_service_step_container .service-item .bar-service > .time > span {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
@media (max-width: 767px) {
  #main-buttons {
    background-image: url("https://viafert.simplybook.me/uploads/viafert/image_files/background/c02dcb960be5a8f711275f9f72d27aa2.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  #main-buttons .company-name.company-logo-and-name { font-size: 26px !important; }
  #steps-nav .step_info_item .content .title-small { font-size: 14px !important; }
}
@media (max-width: 360px) {
  #steps-nav .step_info_item .content .title-small { font-size: 13px !important; }
}


/* ViaFERT: sedes y contacto como enlaces nativos en el banner. */
#sb-main-container { --vf-banner-height:360px; --vf-map-top:212px; --vf-title-top:82px; }
#header { position:relative !important; }
#header .col-xs-4:has(#sb_menu),
#header .nav-wrapper:not(.active) #sb_menu { position:static !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])) {
 position:absolute !important; top:calc(100% + var(--vf-map-top)) !important;
 width:132px !important; height:50px !important; margin:0 !important; padding:0 !important;
 display:block !important; z-index:4;
}
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])) > a {
 display:flex !important; align-items:center; justify-content:center;
 box-sizing:border-box; width:100%; min-height:50px; padding:12px 16px !important;
 border:1px solid transparent; border-radius:3px;
 background:#79769d !important; color:#f5fcff !important;
 font-size:16px !important; line-height:24px !important; font-weight:400;
 text-align:center; text-decoration:none; text-transform:none; pointer-events:auto;
}
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"]) { left:calc(50% - 330px) !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"]) { left:calc(50% - 186px) !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]), #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) { width:180px !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]) { left:calc(50% - 42px) !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) { left:calc(50% + 150px) !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]) > a, #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) > a {
 border-radius:999px !important; border:2px solid #12847e !important;
 font-weight:700 !important; padding:10px 12px !important;
}
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]) > a {
 background:#12847e !important; color:#ffffff !important;
 box-shadow:0 10px 24px rgba(18,132,126,.16);
}
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) > a { background:#ffffff !important; color:#12847e !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])) > a:hover { filter:brightness(1.06); }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])) > a:focus-visible { outline:2px solid #ffffff; outline-offset:3px; }
#main-buttons { height:var(--vf-banner-height) !important; }
#main-buttons > .container-fluid.column { padding:0 !important; max-width:none !important; width:100% !important; }
#main-buttons .wrapper { height:var(--vf-banner-height) !important; width:100% !important; }
#main-buttons .inner { position:relative !important; display:block !important; height:var(--vf-banner-height) !important; width:100% !important; }
#main-buttons .company-name.company-logo-and-name {
 position:absolute; top:var(--vf-title-top); left:50%; transform:translateX(-50%);
 width:calc(100% - 32px); max-width:840px; margin:0 !important; padding:0 !important; text-wrap:balance;
}
#sb-main-container:has(#sb_menu a[href="https://viafert.com/viafert-contacto.vcf"]):has(#sb_menu a[href="https://wa.me/16674255959"]) #main-buttons .bar { display:none !important; }
#header .nav-wrapper:not(.active) #sb_appended_menu_item:has(a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])),
#header .nav-wrapper:not(.active) #sb_appended_child_menu:has(a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])) {
 display:contents !important; position:static !important; visibility:visible !important; opacity:1 !important; transform:none !important;
}
#header .nav-wrapper:not(.active) #sb_appended_menu_item:has(a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])) > a { display:none !important; }
@media (max-width:1199px) {
 #sb-main-container { --vf-map-top:224px; --vf-title-top:44px; }
 #header .nav-wrapper:not(.active) {
  display:block !important; position:static !important; width:0 !important; height:0 !important;
  margin:0 !important; padding:0 !important; background:none !important; box-shadow:none !important;
  visibility:visible !important; opacity:1 !important; pointer-events:none;
 }
 #header .nav-wrapper:not(.active) #sb_menu_list_items_container { width:0 !important; height:0 !important; margin:0 !important; padding:0 !important; }
 #header .nav-wrapper:not(.active) #sb_menu li.menu-item:not(:has(> a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"]))) { display:none !important; }
 #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"]) { left:calc(50% - 138px) !important; }
 #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"]) { left:calc(50% + 6px) !important; }
 #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]), #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) { top:calc(100% + 288px) !important; width:min(148px,calc((100% - 36px)/2)) !important; }
 #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]) { left:calc(50% - 6px) !important; transform:translateX(-100%); }
 #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) { left:calc(50% + 6px) !important; }
 #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]) > a, #header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) > a { font-size:14px !important; line-height:18px !important; padding:6px 8px !important; white-space:normal; }
}
/* ViaFERT: eliminar la altura reservada para descripciones vacías. */
#sb_service_step_container .service-item .excerpt-info .tab-pd > .content > .txt.short {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 12px !important;
}
#sb_service_step_container .service-item .excerpt-info .txt.short > p {
  margin: 0;
}
#sb_service_step_container .service-item .excerpt-info .txt.short > p > br:only-child {
  display: none;
}
#sb_service_step_container .service-item .excerpt-info .tab-pd > .content > .cap.short {
  height: auto !important;
  min-height: 2.6em;
  margin-bottom: 0 !important;
}
@media (max-width: 767px) {
  #sb_service_step_container .service-item .excerpt-info .tab-pd > .content > .cap.short {
    min-height: 0;
  }
}

/* ViaFERT: botones cápsula coordinados en lavanda y verde. */
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])) > a { border-radius:999px !important; border-width:2px !important; font-weight:600 !important; opacity:1 !important; text-shadow:none !important; box-shadow:0 5px 14px rgba(43,44,61,.08) !important; transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"]) > a { background:#746875 !important; border-color:#746875 !important; color:#ffffff !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"]) > a { background:#fbf8f9 !important; border-color:#746875 !important; color:#746875 !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]) > a { background:#466f6b !important; border-color:#466f6b !important; color:#ffffff !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) > a { background:#f8fbfa !important; border-color:#466f6b !important; color:#466f6b !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a:is([href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"],[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"],[href="https://viafert.com/viafert-contacto.vcf"],[href="https://wa.me/16674255959"])) > a:hover { filter:none !important; opacity:1 !important; box-shadow:0 7px 18px rgba(43,44,61,.13) !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://maps.app.goo.gl/7st4fwcc9YK4w9AT9"]) > a:hover { background:#655966 !important; border-color:#655966 !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://maps.app.goo.gl/EnSq96bXYL9aq1f87"]) > a:hover { background:#f1ebf0 !important; border-color:#655966 !important; color:#655966 !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://viafert.com/viafert-contacto.vcf"]) > a:hover { background:#365d59 !important; border-color:#365d59 !important; }
#header .nav-wrapper:not(.active) #sb_menu li.menu-item:has(> a[href="https://wa.me/16674255959"]) > a:hover { background:#eef4f2 !important; border-color:#365d59 !important; color:#365d59 !important; }
