/**
 * Работа со стилями styles.css.
 * Наработки будут перенесены верстальщиком в style.css
 * Добавлять в 2 блока Заменить и Добавить
 */

/**
 * Изменить в style.css
 */

@media (max-width:576px) {
    .card-row-gallery .slider_pic {
        max-height: 187px;
    }

    .card-row-gallery .slick-dots button {
        display: none;
    }
}

.card-row-gallery .slick-dots li {
    width:auto;
    flex-grow:1;
}

@media screen and (max-width: 575px) {
    .first-left__text.mobile {
        margin-bottom: 0;
    }
}

.select2 {
    max-width: 500px;
}

@media screen and (max-width: 1023px) {
    .select2 {
        max-width: 300px;
    }
}

@media screen and (max-width: 575px) {
    .select2 {
        max-width: 256px;
    }
}

.request__img {
    padding:0;
}

.request__img img {
    object-fit: cover;
}

@media screen and (max-width: 480px) {
    .first-right {
        height: 300px;
    }
}

.faq__text {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
}

.faq__text p {
    margin-bottom: 14px;
}

.faq__text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1739px) {
    .faq__text {
        font-weight: 300;
        font-size: 14px;
        line-height: 1.5;
    }
}


.review-card__text.shadow {
    position: relative;
}

.review-card__text.shadow::after {
    content: "";
    display: block;
    height: 40px;
    width:100%;
    position: absolute;
    z-index: 1;
    bottom:0;
    left:0;
    background: linear-gradient(180deg, transparent 0%, #fff 100%);;
}

.dark .review-card__text.shadow::after {
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100%);;
}

.review-card__text.open::after {
    background: none;
}



/* Mobile head 2 lines */
@media screen and (max-width: 1023px) {
    .toggle-theme {
        display: block;
    }
}

/*
@media screen and (max-width: 575px) {

    .top__row {
        max-width: calc(100% + 10px);
        box-sizing: border-box;
    }

    .top__left {
        max-width: 130px;
    }

    .top__center {
        width: auto;
        margin-bottom: 0;
    }

    .top__right {
        flex-grow: 1;
        width: auto;
    }

}
*/

@media screen and (max-width: 1199px) {
    .mobile-header {
        display: block;
    }
    /*
    .navbar {
        display: none;
    }
    */
}

/*
@media screen and (max-width: 767px) {
    .top__row .t-social {
        display: none;
    }
}
*/



.price-breakdown__section {
    grid-template-columns: 1fr 240px;
}

.price-breakdown__price span:nth-child(2) {
    display: block;
}

@media (min-width: 576px) {
    .hero__footer .filter {
        padding: 40px;
    }
}

@media screen and (max-width: 767px) {
    .price-breakdown__section {
        grid-template-columns: 1fr 100px;
    }
    .hero .filter {
        padding: 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero .filter, .hero__header {
        padding: 20px;
    }
}







/**
 * Добавить в style.css
 */

/* Montserrat Light (300) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/subset-Montserrat-Light.woff2') format('woff2');
    font-display: swap;
}

/* Montserrat Regular (400) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/subset-Montserrat-Regular.woff2') format('woff2');
    font-display: swap;
}

/* Montserrat Medium (500) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/subset-Montserrat-Medium.woff2') format('woff2');
    font-display: swap;
}

/* Montserrat SemiBold (600) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/subset-Montserrat-SemiBold.woff2') format('woff2');
    font-display: swap;
}

/* Montserrat Bold (700) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/subset-Montserrat-Bold.woff2') format('woff2');
    font-display: swap;
}


.map iframe {
    display: block;
    height: 100%;
}


.price-breakdown__desc p {
    font-size: 80%;
}

.price-breakdown__desc ul {
    margin: 0 0 0 0;
    padding: 0 0 0 10px;
    list-style-position: inside;
}

.price-breakdown__desc ul li {
    position: relative;
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}







.instock-block {
    max-width: 350px;
    margin-bottom: 30px;
    color: #ff0000;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.instock-block select {
    margin-bottom: 10px;
    padding: 5px;
}

.instock-block button {
    display: block;
}


.compl_title {
    display: flex;
    align-items: center;
    gap:15px;
}

.compl_title b {
    color: var(--secondary);
}

.compl_title svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: .3s ease all;
}

.compl_title svg:hover {
    fill:var(--secondary);
}

.compl_title svg.open {
    transform: rotate(180deg);
    transition: .3s ease all;
}

.equipment {
    height: 100%;
    opacity: 1;
    transition: .3s ease all;
}

.hide_part {
    overflow: hidden;
    opacity: 0.6;
    cursor: pointer;
    transition: .3s ease all;
}

@media (max-width:1023px) {
    .hide_part {
        height: 215px;
    }
}

@media (max-width:575px) {
    .hide_part {
        height: 220px;
    }
    /*
    .top__center {
        margin-bottom: 5px;
    }
    */
}

.car-brands__link.hide {
    display: none;
}

span.is-dtp {
    display: block;
    background: #ef2222;
    color: white;
    padding: 3px 10px;
    text-align: center;
}

span.is-dtp.v0 {
    background: #2c9b2c;
}

.price-breakdown .text-gray {
    color: #666;
    font-size: 14px;
    font-weight: normal;
}

@media screen and (max-width: 1739px) {
    .price-breakdown .text-gray {
        font-size: 12px;
    }
}



/* Korea car page: */
.slide_container h2,
.slide_container .section-title {
    display: flex;
    align-items: center;
    gap:10px;
}

.slide_container h2 svg,
.slide_container .section-title svg {
    width:24px;
    height: 24px;
    fill: #000;
    display: block;
    cursor: pointer;
    transition: all .5s ease;
}

.dark .slide_container h2 svg,
.dark .slide_container .section-title svg {
    fill: #fff;
}

.slide_container h2 svg.active,
.slide_container .section-title svg.active {
    transform: rotate(180deg);
    transition: all .5s ease;
}

.slide_container .js-box__wrap,
.slide_container .box__wrap {
    max-height: 200px;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 1s ease;
}

.slide_container .js-box__wrap {
    max-height: 100px;
}

@media (max-width:1739px) {
    .slide_container .js-box__wrap {
        max-height: 90px;
    }
}

@media (max-width:1023px) {
    .slide_container .js-box__wrap {
        max-height: 86px;
    }
}

@media (max-width:575px) {
    .slide_container .js-box__wrap {
        max-height: 77px;
    }
}

.slide_container .js-box__wrap:hover,
.slide_container .box__wrap:hover {
    opacity: 0.75;
}

.slide_container .js-box__wrap.active,
.slide_container .box__wrap.active {
    transition: all 1s ease;
    max-height: 100%;
    opacity: 1;
    cursor: text;
}

.slide_container .js-box__wrap.active:hover,
.slide_container .box__wrap.active:hover {
    opacity: 1;
}

.slide_container .hide_part a.car-brands__link:hover {
    color: var(--primary);
}




/* brands table */

.filter-group.block {
    display: block;
}

.brands_models_list {
    display: flex;
    align-items: flex-start;
    gap:16px;
}

@media (max-width:1023px) {
    .brands_models_list {
        flex-wrap: wrap;
        max-width: 620px;
    }
}

@media (max-width:767px) {
    .brands_models_list {
        max-width: 420px;
    }
}

@media (max-width:575px) {
    .brands_models_list {
        max-width: 100%;
    }
}

.brands_models_list .col {
    width: calc(100% / 4 - 12px);
    display: flex;
    flex-direction: column;
    gap:16px;
    margin: 0;
    padding: 0;
}

@media (max-width:1023px) {
    .brands_models_list .col {
        width: calc(50% - 8px);
    }
}

@media (max-width:575px) {
    .brands_models_list .col {
        width: 100%;
    }
}

.brands_models_list .col .brands_models__link {
    display: flex;
    gap:10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--font-dark);
    column-gap: 16px;
}

.brands_models_list .col .brands_models__link span:first-child {
    display: inline-block;
    transition: 1s ease all;
}

.brands_models_list .col .brands_models__link span:nth-child(2) {
    font-weight: 400;
    transition: 1s ease all;
    color:#8e8e89;
}

.brands_models_list .col .brands_models__link:hover span {
    color:var(--secondary);
    transition: .5s ease all;
}

.brands_models_list .col .brands_models__link.hidden {
    display: none;
    height: 0;
    overflow: hidden;
    position: absolute;
}


.brands_models_list .col .link span {
    font-size: 14px;
    font-weight: 600;
}

.brands_models_list .col .link svg {
    transform: rotate(270deg);
    fill:red;
    stroke: none;
    width:16px;
    height: 16px;
}

.brands_models_list .col .link.active svg {
    transform: rotate(90deg);
}

.brands_models_list .col .brands_models__link.hiding {
    font-weight: 400;
}



.video-card__img video {
    width: 100%;
    height: 100%;
}


.my-5 {
    margin: 5px 0;
}



.radar__widget {
    height: 480px;
}

@media (max-width:767px) {
    .radar__widget {
        height: 280px;
    }
}


.card-row__price>p:first-child span.price-descr, .card__price>p span.price-descr, .card-moto__price span.price-descr {
    display: block;
    font-size: 12px;
    color: var(--secondary);
    margin-left: 0;
    font-weight: 400;
}
.track-auto__title + .track-auto__info.track-auto__params {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -20px;
    margin-bottom: 20px;
}






.formated_text a {
    color: var(--secondary);
}

.formated_text table {
    padding:0;
    margin:0 0 24px 0;
    border-collapse: collapse;
}

.formated_text table th,
.formated_text table td {
    padding:5px;
}



.form-checkbox.agree_box label {
    font-size: 12px;
}

.form-checkbox.agree_box input:checked+label::before {
    background-color: #666;
    border-color: #666;
}

.form-checkbox.agree_box label a {
    color: #333;
}

.dark {
    .form-checkbox.agree_box label a {
        color: #eee;
    }
}

.form-checkbox.agree_box label a:hover {
    color: var(--secondary);
}


.price-breakdown__section.section-custom {
    grid-row-gap: 5px;
}
.price-breakdown__section.section-custom .age-select {
    margin-bottom: 20px;
}