/* SGE — native Product Detail Page (hero from Elementor + product-driven sections) */

body.sge-pdp {
	--sge-pdp-ink: #111111;
	--sge-pdp-muted: rgba(17, 17, 17, 0.62);
	--sge-pdp-border: rgba(17, 17, 17, 0.12);
	--sge-pdp-surface: #ffffff;
	--sge-pdp-soft: #f5f5f5;
	--sge-pdp-gold: var(--e-global-color-vamtam_accent_1, #f2e90d);
	--sge-pdp-max: 76rem;
	--sge-pdp-gutter: clamp(1.25rem, 4vw, 3.5rem);
	--sge-pdp-sticky-top: clamp(5.5rem, 7vw, 8.75rem);
	background: var(--sge-pdp-surface);
}

body.sge-pdp #sub-header,
body.sge-pdp .elementor-location-single .elementor-widget-woocommerce-notices:empty {
	display: none !important;
}

body.sge-pdp .elementor-location-single {
	overflow: visible !important;
}

/* ------------------------------------------------------------------
   Hero — gallery + buy box (image sticky left, content scrolls right)
   ------------------------------------------------------------------ */
body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) {
	max-width: var(--sge-pdp-max);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--sge-pdp-gutter) !important;
	padding-right: var(--sge-pdp-gutter) !important;
	padding-top: clamp(1.25rem, 3vw, 2rem) !important;
	padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
	overflow: visible !important;
}

body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
	column-gap: clamp(1.5rem, 3vw, 3rem) !important;
	row-gap: clamp(1rem, 2vw, 1.5rem) !important;
	align-items: start !important;
	overflow: visible !important;
}

/* Gallery column — left, sticks while summary scrolls */
body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner > .e-con:has(.elementor-widget-woocommerce-product-images) {
	grid-column: 1;
	grid-row: 1;
	align-self: start;
}

/* Summary column — right */
body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner > .e-con:not(:has(.elementor-widget-woocommerce-product-images)) {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

@media (min-width: 768px) {
	body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner > .e-con:has(.elementor-widget-woocommerce-product-images) {
		position: sticky;
		top: var(--sge-pdp-sticky-top);
		z-index: 2;
	}

	/* Prefer column-level sticky over Elementor widget sticky (avoids fixed-position fights). */
	body.sge-pdp .elementor-widget-woocommerce-product-images.elementor-sticky,
	body.sge-pdp .elementor-widget-woocommerce-product-images.elementor-sticky--active,
	body.sge-pdp .elementor-widget-woocommerce-product-images.elementor-sticky--effects {
		position: static !important;
		top: auto !important;
		width: auto !important;
	}
}

body.sge-pdp .elementor-location-single .e-con:has(.elementor-widget-woocommerce-product-images) {
	gap: clamp(1.5rem, 3vw, 3rem) !important;
	align-items: flex-start !important;
}

body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-loop-carousel),
body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-n-accordion),
body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-toggle),
body.sge-pdp .elementor-location-single .elementor-widget-loop-carousel,
body.sge-pdp .elementor-location-single .elementor-widget-n-accordion,
body.sge-pdp .elementor-location-single .elementor-widget-toggle,
body.sge-pdp .elementor-location-single .elementor-widget-woocommerce-product-data-tabs {
	display: none !important;
}

/* Breadcrumb */
body.sge-pdp .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb {
	margin: 0 0 1rem;
	color: var(--sge-pdp-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.8125rem;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

body.sge-pdp .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

body.sge-pdp .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a:hover {
	color: var(--sge-pdp-ink);
	text-decoration: underline;
}

/* Title */
body.sge-pdp .elementor-widget-woocommerce-product-title .product_title {
	margin: 0 0 0.35rem !important;
	color: var(--sge-pdp-ink) !important;
	font-family: "DM Sans", sans-serif !important;
	font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
}

/* Short description under title */
body.sge-pdp .elementor-widget-woocommerce-product-short-description,
body.sge-pdp .elementor-widget-woocommerce-product-short-description p {
	margin: 0 0 1rem !important;
	color: var(--sge-pdp-muted) !important;
	font-family: "DM Sans", sans-serif !important;
	font-size: 0.9375rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
}

body.sge-pdp .elementor-widget-woocommerce-product-title + .elementor-widget-heading .elementor-heading-title {
	margin: 0 0 1rem !important;
	color: var(--sge-pdp-muted) !important;
	font-family: "DM Sans", sans-serif !important;
	font-size: 0.9375rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* Additional information (brand / attributes) */
body.sge-pdp .elementor-widget-woocommerce-product-additional-information > .elementor-widget-container > h2,
body.sge-pdp .elementor-widget-woocommerce-product-additional-information h2:first-child {
	display: none;
}

body.sge-pdp .elementor-widget-woocommerce-product-additional-information .shop_attributes {
	margin: 0 0 0.75rem;
	width: auto;
	border: 0;
}

body.sge-pdp .elementor-widget-woocommerce-product-additional-information .shop_attributes th,
body.sge-pdp .elementor-widget-woocommerce-product-additional-information .shop_attributes td {
	padding: 0.15rem 0.5rem 0.15rem 0;
	border: 0;
	background: transparent;
	color: var(--sge-pdp-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	vertical-align: baseline;
}

body.sge-pdp .elementor-widget-woocommerce-product-additional-information .shop_attributes th {
	padding-right: 0.35rem;
	color: var(--sge-pdp-ink);
	font-weight: 600;
}

body.sge-pdp .elementor-widget-woocommerce-product-additional-information .shop_attributes th::after {
	content: ":";
}

body.sge-pdp .elementor-widget-woocommerce-product-additional-information .shop_attributes a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Price on request */
body.sge-pdp .sge-getprice__price {
	margin: 0.5rem 0 1rem;
}

body.sge-pdp .sge-getprice__price-label {
	font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
}

body.sge-pdp .sge-getprice__price-label::before {
	display: none;
}

body.sge-pdp .sge-getprice__panel {
	margin: 0.35rem 0 1rem;
}

body.sge-pdp .sge-getprice__trigger.sge-btn,
body.sge-pdp .sge-getprice__reassure {
	max-width: none;
}

body.sge-pdp .sge-getprice__trigger.sge-btn,
body.sge-pdp .sge-pdp-details__cta .sge-getprice__trigger.sge-btn,
body:not(.elementor-editor-active).sge-pdp .sge-getprice__trigger.sge-btn {
	width: fit-content !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	padding: 10px 18px !important;
	font-size: 0.8125rem !important;
	letter-spacing: 0.04em !important;
	line-height: 1.2 !important;
}

body:not(.elementor-editor-active).sge-pdp .sge-pdp-categories__chip.sge-btn,
body:not(.elementor-editor-active).sge-pdp .sge-pdp-complete .sge-shop-catalog__cta.sge-btn {
	width: fit-content !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 9px 14px !important;
	font-size: 0.75rem !important;
	letter-spacing: 0.04em;
	line-height: 1.2 !important;
}

/* Delivery / reassurance row under CTA */
body.sge-pdp .elementor-widget-woocommerce-product-title ~ .e-con .elementor-widget-text-editor p,
body.sge-pdp .sge-getprice__panel ~ .elementor-widget-text-editor p {
	margin: 0 !important;
	color: var(--sge-pdp-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.875rem;
	line-height: 1.45;
}

body.sge-pdp .sge-getprice__panel ~ .e-con,
body.sge-pdp .elementor-widget-woocommerce-product-add-to-cart ~ .e-con {
	margin-top: 0.25rem !important;
	padding: 0.85rem 0 !important;
	border-top: 1px solid var(--sge-pdp-border);
	align-items: center !important;
	gap: 0.65rem !important;
}

/*
 * Elementor product-images column is collapsed — the native mid-band gallery
 * is the visible product gallery (avoids blank/opacity-0 Woo Flexslider hero).
 */
body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner > .e-con:has(.elementor-widget-woocommerce-product-images) {
	display: none !important;
}

body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner {
	grid-template-columns: minmax(0, 1fr) !important;
}

/* Gallery fallback styles if Elementor images are re-enabled later */
body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
	position: relative;
	background: var(--sge-pdp-soft);
	opacity: 1 !important;
	border: 1px solid var(--sge-pdp-border);
}

body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__wrapper {
	margin: 0;
}

body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__image {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	height: auto;
	background: var(--sge-pdp-soft);
}

body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__image a {
	display: block;
	position: absolute;
	inset: 0;
}

body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__image img,
body.sge-pdp .elementor-widget-woocommerce-product-images .wp-post-image,
body.sge-pdp .elementor-widget-woocommerce-product-images .zoomImg {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain !important;
	object-position: center !important;
	background: var(--sge-pdp-soft);
}

body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger {
	display: flex !important;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 9;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--sge-pdp-border);
	border-radius: 0;
	background: #fff;
	color: var(--sge-pdp-ink);
	text-decoration: none;
	box-shadow: none;
}

body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger::before,
body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger::after {
	display: none !important;
}

body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger .sge-pdp-zoom-icon,
body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger {
	font-size: 0;
}

body.sge-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger::after {
	content: "";
	display: block !important;
	width: 0.85rem;
	height: 0.85rem;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	box-shadow: 0.35rem 0.35rem 0 -0.55rem currentColor;
	transform: translate(-1px, -1px);
}

body.sge-pdp .elementor-widget-woocommerce-product-images ol.flex-control-thumbs,
body.sge-pdp .elementor-widget-woocommerce-product-images .sge-pdp-thumbs {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr));
	gap: 0.5rem;
	margin: 0.75rem 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.sge-pdp .elementor-widget-woocommerce-product-images ol.flex-control-thumbs li,
body.sge-pdp .elementor-widget-woocommerce-product-images .sge-pdp-thumbs__btn {
	margin: 0 !important;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid var(--sge-pdp-border);
	background: var(--sge-pdp-soft);
	cursor: pointer;
}

body.sge-pdp .elementor-widget-woocommerce-product-images .sge-pdp-thumbs__btn {
	display: block;
	width: 100%;
	padding: 0;
}

body.sge-pdp .elementor-widget-woocommerce-product-images ol.flex-control-thumbs li img,
body.sge-pdp .elementor-widget-woocommerce-product-images .sge-pdp-thumbs__btn img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	opacity: 1 !important;
	border: 0 !important;
	border-radius: 0;
}

body.sge-pdp .elementor-widget-woocommerce-product-images ol.flex-control-thumbs li img.flex-active,
body.sge-pdp .elementor-widget-woocommerce-product-images .sge-pdp-thumbs__btn.is-active {
	outline: 2px solid var(--sge-pdp-ink);
	outline-offset: -2px;
}

/* Mid-band is copy-only now (no photo overlay) */
.sge-pdp-details--copy-only {
	display: block;
}

.sge-pdp-details--copy-only .sge-pdp-details__copy {
	max-width: 48rem;
}

.sge-pdp-details__caption {
	display: none !important;
}

/* Legacy carousel wrappers */
body.sge-pdp .sge-pdp-hide-related-carousel {
	display: none !important;
}

body.sge-pdp .e-con:has(> .sge-pdp-hide-related-carousel):not(:has(> .elementor-element:not(.sge-pdp-hide-related-carousel))) {
	display: none !important;
}

/* ------------------------------------------------------------------
   Injected sections below hero
   ------------------------------------------------------------------ */
.sge-pdp-mid {
	max-width: var(--sge-pdp-max);
	margin: 0 auto;
	padding: 0 var(--sge-pdp-gutter) clamp(3rem, 6vw, 5rem);
	color: var(--sge-pdp-ink);
	font-family: "DM Sans", sans-serif;
	overflow: visible;
}

.sge-pdp-section-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: none !important;
}

.sge-pdp-section-desc {
	margin: 0;
	color: var(--sge-pdp-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.sge-pdp-details {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	border-top: 1px solid var(--sge-pdp-border);
	overflow: visible;
}

.sge-pdp-details:not(:has(.sge-pdp-details__media)) {
	grid-template-columns: 1fr;
}

.sge-pdp-details__copy {
	display: grid;
	gap: clamp(1rem, 2vw, 1.35rem);
	align-content: start;
}

.sge-pdp-details__cta {
	display: grid;
	gap: 0.65rem;
	margin: 0 0 clamp(0.5rem, 1.5vw, 0.85rem);
}

.sge-pdp-details__cta .sge-getprice__price {
	margin: 0;
}

.sge-pdp-details__cta .sge-getprice__panel {
	margin: 0;
}

.sge-pdp-details__cta .sge-getprice__trigger.sge-btn {
	min-height: 0;
}

.sge-pdp-details__eyebrow {
	margin: 0 0 0.5rem;
	color: var(--sge-pdp-gold);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sge-pdp-details__title {
	margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
	font-size: clamp(1.65rem, 2.8vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: none !important;
}

.sge-pdp-details__body {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.25rem);
}

/* Native mid-band product gallery */
.sge-pdp-details__media {
	position: relative;
	margin: 0;
	aspect-ratio: auto;
	overflow: visible;
	background: transparent;
	border: 0;
	align-self: start;
}

@media (min-width: 768px) {
	.sge-pdp-details__media {
		position: sticky;
		top: var(--sge-pdp-sticky-top);
		z-index: 1;
	}
}

.sge-pdp-gallery {
	display: grid;
	gap: 0.75rem;
}

.sge-pdp-gallery__stage {
	position: relative;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid var(--sge-pdp-border);
}

.sge-pdp-gallery__slide {
	position: relative;
	display: none;
	margin: 0;
	background: #ffffff;
}

.sge-pdp-gallery__slide.is-active {
	display: block;
}

.sge-pdp-gallery__slide[hidden] {
	display: none !important;
}

.sge-pdp-gallery__slide img,
body.sge-pdp .sge-pdp-gallery__slide img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: min(72vh, 42rem) !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	object-position: center !important;
}

.sge-pdp-gallery__stage:focus {
	outline: none;
}

.sge-pdp-gallery__stage:focus-visible {
	outline: 2px solid var(--sge-pdp-ink);
	outline-offset: 2px;
}

.sge-pdp-gallery__zoom,
body.sge-pdp .sge-pdp-gallery__zoom,
body.sge-pdp button.sge-pdp-gallery__zoom {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 5;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.25rem !important;
	height: 2.25rem !important;
	min-width: 2.25rem !important;
	min-height: 2.25rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(17, 17, 17, 0.18) !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: #111111 !important;
	box-shadow: none !important;
	cursor: zoom-in;
	appearance: none;
	-webkit-appearance: none;
	text-indent: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.sge-pdp-gallery__zoom:hover,
.sge-pdp-gallery__zoom:focus,
.sge-pdp-gallery__zoom:focus-visible,
body.sge-pdp button.sge-pdp-gallery__zoom:hover {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #111111 !important;
	border-color: #111111 !important;
}

.sge-pdp-gallery__zoom-icon {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transform: none !important;
	pointer-events: none;
	overflow: visible;
}

/* WooCommerce jquery.zoom overlay */
.sge-pdp-gallery__slide {
	cursor: crosshair;
}

.sge-pdp-gallery__slide .zoomImg {
	background-color: #ffffff !important;
}

.sge-pdp-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
	gap: 0.5rem;
}

/* Div thumbs — escape Elementor kit yellow button + padding */
.sge-pdp-gallery__thumb,
body.sge-pdp .sge-pdp-gallery__thumb,
body.elementor-kit-5 .sge-pdp-gallery__thumb,
body.sge-pdp button.sge-pdp-gallery__thumb {
	display: block !important;
	box-sizing: border-box !important;
	aspect-ratio: 1 / 1 !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 1px solid var(--sge-pdp-border) !important;
	border-radius: 0 !important;
	background: #f5f5f5 !important;
	background-color: #f5f5f5 !important;
	background-image: none !important;
	color: inherit !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-transform: none !important;
	cursor: pointer;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
}

.sge-pdp-gallery__thumb:hover,
.sge-pdp-gallery__thumb:focus,
.sge-pdp-gallery__thumb:focus-visible,
body.elementor-kit-5 .sge-pdp-gallery__thumb:hover,
body.elementor-kit-5 .sge-pdp-gallery__thumb:focus {
	background: #f5f5f5 !important;
	background-color: #f5f5f5 !important;
	outline: 2px solid rgba(17, 17, 17, 0.35);
	outline-offset: -2px;
}

.sge-pdp-gallery__thumb img,
body.sge-pdp .sge-pdp-gallery__thumb img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
}

.sge-pdp-gallery__thumb.is-active,
body.sge-pdp .sge-pdp-gallery__thumb.is-active {
	outline: 2px solid #111111 !important;
	outline-offset: -2px !important;
}

.sge-pdp-details__caption {
	display: none !important;
}

/* Product description prose */
.sge-pdp-prose {
	display: grid;
	gap: clamp(1.35rem, 2.5vw, 1.85rem);
	color: var(--sge-pdp-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.sge-pdp-prose__lead {
	margin: 0;
	max-width: 38rem;
	color: var(--sge-pdp-ink);
	font-size: clamp(1rem, 1.5vw, 1.0625rem);
	line-height: 1.7;
}

.sge-pdp-prose > p:not(.sge-pdp-prose__lead) {
	margin: 0;
}

.sge-pdp-prose__heading,
.sge-pdp-prose h3,
.sge-pdp-prose h4 {
	margin: 0 0 0.85rem;
	padding-top: 0.15rem;
	color: var(--sge-pdp-ink);
	font-family: "Bebas Neue", "DM Sans", sans-serif;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.08em;
	text-transform: uppercase !important;
}

.sge-pdp-prose__heading::before,
.sge-pdp-prose h3::before,
.sge-pdp-prose h4::before {
	content: "";
	display: block;
	width: 2rem;
	height: 3px;
	margin-bottom: 0.65rem;
	background: var(--sge-pdp-gold);
}

.sge-pdp-prose__features,
.sge-pdp-prose ul:not(.sge-pdp__spec-list) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sge-pdp-prose__features li,
.sge-pdp-prose ul:not(.sge-pdp__spec-list) li {
	position: relative;
	margin: 0;
	padding-left: 1.1rem;
	color: var(--sge-pdp-ink);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.sge-pdp-prose__features li::before,
.sge-pdp-prose ul:not(.sge-pdp__spec-list) li::before {
	content: "";
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: var(--sge-pdp-gold);
}

.sge-pdp-prose__block {
	display: grid;
	gap: 0.85rem;
}

.sge-pdp-prose__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 1px solid var(--sge-pdp-border);
	background: var(--sge-pdp-surface);
}

.sge-pdp-prose__table tr:nth-child(even) {
	background: rgba(17, 17, 17, 0.025);
}

.sge-pdp-prose__table th,
.sge-pdp-prose__table td {
	padding: 0.8rem 1rem;
	border-bottom: 1px solid var(--sge-pdp-border);
	text-align: left;
	vertical-align: top;
}

.sge-pdp-prose__table tr:last-child th,
.sge-pdp-prose__table tr:last-child td {
	border-bottom: 0;
}

.sge-pdp-prose__table th {
	width: 42%;
	color: var(--sge-pdp-ink);
	font-family: "DM Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	font-style: normal;
	line-height: 1.4;
}

.sge-pdp-prose__table td {
	color: var(--sge-pdp-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.9375rem;
	font-weight: 500;
	font-style: normal !important;
	line-height: 1.45;
}

.sge-pdp-prose__table tr > :first-child {
	width: 42%;
	color: var(--sge-pdp-ink);
	font-weight: 700;
}

.sge-pdp-prose__table tr > :last-child {
	font-weight: 500;
}

.sge-pdp-prose__table em,
.sge-pdp-prose__table i {
	font-style: normal !important;
}

.sge-pdp-prose__table td:empty::after {
	content: "—";
	color: rgba(17, 17, 17, 0.28);
}

.sge-pdp-reviews {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(1rem, 3vw, 2rem);
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
	background: var(--sge-pdp-soft);
}

.sge-pdp-reviews__quote p {
	margin: 0;
	color: var(--sge-pdp-ink);
	font-size: 1rem;
	line-height: 1.55;
	font-style: italic;
}

.sge-pdp-reviews__score {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
}

.sge-pdp-reviews__value {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.sge-pdp-reviews__stars {
	color: var(--sge-pdp-ink);
	letter-spacing: 0.08em;
	font-size: 0.85rem;
}

.sge-pdp-reviews__count {
	color: var(--sge-pdp-muted);
	font-size: 0.875rem;
}

.sge-pdp-complete {
	padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.75rem);
	border-top: 1px solid var(--sge-pdp-border);
}

.sge-pdp-complete__head {
	margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
	max-width: 40rem;
}

body.sge-pdp .sge-pdp-complete .sge-shop-catalog__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.85rem, 2vw, 1.25rem);
}

.sge-pdp-categories {
	padding: clamp(2rem, 4vw, 3rem) 0 0;
	border-top: 1px solid var(--sge-pdp-border);
}

.sge-pdp-categories__head {
	margin-bottom: clamp(1rem, 2vw, 1.35rem);
	max-width: 40rem;
}

.sge-pdp-categories__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

body:not(.elementor-editor-active) .sge-pdp-categories__chip.sge-btn {
	padding: 9px 14px;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1200px) {
	body.sge-pdp .sge-pdp-complete .sge-shop-catalog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sge-pdp-details,
	.sge-pdp-reviews {
		grid-template-columns: 1fr;
	}

	body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner {
		grid-template-columns: 1fr !important;
	}

	body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner > .e-con:has(.elementor-widget-woocommerce-product-images),
	body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con-inner > .e-con:not(:has(.elementor-widget-woocommerce-product-images)) {
		grid-column: 1;
		position: static;
		top: auto;
	}

	.sge-pdp-details__media {
		position: static;
		top: auto;
		max-width: none;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	body.sge-pdp {
		--sge-pdp-sticky-top: calc(4.5rem + env(safe-area-inset-top, 0px));
	}

	.sge-pdp-details__media {
		max-width: none;
	}
}

@media (max-width: 768px) {
	body.sge-pdp .sge-pdp-complete .sge-shop-catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sge-pdp-prose__features,
	.sge-pdp-prose ul:not(.sge-pdp__spec-list) {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	body.sge-pdp .sge-pdp-details__cta,
	body.sge-pdp .sge-pdp-details__cta .sge-getprice__price,
	body.sge-pdp .sge-pdp-details__cta .sge-getprice__panel,
	body.sge-pdp .sge-pdp-details__cta .sge-getprice__reassure {
		text-align: left !important;
	}

	/* Hero + buy box — left-align on mobile (Elementor often centers the summary column). */
	body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images),
	body.sge-pdp .elementor-location-single .e-con:has(.elementor-widget-woocommerce-product-images) > .e-con {
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}

	body.sge-pdp .elementor-location-single .elementor-align-center,
	body.sge-pdp .elementor-location-single .elementor-align-center .elementor-widget-container,
	body.sge-pdp .elementor-widget-woocommerce-breadcrumb,
	body.sge-pdp .elementor-widget-woocommerce-product-title,
	body.sge-pdp .elementor-widget-woocommerce-product-short-description,
	body.sge-pdp .elementor-widget-woocommerce-product-additional-information,
	body.sge-pdp .elementor-widget-text-editor,
	body.sge-pdp .sge-getprice__price,
	body.sge-pdp .sge-getprice__panel,
	body.sge-pdp .sge-getprice__reassure {
		text-align: left !important;
	}

	body.sge-pdp .sge-getprice__panel ~ .e-con,
	body.sge-pdp .elementor-widget-woocommerce-product-add-to-cart ~ .e-con {
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}

	/* Tighten primary CTA — hug label instead of full-width bar. */
	body.sge-pdp .sge-getprice__trigger.sge-btn {
		width: fit-content !important;
		max-width: none;
		min-width: 0 !important;
		min-height: 0 !important;
		padding: 9px 14px !important;
		font-size: 0.75rem !important;
	}

	body.sge-pdp .sge-pdp-categories__chip.sge-btn,
	body.sge-pdp .sge-pdp-complete .sge-shop-catalog__cta.sge-btn {
		width: fit-content !important;
		min-width: 0 !important;
		padding: 8px 12px !important;
		font-size: 0.75rem !important;
		letter-spacing: 0.05em;
	}

	.sge-pdp-mid,
	.sge-pdp-details,
	.sge-pdp-complete,
	.sge-pdp-categories,
	.sge-pdp-prose,
	.sge-pdp-reviews {
		text-align: left;
	}
}

@media (max-width: 720px) {
	body.sge-pdp .elementor-location-single > .e-con:has(.elementor-widget-woocommerce-product-images) {
		padding-top: 1rem !important;
	}

	.sge-pdp-details__media {
		max-width: none;
	}
}

@media (max-width: 480px) {
	body.sge-pdp .sge-pdp-complete .sge-shop-catalog__grid {
		grid-template-columns: 1fr;
	}
}
