:root{--primary:#2563eb;--bg:#f5f7fb;--card:#fff;--muted:#64748b}
@font-face{
  font-family:'iransans';
  src: url('IRANSansX-Light.woff2') format('woff2'),
       url('IRANSansX-Light.woff')  format('woff');
  font-weight:300; font-style:normal; font-display:swap;
}
*{font-family:'iransans';box-sizing:border-box}html,body{margin:0;background:var(--bg);font-family:'iransans'}
.container{width:min(1100px,92%);margin:auto}
.hero{padding:32px 0 16px;background:linear-gradient(180deg,#2b6ae0,#2b6ae0 60%,transparent 60%)}
.hero h1,.hero p{color:#fff;margin:0;text-align:center}
.toolbar{display:flex;gap:10px;justify-content:center;background:#fff;padding:10px;border-radius:14px;margin-top:12px;box-shadow:0 8px 24px rgba(0,0,0,.08)}

/* گرید 1/2/3 ستونه */
.grid{display:grid;gap:16px;margin:24px 0 60px;grid-template-columns:repeat(1,minmax(0,1fr))}
@media (min-width:768px){ .grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:1024px){ .grid{grid-template-columns:repeat(3,minmax(0,1fr))} }

.card{background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.08);overflow:hidden}
.card__cover{aspect-ratio:16/9;background:#eef2ff}
.card__body{padding:14px}
.badge{font-size:12px;background:#eef2ff;padding:4px 8px;border-radius:999px;color:#374151}
.price{margin-top:6px;font-weight:700}
.actions{margin-top:10px;display:flex;gap:8px}
.btn{height:40px;padding:0 14px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.btn-primary{background:#2563eb;color:#fff;border:none}
.field{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.field input,.field select{height:42px;border:1px solid #e5e7eb;border-radius:10px;padding:0 12px}
.error{color:#ef4444}

/* فوتر + دسته‌بندی‌ها */
footer{background:#fff;border-top:1px solid #e5e7eb;margin-top:32px}
.footer-inner{width:min(1100px,92%);margin:auto;padding:18px 0;color:#64748b;font-size:14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cats{background:#fff;border-top:1px solid #eef2ff}
.cats-inner{width:min(1100px,92%);margin:auto;padding:16px 0;display:flex;gap:8px;flex-wrap:wrap}
.cat{display:inline-block;padding:6px 10px;border:1px solid #e5e7eb;border-radius:999px;text-decoration:none;color:#374151;background:#f9fafb}
.cat.active{background:#2563eb;color:#fff;border-color:#2563eb}
