.spc-toc{background:#f7f7fb;border:1px solid #e3e3ee;border-radius:10px;padding:12px 18px;margin:1.2em 0}
/* 3.3.1: فهرست مطالب خیلی بلند — ارتفاع ثابت (۳۲۰ پیکسل) با اسکرول عمودی؛ فهرست کوتاه به‌طور طبیعی فشرده می‌ماند */
.spc-toc > ol{max-height:320px;overflow-y:auto;padding-inline-end:6px;scrollbar-width:thin;scrollbar-color:#c9c9dd transparent}
.spc-toc > ol::-webkit-scrollbar{width:6px}
.spc-toc > ol::-webkit-scrollbar-thumb{background:#c9c9dd;border-radius:3px}
/* 3.3.1: لنگرِ مقصود زیر هدرهای چسبان قالب‌ها گم نشود (اسکرول نرم از front.js) */
[id^="sec-"],#faq{scroll-margin-top:90px}
.spc-toc ol{margin:.3em 1.2em}
.spc-toc-title{margin:0 0 .3em}
/* 2.5.0: accordions and copyable code blocks inside SEOFLY articles */
.spb-acc{background:#f7f7fb;border:1px solid #e3e3ee;border-radius:10px;padding:0;margin:1.2em 0;overflow:hidden}
.spb-acc>.spb-acc-t,.spb-acc>summary{display:block;cursor:pointer;font-weight:700;padding:12px 16px;background:#efeff7;margin:0;list-style:none}
.spb-acc>summary::-webkit-details-marker{display:none}
.spb-acc>summary::after,.spb-acc>.spb-acc-t::after{content:'+';float:left;font-weight:800;color:#6b5bd2}
.spb-acc[open]>summary::after,.spb-acc[open]>.spb-acc-t::after{content:'−'}
.spb-acc>.spb-acc-b{padding:12px 16px}
.spb-copy{position:relative;margin:1.2em 0}
.spb-copy pre{margin:0}
.spb-copy .spb-copy-btn{position:absolute;top:8px;left:8px;cursor:pointer;background:#6b5bd2;color:#fff;border-radius:6px;padding:4px 12px;font-size:.8rem;line-height:1.6;z-index:2}
.spb-copy .spb-copy-btn:hover{background:#5a4ac2}
.spb-copy .spb-copy-btn.done{background:#2e9e5b}
/* 2.6.0: related-articles quote box (باکس نقل قول مطالب مرتبط) */
.spb-rel{background:#f7f7fb;border:1px solid #e3e3ee;border-right:4px solid #6b5bd2;border-radius:10px;padding:12px 16px;margin:1.4em 0}
.spb-rel-t{margin:0 0 .4em;font-weight:800;color:#4b3fa8}
.spb-rel-l{margin:0;padding:0;list-style:none}
.spb-rel-l li{margin:.25em 0}
.spb-rel-l a{color:#4b3fa8;text-decoration:none;font-weight:600}
.spb-rel-l a:hover{text-decoration:underline}
/* 2.6.0: single related-product box (باکس محصول) */
.spb-prod{display:flex;gap:14px;align-items:center;background:#f7f7fb;border:1px solid #e3e3ee;border-radius:12px;padding:14px 16px;margin:1.4em 0}
.spb-prod img{width:110px;height:110px;object-fit:cover;border-radius:10px;flex:none;background:#fff}
.spb-prod-b{flex:1;min-width:0}
.spb-prod-t{margin:0 0 .3em;font-weight:800}
.spb-prod-p{margin:0 0 .5em;color:#2e7d52;font-weight:700}
.spb-prod-p s,.spb-prod-p .del{color:#999;font-weight:400}
.spb-prod-a{display:inline-block;background:#6b5bd2;color:#fff;border-radius:8px;padding:6px 16px;text-decoration:none;font-size:.9rem;font-weight:600}
.spb-prod-a:hover{background:#5a4ac2}
/* 2.6.0: related-products carousel (کاروسل محصولات مرتبط) — RTL scroll-snap row; works without JS */
.spb-car{margin:1.4em 0}
.spb-car-h{display:flex;justify-content:space-between;align-items:center;margin:0 0 .5em}
.spb-car-t{margin:0;font-weight:800;color:#4b3fa8}
.spb-car-b{display:flex;gap:6px}
.spb-car-p,.spb-car-n{cursor:pointer;background:#fff;border:1px solid #d5d5e4;color:#4b3fa8;border-radius:8px;width:32px;height:32px;line-height:1;font-size:1.05rem;padding:0}
.spb-car-p:hover,.spb-car-n:hover{background:#efeff7}
.spb-car-r{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch}
.spb-car-i{flex:0 0 172px;scroll-snap-align:start;background:#fff;border:1px solid #e3e3ee;border-radius:12px;padding:10px;text-align:center}
.spb-car-i img{width:100%;height:120px;object-fit:cover;border-radius:8px;background:#f7f7fb}
.spb-car-tt{font-weight:700;font-size:.9rem;margin:.5em 0 .15em;line-height:1.5}
.spb-car-tt a{color:inherit;text-decoration:none}
.spb-car-tt a:hover{color:#4b3fa8}
.spb-car-pp{color:#2e7d52;font-weight:700;font-size:.85rem;margin:0 0 .45em}
.spb-car-a{display:inline-block;background:#6b5bd2;color:#fff;border-radius:7px;padding:3px 12px;text-decoration:none;font-size:.8rem;font-weight:600}
.spb-car-a:hover{background:#5a4ac2}
/* 3.3.1: سوالات متداول آکاردئونی — فاصلهٔ بین آیتم‌ها و پر کردن آرام؛ خود آکاردئون با همان الگوی spb-acc */
.spb-acc{transition:background .15s ease}
.spb-acc[open]{background:#fbfbfd}
.spb-acc>.spb-acc-t,.spb-acc>summary{transition:background .15s ease}
.spb-acc>.spb-acc-t:hover,.spb-acc>summary:hover{background:#e9e9f4}
@media (max-width:600px){.spb-prod{flex-direction:column;text-align:center}.spb-prod img{width:90px;height:90px}}
