/*
 * Vouchere Rețeaua Medicală PRO BIO — storefront.
 * Loaded only on the voucher pages (landing, voucher products, cart, checkout, voucher terms and withdrawal),
 * and every rule is scoped to body.probio-shop, so the clinic pages never change.
 * Colours, type and shapes follow the clinic site: navy #204289, blue #2B6CF5, green #499A2B, Plus Jakarta Sans,
 * 24px panels and pill buttons.
 */

body.probio-shop {
	--pb-navy: #204289;
	--pb-blue: #2b6cf5;
	--pb-blue-hover: #1f5ee6;
	--pb-face: #1d55d6;
	--pb-face-deep: #1647b6;
	--pb-green: #499a2b;
	--pb-green-text: #3a7d21;
	--pb-ink: #204289;
	--pb-ink-soft: #4b5d82;
	--pb-line: #dde6f4;
	--pb-tint: #f2f6fd;
	--pb-radius: 16px;
	--pb-radius-lg: 24px;
	--pb-pill: 38px;
	--pb-ease: cubic-bezier(.16, 1, .3, 1);
	--pb-gutter: calc(3.5vw + 23px);
	--pb-focus: 0 0 0 3px #fff, 0 0 0 6px rgba(43, 108, 245, .55);
}

body.probio-shop ::selection { background: #cfe0fd; color: var(--pb-navy); }

/* ------------------------------------------------------------------------------------------------------------ */
/* Same left and right edges as the header at every laptop width (BeTheme's own grid goes edge to edge at 1280). */
@media (min-width: 768px) {
	body.probio-shop #Content .section_wrapper {
		box-sizing: border-box;
		width: calc(100% - 2 * var(--pb-gutter));
		max-width: 1330px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-right: 0;
	}
	body.probio-shop #Content .the_content_wrapper { margin-left: 0; margin-right: 0; }
}

/* ------------------------------------------------------------------------------------------------------------ */
/* Buttons and focus */
body.probio-shop .probio-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 26px;
	border: 0;
	border-radius: var(--pb-pill);
	background: var(--pb-blue);
	color: #fff;
	font: 600 15px/1.2 "Plus Jakarta Sans", system-ui, sans-serif;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--pb-ease), transform .2s var(--pb-ease), box-shadow .2s var(--pb-ease);
	box-shadow: 0 8px 18px -10px rgba(43, 108, 245, .8);
}
body.probio-shop .probio-btn:hover { background: var(--pb-blue-hover); color: #fff; }
body.probio-shop .probio-btn:active { transform: translateY(1px); box-shadow: 0 4px 10px -8px rgba(43, 108, 245, .8); }
body.probio-shop .probio-btn:focus-visible,
body.probio-shop .probio-choice__opt:focus-within,
body.probio-shop .wp-block-details summary:focus-visible { outline: none; box-shadow: var(--pb-focus); }

/* ------------------------------------------------------------------------------------------------------------ */
/* Landing page */
body.probio-landing .the_content_wrapper > * { max-width: none; }

body.probio-landing .probio-hero {
	position: relative;
	margin: 8px 0 0;
	padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 52px);
	border-radius: var(--pb-radius-lg);
	background: #eef4fe url("/wp-content/uploads/2022/10/bedoctor-section-bg1.webp") 50% 0 / cover no-repeat;
	background-image: url("/wp-content/uploads/2022/10/bedoctor-section-bg1.webp"), radial-gradient(90% 120% at 85% 10%, #dbe8ff 0%, #eef4fe 60%, #f6f9ff 100%);
}
body.probio-landing .probio-hero h1 {
	margin: 0 0 14px;
	color: var(--pb-navy);
	font: 700 clamp(32px, 2.2vw + 16px, 52px)/1.08 "Plus Jakarta Sans", system-ui, sans-serif;
	letter-spacing: -.035em;
	text-align: left;
	text-wrap: balance;
}
body.probio-landing .probio-hero h1 mark { background: none; color: var(--pb-blue); }
body.probio-landing .probio-hero__lead {
	margin: 0 0 6px;
	color: var(--pb-navy);
	font: 600 clamp(18px, .5vw + 15px, 21px)/1.45 "Plus Jakarta Sans", system-ui, sans-serif;
	text-align: left;
}
body.probio-landing .probio-hero__text {
	margin: 0;
	max-width: 62ch;
	color: var(--pb-ink-soft);
	font-size: 16.5px;
	line-height: 1.6;
	text-align: left;
}

/* The offers: each one drawn as the voucher itself, with a tear-off stub. */
body.probio-shop .probio-offers {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: clamp(16px, 2vw, 28px);
	margin: clamp(24px, 3vw, 36px) 0 0;
}
body.probio-shop .probio-offer {
	container-type: inline-size;
	min-width: 0;
	filter: drop-shadow(0 16px 22px rgba(32, 66, 137, .16)) drop-shadow(0 2px 3px rgba(32, 66, 137, .1));
	transition: transform .35s var(--pb-ease), filter .35s var(--pb-ease);
}
body.probio-shop .probio-offer:not(.is-soldout):hover {
	transform: translateY(-3px);
	filter: drop-shadow(0 22px 26px rgba(32, 66, 137, .2)) drop-shadow(0 3px 4px rgba(32, 66, 137, .1));
}
/* The red bow from the clinic's voucher graphics, tied on the top-right corner of each offer (decorative only).
   It sits on .probio-offer, not on the ticket, because the ticket's notch mask would cut it off.
   cqi here is the offer's own width (the pseudo-element's container is the offer). */
body.probio-shop .probio-offer { position: relative; }
body.probio-shop .probio-offer::after {
	--bow: clamp(54px, 11.5cqi, 82px);
	content: "";
	position: absolute;
	top: calc(var(--bow) * -.38);
	right: calc(var(--bow) * -.2);
	width: var(--bow);
	aspect-ratio: 180 / 169;
	background: url(../img/fundita.webp) center / contain no-repeat;
	transform: rotate(14deg);
	transform-origin: 50% 60%;
	pointer-events: none;
	transition: transform .35s var(--pb-ease);
}
body.probio-shop .probio-offer:not(.is-soldout):hover::after { transform: rotate(4deg) scale(1.06); }
body.probio-shop .probio-offer.is-soldout::after { filter: grayscale(1); opacity: .5; }
body.probio-shop .probio-ticket {
	--seam: 60%;
	--notch: 12px;
	display: grid;
	grid-template-columns: var(--seam) minmax(0, 1fr);
	min-height: 196px;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
	-webkit-mask:
		radial-gradient(circle var(--notch) at var(--seam) 0, #0000 calc(100% - .5px), #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at var(--seam) 100%, #0000 calc(100% - .5px), #000) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle var(--notch) at var(--seam) 0, #0000 calc(100% - .5px), #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at var(--seam) 100%, #0000 calc(100% - .5px), #000) bottom / 100% 51% no-repeat;
}
body.probio-shop .probio-ticket__face {
	display: flex;
	flex-direction: column;
	padding: clamp(18px, 5cqi, 28px) clamp(16px, 5cqi, 30px);
	border-radius: 20px 0 0 20px;
	background: radial-gradient(130% 120% at 0% 0%, #3274f4 0%, var(--pb-face) 52%, var(--pb-face-deep) 100%);
	color: #fff;
}
body.probio-shop .probio-ticket__value {
	margin: 0;
	padding: 0;
	color: #fff;
	font: 800 clamp(32px, 10.5cqi, 56px)/1 "Plus Jakarta Sans", system-ui, sans-serif;
	letter-spacing: -.035em;
	white-space: nowrap;
}
body.probio-shop .probio-ticket__for {
	margin: 8px 0 0;
	color: #e3ecff;
	font-size: clamp(13px, 2.6cqi, 15px);
	font-weight: 600;
	line-height: 1.4;
}
body.probio-shop .probio-ticket__terms {
	margin: auto 0 0;
	padding-top: 14px;
	color: #d6e3ff;
	font-size: clamp(12px, 2.3cqi, 13.5px);
	line-height: 1.45;
}
body.probio-shop .probio-ticket__stub {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
	padding: clamp(16px, 4.5cqi, 26px) clamp(14px, 4.5cqi, 26px);
	background:
		linear-gradient(to bottom, #c4d3ee 55%, transparent 0) left top / 2px 12px repeat-y,
		#fff;
}
body.probio-shop .probio-ticket__price {
	margin: 0;
	color: var(--pb-ink-soft);
	font-size: clamp(13px, 2.6cqi, 15px);
	line-height: 1.3;
}
body.probio-shop .probio-ticket__price strong {
	display: block;
	margin-top: 2px;
	color: var(--pb-navy);
	font-size: clamp(22px, 5.6cqi, 30px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}
body.probio-shop .probio-ticket__save {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 9px;
	border-radius: 999px;
	background: #e7f4e0;
	color: #2f6f1b;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
}
body.probio-shop .probio-ticket__buy { padding-inline: clamp(18px, 4.5cqi, 28px); }
body.probio-shop .probio-stock,
body.probio-voucher-product .stock.in-stock {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin: 0;
	color: var(--pb-green-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}
body.probio-shop .probio-stock::before,
body.probio-voucher-product .stock.in-stock::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pb-green);
	box-shadow: 0 0 0 3px rgba(73, 154, 43, .18);
	transform: translateY(-1px);
}
body.probio-shop .probio-soldout {
	display: inline-block;
	padding: 10px 18px;
	border-radius: var(--pb-pill);
	background: #eef1f6;
	color: var(--pb-ink-soft);
	font-weight: 700;
	font-size: 14px;
}
body.probio-shop .probio-offer.is-soldout .probio-ticket__face { background: #8a97b3; }

@container (max-width: 380px) {
	body.probio-shop .probio-ticket { --seam: 57%; min-height: 0; }
	body.probio-shop .probio-ticket__terms { font-size: 12px; }
	body.probio-shop .probio-stock { font-size: 12px; }
	body.probio-shop .probio-ticket__buy { min-height: 44px; padding: 10px 16px; font-size: 14px; }
	/* Phones: the stub is narrow, so the bow is smaller and sits further out, clear of "Plătești doar". */
	body.probio-shop .probio-offer::after { --bow: 46px; top: calc(var(--bow) * -.6); right: calc(var(--bow) * -.34); }
}

/* Sections below the offers */
body.probio-landing .probio-section { margin-top: clamp(56px, 6vw, 88px); }
body.probio-landing .probio-section h2 {
	margin: 0 0 clamp(20px, 2.4vw, 32px);
	color: var(--pb-navy);
	font: 700 clamp(26px, 1.2vw + 17px, 34px)/1.15 "Plus Jakarta Sans", system-ui, sans-serif;
	letter-spacing: -.025em;
	text-align: left;
}

/* How it works: three steps in order, joined by a line. */
body.probio-landing .probio-steps ol {
	--gap: clamp(20px, 3vw, 44px);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pbstep;
}
body.probio-landing .probio-steps li {
	position: relative;
	margin: 0;
	padding: 62px 0 0;
	color: var(--pb-ink-soft);
	font-size: 16px;
	line-height: 1.6;
	counter-increment: pbstep;
}
body.probio-landing .probio-steps li::before {
	content: counter(pbstep);
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	border: 2px solid var(--pb-blue);
	border-radius: 50%;
	background: #fff;
	color: var(--pb-blue);
	font: 700 17px/40px "Plus Jakarta Sans", system-ui, sans-serif;
	text-align: center;
}
body.probio-landing .probio-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 21px;
	left: 56px;
	right: calc(-1 * var(--gap) + 12px);
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--pb-blue), #cddffd);
}
body.probio-landing .probio-steps li strong { color: var(--pb-navy); }
@media (max-width: 767px) {
	body.probio-landing .probio-steps ol { grid-template-columns: minmax(0, 1fr); --gap: 22px; }
	body.probio-landing .probio-steps li { min-height: 44px; padding: 9px 0 0 60px; }
	body.probio-landing .probio-steps li:not(:last-child)::after {
		top: 52px;
		bottom: calc(-1 * var(--gap) + 8px);
		left: 21px;
		right: auto;
		width: 2px;
		height: auto;
		background: linear-gradient(180deg, var(--pb-blue), #cddffd);
	}
}

/* Conditions of use: a calm panel, two columns on wide screens. */
body.probio-landing .probio-conditions {
	padding: clamp(24px, 4vw, 52px);
	border-radius: var(--pb-radius-lg);
	background: var(--pb-tint);
}
body.probio-landing .probio-conditions ul {
	margin: 0;
	padding: 0;
	list-style: none;
	column-gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 900px) {
	body.probio-landing .probio-conditions ul { columns: 2; }
}
body.probio-landing .probio-conditions li {
	position: relative;
	margin: 0 0 14px;
	padding-left: 34px;
	color: var(--pb-ink);
	font-size: 16px;
	line-height: 1.55;
	break-inside: avoid;
}
body.probio-landing .probio-conditions li::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #dff0d6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a7d21' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Questions: one line each, opens in place. */
body.probio-landing .probio-faq { max-width: 880px; }
body.probio-landing .probio-faq .wp-block-details {
	margin: 0;
	border-bottom: 1px solid var(--pb-line);
}
body.probio-landing .probio-faq .wp-block-details:first-of-type { border-top: 1px solid var(--pb-line); }
body.probio-landing .probio-faq summary {
	position: relative;
	padding: 18px 48px 18px 0;
	border-radius: 8px;
	color: var(--pb-navy);
	font: 600 17px/1.4 "Plus Jakarta Sans", system-ui, sans-serif;
	list-style: none;
	cursor: pointer;
}
body.probio-landing .probio-faq summary::-webkit-details-marker { display: none; }
body.probio-landing .probio-faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 6px;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: var(--pb-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6cf5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .3s var(--pb-ease), background-color .2s;
}
body.probio-landing .probio-faq summary:hover::after { background-color: #e3ecfd; }
body.probio-landing .probio-faq details[open] > summary::after { transform: rotate(180deg); }
body.probio-landing .probio-faq details > :not(summary) {
	margin: 0 0 20px;
	padding-right: 48px;
	color: var(--pb-ink-soft);
	font-size: 16px;
	line-height: 1.65;
}
body.probio-landing .probio-faq details a,
body.probio-landing .probio-footnote a,
body.probio-legal .the_content_wrapper a {
	color: var(--pb-blue);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body.probio-landing .probio-footnote {
	margin: clamp(40px, 5vw, 64px) 0 0;
	color: var(--pb-ink-soft);
	font-size: 14px;
	line-height: 1.6;
}
/* Placeholders Pro-Bio still has to confirm stay visible until they are replaced. */
body.probio-shop mark.has-inline-color[style*="fff3b0"] { padding: 1px 4px; border-radius: 4px; color: #5c4400; }

/* ------------------------------------------------------------------------------------------------------------ */
/* Voucher product page */
body.probio-voucher-product .post-nav,
body.probio-voucher-product .fixed-nav,
body.probio-voucher-product .product_meta,
body.probio-voucher-product .share-simple-wrapper { display: none !important; }

@media (min-width: 960px) {
	body.probio-voucher-product .product_wrapper {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
		gap: clamp(32px, 4vw, 72px);
		align-items: start;
		padding-top: 12px;
	}
	body.probio-voucher-product .product_wrapper::before,
	body.probio-voucher-product .product_wrapper::after { display: none; }
	body.probio-voucher-product .product_wrapper > .column {
		float: none;
		width: auto;
		margin: 0;
	}
	body.probio-voucher-product .product_wrapper > .column:first-child {
		position: sticky;
		top: 112px;
	}
}
body.probio-voucher-product .product_wrapper .images,
body.probio-voucher-product .product_wrapper .woocommerce-product-gallery,
body.probio-voucher-product .product_wrapper .woocommerce-product-gallery__image img {
	border-radius: var(--pb-radius-lg);
	overflow: hidden;
}
body.probio-voucher-product .entry-summary,
body.probio-voucher-product .entry-summary .mcb-column-inner { text-align: left; }
body.probio-voucher-product .product_title {
	margin: 0 0 12px;
	color: var(--pb-navy);
	font: 800 clamp(30px, 1.6vw + 16px, 44px)/1.1 "Plus Jakarta Sans", system-ui, sans-serif;
	letter-spacing: -.03em;
	text-align: left;
}
body.probio-voucher-product .woocommerce-product-details__short-description {
	color: var(--pb-ink-soft);
	font-size: 17px;
	line-height: 1.6;
	text-align: left;
}
body.probio-voucher-product .entry-summary p.price {
	margin: 18px 0 8px;
	color: var(--pb-navy);
	font: 800 30px/1.1 "Plus Jakarta Sans", system-ui, sans-serif;
	letter-spacing: -.02em;
	text-align: left;
}
body.probio-voucher-product .entry-summary p.price .woocommerce-Price-amount { color: inherit; }
body.probio-voucher-product .entry-summary .stock { margin: 0 0 22px; justify-content: flex-start; }

body.probio-voucher-product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 0;
}

/* "Who is it for?" as two clear options */
body.probio-shop .probio-gift {
	min-width: 0;
	margin: 0 0 8px !important;
	padding: 0;
	border: 0;
}
body.probio-shop .probio-gift__legend {
	margin: 0 0 10px;
	padding: 0;
	color: var(--pb-navy);
	font-weight: 700;
	font-size: 15px;
}
body.probio-shop .probio-choice {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
body.probio-shop .probio-choice__opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: #fff;
	color: var(--pb-navy);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color .2s var(--pb-ease), background-color .2s var(--pb-ease);
}
body.probio-shop .probio-choice__opt:hover { border-color: #b9cdf3; }
@media (max-width: 480px) {
	body.probio-shop .probio-choice__opt { gap: 8px; padding: 10px 12px; font-size: 14px; }
	body.probio-shop .probio-choice__icon { width: 20px; height: 20px; }
}
body.probio-shop .probio-choice__opt input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
body.probio-shop .probio-choice__icon {
	flex: none;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: var(--pb-blue);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
body.probio-shop .probio-choice__opt:has(input:checked) {
	border-color: var(--pb-blue);
	background: #f1f6ff;
	box-shadow: inset 0 0 0 1px var(--pb-blue);
}
body.probio-shop .probio-gift-fields {
	margin-top: 14px;
	padding: 18px;
	border-radius: var(--pb-radius);
	background: var(--pb-tint);
}
body.probio-shop .probio-field { margin: 0 0 14px; }
body.probio-shop .probio-field:last-child { margin-bottom: 0; }
body.probio-shop .probio-field label {
	display: block;
	margin: 0 0 6px;
	color: var(--pb-navy);
	font-weight: 600;
	font-size: 14px;
}
body.probio-shop .probio-field abbr { color: #b32d2e; text-decoration: none; border: 0; }
body.probio-shop .probio-field input,
body.probio-shop .probio-field textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	border: 1.5px solid var(--pb-line);
	border-radius: 12px;
	background: #fff;
	color: var(--pb-navy);
	font: 400 15px/1.45 "Plus Jakarta Sans", system-ui, sans-serif;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
body.probio-shop .probio-field input:focus,
body.probio-shop .probio-field textarea:focus {
	outline: none;
	border-color: var(--pb-blue);
	box-shadow: 0 0 0 3px rgba(43, 108, 245, .2);
}
body.probio-shop .probio-field small {
	display: block;
	margin-top: 6px;
	color: var(--pb-ink-soft);
	font-size: 13px;
	line-height: 1.45;
}
body.probio-shop .probio-gift-error { margin: 0 !important; }

/* Quantity and "Adaugă în coș" on one line, in the site's pill shape */
body.probio-voucher-product form.cart .quantity {
	display: inline-flex;
	align-items: center;
	margin: 0 !important;
	border: 1.5px solid var(--pb-line);
	border-radius: var(--pb-pill);
	background: #fff;
	overflow: hidden;
}
body.probio-voucher-product form.cart .quantity input.qty { border: 0; background: transparent; box-shadow: none; }
body.probio-voucher-product form.cart .single_add_to_cart_button {
	flex: 1 1 220px;
	min-height: 50px;
	margin: 0 !important;
	border-radius: var(--pb-pill) !important;
	background: var(--pb-blue);
	font-weight: 600;
	font-size: 16px;
	box-shadow: 0 10px 20px -12px rgba(43, 108, 245, .9);
	transition: background-color .2s var(--pb-ease), transform .2s var(--pb-ease);
}
body.probio-voucher-product form.cart .single_add_to_cart_button:hover { background: var(--pb-blue-hover); }
body.probio-voucher-product form.cart .single_add_to_cart_button:active { transform: translateY(1px); }

/* Description and "Bine de știut" under the product */
body.probio-voucher-product .woocommerce-tabs,
body.probio-voucher-product .product_wrapper ~ .woocommerce-tabs,
body.probio-voucher-product #tab-description { max-width: 880px; }
body.probio-voucher-product #tab-description,
body.probio-voucher-product .woocommerce-Tabs-panel--description { color: var(--pb-ink-soft); font-size: 16px; line-height: 1.65; }
body.probio-voucher-product #tab-description li,
body.probio-voucher-product .woocommerce-Tabs-panel--description li { margin-bottom: 8px; }
body.probio-voucher-product section.related.products > h2 {
	color: var(--pb-navy);
	font: 700 clamp(22px, 1vw + 14px, 28px)/1.2 "Plus Jakarta Sans", system-ui, sans-serif;
	letter-spacing: -.02em;
}
body.probio-voucher-product section.related.products ul.products li.product { max-width: 300px; }
body.probio-voucher-product section.related.products .image_frame,
body.probio-voucher-product section.related.products img { border-radius: var(--pb-radius); }

/* ------------------------------------------------------------------------------------------------------------ */
/* Cart and checkout (WooCommerce blocks inside BeTheme) */
body.probio-shop .mfn-checkout-steps { margin-top: 8px; }
body.probio-shop .wc-block-cart,
body.probio-shop .wc-block-checkout { color: var(--pb-navy); }
body.probio-shop .wc-block-components-button:not(.is-link) { border-radius: var(--pb-pill); }
body.probio-shop .wc-block-cart-items .wc-block-cart-item__image img { border-radius: 10px; }
body.probio-shop .wc-block-components-product-metadata__description { color: var(--pb-ink-soft); }
body.probio-shop .wc-block-cart .wc-block-components-quantity-selector { width: 116px !important; max-width: 116px; border-radius: 999px; }
body.probio-shop .wc-block-cart .wc-block-components-quantity-selector::after { border-radius: 999px; border-color: var(--pb-line) !important; }
/* BeTheme's legend style squeezes "Finalizare expres (rapidă)" together. */
body.probio-shop .wc-block-components-express-payment__title { letter-spacing: 0 !important; font-size: 13px !important; font-weight: 600; }
body.probio-shop .wc-block-cart .wc-block-components-sidebar,
body.probio-shop .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.probio-shop .wp-block-woocommerce-checkout-order-summary-block {
	border-radius: var(--pb-radius-lg);
}
/* Phones: BeTheme's cart table rules push the quantity and the description past the screen edge. */
@media (max-width: 699px) {
	body.probio-shop .wc-block-cart table.wc-block-cart-items,
	body.probio-shop .wc-block-cart table.wc-block-cart-items tbody { display: block; width: 100%; }
	body.probio-shop .wc-block-cart .wc-block-cart-items__row {
		display: grid !important;
		grid-template-columns: 64px minmax(0, 1fr) auto;
		gap: 4px 14px;
		width: 100%;
		box-sizing: border-box;
	}
	body.probio-shop .wc-block-cart .wc-block-cart-items__row > td { display: block; width: auto !important; min-width: 0; padding: 0 !important; }
	body.probio-shop .wc-block-cart .wc-block-cart-item__product { min-width: 0; overflow-wrap: anywhere; }
	body.probio-shop .wc-block-cart .wc-block-cart-item__quantity { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
	body.probio-shop .wc-block-cart .wc-block-components-quantity-selector { width: auto; max-width: 120px; margin: 0; }
}

/* ------------------------------------------------------------------------------------------------------------ */
/* Voucher terms and withdrawal pages: a comfortable reading width, aligned with the header. */
body.probio-legal .the_content_wrapper {
	max-width: 780px;
	color: var(--pb-ink);
	font-size: 16.5px;
	line-height: 1.7;
}
body.probio-legal .the_content_wrapper h1 {
	margin: 0 0 12px;
	font-size: clamp(30px, 1.6vw + 16px, 44px);
	line-height: 1.12;
	letter-spacing: -.03em;
	text-wrap: balance;
}
body.probio-legal .the_content_wrapper h2,
body.probio-legal .the_content_wrapper h3 {
	margin: 2.2em 0 .6em;
	font-size: clamp(21px, .6vw + 16px, 26px);
	line-height: 1.25;
	letter-spacing: -.02em;
}
body.probio-legal .the_content_wrapper li { margin-bottom: .45em; }

@media (prefers-reduced-motion: reduce) {
	body.probio-shop .probio-offer,
	body.probio-shop .probio-btn,
	body.probio-landing .probio-faq summary::after,
	body.probio-shop .probio-offer::after { transition: none; }
	body.probio-shop .probio-offer:not(.is-soldout):hover { transform: none; }
	body.probio-shop .probio-offer:not(.is-soldout):hover::after { transform: rotate(14deg); }
}
