/* general style */
.wooma-product-labels {
	display: flex;
	align-items: flex-start;
	z-index: 2;
}
.wooma-loop-product .wooma-product-labels {
	position: absolute;
	top: 10px;
	left: 10px;
	flex-direction: column;
}
.wooma-summary-item .wooma-label + .wooma-label{
	margin-left: 10px;
}

.wooma-loop-product .wooma-product-labels>span:not(:last-child) {
	margin-bottom: 5px;
}

.wooma-product-button {
	display: flex;
	align-items: center;
	justify-content: center;
}

.wooma-product-button:hover,
.wooma-product-button:hover svg {
    color: var(--wooma-dark-soft);
    background: none;
    fill: var(--wooma-dark-soft);
}

.woosc-btn.woosc-btn-added:before {
    content: none;
}

.wooma-loop-product .wooma-product-button.woosc-btn-added {
    background-color: var(--wooma-dark);
}

.wooma_ajax_add_to_cart.loading,
.wooma-btn.wooma_ajax_add_to_cart.loading {
	pointer-events: none;
}
a.wooma-add-to-cart-icon-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
}
.type-3 .wooma-loop-swatches .wooma-type-button .wooma-term {
    color: var(--wooma-dark);
}
.wooma-reset-variations.active {
    line-height: 1;
    margin-top: 5px;
}
.wooma-product-custom-layout .wooma-loop-swatches .wooma-variations {
    margin-bottom: 10px;
}
/* general style */


/* product type 1 */
.wooma-product-loop-inner {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}
.swiper-slide .wooma-product-loop-inner {
    margin-bottom: 0;
}
.wooma-product-loop-inner .wooma-product-thumb {
    margin-bottom: 20px;
    position: relative;
    display: block;
    overflow: hidden;
}
.wooma-transform-replace {
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    -moz-transition: all ease 0.25s;
    -webkit-transition: all ease 0.25s;
    -o-transition: all ease 0.25s;
    -ms-transition: all ease 0.25s;
    transition: all ease 0.25s;
}
.wooma-product-type-1 .wooma-product-buttons,
.wooma-product-type-2 .wooma-product-buttons,
.wooma-product-type-3 .wooma-product-buttons,
.wooma-product-type-list .wooma-product-buttons {
    position: absolute;
    top: 45px;
    right: 10px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}
.wooma-product-type-1:hover .wooma-product-buttons,
.wooma-product-type-2:hover .wooma-product-buttons,
.wooma-product-type-3:hover .wooma-product-buttons,
.wooma-product-type-list:hover .wooma-product-buttons {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}
.wooma-product-type-1 .wooma-svg-icon,
.wooma-product-type-2 .wooma-svg-icon,
.wooma-product-type-3 .wooma-svg-icon,
.wooma-product-type-list .wooma-svg-icon {
    max-width: 16px;
    max-height: 16px;
}
.wooma-product-type-1 .wooma-product-button,
.wooma-product-type-2 .wooma-product-button,
.wooma-product-type-3 .wooma-product-button,
.wooma-product-type-list .wooma-product-button {
    background-color: transparent;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    position: relative;
}
.wooma-product-type-1 .wooma-wishlist-btn,
.wooma-product-type-2 .wooma-wishlist-btn,
.wooma-product-type-3 .wooma-wishlist-btn,
.wooma-product-type-list .wooma-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}
.wooma-product-type-1:hover .wooma-product-button,
.wooma-product-type-2:hover .wooma-product-button,
.wooma-product-type-3:hover .wooma-product-button,
.wooma-product-type-4:hover .wooma-product-button,
.wooma-product-type-list:hover .wooma-product-button {
    background-color: var(--wooma-light);
	-moz-transition: all .25s cubic-bezier(.25,.46,.45,.94);
	-o-transition: all .25s cubic-bezier(.25,.46,.45,.94);
	-webkit-transition: all .25s cubic-bezier(.25,.46,.45,.94);
	transition: all .25s cubic-bezier(.25,.46,.45,.94);
}
.wooma-product-type-1 .wooma-product-button + .wooma-product-button,
.wooma-product-type-2 .wooma-product-button + .wooma-product-button,
.wooma-product-type-3 .wooma-product-button + .wooma-product-button,
.wooma-product-type-list .wooma-product-button + .wooma-product-button {
    margin-top: 5px;
}
.wooma-product-loop-inner .wooma-stock-status {
    font-size: 12px;
    color: var(--wooma-green);
    font-weight: 600;
}
.wooma-product-loop-inner .wooma-stock-status .stock-value {
    color: var(--wooma-red);
}
.wooma-product-loop-inner .wooma-loop-swatches {
    margin-top: 15px;
}
.wooma-product-loop-inner .wooma-variations {
    margin: 0;
}
.wooma-product-loop-inner .wooma-product-excerpt {
    margin: 0;
    font-size: 12px;
    margin-bottom: 10px;
}
.type-2 .wooma-inline-two-block + .wooma-product-excerpt {
    margin-top: 10px;
}
.wooma-product-loop-inner ul.product-features {
    font-size: 12px;
    line-height: 14px;;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.wooma-product-loop-inner ul.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}
.wooma-product-loop-inner ul.product-features span.checked {
    color: var(--wooma-green);
}
.wooma-loop-swatches .wooma-small-title.label {
    display: none;
}
.wooma-loop-swatches .select {
    width: 100%;
}
.wooma-loop-swatches select {
    width: 100%;
    padding: 0 10px;
    min-height: 30px;
}
.wooma-loop-swatches .wooma-reset-variations:not(.active) {
    display: none;
}
.wooma-loop-swatches .wooma-reset-variations > a {
    background: transparent;
    color: var(--wooma-dark);
    padding: 0;
    min-height: auto;
    margin-left: 0;
    border-radius: 0;
    display: none;
}
.wooma-loop-product.type-4 {
    margin-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}
.wooma-product-type-4.wooma-product-loop-inner {
    margin-bottom: 0;
    border: 1px solid var(--wooma-border);
    height: 100%;
    width: 100%;
    padding: 15px;
    padding-bottom: 70px;
}
.wooma-product-type-4 .wooma-product-cart {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
    z-index: 1;
    min-width: auto;
    height: auto;
    min-height: 38px;
    text-align: center;
}

.wooma-product-type-4 .wooma-product-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    z-index: 5;
}
.wooma-loop-product.type-4 .wooma-product-labels {
    top: 15px;
    left: 15px;
}
.wooma-product-type-4 .wooma-product-button {
    width: 30px;
    height: 30px;
    border-radius: 30px;
}
.wooma-product-type-4 .wooma-product-buttons .wooma-product-button:nth-child(2),
.wooma-product-type-4 .wooma-product-buttons .wooma-product-button:nth-child(3) {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}
.wooma-product-type-4:hover .wooma-product-buttons .wooma-product-button:nth-child(2),
.wooma-product-type-4:hover .wooma-product-buttons .wooma-product-button:nth-child(3) {
    opacity: 1;
    visibility: visible;

    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}
.wooma-product-type-4 .wooma-svg-icon {
    width: 18px;
    height: 18px;
}
.wooma-product-name {
    margin: 0;
}
.wooma-product-type-1 .wooma-product-buttons,
.wooma-product-type-2 .wooma-product-buttons,
.wooma-product-type-3 .wooma-product-buttons,
.wooma-product-type-list .wooma-product-buttons,
.wooma-product-type-2 .wooma-product-cart,
.wooma-product-type-3 .wooma-product-details,
.wooma-transform-replace .wooma-product-name,
.wooma-transform-replace .wooma-product-cart {
	-moz-transition: all .25s cubic-bezier(.25,.46,.45,.94);
	-o-transition: all .25s cubic-bezier(.25,.46,.45,.94);
	-webkit-transition: all .25s cubic-bezier(.25,.46,.45,.94);
	transition: all .25s cubic-bezier(.25,.46,.45,.94);
}
.wooma-product-loop-inner:hover .wooma-transform-replace .wooma-product-name {
    opacity: 0;
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}
.wooma-product-loop-inner:hover .wooma-product-thumb img:not[data-hover-slides] {
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transform-origin: center center;
    -moz-transition: all .5s cubic-bezier(.25,.46,.45,.94);
    -o-transition: all .5s cubic-bezier(.25,.46,.45,.94);
    -webkit-transition: all .5s cubic-bezier(.25,.46,.45,.94);
    transition: all .5s cubic-bezier(.25,.46,.45,.94);
}
.wooma-product-type-1 .wooma-product-cart {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    opacity: 0;
}
.wooma-product-loop-inner:hover .wooma-transform-replace .wooma-product-cart {
    top: 0;
    opacity: 1;
}
.wooma-product-hint {
    background-color: rgba(51,51,51,.9);
    font-size: 12px;
    line-height: 1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    position: absolute;
    top: auto;
    right: 50px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    padding: 8px 9px 8px 9px;
    color: var(--wooma-light);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 7px 15px rgba(0,0,0,.3);
    -webkit-transition: opacity .3s linear,right .3s linear;
    transition: opacity .3s linear,right .3s linear;
}
.wooma-product-hint:after {
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: -10px;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px;
    border-color: transparent transparent transparent rgba(51,51,51,.9);
}
.wooma-product-button:hover .wooma-product-hint {
    visibility: visible;
    opacity: 1;
    right: 40px;
}
.wooma-summary-item .wooma-product-hint {
    top: -30px;
    right: auto;
    -webkit-transition: opacity .3s linear,top .3s linear;
    transition: opacity .3s linear,top .3s linear;
}
.wooma-summary-item .wooma-product-hint:after {
    top: auto;
    bottom: 0;
    margin-top: 0px;
    margin-bottom: -10px;
    transform: translateX(calc(-50% - 1px));
    right: auto;
    left: 50%;
    border-color: rgba(51,51,51,.9) transparent transparent transparent;
}
.wooma-summary-item .wooma-product-button:hover .wooma-product-hint {
    right: auto;
    top: -15px;
}
.wooma-product-thumb-wrapper .wooma-stock-status {
    font-size: 9px;
    padding: 5px 10px;
    letter-spacing: 0.5px;
    background: var(--wooma-red);
    color: var(--wooma-light);
    border-radius: 10px;
    display: inline-block;
    position: absolute;
    bottom: 10px;
    right: 10px;
    line-height: 1;
}
/* product type 1 */

/* product type 2 */
.wooma-product-thumb-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}
.wooma-product-loop-inner .wooma-product-thumb {
    margin-bottom: 0;
}
.wooma-product-type-2 .wooma-product-cart {
    position: absolute;
    width: 100%;
    bottom: 0;
    opacity: 0;
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    z-index: 1;
}
.wooma-product-loop-inner:hover .wooma-product-cart {
	opacity: 1;
	-moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
}
.wooma-product-type-2 .wooma-product-name,
.wooma-product-type-3 .wooma-product-name {
    margin-bottom: 10px;
}
.wooma-product-type-1 .added_to_cart,
.wooma-product-type-2 .added_to_cart,
.wooma-product-type-3 .added_to_cart {
    display: none;
}
/* product type 2 */

/* product type 3 */
.wooma-product-type-3 .product-link {
    padding-bottom: 150%;
}
.woocommerce.wooma-product-type-3 .product-link img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.woocommerce.wooma-product-type-3 .wooma-product-details {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: #00000073;
    color: #fff;
	-moz-transform: translateY(45px);
    -ms-transform: translateY(45px);
    -webkit-transform: translateY(45px);
    transform: translateY(45px);
}
.woocommerce.wooma-product-type-3 .wooma-product-details .wooma-product-cart {
    width: 100%;
    margin-top: 10px;
}

.wooma-product-type-3 .wooma-product-name,
.wooma-product-type-3 .woocommerce-variation-price .price span.del>span,
.wooma-product-type-3 .wooma-price span.del>span,
.woocommerce div.product .wooma-product-type-3 p.price,
.woocommerce div.product .wooma-product-type-3 span.price,
.wooma-product-type-3 .woocommerce-variation-price .price,
.wooma-product-type-3 .wooma-price {
    color: var(--wooma-light);
}
.wooma-product-type-3:hover .wooma-product-details {
	-moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
}

.wooma-product-type-3 .star-rating,
.wooma-product-type-3 .star-rating>span::before {
    font-size: 9px;
}
/* product type 3 */

/* product type list */
.wooma-product-type-list {
    display: flex;
}
.wooma-loop-product .wooma-product-type-list .wooma-product-labels {
    position: relative;
    top: 0;
    left: 0;
    flex-direction: row;
}
.wooma-product-type-list .wooma-product-labels span+span {
    margin-left: 10px;
}
.wooma-product-type-list .wooma-product-details {
    position: relative;
    padding: 15px;
    width: 60%;
}
.wooma-product-type-list .wooma-product-thumb-wrapper {
    position: relative;
    width: 40%;
}

.wooma-product-type-list .wooma-product-name {
    margin: 10px 0;
}
.wooma-product-type-list .wooma-btn-small {
    margin-top: 10px;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    display: inline-block;
}
/* product type list */

@media(max-width:768px) {
    .wooma-product-type-list {
        flex-direction: column;
    }
    .wooma-product-type-list .wooma-product-thumb-wrapper,
    .wooma-product-type-list .wooma-product-details {
        width: 100%;
    }
}
@media(max-width:1024px) {
	.wooma-product-type-1 .wooma-product-buttons,
	.wooma-product-type-2 .wooma-product-buttons,
	.wooma-product-type-3 .wooma-product-buttons,
	.woocommerce.wooma-product-type-3 .wooma-product-details,
	.wooma-product-type-2 .wooma-product-cart {
	    opacity: 1;
	    visibility: visible;
	    -moz-transform: none;
	    -ms-transform: none;
	    -webkit-transform: none;
	    transform: none;
	}
	.wooma-product-type-1 .wooma-product-button,
	.wooma-product-type-2 .wooma-product-button,
	.wooma-product-type-3 .wooma-product-button {
	    background-color: var(--wooma-light);
	}
	.woocommerce.wooma-product-type-3 .wooma-product-details {
	    padding: 0;
	    background: transparent;
	    position: relative;
	    bottom: auto;
	    top: auto;
	    margin-top: 10px;
	}
	.wooma-product-type-3 .wooma-product-name,
	.wooma-product-type-3 .woocommerce-variation-price .price span.del>span,
	.wooma-product-type-3 .wooma-price span.del>span,
	.woocommerce div.product .wooma-product-type-3 p.price,
	.woocommerce div.product .wooma-product-type-3 span.price,
	.wooma-product-type-3 .woocommerce-variation-price .price,
	.wooma-product-type-3 .wooma-price {
	    color: var(--wooma-dark);
	}
	.wooma-product-type-3 .wooma-inline-two-block {
	    flex-wrap: wrap;
	    flex-direction: column;
	    align-items: flex-start;
	}
    .wooma-product-type-1 .wooma-product-buttons,
    .wooma-product-type-2 .wooma-product-buttons,
    .wooma-product-type-3 .wooma-product-buttons {
        top: 10px;
    }
    .wooma-product-loop-inner:hover .wooma-transform-replace .wooma-product-name {
        opacity: 1;
        -moz-transform: none;
        -ms-transform: none;
        -webkit-transform: none;
        transform: none;
    }
    .wooma-product-loop-inner:hover .wooma-transform-replace .wooma-product-cart {
        top: 100%;
        opacity: 0;
        -moz-transform: none;
        -ms-transform: none;
        -webkit-transform: none;
        transform: none;
    }
}
/* product type 3 */
@media(max-width:480px) {
    .wooma-product-name {
        font-size: 13px;
    }
}
.wooma-product-type-woo span.onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    font-weight: 600;
}
.wooma-product-type-woo .woocommerce-loop-product__title {
    font-size: 14px;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 5px;
}
.wooma-product-type-woo .star-rating {
    margin-right: 10px;
}
.wooma-product-type-woo .button {
    margin-top: 10px;
}
.wooma-product-type-woo .added_to_cart {
    display: none;
}
form.loop-cart {
    width: 100%;
    gap: 10px;
    margin-top: 10px;
}
form.loop-cart>div {
    flex: 1 0 auto;
    max-width: 100%;
}
form.loop-cart .woocommerce-variation-add-to-cart,
form.loop-cart .woocommerce-variation-price {
    margin-top: 0;
}

form.loop-cart .quantity,
form.loop-cart .single_add_to_cart_button {
    width: 100%;
    flex: 1;
    max-width: none;
}
form.loop-cart .reset_variations.wooma-btn-reset {
    background: transparent;
    color: #000;
    padding: 0;
    min-height: auto;
    margin: 0;
    border-radius: 0;
    display: none;
}
form.loop-cart .reset_variations.wooma-btn-reset.active {
    display: inline-flex;
}
form.loop-cart .woocommerce-variation.single_variation {
    display: none!important;
}
.wooma-product-thumb-wrapper .hover-slider-indicator {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 4px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.375rem;
    bottom: 0.375rem;
    left: 0.5rem;
}
.wooma-product-thumb-wrapper .hover-slider-indicator .hover-slider-indicator-dot {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--wooma-red-bg);
}
.wooma-product-thumb-wrapper .hover-slider-indicator .hover-slider-indicator-dot.active {
    background-color: var(--wooma-red);
}
.type-3 .hover-slider-images-toggler {
    z-index: 5;
}
.type-3 .wooma-product-thumb-wrapper .hover-slider-indicator {
    bottom: auto;
    left: auto;
    right: 0.5rem;
    z-index: 1;
    top: 50%;
    flex-direction: column;
    transform: translateY(-50%);
    display: none;
}
.wooma-product-type-2.wooma-product-loop-inner.has-cart-qty,
.wooma-product-type-4.wooma-product-loop-inner.has-cart-qty {
    height: 100%;
}

.cart-qty-open .wooma-loop-product {
    margin-bottom: 30px;
}

.cart-qty-open .wooma-product-loop-inner {
    margin: 0;
}

.woo-products-grid-masonry .type-2 .wooma-product-loop-inner,
.swiper-slide .type-2 .wooma-product-loop-inner,
.cart-qty-open .type-2 .wooma-product-loop-inner {
    margin: 0;
    height: 100%;
    padding-bottom: 96px;
}

.type-2 .has-cart-qty form.loop-cart:not(.type-variable),
.type-2 .has-cart-qty form.loop-cart.type-variable .single_variation_wrap {
    margin-top: 0;
    position: absolute;
    bottom: 0px;
    max-width: 100%;
    left: 0;
}

.type-4 .has-cart-qty form.loop-cart:not(.type-variable) {
    margin-top: 0;
    position: absolute;
    bottom: 15px;
    max-width: calc(100% - 30px);
    left: 15px;
}

.type-4 .has-cart-qty form.loop-cart.type-variable .single_variation_wrap {
    position: absolute;
    bottom: 15px;
    left: 15px;
    max-width: calc(100% - 30px)!important;
}

.cart-qty-open .swiper-slide .wooma-loop-product {
    margin-bottom: 0;
    height: 100%;
}


form.loop-cart .wooma-type-image .wooma-term {
    height: 35px;
    width: 35px;
}
form.loop-cart .wooma-type-color .wooma-term {
    border-radius: 0;
    flex: 1;
    max-width: 25%;
}
.wooma-type-button .wooma-term {
    font-size: 12px;
    flex: 1;
    border: 1px solid var(--wooma-gray);
    max-width: 25%;
}
form.loop-cart .wooma-term.wooma-selected:before{
    content: none;
}
form.loop-cart .wooma-type-image .wooma-term.wooma-selected,
form.loop-cart .wooma-type-color .wooma-term.wooma-selected,
form.loop-cart .wooma-type-button .wooma-term.wooma-selected {
    border: 2px solid #00d084;
}

form.loop-cart .reset_variations.wooma-btn-reset:not(.active) {
    display: none!important;
}
