/*--------------------------------------------------------------*/
/* #region - Product Search */
/*--------------------------------------------------------------*/

.wdtShopSearchForm {
    display: -webkit-box;
    display: -ms-flexbox;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6,1fr);

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
}

.wdtShopSearchForm .wdt-shop-product-search-item-holder {
    display: flex;
    gap: 20px;
    grid-column: span 2;
}

.wdtShopSearchForm .wdt-shop-product-search-item-holder .wdt-shop-product-search-item:has([type="text"]) {
    flex: 1;
}

.wdtShopSearchForm .wdt-shop-product-search-item-holder .wdt-shop-product-search-item input[type="submit"] {
    margin: 0;
}

.wdtShopSearchForm .wdt-shop-search-field,
.wdtShopSearchForm .wdt-shop-search-field + .select2-container.select2-container--default .select2-selection--single,
.wdtShopSearchForm .wdt-shop-search-field + .select2-container.select2-container--default .select2-selection--multiple,
.wdtShopSearchForm .wdt-shop-product-search-item .select2-container.select2-container--default .select2-selection--single {
    height: 70px !important;
    line-height: 70px;
    padding-top: 0;
    padding-bottom: 0;
}


/* Responsive */

@media (max-width: 1280px) {
    .wdtShopSearchForm {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 767px) {
    .wdtShopSearchForm {
        grid-template-columns: repeat(2,1fr);
        gap: 16px;
    }
    .wdtShopSearchForm .wdt-shop-product-search-item-holder {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .wdtShopSearchForm .wdt-shop-product-search-item-holder .wdt-shop-product-search-item:has([type="text"]) {
        width: 100%;
    }
    .wdtShopSearchForm .wdt-shop-product-search-item:has( > .wdt-shop-search-categories-field),
    .wdtShopSearchForm .wdt-shop-product-search-item:has( > .wdt-shop-rating-select) {
        grid-column: span 2;
    }

    .wdtShopSearchForm .wdt-shop-search-field.wdt-shop-search-submit-field {
        line-height: var(--wdtLineHeight_Ext);
        height: fit-content !important;
        padding: var(--wdtPadding_Btn);
    }
}

@media (max-width: 600px) {
    .wdtShopSearchForm {
        grid-template-columns: repeat(2,1fr);
    }
    .wdtShopSearchForm .wdt-shop-product-search-item-holder {
        grid-column: span 2;
    }
}

/* #endregion - Responsive */