/* === Общие стили === */

	#needAuthSorry {z-index:999999; display:none; position:fixed; top:0; left:0; height:100%; width:100%; justify-content:center; align-items:center; background:rgba(0, 0, 0, 0.7); color:#fff}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #4d4d4d;
    color: #fff;
    font-size: 12px; 
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}
body::before {
    content: "";
    background: url('../img/back.webp') no-repeat center center fixed;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    z-index: -1; 
}

/* === Заголовок и слоган === */
.header {
    text-align: center;
    padding: 22px 16px 8px 16px;
}

h1 {
    font-size: 26px; 
    font-weight: bold;
    color: #ffffff;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.5), 
        0 0 10px rgba(255, 255, 255, 0.7);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    justify-content: center;
}

/* Каждая буква обёрнута в span */
h1 span {
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-weight:800;
    animation: letterBlink 3s infinite ease-in-out;
}


.beta-text {
    animation: none !important;
    text-shadow: none !important;
    font-weight: normal !important;
}


.slogan {
    font-size: 11px;
    margin: 8px 0 0;
    line-height: 1.4;
    color: #b39979;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-family: "Arial", sans-serif; }

/* === Фильтр === */
.search-container {
    position: relative;
    width: 100%;
    /* max-width: 400px; */
    margin: 0 auto 0px;
    display: flex; /* Мы используем flexbox */
    align-items: center; /* Центрируем элементы по вертикали */
}

/* === Поле поиска === */
.search-container input[type="text"] {
    width: calc(100% - 40px); /* Учтем ширину иконки, чтобы поле не выходило за пределы */
    padding: 10px 14px 10px 40px; /* Отступы для поля */
    font-size: 12px;
    border: 1px solid transparent; 
    border-radius: 6px;
    outline: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.5); 
    transition: box-shadow 0.3s ease-in-out;
}
    
margin: 16px auto 8px; /* Отступ сверху и снизу */
border-radius: 6px;
    outline: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.5); 
    transition: box-shadow 0.3s ease-in-out;
}

.search-container input[type="text"]::placeholder {
    color: #bbb;
    font-style: normal;
}

.search-container input[type="text"]:focus {
    border: 1.2px solid #b39979;
    box-shadow: 0 0 6px #b39979;
}

/* === SVG Иконка поиска === */
.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none; 
    transition: fill 0.3s ease-in-out;
}

/* === Иконка поиска при фокусе === */
.search-container input[type="text"]:focus + .search-icon {
    fill: #ff4081;
}

/* === Контейнер фильтров === */
.filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 24px 16px 16px 16px;
    align-items: center;
}

/* === Горизонтальная линия фильтров === */
div.line_btm {
    display: flex;
    gap: 8px;
    width: 100%;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    cursor: default; 
    overflow: hidden;
}

div.line_btm>img {width:30px}

/* Скрываем полосу прокрутки */
div.line_btm::-webkit-scrollbar {
    display: none;
}

/* === Элементы фильтров === */
div.line_btm .filter-item {
    flex: 1; 
    padding: 10px 0;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    border-radius: 6px;
    background: #3c3c3c;
    color: #c6c6c6;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #2c2c2c; 
    transition: 
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
    position: relative;
    overflow: hidden;
}

/* === Состояние "Не выбран" === */
div.line_btm .filter-item {
    background: #3c3c3c;
    color: #b0b0b0;
    border: 1px solid #2c2c2c;
}

/* === Состояние "Выбран" === */
div.line_btm .filter-item.active {
    background: #2c2c2c;
    color: #ffffff; 
    border-color: #b39979;
    /* box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 12px rgba(179, 153, 121, 0.4); */ 
}

/* === Эффект клика === */
div.line_btm .filter-item:active {
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
    transform: scale(0.98);
}

/* === Заголовки столбцов === */

.wine-header {
    position: relative;
    display: flex;
    background: #b39979;
    font-weight: bold;
    color: #222;
    text-align: center;
    padding: 8px 0;
    margin: 0 16px;
    border-bottom: 1px solid #555;
}

/* Стили для каждого столбца по отдельности */
.wine-column {
    border-right: 0;
    flex: none;
    width: 35%;
    justify-content: left;
    padding-left: 8px;
}

/* Стили для иконок информации */
.info-icon {
    width: 10%;
    display: flex; /* Изменено с inline-flex на flex */
    align-items: center;
    justify-content: flex-end; /* Изменено с right на flex-end */
    padding-right: 8px; /* Добавлен отступ справа */
}

.info-icon {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


.wine-header .info-image {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.6;    
    margin-left: auto; /* Добавлено для смещения вправо */
}

.wine-catalog-sort:nth-of-type(4) {
    width: 22%; /* Ширина для колонки "рейтинг" */
    text-align: center;
    padding-left: 2px;
}

.wine-catalog-sort:nth-of-type(5) {
    width: 15%; /* Ширина для колонки "цена" */
    text-align: right;
    padding-left: 12px;
}

.wine-catalog-sort:nth-of-type(7) {
    width: 20%; /* Ширина для колонки "выгода" */
    text-align: center;
}


/* Убираем border-right из базовых стилей */
.wine-header div {
    border-right: none;
    padding: 4px 0;
}

/* Добавляем разделители между колонками при необходимости */
.wine-header > div:not(:last-child) {
    border-right: 1px solid #b39979;
}



/* === Секция каталога === */
.wine-catalog {
    flex: 1; 
    overflow-y: auto; 
    scrollbar-width: none; 
    margin: 0 16px; 
    padding-bottom: 8px; 
}

.feed_load_svg {display:flex; align-items:center; justify-content:center; height:100%; width:100%}
	.feed_load_svg>div {display:flex; border-radius:100%; align-items:center; background:rgba(42, 42, 42, 0.9); justify-content:center; height:60px; width:60px}
		.feed_load_svg>div>img {width:40px}
		
.feed_next_load_svg {background:rgba(42, 42, 42, 0.9); padding:12px 0; display:flex; justify-content:center;}
	.feed_next_load_svg>img {height:26px}

@media (max-width: 768px) {
    .wine-catalog {
        padding-bottom: 120px; 
    }
}
.wine-catalog::-webkit-scrollbar {
    display: none; /* Скрыть полосу прокрутки в Chrome, Safari, Edge */
}

.wine-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    background: rgba(42, 42, 42, 0.9);
    border-bottom: 1px solid #555;
    cursor: pointer;
    font-size:14px;
}

.wine-item > div {
    flex: 1;
    border-right: 1px solid #555;
    padding: 4px 0;
    text-align: center;
    font-size:12px;
}

.wine-item > div:first-child {
    text-align: left;
}

.wine-item > div:last-child {
    border-right: none;
}

.wine-item > div.name {border-right:0;}
.wine-item > div.price {border-right:0;}
.wine-item > div.rating {border-right: 0; font-size: 15px; font-weight: bold;}
.wine-item > div.price {border-right:0;}

/* === Название вина (многоуровневое) === */
.wine-item > .name {
    flex: none; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    width: 50%;
    gap: 8px;
}

.wine-item .short-name {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 0;
}

.wine-item .long-name {
    font-size: 13px;
    font-weight: bold;
    margin: 0;
    line-height: 18px;
}

.wine-item .description {
    font-size: 12px;
    color: #999;
    margin-top: 0;
}


.wine-item > div:last-child {
    font-size: 16px;
    opacity: 0.7;
}




.chevron-icon {
    display: inline-block;
    font-size: 8px;    
    margin-right: 3px;
    opacity: 0.5;
    transition: transform 0.2s ease;
    cursor: pointer;
    font-weight: bold;  
}

/* === Вложенные элементы === */
.wine-subitem {
	cursor: pointer;
	color:#fff;
	text-decoration:none;
    display: flex;
    align-items: center;
    background: rgba(58, 58, 58, 0.8);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
    border-bottom: 0;
}

.wine-subitem.active {
    max-height: 50px; 
    opacity: 1;
    padding: 12px 0;
    border-bottom: 1px solid #5d5d5d;
}

.wine-subitem > div {
    flex: 1;
    padding: 4px 0;
    text-align: center;
}

.wine-subitem > div:first-child {
    text-align: left;
}

.wine-subitem > div:last-child {
    border-right: none;
}

/* === Разделители и четкие границы === */
.wine-header > div,
.wine-item > div,
.wine-subitem > div {
    box-sizing: border-box;
    text-align: center;
}

.wine-header > div,
.wine-item > div,
.wine-subitem > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
}

.wine-header>div>img {transition:transform 0.3s}

.wine-subitem > div.year {
    padding:8px;
    flex: none;
    width:50%;
}
.wine-subitem > div.price {border-right:0;}
.wine-subitem > div.rating {border-right:0;}
.wine-subitem > div.profit {border-right:0;}

/* === Меню === */
.menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(51, 51, 51, 1); 
    padding: 14px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #555;
    z-index: 10000; 
    flex-shrink: 0;
}

.menu-item {
    text-align: center;
    color: #bbb;
    text-decoration: none;
    font-size: 10px;
    flex: 1;
}

.menu-item img {
    width: 24px;
    height: 24px;
    fill: #b39979;
    margin-bottom: 4px;
    transition: fill 0.3s;
}

.menu-item:hover img,
.menu-item:hover {
    fill: #fff;
    color: #fff;
}

/* === Модальное окно === */
.modal-filter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 10001;
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    overflow: hidden; 
    opacity: 0;
    visibility: hidden;
    transition: background 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Активное состояние фона */
.modal-filter.active {
    background: rgba(0, 0, 0, 0.7); 
    opacity: 1;
    visibility: visible;
}

/* === Содержимое модального окна === */
.modal-content {
    display: none;
    flex-direction: column;
    background: #2c2c2c;
    width: 100%;
    max-width: 600px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    overflow-y: auto; 
    height: calc(100% - 32px);
    border-radius: 12px 12px 0 0; 
    transform: translateY(100%); 
    transition: transform 0.5s ease-in-out;
}

/* Появление модального окна */
.modal-filter.active .modal-content {
    transform: translateY(0); 
}

/* Закрытие модального окна */
.modal-filter.closing .modal-content {
    transform: translateY(100%); 
}

/* === Индикатор количества выбранных городов === */
.selected-count {
    font-size: 12px;
    font-weight: bold;
    color: #b39979; 
    background: rgba(179, 153, 121, 0.1);
    border: 1px solid #b39979;
    border-radius: 12px;
    padding: 2px 8px;
    margin-left: auto;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    visibility: hidden;
    transition: 
        opacity 0.5s ease-in-out, 
        transform 0.5s ease-in-out, 
        visibility 0.5s ease-in-out;
}

/* Появление индикатора */
.selected-count.visible {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

/* Исчезновение индикатора */
.selected-count.hidden {
    visibility: hidden;
    opacity: 0;
    transform: scale(0.8);
    transition: 
        opacity 0.5s ease-in-out, 
        transform 0.5s ease-in-out, 
        visibility 0.5s ease-in-out;
}

/* Анимация при обновлении значения */
.selected-count.updated {
    animation: pop 0.3s ease-out;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* === Список фильтров === */
.filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
	height: calc(100% - 48px);
    overflow-y: scroll;
}
.filter-list::-webkit-scrollbar {
    display: none;
}

/* === Регионы === */
.region {
    border: 1px solid #444;
    border-radius: 6px;
    padding: 8px;
    background: #3c3c3c;
    cursor: pointer;
}

.region-checkbox {
    margin-right: 8px;
}

/* === Города === */
.cities {
    display: none;
    padding-left: 16px;
    gap: 16px;
    flex-direction: column;
}

.region.open .cities {
    display: flex;
}

/* === Чекбоксы городов === */
.cities label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ccc;
}

/* === Кнопки модального окна === */
.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    gap: 8px;
}

.btn {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-apply {
    background: #b39979;
    color: #222;
}

.btn-apply:hover {
background: #a38969;
}

.btn-close {
    background: #555;
    color: #fff;
}

.btn-close:hover {
    background: #444;
}

/* === Общие стили чекбоксов === */
.filter-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

/* Стили для основного чекбокса */
.filter-list input[type="checkbox"] {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #b39979;
    border-radius: 4px; 
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

/* Состояние "Выбран" */
.filter-list input[type="checkbox"]:checked {
    background: #b39979;
    border-color: #b39979;
}

/* Галочка внутри чекбокса */
.filter-list input[type="checkbox"]:checked::after {
    content: '✔';
    font-size: 12px;
    color: #fff; /* Цвет галочки */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Ховер для чекбоксов */
.filter-list input[type="checkbox"]:hover {
 border-color: #b39979;
}

/* === Регион === */
.region {
    border: 1px solid #444;
    border-radius: 6px;
    padding: 8px 12px;
    background: #3c3c3c;
    margin-bottom: 8px;
    transition: background 0.3s;
}

.region.open {
    background: #4d4d4d;
}

/* === Шапка региона (чекбокс + название + иконка) === */
.region-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 8px;
}

/* === Чекбокс и название региона === */
.region-header label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
}

/* === Иконка разворачивания === */
.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.toggle-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #fff;
    transition: transform 0.3s ease;
}

.region.open .toggle-icon svg {
    transform: rotate(180deg);
}

/* === Города (анимация и каскад) === */
.cities {
    max-height: 0;
    overflow: hidden;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;

}

/* Плавное раскрытие региона */
.region.open .cities {
    max-height: 100%; 
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Плавное появление городов каскадом */
.cities label {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.region.open .cities label {
    opacity: 1;
    transform: translateY(0);
}

/* === Стили для модального окна подтверждения возраста === */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); 
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding-top: 100px; 
}
.age-modal-content {
    text-align: center;
    background: rgba(50, 50, 50, 0.95);
    border-radius: 13px;
    width: calc(100% - 50px);
    max-width: 400px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.8s ease-in-out;
    margin: 0 auto 50px auto;
    box-sizing: border-box; 
}}

/* Медиазапросы для мобильных устройств */
@media (max-width: 480px) {
    .age-modal-content {
        width: calc(100% - 20px);
    }
}

.age-modal .error-code {
    font-size: 150px;
    font-weight: 900;
    color: #b39979;
    margin: 0 0 10px 0;
    font-family: 'Arial Black', 'Arial', sans-serif;
    -webkit-text-stroke: 2px #b39979; 
    text-stroke: 2px #b39979;
}

.age-modal .error-description {
    font-size: 16px;
    margin: 15px 0;
    color: #bbb;
    line-height: 24px;
    font-family: Arial, sans-serif;
}



/* Стиль для кнопки "Да, подтверждаю" */
#ageConfirmBtn {
    background: #b39979;
    color: #222;
}

#ageConfirmBtn:hover {
    background: #a38969;
}

/* Стиль для кнопки "Нет" */
#ageDeclineBtn {
    background: transparent;
    color: #999; 
    font-weight: bold; 
    opacity: 0.8; 
}

#ageDeclineBtn:hover {
    background: transparent;
    color: #bbb;
    opacity: 1;
}


.age-modal .error-button {
    display: block;
    width: calc(100% - 20px);
    padding: 10px 0;
    margin: 10px auto;
    border: none;
    border-radius: 6px;
    background: #c2185b;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

.age-modal .error-button:hover {
    background: #a3154d;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 9999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#needAuthSorry p {
    margin-bottom: 15px;
    font-size: 18px; 
    font-weight: bold; 
}

#needAuthSorry button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#needAuthSorry button:first-of-type {
    background-color: #c2185b;
}

#needAuthSorry button:first-of-type:hover {
    background-color: #a3154d;
}

#needAuthSorry button:last-of-type {
    background-color: transparent; 
    border: 2px solid #fff; 
}

#needAuthSorry button:last-of-type:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.wine-stats {
    display: flex;
    align-items: center; 
    gap: 10px; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
    margin: 10px 0 20px 0; 
}

.karusel1-icon img {
    width: 40px;
    height: 40px;
    stroke-width: 3px;
    filter: invert(20%) sepia(79%) saturate(5002%) hue-rotate(326deg) brightness(88%) contrast(92%);
    display: block; 
    margin-bottom: 5px; 
}

.karusel1-text {
    font-size: 10px;
    color: #ccc;
    text-align: center;
}


/* Подсказки */
.tooltip {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    width: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 2.2s ease-in-out;
    line-height: 1.6;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: left;  
    max-height: 80vh;
    overflow-y: auto;
    min-width: 270px;
    max-width: 90vw;
    font-weight: normal;
}

.wine-header .tooltip {
    padding: 20px 15px !important;
    margin: 0;
}

.tooltip strong {
    font-weight: bold;
}

.tooltip p {
    margin: 0 0 12px 0;
    padding: 0;
    text-indent: 0;
}

.tooltip p:last-child {
    margin-bottom: 0;
}

.tooltip br {
    display: block;
    content: "";
    margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
    .tooltip {
        width: 90vw;
        font-size: 13px;
        max-height: 70vh;
    }
    
    .wine-header .tooltip {
        padding: 15px 5px !important;
    }
}


/* === Линия фильтров выкатывание === */
.line_btm {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
                opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
                padding 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
                max-height 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.line_btm.active {
    opacity: 1;
    transform: scaleY(1);
    max-height: 100px;
    padding: 8px 0;
}

/* === Вторая линия - Подборки === */
.collections {
    display: flex; 
    align-items: center;
    width: 100%;
    margin: 0 auto;     
    margin: 8px auto;
    margin-top: 16px; 
}

/* === Элемент Подборки (текст) === */
.collection-item {
    background: #3c3c3c;
    color: #c6c6c6; 
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    border-radius: 6px;
    padding: 10px 14px;
    margin-right: 8px; 
    cursor: pointer;
    flex-grow: 1;
    border: 1px solid #2c2c2c; 
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* === Кнопка "еще" === */
.show-filters-btn {
	position:relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}
.show-filters-btn>div {position:absolute; font-family:system-ui; top:0; right:-4px; align-items:center; font-weight:600; justify-content:center; border-radius:40px; height:16px; width:16px; display:none; background:#fff; color:#000; font-size:10px}

/* === Для второй линии (подборки) === */
.collections {
    margin: 0px auto; /* Отступы сверху и снизу (8px) */
}

/* === Для третьей линии (фильтры) === */
.line_btm {
    margin-top: 0px; /* Отступ сверху (8px) */
    margin-bottom: 0px; /* Отступ снизу (16px) */
}



.collection-container {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #2c2c2c;
    margin: 0 0 3px 0;
    font-family: Arial, sans-serif;
    border-radius: 6px;
}


.collection-header {
    display: flex;
    color: #b0b0b0;
    background-color: #3c3c3c;
    align-items: center;
    justify-content: space-between;
    padding: 7px;
    border-radius: 6px 6px 0 0;
    height: 33px; /* Установите желаемую высоту здесь */
    box-sizing: border-box; /* Чтобы padding не влиял на высоту */
}


.left-group {
    display: flex;
    align-items: center;
}

.chevron-icon {
    cursor: pointer;
    margin-right: 4px;
    font-size: 13px;
}

.collection-title {
    font-size: 12px;
    font-weight: bold;
    color: #b0b0b0;
    margin: 0;
}

.collection-actions {
    display: flex;
    gap: 8px;
}

.action-icon {
    font-size: 12px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.action-icon:hover {
    opacity: 1;
}

.collection-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    max-height: calc(12px * 1.4 * 5);
    overflow-y: auto;
    line-height: 1.4;
    padding-right: 5px;
    text-align: justify;
}

.collection-description::-webkit-scrollbar {
    width: 4px;
}

.collection-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.collection-description::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.collection-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 4px;
}


.collection-my-actions {
    font-size: 12px;
    display: flex;
    opacity: 0.8;
    gap: 8px;
    padding-right: 5px;
}


.share-icon {
    top: 12px;
    right: 12px;
    width: 18px;
    height: 24px;
    cursor: pointer;
    stroke: #b0b0b0;
    transition: fill 0.3s;
}

.nowines {text-align:center; margin-top:22px}