/* =========================================================================
   Jahaniyan — ظاهر دیواری (Divar)
   این فایل آخرین استایل بارگذاری‌شده است و فقط ظاهر را عوض می‌کند؛ هیچ منطقی
   (ثبت آگهی، چت، پرداخت، المنتور، نشان‌کردن، ...) را تغییر نمی‌دهد.
   نوار کنار فقط در دسکتاپ (۱۰۲۵ پیکسل به بالا) نمایش داده می‌شود.
   ========================================================================= */
:root{
  --jh-red:#a62626; --jh-red-d:#8f1f1f; --jh-tx:#3a3a3a; --jh-head:#2b2b2b;
  --jh-mut:#8d8d8d; --jh-line:#e0e0e0; --jh-fill:#f2f2f2;
}
body.jh-divar{background:#fff;color:var(--jh-tx)}

/* ------------------------------ هدر ------------------------------ */
body.jh-divar .jhe-header{background:#fff!important;border-bottom:0!important;box-shadow:0 1px 6px rgba(0,0,0,.09)!important}
body.jh-divar .jhe-item-front{font-size:15px;border-radius:6px;color:var(--jh-tx)!important}
body.jh-divar .jhe-item-front:hover{background:var(--jh-fill)!important;color:var(--jh-tx)!important}
body.jh-divar .jhe-header button.jhe-city-trigger,
body.jh-divar .jhe-header button.jhe-cats-trigger{background:transparent!important}
body.jh-divar .jhe-header button.jhe-city-trigger:hover,
body.jh-divar .jhe-header button.jhe-cats-trigger:hover{background:var(--jh-fill)!important;color:var(--jh-tx)!important}
body.jh-divar .jhe-header .jhe-submit{background:var(--jh-red)!important;color:#fff!important;font-weight:700;padding-inline:24px;border-radius:6px}
body.jh-divar .jhe-header .jhe-submit:hover{background:var(--jh-red-d)!important;color:#fff!important}
body.jh-divar .jhe-header .jhe-search-form{background:var(--jh-fill)!important;border:0!important;border-radius:6px!important}
body.jh-divar .jhe-header .jhe-search-form input[type=search]{font-size:14px;padding-top:12px;padding-bottom:12px;box-shadow:none!important}
body.jh-divar .jhe-header .jhe-search-form button{color:var(--jh-mut)}
body.jh-divar .jhe-header .jhe-search{max-width:620px}
body.jh-divar .jhe-modal-box{border-radius:8px}
body.jh-divar .jhe-chip:hover{background:#fbeeee;border-color:var(--jh-red);color:var(--jh-red)!important}

/* ---------- ناحیهٔ بالای صفحه (hero) سفید و ساده؛ جستجوی بزرگ حذف می‌شود ---------- */
body.jh-divar .hero{background:#fff!important}
body.jh-divar .hero .hero-wrapper{padding-bottom:0}
body.jh-divar .hero .background{display:none}
body.jh-divar .hero .hero-form,
body.jh-divar .hero #collapseMainSearchForm{display:none!important}
body.jh-divar .hero .website_header_slogan{display:none}
body.jh-divar .hero .page-title{padding-top:0}
body.jh-divar.single-product .hero .page-title{padding:26px 0 6px}
body.jh-divar.single-product .hero .page-title h1{font-size:28px;font-weight:700;line-height:1.6;margin:0 0 6px;color:var(--jh-head)}
body.jh-divar.single-product .hero .page-title h1 a{color:inherit}
body.jh-divar.single-product .hero .page-title h4{opacity:1;color:var(--jh-tx);font-size:15px;font-weight:400}
body.jh-divar.single-product .hero .page-title .price .number{font-size:22px;font-weight:700;color:var(--jh-head)}
body.jh-divar.single-product .hero .page-title .price .id{font-size:13px;color:var(--jh-mut)}
body.jh-divar .block{padding-top:0}

/* ------------------- چیدمان صفحه با نوار کنار ------------------- */
body.jh-divar .jh-with-side{width:100%;max-width:1500px;padding-inline:14px;margin-inline:auto}
body.jh-divar .jh-with-side::before,
body.jh-divar .jh-with-side::after{display:none!important}
@media (min-width:1025px){
  body.jh-divar .jh-with-side{display:grid;grid-template-columns:300px minmax(0,1fr);column-gap:28px;row-gap:0;align-items:start;padding-top:22px}
  body.jh-divar .jh-with-side > .jh-side{grid-column:1;grid-row:1 / span 30;position:sticky;top:90px;align-self:start}
  body.jh-divar .jh-with-side > :not(.jh-side){grid-column:2;min-width:0}
  body.jh-divar .jh-with-side .cata-sub-nav{display:none}
}
/* موبایل و تبلت: نوار کنار اصلاً نیست */
@media (max-width:1024px){
  body.jh-divar .jh-side{display:none!important}
  body.jh-divar .jh-with-side{display:block;padding-top:8px}
}

/* ------------------------------ نوار کنار ------------------------------ */
.jh-side{font-size:15px;color:var(--jh-tx)}
.jh-side__title{font-size:13px;font-weight:500;margin:4px 0 12px;color:var(--jh-tx)}
.jh-side__title small{font-size:13px;color:var(--jh-mut);font-weight:400}
.jh-side__title--lg{font-size:16px;font-weight:700}
.jh-cats{list-style:none;margin:0;padding:0}
.jh-cats li a{display:flex;align-items:center;gap:12px;padding:10px 0;color:#4b4b4b;font-size:15px;text-decoration:none}
.jh-cats li a:hover,.jh-cats li.is-current > a{color:var(--jh-red)}
.jh-cats li.is-current > a{font-weight:700}
.jh-cats__ico{flex:none;width:24px;height:24px;font-size:20px;line-height:24px;text-align:center;color:#6b6b6b;object-fit:contain}
.jh-cats__back a{color:var(--jh-mut)!important;font-size:14px}
.jh-cats__head a{font-weight:700;color:var(--jh-head)!important}
.jh-cats__child a{padding-inline-start:18px}
.jh-side__sep{border:0;border-top:1px solid var(--jh-line);margin:18px 0 22px}
.jh-price{margin:0}
.jh-price__row{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.jh-price__row span{width:20px;text-align:center;font-size:14px;color:#6b6b6b}
.jh-price__row input{flex:1;min-width:0;height:50px;border:1px solid #c9c9c9;border-radius:4px;padding:0 12px;font:inherit;font-size:14px;background:#fff;color:var(--jh-tx);outline:0;box-shadow:none}
.jh-price__row input:focus{border-color:var(--jh-red)}
.jh-price__submit{display:block;width:100%;height:42px;border:1px solid var(--jh-red);background:#fff;color:var(--jh-red);border-radius:4px;font:inherit;font-weight:700;cursor:pointer}
.jh-price__submit:hover{background:var(--jh-red);color:#fff}

/* ----------------- تیتر بالای لیست (صفحهٔ اول) ----------------- */
body.jh-divar .ad-list-block .section-title{border:0;background:none;padding:0;margin:6px 0 18px;text-align:start}
body.jh-divar .ad-list-block .section-title h2{font-size:13px;font-weight:400;color:var(--jh-mut);margin:0;padding:0}
body.jh-divar .ad-list-block .section-title h2::before,
body.jh-divar .ad-list-block .section-title h2::after{display:none}

/* ------------------------------ شبکهٔ آگهی‌ها ------------------------------ */
body.jh-divar .row.items:not(.owl-carousel){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
body.jh-divar .row.items:not(.owl-carousel)::before,
body.jh-divar .row.items:not(.owl-carousel)::after{display:none!important}
@media (min-width:1500px){body.jh-divar .row.items:not(.owl-carousel){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1024px){body.jh-divar .row.items:not(.owl-carousel){gap:14px}}
@media (max-width:760px){body.jh-divar .row.items:not(.owl-carousel){grid-template-columns:1fr;gap:0}}

/* ------------------------------ کارت آگهی ------------------------------ */
body.jh-divar .items > .jh-card{position:relative;float:none;width:auto;max-width:none;flex:none;margin:0;padding:0;background:#fff;border:1px solid var(--jh-line);border-radius:4px;box-shadow:none;transform:none;overflow:visible;transition:box-shadow .15s}
body.jh-divar .items > .jh-card:hover{box-shadow:0 2px 12px rgba(0,0,0,.1);transform:none}
body.jh-divar .jh-card .wrapper{position:relative;display:flex;align-items:stretch;gap:20px;height:100%;min-height:212px;margin:0;padding:20px;background:transparent;border:0;border-radius:0;box-shadow:none;transform:none;overflow:visible;box-sizing:border-box}
body.jh-divar .jh-card .wrapper:hover{transform:none;box-shadow:none}
body.jh-divar .jh-card .jh-card__text{order:1;flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
body.jh-divar .jh-card .jh-card__text a.title{display:block;color:var(--jh-head);text-decoration:none}
body.jh-divar .jh-card .jh-card__text h2{margin:0;padding:0;border:0;background:none;text-align:start;font-size:16px;font-weight:700;line-height:1.9;color:var(--jh-head);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;position:static}
body.jh-divar .jh-card .jh-card__text h2::before,
body.jh-divar .jh-card .jh-card__text h2::after{display:none}
body.jh-divar .jh-card .jh-card__meta{display:flex;flex-direction:column;font-size:14px;line-height:2;color:var(--jh-mut)}
body.jh-divar .jh-card .price{position:static;inset:auto;display:block;transform:none;margin:0;padding:0;border:0;background:none;box-shadow:none;border-radius:0;font-size:14px;font-weight:500;color:var(--jh-tx);line-height:2}
body.jh-divar .jh-card .price::before,
body.jh-divar .jh-card .price::after{display:none}
body.jh-divar .jh-card .jh-card__time{display:block;color:var(--jh-mut)}
body.jh-divar .jh-card .image{order:2;position:relative;flex:0 0 170px;width:170px;height:170px;margin:0;padding:0;border-radius:4px;overflow:hidden;background:#eee}
body.jh-divar .jh-card .image::before,
body.jh-divar .jh-card .image::after{display:none}
body.jh-divar .jh-card .image a.title{display:block;width:100%;height:100%}
body.jh-divar .jh-card .image img{position:static;display:block;width:100%;height:100%;max-width:none;object-fit:cover;transform:none;border-radius:0}
body.jh-divar .jh-card .jh-card__count{position:absolute;top:8px;inset-inline-start:8px;display:inline-flex;align-items:center;gap:5px;background:rgba(0,0,0,.62);color:#fff;border-radius:4px;padding:0 8px;font-size:12px;line-height:22px;z-index:2}
body.jh-divar .jh-card .ad_visit{display:none}
body.jh-divar .jh-card .bookmark{position:absolute;top:28px;inset-inline-end:28px;z-index:3;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.93);box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:0;line-height:0;color:transparent;cursor:pointer;display:grid;place-items:center;padding:0;margin:0}
body.jh-divar .jh-card .bookmark::before{content:"\f097";font-family:FontAwesome,'fontawesome';font-size:15px;line-height:1;color:#555}
body.jh-divar .jh-card .bookmark.favorited-ad::before{content:"\f02e";color:var(--jh-red)}
body.jh-divar .jh-card .ribbon-featured{z-index:4}
@media (max-width:1250px){
  body.jh-divar .jh-card .image{flex-basis:150px;width:150px;height:150px}
  body.jh-divar .jh-card .wrapper{min-height:190px;padding:16px;gap:16px}
  body.jh-divar .jh-card .bookmark{top:24px;inset-inline-end:24px}
}
@media (max-width:760px){
  body.jh-divar .items > .jh-card{border-width:0 0 1px;border-radius:0}
  body.jh-divar .items > .jh-card:hover{box-shadow:none}
  body.jh-divar .jh-card .wrapper{min-height:0;padding:14px 12px;gap:12px}
  body.jh-divar .jh-card .image{flex-basis:118px;width:118px;height:118px}
  body.jh-divar .jh-card .jh-card__text h2{font-size:15px}
  body.jh-divar .jh-card .jh-card__meta{font-size:13px;line-height:1.9}
  body.jh-divar .jh-card .bookmark{top:20px;inset-inline-end:20px;width:26px;height:26px}
}

/* دکمهٔ «جستجوی پیشرفته» و «آگهی‌های بیشتر» */
body.jh-divar .alternative-search-form > a.icon{display:inline-flex;align-items:center;gap:6px;border:1px solid #bdbdbd;border-radius:4px;padding:8px 16px;color:var(--jh-tx);background:#fff;text-decoration:none}
body.jh-divar .alternative-search-form > a.icon:hover{background:var(--jh-fill)}
body.jh-divar .ad-load-more .btn.loadmore{border-radius:4px;border-color:var(--jh-red);color:var(--jh-red);background:#fff}
body.jh-divar .ad-load-more .btn.loadmore:hover{background:var(--jh-red);color:#fff}

/* ------------------------------ صفحهٔ تک‌آگهی ------------------------------ */
@media (min-width:768px){
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row{flex-wrap:nowrap;align-items:flex-start}
  /* اطلاعات و دکمه‌های تماس سمت راست، گالری سمت چپ (مثل دیوار) */
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row > .col-md-4{order:1;flex:0 0 44%;max-width:44%}
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row > .charsoogh-content{order:2;flex:0 0 56%;max-width:56%}
}
body.jh-divar.single-product .sidebar .box{background:transparent;border:0;box-shadow:none;padding:0}
body.jh-divar.single-product .sidebar .contact-box{margin:0 0 14px;display:flex;gap:12px;flex-wrap:nowrap}
body.jh-divar.single-product .sidebar .contact-box .btn{height:50px;border-radius:4px;font-weight:700;margin:0;flex:1 1 0;max-width:none;width:auto}
body.jh-divar.single-product .sidebar .contact-box .btn.contact_info{background:var(--jh-red);border-color:var(--jh-red);color:#fff}
body.jh-divar.single-product .sidebar .contact-box .btn.contact_info:hover{background:var(--jh-red-d);border-color:var(--jh-red-d)}
body.jh-divar.single-product .sidebar .contact-box .btn-framed{background:#fff;color:var(--jh-tx);border:1px solid #bdbdbd}
body.jh-divar.single-product .sidebar .contact-box .btn-framed:hover{background:var(--jh-fill)}
body.jh-divar.single-product .charsoogh-content .box,
body.jh-divar.single-product .sidebar .box.mapbox{border:0;box-shadow:none;border-radius:0;background:transparent}
body.jh-divar.single-product .charsoogh-content .box-title{font-size:16px;font-weight:700;color:var(--jh-head)}
body.jh-divar.single-product .charsoogh-content .highlight-main,
body.jh-divar.single-product .charsoogh-content .highlight-thumbs img{border-radius:6px}
body.jh-divar.single-product .sidebar .warning_ad{border-radius:4px}

/* ------------------------------ فوتر ------------------------------ */
body.jh-divar .footer{background:#f7f7f7;color:#555;border-top:1px solid var(--jh-line)}
body.jh-divar .footer .background{display:none}
body.jh-divar .footer h2{color:var(--jh-head)}
body.jh-divar .footer a{color:#555}
body.jh-divar .footer a:hover{color:var(--jh-red)}

/* =========================================================================
   v2 — هدر یکدست با دیوار + صفحهٔ تک‌آگهی + هماهنگی همهٔ صفحات
   ========================================================================= */

/* ------------------------------ هدر (دسکتاپ) ------------------------------ */
body.jh-divar .jhe-header .jhe-items-front{gap:6px}
body.jh-divar .jhe-header .jhe-logo{padding-inline-end:20px;margin-inline-end:10px;border-inline-end:1px solid var(--jh-line);border-radius:0}
body.jh-divar .jhe-header .jhe-logo:hover{background:transparent!important}
body.jh-divar .jhe-header .jhe-item-front{font-size:15px;font-weight:400}
body.jh-divar .jhe-header .jhe-city-trigger .jhe-svg-icon{color:#6b6b6b}
body.jh-divar .jhe-header .jhe-cats-trigger{gap:6px}
body.jh-divar .jhe-header .jhe-cats-trigger .jhe-chevron{color:#6b6b6b}
/* جستجو عریض می‌شود و دکمه‌های سمت دیگر به انتهای نوار می‌چسبند */
body.jh-divar .jhe-header .jhe-search{flex:1 1 auto;max-width:620px;margin-inline-end:auto}
body.jh-divar .jhe-header .jhe-search-form input[type=search]::placeholder{color:#8d8d8d}
body.jh-divar .jhe-header .jhe-account,
body.jh-divar .jhe-header .jhe-chat,
body.jh-divar .jhe-header .jhe-support{color:var(--jh-tx)!important}
body.jh-divar .jhe-header .jhe-account .jhe-svg-icon,
body.jh-divar .jhe-header .jhe-chat .jhe-svg-icon,
body.jh-divar .jhe-header .jhe-support .jhe-svg-icon{color:#6b6b6b}
body.jh-divar .jhe-header .jhe-submit{border-radius:4px;min-height:44px}
body.jh-divar .jhe-header .jhe-submit .jhe-svg-icon{display:none}

/* ---------- نوار کنار: ثابت زیر هدر چسبان ---------- */
@media (min-width:1025px){
  body.jh-divar .jh-with-side > .jh-side{top:96px}
  body.jh-divar .jh-with-side > .jh-main{grid-column:2;min-width:0}
}
body.jh-divar .jh-main{min-width:0}

/* ------------------------------ صفحهٔ تک‌آگهی ------------------------------ */
/* عنوان و قیمت در ستون راست (مثل دیوار) می‌آید؛ نوار عنوان قدیمی بالای صفحه پنهان می‌شود */
body.jh-divar.single-product .hero .page-title{display:none}
body.jh-divar.single-product main.content{margin-bottom:0!important}
body.jh-divar.single-product main.content > .block{padding-top:0}
body.jh-divar.single-product main.content .container{max-width:1240px;padding-top:26px}
@media (min-width:768px){
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row{margin-inline:0;column-gap:0}
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row > .col-md-4{padding-inline-start:0;padding-inline-end:36px}
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row > .charsoogh-content{padding-inline:0}
  body.jh-divar.single-product aside.sidebar{top:96px}
}

/* مسیر دسته‌ها */
.jh-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;list-style:none;margin:0 0 20px;padding:0;font-size:13px;color:var(--jh-mut)}
.jh-crumbs a{color:var(--jh-mut);text-decoration:none}
.jh-crumbs a:hover{color:var(--jh-red)}
.jh-crumbs li+li::before{content:"\2039";margin-inline-end:8px;color:#b5b5b5}
html[dir="ltr"] .jh-crumbs li+li::before{content:"\203A"}

/* عنوان، زمان و شهر */
.jh-ad-title{font-size:28px;font-weight:700;line-height:1.7;margin:0 0 8px;color:var(--jh-head);text-align:start}
.jh-ad-meta{font-size:16px;line-height:1.9;color:var(--jh-tx);margin:0 0 14px}
.jh-ad-price{font-size:20px;font-weight:700;color:var(--jh-head);margin:0 0 14px}
.jh-ad-price .woocommerce-Price-amount{font-weight:700}

/* ردیف «زنگ خطرهای قبل از معامله» */
details.jh-safety{border-top:1px solid var(--jh-line);border-bottom:1px solid var(--jh-line);margin:0 0 22px}
details.jh-safety > summary{display:flex;align-items:center;gap:12px;padding:18px 0;cursor:pointer;list-style:none;font-size:16px;color:var(--jh-head)}
details.jh-safety > summary::-webkit-details-marker{display:none}
details.jh-safety > summary svg{flex:none;width:26px;height:26px;fill:none;stroke:#555;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
details.jh-safety > summary::after{content:"";margin-inline-start:auto;width:9px;height:9px;border-inline-start:2px solid #8d8d8d;border-bottom:2px solid #8d8d8d;transform:rotate(45deg);transition:transform .15s}
details.jh-safety[open] > summary::after{transform:rotate(-135deg)}
details.jh-safety .jh-safety__body{padding:0 0 18px;font-size:14px;line-height:2;color:var(--jh-tx)}

/* دکمه‌ها: اطلاعات تماس + چت + نشان‌کردن + اشتراک */
body.jh-divar.single-product .sidebar .contact-box{display:flex;flex-wrap:nowrap;align-items:center;gap:12px;margin:0 0 8px;padding:0;width:100%}
body.jh-divar.single-product .sidebar .contact-box .btn{float:none;margin:0;width:auto;max-width:none;height:50px;line-height:1;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font-weight:700;padding:0 22px}
body.jh-divar.single-product .sidebar .contact-box .contact_info{order:1;flex:0 0 auto;min-width:150px}
body.jh-divar.single-product .sidebar .contact-box .jh-chat-btn{order:2;flex:0 0 auto;min-width:110px;background:#fff;color:var(--jh-tx);border:1px solid #bdbdbd;text-decoration:none}
body.jh-divar.single-product .sidebar .contact-box .jh-chat-btn:hover{background:var(--jh-fill);color:var(--jh-tx)}
body.jh-divar.single-product .sidebar .contact-box .btn-icon,
body.jh-divar.single-product .sidebar .contact-box .jh-share-btn{flex:0 0 44px;width:44px!important;height:44px;padding:0;border:0!important;background:transparent!important;color:#555!important;font-size:19px!important;border-radius:50%!important;box-shadow:none}
body.jh-divar.single-product .sidebar .contact-box .btn-icon:hover,
body.jh-divar.single-product .sidebar .contact-box .jh-share-btn:hover{background:var(--jh-fill)!important}
body.jh-divar.single-product .sidebar .contact-box .btn-icon{order:4;margin-inline-start:auto!important}
body.jh-divar.single-product .sidebar .contact-box .jh-share-btn{order:5;cursor:pointer}
body.jh-divar.single-product .sidebar .contact-box .jh-share-btn.is-copied{color:var(--jh-red)!important}
body.jh-divar.single-product .sidebar .contact-box .favorited-ad{color:var(--jh-red)!important;background:transparent!important}
body.jh-divar.single-product .sidebar .profile-box{margin:0 0 14px}

/* مشخصات آگهی: ردیف‌های برچسب/مقدار با خط جداکننده */
body.jh-divar.single-product .sidebar dl{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:28px;margin:6px 0 0;padding:0}
body.jh-divar.single-product .sidebar dl dt,
body.jh-divar.single-product .sidebar dl dd{float:none!important;clear:none!important;width:auto!important;min-height:0;margin:0;padding:18px 0;border:0;border-bottom:1px solid var(--jh-line);font-size:16px;line-height:1.7}
body.jh-divar.single-product .sidebar dl dt{grid-column:1;font-weight:400;color:var(--jh-mut)}
body.jh-divar.single-product .sidebar dl dd{grid-column:2;text-align:end;color:var(--jh-head)}
body.jh-divar.single-product .sidebar dl dd:last-of-type{border-bottom:1px solid var(--jh-line)}
body.jh-divar.single-product .sidebar dl dd a{color:var(--jh-red);text-decoration:none}
body.jh-divar.single-product .sidebar dl dd a:hover{text-decoration:underline}
body.jh-divar.single-product .sidebar dl .chrPayment-btn{grid-column:1 / -1}
body.jh-divar.single-product .sidebar .warning_ad{display:none}
body.jh-divar.single-product .sidebar .report_ad{text-align:start}

/* گالری */
body.jh-divar.single-product .charsoogh-content .highlight-main{border-radius:6px;overflow:hidden;background:#f2f2f2}
body.jh-divar.single-product .charsoogh-content .highlight-main img{border-radius:0}

/* یادداشت شخصی زیر گالری */
.jh-note{margin:18px 0 6px}
.jh-note textarea{display:block;width:100%;min-height:150px;resize:vertical;border:1px solid #bdbdbd;border-radius:4px;padding:14px;font:inherit;font-size:16px;color:var(--jh-tx);background:#fff;outline:0;box-shadow:none}
.jh-note textarea:focus{border-color:var(--jh-red)}
.jh-note__hint{margin:8px 0 0;font-size:12px;color:var(--jh-mut)}
.jh-note__state{display:inline-block;margin-inline-start:8px;color:var(--jh-red)}

/* ------------------------------ موبایل / تبلت ------------------------------ */
@media (max-width:767.98px){
  body.jh-divar.single-product main.content .container{padding-top:14px}
  .jh-ad-title{font-size:22px}
  body.jh-divar.single-product .sidebar dl{column-gap:16px}
  body.jh-divar.single-product .sidebar dl dt,
  body.jh-divar.single-product .sidebar dl dd{padding:14px 0;font-size:15px}
  body.jh-divar.single-product .sidebar .contact-box{flex-wrap:wrap}
  body.jh-divar.single-product .sidebar .contact-box .contact_info{flex:1 1 auto}
}

/* =========================================================================
   v2.1 — صفحهٔ اصلی هم‌چیدمان دسته‌بندی‌ها + تک‌آگهی ریسپانسیو (بدون بیرون‌زدگی)
   ========================================================================= */

/* صفحهٔ اصلی: همان شبکه، همان نوار کنار */
body.jh-divar.home .ad-list-block,
body.jh-divar.blog .ad-list-block{padding-top:0}
body.jh-divar.home .jh-with-side,
body.jh-divar.blog .jh-with-side{width:100%;max-width:1500px;margin-inline:auto}

/* ---------------- تک‌آگهی در موبایل و تبلت ---------------- */
@media (max-width:767.98px){
  html,
  body.jh-divar.single-product{max-width:100%;overflow-x:hidden;overflow-x:clip}

  /* هیچ ستونی از عرض صفحه بیشتر نشود */
  body.jh-divar.single-product main.content,
  body.jh-divar.single-product main.content .container{width:100%;max-width:100%;padding-inline:16px;box-sizing:border-box}
  body.jh-divar.single-product [id^="product-"].product{max-width:100%}
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row{display:flex;flex-direction:column;flex-wrap:nowrap;width:100%;max-width:100%;margin-inline:0}
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row > .col-md-4,
  body.jh-divar.single-product [id^="product-"].product > .row.flex-md-row > .charsoogh-content{flex:0 0 auto;width:100%!important;max-width:100%!important;min-width:0;margin:0;padding-inline:0;box-sizing:border-box}
  body.jh-divar.single-product aside.sidebar,
  body.jh-divar.single-product #sidebar{position:static;display:block;width:100%!important;max-width:100%!important}

  /* همهٔ متن‌ها بشکنند و داخل کادر بمانند */
  body.jh-divar.single-product .sidebar,
  body.jh-divar.single-product .charsoogh-content{overflow-wrap:anywhere;word-break:break-word}
  body.jh-divar.single-product .sidebar *,
  body.jh-divar.single-product .charsoogh-content *{max-width:100%;box-sizing:border-box;min-width:0}
  .jh-ad-title{font-size:21px;line-height:1.7;overflow-wrap:anywhere}
  .jh-ad-meta{font-size:14px}
  .jh-crumbs{font-size:12px;overflow-wrap:anywhere}

  /* مشخصات: برچسب حداکثر ۴۰٪، مقدار بقیه را می‌گیرد و می‌شکند */
  body.jh-divar.single-product .sidebar dl{grid-template-columns:minmax(0,40%) minmax(0,1fr);column-gap:14px;width:100%}
  body.jh-divar.single-product .sidebar dl dt,
  body.jh-divar.single-product .sidebar dl dd{padding:13px 0;font-size:14px;overflow-wrap:anywhere;word-break:break-word}

  /* دکمه‌ها: اطلاعات تماس تمام‌عرض، بقیه کنار هم */
  /* موبایل: دکمهٔ «اطلاعات تماس» هم‌اندازهٔ «چت» و کنار آن در یک ردیف (چت زیر تماس نمی‌رود) */
  body.jh-divar.single-product .sidebar .contact-box{display:flex;flex-wrap:nowrap;gap:8px;width:100%;margin:0 0 8px}
  body.jh-divar.single-product .sidebar .contact-box .btn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:46px;min-height:46px;padding:0 8px;font-size:14px}
  body.jh-divar.single-product .sidebar .contact-box .contact_info{flex:1 1 0;min-width:0}
  body.jh-divar.single-product .sidebar .contact-box .jh-chat-btn{flex:1 1 0;min-width:0}
  body.jh-divar.single-product .sidebar .contact-box .btn-icon,
  body.jh-divar.single-product .sidebar .contact-box .jh-share-btn{flex:0 0 44px;min-height:44px;height:44px;padding:0}

  /* توضیحات و رسانه‌ها */
  body.jh-divar.single-product .charsoogh-content img,
  body.jh-divar.single-product .charsoogh-content video,
  body.jh-divar.single-product .charsoogh-content iframe,
  body.jh-divar.single-product .charsoogh-content embed{max-width:100%!important;height:auto}
  body.jh-divar.single-product .charsoogh-content iframe{aspect-ratio:16/9;height:auto}
  body.jh-divar.single-product .charsoogh-content table{display:block;overflow-x:auto;width:100%}
  body.jh-divar.single-product .charsoogh-content pre{white-space:pre-wrap;overflow-x:auto}
  body.jh-divar.single-product .charsoogh-content p,
  body.jh-divar.single-product .charsoogh-content li{overflow-wrap:anywhere}
  .jh-note textarea{min-height:120px}
  details.jh-safety > summary{font-size:15px;padding:14px 0}
}

/* ---- دکمهٔ «آگهی بیشتر» و لودر در صفحات دسته‌بندی/شهر/شاپ/جستجو (مثل صفحهٔ اصلی) ---- */
.jahaniyan-product-auto-load{position:static!important;height:auto!important;margin:26px 0 10px!important;padding:0!important;text-align:center;pointer-events:auto;clear:both}
.jahaniyan-product-auto-load .jahaniyan-product-loader{position:static;transform:none;background:none;box-shadow:none;min-height:0;padding:0;display:none;margin:0 auto 10px}
.jahaniyan-product-auto-load .jahaniyan-product-more{min-width:180px}
.category_search_content.jahaniyan-products-loading > .row.items{opacity:.55;transition:opacity .2s ease}

/* =========================================================================
   v2.3 — نوار کنار ثابت (فقط دسکتاپ) + فیلتر درون‌صفحه‌ای صفحهٔ اصلی
   ========================================================================= */
/* قالب اصلی روی صفحهٔ اصلی overflow:hidden می‌گذاشت و sticky را می‌کشت */
body.jh-divar.home .block,
body.jh-divar.blog .block,
body.jh-divar .ad-list-block{overflow:visible!important}

@media (min-width:1025px){
  body.jh-divar .jh-with-side > .jh-side{
    position:sticky;top:96px;align-self:start;
    max-height:calc(100vh - 112px);overflow-y:auto;overscroll-behavior:contain;
    scrollbar-width:thin;padding-inline-end:6px;
  }
}
/* موبایل و تبلت: نوار کنار نمایش داده نمی‌شود (مثل قبل) */
@media (max-width:1024.98px){
  body.jh-divar .jh-with-side > .jh-side{display:none!important}
}

/* چیپ‌های فیلتر فعال */
.jh-active{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.jh-active__chip{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid var(--jh-line);border-radius:999px;background:#fff;color:var(--jh-tx)!important;font-size:13px;text-decoration:none!important}
.jh-active__chip b{font-size:16px;line-height:1;color:var(--jh-mut)}
.jh-active__chip:hover{border-color:var(--jh-red);color:var(--jh-red)!important}
.jh-active__chip:hover b{color:var(--jh-red)}
.jh-home-results{min-width:0}
.jh-main.jh-loading .jh-home-results,
.jh-main.jh-loading .ad-listing{opacity:.5;transition:opacity .2s ease}

/* =========================================================================
   v2.2 — توضیحات در ستون راست، نقشه زیر کادر یادداشت، آیکن دسته‌ها (SVG)
   ========================================================================= */

/* آیکن‌های SVG دسته‌ها (سبک دیوار) */
.jh-cats__svg{display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:#6b6b6b}
.jh-cats li a:hover .jh-cats__svg,.jh-cats li.is-current > a .jh-cats__svg{color:var(--jh-red)}

/* توضیحات آگهی (ستون راست، زیر مشخصات) */
body.jh-divar.single-product .sidebar .jh-desc{margin:26px 0 0}
body.jh-divar.single-product .sidebar .jh-desc .box-title{font-size:16px;font-weight:700;color:var(--jh-head);margin:0 0 12px;padding:0}
body.jh-divar.single-product .sidebar .jh-desc .b-line{display:none}
body.jh-divar.single-product .sidebar .jh-desc__body{font-size:15px;line-height:2;color:var(--jh-tx);text-align:start;overflow-wrap:anywhere}
body.jh-divar.single-product .sidebar .jh-desc__body > :first-child{margin-top:0}
body.jh-divar.single-product .sidebar .jh-desc__body img{max-width:100%;height:auto}

/* نقشه (ستون چپ، زیر کادر یادداشت) */
body.jh-divar.single-product .charsoogh-content .box.mapbox{position:relative;margin:22px 0 0;padding:0!important;border-radius:6px;overflow:hidden}
body.jh-divar.single-product .charsoogh-content .box.mapbox .ribbon-featured{display:none}
body.jh-divar.single-product .charsoogh-content .box.mapbox #map{border-radius:6px}

/* -------------------------------------------------------------------------
   هدر جستجو و دسته‌بندی موبایل — بازسازی مطابق تصویر مرجع
   این بخش فقط استایل و رفتار هدر/دسته‌ها را تغییر می‌دهد؛ افزونه‌ای اضافه نمی‌کند.
   ------------------------------------------------------------------------- */
body.jh-divar .jhe-search-form{position:relative;overflow:visible;background:transparent!important;border:0!important;border-radius:0!important;gap:0}
body.jh-divar .jhe-search-form input[type=search]{min-height:48px;border:2px solid #a6a6aa!important;border-radius:17px!important;background:#fff!important;color:#252525!important;font-size:20px;font-weight:600;text-align:right;padding:8px 18px!important;box-shadow:none!important}
body.jh-divar .jhe-search-form .jhe-mic-button{display:none;flex:none}
body.jh-divar .jhe-search-form .jhe-search-submit{display:inline-flex;align-items:center;justify-content:center;min-width:40px;color:#777!important;background:transparent!important;padding:8px!important}
body.jh-divar .jhe-search-form .jhe-search-submit .jhe-svg-icon{width:26px;height:26px}
body.jh-divar .jhe-search-form .jhe-search-submit .jhe-svg-icon path{stroke-width:2.4}
body.jh-divar .jhe-search-form .jhe-search-submit:hover{color:#333!important}
@media (min-width:768px){
  body.jh-divar .jhe-header[data-mode=desktop] .jhe-items-front{gap:12px}
  body.jh-divar .jhe-header[data-mode=desktop] .jhe-search{flex:1 1 380px;min-width:240px}
  body.jh-divar .jhe-header[data-mode=desktop] .jhe-search-form{background:#f5f5f5!important;border:1px solid #d7d7d7!important;border-radius:8px!important;overflow:hidden}
  body.jh-divar .jhe-header[data-mode=desktop] .jhe-search-form input[type=search]{min-height:44px;border:0!important;border-radius:0!important;font-size:15px;padding:10px 14px!important}
  body.jh-divar .jhe-header[data-mode=desktop] .jhe-search-form .jhe-search-submit{min-width:44px}
  body.jh-divar .jhe-header[data-mode=desktop] .jhe-search-form .jhe-search-submit .jhe-svg-icon{width:19px;height:19px}
}
@media (max-width:767px){
  body.jh-divar .jhe-header[data-mode=mobile]{height:auto!important;min-height:0!important;background:#f5f5f6!important;border:0!important;border-bottom:2px solid #eee!important;box-shadow:none!important;padding:7px 10px 9px!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-inner{height:auto!important;min-height:0!important;max-width:none!important;padding:0!important;margin:0!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-items-front{display:flex!important;direction:ltr!important;align-items:center!important;gap:10px!important;width:100%!important;flex-wrap:nowrap!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-items-front > :not(.jhe-city-wrap):not(.jhe-search){display:none!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-city-wrap{display:flex!important;order:1!important;flex:0 0 34%!important;width:34%!important;min-width:0!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-city-trigger{display:flex!important;width:100%!important;height:62px!important;min-height:62px!important;justify-content:space-around!important;gap:5px!important;padding:5px 8px!important;border:2px solid #a6a6aa!important;border-radius:17px!important;background:#fff!important;color:#242424!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-city-trigger .jhe-svg-icon{width:28px!important;height:28px!important;min-width:28px!important;color:#777!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-city-label{display:inline-block!important;max-width:calc(100% - 34px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:19px!important;font-weight:800!important;color:#242424!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search{display:block!important;order:2!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;margin:0 27px 0 0!important;position:relative!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form{display:flex!important;position:relative!important;width:100%!important;min-width:0!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form input[type=search]{display:block!important;width:100%!important;height:62px!important;min-height:62px!important;border:2px solid #a6a6aa!important;border-radius:17px!important;background:#fff!important;padding:8px 16px 8px 54px!important;font-size:22px!important;font-weight:700!important;text-align:right!important;color:#222!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form input[type=search]::placeholder{color:#999!important;opacity:1!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form .jhe-mic-button{position:absolute!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;left:8px!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:42px!important;min-height:0!important;padding:3px!important;border:0!important;background:transparent!important;color:#777!important;z-index:2}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form .jhe-mic-button svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form .jhe-mic-button.is-listening{color:#b52c37!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form .jhe-search-submit{position:absolute!important;right:-40px!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:44px!important;min-width:34px!important;padding:4px!important;border:0!important;background:transparent!important;color:#777!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form .jhe-search-submit .jhe-svg-icon{width:30px!important;height:30px!important;min-width:30px!important}
  body.jh-divar .jhe-header[data-mode=mobile] .jhe-search-form .jhe-search-submit .jhe-svg-icon path{stroke-width:2.6}
  body.jh-divar .jhe-home-categories{display:block!important;width:100%!important;padding:20px 14px 14px!important;margin:0!important;background:#fff!important;direction:rtl!important}
  body.jh-divar .jh-home-categories__grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;column-gap:7px!important;row-gap:20px!important;width:100%!important;margin:0!important;padding:0!important}
  body.jh-divar .jh-home-category{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-width:0!important;padding:0 1px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center!important;text-decoration:none!important;color:#737379!important}
  body.jh-divar .jh-home-category__art{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:64px!important;height:68px!important;background:transparent!important;color:#25252a!important;font-size:36px!important;line-height:1!important}
  body.jh-divar .jh-home-category__art:before{content:"";position:absolute;z-index:0;width:43px;height:49px;left:7px;top:7px;background:var(--jh-cat-color,#e8d7eb);opacity:.85;border-radius:10px 5px 12px 18px;transform:rotate(7deg)}
  body.jh-divar .jh-home-category__art .fa{position:relative;z-index:1;font-size:36px!important;line-height:1!important;color:#29292d!important}
  body.jh-divar .jh-home-category__name{display:block!important;width:100%!important;min-height:48px!important;font-size:17px!important;font-weight:700!important;line-height:1.75!important;overflow-wrap:anywhere!important;color:#737379!important}
  body.jh-divar .jh-home-category:active .jh-home-category__art{transform:scale(.96)}
}
@media (min-width:768px){body.jh-divar .jh-home-categories{display:none!important}}
@media (min-width:768px){body.jh-divar .jhe-header[data-mode=desktop] .jhe-search-submit .jhe-svg-icon{display:none!important}body.jh-divar .jhe-header[data-mode=desktop] .jhe-search-submit:before{content:"";display:block;width:14px;height:14px;border:2px solid currentColor;border-radius:50%;position:relative;margin:0 0 4px 4px}body.jh-divar .jhe-header[data-mode=desktop] .jhe-search-submit:after{content:"";display:block;position:absolute;width:7px;height:2px;background:currentColor;transform:rotate(45deg);margin:13px 0 0 13px}}

/* بازبینی بر اساس تصویر جدید Divar: هدر فشرده‌تر، بدون فلش، کارت‌های لیستی بزرگ‌تر */
@media (max-width:767px){
  body.jh-divar .jhe-header[data-mode="mobile"]{padding:6px 10px 7px!important;background:#f5f5f6!important;border-bottom:1px solid #e8e8e8!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-items-front{gap:9px!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-wrap{flex-basis:33%!important;width:33%!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-trigger{height:54px!important;min-height:54px!important;border-radius:16px!important;padding:4px 7px!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-trigger .jhe-svg-icon{width:25px!important;height:25px!important;min-width:25px!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-label{font-size:18px!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search{margin:0!important;flex:1 1 0!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form{height:54px!important;min-height:54px!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form input[type="search"]{height:54px!important;min-height:54px!important;border-radius:16px!important;padding:6px 14px 6px 48px!important;font-size:clamp(17px,4.5vw,22px)!important;font-weight:700!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form .jhe-mic-button{left:7px!important;width:31px!important;height:38px!important}
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form .jhe-mic-button svg{width:25px!important;height:25px!important}
  /* فلش سمت راست در نسخه مرجع وجود ندارد */
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form .jhe-search-submit{display:none!important}

  /* آیکن‌های دسته‌بندی کمی کوچک‌تر و با فاصله‌بندی مشابه مرجع */
  body.jh-divar .jh-home-categories{padding:15px 13px 11px!important}
  body.jh-divar .jh-home-categories__grid{column-gap:5px!important;row-gap:15px!important}
  body.jh-divar .jh-home-category{gap:6px!important}
  body.jh-divar .jh-home-category__art{width:56px!important;height:57px!important;font-size:29px!important}
  body.jh-divar .jh-home-category__art:before{width:37px!important;height:41px!important;left:5px!important;top:6px!important;border-radius:9px 5px 10px 14px!important}
  body.jh-divar .jh-home-category__art .fa{font-size:29px!important}
  body.jh-divar .jh-home-category__name{font-size:16px!important;line-height:1.65!important;min-height:43px!important}

  /* کارت آگهی مطابق عکس: تصویر بزرگ سمت چپ، مشخصات راست و جداکننده ظریف */
  body.jh-divar .row.items:not(.owl-carousel){display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important}
  body.jh-divar .items > .jh-card{width:100%!important;border:0!important;border-bottom:2px solid #e6e6e6!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
  body.jh-divar .jh-card .wrapper{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:12px!important;min-height:0!important;height:auto!important;padding:12px 12px 14px!important}
  body.jh-divar .jh-card .jh-card__text{order:1!important;flex:1 1 0!important;width:auto!important;min-width:0!important;gap:7px!important;justify-content:space-between!important;text-align:right!important}
  body.jh-divar .jh-card .jh-card__text a.title{width:100%!important}
  body.jh-divar .jh-card .jh-card__text h2{font-size:clamp(18px,3.6vw,26px)!important;line-height:1.75!important;font-weight:800!important;text-align:right!important;-webkit-line-clamp:3!important;overflow-wrap:anywhere!important}
  body.jh-divar .jh-card .jh-card__meta{font-size:clamp(16px,3.2vw,23px)!important;line-height:1.75!important;text-align:right!important;gap:1px!important}
  body.jh-divar .jh-card .price{font-size:clamp(16px,3.2vw,23px)!important;line-height:1.75!important;font-weight:600!important;text-align:right!important}
  body.jh-divar .jh-card .jh-card__time{font-size:clamp(15px,3.1vw,22px)!important;line-height:1.75!important;text-align:right!important}
  body.jh-divar .jh-card .image{order:2!important;flex:0 0 37%!important;width:37%!important;height:auto!important;aspect-ratio:1/1!important;min-width:0!important;border-radius:15px!important;align-self:flex-start!important}
  body.jh-divar .jh-card .image a.title{height:100%!important;min-height:0!important}
  body.jh-divar .jh-card .image img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:15px!important}
  body.jh-divar .jh-card .jh-card__count{top:9px!important;inset-inline-start:8px!important;border-radius:5px!important;padding:2px 7px!important;font-size:clamp(13px,2.8vw,19px)!important;line-height:1.7!important;gap:4px!important}
  body.jh-divar .jh-card .jh-card__count .fa{font-size:1.1em!important}
  body.jh-divar .jh-card .bookmark{top:8px!important;inset-inline-end:8px!important}
  body.jh-divar .jh-card .ribbon-featured{display:none!important}
}


/* نسخهٔ بازسازی قطعی: قواعد محدود به هدر و لیست آگهی صفحهٔ اصلی؛ cache-bust از طریق filemtime */
@media (max-width: 767px) {
  body.jh-divar .jhe-header[data-mode="mobile"] {
    padding: 5px 10px 6px !important;
    background: #f5f5f6 !important;
    border: 0 !important;
    border-bottom: 1px solid #e7e7e7 !important;
    box-shadow: none !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-inner {
    height: auto !important; min-height: 0 !important; padding: 0 !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-items-front {
    display: flex !important; direction: ltr !important; align-items: center !important;
    gap: 9px !important; width: 100% !important; flex-wrap: nowrap !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-items-front > :not(.jhe-city-wrap):not(.jhe-search) { display: none !important; }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-wrap { display: flex !important; flex: 0 0 33% !important; width: 33% !important; min-width: 0 !important; }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-trigger {
    display: flex !important; width: 100% !important; height: 52px !important; min-height: 52px !important;
    padding: 3px 6px !important; gap: 4px !important; justify-content: space-around !important;
    border: 2px solid #a6a6aa !important; border-radius: 15px !important; background: #fff !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-trigger .jhe-svg-icon { width: 23px !important; height: 23px !important; min-width: 23px !important; color: #777 !important; }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-label { display: inline-block !important; max-width: calc(100% - 28px) !important; font-size: clamp(15px, 4vw, 18px) !important; font-weight: 800 !important; }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search { display: block !important; order: 2 !important; flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; margin: 0 !important; }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form {
    display: flex !important; position: relative !important; width: 100% !important; height: 52px !important; min-height: 52px !important;
    margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; overflow: visible !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form input[type="search"] {
    display: block !important; width: 100% !important; height: 52px !important; min-height: 52px !important;
    padding: 5px 12px 5px 44px !important; border: 2px solid #a6a6aa !important; border-radius: 15px !important;
    background: #fff !important; text-align: right !important; color: #222 !important;
    font-size: clamp(16px, 4.3vw, 21px) !important; font-weight: 700 !important; box-shadow: none !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form input[type="search"]::placeholder { color: #999 !important; opacity: 1 !important; }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form .jhe-mic-button {
    position: absolute !important; left: 5px !important; top: 50% !important; transform: translateY(-50%) !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 30px !important; height: 36px !important; padding: 2px !important; border: 0 !important;
    background: transparent !important; color: #777 !important; z-index: 3 !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form .jhe-mic-button svg { width: 24px !important; height: 24px !important; fill: none !important; stroke: currentColor !important; stroke-width: 2.2 !important; }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-search-form .jhe-search-submit { display: none !important; }

  body.jh-divar.home .jh-home-categories,
  body.jh-divar.front-page .jh-home-categories {
    display: block !important; width: 100% !important; margin: 0 !important; padding: 13px 12px 10px !important;
    background: #fff !important; direction: rtl !important; box-sizing: border-box !important;
  }
  body.jh-divar .jh-home-categories__grid { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 14px 5px !important; margin: 0 !important; padding: 0 !important; }
  body.jh-divar .jh-home-category { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; gap: 5px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; text-align: center !important; text-decoration: none !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
  body.jh-divar .jh-home-category__art { position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important; width: 52px !important; height: 53px !important; font-size: 27px !important; line-height: 1 !important; }
  body.jh-divar .jh-home-category__art:before { width: 34px !important; height: 38px !important; left: 5px !important; top: 6px !important; }
  body.jh-divar .jh-home-category__art .fa { position: relative !important; z-index: 1 !important; font-size: 27px !important; line-height: 1 !important; }
  body.jh-divar .jh-home-category__name { display: block !important; width: 100% !important; min-height: 40px !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.7 !important; overflow-wrap: anywhere !important; color: #737379 !important; }

  body.jh-divar.home .ad-list-block .jh-main > ul.items,
  body.jh-divar.front-page .ad-list-block .jh-main > ul.items,
  body.jh-divar.home .jh-main ul.ad-listing,
  body.jh-divar.front-page .jh-main ul.ad-listing {
    display: flex !important; flex-direction: column !important; gap: 0 !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
  }
  body.jh-divar .ad-list-block .jh-main ul.items > li.jh-card,
  body.jh-divar ul.ad-listing > li.jh-card {
    display: block !important; float: none !important; width: 100% !important; max-width: none !important; flex: none !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; border-bottom: 2px solid #e5e5e5 !important;
    border-radius: 0 !important; background: #fff !important; box-shadow: none !important;
  }
  body.jh-divar .ad-list-block .jh-main ul.items > li.jh-card > .wrapper,
  body.jh-divar ul.ad-listing > li.jh-card > .wrapper {
    display: flex !important; flex-direction: row !important; align-items: stretch !important; gap: 12px !important;
    min-height: 0 !important; height: auto !important; margin: 0 !important; padding: 12px 12px 14px !important;
  }
  body.jh-divar ul.ad-listing > li.jh-card .jh-card__text { order: 1 !important; flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; gap: 5px !important; text-align: right !important; }
  body.jh-divar ul.ad-listing > li.jh-card .jh-card__text h2 { font-size: clamp(19px, 4.7vw, 26px) !important; line-height: 1.65 !important; font-weight: 800 !important; text-align: right !important; -webkit-line-clamp: 3 !important; overflow-wrap: anywhere !important; }
  body.jh-divar ul.ad-listing > li.jh-card .jh-card__meta { display: flex !important; flex-direction: column !important; gap: 0 !important; font-size: clamp(16px, 4vw, 23px) !important; line-height: 1.65 !important; text-align: right !important; }
  body.jh-divar ul.ad-listing > li.jh-card .jh-card__meta .price { font-size: inherit !important; line-height: inherit !important; font-weight: 600 !important; }
  body.jh-divar ul.ad-listing > li.jh-card .jh-card__time { font-size: clamp(15px, 3.8vw, 22px) !important; line-height: 1.7 !important; text-align: right !important; }
  body.jh-divar ul.ad-listing > li.jh-card .image { order: 2 !important; position: relative !important; flex: 0 0 39% !important; width: 39% !important; max-width: 39% !important; min-width: 0 !important; height: auto !important; aspect-ratio: 1 / 1 !important; align-self: flex-start !important; border-radius: 15px !important; overflow: hidden !important; }
  body.jh-divar ul.ad-listing > li.jh-card .image a.title { display: block !important; width: 100% !important; height: 100% !important; }
  body.jh-divar ul.ad-listing > li.jh-card .image img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 15px !important; }
  body.jh-divar ul.ad-listing > li.jh-card .jh-card__count { top: 8px !important; inset-inline-start: 8px !important; padding: 2px 7px !important; border-radius: 5px !important; font-size: clamp(13px, 3vw, 19px) !important; line-height: 1.7 !important; }
  body.jh-divar ul.ad-listing > li.jh-card .ribbon-featured { display: none !important; }
}
@media (min-width: 768px) {
  body.jh-divar .jh-home-categories { display: none !important; }
}

/* v5: یکسان‌سازی عرض کارت‌ها در همهٔ صفحات موبایل و بزرگ‌تر شدن نام شهر */
@media (max-width: 767px) {
  /* کانتینر صفحات دسته‌بندی، جستجو و شهر باید تا لبه‌های صفحه برسد */
  body.jh-divar .jh-with-side {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
  }
  body.jh-divar .jh-with-side > .jh-main,
  body.jh-divar .jh-main,
  body.jh-divar .ad-list-block,
  body.jh-divar .ad-list-block .jh-main,
  body.jh-divar .jh-main .items,
  body.jh-divar .jh-main ul.ad-listing {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
  }
  body.jh-divar .jh-main ul.items,
  body.jh-divar .jh-main ul.ad-listing,
  body.jh-divar .jh-main .row.items:not(.owl-carousel) {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  body.jh-divar .jh-main ul.items > li.jh-card,
  body.jh-divar .jh-main ul.ad-listing > li.jh-card,
  body.jh-divar .jh-main .row.items:not(.owl-carousel) > .jh-card,
  body.jh-divar .ad-list-block .jh-main ul.items > li.jh-card,
  body.jh-divar ul.ad-listing > li.jh-card {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-bottom: 1px solid #e1e1e1 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }
  body.jh-divar .jh-main ul.items > li.jh-card > .wrapper,
  body.jh-divar .jh-main ul.ad-listing > li.jh-card > .wrapper,
  body.jh-divar .jh-main .row.items:not(.owl-carousel) > .jh-card > .wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
  }
  body.jh-divar .jh-main ul.items > li.jh-card .jh-card__text,
  body.jh-divar .jh-main ul.ad-listing > li.jh-card .jh-card__text,
  body.jh-divar .jh-main .row.items:not(.owl-carousel) > .jh-card .jh-card__text {
    order: 1 !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: right !important;
  }
  body.jh-divar .jh-main ul.items > li.jh-card .image,
  body.jh-divar .jh-main ul.ad-listing > li.jh-card .image,
  body.jh-divar .jh-main .row.items:not(.owl-carousel) > .jh-card .image {
    order: 2 !important;
    flex: 0 0 38% !important;
    width: 38% !important;
    max-width: 38% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    align-self: flex-start !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }
  body.jh-divar .jh-main ul.items > li.jh-card .image img,
  body.jh-divar .jh-main ul.ad-listing > li.jh-card .image img,
  body.jh-divar .jh-main .row.items:not(.owl-carousel) > .jh-card .image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-label {
    font-size: clamp(18px, 5vw, 22px) !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
  }
  body.jh-divar .jhe-header[data-mode="mobile"] .jhe-city-trigger .jhe-svg-icon {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
  }
}

/* Jahaniyan mobile archive width fix v8: make category/city archives use the same full-width listing as home. */
@media (max-width: 767px) {
  body.jh-divar.woocommerce .content > .block > .container.jh-with-side,
  body.jh-divar.woocommerce-page .content > .block > .container.jh-with-side,
  body.jh-divar.tax-product_cat .content > .block > .container.jh-with-side,
  body.jh-divar.tax-city_categories .content > .block > .container.jh-with-side,
  body.jh-divar.archive .content > .block > .container.jh-with-side,
  body.jh-divar.search .content > .block > .container.jh-with-side {
    display:block !important; width:100% !important; max-width:none !important; min-width:0 !important;
    margin:0 !important; padding:8px 8px 0 !important; box-sizing:border-box !important;
    grid-template-columns:minmax(0,1fr) !important; column-gap:0 !important;
  }
  body.jh-divar .jh-with-side > .jh-side { display:none !important; width:0 !important; margin:0 !important; padding:0 !important; }
  body.jh-divar .jh-with-side > .jh-main,
  body.jh-divar .jh-with-side > .section-title,
  body.jh-divar .jh-with-side > :not(.jh-side),
  body.jh-divar .jh-main,
  body.jh-divar .jh-main > .row,
  body.jh-divar .jh-main > .row > [class*="col-"],
  body.jh-divar .jh-main .woocommerce,
  body.jh-divar .jh-main .products,
  body.jh-divar .jh-main ul.products,
  body.jh-divar .jh-main ul.items,
  body.jh-divar .jh-main ul.ad-listing {
    display:block !important; float:none !important; width:100% !important; max-width:none !important;
    min-width:0 !important; margin-left:0 !important; margin-right:0 !important;
    padding-left:0 !important; padding-right:0 !important; box-sizing:border-box !important;
  }
  body.jh-divar .jh-main ul.products > li.product,
  body.jh-divar .jh-main ul.items > li.jh-card,
  body.jh-divar .jh-main ul.ad-listing > li.jh-card {
    display:block !important; float:none !important; clear:both !important; flex:0 0 100% !important;
    width:100% !important; max-width:none !important; min-width:0 !important;
    margin:0 !important; padding:0 !important; box-sizing:border-box !important;
  }
  body.jh-divar .jh-main ul.products > li.product > .wrapper,
  body.jh-divar .jh-main ul.items > li.jh-card > .wrapper,
  body.jh-divar .jh-main ul.ad-listing > li.jh-card > .wrapper {
    width:100% !important; max-width:none !important; min-width:0 !important; box-sizing:border-box !important;
  }
}

/* Mobile single-ad layout: note and comments are placed below description by jh-single-mobile-order.js */
@media screen and (max-width: 767px) {
  body.single-product .jh-note {
    margin: 10px 0 12px !important;
    padding: 10px !important;
    border-radius: 8px;
  }
  body.single-product .jh-note textarea {
    min-height: 76px !important;
    height: 76px !important;
    padding: 9px 10px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    box-sizing: border-box !important;
  }
  body.single-product .jh-note__hint { font-size: 11px !important; margin-top: 5px !important; }
  body.single-product .charsoogh-content > section.box:has(#collapseComments) { margin-top: 10px !important; }
}

/* =========================================================================
   زنگ خطرهای قبل از معامله — ردیف بالای دکمهٔ تماس + پنجرهٔ توضیحات
   ========================================================================= */
button.jh-safety{display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;margin:0 0 12px;border:0;border-radius:0;background:none;
  color:#1d1d1d;font:inherit;font-size:16px;line-height:1.6;text-align:start;cursor:pointer;box-shadow:none;-webkit-tap-highlight-color:transparent}
button.jh-safety svg{flex:none;width:26px;height:26px;fill:none;stroke:#555;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
button.jh-safety:hover span{color:#000}
.jh-safety__chev{margin-inline-start:auto;flex:none;width:9px;height:9px;border-left:2px solid #8d8d8d;border-bottom:2px solid #8d8d8d;transform:rotate(45deg)}

.jh-safety-modal[hidden]{display:none!important}
.jh-safety-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;direction:rtl}
.jh-safety-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.jh-safety-modal__dialog{position:relative;display:flex;flex-direction:column;width:min(610px,92vw);max-height:82vh;background:#fff;border-radius:6px;
  box-shadow:0 10px 40px rgba(0,0,0,.28);overflow:hidden}
.jh-safety-modal__head{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #eee;flex:none}
.jh-safety-modal__head h2{flex:1 1 auto;margin:0;font-size:17px;font-weight:500;color:#1d1d1d;text-align:start}
.jh-safety-modal__x{display:inline-flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;padding:0;border:1px solid #cdd5e4;border-radius:50%;
  background:#fff;color:#333;cursor:pointer;box-shadow:none}
.jh-safety-modal__x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.jh-safety-modal__body{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:6px 30px 30px;font-size:16px;line-height:2;color:#1d1d1d;text-align:start}
.jh-safety-modal__body h3{margin:28px 0 12px;font-size:20px;font-weight:800;line-height:1.7;color:#1d1d1d}
.jh-safety-list,.jh-safety-warn{list-style:none;margin:0;padding:0}
.jh-safety-list li{padding:5px 0}
.jh-safety-list li::before{content:"- "}
.jh-safety-warn li{display:flex;align-items:center;gap:14px;padding:12px 0}
.jh-safety-no{flex:none;width:28px;height:28px;fill:none;stroke:#d32f2f;stroke-width:2;stroke-linecap:round;order:2;margin-inline-start:auto}
.jh-safety-warn li span{order:1}
html.jh-safety-lock{overflow:hidden}

@media (max-width:767.98px){
  button.jh-safety{padding:14px 0;margin:8px 0 4px;border-bottom:1px solid #e6e6e6;font-size:15px}
  .jh-safety-modal{align-items:flex-end}
  .jh-safety-modal__dialog{width:100%;max-height:88vh;border-radius:16px 16px 0 0}
  .jh-safety-modal__head{padding:12px 16px}
  .jh-safety-modal__body{padding:2px 18px 26px;font-size:15px}
  .jh-safety-modal__body h3{font-size:18px;margin:22px 0 10px}
}

/* =========================================================================
   تک‌آگهی موبایل — چیدمان مثل دیوار (نوار بالای شناور + نوار پایین تماس/چت)
   فقط وقتی جاوااسکریپت کلاس jh-mtop را بگذارد (عرض ≤ 767px) فعال می‌شود.
   ========================================================================= */
.jh-mbar,.jh-mcount{display:none}
@media (max-width:767.98px){
  html{scroll-padding-top:64px}

  /* هدر سایت و نوار منوی پایین در تک‌آگهی نمایش داده نمی‌شوند */
  body.jh-mtop.single-product header.hero,
  body.jh-mtop.single-product .jhe-header,
  body.jh-mtop.single-product .jmfm-bar{display:none!important}
  body.jh-mtop.single-product{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  body.jh-mtop.single-product main.content,
  body.jh-mtop.single-product main.content > .block{margin-top:0!important;padding-top:0!important}
  body.jh-mtop.single-product main.content .container{padding-top:0}

  /* ---- نوار بالا ---- */
  body.jh-mtop .jh-mbar{display:flex;align-items:center;direction:rtl;position:fixed;top:0;right:0;left:0;z-index:1001;
    height:calc(58px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 6px 0;
    background:linear-gradient(rgba(255,255,255,.94),rgba(255,255,255,0));transition:background .2s,box-shadow .2s}
  body.jh-mtop.admin-bar .jh-mbar{top:46px}
  body.jh-mtop .jh-mbar.is-solid{background:#fff;box-shadow:0 1px 0 #e6e6e6}
  body.jh-mtop .jh-mbar button{appearance:none;-webkit-appearance:none;border:0;background:transparent;width:46px;height:46px;min-width:46px;padding:0;
    display:inline-flex;align-items:center;justify-content:center;color:#3b3b3b;cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:none}
  body.jh-mtop .jh-mbar svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  body.jh-mtop .jh-mbar .jh-mbar__back{width:52px;min-width:52px}
  body.jh-mtop .jh-mbar .jh-mbar__back svg{width:34px;height:34px;stroke-width:2.2}
  body.jh-mtop .jh-mbar__title{flex:1 1 auto;min-width:0;padding:0 4px;font-size:18px;font-weight:700;color:#1d1d1d;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .15s}
  body.jh-mtop .jh-mbar.is-solid .jh-mbar__title{opacity:1}
  body.jh-mtop .jh-mbar .jh-mbar__act.is-on svg{fill:var(--jh-red);stroke:var(--jh-red)}
  body.jh-mtop .jh-mbar [hidden]{display:none!important}

  /* ---- عکس‌ها: تمام‌عرض و بدون حاشیه از بالای صفحه ---- */
  body.jh-mtop.single-product .charsoogh-content > section:first-of-type{position:relative}
  body.jh-mtop.single-product .charsoogh-content .highlight-main{width:100vw;max-width:100vw!important;margin-inline:calc(50% - 50vw);
    border-radius:0!important;background:#f2f2f2}
  body.jh-mtop.single-product .charsoogh-content .highlight-main img{border-radius:0!important}
  body.jh-mtop.single-product .charsoogh-content .highlight-thumbs,
  body.jh-mtop.single-product .charsoogh-content .full-image-show{display:none!important}
  body.jh-mtop .jh-mcount{display:inline-flex;align-items:center;gap:8px;position:absolute;left:14px;bottom:14px;z-index:3;
    height:44px;padding:0 16px;border:0;border-radius:22px;background:rgba(60,60,60,.62);color:#fff;font-size:20px;font-weight:700;cursor:pointer;
    -webkit-tap-highlight-color:transparent}
  body.jh-mtop .jh-mcount svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

  /* ---- مسیر دسته، عنوان و زنگ خطر ---- */
  body.jh-mtop .jh-ad-head{padding-top:16px}
  body.jh-mtop .jh-crumbs{display:flex;margin:0 0 8px;padding:0;list-style:none}
  body.jh-mtop .jh-crumbs li{display:none}
  body.jh-mtop .jh-crumbs li::before,body.jh-mtop .jh-crumbs li::after{content:none!important}
  body.jh-mtop .jh-crumbs li:nth-last-child(2){display:block}
  body.jh-mtop .jh-crumbs li:nth-last-child(2) a{color:#6b6b6b;font-size:15px;font-weight:500;text-decoration:none}
  body.jh-mtop .jh-crumbs li:nth-last-child(2) a::before{content:"\2039";margin-inline-end:8px;font-size:22px;line-height:1;vertical-align:-2px}
  body.jh-mtop .jh-ad-title{font-size:23px;font-weight:800;line-height:1.75;margin:6px 0 10px}
  body.jh-mtop details.jh-safety{border-top:0;border-bottom:1px solid #e6e6e6;margin-top:8px}

  /* ---- نوار پایین: فقط «چت» و «اطلاعات تماس» هم‌اندازه ---- */
  body.jh-mtop .contact-box.jh-mbottom{position:fixed;left:0;right:0;bottom:0;z-index:1000;display:flex;flex-wrap:nowrap;direction:rtl;gap:12px;
    width:100%;max-width:100%;margin:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;box-shadow:0 -1px 0 #ececec;box-sizing:border-box}
  body.jh-mtop .contact-box.jh-mbottom .btn{float:none;margin:0;width:auto;max-width:none;flex:1 1 0;min-width:0;height:48px;min-height:48px;padding:0 10px;
    display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:17px;font-weight:700;line-height:1;white-space:nowrap;box-sizing:border-box}
  body.jh-mtop .contact-box.jh-mbottom .contact_info{order:2;background:var(--jh-red);border:1px solid var(--jh-red);color:#fff}
  body.jh-mtop .contact-box.jh-mbottom .jh-chat-btn{order:1;background:#fff;border:1px solid var(--jh-red);color:var(--jh-red);text-decoration:none}
  body.jh-mtop .contact-box.jh-mbottom .btn-icon,
  body.jh-mtop .contact-box.jh-mbottom .jh-share-btn{display:none!important}
}
