/****************************
            Jet filter
****************************/

.jet-filter-mobile-popup.closed {
    display: none !important;
}

.jet-filter-mobile-popup:not(.closed) {
    display: flex !important;
}

.jet-filter-mobile-btn-open,
.jet-filter-mobile-btn-close {
    cursor: pointer;
}

body .jet-filter-row--full.jet-smart-filter-group-position-line > div > .jet-filters-group > .jet-filter.jet-smart-filters-hierarchy {
    width: calc(100% / 3 * 2);
}

body .jet-filter-row--full.jet-smart-filter-group-position-line > div > .jet-filters-group > .jet-filter:not(.jet-smart-filters-hierarchy) {
    width: calc(100% / 3 - 15px);
}

.jet-filter-row .jet-filter,
.jet-filter-row .jet-select,
.jet-filter-row .jet-search-filter {
    display: flex;
    flex-direction: column;
    position: relative;
}

.jet-price--container .jet-range__inputs .jet-range__inputs__group:after,
.jet-filter-row .jet-filter-label {
    color: #B7CFD0;
    font-size: 11px;
    width: max-content;
    max-width: 100%;
    top: 10px;
    left: 16px;
    position: absolute;
    z-index: 2;
}

.jet-price--container .jet-range__inputs .jet-range__inputs__group:first-of-type:after {
    content: "Цена от";
}

.jet-price--container .jet-range__inputs .jet-range__inputs__group:last-of-type:after {
    content: "Цена до";
}

.jet-price--container .jet-range__inputs__container {
    display: flex;
    padding: 0;
    outline: none;
    border: none;
}

.jet-price--container .jet-range__inputs__container > div {
    flex: 1;
    position: relative;
}

.jet-filter-row > .elementor-widget-wrap {
    flex-direction: row;
    gap: 20px 30px;
}

.jet-filter-mobile .jet-filter-row > .elementor-widget-wrap {
    flex-direction: column;
    gap: 0;
}

.jet-filter-mobile .jet-filter-row .jet-smart-filter-group-position-line .jet-filters-group {
    flex-wrap: wrap;
    gap: 20px;
}

.jet-filter-mobile .jet-filter-row .select2-container {
    width: 100% !important;
}

.jet-filter-row > .elementor-widget-wrap > div:not(.jet-filter-row--full) {
    flex: 1;
}

.jet-filter-desktop .jet-hidden-filters .jet-filter-row > .elementor-widget-wrap > div:not(.jet-filter-row--full) {
    min-width: 260px;
    max-width: calc(100% / 3 - 20px);
}

@media screen and (max-width: 991px) {
    .jet-filter-desktop .jet-hidden-filters .jet-filter-row > .elementor-widget-wrap > div:not(.jet-filter-row--full) {
        min-width: 300px;
        max-width: calc(100% / 2 - 10px);
    }
}

.jet-filter-row.jet-filter-row--nowrap > .elementor-widget-wrap {
    flex-wrap: wrap;
}

.jet-filter-row .jet-select select,
.jet-filter-row .jet-search-filter__input,
.jet-price--container .jet-range__inputs__min,
.jet-price--container .jet-range__inputs__max {
    color: #B7CFD0 !important;
    font-weight: 500 !important;
    line-height: 28px !important;
    padding: 25px 15px 5px 15px !important;
    border-color: #D3E1E2 !important;
    background: #fff !important;
}

.jet-filter-row .jet-search-filter__input {
    color: #212529 !important;
}

.jet-filter-row .jet-search-filter__input::placeholder {
    color: #B7CFD0 !important;
}

body .jet-smart-filters-search .jet-search-filter__input-loading {
    height: 16px;
    width: 16px;
    margin-top: -7px;
    border-width: 2px;
    border-color: var(--e-global-color-primary);
    border-left-color: transparent;
    right: 15px;
}

.jet-smart-filters-search .jet-search-filter .jet-input-not-empty ~.jet-search-filter__input-clear {
    width: 16px;
    height: 16px;
    margin-top: -12px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.34314 4.34314L15.6568 15.6568' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.34315 15.6568L15.6569 4.34314' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: content-box;
    right: 10px;
    opacity: .5;
}

body .jet-smart-filters-search .jet-search-filter__input-clear:before {
    content: none
}

.jet-price--container .jet-range__slider {
    display: none;
}

.jet-price--container .jet-range__inputs__group {
    overflow: visible;
}

.jet-price--container .jet-price-slider.ui-slider {
    height: 0;
    width: calc(100% - 50px);
    margin-left: 15px;
    bottom: 0;
    position: absolute;
    z-index: 2;
}

.jet-price--container .ui-slider-handle {
    position: absolute;
    width: 20px;
    height: 12px;
    background-color: #226A6E;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.18164 1L10.3635 3.5L8.18164 6' stroke='white' stroke-linecap='round'/%3E%3Cpath d='M3.18164 1L0.999822 3.5L3.18164 6' stroke='white' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 3px;
    cursor: pointer;
    top: -6px;
    outline: none;
}

.jet-price--container .ui-slider-range {
    background: #226A6E;
    height: 100%;
}

.jet-price--container .jet-search-filter input::placeholder {
    color: #B7CFD0
}

.jet-filter-row .jet-search-filter__input,
.jet-price--container .jet-range__inputs__min,
.jet-price--container .jet-range__inputs__max {
    border-radius: 4px;
    border: 1px solid #D3E1E2 !important;
    margin: 0 !important;
    overflow: hidden;
}

.jet-filter-row .jet-search-filter__input:focus,
.jet-filter-row .jet-search-filter__input:focus-visible {
    border-color: #226A6E !important;
    outline: none;
}

.jet-price--container .jet-range__inputs__group {
    border: none;
}

.jet-price--container .jet-range__inputs__group__text {
    font-weight: 500;
    height: 100%;
    display: flex;
    padding: 25px 0 5px;
    top: 0;
    right: 15px;
    position: absolute;
    background: none;
}

@media screen and (max-width: 991px) {
    .jet-price--container .jet-range__inputs__group__text {
        display: none;
    }

    .jet-sort .jet-smart-filters-radio .jet-filter-label {
        display: none;
    }
}

.jet-more-filters {
    cursor: pointer;
}

.jet-more-filters .elementor-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
}

.jet-sort .jet-smart-filters-radio {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.loading-result {
    opacity: 0.5;
}

/****************************
            Select2
****************************/

.select2.select2-container .select2-selection--single {
    padding: 25px 15px 5px 15px;
    border-color: #D3E1E2;
    background: #fff;
    box-sizing: content-box;
}

.select2.select2-container .select2-selection--single .select2-selection__arrow {
    height: 100%;
    width: 30px;
}

.select2.select2-container.select2-container--open .select2-selection--single {
    border-color: #226A6E;
    border-radius: 4px !important;
}

.select2-container--open .select2-dropdown {
    margin-top: 4px;
    border-radius: 4px !important;
    border: 1px solid #226A6E !important;
    overflow: hidden;
}

.select2-container .select2-results__option--highlighted[aria-selected],
.select2-container .select2-results__option[aria-selected=true] {
    color: initial !important;
    background: #F4F7F7 !important;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 350px;
}

.select2-results__options .select2-results__option {
    font-weight: 500;
    padding: 10px 14px;
}

.select2.select2-container .select2-selection--single .select2-selection__rendered {
    color: #B7CFD0;
    font-weight: 500;
    padding: 0 20px 0 0;
}

.select2.select2-container .select2-selection--single .select2-selection__rendered.select2-option--selected {
    color: #000;
}

@media screen and (min-width: 767px) {
    .select2.select2-container .select2-selection--single .select2-selection__rendered {
        width: calc(100% - 20px);
        position: absolute;
    }
}

/****************************
            Products
****************************/

.loop-product__card .elementor-widget-jet-woo-product-gallery-slider {
    overflow: hidden;
    border-radius: inherit;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.loop-product__specifications > div {
    gap: 4px;
}

/****************************
            Single Product
****************************/

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    left: .5em;
}

.woocommerce div.product div.images .flex-control-thumbs {
    column-count: 6;
    gap: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 100%;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
    border-color: #226A6E;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
    background: #226A6E;
}

@media screen and (max-width: 1024px) {
    .woocommerce div.product div.images .flex-control-thumbs {
        column-count: 5;
    }
}

/****************************
            Brands
****************************/

body.tax-pa_marka .elementor-location-header > * {
    background-color: #E7EFEF !important;
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
    .widget-cars .jet-listing-grid__items {
        --columns: 2 !important;
    }
}

@media screen and (max-width: 767px) {
    .widget-brands .elementor-image-box-wrapper {
        text-align: left;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }

    .widget-brands .elementor-image-box-wrapper .elementor-image-box-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .widget-brands .elementor-image-box-wrapper .elementor-image-box-title {
        margin: 0 !important;
    }
}

/****************************
            Leasing Page
****************************/

@media screen and (max-width: 1600px) {
    .leasing-suitable__bg {
        background-size: 62vw auto !important;
    }
}

@media screen and (max-width: 1440px) {
    .leasing-suitable__bg {
        background-size: 65vw auto !important;
    }
}
@media screen and (max-width: 1366) {
    .leasing-suitable__bg {
        background-size: 72vw auto !important;
    }
}
@media screen and (max-width: 1200px) {
    .leasing-suitable__bg {
        background-size: 80vw auto !important;
    }
}
@media screen and (max-width: 1024px) {
    .leasing-suitable__bg {
        background-size: 150vw auto !important;
    }
}
@media screen and (max-width: 767px) {
    .leasing-suitable__bg {
        background-size: cover !important;
    }
}

.leasing-tags__loadmore {
    cursor: pointer
}