/* پالت آرام‌تر + استایل جستجوی هوشمند + کارت‌های زیردسته */
:root{
  --ink:#10181d; --muted:#5c6a72; --line:#dfe5e8; --bg:#f4f6f7;
  --g:#1d7a5a; --gd:#15614a; --gl:#e9f2ef;
  --dark:#0c1317; --dark2:#131c22; --navy:#143040;
}
.topbar a:hover,footer.site a:hover{color:#d6e6de}
.topbar svg{color:#a9c9bb}
.darkband{background:var(--dark) radial-gradient(900px 300px at 50% 0%,rgba(120,150,170,.14),transparent 70%)}
.btn{box-shadow:none}

/* جستجوی هوشمند */
.sugg{position:absolute;top:calc(100% + 6px);right:0;left:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px rgba(10,20,28,.18);z-index:80;max-height:70vh;overflow:auto;padding:6px;text-align:right}
.sugg[hidden]{display:none}
.sgh{font-size:12px;color:var(--muted);font-weight:700;padding:8px 10px 4px}
.sg{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:10px}
.sg:hover,.sg:focus-visible{background:var(--gl)}
.sg img{width:40px;height:40px;object-fit:contain;border-radius:8px;background:#f4f6f7;flex:none}
.sgt{display:flex;flex-direction:column;min-width:0}
.sgt b{font-size:14px;font-weight:700;line-height:1.5}
.sgt small{color:var(--muted);font-size:12px}
.sga{display:block;text-align:center;padding:10px;font-weight:800;color:var(--gd);border-top:1px solid var(--line);margin-top:4px}

/* کارت‌های زیردسته بالای صفحه دسته‌ها */
ul.products li.product-category a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:18px 12px;min-height:84px;background:#fff;border:1px solid var(--line);border-radius:14px;text-align:center;transition:border-color .15s,box-shadow .15s}
ul.products li.product-category a:hover{border-color:var(--g);box-shadow:0 8px 22px rgba(10,20,28,.08)}
ul.products li.product-category img{display:none}
ul.products li.product-category .woocommerce-loop-category__title{font-size:15px;font-weight:800;margin:0}
ul.products li.product-category .count{background:none;color:var(--muted);font-size:12px;font-weight:500}

/* بنرهای برج میلاد: متن سمت چپ (فضای خالی عکس)، محصولات سمت راست دیده می‌شوند */
.sl{background-size:cover;background-position:72% center}
.sl .wrap{justify-content:flex-end}
.sl .shade{background:linear-gradient(90deg,rgba(6,12,18,.82) 0%,rgba(6,12,18,.5) 38%,rgba(6,12,18,0) 68%)}
.sl .tx{max-width:480px}
@media(max-width:760px){
  .sl{background-position:78% center}
  .sl .shade{background:linear-gradient(0deg,rgba(6,12,18,.88) 0%,rgba(6,12,18,.45) 55%,rgba(6,12,18,.1) 100%)}
  .sl .wrap{justify-content:flex-start;align-items:flex-end}
}
