

/* Start:/local/templates/glavhoz/components/bitrix/news.list/main_banner/style.css?17486135316187*/
/*БАННЕР*/
.banner {
    height: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.banner-img {
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.banner-sliders {
    height: 500px;
    display: flex;
    transition: transform 1.5s ease;
}

.img-banner {
    height: 100%;
    width: 100vw;
    object-fit: cover;
}

.button-banner,
.button-news,
.button-partners {
    width: 180px;
    height: 160px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-banner:hover{
    background: none;
    border: none;
}

.button-banner svg:hover path{
    fill: var(--colorRed);
    transition: 0.8s;
}

.banner-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.banner-decor-content{
    display: flex;
    align-items: center;
}

.banner-decor {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 столбца */
    grid-template-rows: 1fr 1fr; /* 2 строки */
    gap: 40px; /* Отступы между ячейками сетки */
    width: 431px;
}

.diemond {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Позиционирование ромбов в форме большого ромба */
.top {
    grid-column: 1 / 3; /* Занимает оба столбца */
    grid-row: 1; /* Первая строка */
}

.right {
    grid-column: 2; /* Второй столбец */
    grid-row: 1 / 3; /* Занимает обе строки */
}

.bottom {
    grid-column: 1 / 3; /* Занимает оба столбца */
    grid-row: 2; /* Вторая строка */
}

.left {
    grid-column: 1; /* Первый столбец */
    grid-row: 1 / 3; /* Занимает обе строки */
}

.chosen{
    fill: var(--colorRed);
}

.text-banner{
    background-color: var(--colorRed);
    height: 260px;
    padding: 0 40px;
    max-width: 34%;
    align-items: center;
    z-index: 1;
    
}

#text_banner_0{
    display: flex;
}

.indicators-banner{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/*МЕДИА*/
@media screen and (max-width: 1600px) {
    .banner {
        height: 470px;
        width: 100%;
    }

    .banner-img {
        height: 470px;
        width: 100%;
    }

    .button-banner,
    .button-news,
    .button-partners {
        width: 120px;
        height: 120px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
    }

    .button-banner svg{
        width: 70px;
        height: 90px;
    }

    .banner-decor {
        gap: 30px; /* Отступы между ячейками сетки */
        width: 421px;
    }

    .text-banner{
        height: 260px;
        max-width: 42%;
        padding: 0 30px;
    }
}


@media screen and (max-width: 1300px) {
    .banner {
        height: 380px;
        width: 100%;
    }

    .banner-img {
        height: 380px;
    }

    .button-banner,
    .button-news,
    .button-partners {
        width: 80px;
        height: 80px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
    }

    .button-banner svg{
        width: 60px;
        height: 80px;
    }

    .banner-decor {
        gap: 30px; /* Отступы между ячейками сетки */
        width: 345px;
    }

    .text-banner{
        height: 210px;
        max-width: 46%;
        padding: 0 40px 0 20px;
    }

    .diemond svg{
        width: 210px;
        height: 210px;
    }
}

@media screen and (max-width: 1000px) {
    .banner {
        margin: 20px 0;
        height: 320px;
        width: 100%;
    }

    .banner-content{
        margin: 0 52px;
    }

    .banner-img {
        height: 320px;
    }

    .button-banner,
    .button-news,
    .button-partners {
        display: none;
    }

    .button-banner svg{
        width: 60px;
        height: 80px;
    }

    .banner-decor {
        gap: 10px; /* Отступы между ячейками сетки */
        width: 196px;
    }

    .text-banner{
        height: 124px;
        padding: 0 20px 0 10px;
    }

    .diemond svg{
        width: 124px;
        height: 124px;

    }
}

@media screen and (max-width: 660px) {
    .banner {
        margin: 20px 0;
        height: 280px;
        width: 100%;
    }

    .banner-content{
        margin: 0 36px 0 26px;
    }

    .banner-img {
        height: 280px;
    }

    .button-banner,
    .button-news,
    .button-partners {
        display: none;
    }

    .button-banner svg{
        width: 60px;
        height: 80px;
    }

    .banner-decor {
        gap: 10px; /* Отступы между ячейками сетки */
        width: 44px;
    }

    .text-banner{
        height: 130px;
        padding: 0 30px;
        max-width: 100%;
        margin-right: 30px;
    }

    .diemond svg{
        width: 100px;
        height: 100px;

    }

    .indicators-banner {
        gap: 40px;
    }

    .banner-indicator{
        height: 10px;
        width: 10px;
    }
}

@media screen and (max-width: 480px) {
    .banner {
        margin: 20px 0;
        height: 280px;
        width: 100%;
    }
    
    .banner-content{
        margin: 0 16px 0 6px;
    }

    .banner-img {
        height: 280px;
    }

    .button-banner,
    .button-news,
    .button-partners {
        display: none;
    }

    .button-banner svg{
        width: 60px;
        height: 80px;
    }

    .banner-decor {
        gap: 10px; /* Отступы между ячейками сетки */
        width: 24px;
    }

    .text-banner{
        height: 140px;
        padding: 0 30px;
        max-width: 100%;
        margin-right: 20px;
    }

    .diemond svg{
        width: 90px;
        height: 90px;

    }

    .indicators-banner {
        gap: 40px;
    }

    .banner-indicator{
        height: 10px;
        width: 10px;
    }
}
/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/prmo_list/style.css?17477183676011*/
/*АКЦИИ*/
.stock .title-section {
    margin: 0 160px 60px;
}

.promo {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-color: var(--colorRed);
    height: 360px;
    padding: 0 260px 0 160px;
}

.promo-block {
    position: relative;
    width: 370px;
    height: 360px;
    transition: width 1s ease;
    transform: skewX(-24deg);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform-origin: right;
    right: -50px; 
}

.promo-block img,
.promo-block .promo-content{
    position: absolute;
    transform: skewX(24deg);
}

.promo-block:hover .promo-content{
    opacity: 1;
}

.promo-block:hover {
    width: 1100px;
}

.promo-content{
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: flex-end;
    margin: 200px 60px 10px;
    opacity: 0;
    transition: 1.8s;
}

.promo-title{
    position: relative;
    text-transform: uppercase;
    background-color: var(--colorRed);
    padding: 10px 20px;
    width: 360px;
}

.img-promo{
	height: 360px;
	position: absolute;
    transform: skewX(24deg);
	top:0;
}

/*МЕДИА*/
@media screen and (max-width: 1600px) {
    .stock .title-section {
        margin: 0 120px 40px;
    }

    .promo {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        background-color: var(--colorRed);
        height: 340px;
        padding: 0 220px 0 120px;
    }

    .promo-content{
        gap: 60px;
        margin-top: 160px;
    }

    .promo-block {
        width: 300px;
        height: 340px;
		transform: skewX(-20deg);
    }

    .promo-title{
        width: 180px;
    }

    .promo-title-subs{
        position: absolute;
        z-index: -1;
        margin-left: -30px;
        height: 64px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: -6px;
    }
    
    .promo-title-sub{
        height: 40px;
        width: 200px;
        background-color: var(--colorRed);
    }
    
    .sub-bottom{
        margin-left: -30px;
    }
}

@media screen and (max-width: 1300px) {
	.stock .title-section {
        margin: 0 120px 40px;
    }

    .promo {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        background-color: var(--colorRed);
        height: 340px;
        padding: 0 220px 0 120px;
    }

    .promo-content{
        gap: 60px;
        margin-top: 160px;
    }

    .promo-block {
        width: 300px;
        height: 340px;
		transform: skewX(-20deg);
    }

    .promo-title{
        width: 180px;
    }

    .promo-title-subs{
        position: absolute;
        z-index: -1;
        margin-left: -30px;
        height: 64px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: -6px;
    }
    
    .promo-title-sub{
        height: 40px;
        width: 200px;
        background-color: var(--colorRed);
    }
    
    .sub-bottom{
        margin-left: -30px;
    }
}

@media screen and (max-width: 1000px) {
	.stock .title-section {
        margin: 0 120px 40px;
    }

    .promo {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        background-color: var(--colorRed);
        height: 340px;
        padding: 0 220px 0 120px;
    }

    .promo-content{
        gap: 60px;
        margin-top: 160px;
    }

    .promo-block {
        width: 300px;
        height: 340px;
		transform: skewX(-20deg);
    }

    .promo-title{
        width: 180px;
    }

    .promo-title-subs{
        position: absolute;
        z-index: -1;
        margin-left: -30px;
        height: 64px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: -6px;
    }
    
    .promo-title-sub{
        height: 40px;
        width: 200px;
        background-color: var(--colorRed);
    }
    
    .sub-bottom{
        margin-left: -30px;
    }
}

@media screen and (max-width: 660px) {
	.stock .title-section {
        margin: 0 120px 40px;
    }

    .promo {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        background-color: var(--colorRed);
        height: 340px;
        padding: 0 220px 0 120px;
    }

    .promo-content{
        gap: 60px;
        margin-top: 160px;
    }

    .promo-block {
        width: 300px;
        height: 340px;
		transform: skewX(-20deg);
    }

    .promo-title{
        width: 180px;
    }

    .promo-title-subs{
        position: absolute;
        z-index: -1;
        margin-left: -30px;
        height: 64px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: -6px;
    }
    
    .promo-title-sub{
        height: 40px;
        width: 200px;
        background-color: var(--colorRed);
    }
    
    .sub-bottom{
        margin-left: -30px;
    }
}

@media screen and (max-width: 480px) {
	.stock .title-section {
        margin: 0 120px 40px;
    }

    .promo {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        background-color: var(--colorRed);
        height: 120px;
        padding: 0 102px 0 2px;
    }

    .promo-content{
        gap: 60px;
        margin-top: 160px;
    }

    .promo-block {
        width: 300px;
        height: 120px;
		transform: skewX(-20deg);
    }

    .promo-block img{
        height: 120px;
    }

    .promo-title{
        width: 180px;
    }

    .promo-title-subs{
        position: absolute;
        z-index: -1;
        margin-left: -30px;
        height: 64px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: -6px;
    }
    
    .promo-title-sub{
        height: 40px;
        width: 200px;
        background-color: var(--colorRed);
    }
    
    .sub-bottom{
        margin-left: -30px;
    }
}
/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/novelty_block/style.css?17434117582049*/
/*НОВИНКИ*/

.novelty{
    display: flex;
    justify-content: space-between;
}

.novelty-block{
    width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    gap: 60px;
    transition: opacity 0.5s ease, transform 0.5s ease;  /* Плавный переход */
}

.text-novelty{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 380px;
}

.text-novelty button{
    max-width: 150px;
}

.novelty-img{
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.novelty-img img{
    height: auto;
    width: 100%;
    object-fit: cover;
}

.novelty-reverse{
    flex-direction: column-reverse;
    animation: slideUp 1.6s forwards; /* Анимация при добавлении класса */
}

@keyframes slideUp {
    0%{
        opacity: 0;
        transform: translateY(120px);
    }
    60% {
        opacity: 0.5;
        transform: translateY(0); /* Начальная позиция - сдвинут вниз */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Конечная позиция - на своем месте */
    }
}

.noveltyAnim{
    animation: noveltyOpacity 0.6s forwards; /* Анимация при удалении класса */
}

.novelty-block:not(.novelty-reverse) {
    animation: slideDown 1.6s forwards; /* Анимация при удалении класса */
}

@keyframes slideDown {
    0% {
        opacity: 0.3;
        transform: translateY(-120px); /* Конечная позиция - сдвинут вниз */
    }
    60% {
        opacity: 0.5;
        transform: translateY(0); /* Начальная позиция - на своем месте */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Конечная позиция - сдвинут вниз */
    }
}

/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/hight_rate/style.css?1747805156778*/
/* УНИВЕРСАЛЬНЫЙ СЛАЙДЕР ТОВАРОВ */
@keyframes grow {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.button-more {
    transition: transform 0.3s ease;
}

.button-more.animate {
    animation: grow 0.5s ease;
}

.products-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.slider-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    
}

.slider-goods {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.goods-container {
    display: flex;
    gap: 40px;
    transition: transform 1.5s ease;
}
/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/popular_category/style.css?17507805651069*/
/*КАТЕГОРИИ*/

.categories-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
	width: 100%;
}

.category-catalog{
width: 100%;
}



        .category-line{
            display: flex;
            justify-content:space-between;
            align-items: center;
            transition: transform 0.3s ease;
			width: 100%;

        }


.category-popular-box{
    width: 166px;
    height: 166px;
    border: solid 4px var(--colorLightGray);
    transform: rotate(45deg);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px;
    transition: 0.5s;
    flex: 0 0 auto;
}

.category-popular-box img{
    transform: rotate(-45deg);
    height: 70%;
}

.category-popular-box h3{
    transform: rotate(-45deg);
    display: none;
    color: var(--colorRed);
}

.category-popular-box:hover{
    border: solid 4px var(--colorRed);
    cursor: pointer;
}

.category-popular-box:hover h3{
    display: block;
}

.category-popular-box:hover img{
    display: none;
}
/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/about_company_block/style.css?17435795362509*/
/*ИНФОРМАЦИЯ О КОМПАНИИ*/

.infoblock .title-section{
    margin: 0 160px 60px;
}

.infoblock-container{
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.info{
    display: flex;
    justify-content: space-between;
    margin: 0 0 0 160px;
    
}

.info-left{
    margin: 0 160px 0 0;
    
}

.infoline {
    position: relative;
    width: 70%; /* Ширина блока */
    padding: 0 160px 0 20px;
    display: flex;
    align-items: center;
    background-color: var(--colorLightGray); /* Цвет фона блока */
    opacity: 0; /* Начальное состояние невидимо */
    transform: translateX(100%); /* Начальное положение для анимации */
    animation: slideIn 3s forwards; /* Анимация */
}

.infoline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -70px; /* Сдвинуть границу влево */
    
    width: 100%;
    height: 100%;
    background-color: var(--colorLightGray); /* Цвет фона блока */
    transform: skewX(-40deg); /* Скошенная граница */
    z-index: -1; /* Поместить за текстом */
}

.infoline_red{
    max-width: calc(100vw-320px);
    position: relative;
    width: 80%; /* Ширина блока */
    opacity: 0; /* Начальное состояние невидимо */
    padding: 0 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%); /* Начальное положение для красного блока */
    animation: slideIn 3s forwards; /* Анимация */
}

.infoline_red::before {
    content: '';
    position: absolute;
    top: 0;
    left: -70px; /* Сдвинуть границу влево */
    width: 100%;
    height: 100%;
    background-color: var(--colorRed); /* Цвет фона блока */
    transform: skewX(-40deg); /* Скошенная граница */
    z-index: -1; /* Поместить за текстом */
}

.text_info{
    font-size: 40px;
    text-align: center;
    color: var(--colorRed);
    font-family: 'NotoSans-Bold';
}

.infographic{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.infographic img{
    height: 100px;
}

@keyframes slideIn {
    to {
        opacity: 1; /* Появление текста */
        transform: translateX(0); /* Конечное положение */
    }
}
/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/news/style.css?17490355862127*/
/*НОВОСТИ*/

.latest-news {
    display: flex;
    margin: 100px 160px 160px 0;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.latest-news-block{
    display: flex;
    gap: 80px;
    width: 100%;
}

.news-substrate{
    position: absolute;
    background-color: var(--colorLightGray);
    width: 100%;
    height: 410px;
    margin-top: 170px;
    z-index: -1;
}

.decor-news{
    position: absolute;
    height: 92%;  
}

.news-slider {
    position: relative;
    
}

.news-slider-container{
    width: 700px;
    overflow: hidden;
}

.slider-content {
    display: flex;
    justify-content: space-between;
    margin: 0 160px 0 0;
    transition: transform 0.5s ease; 
    width: 700px;
}

.news-slide {
    height: 460px;
    width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0; /* Не сжимать слайды */
}


.news-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content{
    display: none;
    flex-direction: column;
    gap: 40px;
}

.news-content-active{
    display: flex;  
}

.news-description {
    max-width: 800px; 
    height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-desc-content{
    display: flex;
    height: 290px;
}

.news-desc-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-indicate{
    display: flex;
    gap: 30px;
}

.indicators{
    display: flex;
    justify-content: space-between;
    width: 200px;
}


.news-rhombus{
    background-color: var(--colorWhite);
}

.news-indicators .indicate{
    background-color: var(--colorRed);
}

.button-news svg:hover path{
    fill: var(--colorLightGray);
    transition: 0.4s;
}


.button-news {
    width: 180px;
    height: 160px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/reviews/style.css?1743671924447*/
/*ОТЗЫВЫ*/
.reviews{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 40px 0;
}

.review{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    text-align: center;
    width: 450px;
    height: 340px;
    gap: 20px;
    border: 1px solid var(--colorRed);  
}

.center-review{
    transform: scale(1.18);
}
/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/partners/style.css?17499875112017*/
/* Основные стили */
.partners-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    overflow: hidden;
}

.partners-lines {
    width: 100%;
    perspective: 1000px;
}

.partner-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    width: 100%;
}

.partner-block {
    transition: transform 0.5s ease;
    flex: 0 0 auto;
}

.partner-sub {
    width: 160px;
    height: 160px;
    background-color: var(--colorWhite);
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px;
    transition: all 0.3s ease;
    border: solid 2px var(--colorLightGray);
}

.partner-sub:hover {
    border-color: var(--colorRed);
    transform: rotate(45deg) scale(1.05);
}

.partner-sub img {
    transform: rotate(-45deg);
    max-width: 140px;
    max-height: 130px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.button-partner {
    max-width: 200px;
}

.t-left, .t-right {
    flex-shrink: 0;
}

/* Основные стили остаются без изменений */

/* Добавляем мобильные стили */
@media (max-width: 767px) {
    .partner-line {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .partner-block {
        width: 50%;
        display: flex;
        justify-content: center;
    }
    
    .partner-block.hidden {
        display: none;
    }
    
    .partner-sub {
        width: 120px;
        height: 120px;
        margin: 15px;
    }
    
    .partner-sub img {
        max-width: 100px;
        max-height: 90px;
    }
    
    .t-left, .t-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .partner-sub {
        width: 100px;
        height: 100px;
        margin: 10px;
    }
    
    .partner-sub img {
        max-width: 80px;
        max-height: 70px;
    }
}
/* End */
/* /local/templates/glavhoz/components/bitrix/news.list/main_banner/style.css?17486135316187 */
/* /local/templates/glavhoz/components/bitrix/news.list/prmo_list/style.css?17477183676011 */
/* /local/templates/glavhoz/components/bitrix/news.list/novelty_block/style.css?17434117582049 */
/* /local/templates/glavhoz/components/bitrix/news.list/hight_rate/style.css?1747805156778 */
/* /local/templates/glavhoz/components/bitrix/news.list/popular_category/style.css?17507805651069 */
/* /local/templates/glavhoz/components/bitrix/news.list/about_company_block/style.css?17435795362509 */
/* /local/templates/glavhoz/components/bitrix/news.list/news/style.css?17490355862127 */
/* /local/templates/glavhoz/components/bitrix/news.list/reviews/style.css?1743671924447 */
/* /local/templates/glavhoz/components/bitrix/news.list/partners/style.css?17499875112017 */
