/**
 * Product page mobile layout — force single-column stack, full width, no squeeze.
 * Targets Elementor ShopEngine templates 990577 (fragrance bomb) and 992757 (perfume).
 */

@media (max-width: 767px) {
	body.single-product {
		overflow-x: clip;
	}

	body.single-product .shopengine-product-page,
	body.single-product .shopengine-product-page .elementor-990577,
	body.single-product .shopengine-product-page .elementor-992757 {
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}

	/* Main gallery + summary row → single column */
	body.single-product .shopengine-product-page .elementor-element-88ddf02 > .e-con-inner,
	body.single-product .shopengine-product-page .elementor-element-67d99be > .e-con-inner,
	body.single-product .elementor-990577 .elementor-element-88ddf02 > .e-con-inner,
	body.single-product .elementor-992757 .elementor-element-67d99be > .e-con-inner {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		gap: 0 !important;
	}

	/*
	 * Match Scent Notes mobile inset (16px on .ln-pdp-scent-notes__inner).
	 * Elementor stacks 10px on the boxed row + 10px on the info parent on top of
	 * the info column's 16px (= 36px). Zero the outer layers so content aligns.
	 */
	body.single-product .shopengine-product-page .elementor-element-88ddf02,
	body.single-product .shopengine-product-page .elementor-element-67d99be,
	body.single-product .elementor-990577 .elementor-element-88ddf02,
	body.single-product .elementor-992757 .elementor-element-67d99be,
	body.single-product .shopengine-product-page .elementor-element-cf65515,
	body.single-product .shopengine-product-page .elementor-element-a7de2b9,
	body.single-product .elementor-990577 .elementor-element-cf65515,
	body.single-product .elementor-992757 .elementor-element-a7de2b9 {
		--padding-left: 0px !important;
		--padding-right: 0px !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.single-product .shopengine-product-page .elementor-element-88ddf02,
	body.single-product .shopengine-product-page .elementor-element-67d99be,
	body.single-product .shopengine-product-page .elementor-element-fd42707,
	body.single-product .shopengine-product-page .elementor-element-cf65515,
	body.single-product .shopengine-product-page .elementor-element-0662cc7,
	body.single-product .shopengine-product-page .elementor-element-a7de2b9,
	body.single-product .shopengine-product-page .elementor-element-97a9c2c,
	body.single-product .shopengine-product-page .elementor-element-84278c7 {
		--width: 100% !important;
		--flex-direction: column !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
		align-self: stretch !important;
	}

	/* Product info column — same 16px L/R as Scent Notes __inner */
	body.single-product .shopengine-product-page .elementor-element-97a9c2c,
	body.single-product .shopengine-product-page .elementor-element-84278c7,
	body.single-product .elementor-990577 .elementor-element-97a9c2c,
	body.single-product .elementor-992757 .elementor-element-84278c7 {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		--padding-left: 16px !important;
		--padding-right: 16px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box !important;
	}

	body.single-product .shopengine-product-page .elementor-element-97a9c2c > .elementor-widget,
	body.single-product .shopengine-product-page .elementor-element-84278c7 > .elementor-widget,
	body.single-product .shopengine-product-page .elementor-element-97a9c2c > .e-con,
	body.single-product .shopengine-product-page .elementor-element-84278c7 > .e-con {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		align-self: stretch !important;
	}

	/* Gallery full width */
	body.single-product .shopengine-product-page .elementor-element-fd42707 .shopengine-product-image,
	body.single-product .shopengine-product-page .elementor-element-fd42707 .woocommerce-product-gallery,
	body.single-product .shopengine-product-page .elementor-element-fd42707 .woocommerce-product-gallery__wrapper,
	body.single-product .shopengine-product-page .elementor-element-fd42707 .flex-viewport,
	body.single-product .shopengine-product-page .elementor-element-0662cc7 .shopengine-product-image,
	body.single-product .shopengine-product-page .elementor-element-0662cc7 .woocommerce-product-gallery,
	body.single-product .shopengine-product-page .elementor-element-0662cc7 .woocommerce-product-gallery__wrapper,
	body.single-product .shopengine-product-page .elementor-element-0662cc7 .flex-viewport {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.single-product .shopengine-product-page .elementor-element-fd42707 .flex-control-thumbs,
	body.single-product .shopengine-product-page .elementor-element-0662cc7 .flex-control-thumbs {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* Accordion must span full info width */
	body.single-product .shopengine-product-page .elementor-widget-shopengine-product-excerpt,
	body.single-product .shopengine-product-page .elementor-widget-shopengine-product-excerpt .elementor-widget-container,
	body.single-product .shopengine-product-page .shopengine-product-excerpt,
	body.single-product .shopengine-product-page .ln-pdp-info-accordion,
	body.single-product .shopengine-product-page .ln-product-info-accordion {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.single-product .shopengine-product-page .ln-pdp-info-accordion__content,
	body.single-product .shopengine-product-page .ln-product-info-accordion__content {
		overflow-wrap: break-word;
		word-break: normal;
		hyphens: auto;
	}

	body.single-product .shopengine-product-page .ln-pdp-product-info,
	body.single-product .shopengine-product-page .ln-pdp-recos__inner {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		overflow-x: auto;
	}

	/* Custom PDP sections — full bleed within page */
	body.single-product .ln-pdp-scent-notes,
	body.single-product .ln-pdp-story,
	body.single-product .ln-pdp-lower-accordion,
	body.single-product .ln-pdp-also-like {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* How to Apply image — edge-to-edge on mobile (no side padding) */
	body.single-product .ln-pdp-lower-accordion__apply-image-wrap {
		width: calc(100% + 32px) !important;
		max-width: none !important;
		margin-left: -16px !important;
		margin-right: -16px !important;
	}

	/* Story lifestyle image — full width within section */
	body.single-product .ln-pdp-story__media,
	body.single-product .ln-pdp-story__image-wrap {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.single-product .ln-pdp-story__image-wrap {
		max-height: none !important;
		aspect-ratio: 4 / 3;
	}

	/* Scent notes image — full width when stacked */
	body.single-product .ln-pdp-scent-notes__media,
	body.single-product .ln-pdp-scent-notes__image-wrap {
		width: 100% !important;
		max-width: 100% !important;
	}
}
