.gt-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}


@media only screen and (min-width:768px) {
    .gt-categories__grid {
        gap: 20px;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media only screen and (min-width:992px) {
    .gt-categories__grid {
        gap: 20px;
        grid-template-columns: repeat(4, 1fr);
    }
}
@media only screen and (min-width:1200px) {
    .gt-categories__grid {
        gap: 20px;
        grid-template-columns: repeat(5, 1fr);
    }
}
.category-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}
.category-link img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    transition: transform 0.4s ease;
}
@media only screen and (min-width:768px){
    .category-link img {
    height: 350px;
}
}

.category-link:hover img {
    transform: scale(1.08);
}

.category-name {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 32px);
    transition: background 0.25s ease, color 0.25s ease, gap 0.2s ease;
}

.category-name__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.category-arrow {
    width: 0;
    overflow: hidden;
    opacity: 0;
    flex-shrink: 0;
    transition: width 0.2s ease, opacity 0.2s ease;
}

.category-name:hover {
    background: var(--brand);
    color: #fff;
    gap: 6px;
}

.category-name:hover .category-arrow {
    width: 8px;
    opacity: 1;
}