.model-finder {
    display: flex;
    align-items: flex-start;
}

.model-finder-sidebar {
    position: sticky;
    top: 53px;
    width: 25%;
    max-height: calc(100vh - 53px);
    overflow-y: auto;
}

.model-finder-sidebar-header {
    display: none;
}

.model-finder-sidebar-filters-list {
    padding: 50px;
}

.model-finder-sidebar-filters-list-item:not(:last-child) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #aaa;
}

.model-finder-sidebar-filters-list-item h4 {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: inherit;
}

.filter-group {
    padding: 0;
}

.filter-group>li:not(:last-child) {
    margin-bottom: 10px;
}

.polaris-checkbox-label {
    display: flex;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    align-items: center;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.polaris-checkbox-label input {
    position: absolute;
    width: 0;
    height: 0;
    cursor: pointer;
    opacity: 0;
}

.polaris-checkbox-label .polaris-checkbox {
    position: relative;
    width: 16px;
    height: 16px;
    border: 2px solid var(--polaris-color-polaris-blue);
}

.polaris-checkbox-label:hover .polaris-checkbox {
    box-shadow: 0px 0px 0px 3px rgb(33 56 117 / 20%);
}

.polaris-checkbox-label input:checked~.polaris-checkbox {
    background: var(--polaris-color-polaris-blue);
}

.polaris-checkbox-label .polaris-checkbox::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: translate(-50%, -60%) rotate(45deg);
    -ms-transform: translate(-50%, -60%) rotate(45deg);
    transform: translate(-50%, -60%) rotate(45deg);
    opacity: 0;
}

.polaris-checkbox-label input:checked~.polaris-checkbox::after {
    opacity: 1;
}

.polaris-checkbox-label>span {
    margin-left: 10px;
}

.model-finder-sidebar .model-finder-sidebar-button {
    margin-bottom: 50px;
    padding: 0 50px;
}

.model-finder-sidebar .model-finder-sidebar-button button {
    display: block;
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: 0;
    font-family: var(--polaris-font-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.model-finder-models-wrapper {
    width: 75%;
    min-height: calc(100vh - 53px);
    padding: 25px;
    background: #f5f5f5;
}

.model-finder-models-grid {
    /* display: flex; */
    /* flex-wrap: wrap; */
}

.model-finder-model-card-wrapper {
    display: inline-block;
    width: 33%;
    padding: 25px 25px 50px 25px;
    
}

.model-finder-model-card-wrapper .model-finder-model-card {
    display: block;
    position: relative;
    padding: 25px 25px 50px 25px;
    background: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all .25s ease;
}

.model-finder-model-card-wrapper .model-finder-model-card:hover {
    border-color: #fff;
    box-shadow: 0 10px 20px 20px rgb(0 0 0 / 10%);
    transform: scale(1.1);
}

.model-finder-model-card .model-card-image img {
    display: block;
    width: 100%;
}

.model-finder-model-card .model-card-name {
    margin-top: 25px;
}

.model-finder-model-card .model-card-name h3 {
    color: #000;
    font-size: 20px;
    line-height: 1;
    text-align: center;
}

.model-finder-model-card .model-card-description {
    margin-top: 10px;
    color: #000;
    font-size: 16px;
}

.model-finder-model-card .model-card-price-list,
.model-finder-model-card .model-card-delivery,
.model-finder-model-card .model-card-additional-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
}

.model-finder-model-card .model-card-price-list .model-card-price-list-item {
}

.model-finder-model-card .model-card-additional-info {
    color: #888;
    font-size: 12px;
}

.model-finder-model-card .model-card-additional-info:empty {
    display: none;
}

.model-finder-model-card .model-card-button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(50%);
}

.model-finder-model-card .model-card-button span {
    display: block;
    margin: 0 25px;
    padding: 12px 25px;
    background: var(--polaris-color-polaris-blue);
    color: #fff;
    font-family: var(--polaris-font-secondary);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

@media screen and (max-width: 1199px) {
    .model-finder-model-card-wrapper {
        width: 50%;
    }
}

@media screen and (max-width: 991px) {

    .model-finder {
        margin-top: 20px;
        flex-direction: column;
    }

    .model-finder-sidebar {
        display: flex;
        position: static;
        width: 100%;
        max-height: initial;
        flex-direction: column;
    }

    .model-finder-sidebar.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 9;
    }

    .model-finder-sidebar-header {
        display: flex;
        justify-content: space-between;
        padding: 25px 50px;
        background: #000;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .model-finder-sidebar-header .icon-model-finder-sidebar-header {
        display: block;
        position: relative;
        width: 0;
        height: 0;
        margin-left: 10px;
        border: 10px solid transparent;
        border-top-color: #fff;
        transform: translateY(25%);
    }

    .model-finder-sidebar.active .model-finder-sidebar-header .icon-model-finder-sidebar-header {
        transform: translateY(-25%) rotateZ(180deg);
    }

    .model-finder-sidebar-filters-list-wrapper {
        display: none;
        width: 100%;
        margin-bottom: 51px;
        overflow-y: auto;
    }

    .model-finder-sidebar.active .model-finder-sidebar-filters-list-wrapper {
        display: block;
    }

    .model-finder-sidebar .model-finder-sidebar-button {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        margin: 0;
    }

    .model-finder-sidebar.active .model-finder-sidebar-button {
        display: block;
    }

    .model-finder-models-wrapper {
        width: 100%;
    }

    .model-finder-model-card-wrapper {
        width: 100%;
    }

}