.unified-ad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.unified-ad-card{display:block;background:#fff;border:1px solid #e2eae5;border-radius:24px;overflow:hidden;text-decoration:none;color:#173126;box-shadow:0 10px 32px rgba(19,54,36,.08);transition:.22s ease}.unified-ad-card:hover{transform:translateY(-5px);box-shadow:0 20px 46px rgba(19,54,36,.14);border-color:#c6dccd}.unified-ad-image{position:relative;aspect-ratio:16/10;background:linear-gradient(145deg,#eef5f0,#e2ebe5);overflow:hidden}.unified-ad-image>img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.unified-ad-card:hover .unified-ad-image>img{transform:scale(1.035)}.unified-ad-image>span{width:100%;height:100%;display:grid;place-items:center;font-size:48px}.unified-ad-image em{position:absolute;right:12px;bottom:12px;max-width:72%;padding:7px 11px;border-radius:999px;background:rgba(9,61,38,.9);backdrop-filter:blur(8px);color:#fff;font-style:normal;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unified-featured{position:absolute;left:12px;top:12px;padding:7px 11px;border-radius:999px;background:#36ee38;color:#073719;font-size:11px;box-shadow:0 6px 18px rgba(33,214,58,.25)}.unified-ad-body{padding:17px}.unified-ad-body h3{margin:0 0 13px;font-size:18px;color:#16291f;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unified-ad-identity{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.unified-ad-identity span,.unified-ad-meta span{min-width:0;padding:9px 8px;border:1px solid #e7eee9;background:#f7faf8;border-radius:12px}.unified-ad-identity small,.unified-ad-identity b,.unified-ad-meta small,.unified-ad-meta b{display:block}.unified-ad-identity small,.unified-ad-meta small{margin-bottom:4px;color:#87948d;font-size:10px}.unified-ad-identity b,.unified-ad-meta b{color:#334b3e;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unified-ad-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:15px}.unified-ad-price{display:flex;align-items:end;justify-content:space-between;gap:10px;padding-top:13px;border-top:1px solid #edf1ee}.unified-ad-price small{color:#8a968f;font-size:11px}.unified-ad-price strong{color:#0c633a;font-size:17px;white-space:nowrap}.unified-ad-body>strong{display:block;padding-top:13px;border-top:1px solid #edf1ee;color:#105f39;font-size:17px}.home-showroom-latest{margin-top:36px;margin-bottom:34px}.showroom-home-card{border-color:#d9e8de}.showroom-home-card .unified-ad-image:after{content:"نمایشگاهی";position:absolute;left:12px;bottom:12px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.92);color:#155f3c;font-size:10px;font-weight:900}.unified-pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:30px 0}.unified-pagination a{min-width:40px;height:40px;padding:0 11px;display:grid;place-items:center;border:1px solid #dfe8e2;border-radius:12px;text-decoration:none;color:#345143;background:#fff}.unified-pagination a.active,.unified-pagination a:hover{background:#126d42;color:#fff;border-color:#126d42}.home-latest-pagination{margin-bottom:4px}.empty-state,.empty-showrooms{grid-column:1/-1;padding:34px;text-align:center;border:1px dashed #d8e3dc;border-radius:20px;color:#718078;background:#fafcfb}@media(max-width:980px){.unified-ad-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.unified-ad-grid{grid-template-columns:1fr;gap:14px}.unified-ad-card{border-radius:19px}.unified-ad-image{aspect-ratio:16/9}.unified-ad-body{padding:14px}.unified-ad-body h3{font-size:16px}.unified-ad-price strong{font-size:15px}}

/* Home showroom cards V4 — isolated styles to prevent old slider/card CSS conflicts */
.hsla-v4{margin-top:38px!important;margin-bottom:38px!important;overflow:visible!important}
.hsla-v4 .hsla-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;width:100%!important;overflow:visible!important;align-items:stretch!important}
.hsla-v4 .hsla-card{display:flex!important;flex-direction:column!important;position:relative!important;height:auto!important;min-height:420px!important;background:#fff!important;border:1px solid #dbe8df!important;border-radius:22px!important;overflow:hidden!important;text-decoration:none!important;color:#183126!important;box-shadow:0 10px 28px rgba(18,67,42,.09)!important;transform:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
.hsla-v4 .hsla-card:hover{transform:translateY(-4px)!important;box-shadow:0 18px 38px rgba(18,67,42,.15)!important;border-color:#bcd8c6!important}
.hsla-v4 .hsla-image{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/10!important;min-height:180px!important;background:#edf4ef!important;overflow:hidden!important;flex:none!important}
.hsla-v4 .hsla-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;max-width:none!important}
.hsla-v4 .hsla-placeholder{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;font-size:44px!important}
.hsla-v4 .hsla-badges{position:absolute!important;top:12px!important;left:12px!important;display:flex!important;gap:6px!important;z-index:2!important}
.hsla-v4 .hsla-featured,.hsla-v4 .hsla-showroom-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:6px 10px!important;border-radius:999px!important;font-size:10px!important;line-height:1!important;font-style:normal!important}
.hsla-v4 .hsla-featured{background:#39ef39!important;color:#06431e!important}
.hsla-v4 .hsla-showroom-badge{background:rgba(255,255,255,.94)!important;color:#15653d!important}
.hsla-v4 .hsla-showroom-name{position:absolute!important;right:12px!important;bottom:12px!important;left:auto!important;top:auto!important;display:block!important;max-width:72%!important;padding:7px 10px!important;border-radius:999px!important;background:rgba(9,76,45,.9)!important;color:#fff!important;font-size:10px!important;font-weight:800!important;font-style:normal!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;z-index:2!important}
.hsla-v4 .hsla-body{display:flex!important;flex-direction:column!important;flex:1!important;height:auto!important;min-height:220px!important;padding:15px!important;background:#fff!important;visibility:visible!important;opacity:1!important;overflow:visible!important}
.hsla-v4 .hsla-body h3{display:block!important;margin:0 0 12px!important;color:#14291e!important;font-size:17px!important;font-weight:900!important;line-height:1.55!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.hsla-v4 .hsla-identity{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-bottom:7px!important}
.hsla-v4 .hsla-meta{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-bottom:13px!important}
.hsla-v4 .hsla-identity span,.hsla-v4 .hsla-meta span{display:block!important;min-width:0!important;padding:8px!important;border:1px solid #e5eee8!important;border-radius:11px!important;background:#f7faf8!important;text-align:right!important}
.hsla-v4 .hsla-identity small,.hsla-v4 .hsla-meta small{display:block!important;margin:0 0 3px!important;color:#8a9890!important;font-size:9px!important;line-height:1.3!important}
.hsla-v4 .hsla-identity b,.hsla-v4 .hsla-meta b{display:block!important;color:#304b3b!important;font-size:11px!important;line-height:1.4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.hsla-v4 .hsla-footer{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:10px!important;margin-top:auto!important;padding-top:12px!important;border-top:1px solid #eaf0ec!important}
.hsla-v4 .hsla-footer span{display:block!important;min-width:0!important}
.hsla-v4 .hsla-footer small{display:block!important;color:#8b9890!important;font-size:9px!important;margin-bottom:3px!important}
.hsla-v4 .hsla-footer strong{display:block!important;color:#0b6c3d!important;font-size:14px!important;line-height:1.35!important;white-space:nowrap!important}
.hsla-v4 .hsla-view{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:7px 9px!important;border-radius:10px!important;background:#edf7f0!important;color:#16693f!important;font-size:9px!important;white-space:nowrap!important}
@media(max-width:1180px){.hsla-v4 .hsla-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.hsla-v4 .hsla-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:580px){.hsla-v4 .hsla-grid{grid-template-columns:1fr!important;gap:14px!important}.hsla-v4 .hsla-card{min-height:0!important;border-radius:18px!important}.hsla-v4 .hsla-image{min-height:0!important;aspect-ratio:16/9!important}.hsla-v4 .hsla-body{min-height:0!important}.hsla-v4 .hsla-footer strong{font-size:15px!important}}

/* V6: AJAX pagination for homepage showroom inventory */
.hsla-v4 .hsla-feed{position:relative;min-height:120px}
.hsla-v4 .hsla-feed.is-loading{pointer-events:none}
.hsla-v4 .hsla-feed.is-loading:before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.72);backdrop-filter:blur(2px);z-index:20;border-radius:22px}
.hsla-v4 .hsla-feed.is-loading:after{content:"";position:absolute;z-index:21;top:50%;left:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border:3px solid #dce9e1;border-top-color:#147044;border-radius:50%;animation:hslaSpin .65s linear infinite}
@keyframes hslaSpin{to{transform:rotate(360deg)}}
.hsla-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:26px auto 8px;direction:rtl}
.hsla-pagination .hsla-page{min-width:42px;height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce8e0;border-radius:12px;background:#fff;color:#28503c;text-decoration:none;font-size:12px;font-weight:800;box-shadow:0 4px 14px rgba(17,73,43,.05);transition:.18s ease}
.hsla-pagination .hsla-page:hover{border-color:#9bc7ac;background:#f1f8f4;color:#0d6a3c;transform:translateY(-1px)}
.hsla-pagination .hsla-page.active{background:#126d42;color:#fff;border-color:#126d42;box-shadow:0 7px 18px rgba(18,109,66,.2)}
.hsla-pagination .hsla-page.disabled{opacity:.42;pointer-events:none}
.hsla-pagination .hsla-prev,.hsla-pagination .hsla-next{min-width:72px}
.hsla-pagination .hsla-dots{display:inline-flex;align-items:center;justify-content:center;min-width:25px;color:#8a9890;font-weight:900}
.hsla-page-status{text-align:center;color:#87958d;font-size:11px;margin-top:8px}
@media(max-width:580px){.hsla-pagination{gap:6px;margin-top:20px}.hsla-pagination .hsla-page{min-width:38px;height:38px;padding:0 10px;border-radius:10px}.hsla-pagination .hsla-prev,.hsla-pagination .hsla-next{min-width:62px}.hsla-page-status{font-size:10px}}
