/* ── Section ── */
.cat-section {
    background: #f9f9f9;
}

/* ── Header ── */
.cat-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-section__title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #1a1a1a;
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 3px solid #224229;
    margin-bottom: 0;
}

.cat-all-btn {
    display: inline-flex;
    align-items: center;
    font-size: .88rem;
    font-weight: 600;
    color: #224229;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color .25s ease;
}

.cat-all-btn:hover {
    color: #224229;
    text-decoration: none;
    border-color: #224229;
}

/* ── Swiper wrapper ── */
.cat-swiper-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-swiper {
    flex: 1;
    overflow: hidden;
}

/* ── Nav arrows ── */
.cat-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #224229;
    background: #fff;
    color: #224229;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.cat-nav:hover {
    background: #224229;
    color: #fff;
}

/* ── Card ── */
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 10px 14px;
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e8e8e8;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    text-decoration: none;
}

.cat-card:hover {
    box-shadow: 0 8px 28px rgba(34, 66, 41, .13);
    transform: translateY(-3px);
    border-color: #224229;
    text-decoration: none;
}

/* ── Image circle ── */
.cat-card__img-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #f1f4f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background .25s;
}

.cat-card:hover .cat-card__img-wrap {
    background: #e6efe8;
}

.cat-card__img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    transition: transform .3s ease;
}

.cat-card:hover .cat-card__img {
    transform: scale(1.1);
}

/* ── Name ── */
.cat-card__name {
    font-size: .80rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0;
    line-height: 1.3;
    transition: color .2s;
}

.cat-card:hover .cat-card__name {
    color: #224229;
}

/* ── RTL nav arrows ── */
[dir="rtl"] .cat-nav--prev i { transform: rotate(180deg); }
[dir="rtl"] .cat-nav--next i { transform: rotate(180deg); }
