.brand-directory-premium {
    position: relative;
    background: #f5f4f0
}

.brand-directory-premium__heading {
    margin-bottom: 46px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(19, 20, 26, .12);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px
}

.brand-directory-premium__heading > div:first-child { max-width: 760px }
.brand-directory-premium__heading > div:first-child > span,
.brand-directory-premium__heading h2,
.brand-directory-premium__heading p { display: block }
.brand-directory-premium__heading > div:first-child > span { margin-bottom: 12px; color: var(--primary-color1); font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase }
.brand-directory-premium__heading h2 { margin-bottom: 14px; color: var(--title-color); font-family: var(--font-exo2); font-size: clamp(31px, 3vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12 }
.brand-directory-premium__heading p { max-width: 650px; margin: 0; color: var(--text-color); font-size: 14px; line-height: 1.7 }
.brand-directory-premium__count { min-width: 115px; padding-left: 24px; border-left: 1px solid rgba(19, 20, 26, .15) }
.brand-directory-premium__count strong { color: var(--title-color); display: block; font-family: var(--font-exo2); font-size: 37px; font-weight: 450; line-height: 1 }
.brand-directory-premium__count span { margin-top: 8px; color: var(--text-color); display: block; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase }

.brand-directory-card {
    position: relative;
    height: 300px;
    padding: 25px;
    border: 1px solid rgba(19, 20, 26, .1);
    background: rgba(255, 255, 255, .88);
    color: var(--title-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease
}

.brand-directory-card::before { position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--primary-color1); content: ""; transition: width .35s ease }
.brand-directory-card:hover { border-color: rgba(19, 20, 26, .22); color: var(--title-color); box-shadow: 0 18px 40px rgba(19, 20, 26, .08); transform: translateY(-4px) }
.brand-directory-card:hover::before { width: 100% }
.brand-directory-card__index { position: absolute; top: 19px; right: 21px; color: rgba(19, 20, 26, .28); font-family: monospace; font-size: 9px; letter-spacing: .08em }
.brand-directory-card__visual { height: 166px; display: flex; align-items: center; justify-content: center }
.brand-directory-card__visual img { width: auto; max-width: 175px; height: auto; max-height: 96px; object-fit: contain; filter: grayscale(1); transition: filter .3s ease, transform .3s ease }
.brand-directory-card:hover .brand-directory-card__visual img { filter: grayscale(0); transform: scale(1.04) }
.brand-directory-card__visual > i { color: rgba(19, 20, 26, .28); font-size: 60px }
.brand-directory-card__content { margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(19, 20, 26, .09) }
.brand-directory-card__content > span:first-child { margin-bottom: 5px; color: var(--text-color); display: block; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase }
.brand-directory-card__content h3 { max-width: calc(100% - 38px); margin: 0; overflow: hidden; color: var(--title-color); font-family: var(--font-exo2); font-size: 19px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap }
.brand-directory-card__content > span:last-child { margin-top: 7px; color: var(--text-color); display: block; font-size: 10px }
.brand-directory-card__arrow { position: absolute; right: 22px; bottom: 25px; width: 31px; height: 31px; border: 1px solid rgba(19, 20, 26, .14); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: background-color .3s ease, border-color .3s ease }
.brand-directory-card:hover .brand-directory-card__arrow { border-color: var(--primary-color1); background: var(--primary-color1) }
.brand-directory-premium__empty { min-height: 230px; border: 1px solid rgba(19, 20, 26, .1); background: #fff; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px; color: var(--text-color); text-align: center }
.brand-directory-premium__empty i { font-size: 42px }
.brand-directory-premium__empty p { margin: 0 }

.brand-page-hero__content { max-width: 930px !important; display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: center; gap: 27px }
.brand-page-hero__logo { width: 118px; height: 98px; padding: 18px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center }
.brand-page-hero__logo img { width: 100%; height: 100%; max-width: 88px; max-height: 62px; object-fit: contain }
.brand-page-hero__content .sub-title { padding-left: 39px }
.brand-page-hero__content h1 { margin-bottom: 12px !important }

.brand-inventory-premium { background: #f6f5f1 }
.brand-filter-panel { position: sticky; top: 100px }
.brand-filter-panel .product-widget { padding: 0; border: 1px solid rgba(19, 20, 26, .1); border-radius: 0; background: #fff; overflow: hidden }
.brand-filter-panel .check-box-item { padding: 25px }
.brand-filter-panel__heading { margin: -25px -25px 27px; padding: 25px; border-bottom: 1px solid rgba(19, 20, 26, .09); background: #131419 }
.brand-filter-panel__heading > span { margin-bottom: 9px; color: var(--primary-color1); display: block; font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase }
.brand-filter-panel__heading .product-widget-title { margin: 0 0 9px; color: #fff; font-family: var(--font-exo2); font-size: 21px; font-weight: 550 }
.brand-filter-panel__heading p { margin: 0; color: rgba(255, 255, 255, .52); font-size: 11px; line-height: 1.55 }
.brand-filter-panel .form-inner label { margin-bottom: 7px; color: var(--title-color); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase }
.brand-filter-panel .form-inner input,
.brand-filter-panel .form-inner select,
.brand-filter-panel .form-inner .nice-select { width: 100%; height: 43px; border: 1px solid rgba(19, 20, 26, .12); border-radius: 0; background: #faf9f6; color: var(--title-color); font-size: 11px; line-height: 41px }
.brand-filter-panel .form-inner input { padding: 0 12px; line-height: 1 }
.brand-filter-panel .form-inner input:focus,
.brand-filter-panel .form-inner .nice-select:focus { border-color: var(--primary-color1); background: #fff }
.brand-filter-panel .form-inner .nice-select .list { width: 100%; max-height: 270px; overflow-y: auto }
.brand-filter-panel .primary-btn1,
.brand-filter-panel .primary-btn2 { min-height: 43px; padding: 12px 14px; flex: 1; border-radius: 0; font-size: 10px; justify-content: center; text-align: center }

.brand-inventory-premium__toolbar { min-height: 66px; padding: 10px 12px 10px 20px; border: 1px solid rgba(19, 20, 26, .1); background: #fff }
.brand-inventory-premium__toolbar > p { margin: 0; color: var(--title-color); font-size: 12px; font-weight: 600 }
.brand-inventory-premium__toolbar .nice-select { min-width: 145px; height: 44px; border-color: rgba(19, 20, 26, .1); border-radius: 0; background: #f5f4f0; font-size: 10px; line-height: 42px }

.brand-vehicle-card { border: 1px solid rgba(19, 20, 26, .1); border-radius: 0; background: #fff; box-shadow: none; overflow: hidden; transition: box-shadow .3s ease, transform .3s ease }
.brand-vehicle-card:hover { box-shadow: 0 18px 42px rgba(19, 20, 26, .1); transform: translateY(-4px) }
.brand-vehicle-card .product-img { height: 270px; border-radius: 0; background: #eae9e5; overflow: hidden }
.brand-vehicle-card .product-img > a,
.brand-vehicle-card .product-img > a img { width: 100%; height: 100%; display: block }
.brand-vehicle-card .product-img > a img { object-fit: cover; transition: transform .5s ease }
.brand-vehicle-card:hover .product-img > a img { transform: scale(1.035) }
.brand-vehicle-card .number-of-img { top: 15px; right: 15px; padding: 7px 10px; border-radius: 999px; background: rgba(12, 13, 16, .78); color: #fff; backdrop-filter: blur(8px) }
.brand-vehicle-card .product-content { padding: 24px }
.brand-vehicle-card__heading { min-height: 55px; margin-bottom: 17px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px }
.brand-vehicle-card__heading h5 { min-width: 0; margin: 0 }
.brand-vehicle-card__heading h5 a { color: var(--title-color); display: -webkit-box; overflow: hidden; font-family: var(--font-exo2); font-size: 18px; font-weight: 600; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2 }
.brand-vehicle-card__status { flex: 0 0 auto; padding: 6px 8px; border: 1px solid rgba(19, 20, 26, .12); color: var(--text-color); font-size: 7px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase }
.brand-vehicle-card .price-location { padding-bottom: 16px; border-bottom: 1px solid rgba(19, 20, 26, .08) }
.brand-vehicle-card .price strong { color: var(--title-color); font-family: var(--font-exo2); font-size: 18px }
.brand-vehicle-card .location { color: var(--text-color); font-size: 9px }
.brand-vehicle-card ul.features { min-height: 66px; padding: 17px 0; gap: 8px 15px }
.brand-vehicle-card ul.features li { color: var(--text-color); font-size: 10px }
.brand-vehicle-card .content-btm { padding-top: 16px; border-top: 1px solid rgba(19, 20, 26, .08) }
.brand-vehicle-card .content-btm > span { color: var(--text-color); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase }
.brand-vehicle-card .view-btn2 { color: var(--title-color); font-size: 10px; font-weight: 700 }

.brand-inventory-premium .pagination-and-next-prev { padding-top: 30px; border-top: 1px solid rgba(19, 20, 26, .1) }

@media (max-width: 1199px) {
    .brand-filter-panel { position: static }
}

@media (max-width: 767px) {
    .brand-directory-premium { padding-top: 75px; padding-bottom: 75px }
    .brand-directory-premium__heading { align-items: flex-start; flex-direction: column; gap: 24px }
    .brand-directory-premium__count { padding-top: 14px; padding-left: 0; border-top: 1px solid rgba(19, 20, 26, .15); border-left: 0 }
    .brand-directory-card { height: 275px }
    .brand-directory-card__visual { height: 145px }
    .brand-page-hero__content { grid-template-columns: 82px minmax(0, 1fr); gap: 18px }
    .brand-page-hero__logo { width: 82px; height: 74px; padding: 12px }
    .brand-page-hero__content h1 { font-size: 33px !important }
    .brand-inventory-premium { padding-top: 75px; margin-bottom: 75px }
    .brand-inventory-premium__toolbar { padding: 15px; align-items: flex-start; flex-direction: column; gap: 12px }
    .brand-inventory-premium__toolbar .filter-atra { width: 100% }
    .brand-vehicle-card .product-img { height: 240px }
}
