/* Product Categories Buttons */

.widget_product_categories ul.product-categories {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.widget_product_categories ul.product-categories li a {
    background: transparent;
    border-radius: 0;
    width: 100%;
    display: flex;
    padding: 5px 0;
    height: 100%;
    line-height: 1;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    transition: .2s all;
    color: var(--e-global-color-text);
    border-bottom: solid 1px transparent;
}

.widget_product_categories ul.product-categories li a:hover {
    color: var(--e-global-color-text);
    border-color: var(--e-global-color-text);
}

@media (max-width: 768px) {
    .products form.cart {
        flex-direction: column;
    }

    .widget_product_categories ul.product-categories li a {
        font-size: 14px;
    }

    .widget_product_categories ul.product-categories {
        gap: 10px;
        margin-bottom: 0;
    }
}

/* Hide specific category from sidebar */

li.cat-item.cat-item-595,
li.cat-item.cat-item-596,
li.cat-item.cat-item-597,
li.cat-item.cat-item-598 {
    display: none !important;
}

li.cat-item.cat-item-359.cat-parent ul {
    display: none !important;
}

/* WooCommerce Product Archive */

h2.woocommerce-loop-product__title {
    margin-top: 0;
}

.woocommerce.archive ul.products li.product .price ins {
    font-weight: bold;
}

.woocommerce.archive .product-tag-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 35px;
    z-index: 2;
    display: flex;
}

.woocommerce.archive .product-tag-container img.product-tag-svg {
    object-fit: contain;
    object-position: left;
    margin-right: 10px;
}

.woocommerce.archive .product-tag-container+.onsale {
    display: none !important;
}

.product-sorting select {
    width: 100%;
    border-radius: 0;
    border: solid 1px #e2e2e2;
    background-color: #fff;
    padding: 10px;
    -webkit-appearance: none;
}

.product-sorting select:focus,
.product-sorting select:hover,
.product-sorting select:active {
    outline: none;
    border-color: #ccc !important;
}

.product-sorting select {
    background-image: url(../images/arrow-down.svg);
    background-position: center right 12px;
    background-repeat: no-repeat;
}

ul.products .product {
    display: flex;
    flex-direction: column;
    overflow: auto;
}

ul.products .product .woocommerce-loop-product__link {
    flex-grow: 1;
    line-height: 1.4;
    display: flex !important;
    flex-direction: column;
    flex-wrap: wrap;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link .price {
    margin-top: auto;
}

ul.products.columns-3 {
    list-style: none;
    padding: 0;
}

.products .cart button.button.alt {
    flex: 1;
    width: 100%;
    margin: 0 !important;
}

button.button.alt.soldout,
button.button.alt.soldout:hover {
    text-decoration: none;
    width: 100%;
    opacity: .3;
    pointer-events: none;
}

.products .cart .quantity {
    flex: 0;
    display: flex;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover {
    text-decoration: none;
}

.products .cart {
    display: block;
    margin-top: 10px !important;
}

.product-link {
    display: block;
    margin-top: 5px;
}

.products form.cart {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
    gap: 5px;
}

.products .quantity .qty {
    max-width: 80px;
    padding: 12px .1em;
    border: solid 1px #e2e2e2;
    -webkit-appearance: none;
    border-radius: 0;
    text-align: center;
}

.products .quantity.buttons_added {
    border: solid 1px #e2e2e2;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins {
    font-weight: 300;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

a.added_to_cart.wc-forward {
    display: none;
}

.add_to_cart_button.loading,
form.cart button[type="submit"].loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.add_to_cart_button.loading::after,
form.cart button[type="submit"].loading::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    vertical-align: middle;
    background: url(../images/spinner.svg) center/contain no-repeat;
    animation: hubsch-spin 0.8s linear infinite;
}

@keyframes hubsch-spin {
    to { transform: rotate(360deg); }
}


.page-numbers span,
.page-numbers a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce-pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.woocommerce-pagination ul.page-numbers li:hover a,
.woocommerce-pagination ul.page-numbers li a:hover {
    text-decoration: none;
}

.woocommerce-pagination ul.page-numbers span.page-numbers.current {
    font-weight: 600;
}

span.onsale {
    position: absolute;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    background: #E4E8AE !important;
    color: var(--e-global-color-text);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0 !important;
    min-width: 0 !important;
    height: 21px !important;
    width: 40px !important;
    border-radius: 100px;
    line-height: 21px !important;
    font-size: 11px;
    text-align: center;
}

.woocommerce-loop-product__buttons {
    margin-top: 20px;
}

.woocommerce-loop-product__buttons .color-dots {
    bottom: 2px;
}

@media (max-width:1024px) {
    .elementor-element.elementor-products-grid ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:768px) {
    .quantity.buttons_added {
        padding: 5px 0px;
        margin: 0 !important;
    }

    .woocommerce-loop-product__buttons {
        margin-top: 10px;
    }

    ul.products .product .woocommerce-loop-product__link {
        font-size: 12px;
    }

    .before-add-to-cart-archive {
        font-size: 12px;
    }

    a.page-numbers,
    span.page-numbers.current,
    span.page-numbers.dots {
        padding: 5px !important;
        font-size: 12px !important;
    }
}

/* Added to cart notice */

.wc-added-to-cart-notice {
    position: absolute;
    right: 40px;
    bottom: -40px;
    width: auto;
    height: auto;
    padding: 15px 25px;
    z-index: 9999;
    background-color: #D6F0D3;
    color: #618271;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
}

.wc-added-to-cart-notice svg {
    margin-right: 10px;
}

/* Product archive filter */
.archive-img-wrap {
    position: relative;
    margin-left: 0;
    margin-right: 0;
}

.archive-img-wrap img {
    display: block;
}

.archive-img-wrap button,
.archive-img-wrap button:active {
    text-indent: -9999px;
    width: 11px;
    height: 7px;
    padding: 0;
    display: block;
    background-color: transparent !important;
    border: 0;
    margin: 0;
    position: static;
}

.archive-img-wrap button.previous-archive-img {
    background-image: url(../images/arrow-down.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(90deg);
    transform-origin: center;
}

.archive-img-wrap button.next-archive-img {
    background-image: url(../images/arrow-down.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
    transform-origin: center;
    margin-left: 5px;
}

.archive-gallery-controls {
    display: flex;
    position: absolute;
    z-index: 9;
    left: 0;
    bottom: 0;
    align-items: center;
    width: 100%;
}

.archive-gallery-controls>div {
    margin-left: auto;
}

.archive-gallery-controls .download-image-package {
    display: flex;
    font-size: 0;
    flex-direction: row-reverse;
}

ul.products .product .archive-gallery-controls .download-image-package img {
    height: 11px;
    width: auto;
}

.woocommerce.columns-3 .products {
    transition: opacity .5s ease;
}

.filter-updating .woocommerce.columns-3 {
    pointer-events: none;
}

.filter-updating .woocommerce.columns-3 .products {
    opacity: .3;
}

.archive-filters {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    position: absolute;
    top: -50px;
    right: 0;
}

.multi-select {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 200px;
    margin-left: 30px;
    border: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.multi-select .toggle {
    background-image: url(../images/arrow-down.svg);
    background-position: center right 12px;
    background-repeat: no-repeat;
    background-size: 10px;
    font-weight: 400;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}

.multi-select.open .toggle {
    background-image: url(../images/arrow-up.svg);
}

.multi-select .content {
    overflow: hidden;
    max-height: 0;
    position: absolute;
    top: 100%;
    left: -1px;
    z-index: 999;
    background: #fff;
    width: calc(100% + 2px);
    border: 0;
    border-top: 0;
    box-shadow: 2px 12px 32px rgb(0 0 0 / 6%);
}

.multi-select.open .content {
    max-height: 300px;
}

.multi-select-options {
    overflow: auto;
    max-height: 0;
}

.multi-select.open .multi-select-options {
    max-height: 200px;
    padding-top: 15px;
}

.multi-select-option input {
    margin: 0 7px 0 0;
    padding: 0;
}

.multi-select-option label {
    padding: 1px 0;
    flex-grow: 2;
    font-weight: bold;
}

.multi-select-option {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
    padding: 0 15px;
}

.multi-select .submit {
    width: 100%;
    padding: 15px;
}

.multi-select .submit button {
    width: 100%;
    border: 0;
}

.archive-filter-selected-term {
    background-color: #fafafa;
    display: inline-flex;
    align-items: center;
    padding: 0 10px 0 0;
    margin-right: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #8f8f8f;
}

.archive-filter-selected-term .remove {
    cursor: pointer;
    display: inline-block;
    padding: 5px 5px 5px 10px;
}

.archive-filter-selected-terms {
    margin: 10px 0 40px 0;
    display: none;
}

.woocommerce.columns-3 {
    position: relative;
}

.woocommerce.columns-3 .loader {
    position: absolute;
    top: 150px;
    left: 50%;
    margin-left: -60px;
    width: 120px;
    height: 120px;
    border: 4px solid rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    animation: loader-scale 1.5s ease-out infinite;
}

@keyframes loader-scale {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

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

/* Media Queries Smartphones */

@media only screen and (max-width: 768px) {
    .wc-added-to-cart-notice {
        position: fixed;
        left: 0;
        bottom: unset;
        top: 0;
        width: 100%;
        text-align: center;
    }

    .product-sorting select {
        font-size: 16px;
        background-color: #fff;
        border: 0;
        color: #283583;
        padding: 10px 10px;
        font-weight: bold;
    }

    .products .quantity .qty {
        max-width: 100%;
        width: 100%;
    }

    .products h2.woocommerce-loop-product__title {
        max-width: 100%;
    }

    .archive-filters {
        display: block;
        position: relative;
        left: 0;
        right: auto;
        top: 0;
        margin-bottom: 15px;
    }

    .multi-select .toggle {
        background-color: #fff;
        border: 0;
        color: #283583;
        padding: 10px 10px;
    }

    form.multi-select {
        width: 100%;
        margin: 0 0 6px 0;
        font-size: 16px;
    }

    .multi-select.open .content {
        max-height: 300px;
        padding-top: 15px;
        padding-bottom: 15px;
        border: 0;
    }
}

.ifs-loading {
    filter: invert(60%);
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: calc(100% + 15px);
    width: 60px;
    height: 60px;
    background-image: url(../images/spinner.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -9999px;
    font-size: 0;
}


li.product.position-3,
li.product.position-9,
li.product.position-17 {
    grid-column: span 2;
    grid-row: span 2;
}

.woocommerce .products .product.cat-location {
    position: relative;
    background-position: center;
    background-size: cover;
    display: flex !important;
    justify-content: flex-end !important;
    flex-direction: column !important;
}

.woocommerce .products .product.cat-location .full {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.woocommerce .products .product.cat-location div {
    padding: 20px 30px;
}

.woocommerce .products .product.cat-location h3 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 35px;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 5px 0;
    padding: 0;
    text-transform: none;
}

.woocommerce .products .product.cat-location p {
    margin-top: 0;
}

@media screen and (max-width: 1024px) {
    .elementor-widget-wc-archive-products .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .woocommerce .products .product.cat-location.position-3 div,
    .woocommerce .products .product.cat-location.position-9 div,
    .woocommerce .products .product.cat-location.position-17 div {
        padding: 30px 30px 20px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: stretch;
    }

    .woocommerce .products .product.cat-location.position-3 div {
        min-height: 900px;
    }

    .woocommerce .products .product.cat-location.position-9 div {
        min-height: 900px;
    }

    .woocommerce .products .product.cat-location.position-17 div {
        min-height: 900px;
    }

}

@media screen and (max-width: 767px) {

    .woocommerce .products .product.cat-location.position-3 div,
    .woocommerce .products .product.cat-location.position-9 div,
    .woocommerce .products .product.cat-location.position-17 div {
        padding: 20px 20px 15px 20px !important;
    }

    .woocommerce .products .product.cat-location.position-3 div {
        min-height: 420px;
    }

    .woocommerce .products .product.cat-location.position-9 div {
        min-height: 420px;
    }

    .woocommerce .products .product.cat-location.position-17 div {
        min-height: 420px;
    }

    .woocommerce .products .product.cat-location h3 {
        font-size: 30px !important;
        margin: 0;
    }

}

.before-add-to-cart-archive {
    position: relative;
}

.color-dots {
    display: inline-flex;
    position: absolute;
    bottom: 7px;
    gap: 5px;
    align-items: center;
    float: right;

    overflow: visible;
}

@media screen and (max-width: 768px) {
    .color-dots {
        position: static;
        float: none;
        overflow: initial;
        display: flex;
        flex-wrap: wrap;
        padding: 5px 5px 5px 0px;
        gap: 5px;
        align-items: center;
    }
}

.color-dots a {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    flex-shrink: 0;
}

body .wpc-filter-collapsible-reverse .wpc-filter-content,
body .wpc-filter-has-selected .wpc-filter-content,
body .wpc-filter-collapsible.wpc-opened .wpc-filter-content {
    display: none;
}

.elementor-main-swiper:not(.swiper-initialized) {
    opacity: 0;
}

.elementor-main-swiper {
    transition: opacity .3s ease-in-out;
}