/* Bier4U custom product page — palette tuned to the client's mockup:
   vibrant orange accents, green for progress/loyalty, cream surfaces. */
.ber4u-pdp {
	--b4u-bg: #ffffff;
	--b4u-surface: #f4f1ec;
	--b4u-line: #e6ddcd;
	--b4u-ink: #1f2733;
	--b4u-muted: #7c7266;
	--b4u-orange: #f5a11e;
	--b4u-orange-dark: #e08a08;
	--b4u-orange-soft: #fff3e0;
	--b4u-green: #4aa84f;
	--b4u-green-dark: #2f7a3a;

	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 20px 64px;
	color: var(--b4u-ink);
	background: var(--b4u-bg);
}

.ber4u-pdp * {
	box-sizing: border-box;
}

.ber4u-pdp__breadcrumbs {
	font-size: 0.85em;
	color: var(--b4u-muted);
	margin-bottom: 20px;
}

/* ---- Main: gallery + summary ---- */
.ber4u-pdp__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 44px;
	align-items: start;
	margin-bottom: 36px;
}

@media (max-width: 820px) {
	.ber4u-pdp__main {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

.ber4u-pdp__gallery .woocommerce-product-gallery__image img {
	border-radius: 16px;
	width: 100%;
	height: auto;
}

.ber4u-pdp__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
}

.ber4u-pdp__summary {
	background: var(--b4u-surface);
	border-radius: 18px;
	padding: 28px 30px;
	/* Override WooCommerce's default div.summary { float:right; width:48% }
	   so the card fills our own grid column instead of shrinking to half. */
	float: none !important;
	width: auto !important;
	min-width: 0;
}

.ber4u-pdp__gallery {
	float: none !important;
	width: auto !important;
	min-width: 0;
	border-radius: 16px;
	overflow: hidden;
	/* height is synced to the summary card height in JS so the image bottom
	   lines up with the add-to-cart button; falls back to auto if JS is off. */
}

.ber4u-pdp__gallery .woocommerce-product-gallery {
	width: 100% !important;
	max-width: 100% !important;
	height: 100%;
	float: none !important;
	margin: 0 !important;
}

.ber4u-pdp__gallery .woocommerce-product-gallery__wrapper,
.ber4u-pdp__gallery .woocommerce-product-gallery__image {
	width: 100%;
	height: 100%;
}

.ber4u-pdp__gallery .woocommerce-product-gallery__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

@media (max-width: 820px) {
	.ber4u-pdp__gallery,
	.ber4u-pdp__gallery .woocommerce-product-gallery,
	.ber4u-pdp__gallery .woocommerce-product-gallery__wrapper,
	.ber4u-pdp__gallery .woocommerce-product-gallery__image {
		height: auto !important;
	}

	.ber4u-pdp__gallery .woocommerce-product-gallery__image img {
		width: auto;
		max-width: 100%;
		max-height: 52vh;
		height: auto;
		margin: 0 auto;
		object-fit: contain;
	}
}

/* The bottle counter from ber4u-account (injected after the add-to-cart
   button) duplicates our own bonus progress bar here — hide it on this page. */
.ber4u-pdp .ber4u-bottle-progress-fragment {
	display: none !important;
}

/* WooCommerce Payments / Stripe express-checkout (Google Pay/Apple Pay)
   button isn't part of this design and blows out the cart row — hide it
   on the product page (full options remain on the checkout page). */
#wc-stripe-express-checkout-element,
#wcpay-express-checkout-element,
.wcpay-express-checkout-wrapper,
.wc-stripe-product-checkout-container,
[class*="payment-request"],
[id*="payment-request"] {
	display: none !important;
}

.ber4u-pdp__summary h1.product_title,
.ber4u-pdp__summary .product_title {
	flex: 1 1 100%;
	font-size: 2em;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 0;
}

.ber4u-pdp__style-kicker {
	color: var(--b4u-green-dark);
	font-weight: 600;
	margin: 2px 0 0;
}

.ber4u-pdp__heading .woocommerce-product-rating {
	margin: 0 0 0 auto;
	font-size: 0.85em;
}

/* Star rating (heading + review cards) */
.ber4u-pdp__rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.ber4u-pdp__stars {
	position: relative;
	display: inline-block;
	font-family: Arial, sans-serif;
	font-size: 1.05em;
	line-height: 1;
	white-space: nowrap;
}

.ber4u-pdp__stars::before {
	content: "★★★★★";
	color: var(--b4u-line);
	letter-spacing: 2px;
}

.ber4u-pdp__stars > span {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
}

.ber4u-pdp__stars > span::before {
	content: "★★★★★";
	color: var(--b4u-orange);
	letter-spacing: 2px;
}

.ber4u-pdp__rating-value {
	font-weight: 800;
}

.ber4u-pdp__rating-link {
	font-size: 0.78em;
	line-height: 1.15;
	text-align: center;
	color: var(--b4u-orange-dark);
	text-decoration: none;
}

.ber4u-pdp__rating-link:hover {
	text-decoration: underline;
}

.ber4u-pdp__specs-line {
	color: var(--b4u-muted);
	margin: 12px 0 18px;
	line-height: 1.5;
}

/* ---- Progress bars ---- */
.ber4u-pdp__progress-bars {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 22px;
}

.ber4u-pdp__progress-label {
	margin: 0 0 6px;
	font-size: 0.9em;
	font-weight: 600;
	color: var(--b4u-green-dark);
}

.ber4u-pdp__progress-track {
	height: 7px;
	border-radius: 999px;
	background: var(--b4u-line);
	overflow: hidden;
}

.ber4u-pdp__progress-track span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--b4u-green);
	transition: width 0.4s ease;
}

.ber4u-pdp__progress--shipping .ber4u-pdp__progress-label {
	color: var(--b4u-green-dark);
}

/* ---- Purchase mode (connected full-width rows) ---- */
.ber4u-pdp__purchase-mode {
	display: flex;
	flex-direction: column;
	margin-bottom: 8px;
	border: 2px solid var(--b4u-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.ber4u-pdp__mode-chip {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	border: none;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
}

.ber4u-pdp__mode-chip + .ber4u-pdp__mode-chip {
	border-top: 2px solid var(--b4u-line);
}

.ber4u-pdp__mode-chip.is-active {
	background: #f5b53d;
}

.ber4u-pdp__mode-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.ber4u-pdp__mode-title {
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.95em;
	letter-spacing: 0.01em;
}

.ber4u-pdp__mode-sub {
	font-size: 0.8em;
	color: var(--b4u-muted);
}

.ber4u-pdp__mode-chip.is-active .ber4u-pdp__mode-sub {
	color: rgba(31, 39, 51, 0.7);
}

.ber4u-pdp__mode-price {
	font-size: 1.5em;
	font-weight: 800;
	white-space: nowrap;
	color: var(--b4u-orange-dark);
}

.ber4u-pdp__mode-chip.is-active .ber4u-pdp__mode-price {
	color: var(--b4u-ink);
}

.ber4u-pdp__mode-badge {
	background: var(--b4u-green);
	color: #fff;
	font-size: 0.68em;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.ber4u-pdp__subscription-note {
	font-size: 0.8em;
	color: var(--b4u-muted);
	margin: 6px 0 16px;
}

/* ---- Cart row: add-to-cart + qty presets inline ---- */
.ber4u-pdp__cart-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
	margin: 16px 0 4px;
	height: 50px;
}

.ber4u-pdp__cart-row form.cart {
	display: flex;
	align-items: stretch;
	margin: 0;
	order: -1; /* button on the left (wide), stepper on the right — matches the design */
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
}

/* Native qty spinner is replaced by the 1/3/5 presets. */
.ber4u-pdp__cart-row form.cart .quantity {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ber4u-pdp__cart-row .single_add_to_cart_button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	background: #fff !important;
	border: 2px solid var(--b4u-orange) !important;
	color: var(--b4u-ink) !important;
	font-weight: 800;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 0 28px;
	line-height: 1;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.ber4u-pdp__cart-row .single_add_to_cart_button::after {
	content: "+";
	margin-left: 16px;
	font-size: 1.35em;
	line-height: 1;
	color: var(--b4u-orange);
}

.ber4u-pdp__cart-row .single_add_to_cart_button:hover {
	background: var(--b4u-orange) !important;
	border-color: var(--b4u-orange) !important;
	color: #fff !important;
}

.ber4u-pdp__cart-row .single_add_to_cart_button:hover::after {
	color: #fff;
}

/* ---- Variable products (тара + пробки): the variations form needs its own
   rows — packaging chips, then the selected price, then button + stepper —
   instead of being crammed into the 50px flex row. ---- */
.ber4u-pdp__cart-row:has(form.variations_form) {
	display: block;
	height: auto;
}

.ber4u-pdp__cart-row form.cart.variations_form {
	display: block;
	height: auto;
	width: 100%;
}

.ber4u-pdp__cart-row .variations,
.ber4u-pdp__cart-row .variations tbody,
.ber4u-pdp__cart-row .variations tr,
.ber4u-pdp__cart-row .variations th,
.ber4u-pdp__cart-row .variations td {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

/* «Упаковка» heading, styled like the Объём label. */
.ber4u-pdp__cart-row .variations .label,
.ber4u-pdp__cart-row .variations th.label {
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	color: var(--b4u-ink);
	margin: 0 0 6px;
}

/* Chips grid stays inside the card — compact so all options fit one row. */
.ber4u-pdp__cart-row .ber4u-packaging-blocks {
	grid-template-columns: repeat(auto-fit, minmax(102px, 1fr));
	gap: 8px;
	margin: 4px 0 10px;
}

.ber4u-pdp__cart-row .ber4u-packaging-chip {
	padding: 8px 6px;
	gap: 2px;
	border-radius: 10px;
}

/* Kill the theme's blue button background on hover/focus/selected —
   chips stay white, the chosen one gets a soft orange highlight. */
.ber4u-pdp__cart-row .ber4u-packaging-chip,
.ber4u-pdp__cart-row .ber4u-packaging-chip:hover,
.ber4u-pdp__cart-row .ber4u-packaging-chip:focus,
.ber4u-pdp__cart-row .ber4u-packaging-chip:active {
	background: #fff !important;
	color: var(--b4u-ink) !important;
	outline: none;
}

.ber4u-pdp__cart-row .ber4u-packaging-chip:hover {
	border-color: var(--b4u-orange) !important;
}

.ber4u-pdp__cart-row .ber4u-packaging-chip.is-active,
.ber4u-pdp__cart-row .ber4u-packaging-chip.is-active:hover,
.ber4u-pdp__cart-row .ber4u-packaging-chip.is-active:focus {
	background: #fff4e2 !important;
	border-color: var(--b4u-orange) !important;
	box-shadow: 0 0 0 1px var(--b4u-orange);
	color: var(--b4u-ink) !important;
}

.ber4u-pdp__cart-row .ber4u-packaging-chip__price {
	color: var(--b4u-ink);
}

.ber4u-pdp__cart-row .ber4u-packaging-chip__icon {
	font-size: 17px;
}

.ber4u-pdp__cart-row .ber4u-packaging-chip__label {
	font-size: 0.78em;
	line-height: 1.25;
}

.ber4u-pdp__cart-row .ber4u-packaging-chip__price {
	font-size: 0.82em;
	font-weight: 700;
}

/* Selected-variation price — tight, no theme divider above it. */
.ber4u-pdp__cart-row .single_variation_wrap,
.ber4u-pdp__cart-row .woocommerce-variation {
	border: 0;
	box-shadow: none;
}

.ber4u-pdp__cart-row .woocommerce-variation.single_variation {
	margin: 0 0 6px;
}

.ber4u-pdp__cart-row .single_variation .woocommerce-variation-price .price {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--b4u-ink);
}

/* Button + stepper row (the stepper is docked here by product-page.js). */
.ber4u-pdp__cart-row .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: stretch;
	gap: 12px;
	height: 50px;
	margin: 6px 0 0;
}

.ber4u-pdp__cart-row .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 0;
}

.ber4u-pdp__cart-row .woocommerce-variation-add-to-cart .ber4u-pdp__qty-stepper {
	height: 100%;
}

/* With a default variation preselected the reset link is just noise. */
.ber4u-pdp__cart-row .reset_variations {
	display: none !important;
}

/* Volume toggle (0.5 / 1 L) */
.ber4u-pdp__options {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 16px 0 0;
}

.ber4u-pdp__options-label {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85em;
	color: var(--b4u-muted);
}

.ber4u-pdp__size-toggle {
	display: inline-flex;
	gap: 8px;
}

.ber4u-pdp__size-btn {
	padding: 8px 20px;
	border: 2px solid var(--b4u-line);
	border-radius: 999px;
	background: #fff;
	font-weight: 700;
	cursor: pointer;
	color: var(--b4u-ink);
}

.ber4u-pdp__size-btn.is-active {
	background: var(--b4u-orange);
	border-color: var(--b4u-orange);
	color: #fff;
}

/* Quantity stepper */
.ber4u-pdp__qty-stepper {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	box-sizing: border-box;
	height: 100%;
	border: 2px solid var(--b4u-line);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.ber4u-pdp__qty-btn {
	width: 36px;
	height: 100%;
	border: none;
	background: transparent;
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	color: var(--b4u-ink);
}

.ber4u-pdp__qty-btn:hover {
	color: var(--b4u-orange);
}

.ber4u-pdp__qty-value {
	min-width: 30px;
	text-align: center;
	font-weight: 800;
	font-size: 1em;
}

.ber4u-pdp__batch-line {
	margin-top: 14px;
	font-size: 0.9em;
	font-weight: 600;
	color: var(--b4u-green-dark);
}

/* ---- Tabs ---- */
.ber4u-pdp__tabs {
	margin-bottom: 36px;
}

.ber4u-pdp__tab-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.ber4u-pdp__tab-btn {
	padding: 9px 24px;
	border: 2px solid var(--b4u-orange);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-weight: 700;
	color: var(--b4u-ink);
}

.ber4u-pdp__tab-btn.is-active {
	background: var(--b4u-orange);
	border-color: var(--b4u-orange);
	color: #fff;
}

.ber4u-pdp__tab-panel {
	display: none;
	line-height: 1.65;
	color: var(--b4u-ink);
}

.ber4u-pdp__tab-panel.is-active {
	display: block;
}

/* ---- Trust badges ---- */
.ber4u-pdp__badges {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	align-items: center;
	justify-items: center;
	gap: 10px;
	margin-bottom: 26px;
	padding: 16px;
	background: var(--b4u-surface);
	border-radius: 16px;
}

@media (max-width: 820px) {
	.ber4u-pdp__badges {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.ber4u-pdp__badges {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ber4u-pdp__badge-img {
	display: block;
	width: 100%;
	max-width: 132px;
	aspect-ratio: 190 / 184;
	object-fit: contain;
	margin: 0 auto;
	border-radius: 12px;
}

/* ---- Guarantee + loyalty: two columns ---- */
.ber4u-pdp__perks {
	display: flex;
	align-items: stretch;
	gap: 20px;
	margin-bottom: 40px;
}

.ber4u-pdp__perks .ber4u-pdp__guarantee {
	flex: 0 0 36%;
	margin-bottom: 0;
}

.ber4u-pdp__perks .ber4u-pdp__loyalty {
	flex: 1;
	margin-bottom: 0;
}

@media (max-width: 820px) {
	.ber4u-pdp__perks {
		flex-direction: column;
	}
	.ber4u-pdp__perks .ber4u-pdp__guarantee {
		flex: auto;
	}
}

.ber4u-pdp__guarantee {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	padding: 26px 22px;
	border-radius: 16px;
	margin-bottom: 22px;
	background: var(--b4u-green-dark);
	color: #fff;
}

.ber4u-pdp__guarantee-icon img {
	width: 56px;
	height: auto;
	display: block;
}

.ber4u-pdp__guarantee strong {
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ber4u-pdp__guarantee p {
	margin: 4px 0 0;
	opacity: 0.92;
}

/* ---- Loyalty callout ---- */
.ber4u-pdp__loyalty {
	text-align: center;
	padding: 26px 20px;
	border-radius: 16px;
	margin-bottom: 40px;
	background: var(--b4u-surface);
}

.ber4u-pdp__loyalty-title {
	display: block;
	text-transform: uppercase;
	font-size: 0.85em;
	letter-spacing: 0.03em;
	color: var(--b4u-muted);
}

.ber4u-pdp__loyalty-headline {
	margin: 6px 0 16px;
	font-size: 1.25em;
	font-weight: 800;
	text-transform: uppercase;
}

.ber4u-pdp__loyalty-bottles {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.ber4u-pdp__loyalty-strip {
	max-width: 100%;
	height: auto;
}

.ber4u-pdp__loyalty-free {
	color: var(--b4u-green);
}

.ber4u-pdp__loyalty-note {
	margin: 0 auto 18px;
	max-width: 560px;
	font-size: 0.9em;
	color: var(--b4u-muted);
}

.ber4u-pdp__loyalty-cta {
	display: inline-block;
	background: var(--b4u-orange);
	color: #fff;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.02em;
}

.ber4u-pdp__loyalty-cta:hover {
	background: var(--b4u-orange-dark);
}

/* ---- Generic section + carousels ---- */
.ber4u-pdp__section {
	margin-bottom: 40px;
}

.ber4u-pdp__section-title {
	font-size: 1.5em;
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.ber4u-pdp__section-title--center {
	text-align: center;
}

.ber4u-pdp__carousel {
	position: relative;
}

.ber4u-pdp__carousel-track {
	display: flex;
	align-items: stretch;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px 22px;
	scroll-padding: 0 22px;
}

.ber4u-pdp__carousel-track::-webkit-scrollbar {
	display: none;
}

.ber4u-pdp__carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px !important;
	height: 44px !important;
	min-width: 0;
	padding: 0 !important;
	border-radius: 999px !important;
	border: none;
	background: #fff;
	color: var(--b4u-ink);
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}

.ber4u-pdp__carousel-arrow--prev {
	left: 2px;
}

.ber4u-pdp__carousel-arrow--next {
	right: 2px;
}

.ber4u-pdp__carousel-arrow:hover {
	background: var(--b4u-orange);
	color: #fff;
}

/* ---- Product cards (cross-sell + related) ---- */
.ber4u-pdp__cross-sell-card,
.ber4u-pdp__related-card {
	position: relative;
	scroll-snap-align: start;
	flex: 0 0 230px;
	background: var(--b4u-surface);
	border-radius: 16px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ber4u-pdp__cross-sell-card img,
.ber4u-pdp__related-card img {
	border-radius: 12px;
	width: 100%;
	height: 190px;
	object-fit: contain;
	background: #fff;
}

.ber4u-pdp__card-badge {
	position: absolute;
	top: 22px;
	right: 22px;
	background: var(--b4u-green);
	color: #fff;
	font-size: 0.68em;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 999px;
	letter-spacing: 0.04em;
	z-index: 1;
}

.ber4u-pdp__card-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
	min-height: 2.8em;
}

.ber4u-pdp__cross-sell-name,
.ber4u-pdp__related-name {
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.3;
	max-height: 2.6em;
}

.ber4u-pdp__cross-sell-name,
.ber4u-pdp__related-name {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.9em;
}

.ber4u-pdp__cross-sell-price,
.ber4u-pdp__related-price {
	font-weight: 800;
	white-space: nowrap;
	color: var(--b4u-orange-dark);
}

.ber4u-pdp__related-style {
	color: var(--b4u-green-dark);
	font-size: 0.8em;
	font-weight: 600;
}

.ber4u-pdp__related-abv {
	display: block;
	font-size: 0.8em;
	color: var(--b4u-muted);
	margin-top: -2px;
}

.ber4u-pdp__card-chips {
	display: flex;
	gap: 8px;
}

.ber4u-pdp__card-chip {
	flex: 1;
	border: 2px solid var(--b4u-line);
	border-radius: 999px;
	padding: 6px 4px;
	font-size: 0.8em;
	font-weight: 700;
	text-align: center;
	background: #fff;
	color: var(--b4u-ink);
	cursor: pointer;
}

.ber4u-pdp__card-chip.is-active {
	background: var(--b4u-orange);
	border-color: var(--b4u-orange);
	color: #fff;
}

.ber4u-pdp__cross-sell-card .button,
.ber4u-pdp__related-card .button {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff !important;
	border: 2px solid var(--b4u-orange) !important;
	color: var(--b4u-ink) !important;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 10px 20px;
}

.ber4u-pdp__cross-sell-card .button::after,
.ber4u-pdp__related-card .button::after {
	content: "+";
	margin-left: 12px;
	font-size: 1.2em;
	line-height: 1;
	color: var(--b4u-orange);
}

.ber4u-pdp__cross-sell-card .button:hover,
.ber4u-pdp__related-card .button:hover {
	background: var(--b4u-orange) !important;
	color: #fff !important;
}

.ber4u-pdp__cross-sell-card .button:hover::after,
.ber4u-pdp__related-card .button:hover::after {
	color: #fff;
}

/* Static lifestyle image on the left + the card carousel on the right */
.ber4u-pdp__pairing {
	display: flex;
	align-items: stretch;
	gap: 16px;
}

.ber4u-pdp__pairing .ber4u-pdp__carousel {
	flex: 1;
	min-width: 0;
}

.ber4u-pdp__pairing-hero {
	flex: 0 0 300px;
	border-radius: 16px;
	overflow: hidden;
}

.ber4u-pdp__pairing-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 640px) {
	.ber4u-pdp__pairing {
		flex-direction: column;
	}
	.ber4u-pdp__pairing-hero {
		flex-basis: 200px;
	}
}

/* ---- Style pills ---- */
.ber4u-pdp__style-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.ber4u-pdp__style-pill {
	padding: 7px 18px;
	border-radius: 999px;
	border: 2px solid var(--b4u-line);
	background: var(--b4u-bg);
	cursor: pointer;
	font-weight: 600;
	color: var(--b4u-ink);
}

.ber4u-pdp__style-pill.is-active {
	background: var(--b4u-orange);
	border-color: var(--b4u-orange);
	color: #fff;
}

.ber4u-pdp__related-card[hidden] {
	display: none;
}

/* ---- Delivery ---- */
.ber4u-pdp__delivery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	text-align: center;
	margin-bottom: 40px;
}

.ber4u-pdp__delivery > div {
	padding: 22px 18px;
	border-radius: 14px;
	background: var(--b4u-surface);
}

.ber4u-pdp__delivery strong {
	display: block;
	margin-bottom: 8px;
	text-transform: uppercase;
	font-size: 0.9em;
}

.ber4u-pdp__delivery p {
	margin: 0;
	color: var(--b4u-muted);
	font-size: 0.9em;
}

/* ---- Reviews ---- */
.ber4u-pdp__reviews-banner {
	background: var(--b4u-orange);
	color: #fff;
	text-align: center;
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 22px;
}

.ber4u-pdp__reviews-banner .ber4u-pdp__section-title {
	margin: 0;
}

.ber4u-pdp__reviews-banner p {
	margin: 6px 0 0;
	font-size: 0.9em;
	opacity: 0.95;
}

.ber4u-pdp__review-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ber4u-pdp__review-card {
	flex: 1 1 240px;
	background: var(--b4u-surface);
	border-radius: 14px;
	padding: 18px 20px;
}

.ber4u-pdp__review-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.ber4u-pdp__review-name {
	font-weight: 800;
}

.ber4u-pdp__review-text {
	margin: 0;
	color: var(--b4u-muted);
	line-height: 1.55;
}

.ber4u-pdp__review-demo-note {
	margin: 14px 0 0;
	font-size: 0.8em;
	color: var(--b4u-muted);
	font-style: italic;
}

/* ---- FAQ ---- */
.ber4u-pdp__faq {
	max-width: 860px;
	margin: 0 auto;
}

.ber4u-pdp__faq-item {
	border: 2px solid var(--b4u-orange);
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 12px;
	background: var(--b4u-bg);
}

.ber4u-pdp__faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	cursor: pointer;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.95em;
	list-style: none;
}

.ber4u-pdp__faq-item summary::-webkit-details-marker {
	display: none;
}

.ber4u-pdp__faq-toggle {
	flex-shrink: 0;
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--b4u-orange);
}

.ber4u-pdp__faq-toggle::before {
	content: "";
	position: absolute;
	top: 40%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translate(-50%, -50%) rotate(45deg);
	transition: transform 0.2s ease, top 0.2s ease;
}

.ber4u-pdp__faq-item[open] .ber4u-pdp__faq-toggle::before {
	top: 58%;
	transform: translate(-50%, -50%) rotate(-135deg);
}

.ber4u-pdp__faq-item[open] {
	background: var(--b4u-orange-soft);
}

.ber4u-pdp__faq-item p {
	margin: 12px 0 0;
	color: var(--b4u-muted);
	line-height: 1.6;
}

/* ---- Contact CTA ---- */
.ber4u-pdp__contact-cta {
	background-color: #e7e4de;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	border-radius: 18px;
	overflow: hidden;
	padding: 44px;
	min-height: 300px;
	display: flex;
	align-items: center;
}

.ber4u-pdp__contact-body {
	width: 100%;
	max-width: 46%;
}

@media (max-width: 720px) {
	.ber4u-pdp__contact-cta {
		background-position: 78% center;
	}
	.ber4u-pdp__contact-body {
		max-width: 100%;
		background: rgba(231, 228, 222, 0.82);
		padding: 20px;
		border-radius: 12px;
	}
}

.ber4u-pdp__contact-cta-text strong {
	font-size: 1.5em;
	text-transform: uppercase;
	font-weight: 800;
}

.ber4u-pdp__contact-cta-text p {
	margin: 8px 0 18px;
	color: var(--b4u-ink);
	opacity: 0.8;
}

.ber4u-pdp__contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 320px;
}

.ber4u-pdp__contact-form input {
	padding: 10px 4px;
	border: none;
	border-bottom: 2px solid rgba(31, 39, 51, 0.35);
	background: transparent;
	font-size: 1em;
	color: var(--b4u-ink);
}

.ber4u-pdp__contact-form input:focus {
	outline: none;
	border-bottom-color: var(--b4u-orange);
}

.ber4u-pdp__contact-form input::placeholder {
	color: rgba(31, 39, 51, 0.5);
}

.ber4u-pdp__contact-form button {
	align-self: flex-start;
	padding: 12px 30px;
	border: none;
	border-radius: 999px;
	background: #fff;
	color: var(--b4u-ink);
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.ber4u-pdp__contact-form button:hover {
	background: var(--b4u-orange);
	color: #fff;
}

.ber4u-pdp__contact-form-message {
	margin: 0;
	font-size: 0.85em;
	color: var(--b4u-green-dark);
}

.ber4u-pdp__contact-art {
	flex: 0 0 40%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 8em;
	background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 720px) {
	.ber4u-pdp__contact-art {
		display: none;
	}
}

/* ---- Mobile polish ---- */
@media (max-width: 600px) {
	.ber4u-pdp {
		padding: 16px 14px 48px;
	}

	.ber4u-pdp__summary {
		padding: 20px 18px;
	}

	.ber4u-pdp__summary h1.product_title,
	.ber4u-pdp__summary .product_title {
		font-size: 1.5em;
	}

	.ber4u-pdp__heading .ber4u-pdp__rating {
		margin-left: 0;
	}

	/* Cart row: quantity + add-to-cart button on one line */
	.ber4u-pdp__cart-row form.cart {
		order: 0;
		flex: 1 1 auto;
		min-width: 0;
	}

	.ber4u-pdp__qty-stepper {
		flex: 0 0 auto;
	}

	.ber4u-pdp__cart-row .single_add_to_cart_button {
		padding: 0 18px;
	}

	.ber4u-pdp__mode-price {
		font-size: 1.3em;
	}

	.ber4u-pdp__mode-chip {
		gap: 8px;
		padding: 12px 14px;
	}

	.ber4u-pdp__section-title {
		font-size: 1.25em;
	}

	.ber4u-pdp__badges {
		padding: 12px;
		gap: 8px;
	}

	.ber4u-pdp__carousel-arrow {
		width: 38px !important;
		height: 38px !important;
	}

	.ber4u-pdp__contact-cta {
		padding: 22px 18px;
		min-height: 240px;
	}

	.ber4u-pdp__contact-cta-text strong {
		font-size: 1.3em;
	}

	/* Style pills → one-row horizontal swipe slider */
	.ber4u-pdp__style-pills {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 4px;
	}
	.ber4u-pdp__style-pills::-webkit-scrollbar {
		display: none;
	}
	.ber4u-pdp__style-pill {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	/* Reviews → horizontal swipe slider */
	.ber4u-pdp__review-cards {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.ber4u-pdp__review-cards::-webkit-scrollbar {
		display: none;
	}
	.ber4u-pdp__review-card {
		flex: 0 0 84%;
		scroll-snap-align: start;
	}
}

@media (max-width: 400px) {
	.ber4u-pdp__badges {
		grid-template-columns: repeat(2, 1fr);
	}

	.ber4u-pdp__cross-sell-card,
	.ber4u-pdp__related-card {
		flex-basis: 200px;
	}
}
