/* =====================================================================
   pw-results.css - /search (live results) ka theme v3 roop.
   pw-theme.css + pw-widgets.css ke baad load hota hai; site.css aur
   pw-airport.css is page par ab nahi lagte - jo rules chahiye the wo
   yahan (teal/lime tokens me) dobara likhe gaye hain.
   Layout: teal search band (sticky) | list (APR lot-card) + Leaflet map
   ===================================================================== */

body.pw-results-page { background: #fff; }

/* ---------------- teal search band ---------------- */
.pw-srch { background: var(--teal); color: var(--off); position: sticky; top: 56px; z-index: 990; }
.pw-srch > .ap-wrap { padding-top: 10px; padding-bottom: 10px; }

/* phone/tablet: ek line ka khulasa (airport + dates) jo form kholta hai */
.pw-srch-sum {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px;
    background: transparent; border: 0; padding: 0; color: var(--off); text-align: left; cursor: pointer;
}
.pw-srch-sum-ico {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: var(--r);
    background: rgba(251, 252, 249, .12); color: var(--lime);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.pw-srch-sum-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pw-srch-sum-txt b { font: 700 1rem/1.25rem var(--font); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-srch-sum-txt span { font: 400 .875rem/1.25rem var(--font); color: var(--off); opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-srch-sum-edit {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px;
    border: 2px solid currentColor; border-radius: var(--r);
    font: 600 .9375rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .02em;
}
.pw-srch-sum-edit i { font-size: .8em; }
.pw-srch-sum .is-close { display: none; }
.pw-srch.is-open .pw-srch-sum .is-edit { display: none; }
.pw-srch.is-open .pw-srch-sum .is-close { display: inline-flex; }
/* band khula ho to dinon ki ginti chhupao (dates neeche form me hain) - CLOSE ke saath line poori aaye */
.pw-srch.is-open .pw-sum-days { display: none; }
/* 360-wale phone par EDIT ke saath bhi poori nahi aati - ginti results header me "(3 days)" bhi hai */
@media (max-width: 379.98px) { .pw-sum-days { display: none; } }

/* form: hero wala ap-search, magar band par seedha (safed card ke baghair) */
.pw-srch .ap-search.pwsrch { background: transparent; padding: 0; border-radius: 0; color: var(--off); }
.pw-srch .ap-search .pwf-label { color: var(--off); }
.pw-srch .ap-search .pwf-box { border-color: #fff; }
.pw-srch .ap-search .pwf-box:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(180, 224, 118, .45); }
.pw-srch .pwf-menu li.pwf-empty { color: var(--muted); cursor: default; font-size: .875rem; }
.pw-srch .pwf-menu li.pwf-empty:hover { background: transparent; }
.pw-srch .pwf-trust { display: none; }
/* pw-range-cal.js time selects ko calendar me le jata hai; theme ka .ap-search .pwf-time{display:none} unhe wahan bhi chhupa deta tha */
.pw-srch .apb-rcal-times .pwf-time { display: block; }

@media (max-width: 1023.98px) {
    .pw-srch .pwsrch { display: none; }
    /* khula form sticky nahi, aur stacking context bhi nahi - warna phone par
       calendar ka modal (fixed, z 10090) band ke andar qaid ho kar overlay ke neeche chala jata */
    .pw-srch.is-open { position: static; }
    .pw-srch.is-open .pwsrch { display: grid; margin: 12px 0 6px; }
}
@media (min-width: 600px) and (max-width: 1023.98px) {
    .pw-srch .ap-search .pwf-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    /* desktop: header (sticky, 80px) ke theek neeche band chipakta hai */
    .pw-srch { top: 80px; }
    .pw-srch > .ap-wrap { padding-top: 12px; padding-bottom: 14px; }
    .pw-srch-sum { display: none; }
    .pw-srch .ap-search.pwsrch { grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) auto; gap: 16px; padding: 0; }
    .pw-srch .ap-search .pwf-btn { padding: 0 28px; }
}

/* ---------------- results shell ---------------- */
.pw-res-shell { display: grid; grid-template-columns: minmax(0, 1fr); }
.pw-res-left { padding: 0 var(--gut) 96px; min-width: 0; }
.pw-res-crumbs { padding: 16px 0 4px; }
.pw-res-crumbs li[hidden] { display: none; }

.pw-res-head { margin: 8px 0 20px; }
.pw-res-head h1 { font: 700 1.375rem/1.75rem var(--font); text-transform: uppercase; color: var(--ink); text-wrap: balance; outline: none; }
.pw-res-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 8px; }
.pw-res-sub { flex: 1 1 260px; min-width: 0; font-size: .9375rem; line-height: 1.4rem; color: var(--ink); }
/* ginti ki line (JS ek hi <span> me likhta hai) ki jagah pehle se: API se pehle bhi 2 lines ki oonchai -
   warna jawab aate hi sort + list neeche khisakte the (CLS 0.12-0.15 phones par) */
.pw-res-sub { display: flex; align-items: center; min-height: 2.8rem; }
.pw-res-sub:empty { display: none; }
.pw-res-bar.is-wait .pw-res-sub:empty { display: flex; }
.pw-res-sub b { font-weight: 700; }
.pw-res-sub .sep { color: var(--line-2); margin: 0 6px; }
.pw-res-sub .nw { white-space: nowrap; }
.pw-sort-wrap { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.pw-sort-wrap[hidden] { display: none; }
.pw-sort-wrap > span { font-size: .875rem; line-height: 1.25rem; color: var(--ink); white-space: nowrap; }
.pw-sort {
    height: 44px; min-width: 230px; padding: 0 40px 0 14px;
    border: 1px solid var(--field); border-radius: var(--r); background: #fff;
    font: 400 1rem/1 var(--font); color: var(--ink); cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e242b' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.pw-sort:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10, 71, 90, .15); outline: none; }
@media (max-width: 599.98px) {
    .pw-sort-wrap { flex: 1 1 100%; }
    .pw-sort { flex: 1 1 auto; width: 100%; min-width: 0; }
}

/* ---------------- lot card (APR lot-card ki shakl) ---------------- */
.pw-lot {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
    background: #fff; border: 1px solid rgba(0, 0, 0, .125); border-radius: var(--r); overflow: hidden;
    margin-bottom: 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.pw-lot:hover { border-color: var(--teal-2); box-shadow: var(--shadow-card); }
.pw-lot.is-active { border-color: var(--teal); box-shadow: 0 0 0 2px var(--lime), var(--shadow-card); }
.pw-lot:focus-visible { box-shadow: 0 0 0 3px var(--lime); }
.pw-lot-pic { position: relative; aspect-ratio: 16 / 9; background-color: var(--bg-soft); overflow: hidden; }
/* skeleton ka photo khana: pw-skeleton.css ki shimmer (shorthand nahi - warna us ki gradient mit jati), rang img wali shimmer jaisa */
.pw-lot-pic.pw-sk { background-color: var(--sk-base, #e9eff1); }
.pw-lot-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .15s cubic-bezier(.4, 0, .2, 1); }
/* load: photo poori decode hone tak chhupi (khane me shimmer), phir ek dafa me - pw-results.js showPhotos(); koi fade nahi */
.pw-lot-pic img { opacity: 0; }
.pw-lot-pic img.is-in { opacity: 1; }
.pw-lot:hover .pw-lot-pic img { transform: scale(1.04); }
.pw-lot-pic .pw-lot-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--teal-2); font-size: 2.5rem; }

.pw-lot-badge {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--r-sm);
    font: 600 .75rem/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(14, 36, 43, .18);
}
.pw-lot-badge i { font-size: .9em; }
.pw-lot-badge.is-value { background: var(--lime); color: var(--teal); }
.pw-lot-badge.is-near { background: var(--teal); color: var(--off); }
.pw-lot-badge.is-near i { color: var(--lime); }
.pw-lot-badge.is-rated { background: #fff; color: var(--teal); }
.pw-lot-badge.is-rated i { color: var(--star); }

.pw-lot-main { display: flex; flex-direction: column; min-width: 0; padding: 16px 16px 18px; }
.pw-lot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px 14px; margin-bottom: 8px; }
.pw-lot-name { flex: 1 1 auto; min-width: 0; font: 400 1.125rem/1.5rem var(--font); color: var(--ink); padding-top: 2px; }

/* Google rating: sitare + lafz + (score, ginti) */
.pw-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .875rem; line-height: 1.25rem; color: var(--ink); margin-bottom: 12px; }
.pw-rate .stars { position: relative; display: inline-block; width: 95px; height: 19px; flex: 0 0 auto; }
.pw-rate .stars i { position: absolute; left: 0; top: 0; height: 19px; overflow: hidden; display: block; }
.pw-rate .stars i.off { width: 100%; }
.pw-rate .stars svg { width: 95px; height: 19px; display: block; }
.pw-rate .stars .off svg path { fill: #d5dadc; }
.pw-rate .stars .on svg path { fill: var(--star); }
.pw-rate b { font-weight: 700; }
.pw-rate .cnt { color: var(--ink); }
.pw-rate .g { width: 15px; height: 15px; flex: 0 0 auto; margin-right: -2px; }
/* Google listing nahi (Parking Place LGA): koi logo / rating nahi, sirf ek saada tag */
.pw-rate.is-none span { display: inline-block; padding: 3px 8px; border-radius: var(--r-sm); background: var(--bg-soft); color: var(--teal); font: 600 .875rem/1.25rem var(--font-ui); letter-spacing: .02em; }

.pw-lot-facts { display: grid; gap: 8px; font-size: .9375rem; line-height: 1.35rem; }
.pw-lot-facts li { display: flex; align-items: flex-start; gap: 10px; }
.pw-lot-facts i { flex: 0 0 18px; width: 18px; text-align: center; color: var(--ink); font-size: 1rem; margin-top: 2px; }
.pw-lot-facts .k { color: var(--muted); }

.pw-lot-price { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.pw-lot-price .amt { font: 700 1.75rem/1 var(--font); color: var(--ink); letter-spacing: -.01em; }
.pw-lot-price .per { font-size: .875rem; color: var(--ink); margin-left: 2px; }
.pw-lot-price .was { font-size: 1rem; color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.pw-lot-price .tot { display: block; margin-top: 6px; font-size: .875rem; line-height: 1.2rem; color: var(--muted); }
.pw-lot-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 16px; }
.pw-lot-actions .ap-btn { height: 44px; padding: 0 18px; font-size: .9375rem; }

@media (max-width: 599.98px) {
    .pw-lot-actions .ap-btn { flex: 1 1 0; padding: 0 10px; }
    /* 14px subtotal ek line me lot ke naam ki jagah kha jata - phone par do lines me tootne do */
    .pw-lot-price .tot { white-space: normal; max-width: 8.5em; margin-left: auto; }
    .pw-lot-price .tot-d { white-space: nowrap; }   /* "$38.85 subtotal" / "for 3 days" */
}
@media (min-width: 600px) {
    .pw-lot { grid-template-columns: 200px minmax(0, 1fr); }
    .pw-lot-pic { aspect-ratio: auto; min-height: 220px; }
    .pw-lot-main { padding: 16px 20px 20px; }
}

/* skeleton = asal card ka hi dhaancha (search.html: .pw-lot-pic.pw-sk + .pw-lot-main): wahi border, wahi photo ka
   khana - us me wahi shimmer jo photo load hone tak img par chalti hai (pw-skeleton.css) - aur safed body, wahi oonchai
   (600+ par 274px; phone par 16:9 photo + 289.2px body). Card aane par sirf text/photo apni jagah bharte hain;
   pehle poora grey dabba card me badalta tha aur 2-8px ka farq tha. */
.pw-lot.is-skel { height: 274px; }
.pw-lot.is-skel:hover { border-color: rgba(0, 0, 0, .125); box-shadow: none; }
@media (max-width: 599.98px) {
    .pw-lot.is-skel { height: auto; }
    .pw-lot.is-skel .pw-lot-main { height: 289.2px; }
}

/* ---------------- empty / error state ---------------- */
.pw-empty { background: #fff; border: 1px solid rgba(0, 0, 0, .125); border-radius: var(--r); padding: 32px 20px; text-align: center; }
.pw-empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--lime); font-size: 1.6rem; margin-bottom: 16px; }
.pw-empty h2 { font: 700 1.25rem/1.75rem var(--font); text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.pw-empty p { max-width: 48ch; margin: 8px auto 20px; font-size: 1rem; line-height: 1.5rem; }
.pw-empty-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pw-empty-acts .ap-btn { height: 44px; padding: 0 18px; }

/* ---------------- below the list: assurances + other airports ---------------- */
.pw-res-why { background: var(--teal); color: var(--off); border-radius: var(--r); padding: 24px 20px; margin-top: 8px; }
.pw-res-why h2 { font: 700 1.25rem/1.75rem var(--font); text-transform: uppercase; color: var(--off); margin-bottom: 16px; }
.pw-res-why ul { display: grid; gap: 16px; }
.pw-res-why li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.pw-res-why li > i { color: var(--lime); font-size: 1.6rem; line-height: 1; text-align: center; margin-top: 2px; }
.pw-res-why b { display: block; font: 700 1rem/1.5rem var(--font); }
.pw-res-why span { font-size: .9375rem; line-height: 1.4rem; }
.pw-res-why a { color: var(--lime); text-decoration: underline; }
@media (min-width: 768px) { .pw-res-why { padding: 32px; } }

.pw-res-more { margin-top: 32px; }
.pw-res-more h2 { font: 700 1.25rem/1.75rem var(--font); text-transform: uppercase; margin-bottom: 14px; }
.pw-res-more ul { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pw-res-more li { display: flex; }
.pw-res-more a {
    flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, .125); border-radius: var(--r); color: var(--ink); text-decoration: none;
    transition: border-color .15s, background-color .15s;
}
.pw-res-more a:hover { border-color: var(--teal); background: var(--bg-soft); }
.pw-res-more a b { font: 700 1rem/1.3 var(--font); }
.pw-res-more a small { display: block; font-size: .875rem; line-height: 1.25rem; color: var(--muted); margin-top: 2px; }
.pw-res-more a i { color: var(--teal); font-size: .85rem; }
.pw-res-more a[aria-current] { border-color: var(--teal); box-shadow: inset 4px 0 0 var(--lime); }
@media (min-width: 600px) { .pw-res-more ul { grid-template-columns: 1fr 1fr; } }

/* ---------------- map ---------------- */
.pw-res-right { position: relative; min-width: 0; }
.pw-map-hold { position: relative; height: 100%; }
/* rang = tiles ki zameen jaisa (filter ke baad) - map ke aane par dabba "grey se naqsha" nahi lagta */
#pwMap { height: 100%; width: 100%; background: #eef0ec; font-family: var(--font); }
/* load: jab tak tiles + leaflet.css na aayen (pw-results.js initMap) pins / controls / adhoori tiles chhupi - phir sab ek saath */
#pwMap.is-wait > * { visibility: hidden; }
#pwMap .leaflet-tile-pane { filter: saturate(.7) brightness(1.04) contrast(.95); }
#pwMap .leaflet-bar { border: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card); }
#pwMap .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; color: var(--ink); font-size: 18px; }
#pwMap .leaflet-bar a:hover { background: var(--bg-soft); color: var(--teal); }
#pwMap .leaflet-control-attribution { font-size: 11px; }

.pw-pin-wrap { display: flex; justify-content: center; align-items: flex-start; }
.pw-pin {
    position: relative; display: inline-block; min-width: 46px; padding: 5px 10px; text-align: center; white-space: nowrap;
    background: var(--teal); color: var(--off); border: 2px solid #fff; border-radius: 999px;
    font: 700 .8125rem/1.1 var(--font); box-shadow: 0 4px 12px rgba(14, 36, 43, .35); cursor: pointer;
    transition: transform .12s, background-color .12s, color .12s;
}
.pw-pin::after {
    content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -6px;
    border: 6px solid transparent; border-bottom: 0; border-top-color: #fff;
}
.pw-pin.is-active { background: var(--lime); color: var(--teal); transform: scale(1.12); }
.pw-pin-air {
    min-width: 0; width: 34px; height: 34px; padding: 0; display: flex; align-items: center; justify-content: center;
    background: var(--ink); color: var(--lime); border-radius: 50%; font-size: .9rem; cursor: default;
}
.pw-pin-air::after { display: none; }
.pw-chip-wrap { background: none; border: 0; pointer-events: none; }
.pw-route-chip {
    width: max-content; transform: translate(-50%, -50%); white-space: nowrap;
    background: #fff; color: var(--teal); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
    font: 600 .875rem/1 var(--font-ui); box-shadow: 0 6px 18px rgba(14, 36, 43, .22);
}
.pw-route-chip i { color: var(--teal); margin-right: 6px; }
.pw-route-chip span { color: var(--muted); font-weight: 500; }

/* ---------------- detail panel ---------------- */
.pw-panel {
    position: absolute; top: calc(16px + var(--pw-shift, 0px)); bottom: 16px; left: 16px; z-index: 1001;
    width: min(440px, calc(100% - 32px)); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-pop);
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateX(-12px);
    transition: transform .24s, opacity .24s, visibility .24s;
}
.pw-panel.open { opacity: 1; visibility: visible; transform: translateX(0); }
.pw-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.pw-panel-head h2 { font: 700 1.25rem/1.6rem var(--font); color: var(--ink); padding-top: 6px; }
.pw-panel-close {
    flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: var(--r);
    background: var(--bg-soft); color: var(--ink); font-size: 1.1rem; cursor: pointer;
}
.pw-panel-close:hover { background: var(--line); color: var(--teal); }
.pw-panel-body { flex: 1 1 auto; overflow-y: auto; padding: 16px 20px 20px; overscroll-behavior: contain; }

.pw-gal { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-soft); margin-bottom: 16px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.pw-gal.is-dragging { cursor: grabbing; }
.pw-gal:focus-visible { box-shadow: 0 0 0 3px var(--lime); }
.pw-gal-track { display: flex; transition: transform .32s cubic-bezier(.4, 0, .2, 1); }
.pw-gal-track img { display: block; flex: 0 0 100%; width: 100%; height: 210px; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.pw-gal-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .94); color: var(--ink); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2); opacity: .85; cursor: pointer; transition: opacity .15s;
}
.pw-gal:hover .pw-gal-nav, .pw-gal-nav:focus-visible { opacity: 1; }
.pw-gal-nav.prev { left: 10px; }
.pw-gal-nav.next { right: 10px; }
.pw-gal-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.pw-gal-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); cursor: pointer; }
.pw-gal-dots button.on { width: 18px; border-radius: 999px; background: var(--lime); }
.pw-gal-count { position: absolute; right: 10px; top: 10px; padding: 4px 8px; border-radius: var(--r-sm); background: rgba(14, 36, 43, .72); color: var(--off); font: 600 .75rem/1 var(--font-ui); letter-spacing: .04em; }

/* rating + location boxes (APR lot page ki tarah) */
.pw-pboxes { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
.pw-pbox { background: var(--bg-soft); border-radius: var(--r); padding: 12px 14px; font-size: .875rem; line-height: 1.35rem; }
.pw-pbox-rate { display: flex; align-items: center; gap: 14px; }
.pw-pbox-rate > span:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.pw-pbox-rate .big { font: 700 1.75rem/1 var(--font); color: var(--ink); white-space: nowrap; }
.pw-pbox-rate .big small { font-size: .875rem; font-weight: 400; margin-left: 2px; }
.pw-pbox-rate b { font-size: 1rem; }
.pw-pbox-rate .pw-rate { display: inline-flex; margin: 0; }
.pw-pbox-loc { display: grid; gap: 6px; }
.pw-pbox-loc div { display: flex; gap: 10px; align-items: flex-start; }
.pw-pbox-loc i { flex: 0 0 16px; text-align: center; color: var(--ink); margin-top: 3px; }
.pw-pbox-loc a { color: var(--link); font-weight: 700; }

.pw-panel-meta { display: grid; gap: 10px; margin-bottom: 18px; }
.pw-panel-meta div { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.4rem; }
.pw-panel-meta i { flex: 0 0 18px; text-align: center; color: var(--ink); margin-top: 3px; }
.pw-panel-meta .k { color: var(--muted); margin-right: 4px; }
.pw-panel-sec { margin-bottom: 18px; }
.pw-panel-sec h3 { font: 700 1rem/1.5rem var(--font); color: var(--ink); text-transform: uppercase; margin-bottom: 10px; }
.pw-amen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.pw-amen li { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; line-height: 1.3rem; }
.pw-amen li i { flex: 0 0 16px; color: var(--teal); font-size: .9rem; margin-top: 2px; }
.pw-amen.is-clipped li:nth-child(n + 7) { display: none; }
.pw-see-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 .9375rem/1.5rem var(--font-ui); text-transform: uppercase; letter-spacing: .02em; color: var(--teal); }
.pw-see-all i { font-size: .75em; }
.pw-see-all:hover { color: var(--teal-2); }

.pw-acc { border-top: 1px solid var(--line-2); }
.pw-acc-item { border-bottom: 1px solid var(--line-2); }
.pw-acc-item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 0; font: 700 1rem/1.5rem var(--font); color: var(--ink);
}
.pw-acc-item summary::-webkit-details-marker { display: none; }
.pw-acc-item summary i { flex: 0 0 auto; font-size: .8rem; color: var(--ink); transition: transform .15s; }
.pw-acc-item[open] summary i { transform: rotate(180deg); }
.pw-acc-body { padding: 0 0 14px; font-size: .9375rem; line-height: 1.55; color: var(--ink); }
.pw-acc-body p { margin: 0 0 8px; }
.pw-acc-body p:last-child { margin-bottom: 0; }
.pw-acc-body ul, .pw-acc-body ol { margin: 0 0 8px; padding-left: 20px; list-style: disc; }
.pw-acc-body a { color: var(--link); text-decoration: underline; }

.pw-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; }
.pw-panel-price { min-width: 0; white-space: nowrap; }
.pw-panel-price .amt { font: 700 1.5rem/1 var(--font); color: var(--ink); }
.pw-panel-price .per { font-size: .875rem; }
.pw-panel-price .tot { display: block; margin-top: 4px; font-size: .875rem; color: var(--muted); }
.pw-panel-foot .ap-btn { flex: 0 0 auto; }

body.pw-detail-open .leaflet-control-zoom { opacity: 0; pointer-events: none; }
.pw-scrim { position: fixed; inset: 0; z-index: 1150; display: none; background: rgba(14, 36, 43, .6); opacity: 0; visibility: hidden; transition: opacity .22s, visibility 0s linear .22s; }

/* ---------------- map / list toggle (chhoti screen) ---------------- */
.pw-mapfab {
    position: fixed; left: 50%; bottom: 20px; z-index: 1100; transform: translateX(-50%);
    display: none; align-items: center; gap: 10px; height: 48px; padding: 0 24px;
    border: 0; border-radius: var(--r); background: var(--teal); color: var(--off); cursor: pointer;
    font: 600 1rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .02em;
    box-shadow: 0 10px 26px rgba(14, 36, 43, .38);
}
.pw-mapfab { transition: opacity .2s, visibility .2s; }
body.pw-fab-off:not(.pw-map-open) .pw-mapfab { opacity: 0; visibility: hidden; }
.pw-mapfab span { display: inline-flex; align-items: center; gap: 10px; }
.pw-mapfab i { color: var(--lime); }
.pw-mapfab .on-map { display: none; }
body.pw-map-open .pw-mapfab .on-list { display: none; }
body.pw-map-open .pw-mapfab .on-map { display: inline-flex; }

@media (min-width: 1101px) {
    .pw-res-shell { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); }
    .pw-res-left { padding: 0 24px 56px; }
    .pw-res-right { border-left: 1px solid var(--line); }
    .pw-map-hold { position: sticky; top: var(--pw-bar, 178px); height: calc(100vh - var(--pw-bar, 178px)); }
    .pw-res-head h1 { font-size: 2.25rem; line-height: 2.5rem; }
    .pw-res-head { margin: 8px 0 24px; }
    .pw-res-bar { margin-top: 12px; gap: 12px 24px; }
    /* do lines ki jagah: 1101-1439 par ginti + dates do lines me tootti hain (1.5rem reserve -> jawab par sort + list 24px neeche) */
    .pw-res-sub { flex: 1 1 100%; font-size: 1rem; line-height: 1.5rem; min-height: 3rem; }
    .pw-srch > .ap-wrap { max-width: none; padding-left: 24px; padding-right: 24px; }
}
/* koi map nahi (airport nahi / jagah nahi / error): list beech me, khali map ka dabba nahi */
body.pw-no-map .pw-res-shell { grid-template-columns: minmax(0, 1fr); }
body.pw-no-map .pw-res-right { display: none; }
body.pw-no-map .pw-res-left { width: 100%; max-width: 820px; margin: 0 auto; }
@media (min-width: 1440px) {
    .pw-res-shell { grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
    .pw-res-left { padding: 0 32px 64px; }
    .pw-srch > .ap-wrap { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 1100px) {
    .pw-res-left { max-width: 820px; margin: 0 auto; width: 100%; }
    .pw-mapfab { display: inline-flex; }
    body.pw-no-map .pw-mapfab { display: none; }
    .pw-res-right {
        position: fixed; inset: 0; z-index: 1050; background: #fff;
        opacity: 0; visibility: hidden; transition: opacity .24s, visibility 0s linear .24s;
    }
    body.pw-map-open { overflow: hidden; }
    body.pw-map-open .pw-res-right { opacity: 1; visibility: visible; transition: opacity .24s, visibility 0s linear 0s; }
    .pw-map-hold { height: 100%; }
    #pwMap .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; }
    .pw-scrim { display: block; }
    body.pw-detail-open { overflow: hidden; }
    body.pw-detail-open .pw-scrim { opacity: 1; visibility: visible; transition: opacity .22s, visibility 0s linear 0s; }
    .pw-panel {
        position: fixed; top: 50%; left: 50%; bottom: auto; z-index: 1200;
        width: min(520px, 92vw); max-height: 86vh; transform: translate(-50%, -46%) scale(.98);
    }
    .pw-panel.open { transform: translate(-50%, -50%) scale(1); }
}
@media (max-width: 599.98px) {
    /* phone: details neeche se uthne wali sheet */
    .pw-panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-height: 88vh; border-radius: var(--r) var(--r) 0 0; transform: translateY(24px); }
    .pw-panel.open { transform: translateY(0); }
    .pw-panel-head h2 { font-size: 1.125rem; line-height: 1.5rem; }
    .pw-panel-body { padding: 14px 16px 18px; }
    .pw-panel-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
    .pw-gal-track img { height: 190px; }
}
