/* === Pills over Swiper === */

.hsa-cat-pills { margin: 12px 0 16px; }
.hsa-swiper.swiper { position: relative; }

.swiper-wrapper { align-items: stretch; }
.swiper-slide { width: auto; } /* برای SlidesPerView:auto */

.hsa-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    line-height: 1.6;
    color: #111827;
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
    user-select: none;
}
.hsa-pill:hover { border-color: #d1d5db; }
.hsa-pill.is-active { background:#111827; color:#fff; border-color:#111827; }

/* دکمه‌های پیش‌فرض سوایپر را کمی جمع‌وجور کنیم */
.swiper-button-prev, .swiper-button-next {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111827;
}
.swiper-button-prev:after, .swiper-button-next:after {
    font-size: 16px;
}
@media (max-width: 640px) {
    .swiper-button-prev, .swiper-button-next { display: none; }
}
