:root {
    --font-family: "Poppins", sans-serif;
    --color-main: #1F1E1E;
    --color-gray3: #A6A8A9;
    --color-black: #1F1E1E;
    --color-text-white: #fff;
    --color-text-gray: #7d7d7d;
    --color-border: #E9EAF3;
    --color-gray2: #f2f3fb;
    --color-whatsapp: #00D95F;


    --color-second: #353535;
    --color-third: #191919;
    --color-gray: #f8f9fb;
    --color-white-gray: #282828;
    --color-bg-gray: #E9EAF3;
    --color-red: #ec2929;
    --color-red2: #9c1b15;


    --border-radius: 10px;
    --border-small-radius: 6px;
    --gap-default: 30px;
}

html.brand-madeshow {
    --color-main: #1F1E1E;
    --color-black: #1F1E1E;
}

html.brand-inventcar {
    --color-main: #0D0D0D;
    --color-black: #0D0D0D;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: #FFF;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.4;
    position: relative;
    min-height: 100%;
}

body.no-scroll {
    overflow: hidden;
}

.main {
    display: contents;
}

.main-content {
    flex: 1 0 auto;
}

/*               H E A D E R                 */

.header-fixed {
    position: fixed;
    width: 100%;
    z-index: 100;
    background: #fff;
    top: 0;
    transform: translateY(-120%);
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-out;
}

.header-fixed__items {
    gap: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header-fixed.on {
    transform: translateY(0%);
}

.header-fixed:not(.on) .header-basket__subitems {
    display: none !important;
}

header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 111;
}

/*header top row*/

.header-top-row {
    min-height: 40px;
    align-items: center;
}

.header-feedback {
    padding: 10px 0;
    white-space: nowrap;
}

.header-feedback .btn:hover {
    background: none;
    color: var(--color-main);
}

.header-feedback__phones {
    display: inline-flex;
    align-items: center;
}

.header-top-row,
.header-feedback,
.header-feedback__phones {
    gap: var(--gap-default);
}

.header-feedback__phones a {
    font-size: 16px;
    font-weight: 600;
}

.header-feedback__rating {
    gap: 6px;
    align-items: center;
}

.header-row-middle__right-menu {
    display: flex;
    grid-gap: 23px;
}

.ya-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #98979d;
}

.ya-icon svg {
    display: block;
    margin: auto;
}

.rating-value {
    font-weight: 500;
    font-size: 14px;
    color: #98979d;
}

/*header middle row*/

.header-middle-row {
    background: #131313;
}

.header-row-middle__top-line {
    display: none;
    flex: 0 0 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e9eaf3;
}

.header-row-middle__top-line .header-feedback__phones {
    display: flex;
}

.header-row-middle__items {
    column-gap: var(--gap-default);
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
    background: #131313;
}

.top-logo__picture {
    flex: none;
    display: flex;
    padding: 0 5px;
    height: 65px;
    max-width: 310px;
}

.open-menu-mobile .mobile-menu-logo {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.open-menu-mobile .top-logo__picture {
    max-width: 170px;
    height: auto;
}

.open-menu-mobile .top-logo__picture svg,
.open-menu-mobile .top-logo__picture img {
    width: 100%;
    height: auto;
}


.header-main-menu-btn {
    position: relative;
    width: 146px;
}

.header-main-menu-btn > a {
    position: relative;
    gap: 10px;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    border-radius: 10px;
    padding: 10px 24px;
    text-transform: uppercase;
    color: var(--color-text-white);
    background: var(--color-main);
    cursor: pointer;
}

.header-main-menu-btn > a:hover {
    color: var(--color-text-white);
}

.header-main-menu-btn > a .catalog-burger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
}

.header-main-menu-btn > a .catalog-burger .svg {
    width: 24px;
    height: 24px;
}

.header-main-menu-btn > a .catalog-burger .svg--close {
    display: none;
}

.header-main-menu-btn > a.active .catalog-burger .svg {
    display: none;
}

.header-main-menu-btn > a.active .catalog-burger .svg--close {
    display: flex;
}

.header-main-menu-btn > a .catalog-burger use {
    fill: var(--color-text-white);
    stroke: none;
}

.header-row-middle__mobile-menu-btn {
    display: none;
    margin-top: 15px;
}

.header-row-middle__mobile-menu-btn button.mobile-nav {
    width: 40px;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 6px;
    position: relative;
    top: 0;
    left: 0;
}

.header-row-middle__mobile-menu-btn.active button.mobile-nav {
    z-index: 1002;
}

.header-row-middle__mobile-menu-btn button.mobile-nav .mobile-nav__line {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 1px;
    background-color: var(--color-text-white);
    transition: transform 0.2s ease-out;
}

.header-row-middle__mobile-menu-btn button.mobile-nav .mobile-nav__line:nth-child(2) {
    transform-origin: right;
    transition: width 0.2s ease-out;
}

.header-row-middle__mobile-menu-btn.active button.mobile-nav .mobile-nav__line:nth-child(2) {
    width: 0;
}

.header-row-middle__mobile-menu-btn.active button.mobile-nav .mobile-nav__line:nth-child(1),
.header-row-middle__mobile-menu-btn.active button.mobile-nav .mobile-nav__line:nth-child(3) {
    position: absolute;
    left: 10px;
    transform-origin: center;
}

.header-row-middle__mobile-menu-btn.active button.mobile-nav .mobile-nav__line:nth-child(1) {
    transform: rotate(45deg);
}

.header-row-middle__mobile-menu-btn.active button.mobile-nav .mobile-nav__line:nth-child(3) {
    width: 20px;
    margin: 4px auto;
    top: 15px;
    transform: rotate(-45deg);
}

.header-row-middle__mobile-wrapper {
    display: flex;
    align-items: center;
    grid-gap: 1px;
}

.header-row-middle__mobile-wrapper .catalog-top-search-trigger {
    display: none;
}

.installation-service.installation-service_mobile {
    display: block;
}

.installation-service__link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.installation-service__link i {
    width: 24px;
    height: 24px;
}

.installation-service__link span {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-black);
}

.installation-service.installation-service_mobile .installation-service__link span {
    color: var(--color-black);
    font-weight: 600;
}

.installation-service__link:hover span {
    color: var(--color-main);
}

.installation-service__link span {
    display: inline-block;
    color: var(--color-main);
    position: relative;
}

.installation-service__link:hover span:hover,
.installation-service__link:hover span:active,
.installation-service__link:hover span:focus {
    color: var(--color-main);
}

.installation-service__link span:focus {
    color: var(--color-black);
}

.installation-service__link span:after {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color-main);
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1;

    transition: width .2s ease;
}

.installation-service.installation-service_mobile .installation-service__link span::after {
    display: none;
}

.installation-service__link:hover span:after,
.installation-service__link:active span:after {
    width: 100%;
    left: 0;
}

.installation-service__link:focus span:after {
    width: 100%;
    background: var(--color-black);
    left: 0;
}

.header-bottom-row {
    padding: 15px 0;
}


/*  B R E A D C R U M B */
.breadcrumb {
    padding: 0;
    margin-top: 55px;
    margin-bottom: 40px;
    list-style: none;
    background-color: unset;
    border-radius: 0;
    color: #ccc;
}

.breadcrumb a {
    color: #ccc;
}

.breadcrumb>li+li:before {
    content: "-";
    padding: 0 11px;
    color: #ccc;
}

.breadcrumb>.active {
    color: #212529;
}

.head-page-title {
    padding-top: 40px;
    margin-bottom: -10px;
}

.news-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    grid-gap: 30px;
    flex-wrap: wrap;
}

.news-page-title h1 {
    margin-bottom: 0;
}


/*  F O O T E R */
footer {
    flex: 0 0 auto;
    width: 100%;
    padding: 60px 0 30px;
    overflow: hidden;
    /* background: #062622; */
    /* background: var(--color-black); */
    background: #111111;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-white);
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    /* margin: 20px 0px 30px; */
    margin: 50px 0px 0px;
    text-align: center;
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
}


footer .logo-wrap,
footer .menu,
footer .menu_catalog,
footer .contacts_wrap {
    width: calc(100% / 4);
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
}

footer .logo-light {
    display: block;
    width: 148px;
    height: 20px;
}

footer .logo-light,
footer .footer-head {
    margin-bottom: 20px;
}

footer .logo-wrap .created_by,
footer .bottom-menu .items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .logo-wrap .created_by span,
footer .logo-wrap .created_by a {
    line-height: 1;
    opacity: .5;
}

footer .logo-wrap .created_by a {
    color: var(--color-text-white);
}

footer .footer-head {
    font-size: 18px;
}

footer .bottom-menu .item a {
    display: inline-block;
    padding: 3px 0;

    font-size: 14px;
    line-height: 1;
    color: var(--color-text-white);
}

footer .bottom-menu .item a:hover {
    /* color: #218377 */
    color: var(--color-text-gray);
}

footer .logo-wrap .created_by a:hover,
footer .bottom-menu .item a:hover {
    opacity: 1;
}

footer .contacts,
footer .footer-social {
    margin-bottom: 20px;
}

footer .contacts>span,
footer .contacts>a {
    display: block;
    opacity: 0.5;
    color: var(--color-text-white);
}

footer .contacts>span:not(:last-child),
footer .contacts>a:not(:last-child),
footer .contacts .contacts__phones a,
footer .contacts__feedback-modal {
    margin-bottom: 12px;
}

footer .contacts>a:hover {
    opacity: 1;
}

footer .contacts .contacts__phones a {
    display: block;
    font-size: 18px;
    color: var(--color-text-white);
}

footer .contacts .contacts__phones a,
footer .contacts__feedback-modal .link-underline {
    color: var(--color-text-white);
}

footer .contacts__feedback-modal .link-underline:after,
footer .contacts__feedback-modal .link-underline:hover:after {
    background: var(--color-text-white);
}

.footer-social .block-socials {
    flex-wrap: wrap;
}

.footer-social .block-socials .block-socials-item {
    width: 32px;
    height: 32px;
    /* background: var(--color-text-white); */
}

.footer-social .block-socials .block-socials-item img {
    width: 100%;
    max-width: 25px;
}

.footer-social .block-socials .block-socials-item .svg {
    width: 20px;
    height: 20px;
}

.footer-social .block-socials .block-socials-item.block-socials-item_whatsapp .svg svg use {
    /* fill: var(--color-whatsapp); */
    fill: white;
}

.footer-social .block-socials .block-socials-item.block-socials-item_whatsapp:hover {
    background: var(--color-whatsapp);
}

.footer-social .block-socials .block-socials-item.block-socials-item_whatsapp:hover .svg svg use {
    opacity: 1;
    fill: var(--color-text-white);
}

.footer-payments__title {
    margin-bottom: 12px;
    opacity: 0.5;
}

.footer-payments__items {
    flex-wrap: wrap;
    gap: 10px;
}

.footer-payments__item .svg use {
    stroke: none;
}

.cookie-block {
    width: 342px;
    padding: 33px 21px 25px;
    position: fixed;
    /*right: 15px;*/
    bottom: 480px;
    border-radius: 24px;
    z-index: 100000;
    background-color: var(--color-text-white);
    box-shadow: 0 0 10px 0 rgba(94, 138, 150, 0.3);
}

.cookie-block {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 100px;
    min-width: 70%;
    width: auto;
    padding: 15px 21px;
    position: fixed;
    left: 15%;
    bottom: 10px;
}

.cookie-block-ok {
    margin-top: 0 !important;
}

@media screen and (max-width: 1280px) and (min-width: 990px) {
    .cookie-block {
        left: 10%;
        bottom: 80px;
    }
}

@media screen and (max-width: 989px) {
    .cookie-block {
        left: 0;
        bottom: 80px;
        gap: 10px;
    }
}

.cookie-block p {
    margin: 0;
    font-weight: 400;
    font-size: 15px;
    color: var(--color-black);
}

footer .logo-light {
    display: block;
    width: 250px;
    height: 35px;
}

@media screen and (min-width: 767px) and (max-width: 1100px) {
    footer .logo-light {
        width: auto;
        height: auto;
    }
}

.cookie-block p .cookie-block-link {
    color: var(--color-main);
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.personal-element__count.current-orders {
    background-color: #FFCC00;
}

.header-row-middle__right-menu .personal-element-max {
    display: none;
}


.header-row-middle__right-menu .personal-element-max .personal-element__svg {
    width: 24px;
    height: 24px;
}

.header-row-middle__right-menu .personal-element-max img {
    width: 100%;
    height: auto;
}

.cookie-block-ok {
    display: block;
    background-color: var(--color-main);
    color: var(--color-text-white);
    border-radius: 12px;
    width: 145px;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    padding: 10px 45px;
    margin-top: 27px;
}

.cookie-block-ok:hover {
    opacity: 0.9;
}

.bg-gray {
    background: #f7f7f8;
}

.main-notify {
    position: fixed;
    display: block;
    right: -1px;
    width: 380px;
    background: #fff;
    top: 100px;
    min-height: 150px;
    border: 1px solid var(--color-gray2);
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    transform: translateX(120%);
    transition: transform 0.2s ease-out;
    padding: 20px;
    z-index: 110;
}

.main-notify__head {
    font-weight: bold;
    padding-bottom: 20px;
}

.main-notify__body {
    display: flex;
    gap: 10px;
    align-items: center;
}

.main-notify__img {
    width: 130px;
}

.main-notify__img img {
    width: 100%;
}

.main-notify__price {
    white-space: nowrap;
}

.main-notify.on {
    transform: translateX(0%);
}

.input.file label {
    display: flex;
    align-items: center;
}

.input.file i {
    width: 10%;
}

@media (max-width: 1360px) {
    .services-custom__content .sp-image img {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    :root {
        --gap-default: 25px;
    }

    .header-top-row {
        gap: 15px;
    }

    /*.top-logo__picture {
        max-width: 270px;
        max-height: none;
        height: auto;
    }*/

    .personal-elements {
        gap: 15px;
    }

    .header-bottom-row {
        padding: 5px 0;
    }

    .front-banner__slider {
        height: 340px;
    }
}

@media (max-width: 1080px) {
    .header-top-row .header-feedback__modal {
        display: none;
    }
}

@media (max-width: 991px) {
    #header-top-nav {
        display: none;
    }

    .header-main-menu-btn {
        display: none;
    }
    .header-top-row {
        justify-content: space-between;
        background: var(--color-gray2);
    }

    .header-fixed {
        display: none;
    }

    .main-notify {
        display: none;
    }

    .header-row-middle__right-menu .personal-element-max {
        display: flex;
    }

    .header-middle-row,
    .header-row-middle__items {
        border: none;
    }

    .header-row-middle__top-line {
        display: flex;
    }

    .header-row-middle__right-menu .header-personal {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .header-row-middle__right-menu .header-authorize {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .header-row-middle__mobile-wrapper .catalog-top-search-trigger {
        display: block;
    }

    .header-row-middle__right-menu .header-authorize__btn svg {
        width: 24px;
        height: 22px;
    }

    .header-row-middle__items {
        padding-top: 5px;
        padding-bottom: 5px;
        margin-bottom: 0;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .header-row-middle__logo {
        display: flex;
    }

    .header-row-middle__mobile-menu-btn {
        margin-top: 0;
        order: 0;
    }

    .header-row-middle__items > .header-row-middle__logo {
        max-width: 112px;
        order: 1;
    }

    .header-row-middle__right-menu {
        order: 2;
    }

    .header-top-row,
    .header-feedback__modal,
    .installation-service__link,
    .header-feedback__phones,
    /*.personal-elements,*/
    /*.header-personal,*/
    /*.header-authorize,*/
    .header-basket,
    .header-bottom-row {
        display: none;
    }

    .header-row-middle__mobile-menu-btn {
        display: flex;
    }

    .catalog-top-search-trigger .svg-search {
        top: 0 !important;
        width: 20px !important;
        height: 20px !important;
        margin: 0 6px;
    }

    .header-row-middle__mobile-menu-btn button.mobile-nav .mobile-nav__line {
        height: 1.1px;
        margin: 6px auto;
    }

    .header-row-middle__right-menu .catalog-top-search-trigger {
        display: none;
    }

    footer {
        text-align: center;
        margin-bottom: 0;
    }

    footer .logo-wrap,
    footer .menu,
    footer .menu_catalog,
    footer .contacts_wrap {
        float: none;
        width: 100%;
        margin-bottom: 45px;
    }
}

@media (max-width: 767px) {
    :root {
        --gap-default: 15px;
    }

    footer .logo-light {
        margin-left: auto;
        margin-right: auto;
    }

    footer .block-socials,
    footer .footer-payments__items {
        justify-content: center;
    }

    .cookie-block {
        bottom: 100px;
    }

    .cookie-block-ok {
        width: 100%;
    }

    .footer-bottom {
        margin: 0px;
        padding: 0px 10px;
    }
}

@media (max-width: 575px) {

    /*.top-logo__picture {
       max-width: 194px;
    }*/
    .sp-image img {
        width: 100%;
    }
}

@media (max-width: 455px) {
    .sale_order_full_table {
        align-items: center;
    }

    .pay-btn .d-flex {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 395px) {
    .top-logo__picture {
        max-width: 210px;
    }

    a svg image {
        width: 190px !important;
    }
}
