/*
Theme Name: Bds2
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* =========================================================
   TT PRODUCT FILTER
   ========================================================= */

.tt-product-filter {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}


/* =========================================================
   SEARCH
   ========================================================= */

.tt-product-filter-search {
    position: relative;
    flex: 1 1 auto;
    min-width: 260px;
}

.tt-product-filter-search input {
    width: 100%;
    height: 52px;
    margin: 0 !important;
    padding: 0 18px;
    border: 1px solid #e2e2e2 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 15px;
    font-weight: 400;
    box-shadow: none !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.tt-product-filter-search input::placeholder {
    color: #999;
    opacity: 1;
}

.tt-product-filter-search input:hover {
    border-color: #cfcfcf !important;
}

.tt-product-filter-search input:focus {
    border-color: #c8001a !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(200, 0, 26, 0.08) !important;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.tt-product-filter-category {
    flex: 0 0 220px;
}

.tt-product-filter select {
    width: 100%;
    height: 52px;
    margin: 0 !important;
    padding: 0 42px 0 16px;

    border: 1px solid #e2e2e2 !important;
    border-radius: 9px !important;

    background-color: #fff !important;
    color: #222 !important;

    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    box-shadow: none !important;

    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 14px !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.tt-product-filter select:hover {
    border-color: #cfcfcf !important;
}

.tt-product-filter select:focus {
    border-color: #c8001a !important;

    box-shadow:
        0 0 0 3px rgba(200, 0, 26, 0.08) !important;
}

.tt-product-filter .select-wrapper::after,
.tt-product-filter .select-wrapper .icon-angle-down,
.tt-product-filter .select-wrapper .icon-angle-down:before {
    display: none !important;
}

.tt-product-filter select::-ms-expand {
    display: none;
}


/* =========================================================
   PRICE
   ========================================================= */

.tt-product-filter-price {
    flex: 0 0 190px;
}

.tt-product-filter-price select {
    width: 100%;
    height: 52px;
    margin: 0 !important;
    padding: 0 42px 0 16px;
    border: 1px solid #e2e2e2 !important;
    border-radius: 9px !important;
    background-color: #fff !important;
    color: #222 !important;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: none !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.tt-product-filter-price select:hover {
    border-color: #cfcfcf !important;
}

.tt-product-filter-price select:focus {
    border-color: #c8001a !important;
    box-shadow: 0 0 0 3px rgba(200, 0, 26, 0.08) !important;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.tt-product-filter-submit {
    flex: 0 0 auto;
}

.tt-product-filter-submit button {
    height: 52px;
    min-width: 128px;
    margin: 0 !important;
    padding: 0 24px;
    border: 0 !important;
    border-radius: 9px !important;
    background: #c8001a !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tt-product-filter-submit button:hover {
    background: #a90016 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(200, 0, 26, 0.18) !important;
}

.tt-product-filter-submit button:active {
    transform: translateY(0);
}


/* =========================================================
   RESET
   ========================================================= */

.tt-product-filter-reset {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.tt-product-filter-reset a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 10px;
    color: #777 !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        color 0.2s ease;
}

.tt-product-filter-reset a:hover {
    color: #c8001a !important;
}


/* =========================================================
   SELECT ARROW
   ========================================================= */

.tt-product-filter select {
    appearance: auto;
    -webkit-appearance: auto;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .tt-product-filter {
        flex-wrap: wrap;
    }

    .tt-product-filter-search {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .tt-product-filter-category {
        flex: 1 1 0;
        min-width: 0;
    }

    .tt-product-filter-price {
        flex: 1 1 0;
        min-width: 0;
    }

    .tt-product-filter-submit {
        flex: 0 0 auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .tt-product-filter {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
        border-radius: 12px;
    }

    .tt-product-filter-search,
    .tt-product-filter-category,
    .tt-product-filter-price,
    .tt-product-filter-submit,
    .tt-product-filter-reset {
        width: 100%;
        min-width: 0;
    }

    .tt-product-filter-search input,
    .tt-product-filter-category select,
    .tt-product-filter-price select,
    .tt-product-filter-submit button {
        width: 100%;
        height: 50px;
    }

    .tt-product-filter-submit button {
        min-width: 0;
    }

    .tt-product-filter-reset {
        justify-content: center;
    }

    .tt-product-filter-reset a {
        height: 36px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .tt-product-filter {
        padding: 10px;
        border-radius: 10px;
    }

    .tt-product-filter-search input,
    .tt-product-filter-category select,
    .tt-product-filter-price select {
        height: 48px;
        font-size: 14px;
    }

    .tt-product-filter-submit button {
        height: 48px;
        font-size: 14px;
    }

}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
