/* ============================================================================
   ШРИФТЫ
   ============================================================================ */

@font-face {
    font-family: 'Inter';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/Inter_Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/Inter_Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/Inter_Bold.ttf') format('truetype');
}

/* ============================================================================
   СТИЛИ
   ============================================================================ */

*, *::after, *:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

:root {
    --main-bg-color: #f0f0f0;
    --text-color: #161616;
    --title-color: #4b4b4b;
    --accent-color: #ff6600;
    --accent-color-hover: #d00a04;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background-color: var(--main-bg-color);
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-color);
}
a {
  color:inherit;
  text-decoration:inherit;
  transition: color 0.3s ease;
  font-size: 1rem;
}

a:hover {
  color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--title-color);
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px
}
.added_to_cart.wc-forward{display: none;}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.header__top-right{
    display: flex;
    align-items: center;
    gap: 60px;
    font-weight: 500;
}
.header__bottom{
    background-color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.136);
}
.header__bottom-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
}
.header__bottom-nav ul{
    display: flex;
    gap: 3.5rem;
    align-items: center;
}
.header__nav-top li,
.header__bottom-nav li{
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
}

.header__bottom-logo{
    max-width: 180px;
}

.header-mm{
    position: absolute;
    width: 0;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
}
.header-mm.open-mm{
    width: 100vw;
    z-index: 10;
}
.header-mm__box {
    background-color: #fff;
    max-width: 400px;
    padding: 24px;
    height: 100vh;
}
.header-mm__logo-box{
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
    padding-bottom: 1.6rem;
    border-bottom: 2px solid #f0f0f0;
}
.header-mm__logo-box img {
    max-width: 200px;
}
.header-mm a{
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.header-mm__overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: -1;
}
.header__open-menu{
    width: 2rem;
    height: 1.5rem;
    background: transparent;
    padding: 4px;
    border: none;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}
.header__open-menu span{
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
}
.header__top-lang ul{
    display: flex;
}
.header__top-lang li:first-child::after{
    content: '|';
    color: var(--text-color);
    padding: 0 8px;
}
.header-mm__contacts-lang {
    padding: 16px 0 8px;
}
.header-mm__contact{
    padding: 0 0 8px;
}
.header-mm__contacts{
    padding-bottom: 1.4rem;
    border-bottom: 2px solid #f0f0f0;
}
.header-mm__menu{
    padding: 16px 0;
}
.header-mm__menu ul{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 8px;
    font-size: 16px;
}
.header-mm__btn{
    background-color: transparent;
    border: none;
    margin-left: auto;
    display: block;
}
.header-mm__btn svg{
    max-width: 32px;
    max-height: 32px;
}
/*
------------ HOME ------------
*/

.home-hero__container{
    padding: 117px 0;
    position: relative;
}
.home-hero__text-box{
    max-width: 450px;
}
.home-hero__img{
    position: absolute;
    top: 0;
    z-index: -1;
}

.home-hero__title{
    font-size: 3rem;
    line-height: 110%;
    margin-bottom: 1.25rem;
    color: var(--title-color);
}

.home-hero__subtitle{
    font-size: 2.25rem;
    line-height: 2.5rem;
    margin-bottom: 5rem;
    color: var(--accent-color);
}
.home-hero__sign-box{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-hero__sign{
    font-size: 22px;
    line-height: 110%;
    color: #939393;
    font-weight: 700;
    max-width: 220px;
}


/* ============================================================================
   ВИДЕОПРИМЕРЫ
   ============================================================================ */

.frontpage-videos {
    padding: 64px 0 48px;
}

.frontpage-videos__title {
    font-size: 43px;
    font-weight: 700;
    margin-bottom: 64px;
    text-align: center;
    color: var(--title-color);
    text-transform: uppercase;
}

.frontpage-videos__slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.frontpage-videos__track {
    flex: 1;
    overflow: hidden;
}

.frontpage-videos__list {
    display: flex;
    transition: transform 0.5s ease;
}

.frontpage-video-card {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 10px;
}

/* 3 видео при 1200px */
@media (min-width: 1200px) {
    .frontpage-video-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* 2 видео при 1000px */
@media (min-width: 1000px) and (max-width: 1199px) {
    .frontpage-video-card {
        flex: 0 0 calc(50% - 20px);
    }
}

/* 1 видео при 720px */
@media (max-width: 999px) {
    .frontpage-video-card {
        flex: 0 0 calc(100% - 20px);
    }
}

.frontpage-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.frontpage-video-card__trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    height: 100%;
}

.frontpage-video-card__thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
    height: 100%;
}

.frontpage-video-card__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.frontpage-video-card:hover .frontpage-video-card__thumbnail img {
    transform: scale(1.05);
}

.form-question{
    background-color: #fff;
    padding: 64px 0 48px;
    overflow: hidden;

}
.form-question.bg-tr{
    background-color: transparent;
}
.form-question__title{
    font-size: 40px;
    color: var(--accent-color);
    text-align: center;
    text-transform: uppercase;
}
.form-question__container{
    max-width: 774px;
    margin: 0 auto;
    position: relative;
}
.form-question__container :is(input, textarea){
    width: 100%;
    padding: 16px;
    border-radius: 21px;
    border: 1px solid var(--title-color);
}
.form-question .form-title{
    font-size: 14px;
    color: var(--title-color);
    padding-bottom: 8px;
}
.form-question .policy{
    font-size: 12px;
    color: var(--title-color);
    margin: 24px auto 48px;
    max-width: 480px;
    text-align: center;
}
.form-question .policy a{
    font-size: 12px;
    text-decoration: underline;
    color: var(--title-color);
}
.form-question  .wpcf7-spinner{
    display: none;
}
.form-question .wpcf7-submit{
    width: auto;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    display: block;
    font-size: 18px;
    max-width: 386px;
    margin: 0 auto;
    background-color: transparent;
    padding: 16px 144px;
    cursor: pointer;
    transition: all 0.3s;
}
.form-question .wpcf7-submit:hover{
    background-color: var(--accent-color);
    color: #fff;
}
.form-question h1{
    max-width: 1000px;
    text-align: center;
    margin: 32px auto;
}
.frontpage-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.frontpage-video-card__play svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.frontpage-video-card__title {
    display: block;
    padding: 15px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

/* Стрелки навигации */
.frontpage-videos__arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.frontpage-videos__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.frontpage-videos__arrow:disabled:hover {
    background: #fff;
}

.frontpage-videos__arrow:disabled:hover svg path {
    stroke: #ff6600;
}

/* Пагинация */
.frontpage-videos__pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.frontpage-videos__pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.frontpage-videos__pagination-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.frontpage-videos__pagination-dot:hover {
    background: var(--accent-color);
    opacity: 0.8;
}

/* Адаптив для стрелок */
@media (max-width: 768px) {
    .frontpage-videos__arrow {
        width: 40px;
        height: 40px;
    }
}

/* ============================================================================
   FAQ (Вопросы и ответы)
   ============================================================================ */

.frontpage-faq {
    margin-bottom: 80px;
}

.frontpage-faq__title {
    font-size: 43px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-color-hover);
    text-transform: uppercase;
}

.frontpage-faq__list {

}

.frontpage-faq__item {
    border-top: 1px solid var(--title-color);
    padding: 12px 0;
}
.frontpage-faq__item[open] h3, 
.frontpage-faq__item[open] svg{
    color: var(--accent-color-hover);
}
.frontpage-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    list-style: none;
}

.frontpage-faq__question::-webkit-details-marker {
    display: none;
}

.frontpage-faq__question span:first-child {
    flex: 1;
    padding-right: 20px;
}
.frontpage-faq__question h3{
    font-size: 28px;
}

.frontpage-faq__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: var(--title-color);
}

.frontpage-faq__item[open] .frontpage-faq__icon {
    transform: rotate(45deg);
}

.frontpage-faq__answer {
    padding-bottom: 20px;
    color: var(--text-color);
    line-height: 1.6;
}

.frontpage-faq__answer :is(p, li) {
    margin-bottom: 8px;
}
.frontpage-faq__answer li{
    position: relative;
}
.frontpage-faq__answer ul li::before{
    content: "—";
    position: absolute;
    top: -1px;
    left: -24px;
}
.frontpage-faq__answer ol li{
    list-style: decimal;
}
.frontpage-faq__answer ol,
.frontpage-faq__answer ul{
    padding-left: 32px;
}

.about_hero{
    padding: 40px 0 100px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.about_hero__container{
    position: relative;
}

.about_hero__map{
    position: absolute;
    z-index: 0;
    right: 0;
    top: 20px;
    width: 750px;
}
.about_hero__region{
    font-size: 18px;
    line-height: 160%;
    text-align: right;
    max-width: 750px;
    margin-top: 64px;
}
.about_hero__region .city{
    display: block;
    text-align: right;
    line-height: 120%;
    font-size: 28px;
}
.about_hero__title{
    margin-bottom: 1.25rem;
    font-size: 50px;
    color: var(--accent-color);
}
.about_hero__subtitle{
    font-size: 24px;
    color: var(--title-color);
    line-height: 167%;
    font-weight: 700;
    max-width: 450px;
}


.products-hero{
    padding: 80px 0;
}
.products-hero h1{
    margin-bottom: 1.25rem;
}
.products-hero__container {
    display: grid;
    grid-template-columns: 1fr 550px;
    gap: 0 40px;
}
.products-hero__features-title{
    font-size: 1.4rem;
    line-height: 128%;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}
.products-hero__description{
    margin-bottom: 1.75rem;
}
.products-hero__description, 
.products-hero__features{
    font-size: 16px;
}
.products-hero__description ul, 
.products-hero__features ul{
    padding-left: 16px;
}
.products-hero__description p{
    margin-bottom: 1.5rem;
}
.products-hero__description li, 
.products-hero__features li{
    position: relative;
    margin-bottom: 8px;
}
.products-hero__description li::before, 
.products-hero__features li::before{
    content: '';
    position: absolute;
    left: -16px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-color);
}
.products-hero__image{
    margin-top: -54px;
}
.products-hero__cat-features-grid{
    grid-column: 1/3;
}
.products-hero__cat-features-grid .products-hero__features ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.products-hero__form{
    margin-top: 48px;
    grid-column: 1/3;
}
.products-hero__form-box{
    display: grid;
    grid-template-columns: 48px 1fr 200px;
    align-items: center;
    gap: 24px;
    max-width: 720px;
}
.products-hero__form-icon{
    align-self: center;
}
.products-hero__form-icon svg{
    max-width: 40px;
    height: auto;
    
}
.products-hero__form-btn button{
    width: 100%;
    padding: 12px;
    color: #fff;
    background-color: var(--accent-color);
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s;
}
.products-hero__form-btn button:hover{
    background-color: transparent;
    color: var(--accent-color);
}
.products-list{
    background-color: #fff;
    padding: 4rem 0;
}
.products-group.filtered-out{
    display: none;
}
.products-group__header{
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    padding-bottom: 32px;
    margin-bottom: 20px;
    border-bottom: 2px #f0f0f0 solid;
}
.products-group__header-title{
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 1.25rem;
    transition: color 0.3s;
}
.products-group__container.open .products-group__header-title{
    color: var(--accent-color);
}
.products-group__header-description{
    margin-bottom: 3.5rem;
    line-height: 160%;
}
.products-group__header-btn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    font-weight: 500;
}
.products-group__pdf-button a{
    display: flex;
    align-items: center;
    gap: 4px;
}
.products-group__pdf-button svg {
    stroke: var(--text-color);
    transition: all 0.3s;
}
.products-group__pdf-button:hover svg {
    stroke: var(--accent-color);
}

.products-group__products-show button{
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
}
.products-group__products-show svg {
    stroke: var(--accent-color);
    transition: transform 0.3s ease;
}
.products-group__products-show button.open svg {
    transform: rotate(180deg);
}

.products-table{
    display: none;
}
.products-group__container.open .products-table{
    display: block;
}

.products-table td{
    padding: 10px 5px;
    border-bottom: solid 1px;
    border-top: solid 1px;
}
.products-table th{
    padding: 1.5rem 5px;
    text-align: left;
    font-size: 14px;
}

.products-table table{
    border-collapse: collapse;
    margin-bottom: 2rem;
    width: 100%;
}
.products-table thead{
    background-color: #f0f0f0;
}

.product-files-step svg, 
.product-files-pdf svg,
.product-files-3d svg{
    stroke: var(--accent-color);
    transition: all 0.3s;
}
.product-files-step:hover svg, 
.product-files-pdf:hover svg,
.product-files-3d:hover svg {
    stroke: var(--accent-color-hover);
}
.product-fs{
    margin-bottom: 40px;
}
.product-fs__title{
    font-size: 1.125rem;
    line-height: 1.75rem;
    text-transform: uppercase;
}
.product-fs__open{
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.product-fs__open svg{
    stroke: var(--accent-color);
}
.product-fs__top{
    margin-bottom: 40px;
    display: flex;
    gap: 16px;
}
.product-filters{
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.product-filters__group{
    border: none;
}
.product-filters__group-name{
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.product-filter-item{
    padding: 4px 12px;
    border: 1px solid var(--text-color);
    border-radius: 0.25rem;
    font-size: 14px;
}
.product-filter-item.disabled{
    border: #989898 1px solid;
    color: #989898;
}
.product-filters__checkboxes{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-filters__reset-btn{
    color: var(--accent-color);
    border: none;
    background-color: transparent;
    font-weight: 700;
    display: none;
}
.product-filters__reset-btn.product-filters__reset-btn--visible{
    display: block;
    cursor: pointer;
}

.product-filter-checkbox{
    display: none;
}
.product-filter-item:has(.product-filter-checkbox:checked) {
    background-color: var(--accent-color);
    color: #fff;
    border: var(--accent-color);
}
.product-filters__info{
    margin-top: 32px;
}
.cart-link{
    position: relative;
}
.cart-count{
    background-color: var(--accent-color);
    color: #fff;
    padding: 0px 5px;
    border-radius: 50%;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: -16px;
}
.product-examples{
    margin-bottom: 40px;
}
.product-examples__title{
    margin: 40px 0 20px;
    font-size: 25px;
}
.product-example{
    background-color: #fff;
    padding: 40px;
    border-radius: .75rem;
    font-size: 16px;
    margin-bottom: 20px;
}
.product-example__name{
    font-weight: 700;
    color: var(--title-color);
    display: block;
    margin-bottom: 1rem;
}
.product-example__description{
    display: block;
    margin-bottom: 1rem;
}
.product-example__pre-name,
.product-example__pre-description{
    display: block;
    color: var(--accent-color);
}
.product-example__3d-viewer{
    border: 1px solid gray;
    border-radius: 20px;
    height: 500px;
    width: 100%;
}

.product-example__3d-btn {
    font-size: 16px;
    padding: 0.55rem 1.5rem;
    border-radius: .75rem;
    border: 2px solid var(--text-color);
    background-color: transparent;
    transition: all 0.3s;
}

.product-example__3d-btn:hover {
   border: 2px solid var(--accent-color);
   color: var(--accent-color);
}

.product-example__3d-viewer {
    margin-top: 20px;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-example__3d-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.single-product{
    margin: 64px 0;
}
.single-product__top{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.single-product__description{
    background-color: #fff;
    padding: 28px;
    border-radius: 17px;
    margin-top: 32px;
}

.about-partners{
    padding: 80px 0;
}
.about-partners__container{
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 8rem;
    position: relative;
}
.about-partners__roborucka{
    position: absolute;
    bottom: -80px;
    right: 16px;
    width: 270px;
}
.about-partners__gallery{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.about-partners__gallery-item img{
    width: 100%;
}

.about-partners__content :is(p, hr){
    margin-bottom: 48px;
    font-size: 18px;
    color: var(--title-color);
}
.accessories-hero__right{
    padding-top: 80px;
}
.accessories-hero__container{
    display: grid;
    grid-template-columns: 2fr 3fr;
    padding-bottom: 80px;
    gap: 128px;
}
.accessories-hero__left{
    justify-self: end;
    padding-top: 40px;
    width: 100%;
}
.accessories-hero__left img{
    width: 100%;
}
.accessories-hero__right h1{
    margin-bottom: 20px;
}
.accessories-hero__right p{
    margin-bottom: 8px;
}
.accessories-hero__oran{
    font-weight: 700;
    color: var(--accent-color);
}
.paz-dach{
    padding: 0 0 60px;
}
.paz-dach__grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.paz-dach__item{
    background-color: #fff;
    padding: 20px 0;
    border-radius: 20px;
    text-align: center;
}
.paz-dach__item-table-box{
    padding: 0 20px;
}
.paz-dach__item table,
.dachik__bottom-table table{
    width: 100%;
    border-collapse: collapse;
}
.dachik__bottom-table th,
.paz-dach__item table th{
    border-bottom: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 0;
}
.dachik__bottom-table td,
.paz-dach__item table td{
    padding: 4px 6px 6px;
    text-align: center;
}
.dachik__bottom-table th:first-child,
.dachik__bottom-table td:first-child,
.paz-dach__item table th:first-child,
.paz-dach__item table td:first-child{
    text-align: left;
}
.paz-dach__container h2{
    text-align: center;
    margin-bottom: 40px;
}
.dachik__container{
    border-top: 2px solid var(--title-color);
    padding-top: 60px ;
    padding-bottom: 60px ;
}
.dachik__top{
    display: grid;
    gap: 48px;
    grid-template-columns: 310px 1fr;
}
.dachik__top h2{
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-bottom: 1.5rem;
}
.dachik__top h2 .org{
    color: var(--accent-color);
}
.dachik__top-link{
    margin: 24px 0;
    display: flex;
    justify-content: end;
}
.dachik__top-link a {
    font-weight: 700;
    color: var(--title-color);
}
.dachik__bottom{
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.dachik__bottom-table{
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
}

.dachik__bottom-table th{
    color: var(--title-color);
    font-size: 14px;
}
.dachik__bottom-table td{
    font-size: 16px;
    color: var(--title-color);
    padding: 16px 0 0;
}

.footer{
    background-color: #4b4b4b;
    color: #fff;
    padding: 40px 0;
}
.footer__top,
.footer__bottom{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.footer__bottom-left{
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.footer__right{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
}
.about-partners__logos{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 400px;
}
.about-partners__slogan{
    max-width: 410px;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 64px;
    font-size: 24px;
}
.footer__grid{
    display: grid;
    grid-template-columns: 17px 1fr;
    gap: 0px 8px;
}
.footer__grid-right{
    grid-column: 2/3;
}
.cont-orange{
    color: var(--accent-color);
}
.cont-gray{
    color: #939393;
}
.footer__bottom-left{
    font-size: 14px;
}
.footer__bottom{
    margin-top: 16px;
}
.footer__policy{
    font-size: 14px;
    color: #939393;
    text-decoration: underline;
}
.footer__left{
    display: flex;
    gap: 48px;
}
.footer-navigation ul{
    display: flex;
    gap: 20px;
}
.product-model{
    display: none;
}

.form-question__roborucka{
    position: absolute;
    bottom: -96px;
    right: -256px;
    width: 270px;
}

@media (max-width: 1280px) {
    .container {
        max-width: 1024px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .header__open-menu{
        display: flex;
    }
    .header__bottom-nav{
        display: none;
    }
    .home-hero__container{
        padding: 109px 20px;
    }
    .home-hero__text-box{
        max-width: 300px;
    }

    .home-hero__title{
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    .home-hero__subtitle{
        font-size: 1.5rem;
        margin-bottom: 3rem;
        line-height: 110%;
    }
    .home-hero__sign-box svg{
        height: auto;
        max-width: 30px;
    }
    .home-hero__sign{
        font-size: 18px;
    }
    .about-partners{
        padding: 80px 0 180px;
    }
    .about-partners__roborucka{
        bottom: -180px;
    }

}
@media (max-width: 1024px) {
    .container {
        max-width: 768px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .header__top-left{
        display: none;
    }
    .header__top{
        display: block;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .header__top-right{
        justify-content: space-between;
        gap: 0;
    }
    .header__bottom-logo{
        max-width: 150px;
    }


    .home-hero__container{
        padding: 109px 20px;
    }
    .home-hero__text-box{
        max-width: 300px;
    }

    .home-hero__title{
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
        line-height: 110%;
    }
    .home-hero__subtitle{
        font-size: 1.5rem;
        margin-bottom: 3rem;
        line-height: 110%;
    }

    .frontpage-faq__question h3{
        font-size: 20px;
    }
    .frontpage-faq__icon{
        width: 30px;
        height: 30px;
    }

    .about_hero__title{
        font-size: 50px;
    }
    .about_hero__subtitle{
        font-size: 18px;
    }
    .about_hero__region{
        display: none;
    }

    .about-partners__container{
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-partners__gallery{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .footer__top, .footer__bottom{
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer__bottom{
        display: flex;
        flex-direction: column-reverse;
        margin-top: 24px;
    }
    .products-table__table{
        display: none;
    }
    .product-model{
        display: block;
    }
    .product-model__name{
        padding: 16px 0;
        font-weight: 700;
        font-size: 20px;
        border-top: 1px solid var(--text-color);
        display: flex;
        justify-content: space-between;
    }
    .product-model__card:first-child .product-model__name{
        border: none;
    }
    .product-model__attribute{
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
    }
    .product-model__files-title,
    .product-model__attr-label{
        font-weight: 700;
        color: var(--title-color);
    }
    .product-model__files-title{
        margin-top: 16px;
    }
    .product-model__char-dots{
        flex: 1;
        border-bottom: 2px dotted #999;
        height: 1em;
        margin: 0 4px;
        padding: 10px 0;
    }
    .product-model__file-link svg{
        stroke: var(--accent-color);
    }
    .product-model__files-list{
        margin-top: 8px;
        display: flex;
        gap: 16px;
        padding-bottom: 24px;
    }
    .product-model__attributes-box{
        display: none;
    }
    .product-model__card.open .product-model__attributes-box{
        display: block;
    }
    .open-product-attributes{
        border: none;
        background: none;
    }
    .open-product-attributes svg {
        stroke: var(--accent-color);
        transition: all 0.3s ease;
    }
    .product-model__card.open .open-product-attributes svg {
        transform: rotate(180deg);
    }
    .form-question__roborucka{
        display: none;
    }
}
@media (max-width: 768px){
    .frontpage-videos__title{
        font-size: 25px;
    }
    .about_hero{
        padding: 24px 0;
    }
    .about_hero__title{
        font-size: 26px;
    }
    .about_hero__subtitle{
        font-size: 14px;
    }
    .products-group__header{
        grid-template-columns: 1fr;
    }
    .products-group__header-img{
        max-width: 200px;
    }
    .home-hero{
        overflow: hidden;
    }
}

@media (max-width: 640px){
    .home-hero__img {
        width: 160vw;
        max-width: none;
        right: -32px;
        opacity: 0.18;
    }
    .footer__right{
        display: flex;
        flex-direction: column;
    }
    .footer__email{
        order: 2;
    }
    .footer__left{
        display: block;
    }
    .footer-navigation{
        margin-top: 28px;
    }
}

@media (max-width: 512px){
    .about-partners__gallery{
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

}


@media (max-width: 480px){
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .header__top{
        display: none;
    }
    .header__bottom-logo{
        max-width: 220px;
    }
    .frontpage-faq__question h3{
        font-size: 16px;
    }
    .product-model__attribute{
        font-size: 14px;
    }
    .products-group__header-btn{
        flex-direction: column-reverse;
        align-items: start;
    }
}



/* ============================================================================
   КНОПКА ДОБАВЛЕНИЯ В КОРЗИНУ
   ============================================================================ */
.add_to_cart_button.product_type_simple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add_to_cart_button.product_type_simple:hover {
    background: #d45500;
}

.add_to_cart_button.product_type_simple.adding {
    opacity: 0.7;
    cursor: not-allowed;
}

.add_to_cart_button.product_type_simple:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.add_to_cart_button.product_type_simple.added {
    background: #2ecc71;
}

.add_to_cart_button.product_type_simple.added .add-to-cart-icon {
    display: none;
}

.add_to_cart_button.product_type_simple.added .add-to-cart-check {
    display: inline-block;
}

.add-to-cart-check {
    display: none;
}

.outofstock,
.not-available {
    display: inline-block;
    padding: 8px 16px;
    background: #e0e0e0;
    color: #999;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: not-allowed;
}


/* ============================================================================
   МОДАЛЬНОЕ ОКНО ДЛЯ ВИДЕО
   ============================================================================ */

.frontpage-video-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    z-index: 9999;
}

.frontpage-video-modal[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.frontpage-video-modal::backdrop {
    background: rgba(0, 0, 0, 0.9);
}

.frontpage-video-modal__backdrop {
    display: none; /* Не нужно - используем native backdrop */
}

.frontpage-video-modal__content {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}

.frontpage-video-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frontpage-video-modal__close:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.frontpage-video-modal__close svg {
    width: 20px;
    height: 20px;
}

.frontpage-video-modal__video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.frontpage-video-modal__video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

/* Адаптив для модального окна */
@media (max-width: 768px) {
    .frontpage-videos__grid {
        grid-template-columns: 1fr;
    }

    .frontpage-video-modal__content {
        width: 95%;
    }

    .frontpage-videos__title,
    .frontpage-faq__title {
        font-size: 1.5rem;
    }
}

/* ============================================================================
   СТРАНИЦА "О КОМПАНИИ"
   ============================================================================ */

.about-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.about-hero__content {
    max-width: 800px;
    margin-bottom: 40px;
}

.about-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.8;
}

.about-hero__region {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    color: var(--text-color);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--accent-color);
}

.about-hero__region svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

.about-hero__image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 80px 0;
}
.about-advantages{
    background-color: #fff;
}
.about-advantages__grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 40px 0;
}
.about-advantage{
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
}
.about-advantage__text{
    font-weight: 600;
    line-height: 1.6;
    color: var(--title-color);
    font-size: 14px;
}
.about-history{
    padding: 40px 0;
}
.about-history__content{
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    gap: 32px;
    font-size: 18px;
}
.about-history__content .hist-left{
    color: var(--accent-color);
    font-weight: 700;
}
.about-history__content .hist-god{
    font-size: 96px;
}
.about-history__content .hist-cent{
    border-left: 1px solid var(--text-color);
    border-right: 1px solid var(--text-color);
    padding: 0 16px;
    font-size: 16px;
}
.about-history__content .hist-cent p{
    font-weight: 700;
    margin-bottom: 8px;
}
.about-history__content .hist-cent ul{
    padding-left: 32px;
}
.about-history__content .hist-cent li{
    position: relative;
    margin-bottom: 8px;
}
.about-history__content .hist-cent li::before{
    content: '•';
    position: absolute;
    top: 0;
    left: -24px;
}
.about-history__content .hist-right{
    font-weight: 700;
    color: var(--accent-color-hover);
}
.about-representative{
    padding: 80px 0 20px;
    background-color: #fff;
}
.about-representative__container{
    display: grid;
    grid-template-columns: 1fr 502px;
}
.about-representative__title{
    font-size: 24px;
    padding-left: 24px;
    color: var(--accent-color);
    margin-bottom: 40px;
    position: relative;
}
.about-representative__title::after{
    content: '';
    height: 100%;
    width: 3px;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--accent-color-hover);
}
.about-representative__title::before{
    content: '';
    height: 100%;
    width: 4px;
    position: absolute;
    left: 6px;
    top: 0;
    background-color: var(--accent-color);
}
.about-representative__content p{
    margin-bottom: 40px;
    color: var(--title-color);
}
.catalog_category{
    padding: 0 0 80px;
}
.catalog_category__title{
    font-size: 43px;
    margin: 3.5rem 0 3rem;
    text-transform: uppercase;
    text-align: center;
}
.catalog_category__grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}
.catalog_category__item{
    background-color: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: 37px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
}

.catalog_category__item p{
    font-size: 22px;
    margin-bottom: 20px;
    min-height: 64px;
}
.catalog_category__item img{
    margin-bottom: 20px;
}
.catalog_category__item .catalog_category__btn{
    padding: 10px 2rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    background-color: transparent;
    border-radius: 21px;
    transition: all 0.3s;
}
.catalog_category__item:hover{
    box-shadow: 2px 2px 30px #00000021;
}
.catalog_category__item:hover .catalog_category__btn{
    background-color: var(--accent-color);
    color: #fff;
}

.about-section {
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.about-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-section--reverse .about-section__grid {
    direction: rtl;
}

.about-section--reverse .about-section__content {
    direction: ltr;
}

.about-section__image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-section:hover .about-section__image img {
    transform: scale(1.05);
}

.about-section__content {
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.about-section__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 20px;
}

.about-section__text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

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

.dialog-order{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    border: none;
    border-radius: 10px;
    padding: 32px;
    min-width: 480px;
    font-size: 16px;
}
.dialog-order h3{
    text-align: center;
    margin-bottom: 16px;
}
.dialog-order label{
    margin-bottom: 16px;
}
.dialog-order input, 
.dialog-order textarea{
    padding: 10px 12px;
    min-width: 400px;
    border-radius: 10px;
    border: 1px solid #ccc;
}
.dialog-order form > p{
    display: flex;
    align-items: center;
    font-size: 14px;
    flex-direction: column;
}
.dialog-order__policy{
    align-items: center;
    max-width: 360px;
    margin: 16px auto 0;
}
.dialog-order__policy,
.dialog-order__policy a{
    font-size: 12px;
    text-align: center;
}
.dialog-order__policy a{
    text-decoration: underline;
    text-align: center;
}
.dialog-order__text{
    margin-bottom: 16px;
    max-width: 480px;
    text-align: center;
}
.dialog-order .wpcf7-spinner{
    display: none;
}
.dialog-order .wpcf7-submit{
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    border: 2px solid var(--accent-color); 
    cursor: pointer;
    transition: all 0.3s;
}
.dialog-order .wpcf7-submit:hover{
    background-color: transparent;
    color: var(--accent-color);
}
.dialog-order__closeBtn{
    display: block;
    margin-left: auto;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.dialog-order__closeBtn svg{
    max-width: 24px;
    height: auto;
}
.product-fs__open{
    display: none;
}

.error-404{
    font-size: 64px;
    font-weight: 700;
    color: var(--accent-color-hover);
    text-align: center;
    margin: 96px 0;
    line-height: 1;
}

.error-404__number{
    font-size: 120px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Адаптив для страницы "О компании" */
@media (max-width: 992px) {
    .about-hero__title {
        font-size: 2.5rem;
    }

    .about-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-section--reverse .about-section__grid {
        direction: ltr;
    }

    .about-section__image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }

    .about-hero__title {
        font-size: 2rem;
    }

    .about-hero__subtitle {
        font-size: 1.125rem;
    }

    .about-hero__region {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .about-advantages {
        padding: 40px 0;
    }

    .about-history {
        padding: 60px 0;
    }

    .about-history__content h2 {
        font-size: 1.75rem;
    }

    .about-history__content p,
    .about-history__content li {
        font-size: 1rem;
    }

    .about-representative {
        padding: 60px 0;
    }

    .about-representative__box {
        padding: 30px;
    }

    .about-representative__title {
        font-size: 1.5rem;
    }

    .about-representative__content {
        font-size: 1rem;
    }

    .about-advantages__grid {
        grid-template-columns: 1fr;
    }

    .about-advantage {
        flex-direction: row;
        text-align: left;
        padding: 20px;
    }

    .about-advantage__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        margin-right: 20px;
    }

    .about-content,
    .about-section {
        padding: 60px 0;
    }

    .about-section__content {
        padding: 30px;
    }

    .about-section__title {
        font-size: 1.75rem;
    }

    .about-section__image {
        height: 250px;
    }
    .product-fs__open{
        display: inline;
    }
    .product-filters{
        display: none;
    }
    .product-filters.open{
        display: flex;
    }
    .product-fs__open.open svg{
        transform: rotate(180deg);
        transition: all 0.3s;
    }
}

@media (max-width: 480px) {
    .about-hero__title {
        font-size: 1.75rem;
    }

    .about-content__text,
    .about-section__text {
        font-size: 1rem;
    }
}
@media (max-width: 1280px){
    .about_hero__map{
        width: 512px;
    }
    .product-filters{
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {
    .catalog_category__grid{
        grid-template-columns: 1fr 1fr;
    }
    .form-question__container{
        padding: 0 32px;
    }
    .form-question__container .wpcf7-submit{
        padding: 16px 64px;
    }
    .products-hero__right-box{
        display: none;
    }
    .products-hero__container{
        display: block;
    }
    .about_hero__map{
        display: none;
    }
    .about-advantages__grid{
        grid-template-columns: 1fr 1fr;
    }
    .about-history__content{
        display: block;
    }
    .about-history__content .hist-cent{
        padding: 0;
        border: none;
        margin: 24px 0;
        border-top: 1px solid var(--text-color);
        border-bottom: 1px solid var(--text-color);
        padding: 16px 0;
    }
    .about-history__content .hist-god{
        font-size: 48px;
    }
    .accessories-hero__container{
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
    }
    .dachik__bottom{
        grid-template-columns: 1fr;
    }
    .paz-dach__grid{
        grid-template-columns: 1fr 1fr;
    }
    .about-representative__container{
        display: block;
    }
}
@media (max-width: 800px){
    .accessories-hero__container{
        display: block;
    }
    .accessories-hero__left{
        display: none;
    }
}
@media (max-width: 768px){
    .form-question__title,
    .catalog_category__title{
        font-size: 1.5rem;
    }
    .dachik__top{
        grid-template-columns: 1fr;
    }
    .dachik__top-left img{
        max-width: 320px;
    }
    .paz-dach__grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .catalog_category__grid{
        grid-template-columns: 1fr;
    }
    .about-advantages__grid{
        grid-template-columns: 1fr;
    }
    .dachik__bottom-table{
        overflow-x: scroll;
    }
    .dachik__bottom-table table{
        width: 640px;
    }

    .products-hero__form-text{
        font-size: 16px;
    }
}
@media (max-width: 520px){
    .products-hero__form-box{
        grid-template-columns: 1fr 200px;
    }
    .products-hero__form-text,
    .products-hero__form-icon{
        display: none;
    }
}
@media (max-width: 480px) {
    .dialog-order input, 
    .dialog-order textarea{
        min-width: auto;
        max-width: 260px;
    }
    .dialog-order{
        min-width: auto;
        max-width: 320px;
    }
    .dialog-order__policy{
        font-size: 12px;
    }
}


.scroll-to-top {
        position: fixed;
        bottom: 130px;
        right: 58px;
        width: 50px;
        height: 50px;
        background-color: #ff6600;
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        font-size: 24px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        z-index: 9999;
    }

    .scroll-to-top:hover {
        background-color: #e55c00;
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .scroll-to-top:active {
        transform: scale(0.95);
    }

    .scroll-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    /* Адаптивность для мобильных устройств */
    @media (max-width: 768px) {
        .scroll-to-top {
            bottom: 130px;
            right: 60px;
            width: 45px;
            height: 45px;
            font-size: 20px;
        }
    }
