

/* Start:/local/templates/svetilniki/components/bitrix/news.list/flat/style.css?17721078063286*/
.sale-title h2 {
    font-weight: 600;
    margin-bottom: 20px;
}
.sale-title h2 span{
	color: red;
}






.sale-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.sale-list-item-container {

}
.sale-list-item {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    color: #000;
    width: 100%;
    line-height: normal;
    text-decoration: none;
    transition: all .2s ease-out;
}
.sale-list-item:hover {
    color: var(--light_green);
    text-decoration: none;
    transition: all .2s ease-in;
}
.sale-list-item-img {
	width: 100%;
}
.sale-list-item-img img {
	width: 100%;
}

.main-sale-item-bg {
    padding-top: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    /* изначально скрыт */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.sale-list-item:hover .main-sale-item-bg {
    /* при наведении показываем */
    opacity: 1;
    visibility: visible;
}

.main-sale-item-btn {
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
}

@media (max-width: 576px) {
	.sale-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}


/*-----------------slider--------------------*/
.sale-slider-item-container {
	padding: 20px;
}

.sale-slider-item-img {
	width: 100%;
	position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
}
.sale-slider-item-img img {
	width: 100%;
}

.sale-slider-item-name {
	position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 4;
    transform: translate(-50%, 0);
    font-size: 30px;
    color: var(--dark);
    background-color: #ffffffa8;
    padding: 5px 30px;
    border-radius: 50px;
}



.sale-slider .slick-prev, .sale-slider .slick-next {
    width: 50px;
    height: 100px;
    z-index: 4;
}
.sale-slider .slick-next {
    right: 0;
}
.sale-slider .slick-prev {
    left: 0;
}
.sale-slider .slick-prev:before {
    content: '';
    background-image: url(/local/templates/svetilniki/images/icons/prev.svg);
    background-size: 59px auto;
    background-position: -7px center;
    display: block;
    width: 45px;
    height: 100px;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 54px;
}
.sale-slider .slick-next:before {
    content: '';
    background-image: url(/local/templates/svetilniki/images/icons/next.svg);
    background-size: 59px auto;
    background-position: -7px center;
    display: block;
    width: 45px;
    height: 100px;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 54px;
}

@media (min-width: 577px) {
	.sale-slider-mobile-img {
		display: none !important; 
	}
}
@media (max-width: 576px) {
	.sale-slider-desktop-img {
		display: none !important; 
	}
	.sale-slider-mobile-img {
		display: block; 
	}
	.sale-slider-item-container {
		padding: 0;
	}
	.sale-slider-item-name {
		width: 90%;
		font-size: 20px;
		padding: 5px 20px;
		text-align: center;
	}
}


/* End */
/* /local/templates/svetilniki/components/bitrix/news.list/flat/style.css?17721078063286 */
