/* ===== v25: WhatsApp listing detail (design-v4/wa.html) ===== */
body.pg-wa{background:#ECE5DD}
body.pg-wa .app{background:#ECE5DD url(../img/doodle-beige.svg?v=26) repeat;background-size:260px auto;padding-bottom:0;min-height:100vh;font-family:Roboto,'Nunito Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
body.pg-wa main{padding:0!important;margin:0!important;max-width:none}
.wa-hd{position:sticky;top:0;z-index:40;background:linear-gradient(100deg,#075E54,#008069 70%,#0B6E7F);color:#fff;display:flex;align-items:center;gap:6px;padding:10px 8px 10px 4px;height:64px;box-sizing:border-box}
.wa-bk{font-size:26px;width:26px;text-align:center;color:#fff;text-decoration:none;line-height:1;flex:0 0 26px}
.wa-ga{width:40px;height:40px;border-radius:50%;background:#fff;object-fit:cover;flex:0 0 40px}
.wa-gae{display:grid;place-items:center;font-size:22px}
.wa-tt{flex:1;min-width:0;padding-inline-start:4px}.wa-tt b{display:block;font-size:16.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-tt span{display:block;font-size:12.5px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-hi{width:34px;height:34px;display:grid;place-items:center;background:none;border:0;padding:0;cursor:pointer;flex:0 0 34px;border-radius:50%}
.wa-hi:focus-visible{outline:2px solid #fff}
.wa-hi svg{width:22px;height:22px;fill:#fff}
.wa-hd .menupanel{top:58px;right:6px;color:#111}
.wa-hd .menupanel a,.wa-hd .menupanel button{color:#111}
.wa-pin{position:sticky;top:64px;z-index:39;background:#fff;display:flex;align-items:center;gap:10px;padding:8px 12px;box-shadow:0 1px 3px #0002;border-inline-start:4px solid #00A884}
.wa-pi{font-size:15px;color:#667781}
.wa-pin img,.wa-pe{width:40px;height:40px;border-radius:6px;object-fit:cover;flex:0 0 40px}.wa-pe{display:grid;place-items:center;background:#F0F2F5;font-size:22px}
.wa-pt{flex:1;min-width:0}.wa-pt b{display:block;font-size:13.5px;color:#111B21;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-pt span{display:block;font-size:13px;color:#008069;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-vw{font:700 12.5px/1 inherit;color:#008069;background:#fff;border:1px solid #00A884;border-radius:14px;padding:6px 12px;cursor:pointer;flex:0 0 auto}
.wa-th{padding:6px 10px 96px!important}
.wa-dp{display:table;margin:10px auto 8px;background:#E1F2FB;color:#54656F;font-size:12.5px;padding:5px 12px;border-radius:8px;box-shadow:0 1px .5px #0b141a21;font-weight:500}
.wa-sys{margin:6px auto 10px;max-width:330px;background:#FFEECD;color:#54656F;font-size:12.5px;line-height:1.4;text-align:center;padding:7px 12px;border-radius:8px;box-shadow:0 1px .5px #0b141a21}
.wa-empty{background:#fff}
.wa-m{display:flex;margin:2px 0}.wa-m.o{justify-content:flex-end}.wa-m.first{margin-top:8px}
.wa-b{position:relative;max-width:min(300px,82%);min-width:80px;background:#fff;border-radius:8px;padding:5px 8px 6px 9px;box-shadow:0 1px .5px #0b141a21;font-size:15px;color:#111B21;line-height:1.35;overflow-wrap:anywhere}
.wa-m.o .wa-b{background:#DCF8C6}
.wa-m.first .wa-b{border-start-start-radius:0}.wa-m.o.first .wa-b{border-start-start-radius:8px;border-start-end-radius:0}
.wa-m.first:not(.o) .wa-b:before{content:"";position:absolute;inset-inline-start:-8px;top:0;width:8px;height:13px;background:#fff;clip-path:polygon(0 0,100% 0,100% 100%)}
.wa-m.o.first .wa-b:before{content:"";position:absolute;inset-inline-end:-8px;top:0;width:8px;height:13px;background:#DCF8C6;clip-path:polygon(0 0,100% 0,0 100%)}
[dir=rtl] .wa-m.first:not(.o) .wa-b:before{clip-path:polygon(0 0,100% 0,0 100%)}[dir=rtl] .wa-m.o.first .wa-b:before{clip-path:polygon(0 0,100% 0,100% 100%)}
.wa-nm{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;margin-bottom:2px;flex-wrap:wrap}
.wa-nm a{text-decoration:none}
.wa-cp{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 9px;border-radius:11px;background:linear-gradient(90deg,#25D366,#0EA5A4 60%,#3B82F6);color:#fff!important;font-size:11.5px;font-weight:700;box-shadow:0 2px 5px #0EA5A455;text-decoration:none;border:0;margin:0}
.wa-cp svg{width:11px;height:11px;fill:#fff}
.wa-rl{font-size:12px;color:#667781;font-weight:400;margin-inline-start:auto}
.wa-tm{float:right;margin:8px 0 -4px 10px;font-size:11px;color:#667781;display:inline-flex;align-items:center;gap:3px;position:relative;top:2px}
[dir=rtl] .wa-tm{float:left;margin:8px 10px -4px 0}
.wa-tk{width:16px;height:11px}
.wa-ph{position:relative;width:min(270px,100%);aspect-ratio:27/20;border-radius:6px;background:#F0F2F5;margin:2px 0 4px;overflow:hidden}
.wa-ph a,.wa-ph img{display:block;width:100%;height:100%}.wa-ph img{object-fit:contain}
.wa-ph .gbtn{position:absolute;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;border:0;background:#0007;color:#fff;font-size:20px;line-height:1;cursor:pointer}
.wa-ph #galPrev{left:6px}.wa-ph #galNext{right:6px}
.wa-pc{position:absolute;right:6px;bottom:6px;background:#0009;color:#fff;font-size:12px;padding:2px 7px;border-radius:9px}
.wa-noph{display:grid;place-items:center;align-content:center;gap:2px;color:#667781;font-size:12px}.wa-noph b{font-size:46px}
.wa-ttl{font-weight:600}
.wa-pr{font-size:22px;font-weight:700;color:#008069}
.wa-ng{display:inline-block;font-size:12px;background:#D9FDD3;color:#008069;padding:2px 7px;border-radius:6px;font-weight:600;margin-inline-start:6px;vertical-align:3px}
.wa-sold{background:#FDE2E1;color:#B42318}
.wa-det{min-width:min(280px,82%)}.wa-dh{display:block;font-size:14px;margin-bottom:4px}
.wa-det dl{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin:0;font-size:13.5px}.wa-det dt{color:#667781}.wa-det dd{margin:0;font-weight:500}
.wa-fl{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.wa-fl span{font-size:12px;background:#F0F2F5;border-radius:10px;padding:2px 8px}
.wa-own{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.wa-own form{margin:0}
.wa-of{font-size:14.5px;margin-bottom:2px}.wa-b.offer{border:2px solid #25D366}
.wa-ofa{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.wa-ofa input{max-width:90px;padding:4px 6px}
.wa-cimg{display:block;max-width:100%;max-height:260px;border-radius:6px;margin:2px 0 4px;object-fit:contain;background:#F0F2F5}
.wa-in{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;display:flex;gap:6px;align-items:flex-end;padding:6px 6px calc(8px + env(safe-area-inset-bottom));z-index:60;box-sizing:border-box}
.wa-box{flex:1;min-width:0;min-height:48px;border-radius:24px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 10px;box-shadow:0 1px .5px #0b141a21}
.wa-box textarea{flex:1;min-width:0;border:0!important;outline:0;resize:none;background:transparent;font:16px/1.35 inherit;color:#111B21;padding:13px 2px!important;margin:0!important;max-height:120px;box-shadow:none!important;min-height:0!important}
.wa-box textarea::placeholder{color:#8696A0}
.wa-ic{background:none;border:0;padding:0;width:28px;height:28px;display:grid;place-items:center;cursor:pointer;flex:0 0 28px}
.wa-ic svg{width:23px;height:23px;fill:#8696A0}
.wa-box .waname{font-size:11px;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#008069}
.wa-mic{width:48px;height:48px;border-radius:50%;background:#00A884;border:0;display:grid;place-items:center;box-shadow:0 1px 3px #0003;cursor:pointer;flex:0 0 48px}
.wa-mic svg{width:22px;height:22px;fill:#fff}.wa-mic .i-send{display:none}.wa-mic.send .i-send{display:block}.wa-mic.send .i-mic{display:none}
.wa-mic.recording{background:#E53935;animation:wapulse 1s infinite}@keyframes wapulse{50%{box-shadow:0 0 0 8px #E5393533}}
.wa-emo{position:fixed;bottom:64px;left:50%;transform:translateX(-50%);width:calc(100% - 16px);max-width:464px;background:#fff;border-radius:16px;box-shadow:0 8px 24px #0003;padding:8px;display:grid;grid-template-columns:repeat(10,1fr);gap:2px;z-index:61}
.wa-emo[hidden]{display:none!important}.wa-emo button{background:none;border:0;font-size:22px;padding:4px 0;cursor:pointer}
.wa-msg{position:fixed;bottom:62px;left:50%;transform:translateX(-50%);margin:0;max-width:440px;z-index:59;background:#fff;border-radius:8px;padding:0 8px}.wa-msg:empty{display:none}
[dir=rtl] .wa-bk{transform:scaleX(-1)}
@media (prefers-reduced-motion:reduce){.wa-mic.recording{animation:none}}
/* ===== v25: v4 cards on My Listings / Profile / Offers ===== */
.lc-x{margin-top:10px;padding-top:10px;border-top:1px dashed #E2E8F0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.lc-x .mlactions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.lc-x form{margin:0}.lc-x .actions{display:flex;gap:10px;align-items:center}
.lc-x .morewrap{position:relative}.lc-x .moremenu{display:none;position:absolute;inset-inline-end:0;bottom:38px;background:#fff;border:1px solid #ddd;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.14);padding:5px;z-index:30;min-width:150px}.lc-x .moremenu.open{display:block}.lc-x .moremenu button{display:block;width:100%;text-align:start;background:none;border:0;padding:8px 10px;font-size:14px;cursor:pointer;border-radius:7px}.lc-x .moremenu button:hover{background:#f1f8f3}.lc-x .moremenu .delitem{color:#c62828!important}.lc:has(.lc-x .morewrap){overflow:visible!important}
.of-strip{width:100%;font-size:14px}.of-strip b{color:#008069}
/* ===== v25: desktop multi-column ===== */
.lc-grid #feedSentinel,.lc-grid .h24more{grid-column:1/-1}
@media (min-width:1024px){
 .app{max-width:1240px;box-shadow:none;background:#f6f6f6}
 main{max-width:620px;margin:0 auto}
 body.wide main{max-width:none;padding:0 28px}
 body.wide .lc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
 body.wide .lc-grid .lc{margin:0!important}
 body.wide form.h24search{max-width:760px;margin-left:auto!important;margin-right:auto!important}
 .bottom{max-width:560px;bottom:14px;border-radius:22px;border:1px solid #e5e7eb;box-shadow:0 10px 30px rgba(15,23,42,.14)}
 body.pg-wa .app{max-width:880px;box-shadow:0 0 24px rgba(0,0,0,.12)}
 body.pg-wa .wa-in,body.pg-wa .wa-emo{max-width:880px}
 body.pg-wa .wa-b{max-width:min(460px,70%)}
 body.pg-wa .wa-th{padding:8px 22px 100px!important}
 body.pg-wa .wa-ph{width:min(420px,100%)}
}
@media (min-width:1440px){body.wide .lc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
