.swiper {
    width: 100%;
    margin-top: 73px;
}

.swiper-slide {
    overflow: hidden;
    position: relative;
}

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.swiper-slide_content {
    background-color: rgba(31, 55, 80, 0.5);
    color: #fff;
    position: absolute;
    top: 20%;
    left: 7%;
    padding: 2rem 1rem;
    max-width: 25rem;
}

    .swiper-slide_content > a {
        margin: 2.5rem 0;
        background-color: var(--light-blue);
        color: var(--white);
        text-decoration: none;
        padding: 0.75rem;
    }

@media (max-width:991px) {
    .swiper {
        margin-top: 40px;
    }
}

/* STOCK LOCATOR CONTAINER GRID */
.stock-locator-container-grid {
    display: flex;
}

@media (max-width:768px) {
    .stock-locator-container-grid {
        flex-direction: column;
    }

    .stock-locator-text-overlay-blue {
        font-size: 0.6rem;
        padding: 0.5rem;
        width: 50%;
    }
}
/* ASIDE BAR */
/* SEARCH BAR */
aside {
    flex-basis: 25%;
    padding-top: 3.5rem;
    position: sticky;
    top: 0;
}

@media (max-width:768px) {
    aside {
        z-index: 10;
        background-color: var(--white);
    }
}

.stock-locator_searcher > input[type="search"] {
    width: 92%;
    border: none;
    border-bottom: 2px solid var(--black);
}

    .stock-locator_searcher > input[type="search"]:focus {
        outline: none;
        border-bottom: 2.5px solid var(--black);
    }

/* Filters applied */
.stock-locator-selected {
    padding: 1rem;
    background: #fff;
    width: 92%;
}

    .stock-locator-selected .filter-applied {
        background: var(--dark-blue);
        color: var(--white);
        align-items: center;
        border: none;
        padding: 0.5rem;
        margin: 0.2rem;
    }

        .stock-locator-selected .filter-applied:hover {
            background: #012E40;
            box-shadow: 0 4px 16px rgba(49, 138, 172, 1);
            transition: all 0.2s ease;
        }

        .stock-locator-selected .filter-applied i {
            margin-left: 1rem;
        }

.stock-locator_searcher > input[type="search"] {
    padding-left: 1rem;
}

/* ASIDE FILTER TITLES (ALL) */
.accordion-filters-item_title {
    background-color: var(--white);
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--black);
}

    .accordion-filters-item_title:focus {
        outline: none;
    }

    .accordion-filters-item_title > h5 {
        padding: 0.75rem;
    }

.vehicle-model-name {
    color: #0D294D;
    font-family: FordAntennaCondBold;
    font-size: 22px;
}

.vehicle-model-specs {
    color: #0D294D;
    font-family: FordAntennaLight;
    font-size: 16px;
}

.stock-locator-button {
    font-family: FordAntennaCondBold;
    text-transform: uppercase;
    font-size: 18px;
}

.vehicle-card_discounted_price {
    font-family: FordAntennaCondBold;
    font-size: 18px;
}

@media (max-width:1387px) {
    .accordion-filters-item_title > h5 {
        font-size: 16px;
    }

    .stock-locator_searcher > input[type="search"] {
        width: 90%;
    }
}

@media (max-width:1110px) {
    .accordion-filters-item_title > h5 {
        font-size: 13px;
    }

    .stock-locator_searcher > input[type="search"] {
        width: 87%
    }
}

@media (max-width:854px) {
    .stock-locator_searcher > input[type="search"] {
        width: 86%
    }
}

@media (max-width:768px) {
    .accordion-filters-item_title > h5 {
        font-size: 18px;
    }

    .stock-locator_searcher > input[type="search"] {
        width: 95%
    }
}

@media (max-width:556px) {
    .stock-locator_searcher > input[type="search"] {
        width: 90%
    }
}

@media (max-width:280px) {
    .stock-locator_searcher > input[type="search"] {
        width: 87%
    }

    .swiper-slide_content {
        background-color: rgba(31, 55, 80, 0.5);
        color: #fff;
        position: absolute;
        top: 20%;
        left: 7%;
        padding: 2rem 0.5rem;
        max-width: 20rem;
    }
}

.accordion-filters-item_title > svg {
    transition: rotate 200ms;
    rotate: 0deg;
}

.filter-is-active {
    border-bottom: 3px solid var(--light-blue);
    color: var(--light-blue);
}

    .filter-is-active > svg {
        transition: rotate 200ms;
        rotate: 180deg;
    }

.accordion-filters-item_content {
    text-transform: uppercase;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
}

.content-is-active {
    padding-top: 1.5rem;
    max-height: 5000px;
    overflow: auto;
    overflow-y: hidden;
    transition: all 200ms;
}
/* FILTER BY: MODEL */
.filter-by_model {
    display: flex;
    justify-content: space-between;
}

    .filter-by_model:hover {
        cursor: pointer;
        color: var(--light-blue);
    }

/* VEHICLES GRID */
.stock-locator_vehicles_grid {
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
    flex-basis: 75%;
}

.stock-locator_vehicle_card {
    padding: 0.5rem;
}

    .stock-locator_vehicle_card a {
        text-decoration: none;
    }

.stock-locator_vehicle_card_image_wrapper {
    width: 100%;
    position: relative;
}

    .stock-locator_vehicle_card_image_wrapper > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 3/2;
    }

.stock-locator-text-overlay-blue {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--light-blue);
    color: white;
    font-size: 0.8rem;
    border-radius: 0.5rem;
    padding: 0.5rem;
    word-break: break-word;
    width: 50%;
    height: fit-content;
}

    .stock-locator-text-overlay-blue p {
        margin-bottom: 0;
        font-family: FordAntennaLight;
    }


.stock-locator_vehicle_card_text-wrapper {
    min-height: 181px;
}

.vehicle-card_monthly_payment,
.vehicle-card_price,
.vehicle-card_discounted_price,
.vehicle-card_price_with_discount,
.vehicle-card_price_without_discount {
    display: flex;
    justify-content: space-between;
}

.vehicle-card_monthly_payment {
    font-size: 14px;
}

.vehicle-card_price {
    margin-bottom: 2rem;
}

.vehicle-card_price_with_discount > p,
.vehicle-card_price_without_discount > p {
    font-size: 14px;
    color: #868686;
}

    .vehicle-card_price_with_discount > p:nth-child(2) {
        text-decoration: line-through;
    }

    .vehicle-card_price_without_discount > p:nth-child(2) {
        text-decoration: none;
    }

.vehicle-card_discounted_price {
    background-color: rgba(101, 176, 188, 0.3);
}

    .vehicle-card_discounted_price > p {
        padding: 0.85rem 0.5rem;
        margin: 0;
    }

.stock-locator_vehicle_card_button {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-blue);
    width: 100%;
}

    .stock-locator_vehicle_card_button > a {
        padding: 0.5rem 0.5rem;
        color: var(--white);
        text-decoration: none;
    }

/* VEHICLES GRID - RESPONSIVE VERSION */

@media (max-width: 1220px) {
    .vehicle-card_monthly_payment {
        font-size: 12px;
    }

    .vehicle-card_discounted_price {
        font-size: 13px;
    }
}

@media (max-width:1073px) {
    .vehicle-card_discounted_price > p {
        padding: 0.5rem;
    }

    .stock-locator_vehicle_card_button > a {
        padding: 0.25rem 0rem;
    }
}

/* SEARCH RESULTS */
.vehicleCard {
    transition: all 200ms;
}

/* FILTER TO ORDER CARS */

.ordered_filter {
    padding: 0 1.5rem;
    text-align: right;
}

    .ordered_filter > span {
        margin: 0 1rem;
        color: var(--light-blue);
    }

    .ordered_filter > select,
    .ordered_filter > select:active,
    .ordered_filter > select:focus,
    .ordered_filter > select:focus-visible {
        border: none;
    }

@media(max-width: 639px) {
    .ordered_filter {
        flex-direction: column;
    }
}
