/* theme.css - CruxListing mockup theme */
:root{--brand:#0969ff;--brand-dark:#0757d6;--border:#e3e8f0;--muted:#687386;--green:#19a463;--purple:#7657e8}
body{background:#f7f9fc;padding-bottom:0}
.logo-link{display:flex;align-items:center}
.logo{height:36px}
.site-header,.header-inner{height:68px}
.search-input{height:40px;border-radius:10px;background:#f3f6fb;border-color:transparent}
.btn{height:40px;border-radius:8px;padding:0 16px;font-size:13px;font-weight:700}
.hero{min-height:330px;display:flex;align-items:center;padding:40px 0;color:#fff;background:radial-gradient(900px 300px at 80% 20%,rgba(57,160,255,.35),transparent),linear-gradient(120deg,#05142d 0%,#0a2a55 55%,#124a8a 100%)}
.hero-inner{width:min(1240px,calc(100% - 32px));margin:0 auto}
.hero-content{max-width:760px}
.hero h1{font-size:clamp(32px,5vw,54px);line-height:1.05;letter-spacing:-1.5px;margin-bottom:12px;color:#fff}
.hero h1 span{color:#39a0ff}
.hero .hero-subtitle{color:rgba(255,255,255,.9);font-size:16px;margin-bottom:24px}
.search-box{background:#fff;border-radius:10px;padding:6px;display:grid;grid-template-columns:1.5fr 1fr 110px;gap:6px;box-shadow:0 8px 25px rgba(20,30,50,.18)}
.search-field{display:flex;align-items:center;gap:8px;padding:0 13px;color:#7a8495}
.search-field input{width:100%;height:44px;border:0;outline:0;background:transparent;color:#172033;font-size:14px}
.search-button{height:44px;border:0;border-radius:7px;background:var(--brand);color:#fff;font-weight:700;cursor:pointer}
.search-button:hover{background:var(--brand-dark)}
.popular-searches{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px;font-size:12px;color:#fff}
.popular-searches a{text-decoration:underline;opacity:.9}
.category-nav{background:#fff;border-bottom:1px solid var(--border)}
.category-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:10px;padding:18px 0}
.category-item{text-align:center;padding:10px 5px;border-radius:12px;transition:.2s}
.category-item:hover{background:#f5f8fd;transform:translateY(-2px)}
.category-icon{width:46px;height:46px;margin:0 auto 7px;border-radius:12px;display:grid;place-items:center;font-size:22px;background:#eaf3ff}
.category-item:nth-child(7n+2) .category-icon{background:#e8f2ff}
.category-item:nth-child(7n+3) .category-icon{background:#e8f8ef}
.category-item:nth-child(7n+4) .category-icon{background:#fff2df}
.category-item:nth-child(7n+5) .category-icon{background:#eeeaff}
.category-item:nth-child(7n+6) .category-icon{background:#ffe9ed}
.category-item:nth-child(7n+7) .category-icon{background:#edf2f8}
.category-name{font-size:12px;font-weight:650}
.section{margin-top:38px}
.section-header{margin:0 0 16px;align-items:center}
.section-title{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:750;margin:0}
.fresh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.card{display:block;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(20,30,50,.06);transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(20,30,50,.09)}
.card .card-body{display:block;padding:12px}
.price{font-size:18px;font-weight:800}
.card .card-title{font-size:14px;font-weight:700;margin-top:2px;-webkit-line-clamp:1}
.meta{color:var(--muted);font-size:12px;margin-top:5px;display:flex;flex-wrap:wrap;gap:7px}
.favorite{position:absolute;right:9px;top:9px;width:31px;height:31px;border:0;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;font-size:17px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.favorite.active{color:#e5484d}
.card-image .badge,.pet-image .badge{right:auto;left:9px;top:9px;height:auto;min-width:0;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:750;background:var(--green);color:#fff}
.pet-image .badge.adopt{background:var(--purple)}
.pet-image,.vehicle-image,.property-image{display:flex;align-items:center;justify-content:center;background:#edf1f5}
.split-section{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}
.jobs-list{display:flex;flex-direction:column;gap:10px}
.job-card{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:10px;padding:13px;transition:.2s}
.job-card:hover{border-color:#c9d9f5;box-shadow:0 2px 8px rgba(20,30,50,.06)}
.company-logo{width:48px;height:48px;border-radius:9px;display:grid;place-items:center;background:#eaf3ff;color:var(--brand);font-size:18px;font-weight:800}
.job-title{font-size:14px;font-weight:750}
.company-name{font-size:12px;color:var(--muted)}
.job-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px;color:var(--muted);font-size:11px}
.job-tags{display:flex;gap:5px;margin-top:5px}
.job-tag{background:#f1f4f8;color:#596579;padding:3px 6px;border-radius:4px;font-size:10px}
.job-action{background:#edf5ff;color:var(--brand);padding:7px 10px;border-radius:6px;font-size:11px;font-weight:700;white-space:nowrap}
.jobs-side-card{background:linear-gradient(135deg,#0a2a55,#0969ff);color:#fff;border-radius:14px;padding:24px}
.jobs-side-card h3{font-size:18px;margin-bottom:6px}
.jobs-side-card p{font-size:13px;opacity:.9;margin-bottom:16px}
.jobs-side-btn{display:inline-block;background:#fff;color:var(--brand);padding:10px 16px;border-radius:8px;font-size:13px;font-weight:700}
.vehicle-card{display:block;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:.2s}
.vehicle-card:hover{box-shadow:0 8px 25px rgba(20,30,50,.09)}
.vehicle-image{position:relative;aspect-ratio:1.45/1;overflow:hidden}
.vehicle-image img{width:100%;height:100%;object-fit:cover}
.vehicle-body{padding:11px}
.vehicle-price{font-size:17px;font-weight:800}
.vehicle-name{font-size:13px;font-weight:700;margin-top:2px}
.vehicle-details{display:flex;gap:9px;margin-top:5px;font-size:11px;color:var(--muted)}
.post-cta{display:flex;justify-content:space-between;align-items:center;gap:30px;border-radius:14px;padding:34px;color:#fff;background:linear-gradient(90deg,#03193a,#0a3664 70%,#124a8a)}
.cta-title{font-size:25px;font-weight:800}
.cta-text{margin-top:5px;font-size:13px;color:rgba(255,255,255,.82)}
.cta-button{background:var(--brand);color:#fff;padding:12px 18px;border-radius:8px;font-weight:750;white-space:nowrap}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:#eaf3ff;border-radius:14px;padding:22px}
.trust-text{color:var(--muted);font-size:12px}
.site-footer{background:#071a31;color:#aeb9c9;text-align:left;padding:38px 0 24px;border-top:0}
.footer-brand{color:#fff;font-size:20px;font-weight:800}
.footer-tag{color:#aeb9c9;font-size:12px}
.footer-head{color:#fff;font-size:13px;font-weight:700;margin-bottom:10px}
.footer-col a{display:block;color:#aeb9c9;font-size:12px;margin-bottom:7px}
.footer-col a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.1);padding-top:16px;color:#8491a4;font-size:11px}
@media (max-width:1000px){
.fresh-grid{grid-template-columns:repeat(2,1fr)}
.split-section{grid-template-columns:1fr}
.footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
.site-header,.header-inner{height:58px}
.logo{height:30px}
.hero{min-height:0;padding:28px 0}
.hero .hero-subtitle{font-size:13px}
.category-list{grid-template-columns:repeat(4,1fr);gap:3px}
.section{margin-top:28px}
.section-title{font-size:17px}
.fresh-grid{grid-template-columns:1fr;gap:10px}
.card{display:grid;grid-template-columns:112px 1fr;align-items:center}
.card .card-image{aspect-ratio:auto;height:96px}
.favorite{display:none}
.post-cta{flex-direction:column;align-items:flex-start;padding:22px;gap:16px}
.trust-grid{grid-template-columns:1fr}
.footer-grid{grid-template-columns:1fr 1fr}
}
/* ---- mockup layout v2 ---- */
.home-row{display:grid;gap:24px;margin-top:38px;align-items:start}
.home-row.r1{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
.home-row.r2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.home-col .section{margin-top:0}
.home-col .section+.section{margin-top:30px}
.home-col .section-title{font-size:18px}
.jobs-list .job-action{display:none}
.job-card{grid-template-columns:48px 1fr}
.vehicle-grid,.pet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pet-card{display:block;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.pet-image{position:relative;aspect-ratio:1.25/1;overflow:hidden}
.pet-image img{width:100%;height:100%;object-fit:cover}
.pet-card .badge{display:none}
.pet-body{padding:11px}
.pet-name{font-size:15px;font-weight:800}
.pet-breed{font-size:12px;color:var(--muted)}
.pet-details{display:flex;flex-wrap:wrap;gap:7px;margin-top:5px;font-size:11px;color:var(--muted)}
.real-estate-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.property-card{display:block;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.property-image{position:relative;aspect-ratio:1.7/1;overflow:hidden}
.property-image img{width:100%;height:100%;object-fit:cover}
.property-body{padding:12px}
.property-title{display:none}
.property-price{font-size:19px;font-weight:800}
.marketplace-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.market-item{display:block;padding:0;overflow:hidden}
.market-image{width:100%;height:auto;aspect-ratio:1/1;border-radius:0}
.market-item>div:last-child{padding:10px}
.cta-wrap{display:grid;grid-template-columns:1fr 1fr;border-radius:14px;overflow:hidden;margin:40px 0}
.cta-wrap .post-cta{border-radius:0;margin:0}
.cta-wrap .trust-grid{border-radius:0;margin:0;grid-template-columns:1fr 1fr;align-content:center;gap:16px}
@media (max-width:1000px){.home-row.r1,.home-row.r2{grid-template-columns:1fr}.cta-wrap{grid-template-columns:1fr}}
@media (max-width:640px){.vehicle-grid,.pet-grid,.marketplace-grid{grid-template-columns:repeat(2,1fr);gap:8px}.real-estate-grid{grid-template-columns:1fr}.cta-wrap .trust-grid{grid-template-columns:1fr}}
/* ---- category pages ---- */
.jobs-page{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.jobs-page .job-card{grid-template-columns:48px 1fr auto}
.jobs-page .job-action{display:inline-block}
.cat-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.real-estate-grid.cat-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
@media (max-width:900px){.jobs-page{grid-template-columns:1fr}}
@media (max-width:640px){.cat-grid{grid-template-columns:repeat(2,1fr)}.real-estate-grid.cat-grid{grid-template-columns:1fr}}
/* ---- gallery ---- */
.gallery{position:relative;border-radius:14px;overflow:hidden;background:#111}
.gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-behavior:smooth}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-slide{flex:0 0 100%;width:100%;aspect-ratio:4/3;object-fit:cover;scroll-snap-align:center;scroll-snap-stop:always}
.gallery-count{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:700;padding:4px 9px;border-radius:999px}
.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.9);font-size:26px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.gallery-nav.prev{left:10px}.gallery-nav.next{right:10px}
.thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:10px;scrollbar-width:none}
.thumb{width:64px;height:64px;object-fit:cover;border-radius:8px;border:2px solid transparent;cursor:pointer;flex:0 0 auto;opacity:.7}
.thumb.active{border-color:var(--brand);opacity:1}
@media (max-width:640px){.gallery-nav{display:none}}
/* ---- tablet fresh grid, job badge, logo ---- */
@media (min-width:641px) and (max-width:1000px){.fresh-grid{grid-template-columns:repeat(4,1fr);gap:10px}.fresh-grid .card-body{padding:10px}.fresh-grid .price{font-size:15px}}
.card-image .badge.job{background:var(--brand)}
@media (min-width:641px){.logo{height:48px}}
.card-image .badge.adopt{background:var(--purple)}
/* ---- bottom nav ---- */
.bottom-nav{display:none}
#categories{scroll-margin-top:60px}
@media (max-width:1000px){
.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--border);padding:6px 0 calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px rgba(20,30,50,.06)}
.bn-item{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;font-weight:600;color:var(--muted)}
.bn-item.active{color:var(--brand)}
.bn-post{color:var(--brand)}
body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}
/* ---- gray pin icon ---- */
.pin{display:inline-block;width:12px;height:12px;margin-right:3px;vertical-align:-1px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2'%3E%3Cpath d='M12 22s8-7.2 8-13a8 8 0 1 0-16 0c0 5.8 8 13 8 13z'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
.search-field .pin{width:18px;height:18px;margin:0}
/* ---- search page ---- */
.search-page{padding-top:18px}
.search-bar{background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px;margin-bottom:14px}
.search-bar-main{display:flex;gap:8px}
.sp-input{flex:1;min-width:0;height:44px;padding:0 14px;border:1px solid var(--border);border-radius:10px;font-size:15px;outline:none}
.sp-input:focus{border-color:var(--brand)}
.sp-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border:0;border-radius:10px;background:var(--brand);color:#fff;font-weight:700;font-size:14px;cursor:pointer}
.sp-btn:hover{background:var(--brand-dark)}
.sp-filter-toggle{display:none;height:44px;padding:0 14px;border:1px solid var(--border);border-radius:10px;background:#fff;font-weight:600;cursor:pointer}
.sp-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-top:12px;align-items:end}
.sp-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted)}
.sp-filters select,.sp-filters input[type=number]{height:40px;padding:0 10px;border:1px solid var(--border);border-radius:8px;font-size:14px;background:#fff;color:#172033}
.sp-filters .sp-check{flex-direction:row;align-items:center;gap:8px;height:40px;font-size:14px;color:#172033}
.sp-near{display:flex;gap:6px;align-items:flex-end}
.sp-near-btn{height:40px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:#fff;font-weight:600;cursor:pointer;white-space:nowrap}
.sp-near-btn.on{border-color:var(--brand);color:var(--brand);background:#eaf3ff}
.sp-near select{height:40px;padding:0 8px;border:1px solid var(--border);border-radius:8px;background:#fff}
.sp-actions{display:flex;gap:12px;align-items:center}
.sp-clear{color:var(--muted);font-size:13px;font-weight:600}
.sp-count{color:var(--muted);font-size:13px;margin:6px 0 12px}
.fresh-grid.sp-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.sp-more{text-align:center;margin:24px 0}
.sp-empty{text-align:center;padding:60px 16px;background:#fff;border:1px solid var(--border);border-radius:14px}
.sp-empty h2{margin-bottom:6px}
.sp-empty p{color:var(--muted);margin-bottom:16px}
@media (max-width:700px){.sp-filter-toggle{display:inline-flex;align-items:center}.sp-filters{display:none}.sp-filters.open{display:grid;grid-template-columns:1fr 1fr}.sp-filters .sp-actions{grid-column:1/-1}}
/* ---- search page fixes ---- */
.hide-hs .site-header .search-form{display:none}
.sp-near{grid-column:span 2;min-width:0}
.sp-near select{flex:1;min-width:0}
.sp-actions{grid-column:1/-1}
.sp-clear{white-space:nowrap}
.sp-near select:disabled{display:none}
.sp-grid .job-card{grid-column:1/-1}
/* ---- listing details v2 ---- */
.detail-company{font-size:15px;font-weight:600;color:var(--muted);margin:2px 0 4px}
.price-muted{font-size:16px;font-weight:600;color:var(--muted)}
.stat-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin:14px 0}
.stat-tile{display:flex;flex-direction:column;gap:2px;padding:12px 14px;background:linear-gradient(180deg,#fff,#f3f8ff);border:1px solid #dbe8fb;border-radius:14px}
.stat-value{font-size:17px;font-weight:800;color:#0b1f3a;line-height:1.2}
.stat-label{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.spec-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 18px}
.spec-row{display:flex;flex-direction:column;gap:2px;border:0;padding:0}
.spec-row dt{font-size:12px;color:var(--muted)}
.spec-row dd{font-size:15px;font-weight:700}
.chip-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.chip{padding:7px 12px;border-radius:999px;background:#eaf3ff;color:#0757d6;font-size:13px;font-weight:600}
.description-body{white-space:pre-line;font-size:15px;line-height:1.65;color:#2b3547}
.description-body.clamped{max-height:240px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.desc-toggle{margin-top:8px;border:0;background:none;color:var(--brand);font-weight:700;cursor:pointer;font-size:14px;padding:4px 0}
/* ---- post form category fields ---- */
.post-section[hidden]{display:none}
.af{margin:0 0 16px}
.af-label{display:block;font-size:13px;font-weight:700;color:#2b3547;margin-bottom:6px}
.af-pills{display:flex;flex-wrap:wrap;gap:8px}
.af-pill{padding:9px 14px;border:1px solid var(--border);border-radius:999px;background:#fff;font-size:14px;font-weight:600;cursor:pointer;color:#2b3547}
.af-pill.on{background:var(--brand);border-color:var(--brand);color:#fff}
.af-chip{position:relative;cursor:pointer}
.af-chip input{position:absolute;opacity:0;pointer-events:none}
.af-chip span{display:inline-block;padding:8px 13px;border:1px solid var(--border);border-radius:999px;background:#fff;font-size:13px;font-weight:600;color:#2b3547}
.af-chip input:checked+span{background:#eaf3ff;border-color:var(--brand);color:#0757d6}
.af-step{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff}
.af-step-btn{width:46px;height:44px;border:0;background:#f3f6fb;font-size:22px;cursor:pointer;color:#0b1f3a}
.af-step-val{min-width:54px;text-align:center;font-size:18px;font-weight:800}
/* ---- listing map: circle with border ---- */
.listing-map-square{border-radius:50%;border:3px solid var(--brand);box-shadow:0 8px 32px rgba(30,123,232,.25);background:#f5f8fd}
.listing-map-square .leaflet-top.leaflet-left{top:14%;left:14%}
.listing-map-square .leaflet-bottom.leaflet-right{left:0;right:0;bottom:7%;display:flex;justify-content:center;pointer-events:none}
.listing-map-square .leaflet-control-attribution{font-size:9px;max-width:56%;text-align:center;pointer-events:auto}
.af-pill{text-transform:capitalize}
.map-open{display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:16px auto 0;padding:12px 20px;border-radius:999px;background:var(--brand);color:#fff;font-weight:700;font-size:15px}
.map-open:hover{background:var(--brand-dark)}
/* ---- create listing button + free badge ---- */
.btn-create{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.cl-plus{font-size:19px;font-weight:800;line-height:1}
.free-badge{display:inline-block;padding:2px 8px;border-radius:999px;background:#19a463;color:#fff;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;line-height:1.5;vertical-align:middle}
.page-title .free-badge{font-size:13px;margin-left:10px;padding:3px 10px}
@media (max-width:700px){.btn-create .cl-word{display:none}.btn-create{padding:0 12px;gap:6px}}
/* ---- listing page v3 (mockup layout) ---- */
.ld2{padding-top:14px;padding-bottom:30px}
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin-bottom:14px}
.breadcrumb a{color:var(--muted)}.breadcrumb a:hover{color:var(--brand)}
.bc-sep{opacity:.5}
.ld-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.ld-main{min-width:0;display:flex;flex-direction:column;gap:18px}
.ld-sticky{position:sticky;top:84px;display:flex;flex-direction:column;gap:16px}
.ld-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px}
.ld-h{font-size:18px;font-weight:800;margin:0 0 12px}
.ld-sub{font-size:14px;font-weight:700;margin:16px 0 8px;color:#2b3547}
.ld-head{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px}
.ld-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ld-title-row .detail-title{margin:0;font-size:26px;line-height:1.2}
.ld-heart{position:static;flex:0 0 auto;border:1px solid var(--border);box-shadow:none}
.ld-price-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0 6px}
.ld-price-row .detail-price{font-size:30px;font-weight:800;color:var(--brand);margin:0}
.ld-pill{padding:5px 12px;border-radius:999px;background:#eaf3ff;color:#0757d6;font-size:13px;font-weight:700}
.sold-pill{padding:5px 12px;border-radius:999px;background:#fdecec;color:#c62828;font-size:12px;font-weight:800}
.ld-loc{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:14px;margin:4px 0}
.ld-dot{opacity:.5}
.kf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px 20px}
.kf{display:flex;align-items:center;gap:12px}
.kf-ico{width:40px;height:40px;border-radius:12px;background:#eaf3ff;flex:0 0 auto;position:relative}
.kf-ico::after{content:"";position:absolute;inset:12px;border-radius:50%;background:var(--brand);opacity:.85}
.kf-label{font-size:12px;color:var(--muted)}
.kf-value{font-size:15px;font-weight:700}
.seller-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.seller-av{width:48px;height:48px;border-radius:50%;background:#e3ebf6;color:#46566e;display:grid;place-items:center}
.seller-info{flex:1;min-width:140px}
.seller-name{font-weight:800;font-size:16px}
.seller-sub{font-size:13px;color:var(--muted)}
.seller-btn{padding:10px 16px;border:1px solid var(--brand);border-radius:10px;color:var(--brand);font-weight:700;font-size:14px}
.ld-side .contact-actions{display:flex;flex-direction:column;gap:10px}
.ld-side .contact-action,.ld-side .contact-action-form,.ld-side .contact-login-cta{width:100%}
.ld-mini{display:flex;gap:10px;margin-top:12px}
.ld-mini-btn{flex:1;padding:10px;border:1px solid var(--border);border-radius:10px;background:#fff;font-weight:600;cursor:pointer;font-size:14px}
.ld-dl{margin:0}
.ld-dl>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eef1f6;font-size:14px}
.ld-dl>div:last-child{border-bottom:0}
.ld-dl dt{color:var(--muted)}.ld-dl dd{font-weight:600;text-align:right}
.safe-list{margin:0 0 12px 18px;padding:0;font-size:14px;color:#2b3547;line-height:1.7}
.safe-link{color:var(--brand);font-weight:700;font-size:14px}
.ld-mobilebar{display:none}
@media (max-width:900px){
.ld-grid{grid-template-columns:1fr}
.ld-sticky{position:static}
.ld-title-row .detail-title{font-size:22px}
}
@media (max-width:700px){
.ld2{padding-bottom:84px}
.ld-mobilebar{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:70;background:#fff;border-top:1px solid var(--border);padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
.ldm-form{flex:1;margin:0;display:flex}
.ldm-btn{flex:1;display:flex;align-items:center;justify-content:center;height:46px;border-radius:12px;font-weight:700;font-size:15px;border:1px solid var(--brand);color:var(--brand);background:#fff;cursor:pointer}
.ldm-msg{background:var(--brand);color:#fff}
body:has(.ld-mobilebar) .bottom-nav{display:none}
}
/* ---- listing v3 fixes: map like mockup, equal contact buttons ---- */
.loc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:18px;align-items:start}
.loc-city{font-size:15px;font-weight:700;color:#172033}
.loc-note{margin-top:12px;padding:12px 14px;border-radius:12px;background:#eaf3ff;color:#0757d6;font-size:13px;line-height:1.5}
.ld2 .listing-map-wrap{margin:0}
.ld2 .listing-map-square{width:100%;max-width:none;height:auto;aspect-ratio:16/10;border-radius:14px;border:1px solid var(--border);box-shadow:none}
.ld2 .listing-map-square .leaflet-top.leaflet-left{top:0;left:0}
.ld2 .listing-map-square .leaflet-bottom.leaflet-right{left:auto;right:0;bottom:0;display:block;pointer-events:none}
.ld2 .listing-map-square .leaflet-control-attribution{max-width:none;text-align:right;pointer-events:auto}
.ld2 .map-open{margin:12px auto 0;padding:9px 16px;font-size:14px}
.ld2 .contact-card{min-height:0;height:auto}
.ld2 .ld-side .contact-actions{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;min-height:0}
.ld2 .ld-side .contact-actions>*{flex:0 0 auto}
.ld2 .ld-side .contact-action{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;box-sizing:border-box;padding:0 16px;border-radius:12px;font-size:15px;font-weight:700;line-height:1;cursor:pointer;text-decoration:none}
.ld2 .ld-side .contact-action-call{background:#fff;color:var(--brand);border:1.5px solid var(--brand)}
.ld2 .ld-side .contact-action-msg{background:var(--brand);color:#fff;border:1.5px solid var(--brand)}
.ld2 .ld-side .contact-action-form{display:block;width:100%;margin:0;padding:0}
.ld2 .ld-side .ld-mini{margin-top:14px}
@media (max-width:700px){.loc-grid{grid-template-columns:1fr}}
.kf-ico.has-svg{display:grid;place-items:center}
.kf-ico.has-svg::after{display:none}
.kf-ico svg{fill:none;stroke:var(--brand);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* ---- similar listings ---- */
.ld-similar{margin-top:28px}
.sim-grid .job-card{grid-column:1/-1}
.price-quote{font-size:15px;font-weight:700;color:var(--brand)}

/* listing page v2: description action row + compact details */
.ld-acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:0 0 14px}
.ld-act-form{margin:0;display:flex}
.ld-act{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:46px;box-sizing:border-box;padding:0 14px;border-radius:12px;font-size:15px;font-weight:700;line-height:1;cursor:pointer;text-decoration:none;font-family:inherit}
.ld-act-msg{background:var(--brand);color:#fff;border:1.5px solid var(--brand)}
.ld-act-call{background:#fff;color:var(--brand);border:1.5px solid var(--brand)}
.ld-act-sec{background:#fff;color:#2b3547;border:1px solid var(--border);font-weight:600}
.ld-dl2{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}
.ld-dl2>div:nth-last-child(-n+2){border-bottom:0}
.ld-detailscard .ld-h{margin-bottom:6px}
@media (max-width:700px){
.ld-main{gap:12px}
.ld-card,.ld-head{padding:14px}
.ld-dl2{column-gap:14px}
.ld-dl2>div{font-size:13px;padding:7px 0;flex-direction:column;gap:2px}
.ld-dl2 dd{text-align:left}
.ld-act{height:44px;font-size:14px}
}
.ld-guest{grid-column:1/-1;background:#f3f8ff;border:1px solid #dbe8fb;border-radius:12px;padding:12px}
.ld-guest-msg{margin:0 0 10px;font-size:14px;line-height:1.4;color:#2b3547}
.ld-guest-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ld-guest,.ld-guest-btns{display:contents}
.ld-acts:has(.ld-guest){grid-template-columns:repeat(3,1fr);gap:8px}
.ld-acts:has(.ld-guest) .ld-guest-msg{grid-column:1/-1;margin:0 0 2px;font-size:14px}
.ld-acts:has(.ld-guest) .ld-act{height:42px;padding:0 6px;font-size:14px}
@media (max-width:700px){.ld-acts:has(.ld-guest) .ld-act{height:40px;font-size:13px}}
.ld-acts.ld-acts-guest{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f3f8ff;border:1px solid #dbe8fb;border-radius:14px;padding:14px}
.ld-acts-guest .ld-guest-msg{grid-column:1/-1;margin:0;font-size:15px;font-weight:600;line-height:1.4;color:#1f2a44}
.ld-acts-guest .ld-act{height:42px;padding:0 6px;font-size:14px}
@media (max-width:700px){.ld-acts.ld-acts-guest{padding:12px;gap:8px}.ld-acts-guest .ld-act{height:40px;font-size:13px}}
.post-map-wrap .post-map-circle{width:min(100%,260px);margin:0 auto;border-width:2px;box-shadow:0 4px 16px rgba(30,123,232,.2)}
.post-map-wrap .post-map-circle{border-radius:14px}
@media (max-width:700px){
.hero{min-height:0;padding:16px 0}
.hero h1{font-size:26px;line-height:1.1;letter-spacing:-.8px;margin-bottom:6px}
.hero .hero-subtitle{font-size:12px;margin-bottom:12px}
.popular-searches{margin-top:10px}
}
@media (max-width:820px){
.search-box{grid-template-columns:1fr;gap:8px;padding:8px}
.search-field{height:46px;min-width:0;border:1px solid #e3e8f0;border-radius:8px}
.search-field input{height:44px;min-width:0;font-size:16px}
.search-button{height:46px;width:100%;font-size:15px}
.category-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 0}
.category-item{background:#f3f8ff;border-radius:12px;padding:10px 3px}
.category-item:hover{transform:none}
.category-icon{width:34px;height:34px;margin:0 auto 4px;font-size:20px;background:transparent!important}
.category-name{font-size:11px;line-height:1.2}
.fresh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media (max-width:820px){
.fresh-grid .card{display:block}
.fresh-grid .card .card-image{height:auto;aspect-ratio:4/3}
.fresh-grid .card .card-image img{width:100%;height:100%;object-fit:cover}
.fresh-grid .card-body{padding:10px}
.fresh-grid .price{font-size:16px}
.fresh-grid .card-title{font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fresh-grid .meta{font-size:11px;flex-wrap:wrap}
}
