.category-banner {
    position: relative;
    width: 100%;
    min-height: 230px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 2rem 0;
}

.category-banner .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .category-banner {
        min-height: 180px;
    }   
}


 .tg-categories {
    padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}

.center-title-breadcrumb {
    position: relative;
    text-align: center;
    margin-bottom: 0;
}

.tg-categories .center-title-breadcrumb .catalog-category-grid__intro {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.tg-category-back-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #1a5f7a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tg-category-back-link:hover,
.tg-category-back-link:focus {
    color: #0f3f52;
}

.center-title-breadcrumb .breadcrumb {
    justify-content: center;
    display: none;
}

@media screen and (max-width: 768px) {
    .tg-category-back-link {
        margin-top: 1rem;
    }
}

.tg-categories .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    row-gap: 6rem;
}

.tg-categories .catalog-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.tg-categories .catalog-item a {
    display: block;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.tg-categories .catalog-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(1) contrast(1) saturate(1);
    will-change: filter, transform;
    transition: filter 0.6s ease-in-out, transform 0.5s ease-in-out;
    mix-blend-mode: darken;
    position: relative;
    z-index: 1;
    max-height: 244px;
    aspect-ratio: 1 / 1;
}

.tg-categories .catalog-item:hover img {
    filter: brightness(1.02) contrast(1.03) saturate(1.2);
    transform: scale(1.05);
}

.tg-categories .catalog-item .caption {
    text-transform: uppercase;
    margin-top: 1rem;
}

.tg-categories .catalog-item .product-price{
    display: none;
}

@media screen and (max-width: 991px) {
    .tg-categories .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px){
    .tg-categories .row {
        grid-template-columns: 1fr;
    }
}