/* VCTH 11.1.11 · ROUTE + HUB RECOVERY */

/* 1. Hub/catalog geometry: one master canvas for Marga dimensions. */
body.vcth-star-safe.vmon-hub-route.vmon-marga-page:not(.cth-marga-reservation) .md-template,
body.vcth-star-safe:is(.vcth-page--grandes-viajes,.vcth-page--especial-laponia,.vcth-page--caribe-monoparental,.vcth-page--playas,.vcth-page--verano) .md-template{
  display:block!important;
  width:min(calc(100% - 32px),1240px)!important;
  max-width:1240px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  float:none!important;
  box-sizing:border-box!important;
}
body.vcth-star-safe.vmon-hub-route.vmon-marga-page:not(.cth-marga-reservation) .md-template :where(.h-section-grid-container,.h-row-container,.h-row,.container,.container-fluid),
body.vcth-star-safe:is(.vcth-page--grandes-viajes,.vcth-page--especial-laponia,.vcth-page--caribe-monoparental,.vcth-page--playas,.vcth-page--verano) .md-template :where(.h-section-grid-container,.h-row-container,.h-row,.container,.container-fluid){
  max-width:100%!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* 2. Breadcrumbs: hidden in the top chrome and re-mounted before footer by JS. */
body.vcth-star-safe .cth-vctf50-crumbs.vcth-crumbs-top-hidden{display:none!important}
body.vcth-star-safe .vcth-crumbs-footer{
  width:min(calc(100% - 32px),1240px);max-width:1240px;margin:28px auto 16px;padding:12px 0;
  color:#718096;font-size:.78rem;line-height:1.45;border-top:1px solid rgba(8,45,89,.08)
}
body.vcth-star-safe .vcth-crumbs-footer :where(ol,ul){display:flex;flex-wrap:wrap;gap:5px 8px;list-style:none!important;margin:0!important;padding:0!important}
body.vcth-star-safe .vcth-crumbs-footer li{display:inline-flex;align-items:center;gap:8px;margin:0!important;padding:0!important}
body.vcth-star-safe .vcth-crumbs-footer li+li:before{content:'›';color:#a0aec0}
body.vcth-star-safe .vcth-crumbs-footer a{color:inherit;text-decoration:none}

/* 3. Search mobile: actual controls win over legacy d-none/open-menu states. */
@media (max-width:900px){
  body.vcth-star-safe.vmon-search-route #buscador .vcth-mobile-force-visible{
    display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;max-height:none!important;overflow:visible!important
  }
  body.vcth-star-safe.vmon-search-route #buscador .vcth-mobile-filter-panel{
    display:grid!important;grid-template-columns:1fr!important;gap:11px!important;width:100%!important;max-width:100%!important;
    margin:0 0 18px!important;padding:14px!important;background:#fff!important;border:1px solid rgba(8,45,89,.10)!important;
    border-radius:18px!important;box-shadow:0 12px 30px rgba(6,24,46,.07)!important;box-sizing:border-box!important
  }
  body.vcth-star-safe.vmon-search-route #buscador .vcth-mobile-filter-panel :where(.md-control,.select2-container,select,input,button){max-width:100%!important;min-width:0!important}
  body.vcth-star-safe.vmon-search-route #buscador.vcth-mobile-has-filters .open-menu{display:none!important}
}
