.postbox__thumb.postbox__audio iframe {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Elementor WooCommerce Product Hover Images */
.elementor-widget-woocommerce-product .woocommerce-loop-product__link,
.elementor-widget-woocommerce-product .woocommerce-LoopProduct-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.elementor-product-hover-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 2 !important;
}

.elementor-widget-woocommerce-product .woocommerce-loop-product__link:hover .elementor-product-hover-img,
.elementor-widget-woocommerce-product .woocommerce-LoopProduct-link:hover .elementor-product-hover-img {
    opacity: 1 !important;
}

/* Ensure theme products also work properly */
.tpproduct__thumbitem {
    position: relative;
    overflow: hidden;
}

.thumbitem-secondary {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 2 !important;
}

.tpproduct__thumbitem:hover .thumbitem-secondary {
    opacity: 1 !important;
}

/* TP Core Product Tab Widget Hover Images */
.elementor-widget-tp-product-tab .tpproduct,
.elementor-widget-tp-product-tab .tp-product-item,
.elementor-widget-tp-product-tab .product-item {
    position: relative;
}

.elementor-widget-tp-product-tab .tpproduct__thumb,
.elementor-widget-tp-product-tab .product-thumb,
.elementor-widget-tp-product-tab .product-image {
    position: relative;
    overflow: hidden;
}

.tp-product-hover-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 2 !important;
}

.elementor-widget-tp-product-tab .tpproduct__thumb:hover .tp-product-hover-img,
.elementor-widget-tp-product-tab .product-thumb:hover .tp-product-hover-img,
.elementor-widget-tp-product-tab .product-image:hover .tp-product-hover-img {
    opacity: 1 !important;
}

/* Category Banner Image Styling */
.breadcrumb__area.tp-breadcrumb__bg {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Ensure banner image displays properly on category pages */
.product-category .breadcrumb__area.tp-breadcrumb__bg {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .product-category .breadcrumb__area.tp-breadcrumb__bg {
        background-attachment: scroll;
    }
}