/* ===== ایمن‌باکس — گمشده و پیداشده ===== */
/* همه‌ی استایل‌ها زیر .eb قفل شده‌اند و روی خواص کلیدی !important دارند تا قالب/المنتور روی آن سوار نشود */

.eb{
  --teal:#1C9594; --teal-d:#167a79; --navy:#18314D; --honey:#F5A968; --honey-d:#e79a54;
  --bg:#f5f7f9; --surface:#fff; --line:#eef2f6; --line-2:#dfe6ec; --muted:#5a6b7c;
  --doc:#2f6fb0; --doc-bg:#eaf1f9; --obj:#b5771f; --obj-bg:#f6eedd; --pet:#2e8d63; --pet-bg:#e7f3ec;
  --r:14px; --shadow:0 6px 22px rgba(24,49,77,.07); --shadow-lg:0 14px 40px rgba(24,49,77,.14);
}
.eb, .eb *{
  box-sizing:border-box !important;
  font-family:'Vazirmatn',Tahoma,Arial,sans-serif !important;
  direction:rtl !important;
}
.eb{ color:var(--navy) !important; max-width:1180px; margin:0 auto; padding:0 15px; line-height:1.9 !important; text-align:right !important; }
.eb p,.eb ul,.eb li,.eb h1,.eb h2,.eb h3,.eb h4,.eb dl,.eb dt,.eb dd{ margin:0 !important; padding:0 !important; list-style:none !important; }
.eb h1,.eb h2,.eb h3{ line-height:1.5 !important; color:var(--navy) !important; font-weight:800 !important; }
.eb a{ text-decoration:none !important; box-shadow:none !important; border-bottom:0 !important; color:inherit; }
.eb img{ max-width:100% !important; height:auto; }
.eb button{ font-family:inherit !important; cursor:pointer; }

.eb-listing{transition:opacity .15s ease}

/* crumbs */
.eb-crumbs{display:flex !important;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--muted);padding:16px 2px 0}
.eb-crumbs a:hover{color:var(--teal)}
.eb-crumbs .here{color:var(--navy);font-weight:700}

/* hero */
.eb-hero{padding:14px 2px 20px}
.eb-hero h1{font-size:32px !important;letter-spacing:-.4px}
.eb-hero .eb-accent{color:var(--teal) !important}
.eb-lede{font-size:15px !important;color:var(--muted) !important;max-width:70ch;margin:10px 0 18px !important;font-weight:400 !important}
/* theme per kind: گمشده = سورمه‌ای، پیداشده = فیروزه‌ای (هر دو از پالت برند) */
.eb-k-lost{--k:#18314D;--k-2:#33598a;--k-bg:#e4ebf4;--k-bd:#c9d6e6;--k-tx:#18314D}
.eb-k-found{--k:#167a79;--k-2:#24b0ae;--k-bg:#d9f1f0;--k-bd:#b6e2e0;--k-tx:#0f6362}

/* search: یک کادر واحد (فقط .eb-search-field کادر دارد) + دکمه‌ی جدا کنارش */
.eb form.eb-search{display:flex !important;gap:10px;align-items:center;max-width:640px;margin:18px 0 0 !important;padding:0 !important;background:none !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;outline:0 !important}
.eb .eb-search-field{display:flex !important;flex:1;min-width:0;align-items:center;gap:10px;min-height:48px;padding:0 16px !important;background:#fff;border:1.5px solid var(--line-2);border-radius:14px;box-shadow:0 4px 16px rgba(24,49,77,.06);transition:border-color .15s,box-shadow .15s}
.eb .eb-search-field:focus-within{border-color:var(--k,var(--teal));box-shadow:0 0 0 4px rgba(28,149,148,.12)}
.eb .eb-search-field svg{color:var(--muted);flex:none}
.eb .eb-search-field input,.eb .eb-search-field input:hover,.eb .eb-search-field input:focus,.eb .eb-search-field input:focus-visible,.eb .eb-search-field input:active{flex:1;min-width:0 !important;width:auto !important;height:auto !important;margin:0 !important;padding:8px 0 !important;border:0 !important;border-radius:0 !important;outline:0 !important;box-shadow:none !important;background:transparent !important;-webkit-appearance:none !important;appearance:none !important;font-size:15px !important;color:var(--navy) !important;text-overflow:ellipsis}
.eb .eb-search-field input::-webkit-search-decoration,.eb .eb-search-field input::-webkit-search-cancel-button{-webkit-appearance:none}
.eb .eb-search-field input::placeholder{color:#8a99a8;opacity:1}
.eb .eb-search button{flex:none;height:44px;border:0 !important;background:linear-gradient(135deg,var(--k-2,#24b0ae),var(--k,#167a79)) !important;color:#fff !important;font-weight:800 !important;font-size:14px !important;border-radius:12px !important;padding:0 24px !important;line-height:1 !important;cursor:pointer;box-shadow:0 6px 16px rgba(24,49,77,.22),inset 0 1px 0 rgba(255,255,255,.2) !important;transition:transform .15s,box-shadow .15s,filter .15s}
.eb .eb-search button:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 9px 20px rgba(24,49,77,.28),inset 0 1px 0 rgba(255,255,255,.2) !important}

/* tabs: قرص‌های جداشده؛ رنگ هر تب = رنگ همان بخش (پیداشده فیروزه‌ای / گمشده سورمه‌ای) */
.eb-tabs{display:inline-flex !important;gap:6px;margin-top:24px;padding:6px;background:#fff;border:1.5px solid var(--line-2);border-radius:18px;box-shadow:0 6px 20px rgba(24,49,77,.07)}
.eb-tab{display:inline-flex !important;align-items:center;gap:9px;padding:11px 26px !important;border-radius:13px;font-size:15px;font-weight:700;line-height:1.4;color:var(--muted) !important;transition:background .18s,color .18s,box-shadow .18s,transform .18s}
.eb-tab-lost{--tk:#18314D;--tk-2:#33598a;--tk-bg:#e4ebf4}
.eb-tab-found{--tk:#167a79;--tk-2:#24b0ae;--tk-bg:#d9f1f0}
.eb-tab:hover{background:var(--tk-bg);color:var(--tk) !important}
.eb-tab:focus-visible{outline:2px solid var(--tk);outline-offset:2px}
.eb-tab.on,.eb-tab.on:hover{background:linear-gradient(135deg,var(--tk-2),var(--tk)) !important;color:#fff !important;box-shadow:0 7px 18px rgba(24,49,77,.24),inset 0 1px 0 rgba(255,255,255,.2)}
.eb-tab svg{flex:none}

/* toolbar */
.eb-toolbar{display:flex !important;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 2px 4px}
.eb-chips{display:flex !important;gap:9px;flex-wrap:wrap}
.eb-chip{border:1.5px solid var(--line-2) !important;background:var(--surface) !important;color:var(--muted) !important;border-radius:999px !important;padding:7px 15px !important;font-size:13.5px !important;font-weight:600 !important}
.eb-chip:hover{border-color:var(--k,var(--teal)) !important;color:var(--k,var(--teal)) !important}
.eb-chip.on{background:var(--k,var(--teal)) !important;border-color:var(--k,var(--teal)) !important;color:#fff !important}
.eb-sortwrap{margin-inline-start:auto;display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted)}
.eb-sortwrap select{font-size:13.5px !important;font-weight:600;color:var(--navy);border:1.5px solid var(--line-2);background:var(--surface);border-radius:9px;padding:7px 12px}
.eb-count{padding:8px 2px 0;font-size:13px;color:var(--muted)}

/* grid + card — فشرده‌تر و با پدینگ */
.eb-grid{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:16px !important;padding:16px 2px}
.eb-card{position:relative;background:var(--surface) !important;border:2px solid #eef2f5 !important;border-radius:var(--r) !important;overflow:hidden;display:flex !important;flex-direction:column;padding:14px !important;transition:transform .16s,box-shadow .16s,border-color .16s}
.eb-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--line-2)}
.eb-card-body{display:flex !important;flex-direction:column;gap:9px;flex:1;padding-top:20px}
.eb-card-title{font-size:16px !important;font-weight:700 !important;line-height:1.5 !important}
.eb-card-title a:hover{color:var(--teal)}
.eb-loc{display:flex !important;align-items:center;gap:5px;font-size:13px;color:var(--navy)}
.eb-loc svg{color:var(--muted);flex:none}
.eb-detail{font-size:13px;color:var(--muted)}
.eb-detail b{color:var(--navy)}
.eb .eb-date{direction:ltr;unicode-bidi:isolate;display:inline-block}
.eb-detail-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12.5px;line-height:1.7}
.eb-mask{letter-spacing:1px;direction:ltr !important;unicode-bidi:plaintext;display:inline-block}
.eb-card-foot{display:flex !important;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:16px;margin-top:12px}
.eb-more{font-size:13px;font-weight:700;color:var(--teal) !important}
.eb-more:hover{color:var(--teal-d) !important}
.eb-status{font-size:12.5px;font-weight:700;border-radius:999px;padding:8px 22px !important;line-height:1.7 !important}
.eb-status.wait{background:#fdf1e3;color:#b26a1e}
.eb-status.done{background:#e7f1f0;color:var(--teal-d)}
.eb-status.search{background:#eef1f3;color:var(--muted)}

/* media / carousel — جمع‌وجور، گوشه‌گرد، با قابلیت بزرگ‌نمایی */
.eb-media{position:relative;aspect-ratio:16/10 !important;width:100%;overflow:hidden;background:#fff;border:1.5px solid #e3e9ee;border-radius:12px !important}
.eb-media.zoomable{cursor:zoom-in}
.eb-track{display:flex !important;height:100%;direction:ltr !important;transition:transform .45s cubic-bezier(.3,.7,.2,1)}
.eb-slide{flex:0 0 100% !important;height:100%;position:relative;display:flex;align-items:center;justify-content:center}
.eb-slide img{width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;object-fit:contain !important;object-position:center center !important;margin:0 auto !important;display:block}
.eb-slide.eb-default-img{background:#fff}
.eb-slide.eb-fallback{background:#f0f4f6}
.eb-slide.eb-fallback.doc{background:linear-gradient(140deg,#eef4fb,#dbe8f6)}
.eb-slide.eb-fallback.obj{background:linear-gradient(140deg,#f8f0e2,#eedcc3)}
.eb-slide.eb-fallback.pet{background:linear-gradient(140deg,#ecf5ee,#d6e9da)}
.eb-fb-ic{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 10px 24px rgba(24,49,77,.18)}
.eb-fallback.doc .eb-fb-ic{background:linear-gradient(145deg,#5a90cf,#2f6fb0)}
.eb-fallback.obj .eb-fb-ic{background:linear-gradient(145deg,#d1a155,#b5771f)}
.eb-fallback.pet .eb-fb-ic{background:linear-gradient(145deg,#54b17f,#2e8d63)}
.eb-fb-ic svg{width:44px;height:44px;display:block}
.eb-pill{position:absolute;top:12px;inset-inline-end:12px;z-index:3;display:inline-flex;align-items:center;font-size:12px;font-weight:700;border-radius:999px;padding:7px 20px !important;line-height:1.7 !important;background:rgba(255,255,255,.94);box-shadow:0 1px 4px rgba(24,49,77,.1)}
.eb-pill.k-lost{background:#e4ebf4 !important;color:#18314D !important;border:1px solid #c9d6e6}
.eb-pill.k-found{background:#d9f1f0 !important;color:#0f6362 !important;border:1px solid #b6e2e0}
.eb-when{position:absolute;top:12px;inset-inline-start:12px;z-index:3;font-size:11.5px;font-weight:600;padding:7px 20px !important;line-height:1.7 !important;border-radius:999px;background:rgba(16,30,27,.55);color:#fff}
.eb-dots{position:absolute;bottom:8px;left:0;right:0;display:flex !important;justify-content:center;gap:5px;z-index:6}
.eb-dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.7);box-shadow:0 0 0 1px rgba(24,49,77,.12);cursor:pointer;transition:.2s}
.eb-dot.on{background:#fff;width:16px;border-radius:3px}
.eb-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.94);border:0;color:var(--navy);box-shadow:var(--shadow);cursor:pointer;opacity:0;transition:.15s;font-size:18px;line-height:1}
.eb-media:hover .eb-arrow{opacity:1}
.eb-arrow.prev{inset-inline-start:7px}.eb-arrow.next{inset-inline-end:7px}

/* empty + pager */
.eb-empty{grid-column:1/-1;text-align:center !important;padding:46px 20px;color:var(--muted);background:var(--surface);border:1px dashed var(--line-2);border-radius:var(--r)}
.eb-empty h4{font-size:18px;margin-bottom:8px !important}
.eb-empty-btn{display:inline-block;margin-top:14px !important;border:1.5px solid var(--line-2);border-radius:10px;padding:9px 20px;font-weight:600;color:var(--teal)}
.eb-pager{display:flex !important;gap:8px;justify-content:center;flex-wrap:wrap;padding:20px 2px 6px;margin-bottom:40px}
.eb-pager .page-numbers{display:inline-block;min-width:42px;text-align:center;padding:9px 14px;border:1.5px solid var(--k-bd,var(--line-2));border-radius:11px;background:var(--k-bg,var(--surface));font-weight:700;font-size:14px;color:var(--k,var(--navy)) !important;transition:background .15s,color .15s}
.eb-pager .page-numbers.current{background:var(--k,var(--teal));border-color:var(--k,var(--teal));color:#fff !important}
.eb-pager .page-numbers.dots{background:transparent;border-color:transparent}
.eb-pager a.page-numbers:hover{background:var(--k,var(--teal));border-color:var(--k,var(--teal));color:#fff !important}

/* seo block */
.eb-seo{padding:28px 2px 24px;margin-top:40px;border-top:1px solid var(--line)}
.eb-seo h2{font-size:19px !important;margin-bottom:10px !important}
.eb-seo p{font-size:14px !important;color:var(--muted) !important;max-width:80ch;margin:0 0 12px !important;font-weight:400 !important}
.eb-cities{display:flex !important;flex-wrap:wrap;gap:8px}
.eb-cities a{border:1px solid var(--line-2);border-radius:999px;padding:7px 14px;font-size:13.5px;font-weight:600;color:var(--muted)}
.eb-cities a:hover{background:var(--teal);border-color:var(--teal);color:#fff}
.eb-cities-more{margin-top:10px}
.eb-cities-more summary{cursor:pointer;font-weight:700;font-size:13.5px;color:var(--teal);padding:6px 0;list-style:none}
.eb-cities-more summary::-webkit-details-marker{display:none}
.eb-cities-more[open] summary{margin-bottom:8px}

/* single */
.eb-single{padding-bottom:40px}
.eb-single-card{background:var(--surface) !important;border:1px solid var(--line) !important;border-radius:18px !important;box-shadow:var(--shadow);max-width:720px;margin:14px auto 0;padding:14px !important}
.eb-single-media{aspect-ratio:16/9 !important;max-height:340px;border-radius:14px !important;overflow:hidden;position:relative}
.eb-single-media .eb-media{aspect-ratio:auto !important;height:100% !important;border-radius:14px !important}
.eb-single-media .eb-fb-ic{width:108px;height:108px}
.eb-single-media .eb-fb-ic svg{width:56px;height:56px}
.eb-single-head{display:flex !important;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 6px 4px}
.eb-single-head h1{font-size:21px !important;flex:1;min-width:200px}
.eb-single-head .eb-pill{position:static}
.eb-single-notes{padding:0 6px;color:var(--muted) !important;font-size:14.5px;margin:10px 0 !important;font-weight:400 !important}
.eb-kv{display:grid !important;grid-template-columns:auto 1fr;gap:10px 16px;padding:8px 6px 4px}
.eb-kv dt{color:var(--muted) !important;font-size:13.5px}
.eb-kv dd{font-size:14.5px !important;font-weight:600 !important}
.eb-notice{margin:16px 6px;padding:14px 16px;border-radius:var(--r);font-size:14px;background:#e9f3f2;border:1px solid #cfe6e4;color:var(--teal-d)}
.eb-notice.sup{background:#fdf1e3;border-color:#f3dcbb;color:#8a5410}
.eb-notice b{color:var(--navy)}
.eb-phone{font-weight:800;font-size:20px;direction:ltr;margin-top:4px}
.eb-back{display:inline-block;margin:6px 6px 8px;color:var(--teal) !important;font-weight:700;font-size:14px}

/* کارت‌های راهکار (اعلام مفقودی + جستجوی هوشمند) در پیداشده‌ها — استایل اختصاصی و مقاوم */
.eb-cta{margin:26px auto;max-width:760px;background:linear-gradient(180deg,#F4FAF9 0%,#fff 100%);border:1px solid #DCEEEC;border-radius:20px;padding:26px 22px;text-align:center}
.eb-cta h3{font-size:19px !important;font-weight:800 !important;color:var(--navy) !important;margin:0 0 8px !important;line-height:1.6 !important}
.eb-cta>p{color:var(--muted) !important;font-size:14px !important;line-height:1.9 !important;margin:0 auto 20px !important;max-width:560px;font-weight:400 !important}
.eb-cta .eb-options-grid{display:grid !important;grid-template-columns:1fr 1fr;gap:16px;text-align:right !important}
.eb-cta .eb-option-card{display:flex !important;flex-direction:column;background:linear-gradient(180deg,#F0FBFA 0%,#fff 100%) !important;border:1.5px solid #1C9594 !important;border-radius:16px !important;padding:20px 18px !important;box-shadow:0 6px 20px rgba(28,149,148,.14) !important;min-width:0;text-align:right !important}
.eb-cta .eb-option-icon{font-size:26px !important;line-height:1 !important;margin:0 0 8px !important}
.eb-cta .eb-option-title{font-size:16px !important;font-weight:700 !important;color:#18314D !important;margin:0 0 6px !important}
.eb-cta .eb-option-desc{font-size:14px !important;color:#5a6b7c !important;line-height:1.9 !important;margin:0 0 16px !important;flex:1 1 auto}
.eb-cta .eb-option-list{list-style:none !important;margin:0 0 16px !important;padding:0 !important;display:flex !important;flex-direction:column;gap:8px;flex:1 1 auto}
.eb-cta .eb-option-list li{position:relative;padding:0 22px 0 0 !important;margin:0 !important;font-size:14px !important;color:#5a6b7c !important;line-height:1.9 !important;text-align:right !important;word-break:break-word;list-style:none !important}
.eb-cta .eb-option-list li::before{content:"✓";position:absolute;right:0;top:1px;color:#1C9594 !important;font-weight:700}
.eb-cta .eb-action-btn{display:block !important;width:100% !important;text-align:center !important;padding:12px 18px !important;font-weight:700 !important;font-size:14.5px !important;border-radius:12px !important;color:#fff !important;margin-top:auto !important;box-shadow:none !important;border:0 !important}
.eb-cta .eb-action-btn.primary{background:linear-gradient(135deg,#1C9594,#22b3b1) !important}
.eb-cta .eb-action-btn.secondary{background:linear-gradient(135deg,#18314D,#234876) !important}
.eb-cta .eb-action-btn:hover{transform:translateY(-2px)}
@media (max-width:640px){
  .eb-cta{padding:20px 16px}
  .eb-cta .eb-options-grid{grid-template-columns:1fr !important}
}

/* lightbox — بزرگ‌نمایی عکس */
.eb-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(9,20,18,.92);display:none;align-items:center;justify-content:center}
.eb-lightbox.open{display:flex}
.eb-lightbox img{max-width:92vw;max-height:86vh;object-fit:contain;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.eb-lb-btn{position:absolute;background:rgba(255,255,255,.14);border:0;color:#fff;width:46px;height:46px;border-radius:50%;font-size:24px;cursor:pointer;display:grid;place-items:center}
.eb-lb-btn:hover{background:rgba(255,255,255,.26)}
.eb-lb-close{top:18px;inset-inline-end:18px}
.eb-lb-prev{inset-inline-start:18px;top:50%;transform:translateY(-50%)}
.eb-lb-next{inset-inline-end:18px;top:50%;transform:translateY(-50%)}

@media (max-width:980px){ .eb-grid{grid-template-columns:repeat(2,1fr) !important} }
@media (max-width:640px){
  .eb-hero h1{font-size:24px !important}
  .eb-grid{grid-template-columns:1fr !important}
  .eb-sortwrap{margin-inline-start:0;width:100%}
  .eb-sortwrap select{margin-inline-start:auto}
  .eb form.eb-search{gap:8px}
  .eb .eb-search-field{min-height:42px;padding:0 12px !important;gap:8px;border-radius:12px}
  .eb .eb-search-field input{font-size:14px !important;padding:6px 0 !important}
  .eb .eb-search button{height:40px;padding:0 16px !important;font-size:13px !important;border-radius:10px !important}
  .eb-tabs{display:flex !important;width:100%}
  .eb-tab{flex:1;justify-content:center;padding:10px 12px !important;font-size:14px}
}
@media (prefers-reduced-motion:reduce){.eb *{animation:none !important;transition:none !important}}

/* =========================================================
 * جستجوی کد ملی — ویجت (eb-melli)
 * ========================================================= */
.eb-melli-wrapper,.eb-melli-wrapper *{font-family:'Vazirmatn',Arial,sans-serif!important;direction:rtl!important;text-align:right!important;box-sizing:border-box!important}
.eb-melli-wrapper p,.eb-melli-wrapper ul,.eb-melli-wrapper li,.eb-melli-wrapper h3,.eb-melli-wrapper h4{margin:0!important;padding:0!important;list-style:none!important}
.eb-melli-wrapper a{text-decoration:none!important;border-bottom:none!important}
.eb-melli-wrapper{width:100%;padding:0!important;overflow-x:hidden;max-width:none}
.eb-melli-inner{max-width:1200px;margin:10px auto}
.eb-search-box{background:#fff!important;padding:26px;border-radius:20px!important;box-shadow:0 6px 25px rgba(24,49,77,.07)!important;margin-bottom:20px;border:1px solid #eef2f6!important}
.eb-search-box label{display:block!important;line-height:1.9!important;margin-bottom:12px!important;font-weight:600!important;color:#18314D!important;font-size:16px!important}
.eb-melli-wrapper .eb-input{width:100%;padding:14px 16px;border-radius:14px!important;border:1.5px solid #dfe6ec!important;font-size:16px!important;line-height:1.8!important;background:#fff!important;color:#18314D!important}
.eb-melli-wrapper .eb-input:focus{outline:none!important;border-color:#1C9594!important}
.eb-btn-row{margin-top:14px;display:flex!important;justify-content:center;gap:12px;flex-wrap:wrap}
.eb-melli-wrapper .eb-btn{padding:14px 32px;border-radius:14px!important;border:none!important;background:#1C9594!important;color:#fff!important;font-size:16px!important;font-weight:600!important;cursor:pointer}
.eb-melli-wrapper .eb-btn:hover{background:#167a79!important}
.eb-btn-clear{padding:14px 32px;border-radius:14px!important;border:1.5px solid #dfe6ec!important;background:#fff!important;color:#4a5b6c!important;font-size:16px!important;font-weight:600!important;cursor:pointer}
.eb-btn-clear:hover{background:#f7f9fc!important;border-color:#c7d1db!important}
.eb-waiting{display:none;margin-top:16px;align-items:center;justify-content:center;gap:10px;text-align:center!important;font-weight:600!important;color:#18314D!important;background:#EAF6F5!important;padding:14px 20px;border-radius:14px!important;font-size:15px!important}
.eb-waiting.is-visible{display:flex!important}
.eb-waiting-icon{width:20px!important;height:20px!important;flex-shrink:0;color:#1C9594;animation:eb-spin 1.6s linear infinite}
@keyframes eb-spin{to{transform:rotate(360deg)}}
.eb-card-result{margin-top:20px;padding:22px;background:#fff!important;border-radius:22px!important;box-shadow:0 8px 28px rgba(24,49,77,.08)!important;line-height:1.9!important;border:1px solid #eef2f6!important;color:#18314D!important;animation:eb-fade-up .6s ease forwards}
.eb-result-index{display:inline-block!important;background:#1C9594!important;color:#fff!important;padding:6px 14px;border-radius:20px!important;font-size:14px!important;font-weight:600!important;margin-bottom:12px!important}
.eb-row{display:flex!important;align-items:center;margin-top:10px!important;font-size:15px!important;color:#18314D!important}
.eb-contact-box{margin-top:16px!important;padding:14px;background:#f7f9fc!important;border-radius:14px!important;border:1px solid #e2e6ee!important;color:#18314D!important}
.eb-hope-card{margin-top:20px;padding:26px 20px;background:linear-gradient(180deg,#F4FAF9 0%,#fff 100%)!important;border-radius:22px!important;border:1px solid #DCEEEC!important;text-align:center!important;animation:eb-fade-up .7s ease forwards;overflow:hidden}
.eb-hope-icon{width:52px!important;height:52px!important;margin:0 auto 14px!important;display:block!important;color:#1C9594}
.eb-hope-title{font-size:19px!important;font-weight:700!important;color:#18314D!important;margin:0 0 10px!important;line-height:1.8!important}
.eb-hope-text{font-size:15px!important;color:#4a5b6c!important;line-height:1.9!important;margin:0 auto 24px!important;max-width:520px}
.eb-options-grid{display:grid!important;grid-template-columns:1fr;gap:14px;text-align:right!important}
@media(min-width:640px){.eb-options-grid{grid-template-columns:1fr 1fr}}
.eb-option-card{background:linear-gradient(180deg,#F0FBFA 0%,#fff 100%)!important;border:1.5px solid #1C9594!important;border-radius:18px!important;padding:20px 18px;display:flex!important;flex-direction:column;box-shadow:0 6px 20px rgba(28,149,148,.14)!important}
.eb-option-icon{font-size:26px!important;margin-bottom:8px!important;line-height:1!important}
.eb-option-title{font-size:16px!important;font-weight:700!important;color:#18314D!important;margin:0 0 6px!important}
.eb-option-desc{font-size:14px!important;color:#5a6b7c!important;line-height:1.8!important;margin:0 0 16px!important;flex-grow:1}
.eb-option-list{margin:0 0 16px!important;flex-grow:1;display:flex!important;flex-direction:column;gap:8px}
.eb-option-list li{position:relative;padding-right:22px!important;font-size:14px!important;color:#5a6b7c!important;line-height:1.8!important;word-break:break-word}
.eb-option-list li::before{content:"✓";position:absolute;right:0!important;top:1px!important;color:#1C9594!important;font-weight:700!important}
.eb-action-btn{display:inline-block!important;padding:12px 22px;font-weight:600!important;border-radius:16px!important;transition:all .25s ease;cursor:pointer}
.eb-action-btn.primary{background:linear-gradient(135deg,#1C9594,#22b3b1)!important;color:#fff!important;box-shadow:0 4px 15px rgba(28,149,148,.3)!important}
.eb-action-btn.primary:hover{transform:translateY(-2px)}
.eb-action-btn.secondary{background:linear-gradient(135deg,#18314D,#234876)!important;color:#fff!important;box-shadow:0 4px 15px rgba(24,49,77,.25)!important}
.eb-action-btn.secondary:hover{transform:translateY(-2px)}
@media(max-width:768px){.eb-action-btn{width:100%!important;text-align:center!important}}
@keyframes eb-fade-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* حریم خصوصی — نشان و پنجره‌ی توضیح */
.eb-priv{display:inline-flex !important;align-items:center;gap:4px;margin:6px 0 0 !important;padding:6px 16px !important;border:1px solid #cfe6e5 !important;border-radius:999px !important;background:#eaf6f6 !important;color:#167a79 !important;font:inherit !important;font-size:11.5px !important;font-weight:700 !important;line-height:1.7 !important;gap:6px;cursor:pointer;white-space:nowrap;vertical-align:middle;box-shadow:none !important;text-transform:none !important}
.eb-priv:hover,.eb-priv:focus-visible{background:#dcf0ef !important;outline:2px solid #1C9594;outline-offset:1px}
.eb-priv-modal{position:fixed;inset:0;z-index:100000;background:rgba(9,20,18,.55);display:none;align-items:center;justify-content:center;padding:18px;direction:rtl;text-align:right}
.eb-priv-modal.open{display:flex}
.eb-priv-box{background:#fff;color:#18314D;width:100%;max-width:400px;border-radius:18px;padding:22px 20px 18px;box-shadow:0 20px 60px rgba(0,0,0,.3);font-family:inherit;line-height:1.9}
.eb-priv-box h3{margin:0 0 8px !important;font-size:16.5px !important;font-weight:800 !important;color:#18314D !important}
.eb-priv-box p{margin:0 0 16px !important;font-size:14px !important;color:#3b4d5f !important}
.eb-priv-ok{display:block;width:100%;padding:11px 16px;border:0;border-radius:12px;background:linear-gradient(135deg,#1C9594,#22b3b1);color:#fff;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.eb-notice a{color:inherit !important;font-weight:700;text-decoration:underline !important;text-underline-offset:3px}
.eb-notice a:hover{color:var(--teal-d) !important}

/* جستجوی AJAX: نشانگر «در حال جستجو» */
.eb .eb-spin{display:inline-block;width:18px;height:18px;border:2.5px solid rgba(28,149,148,.25);border-top-color:var(--k,var(--teal));border-radius:50%;animation:eb-spin .7s linear infinite;flex:none;vertical-align:middle}
.eb .eb-searching{display:flex;align-items:center;gap:10px;margin:12px 2px 0;font-size:14px;font-weight:700;color:var(--k,var(--teal))}
.eb .eb-search button.is-busy{display:inline-flex !important;align-items:center;gap:8px;opacity:.8;cursor:progress}
.eb .eb-search button.is-busy .eb-spin{width:14px;height:14px;border-width:2px;border-color:rgba(255,255,255,.35);border-top-color:#fff}
.eb-listing.is-searching .eb-grid,.eb-listing.is-searching .eb-count,.eb-listing.is-searching .eb-pager{opacity:.35;pointer-events:none;transition:opacity .15s}

/* پاک‌کردن جستجو */
.eb .eb-search .eb-search-clear,.eb .eb-search .eb-search-clear:hover,.eb .eb-search .eb-search-clear:focus{flex:none;display:inline-flex !important;align-items:center;justify-content:center;width:26px !important;height:26px !important;padding:0 !important;margin:0 !important;border:0 !important;border-radius:50% !important;background:#e8eef3 !important;color:#51606f !important;font-size:12px !important;font-weight:700 !important;line-height:1 !important;box-shadow:none !important;transform:none !important;filter:none !important;cursor:pointer}
.eb .eb-search .eb-search-clear:hover{background:#d9e2ea !important}
.eb .eb-search .eb-search-clear[hidden]{display:none !important}
.eb-count{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.eb-count .eb-clear-q{display:inline-flex;align-items:center;gap:4px;padding:3px 12px;border-radius:99px;background:#fdecec;color:#c0392b !important;font-size:12px;font-weight:700;text-decoration:none !important;border:1px solid #f5c6c6}
.eb-count .eb-clear-q:hover{background:#fbdcdc}

/* ===== v1.3.27 — صفحه‌بندی و بخش سئو/شهرها (موبایل و دسکتاپ) ===== */
.eb .eb-pager{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center;gap:14px;padding:26px 2px 6px;margin:8px 0 40px}
.eb .eb-pager-info{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:center;font-size:13.5px;color:var(--muted)}
.eb .eb-pager-info b{color:var(--navy);font-weight:800}
.eb .eb-pager-info span{opacity:.5}
.eb .eb-pager-nav{display:flex !important;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;max-width:100%;padding:6px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.eb .eb-pager .page-numbers{display:inline-flex !important;align-items:center;justify-content:center;gap:6px;min-width:42px;height:42px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:var(--navy) !important;font-size:14.5px;font-weight:700;line-height:1;transition:background .15s,color .15s,transform .15s,box-shadow .15s}
.eb .eb-pager a.page-numbers:hover{background:var(--k-bg,#e8f4f4);border-color:transparent;color:var(--k,var(--teal)) !important;transform:translateY(-1px)}
.eb .eb-pager .page-numbers.current{background:linear-gradient(135deg,var(--k-2,#24b0ae),var(--k,#167a79));color:#fff !important;box-shadow:0 6px 16px rgba(24,49,77,.22)}
.eb .eb-pager .page-numbers.dots{min-width:22px;padding:0;color:var(--muted) !important}
.eb .eb-pager .page-numbers.prev,.eb .eb-pager .page-numbers.next{padding:0 16px;background:var(--k-bg,#eef2f6);color:var(--k-tx,var(--navy)) !important}
.eb .eb-pager a.page-numbers.prev:hover,.eb .eb-pager a.page-numbers.next:hover{background:var(--k,var(--teal));color:#fff !important}
.eb .eb-pager .page-numbers.is-disabled{opacity:.4;pointer-events:none}
.eb .eb-pager .page-numbers svg{flex:none}
.eb .eb-pager-jump{display:flex !important;align-items:center;gap:8px;margin:0 !important;padding:0 !important;background:none !important;border:0 !important;box-shadow:none !important;font-size:13px;color:var(--muted)}
.eb .eb-pager-jump input{width:84px !important;min-width:0 !important;height:38px !important;margin:0 !important;padding:0 10px !important;border:1.5px solid var(--line-2) !important;border-radius:10px !important;background:#fff !important;box-shadow:none !important;text-align:center !important;font-size:14px !important;color:var(--navy) !important;-moz-appearance:textfield;appearance:textfield}
.eb .eb-pager-jump input::-webkit-outer-spin-button,.eb .eb-pager-jump input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.eb .eb-pager-jump input:focus{border-color:var(--k,var(--teal)) !important;outline:0 !important;box-shadow:0 0 0 3px rgba(28,149,148,.14) !important}
.eb .eb-pager-jump button{height:38px;padding:0 18px !important;border:0 !important;border-radius:10px !important;background:var(--navy) !important;color:#fff !important;font-size:13px !important;font-weight:700 !important;transition:background .15s}
.eb .eb-pager-jump button:hover{background:var(--k,var(--teal)) !important}

.eb .eb-seo{display:grid;gap:18px;margin-top:44px;padding:0;border-top:0}
.eb .eb-seo-text,.eb .eb-seo-cities{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.eb .eb-seo-text{padding:24px 28px;overflow:hidden}
.eb .eb-seo-text::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:5px;background:linear-gradient(180deg,var(--k-2,#24b0ae),var(--k,#167a79))}
.eb .eb-seo-text h2{margin-bottom:10px !important;font-size:20px !important}
.eb .eb-seo-text p{max-width:none !important;margin:0 !important;font-size:14.5px !important;line-height:2.05 !important;color:var(--muted) !important;font-weight:400 !important}
.eb .eb-seo-cities{padding:22px 28px}
.eb .eb-seo-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.eb .eb-seo-head h3{margin:0 !important;font-size:16px !important}
.eb .eb-seo-badge{padding:3px 12px;border:1px solid var(--k-bd,#cfe6e6);border-radius:999px;background:var(--k-bg,#e8f4f4);color:var(--k-tx,var(--teal-d));font-size:12px;font-weight:700}
.eb .eb-cities{display:flex !important;flex-wrap:wrap;gap:8px}
.eb .eb-cities a{display:inline-flex;align-items:center;max-width:100%;padding:7px 15px;border:1px solid var(--line-2);border-radius:999px;background:var(--bg);color:var(--navy) !important;font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .15s,border-color .15s,color .15s,transform .15s,box-shadow .15s}
.eb .eb-cities a:hover{background:var(--k,var(--teal));border-color:var(--k,var(--teal));color:#fff !important;transform:translateY(-1px);box-shadow:0 6px 14px rgba(24,49,77,.16)}
.eb .eb-cities a[hidden]{display:none !important}
.eb .eb-cities-more{margin-top:16px;padding-top:16px;border-top:1px dashed var(--line-2)}
.eb .eb-cities-more summary{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border:1.5px solid var(--k-bd,var(--line-2));border-radius:12px;background:var(--k-bg,#eef6f6);color:var(--k-tx,var(--teal-d));font-size:13.5px;font-weight:700;cursor:pointer;list-style:none;user-select:none;transition:background .15s,color .15s}
.eb .eb-cities-more summary::-webkit-details-marker{display:none}
.eb .eb-cities-more summary:hover{background:var(--k,var(--teal));color:#fff}
.eb .eb-cities-more summary svg{flex:none;transition:transform .2s}
.eb .eb-cities-more[open] summary{margin-bottom:14px}
.eb .eb-cities-more[open] summary svg{transform:rotate(180deg)}
.eb .eb-city-find{max-width:360px;margin-bottom:12px}
.eb .eb-city-filter{display:block;width:100% !important;height:42px !important;margin:0 !important;padding:0 14px !important;border:1.5px solid var(--line-2) !important;border-radius:12px !important;background:#fff !important;box-shadow:none !important;outline:0 !important;font-size:14px !important;color:var(--navy) !important}
.eb .eb-city-filter:focus{border-color:var(--k,var(--teal)) !important;box-shadow:0 0 0 3px rgba(28,149,148,.14) !important}
.eb .eb-cities-empty{margin:8px 0 0 !important;font-size:13.5px !important;color:var(--muted) !important}
.eb .eb-cities-empty[hidden]{display:none !important}

@media (max-width:640px){
  .eb .eb-pager{padding-top:20px;margin-bottom:30px}
  .eb .eb-pager-nav{gap:4px;padding:5px;border-radius:16px}
  .eb .eb-pager .page-numbers{min-width:38px;height:40px;padding:0 9px;font-size:14px}
  .eb .eb-pager .page-numbers.prev,.eb .eb-pager .page-numbers.next{padding:0 12px}
  .eb .eb-seo{margin-top:34px;gap:14px}
  .eb .eb-seo-text,.eb .eb-seo-cities{padding:18px 16px;border-radius:16px}
  .eb .eb-seo-text h2{font-size:18px !important}
  .eb .eb-seo-text p{font-size:14px !important;line-height:2 !important}
  .eb .eb-cities a{padding:6px 12px;font-size:13px}
  .eb .eb-cities-more summary{width:100%;justify-content:space-between}
  .eb .eb-city-find{max-width:none}
}
@media (max-width:420px){
  .eb .eb-pager .page-numbers.prev span,.eb .eb-pager .page-numbers.next span{display:none}
  .eb .eb-pager .page-numbers.prev,.eb .eb-pager .page-numbers.next{min-width:40px;padding:0 10px}
}
@media (prefers-reduced-motion:reduce){
  .eb .eb-pager .page-numbers,.eb .eb-cities a,.eb .eb-cities-more summary svg{transition:none}
  .eb .eb-pager a.page-numbers:hover,.eb .eb-cities a:hover{transform:none}
}


/* ===== موبایل: حداکثر ۶ کارت در هر صفحه (گمشده و پیداشده) ===== */
/* موبایل: تعداد کارت هر صفحه (۶) از سمت سرور تعیین می‌شود */

/* ===== باکس اشتراک جستجوی هوشمند (گمشده‌ها) ===== */
.eb .eb-sf{position:relative;overflow:hidden;margin:6px 2px 26px;padding:28px 26px 24px;border-radius:22px;color:#fff !important;
  background:linear-gradient(135deg,#18314D 0%,#1b4468 55%,#167a79 100%);box-shadow:0 14px 38px rgba(24,49,77,.26);text-align:right !important}
.eb .eb-sf-glow{position:absolute;top:-70px;left:-70px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(34,179,177,.55),rgba(34,179,177,0) 70%);pointer-events:none}
.eb .eb-sf>*{position:relative}
.eb .eb-sf-head{display:flex !important;align-items:center;gap:10px;margin-bottom:12px}
.eb .eb-sf-radar{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.12);color:#F5A968;position:relative}
.eb .eb-sf-radar::after{content:"";position:absolute;inset:0;border-radius:14px;border:2px solid rgba(245,169,104,.55);animation:eb-sf-ping 2.2s ease-out infinite}
.eb .eb-sf-badge{display:inline-block;background:#F5A968;color:#18314D;font-size:12.5px;font-weight:800;border-radius:999px;padding:3px 12px}
.eb .eb-sf h3{color:#fff !important;font-size:21px !important;font-weight:800 !important;line-height:1.7 !important;margin:0 0 8px !important}
.eb .eb-sf h3 span{color:#F5A968;display:inline-block}
.eb .eb-sf-text{color:rgba(255,255,255,.88) !important;font-size:14.5px !important;line-height:2 !important;max-width:640px;margin:0 0 18px !important}
.eb .eb-sf-steps{display:grid !important;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 20px !important;padding:0 !important}
.eb .eb-sf-steps li{display:flex !important;align-items:center;gap:10px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:10px 12px !important;font-size:13.5px;line-height:1.7;color:#fff}
.eb .eb-sf-steps b{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#F5A968;color:#18314D;font-size:13px;font-weight:800}
.eb .eb-sf-btn{display:inline-flex !important;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#F5A968,#f7bb83) !important;color:#18314D !important;font-weight:800 !important;font-size:15.5px !important;border-radius:14px !important;padding:14px 28px !important;box-shadow:0 8px 22px rgba(245,169,104,.42) !important;transition:transform .18s,box-shadow .18s;animation:eb-sf-pulse 2.4s ease-in-out infinite}
.eb .eb-sf-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(245,169,104,.55) !important;color:#18314D !important}
.eb .eb-sf-btn svg{transition:transform .18s}
.eb .eb-sf-btn:hover svg{transform:translateX(-4px)}
.eb .eb-sf-note{margin:12px 0 0 !important;font-size:12.5px !important;color:rgba(255,255,255,.7) !important}
@keyframes eb-sf-ping{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.55);opacity:0}}
@keyframes eb-sf-pulse{0%,100%{box-shadow:0 8px 22px rgba(245,169,104,.42)}50%{box-shadow:0 8px 30px rgba(245,169,104,.7)}}
@media (max-width:640px){
  .eb .eb-sf{padding:22px 16px 20px;border-radius:18px;margin-bottom:22px}
  .eb .eb-sf h3{font-size:18px !important}
  .eb .eb-sf-text{font-size:13.5px !important}
  .eb .eb-sf-steps{grid-template-columns:1fr}
  .eb .eb-sf-btn{display:flex !important;width:100%;padding:14px 16px !important}
  .eb .eb-sf-note{text-align:center !important}
}
@media (prefers-reduced-motion:reduce){
  .eb .eb-sf-btn,.eb .eb-sf-radar::after{animation:none !important}
  .eb .eb-sf-btn:hover,.eb .eb-sf-btn:hover svg{transform:none}
}


/* =========================================================
 * هدرِ بالای کارت‌ها — حال‌وهوای اپ مدرن (v1.3.29)
 * ========================================================= */
.eb .eb-hero{position:relative;overflow:hidden;margin-top:14px;padding:28px 28px 30px;border-radius:26px;color:#fff;
  background:linear-gradient(135deg,var(--k) 0%,var(--hg,#1b4468) 60%,var(--hg2,#167a79) 130%);box-shadow:0 18px 44px rgba(24,49,77,.24)}
.eb-k-lost .eb-hero{--hg:#1b4468;--hg2:#1C9594}
.eb-k-found .eb-hero{--k:#0f6362;--hg:#167a79;--hg2:#18314D}
.eb .eb-hero>*{position:relative;z-index:1}
.eb .eb-hero .eb-hero-glow{position:absolute;z-index:0;top:-90px;left:-60px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.2),rgba(255,255,255,0) 68%);pointer-events:none}
.eb .eb-hero .eb-hero-glow-2{top:auto;left:auto;bottom:-120px;right:-80px;width:340px;height:340px;background:radial-gradient(circle,rgba(245,169,104,.32),rgba(245,169,104,0) 68%)}
.eb .eb-hero-top{display:flex !important;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.eb .eb-eyebrow{display:inline-flex !important;align-items:center;gap:8px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:4px 14px;font-size:12.5px;font-weight:700;color:#fff;backdrop-filter:blur(4px)}
.eb .eb-eyebrow i{width:8px;height:8px;border-radius:50%;background:#F5A968;box-shadow:0 0 0 0 rgba(245,169,104,.7);animation:eb-dot 2s ease-out infinite}
.eb .eb-hero-stat{font-size:13px;color:rgba(255,255,255,.85)}
.eb .eb-hero-stat b{color:#F5A968;font-weight:800;font-size:15px}
.eb .eb-hero h1{color:#fff !important;font-size:34px !important}
.eb .eb-hero .eb-accent{color:#F5A968 !important}
.eb .eb-hero .eb-lede{color:rgba(255,255,255,.86) !important;max-width:62ch;margin:10px 0 0 !important}

/* تب‌ها = کنترل قطعه‌ای شیشه‌ای */
.eb .eb-hero .eb-tabs{margin-top:22px;padding:5px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:16px;box-shadow:none;backdrop-filter:blur(6px)}
.eb .eb-hero .eb-tab{color:rgba(255,255,255,.82) !important;border-radius:12px}
.eb .eb-hero .eb-tab:hover{background:rgba(255,255,255,.14);color:#fff !important}
.eb .eb-hero .eb-tab.on,.eb .eb-hero .eb-tab.on:hover{background:#fff !important;color:var(--tk) !important;box-shadow:0 6px 16px rgba(0,0,0,.18)}

/* جستجو = کادر درشت سفید روی گرادیان */
.eb .eb-hero form.eb-search{max-width:720px;margin-top:16px !important;padding:6px !important;background:#fff !important;border-radius:18px !important;box-shadow:0 14px 34px rgba(0,0,0,.22) !important}
.eb .eb-hero .eb-search-field{border:0;box-shadow:none;background:transparent;min-height:50px}
.eb .eb-hero .eb-search-field:focus-within{box-shadow:none}
.eb .eb-hero .eb-search-field svg{color:var(--k)}
.eb .eb-hero .eb-search button[type=submit]{height:48px;padding:0 30px !important;border-radius:13px !important;background:linear-gradient(135deg,#F5A968,#f7bb83) !important;color:#18314D !important;box-shadow:0 6px 16px rgba(245,169,104,.45) !important}
.eb .eb-hero .eb-search button[type=submit]:hover{box-shadow:0 9px 22px rgba(245,169,104,.55) !important}
.eb .eb-hero .eb-searching{color:#fff}

/* نوار فیلتر = کارت شناور با چیپ‌های آیکن‌دار */
.eb .eb-toolbar{margin-top:16px;padding:10px 12px !important;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.eb .eb-chip{display:inline-flex !important;align-items:center;gap:7px;padding:8px 16px 8px 14px !important;background:#f3f6f9 !important;border-color:transparent !important;transition:all .16s}
.eb .eb-chip svg{width:17px;height:17px;flex:none}
.eb .eb-chip:hover{transform:translateY(-1px)}
.eb .eb-chip.on{box-shadow:0 6px 14px rgba(24,49,77,.2)}
.eb .eb-sortwrap select{background:#f3f6f9;border-color:transparent;border-radius:12px;padding:8px 14px}
.eb .eb-count{display:flex !important;align-items:center;justify-content:space-between;gap:10px;padding:14px 4px 0 !important;font-size:13.5px !important;font-weight:600}
@keyframes eb-dot{0%{box-shadow:0 0 0 0 rgba(245,169,104,.7)}100%{box-shadow:0 0 0 10px rgba(245,169,104,0)}}

@media (max-width:640px){
  .eb .eb-hero{padding:20px 16px 20px;border-radius:20px;margin-top:10px}
  .eb .eb-hero h1{font-size:23px !important}
  .eb .eb-hero .eb-lede{font-size:13.5px !important;line-height:1.95 !important}
  .eb .eb-hero .eb-tabs{margin-top:16px}
  .eb .eb-hero form.eb-search{padding:5px !important;border-radius:15px !important;gap:6px}
  .eb .eb-hero .eb-search-field{min-height:44px}
  .eb .eb-hero .eb-search button[type=submit]{height:42px;padding:0 16px !important}
  .eb .eb-toolbar{padding:8px !important;border-radius:16px;gap:8px}
  .eb .eb-chips{flex-wrap:nowrap;overflow-x:auto;width:100%;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .eb .eb-chips::-webkit-scrollbar{display:none}
  .eb .eb-chip{flex:none;white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){.eb .eb-eyebrow i{animation:none !important}}



/* ===== دکمه‌ی بزرگ پایین هر تب ===== */
.eb .eb-bcta{display:flex;justify-content:center;margin:22px 2px 8px}
.eb .eb-bcta-btn{position:relative;overflow:hidden;display:flex !important;align-items:center;gap:14px;width:100%;max-width:560px;padding:12px 14px 12px 18px !important;border-radius:20px !important;color:#fff !important;
  background:linear-gradient(135deg,var(--bc1),var(--bc2)) !important;box-shadow:0 14px 32px -10px var(--bcs) !important;transition:transform .18s,box-shadow .18s}
.eb .eb-bcta-btn::before{content:"";position:absolute;top:-40px;left:-30px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0) 70%);pointer-events:none}
.eb .eb-bcta-btn:hover{transform:translateY(-3px);box-shadow:0 20px 38px -10px var(--bcs) !important;color:#fff !important}
.eb .eb-bcta-lost{--bc1:#18314D;--bc2:#1C9594;--bcs:rgba(24,49,77,.55)}
.eb .eb-bcta-found{--bc1:#167a79;--bc2:#24b0ae;--bcs:rgba(22,122,121,.55)}
.eb .eb-bcta-ico{position:relative;flex:none;display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25)}
.eb .eb-bcta-txt{position:relative;flex:1;font-size:16.5px;font-weight:800;line-height:1.6}
.eb .eb-bcta-arr{position:relative;flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#F5A968;color:#18314D;transition:transform .18s}
.eb .eb-bcta-btn:hover .eb-bcta-arr{transform:translateX(-4px)}
@media (max-width:640px){
  .eb .eb-bcta-btn{max-width:none;padding:11px 12px 11px 14px !important;gap:11px;border-radius:18px !important}
  .eb .eb-bcta-ico{width:44px;height:44px;border-radius:13px}
  .eb .eb-bcta-txt{font-size:15px}
}
@media (prefers-reduced-motion:reduce){.eb .eb-bcta-btn,.eb .eb-bcta-arr{transition:none}.eb .eb-bcta-btn:hover,.eb .eb-bcta-btn:hover .eb-bcta-arr{transform:none}}

/* ===== موبایل: کارت افقی (عکس راست، متن چپ، ارتفاع حدود نصف) — v1.3.32 ===== */
@media (max-width:640px){
  .eb-listing .eb-grid,.eb-listing .eb-pgrid{gap:12px !important;padding:12px 2px}
  .eb-listing .eb-grid > .eb-card{display:grid !important;grid-template-columns:104px minmax(0,1fr);column-gap:12px;align-items:stretch;padding:10px !important;border-width:1.5px !important;border-radius:16px !important}
  .eb-listing .eb-grid > .eb-card:hover{transform:none;box-shadow:var(--shadow)}
  /* عکس: بندانگشتی مربعی؛ گالری/زوم در صفحه‌ی جزئیات */
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-media{width:104px !important;height:104px !important;aspect-ratio:1/1 !important;align-self:start;border-radius:12px !important;border-width:1px !important;pointer-events:none;cursor:default}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-track{transform:none !important}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-slide:not(:first-child),.eb-listing .eb-card:not(.eb-pinned-card) .eb-dots,.eb-listing .eb-card:not(.eb-pinned-card) .eb-arrow,.eb-listing .eb-card:not(.eb-pinned-card) .eb-pill{display:none !important}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-slide img{object-fit:cover !important}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-slide.eb-default-img img{object-fit:contain !important;padding:4px}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-fb-ic{width:52px;height:52px}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-fb-ic svg{width:28px;height:28px}
  /* زمان: برچسب کوچک پایینِ عکس */
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-when{top:auto;bottom:5px;inset-inline-start:50%;transform:translateX(50%);white-space:nowrap;font-size:10px;padding:1px 9px !important;background:rgba(16,30,27,.62)}
  /* متن */
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-card-body{padding-top:0 !important;gap:4px !important;min-width:0}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-card-title{font-size:14.5px !important;line-height:1.55 !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-card-title a::after{content:"";position:absolute;inset:0;z-index:1} /* کلِ کارت لمس‌پذیر */
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-loc{font-size:12px}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-detail{font-size:12px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-priv{position:relative;z-index:2;margin:2px 0 0 !important;padding:2px 10px !important;font-size:10.5px !important}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-card-foot{border-top:0;margin-top:auto !important;padding-top:4px !important;gap:8px}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-status{font-size:11.5px;padding:2px 12px !important}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-more{position:relative;z-index:2;font-size:12px}
}

/* دکمه‌ی پایین تب + چیپ حریم خصوصی زیر آن (v1.3.33) */
.eb .eb-bcta{flex-direction:column;align-items:center;gap:10px}
.eb .eb-bcta .eb-priv{margin:0 !important}

/* ===== جایگاه‌های ویژه‌ی گمشده‌ها (v1.4.0) ===== */
.eb-pgrid{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:16px !important;padding:12px 0 8px}
@media (max-width:980px){ .eb-pgrid{grid-template-columns:repeat(2,1fr) !important} }
@media (max-width:640px){ .eb-pgrid{grid-template-columns:1fr !important} }
.eb .eb-pinned{margin:8px 2px 22px;padding:16px 16px 10px;border-radius:22px;background:linear-gradient(135deg,#fff8ef,#fdeedd);border:1.5px solid #f3d5b1;box-shadow:0 10px 26px rgba(201,122,10,.1)}
.eb .eb-pinned-head{display:flex !important;align-items:center;gap:8px;flex-wrap:wrap}
.eb .eb-pinned-head b{font-size:16.5px;font-weight:800;color:#18314D}
.eb .eb-pinned-head small{font-size:12.5px;color:#8a6a45}
.eb .eb-pinned-card{border-color:#F5A968 !important;box-shadow:0 8px 22px rgba(245,169,104,.25)}
.eb .eb-spon{position:absolute;top:10px;left:10px;z-index:4;background:linear-gradient(135deg,#F5A968,#f7bb83);color:#18314D;font-size:11.5px;font-weight:800;padding:3px 12px;border-radius:999px;box-shadow:0 4px 10px rgba(245,169,104,.45);pointer-events:none}
.eb .eb-slot-empty{background:#fffaf3 !important;border:2px dashed #f0c590 !important;align-items:center;justify-content:center;text-align:center;gap:12px;min-height:230px;box-shadow:none !important}
.eb .eb-slot-empty:hover{transform:none;box-shadow:none;border-color:#F5A968 !important}
.eb .eb-slot-ico{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#fdeedd;color:#c97a0a}
.eb .eb-slot-txt{display:flex;flex-direction:column;gap:2px}
.eb .eb-slot-txt b{font-size:16.5px;font-weight:800;color:#18314D}
.eb .eb-slot-txt span{font-size:13px;color:#6b7c8c}
.eb .eb-slot-txt em{font-style:normal;font-size:12.5px;font-weight:700;color:#b26a1e}
.eb .eb-slot-btn{display:inline-block !important;background:linear-gradient(135deg,#F5A968,#f7bb83) !important;color:#18314D !important;font-weight:800;font-size:13.5px;padding:9px 22px !important;border-radius:12px !important;box-shadow:0 6px 16px rgba(245,169,104,.4) !important}
.eb .eb-slot-btn:hover{transform:translateY(-2px)}
.eb .eb-owner-contact .eb-oc-name{font-weight:800;margin:6px 0;color:#18314D}
.eb .eb-reveal{border:0;border-radius:12px;padding:9px 20px;background:linear-gradient(135deg,#1C9594,#22b3b1);color:#fff;font:inherit;font-weight:700;cursor:pointer}
@media (max-width:640px){
  .eb-listing .eb-pgrid{gap:12px !important;padding:10px 0 6px}
  .eb .eb-pinned{padding:12px 10px 6px;border-radius:18px}
  .eb .eb-slot-empty{display:grid !important;grid-template-columns:auto 1fr;min-height:0;padding:12px !important;text-align:right;gap:6px 12px;align-items:center;border-radius:16px !important}
  .eb .eb-slot-ico{width:46px;height:46px}
  .eb .eb-slot-txt b{font-size:14.5px}
  .eb .eb-slot-btn{grid-column:1 / -1;text-align:center;width:100%}
}
.eb .eb-pinned-card .eb-pill{display:none !important}

/* مژدگانی به یابنده (v1.4.3) */
.eb .eb-reward{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin:2px 0;padding:3px 12px;border-radius:999px;background:linear-gradient(135deg,#fff3dc,#ffe6bd);border:1px solid #f3cf93;color:#7a4a05;font-size:12.5px;line-height:1.7}
.eb .eb-reward b{font-weight:800;color:#a15a00}
@media (max-width:640px){ .eb .eb-reward{font-size:11.5px;padding:1px 10px} }


/* نوار «تصویر نمونه» پایین تصویرهای پیش‌فرض (نه عکس واقعی) — پررنگ و متمایز تا کاملاً واضح باشد */
.eb .eb-media .eb-sample{position:absolute;inset-inline:0;bottom:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;background:#f59e0b;color:#3b2300;font-size:12.5px;line-height:1.5;text-align:center;pointer-events:none;box-shadow:0 -2px 8px rgba(0,0,0,.12)}
.eb .eb-media .eb-sample b{font-weight:800}
.eb .eb-media .eb-sample i{font-style:normal;font-weight:600;opacity:.9}
.eb .eb-media .eb-sample svg{flex:none}
@media (max-width:640px){
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-media .eb-sample{padding:3px 4px;font-size:10px;gap:3px}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-media .eb-sample i,.eb-listing .eb-card:not(.eb-pinned-card) .eb-media .eb-sample svg{display:none}
}


/* ===== چیپ زمانِ «زنده» زیر عکس (فقط موبایل) ===== */
.eb .eb-live{display:none}
@media (max-width:640px){
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-when{display:none !important}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-live{grid-column:1;grid-row:2;display:flex;align-items:center;justify-content:center;gap:6px;width:104px;margin-top:6px;padding:3px 6px;border-radius:999px;background:#eef3f8;border:1px solid #dbe5ef;color:#18314D;font-size:11px;font-weight:700;line-height:1.6;white-space:nowrap}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-live.is-fresh{background:#e7f6ee;border-color:#bfe5cf;color:#0f6a3d}
  .eb-listing .eb-card:not(.eb-pinned-card) .eb-card-body{grid-column:2;grid-row:1 / span 2}
  .eb .eb-live-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#9aa9b8}
  .eb .eb-live.is-fresh .eb-live-dot{background:#1fb86a;box-shadow:0 0 0 0 rgba(31,184,106,.55);animation:ebLivePulse 1.8s ease-out infinite}
}
@keyframes ebLivePulse{0%{box-shadow:0 0 0 0 rgba(31,184,106,.55)}70%{box-shadow:0 0 0 7px rgba(31,184,106,0)}100%{box-shadow:0 0 0 0 rgba(31,184,106,0)}}
@media (prefers-reduced-motion:reduce){.eb .eb-live.is-fresh .eb-live-dot{animation:none}}


/* ===== کارت «ثبت آگهی رایگان» در بلوک ویژه‌ها ===== */
.eb .eb-slot-empty.eb-slot-free{background:linear-gradient(150deg,#0f6362 0%,#1c9594 100%) !important;border:0 !important;color:#fff;box-shadow:0 10px 26px rgba(28,149,148,.32) !important;position:relative;overflow:hidden}
.eb .eb-slot-free::before{content:"";position:absolute;inset-inline-end:-40px;top:-40px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.1)}
.eb .eb-slot-free .eb-slot-ico{background:rgba(255,255,255,.18);color:#fff}
.eb .eb-slot-free .eb-slot-txt b{color:#fff}
.eb .eb-slot-free .eb-slot-txt span{color:rgba(255,255,255,.9)}
.eb .eb-slot-free .eb-slot-txt em{color:#ffe9c9;font-weight:800}
.eb .eb-slot-free .eb-slot-btn{background:#fff !important;color:#0f6362 !important;box-shadow:0 6px 16px rgba(0,0,0,.18) !important;position:relative}
.eb .eb-slot-empty.eb-slot-free:hover{border:0 !important;transform:translateY(-2px);box-shadow:0 14px 30px rgba(28,149,148,.4) !important}
