/* ### UPGRADE ########################################################################## */
/* ###################################################################################### */
/* ### Global ########################################################################### */

/* Preloader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1D386D;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    pointer-events: none;
    transition: all 600ms ease;
}

#content.site-content::before{
    content: '';
    display: flex;
    position: fixed;
    top: 50%;
    left: 0;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat !important;
    background-image: url(../images/loader.gif);
    background-position: center center;
    background-size: 120px;
    justify-content: center;
    align-items: center;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
    visibility: visible;
}
#content.site-content.loading::before{
    opacity: 1;
}

#preloader svg {
    max-width: 80px;
    height: auto;
}

#preloader .loader-w {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 20px;
    margin-top: 20px;
    transition: all 300ms ease;
}

#preloader .loader-w .pulse {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 100%;
    animation: pulse 1.2s infinite;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transition: all 600ms ease;
}

@keyframes pulse {
    0% {
        transform: scale(0)
    }
    100% {
        transform: scale(1);
        opacity: 0
    }
}

/* Filters Sidebar */

.ast-off-canvas-overlay .woocommerce .astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar, 
.ast-off-canvas-overlay .woocommerce-page .astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar {
	left: auto;
	right: 0;
}

.woocommerce .astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar, 
.woocommerce-page .astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar {
	width: 100%;
	max-width: 418px;
	padding: 40px 24px 40px 40px;
}

.astra-off-canvas-sidebar .ast-filter-wrap .widget {
	margin-bottom: 0;
}

/* Filters */

/* Blur - filters */

#filter-sidebar .astra-off-canvas-sidebar {
    pointer-events: auto;
}
#filter-sidebar .astra-off-canvas-sidebar.active {
    pointer-events: none;
    filter: blur(4px);
}
#content::after {
    content: '';
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

/* Blur - content */

#content.blur::after {
    opacity: 1;
}
#content #products {
    opacity: 1 !important;
}

/* WIdgets elements */

#main .woocommerce-products-header.updated {
    display: flex;
    flex-direction: row;
    gap: 16px;
}
#main .woocommerce-products-header.updated h1 {
    display: flex;
    margin: 0;
    width: auto;
    margin-right: auto;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar {
    display: flex;
    flex-direction: row;
    width: auto;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap .pseudo-search {
    display: flex;
    position: relative;
    
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap .pseudo-search svg {
    display: flex;
    position: absolute;
    top: 10px;
    left: 10px;
    user-select: none;
    pointer-events: none;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap .pseudo-search .pseudo-filter-search {
    padding: 10px 10px 10px 36px;
    border-color: transparent;
    min-width: 210px;
    width: 100%;
    max-width: 300px;
    -webkit-transition: all .3s;
    transition: all .3s;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap .pseudo-search .pseudo-filter-search:focus {
    border-color: #1D386D;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap .pseudo-search .pseudo-filter-search::placeholder{
    color: #353535a8;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap .woocommerce-ordering .select2-container {
    min-width: 160px;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap .woocommerce-ordering .select2-container .select2-selection {
    background: #f5f6f6;
    border-color: transparent;
    padding: 9px 16px;
    -webkit-transition: all .3s;
    transition: all .3s;
}
#main .woocommerce-products-header.updated #woocommerce-sidebar .ast-filter-wrap .woocommerce-ordering .select2-container .select2-selection:hover {
    background: #fff;
    border-color: #1D386D;
}
#woocommerce-sidebar .ast-filter-wrap .select2 .select2-selection__rendered {
    padding-right: 0;
    padding-left: 20px;
    color: #1D386D;
    font-size: 14px;
    font-weight: 500;
}

/* Widget filter pseudo elements */

#main #secondary .pseudo-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    border: 1px solid #1D386D;
    background: transparent;
    border-radius: 4px;
    height: 40px;
}
#main #secondary .pseudo-reset span {
    margin-left: 7px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    -webkit-transition: all 300ms;
    transition: all 300ms;
}
#main #secondary .pseudo-reset:hover {
    color: #1D386D70;
    border: 1px solid #1D386D70;
}

/* Filter groups */

#main #secondary #widget-filter-groups {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
#main #secondary #widget-filter-groups .single-filter-group {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 9px 24px 10px 9px;
    background: #f5f6f6;
    border: 1px solid #F5F6F6;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: all 300ms;
    transition: all 300ms;
}
#main #secondary #widget-filter-groups .single-filter-group::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #1D386D;
    border-bottom: 2px solid #1D386D;
    position: absolute;
    right: 8px;
    top: calc(50% - 2px);
    transform: translateY(-50%) rotate(45deg);
}
#main #secondary #widget-filter-groups .single-filter-group:hover {
    border-color: #1D386D;
    background: #fff;
}
#main #secondary #widget-filter-groups .single-filter-group .single-title {
    color: #1D386D;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
}
#main #secondary #widget-filter-groups .single-filter-group .count {
    color: #1D386D;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    padding-left: 3px;
}

/* Active filters */

.ast-shop-toolbar-container #active-filters-sidebar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    width: 100% !important;
    gap: 8px;
}
.ast-shop-toolbar-container #active-filters-sidebar.active {
    margin-top: 16px;
}
.ast-shop-toolbar-container #active-filters-sidebar.active .title {
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    color: #353535;
    font-size: 16px;
    line-height: 100%;
    font-weight: 500;
    height: 40px;
}
.ast-shop-toolbar-container #active-filters-sidebar.active .active-filter .filter-count {
    display: none;
}
.ast-shop-toolbar-container #active-filters-sidebar.active .active-filter {
    display: flex;
    align-items: center;
    position: relative;
    text-transform: capitalize;
    cursor: pointer;
    padding: 9px 24px 9px 12px;
    background: #f5f6f6;
    border: 1px solid #f5f6f6;
    border-radius: 4px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.ast-shop-toolbar-container #active-filters-sidebar.active .active-filter::before,
.ast-shop-toolbar-container #active-filters-sidebar.active .active-filter::after {
    content: '';
    position: absolute;
    right: 0;
    display: flex;
    width: 12px;
    height: 1px;
    right: 7px;
    background: #1D386D;
    transform: rotate(45deg);
}
.ast-shop-toolbar-container #active-filters-sidebar.active .active-filter::after {
    transform: rotate(-45deg);
}
.ast-shop-toolbar-container #active-filters-sidebar.active .active-filter:hover {
    border-color: #1D386D;
    background: #fff;
}

/* Filters - head */

#filter-sidebar .sidebar-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    height: 40px;
    padding-right: 40px;
}

#filter-sidebar .sidebar-head .title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #1D386D;
    font-size: 2.5rem;
    line-height: 40px;
}

#filter-sidebar .sidebar-head #cart-accessibility {
    top: 0;
    right: 0;
}

#filter-wrap .filter-top-level li[type='service']{
    display: none;
}

/* Filters - wrap - hidden elements */

#filter-wrap .filter-top-level li[key='product-type-department']{
    display: none !important;
}

/* Filter - block styles */

#filter-wrap .filter-top-level li[type='filter'] {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #C1C5C8;
    padding: 0;
}

/* Filter - head */

#filter-wrap .filter-top-level li[type='filter'] .filter-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    position: relative;
    opacity: 1;
    transition: all .3s;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-head:hover {
    opacity: .5;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-head .title {
    display: flex;
    width: 100%;
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: #1d386d;
    padding: 24px 40px 24px 0;
    cursor: pointer;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-head .toggle {
    display: flex;
    position: absolute;
    right: 15px;
    top: calc(50% - 4px);
    border-right: 2px solid #1D386D;
    border-bottom: 2px solid #1D386D;
    width: 10px;
    height: 10px;
    transform: translateY(-50%) rotate(45deg);
    cursor: pointer;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-head .count {
    display: flex;
    position: absolute;
    right: 42px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    opacity: .5;
    color: #353535;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-head .toggle.active {
    top: calc(50% + 2px);
    transform: translateY(-50%) rotate(-135deg);
}
#filter-wrap .filter-top-level .dynamic-product-count {
    display: flex;
    width: 100%;
    margin: 16px 0;
}
#filter-wrap .filter-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}
#filter-wrap .filter-actions button {
    width: calc(50% - 8px);
    -webkit-transition: all .3s;
    transition: all .3s;
}
#filter-wrap .filter-actions button.sf-reset {
    background: #fff;
    color: #1D386D;
}
#filter-wrap .filter-actions button.sf-reset:hover {
    color: rgba(29,56,109,.44);
}
/* #filter-wrap .filter-actions button.sf-submit {
    display: none;
} */

/* Filter - toolbox */

#filter-wrap .filter-top-level li[type='filter'] .toolbox {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    height: 0;
    overflow: hidden;
}
#filter-wrap .filter-top-level li[type='filter'] .toolbox.active {
    height: auto;
}
#filter-wrap .filter-top-level li[type='filter'] .toolbox .icon {
    position: absolute;
    top: 9px;
    left: 10px;
    user-select: none;
    pointer-events: none;
}
#filter-wrap .filter-top-level li[type='filter'] .toolbox input {
    display: flex;
    width: 100%;
    padding: 10px 10px 10px 36px;
    line-height: 1.2em;
    font-size: .875rem;
}
#filter-wrap .filter-top-level li[type='filter'] .toolbox .selected {
    display: none;
    justify-content: space-between;
    justify-content: flex-start;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: 500;
    color: #353535;
    margin: 16px 0 0;
}
#filter-wrap .filter-top-level li[type='filter'] .toolbox .selected .text {
    padding-left: 4px;
}
#filter-wrap .filter-top-level li[type='filter'] .toolbox .selected.active {
    display: flex;
}

/* Filter - filter body */

#filter-wrap .filter-top-level li[type='filter'] .filter-body {
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 0;
    max-height: 30vh;
    overflow: hidden;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-body.active {
    margin: 16px 0;
    height: auto;
}
#filter-wrap .filter-top-level li[type='filter'][scroll='true'] .filter-body.active {
    overflow-y: scroll;
}

#filter-wrap .filter-top-level li[type='filter'][scroll='true'] .filter-body.active::-webkit-scrollbar {
    width: 4px;
}
#filter-wrap .filter-top-level li[type='filter'][scroll='true'] .filter-body.active::-webkit-scrollbar-track {
    background: #F5F6F6;
}
#filter-wrap .filter-top-level li[type='filter'][scroll='true'] .filter-body.active::-webkit-scrollbar-thumb {
    background: #C1C5C8;
    border-radius: 0px;
}

#filter-wrap .filter-top-level li[type='filter'] .filter-body li {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    padding: 0;
    margin-right: 10px;
    order: 2;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-body li.sf-option-active {
    order: 1;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-body li input {
    display: flex;
    position: absolute;
    right: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid #C1C5C8;
    border-radius: 2px;
    cursor: pointer;
    background-color: white;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-body li input:checked {
    background-color: #1D386D;
    border-color: #1D386D;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-body li input:checked::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-radius: 1px;
    right: 2px;
    top: 40%;
    transform: translateY(-50%) rotate(45deg);
}
#filter-wrap .filter-top-level li[type='filter'] .filter-body li label {
    display: flex;
    width: 100%;
    padding: 0;
    font-size: 1rem;
    line-height: 1.2em;
    padding: 14px 30px 14px 0;
    cursor: pointer;
    font-weight: 500;
    color: #353535;
    text-transform: capitalize;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-body li label span {
    padding-left: 3px;
    font-size: .8rem;
    font-weight: 400;
    opacity: .75;
}
#filter-wrap .filter-top-level li[type='filter'] .filter-body li:hover label {
    opacity: .5;
}

/* Products pagination */

#products {
    position: relative;
    margin-bottom: 50px;
}

#products .woocommerce-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    bottom: 0;
    padding: 0 0 30px;
    grid-column: 1 / -1;
}

@media(min-width: 768px){
    #products .woocommerce-pagination{
        position: absolute;
        padding: 0 106px;
        bottom: -50px;
    }
}

#products .prod-per-page-wrap .select2-container {
    width: 106px !important;
    position: absolute;
    bottom: -50px;
    right: 0;
}
#products .prod-per-page-wrap .select2-container .select2-selection {
    padding: 11px 12px;
    background: #f5f6f6;
    border-color: transparent;
    -webkit-transition: all .3s;
    transition: all .3s;
}
#products .prod-per-page-wrap .select2-container .select2-selection:hover {
    background: #fff;
    border-color: #1D386D;
}
.prod-per-page-wrap .select2-container .select2-search.select2-search--dropdown {
    display: none !important;
}
#products .prod-per-page-wrap .select2-container .select2-selection .select2-selection__rendered {
    font-size: 14px;
    line-height: 16px;
}
.prod-per-page-wrap .select2-container.select2-container--default .select2-results__option {
    font-size: 12px;
}


/* Fixes */
.woocommerce .ast-shop-toolbar-container .astra-shop-filter-button .icon-close {
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
}
.woocommerce .ast-shop-toolbar-container .astra-shop-filter-button.active .icon-close {
    display: flex !important;
}

/* Select2  fullfilment & address book fixes */

.woocommerce-js .select2-container .select2-selection--single, .woocommerce-js select, .woocommerce-page .select2-container .select2-selection--single, .woocommerce-page select {
    background: #F5F6F6;
    border: 1px solid #F5F6F6;
    padding: 9px 16px;
}
.asys-pr-popup .asys-pr-fulfillment .select2-container,
.asys-pr-popup .asys-pr-address-book .select2-container {
    min-width: 200px;
}
.prod-per-page-wrap .select2-search--dropdown {
    display: none !important;
}

/* Multiple selection temporary disable */

#multiple-selection-form {
    display: none;
}

/* ### MEDIA QUERY ###################################################################### */
/* ###################################################################################### */
/* ### Responsive ####################################################################### */

/* ### Less than 1921px ################################################################# */
@media screen and (max-width: 1920px) {



} /* #################################################################################### */

/* ### Less than 1601px ################################################################# */
@media screen and (max-width: 1600px) {



} /* #################################################################################### */

/* ### Less than 1441px ################################################################# */
@media screen and (max-width: 1440px) {



} /* #################################################################################### */

/* ### Less than 1361px ################################################################# */
@media screen and (max-width: 1360px) {



} /* #################################################################################### */

/* ### Less than 1121px ################################################################# */
@media screen and (max-width: 1120px) {



} /* #################################################################################### */

/* ### Less than 1025px ################################################################# */
@media screen and (max-width: 1024px) {



} /* #################################################################################### */

/* ### Less than 768px ################################################################## */
@media screen and (max-width: 767px) {



} /* #################################################################################### */

/* ### Less than 480px ################################################################## */
@media screen and (max-width: 479px) {



} /* #################################################################################### */

/* ### Less than 376px ################################################################## */
@media screen and (max-width: 375px) {



} /* #################################################################################### */

/* ### Less than 320px ################################################################## */
@media screen and (max-width: 319px) {



} /* #################################################################################### */