/* ul.products .product {
    border: 1px solid #F1F8E8;
} */


/* ul.products .product:not(.splide__slide) {
    width: 100% !important;
    margin: 0 !important;
} */

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: var(--wp--preset--color--primary-color);
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product.sale .price {
    color: #e8620f;
}
ul.products li.product.type-product .price-addtocart .iworks-omnibus {
    display: none !important;
}

ul.products li.product.type-product .price-addtocart>.price {
    display: flex;
    margin: 0;
    line-height: 1;
    gap: 3px;
}

ul.products li.product img.attachment-woocommerce_thumbnail{
    transition: .2s;
}

ul.products li.product:hover img.attachment-woocommerce_thumbnail {
    transform: scale(1.03);
}

ul.products .product img.attachment-woocommerce_thumbnail {
    margin-bottom: 0 !important;
}



ul.products li.product>.button {
    color: #fff;
    background: var(--woo-btn-background-color) !important;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    padding: 10px;
    width: 100%;
    border-radius: 0;
    margin-top: 0 !important;
}

ul.products li.product a.button.added:after {
    background: var(--wp--preset--color--light-primary-color);
    border-radius: 50%;
    padding: 2px;
    font-family: WooCommerce;
    content: "\e017";
    vertical-align: text-top;
    display: block;
    font-size: 9px;
    width: 15px;
    color: #fff;
    height: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 7px;
    display: none;
}

ul.products li.product a.button.loading::after {
    top: unset !important;
    right: unset !important;
    font-family: WooCommerce !important;
    content: "\e01c" !important;
    border-radius: 50%;
    padding: 2px;
    color: var(--woo-btn-background-color);
    position: relative !important;
    vertical-align: text-top;
    display: block;
    font-size: 12px;
    -webkit-animation: spin 2s linear infinite !important;
    animation: spin 2s linear infinite !important;
    height: 15px;
    height: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 7px;
}

ul.products li.product a.added_to_cart.wc-forward {
    display: none !important;
}



ul.products li.product .woocommerce-loop-product__title {
    color: var(--kc-dark);
    text-align: left;
    font-size: 13px !important;
    padding-block: 0 !important;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wp--preset--color--primary-text-color);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 5px !important;
}

ul.products li.product .woocommerce-product-rating {
    display: flex;
    justify-content: center;
}


ul.products li.product .woocommerce-loop-product__link img {
    object-fit: contain;
    aspect-ratio: 3 / 2.22;
}

ul.products li.product .price del bdi {
    color: #969696;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: line-through;
}

ul.products li.product .price del {
    color: #969696;
    text-decoration: none;
}

ul.products li.product .price del {
    opacity: 1 !important;
    order: 2;
}

ul.products .product .price ins bdi,
ul.products .product .price bdi {
    /* color: #333; */
    font-size: 14px;
    font-weight: 700;
}

ul.products .product>a>.price {
    text-align: left;
}

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

ul.products li.product .kc-pc__specs {
    font-size: 11.5px;
    color: var(--kc-gray);
    margin-bottom: 8px;
}

@media(min-width:768px) {
    ul.products li.product .kc-pc__specs {

        font-size: 13px;
    }

    /* ul.products .product .imagewrapper {
        padding: 32px 0 0 0;
    } */
    /* ul.products li a > div:has(.wp-post-image) {
    
    } */
    ul.products li.product img.wp-post-image {
        margin: 0 !important;
    }

    ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }

    ul.products li.product .price del bdi {
        font-size: 12px;
    }

    ul.products .product .price ins bdi,
    ul.products .product .price bdi {
        font-size: 18px;
    }

    ul.products .product>a>.price {
        /* padding-top: 24px; */
        /* color: #333 !important; */
        font-weight: 500 !important;
    }

    ul.products .product-type-variable>a>.price .woocommerce-Price-amount {
        margin-left: 3px;
    }


    ul.products li.product>.button {
        font-size: 16px;
    }
}

.awl-label-type-archive.advanced-woo-labels {
    gap: 7px;
}

.awl-label-type-archive.advanced-woo-labels .awl-label-wrap {
    margin-right: 0 !important;
}




a.button.alt.add_to_wishlist {
    background-color: unset !important;
    background: unset !important;
}

a.button.alt.add_to_wishlist:hover {
    background-color: unset !important;
    background: unset !important;
}


/* new css */

ul.products li.product {
    text-decoration: none;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box;
    cursor: pointer;
    background: #fff;
    border: 1px solid #00000014;
    border-radius: 8px;
    transition: transform .16s, box-shadow .16s;
    overflow: hidden;
    box-shadow: 0 2px 12px #0000000f;
}

ul.products li.product.sale {
    background: #fff8f3;
    border: 2px solid #e8620f;
}

ul.products li.product.featured {
    border: 2px solid var(--kc-yellow);
    background: #fffceb;
}

ul.products li.product .kc-pc__body {
    flex-direction: column;
    flex: 1;
    padding: 10px 11px 12px;
    display: flex;
}

@media (min-width:992px) {

    ul.products li.product .kc-pc__body {
        padding: 14px 16px 16px;

    }
}


ul.products li.product .woocommerce-loop-product__link p.iworks-omnibus {
    display: none !important;
}

ul.products .product>a>.price {
    margin-top: auto;
    border-top: 1px solid #F1EEEE;
    padding-top: 10px;
    width: 100%;
    display: flex !important;
    align-items: baseline;
    gap: 5px;
}


.kc-pc__delivery {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    margin-bottom: 7px;
    color: #2e7d32;
    overflow: hidden;
}

.kc-pc__delivery svg {
    flex-shrink: 0;
    transition: opacity .25s ease;
}

.kc-pc__delivery-text {
    font-size: 9.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kc-pc__delivery--out {
    color: #757575;
}

/* Loading: until the JS fills in the date */
.kc-pc__delivery:not([data-kc-done]) svg {
    opacity: .35;
}

.kc-pc__delivery:not([data-kc-done]) .kc-pc__delivery-text {
    width: 96px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg,
            color-mix(in srgb, currentColor 10%, transparent) 25%,
            color-mix(in srgb, currentColor 25%, transparent) 50%,
            color-mix(in srgb, currentColor 10%, transparent) 75%);
    background-size: 200% 100%;
    animation: kc-delivery-shimmer 1.2s ease-in-out infinite;
}

.kc-pc__delivery[data-kc-done] .kc-pc__delivery-text {
    animation: kc-delivery-in .3s ease-out;
}

@keyframes kc-delivery-shimmer {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: -100% 0;
    }
}

@keyframes kc-delivery-in {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

ul.products li.product.type-product .price-addtocart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: auto;

}

ul.products li.product.type-product .price-addtocart:has(.price) {
    border-top: 1px solid #0000001a;
    padding-top: 14px;
}

ul.products li.product.type-product .price-addtocart a {
    margin: 0 !important;
    background-color: #f4f4f2;
    border: 1px solid #e7e7e3;
    min-width: 36px;
    height: 36px;
    color: #4b524d;
    border-radius: 10px;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
    display: none !important;

}

ul.products li.product.type-product .price-addtocart a:hover {
    background: var(--kc-yellow) !important;
    border-color: var(--kc-yellow) !important;
    color: var(--kc-dark) !important;
}

ul.products li.product.type-product .price-addtocart a:hover svg {

    stroke: var(--kc-dark) !important;
}

ul.products li.product.type-product .price-addtocart:not(:has(.price)) a {
    margin-left: auto !important;
}

ul.products li.product.type-product>.button {
    color: #fff;
    background: var(--woo-btn-background-color) !important;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    padding: 10px;
    width: 100%;
    border-radius: 0;
    margin-top: 0 !important;
}

ul.products li.product.type-product a.button.added:after {
    background: var(--wp--preset--color--light-primary-color);
    border-radius: 50%;
    padding: 2px;
    font-family: WooCommerce;
    content: "\e017";
    vertical-align: text-top;
    display: block;
    font-size: 6px;
    width: 15px;
    color: var(--kc-dark);
    height: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 7px;
    border: 1px solid var(--kc-dark);
    background: var(--kc-yellow);
    position: absolute;
    bottom: -3px;
    right: -3px;
}

/* ul.products li.product.type-product a.button.loading {
    padding-right: 0 !important;
} */
ul.products li.product.type-product a.button.loading::after {
    top: unset !important;
    font-family: WooCommerce !important;
    content: "\e01c" !important;
    border-radius: 50%;
    padding: 2px;
    color: #000000 !important;
    position: relative !important;
    vertical-align: text-top;
    display: block;
    font-size: 12px;
    -webkit-animation: spin 2s linear infinite !important;
    animation: spin 2s linear infinite !important;
    height: 15px;
    height: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 7px;
    position: absolute !important;
    bottom: -3px !important;
    right: -3px !important;
}

ul.products li.product.type-product a.added_to_cart.wc-forward {
    display: none !important;
}

/* ul.products li.product.type-product .price-addtocart a.not-purchasable,
ul.products li.product.type-product .price-addtocart a.out-of-stock {
    display: none !important;

} */
ul.products li.product .kc-loop-image:not(:has(> div)),
ul.products li.product .kc-loop-image>div {
    background: #fff;
    justify-content: center;
    align-items: center;
    display: flex !important;
    position: relative;
    aspect-ratio: 4 / 3;
}

ul.products li.product .kc-loop-image img.attachment-woocommerce_thumbnail {
    object-fit: contain;
    max-width: 78%;
    max-height: 84%;
}

ul.products li.product {
    position: relative;
}

ul.products li.product .woocommerce-loop-product__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
}

ul.products li.product .add_to_cart_button,
ul.products li.product .added_to_cart,
ul.products li.product .woosc-btn,
ul.products li.product .kc-pc__inquiry {
    position: relative;
    z-index: 11;
}

ul.products li.product .kc-timer {
    color: #e8620f;
    background: #e8620f1a;
    border-radius: 5px;
    align-self: flex-start;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    padding: 4px 9px;
    display: inline-flex;
}

ul.products li.product .kc-timer svg {
    flex-shrink: 0;
    transition: opacity .25s ease;
}

ul.products li.product .kc-timer__text {

    font-size: 9.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Loading: until the JS fills in the countdown */
ul.products li.product .kc-timer:not([data-kc-done]) svg {
    opacity: .35;
}

ul.products li.product .kc-timer:not([data-kc-done]) .kc-timer__text {
    position: relative;
    color: transparent;
    /* placeholder text stays hidden but keeps the width */
}

ul.products li.product .kc-timer:not([data-kc-done]) .kc-timer__text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 8px;
    margin-top: -4px;
    border-radius: 999px;
    background: linear-gradient(90deg,
            #e8620f26 25%,
            #e8620f59 50%,
            #e8620f26 75%);
    background-size: 200% 100%;
    animation: kc-delivery-shimmer 1.2s ease-in-out infinite;
}

ul.products li.product .kc-timer[data-kc-done] .kc-timer__text {
    animation: kc-delivery-in .3s ease-out;
}




ul.products li.product .kc-pc__inquiry {
    border: 1px solid var(--kc-dark);
    cursor: pointer;
    width: 100%;
    height: 34px;
    color: var(--kc-dark);
    background: #fff;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
}
ul.products li.product  .advanced-woo-labels.awl-position-type-on-image {
    padding: 8px;
    gap: 5px;
}
@media (min-width: 992px) {
    ul.products li.product  .advanced-woo-labels.awl-position-type-on-image {
        padding: 12px;
    }
    ul.products li.product .kc-pc__inquiry {
        height: 40px;
        margin-top: 14px;
        font-size: 14px;

    }

    ul.products li.product .kc-timer__text {
        font-size: 11.5px;
    }

    ul.products li.product.type-product .price-addtocart a {
        display: inline-flex !important;
    }

    @media (prefers-reduced-motion: reduce) {

        ul.products li.product .kc-timer__text,
        ul.products li.product .kc-timer__text::after {
            animation: none !important;
        }
    }

    ul.products li.product .kc-pc__delivery {
        margin-bottom: 10px;
    }

    ul.products li.product .kc-pc__delivery-text {
        font-size: 12.5px;
    }


    @media (prefers-reduced-motion: reduce) {
        ul.products li.product .kc-pc__delivery-text {
            animation: none !important;
        }


        ul.products li.product .woocommerce-loop-product__link {
            text-decoration: none;
            padding: 15px 15px 9px;
            gap: 12px;
        }



    }

    ul.products li.product.type-product .price-addtocart:has(a) {
        border-top: 1px solid #0000001a;
        padding-top: 14px;
    }
}