/* Categories section */
.scategories {
    background: unset;
    border-bottom: unset;
}
.cat-plitka {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.section__name:last-child {
    text-align: unset;
}
.categories__list.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}
.categories__list.categories-grid .categories-grid-el {
    position: relative;
    aspect-ratio: 4 / 3;
    justify-content: flex-end;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0!important;
}
.categories-grid-el img, .categories__link::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.categories-grid-el img {
    object-fit: cover;
    z-index: -1;
    transition: 0.6s ease;
}
a.categories__link {
    display: flex;
    height: 100%;
    justify-content: flex-end;
    flex-direction: column;
    padding: clamp(8px, 2.65vw, 32px);
    align-items: flex-start;
}
.categories-grid-el .categories__title {
    z-index:2;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: var(--text-white);
    opacity: 0.95;
}
a.categories__link:hover .categories__title {
    text-decoration: none;
}
.categories__link::after {
    content: "";
    background: #3b446b;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .48) 77%, rgba(0, 0, 0, .87) 87%, rgba(0, 0, 0, 1) 100%);
    opacity: 0.15;
    transition: 0.6s ease;
}
a.categories__link:hover::after {
    opacity: 0.07;
}
a.categories__link:hover img {
    transform: scale(1.05);
}

/* Categories adaptive */
@media (max-width: 576px) {
    .categories__list.categories-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    a.categories__link {
        padding: clamp(16px, 5.56vw, 32px);
    }
    .categories-grid-el .categories__title {
        font-size: clamp(24px, 4.86vw, 28px);
    }
    .section__title {
        font-size: 28px;
    }
    .section.scategories {
        margin-top: 24px;
    }
    .categories__link::after {
        opacity: 0.15;
    }
}
/* Categories section End */
/* Catalog Page */
main.single-page .scategories {
    padding-top: 0;
    padding-bottom: 48px;
}

.single-page .sw-slider.snews {
    margin-bottom: 80px;
}
/* Catalog Page End */

