/* Сетка 1368, шапка и подвал. Подключается последним. */

html .container.index-callback {
    overflow: visible;
    padding-top: 41px;
}

@media only screen and (max-width: 991px) {
    html .container.index-callback {
        padding-top: 0;
    }
}

html .container {
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

html .container.catalog-section-titlebar__content {
    padding: 20px 16px 40px;
}

.catalog-section-titlebar {
    background: #2868a3;
    margin-bottom: 38px;
}

.catalog-section-titlebar #breadcrumbs ul {
    float: none;
    position: static;
    right: 0;
    margin: 0 0 10px;
}

.catalog-section-titlebar h1,
.catalog-section-titlebar #section-h1 {
    float: none;
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
}

@media only screen and (max-width: 991px) {
    .catalog-section-titlebar {
        margin-bottom: 24px;
    }
}

@media only screen and (max-width: 767px) {
    html .container.catalog-section-titlebar__content {
        padding: 12px 16px 20px;
    }

    .catalog-section-titlebar h1,
    .catalog-section-titlebar #section-h1 {
        font-size: 24px;
        line-height: 1.3;
    }
}

html .container .column,
html .container .columns {
    box-sizing: border-box;
}

html .container .one.column,
html .container .one.columns {
    width: calc(6.25% - 20px);
}

html .container .two.columns {
    width: calc(12.5% - 20px);
}

html .container .three.columns {
    width: calc(18.75% - 20px);
}

html .container .four.columns {
    width: calc(25% - 20px);
}

html .container .five.columns {
    width: calc(31.25% - 20px);
}

html .container .six.columns {
    width: calc(37.5% - 20px);
}

html .container .seven.columns {
    width: calc(43.75% - 20px);
}

html .container .eight.columns {
    width: calc(50% - 20px);
}

html .container .nine.columns {
    width: calc(56.25% - 20px);
}

html .container .ten.columns {
    width: calc(62.5% - 20px);
}

html .container .eleven.columns {
    width: calc(68.75% - 20px);
}

html .container .twelve.columns {
    width: calc(75% - 20px);
}

html .container .thirteen.columns {
    width: calc(81.25% - 20px);
}

html .container .fourteen.columns {
    width: calc(87.5% - 20px);
}

html .container .fifteen.columns {
    width: calc(93.75% - 20px);
}

html .container .sixteen.columns {
    width: calc(100% - 20px);
}

html .container .one-third.column {
    width: calc(33.333% - 20px);
}

html .container .two-thirds.column {
    width: calc(66.666% - 20px);
}

html .container .twelve.sidebar-right.columns,
html .container .twelve.sidebar-left.columns {
    width: calc(75% - 40px);
}

html .container .four.shop.columns,
html .container .four.masonry-item.columns {
    width: calc(25% - 20px);
}

body.boxed,
.fullwidth-element {
    width: 100%;
    max-width: none;
}

html .container.index-parallax > .container {
    max-width: none;
    width: 100%;
    padding: 0;
}

html .index-parallax .parallax-banner,
html .index-parallax .parallax-banner img {
    width: 100%;
    max-width: 100%;
}

.index-seo {
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.index-seo__lead,
.index-seo__lead p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #606060;
}

.index-seo__title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.index-seo__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.index-seo__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #606060;
}

.index-seo__list li::before {
    content: '';
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background-color: #2868a3;
    background-image: url('../images/index-seo/check.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 7px;
    border-radius: 50%;
}

.index-seo__video {
    width: 100%;
    max-width: 715px;
    margin: 0 auto;
}

.index-seo__video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.index-seo__video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.index-seo a,
.index-seo a:visited {
    color: #2868a3;
}

@media only screen and (max-width: 991px) {
    .index-seo__video {
        max-width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .index-seo__title {
        font-size: 21px;
    }

    .index-seo__list li {
        align-items: flex-start;
    }
}

.container.fullwidth-element.contacts-block {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
}

#top-bar {
    background: #f4f4f4;
    min-height: 30px;
    box-sizing: border-box;
}

#top-bar ul.top-bar-menu .top-bar-menu__ico {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin: 0 6px 0 0;
    vertical-align: middle;
    object-fit: contain;
}

#top-bar ul.top-bar-menu li i.fa-phone,
#top-bar ul.top-bar-menu li i.fa-envelope {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin: 0 6px 0 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#top-bar ul.top-bar-menu li i.fa-phone:before,
#top-bar ul.top-bar-menu li i.fa-envelope:before {
    content: none;
}

#top-bar ul.top-bar-menu li i.fa-phone {
    background-image: url("../images/top-bar-phone.svg");
}

#top-bar ul.top-bar-menu li i.fa-envelope {
    background-image: url("../images/top-bar-mail.svg");
}

#top-bar .sixteen.columns {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 140px;
    box-sizing: border-box;
}

html .header-main.container:after {
    display: none;
    content: none;
}

.header-main__logo {
    display: flex;
    align-items: center;
    gap: 23px;
    flex-shrink: 0;
}

.header-main #logo {
    margin: 0;
}

.header-main #logo svg {
    display: block;
    width: 260px;
    height: auto;
}

.header-main .oficcial-rifar-diller {
    position: static;
    top: auto;
    border-left: 1px solid #e0e0e0;
    padding-left: 23px;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.header-main .oficcial-rifar-diller__image {
    display: none;
}

.header-main .oficcial-rifar-diller__text {
    position: static;
    top: auto;
    max-width: 159px;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 700;
}

.header-main .oficcial-rifar-diller a.fancybox {
    display: block;
    color: inherit;
}

.header-main .oficcial-rifar-diller__text .red-text {
    color: #c70000;
}

.header-main .oficcial-rifar-diller__region {
    display: block;
    color: #3c76ac;
    font-weight: 700;
}

.header-main .oficcial-rifar-diller__link {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 400;
    color: #3c76ac;
    border-bottom: 1px solid #3c76ac;
    width: fit-content;
}

.oficcial-rifar-diller_mobile {
    display: none !important;
}

.header-main__tools {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    flex: 0 0 auto;
    margin-left: auto;
}

.header-main__contact,
.header-main__callback {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 14px;
    overflow: visible;
}

.header-main__callback {
    width: 194px;
}

.header-main #dop-phone {
    display: flex;
    align-items: center;
    margin: 0;
    width: auto;
    height: 40px;
    float: none;
    text-align: left;
}

.header-main #dop-phone a {
    color: #606060;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.header-main__phone-caption {
    margin: 0;
    color: #606060;
    font-size: 13px;
    line-height: 1.4;
}

.header-main .zakaz-zvonok,
.header-main .zakaz_zvonok {
    float: none;
    margin: 0;
    position: static;
    height: 40px;
}

.header-main .zakaz-zvonok a.zakaz_zvonok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 194px;
    height: 40px;
    background: #c70000;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-sizing: border-box;
}

.header-main .zakaz-zvonok a.zakaz_zvonok img {
    display: none;
}

.header-main .zakaz-zvonok a.zakaz_zvonok::before {
    content: "";
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background: url("../images/header-phone-ico.svg") center / contain no-repeat;
}

.header-main .zakaz-zvonok a.zakaz_zvonok::after {
    content: "Заказать звонок";
}

.header-main .zakaz-zvonok a.zakaz_zvonok:hover {
    background: #a10000;
}

.header-main .top-search,
.header-main .top-search form {
    float: none;
    width: 234px;
    max-width: 234px;
    flex: 0 0 234px;
    box-sizing: border-box;
}

.header-main .top-search .title-search-input {
    width: 194px;
    flex: 0 0 194px;
}

.header-main .top-search input {
    width: 194px;
    height: 40px;
    box-sizing: border-box;
    background: #f5f5f5;
    border: 1px solid #f5f5f5;
    padding: 10px 13px;
}

.header-main .top-search button {
    float: none;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: #c0c0c0;
}

.header-main__icons {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 15px;
}

.header-main .header-icon,
.header-main #desktop-cart {
    float: none;
    margin: 0;
}

.header-main .mode_work {
    position: static;
    left: auto;
    bottom: auto;
    margin: 0;
    color: #606060;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.header-nav {
    background: #2868a3;
    width: 100%;
}

.header-nav .container {
    float: none;
}

.header-nav .sixteen.columns {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.header-nav a.menu-trigger {
    display: none;
}

.header-nav #navigation {
    overflow: visible;
}

.header-nav .menu {
    display: flex;
    align-items: stretch;
    float: none;
    width: 100%;
    height: 60px;
    max-height: none;
    margin: 0;
    overflow: visible;
}

.header-nav .menu > li {
    float: none;
    flex: 1 1 0;
    min-width: min-content;
}

.header-nav .menu > li:has(> a.homepage) {
    flex: 0 0 60px;
    min-width: 60px;
}

.header-nav .menu > li:has(> a.homepage.current) {
    background-color: #0d5295;
}

.header-nav .menu > li:has(> a[href="/wholesalers/"]) {
    flex: 0 0 219px;
    min-width: 219px;
}

.header-nav .menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    padding: 0 8px;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
}

.header-nav .menu .homepage {
    width: 60px;
    height: 60px;
    padding: 0;
    background-color: transparent;
    background-position: 50% 50%;
}

.header-nav .menu.arrows > li > a.with-ul {
    gap: 5px;
}

.header-nav .menu.arrows > li > a.with-ul:after {
    content: "";
    position: static;
    top: auto;
    right: auto;
    margin: 0;
    width: 11px;
    height: 11px;
    border: none;
    flex-shrink: 0;
    background: url("../images/menu-chevron.svg") center / 11px 11px no-repeat;
    transition: none;
}

.desktop-header.header-nav .menu > li:hover,
.desktop-header.header-nav .menu > li.sfHover {
    background-color: #a10000;
}

.desktop-header.header-nav .menu > li:hover .current,
.desktop-header.header-nav .menu > li.sfHover .current {
    background-color: #a10000;
}

.desktop-header.header-nav .menu > li > a[href="/wholesalers/"]:hover {
    background-color: #a10000;
}

.footer-menus-wrap {
    background: #424242;
    padding: 27px 0;
}

.footer-contacts-wrap {
    background: #333;
    padding: 30px 0;
    color: #fff;
}

.footer-contacts-wrap a {
    color: #fff;
}

#footer {
    background: #333;
    padding: 0;
    color: #f4f4f4;
}

#footer a {
    color: #f4f4f4;
}

#footer .h3.headline.footer {
    background: transparent;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-transform: none;
    margin-bottom: 15px;
}

.footer-row--menus .line {
    display: none;
}

.footer-row--menus {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.footer-row--menus .four.columns {
    float: none;
    width: auto;
    margin: 0;
}

.footer-row--menus .wide-menu {
    flex: 1 1 60%;
    width: auto !important;
    margin: 0 !important;
}

.footer-row--menus .four.columns:not(.wide-menu) {
    flex: 0 1 40%;
}

.footer-row--menus .wide-menu .footer-links {
    column-count: 3;
    column-gap: 24px;
}

.footer-row--menus .four.columns:not(.wide-menu) .footer-links {
    column-count: 2;
    column-gap: 24px;
}

#footer .footer-links li:before {
    display: none;
}

#footer .footer-links li a {
    color: #f4f4f4;
    font-size: 16px;
    line-height: 1.5;
}

.footer-row--contacts {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.footer-brand,
.footer-phones,
.footer-address {
    flex: 0 0 208px;
    width: 208px;
}

.footer-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 202px;
    width: 202px;
    min-height: 149px;
}

.footer-row--contacts #subscribe-container {
    flex: 1 1 320px;
    min-width: 280px;
    max-width: 446px;
    width: auto;
    float: none;
    margin: 0;
}

html .container .footer-row--contacts .four.columns.last_column,
.footer-row--contacts #subscribe-container .last_column {
    display: block;
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
}

html .container .footer-row--contacts .four.columns.last_column > div {
    width: 100%;
}

#footer .last_column > div:first-child {
    display: block;
}

#footer .last_column .line {
    display: none;
}

#footer .last_column .h3.headline.footer {
    display: none;
}

#footer .last_column .subscribe-lead {
    margin: 0 0 12px;
    color: #fff;
}

#footer .last_column .subscribe-lead__title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

#footer .last_column .subscribe-lead__text {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

#footer #subscribe-container form {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    height: auto;
    margin-top: 0;
    overflow: visible;
}

#footer #subscribe-container .alert {
    float: none;
    order: 0;
    flex: 1 0 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 12px;
}

#footer #subscribe-container .consent-container {
    float: none;
    order: 1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 100%;
    width: 100%;
    margin: 0 0 12px;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
}

#footer #subscribe-container .checkbox-wrapper {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
}

#footer #subscribe-container .consent-container input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 0;
    cursor: pointer;
}

#footer #subscribe-container .consent-container input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%232868A3' stroke-width='2' d='M3 8.5l3.5 3.5L13 4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

#footer #subscribe-container .consent-container label {
    flex: 1 1 auto;
    font-size: 11px;
    line-height: 1.5;
    color: #fff;
}

#footer #subscribe-container .subscribe-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    order: 2;
    flex: 1 0 100%;
    width: 100%;
}

#footer #subscribe-container input.newsletter,
#footer #subscribe-container input.newsletter:focus {
    float: none;
    position: static;
    z-index: auto;
    order: 2;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 60px;
    margin: 0;
    padding: 10px 15px;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    border: none;
}

#footer #subscribe-container input.newsletter::placeholder {
    color: #a4a4a4;
}

#footer #subscribe-container .newsletter-btn {
    position: static;
    right: auto;
    top: auto;
    float: none;
    order: 3;
    flex: 0 0 135px;
    width: 135px;
    height: 60px;
    background: #c70000;
    color: #fff;
}

#footer #subscribe-container .newsletter-btn:hover {
    background: #b00000;
}

#footer #subscribe-container .newsletter-btn i {
    display: none;
}

#footer #subscribe-container .newsletter-btn::after {
    content: "Отправить";
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-phones .contact-informations li i {
    color: #2868a3;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand img {
    display: block;
    width: 129px;
    height: 40px;
    max-width: 129px;
}

.footer-legal {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
}

.footer-legal > div {
    margin: 0;
}

.footer-legal a {
    color: #fff;
    font-weight: 400;
    cursor: pointer;
}

#footer .footer-links a,
#footer .footer-links .js-link {
    cursor: pointer;
}

.footer-address {
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
}

.footer-address .h3.footer {
    display: none;
}

.footer-hours {
    margin-top: 16px;
}

#footer .work_schedule {
    display: none;
}

#footer .footer-aside .footer_rating {
    display: block;
    margin: 0;
}

#footer .footer_rating iframe {
    display: block;
    width: 165px;
    height: 55px;
    border: 0;
    border-radius: 5px;
}

.footer-pixelplus {
    margin-top: auto;
    height: 60px;
    display: flex;
    align-items: center;
}

.footer-pixelplus .pixelplus {
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
}

.footer-pixelplus .pixelplus > a {
    flex-shrink: 0;
    line-height: 0;
}

.footer-pixelplus .pixelplus img,
.footer-pixelplus .pixelplus svg {
    display: block;
    width: 36px;
    height: 39px;
}

.footer-pixelplus .pixelplus__text {
    font-size: 12px;
    line-height: 1.33;
    color: #fff;
}

.footer-pixelplus .pixelplus__text a {
    color: #fff;
    text-decoration: none;
}

#footer-bottom {
    display: none;
}

/* Попап обратного звонка */
.zakaz_zvonok_fancbx .fancybox-content:has(.zakaz_zvonok_form--callback) {
    width: 910px;
    max-width: calc(100vw - 32px);
    height: 490px;
    margin: 16px auto;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

html .zakaz_zvonok_form--callback > .fancybox-close-small {
    display: none;
}

.fancybox-slide:has(.zakaz_zvonok_form--callback) > .zakaz_zvonok_form--callback {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

html .zakaz_zvonok_form.zakaz_zvonok_form--callback {
    position: relative;
    box-sizing: border-box;
    width: 910px;
    max-width: 100%;
    height: 490px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.callback-popup__visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 510px;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    background-color: #E9E9E9;
}

.callback-popup__room-pic {
    position: absolute;
    top: -113px;
    left: 34px;
    z-index: 0;
    width: 857px;
    height: 781px;
    overflow: hidden;
    border-radius: 50%;
}

.callback-popup__room {
    position: absolute;
    top: -23px;
    left: -176px;
    display: block;
    width: 933px;
    height: 700px;
    max-width: none;
    object-fit: cover;
}

.callback-popup__man-pic {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: auto;
    height: 100%;
    overflow: visible;
}

.callback-popup__man {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
}

.callback-popup__body {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 430px;
    padding: 50px;
    background: #E9E9E9;
}

html .zakaz_zvonok_form--callback .zagolovok {
    margin: 0 0 15px;
    color: #333;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    text-transform: none;
}

html .zakaz_zvonok_form--callback .mfeedback,
html .zakaz_zvonok_form--callback form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

html .zakaz_zvonok_form--callback .mf-name,
html .zakaz_zvonok_form--callback .mf-phone {
    width: 330px;
    margin: 0;
    padding: 0;
}

html .zakaz_zvonok_form--callback .mf-text {
    display: block;
    margin: 0 0 8px;
    color: #606060;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

html .zakaz_zvonok_form--callback .mf-req {
    color: #606060;
}

html .zakaz_zvonok_form--callback .mf-name input,
html .zakaz_zvonok_form--callback .mf-phone input,
html .zakaz_zvonok_form--callback .mf-name input:focus,
html .zakaz_zvonok_form--callback .mf-phone input:focus {
    box-sizing: border-box;
    width: 330px;
    height: 60px;
    margin: 0;
    padding: 10px 15px;
    background: #fff;
    background-image: none;
    border: 1px solid #e4e4e4;
    border-radius: 0;
    color: #333;
    font-size: 14px;
}

html .zakaz_zvonok_form--callback .mf-name input::placeholder,
html .zakaz_zvonok_form--callback .mf-phone input::placeholder {
    color: #a4a4a4;
}

html .zakaz_zvonok_form--callback .error_bord {
    border-color: #c70000 !important;
}

html .zakaz_zvonok_form--callback .privacy-policy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 330px;
    margin: 0;
    color: #606060;
    font-size: 11px;
    line-height: 1.5;
}

html .zakaz_zvonok_form--callback .privacy-policy .checkbox-wrapper {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 9px 0 0;
}

html .zakaz_zvonok_form--callback .privacy-policy input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 0;
    cursor: pointer;
}

html .zakaz_zvonok_form--callback .privacy-policy input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%232868A3' stroke-width='2' d='M3 8.5l3.5 3.5L13 4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

html .zakaz_zvonok_form--callback .privacy-policy label {
    flex: 1 1 auto;
    font-size: 11px;
    line-height: 1.5;
    color: #606060;
}

html .zakaz_zvonok_form--callback .privacy-policy a {
    color: #2868a3;
    text-decoration: none;
}

html .zakaz_zvonok_form--callback [name="submit"] {
    box-sizing: border-box;
    width: 330px;
    height: 60px;
    margin: 0;
    padding: 0;
    background: #c70000;
    border: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    cursor: pointer;
}

html .zakaz_zvonok_form--callback [name="submit"]:hover {
    background: #b00000;
}

html .zakaz_zvonok_form--callback .mf-ok-text {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

.callback-popup__close {
    position: absolute;
    top: 25px;
    right: 26px;
    z-index: 4;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    background: #fff url("../images/callback-popup/close.svg") center / 18px 18px no-repeat;
    cursor: pointer;
}

.callback-popup__close:hover,
.callback-popup__close:focus-visible {
    background: #0d5295 url("../images/callback-popup/close-hover.svg") center / 18px 18px no-repeat;
}

.callback-popup__close:focus {
    outline: none;
}

html .zakaz_zvonok_form--callback .phone-error {
    margin-top: 4px;
    color: #c70000;
    font-size: 11px;
}

@media only screen and (max-width: 991px) {
    .zakaz_zvonok_fancbx .fancybox-content:has(.zakaz_zvonok_form--callback) {
        width: 80%;
        max-width: 80%;
        height: auto;
        max-height: calc(100vh - 24px);
        margin: 16px auto;
        overflow: auto;
    }

    .fancybox-slide:has(.zakaz_zvonok_form--callback) > .zakaz_zvonok_form--callback {
        width: 80%;
        max-width: 80%;
        margin: 16px auto;
        padding: 0;
    }

    html .zakaz_zvonok_form.zakaz_zvonok_form--callback {
        width: 80%;
        max-width: 80%;
        height: auto;
        min-height: 0;
        margin: 16px auto;
    }

    .callback-popup__visual {
        display: none;
    }

    .callback-popup__body {
        width: 100%;
        padding: 24px 16px 20px;
    }

    html .zakaz_zvonok_form--callback .zagolovok {
        margin-right: 48px;
        font-size: 24px;
    }

    html .zakaz_zvonok_form--callback .mf-name,
    html .zakaz_zvonok_form--callback .mf-phone,
    html .zakaz_zvonok_form--callback .mf-name input,
    html .zakaz_zvonok_form--callback .mf-phone input,
    html .zakaz_zvonok_form--callback .privacy-policy,
    html .zakaz_zvonok_form--callback [name="submit"] {
        width: 100%;
    }

    .callback-popup__close {
        top: 8px;
        right: 8px;
        width: 44px;
        height: 44px;
        background-size: 14px 14px;
    }

    .callback-popup__close:hover,
    .callback-popup__close:focus-visible {
        background: #0d5295 url("../images/callback-popup/close-hover.svg") center / 14px 14px no-repeat;
    }
}

@media only screen and (max-width: 991px) {
    .desktop-header {
        display: none !important;
    }

    .mobile-header {
        display: block;
    }

    .mobile-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #2868a3;
        margin: 0;
        padding: 8px 16px;
        position: fixed;
        width: 100%;
        height: 67px;
        z-index: 9000;
        top: 0;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .mobile-header-top__column {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .mobile-header-top svg {
        width: 39px;
        height: 39px;
        display: block;
    }

    #wrapper {
        margin-top: 67px;
    }

    .footer-row--menus,
    .footer-row--contacts {
        flex-direction: column;
        align-items: stretch;
    }

    html .container .footer-row--menus .wide-menu,
    html .container .footer-row--menus .four.columns:not(.wide-menu) {
        flex: 1 1 auto;
        width: 100% !important;
        max-width: none;
        min-width: 0;
        margin: 0 !important;
    }

    .footer-brand,
    .footer-phones,
    .footer-address,
    .footer-aside,
    .footer-pixelplus,
    .footer-row--contacts #subscribe-container,
    .footer-row--contacts .last_column {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .footer-legal {
        gap: 0;
    }

    #footer .footer-phones p,
    #footer .footer-address p {
        margin: 0 !important;
    }

    .footer-row--menus .wide-menu .footer-links,
    .footer-row--menus .four.columns:not(.wide-menu) .footer-links {
        column-count: 1;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .mobile-header-top__column {
        gap: 13px;
    }

    .mobile-header-top img,
    .mobile-header-top svg {
        width: 44px;
        height: 44px;
    }

    .footer-row--menus {
        gap: 30px;
    }

    .footer-row--menus .wide-menu .footer-links,
    .footer-row--menus .four.columns:not(.wide-menu) .footer-links {
        width: 100%;
        column-count: 2;
        column-gap: 48px;
        column-fill: balance;
    }

    .footer-row--menus .footer-links li {
        width: auto;
        max-width: 100%;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
    }

    .footer-row--contacts {
        gap: 20px;
    }

    .footer-brand,
    .footer-address,
    .footer-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 48px;
        row-gap: 0;
        align-items: start;
        justify-content: stretch;
    }

    .footer-brand {
        gap: 48px;
    }

    .footer-phones .contact-informations {
        display: grid;
        grid-auto-flow: dense;
        grid-template-columns: 1fr 1fr;
        column-gap: 48px;
        row-gap: 10px;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .footer-phones .contact-informations li {
        padding-bottom: 0;
    }

    .footer-phones .contact-item--phone {
        grid-column: 1;
    }

    .footer-phones .contact-item--mail,
    .footer-phones .contact-item--telegram,
    .footer-phones .contact-item--max {
        grid-column: 2;
    }

    .footer-address > p,
    .footer-address .footer-hours {
        min-width: 0;
        margin: 0;
    }

    .footer-hours {
        margin-top: 0;
    }

    #footer #subscribe-container .subscribe-row {
        flex: unset;
        width: 80%;
    }

    #footer .last_column .subscribe-lead__title,
    #footer .last_column .subscribe-lead__text {
        display: inline;
    }

    .footer-aside {
        align-items: center;
        min-height: 0;
    }

    .footer-pixelplus {
        margin-top: 0;
        height: auto;
        justify-self: start;
    }
}

@media only screen and (max-width: 767px) {
    .desktop-header {
        display: none !important;
    }

    .mobile-header {
        display: block;
    }

    .mobile-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #2868a3;
        margin: 0;
        padding: 8px 16px;
        position: fixed;
        width: 100%;
        height: 67px;
        z-index: 9000;
        top: 0;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .mobile-header-top__column {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .mobile-header-top svg {
        width: 39px;
        height: 39px;
        display: block;
    }

    #wrapper {
        margin-top: 67px;
    }

    #footer #subscribe-container .subscribe-row {
        flex: 1 1 100%;
        width: 100%;
    }

    .footer-phones .contact-informations {
        margin: 0;
        padding: 0;
    }

    .footer-phones .contact-informations li {
        padding-bottom: 10px;
    }

    .footer-phones .contact-informations li:last-child {
        padding-bottom: 0;
    }

    html .container .column,
    html .container .columns,
    html .container .one.column,
    html .container .one.columns,
    html .container .two.columns,
    html .container .three.columns,
    html .container .four.columns,
    html .container .five.columns,
    html .container .six.columns,
    html .container .seven.columns,
    html .container .eight.columns,
    html .container .nine.columns,
    html .container .ten.columns,
    html .container .eleven.columns,
    html .container .twelve.columns,
    html .container .thirteen.columns,
    html .container .fourteen.columns,
    html .container .fifteen.columns,
    html .container .sixteen.columns,
    html .container .one-third.column,
    html .container .two-thirds.column,
    html .container .twelve.sidebar-right.columns,
    html .container .twelve.sidebar-left.columns,
    html .container .four.shop.columns,
    html .container .four.masonry-item.columns {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        float: none;
    }
}
