.loadingSpinner {
    background-image: url('../img/loader.svg');
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: auto;
    margin-right: auto;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.dynamicSearch {
    position: relative;
    width: 100%;
}





.dynamicSearch .woocommerceSearchResults {
    position: relative;
    width: 100%;
    left: 0;
    z-index: 1000000000;
    overflow: hidden;
}
div.dynamicSearch ul.products {
    padding-left: 0;
    list-style-type: none;
    background-color: #fff;
}
.dynamicSearch .woocommerceSearchResults li.product {
    list-style-type: none;
}

/*** positioning ***/
.header-main-row {
    position: relative;
}
.woocommerce-product-and-category-search-form,
.dynamicSearch,
.left-header {
    position: static!important;
}

.dynamicSearch div.results-to-show-false {

}
.dynamicSearch div.results-to-show-false p {
    margin-bottom: 0;
}


/*** bootstrap overrides ***/
.dynamicSearch .woocommerceSearchResults li.product-grid-item {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}



/*
.dynamicSearch .woocommerceSearchResults input[type="submit"] {
    display: inline-block;
    text-align: center;
    font-family: fs-elliot, sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    opacity: 1;
    background: #222321;
    border-radius: 3px;
    padding: 7px 23px;
    text-decoration: none !important;
    margin: 0;
    cursor: pointer;
    position: relative;
    overflow: visible;
    left: auto;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-shadow: none;

    -webkit-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.dynamicSearch .woocommerceSearchResults input[type="submit"]:hover {
    background-color: #dfdcde;
    background-image: none;
    color: #515151;
}
*/

.dynamicSearch .woocommerceSearchResults input[type="submit"] {
    font-size: 20px;
    line-height: 20px;
    padding: 12px 18px;
}

/* xl */
@media(min-width:1200px) {

}

/* lg */
@media(min-width:992px) and (max-width:1199px) {
    .dynamicSearch .woocommerceSearchResults {
        /*width: 200%;*/
    }
}

/* md */
@media(min-width:768px) and (max-width:991.98px) {
    .dynamicSearch .woocommerceSearchResults {
        /*width: 200%;*/
    }
    .dynamicSearch .woocommerceSearchResults li.product-grid-item {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        display: none!important;
    }
    .dynamicSearch .woocommerceSearchResults li.product-grid-item:nth-child(-n+3) {
        display: flex!important;
    }
}

/* sm */
@media(min-width:576px) and (max-width:767.98px) {
    .dynamicSearch .woocommerceSearchResults {

    }
    .dynamicSearch .woocommerceSearchResults li.product-grid-item {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        display: none!important;
    }
    .dynamicSearch .woocommerceSearchResults li.product-grid-item:nth-child(-n+3) {
        display: flex!important;
    }
}

/* xs */
@media(max-width:575.98px) {
    .dynamicSearch .woocommerceSearchResults {

    }
    .dynamicSearch .woocommerceSearchResults li.product-grid-item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* xs and sm */
@media(max-width:767.98px) {
    .dynamicSearch .woocommerceSearchResults {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .dynamicSearch .woocommerceSearchResults .suggestions {
        padding-left: 0;
        padding-right: 0;
    }
    .dynamicSearch .woocommerceSearchResults .full-width-in-modal {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

}

@media(min-width: 992px) {
    .dynamicSearch .woocommerceSearchResults .suggestions {
        padding-top: 35px;
        padding-left: 35px;
    }
    .dynamicSearch .woocommerceSearchResults {
        padding-top: 15px;
    }
}

.dynamicSearch input.woocommerce-product-and-category-search-input {
    color: #000000 !important;
    width: 500px;
    max-width: 100%;
    margin-top: 0;
    padding-right: 55px;
}

.dynamicSearch input.woocommerce-product-and-category-search-input::-webkit-search-cancel-button{
    display: none;
}

.dynamicSearch input.fake-search-submit-button {
    background-image: url('../img/spyglass.svg');
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 18px center;
    background-color: transparent;
    font-size: 0;
    border: none;
    margin: 0;
    width: 55px;
    margin-left: -55px;
}

.dynamicSearch input.woocommerce-product-and-category-search-input,
.dynamicSearch input.fake-search-submit-button {
    height: 53px;
}


input.woocommerce-product-and-category-search-input::-webkit-input-placeholder,
input.woocommerce-product-and-category-search-input::-moz-placeholder,
input.woocommerce-product-and-category-search-input:-ms-input-placeholder,
input.woocommerce-product-and-category-search-input:-moz-placeholder {
    color: #9D9D9D !important;
}

html body .mega_menu_tray#navigation_search_tray {
    width: 100%;
    padding: 60px;
    padding-top: 15px;
    padding-bottom: 15px;
    max-height: calc(100vh - 100px);
    background-color: var(--off-white);
    z-index: 1000000000000;
    overflow-y: scroll;
    position: absolute;
    opacity: 0;
    visibility: hidden;
}
html body .mega_menu_tray#navigation_search_tray.open {
    opacity: 1;
    visibility: visible;
}
html body .mega_menu_tray#navigation_search_tray::-webkit-scrollbar {
    display: none;
}
html body .mega_menu_tray#navigation_search_tray {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
@media(max-width: 1799.98px) {
    html body .mega_menu_tray#navigation_search_tray {
        padding: 50px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

html body .mega_menu_tray#navigation_search_tray .mobile_search_tray_top {
    display: none;
}

.dynamicSearch .woocommerceSearchResults .productResults {
    padding-top: 30px;
}

.dynamicSearch .products__top-section,
.dynamicSearch .collections__top-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.dynamicSearch .products__top-section a,
.dynamicSearch .collections__top-section a {
    margin-bottom: 0;
    font-size: 14px;
    font-family: miller-display, serif;
    text-decoration: underline;
    transition: ease all .3s;
}
.dynamicSearch .products__top-section a:hover,
.dynamicSearch .collections__top-section a:hover {
    opacity: 0.6;
}

.dynamicSearch .woocommerce-product-and-category-search-form-container {
    display: flex;
    justify-content: center;
}

.dynamicSearch .product-collection-results-search-flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 30px;
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--mid-grey);
}
.dynamicSearch .product-collection-results-search-flex-row.collections-results-row {
    border-bottom: none;
    margin-bottom: 0;
}

.dynamicSearch .product-collection-results-search-flex-row .product-result,
.dynamicSearch .product-collection-results-search-flex-row .collection-result {
    width: calc(25% - 23px);
}

@media(max-width: 1599.98px) {
    .dynamicSearch .product-collection-results-search-flex-row {
        column-gap: 15px;
    }
    .dynamicSearch .product-collection-results-search-flex-row .product-result,
    .dynamicSearch .product-collection-results-search-flex-row .collection-result {
        width: calc(25% - 12px);
    }
}

.dynamicSearch .product-collection-results-search-flex-row .product-result,
.dynamicSearch .product-collection-results-search-flex-row .product-result *,

.dynamicSearch .product-collection-results-search-flex-row .collection-result,
.dynamicSearch .product-collection-results-search-flex-row .collection-result * {

    text-decoration: none;
}

.dynamicSearch .product-collection-results-search-flex-row .product-result {
    position: relative;
}
.dynamicSearch .product-collection-results-search-flex-row .product-result .btn-add-to-project.button {
    position: absolute;
    margin: 0;
    z-index: 3;
    height: 32px;
    width: 32px;
    right: 10px;
    top: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/heart/unselected.svg');
    background-color: transparent;
}
.dynamicSearch .product-collection-results-search-flex-row .product-result .btn-add-to-project.button.selected {
    background-image: url('../img/heart/selected.svg');
}


.dynamicSearch .inspirationResults a {
    font-family: miller-display, serif;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    transition: ease all .3s;
}
.dynamicSearch .inspirationResults a:hover {
    opacity: 0.6;
}

@media(min-width:1200px) and (max-width:1499px) {
    .top-header .col-12.col-xl-6.d-flex.justify-content-between.justify-content-xl-end.align-items-center.flex-wrap-mobile,
    .dynamicSearch {
        position: static;
    }

    .dynamicSearch .woocommerceSearchResults {
        width: 100%;
        margin-right: 0;
    }
}

.dynamicSearch .categoryResults a,
.dynamicSearch .categoryResults a:hover,
.dynamicSearch .categoryResults a:visited {
    color: #3B3B3C;
}


.mobile_navigation_search_tray_background {
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0,0,0,0.5);
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.mobile_navigation_search_tray_background.open {
    opacity: 1;
    visibility: visible;
}


@media(max-width: 991.98px) {
    .mobile_navigation_search_tray_background {
        z-index: 30000;
    }
    html body .mega_menu_tray#navigation_search_tray {
        position: fixed;
        top: 0;
        padding: 20px;
        padding-right: 0;
        width: calc(100% - 20px);
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
    }
    .dynamicSearch .woocommerce-product-and-category-search-form-container {
        justify-content: flex-start;
    }
    .dynamicSearch .product-collection-results-search-flex-row {
        overflow-x: scroll;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding-right: 230px;
        padding-bottom: 30px;
        margin-bottom: 50px;
        position: relative;
    }


    .dynamicSearch .product-collection-results-search-flex-row::-webkit-scrollbar {
        height: 1px;
    }
    .dynamicSearch .product-collection-results-search-flex-row::-webkit-scrollbar-track {
        background: #d8d8d8;
    }

    .dynamicSearch .sectionWrapperSnapper {
        position: relative;
        width: 100%;
    }
    .dynamicSearch .sectionWrapperSnapper::after {
        height: 20px;
        width: 20px;
        right: 0;
        bottom: -10px;
        display: block;
        content: '';
        background: var(--off-white);
        position: absolute;
    }

    .dynamicSearch .product-collection-results-search-flex-row .product-result,
    .dynamicSearch .product-collection-results-search-flex-row .collection-result {
        width: 230px;
        min-width: 230px;
        scroll-snap-align: start;
    }
    .dynamicSearch input.woocommerce-product-and-category-search-input {
        width: calc(100% - 20px);
    }
    .dynamicSearch .products__top-section, .dynamicSearch .collections__top-section {
        padding-right: 20px;
    }
    .dynamicSearch .woocommerceSearchResults {
        margin-top: 16px;
    }
    .dynamicSearch .woocommerceSearchResults .productResults {
        padding-top: 0;
    }

    .dynamicSearch .product-collection-results-search-flex-row {
        border-bottom: none;
    }

    .dynamicSearch .products__top-section,
    .dynamicSearch .collections__top-section {
        margin-top: 30px;
    }

    .dynamicSearch .sectionHeadingTag {
        margin-top: 50px;
    }


    html body .mega_menu_tray#navigation_search_tray .mobile_search_tray_top {
        display: block;
        margin-left: -20px;
        width: calc(100% + 20px);
        height: 40px;
        border-bottom: 1px solid #BCBAB4;
        position: relative;
        margin-bottom: 30px;
    }

    html body .mega_menu_tray#navigation_search_tray .mobile_search_tray_top button {
        position: absolute;
        top: 2px;
        left: 20px;
        font-size: 0;
        border: none;
        background-color: transparent;
        padding: 0;
        height: 18px;
        width: 18px;
        background-image: url('../img/close.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }


}

@media(max-width: 575px) {
    .dynamicSearch .product-collection-results-search-flex-row,
    .dynamicSearch .product-collection-results-search-flex-row {
        padding-right: 125px;
    }
}

div.dynamicSearch div.woocommerceSearchResults  p.item-grid-sku {
    margin-bottom: 0 !important;
}

/*
.dynamicSearch .woocommerceSearchResults span.price-excl-vat {
    display: none;
}
*/


/******* Search Results Page ********/
#collections-non-slider {
    margin-top: 45px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 30px;
}

#collections-non-slider > a {
    display: block;
    width: calc(25% - 23px);
}

#collections-non-slider > a,
#collections-non-slider > a * {
    text-decoration: none;
}

body.search-results div.product a.btn-add-to-project {
    margin: 0;
}
@media(max-width: 991.98px) {
    body.search-results div.product a.btn-add-to-project {
        top: 30px;
    }
    #collections-non-slider > a {
        display: block;
        width: calc(50% - 15px);
        margin-bottom: 20px;
    }
}
@media(max-width: 575.98px) {
    #collections-non-slider {
        column-gap: 16px;
    }
    #collections-non-slider > a {
        width: calc(50% - 9px);
    }
}

body.search-results #collections-non-slider h4,
body.search-results .slider-5 h4 {
    width: 100%;
    position: relative;
    padding-right: 60px;
}
body.search-results #collections-non-slider h4::after,
body.search-results .slider-5 h4::after {
    height: 20px;
    width: 20px;
    content: '';
    background-image: url('../img/arrow.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

body.search-results a.button.primary.loadMoreProductSearchResults::after {
    background-image: url("../img/plus.svg");
}