/* La Bota · catálogo de rutas 24.60.2. Estilos exclusivos de /rutas.
   No modifica el explorador del mapa, la ficha ni administración. */
.routes-catalog-page .routes-catalog-content{max-width:1460px;padding-top:26px}
.routes-catalog-page [hidden]{display:none!important}
.routes-catalog-page .routes-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.routes-catalog-page .routes-filters.routes-catalog-controls{display:flex;flex-direction:column;gap:12px;padding:14px 16px;border:1px solid #d7d4c7;border-radius:12px;background:#fbfaf4;box-shadow:0 8px 24px rgba(23,32,22,.05)}
.routes-catalog-page .routes-search-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;width:100%}
.routes-catalog-page .routes-search-tools .routes-filter-search{grid-column:auto;min-width:0}
.routes-catalog-page .routes-filter-search input{height:46px;min-height:46px;padding:10px 14px;border:1px solid #c9cbbf;border-radius:9px;background:#fff;color:#17291f;font:500 15px var(--lb-body,Arial,sans-serif)}
.routes-catalog-page .routes-filters-toggle{display:inline-flex;gap:8px;align-items:center;justify-content:center;height:46px;padding:0 15px;border:1px solid #a9b5a3;border-radius:9px;background:#fff;color:#263b2f;font:700 13px var(--lb-body,Arial,sans-serif);cursor:pointer}
.routes-catalog-page .routes-filters-toggle[aria-expanded="true"]{background:#e6ecdf;border-color:#758c75}
.routes-catalog-page .routes-filters-toggle span{font-size:19px;line-height:1}
.routes-catalog-page .routes-advanced-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;width:100%;padding:14px 0 2px;border-top:1px solid #e0ded3}
.routes-catalog-page .routes-quick-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(240px,1.4fr);gap:12px;width:100%}
.routes-catalog-page .routes-quick-row .routes-filter{min-width:0}
.routes-catalog-page .routes-filter label{font-size:10px}
.routes-catalog-page .routes-quick-row select,.routes-catalog-page .routes-advanced-panel select{height:43px;min-height:43px;padding:9px 34px 9px 10px;border-radius:8px;background-color:#fff;font:500 13px var(--lb-body,Arial,sans-serif)}
.routes-catalog-page .routes-advanced-panel .routes-clear{height:43px;min-height:43px;padding:8px 12px;border-radius:8px}
.routes-catalog-page .routes-results-bar{padding:14px 3px 10px;gap:8px}
.routes-catalog-page .routes-results-bar>p{font-size:13px;color:#293e31}
.routes-catalog-page .routes-catalog-views{display:inline-flex;gap:4px;padding:4px;margin:0 0 16px;border:1px solid #d6dccf;border-radius:10px;background:#e8ede4}
.routes-catalog-page .routes-view-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:130px;min-height:40px;padding:8px 16px;border:0;border-radius:7px;background:transparent;color:#394f40;font:700 13px var(--lb-body,Arial,sans-serif);cursor:pointer}
.routes-catalog-page .routes-view-button.is-active{background:#fff;color:#1a3929;box-shadow:0 1px 6px rgba(10,28,20,.12)}
.routes-catalog-page .routes-calendar-panel{width:min(100%,720px);margin:0 auto 35px;padding:22px;border:1px solid #d8d9cd;border-radius:14px;background:#fffdf9;box-shadow:0 10px 24px rgba(23,32,22,.06)}
.routes-catalog-page .lb-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.routes-catalog-page .lb-calendar-heading h3{margin:0;color:#213d2c;font:700 clamp(19px,3vw,26px)/1.1 var(--lb-display,Arial,sans-serif);text-transform:capitalize;text-align:center}
.routes-catalog-page .lb-calendar-arrow{width:40px;height:40px;flex-shrink:0;border:1px solid #cbd3c6;border-radius:8px;background:#f6f8f2;color:#26402d;font:600 27px/1 Arial,sans-serif;cursor:pointer}
.routes-catalog-page .lb-calendar-arrow:hover{background:#e4ebdd}
.routes-catalog-page .lb-calendar-weekdays,.routes-catalog-page .lb-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.routes-catalog-page .lb-calendar-weekdays{margin:0 0 8px}
.routes-catalog-page .lb-calendar-weekdays span{text-align:center;color:#6d786c;font:700 12px var(--lb-body,Arial,sans-serif)}
.routes-catalog-page .lb-calendar-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:57px;border:1px solid transparent;border-radius:9px;color:#576456;background:#f5f5ee;font:700 15px var(--lb-body,Arial,sans-serif)}
.routes-catalog-page button.lb-calendar-day.has-route{border-color:#b7cbb6;background:#e8f0e5;color:#25462e;cursor:pointer}
.routes-catalog-page button.lb-calendar-day.has-route:hover{background:#d5e6d1;border-color:#758f77}
.routes-catalog-page button.lb-calendar-day.is-selected{background:#1e4c33;border-color:#1e4c33;color:#fff}
.routes-catalog-page .lb-calendar-day i{width:6px;height:6px;border-radius:100%;background:#448653}
.routes-catalog-page .lb-calendar-day.is-selected i{background:#fff}
.routes-catalog-page .lb-calendar-entries{margin-top:18px;padding-top:16px;border-top:1px solid #e2e3d9}
.routes-catalog-page .lb-calendar-entries p{margin:0;color:#687468;font-size:14px}
.routes-catalog-page .lb-calendar-entries h4{margin:0 0 12px;font:700 16px var(--lb-body,Arial,sans-serif);color:#253e2d}
.routes-catalog-page .lb-calendar-entries ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.routes-catalog-page .lb-calendar-entries li a,.routes-catalog-page .lb-calendar-entries li>span{display:flex;align-items:center;gap:13px;min-width:0;padding:13px 15px;background:#f2f4ed;border-radius:8px;text-decoration:none;color:#213b2b}
.routes-catalog-page .lb-calendar-entries li a:hover{background:#e7f0df}
.routes-catalog-page .lb-calendar-entry-date{font-size:11px;color:#667b64;white-space:nowrap}
.routes-catalog-page .lb-calendar-entries li strong{flex:1;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
/* El distintivo se superpone a la foto sin taparla ni animarse. */
.routes-catalog-page .routes-catalog-media{position:relative}
.routes-catalog-page .route-new-ribbon,.routes-catalog-page .route-upcoming-ribbon{top:12px;left:12px;right:auto;bottom:auto;max-width:calc(100% - 24px);min-height:0;padding:8px 11px;border:0;border-radius:6px;background:#b72a1d;box-shadow:0 2px 8px rgba(0,0,0,.24);color:#fff;font:800 11px/1.15 var(--lb-body,Arial,sans-serif);letter-spacing:.08em;text-shadow:none;white-space:normal;animation:none;transform:none}
.routes-catalog-page .route-upcoming-ribbon{background:#6c592b}
@media(max-width:760px){
  /* La fotografía panorámica de la cabecera no debe impedir encontrar rutas. */
  .routes-catalog-page .routes-catalog-hero.public-panorama-hero{display:block!important;min-height:0!important;height:auto!important;background:none!important;color:#203c2b}
  .routes-catalog-page .routes-catalog-hero.public-panorama-hero::before,
  .routes-catalog-page .routes-catalog-hero.public-panorama-hero::after{display:none!important}
  .routes-catalog-page .routes-catalog-hero.public-panorama-hero .routes-catalog-inner{display:block!important;width:calc(100% - 28px)!important;min-height:0!important;max-width:none!important;margin:0 auto!important;padding:18px 0 0!important}
  .routes-catalog-page .routes-catalog-hero .routes-kicker,
  .routes-catalog-page .routes-catalog-hero p:not(.routes-kicker),
  .routes-catalog-page .routes-catalog-hero .routes-section-link{display:none!important}
  .routes-catalog-page .routes-catalog-hero h1{margin:0!important;color:#203c2b!important;font:700 28px/1.1 var(--lb-display,Arial,sans-serif)!important}
  .routes-catalog-page .routes-catalog-content{width:calc(100% - 28px);padding-top:12px;padding-bottom:42px}
  .routes-catalog-page .routes-filters.routes-catalog-controls{padding:12px;gap:10px}
  .routes-catalog-page .routes-advanced-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .routes-catalog-page .routes-advanced-panel .routes-clear{grid-column:1/-1}
  .routes-catalog-page .routes-quick-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .routes-catalog-page .routes-view-button{min-width:112px}
  .routes-catalog-page .routes-catalog-views{margin-bottom:14px}
}
@media(max-width:420px){
  .routes-catalog-page .routes-search-tools{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .routes-catalog-page .routes-filters-toggle{padding:0 10px;font-size:12px;gap:4px}
  .routes-catalog-page .routes-filter-search input{font-size:14px;padding-inline:10px}
  .routes-catalog-page .routes-quick-row{grid-template-columns:1fr}
  .routes-catalog-page .routes-advanced-panel{grid-template-columns:1fr}
  .routes-catalog-page .routes-calendar-panel{padding:12px}
  .routes-catalog-page .lb-calendar-day{min-height:43px;font-size:13px}
  .routes-catalog-page .lb-calendar-weekdays,.routes-catalog-page .lb-calendar-days{gap:3px}
  .routes-catalog-page .lb-calendar-entries li a,.routes-catalog-page .lb-calendar-entries li>span{gap:7px;padding:10px}
}
@media(prefers-reduced-motion:reduce){.routes-catalog-page .routes-catalog-photo{transition:none}}

/* v24.60.2: selector primero, búsqueda predictiva compacta y filtros plegados. */
.routes-catalog-page .routes-filters.routes-catalog-controls{gap:12px;padding:14px 16px}
.routes-catalog-page .routes-filter-jump{width:100%;min-width:0}
.routes-catalog-page .routes-filter-jump label,
.routes-catalog-page .routes-filter-search label{display:block;margin:0 0 5px;color:#5a6e51;font:800 11px/1.3 var(--lb-body,Arial,sans-serif);letter-spacing:.08em}
.routes-catalog-page .routes-filter-jump select{width:100%;max-width:100%;min-height:46px;padding:9px 38px 9px 12px;border:1px solid #bbc8b8;border-radius:9px;background:#fff;color:#213b2c;font:600 14px var(--lb-body,Arial,sans-serif);text-overflow:ellipsis}
.routes-catalog-page .routes-search-tools{align-items:end}
.routes-catalog-page .routes-filter-search{position:relative;min-width:0}
.routes-catalog-page .routes-search-field{position:relative}
.routes-catalog-page .routes-filter-search input{display:block;width:100%;outline-offset:2px}
.routes-catalog-page .routes-search-help{display:block;margin:4px 0 0;color:#6d786a;font-size:11px;line-height:1.3}
.routes-catalog-page .routes-filters-toggle{margin-bottom:18px}
.routes-catalog-page .routes-advanced-panel{grid-template-columns:repeat(4,minmax(0,1fr)) auto}
.routes-catalog-page .routes-advanced-panel .routes-filter{min-width:0}
.routes-catalog-page .routes-advanced-panel select{width:100%}
.routes-catalog-page .routes-suggestions{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:25;max-height:300px;overflow:auto;padding:5px;border:1px solid #b9c9b7;border-radius:10px;background:#fff;box-shadow:0 14px 28px rgba(20,35,26,.19)}
.routes-catalog-page .routes-suggestion-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border-radius:7px;text-decoration:none;color:#243e2d;font-size:13px;line-height:1.3}
.routes-catalog-page .routes-suggestion-link:hover,.routes-catalog-page .routes-suggestion-link:focus-visible{background:#eaf1e7;outline:2px solid #8da98c;outline-offset:-2px}
.routes-catalog-page .routes-suggestion-title{min-width:0;overflow-wrap:anywhere;font-weight:600}
.routes-catalog-page .routes-suggestion-link small{flex-shrink:0;color:#697968;font-size:11px}
.routes-catalog-page .routes-suggestion-more,.routes-catalog-page .routes-suggestion-empty{margin:0;padding:12px;color:#5f6f62;font-size:12px;line-height:1.45}
.routes-catalog-page .routes-results-bar{padding:8px 3px 6px}
.routes-catalog-page .routes-catalog-views{margin-bottom:12px}
@media(max-width:760px){
  .routes-catalog-page .routes-filters.routes-catalog-controls{padding:10px 11px;gap:9px}
  .routes-catalog-page .routes-advanced-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .routes-catalog-page .routes-advanced-panel .routes-clear{grid-column:1/-1}
  .routes-catalog-page .routes-filter-search input,.routes-catalog-page .routes-filter-jump select{min-height:43px;height:43px;font-size:14px}
  .routes-catalog-page .routes-filters-toggle{height:43px;margin-bottom:17px}
  .routes-catalog-page .routes-search-help{font-size:10px}
}
@media(max-width:420px){
  .routes-catalog-page .routes-advanced-panel{grid-template-columns:1fr}
  .routes-catalog-page .routes-suggestion-link{align-items:flex-start;flex-direction:column;gap:4px}
}

@media(max-width:420px){.routes-catalog-page .routes-search-help{display:none}.routes-catalog-page .routes-filters-toggle{margin-bottom:0}}
