.header-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 740px;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 20px 0;
}

.social-phone {
    display: flex;
    flex-direction: column;
}

.social-phone__phone {
    font-weight: 700;
    font-size: 22px;
    line-height: 115%;
    letter-spacing: 0.09em;
    text-align: right;
    padding: 0 !important;
    border: none !important;
    text-decoration: none !important;
    background-color: transparent !important;
    color: #282828;
}

.social-phone__mail {
    font-weight: 400;
    font-size: 14px;
    line-height: 115%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-align: right;
    color: #282828;
}

.clear-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s;
}

.input-with-clear input:not(:placeholder-shown) + .clear-btn,
.input-with-clear input:focus + .clear-btn {
    opacity: 1;
}

.clear-btn:hover {
    color: #333;
}

.is-sticky .social-phone__phone {
    color: #fff;
}

.is-sticky .social-phone__mail {
    color: #fff;
}

.heading-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.heading-block .title {
    padding: 0;
}

.heading-block .btn--cert {
    width: fit-content;
    padding: 0 20px;
    line-height: 60px;
    height: 60px;
}

.slider-cert .slick-prev,
.slider-cert .slick-next {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.slider-cert:hover .slick-prev,
.slider-cert:hover .slick-next {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 115px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    background: linear-gradient(0deg, #f1e2cf 0%, #c1a688 100%);
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.custom-grid {
    display: grid;
    grid-template-columns: 490fr 720fr;
    gap: 30px;
    align-items: baseline;
    grid-template-areas:
    "block-1 block-2"
    "block-btn block-2";
}

.custom-grid .callback-d1 {
    grid-area: block-1;
}

.custom-grid .callback-d2 {
    grid-area: block-2;
}
.prodct-item2__d4 .production-item__buy{
    width: calc(100% - 28px);
}
.custom-grid .callback-buttons {
    grid-area: block-btn;
    margin-top: -30px;
    display: grid;
    grid-template-columns:  150px 1fr;
    gap: 16px;
    align-items: center;

}
.custom-grid .callback__button{
    color: white;
    width: 100%;
    padding: 0;
    box-shadow: 0 3px 0 0 rgba(4, 102, 127, 0);
    background: linear-gradient(0deg, rgba(241, 226, 207, 0.3) 0%, rgba(193, 166, 136, 0.3) 100%), #343434;}
.custom-form__title{
    font-weight: 600;
    font-size: 44px;
    line-height: 57%;
    color: #282828;
    margin-bottom: 10px;
}
.custom-grid .callback__line a{
    margin-left: 25px;
    text-decoration: none;
}
.custom-form__subtitle{
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #898989;
    max-width: 500px;
    margin-bottom: 25px;
}
.form-bg{
    margin: 70px auto;

    height: auto;
    padding: 120px 0;
    position: relative;
}
.form-bg::before{
    content:"";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    max-width: 1650px;
    width: 100vw;
    border-radius: 60px;
    height: 100%;
    background-image: url(../images/form-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
.arrow{
    color: red;
}
[data-tab="8"] .contact-left{
    max-width: 450px;
}
[data-tab="8"]  .contact-item__map{
    display: none;
}
[data-tab="8"] .contact-item__data{
    grid-template-columns: 1fr;
    gap: 0;
}
[data-tab="8"] .contact-left div:nth-of-type(3){
    display: none;
}
[data-tab="8"] .contact-right > div:nth-child(2),
[data-tab="8"] .contact-right > div:nth-child(3) {
    display: none;
}
.slider-production-item .production-stickers{
    top: 8px;
}
.footer-grid{
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
}
.footer-grid-menu{
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 3rem;
    justify-content: center;
}
.footer-social{
    display: flex;
    justify-content: space-between;
    align-items: end;

}
form.search-mobile{
    display: none;
}
.nav-box{
    display: none;
}
.mobile-call{
    display: none;
}
.open-modal-btn{
    border-radius: 3px;
    background: #f3f3f3;
    cursor:pointer;
    font-weight: 500;
    font-size: 16px;
    border: none;
    height: 3rem;
    line-height: 125%;
    color: #303030;
    max-width: 100%;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 10px;


}

.production-item
.prodct-item2{
    min-height: 200px;
}
.prodct-item2 .open-modal-btn{
    justify-self: end;
    max-width: 213px;
}
.prodct-item2:hover .open-modal-btn{
    height: 3rem;
    opacity: 1;
    visibility: visible;
    transition: 0.3s opacity, 0.3s visibility, 0.1s height;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.modal-close-btn{
    border: none;
    background-color: transparent;
}
.modal-content {
    background: #fff;

    position: relative;
    max-width: 610px;
    width: 90%;
    border: 1px solid #e1e1e1;
    border-radius: 20px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.custom-modal{
    padding: 60px;
}
.custom-modal .callback__button{
    width: 100%;
}
.custom-modal .custom-form__title{
    font-weight: 600;
    font-size: 30px;
    line-height: 127%;
    color: #282828;
    margin-bottom: 10px;
}
.custom-modal .custom-form__subtitle{
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    max-width: 100%;
    color: #898989;
    margin-bottom: 10px;
}
.custom-modal .callback-buttons{
    display: grid;
    margin-top: 1.5rem;
    grid-template-columns: 160px auto;
    gap: 1rem;
}
.modal-overlay.is-open .modal-content {
    transform: translateY(0);
}
.policy-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .policy-cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
.policy-cookie-text {
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}
@media (max-width: 768px) {
    .policy-cookie-action {
        margin-left: 0;
        margin-top: 15px;
    }
}
.policy-cookie-text a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s;
}
#policy-cookie-note {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    z-index: 9999;
    padding: 15px 0;
    font-family: Arial, sans-serif;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
}
@media(min-width: 1024px) and (max-width: 1200px){
    .production-list{
        justify-content: center!important;
    }
    .custom-grid{
        grid-template-columns: 1fr;
        grid-template-areas:
        'block-1'
        'block-2'
        'block-btn';
    }
    .form-bg{
        margin: 30px 16px;
        padding: 80px;
    }
    .form-bg::before{
        width: calc(100vw - 32px);
        background-image: url(../images/form-bg-mobile.jpg);
        border-radius: 40px;
    }
    .custom-grid .callback__textarea{
        margin-bottom: 20px;
    }
    .custom-grid .callback__line a{
        margin-left: 0;
    }
    .social-phone__phone{
        font-size: 18px;
    }
    .production-item__buy{
        width: calc(100% - 32px);
        text-align: center;
    }
}
@media(min-width: 768px) and (max-width: 1023px){
    .footer-grid{
        grid-template-columns: 1fr;
    }
    .footer-grid-menu{
        justify-content: space-between;
        margin-bottom: 20px;
    }
    .footer-social{
        flex-direction: column;
        justify-content: center;
    }
    .copy-links{
        justify-content: space-between;
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
    .demis-block{
        align-items: center;
        width: 100%;
        margin-bottom: 35px;
    }
    .footer__copy{
        background-color: #343434!important;
    }
    .footer__copy .footer__line{
        align-items: start;
        color: white;
    }
    .footer__copy .footer__line a{
        color: white;
    }
    .social-footer{
        margin-top: 15px;
    }

    .custom-grid{
        grid-template-columns: 1fr;
        grid-template-areas:
        'block-1'
        'block-2'
        'block-btn';
    }
    .form-bg{
        margin: 30px 16px;
        padding: 80px;
    }
    .form-bg::before{
        width: calc(100vw - 32px);
        background-image: url(../images/form-bg-mobile.jpg);
        border-radius: 40px;
    }
    .custom-grid .callback__textarea{
        margin-bottom: 20px;
    }
    .custom-grid .callback__line a{
        margin-left: 0;
    }
    .social-phone__phone{
        font-size: 18px;
    }
    .production-item__buy{
        width: calc(100% - 28px);
    }
    .social-header{
        display: none;
    }
    .header-right{
        justify-content: flex-end;
    }
    .header-wrapper{
        padding: 0
    }
    .production-item .production-item__buy{
        width: calc(100% - 28px);
    }
    .open-modal-btn{
        height: 3rem;
        visibility: visible;
        opacity: 1;
    }
    .header-left{
        margin-left: 50px;
    }
    form.search-mobile{
        margin: 0 auto;
        width: calc(100vw - 35px);
        display: block;
    }
    .main__item--catalog{
        background: transparent;
    }
    .main__item--catalog .main__link:before{
        content: none;
    }
    .main__link{
        font-weight: 600;
        font-size: 22px;
        color: #282828;
        padding-left: 40px;
    }
    .main-sub .main__link{
        font-size: 16px;
    }
    .main__item--sub .main-sub{
        padding-left: 40px;
    }
    .main__item:hover .main-sub{
        position: static;
        box-shadow: none;
        display: none;
    }
    .nav .main{
        padding-bottom: 20px;
    }
    .is-sticky .search-block__input{
        border-color: white;
    }
    .is-sticky .main-sub .main__item .main__link{
        color: white;
    }
    .nav-social{
        display: flex;
        flex-direction: column;
        align-items: start;
    }
    .nav-box{
        display: flex;
        gap: 1rem;
        align-items: center;
    }
    .nav-box .social-header__link{
        width: 36px;
        height: 36px;
    }
    .backdrop{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 199;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;

    }
    .backdrop.active{
        opacity: 1;
        visibility: visible;
    }
    .is-sticky .main-more{
        background-image: none;
    }
    .is-sticky .main-more::before{
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59 16.59L13.17 12L8.59 7.41L10 6L16 12L10 18L8.59 16.59Z' fill='%23FFFFFF'/%3E%3C/svg%3E%0A");
    }
    .main-more::before{
        transition: 0.3s ease-in all;
    }
    .main__item--sub .main-more::before{
        transform: rotate(90deg);
        transition: 0.3s ease-in all;
    }
    .main__item:hover .main-more{
        transform: none;
    }
}
@media(max-width: 767px){
    .personal__name{
        display: none;
    }
    #topnav{
        top: 65px;
    }
    .social-phone{
        display: none;
    }
    .footer-grid{
        grid-template-columns: 1fr;
    }
    .footer-grid-menu{
        justify-content: space-between;
        margin-bottom: 20px;
        grid-template-columns: 1fr 1fr;
    }
    .footer-social{
        flex-direction: column;
        justify-content: center;
    }
    .copy-links{
        justify-content: space-between;
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
    .demis-block{
        align-items: center;
        width: 100%;
        margin-bottom: 15px;
    }
    .footer__copy .footer__line{
        align-items: center;
        text-align: center;
    }
    .social-footer{
        margin-top: 15px;
    }
    .custom-grid{
        grid-template-columns: 1fr;
        grid-template-areas:
        'block-1'
        'block-2'
        'block-btn';
        gap: 15px;
    }
    .open-modal-btn{
        height: 3rem;
        visibility: visible;
        opacity: 1;
    }
    .demis-block__text{
        text-align: center;
    }
    .copy-links{
        gap: 0;
    }
    .form-bg{
        margin: 30px 16px;
        padding: 30px 15px;
    }
    .form-bg::before{
        width: calc(100vw - 32px);
        background-image: url(../images/form-bg-mobile.jpg);
        border-radius: 40px;
    }
    .custom-grid .callback__textarea{
        margin-bottom: 20px;
    }
    .custom-grid .callback__line a{
        margin-left: 0;
    }
    .social-phone__phone{
        font-size: 18px;
    }
    .production-item__buy{
        width: calc(100% - 24px);
    }
    .social-header{
        display: none;
    }
    .header-right{
        justify-content: flex-end;
        gap: 0;
    }
    .header-wrapper{
        padding: 0
    }
    .header-left{
        margin-left: 60px;
    }
    form.search-mobile{
        margin: 0 auto;
        width: calc(100vw - 35px);
        display: block;
    }
    .main__item--catalog{
        background: transparent;
    }
    .main__item--catalog .main__link:before{
        content: none;
    }
    .main__link{
        font-weight: 600;
        font-size: 22px;
        color: #282828;
        padding-left: 40px;
    }
    .main-sub .main__link{
        font-size: 16px;
    }
    .main__item--sub .main-sub{
        padding-left: 40px;
    }
    .main__item:hover .main-sub{
        position: static;
        box-shadow: none;
    }
    .nav .main{
        padding-bottom: 20px;
    }
    .is-sticky .search-block__input{
        border-color: white;
    }
    .is-sticky .main-sub .main__item .main__link{
        color: white;
    }
    .nav-social{
        display: flex;
        flex-direction: column;
        align-items: start;
    }
    .nav-box{
        display: flex;
        gap: 1rem;
        align-items: center;
    }
    .nav-box .social-header__link{
        width: 36px;
        height: 36px;
    }
    .backdrop{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 199;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;

    }
    .backdrop.active{
        opacity: 1;
        visibility: visible;
    }
    .is-sticky .main-more{
        background-image: none;
    }
    .is-sticky .main-more::before{
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59 16.59L13.17 12L8.59 7.41L10 6L16 12L10 18L8.59 16.59Z' fill='%23FFFFFF'/%3E%3C/svg%3E%0A");
    }
    .main-more::before{
        transition: 0.3s ease-in all;
    }
    .main__item--sub .main-more::before{
        transform: rotate(90deg);
        transition: 0.3s ease-in all;
    }
    .main__item:hover .main-more{
        transform: none;
    }
    .heading-block .title{
        text-align: left;
    }
    .heading-block .btn--cert{
        line-height: 40px;
        height: 40px;
        padding:  0 10px;
        font-size: 12px;
    }
    .custom-form__title{
        font-size: 25px;
    }
    .custom-form__subtitle{
        font-size: 14px;
        margin-bottom: 15px;
    }
    .custom-grid .callback-buttons{
        margin-top: -10px;
    }
    .callback__line{
        font-size: 14px;
    }
    .callback-buttons .callback__line{
        font-size: 12px;
    }
    .mobile-menu-list-block{
        top: 0px;
    }
    .back-to-top{
        right: 1rem;
    }
    .header .mobile-call{
        box-shadow: 0 0 18px 0 rgba(40, 40, 40, 0.2);
        background: #f0e1ce;
        border: none;
        border-radius: 7px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .main-item .main-more{
        right: 20px!important;
    }
    .contact-item__data{
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-left, .contact-right{
        grid-template-rows: auto 75px 75px;
    }
    .dialog{
        width: calc(100% - 2rem);
    }
}
.is-sticky .search-block__input{
    color: white;
}
.production-item__line:empty{
    display: none;
}
@media(max-width: 360px){
    .header-wrapper{
        gap: 0;
    }
    .nav--mobile .contacts-header-phone{
        font-size: 16px;
    }
}
.production-list--t2 .production-item__copy.product--2{
    right: 23px;
}
.callback-popup{
    position: relative;
    font-family: 'Montserrat';
}
.callback-dropdown{
    display: none;
    position: absolute;
    z-index: 97;
    background-color: #fff;
    box-shadow: 0 14px 15px 0 rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    opacity: 0;
    visibility: hidden;
    height: 0;
    top: 10px;
    transition: 0.3s ease-in-out all;
}
.callback-dropdown.active{
    display: flex;
    flex-direction: column;
    opacity: 1;
    height: auto;
    visibility: visible;
    transition: 0.3s ease-in-out all;

}
@media(max-width: 992px){
    .callback-dropdown.active{
        right: 0;
        top:0;
    }
}
.custom-popup-btn{
    background: linear-gradient(0deg, #f1e2cf 0%, #c1a688 100%);
    border-radius: 3px;
    font-weight: 600;
    font-size: 15px;
    line-height: 320%;
    color: #282828;
    text-align: center;
    width: 100%;
    border: none;
    padding: 14px 0;
    margin-top: 1rem;
    transition: 0.3s ease-in-out all;
    text-decoration: none;
}
.custom-popup-btn:hover{
    opacity: 0.9;
    transition: 0.3s ease-in-out all;
}
.social-phone__phone{
    cursor: pointer;
}
.callback-dropdown .social-phone__mail{
    text-align: right;
}
.callback-dropdown .social-phone__phone{
    white-space: nowrap;
    margin-bottom: 4px;

}
.callback-popup::before{
    content: '';
    position: absolute;
    right: -1rem;
    top: 0.3em;
    width: 10px;
    height: 9px;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    transition: 0.3s ease-in-out all;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.0999193 5.22696L0.600886 5.72789C0.66764 5.79478 0.744536 5.82812 0.83147 5.82812C0.918194 5.82812 0.995055 5.79478 1.06181 5.72789L4.99995 1.78996L8.93791 5.72778C9.0047 5.79468 9.08156 5.82802 9.16839 5.82802C9.25525 5.82802 9.33211 5.79468 9.39887 5.72778L9.89976 5.22682C9.96666 5.16006 10 5.0832 10 4.99634C10 4.90955 9.96655 4.83268 9.89976 4.76593L5.23043 0.096487C5.16367 0.0296984 5.08678 -0.00367832 4.99995 -0.00367832C4.91312 -0.00367832 4.83636 0.0296984 4.76964 0.096487L0.0999193 4.76593C0.0331659 4.83272 0 4.90958 0 4.99634C0 5.0832 0.0331659 5.16006 0.0999193 5.22696Z' fill='black' /%3E%3C/svg%3E");
}
.is-sticky .callback-popup::before{
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.0999193 5.22696L0.600886 5.72789C0.66764 5.79478 0.744536 5.82812 0.83147 5.82812C0.918194 5.82812 0.995055 5.79478 1.06181 5.72789L4.99995 1.78996L8.93791 5.72778C9.0047 5.79468 9.08156 5.82802 9.16839 5.82802C9.25525 5.82802 9.33211 5.79468 9.39887 5.72778L9.89976 5.22682C9.96666 5.16006 10 5.0832 10 4.99634C10 4.90955 9.96655 4.83268 9.89976 4.76593L5.23043 0.096487C5.16367 0.0296984 5.08678 -0.00367832 4.99995 -0.00367832C4.91312 -0.00367832 4.83636 0.0296984 4.76964 0.096487L0.0999193 4.76593C0.0331659 4.83272 0 4.90958 0 4.99634C0 5.0832 0.0331659 5.16006 0.0999193 5.22696Z' fill='white' /%3E%3C/svg%3E");

}
.callback-popup.active::before{
    transform: rotate(0deg);
    transition: 0.3s ease-in-out all;
}
.is-sticky .callback-dropdown{
    background: rgba(48, 48, 48, 1);
}