.uc-butoon {
        width: 200px;
        height: 200px;
}
.link div {
    color: #f7bb6e !important;
    text-decoration: underline;
    transition: 0.5s;
}
.link:hover div {
    color: #f78f6e !important;    
}
/* Медиа-запросы для размера шрифта (без изменений) */
@media (min-width: 0px) and (max-width: 300px) {
    .main-cont-category span { font-size: 10px; }
    .main-cont-category .cat-item img {
        width: 30px !important;   
    }
    .main-cont-category .cat-item {
        padding: 0.2em 0.3em !important;
    }
    .main-cont-category {
        gap: 0.3em !important;
        padding: 1em 0.5em !important;
    }
    .uc-category {
        height: 100px !important;   
    }
}
@media (min-width: 300px) and (max-width: 480px) {
    .main-cont-category span { font-size: 15px; }
    .main-cont-category .cat-item img {
        width: 50px !important;   
    }
    .main-cont-category .cat-item {
        padding: 0.4em 0.6em !important;
    }
    .main-cont-category {
        gap: 0.6em !important;
        padding: 1em 1em !important;
    }
    
}
@media (min-width: 480px) and (max-width: 640px) {
    .main-cont-category span { font-size: 15px; }
    
}
@media (min-width: 640px) and (max-width: 960px) {
    .main-cont-category span { font-size: 15px; }
    
}
@media (min-width: 960px) and (max-width: 1200px) {
    .main-cont-category span { font-size: 18px; }
    
}
@media (min-width: 1200px) {
    .main-cont-category span { font-size: 20px !important; }
    
    .main-cont-category {
        justify-content: center;
    }
}

/* Контейнер карусели – горизонтальный скролл */
.main-cont-category {
    transition: 0.3s ease;
    /*width: 100%;*/
    scrollbar-width: none; 
    align-items: baseline;
    display: flex;
    gap: 1em;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2em 0;
    padding-left: 2em;      /* левый отступ */
    padding-right: 2em;        /* правый отступ убираем */
}
.uc-category {
        /*
    * Created with https://www.css-gradient.com
    * Gradient link: https://www.css-gradient.com/?c1=ffffff&c2=ffffff00&gt=l&gd=dbb
    */
    background: #FFFFFF;
    background: linear-gradient(180deg, #FFFFFF, #FFFFFF00);
    transition: 0.3s ease;
    height: 150px;
}
.main-container {
    background: #FFFFFF;
    background: linear-gradient(180deg, #FFFFFF, #FFFFFF00);
    transition: 0.3s ease;
}
.main-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;  
}
/* Компенсация правого отступа для последнего блока */


/* Стили одного блока */
.main-cont-category .cat-item {
    background-color: white;
    box-shadow: 1px 1px 5px 1px #0000001c;
    /*scroll-snap-align: start;*/
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* плавность */
    transform-origin: center; /* чтобы увеличение шло от центра */
    display: flex;
    gap: 0.5em;
    /*border: 1px solid #4A586E;*/
    border-radius: 0.5em;
    padding: 0.5em 1em;
    align-items: center;
    justify-content: center;
}

.main-cont-category .cat-item img {
    width: 70px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.main-cont-category span {
    text-align: center;
    white-space: nowrap;
    
    color: #666666 !important;
    font-family: var(--t-text-font, Arial);
    line-height: 1.55;
    font-weight: 100;
    /* opacity: 0,6; – исправлено: запятая вместо точки */
    /*opacity: 0.6;*/
    background-position: center center;
    --t396-speedhover: 0.2s;
    transition: background-color var(--t396-speedhover, 0s) ease-in-out, color var(--t396-speedhover, 0s) ease-in-out, border-color var(--t396-speedhover, 0s) ease-in-out, box-shadow var(--t396-shadowshoverspeed, 0.2s) ease-in-out;
    justify-content: center;
}
.cat-item.select {
    background-color: rgba(237, 244, 255, 1);
    color: #363EA2 !important;
    order: -1;
}
.cat-item.select span {
    color: #363EA2 !important;
    font-weight: 800
} 
.cat-item:hover {
    background-color: rgba(237, 244, 255, 1);
    color: #363EA2 !important;
    /*border-color: #1771F1;*//* увеличиваем на 5% 
    z-index: 1; /* чтобы увеличенный блок был поверх соседних */
    box-shadow: 0 8px 10px rgba(0,0,0,0.2); /* лёгкая тень для эффекта */
}
.cat-item:hover span {
    color: #363ea2 !important;
    font-weight: 800;
}
