/* Стили для новой главной страницы newhome.tpl */

.newhome-container {
    /* Дополнительные стили для контейнера новой главной страницы */
}

.newhome-content {
    /* Стили для контента новой главной страницы */
}

/* Блок преимуществ */
.newhome-advantages-wrapper {
    margin: 30px 0;
    padding: 20px 0;
    padding-bottom: 15px;
}

.newhome-advantages {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.about-page_advantages__item {
    display: flex;
    align-items: flex-start;
    flex: 0 0 calc(50% - 15px);
    margin-bottom: 0px;
}

.about-page_advantages__item-icon {
    flex-shrink: 0;
    margin-right: 15px;
}

.about-page_advantages__item-description {
    flex: 1;
}

.about-page_advantages__item-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.about-page_advantages__item-text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .about-page_advantages__item {
        flex: 0 0 100%;
    }
}


/* Убеждаемся, что описание категорий видно */
.newhome-content .category-grid .item .description {
    display: block !important;
    visibility: visible !important;
}

/* Секция товаров */
.newhome-products-section {
    margin: 40px auto;
}

.newhome-products-block {
    margin-bottom: 40px;
}

/* Заголовок с навигацией для каруселей */
.newhome-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.newhome-products-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #333;
    flex: 1;
}

.newhome-products-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.newhome-products-nav .slide_arrow_prev,
.newhome-products-nav .slide_arrow_next {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    text-decoration: none;
    margin: 0;
}

.newhome-products-nav .slide_arrow_prev:hover,
.newhome-products-nav .slide_arrow_next:hover {
    border-color: #A4131E;
    background: #A4131E;
    color: #fff;
}

.newhome-products-nav .slide_arrow_prev i,
.newhome-products-nav .slide_arrow_next i {
    font-size: 18px;
    color: #333;
}

.newhome-products-nav .slide_arrow_prev:hover i,
.newhome-products-nav .slide_arrow_next:hover i {
    color: #fff;
}

/* Кнопка "Все товары" */
.newhome-all-products-btn-wrapper {
    text-align: center;
    margin: 40px 0;
}

.newhome-all-products-btn {
    padding: 12px 40px;
    font-size: 16px;
    display: inline-block;
}

/* Блок "О компании" */
.newhome-about-section {
    margin: 40px auto;
    padding: 5px 0;
}

.newhome-about-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.newhome-about-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 15px;
    color: #555;
}

.newhome-about-content p {
    margin-bottom: 15px;
}

.newhome-about-content strong {
    font-weight: bold;
    color: #a4131e;
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Блок "Наши клиенты" */
.newhome-clients-section {
    margin: 40px auto;
    padding: 30px 0;
}

.newhome-clients-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.newhome-clients-description {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
}

.newhome-clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.newhome-clients-item {
    flex: 0 0 calc(25% - 15px);
    text-align: center;
    margin-bottom: 20px;
}

.newhome-clients-item img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.newhome-clients-item:hover img {
    opacity: 1;
}

@media (max-width: 991px) {
    .newhome-clients-grid .banner-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .newhome-clients-grid .banner-item {
        flex: 0 0 100%;
    }
}

/* Адаптивность для каруселей товаров */
.newhome-products-section .product-grid.carousel {
    margin: 0;
}

/* Скрываем старый box-heading с названием группы в слайдерах */
.newhome-products-section .box-heading {
    display: none !important;
}

/* Стили для стрелок слайдера */
.newhome-products-section .owl-controls {
    display: block !important;
}

.newhome-products-section .owl-controls .owl-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
}

.newhome-products-section .owl-controls .owl-prev,
.newhome-products-section .owl-controls .owl-next {
    display: inline-block;
}

.newhome-products-section .owl-controls .slide_arrow_prev,
.newhome-products-section .owl-controls .slide_arrow_next {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    text-decoration: none;
    margin: 0;
}

.newhome-products-section .owl-controls .slide_arrow_prev:hover,
.newhome-products-section .owl-controls .slide_arrow_next:hover {
    border-color: #A4131E;
    background: #A4131E;
    color: #fff;
}

.newhome-products-section .owl-controls .slide_arrow_prev i,
.newhome-products-section .owl-controls .slide_arrow_next i {
    font-size: 18px;
    color: #333;
    transition: color 0.3s;
}

.newhome-products-section .owl-controls .slide_arrow_prev:hover i,
.newhome-products-section .owl-controls .slide_arrow_next:hover i {
    color: #fff;
}

/* Скрываем кнопку "Купить" при наведении на категории и карточки товара */
.newhome-content .category-grid .item:hover .icons_wrapper .add_to_cart,
.newhome-content .product-grid .item:hover .icons_wrapper .add_to_cart {
    display: none !important;
}

.newhome-products-section .owl-controls {
    display: block !important;
    margin-top: -26px;
}
.newhome-products-section .owl-controls .owl-buttons div {
    opacity: 1;
}

.newhome-products-section .owl-carousel .owl-buttons .owl-next {
    right: 10px;
}
.newhome-products-section .owl-controls .slide_arrow_prev, .newhome-products-section .owl-controls .slide_arrow_next {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    text-decoration: none;
    margin: 0;
}
.newhome-products-section .owl-carousel .owl-buttons div i {
    font-size: 32px;
    margin: 0px 0 0;
}
.newhome-products-section .owl-carousel .owl-buttons .owl-prev {
    left: -20px;
}
.newhome-products-title {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    color: #333;
    flex: 1;
    text-transform: uppercase;
}
.newhome-all-products-btn-wrapper a.btn.button.contrast.newhome-all-products-btn {
    background: #a4131e;
    width: 290px;
    border: 1px solid #a4131e;
    line-height: 21px;
    font-size: 17px;
    padding-top: 12px;
    transition: 0.4s;
}
.newhome-all-products-btn-wrapper a.btn.button.contrast.newhome-all-products-btn:hover {
    color: #a4131e;
    background: white;
    border: 1px solid #a4131e;
}

.info_wrapper2 a.btnmore {
    height: auto;
    position: absolute;
    bottom: 40px;
    right: 30px;
    background: white;
    color: black;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 23px;
    border-radius: 2px;
    transition: 0.3s;
}
.info_wrapper2 a.btnmore:hover {
    background: #b82537;
    color: white;
}

.newhome-about-content {
    max-width: max-content;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 20px;
    color: #555;
}
.newhome-clients-description {
    text-align: left;
    margin-bottom: 30px;
    color: black;
    font-size: 17px;
}
.newhome-clients-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
    color: #333;
}
.newhome-about-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
    color: #333;
}

.box-content.cosyone-faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 !important;
}
.cosyone-faq-q{
    font-family: Circe;
font-weight: 700;
font-style: Bold;
font-size: 18px;

}
.cosyone-faq-item{
    
    border-bottom: 1px solid #E9E9E9;
padding: 20px 20px;
}
.cosyone-faq-item:nth-child(1),
      .cosyone-faq-item:nth-child(2){
        border-top: 1px solid #E9E9E9;
      }
.cosyone-faq-head {
    display: flex;
    justify-content: space-between;
}
.cosyone-faq-btn{
    background: #A4131E;
width: 34px;
height: 34px;
border-radius: 4px;
position: relative;
cursor: pointer;
}
.cosyone-faq-btn::before{
 content: "";
    position: absolute;
    top: 9px;
    left: 11px;
    width: 10px;
    height: 10px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(-45deg);
}
.is-open .cosyone-faq-btn::before{
    transform: rotate(133deg);
    top: 12px;
    left: 12px;
}
.section_title{
    font-family: Circe;
font-weight: 700;
font-style: Bold;
font-size: 28px;
margin-bottom:30px;
}
   .cosyone-faq-a{
     font-family: Circe;
font-size: 20px;
color: #555555;
    margin-top: 30px;
   } 
   @media (max-width: 767px) {
     .box-content.cosyone-faq-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
.cosyone-faq-q{
font-size: 16px;

}
 .cosyone-faq-item{
    padding: 12px 10px;
 }
  .cosyone-faq-item:nth-child(2){
    border-top:none
  }
    .newhome-advantages-wrapper {
        margin: 0px 0;
        padding: 0px 0;
    }
    .about-page_advantages__items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .about-page_advantages__item {
        display: flex;
        align-items: flex-start;
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 0px;
    }
    .info_wrapper2-text {
        display: none;
    }
    .info_wrapper2-title {
        font-size: 20px;
        margin-bottom: 8px;
        text-align: left;
        padding-left: 11px;
        padding-top: 6px;
        font-size: 35px;
        line-height: 28px;
    }
    .rich_banner.gridcolumn3 .banner_column3 {
        max-width: 360px;
        margin: auto;
    }
    .rich_banner.gridcolumn3 .image {
        display: block;
        height: 160px;
        border-radius: 20px;
    }
    .rich_banner .image img {
        height: auto;
        min-height: auto;
        margin: auto;
        position: absolute;
        bottom: 0%;
    }
    .info_wrapper2 a.btnmore {
        background: unset;
        color: white;
        text-shadow: 2px 2px black;
        bottom: 0px;
        right: -6px;
        text-transform: lowercase;
        font-weight: 300;
        font-size: 26px;
    }
    .newhome-products-section .owl-carousel .owl-buttons div i {
        font-size: 28px;
        margin: 0px 0 0;
    }
    .newhome-about-section {
        margin: 0px auto;
        padding: 0px 0;
    }
    .newhome-about-section {
        margin: 0px auto;
        padding: 0px 15px;
    }
    
    .newhome-clients-section {
        margin: 0px auto;
        padding: 19px 15px;
    }
    .info_wrapper2 a.btnmore:hover {
        background: unset;
        color: white;
    }
    .info_wrapper2 a {
        background: #00000073;
    }
    .product-grid .information_wrapper a {
        max-width: 100%;
        display: inline-block;
        font-size: 20px;
        text-wrap: initial;
        word-break: break-all;
        min-height: 72px;
    }
    .about-page_advantages__items {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
        margin-top: 20px;
        margin-bottom: 20px;
    }   
    .newhome-products-section {
        margin: 5px auto;
    }
    div#content h1 {
        font-size: 22px;
    }
    .newhome-products-title {
        font-size: 22px;
    }
    .newhome-clients-item {
        flex: 0 0 calc(50% - 15px);
        text-align: center;
        margin-bottom: 20px;
    }
    .newhome-about-section h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .newhome-clients-section h2 {
        font-size: 22px;
    }
    .newhome-about-content strong {
        font-weight: bold;
        color: #a4131e;
        display: block;
        margin-top: 15px;
        margin-bottom: -10px;
        font-size: 18px;
    }
    .newhome-about-content p {
        margin-bottom: 15px;
        line-height: 19px;
        font-size: 18px;
    }      
    .newhome-about-content
    {
        color: #000000;
    }
    .newhome-products-block {
        margin-bottom: 20px;
    }   
     .rich_banner .image {
        margin-bottom: 0px;
     }
     .info_wrapper2-title {
        font-size: 28px; 
    }
}

