/* Woo Slider 1 Base Styles */
.gl-woo-slider-1-wrapper {
    position: relative;
    width: 100%;
}

.gl-woo-slider-1.swiper-container {
    width: 100%;
}

.gl-woo-slider-1 .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.gl-woo-slider-1 .swiper-slide {
    height: auto;
    display: flex;
}

.woo-product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Product Image */
.woo-product-card .product-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.woo-product-card .product-image a {
    display: block;
    width: 100%;
    line-height: 0;
}

.woo-product-card .product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woo-product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Category Overlay */
.woo-product-card .product-category-overlay {
    position: absolute;
    font-size: 12px;
    letter-spacing: 0.5px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 4px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(7px);
}

.woo-product-card .product-category-overlay a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Category Position Variations */
.woo-product-card .product-category-overlay.elementor-position-top-left {
    top: 10px;
    left: 12px;
    right: auto;
    bottom: auto;
    margin-right: 82px;
}

.woo-product-card .product-category-overlay.elementor-position-top-right {
    top: 10px;
    right: 12px;
    left: auto;
    bottom: auto;
}

.woo-product-card .product-category-overlay.elementor-position-bottom-left {
    bottom: 10px;
    left: 12px;
    top: auto;
    right: auto;
}

.woo-product-card .product-category-overlay.elementor-position-bottom-right {
    bottom: 10px;
    right: 12px;
    top: auto;
    left: auto;
}

/* Product Wishlist */
.woo-product-card .product-wishlist {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.woo-product-card .product-wishlist a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.woo-product-card .product-wishlist a:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.woo-product-card .product-wishlist svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Wishlist Position Variations */
.woo-product-card .product-wishlist.elementor-position-top-left {
    top: 32px;
    left: 32px;
    right: auto;
    bottom: auto;
}

.woo-product-card .product-wishlist.elementor-position-top-right {
    top: 32px;
    right: 32px;
    left: auto;
    bottom: auto;
}

.woo-product-card .product-wishlist.elementor-position-bottom-left {
    bottom: 32px;
    left: 32px;
    top: auto;
    right: auto;
}

.woo-product-card .product-wishlist.elementor-position-bottom-right {
    bottom: 32px;
    right: 32px;
    top: auto;
    left: auto;
}

.woo-product-card .yith-add-to-wishlist-button-block{
    margin: 0;
}
.woo-product-card .yith-wcwl-add-to-wishlist-button:is(button){
    padding: 10px;
}

/* YITH Wishlist Integration */
/* .woo-product-card .product-wishlist .yith-wcwl-add-to-wishlist {
    margin: 0;
    padding: 0;
}

.woo-product-card .product-wishlist .yith-wcwl-add-to-wishlist a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
} */

/* Product Title */
.woo-product-card .product-title {
    margin: 24px 0 8px 0;
    font-size: 22px;
    line-height: 1.4;
}

.woo-product-card .product-title a {
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

/* Product Excerpt */

.woo-product-card .product-excerpt p {
    margin: 0;
    font-size: 18px;
}
.product-excerpt{
    margin-top: 16px;
}

/* Product Price */
.woo-product-card .product-price {
    margin-top: 8px;
    font-weight: 500;
    font-size: 22px;
}

.woo-product-card .product-price del {
    opacity: 0.6;
    margin-right: 8px;
}

.woo-product-card .product-price ins {
    text-decoration: none;
    color: #e74c3c;
}

/* Add to Cart Button Overlay */
.woo-product-card .add-to-cart-button-overlay {
    /* position: absolute; */
    z-index: 2;
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.woo-product-card:hover .add-to-cart-button-overlay {
    opacity: 1;
    visibility: visible;
}

/* Show button always if not hover-only */
.woo-product-card .add-to-cart-button-overlay.elementor-always-visible {
    opacity: 1;
    visibility: visible;
}

.woo-product-card .add-to-cart-button-overlay .button,
.woo-product-card .add-to-cart-button-overlay .add_to_cart_button {
    display: inline-block;
    padding: 14px 24px;
    background-color: #69696980;
    color: #fff;
    border: 1px solid #FFFFFF;
    border-radius: 26px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

/* Button with Icon Styles */
.woo-product-card .add-to-cart-button-overlay .button.add-to-cart-with-icon-left,
.woo-product-card .add-to-cart-button-overlay .button.add-to-cart-with-icon-right,
.woo-product-card .add-to-cart-button-overlay .add_to_cart_button.add-to-cart-with-icon-left,
.woo-product-card .add-to-cart-button-overlay .add_to_cart_button.add-to-cart-with-icon-right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.woo-product-card .add-to-cart-button-overlay .button.add-to-cart-with-icon-left i,
.woo-product-card .add-to-cart-button-overlay .button.add-to-cart-with-icon-left svg,
.woo-product-card .add-to-cart-button-overlay .add_to_cart_button.add-to-cart-with-icon-left i,
.woo-product-card .add-to-cart-button-overlay .add_to_cart_button.add-to-cart-with-icon-left svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.woo-product-card .add-to-cart-button-overlay .button.add-to-cart-with-icon-right i,
.woo-product-card .add-to-cart-button-overlay .button.add-to-cart-with-icon-right svg,
.woo-product-card .add-to-cart-button-overlay .add_to_cart_button.add-to-cart-with-icon-right i,
.woo-product-card .add-to-cart-button-overlay .add_to_cart_button.add-to-cart-with-icon-right svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Hide the "View cart" link - we'll replace button text instead */
.woo-product-card .add-to-cart-button-overlay .added_to_cart {
    display: none !important;
}


/* Button Position Center */
.woo-product-card .add-to-cart-button-overlay.elementor-position-center {
    bottom: auto;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) translateY(10px);
}

.woo-product-card:hover .add-to-cart-button-overlay.elementor-position-center {
    transform: translate(-50%, -50%) translateY(0);
}

.woo-product-card .add-to-cart-button-overlay.elementor-position-center.elementor-always-visible {
    transform: translate(-50%, -50%) translateY(0);
}

/* Button Position Bottom */
.woo-product-card .add-to-cart-button-overlay.elementor-position-bottom {
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    transform: translateY(10px);
}

.woo-product-card:hover .add-to-cart-button-overlay.elementor-position-bottom {
    transform: translateY(0);
}

.woo-product-card .add-to-cart-button-overlay.elementor-position-bottom.elementor-always-visible {
    transform: translateY(0);
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .woo-product-card .product-title {
        font-size: 16px;
    }

    .woo-product-card .product-price {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .woo-product-card .product-title {
        font-size: 15px;
    }

    .woo-product-card .product-excerpt {
        font-size: 13px;
    }

    .woo-product-card .product-price {
        font-size: 15px;
    }

    .woo-product-card .add-to-cart-button-overlay .button,
    .woo-product-card .add-to-cart-button-overlay .add_to_cart_button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .woo-product-card .product-category-overlay {
        font-size: 10px;
        padding: 4px 8px;
        top: 10px;
        left: 10px;
    }

    .woo-product-card .product-wishlist {
        top: 16px;
        right: 16px;
    }

    .woo-product-card .product-wishlist.elementor-position-top-left {
        top: 16px;
        left: 16px;
    }

    .woo-product-card .product-wishlist.elementor-position-top-right {
        top: 16px;
        right: 16px;
    }

    .woo-product-card .product-wishlist.elementor-position-bottom-left {
        bottom: 16px;
        left: 16px;
    }

    .woo-product-card .product-wishlist.elementor-position-bottom-right {
        bottom: 16px;
        right: 16px;
    }
    .woo-product-card .product-category-overlay.elementor-position-top-left {
        top: 16px;
        left: 16px;
    }
    
    .woo-product-card .product-category-overlay.elementor-position-top-right {
        top: 16px;
        right: 16px;
    }
    
    .woo-product-card .product-category-overlay.elementor-position-bottom-left {
        bottom: 16px;
        left: 16px;
    }
    
    .woo-product-card .product-category-overlay.elementor-position-bottom-right {
        bottom: 16px;
        right: 16px;
    }

    .woo-product-card .yith-wcwl-add-to-wishlist-button:is(button) {
        padding: 6px;
    }

    .woo-product-card .product-wishlist a {
        width: 35px;
        height: 35px;
    }

    .woo-product-card .product-wishlist svg {
        width: 18px;
        height: 18px;
    }
}

/* Swiper Navigation Styles */
.gl-woo-slider-1-wrapper .swiper-button-next,
.gl-woo-slider-1-wrapper .swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gl-woo-slider-1-wrapper .swiper-button-next:hover,
.gl-woo-slider-1-wrapper .swiper-button-prev:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gl-woo-slider-1-wrapper .swiper-button-next:after,
.gl-woo-slider-1-wrapper .swiper-button-prev:after {
    font-size: 18px;
    display: none;
}

.gl-woo-slider-1-wrapper .swiper-pagination {
    bottom: 0;
}

.gl-woo-slider-1-wrapper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #333;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.gl-woo-slider-1-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #4CAF50;
    transform: scale(1.2);
}

