/**
 * LZT Manager - WP Swings / Elementor compatibility layer.
 *
 * IMPORTANT:
 * - This stylesheet is loaded only on single WooCommerce product pages.
 * - Every selector is scoped to a WP Swings class.
 * - It does not target Elementor, WooCommerce layout containers, the theme,
 *   product titles, product images, quantity fields or add-to-cart buttons.
 *
 * Purpose: neutralize visual defaults injected by Subscriptions for WooCommerce
 * so the surrounding Elementor product template remains in control.
 */

/* WP Swings adds a grey block, padding and margin to this description on
 * single-product pages. Let the Elementor/theme typography flow naturally. */
body.single-product p.wps_sfw_inner_description {
	padding: 0 !important;
	margin: 0 0 0.75em !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-style: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	text-align: inherit !important;
	white-space: normal !important;
	width: auto !important;
	max-width: 100% !important;
}

/* WP Swings forces labels and paragraphs inside its subscription wrapper to
 * inline-block with break-spaces. Keep only the plugin content behavior while
 * preventing it from creating unexpected blocks in an Elementor layout. */
body.single-product .wps_sfw_subscription_wrapper p {
	display: block !important;
	white-space: normal !important;
	background: transparent !important;
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	text-align: inherit !important;
}

body.single-product .wps_sfw_subscription_wrapper label {
	display: inline !important;
	white-space: normal !important;
	background: transparent !important;
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

/* Neutralize only WP Swings' own wrapper chrome. Do not alter the parent
 * WooCommerce/Elementor grid, columns, product image or cart controls. */
body.single-product .wps_sfw_subscription_wrapper,
body.single-product .wps_sfw_subscription_inner_wrapper {
	max-width: 100% !important;
	min-width: 0 !important;
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

/* Price-period helper fragments created by WP Swings should inherit the visual
 * language of the Elementor widget instead of imposing their own typography. */
body.single-product .wps_sfw_interval,
body.single-product .wps_sfw_expiry_interval,
body.single-product .wps_sfw_free_trial,
body.single-product .wps_sfw_signup_fee {
	background: transparent !important;
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-style: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	text-align: inherit !important;
	white-space: normal !important;
}
