/* GBB-LIVE-20261011-PRODUCT-01. Detail template only; not catalogue/quick view. */
body.gbb-product-compact .single-product-page {
	--gbb-detail-photo: clamp(300px, 30vw, 420px);
}
body.gbb-product-compact .single-product-page.outofstock {
	--gbb-detail-photo: clamp(200px, 22vw, 280px);
}
body.gbb-product-compact .single-product-page > .container,
body.gbb-product-compact .single-product-page .product-tabs-inner,
body.gbb-product-compact .single-product-page .related-and-upsells {
	width: min(calc(100% - 48px), 1680px) !important;
	max-width: 1680px !important;
	margin-bottom: 0 !important;
}
body.gbb-product-compact .gbb-stepper-shell { max-width: 1680px !important; }
body.gbb-product-compact .wd-content-layout { padding-top: 14px !important; }
body.gbb-product-compact .single-product-page .product-image-summary-wrap {
	padding: 0 0 8px !important;
	margin: 0 !important;
}
body.gbb-product-compact .single-product-page .product-image-summary-inner {
	display: grid !important;
	grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr) !important;
	gap: clamp(16px, 2vw, 28px) !important;
	align-items: start !important;
}
body.gbb-product-compact .single-product-page .product-image-summary-inner > :is(.product-images, .summary) {
	grid-column: auto / span 1 !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
}
body.gbb-product-compact .single-product-page .woocommerce-product-gallery {
	min-height: 0 !important;
	padding: 12px !important;
	border-radius: 22px !important;
}
body.gbb-product-compact .single-product-page .wd-gallery-images { min-width: 0; }
body.gbb-product-compact .single-product-page .woocommerce-product-gallery :is(.woocommerce-product-gallery__wrapper, .wd-carousel-wrap, .wd-carousel-item, .woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder) {
	height: var(--gbb-detail-photo) !important;
	min-height: 0 !important;
}
body.gbb-product-compact .single-product-page .woocommerce-product-gallery :is(.woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder, .wd-carousel-item) > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: var(--gbb-detail-photo) !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: 0 !important;
}
body.gbb-product-compact .single-product-page .woocommerce-product-gallery :is(.woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder, .wd-carousel-item) img:not(.zoomImg) {
	width: 100% !important;
	height: var(--gbb-detail-photo) !important;
	max-height: var(--gbb-detail-photo) !important;
	object-fit: contain !important;
	object-position: center;
}
body.gbb-product-compact .single-product-page .summary-inner {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start !important;
	min-height: 0 !important;
	padding: 8px 0 !important;
	margin: 0 !important;
}
body.gbb-product-compact .single-product-page .product_title {
	width: 100%;
	font-size: clamp(28px, 2.35vw, 40px) !important;
	line-height: 1.12 !important;
	margin: 0 0 8px !important;
	overflow-wrap: anywhere;
}
body.gbb-product-compact .single-product-page .summary-inner > .gbb-product-article { margin: 0 0 8px !important; }
body.gbb-product-compact .single-product-page .summary-inner > .price { margin: 0 0 10px !important; line-height: 1.2; }
body.gbb-product-compact .single-product-page p.stock {
	max-width: 100%;
	margin: 0 0 10px !important;
	padding: 7px 11px !important;
	line-height: 1.3 !important;
	white-space: normal;
}
body.gbb-product-compact .single-product-page form.cart {
	width: 100%;
	gap: 8px !important;
	margin: 0 !important;
	align-items: center;
}
body.gbb-product-compact .single-product-page form.cart:not(.variations_form):not(.grouped_form) { flex-wrap: nowrap !important; }
body.gbb-product-compact .single-product-page form.cart .quantity { width: 116px !important; flex: 0 0 116px !important; margin: 0 !important; }
body.gbb-product-compact .single-product-page form.cart .quantity :is(input, .btn) { min-height: 48px !important; height: 48px !important; }
body.gbb-product-compact .single-product-page form.cart .single_add_to_cart_button {
	flex: 1 1 0;
	width: auto !important;
	min-width: 0 !important;
	max-width: 360px;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	white-space: normal;
}
body.gbb-product-compact .single-product-page .woocommerce-variation-add-to-cart { display: flex; width: 100%; flex-wrap: wrap; gap: 8px; align-items: center; }
body.gbb-product-compact .single-product-page form.variations_form { display: block !important; }
body.gbb-product-compact .single-product-page form.variations_form :is(table.variations, .single_variation_wrap) { width: 100%; margin-bottom: 10px; }
body.gbb-product-compact .single-product-page .gbb-product-age-notice { width: 100%; margin: 10px 0 !important; padding: 10px 12px !important; gap: 10px; }
body.gbb-product-compact .single-product-page .gbb-product-age-notice strong { width: 34px; height: 34px; flex: 0 0 34px; }
body.gbb-product-compact .single-product-page .gbb-product-age-notice p { margin: 0; font-size: 14px; line-height: 1.4; }
body.gbb-product-compact .single-product-page .woocommerce-product-details__short-description { width: 100%; margin: 4px 0 8px !important; }
body.gbb-product-compact .single-product-page .woocommerce-product-details__short-description p { margin: 0 0 6px; line-height: 1.45; }
body.gbb-product-compact .single-product-page .product_meta { width: 100%; margin: 6px 0 0 !important; padding: 0 !important; line-height: 1.4; }

/* One shared strip uses the width that used to sit empty below the photo. */
body.gbb-product-compact .gbb-product-context {
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
	gap: 16px 28px;
	align-items: start;
	margin: 0 0 16px !important;
}
body.gbb-product-compact .gbb-product-context > :only-child { grid-column: 1 / -1; }
body.gbb-product-compact .gbb-product-context .gbb-product-quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: 6px; width: 100%; margin: 0 !important; }
body.gbb-product-compact .gbb-product-context .gbb-product-quick-facts > div { min-width: 0; padding: 10px 12px; }
body.gbb-product-compact .gbb-product-context .gbb-product-quick-facts :is(dt,dd) { overflow-wrap: anywhere; margin: 0; }
body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment { margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment header { gap: 8px; margin-bottom: 8px; }
body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment header strong { line-height: 1.35; }
body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment > div { gap: 8px; }
body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment article { padding: 12px; gap: 10px; min-height: 0; }
body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment article :is(p,small) { margin: 0; line-height: 1.45; }
body.gbb-product-compact .single-product-page .product-tabs-wrapper { padding: 8px 0 16px !important; margin: 0 !important; }
body.gbb-product-compact .gbb-product-insights-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; }
body.gbb-product-compact .gbb-product-insights { padding: 22px !important; border-radius: 22px; }
body.gbb-product-compact .gbb-product-insights > header { display: flex !important; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px !important; text-align: left; }
body.gbb-product-compact .gbb-product-insights > header .gbb-brands__eyebrow { margin: 0 0 5px; }
body.gbb-product-compact .gbb-product-insights h2 { font-size: clamp(25px, 2.1vw, 34px) !important; line-height: 1.12; margin: 0 !important; text-align: left !important; }
body.gbb-product-compact .gbb-product-insights h2 br { display: none; }
body.gbb-product-compact .gbb-product-insights h2 em { margin-left: .22em; }
body.gbb-product-compact .gbb-product-insights__description { max-width: none; padding: 0 0 14px !important; margin: 0 0 14px !important; }
body.gbb-product-compact .gbb-product-insights__prose { max-width: 95ch; }
body.gbb-product-compact .gbb-product-insights__prose p { margin: 8px 0 0; line-height: 1.5; }
body.gbb-product-compact .gbb-product-insights__grid { display: block !important; columns: 3 280px; column-gap: 12px; }
body.gbb-product-compact .gbb-product-insights__grid > article { break-inside: avoid; min-height: 0 !important; padding: 16px !important; margin: 0 0 12px; }
body.gbb-product-compact .gbb-product-insights article h3 { font-size: 22px; line-height: 1.2; margin: 7px 0 10px !important; }
body.gbb-product-compact .gbb-product-insights dl div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; padding: 7px 0 !important; }
body.gbb-product-compact .gbb-product-insights :is(dt,dd) { line-height: 1.45; overflow-wrap: anywhere; }
body.gbb-product-compact .single-product-page .related-and-upsells { padding-top: 16px !important; }
body.gbb-product-compact .single-product-page .related-products .title { margin-bottom: 14px; }

@media (min-width: 768px) and (max-width: 1024px) {
	body.gbb-product-compact .single-product-page { --gbb-detail-photo: 320px; }
	body.gbb-product-compact .single-product-page .product-image-summary-inner,
	body.gbb-product-compact .gbb-product-context { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) !important; gap: 16px !important; }
	body.gbb-product-compact .single-product-page .product_title { font-size: 29px !important; }
	body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment header { display: block; }
	body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment header strong { display: block; margin-top: 4px; }
	body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment > div { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	body.gbb-product-compact .single-product-page { --gbb-detail-photo: 170px; }
	body.gbb-product-compact .single-product-page.outofstock { --gbb-detail-photo: 150px; }
	body.gbb-product-compact .single-product-page > .container,
	body.gbb-product-compact .single-product-page .product-tabs-inner,
	body.gbb-product-compact .single-product-page .related-and-upsells { width: calc(100% - 24px) !important; }
	body.gbb-product-compact .wd-content-layout { padding-top: 10px !important; }
	body.gbb-product-compact .gbb-product-stepper__link { min-height: 48px !important; }
	body.gbb-product-compact .single-product-page .product-image-summary-inner { grid-template-columns: 1fr !important; gap: 10px !important; }
	body.gbb-product-compact .single-product-page .woocommerce-product-gallery { padding: 8px !important; border-radius: 18px !important; }
	body.gbb-product-compact .single-product-page .summary-inner { padding: 0 !important; }
	body.gbb-product-compact .single-product-page .product_title { font-size: 25px !important; line-height: 1.16 !important; margin-bottom: 7px !important; }
	body.gbb-product-compact .single-product-page form.cart .quantity { width: 104px !important; flex-basis: 104px !important; }
	body.gbb-product-compact .single-product-page form.cart .quantity input.qty { width: 36px !important; min-width: 0; }
	body.gbb-product-compact .single-product-page form.cart .quantity :is(.minus,.plus) { width: 34px !important; }
	body.gbb-product-compact .single-product-page form.cart .single_add_to_cart_button { max-width: none; }
	body.gbb-product-compact .gbb-product-context { grid-template-columns: 1fr !important; gap: 12px; margin-bottom: 12px !important; }
	body.gbb-product-compact .gbb-product-context .gbb-product-quick-facts { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
	body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment header { display: block; }
	body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment header strong { display: block; margin-top: 4px; }
	body.gbb-product-compact .gbb-product-context .gbb-product-fulfilment > div { grid-template-columns: 1fr; }
	body.gbb-product-compact .gbb-product-insights { padding: 16px !important; border-radius: 18px; }
	body.gbb-product-compact .gbb-product-insights__grid { columns: 1 !important; }
	body.gbb-product-compact .gbb-product-insights__grid > article { padding: 12px !important; margin-bottom: 8px; }
	body.gbb-product-compact .gbb-product-insights h2 { font-size: 25px !important; }
	body.gbb-product-compact .gbb-product-insights dl div { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 8px; }
}
@media (max-width: 359px) {
	body.gbb-product-compact .single-product-page { --gbb-detail-photo: 150px; }
	body.gbb-product-compact .single-product-page .product_title { font-size: 23px !important; }
	body.gbb-product-compact .single-product-page form.cart .single_add_to_cart_button { padding-inline: 10px !important; }
}

/* A portrait thumbnail must not set the height of the sticky purchase bar.
 * The actual image keeps its proportions inside a fixed, centered box. */
body.gbb-product-compact .wd-sticky-btn .wd-sticky-btn-thumbnail {
	display:grid;
	place-items:center;
	box-sizing:border-box;
	flex:0 0 56px !important;
	width:56px !important;
	min-width:56px !important;
	max-width:56px !important;
	height:56px !important;
	min-height:56px !important;
	max-height:56px !important;
	overflow:hidden;
}
body.gbb-product-compact .wd-sticky-btn .wd-sticky-btn-thumbnail img {
	display:block !important;
	width:100% !important;
	min-width:0 !important;
	max-width:100% !important;
	height:100% !important;
	min-height:0 !important;
	max-height:100% !important;
	margin:0 !important;
	aspect-ratio:auto !important;
	object-fit:contain !important;
	object-position:center;
}
body.gbb-product-compact .wd-sticky-btn .wd-sticky-btn-container,
body.gbb-product-compact .wd-sticky-btn .wd-sticky-btn-content {
	align-items:center;
}
body.gbb-product-compact .wd-sticky-btn .wd-sticky-btn-info { min-width:0; }
body.gbb-product-compact .wd-sticky-btn .wd-sticky-btn-info .wd-entities-title {
	display:-webkit-box;
	margin:0;
	max-height:2.7em;
	line-height:1.35;
	overflow:hidden;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
}
body.gbb-product-compact .wd-sticky-btn .single_add_to_cart_button { min-height:44px; }
@media (min-width:1025px) {
	body.gbb-product-compact .wd-sticky-btn { padding-block:8px; }
}
