/* =====================================================================
   pw-lot.css - lot pages (/lot/{slug}), theme v3.
   APR ke lot-app jaisa: gallery (1 bara + 1 darmiyana + 2 chhote), title +
   rating/location cards, facts, sticky tabs, tinted "Important information",
   rate card, amenities grid, Leaflet map, Google rating summary, FAQ,
   "More parking near" carousel, sticky dates card. Font: Barlow (UI + body).
   pw-theme.css + pw-widgets.css ke baad load hoti hai; site.css /
   pw-airport.css lot pages par ab nahi.
   ===================================================================== */

.lp {
    --lp-ok: #2e7d3a;          /* check-lines (APR ka hara) */
    --lp-info: #1c75bc;        /* Important information ka neela */
    --lp-info-bg: #eaf3fa;
    --lp-card-bg: #f5f8f8;
    --lp-head-h: 56px;         /* sticky site header */
    font-family: var(--font-ui);
    color: var(--ink);
}
@media (min-width: 1024px) { .lp { --lp-head-h: 80px; } }
.lp h1, .lp h2, .lp h3, .lp button, .lp input, .lp select { font-family: var(--font-ui); }

/* ---------------- breadcrumb spacing ---------------- */
.lp .ap-crumbs { padding: 16px 0 12px; }
@media (min-width: 1024px) { .lp .ap-crumbs { padding: 32px 0 16px; } }

/* ---------------- gallery ---------------- */
.lp-gallery { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 0 20px; }
.lp-g {
    position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r);
    overflow: hidden; background: var(--bg-soft); cursor: zoom-in;
}
.lp-g img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.lp-g:hover img { transform: scale(1.03); }
.lp-g--1 { aspect-ratio: 16 / 10; }
.lp-g--2, .lp-g--3, .lp-g--4 { display: none; }
.lp-g-more {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
    border: 0; border-radius: var(--r-sm); background: rgba(14, 36, 43, .62); color: #fff;
    font: 600 .875rem/1 var(--font-ui); cursor: pointer;
}
.lp-g-more:hover { background: rgba(14, 36, 43, .8); }
@media (min-width: 768px) {
    .lp-gallery { grid-template-columns: 4fr 3fr 3fr; grid-template-rows: 124px 124px; margin-bottom: 24px; }
    .lp-g { display: block; }
    .lp-g--1 { grid-row: 1 / 3; aspect-ratio: auto; }
    .lp-g--2 { grid-row: 1 / 3; }
    .lp-g--3, .lp-g--4 { display: block; }
    .lp-g-more { right: 16px; bottom: 16px; }
}
@media (min-width: 1024px) { .lp-gallery { grid-template-rows: 156px 156px; } }

/* ---------------- layout: head + body left, dates card right ---------------- */
.lp-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "side" "body"; }
.lp-head { grid-area: head; min-width: 0; }
.lp-side { grid-area: side; min-width: 0; margin: 0 0 8px; }
.lp-body { grid-area: body; min-width: 0; }
@media (min-width: 1024px) {
    .lp-layout { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "head side" "body side"; column-gap: 56px; }
    .lp-side { margin: 0; padding-top: 4px; }
    .lp-side-in { position: sticky; top: calc(var(--lp-head-h) + 16px); }
}

/* ---------------- title + rating/location cards + facts ---------------- */
.lp-title { font: 600 1.5rem/1.875rem var(--font-ui); color: var(--ink); margin: 0 0 16px; text-wrap: balance; }
@media (min-width: 1024px) { .lp-title { font-size: 1.75rem; line-height: 2.25rem; } }

.lp-cards { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0 0 24px; }
.lp-rcard {
    display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r);
    background: var(--lp-card-bg); color: var(--ink); text-decoration: none !important;
}
.lp-rcard-score { display: flex; flex-direction: column; font-size: .875rem; line-height: 1.25rem; }
.lp-rcard-score b { font-size: 1.75rem; font-weight: 600; line-height: 1.9rem; }
.lp-rcard-score .ap-stars { font-size: .75rem; margin-top: 2px; }
.lp-rcard-word { display: flex; flex-direction: column; font: 600 1.25rem/1.75rem var(--font-ui); }
.lp-rcard-word small { display: inline-flex; align-items: center; gap: 6px; font: 400 .875rem/1.25rem var(--font-ui); color: var(--link); }
.lp-rcard:hover .lp-rcard-word small { text-decoration: underline; }
.lp-rcard--none .lp-rcard-word small { color: var(--muted); }
.lp-gico { width: 14px; height: 14px; flex: 0 0 14px; }

.lp-locard {
    flex: 1 1 300px; max-width: 460px; display: grid; gap: 8px; padding: 16px; border-radius: var(--r);
    font-size: .9375rem; line-height: 1.35rem;
    background-color: var(--lp-card-bg);
    background-image:
        linear-gradient(118deg, transparent 47%, rgba(255, 255, 255, .95) 47%, rgba(255, 255, 255, .95) 49.5%, transparent 49.5%),
        linear-gradient(28deg, transparent 63%, rgba(255, 255, 255, .85) 63%, rgba(255, 255, 255, .85) 65%, transparent 65%),
        repeating-linear-gradient(0deg, rgba(10, 71, 90, .045) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(90deg, rgba(10, 71, 90, .045) 0 1px, transparent 1px 26px);
}
.lp-locard > div { display: flex; align-items: center; gap: 10px; }
.lp-locard i { width: 18px; flex: 0 0 18px; text-align: center; font-size: 1rem; color: var(--ink); }
.lp-locard a { margin-left: auto; font-weight: 600; color: var(--link); white-space: nowrap; padding: 4px 0; }

.lp-facts { display: grid; gap: 14px; margin: 0 0 28px; }
.lp-facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.5rem; }
.lp-facts i { width: 22px; flex: 0 0 22px; text-align: center; font-size: 1.125rem; margin-top: 2px; color: var(--ink); }
.lp-facts a { font-weight: 600; margin-left: 8px; }
.lp-facts-k { flex: 0 0 auto; margin-right: 6px; }
@media (min-width: 1024px) { .lp-facts { margin-bottom: 36px; } }

/* ---------------- dates / booking card ---------------- */
.lp-book {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 8px 16px rgba(40, 70, 74, .04); padding: 20px 16px;
}
@media (min-width: 480px) { .lp-book { padding: 24px; } }
.lp-book-h { font: 600 1.125rem/1.5rem var(--font-ui); text-align: center; color: var(--ink); }
.lp-book-from { text-align: center; font-size: .875rem; color: var(--muted); margin: 4px 0 18px; }
.lp-book-from b { color: var(--ink); font-size: 1.125rem; font-weight: 700; }
.lp-book-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 480px) { .lp-book-row { gap: 16px; } }
.lp-book .pwf { min-width: 0; }
.lp-book .pwf-label { display: block; font: 500 .9375rem/1.25rem var(--font-ui); color: var(--ink); margin-bottom: 6px; }
.lp-book .pwf-box {
    display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px;
    background: #fff; border: 1px solid var(--field); border-radius: var(--r); cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.lp-book .pwf-box:hover { border-color: var(--teal-2); }
.lp-book .pwf-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10, 71, 90, .15); }
.lp-book .pwf-box > i { font-size: 1.15rem; color: var(--ink); flex: 0 0 auto; }
.lp-book .pwf-date {
    flex: 1 1 auto; width: 100%; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent;
    font: 400 1rem/1 var(--font-ui); color: var(--ink); cursor: pointer; text-overflow: ellipsis;
}
.lp-book .pwf-date::placeholder { color: var(--ink); }
.lp-book .pwf-box > .pwf-time { display: none; }
.lp-book .ap-btn { margin-top: 20px; }
.lp-book-err { color: #b42318; font-size: .875rem; text-align: center; margin-top: 10px; }
.lp-checks { display: grid; gap: 8px; margin-top: 16px; }
.lp-checks li { text-align: center; color: var(--lp-ok); font-size: .9375rem; line-height: 1.35rem; text-wrap: balance; }
.lp-checks i { font-size: .85rem; margin-right: 8px; }
.lp-checks a { color: var(--lp-ok); text-decoration: underline; }

/* ---------------- sticky tabs ---------------- */
.lp-tabs { position: sticky; top: var(--lp-head-h); z-index: 30; background: #fff; }
.lp-tabs ul { display: flex; gap: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
@media (max-width: 400px) { .lp-tabs a { font-size: .9375rem; } }
.lp-tabs ul::-webkit-scrollbar { display: none; }
.lp-tabs a {
    position: relative; display: inline-block; padding: 12px 0; white-space: nowrap;
    font: 500 1rem/1.5rem var(--font-ui); color: #56666b; text-decoration: none !important;
}
.lp-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); opacity: 0; transition: opacity .2s; }
.lp-tabs a:hover { color: var(--teal); }
.lp-tabs a.is-active { color: var(--teal); font-weight: 600; }
.lp-tabs a.is-active::after { opacity: 1; }
@media (min-width: 480px) { .lp-tabs ul { gap: 24px; } }
@media (min-width: 768px) { .lp-tabs ul { gap: 32px; } }

/* ---------------- content sections ---------------- */
.lp-sec { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--lp-head-h) + 56px); }
.lp-sec:last-child { border-bottom: 0; }
@media (min-width: 1024px) { .lp-sec { padding: 32px 0; } }
.lp-sec > h2, .lp-sec .lp-h2 { font: 600 1.375rem/1.75rem var(--font-ui); color: var(--ink); margin: 0 0 20px; }
@media (min-width: 1024px) { .lp-sec > h2, .lp-sec .lp-h2 { font-size: 1.5rem; margin-bottom: 24px; } }
.lp-sec h3 { font: 600 1.0625rem/1.5rem var(--font-ui); color: var(--ink); margin: 24px 0 6px; scroll-margin-top: calc(var(--lp-head-h) + 64px); }
.lp-sec p { font-size: 1rem; line-height: 1.5rem; }
.lp-sec p + p { margin-top: 12px; }
.lp-sec a:not(.ap-btn):not(.lp-rate-btn) { color: var(--link); }
.lp-bullets { list-style: disc; padding-left: 1.5rem; }
.lp-bullets li { line-height: 1.5rem; }
.lp-bullets li + li { margin-top: 4px; }
.lp-lead { margin-bottom: 20px; }

/* tinted "Important information" accordion */
.lp-important { border: 1px solid var(--lp-info); background: var(--lp-info-bg); border-radius: var(--r-sm); margin: 24px 0 8px; }
.lp-important summary {
    list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 16px; cursor: pointer;
    color: var(--lp-info); font: 500 1.0625rem/1.4rem var(--font-ui);
}
.lp-important summary::-webkit-details-marker { display: none; }
.lp-important summary > i { font-size: 1.1rem; flex: 0 0 auto; }
.lp-important summary::after { content: "\f078"; font: 900 .95rem/1 "Font Awesome 6 Free"; margin-left: auto; transition: transform .2s; }
.lp-important[open] summary::after { transform: rotate(180deg); }
.lp-important-body { padding: 0 16px 18px 46px; }
.lp-important-body ul { list-style: disc; display: grid; gap: 6px; padding-left: 1rem; }
.lp-important-body li { line-height: 1.5rem; }
@media (min-width: 768px) {
    .lp-important summary { padding: 16px 24px; font-size: 1.25rem; }
    .lp-important-body { padding: 0 32px 20px 60px; }
}

/* hours table (din ke naam + "24 ghante") */
.lp-hours { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; margin-top: 12px; font-size: .8125rem; }
.lp-hours th { background: var(--lp-card-bg); font-weight: 600; text-align: left; padding: 8px 10px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.lp-hours th:last-child { border-right: 0; }
.lp-hours td { text-align: center; padding: 8px; }
.lp-hours .d-s { display: none; }
@media (max-width: 767.98px) {
    .lp-hours th { text-align: center; padding: 8px 2px; }
    .lp-hours .d-l { display: none; }
    .lp-hours .d-s { display: inline; }
}

/* "Show more" clamp (JS lagata hai; JS ke baghair sab dikhta hai) */
.lp-more-box { position: relative; }
.lp-more-box.is-clamped { max-height: 330px; overflow: hidden; }
.lp-more-box.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 88px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); }
.lp-more-btn {
    display: flex; align-items: center; gap: 8px; margin: 8px auto 0; min-height: 44px; padding: 0 12px;
    background: none; border: 0; color: var(--link); font: 500 1rem/1.5rem var(--font-ui); cursor: pointer;
}
.lp-more-btn[hidden] { display: none; }
.lp-more-btn i { font-size: .8rem; transition: transform .2s; }
.lp-more-btn[aria-expanded="true"] i { transform: rotate(180deg); }

/* rate card */
.lp-deal { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: var(--r-sm); background: var(--lime-tint); color: var(--teal); font-weight: 600; font-size: .9375rem; }
.lp-deal[hidden] { display: none; }
.lp-rates-wrap { overflow-x: auto; border-radius: var(--r-sm); }
.lp-rates.ap-table { min-width: 0; font-size: .9375rem; }
.lp-rates th, .lp-rates td { padding: 10px 8px; vertical-align: middle; }
.lp-rates thead th { font-weight: 600; font-size: .875rem; }
.lp-rates tbody th { background: var(--off); color: var(--ink); font-weight: 600; text-align: left; border-bottom: 1px dotted var(--teal); }
.lp-rates .num { white-space: nowrap; }
.lp-rates .act { text-align: right; width: 1%; }
.lp-rates s { color: var(--muted); margin-right: 4px; font-size: .875rem; }
.lp-rates small { color: var(--muted); }
.lp-rates tr.is-deal td, .lp-rates tr.is-deal th { background: var(--lime-tint); }
.lp-saved { display: block; font-size: .75rem; line-height: 1rem; color: var(--lp-ok); font-weight: 600; }
.lp-rate-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px;
    border-radius: 6px; background: var(--lime); color: var(--teal) !important; white-space: nowrap;
    font: 600 .875rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .02em; text-decoration: none !important;
}
.lp-rate-btn:hover { background: var(--lime-2); }
.lp-rate-btn i { font-size: .75em; }
@media (min-width: 768px) {
    .lp-rates th, .lp-rates td { padding: 10px 14px; }
    .lp-rate-btn { min-height: 38px; padding: 0 16px; }
}
.lp-sec .ap-note { font-size: .8125rem; line-height: 1.25rem; color: var(--muted); margin-top: 10px; }

/* amenities */
.lp-amen { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 640px; }
.lp-amen li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; line-height: 1.3rem; }
.lp-amen i { width: 24px; flex: 0 0 24px; text-align: center; font-size: 1.15rem; color: var(--teal); }
@media (min-width: 768px) { .lp-amen { gap: 24px 32px; } .lp-amen li { font-size: 1rem; gap: 16px; } }

/* location + map */
.lp-addr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.lp-addr a { font-weight: 600; font-size: 1.0625rem; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.lp-map { position: relative; z-index: 0; height: 260px; margin-top: 10px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-soft); }
@media (min-width: 768px) { .lp-map { height: 380px; } }
.lp-map .leaflet-tile-pane { filter: saturate(.7) brightness(1.04) contrast(.95); }
.lp-map .leaflet-control-attribution { font-size: .625rem; }
.lp-pin-wrap { background: none; border: 0; }
.lp-pin {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 34px;
    border-radius: 6px; background: var(--teal); color: var(--lime); font: 700 .8125rem/1 var(--font-ui);
    box-shadow: 0 4px 10px rgba(14, 36, 43, .35); white-space: nowrap;
}
.lp-pin::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--teal); }
.lp-pin b { color: #fff; font-weight: 700; }
.lp-pin--air { background: var(--ink); color: #fff; }
.lp-pin--air::after { border-top-color: var(--ink); }
.lp-map-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .875rem; color: var(--muted); }
.lp-map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lp-map-legend i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 18px; border-radius: 4px; font-size: .65rem; }
.lp-map-legend .k-lot { background: var(--teal); color: var(--lime); }
.lp-map-legend .k-air { background: var(--ink); color: #fff; }

/* Google rating summary */
.lp-rsum { display: grid; gap: 24px; }
@media (min-width: 768px) { .lp-rsum { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; } }
.lp-rsum-word { font: 300 2rem/1 var(--font-ui); }
.lp-rsum-score { font: 700 1.5rem/1.5 var(--font-ui); margin-top: 6px; }
.lp-rsum .ap-stars { font-size: 1.1rem; }
.lp-rsum-count { font-size: .8125rem; line-height: 1.25rem; margin-top: 6px; }
.lp-rsum-g { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.lp-rcmp h3 { margin-top: 0; }
.lp-rcmp ul { border-top: 1px solid var(--line); }
.lp-rcmp li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-bottom: 1px dotted var(--line-2); font-size: .9375rem; }
.lp-rcmp li .ap-stars { font-size: .85rem; }
.lp-rcmp li.is-this { font-weight: 600; }
.lp-rcmp .tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 50rem; background: var(--lime-tint); color: var(--teal); font-size: .75rem; font-weight: 600; }
.lp-rcmp .val { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lp-rcmp .val small { color: var(--muted); font-weight: 400; }
.lp-rcta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.lp-rnote { font-size: .8125rem; line-height: 1.25rem; color: var(--muted); margin-top: 14px; }

/* ---------------- full-width bands: FAQ + more lots ---------------- */
.lp-h2xl { font: 500 1.75rem/2.125rem var(--font-ui); color: var(--ink); margin: 0 0 12px; text-wrap: balance; }
@media (min-width: 1024px) { .lp-h2xl { font-size: 2.25rem; line-height: 2.75rem; } }
.lp-faqsec { border-top: 1px solid var(--line); }
.lp-faqsec .ap-faqwrap > div:first-child p { line-height: 1.5rem; }
.lp-faqsec .ap-faq summary { font-family: var(--font-ui); font-weight: 600; font-size: 1.0625rem; min-height: 44px; }
.lp-faqsec .ap-faq .ap-faq-a { font-family: var(--font-ui); }
.lp-faqsec .ap-faq .ap-faq-a a { text-decoration: underline; }

.lp-more .lp-h2xl { margin-bottom: 24px; }
@media (min-width: 1024px) { .lp-more .lp-h2xl { margin-bottom: 32px; } }
.lp-car { position: relative; }
.lp-car-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; margin: -4px -2px 0;
}
.lp-car-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .lp-car-track { grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; } }
@media (min-width: 1024px) { .lp-car-track { grid-auto-columns: calc((100% - 48px) / 3); } }
.lp-car-nav {
    position: absolute; top: 96px; z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: #fff; box-shadow: 0 4px 14px rgba(14, 36, 43, .16); color: #8cc63f; font-size: 1.2rem; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.lp-car-nav:hover { color: var(--teal); }
.lp-car-nav:disabled { opacity: .45; cursor: default; }
.lp-car-nav--prev { left: 4px; }
.lp-car-nav--next { right: 4px; }
@media (min-width: 1320px) { .lp-car-nav--prev { left: -24px; } .lp-car-nav--next { right: -24px; } }
.lp-car-dots { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.lp-car-dots button { position: relative; width: 24px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; }
.lp-car-dots button::before { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #d9efbd; }
.lp-car-dots button.on::before { background: #8cc63f; }
.lp-car.is-static .lp-car-nav, .lp-car.is-static .lp-car-dots { display: none; }

.lp-card {
    scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
    box-shadow: 0 8px 16px rgba(40, 70, 74, .04); color: var(--ink);
}
.lp-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line-2); }
.lp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.lp-card:hover .lp-card-img img { transform: scale(1.04); }
.lp-card-body { flex: 1; display: grid; align-content: start; gap: 10px; padding: 16px 20px 8px; }
@media (min-width: 768px) { .lp-card-body { padding: 16px 24px 8px; } }
.lp-card h3 { font: 600 1.25rem/1.6rem var(--font-ui); color: var(--ink); }
.lp-card h3 a { color: inherit; }
.lp-card-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .9375rem; }
.lp-card-rate .ap-stars { font-size: .9rem; }
.lp-card-info { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; line-height: 1.25rem; }
.lp-card-info i { width: 18px; flex: 0 0 18px; text-align: center; color: var(--teal); margin-top: 2px; }
.lp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 20px; }
@media (min-width: 768px) { .lp-card-foot { padding: 12px 24px 22px; } }
.lp-card-price { font-size: .875rem; color: var(--muted); }
.lp-card-price b { font-size: 1.25rem; color: var(--ink); font-weight: 700; }
.lp-card .ap-link-cta { min-height: 44px; }

/* ---------------- mobile bottom bar ---------------- */
.lp-mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(14, 36, 43, .08); font-family: var(--font-ui); transition: transform .2s ease;
}
.lp-mbar.is-hidden { transform: translateY(110%); }
.lp-mbar-p { font-size: .875rem; color: var(--muted); line-height: 1.2; }
.lp-mbar-p b { display: block; font-size: 1.25rem; color: var(--ink); }
.lp-mbar .ap-btn { height: 44px; padding: 0 18px; }
@media (max-width: 1023.98px) { body.pw-lot-page { padding-bottom: 72px; } }
@media (min-width: 1024px) { .lp-mbar { display: none; } }

/* ---------------- photo lightbox (pw-lot.js) ---------------- */
.pw-lb { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; background: rgba(14, 36, 43, .94); outline: none; font-family: var(--font-ui); }
.pw-lb[hidden] { display: none; }
.pw-lb-stage { position: relative; width: min(1100px, 94vw); height: min(72vh, 700px); overflow: hidden; border-radius: var(--r); touch-action: pan-y; cursor: grab; user-select: none; }
.pw-lb-track { display: flex; height: 100%; transition: transform .32s cubic-bezier(.4, 0, .2, 1); }
.pw-lb-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.pw-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--teal); font-size: 1rem; cursor: pointer; }
.pw-lb-nav:hover { background: var(--lime); }
.pw-lb-nav.prev { left: 12px; }
.pw-lb-nav.next { right: 12px; }
.pw-lb-close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(251, 252, 249, .16); color: #fff; font-size: 1.1rem; cursor: pointer; }
.pw-lb-close:hover { background: rgba(251, 252, 249, .3); }
.pw-lb-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 6px; justify-content: center; }
.pw-lb-dots button { width: 8px; height: 8px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); padding: 0; cursor: pointer; }
.pw-lb-dots button.on { width: 20px; border-radius: 50rem; background: var(--lime); }
.pw-lb-count { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 50rem; background: rgba(0, 0, 0, .4); color: #fff; font-weight: 600; font-size: .875rem; }
body.pw-lb-open { overflow: hidden; }

/* calendar modal Barlow me (shared widget, sirf is page par) */
.pw-lot-page .apb-rcal { font-family: var(--font-ui); }

/* =====================================================================
   QA round 2 (7-Oct): phone fixes (320-400px), tap targets, 14px notes,
   one-line 24/7 hours, rating-compare notes, carousel CTA, footer seam.
   ===================================================================== */
/* one-line hours (replaces the two 7-day tables) */
.lp-hoursline { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-weight: 500; }
.lp-hoursline i { width: 18px; flex: 0 0 18px; margin-top: 4px; text-align: center; color: var(--teal); }
.lp-sec > .lp-hoursline + h3, .lp-sec > .lp-bullets + .lp-hoursline { margin-top: 18px; }

/* rating-compare: short note under each linked lot; no-score layout (lot without a Google listing) */
.lp-rcmp-note { display: block; margin-top: -8px; font-weight: 400; font-size: .875rem; line-height: 1.25rem; color: var(--muted); }
.lp-rcmp li > span:first-child { min-width: 0; }
@media (min-width: 768px) { .lp-rsum--solo { grid-template-columns: minmax(0, 1fr); } }

/* small notes -> 14px */
.lp-sec .ap-note, .lp-rsum-count, .lp-hours td, .lp-rnote { font-size: .875rem; }

/* tap targets >= 44px */
.lp-car-dots button { width: 44px; height: 44px; }
.lp-car-dots button::before { left: 17px; top: 17px; }
.lp-locard a, .lp-addr a, .lp-g-more, .lp-rcmp a { min-height: 44px; display: inline-flex; align-items: center; }

/* sticky tabs: all five fit at 360; fade hint below 360; not sticky on short phones */
.lp-tabs a { min-width: 44px; text-align: center; }
@media (max-width: 479.98px) { .lp-tabs ul { gap: 10px; } }
@media (max-width: 359.98px) {
    .lp-tabs ul {
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
        padding-right: 24px;
    }
}
@media (max-height: 640px) and (max-width: 767.98px) { .lp-tabs { position: static; } }

/* booking card: dates stack below 360 so "7-Oct-2026" is not cut */
@media (max-width: 359.98px) { .lp-book-row { grid-template-columns: 1fr; gap: 12px; } }

/* rate card on phones */
.lp-rates tbody th { white-space: nowrap; }
@media (max-width: 479.98px) { .lp-rates td.num s { display: block; margin-right: 0; } }
@media (max-width: 359.98px) {
    .lp-rates thead th:nth-child(2), .lp-rates tbody td:nth-child(2) { display: none; }
    .lp-rates th, .lp-rates td { padding: 10px 6px; }
}

/* "More parking near" carousel: CTA never splits; arrows only from tablet up */
.lp-card .ap-link-cta { white-space: nowrap; flex-shrink: 0; }
.lp-card-foot { flex-wrap: wrap; }
@media (max-width: 400px) { .lp-card-foot { gap: 8px; padding: 12px 16px 18px; } }
@media (max-width: 767.98px) { .lp-car-nav { display: none; } }
.lp-car-nav:disabled { visibility: hidden; }

/* phone bar: its space sits inside the dark footer (no white seam under the footer) */
@media (max-width: 1023.98px) {
    body.pw-lot-page { padding-bottom: 0; }
    body.pw-lot-page .ap-footer { padding-bottom: calc(24px + 72px + env(safe-area-inset-bottom)); }
}

/* =====================================================================
   Load polish (10-Oct): from the first painted frame nothing jumps,
   flashes or swaps while the page loads.
   ===================================================================== */
/* photos appear whole - no strip-by-strip paint while the file streams in, and no
   alt text / broken-image icon if a photo fails. onload (inline attr) adds .is-in;
   <noscript> in the head shows them without JS. The owner's skeleton shimmer
   (pw-skeleton.css) runs on the photo's box meanwhile (the img itself is invisible
   until loaded, so its own shimmer would not show) and stops once the photo is in
   (or failed: pw-skeleton.js marks both with .pw-sk-done). */
.lp-g img, .lp-card-img img { opacity: 0; }
.lp-g img.is-in, .lp-card-img img.is-in { opacity: 1; }
.lp-g, .lp-card-img {
    background-color: var(--sk-base, var(--bg-soft));
    background-image: linear-gradient(100deg, var(--sk-base) 20%, var(--sk-shine) 40%, var(--sk-base) 60%);
    background-size: 220% 100%; background-repeat: no-repeat;
    animation: pw-sk-shimmer 1.3s linear infinite;
}
.lp-g:has(> img.is-in), .lp-g:has(> img.pw-sk-done),
.lp-card-img:has(> img.is-in), .lp-card-img:has(> img.pw-sk-done) { animation: none; background-image: none; }
@media (prefers-reduced-motion: reduce) { .lp-g, .lp-card-img { animation: none; } }

/* Leaflet's own #ddd box would flash darker than our placeholder before the tiles */
.lp-map.leaflet-container { background: var(--bg-soft); }

/* "More lots" carousel: its final state is in the HTML (prev disabled, 3 dots);
   desktop with 3 cards = static (what pw-lot.js sets as .is-static) */
@media (min-width: 1024px) {
    .lp-car:not(:has(.lp-car-track > :nth-child(4))) .lp-car-nav,
    .lp-car:not(:has(.lp-car-track > :nth-child(4))) .lp-car-dots { display: none; }
}
/* tablet shows 2 cards = 2 dots (pw-lot.js rebuilds them without data-s) */
@media (min-width: 768px) and (max-width: 1023.98px) { .lp-car-dots button[data-s]:nth-child(3) { display: none; } }

/* booking card dates: an inline script below the layout fills them at parse time; until it
   (or pw-lot.js) has run, the "Select date" placeholder stays invisible so it never swaps to a date */
.lp-book:not(.is-ready) .pwf-date::placeholder { color: transparent; }
