/**
 * Theme Name: Ruza Child
 * Description: This is a child theme for Ruza
 * Author: Thembay
 * Author URI: https://thembay.com/
 * Version: 1.0.5
 * Template: ruza
 */


/* [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

/* SHDHYY Single Product — Elementor template 9062 */
.single-product .elementor-9062 .product_meta .tagged_as {
    display: none !important;
}

.single-product .elementor-9062 .woocommerce-product-gallery__image {
    height: 600px !important;
    overflow: hidden;
    background: #fff;
}

.single-product .elementor-9062 .woocommerce-product-gallery__image > a {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.single-product .elementor-9062 .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.single-product .elementor-9062 .flex-control-thumbs li {
    height: 110px !important;
    overflow: hidden;
    background: #fff;
}

.single-product .elementor-9062 .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.single-product .elementor-9062 .elementor-widget-woocommerce-product-related .product-image {
    display: block;
    height: 360px !important;
    overflow: hidden;
    background: #fff;
}

.single-product .elementor-9062 .elementor-widget-woocommerce-product-related .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.single-product .elementor-9062 .elementor-widget-woocommerce-product-price .price del {
    color: #888;
    opacity: 1;
}

.single-product .elementor-9062 .elementor-widget-woocommerce-product-price .price ins {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .single-product .elementor-9062 .woocommerce-product-gallery__image {
        height: 480px !important;
    }

    .single-product .elementor-9062 .flex-control-thumbs li {
        height: 86px !important;
    }

    .single-product .elementor-9062 .elementor-widget-woocommerce-product-related .product-image {
        height: 280px !important;
    }
}

@media (max-width: 767px) {
    .single-product .elementor-9062 .shdhyy-mobile-product-title {
        width: 100% !important;
        margin-bottom: 18px;
    }

    .single-product .elementor-9062 .product_title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .single-product .elementor-9062 .woocommerce-product-gallery__image {
        height: 390px !important;
    }

    .single-product .elementor-9062 .flex-control-thumbs li {
        height: 72px !important;
    }

    .single-product .elementor-9062 .woocommerce-product-gallery .group-button-share-wrapper {
        display: none !important;
    }

    .single-product .elementor-9062 .elementor-widget-woocommerce-product-add-to-cart .shop-now {
        display: flex !important;
        width: 100% !important;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .single-product .elementor-9062 .elementor-widget-woocommerce-product-add-to-cart .shop-now .quantity {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .single-product .elementor-9062 .elementor-widget-woocommerce-product-add-to-cart .shop-now .single_add_to_cart_button,
    .single-product .elementor-9062 .elementor-widget-woocommerce-product-add-to-cart .shop-now .tbay-buy-now {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        inset: auto !important;
        transform: none !important;
    }

    .single-product .elementor-9062 .shdhyy-mobile-wishlist {
        width: 100% !important;
        margin-top: 16px;
    }

    .single-product .elementor-9062 .shdhyy-mobile-wishlist .yith-wcwl-add-to-wishlist-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .single-product .elementor-9062 .elementor-widget-woocommerce-product-price .price del {
        font-size: 16px;
    }

    .single-product .elementor-9062 .elementor-widget-woocommerce-product-price .price ins {
        font-size: 22px;
    }

    .single-product .elementor-9062 .elementor-widget-woocommerce-product-related .product-image {
        height: 210px !important;
    }
}

/* SHDHYY Delivery & Returns — visual placement after Elementor Related Products */
.single-product #tbay-main-content {
    display: flex;
    flex-direction: column;
}

.single-product #tbay-main-content > .woocommerce-notices-wrapper,
.single-product #tbay-main-content > #sticky-menu-bar {
    order: 0;
}

.single-product #tbay-main-content > .elementor-location-single {
    order: 10;
}

.single-product #tbay-main-content > .shdhyy-delivery-returns {
    order: 20;
    width: 100%;
}

.single-product #tbay-main-content > .tbay-after-product-summary {
    display: none !important;
}

/* SHDHYY Mobile buy actions — force one full-width control per row */
@media (max-width: 767px) {
    body.single-product .elementor-9062 form.cart #shop-now.shop-now > .single_add_to_cart_button,
    body.single-product .elementor-9062 form.cart #shop-now.shop-now > .tbay-buy-now {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}
