/* =============================================
   PRODUCT CARD
   ============================================= */
.custom-product-card {
    list-style: none;
    text-align: center;
    position: relative;
}
 
.custom-product-card .product-card-inner {
    position: relative;
}
 
/* IMAGE WRAP */
.custom-product-card .product-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
 
.custom-product-card img {
    width: 100%;
    display: block;
}
 
/* =============================================
   HOVER ACTION PILL
   ============================================= */
.custom-product-actions {
   
    transition: all .35s ease;
    display: inline-flex;
    /*flex-wrap: wrap;*/
    align-items: center;
    justify-content: center;
    box-shadow: 1px 0 30px rgba(0,0,0,.1);
    border-radius: 30px;
    padding: 0 10px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    bottom: 45px;
    gap: 4px;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    /*background: #fff;*/
    /*border-radius: 50px;*/
    /*padding: 10px 16px;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*gap: 4px;*/
    /*opacity: 0;*/
    /*visibility: hidden;*/
    /*transition: all 0.3s ease;*/
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    white-space: nowrap;
}
 
.custom-product-card:hover .custom-product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
 
/* =============================================
   ACTION BUTTONS — Cart & Quick View
   ============================================= */
.custom-product-actions .action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #697386;
    transition: color 0.3s;
    text-decoration: none;
    background: none;
    border: none;
    flex-shrink: 0;
}
 
.custom-product-actions .action-btn:hover {
    color: #111;
}
 
/* =============================================
   WISHLIST BUTTON — match same icon style
   ============================================= */
.custom-product-actions .wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
 
.custom-product-actions .yith-wcwl-add-to-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}
 
.custom-product-actions .yith-wcwl-add-to-wishlist a {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #697386 !important;
    transition: color 0.3s !important;
    text-decoration: none !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
}
 
.custom-product-actions .yith-wcwl-add-to-wishlist a:hover {
    color: #111 !important;
}
 
/* Heart icon via pseudo-element */
.custom-product-actions .yith-wcwl-add-to-wishlist a::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' stroke='%23697386' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}
 
/* Hover — dark stroke */
.custom-product-actions .yith-wcwl-add-to-wishlist a:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' stroke='%23111' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}
 
/* Wishlist added — red filled heart */
.custom-product-actions .yith-wcwl-wishlistexistsbrowse a::before,
.custom-product-actions .yith-wcwl-wishlistaddedbrowse a::before {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' fill='red' stroke='red' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
}
 
/* Hide all plugin-generated text & images */
.custom-product-actions .yith-wcwl-add-to-wishlist .yith-wcwl-add-button span,
.custom-product-actions .yith-wcwl-add-to-wishlist .feedback,
.custom-product-actions .yith-wcwl-add-to-wishlist img,
.custom-product-actions .yith-wcwl-wishlistaddedbrowse span,
.custom-product-actions .yith-wcwl-wishlistexistsbrowse span,
.custom-product-actions .yith-wcwl-add-button span,
span.yith-wcwl-add-to-wishlist-button__label {
    display: none !important;
}
 
/* =============================================
   PRODUCT CONTENT
   ============================================= */
.custom-product-card .product-content {
    padding-top: 20px;
}
 
/* PRICE */
.custom-product-card .price {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    display: block;
    margin-bottom: 12px;
}
 
/* TITLE */
.custom-product-card .woocommerce-loop-product__title {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}
 
.custom-product-card .woocommerce-loop-product__title a {
    color: #000;
    text-decoration: none;
}
 
/* RATING */
.custom-product-card .star-rating {
    margin: 15px auto 0;
}



/* loader? */
.action-btn{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.cart-loader{
    position:absolute;
    width:18px;
    height:18px;
    border:2px solid #e5e5e5;
    border-top:2px solid #000;
    border-radius:50%;
    display:none;
    animation:spin .8s linear infinite;
    z-index:5;
}

.action-btn.loading .cart-loader{
    display:block;
}

.action-btn.loading svg{
    opacity:0;
}

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