* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

body {
    font-family: "DM Sans", sans-serif
}

ul,
ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

button,
a {
    transition: all 0.8s ease-in-out;
}

.google-ad {
    width: 970px;
    min-height: 90px;
    background: #d9d9d9;
    border-radius: 10px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center
}

.google-ad p {
    font: 600 18px/24px "DM Sans", sans-serif;
    color: #000
}

.about-page {
    padding: 12px 0 16px;
}

.small-heading {
    font: 700 24px/30px "DM Sans", sans-serif;
    color: #000000;
    padding: 0 0 7px;
}

.car-finder-content {
    font: 400 16px/22px "DM Sans", sans-serif;
    color: #000000;
}

.filter-box-main {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 2;
    padding: 0 !important;
}

.filter-card-box {
    border: 1px solid #7575750d;
    box-shadow: 0px 0px 10px 0px #0000000D;
    padding: 15px 24px;
    border-radius: 10px;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.filter-card-box .custom-select {
    border-radius: 0;
    cursor: pointer;
    padding: 0;
}

.filter-card-box .custom-select.open {
    border: none;
    border-radius: 0;
}

.filter-card-box .country-select-input.selected {
    border: 0.5px solid #E07900;
    color: #E07900;
}

.filter-card-box .custom-select:last-child {
    border-right: none;
}

.filter-card-box .custom-select {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 0;
    margin: 0;
}

.reset-btn {
    border: 0.5px solid #d9d9d9;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 23px;
    border-radius: 10px;
    font: 400 16px / 22px "DM Sans", sans-serif;
    color: #757575;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-end;
}

.reset-btn:disabled,
.reset-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #d9d9d9;
    color: #9e9e9e;
    background: #fafafa;
}

.reset-btn:not(:disabled):not(.disabled):hover {
    border-color: #E07900;
    color: #E07900;
    background: #ffcb9238;
}

.reset-icon {
    width: 12px;
    height: 12px;
}

.reset-icon.colored,
.reset-btn:hover .reset-icon {
    display: none;
}

.reset-btn:hover .reset-icon.colored {
    display: block;
    animation: spin 0.8s linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }

}

.filter-card-box .custom-select.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.filter-card-box .country-select-input::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 16px;
    transform: translateY(0) rotate(0deg);
    font-size: 14px;
    transition: transform 0.3s ease;
    pointer-events: none;
    background: url(../images/header/drop-down-icon.svg);
    width: 11px;
    height: 6px;
}

.filter-card-box .custom-select.open .country-select-input::after {
    transform: translateY(0) rotate(180deg);

}

.filter-card-box .country-select-input {
    border: none;
    max-width: 100%;
    padding: 22px;
    font:
        400 16px / 22px "DM Sans", sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    cursor: pointer;
    color: #757575;
}

.country-select-input .filter-name-desktop {
    display: inline;
}

.filter-card-box .custom-select.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.filter-card-box .custom-select.disabled .country-select-input {
    background: #f5f5f5;
    cursor: not-allowed;
}

.country-select-input .filter-name-mobile {
    display: none;
}

.filter-card-box .country-select-input {
    max-width: 100%;
    padding: 0;
    border: 0.5px solid #D9D9D9;
    padding: 7px 15px;
    border-radius: 6px;
}

.filter-label {
    font: 500 16px / 22px "DM Sans", sans-serif;
    padding-bottom: 5px;
    text-transform: uppercase;
    margin: 0;
}

.filter-card-box .options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #E07900;
    border-radius: 0 0 8px 8px;
    margin-top: 0;
    list-style: none;
    padding: 0;
    z-index: 10;
    max-height: 0;
    display: none;
    transition: all 0.3s ease;
}

.filter-card-box .custom-select.open .options {
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0px 0px 4px 0px #00000040;
    border: 1px solid #eaeaea;
    width: 315px;
    border-radius: 10px;
    display: block;
}

.filter-card-box .options {
    top: 130%;
}

.filter-card-box .custom-select:last-child .options {
    right: 0;
    left: auto;
}

.options-heading {
    font:
        700 16px /22px "DM Sans", sans-serif;
    padding: 16px;
}

.filter-card-box .options ul {
    margin-bottom: 22px;
    max-height: 200px;
    overflow: auto;
}

.filter-card-box .options ul li {
    color: #757575;
    border-bottom: 1px solid #eaeaea;
    padding: 7px 16px;
    font:
        400 16px /22px "DM Sans", sans-serif;
}

.filter-card-box .options li:hover {
    background: #eaeaea;
    color: #757575;
}

.apply-filter-btn-box {
    margin: 0 16px 20px;
}

.all-brands-box {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    margin: 0 0 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: contain;
}

.all-brands-box .brand-box {
    cursor: pointer;
    flex: 0 0 auto;
}

.all-brands-box.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.all-brands-box,
.all-brands-box * {
    -webkit-user-select: none;
    user-select: none;
}

.all-brands-box a {
    -webkit-user-drag: none;
    user-drag: none;
}


.all-brands-box::-webkit-scrollbar,
.sell-cars-by-state::-webkit-scrollbar {
    display: none;
}

.all-brands-box .brand-box a {
    padding: 7px 46px;
    text-align: center;
    font: 500 20px /26px "DM Sans", sans-serif;
    display: inline-block;
    color: #E07900;
    border: 0.5px solid #757575;
    border-radius: 6px;
}

.all-brands-box .brand-box a:hover,
.all-brands-box .brand-box.selected a {
    border: 0.5px solid #E07900;
    color: #E07900 !important;
}

.car-list-main .row {
    row-gap: 20px;
    align-items: flex-start;
}

.auto-dealer-plan-col {
    align-self: stretch;
}

.auto-dealer-plans {
    width: 100%;
    height: 100%;
    max-height: 680px;
    object-fit: cover;
    border-radius: 10px;
}

/* Faq Section */
.faq-main-box {
    padding: 40px 0;
}

.faq-main-box .section-heading {
    padding-bottom: 24px;
    text-align: left;
}

.faq-wrapper {
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 60px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-main-box .blog-details-left .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    font: 700 24px / 30px "DM Sans", sans-serif;
    color: #000000;
}

.faq-main-box .blog-details-left .faq-question .icon {
    min-width: 48px !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #F3F5F6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background-color 0.3s ease,
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-main-box .blog-details-left .faq-item.active .icon {
    background: #E07900;
}

.faq-main-box .blog-details-left .faq-question .icon img {
    width: 14px;
    height: 14px;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
}

.faq-main-box .blog-details-left .faq-answer {
    max-height: 0;
    transition:
        grid-template-rows 0.45s ease,
        opacity 0.35s ease;
    display: none;
    max-width: 800px;
}

.faq-main-box .blog-details-left .faq-item.active .faq-answer {
    max-height: 100%;
    display: block;
}

.faq-main-box .blog-details-left .faq-answer p {
    font: 400 20px / 26px "DM Sans", sans-serif;
    color: #5A5365;
}

/* Quick Links (Browse By Makes / Types / Countries) */
.private-owner-cars.by-state-finder {
    padding: 0 0 30px;
}

.private-owner-cars.by-state-finder .small-section-heading {
    font: 700 20px / 26px "DM Sans", sans-serif;
    color: #000000;
    padding-bottom: 12px;
    margin: 0;
}

.private-owner-cars.by-state-finder .State-name-main {
    display: flex;
    gap: 14px 28px;
    flex-wrap: wrap;
}

.private-owner-cars.by-state-finder .State-name-list {
    font: 500 16px / 22px "DM Sans", sans-serif;
    color: #757575 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.private-owner-cars.by-state-finder .State-name-list:hover {
    color: #E07900 !important;
}

@media (max-width: 1399px) {
    .filter-card-box {
        padding: 10px 15px;
        margin: 10px 0 16px;
        gap: 16px;
        border-radius: 10px;
    }

    .filter-label {
        font:
            700 16px / 22px "DM Sans", sans-serif;
        padding-bottom: 4px;
    }

    .filter-card-box .country-select-input {
        font:
            400 16px / 22px "DM Sans", sans-serif;
    }

    .filter-card-box .custom-select:last-child {
        padding: 0;
    }

    .filter-card-box .custom-select::after {
        right: 10px;
    }

    .small-heading {
        font:
            700 20px / 26px "DM Sans", sans-serif;
    }

    .all-brands .small-heading {
        padding-bottom: 8px;
    }

    .small-content {
        font:
            500 18px / 24px "DM Sans", sans-serif;
    }

    .all-brands-box {
        gap: 10px;
        margin: 16px 0 24px;
    }

    .all-brands-box .brand-box a {
        padding: 6px 28px;
        font:
            500 14px /20px "DM Sans", sans-serif;
    }
}

@media (max-width: 1199px) {
    .filter-box-main {
        top: 0;
        padding: 2px !important;
    }

    .filter-card-box {
        padding: 20px 17px;
        margin: 10px 0 24px;
        gap: 15px;
        border-radius: 10px;
    }

    .filter-label {
        font:
            700 14px / 20px "DM Sans", sans-serif;
    }

    .filter-card-box .country-select-input {
        padding: 6px;
        font:
            400 12px / 18px "DM Sans", sans-serif;
        border-radius: 6px;
    }

    .filter-card-box .country-select-input::after {
        right: 7px;
        top: 13px;
        width: 11px;
        height: 6px;
    }

    .reset-btn {
        gap: 5px;
        padding: 7px 13px;
        font:
            400 12px / 17px "DM Sans", sans-serif;
        border-radius: 6px;
    }

    .country-select-input p {
        padding: 0 12px 0 0;
    }
}

@media (max-width: 991px) {
    .google-ad {
        width: 468px;
        min-height: 60px;
    }

    .filter-card-box {
        padding: 20px 17px;
        margin: 10px 0 20px;
        gap: 15px;
        border-radius: 10px;
        overflow: auto;
        max-width: 100%;
    }

    .filter-card-box .custom-select {
        min-width: 122px;
    }

    .filter-box-main {
        top: 0;
        padding: 0 !important;
    }

    .filter-card-box .options {
        top: auto;
        bottom: 0;
        position: fixed;
    }

    .all-brands .small-heading {
        padding-bottom: 6px;
    }

    .all-brands-box .brand-box a {
        padding: 6px 46px;
    }

    .on-desktop-view {
        display: none;
    }

    .on-tab-view {
        display: block;
    }

    .filter-card-box .custom-select.open .options {
        width: 100%;
    }
}

.filter-card-box .custom-select.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.filter-card-box .custom-select.disabled .country-select-input {
    background: #f5f5f5;
    cursor: not-allowed;
}

.country-select-input .filter-name-mobile {
    display: none;
}

@media (max-width: 575px) {
    .about-page {
        padding: 16px 0 16px;
    }

    .about-page .small-heading {
        font: 700 20px / 26px "DM Sans", sans-serif;
        padding: 0 0 7px;
    }

    .on-desktop-view {
        display: block;
    }

    .on-tab-view {
        display: none;
    }

    .google-ad {
        width: 320px;
        min-height: 50px;
    }

    .filter-label {
        display: none;
    }

    .filter-card-box {
        padding: 0;
        margin: 0;
        gap: 15px;
        border-radius: 0;
        border: 0;
        box-shadow: none;
        overflow: auto;
    }

    .filter-card-box .country-select-input {
        padding: 13px 32px 13px 14px;
        height: 50px;
        display: flex;
        align-items: center;
        white-space: nowrap;
        font:
            700 16px / 22px "DM Sans", sans-serif;
        border-radius: 10px;
        color: #000000;
    }

    .filter-card-box .country-select-input p {
        white-space: nowrap;
        margin: 0;
    }

    .filter-card-box .country-select-input::after {
        right: 10px;
        top: 21px;
    }



    .filter-card-box::-webkit-scrollbar {
        display: none;
    }

    .filter-card-box .country-select-input.selected {
        color: #ffffff !important;
        border: 1px solid #E07900 !important;
        background: #E07900 !important;
    }

    .filter-card-box .country-select-input.selected p {
        color: #ffffff !important;
        font-weight: 700 !important;
    }

    .filter-card-box .country-select-input.selected::after {
        background: url(../images/car-finder/white-filter-arrow.svg) no-repeat center;
    }

    .country-select-input .filter-name-desktop {
        display: none !important;
    }

    .filter-card-box .custom-select.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.filter-card-box .custom-select.disabled .country-select-input {
    background: #f5f5f5;
    cursor: not-allowed;
}

.country-select-input .filter-name-mobile {
        display: inline !important;
    }

    .filter-card-box .reset-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        height: 50px !important;
        padding: 13px 20px !important;
        border-radius: 10px !important;
        font: 700 15px / 22px "DM Sans", sans-serif !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        border: 1px solid #d9d9d9 !important;
    }

    .filter-card-box .reset-btn .reset-icon {
        width: 14px !important;
        height: 14px !important;
    }

    .filter-box-main {
        padding: 0 0 5px !important;
    }

    .small-content {
        font:
            500 16px / 22px "DM Sans", sans-serif;
    }

    .all-brands-box {
        margin: 16px 0 20px;
    }

    .all-brands-box .brand-box a {
        padding: 7px 20px;
    }

    /* Faq */
    .faq-main-box .section-heading {
        font: 700 20px / 26px "DM Sans", sans-serif;
        color: #000000;
    }

    .faq-question {
        font: 700 16px / 22px "DM Sans", sans-serif;
    }

    .faq-answer p {
        font: 400 14px / 20px "DM Sans", sans-serif;
        color: #5A5365;
        max-width: 90%;
    }

    .faq-item {
        border-bottom: 1px solid #eee;
        padding: 16px 0;
    }

    .faq-question .icon {
        min-width: 32px;
        height: 32px;
    }
}
