

/* Start:/local/templates/aspro-digital/components/bitrix/catalog.smart.filter/map_filter/style.css?17618931792759*/
.smart-filter-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    max-width: 100%;
}

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.filter-item {
    position: relative;
    min-width: 160px;
}

.filter-values {
    display: none;
}

.custom-select {
    position: relative;
}

.custom-select summary {
    list-style: none;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 11px 14px;
    background: #fafafa;
    transition: border 0.2s ease;
    white-space: nowrap;
}

.custom-select[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 999;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    background: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}


.custom-select[open] ul {
    max-height: 200px;
    opacity: 1;
    overflow-y: auto;
}


.custom-select ul li {
    list-style: none;
    padding: 8px 14px;
    cursor: pointer;
}

.custom-select ul li:hover {
    background: #eee;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.filter-submit,
.filter-reset {
    padding: 10px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}

.filter-submit {
    background-color: black; /* ярко-жёлтый фон */
    color: white; /* чёрный текст */
    text-decoration: none;
    border: 2px solid #000;
    border-radius: 12px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-submit:hover {
    background-color: #ffec0d; /* чёрный фон при наведении */
    color: black; /* жёлтый т текст при наведении */
    text-decoration: none;
}

.filter-reset {
    background: #ddd;
    color: #666;
}

.filter-reset:hover {
    background: #bbb;
}

@media (max-width: 768px) {
    .filter-panel {
        flex-direction: column;
        gap: 15px;
    }

    .filter-buttons {
        margin-left: 0;
        justify-content: flex-end;
    }

    .custom-select summary {
        width: 100%;
        min-width: 320px;
        box-sizing: border-box;
    }
}
/* End */


/* Start:/local/templates/aspro-digital/components/bitrix/news/advertising/bitrix/news.list/advertising_list/style.css?17645930892286*/
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); /* карточки шире */
    gap: 32px;
    padding: 0;
}
.fav-btn.added {
    background-color: var(--color-yellow);
    color: var(--color-black);
    border: 2px solid #000;
}

.card-item {
    display: flex;
    flex-direction: column;
    /*background: #ffec0d; !* акцентный фон *!*/
    border: 2px solid black; /* чёрная обводка */
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: black;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 420px; /* длиннее */
}

.card-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.card-image {
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 260px; /* выше картинка */
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card-item:hover .card-image img {
    transform: scale(1.07);
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: black;
    line-height: 1.3;
    font-weight: 700;
}

.card-content p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #222;
}

.card-content strong {
    color: black;
    font-weight: 700;
}

/* Адаптив */
@media (max-width: 992px) {
    .cards-grid {
        gap: 24px;
    }

    .card-item {
        min-height: 380px;
    }

    .card-content {
        padding: 18px;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .card-image img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-item {
        min-height: auto;
    }

    .card-content {
        padding: 16px;
    }

    .card-content h3 {
        font-size: 17px;
    }

    .card-content p {
        font-size: 14px;
    }

    .card-image img {
        height: 200px;
    }
}

/* End */
/* /local/templates/aspro-digital/components/bitrix/catalog.smart.filter/map_filter/style.css?17618931792759 */
/* /local/templates/aspro-digital/components/bitrix/news/advertising/bitrix/news.list/advertising_list/style.css?17645930892286 */
