.category-banner {
  position: relative;
  top: 56px;
  margin-bottom: 100px;
}
.category-content h1 {
    text-align: right;
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: 16px;
}

.category-content .item {
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    text-align: right;
    height: 100%;
    transition: .25s;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.category-content .item:hover {
    transform: translateY(-6px);
}

.en-title {
    font-size: 13px;
    color: #888;
    display: block;
}

.title {
    color: #000;
    font-size: 15px;
    margin: 6px 0 0;
    font-weight: 600;
}

.category-content .col-12.col-sm-4 {
    margin-bottom: 24px;
}

.category-content aside.sticky-top {
    top: 120px;
}

.product-features-list {
    padding: 0 16px;
    font-size: 12px;
    margin-top: 16px;
    line-height: 30px;
    direction: rtl;
}

.product-features-list li {
    border-bottom: 1px solid #eee;
    padding: 8px;
    color: #000;
}

.product-features-list li:hover {
    background: #00508D;
    color: #fff;
    border-radius: 4px;
}

.product-features-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-content .item img {
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* کارت دسته */
.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    margin-top: 45px;
    border-radius: 4px;
}

/* تصویر */
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.19, 1, .22, 1);
}

/* لایه تیره */
.category-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 20%,
            rgba(0, 0, 0, .65) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 35px;
    transition: all .5s ease;
}

/* متن دسته */
.category-card .cat-label {
    color: #fff;
    font-size: 22px;
    transform: translateY(30px);
    opacity: 0;
    transition: all .6s cubic-bezier(.19, 1, .22, 1);
    text-shadow: 0 10px 25px rgba(0, 0, 0, .5);
}

/* نور داخلی */
.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(28, 95, 170, .45), transparent 70%);
    opacity: 0;
    transition: opacity .6s ease;
}

/* ===== Hover ===== */

.category-card:hover img {
    transform: scale(1.12) rotate(.5deg);
}

.category-card:hover .overlay {
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, .15) 10%,
            rgba(0, 0, 0, .85) 100%
    );
}

.category-card:hover .cat-label {
    transform: translateY(0);
    opacity: 1;
}

.category-card:hover::after {
    opacity: 1;
}
