header a {
    text-decoration: none;
    color: black;
}

header {
    font-family: "Nissan Brand", Sans-serif;
    background-color: #878787;
}

.wrapper {
    height: 50vh;
    opacity: 1;
    transition: 0.8s ease-in-out opacity;
}

.phoneBlock {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 14px;
    margin-bottom: 10px;
}

.phoneBlock svg {
    margin-right: 5px;
}

.wrapper_header {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
}

.header_container_one {
    width: 100%;
    background-color: #f8f8f8;
    overflow: hidden;
}

.header_one_container_content {
    display: flex;
    flex-direction: row;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 6px;
    padding-bottom: 6px;
}

@media (max-width: 1023px) {
    .header_one_container_content {
        padding-top: 6px;
        padding-bottom: 6px;
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 768px) {
    .header_one_container_content {
        display: none;
    }
}


.header_container_one_block {
    word-wrap: normal;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
}

.header_container_one_block a span {
    font-size: 14px;
    color: #222222;
    font-weight: 400;
}

.header_container_one_block a span:hover {
    text-decoration: underline;
}

.header_container_one_block .line {
    width: 1px;
    height: 100%;
    background-color: #878787;
    margin-left: 16px;
    margin-right: 16px;
}


.header_container_two {
    width: 100%;
    background-color: white;
}

@media (max-width: 1023px) {
    .header_container_two {
        display: none;
    }
}

.header_two_container_content {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.header_two_container_content .logo {
    width: 100%;
    max-width: 155px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_two_container_content img {
    width: 100%;
    max-width: 67px;
}

.header_two_container_two {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 50px;
    justify-content: center;
}

.header_two_container_two p {
    font-size: 14px;
    padding-left: 5px;
    padding-top: 17px;
    padding-bottom: 17px;
}

.header_two_container_two .line {
    height: 1px;
    width: 100%;
    background-color: black;
}

.container_content {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding-top: 13px;
    padding-bottom: 12px;
    gap: 25px;
}

.container_content a {
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.avto {
    width: 100%;
    max-width: 123px;
    display: flex;
    flex-direction: row;
}

.pokupka {
    width: 100%;
    max-width: 91px;
    display: flex;
    flex-direction: row;
}

.service {
    width: 100%;
    max-width: 81px;
    display: flex;
    flex-direction: row;
}

.info {
    width: 100%;
    max-width: 135px;
    display: flex;
    flex-direction: row;
}

.avto,
.pokupka,
.service,
.info {
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding: 0 !important;
}

.avto::after,
.pokupka::after,
.service::after,
.info::after {
    width: 12px;
    height: 12px;
    background: url('https://dev.nissan-global.by/wp-content/uploads/2025/12/shevron_black.png') no-repeat center / cover;
    position: relative;
    left: 8%;
    top: -26%;
    transform: translateY(60%);
    content: '';
    display: block;
    transition: .2s ease-in;
}

.active_bird::after {
    transform: translateY(60%) rotate(180deg);
}

/* avto */
.wrapper_avto {
    width: 100%;
    position: absolute;
    overflow: hidden;
    max-height: 0;
    transition: 1.1s ease max-height;
    z-index: 100;
    overflow: hidden;
}

@media (max-width: 1023px) {
    .wrapper_avto {
        display: none;
    }
}

.open-content--show_avto {
    max-height: 360px;

}

.wrapper_avto_container_content_one {
    width: 100%;
    background-color: #f8f8f8;
}

.wrapper_avto_block {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

@media (max-width: 1023px) {
    .wrapper_avto_block {
        max-width: 500px;
        background-color: #f8f8f8;
        border-bottom: 1px solid #c1bbbb;
    }
}

@media (max-width: 768px) {
    .wrapper_avto_block {
        max-width: unset;
    }
}

.wrapper_avto_container_content_one_title {
    width: 100%;
    max-width: 196px;
    margin-left: 16px;
    margin-right: 16px;
    padding-left: 100px;
}

@media (max-width: 1023px) {
    .wrapper_avto_container_content_one_title {
        padding-left: 32px;
        padding-right: 32px;
        margin: 0;
    }
}

.wrapper_avto_container_content_one_title h3 {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
}

.wrapper_avto_container_content_one_title_line {
    width: 100%;
    margin: auto;
    height: 3px;
    background-color: black;
}

.wrapper_avto_container_content_two {
    width: 100%;
    background-color: white;
}

.wrapper_avto_container_two {
    width: 100%;
    background-color: white;
}

.wrapper_avto_container_content_two {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding-top: 24px;
    padding-bottom: 48px;
}

@media (max-width: 1023px) {
    .wrapper_avto_container_content_two {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .wrapper_avto_container_content_two {
        max-width: unset;
    }
}

.wrapper_avto_container_content_two_blocks {
    padding-left: 70px;
    padding-right: 70px;
    display: flex;
    flex-direction: row;
    gap: 24px;
}

@media (max-width: 1023px) {
    .wrapper_avto_container_content_two_blocks {
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 60px;
        flex-direction: column;
    }
}

.wrapper_avto_container_content_two_blocks .content {
    width: 100%;
    max-width: 312px;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.wrapper_avto_container_content_two_blocks .content img {
    width: 100%;
    max-width: 288px;
    margin-bottom: 12px;
}


.wrapper_avto_container_content_two_blocks .content h3 {
    font-weight: 300;
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 1023px) {
    .wrapper_avto_container_content_two_blocks .content {
        max-width: unset;
    }

    .wrapper_avto_container_content_two_blocks .content img {
        width: 100%;
        max-width: 37.5vw;

    }
}

@media (max-width: 768px) {
    .wrapper_avto_container_content_two_blocks .content img {
        max-width: unset;
        padding-bottom: unset;
    }
}

/* pokupka */

.wrapper_pokupka {
    width: 100%;
    background-color: white;
    position: absolute;
    overflow: hidden;
    max-height: 0;
    transition: 1s ease max-height;
    overflow: hidden;
    z-index: 100;
}

@media (max-width: 1023px) {
    .wrapper_pokupka {
        display: none;
    }
}

.open-content--show_pokupka {
    max-height: 160px;

}

.pokupka_container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.pokupka_container_content {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 24px;
    padding-bottom: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 155px;
    row-gap: 25px;
}

.pokupka_container_content a {
    font-size: 16px;
    width: 100%;
    max-width: 250px;
}

/* service */
.wrapper_service {
    width: 100%;
    background-color: white;
    position: absolute;
    overflow: hidden;
    max-height: 0;
    transition: 1.1s ease max-height;
    overflow: hidden;
    z-index: 100;
}

@media (max-width: 1023px) {
    .wrapper_service {
        display: none;
    }
}

.open-content--show_service {
    max-height: 800px;

}

.wrapper_service_container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.wrapper_service_container_content {
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 24px;
    padding-bottom: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
}

.services {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 430px;
}

.services_title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
}

.services_bock {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.services_bock a {
    font-size: 14px;
    font-weight: 300;
}

/* info */
.wrapper_info {
    width: 100%;
    background-color: white;
    position: absolute;
    overflow: hidden;
    max-height: 0;
    transition: 1s ease max-height;
    overflow: hidden;
    z-index: 100;
}

@media (max-width: 1023px) {
    .wrapper_info {
        display: none;
    }
}

.open-content--show_info {
    max-height: 350px;

}

/* burger menu */

.wrapper_burger_menu {
    max-width: 973px;
    padding-left: 25px;
    padding-right: 25px;
    height: 56px;
    display: none;
    flex-direction: row;
    background-color: white;
    align-items: center;
    opacity: 1;
    transition: 0.8s ease-in-out opacity;
}

@media (max-width: 1023px) {
    .wrapper_burger_menu {
        display: flex;
    }
}

@media (max-width: 500px) {
    .wrapper_burger_menu {
        padding-left: 16px;
        padding-right: 16px;
        gap: 10px;
    }
}

.wrapper_burger_menu_container_one {
    width: 100%;
    max-width: 1022px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.wrapper_burger_menu_container_one img {
    width: 120px;
    height: 14px;
}

.wrapper_burger_menu_container_one p {
    font-size: 10px;
    font-weight: 400;
}

.burger_icon {
    width: 20px;
    height: 20px;
}

.wrapper_burger_menu_left {
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 100;
    left: -45%;
    top: 0;
    height: 85vw;
    width: 43.02vw;
    background-color: white;
    -webkit-box-shadow: 4px 3px 11px 2px rgba(0, 0, 0, 0.27);
    -moz-box-shadow: 4px 3px 11px 2px rgba(0, 0, 0, 0.27);
    box-shadow: 4px 3px 11px 2px rgba(0, 0, 0, 0.27);
    transition: 0.7s ease-in-out left;
}


@media (max-width: 1023px) {
    .wrapper_burger_menu_left {
        display: flex;
        height: 100vh;
        left: -103%;
    }
}

@media (max-width: 768px) {
    .wrapper_burger_menu_left {
        height: 100vh;
        width: 100vw;
    }
}

/* ОТКРЫВАШКИ */

.overlay {
    pointer-events: auto;
    opacity: 0.2;
}

@media (max-width: 1023px) {
    .overlay {
        pointer-events: none;
    }
}

.burger_container {
    /* display: none; */
    z-index: 100;
    width: 100%;
    left: 0;
    position: absolute;
    transition: left 0.7s ease-in-out, opacity 0.7s ease-out;
    top: 9%;
    opacity: 1;
    background-color: white;
}

.clouse-content--show_burger_container {
    left: -100% !important;
    opacity: 0 !important;
}


.burger_cars_container,
.burger_pokupka_container,
.wrapper_porg_nissan,
.wrapper_new_cars,
.burger_service_container,
.wrapper_services,
.wrapper_service_promotions,
.burger_info_container,
.wrapper_contacts,
.wrapper_diller_news {
    position: absolute;
    width: 100%;
    top: 7.5%;
    left: -103%;
    opacity: 0;
    height: 100vw;
    max-height: 79vw;
    transition: left 0.7s ease-in-out, opacity 0.7s ease-in-out;
    overflow: hidden;
    overflow-y: auto;
    background-color: white;
    z-index: 120;
}

@media (max-width: 768px) {

    .burger_cars_container,
    .burger_pokupka_container,
    .wrapper_porg_nissan,
    .wrapper_new_cars,
    .burger_service_container,
    .wrapper_services,
    .wrapper_service_promotions,
    .burger_info_container,
    .wrapper_contacts,
    .wrapper_diller_news {
        height: 100vh;
        max-height: 93vh;
    }
}

.burger_cars_container_add_clouse-content--show_burger_cars_container {
    left: 0;
    opacity: 1;
}

/* ОТКРЫВАШКИ */

.activator_for_burger {
    opacity: 1;
    display: flex;
}

.open-content--show_burger {
    left: 0;
    z-index: 100;
}

.clouse_block {
    height: 56px;
    padding-left: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.clouse_block img {
    width: 20px;
    height: 20px;
}

.burger_list {
    display: flex;
    flex-direction: column;
}

.burger_list_center {
    display: flex;
    flex-direction: column;
}

.list_container {
    display: flex;
    flex-direction: row;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
    align-items: center;
    justify-content: space-between;
}

/* .list_container:last-child{
    border-bottom: 1px solid transparent;
} */

.list_container p,
.list_container a {
    text-transform: uppercase;
    font-size: 15px;
    line-height: 24px;
}

@media (max-width: 768px) {
    .list_container p {
        font-size: 16px;
    }
}

.list_container img {
    width: 16px;
    height: 16px;
    transform: rotate(-90deg);
}

.burger_info {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 7px;
}

.burger_info_block {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.burger_info_block p {
    font-size: 14px;
    font-weight: 500;
}

.burger_info_block img {
    width: 18px;
    height: 18px;
}

.burger_info_block .clock {
    transform: rotate(-90deg);
}

#phone {
    margin-bottom: 16px;
}

.back_title_container,
.back_title_container_two {
    padding-left: 24px;
    padding-right: 24px;
    border-bottom: 1px solid #ddd;
}

.back_title_container p,
.back_title_container_two p {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 14px;
    font-weight: 550;
}

/* footer */
footer {
    width: 100%;
    background-color: #081c34;
    color: white;
    overflow: hidden;
    height: 100%;
    opacity: 1;
    transition: 0.8s ease-in-out opacity;
    font-family: "Nissan Brand", Sans-serif;
}

footer a {
    text-decoration: none;
}

.wrapper_footer {
    max-width: 1500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 100px;
    padding-right: 100px;
    align-content: center;
    flex-wrap: wrap;

}

@media (max-width: 1023px) {
    .wrapper_footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.footer_title a {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer_title {
    padding-top: 16px;
    padding-bottom: 16px;
}

@media (max-width: 768px) {
    .footer_title {
        display: none;
    }
}

.footer_container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 25px;
    padding-top: 48px;
    padding-bottom: 16px;
}

@media (max-width: 1023px) {
    .footer_container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer_container {
        padding-top: unset;
    }
}

.footer_content {
    display: flex;
    flex-direction: column;
    width: 14.7vw;
    max-width: 286px;
    gap: 20px;
}

.footer_container_content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
}

@media (max-width: 1023px) {
    .footer_container_content {
        display: none;
    }
}

.footer_content .footer_content_title {
    color: white;
    font-size: 16px;
    font-weight: 200;
    text-transform: uppercase;
    line-height: 24px;
}

.footer_content .lists {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_content .lists a {
    color: white;
    font-size: 14px;
    font-weight: 400;
}

.footer_container .send_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 44px;
    background-color: transparent;
    font-size: 14px;
    color: white;
    border: 1px solid white;
    border-radius: 30px;
    text-transform: uppercase;
    margin-top: 35px;
    width: 100%;
    padding: 12px 60px;
    max-width: 355px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition-duration: 0.25s;
    transition-property: border-color, background-color;
    transition-timing-function: ease-out;
}

.footer_container .send_btn:hover {
    background-color: #efefef;
    border-color: #efefef;
    color: #081c34;
}

@media (max-width: 1024px) {
    .footer_container .send_btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer_container .send_btn {
        max-width: unset;
        width: 100%;
    }
}

.footer_text {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 10px;
}

.footer_text_content a:hover {
    text-decoration: underline;
}

.footer_text a {
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
}
.footer_text_content a:first-child{
    margin-top: 5px;
}
.footer_text a:before {
    content: '';
    background-image: url(https://dev.nissan-global.by/wp-content/uploads/2026/01/Без-названия.png);
    background-repeat: no-repeat;
    width: 19px;
    height: 19px;
    display: block;
}

.footer_sotseti {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-end;
    padding-top: 16px;
    padding-bottom: 16px;
}

.footer_sotseti i {
    font-size: 24px;
    color: #fff !important;
    opacity: .8;
    transition: opacity .25s linear;
}

.footer_sotseti i:hover {
    opacity: 1;
}

.footer_under_text {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.footer_under_text .under_text {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 10px;
    color: white;
}

.footer_under_text .under_text:hover {
    text-decoration: underline;
}

.footer_content_ttl {
    margin-bottom: 40px;
    color: white;
    font-size: 16px;
    font-weight: 200;
    text-transform: uppercase;
    line-height: 24px;
}


/* затемняющий слой */
/* body.overlay-active {
    overflow: hidden;
} */

body.overlay-active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 9990;
}

/* header поверх затемнения */
body.overlay-active header {
    position: relative;
    z-index: 10000;
}

/* чтобы админ-панель WP тоже была поверх (в режиме админа) */
body.overlay-active #wpadminbar {
    position: relative;
    z-index: 10001;
}