@font-face {
    font-family: 'Roboto';
    src: local("Roboto Thin"), url('/fonts/roboto/Roboto-Thin.woff2') format('woff2'), url('/fonts/roboto/Roboto-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}



@font-face {
    font-family: 'Roboto';
    src: local("Roboto Light"), url('/fonts/roboto/Roboto-Light.woff2') format('woff2'),
    url('/fonts/roboto/Roboto-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: local("Roboto Regular"), url('/fonts/roboto/Roboto-Regular.woff2') format('woff2'),
    url('/fonts/roboto/Roboto-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: local("Roboto Medium"), url('/fonts/roboto/Roboto-Medium.woff2') format('woff2'),
    url('/fonts/roboto/Roboto-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: local("Roboto Bold"), url('/fonts/roboto/Roboto-Bold.woff2') format('woff2'),
    url('/fonts/roboto/Roboto-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



@font-face {
    font-family: 'Roboto';
    src: local("Roboto Black"), url('/fonts/roboto/Roboto-Black.woff2') format('woff2'), url('/fonts/roboto/Roboto-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto';

}

h1 {
    font-size: 64px;
    font-weight: 600;
    color: #3A3E3D;
    margin: unset;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    margin: unset;
}

p {
    font-weight: 400;
    font-size: 16px;
    color: #000000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-header {
    background: #fff;
    border-top: 27px solid #3A3E3D;
    position: relative;
    z-index: 999;
    height: 139px;
    /*    display: inline-flex;
        align-items: center;
        width: 100%;*/
}


.header-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
}

.header-top {
    display: flex;
}


.logo img {
    width: 292.39px;
    height: 80px;
    margin-left: -11px;
}

.burger {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-list a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 20px;
    display: inline-block;
}

.has-dropdown {
    position: relative;
}

.arrow {
    display: inline-block;
    width: 14px;
    height: 14.5px;
    background-image: url("/images/arrow_black.svg");
    margin-left: 6px;
    background-position: center;
    transition: transform 0.3s ease;
}

.dropdown {
    padding-inline-start: inherit;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.dropdown li a {
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
}

.dropdown li {
    list-style-type: none;
}

.dropdown li a:hover {
    background-color: #f3f3f3;
}

.list-link {
    display: flex;
    align-items: center;
}

.top-img {
    width: 100%;
    display: -webkit-box;
    /*margin-bottom: 143px;*/
}

.main-img-title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 64px;
    color: white;
    position: absolute;
    top: 227px;
}

.site-footer {
    background-color: #3A3E3D;
}

.site-footer {
    padding: 58px 0;
}

.footer-link {
    display: block;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
}

.footer-link:hover {
    color: #cfcece;
}

.footer-menu {
    display: flex;
}

.footer-menu-block {
    padding: 37px 0 15px 0;
    width: 33.3%;
    margin-right: 15px;
}

.footer-menu .footer-menu-block:last-child {
    margin-right: unset;
}

.footer-menu-title {
    display: block;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 24px;
}

.white-line {
    border-top: 1px solid #FFFFFF;
}

.has-dropdown .dropdown {
    display: none;
}

.has-dropdown.open .dropdown {
    display: block;
}

.has-dropdown.open .arrow {
    transform: rotate(180deg);
}

.title-main-block {
    font-weight: 600;
    font-size: 48px;
    margin-bottom: 17px;
}

.sub-title-main-block {
    font-weight: 400;
    font-size: 16px;
}

.wrapper-best-offers {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 125px;
}

.best-offers-block {
    width: 386px;
    margin-bottom: 20px;
    border: 1px solid #C4C4C4;
}

.card-line {
    width: 100%;
    border-top: 1px solid #D9D9D9;
    margin-top: 12px;
}

.wrapper-best-offers .card-img-product {
    width: 332px;
}

.card-img {
    margin-top: 24px;
    height: 305px;
    overflow: hidden;
    position: relative;
}

.card-img-season {
    position: absolute;
    right: 0;
    top: 0px;
}

.card-img-model {

}

.btn {
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 11px 81px;
}

.btn-primary {
    background-color: #D03825;
    color: white;
}

.btn-primary:hover {
    background-color: #e9422d;
    box-shadow: 2px 3px 5px 0px #d73f2c;
}

.card-body {
    padding: 26px 21px 1px 21px;
}

.card-bottom {
    background-color: #DDD7CE26;
    height: 106px;
    width: 100%;
    display: inline-flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.location-section {
    background: #fff;
    padding: 30px 0;
}

.location-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: #DAA34F99;
    margin-top: 157px;
    margin-bottom: 148px;
    height: 384px;
    height: inherit;
}

.location-text {
    width: 50%;
    padding: 46px 52px;
}

.location-text .location-title {
    font-size: 48px;
    font-weight: 600;
    color: #3A3E3D;
}

.location-text label {
    font-size: 32px;
    font-weight: 500;
    color: #000000;
    display: inline-block;
    margin-top: 98px;
}

.location-search {
    display: flex;

    margin-top: 14px;
}

.location-search input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 36px;
    outline: none;
    color: #8E8A8A;
    border-radius: 35.5px 0 0 35.5px;
    max-width: 425px;
}

.location-search button {
    background-color: white;
    border-radius: 0px 35.5px 35.5px 0px;
    border: none;
    cursor: pointer;
    padding: 0 20px;
}

.location-image {
    width: 50%;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.article-item {
    width: 368px;
    margin-bottom: 20px;
}

.articles-wrapper {
    margin-top: 43px;
    margin-bottom: 97px;
}

.article-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    font-size: 32px;
    color: #000000;
    margin-top: 43px;
}

.article-preview-text {
    margin-top: 22px;
}

.articles-button {
    margin-top: 68px;
}

.article-item img {
    width: inherit;
}

.article-button {
    margin-top: 60px;
    text-align: center;
}

.article-button .btn {
    padding: 11px 40px;
}

.article-item {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}


.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #F5F5F5;
    padding: 21px 55px;
    margin-bottom: 107px;
    margin-top: 107px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 500;
    margin-right: 18px;
    font-size: 24px;
    color: #333;
}

.filter-options {
    display: flex;
    gap: 10px;
}

.filter-option {
    cursor: pointer;
    position: relative;
}

.filter-option input[type="checkbox"] {
    display: none;
}

.filter-option img {
    width: 40px;
    height: 40px;
    /*transition: opacity 0.2s ease;*/
}

.filter-option div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}

.filter-option input:checked + div img {
    /*opacity: 0.4;*/
    filter: opacity(30%);
}

.filter-option input:checked + div,
.filter-options div:hover {
    background-color: #D9D9D9D9;
}

.product-card {
    border: 1px solid #C4C4C4;
    margin-bottom: 84px;
    display: flex;
}

.product-card__left {
    width: 37.08%;
    display: flex;
    flex-flow: column;
    align-items: center;
    position: relative;
}

.product-card__right {
    width: 62.91%;
    background-color: #D9D9D92B;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-between;
}

.product-card__desc {
    max-width: 613px;
    font-weight: 500;
    font-size: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.product-card__brand-logo {
    position: relative;
    width: 100%;
    text-align: right;
    top: 39px;
}

.product-card__brand-logo img {
    width: 175.21px;
    position: relative;
    right: 48.79px;
}

.product-card__btn {
    position: relative;
    bottom: 53px;
}

.product-card__img-model {
    width: 268.13px;
}

.product-card__icons {
    display: inline-block;
    width: 71px;
    position: absolute;
    left: 55px;
    top: 78px;
}

.product-card__season {
    width: 57px;
    height: 57px;
}

.product-card__vehicleClass {
    width: 71.26px;
    height: 45px;
}

.product-card__image img {
    width: 261px;
}


.product-card__gallery {
    display: flex;
    margin-bottom: 13px;
}

.product-card__gallery img {
    width: 81px;
    height: 81px;
    border: 1px solid #848484;
    margin-right: 5.45px;
}

.product-card__gallery img:last-child {
    margin-right: unset;
}

.product-card__model {
    margin-top: 48px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    font-family: sans-serif;
}

.pagination-wrapper nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-wrapper a:hover {
    background-color: #f2f2f2;
    color: #007bff;
    border-color: #007bff;
}

.pagination-wrapper .active,
.pagination-wrapper span[aria-current="page"] {
    background-color: #D03825;
    color: white;
    border-color: #D03825;
}

.pagination-wrapper .disabled,
.pagination-wrapper span[aria-disabled="true"] {
    color: #999;
    cursor: not-allowed;
    background-color: #F5F5F5;
}

.selected-params {
    background-color: #E9C895;
}

.selected__title {
    padding-top: 36px;
    font-size: 64px;
    font-weight: 700;
}

.selected__subTitle {
    padding-bottom: 19px;
    font-size: 16px;
    font-weight: 400;
}

.model-name {
    font-size: 48px;
    font-weight: 500;
    color: #000000;
}

.product-main {
    display: flex;
}

.product-image {
    width: 50%;
}

.product-description {
    width: 50%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.product-line {
    width: 100%;
    border-top: 1px solid #D9D9D9;
    margin-top: 64px;
    margin-bottom: 62px;
}

.product-thumbnails {
    display: flex;
    margin-top: 49px;
}

.product-thumbnails div {
    border: 1px solid #848484;
    margin-right: 6px;
    width: 91.39px;
    height: 127px;
    box-sizing: content-box;
}

.product-thumbnails img {
    width: inherit;
    height: inherit;
}

.product-thumbnails div:last-child {
    margin-right: unset;
}

.product-benefits img {

}

.text-center {
    margin-top: 172px;
    margin-bottom: 192px;
    text-align: center;
}

.views-content-editor {
    overflow: hidden;
}

.product-image .product-main-image {
    width: 539px;
}

.--articles .product-card {
    border: unset;
}

.--articles .product-card__right {
    justify-content: space-around;
    padding: 20px;
}

.--articles .product-card__desc {
    padding: 20px 50px;
}


.--articles .product-card__btn {
    bottom: unset;
}

.--articles .product-card__left {
    justify-content: center;
}

.dealers-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.city-block {
    margin-bottom: 3rem;
}

.city-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #D9D9D9;
    padding-bottom: 0.5rem;
    color: #222;
}

.dealer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.dealer-card {
    flex: 1 1 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    background: #D9D9D92B;
    box-sizing: border-box;
    max-width: 100%;
}

.dealer-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.dealer-card p {
    margin: 0.4rem 0;
    font-size: 0.95rem;
}

.dealer-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.dealer-map-link {
    margin-top: 0.5rem;
    display: inline-block;
    color: #0066cc;
    text-decoration: underline;
    font-size: 0.95rem;
}


@media (max-width: 1210px) {
    .container {
        max-width: 960px;
    }

    .nav-list a {
        font-size: 17px;
    }

    .arrow {
        margin-left: 3px;
    }

    .location-wrapper {
        height: unset;
    }

    .location-text, .location-image {
        width: 100%;
    }

    .location-text {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .location-search {
        justify-content: center;
    }

    .article-item {
        width: 290px;
    }

    .product-card__season {
        width: 40px;
        height: 40px;
    }

    .product-card__vehicleClass {
        width: 48.26px;
        height: 31px;
    }

    .product-card__icons {
        width: 54px;
        left: 39px;
    }

    .product-card__desc {
        padding: 0px 50px;
    }

    .product-image .product-main-image {
        width: unset;
    }
}

@media (max-width: 970px) {
    .container {
        max-width: 768px;
    }

    .logo img {
        width: 190.39px;
    }

    .nav-list a {
        font-size: 15px;
    }

    .main-header {
        height: 110px;
        border-top-width: 20px;
    }

    .header-wrapper {
        margin-top: unset;
    }

    .main-img-title {
        top: 165px;
        font-size: 50px;
    }

    .footer-menu-title {
        font-size: 28px;
    }

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

    .wrapper-best-offers {
        margin-top: 85px;
    }

    .best-offers-block {
        width: 320px;
    }

    .wrapper-best-offers .card-img-product {
        width: 270px;
    }

    .article-item {
        width: 240px;
    }

    .article-link {
        margin-top: 30px;
        font-size: 25px;
    }


    .product-card__img-model {
        width: 225px;
    }

    .product-card__image img {
        width: 220px;
    }

    .product-card__icons {
        left: 11px;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 0px 5%;
    }

    .main-img-title {
        top: 140px;
        font-size: 30px;
    }

    .burger {
        display: block;
    }

    .main-nav {
        display: none;
        animation: slideDown 0.3s ease;
        background-color: white;
    }

    .main-nav.show {
        display: block;
    }

    .nav-list {
        flex-direction: column;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
    }

    .arrow {
        display: none;
    }

    .header-wrapper {
        flex-flow: column;
    }

    .has-dropdown .dropdown {
        display: block;
    }

    .footer-menu {
        flex-flow: column;
    }

    .footer-menu-block {
        width: 100%;
        margin-right: unset;
    }

    .location-wrapper {
        flex-direction: column;
    }

    .location-text,
    .location-image {
        flex: 1 1 100%;
        padding: 20px;
    }

    .location-text h2 {
        font-size: 22px;
    }

    .wrapper-best-offers {
        justify-content: center;
    }

    .location-search button {
        padding: unset;
    }

    .location-search input {
        max-width: unset;
        padding: 5px;
        font-size: 20px;
    }

    .location-text label {
        margin-top: 30px;
    }

    .location-text label {
        font-size: 40px;
    }

    .location-wrapper {
        margin-top: 100px;
    }

    .filter-bar {
        justify-content: center;
    }

    .product-card {
        flex-wrap: wrap;
    }

    .product-card__left {
        width: 100%;
    }

    .product-card__right {
        width: 100%;
    }

    .product-card__brand-logo {
        top: 3px;
    }

    .product-card__btn {
        bottom: 10px;
    }

    .product-main {
        flex-wrap: wrap;
    }

    .product-image {
        text-align: center;
        width: 100%;
    }

    .product-thumbnails {
        justify-content: center;
    }

    .product-description {
        width: 100%;
        margin-top: 50px;
    }

    .views-content-editor img {
        width: 100%;
        height: auto;
        padding: 20px;
    }

}


@media (max-width: 540px) {

    h1 {
        font-size: 45px !important;
    }

    .model-name {
        font-size: 35px;
    }

    .title-main-block {
        font-size: 35px;
    }

    .top-img {
        /*margin-bottom: 35px;*/
    }

    .location-search input {
        font-size: 15px;
    }

    .location-search button img {
        width: 18px;
        margin: 10px;
    }

    .location-text label {
        font-size: 20px;
    }

    .location-text .location-title {
        font-size: 30px;
    }

    .location-image {
        padding: unset;
    }

    .articles-list {
        justify-content: center;
    }

    .btn {
        padding: 11px 30px;
    }

    .articles-button {
        text-align: center;
    }

    .article-item {
        width: 300px;
    }

    .--articles .product-card__desc {
        padding: unset;
    }

    .--articles .product-card__desc {
        padding: 10px 0px;
    }

    .city-title {
        font-size: 1.5rem;
    }

    .dealer-card {
        flex: 1 1 100%;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
