/*
 * Lower PDP, version C (VEL-20261108-PDP-UNTERTEIL).
 * Markup comes from includes/pdp-lower-c.php. Every rule hangs on a class that
 * only this filter sets, so old cached pages stay untouched. Selectors repeat
 * the template's own prefix because its inline styles load after this file.
 */

/* Accordion: one type and row height per PDP. The :not() outranks the older accordion rules. */
html:not(#vlr-c) body.single-product .vlr-c-details .elementor-tab-title,
html:not(#vlr-c) body.single-product .vlr-c-details .wd-accordion-title {
	min-height: 56px !important;
	height: auto !important;
}
html:not(#vlr-c) body.single-product .vlr-c-details .elementor-toggle-title,
html:not(#vlr-c) body.single-product .vlr-c-details .elementor-tab-title,
html:not(#vlr-c) body.single-product .vlr-c-details .wd-accordion-title,
html:not(#vlr-c) body.single-product .vlr-c-details .wd-accordion-title :is(.vlr-ring-specifications__tab-title, .wd-accordion-title-text, span) {
	font-family: Karla, -apple-system, system-ui, sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	color: var(--vlr-ink, #3a2a1f) !important;
}
/* Review data stays in the document; the visible voices sit in the warm block. */
body.single-product .vlr-c-hidden { display: none !important; }
.vlr-c-details-title { display: none; }

/* Section rhythm: no rules between sections, one distance. */
body.single-product .vlr-lower :is(#momente, #atelier, #fragen).vlr-c {
	padding-top: 56px !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
}
body.single-product .vlr-lower :is(#momente, #atelier, #fragen).vlr-c::before,
body.single-product .vlr-lower :is(#momente, #atelier, #fragen).vlr-c::after {
	display: none !important;
}
body.single-product .vlr-c-recs {
	padding-top: 56px !important;
	margin-top: 0 !important;
}

/* Reviews: rating and photos on one warm surface, one voice below. */
body.single-product .vlr-lower #momente.vlr-c {
	position: relative;
	margin-top: 56px !important;
	padding-bottom: 56px !important;
	background: var(--vlr-mist, #f9f8f4);
	box-shadow: 0 0 0 100vmax var(--vlr-mist, #f9f8f4);
	clip-path: inset(0 -100vmax);
}
body.single-product .vlr-lower #momente.vlr-c .section-top { margin-bottom: 12px !important; }
body.single-product .vlr-lower #momente.vlr-c .review {
	padding-top: 0 !important;
	padding-bottom: 4px !important;
	margin-top: 0 !important;
	margin-bottom: 16px !important;
	border: 0 !important;
}
body.single-product .vlr-lower #momente.vlr-c .review::before,
body.single-product .vlr-lower #momente.vlr-c .review::after { display: none !important; }
body.single-product .vlr-lower #momente.vlr-c .tp-rating { border-bottom: 0 !important; }
body.single-product .vlr-lower .vlr-c-quote {
	box-sizing: border-box;
	max-width: 640px;
	margin: 40px auto 0 !important;
	padding: 0 20px;
	text-align: center;
}
body.single-product .vlr-lower .vlr-c-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--vlr-ink, #3a2a1f);
	font: 400 27px/1.2 'Cormorant Garamond', Georgia, serif;
	text-align: center;
	text-wrap: balance;
}
body.single-product .vlr-lower .vlr-c-quote figcaption {
	margin-top: 12px;
	color: var(--vlr-muted, #75675c);
	font: 400 13px/1.4 Karla, system-ui, sans-serif;
	text-align: center;
}

/* Film: edge to edge on phones. The template image gives way to the film. */
body.single-product .vlr-lower #atelier.vlr-c { display: block !important; }
body.single-product .vlr-lower #atelier.vlr-c .atelier-photo {
	width: 100vw !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	border-radius: 0 !important;
}
body.single-product .vlr-lower #atelier.vlr-c .atelier-photo :is(img, video) { border-radius: 0 !important; }

/* Fertigung steps. */
body.single-product .vlr-lower .vlr-steps { min-width: 0; margin-top: 40px; }
body.single-product .vlr-lower .vlr-steps h2 {
	margin: 0 0 20px;
	color: var(--vlr-ink, #3a2a1f);
	font-size: 34px;
	text-align: left;
}
body.single-product .vlr-lower .vlr-steps ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.single-product .vlr-lower .vlr-steps .vlr-step {
	margin: 0;
	padding: 0;
	list-style: none;
}
.vlr-step__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: 14px;
	background: var(--vlr-black, #1a1a1a);
}
.vlr-step__media :is(img, video) {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vlr-step__toggle {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.vlr-step__toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}
body.single-product .vlr-lower .vlr-steps h3 {
	margin: 0;
	color: var(--vlr-ink, #3a2a1f);
	font: 400 21px/1.2 'Cormorant Garamond', Georgia, serif;
	text-align: left;
}
body.single-product .vlr-lower .vlr-steps .vlr-steps__link {
	display: inline-block;
	min-height: 24px;
	margin-top: 20px;
	color: var(--vlr-ink, #3a2a1f);
	font: 500 15px/1.5 Karla, system-ui, sans-serif;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.single-product .vlr-lower .vlr-steps ol {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 12px;
}
body.single-product .vlr-lower .vlr-steps h3 { margin-top: 10px; }

/* Questions: rows as tall as the accordion, button closes the list. */
body.single-product .vlr-lower #fragen.vlr-c .faq-list > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border-color: var(--vlr-line, #e6dfd5) !important;
}
body.single-product .vlr-lower #fragen.vlr-c summary,
body.single-product .vlr-lower #fragen.vlr-c .vlr-faq-consult-link {
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	min-height: 62px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font: 500 15px/1.4 Karla, -apple-system, system-ui, sans-serif !important;
	letter-spacing: 0 !important;
	color: var(--vlr-ink, #3a2a1f) !important;
}
body.single-product .vlr-lower #fragen.vlr-c .questions-intro { margin-bottom: 8px; }
body.single-product .vlr-lower #fragen.vlr-c .vlr-faq-consult {
	display: block !important;
	margin-top: 24px !important;
	padding-top: 0 !important;
	padding-bottom: 56px !important;
}
body.single-product .vlr-lower #fragen.vlr-c .vlr-faq-consult .button { width: 100%; margin: 0; }

/* Jewellery: voices on the warm surface, four cards, button at the end. */
body.single-product .vlr-c-voices {
	padding-top: 56px !important;
	padding-bottom: 56px !important;
	margin-top: 56px !important;
	background: var(--vlr-mist, #f9f8f4) !important;
}
body.single-product .vlr-c-voices :is(.vlr-jewelry-reviews, .vjr-inner) { background: transparent !important; }
body.single-product .vlr-c-voices .vjr-card { background: #fff !important; }
body.single-product .vlr-c-voices + .vlr-jewelry-gift { margin-top: 40px; }
body.single-product .vlr-c-recs--jewellery :is(.product, li.product, .product-grid-item):nth-child(n+5) { display: none !important; }
.vlr-c-consult {
	box-sizing: border-box;
	max-width: 640px;
	margin: 40px auto 0;
	padding: 0 20px 56px;
}
body.single-product .vlr-c-consult .button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--vlr-ink, #3a2a1f);
	border-radius: 12px;
	background: #fff;
	color: var(--vlr-ink, #3a2a1f);
	gap: 6px;
	font: 500 15px/1.3 Karla, -apple-system, system-ui, sans-serif;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
}

@media (min-width: 701px) {
	body.single-product .vlr-lower #fragen.vlr-c { row-gap: 0; }
	body.single-product .vlr-lower #fragen.vlr-c .vlr-faq-consult { grid-column: 2; }
}

@media (min-width: 701px) and (max-width: 1024px) {
	body.single-product .vlr-lower #atelier.vlr-c .atelier-photo {
		width: 100% !important;
		max-width: 720px !important;
		margin: 0 auto !important;
		aspect-ratio: 5 / 4;
	}
	body.single-product .vlr-lower .vlr-steps ol { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1025px) {
	body.single-product .vlr-lower :is(#momente, #atelier, #fragen).vlr-c { padding-top: 88px !important; }
	body.single-product .vlr-c-recs { padding-top: 88px !important; }
	body.single-product .vlr-lower #momente.vlr-c {
		margin-top: 88px !important;
		padding-bottom: 88px !important;
	}
	body.single-product .vlr-lower #momente.vlr-c .section-top { margin-bottom: 20px !important; }
	body.single-product .vlr-lower #momente.vlr-c .review {
		padding-bottom: 8px !important;
		margin-bottom: 24px !important;
	}
	body.single-product .vlr-lower .vlr-c-quote { margin-top: 56px !important; padding: 0; }
	body.single-product .vlr-lower .vlr-c-quote blockquote { font-size: 34px; }

	body.single-product .vlr-lower #atelier.vlr-c {
		display: grid !important;
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important;
		gap: 56px !important;
		align-items: center !important;
	}
	body.single-product .vlr-lower #atelier.vlr-c .atelier-photo {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		border-radius: 14px !important;
		overflow: hidden;
	}
	body.single-product .vlr-lower .vlr-steps { margin-top: 0; }
	body.single-product .vlr-lower .vlr-steps h2 { margin-bottom: 24px; font-size: 38px; }
	body.single-product .vlr-lower .vlr-steps h3 { font-size: 20px; }
	body.single-product .vlr-lower .vlr-steps .vlr-steps__link { margin-top: 24px; }
	body.single-product .vlr-lower .vlr-steps ol { gap: 20px 16px; }

	body.single-product .vlr-lower #fragen.vlr-c summary,
	body.single-product .vlr-lower #fragen.vlr-c .vlr-faq-consult-link { min-height: 57px !important; }

	/* Details in the same grid as the questions. */
	body.single-product .vlr-c-details:has(.vlr-c-details-title) > .elementor-container {
		display: grid !important;
		grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
		column-gap: clamp(32px, 5vw, 72px);
		box-sizing: border-box;
		width: calc(100% - 120px);
		max-width: none !important;
		margin: 0 auto;
		align-items: start;
	}
	body.single-product .vlr-c-details:has(.vlr-c-details-title) > .elementor-container :is(.elementor-column, .elementor-widget-wrap, .e-con-inner, .elementor-widget, .elementor-widget-container, .woocommerce-tabs, .e-con) {
		width: 100% !important;
		max-width: none !important;
		min-width: 0;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.vlr-c-details-title {
		display: block;
		margin: 12px 0 0;
		color: var(--vlr-ink, #3a2a1f);
		font: 400 38px/1.08 'Cormorant Garamond', Georgia, serif;
	}
	.vlr-c-voices { margin-top: 88px !important; }
}
