/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* =====================================================================
   IMAGYN — Task A (added 2026-07-02, CC / K-authorized).
   Single-product pages = the studio customizer embed only.
   Hides every section BELOW the embed inside product template #711:
   trust-icons row, Overview/Details, Reviews, Related Products, and the
   leftover Porto demo banners (AirPods / Hurry Up / charger / marquee).
   Scoped to .single-product AND template #711 (.elementor-711); does NOT
   affect the header (.elementor-24), the breadcrumb (above the embed),
   the footer (outside #711), or any non-product page type.
   REVERSIBLE: delete this whole block (or restore a style.css.bak-* copy).
   NOTE: the PHP "Deprecated:" notice above these sections is removed by
   Task C (WP_DEBUG_DISPLAY off), NOT by CSS.
   ===================================================================== */

/* Primary — identify the embed section by the studio iframe it contains,
   then hide all sibling sections that follow it. */
.single-product .elementor-711 > .e-con:has(.porto-iframe-container) ~ .e-con {
    display: none !important;
}

/* Fallback for browsers without :has() — same target via the stable
   Elementor container id that wraps the studio embed in template #711. */
.single-product .elementor-711 > .elementor-element-a047be4 ~ .e-con {
    display: none !important;
}
