/* Product page, desktop (>=768px): every image stacked full size on the left, product info
   sticky on the right. Thumbnails and the slider are hidden. Phones keep the existing slider. */

.step31-pdp-stack{display:none}

@media (min-width:768px){
	html body.single-product main.step31-single-product{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}

	html body.single-product .step31-single-layout{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:0!important;align-items:start!important}

	/* Gallery: swap slider for the stack */
	html body.single-product .product-gallery-wrapper{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
	html body.single-product .product-gallery-wrapper .step31-pdp-swiper{display:none!important}
	html body.single-product .step31-pdp-stack{display:flex;flex-direction:column;gap:4px}
	.step31-pdp-stack__item{margin:0;background:var(--step31-bg,#fff)}
	.step31-pdp-stack__img{display:block;width:100%;height:auto}

	/* Info column: sticky, vertically scrollable if a short screen cannot fit it */
	html body.single-product .product-content-wrapper{
		position:sticky;top:60px;align-self:start;
		width:100%!important;max-width:none!important;margin:0!important;
		max-height:calc(100vh - 60px);overflow-y:auto;scrollbar-width:none;
		padding:clamp(1.5rem,4vw,4.5rem) clamp(1.25rem,5vw,6rem) 3rem!important;
		box-sizing:border-box;
	}
	html body.single-product .product-content-wrapper::-webkit-scrollbar{display:none}
	html body.single-product .product-content-wrapper>*{max-width:34rem;margin-left:auto;margin-right:auto}
	html body.single-product .step31-product-accordions{max-width:34rem!important}

	/* Sections below the grid keep a comfortable reading width */
	html body.single-product .step31-desktop-product-lower,
	html body.single-product .step31-related-products{max-width:1420px;margin-left:auto;margin-right:auto;padding-left:clamp(1rem,3vw,2.5rem)!important;padding-right:clamp(1rem,3vw,2.5rem)!important;box-sizing:border-box}
}
