/* general style */

.ninetheme-loop-product .product-inner {
    position: relative;
}

.ninetheme-loop-product .details-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ninetheme-loop-product .ninetheme-product-button a {
    line-height: 1;
}

.ninetheme-loop-product .product-labels {
    position: absolute;
    top: 10px;
    left: 15px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.ninetheme-loop-product .thumb-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 186px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.ninetheme-loop-product .thumb-wrapper img {
    width: auto;
}

.ninetheme-loop-product .thumb-wrapper:hover {
    overflow: visible;
}

.ninetheme-loop-product .product-name {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.product-custom-html .notice {
    background: #fff000;
    color: black;
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 3px;
}

.ninetheme-loop-product .product-features {
    display: flex;
    flex-direction: column;
    gap: 0px;
    font-size: 10px;
    text-transform: uppercase;
    list-style: none;
    color: var(--ninetheme-text);
    line-height: 1.7;
    padding: 0;
    margin: 0;
}

.product-features .checked {
    color: var(--ninetheme-green);
}

.ninetheme-loop-product .ninetheme-product-button {
	display: flex;
	align-items: center;
	justify-content: center;
    position: relative;
}

.ninetheme-loop-product .product-actions svg {
    width: 18px;
    height: 18px;
}

.ninetheme-loop-product .product-actions svg {
    fill: var(--ninetheme-text);
}

.ninetheme-loop-product .ninetheme-product-button:hover svg {
    fill: var(--ninetheme-primary);
}

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

.ninetheme-product-button.woosc-btn-added svg {
    fill: var(--ninetheme-green);
}

.ninetheme-product-button.added svg {
    fill: var(--ninetheme-green);
}

.ninetheme-loop-product .product-stock {
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    color: var(--ninetheme-light);
    padding: 4px 10px 4px 6px;
    border-radius: 0px 10px 10px 0px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: max-content;
}

.ninetheme-loop-product .instock {
    background-color: var(--ninetheme-green);
}

.ninetheme-loop-product .outofstock {
    background-color: var(--ninetheme-red);
}

.ninetheme-loop-product .onbackorder {
    background-color: var(--ninetheme-green-soft);
}

.ninetheme-loop-product .product-price {
    color: var(--ninetheme-primary);
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    display:flex;
    gap:10px;
}

.ninetheme-loop-product ins {
	text-decoration: none;
}

.ninetheme-loop-product del {
    color: var(--ninetheme-gray-dark);
}

.ninetheme-loop-product .stock-rating {
    display: flex;
    align-items: center;
    line-height: 1;
    gap: 15px;
}

.ninetheme-loop-product .star-rating,
.ninetheme-loop-product .star-rating>span::before {
    font-size: 11px;
}

.ninetheme-swatches-wrapper .ninetheme-variations {
    gap: 10px;
}

.ninetheme-product-inner a.reset_variations,
.ninetheme-product-inner span.variation-label {
    display: none;
}

.ninetheme-loop-swatches.resettting a.reset_variations {
    display: none!important;
}

.ninetheme-swatches-wrapper .type-color {
    border-radius: 50%;
}

.ninetheme-swatches-wrapper .type-button {
    font-size: 10px;
}

.ninetheme-swatches-wrapper .ninetheme-term .type-button {
    color: var(--ninetheme-dark);
    background: transparent;
}

.ninetheme-swatches-wrapper .ninetheme-term {
    min-width: 15px;
    min-height: 15px;
    border-radius: 10px;
}

.ninetheme-swatches-wrapper .ninetheme-term {
    padding: 1px;
    border: 0px solid var(--ninetheme-gray);
}

.ninetheme-swatches-wrapper .type-button {
    font-size: 11px;
}

.ninetheme-swatches-wrapper .ninetheme-term.ninetheme-selected,
.ninetheme-swatches-wrapper .ninetheme-type-button .ninetheme-term.ninetheme-selected {
    border-color: #25d366;
    border-width: 2px;
    border-style: solid;
}

.ninetheme-swatches-wrapper .ninetheme-type-button .ninetheme-term,
.ninetheme-swatches-wrapper .ninetheme-type-button .ninetheme-term.ninetheme-selected {
    padding: 0;
    min-width: auto;
    min-height: auto;
    border-width: 0;
    border-bottom-width: 2px;
    border-radius: 0;
    height: auto;
}

.ninetheme-swatches-wrapper .terms-outline .type-button {
    padding: 0px !important;
}

.ninetheme-swatches-wrapper .ninetheme-terms {
    gap: 5px;
}

.ninetheme-swatches-wrapper .ninetheme-variations-items select {
    border: 0;
    padding: 0;
    min-height: 15px;
}

.ninetheme-swatches-wrapper .ninetheme-variations-items .select,
.ninetheme-swatches-wrapper .ninetheme-variations-items select,
.ninetheme-variations-items .value,
.ninetheme-variations-items select {
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
}

.ninetheme-swatches-wrapper .ninetheme-term.ninetheme-selected:before {
    content: none;
}
.product-sku {
    font-size: 10px;
    line-height: 1;
    display: flex;
    gap: 3px;
    font-weight: 500;
}
.ajax_add_to_cart.loading,
.ninetheme-btn.ajax_add_to_cart.loading {
	pointer-events: none;
}

.swiper-slide.style-bordered .ninetheme-loop-product {
    border: 1px solid var(--ninetheme-gray);
    padding: 5px;
    border-radius: 4px;
}

.section-custom-categories.style-bordered .row {
    border-top: 1px solid var(--ninetheme-gray);
    border-left: 1px solid var(--ninetheme-gray);
    border-radius: 4px;
    margin-bottom: 0;
    border-right: 0;
    overflow: hidden;
    margin-left: calc(0.5 * var(--bs-gutter-x));
    margin-right: calc(0.5 * var(--bs-gutter-x));
}

.section-custom-categories.style-bordered .ninetheme-loop-product {
    border-right: 1px solid var(--ninetheme-gray);
    border-bottom: 1px solid var(--ninetheme-gray);
    padding: calc(var(--bs-gutter-x) * 0.5);
}

.section-custom-categories.style-bordered .ninetheme-product-loop-inner {
    margin-bottom: 0px;
}

.ninetheme-loop-product .variations_form .ninetheme-btn-reset.reset_variations {
    display: none!important;
}
/* general style */


/* product type list */
.ninetheme-loop-product.type-list {
    position: relative;
    padding: 15px;
    border: 1px solid var(--ninetheme-border);
    -webkit-box-shadow: 1px 2px 4px rgba(33, 37, 41, 0.05);
    box-shadow: 1px 2px 4px rgba(33, 37, 41, 0.05);
    border-radius: 10px;
    overflow: hidden;
}
.ninetheme-loop-product.type-list:hover {
    border-color: var(--ninetheme-primary);
}
.type-list .list-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.type-list .thumb-wrapper,
.ninetheme-loop-product.type-list .thumb-wrapper {
    margin: 0px;
    flex: 1;
    max-width: 40%;
    position: relative;
    overflow: hidden;
}
.type-list .details-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.ninetheme-loop-product.type-list:hover img {
    -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);
}
.type-list .product-labels {
    top: 0;
    left: 0;
}
.type-list .product-desc {
    font-size: 12px;
    margin: 0;
}
.type-list .cart-actions {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    gap: 20px;
}
.type-list .product-buttons {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.type-list .ninetheme-product-button {
    background-color: var(--ninetheme-light);
    width: 30px;
    height: 30px;
    border-radius: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.type-list .ninetheme-svg-icon {
    max-width: 16px;
    max-height: 16px;
    fill: var(--ninetheme-dark);
}

.type-list .cart-wrapper,
.type-list .ninetheme-product-cart {
    margin-top: 0;
    width: 100%;
}
.type-list .cart-wrapper svg {
    fill: var(--ninetheme-light);
}
.type-list .ninetheme-loop-swatches {
    width: 100%;
}
.type-list .ninetheme-swatches-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    background-color: var(--ninetheme-green-bg);
    border: 1px solid var(--ninetheme-green);
    border-radius: 5px;
    padding: 15px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    -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);
}

.type-list:hover .ninetheme-swatches-wrapper {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}
.type-list:hover .has-swatches .details-wrapper>*:not(.ninetheme-swatches-wrapper) {
    opacity: 0.5;
}
.type-list .ninetheme-swatches-wrapper .ninetheme-term {
    border-color: var(--ninetheme-green);
}

.type-list .ninetheme-swatches-wrapper .ninetheme-term:hover {
    border-color: var(--ninetheme-secondary);
}

.type-list .ninetheme-swatches-wrapper .ninetheme-term:hover .type-button {
    color: var(--ninetheme-secondary);
}

.has-swatches .ninetheme-loop-swatches {
    width:100%;
}

.ninetheme-loop-product .cart-big .loop-cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ninetheme-loop-product .cart-small .loop-cart {
    display: flex;
    gap: 5px;
}

.ninetheme-loop-product .cart-small .loop-cart.type-variable {
    display: flex;
    gap: 10px;
}

.ninetheme-loop-product .cart-small .loop-cart.type-variable {
    flex-direction: column;
}

.has-qty.cart-small .type-simple .ninetheme-btn,
.has-qty.cart-small .type-variable .ninetheme-btn {
    margin: 0 auto;
    min-width: 40px;
    max-width: 40px;
    padding: 0;
}
.outofstock .has-qty.cart-small .type-simple .ninetheme-btn,
.outofstock .has-qty.cart-small .type-variable .ninetheme-btn {
    max-width: 100%;
    overflow: hidden;
}
.ninetheme-loop-product .cart-small .type-variable .woocommerce-variation-add-to-cart {
    gap: 5px;
    max-width: 100%;
}

.ninetheme-loop-product:not(.outofstock) .cart-small .type-simple span.cart-text,
.ninetheme-loop-product:not(.outofstock) .cart-small .type-variable span.cart-text {
    display: none;
}

.ninetheme-loop-product:not(.outofstock) .cart-small .type-simple .ninetheme-product-cart.has-icon svg,
.ninetheme-loop-product:not(.outofstock) .cart-small .type-variable .ninetheme-product-cart.has-icon svg {
    position: relative;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
    margin-right: 0;
}

.ninetheme-loop-product .cart-big .quantity {
    max-width: 100%;
}

.ninetheme-loop-product .cart-small .quantity {
    max-width: calc(100% - 45px);
    width: 100%;
}

.ninetheme-loop-product .cart-small .ninetheme-btn {
    position: relative;
    overflow: visible;
}
.ninetheme-loop-product .cart-small .ninetheme-btn:hover .ninetheme-hint {
    opacity: 1;
    visibility: visible;
    top: -40px;
    -webkit-transition-delay: .1s;
    -moz-transition-delay: .1s;
    transition-delay: .1s;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    transition: .3s ease;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    transition-delay: 0s;
}

.ninetheme-loop-product .woocommerce-variation.single_variation {
    display: none!important;
}

.loop-cart .ninetheme-type-color .ninetheme-term {
    min-width: 15px;
    min-height: 15px;
}

.loop-cart .woocommerce-variation-add-to-cart {
    margin-top: 0px;
}

@media(max-width:992px){
    .ninetheme-loop-product:not(.product-type-variable) .has-qty.cart-small {
        padding-bottom: 50px;
    }
}

@media(max-width:768px){
    .ninetheme-loop-product .product-price,
    .ninetheme-loop-product .price-wrapper {
        font-size: 12px;
    }
}
@media(max-width:480px){
    .type-list .list-inner,
    .type-list .cart-actions{
        gap: 10px;
    }
    .ninetheme-loop-product.type-list .thumb-wrapper {
        min-height: 125px;
    }
    .ninetheme-loop-product .product-name {
        line-height: 1.5;
        font-size:12px;
    }
}
@media(max-width:360px){
    .ninetheme-loop-product .cart-small .loop-cart {
        flex-wrap: wrap;
    }
    .ninetheme-loop-product:not(.product-type-variable) .has-qty.cart-small {
        padding-bottom: 95px;
    }
    .ninetheme-loop-product .cart-small .quantity {
        max-width: 100%;
    }
    .has-qty.cart-small .type-simple .ninetheme-btn,
    .has-qty.cart-small .type-variable .ninetheme-btn {
        max-width: 100%;
    }
    .ninetheme-loop-product .product-price {
        flex-wrap: wrap;
        gap: 5px;
    }
}

@media(min-width:768px){
    .loop-list-item {
        padding: 20px;
    }
}

@media(max-width:1024px) {
	.loop-list-item span.ninetheme-hint {
        display: none;
    }
    .ninetheme-loop-product .product-features {
        display:none;
    }
    .ninetheme-loop-product .fatures-mobile .product-features {
        display:flex;
    }
    .ninetheme-loop-product .ninetheme-stock-status {
        font-size:9px;
    }
}
/* product type list */

.has-thumbs .thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    z-index: 2;
    position: absolute;
    bottom: 10px;
}
.has-thumbs .dot {
    width: 8px;
    height: 8px;
    border-radius: 10px;
    background-color: var(--ninetheme-gray);
    cursor: pointer;
}
.has-thumbs .dot.active {
    background-color: var(--ninetheme-primary);
}

.product-labels-bottom {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.product-labels-bottom .ninetheme-label {
    gap: 5px;
    font-size: 8px;
}
.ninetheme-discount.ninetheme-label {
    gap: 3px;
    border-radius: 5px;
}
