.vehicles-reskin-page,
.vehicles-reskin-page .global-wrap {
    background: #0d0d0f;
    color: #f5f5f5;
}

.vehicles-page {
    min-height: 100vh;
    background: #0d0d0f;
    color: #f5f5f5;
    font-family: "Inter", Arial, sans-serif;
}

.vehicles-page,
.vehicles-page *,
.vehicles-page *::before,
.vehicles-page *::after {
    box-sizing: border-box;
}

.vehicles-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

.vehicles-hero {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: #131416;
}

.vehicles-hero__inner {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.vehicles-hero__eyebrow {
    margin: 0 0 14px;
    color: #f5f5f5;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.vehicles-hero h1 {
    margin: 0;
    color: #f5f5f5;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.05;
}

.vehicles-hero__subtitle {
    max-width: 672px;
    margin: 16px auto 0;
    color: #a7a7aa;
    font-size: 16px;
    line-height: 1.5;
}

.vehicles-catalog {
    padding-top: 64px;
    padding-bottom: 80px;
}

.vehicles-catalog__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.vehicles-filters {
    position: sticky;
    top: 112px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: #161618;
}

.vehicles-filters__title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f5f5f5;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.vehicles-filters__title svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vehicles-filter-field {
    margin-top: 20px;
}

.vehicles-filter-field label,
.vehicles-price-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: #a7a7aa;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.vehicles-filter-field input[type="search"],
.vehicles-filter-field select,
.vehicles-sort select {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #3b3b40;
    border-radius: 8px;
    outline: none;
    background: #0d0d0f;
    color: #f5f5f5;
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.vehicles-filter-field input[type="search"]::placeholder {
    color: #77777d;
}

.vehicles-filter-field input[type="search"]:focus,
.vehicles-filter-field select:focus,
.vehicles-sort select:focus {
    border-color: rgba(255, 255, 255, .75);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .08);
    background: #0d0d0f;
    color: #f5f5f5;
}

.vehicles-filter-field input[type="range"] {
    width: 100%;
    margin: 6px 0 0;
    accent-color: #f5f5f5;
}

.vehicles-reset,
.vehicles-load-more {
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.vehicles-reset {
    width: 100%;
    min-height: 42px;
    margin-top: 24px;
    border: 1px solid #2d2e30;
    border-radius: 8px;
    color: #a7a7aa;
}

.vehicles-reset:hover,
.vehicles-reset:focus {
    border-color: #2d2e30;
    background: transparent;
    color: #f5f5f5;
}

.vehicles-load-more:hover,
.vehicles-load-more:focus {
    border-color: #f5f5f5;
    background: #f5f5f5;
    color: #0d0d0f;
}

.vehicles-results__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.vehicles-results__count {
    margin: 0;
    color: #a7a7aa;
    font-size: 14px;
    line-height: 1.5;
}

.vehicles-results__count strong {
    color: #f5f5f5;
    font-weight: 600;
}

.vehicles-sort {
    min-width: 190px;
}

.vehicles-sort select {
    min-height: 40px;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.vehicles-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e2df;
    border-radius: 16px;
    background: #faf9f7;
    color: #323234;
    transition: transform .25s ease, box-shadow .25s ease;
}

.vehicles-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.vehicles-card[hidden] {
    display: none !important;
}

.vehicles-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #efeeeb;
}

.vehicles-card__media img {
    width: 100%;
    height: 100%;
    padding: 24px;
    object-fit: contain;
    transition: transform .4s ease;
}

.vehicles-card:hover .vehicles-card__media img {
    transform: scale(1.03);
}

.vehicles-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 5px 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(13, 13, 15, .82);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.vehicles-card__body {
    padding: 24px;
}

.vehicles-card__title {
    min-height: 52px;
    margin: 0 0 18px;
    color: #262628;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.08;
}

.vehicles-card__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 0;
    padding: 0 0 20px;
    list-style: none;
    color: #6b6b70;
    font-size: 12px;
}

.vehicles-card__specs span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
}

.vehicles-card__specs svg,
.vehicles-card__link svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vehicles-card__title a {
    color: inherit;
    text-decoration: none;
}

.vehicles-card__title a:hover,
.vehicles-card__title a:focus {
    color: inherit;
    text-decoration: underline;
}

.vehicles-card__edit {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff;
    color: #242426;
    font-size: 10px;
    font-weight: 700;
}

.vehicles-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #e3e2df;
}

.vehicles-card__price {
    min-width: 0;
    color: #77777b;
    font-size: 11px;
    line-height: 1.2;
}

.vehicles-card__price strong {
    display: block;
    color: #242426;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.vehicles-card__price small {
    display: block;
    margin-top: 5px;
    color: #77777b;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

.vehicles-card__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    color: #242426;
    max-width: 76px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.vehicles-card__link:hover,
.vehicles-card__link:focus {
    color: #242426;
    text-decoration: underline;
}

.vehicles-card__link svg {
    width: 14px;
    height: 14px;
}

.vehicles-empty {
    padding: 70px 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    color: #a7a7aa;
    text-align: center;
}

.vehicles-empty[hidden],
.vehicles-load-more-wrap[hidden] {
    display: none !important;
}

.vehicles-load-more-wrap {
    margin-top: 48px;
    text-align: center;
}

.vehicles-load-more {
    min-width: 150px;
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid #f5f5f5;
    border-radius: 999px;
    color: #f5f5f5;
}

@media (max-width: 1279px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .vehicles-shell {
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 1023px) {
    .vehicles-catalog__layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .vehicles-filters {
        position: static;
    }
}

@media (max-width: 639px) {
    .vehicles-hero__inner {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .vehicles-hero h1 {
        font-size: 38px;
        line-height: 1.06;
    }

    .vehicles-catalog {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
    }

    .vehicles-results__toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .vehicles-sort {
        width: 100%;
    }
}
