.woo-product-carousel {
    position: relative;
    padding: 20px;
}

.product-item {
    position: relative;
    text-align: center;
}

.product-image {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.product-image img {
    object-fit: cover;
    border-radius: 8px;
    width: 100%;
    height: auto;
    display: block;
 /* Remove inline spacing */
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 10px;
    box-sizing: border-box;
    z-index: 20; /* Above image link */
    pointer-events: none; /* Allow clicks pass to image */
}

.product-wishlist,
.product-add-to-cart {
    position: relative;
    width: 40px; /* Match Elementor button size default */
    height: 40px;
    margin: 5px; 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    pointer-events: auto; /* Buttons are clickable */
}

.product-wishlist a,
.product-add-to-cart a {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.product-wishlist i,
.product-add-to-cart i {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.product-wishlist span,
.product-add-to-cart span {
    margin: 0;    padding: 0;
    line-height: 1;
}

.product-details {
    margin-top: 10px;
    display: inline-block;
    box-sizing: border-box;
}

.product-category a,
.product-title a,
.product-price a {
    text-decoration: none;
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
    transition: color 0.3s ease;
}

.product-category,
.product-title a,
.product-price {
    margin: 5px 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: none;
}

.swiper-pagination-bullet-active {
    background: #333;
}

/* Button Shape and Size */
.product-wishlist.rectangle,
.product-add-to-cart.rectangle {
    border-radius: 0; /* Default value, overridden by Elementor */
}

.product-wishlist.circle,
.product-add-to-cart.circle {
    border-radius: 50%;
}

/* Clickable Image Styles */
.product-image-link {
    display: relative;
    width: 100%;
    height: 100%;
    position: block;
    text-decoration: none;
    z-index: 10; /* Below overlay buttons */
    pointer-events: auto; /* Ensure clickable */
}

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block; /* Remove inline spacing */
}

.product-image-link:hover {
    opacity: 0.9; /* Visual feedback on hover */
    transition: opacity 0.3s ease;
}