

/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/news.list/sale-list/style.css?17890289263774*/
/* ============================================================
   Акции — карточки с фоновым изображением (avtoproezd)
   Вставить в <style> на странице /sales/index.php
   ============================================================ */

/* Карточка */
.sale-list__wrapper .sale-list__item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 320px;
    border: none !important;
    box-shadow: none !important;
    background: #f5f5f5;
}

/* Картинка — на всю карточку */
.sale-list__wrapper .sale-list__item-image-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 0 !important;
    z-index: 0;
}
.sale-list__wrapper .sale-list__item-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

/* Светлый градиент снизу — для читаемости тёмного текста */
.sale-list__wrapper .sale-list__item-image-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 35%;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 60%, rgba(255,255,255,0.92) 100%);
    z-index: 1;
    border-radius: 0 0 16px 16px;
}

/* Текст — внизу, тёмный */
.sale-list__wrapper .sale-list__item-text-wrapper {
    position: absolute !important;
    bottom: 72px;
    left: 24px;
    right: 24px;
    z-index: 2;
    padding: 0 !important;
}
.sale-list__wrapper .sale-list__item-title {
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.3;
}
.sale-list__wrapper .sale-list__item-title .dark_link {
    color: #222 !important;
}
.sale-list__wrapper .sale-list__item-preview {
    color: #555 !important;
    font-size: 13px;
    margin-top: 6px;
}

/* Период (дата акции) */
.sale-list__wrapper .sale-list__item-period {
    color: #888 !important;
    margin-bottom: 8px;
}

/* Кнопка-стрелка */
.sale-list__wrapper .sale-list__item::after {
    content: "→";
    position: absolute;
    bottom: 20px;
    left: 24px;
    width: 42px;
    height: 42px;
    background: rgba(0,0,0,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    z-index: 3;
    transition: background 0.2s;
    pointer-events: none;
}
.sale-list__wrapper .sale-list__item:hover::after {
    background: rgba(0,0,0,0.12);
}

/* Ссылка на всю карточку */
.sale-list__wrapper .sale-list__item > a.sale-list__item-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
}

/* Стикер скидки */
.sale-list__wrapper .sale-list__item-sticker {
    z-index: 5;
}

/* Убрать бордеры */
.sale-list__wrapper .sale-list__item.bordered {
    border: none !important;
}

/* Грид */
.sale-list .grid-list {
    gap: 20px;
}

/* === МОБИЛКА === */
@media (max-width: 767px) {
    .sale-list__wrapper .sale-list__item {
        min-height: 220px;
        border-radius: 12px;
    }
    .sale-list__wrapper .sale-list__item-image-wrapper::after {
        border-radius: 0 0 12px 12px;
    }
    .sale-list__wrapper .sale-list__item-text-wrapper {
        bottom: 60px;
        left: 18px;
        right: 18px;
    }
    .sale-list__wrapper .sale-list__item-title {
        font-size: 14px !important;
    }
    .sale-list__wrapper .sale-list__item::after {
        bottom: 14px;
        left: 18px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* End */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/news.list/sale-list/style.css?17890289263774 */
