/* Browse complete routes; flight details belong to the planner. */
.routes-page{background:var(--surface)}
.routes-page .routes-main{padding-block:43px 64px}
.routes-intro{margin-bottom:29px}
.routes-intro h1{font-size:clamp(34px,3.6vw,46px);font-weight:550;line-height:1.12;letter-spacing:-.045em}
.routes-intro p{font-size:16px;line-height:1.5;color:var(--muted);margin-top:11px}
.route-browse-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}
.origin-filters{display:flex;gap:7px;flex-wrap:wrap}
.origin-filters button{min-height:44px;padding:10px 17px;border:1px solid #d6dce2;border-radius:24px;background:transparent;color:#465564;font-size:15px;font-weight:450;line-height:1.4;white-space:nowrap}
.origin-filters button:hover{background:#e9edf1}
.origin-filters button[aria-pressed=true]{background:#172b3d;border-color:#172b3d;color:#fff;font-weight:520}
.origin-filters button:focus-visible,.route-summary:focus-visible,.route-categories button:focus-visible,.route-aircraft-option:focus-visible,#load-more:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.route-count{font-size:13px;line-height:1.4;color:var(--muted);flex-shrink:0}
.route-list{border-top:1px solid #d8dee4}
.route-card{border-bottom:1px solid #d8dee4}
.route-card h2{margin:0}
.route-summary{display:grid;grid-template-columns:110px minmax(0,1fr) 185px 160px;align-items:center;gap:23px;width:100%;min-height:131px;padding:25px 0;border:0;background:transparent;color:var(--ink);text-align:left;font-family:inherit}
.route-summary:hover{background:#eef1f4}
.route-summary[aria-expanded=true]{background:#edf1f5}
.route-summary:focus-visible{outline-offset:-3px}
.route-thumb{grid-column:1;grid-row:1;display:block;width:110px;height:78px;object-fit:cover;border-radius:8px;background:#e5e9ed}
.route-heading{grid-column:2;grid-row:1;display:block;min-width:0}
.route-city-pair{display:block;font-size:25px;font-weight:540;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}
.route-country-line{display:block;font-size:13px;font-weight:400;line-height:1.5;color:#64717e;margin-top:7px;letter-spacing:0}
.route-summary-offer{grid-column:3;grid-row:1;display:flex;flex-direction:column;gap:4px;text-align:right;min-width:0}
.route-summary-offer>strong{font-size:21px;font-weight:540;letter-spacing:-.025em;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}
.route-summary-offer>small{font-size:12px;font-weight:400;line-height:1.4;color:#64717e;letter-spacing:0}
.route-toggle{grid-column:4;grid-row:1;white-space:nowrap;display:flex;align-items:center;justify-content:flex-end;gap:13px;padding-right:8px;font-size:13px;font-weight:500;letter-spacing:0;line-height:1.4;color:#274257}
.route-toggle::after{content:'+';font-size:23px;font-weight:350;line-height:1}
.route-summary[aria-expanded=true] .route-toggle::after{content:'−'}
.route-detail{background:#fff;padding:24px 26px 25px;margin-bottom:22px;border-radius:0 0 12px 12px}
.route-detail[hidden]{display:none}
.route-detail-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.route-detail-header h3{font-size:20px;font-weight:540;letter-spacing:-.025em;line-height:1.25;margin:0}
.route-trip-switch{display:flex;align-items:center;gap:3px;padding:3px;border-radius:23px;background:#eef0f3;flex-shrink:0}
.route-trip-switch button{border:0;background:transparent;border-radius:20px;min-height:40px;padding:9px 14px;font-size:13px;line-height:1.3;color:#61707e;white-space:nowrap}
.route-trip-switch button[aria-pressed=true]{background:#fff;color:var(--ink)}
.route-detail-note{font-size:13px;color:#64717e;line-height:1.6;margin:0 0 15px}
.route-categories{display:flex;gap:6px;margin-bottom:17px}
.route-categories button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:110px;min-height:44px;padding:9px 17px;border:1px solid #d7dee5;border-radius:7px;background:#fff;color:#526170;font-size:14px;line-height:1.4}
.route-categories button span{font-size:12px;color:#64717e}
.route-categories button[aria-pressed=true]{background:#172b3d;border-color:#172b3d;color:#fff}
.route-categories button[aria-pressed=true] span{color:#ffffffb8}
.route-detail-body{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:26px;align-items:start}
.route-photo{margin:0;min-width:0;background:#f3f5f7;border-radius:9px;overflow:hidden}
.route-selected-photo{display:block;width:100%;height:auto;aspect-ratio:1.65;object-fit:cover;background:#e5e9ed}
.route-photo figcaption{padding:11px 13px;font-size:13px;line-height:1.4;color:#596978}
.route-aircraft-options{display:grid;gap:0;border-top:1px solid #e2e6ea;min-width:0}
.route-aircraft-option{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:11px;align-items:center;min-height:80px;width:100%;padding:12px 10px;border:0;border-bottom:1px solid #e2e6ea;background:#fff;color:var(--ink);text-align:left;border-radius:0}
.route-aircraft-option:hover{background:#f4f7fa}
.route-aircraft-option[aria-pressed=true]{background:#edf3f8;box-shadow:inset 2px 0 0 #274257}
.route-aircraft-option img{width:54px;height:44px;object-fit:cover;border-radius:5px;background:#e5e9ed}
.route-aircraft-copy{min-width:0}
.route-aircraft-copy strong{display:block;font-size:13px;font-weight:540;line-height:1.35;letter-spacing:-.01em;overflow-wrap:anywhere}
.route-aircraft-copy small{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:var(--muted)}
.route-option-selection{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.route-option-price{font-size:14px;line-height:1.4;font-weight:540;white-space:nowrap;font-variant-numeric:tabular-nums}
.route-option-action{font-size:11px;line-height:1.4;color:#52687b;white-space:nowrap}
.route-aircraft-option[aria-pressed=true] .route-option-action{color:#172b3d}
.route-aircraft-option[aria-pressed=true] .route-option-action::before{content:'✓';margin-right:5px}
.route-next-step{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:22px;padding-top:19px;border-top:1px solid #e2e6ea}
.route-current-choice{min-width:0;line-height:1.4}
.route-current-choice>span{display:block;font-size:12px;color:#64717e;overflow-wrap:anywhere}
.route-current-choice>strong{display:block;font-size:24px;font-weight:540;letter-spacing:-.025em;margin-top:4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.routes-page .route-planner-link{min-height:48px;padding:13px 23px;font-size:14px;white-space:nowrap}
.route-planner-link[aria-disabled=true]{background:#e6e6eb!important;color:#777780;pointer-events:none}
.route-price-note{margin-top:16px;font-size:12px;color:var(--muted);line-height:1.6;max-width:82ch}
.route-example-details{margin-top:4px;color:var(--muted);font-size:12px}
.route-example-details summary{min-height:38px;display:inline-flex;align-items:center;gap:7px;cursor:pointer;list-style:none}
.route-example-details summary::-webkit-details-marker{display:none}
.route-example-details summary::after{content:'+';font-size:16px}
.route-example-details[open] summary::after{content:'−'}
.route-example-details p{max-width:80ch;line-height:1.6;margin-top:4px}
.route-more{text-align:center;margin:24px 0}
#load-more{min-height:46px;padding:11px 22px;border:1px solid #b5c1cd;border-radius:24px;background:transparent;color:#274257;font-size:14px;line-height:1.4}
#load-more:hover{background:#e9edf1}
#load-more[hidden]{display:none}
.routes-footer-note{display:flex;justify-content:space-between;align-items:baseline;gap:32px;margin-top:26px}
.routes-footer-note p{font-size:13px;line-height:1.6;color:var(--muted);max-width:72ch}
.route-custom-link{display:inline-flex;min-height:44px;align-items:center;font-size:14px;white-space:nowrap;color:var(--accent)}
.route-custom-link:hover{text-decoration:underline;text-underline-offset:4px}
.route-load-status{font-size:15px;line-height:1.6;color:var(--muted);padding:24px 0}
.route-load-status[hidden]{display:none}
@media(max-width:1050px){
 .route-summary{grid-template-columns:90px minmax(0,1fr) 155px 150px;gap:17px;min-height:122px;padding-block:23px}
 .route-thumb{width:90px;height:70px}
 .route-city-pair{font-size:23px}
 .route-summary-offer>strong{font-size:19px}
 .route-toggle{font-size:12px;gap:9px}
 .route-detail-body{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:20px}
 .route-aircraft-option{grid-template-columns:45px minmax(0,1fr) auto;gap:9px;padding-inline:8px}
 .route-aircraft-option img{width:45px;height:42px}
 .route-option-price{font-size:13px}
 .origin-filters button{font-size:14px;padding-inline:14px}
}
@media(max-width:760px){
 .routes-page .routes-main{padding-block:27px 42px}
 .routes-intro{margin-bottom:22px}
 .routes-intro h1{font-size:34px}
 .routes-intro p{font-size:15px;margin-top:10px}
 .route-browse-bar{flex-direction:column;align-items:stretch;gap:11px;margin-bottom:14px}
 .origin-filters{gap:6px}
 .origin-filters button{min-height:42px;padding:8px 13px;font-size:14px}
 .route-count{font-size:12px}
 .route-summary{grid-template-columns:76px minmax(0,1fr);gap:10px 16px;min-height:0;padding:22px 0}
 .route-thumb{width:76px;height:61px;grid-row:1;align-self:start}
 .route-city-pair{font-size:22px;line-height:1.23}
 .route-country-line{font-size:12px;margin-top:5px;line-height:1.45}
 .route-summary-offer{grid-column:2;grid-row:2;text-align:left;gap:3px}
 .route-summary-offer>strong{font-size:20px}
 .route-summary-offer>small{font-size:12px}
 .route-toggle{grid-column:2;grid-row:3;justify-content:flex-start;font-size:13px;gap:12px;padding:4px 0 0}
 .route-toggle::after{font-size:20px}
 .route-detail{padding:20px 15px;margin-bottom:16px}
 .route-detail-header{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:15px}
 .route-detail-header h3{font-size:19px}
 .route-trip-switch button{font-size:12px;min-height:40px}
 .route-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:15px}
 .route-categories button{min-width:0;font-size:12px;gap:5px;padding:9px 4px}
 .route-categories button span{font-size:10px}
 .route-detail-body{grid-template-columns:minmax(0,1fr);gap:16px}
 .route-selected-photo{aspect-ratio:1.9}
 .route-photo figcaption{font-size:12px;padding:10px 12px}
 .route-aircraft-option{grid-template-columns:45px minmax(0,1fr);gap:5px 10px;padding:12px 9px;min-height:84px}
 .route-aircraft-option img{width:45px;height:41px}
 .route-aircraft-copy strong{font-size:13px}
 .route-option-selection{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px}
 .route-option-price{font-size:13px}
 .route-next-step{align-items:stretch;flex-direction:column;gap:15px;margin-top:18px;padding-top:17px}
 .route-current-choice{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
 .route-current-choice>span{font-size:11px;max-width:18ch}
 .route-current-choice>strong{font-size:20px;flex-shrink:0}
 .routes-page .route-planner-link{width:100%;text-align:center}
 .route-price-note{font-size:11px}
 .routes-footer-note{flex-direction:column;align-items:flex-start;gap:8px}
 .routes-footer-note p{font-size:12px}
}
@media(max-width:380px){
 .routes-intro h1{font-size:30px}
 .origin-filters button{font-size:13px;padding-inline:12px}
 .route-summary{grid-template-columns:60px minmax(0,1fr);gap:9px 13px}
 .route-thumb{width:60px;height:54px}
 .route-city-pair{font-size:20px}
 .route-summary-offer>strong{font-size:19px}
 .route-detail{padding:18px 11px}
 .route-categories button{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.routes-page button,.routes-page a{transition:none}}

.route-transfer-note,.route-detail-status{font-size:13px;line-height:1.6;color:#64717e;margin-top:15px}
.route-thumb[data-ready="false"],.route-option-image[data-ready="false"],.route-selected-photo[data-ready="false"]{visibility:hidden}
