/* Определяем стили для текста */
.text-medium {
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
}

    .text-regular {
    font-family: 'Golos Text', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
}

.text-small {
    font-family: 'Golos Text', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 140%;
}


/* Стили для элемента tag */
.tag {
    display: inline-flex;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    
    font-family: 'Golos Text', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #ffffff;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0; /* Добавить отступы по оси Y */
}

/* Медиазапрос для мобильной версии */
@media (max-width: 960px) {
    .tag-container {
        overflow-x: auto; /* Горизонтальная прокрутка */
        white-space: nowrap; /* Запрещает перенос тегов на новую строку */
        -webkit-overflow-scrolling: touch; /* Улучшает прокрутку на устройствах с сенсорным экраном */
         width: 100%;
    }

    .tag {
        flex-shrink: 0; /* Отключает сжатие тегов */
    }
}

/* Контейнер для кнопки */
.catalog-button {
    display: inline-flex;
    padding: 21px 21px 16px 21px;
    align-items: flex-start;
    gap: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s; /* Плавный переход */
    width: 100%; 
    box-sizing: border-box; /* Учитываем padding в размере кнопки */
}

.catalog-button:hover {
    background: #fff; /* Светлый фон при наведении */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.catalog-button:hover .catalog-text {
    color: #000; /* Цвет текста при ховере */
}

/* Контейнер для иконки */
.catalog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Контейнер для текста */
.catalog-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    color: #fff;
    transition: color 0.3s
}
/* Медиазапрос для мобильных устройств */
@media (max-width: 960px) {
    .catalog-button {
        width: 100%; /* Растягиваем кнопку на всю ширину контейнера на мобильных устройствах */
        display: flex;
        padding: 16px 16px 16px 16px;
    }
}

/* Контейнер для двух кнопок */
.button-container {
    display: flex; /* Используем flexbox для выравнивания кнопок */
    gap: 8px; /* Промежуток между кнопками */
    justify-content: space-between; /* Разделяем кнопки по ширине контейнера */
    width: 100%; /* Контейнер растягивается на всю ширину */
    box-sizing: border-box;
    margin-bottom: 8px; /* Отступ между кнопками */
}

/* Контейнер для кнопки с SVG */
.catalog-button-svg {
    display: inline-flex;
    padding: 27px; /* Можно уменьшить padding для кнопки с одной иконкой */
    align-items: center;
    justify-content: center; /* Центрируем иконку */
    gap: 0; /* Без промежутков, так как внутри только иконка */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s, color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

/* Ховер эффект для кнопки с SVG */
.catalog-button-svg:hover {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.catalog-button-svg:hover svg path {
    fill: #000; /* Если у иконки есть заливка, изменяем её цвет */
}

/* Медиазапрос для мобильных устройств */
@media (max-width: 960px) {
    .button-container {
        width: 100%;
        justify-content: space-between; /* Разделяем кнопки по ширине контейнера */
    }

    .catalog-button-svg {
        width: 100%; /* Кнопка растягивается по ширине контейнера */
        padding: 17px;
    }
}

/* Контейнер для группы кнопок */
.button-group {
       display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: fit-content;
}

