/* ==========================================================================
   Legit-Tronics - QUICK VIEW: full-bleed product image (phones / single-column popup)
   The image area of the Quick View popup (opened by the magnifying glass) no longer sits
   inside a bordered, padded box. It now fills the popup from its very top edge, left edge and
   right edge down to the image area's bottom edge. Only that image area changes: the buy box,
   price, buttons and text below it are not touched, and neither is the desktop two-column layout.

   WoodMart gives the popup padding of var(--wd-popup-padding) (15px on phones). The image area
   pulls itself out by exactly that amount on the top, left and right, so it reaches the popup's
   edges whatever the padding is. The popup's own rounded corners clip the top corners.

   To undo: delete this file and the lt_enqueue_quick_view_fullbleed function in lt-quick-view.php.
   ========================================================================== */
@media (max-width: 768.98px) {
	/* the image area: no border, no padding, pulled out to the popup's top / left / right edges */
	.popup-quick-view .product-quick-view .product-images {
		margin-top: calc(var(--wd-popup-padding, 15px) * -1);
		margin-inline: calc(var(--wd-popup-padding, 15px) * -1);
		padding: 0;
		border: 0;
		border-radius: 18px 18px 0 0;
		/* a taller viewer: a full-width square instead of the old 320px cap */
		--lt-gallery-max-h: 560px;
	}

	/* the picture itself: square corners, so it runs to the edges */
	.popup-quick-view .product-quick-view .product-images img {
		border-radius: 0;
	}

	/* small thumbnails (if the product has several pictures) keep a little breathing room */
	.popup-quick-view .product-quick-view .product-images .wd-gallery-thumb {
		padding: 8px;
	}
}
