/*
 Theme Name: Shoptimizer Child - Cartela
 Template: shoptimizer
 Version: 1.1.0
*/

/* ─────────────────────────────────────────────────────────────────────────
 * Brand tokens (BTCfactura)
 * ───────────────────────────────────────────────────────────────────────── */
:root {
	/* Action / CTA - green button used on both sites */
	--bf-cta:                #3BB54A;
	--bf-cta-dark:           #009245;
	--bf-cta-tint:           rgba(59, 181, 74, .12);

	/* Brand accent - site-specific (orange for btcfactura) */
	--bf-accent:             #f28705;
	--bf-accent-dark:        #c46e04;
	--bf-accent-tint:        rgba(242, 135, 5, .10);
	--bf-accent-glow:        rgba(242, 135, 5, .35);

	/* Primary dark - site-specific (used on nav + headings) */
	--bf-dark:               #262626;
	--bf-dark-soft:          #404040;

	/* Text */
	--bf-text:               #444444;
	--bf-text-strong:        #1a1a1a;
	--bf-muted:              #757575;

	/* Surfaces */
	--bf-surface:            #ffffff;
	--bf-surface-warm:       #fdf6ec;
	--bf-bg-soft:            #fafafa;
	--bf-bg-tint:            #fff8ec;
	--bf-line:               #e7e7e7;
	--bf-line-soft:          #f0f0f0;

	/* Aliases preserving existing rule references */
	--bf-primary:            var(--bf-cta);
	--bf-primary-dark:       var(--bf-cta-dark);
	--bf-primary-tint:       var(--bf-cta-tint);
	--bf-nav-dark:           var(--bf-dark);

	/* Radius */
	--bf-radius-sm:          10px;
	--bf-radius-md:          14px;
	--bf-radius-lg:          18px;

	/* Shadows */
	--bf-shadow-sm:          0 4px 12px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .04);
	--bf-shadow-md:          0 10px 30px rgba(15, 23, 42, .10), 0 4px 10px rgba(15, 23, 42, .05);
	--bf-shadow-lg:          0 22px 50px rgba(15, 23, 42, .12), 0 8px 18px rgba(15, 23, 42, .07), 0 0 0 1px rgba(15, 23, 42, .02);
	--bf-shadow-accent:      0 4px 14px rgba(242, 135, 5, .28);
	--bf-shadow-cta:         0 4px 14px rgba(59, 181, 74, .28);
}

/* ─────────────────────────────────────────────────────────────────────────
 * Page surface - neutral grey (btcfactura) tint behind Incarca cards.
 * On ppay this resolves to a cool blue via the per-site --bf-bg-soft override.
 * ───────────────────────────────────────────────────────────────────────── */
body.incarca-product,
body.incarca-product .site-content,
body.incarca-product main.site-main {
	background: var(--bf-bg-soft) !important;
}

/* ─────────────────────────────────────────────────────────────────────────
 * WC gallery is removed in functions.php; force summary full-width and
 * neutralize stray Shoptimizer floats so the Incarca grid breathes.
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .product .woocommerce-product-gallery,
.incarca-product .product > .images,
.incarca-product .product .product-images-wrapper {
	display: none !important;
}
.incarca-product .product .summary.entry-summary,
.incarca-product .product .summary {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.incarca-product .product::before,
.incarca-product .product::after {
	display: none !important;
}
.incarca-product .product-details-wrapper {
	max-width: 1320px;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Page grid: balanced two columns at desktop
 * ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 1200px) {
	.incarca-product .incarca-page-grid {
		grid-template-columns: minmax(0, 1fr) 400px !important;
		gap: 32px !important;
	}
}

/* ─────────────────────────────────────────────────────────────────────────
 * Main left card + Rezumat: matched surfaces, shadow, radius
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-card {
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius-lg) !important;
	box-shadow: var(--bf-shadow-md);
	padding: 30px;
}
.incarca-product .incarca-summary {
	--inc-summary-bg:     var(--bf-surface);
	--inc-summary-text:   var(--bf-text-strong);
	--inc-summary-muted:  var(--bf-muted);
	--inc-summary-line:   var(--bf-line);
	--inc-summary-value:  var(--bf-text-strong);
	--inc-summary-accent: var(--bf-accent);
	background: var(--bf-surface) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: var(--bf-radius-lg) !important;
	box-shadow: var(--bf-shadow-lg) !important;
	padding: 18px 18px 16px;
	max-height: none !important;
	height: auto !important;
	overflow: visible !important;
	overflow-y: visible !important;
}
.incarca-product .incarca-sum-list {
	gap: 8px !important;
}
.incarca-product .incarca-sum-row {
	font-size: 13.5px;
	line-height: 1.45;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Hero head - typography
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-hero-head h2 {
	color: var(--bf-text-strong);
	font-weight: 700;
	letter-spacing: -.02em;
}
.incarca-product .incarca-hero-head p {
	color: var(--bf-muted);
}
.incarca-product .incarca-hero-branded h2 {
	color: var(--bf-accent);
}

/* ─────────────────────────────────────────────────────────────────────────
 * Step containers - relief when active
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-step,
.incarca-product .incarca-step-body,
.incarca-product [id$="Body"] {
	border-radius: var(--bf-radius-md) !important;
	overflow: visible !important;
}
.incarca-product .incarca-step {
	border: 1px solid transparent;
	margin-bottom: 8px;
}
.incarca-product .incarca-step.show {
	border-color: var(--bf-line);
	box-shadow: var(--bf-shadow-sm);
	background: var(--bf-surface);
	padding: 20px 20px 22px !important;
}
.incarca-product .incarca-flow,
.incarca-product .incarca-card,
.incarca-product .incarca-card .incarca-step,
.incarca-product .incarca-card .incarca-flow,
.incarca-product .incarca-page-grid,
.incarca-product .product-details-wrapper,
.incarca-product .product .summary {
	overflow: visible !important;
}
.incarca-product .incarca-flow {
	gap: 14px !important;
	padding-top: 10px;
}
.incarca-product .incarca-step .incarca-step-lead {
	margin-bottom: 6px;
}
.incarca-product .incarca-step h3 {
	margin-bottom: 4px;
}
.incarca-product .incarca-step h3 {
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--bf-text-strong);
}
.incarca-product .incarca-step-lead {
	color: var(--bf-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
 * Type/service cards (e.g. PaysafeCard / Flex)
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-two-col .incarca-card,
.incarca-product .incarca-three-col .incarca-card,
.incarca-product .incarca-card[data-paysafe-type],
.incarca-product .incarca-card[data-service],
.incarca-product .incarca-card[data-incarca-type] {
	border: 1px solid var(--bf-line) !important;
	border-radius: 12px !important;
	background: var(--bf-surface) !important;
	box-shadow: var(--bf-shadow-sm) !important;
	padding: 16px 18px !important;
	position: relative !important;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.incarca-product .incarca-two-col .incarca-card:hover,
.incarca-product .incarca-three-col .incarca-card:hover,
.incarca-product .incarca-card[data-paysafe-type]:hover,
.incarca-product .incarca-card[data-service]:hover,
.incarca-product .incarca-card[data-incarca-type]:hover {
	box-shadow: 0 8px 18px var(--bf-accent-tint), 0 2px 5px rgba(15, 23, 42, .05) !important;
	transform: translateY(-2px);
	border-color: var(--bf-accent) !important;
	z-index: 5;
}
.incarca-product .incarca-two-col .incarca-card.active,
.incarca-product .incarca-three-col .incarca-card.active,
.incarca-product .incarca-card[data-paysafe-type].active,
.incarca-product .incarca-card[data-service].active,
.incarca-product .incarca-card[data-incarca-type].active {
	border-color: var(--bf-accent) !important;
	box-shadow: 0 0 0 2px var(--bf-accent), 0 8px 20px var(--bf-accent-tint) !important;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Value pills - two-line stacked layout (face value + store price)
 * Targets ANY pill containing both .inc-pill-face and .inc-pill-price spans.
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-pills {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 14px !important;
	margin: 28px 0 18px !important;
	padding: 14px 8px 14px !important;
}
.incarca-product .incarca-pills .incarca-pill,
.incarca-product .incarca-pill {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	border: 1px solid var(--bf-line) !important;
	background: var(--bf-surface) !important;
	color: var(--bf-text-strong) !important;
	border-radius: 14px !important;
	padding: 14px 16px !important;
	min-height: 68px !important;
	line-height: 1.2 !important;
	cursor: pointer;
	box-sizing: border-box !important;
	position: relative !important;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.incarca-product .incarca-pill:hover {
	border-color: var(--bf-accent) !important;
	box-shadow: 0 4px 10px var(--bf-accent-tint), 0 1px 3px rgba(15, 23, 42, .05);
	transform: translateY(-1px);
	z-index: 5;
}
.incarca-product .incarca-pill.active {
	z-index: 4;
}
.incarca-product .incarca-pill:focus-visible {
	z-index: 6;
}
.incarca-product .incarca-pill .inc-pill-face,
.incarca-product .incarca-pill .inc-pill-price {
	display: block !important;
	width: 100%;
	text-align: center;
	white-space: nowrap;
}
.incarca-product .incarca-pill .inc-pill-face {
	font: 700 16px Inter, system-ui, sans-serif;
	color: var(--bf-text-strong);
	letter-spacing: -.005em;
}
.incarca-product .incarca-pill .inc-pill-price {
	font: 500 12px Inter, system-ui, sans-serif;
	color: var(--bf-muted);
	margin-top: 2px;
}
.incarca-product .incarca-pill.active {
	background: var(--bf-accent) !important;
	border-color: var(--bf-accent) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px var(--bf-accent-glow) !important;
}
.incarca-product .incarca-pill.active .inc-pill-face,
.incarca-product .incarca-pill.active .inc-pill-price {
	color: #fff !important;
}
.incarca-product .incarca-pill.active .inc-pill-price {
	opacity: .92;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Add-to-cart container + submit button
 * Force border-box so padding doesn't overflow; center inside its wrap.
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-add-to-cart-wrap,
.incarca-product .cart.incarca-cart,
.incarca-product form.cart {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 18px 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}
.incarca-product .incarca-submit-btn,
.incarca-product .single_add_to_cart_button {
	background: var(--bf-primary) !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 16px 32px !important;
	font: 700 16px Inter, system-ui, sans-serif !important;
	color: #fff !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-shadow: 0 4px 14px rgba(59, 181, 74, .25) !important;
	transition: background .2s ease, transform .15s ease, box-shadow .2s ease, opacity .2s ease !important;
	cursor: pointer;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	display: block !important;
	margin: 0 !important;
	float: none !important;
}
.incarca-product .incarca-submit-btn:not(.incarca-submit-blocked):not([disabled]):hover,
.incarca-product .single_add_to_cart_button:not(.disabled):not([disabled]):hover {
	background: var(--bf-primary-dark) !important;
	box-shadow: 0 6px 20px rgba(46, 154, 60, .35) !important;
	transform: translateY(-1px);
}
.incarca-product .incarca-submit-btn.incarca-submit-blocked,
.incarca-product .incarca-submit-btn[disabled],
.incarca-product .single_add_to_cart_button[disabled] {
	background: #c9e7cd !important;
	color: #fff !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Quantity control
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-qty-control {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--bf-line);
	border-radius: 10px;
	overflow: hidden;
	background: var(--bf-surface);
}
.incarca-product .incarca-qty-btn {
	background: var(--bf-bg-soft);
	border: none;
	padding: 8px 16px;
	font: 700 18px Inter, system-ui, sans-serif;
	color: var(--bf-text-strong);
	cursor: pointer;
	transition: background .15s ease;
}
.incarca-product .incarca-qty-btn:hover {
	background: var(--bf-line);
}
.incarca-product .incarca-qty-input {
	width: 56px;
	text-align: center;
	border: none;
	background: transparent;
	font: 600 16px Inter, system-ui, sans-serif;
	color: var(--bf-text-strong);
}
.incarca-product .incarca-qty-input::-webkit-inner-spin-button,
.incarca-product .incarca-qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Trust badges row (Plată securizată, Livrare instantanee, încredere)
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-hero-trust,
.incarca-product .inc-trust-row,
.incarca-product .incarca-trust {
	display: flex !important;
	flex-wrap: wrap;
	gap: 24px !important;
	justify-content: center;
	align-items: center;
	margin-top: 18px !important;
	padding: 14px 0 4px;
	border-top: 1px solid var(--bf-line);
	font-size: 13px;
	color: var(--bf-muted);
}
.incarca-product .incarca-hero-trust span,
.incarca-product .inc-trust-row span,
.incarca-product .incarca-trust span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Rezumat - header + rows
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .incarca-summary h3 {
	color: var(--bf-text-strong);
	font-weight: 700;
	margin-bottom: 18px;
}
.incarca-product .incarca-summary h3::before {
	background: var(--bf-accent) !important;
}
.incarca-product .incarca-sum-list {
	display: grid;
	gap: 12px;
}
.incarca-product .incarca-sum-row {
	font-size: 14px;
	color: var(--bf-muted);
}
.incarca-product .incarca-sum-row strong {
	color: var(--bf-text-strong);
	font-weight: 600;
	text-align: right;
}
.incarca-product .incarca-sum-subtotal {
	border-top: 1.5px solid var(--bf-line);
	padding-top: 14px;
	margin-top: 14px;
}
.incarca-product .incarca-sum-subtotal .incarca-sum-row strong {
	color: var(--bf-accent) !important;
	font-size: 18px;
	font-weight: 700;
}
.incarca-product .incarca-sum-foot,
.incarca-product .incarca-sum-foot * {
	font-size: 11.5px;
	color: var(--bf-muted) !important;
	opacity: 1 !important;
}
.incarca-product .incarca-sum-foot { margin-top: 12px; }
.incarca-product .incarca-sum-foot * { margin-top: 0; }

/* Delivery ETA - plugin defaults to white-50%, invisible on light bg.
   Force readable color on Rezumat surface. */
.incarca-product .inc-delivery-eta,
.incarca-product #incDeliveryEta {
	color: var(--bf-muted) !important;
	opacity: 1 !important;
	font-size: 12px;
	font-weight: 500;
	padding: 8px 10px !important;
	margin-top: 4px;
	background: var(--bf-bg-soft);
	border-radius: 6px;
	border-left: 3px solid var(--bf-primary);
}

/* ─────────────────────────────────────────────────────────────────────────
 * Supplier logo BANNER - JS moves the .inc-sum-logo from inline (Furnizor row)
 * to a dedicated wrapper above the rows. CSS sizes it prominent + centered.
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .bf-supplier-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius-md);
	padding: 8px;
	margin: 0 0 12px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .08), 0 1px 4px rgba(15, 23, 42, .04);
}
.incarca-product .bf-supplier-banner .inc-sum-logo,
.incarca-product .bf-supplier-banner img {
	display: block !important;
	height: auto !important;
	max-height: 60px !important;
	max-width: 100% !important;
	width: auto !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	object-fit: contain;
}
@media (max-width: 768px) {
	.incarca-product .bf-supplier-banner img {
		max-height: 52px !important;
	}
}

/* Inline logo (fallback when JS hasn't moved it yet, or row still shows logo) */
.incarca-product .incarca-sum-row .inc-sum-logo {
	display: inline-block;
	height: 32px;
	max-width: 100px;
	margin-left: 8px;
	padding: 4px 6px;
	vertical-align: middle;
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-radius: 6px;
	object-fit: contain;
	box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}

/* Hide the Serviciu row when the banner is visible - JS adds .bf-has-banner class */
.incarca-product .incarca-summary.bf-has-banner #sumServiceRow,
.incarca-product .incarca-summary.bf-has-banner [data-row="serviciu"] {
	display: none;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Payment method icons (VISA, MC, PayPal, Bitcoin Accepted, SSL)
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .inc-trust-icons {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 8px;
	padding: 8px 6px;
	background: var(--bf-bg-soft);
	border-radius: 10px;
	border: 1px solid var(--bf-line);
}
.incarca-product .inc-trust-icon {
	filter: drop-shadow(0 4px 8px rgba(15, 23, 42, .18)) drop-shadow(0 1px 2px rgba(15, 23, 42, .12));
	border-radius: 4px;
	transition: filter .2s ease, transform .2s ease;
	flex: 1 1 0;
	min-width: 0;
	height: 26px;
}
.incarca-product .inc-trust-icon:hover {
	filter: drop-shadow(0 6px 14px rgba(15, 23, 42, .25)) drop-shadow(0 2px 4px rgba(15, 23, 42, .18));
	transform: translateY(-2px) scale(1.04);
}

/* ─────────────────────────────────────────────────────────────────────────
 * Collapsed step summary (after a step is confirmed)
 * ───────────────────────────────────────────────────────────────────────── */
.incarca-product .inc-step-collapsed-summary {
	display: flex;
	align-items: center;
	gap: 10px !important;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(59, 181, 74, .06);
	border: 1px solid rgba(59, 181, 74, .18);
}
.incarca-product .inc-step-check {
	background: var(--bf-primary);
	color: #fff;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}
.incarca-product .inc-step-collapsed-label {
	color: var(--bf-muted);
	font-weight: 500;
	font-size: 13px;
	flex-shrink: 0;
}
.incarca-product .inc-step-collapsed-value {
	color: var(--bf-text-strong);
	font-weight: 700;
	font-size: 14px;
	flex: 1;
	min-width: 0;
	font-variant-numeric: tabular-nums;
}
.incarca-product .inc-step-change-btn {
	background: transparent;
	border: 1px solid var(--bf-line);
	border-radius: 8px;
	padding: 5px 12px;
	font: 500 12px Inter, system-ui, sans-serif;
	color: var(--bf-primary);
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
	flex-shrink: 0;
}
.incarca-product .inc-step-change-btn:hover {
	background: var(--bf-primary-tint);
	border-color: var(--bf-primary);
}

/* ─────────────────────────────────────────────────────────────────────────
 * Mobile responsive (≤768px and ≤375px)
 * ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.incarca-product .incarca-page-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
}

@media (max-width: 768px) {
	.incarca-product .incarca-card {
		padding: 22px 18px;
		border-radius: var(--bf-radius-md) !important;
	}
	.incarca-product .incarca-summary {
		padding: 20px 16px;
		border-radius: var(--bf-radius-md) !important;
	}
	.incarca-product .incarca-pills {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
	.incarca-product .incarca-pill:has(.inc-pill-face) {
		min-height: 60px !important;
		padding: 12px 12px !important;
	}
	.incarca-product .incarca-submit-btn,
	.incarca-product .single_add_to_cart_button {
		padding: 14px 22px !important;
		font-size: 15px !important;
	}
	.incarca-product .incarca-hero-trust,
	.incarca-product .inc-trust-row,
	.incarca-product .incarca-trust {
		gap: 14px !important;
		font-size: 12px;
	}
	.incarca-product .inc-sum-logo {
		height: 44px !important;
		max-width: 120px !important;
	}
	.incarca-product .incarca-sum-row:has(.inc-sum-logo) > strong {
		max-width: 60%;
	}
}

@media (max-width: 375px) {
	.incarca-product .incarca-card,
	.incarca-product .incarca-summary {
		padding: 18px 14px;
	}
	.incarca-product .incarca-pills {
		grid-template-columns: 1fr !important;
	}
	.incarca-product .incarca-hero-head h2 {
		font-size: 22px !important;
	}
}

/* ─────────────────────────────────────────────────────────────────────────
 * Side cart (mini cart): center supplier logo in thumbnail container.
 * Plugin's .incarca-cart-logo span wraps the supplier image.
 * ───────────────────────────────────────────────────────────────────────── */
.widget_shopping_cart .cart_list .mini_cart_item .incarca-cart-logo,
.shopping-cart-content .cart_list .mini_cart_item .incarca-cart-logo,
.woocommerce-mini-cart .mini_cart_item .incarca-cart-logo,
.commercekit-cart-popup .incarca-cart-logo,
.incarca-cart-logo {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 64px;
	height: 64px;
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--bf-shadow-sm);
	flex-shrink: 0;
	box-sizing: border-box;
	padding: 6px;
}
.incarca-cart-logo img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Cart + Checkout (classic shortcode): supplier thumbnail + stacked meta.
 * Each meta line on its own row instead of " / " concatenated string.
 * ───────────────────────────────────────────────────────────────────────── */
.woocommerce-cart .product-thumbnail .incarca-cart-logo,
.woocommerce-checkout .product-thumbnail .incarca-cart-logo,
.woocommerce-cart .product-thumbnail img,
.woocommerce-checkout .product-thumbnail img {
	width: 80px;
	height: 80px;
}
.woocommerce-cart .product-thumbnail .incarca-cart-logo img,
.woocommerce-checkout .product-thumbnail .incarca-cart-logo img {
	max-width: 100% !important;
	max-height: 100% !important;
	width: auto !important;
	height: auto !important;
}

/* dl.variation is the WC default container for cart/checkout item meta.
   Force each dt+dd pair onto its own line. */
.woocommerce dl.variation,
.wc-block-components-product-details {
	display: grid !important;
	grid-template-columns: max-content 1fr;
	gap: 4px 10px;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	font-size: 13px;
	line-height: 1.5;
}
.woocommerce dl.variation dt {
	grid-column: 1 / 2;
	font-weight: 600 !important;
	color: var(--bf-muted) !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
}
.woocommerce dl.variation dd {
	grid-column: 2 / 3;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--bf-text-strong) !important;
	float: none !important;
}
.woocommerce dl.variation dd p {
	margin: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Visual identity refinements per brand
 * ───────────────────────────────────────────────────────────────────────── */

/* Hero icon - brand-color glow halo for premium feel */
.incarca-product .incarca-hero-icon {
	box-shadow: 0 10px 28px var(--bf-accent-glow), 0 2px 6px rgba(0, 0, 0, .10);
	border-radius: 18px;
	transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease;
}
.incarca-product .incarca-hero-head:hover .incarca-hero-icon {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 14px 36px var(--bf-accent-glow), 0 4px 10px rgba(0, 0, 0, .12);
}

/* Rezumat - premium elevation with deeper shadow than the main card */
.incarca-product .incarca-summary {
	box-shadow:
		0 28px 70px rgba(15, 23, 42, .15),
		0 10px 24px rgba(15, 23, 42, .08),
		0 0 0 1px rgba(15, 23, 42, .03) !important;
}

/* Rezumat header accent - sharper bar with brand glow */
.incarca-product .incarca-summary h3::before {
	width: 5px !important;
	height: 24px !important;
	border-radius: 3px !important;
	background: var(--bf-accent) !important;
	box-shadow: 0 2px 6px var(--bf-accent-glow);
}

/* Subtotal "De plată" - strong brand accent (no negative margins to avoid overflow) */
.incarca-product .incarca-sum-subtotal {
	border-top: 1.5px solid var(--bf-line);
	padding: 10px 10px 6px;
	margin-top: 10px;
	background: var(--bf-accent-tint);
	border-radius: 8px;
}
.incarca-product .incarca-sum-total {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed var(--bf-line);
}

/* Focus ring brand-tinted */
.incarca-product input:focus-visible,
.incarca-product select:focus-visible,
.incarca-product button:focus-visible:not(.incarca-submit-btn):not(.bf-wa-fab) {
	outline: 2px solid var(--bf-primary) !important;
	outline-offset: 2px;
	border-color: var(--bf-primary) !important;
}

/* Small detail: "Schimbă" link in collapsed step uses brand primary */
.incarca-product .inc-step-change-btn {
	color: var(--bf-primary) !important;
}

/* ─────────────────────────────────────────────────────────────────────────
 * Hide page title on home (the "Acasă" h1 above hero is redundant).
 * ───────────────────────────────────────────────────────────────────────── */
body.home .archive-header,
body.home .entry-header,
body.home .page-header,
body.home main > article > .entry-header,
body.home .site-content > .col-full > .archive-header,
body.home h1.entry-title {
	display: none !important;
}

/* Allow alignfull cover/group blocks to break out of WC content max-width on home */
body.home .site-content,
body.home .site-main,
body.home main#main,
body.home article {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.home .entry-content > .alignfull,
body.home .entry-content > .wp-block-group.alignfull,
body.home .entry-content > .wp-block-cover.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
}

/* ═════════════════════════════════════════════════════════════════════════
 *  HOMEPAGE - bf-home-* sections (responsive, brand-tinted)
 * ═════════════════════════════════════════════════════════════════════════ */

/* Reset article paddings on home so full-width sections reach edges */
body.home main#main,
body.home article {
	padding: 0 !important;
}
body.home .entry-content { margin: 0 !important; }
body.home .entry-content > * { margin-top: 0; margin-bottom: 0; }

/* HERO */
.bf-home-hero {
	background: linear-gradient(135deg, var(--bf-dark) 0%, #0f0f0f 100%);
	padding: clamp(3rem, 8vw, 6rem) 1.5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	color: #fff;
}
.bf-home-hero::before {
	content: '';
	position: absolute;
	top: -200px; right: -200px;
	width: 600px; height: 600px;
	background: radial-gradient(circle, var(--bf-accent-glow) 0%, transparent 65%);
	pointer-events: none;
	opacity: .55;
}
.bf-home-hero::after {
	content: '';
	position: absolute;
	bottom: -200px; left: -200px;
	width: 500px; height: 500px;
	background: radial-gradient(circle, rgba(59,181,74,.15) 0%, transparent 70%);
	pointer-events: none;
	opacity: .6;
}
.bf-home-hero__inner {
	max-width: 820px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.bf-home-hero h1 {
	font-size: clamp(2rem, 5.5vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -.025em;
	color: #fff;
	margin: 0 0 1.25rem;
	line-height: 1.08;
}
.bf-home-hero__sub {
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	color: rgba(255,255,255,.86);
	line-height: 1.55;
	margin: 0 0 2rem;
}
.bf-home-hero__sub strong {
	color: var(--bf-accent);
	font-weight: 700;
	white-space: nowrap;
}
.bf-home-hero__ctas {
	display: flex;
	gap: .75rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Buttons */
.bf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .9rem 1.85rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none !important;
	transition: all .2s ease;
	cursor: pointer;
	white-space: nowrap;
	border: none;
	line-height: 1.2;
}
.bf-btn-cta { background: var(--bf-cta); color: #fff !important; box-shadow: var(--bf-shadow-cta); }
.bf-btn-cta:hover { background: var(--bf-cta-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(59,181,74,.4); }
.bf-btn-ghost { border: 2px solid rgba(255,255,255,.45); color: #fff !important; background: transparent; }
.bf-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.bf-btn-cta-lg { padding: 1.05rem 2.5rem; font-size: 1.075rem; }

/* "Since" badge highlight */
.bf-home-since {
	background: var(--bf-surface);
	padding: 1.5rem 1.5rem;
}
.bf-home-since__inner {
	max-width: 820px;
	margin: 0 auto;
}
.bf-home-since__badge {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.6rem;
	background: linear-gradient(90deg, var(--bf-accent-tint) 0%, rgba(255, 255, 255, .9) 90%, #fff 100%);
	border-left: 4px solid var(--bf-accent);
	border-radius: 12px;
	box-shadow: 0 14px 32px rgba(242, 135, 5, .18), 0 4px 10px rgba(15, 23, 42, .08);
	transform: translateY(0);
	transition: transform .2s ease, box-shadow .2s ease;
}
.bf-home-since__badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 44px rgba(242, 135, 5, .28), 0 6px 14px rgba(15, 23, 42, .1);
}
body.bf-theme-dark .bf-home-since__badge {
	background: linear-gradient(90deg, rgba(242, 135, 5, .22) 0%, var(--bf-surface-2) 90%, var(--bf-surface-2) 100%) !important;
	border-left-color: var(--bf-accent) !important;
	box-shadow: 0 0 0 1px rgba(242, 135, 5, .25), 0 18px 40px rgba(242, 135, 5, .22), 0 6px 14px rgba(0, 0, 0, .35) !important;
}
body.bf-theme-dark .bf-home-since__badge:hover {
	box-shadow: 0 0 0 1px var(--bf-accent), 0 24px 52px rgba(242, 135, 5, .35), 0 8px 18px rgba(0, 0, 0, .4) !important;
}
.bf-since-icon {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	color: var(--bf-accent);
	flex-shrink: 0;
}
.bf-since-text strong {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--bf-text-strong);
	margin-bottom: 2px;
}
.bf-since-text span {
	font-size: .85rem;
	color: var(--bf-muted);
}
@media (max-width: 600px) {
	.bf-home-since__badge { flex-direction: column; text-align: center; gap: .5rem; padding: 1.25rem; }
}

/* Trust strip */
.bf-home-trust {
	background: var(--bf-surface);
	padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.bf-home-trust__grid {
	max-width: 1170px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem 1.25rem;
}
.bf-trust-item { text-align: center; }
.bf-trust-item .bf-trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--bf-accent-tint);
	color: var(--bf-accent);
	border-radius: 12px;
	margin-bottom: .75rem;
}
.bf-trust-item .bf-trust-icon svg { width: 24px; height: 24px; }
.bf-trust-item strong {
	display: block;
	font-size: .95rem;
	font-weight: 700;
	margin-bottom: .25rem;
	color: var(--bf-text-strong);
}
.bf-trust-item span {
	display: block;
	font-size: .85rem;
	color: var(--bf-muted);
	line-height: 1.4;
}
@media (max-width: 768px) {
	.bf-home-trust__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Services grid */
.bf-home-services {
	background: var(--bf-bg-soft);
	padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.bf-home-services__inner { max-width: 1170px; margin: 0 auto; }
.bf-home-services h2,
.bf-home-how h2,
.bf-home-faq h2,
.bf-home-brands h2,
.bf-home-cta h2 {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -.02em;
	text-align: center;
	margin: 0 0 .65rem;
	color: var(--bf-text-strong);
	line-height: 1.2;
}
.bf-section-lead {
	text-align: center;
	font-size: clamp(.95rem, 1.6vw, 1.05rem);
	color: var(--bf-muted);
	line-height: 1.55;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	max-width: 600px;
}
.bf-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}
.bf-service-card {
	display: flex !important;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 14px;
	padding: 1.6rem 1.4rem;
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: var(--bf-shadow-sm);
	transition: all .22s ease;
}
.bf-service-card:hover {
	border-color: var(--bf-accent);
	box-shadow: 0 14px 32px var(--bf-accent-tint), 0 4px 8px rgba(15,23,42,.06);
	transform: translateY(-3px);
}
.bf-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: var(--bf-accent-tint);
	color: var(--bf-accent);
	border-radius: 12px;
	margin-bottom: 1rem;
	flex-shrink: 0;
}
.bf-service-icon svg { width: 28px; height: 28px; stroke-width: 2; }
.bf-service-card strong {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--bf-text-strong);
	margin-bottom: .35rem;
}
.bf-service-card p {
	font-size: .9rem;
	color: var(--bf-muted);
	line-height: 1.5;
	margin: 0 0 1rem;
	flex-grow: 1;
}
.bf-service-cta {
	font-size: .9rem;
	font-weight: 700;
	color: var(--bf-accent);
	align-self: flex-start;
	transition: transform .15s ease;
}
.bf-service-card:hover .bf-service-cta { transform: translateX(3px); }
@media (max-width: 600px)  { .bf-services-grid { grid-template-columns: 1fr; } }

.bf-services-cta-wrap {
	text-align: center;
	margin-top: 2.5rem;
}

/* Brands strip */
.bf-home-brands {
	background: var(--bf-surface);
	padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
	border-top: 1px solid var(--bf-line);
}
.bf-home-brands h2 { font-size: clamp(1.4rem, 3vw, 1.65rem) !important; margin-bottom: 2rem !important; }
.bf-brands-grid {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
	justify-content: center;
}
.bf-brand {
	display: inline-flex;
	align-items: center;
	padding: .55rem 1.1rem;
	background: var(--bf-bg-soft);
	border: 1px solid var(--bf-line);
	border-radius: 999px;
	font-size: .88rem;
	font-weight: 600;
	color: var(--bf-text);
	transition: all .15s ease;
}
.bf-brand:hover {
	border-color: var(--bf-accent);
	color: var(--bf-accent);
	transform: translateY(-1px);
	box-shadow: 0 4px 10px var(--bf-accent-tint);
}

/* How it works */
.bf-home-how {
	background: var(--bf-bg-soft);
	padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.bf-home-how__inner { max-width: 1170px; margin: 0 auto; }
.bf-how-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 3rem;
}
.bf-how-step { text-align: center; }
.bf-how-num {
	display: inline-block;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--bf-accent), var(--bf-accent-dark));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: var(--bf-accent);
}
.bf-how-step strong {
	display: block;
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: .5rem;
	color: var(--bf-text-strong);
}
.bf-how-step p {
	font-size: .95rem;
	color: var(--bf-muted);
	line-height: 1.55;
	margin: 0;
}
@media (max-width: 768px) { .bf-how-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* FAQ */
.bf-home-faq {
	background: var(--bf-surface);
	padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.bf-home-faq__inner { max-width: 800px; margin: 0 auto; }
.bf-faq-list { margin-top: 2rem; }
.bf-faq-list details {
	background: var(--bf-bg-soft);
	border: 1px solid var(--bf-line);
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin-bottom: .65rem;
	transition: border-color .15s ease, background .15s ease;
}
.bf-faq-list details:hover { border-color: var(--bf-accent); }
.bf-faq-list details[open] { background: #fff; border-color: var(--bf-accent); }
.bf-faq-list summary {
	font-weight: 600;
	font-size: 1rem;
	color: var(--bf-text-strong);
	outline: none;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	user-select: none;
}
.bf-faq-list summary::-webkit-details-marker { display: none; }
.bf-faq-list summary::after {
	content: '+';
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--bf-accent);
	line-height: 1;
	transition: transform .2s ease;
	flex-shrink: 0;
	margin-left: 1rem;
}
.bf-faq-list details[open] summary::after { content: '−'; transform: rotate(180deg); }
.bf-faq-list details p {
	margin: .85rem 0 0;
	font-size: .95rem;
	line-height: 1.6;
	color: var(--bf-text);
}

/* Final CTA */
.bf-home-cta {
	background: var(--bf-dark);
	padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.bf-home-cta::before {
	content: '';
	position: absolute;
	bottom: -200px; left: -200px;
	width: 500px; height: 500px;
	background: radial-gradient(circle, var(--bf-accent-glow) 0%, transparent 70%);
	pointer-events: none;
	opacity: .45;
}
.bf-home-cta__inner {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.bf-home-cta h2 { color: #fff !important; }
.bf-home-cta p {
	color: rgba(255,255,255,.86);
	font-size: 1.05rem;
	line-height: 1.55;
	margin: 0 0 2rem;
}

/* ═════════════════════════════════════════════════════════════════════════
 * NIGHT/DAY THEME TOGGLE
 *   - Light = default (no body class)
 *   - Dark  = body.bf-theme-dark (vars override)
 * ═════════════════════════════════════════════════════════════════════════ */

.bf-theme-toggle {
	position: fixed;
	left: 20px;
	bottom: 20px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	color: var(--bf-text-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--bf-shadow-md);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	z-index: 9998;
	-webkit-tap-highlight-color: transparent;
}
.bf-theme-toggle:hover {
	transform: translateY(-2px) scale(1.06);
	box-shadow: var(--bf-shadow-lg);
}
.bf-theme-toggle svg { width: 22px; height: 22px; pointer-events: none; }
.bf-theme-toggle .bf-icon-sun { display: none; }
body.bf-theme-dark .bf-theme-toggle .bf-icon-sun  { display: block; }
body.bf-theme-dark .bf-theme-toggle .bf-icon-moon { display: none; }
@media (max-width: 768px) {
	.bf-theme-toggle { left: 14px; bottom: 14px; width: 44px; height: 44px; }
	.bf-theme-toggle svg { width: 20px; height: 20px; }
}

/* DARK THEME OVERRIDES - medium slate, never harsh black */
body.bf-theme-dark {
	--bf-surface:            #353a45;
	--bf-surface-2:          #3f4450;
	--bf-bg-soft:            #2b2f38;
	--bf-bg-tint:            #38312a;
	--bf-text:               #dde2e8;
	--bf-text-strong:        #f5f7f9;
	--bf-muted:              #a4abb4;
	--bf-line:               #4a505a;
	--bf-line-soft:          #3d4250;
	--bf-dark:               #21252c;
	--bf-shadow-sm:          0 4px 12px rgba(0, 0, 0, .22), 0 2px 4px rgba(0, 0, 0, .16);
	--bf-shadow-md:          0 10px 28px rgba(0, 0, 0, .28), 0 4px 10px rgba(0, 0, 0, .18);
	--bf-shadow-lg:          0 22px 48px rgba(0, 0, 0, .36), 0 8px 18px rgba(0, 0, 0, .24), 0 0 0 1px rgba(255, 255, 255, .05);
}
body.bf-theme-dark { background: var(--bf-bg-soft); color: var(--bf-text); }
body.bf-theme-dark .site-content,
body.bf-theme-dark main.site-main { background: var(--bf-bg-soft); }
body.bf-theme-dark.incarca-product,
body.bf-theme-dark.incarca-product .site-content,
body.bf-theme-dark.incarca-product main.site-main { background: var(--bf-bg-soft) !important; }

/* Header dark */
body.bf-theme-dark .site-header,
body.bf-theme-dark .col-full.topbar-wrapper,
body.bf-theme-dark .top-bar { background: var(--bf-surface) !important; border-bottom-color: var(--bf-line) !important; }
body.bf-theme-dark .site-title a,
body.bf-theme-dark .top-bar a { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .widget_product_search input { background: var(--bf-surface) !important; color: var(--bf-text) !important; border-color: var(--bf-line) !important; }

/* Cards in Incarca product page */
body.bf-theme-dark.incarca-product .incarca-card,
body.bf-theme-dark.incarca-product .incarca-summary,
body.bf-theme-dark.incarca-product .incarca-step.show {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .bf-supplier-banner,
body.bf-theme-dark.incarca-product .incarca-pill,
body.bf-theme-dark.incarca-product .incarca-service-card,
body.bf-theme-dark.incarca-product .incarca-mini-card {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark.incarca-product .incarca-pill .inc-pill-face,
body.bf-theme-dark.incarca-product .incarca-hero-head h2:not(.incarca-hero-branded h2),
body.bf-theme-dark.incarca-product .incarca-step h3,
body.bf-theme-dark.incarca-product .incarca-summary h3 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-pill .inc-pill-price,
body.bf-theme-dark.incarca-product .incarca-step-lead,
body.bf-theme-dark.incarca-product .incarca-sum-row,
body.bf-theme-dark.incarca-product .inc-delivery-eta { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .inc-delivery-eta { background: var(--bf-bg-soft) !important; }
body.bf-theme-dark.incarca-product .incarca-sum-row strong { color: var(--bf-text-strong) !important; }

/* Home sections dark */
body.bf-theme-dark .bf-home-since,
body.bf-theme-dark .bf-home-trust,
body.bf-theme-dark .bf-home-brands,
body.bf-theme-dark .bf-home-faq { background: var(--bf-surface) !important; }
body.bf-theme-dark .bf-home-services,
body.bf-theme-dark .bf-home-how { background: var(--bf-bg-soft) !important; }
body.bf-theme-dark .bf-service-card,
body.bf-theme-dark .bf-faq-list details,
body.bf-theme-dark .bf-brand {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .bf-faq-list details[open] { background: var(--bf-bg-tint) !important; }
body.bf-theme-dark .bf-service-card strong,
body.bf-theme-dark .bf-faq-list summary,
body.bf-theme-dark .bf-faq-list details p,
body.bf-theme-dark .bf-trust-item strong,
body.bf-theme-dark .bf-how-step strong,
body.bf-theme-dark .bf-since-text strong,
body.bf-theme-dark .bf-home-services h2,
body.bf-theme-dark .bf-home-how h2,
body.bf-theme-dark .bf-home-faq h2,
body.bf-theme-dark .bf-home-brands h2 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .bf-trust-item span,
body.bf-theme-dark .bf-since-text span,
body.bf-theme-dark .bf-section-lead,
body.bf-theme-dark .bf-how-step p,
body.bf-theme-dark .bf-service-card p { color: var(--bf-muted) !important; }

/* WC pages dark */
body.bf-theme-dark .woocommerce table,
body.bf-theme-dark .woocommerce .cart_totals,
body.bf-theme-dark .woocommerce .checkout,
body.bf-theme-dark .woocommerce form { background: var(--bf-surface) !important; color: var(--bf-text) !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * STRONGER SHADOWS / RELIEF
 * Upgrade shadow tokens - more pronounced depth on cards, buttons, hovers
 * ═════════════════════════════════════════════════════════════════════════ */

/* Increase Incarca card / Rezumat shadow on light theme */
body:not(.bf-theme-dark) .incarca-product .incarca-card {
	box-shadow:
		0 12px 32px rgba(15, 23, 42, .10),
		0 4px 10px rgba(15, 23, 42, .06),
		0 0 0 1px rgba(15, 23, 42, .015) !important;
}
body:not(.bf-theme-dark) .incarca-product .incarca-summary {
	box-shadow:
		0 28px 60px rgba(15, 23, 42, .14),
		0 12px 24px rgba(15, 23, 42, .08),
		0 0 0 1px rgba(15, 23, 42, .025) !important;
}

/* Service cards on home: deeper hover */
body:not(.bf-theme-dark) .bf-service-card:hover {
	box-shadow:
		0 20px 40px var(--bf-accent-tint),
		0 6px 14px rgba(15, 23, 42, .10) !important;
}

/* Type cards (Steam, Sony, etc.) */
body:not(.bf-theme-dark) .incarca-product .incarca-service-card,
body:not(.bf-theme-dark) .incarca-product .incarca-mini-card {
	box-shadow:
		0 4px 14px rgba(15, 23, 42, .08),
		0 1px 4px rgba(15, 23, 42, .04) !important;
}
body:not(.bf-theme-dark) .incarca-product .incarca-service-card:hover,
body:not(.bf-theme-dark) .incarca-product .incarca-mini-card:hover {
	box-shadow:
		0 16px 36px var(--bf-accent-tint),
		0 6px 14px rgba(15, 23, 42, .10) !important;
}

/* Trust icons tray */
body:not(.bf-theme-dark) .incarca-product .inc-trust-icons {
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, .06);
}

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - Incarca product page extended adaptations
 * ═════════════════════════════════════════════════════════════════════════ */

/* Operator/choice cards (Telekom, Vodafone, Digi, Orange, etc.) */
body.bf-theme-dark.incarca-product .incarca-choice,
body.bf-theme-dark.incarca-product .incarca-card[data-delivery],
body.bf-theme-dark.incarca-product .incarca-card[data-mp-delivery],
body.bf-theme-dark.incarca-product .incarca-card[data-uid],
body.bf-theme-dark.incarca-product .incarca-card[data-country] {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-choice strong,
body.bf-theme-dark.incarca-product .incarca-card[data-delivery] strong,
body.bf-theme-dark.incarca-product .incarca-card[data-mp-delivery] strong { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-choice small,
body.bf-theme-dark.incarca-product .incarca-card[data-delivery] small,
body.bf-theme-dark.incarca-product .incarca-card[data-mp-delivery] small { color: var(--bf-muted) !important; }

/* Choice hover - keep brand-tinted shimmer, but on dark surface */
body.bf-theme-dark.incarca-product .incarca-choice:hover {
	background: rgba(255, 255, 255, .04) !important;
}
body.bf-theme-dark.incarca-product .incarca-choice[data-brand*="orange"]:hover {
	background: rgba(255, 121, 0, .12) !important;
	border-color: rgba(255, 121, 0, .35) !important;
}
body.bf-theme-dark.incarca-product .incarca-choice[data-brand*="vodafone"]:hover {
	background: rgba(230, 0, 0, .12) !important;
	border-color: rgba(230, 0, 0, .35) !important;
}
body.bf-theme-dark.incarca-product .incarca-choice[data-brand*="cosmote"]:hover,
body.bf-theme-dark.incarca-product .incarca-choice[data-brand*="telekom"]:hover {
	background: rgba(226, 0, 116, .12) !important;
	border-color: rgba(226, 0, 116, .35) !important;
}
body.bf-theme-dark.incarca-product .incarca-choice[data-brand*="digi"]:hover,
body.bf-theme-dark.incarca-product .incarca-choice[data-brand*="rds"]:hover {
	background: rgba(0, 87, 184, .14) !important;
	border-color: rgba(0, 87, 184, .35) !important;
}

/* Supplier logos - soft contrast in dark mode (subtle dim + slight backdrop) */
body.bf-theme-dark.incarca-product .inc-card-logo,
body.bf-theme-dark.incarca-product .inc-sum-logo,
body.bf-theme-dark .incarca-cart-logo img {
	filter: brightness(0.92) saturate(0.92);
	background: rgba(255, 255, 255, .85);
	border-radius: 6px;
	padding: 3px 5px;
	box-sizing: border-box;
}

/* Side cart logo container in dark */
body.bf-theme-dark .incarca-cart-logo {
	background: rgba(255, 255, 255, .04) !important;
	border-color: var(--bf-line) !important;
}

/* Banner supplier logo - keep light backdrop so colorful logos stay readable */
body.bf-theme-dark.incarca-product .bf-supplier-banner {
	background: rgba(255, 255, 255, .94) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .bf-supplier-banner img {
	filter: none !important;
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

/* Hero icon (orange/cyan square) - slight dim in dark mode */
body.bf-theme-dark.incarca-product .incarca-hero-icon {
	filter: brightness(0.95);
}

/* Step collapsed summary - preserve green tint hint */
body.bf-theme-dark.incarca-product .inc-step-collapsed-summary {
	background: rgba(59, 181, 74, .10) !important;
	border-color: rgba(59, 181, 74, .28) !important;
}
body.bf-theme-dark.incarca-product .inc-step-collapsed-label { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .inc-step-collapsed-value { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .inc-step-change-btn {
	background: var(--bf-surface) !important;
	color: var(--bf-cta) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .inc-step-change-btn:hover {
	background: var(--bf-cta-tint) !important;
	border-color: var(--bf-cta) !important;
}

/* Form inputs / selects */
body.bf-theme-dark.incarca-product .incarca-input,
body.bf-theme-dark.incarca-product input[type="text"],
body.bf-theme-dark.incarca-product input[type="email"],
body.bf-theme-dark.incarca-product input[type="number"],
body.bf-theme-dark.incarca-product input[type="tel"],
body.bf-theme-dark.incarca-product input[type="search"],
body.bf-theme-dark.incarca-product select,
body.bf-theme-dark.incarca-product textarea {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product input::placeholder,
body.bf-theme-dark.incarca-product textarea::placeholder { color: var(--bf-muted) !important; opacity: .7; }
body.bf-theme-dark.incarca-product input:focus,
body.bf-theme-dark.incarca-product select:focus,
body.bf-theme-dark.incarca-product textarea:focus {
	border-color: var(--bf-accent) !important;
	outline: 2px solid var(--bf-accent-tint);
}

/* Quantity control */
body.bf-theme-dark.incarca-product .incarca-qty-control {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-btn {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-btn:hover { background: var(--bf-line) !important; }
body.bf-theme-dark.incarca-product .incarca-qty-input { color: var(--bf-text-strong) !important; background: transparent !important; }

/* API note (info banner) */
body.bf-theme-dark.incarca-product .incarca-api-note {
	background: var(--bf-accent-tint) !important;
	border-color: rgba(242, 135, 5, .25) !important;
	color: var(--bf-text-strong) !important;
}

/* Trust badges row in hero card */
body.bf-theme-dark.incarca-product .incarca-hero-trust span,
body.bf-theme-dark.incarca-product .inc-trust-row span,
body.bf-theme-dark.incarca-product .incarca-trust span { color: var(--bf-muted) !important; }

/* Payment trust icons tray */
body.bf-theme-dark.incarca-product .inc-trust-icons {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .inc-trust-icon {
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)) drop-shadow(0 1px 2px rgba(0, 0, 0, .25)) brightness(1.05);
}

/* Empty / loading skeleton states */
body.bf-theme-dark.incarca-product .incarca-empty-state,
body.bf-theme-dark.incarca-product .incarca-api-note {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-muted) !important;
}

/* Mobile sticky cart bar (Incarca v2.15+) */
body.bf-theme-dark .incarca-mobile-bar {
	background: var(--bf-surface) !important;
	border-top-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .inc-mbar-detail { color: var(--bf-muted) !important; }
body.bf-theme-dark .inc-mbar-price { color: var(--bf-text-strong) !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - WC pages: cart, checkout, mini-cart, reviews, related products
 * ═════════════════════════════════════════════════════════════════════════ */

/* Quantity selector (qty input) - WC default + Shoptimizer styled */
body.bf-theme-dark .quantity input.qty,
body.bf-theme-dark input[type="number"].qty,
body.bf-theme-dark .woocommerce .quantity .qty {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .quantity .plus,
body.bf-theme-dark .quantity .minus,
body.bf-theme-dark .woocommerce .quantity .plus,
body.bf-theme-dark .woocommerce .quantity .minus {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .quantity .plus:hover,
body.bf-theme-dark .quantity .minus:hover { background: var(--bf-line) !important; }

/* Add-to-cart disabled state in dark - keep distinguishable from active */
body.bf-theme-dark .single_add_to_cart_button[disabled],
body.bf-theme-dark .single_add_to_cart_button.disabled,
body.bf-theme-dark .incarca-submit-btn.incarca-submit-blocked,
body.bf-theme-dark .incarca-submit-btn[disabled] {
	background: rgba(59, 181, 74, .25) !important;
	color: rgba(255, 255, 255, .55) !important;
	box-shadow: none !important;
}

/* Side cart / mini-cart widget */
body.bf-theme-dark .widget_shopping_cart,
body.bf-theme-dark .commercekit-cart-popup,
body.bf-theme-dark .shoptimizer-mini-cart,
body.bf-theme-dark .woocommerce-mini-cart,
body.bf-theme-dark .site-header-cart .widget_shopping_cart_content {
	background: var(--bf-surface) !important;
	color: var(--bf-text) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .widget_shopping_cart .cart_list li,
body.bf-theme-dark .woocommerce-mini-cart .mini_cart_item {
	background: var(--bf-surface) !important;
	border-bottom-color: var(--bf-line-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .widget_shopping_cart .cart_list a,
body.bf-theme-dark .woocommerce-mini-cart a { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .widget_shopping_cart .total,
body.bf-theme-dark .woocommerce-mini-cart__total { color: var(--bf-text-strong) !important; border-top-color: var(--bf-line) !important; }
body.bf-theme-dark .remove,
body.bf-theme-dark .product-remove a { color: var(--bf-muted) !important; }

/* Cart page */
body.bf-theme-dark.woocommerce-cart .site-content,
body.bf-theme-dark.woocommerce-cart main.site-main,
body.bf-theme-dark.woocommerce-checkout .site-content,
body.bf-theme-dark.woocommerce-checkout main.site-main { background: var(--bf-bg-soft) !important; }
body.bf-theme-dark .woocommerce table.cart,
body.bf-theme-dark .woocommerce table.shop_table {
	background: var(--bf-surface) !important;
	color: var(--bf-text) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .cart-collaterals,
body.bf-theme-dark .woocommerce .cart-collaterals,
body.bf-theme-dark .cross-sells {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: var(--bf-text) !important;
}
.woocommerce .cart-collaterals,
.cart-collaterals { background: transparent; box-shadow: none; }
body.bf-theme-dark .woocommerce table.cart th,
body.bf-theme-dark .woocommerce table.shop_table th { color: var(--bf-text-strong) !important; border-color: var(--bf-line) !important; background: var(--bf-bg-soft) !important; }
body.bf-theme-dark .woocommerce table.cart td,
body.bf-theme-dark .woocommerce table.shop_table td { border-color: var(--bf-line-soft) !important; color: var(--bf-text) !important; }
body.bf-theme-dark .woocommerce a.remove { color: var(--bf-muted) !important; }
body.bf-theme-dark .coupon input,
body.bf-theme-dark .actions input,
body.bf-theme-dark .checkout input,
body.bf-theme-dark .checkout select,
body.bf-theme-dark .checkout textarea,
body.bf-theme-dark .woocommerce form input,
body.bf-theme-dark .woocommerce form select,
body.bf-theme-dark .woocommerce form textarea {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .woocommerce form ::placeholder { color: var(--bf-muted) !important; }

/* Checkout - order review + payment box */
body.bf-theme-dark #order_review,
body.bf-theme-dark .woocommerce-checkout-review-order,
body.bf-theme-dark .woocommerce-checkout-payment {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .woocommerce-checkout-payment ul.payment_methods {
	background: var(--bf-bg-soft) !important;
	border-bottom-color: var(--bf-line) !important;
}
body.bf-theme-dark .woocommerce-checkout-payment ul.payment_methods li { border-color: var(--bf-line-soft) !important; }
body.bf-theme-dark .woocommerce-checkout-payment .payment_box {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}

/* Reviews - comments list + form */
body.bf-theme-dark #reviews,
body.bf-theme-dark .woocommerce-Reviews,
body.bf-theme-dark #review_form,
body.bf-theme-dark .commentlist {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark #reviews ol.commentlist li,
body.bf-theme-dark .commentlist li.comment {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark #reviews .comment-text,
body.bf-theme-dark .commentlist .comment-text {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark #reviews h2,
body.bf-theme-dark #reviews h3,
body.bf-theme-dark .woocommerce-Reviews-title,
body.bf-theme-dark #review_form h3 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark #review_form input,
body.bf-theme-dark #review_form textarea {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .woocommerce-tabs ul.tabs,
body.bf-theme-dark .commercekit-atc-tab-links {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .woocommerce-tabs ul.tabs li a,
body.bf-theme-dark .commercekit-atc-tab-links li a { color: var(--bf-muted) !important; }
body.bf-theme-dark .woocommerce-tabs ul.tabs li.active a,
body.bf-theme-dark .commercekit-atc-tab-links li.active a { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .woocommerce-Tabs-panel { background: var(--bf-bg-soft) !important; color: var(--bf-text) !important; }

/* Related products / similar / upsells */
body.bf-theme-dark .related.products,
body.bf-theme-dark .upsells.products,
body.bf-theme-dark .cross-sells,
body.bf-theme-dark .wc-prl-recommendations,
body.bf-theme-dark .yith-wfbt-section.woocommerce {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .related.products h2,
body.bf-theme-dark .upsells.products h2,
body.bf-theme-dark .cross-sells h2 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark ul.products li.product,
body.bf-theme-dark .wc-block-grid__product {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark ul.products li.product .woocommerce-loop-product__title,
body.bf-theme-dark ul.products li.product h2,
body.bf-theme-dark ul.products li.product h3 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark ul.products li.product .price { color: var(--bf-text-strong) !important; }
body.bf-theme-dark ul.products li.product .price .woocommerce-Price-amount { color: var(--bf-accent) !important; }
body.bf-theme-dark ul.products li.product a { color: var(--bf-text) !important; }

/* Star ratings */
body.bf-theme-dark .star-rating,
body.bf-theme-dark .star-rating::before { color: var(--bf-accent) !important; }

/* Notice banners (success / info / error) on cart/checkout */
body.bf-theme-dark .woocommerce-message,
body.bf-theme-dark .woocommerce-info {
	background: var(--bf-bg-soft) !important;
	border-left-color: var(--bf-cta) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .woocommerce-error {
	background: var(--bf-bg-soft) !important;
	border-left-color: #ef4444 !important;
	color: var(--bf-text) !important;
}

/* Breadcrumbs */
body.bf-theme-dark .breadcrumbs,
body.bf-theme-dark .woocommerce-breadcrumb { color: var(--bf-muted) !important; }
body.bf-theme-dark .breadcrumbs a,
body.bf-theme-dark .woocommerce-breadcrumb a { color: var(--bf-text) !important; }

/* Footer + below-content widgets */
body.bf-theme-dark .below-content { background: var(--bf-bg-soft) !important; color: var(--bf-text) !important; }
body.bf-theme-dark footer.site-footer { background: var(--bf-dark) !important; color: var(--bf-text) !important; }
body.bf-theme-dark footer.site-footer a { color: var(--bf-muted) !important; }

/* Page title areas (Cart, Checkout, My Account headers) */
body.bf-theme-dark .archive-header,
body.bf-theme-dark .entry-header,
body.bf-theme-dark .page-header { background: transparent !important; color: var(--bf-text-strong) !important; }
body.bf-theme-dark h1.entry-title,
body.bf-theme-dark .archive-header h1 { color: var(--bf-text-strong) !important; }

/* Buttons in WC dark - keep CTA green, neutral buttons darker */
body.bf-theme-dark .woocommerce button.button:not(.alt):not(.single_add_to_cart_button),
body.bf-theme-dark .woocommerce input.button:not(.alt):not(.single_add_to_cart_button),
body.bf-theme-dark .woocommerce a.button:not(.alt):not(.single_add_to_cart_button) {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
	border: 1px solid var(--bf-line) !important;
}
body.bf-theme-dark .woocommerce button.button:not(.alt):not(.single_add_to_cart_button):hover {
	background: var(--bf-line) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - additional Incarca card variants + qty + better contrast
 * ═════════════════════════════════════════════════════════════════════════ */

/* Inner type/service cards (PaysafeCard, Sony, Steam, etc.) - slightly LIGHTER
   than the outer .incarca-card so they stand out as distinct buttons */
body.bf-theme-dark.incarca-product .incarca-card[data-paysafe-type],
body.bf-theme-dark.incarca-product .incarca-card[data-service],
body.bf-theme-dark.incarca-product .incarca-card[data-incarca-type] {
	background: #313640 !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-card[data-paysafe-type] strong,
body.bf-theme-dark.incarca-product .incarca-card[data-service] strong,
body.bf-theme-dark.incarca-product .incarca-card[data-incarca-type] strong { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-card[data-paysafe-type] small,
body.bf-theme-dark.incarca-product .incarca-card[data-service] small,
body.bf-theme-dark.incarca-product .incarca-card[data-incarca-type] small { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-card[data-paysafe-type]:hover,
body.bf-theme-dark.incarca-product .incarca-card[data-service]:hover,
body.bf-theme-dark.incarca-product .incarca-card[data-incarca-type]:hover {
	background: #383d48 !important;
	border-color: var(--bf-accent) !important;
	box-shadow: 0 12px 28px var(--bf-accent-tint), 0 4px 10px rgba(0, 0, 0, .25) !important;
}
body.bf-theme-dark.incarca-product .incarca-card.active,
body.bf-theme-dark.incarca-product .incarca-card[data-paysafe-type].active,
body.bf-theme-dark.incarca-product .incarca-card[data-service].active {
	background: var(--bf-accent) !important;
	border-color: var(--bf-accent) !important;
	color: #fff !important;
}
body.bf-theme-dark.incarca-product .incarca-card.active strong,
body.bf-theme-dark.incarca-product .incarca-card.active small { color: #fff !important; }

/* Pills active state in dark - accent bg */
body.bf-theme-dark.incarca-product .incarca-pill.active {
	background: var(--bf-accent) !important;
	border-color: var(--bf-accent) !important;
	color: #fff !important;
}
body.bf-theme-dark.incarca-product .incarca-pill {
	background: #313640 !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-pill .inc-pill-face { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-pill .inc-pill-price { color: var(--bf-muted) !important; }

/* Step containers - slightly lighter to differentiate */
body.bf-theme-dark.incarca-product .incarca-step.show {
	background: #313640 !important;
	border-color: var(--bf-line) !important;
}

/* Qty selector - WC + custom */
body.bf-theme-dark .incarca-qty-control,
body.bf-theme-dark .quantity {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .incarca-qty-input,
body.bf-theme-dark input.qty,
body.bf-theme-dark .quantity input.qty,
body.bf-theme-dark .quantity input[type="number"] {
	background: var(--bf-surface) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .incarca-qty-btn,
body.bf-theme-dark .quantity .plus,
body.bf-theme-dark .quantity .minus {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}

/* Better contrast on Rezumat rows */
body.bf-theme-dark.incarca-product .incarca-summary { background: var(--bf-surface) !important; }
body.bf-theme-dark.incarca-product .incarca-sum-row span:first-child { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-sum-row strong { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-sum-subtotal {
	background: rgba(242, 135, 5, .15) !important;
}
body.bf-theme-dark.incarca-product .incarca-sum-subtotal .incarca-sum-row strong { color: var(--bf-accent) !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - generic content text + form labels + helpers
 * ═════════════════════════════════════════════════════════════════════════ */

/* Page content body text & headings */
body.bf-theme-dark p,
body.bf-theme-dark .entry-content,
body.bf-theme-dark .entry-content p,
body.bf-theme-dark .product-description,
body.bf-theme-dark .woocommerce-product-details__short-description {
	color: var(--bf-text) !important;
}
body.bf-theme-dark h1, body.bf-theme-dark h2, body.bf-theme-dark h3,
body.bf-theme-dark h4, body.bf-theme-dark h5, body.bf-theme-dark h6 {
	color: var(--bf-text-strong) !important;
}

/* Reviews / comment form - labels, helpers, inputs */
body.bf-theme-dark .comment-form label,
body.bf-theme-dark .comment-form .comment-form-rating,
body.bf-theme-dark .comment-form-comment label,
body.bf-theme-dark .comment-form-author label,
body.bf-theme-dark .comment-form-email label,
body.bf-theme-dark .comment-form-cookies-consent label,
body.bf-theme-dark .comment-notes,
body.bf-theme-dark .logged-in-as { color: var(--bf-text) !important; }
body.bf-theme-dark .comment-form input[type="text"],
body.bf-theme-dark .comment-form input[type="email"],
body.bf-theme-dark .comment-form textarea {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .comment-form-cookies-consent input[type="checkbox"] {
	accent-color: var(--bf-cta);
}
body.bf-theme-dark .commentlist .meta { color: var(--bf-muted) !important; }

/* Star rating input */
body.bf-theme-dark p.stars a { color: var(--bf-muted) !important; }
body.bf-theme-dark p.stars a:hover,
body.bf-theme-dark p.stars a.active { color: var(--bf-accent) !important; }
body.bf-theme-dark p.stars a::before { color: inherit !important; }

/* "Required" asterisks */
body.bf-theme-dark .required { color: #ef4444 !important; }

/* Page headers (h1.entry-title) on cart/checkout/my-account */
body.bf-theme-dark .archive-header h1,
body.bf-theme-dark .entry-header h1,
body.bf-theme-dark .page-title,
body.bf-theme-dark .archive-header { color: var(--bf-text-strong) !important; }

/* WC empty cart message */
body.bf-theme-dark .cart-empty,
body.bf-theme-dark .return-to-shop,
body.bf-theme-dark .return-to-shop a { color: var(--bf-text) !important; }
body.bf-theme-dark .cart-empty.woocommerce-info { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .return-to-shop .button {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
	border: 1px solid var(--bf-line) !important;
}
body.bf-theme-dark .return-to-shop .button:hover { background: var(--bf-line) !important; }

/* Empty cart icon (the SVG cart) */
body.bf-theme-dark .cart-empty-icon,
body.bf-theme-dark .empty-cart-icon { filter: invert(1) opacity(0.5); }
body.bf-theme-dark .cart-empty svg { color: var(--bf-muted) !important; opacity: .55; }

/* Search input in dark */
body.bf-theme-dark .widget_product_search input[type="search"],
body.bf-theme-dark .site-search input[type="search"],
body.bf-theme-dark input.search-field {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .site-search { background: var(--bf-bg-soft) !important; border-color: var(--bf-line) !important; }
body.bf-theme-dark .site-search svg { color: var(--bf-muted) !important; }

/* WhatsApp FAB shadow on dark */
body.bf-theme-dark .bf-wa-fab {
	box-shadow: 0 6px 18px rgba(37, 211, 102, .45), 0 2px 6px rgba(0, 0, 0, .35);
}

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE COMPLETE - nav, mini-cart, Incarca catch-all, vibrant accents
 * ═════════════════════════════════════════════════════════════════════════ */

/* MAIN NAV BAR - was leaking white */
body.bf-theme-dark .col-full-nav,
body.bf-theme-dark .main-navigation,
body.bf-theme-dark .primary-navigation,
body.bf-theme-dark nav.main-navigation,
body.bf-theme-dark .menu-primary-menu-container,
body.bf-theme-dark body:not(.header-4) .site-header,
body.bf-theme-dark .header-4-container,
body.bf-theme-dark .nav-wrapper {
	background: var(--bf-dark) !important;
	border-color: var(--bf-line-soft) !important;
}
body.bf-theme-dark .menu-primary-menu-container > ul > li > a,
body.bf-theme-dark .menu-primary-menu-container > ul > li.nolink > span,
body.bf-theme-dark .main-navigation ul li a,
body.bf-theme-dark .main-navigation ul.menu > li > a,
body.bf-theme-dark .secondary-navigation .menu a {
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .menu-primary-menu-container > ul > li > a:hover,
body.bf-theme-dark .main-navigation ul li a:hover {
	color: var(--bf-accent) !important;
}
body.bf-theme-dark .main-navigation ul.menu ul.sub-menu,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children .sub-menu,
body.bf-theme-dark .main-navigation .sub-menu-wrapper {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .main-navigation ul.menu ul li a {
	color: var(--bf-text) !important;
}
body.bf-theme-dark .main-navigation ul.menu ul li a:hover {
	color: var(--bf-accent) !important;
	background: var(--bf-surface-2) !important;
}

/* Site header bg */
body.bf-theme-dark .main-header,
body.bf-theme-dark .col-full.main-header,
body.bf-theme-dark .site-header__top {
	background: var(--bf-surface) !important;
}
body.bf-theme-dark .site-title a,
body.bf-theme-dark .site-title { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .top-bar { background: var(--bf-surface-2) !important; }
body.bf-theme-dark .top-bar a { color: var(--bf-text) !important; }
body.bf-theme-dark .top-bar a:hover { color: var(--bf-accent) !important; }

/* Cart counter / cart button in header */
body.bf-theme-dark .shoptimizer-cart a.cart-contents,
body.bf-theme-dark .site-header-cart a {
	color: var(--bf-text) !important;
}
body.bf-theme-dark .shoptimizer-cart .count {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border-color: var(--bf-accent) !important;
}

/* MINI CART HEADER (the "Coșul tău" label or top strip in mini cart popup) */
body.bf-theme-dark .commercekit-cart-popup-header,
body.bf-theme-dark .commercekit-cart-popup-title,
body.bf-theme-dark .commercekit-cart-popup .title,
body.bf-theme-dark .widget_shopping_cart .widget-title,
body.bf-theme-dark .widget_shopping_cart h2,
body.bf-theme-dark .widget_shopping_cart h3,
body.bf-theme-dark .woocommerce-mini-cart-header,
body.bf-theme-dark .cart-popup-header,
body.bf-theme-dark .cart-popup .header {
	background: var(--bf-surface) !important;
	color: var(--bf-text-strong) !important;
	border-bottom-color: var(--bf-line) !important;
}
body.bf-theme-dark .commercekit-cart-popup,
body.bf-theme-dark .cart-popup,
body.bf-theme-dark .commercekit-mini-cart {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .commercekit-cart-popup *,
body.bf-theme-dark .cart-popup * {
	color: inherit;
}

/* ── INCARCA-WOO catch-all dark - covers all step bodies, panels, choices ── */
body.bf-theme-dark.incarca-product .incarca-step,
body.bf-theme-dark.incarca-product .incarca-step-body,
body.bf-theme-dark.incarca-product [id$="Body"],
body.bf-theme-dark.incarca-product .incarca-flow,
body.bf-theme-dark.incarca-product .incarca-page-grid {
	background: transparent !important;
	color: var(--bf-text) !important;
}

/* Active step lighter than collapsed for contrast */
body.bf-theme-dark.incarca-product .incarca-step.show {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-step.collapsed {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line-soft) !important;
}

/* Generic Incarca text colors - anything inside step body that's text */
body.bf-theme-dark.incarca-product .incarca-step h3,
body.bf-theme-dark.incarca-product .incarca-step h4,
body.bf-theme-dark.incarca-product .incarca-step strong,
body.bf-theme-dark.incarca-product .incarca-step label,
body.bf-theme-dark.incarca-product .incarca-step p,
body.bf-theme-dark.incarca-product .incarca-step span:not(.bf-since-icon):not(.bf-trust-icon) { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-step small,
body.bf-theme-dark.incarca-product .incarca-step .incarca-small,
body.bf-theme-dark.incarca-product .incarca-step-lead { color: var(--bf-muted) !important; }

/* All Incarca cards default - surface lighter for contrast */
body.bf-theme-dark.incarca-product .incarca-card,
body.bf-theme-dark.incarca-product .incarca-choice,
body.bf-theme-dark.incarca-product .incarca-mini-card,
body.bf-theme-dark.incarca-product .incarca-service-card {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-card *:not(img):not(svg):not(.inc-card-logo),
body.bf-theme-dark.incarca-product .incarca-choice *:not(img):not(svg):not(.inc-card-logo) {
	color: inherit;
}

/* ── VIBRANT HOVER & ACTIVE - accent glow more luminous ── */
body.bf-theme-dark.incarca-product .incarca-card:hover,
body.bf-theme-dark.incarca-product .incarca-choice:hover,
body.bf-theme-dark.incarca-product .incarca-mini-card:hover,
body.bf-theme-dark.incarca-product .incarca-service-card:hover {
	border-color: var(--bf-accent) !important;
	background: rgba(242, 135, 5, .14) !important;
	box-shadow: 0 0 0 1px var(--bf-accent), 0 12px 32px rgba(242, 135, 5, .25), 0 4px 10px rgba(0, 0, 0, .25) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-pill:hover {
	border-color: var(--bf-accent) !important;
	background: rgba(242, 135, 5, .12) !important;
	box-shadow: 0 0 0 1px var(--bf-accent), 0 6px 16px rgba(242, 135, 5, .25) !important;
}
body.bf-theme-dark.incarca-product .incarca-pill.active,
body.bf-theme-dark.incarca-product .incarca-card.active,
body.bf-theme-dark.incarca-product .incarca-choice.active,
body.bf-theme-dark.incarca-product .incarca-mini-card.active,
body.bf-theme-dark.incarca-product .incarca-service-card.active {
	background: var(--bf-accent) !important;
	border-color: var(--bf-accent) !important;
	color: #fff !important;
	box-shadow: 0 0 0 2px rgba(242, 135, 5, .4), 0 8px 24px rgba(242, 135, 5, .45) !important;
}
body.bf-theme-dark.incarca-product .incarca-pill.active *,
body.bf-theme-dark.incarca-product .incarca-card.active *,
body.bf-theme-dark.incarca-product .incarca-choice.active *,
body.bf-theme-dark.incarca-product .incarca-card.active strong,
body.bf-theme-dark.incarca-product .incarca-choice.active strong { color: #fff !important; }

/* Service cards on home - vibrant hover */
body.bf-theme-dark .bf-service-card:hover {
	background: rgba(242, 135, 5, .14) !important;
	border-color: var(--bf-accent) !important;
	box-shadow: 0 0 0 1px var(--bf-accent), 0 16px 36px rgba(242, 135, 5, .28) !important;
}
body.bf-theme-dark .bf-brand:hover {
	border-color: var(--bf-accent) !important;
	background: rgba(242, 135, 5, .12) !important;
	color: var(--bf-accent) !important;
	box-shadow: 0 0 0 1px var(--bf-accent), 0 4px 12px rgba(242, 135, 5, .2) !important;
}

/* ── TRUST ICONS in Rezumat - lighter background, more visible icons ── */
body.bf-theme-dark.incarca-product .inc-trust-icons {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
}
body.bf-theme-dark.incarca-product .inc-trust-icon {
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)) brightness(1.15) saturate(1.05);
	opacity: 1;
}

/* ── Cart-popup drawer SVG / icon container ── */
body.bf-theme-dark .commercekit-cart-popup .empty-cart svg,
body.bf-theme-dark .cart-empty svg,
body.bf-theme-dark .commercekit-cart-popup-empty svg {
	color: var(--bf-muted) !important;
	stroke: var(--bf-muted) !important;
	fill: none !important;
}

/* Inputs/selects across whole site (not just incarca) catch-all */
body.bf-theme-dark input[type="text"],
body.bf-theme-dark input[type="email"],
body.bf-theme-dark input[type="tel"],
body.bf-theme-dark input[type="number"],
body.bf-theme-dark input[type="search"],
body.bf-theme-dark input[type="password"],
body.bf-theme-dark select,
body.bf-theme-dark textarea {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark input::placeholder,
body.bf-theme-dark textarea::placeholder { color: var(--bf-muted) !important; opacity: .8; }

/* Catch-all: any element not explicitly styled inherits text color from body
   (avoids stranded black text on dark) */
body.bf-theme-dark .site-content,
body.bf-theme-dark .site-content * {
	border-color: inherit;
}
body.bf-theme-dark .site-content *:not(a):not(.bf-btn):not(button):not(input):not(textarea):not(select):not([style*="color"]) {
	/* lightweight inherit; do not override explicit colors */
}

/* Force common text targets to use our text token if they had black/dark in light */
body.bf-theme-dark .entry-content,
body.bf-theme-dark .entry-content *,
body.bf-theme-dark .product-description,
body.bf-theme-dark .product-description * { color: var(--bf-text) !important; }
body.bf-theme-dark .entry-content a,
body.bf-theme-dark .product-description a { color: var(--bf-accent) !important; }
body.bf-theme-dark .entry-content strong,
body.bf-theme-dark .entry-content b,
body.bf-theme-dark .product-description strong { color: var(--bf-text-strong) !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - html.bf-theme-dark (no FOUC) + remaining fixes
 * Mirrored selectors so dark applies even if body class hasn't yet been added
 * ═════════════════════════════════════════════════════════════════════════ */

/* Root-level fallback: html.bf-theme-dark covers all */
html.bf-theme-dark {
	color-scheme: dark;
}
html.bf-theme-dark body {
	--bf-surface:            #353a45;
	--bf-surface-2:          #3f4450;
	--bf-bg-soft:            #2b2f38;
	--bf-bg-tint:            #38312a;
	--bf-text:               #dde2e8;
	--bf-text-strong:        #f5f7f9;
	--bf-muted:              #a4abb4;
	--bf-line:               #4a505a;
	--bf-line-soft:          #3d4250;
	--bf-dark:               #21252c;
	--bf-shadow-sm:          0 4px 12px rgba(0, 0, 0, .22), 0 2px 4px rgba(0, 0, 0, .16);
	--bf-shadow-md:          0 10px 28px rgba(0, 0, 0, .28), 0 4px 10px rgba(0, 0, 0, .18);
	--bf-shadow-lg:          0 22px 48px rgba(0, 0, 0, .36), 0 8px 18px rgba(0, 0, 0, .24), 0 0 0 1px rgba(255, 255, 255, .05);
	background: var(--bf-bg-soft);
	color: var(--bf-text);
}

/* ── 1. Shop products hover - accent glow only, no ring/border ── */
body.bf-theme-dark ul.products li.product:hover,
body.bf-theme-dark .wc-block-grid__product:hover,
body.bf-theme-dark ul.products li.product:hover .product-card,
body.bf-theme-dark .product-card:hover {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	box-shadow: 0 16px 36px rgba(242, 135, 5, .3), 0 4px 12px rgba(0, 0, 0, .28) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark ul.products li.product:hover *,
body.bf-theme-dark ul.products li.product:hover .woocommerce-loop-product__title,
body.bf-theme-dark ul.products li.product:hover h2,
body.bf-theme-dark ul.products li.product:hover h3 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark ul.products li.product:hover .price,
body.bf-theme-dark ul.products li.product:hover .woocommerce-Price-amount { color: var(--bf-accent) !important; }

/* Image area on hover - keep visible */
body.bf-theme-dark ul.products li.product .woocommerce-LoopProduct-link img,
body.bf-theme-dark ul.products li.product img {
	background: var(--bf-bg-soft) !important;
}

/* ── 2. Pagination numbers ── */
body.bf-theme-dark .woocommerce-pagination,
body.bf-theme-dark .woocommerce-pagination ul.page-numbers,
body.bf-theme-dark nav.pagination,
body.bf-theme-dark .pagination {
	background: transparent !important;
}
body.bf-theme-dark .page-numbers,
body.bf-theme-dark .woocommerce-pagination .page-numbers,
body.bf-theme-dark .woocommerce-pagination li .page-numbers {
	background: var(--bf-surface) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .page-numbers.current,
body.bf-theme-dark .woocommerce-pagination .page-numbers.current,
body.bf-theme-dark .woocommerce-pagination li .page-numbers.current {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border-color: var(--bf-accent) !important;
}
body.bf-theme-dark a.page-numbers:hover,
body.bf-theme-dark .woocommerce-pagination a.page-numbers:hover {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-accent) !important;
	color: var(--bf-accent) !important;
}

/* ── 3. Quantity +/- buttons (broader catch) ── */
body.bf-theme-dark .qty-button,
body.bf-theme-dark .quantity .qty-button,
body.bf-theme-dark .commercekit-quantity .plus,
body.bf-theme-dark .commercekit-quantity .minus,
body.bf-theme-dark .cgkit-quantity button,
body.bf-theme-dark .cgkit-quantity .plus,
body.bf-theme-dark .cgkit-quantity .minus,
body.bf-theme-dark .quantity button,
body.bf-theme-dark .woocommerce .quantity button {
	background: var(--bf-surface-2) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .qty-button:hover,
body.bf-theme-dark .quantity .qty-button:hover,
body.bf-theme-dark .commercekit-quantity .plus:hover,
body.bf-theme-dark .commercekit-quantity .minus:hover,
body.bf-theme-dark .cgkit-quantity button:hover {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border-color: var(--bf-accent) !important;
}

/* ── 4. Cart/checkout product zone - more padding around tables ── */
body.bf-theme-dark .woocommerce table.cart,
body.bf-theme-dark .woocommerce table.shop_table {
	margin: 1.5rem 0 !important;
	padding: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 12px !important;
	overflow: hidden;
}
body.bf-theme-dark .woocommerce table.cart th,
body.bf-theme-dark .woocommerce table.shop_table th {
	padding: 1rem 1.25rem !important;
}
body.bf-theme-dark .woocommerce table.cart td,
body.bf-theme-dark .woocommerce table.shop_table td {
	padding: 1.25rem 1.25rem !important;
}
body.bf-theme-dark .product-details-wrapper,
body.bf-theme-dark .woocommerce-cart .site-content,
body.bf-theme-dark .woocommerce-checkout .site-content {
	padding-left: 2rem !important;
	padding-right: 2rem !important;
}
@media (max-width: 768px) {
	body.bf-theme-dark .product-details-wrapper,
	body.bf-theme-dark .woocommerce-cart .site-content,
	body.bf-theme-dark .woocommerce-checkout .site-content {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
}

/* Light mode also benefits from cart padding */
.woocommerce-cart .woocommerce table.cart,
.woocommerce-checkout .woocommerce table.shop_table {
	margin: 1.5rem 0;
}
.woocommerce-cart .woocommerce table.cart th,
.woocommerce-cart .woocommerce table.cart td,
.woocommerce-checkout .woocommerce table.shop_table th,
.woocommerce-checkout .woocommerce table.shop_table td {
	padding: 1rem 1.25rem;
}

/* ── 5. Trash/remove icon in cart + sidebar - was black on dark ── */
body.bf-theme-dark .product-remove a,
body.bf-theme-dark a.remove,
body.bf-theme-dark .remove,
body.bf-theme-dark .woocommerce a.remove,
body.bf-theme-dark .widget_shopping_cart a.remove,
body.bf-theme-dark .commercekit-cart-popup a.remove {
	color: var(--bf-muted) !important;
	background: transparent !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	line-height: 22px;
	text-align: center;
	display: inline-block;
	transition: all .15s ease;
}
body.bf-theme-dark .product-remove a:hover,
body.bf-theme-dark a.remove:hover,
body.bf-theme-dark .woocommerce a.remove:hover {
	color: #ef4444 !important;
	background: rgba(239, 68, 68, .12) !important;
	border-color: rgba(239, 68, 68, .5) !important;
}

/* SVG version of remove icon (some themes use SVG) */
body.bf-theme-dark .product-remove svg,
body.bf-theme-dark a.remove svg { stroke: var(--bf-muted) !important; }
body.bf-theme-dark .product-remove a:hover svg,
body.bf-theme-dark a.remove:hover svg { stroke: #ef4444 !important; }

/* Generic "trash" / "delete" icon catch */
body.bf-theme-dark [class*="trash"],
body.bf-theme-dark [class*="delete-icon"] {
	color: var(--bf-muted) !important;
	stroke: var(--bf-muted) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - wave 4: breadcrumbs, mobile menu, tabs area, paddings,
 * select2 dropdowns, payment icons, Incarca utility/qty/buttons
 * ═════════════════════════════════════════════════════════════════════════ */

/* 1. BREADCRUMBS - global */
body.bf-theme-dark .woocommerce-breadcrumb,
body.bf-theme-dark .shoptimizer-breadcrumb,
body.bf-theme-dark .archive-header .woocommerce-breadcrumb,
body.bf-theme-dark nav.breadcrumb,
body.bf-theme-dark .breadcrumbs-container,
body.bf-theme-dark .yoast-breadcrumbs,
body.bf-theme-dark .rank-math-breadcrumb {
	background: transparent !important;
	color: var(--bf-muted) !important;
}
body.bf-theme-dark .woocommerce-breadcrumb a,
body.bf-theme-dark .shoptimizer-breadcrumb a,
body.bf-theme-dark .breadcrumbs a,
body.bf-theme-dark nav.breadcrumb a { color: var(--bf-text) !important; }
body.bf-theme-dark .woocommerce-breadcrumb a:hover,
body.bf-theme-dark .shoptimizer-breadcrumb a:hover,
body.bf-theme-dark nav.breadcrumb a:hover { color: var(--bf-accent) !important; }
body.bf-theme-dark .archive-header,
body.bf-theme-dark header.woocommerce-products-header,
body.bf-theme-dark .shoptimizer-category-banner {
	background: var(--bf-surface) !important;
	color: var(--bf-text) !important;
	border-color: var(--bf-line) !important;
}

/* 2. MOBILE HAMBURGER MENU */
body.bf-theme-dark .menu-toggle,
body.bf-theme-dark button.menu-toggle,
body.bf-theme-dark .site-branding button.menu-toggle {
	background: transparent !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .menu-toggle .bar,
body.bf-theme-dark button.menu-toggle .bar { background-color: var(--bf-text-strong) !important; }
body.bf-theme-dark .menu-toggle .bar-text,
body.bf-theme-dark button.menu-toggle .bar-text { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .mobile-search-toggle svg,
body.bf-theme-dark .shoptimizer-myaccount svg,
body.bf-theme-dark .shoptimizer-cart-icon svg { stroke: var(--bf-text-strong) !important; }
/* Mobile drawer (when open) */
body.bf-theme-dark.mobile-toggled .main-navigation,
body.bf-theme-dark .mobile-overlay,
body.bf-theme-dark.mobile-toggled .col-full-nav,
body.bf-theme-dark .mobile-extra {
	background: var(--bf-surface) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark.mobile-toggled .main-navigation ul li a,
body.bf-theme-dark .mobile-extra h4,
body.bf-theme-dark .mobile-extra a:not(.button) { color: var(--bf-text) !important; }

/* 3. TABS AREA (Descriere / Recenzii) - full panel, surrounding zone */
body.bf-theme-dark .product-details-wrapper,
body.bf-theme-dark .single-product .woocommerce-tabs,
body.bf-theme-dark .woocommerce-Tabs-panel,
body.bf-theme-dark .commercekit-atc-sticky-tabs,
body.bf-theme-dark .commercekit-atc-content,
body.bf-theme-dark .commercekit-tabs {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark #tab-description,
body.bf-theme-dark #tab-reviews {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}

/* 4. Product images / Adauga in cos - more breathing room */
.incarca-product .incarca-card { padding: 38px 32px !important; }
.incarca-product .incarca-add-to-cart-wrap { margin-top: 28px !important; padding-top: 24px !important; }
@media (max-width: 768px) {
	.incarca-product .incarca-card { padding: 24px 18px !important; }
}

/* 5. Sidebar cart top - broader selectors */
body.bf-theme-dark .commercekit-cart-popup,
body.bf-theme-dark .commercekit-cart-popup *,
body.bf-theme-dark .commercekit-cart-popup-wrap,
body.bf-theme-dark .commercekit-cart-overlay,
body.bf-theme-dark .commercekit-cart-popup-inner,
body.bf-theme-dark .commercekit-cart-popup-content,
body.bf-theme-dark .commercekit-cart-popup-content > * {
	background: transparent;
	color: var(--bf-text);
}
body.bf-theme-dark .commercekit-cart-popup,
body.bf-theme-dark .commercekit-cart-popup-wrap {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .commercekit-cart-popup-header,
body.bf-theme-dark .commercekit-cart-popup-content > h2,
body.bf-theme-dark .commercekit-cart-popup-content > .header,
body.bf-theme-dark .commercekit-cart-popup-content > div:first-child:not(.cart_list):not(ul) {
	background: var(--bf-surface) !important;
	border-bottom: 1px solid var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
	padding: 1rem 1.25rem !important;
}
body.bf-theme-dark .commercekit-cart-popup .close,
body.bf-theme-dark .commercekit-cart-popup-close,
body.bf-theme-dark .commercekit-cart-popup .cart-popup-close { color: var(--bf-muted) !important; }
body.bf-theme-dark .commercekit-cart-popup .close:hover { color: var(--bf-text-strong) !important; }

/* 6. TRASH icons - broader catch with all common patterns */
body.bf-theme-dark .product-remove,
body.bf-theme-dark .product-remove *,
body.bf-theme-dark a.remove,
body.bf-theme-dark .remove_from_cart_button,
body.bf-theme-dark .commercekit-cart-popup .remove_from_cart_button,
body.bf-theme-dark .widget_shopping_cart .remove_from_cart_button,
body.bf-theme-dark .mini_cart_item .remove,
body.bf-theme-dark .cart_list .remove {
	color: var(--bf-muted) !important;
	background: transparent !important;
	font-size: 1rem !important;
	text-decoration: none !important;
}
body.bf-theme-dark a.remove::before,
body.bf-theme-dark .remove::before,
body.bf-theme-dark .remove_from_cart_button::before {
	color: var(--bf-muted) !important;
	background: transparent !important;
}
body.bf-theme-dark a.remove:hover,
body.bf-theme-dark .remove_from_cart_button:hover,
body.bf-theme-dark .product-remove a:hover {
	color: #ef4444 !important;
	background: rgba(239, 68, 68, .14) !important;
}
body.bf-theme-dark .product-remove svg path,
body.bf-theme-dark a.remove svg path,
body.bf-theme-dark .remove_from_cart_button svg path { stroke: var(--bf-muted) !important; fill: var(--bf-muted) !important; }
body.bf-theme-dark .product-remove a:hover svg path { stroke: #ef4444 !important; fill: #ef4444 !important; }

/* 7. Subtotal/Total area - rounded + padding */
body.bf-theme-dark .cart_totals,
body.bf-theme-dark .woocommerce-checkout-review-order,
body.bf-theme-dark #order_review,
body.bf-theme-dark .commercekit-cart-popup-totals,
body.bf-theme-dark .commercekit-cart-popup-footer {
	background: var(--bf-surface) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 14px !important;
	padding: 1.5rem 1.5rem !important;
	margin: 1.5rem 0 !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .cart_totals h2,
body.bf-theme-dark .cart_totals h3,
body.bf-theme-dark .woocommerce-checkout-review-order h3,
body.bf-theme-dark #order_review h3 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .cart_totals table.shop_table,
body.bf-theme-dark .woocommerce-checkout-review-order table.shop_table {
	background: transparent !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.bf-theme-dark .cart_totals table.shop_table tr,
body.bf-theme-dark .cart_totals table.shop_table th,
body.bf-theme-dark .cart_totals table.shop_table td {
	border-color: var(--bf-line-soft) !important;
}

/* Same for light mode - better breathing room */
.cart_totals, .woocommerce-checkout-review-order, #order_review {
	border-radius: 14px;
	padding: 1.5rem;
}

/* 8. SELECT2 DROPDOWNS dark mode */
body.bf-theme-dark .select2-container--default .select2-selection,
body.bf-theme-dark .select2-container--default .select2-selection--single,
body.bf-theme-dark .select2-container--default .select2-selection--multiple,
body.bf-theme-dark .select2-dropdown,
body.bf-theme-dark .select2-search--dropdown,
body.bf-theme-dark .select2-search__field,
body.bf-theme-dark .select2-results__options {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .select2-container--default .select2-selection__rendered,
body.bf-theme-dark .select2-container--default .select2-selection__placeholder { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .select2-container--default .select2-selection__arrow b { border-color: var(--bf-text-strong) transparent transparent transparent !important; }
body.bf-theme-dark .select2-results__option { background: var(--bf-bg-soft) !important; color: var(--bf-text) !important; }
body.bf-theme-dark .select2-results__option--highlighted,
body.bf-theme-dark .select2-results__option[data-selected="true"],
body.bf-theme-dark .select2-results__option[aria-selected="true"] {
	background: var(--bf-accent) !important;
	color: #fff !important;
}
body.bf-theme-dark .select2-search__field { background: var(--bf-surface) !important; color: var(--bf-text-strong) !important; }

/* 9. Payment trust icons - STRONGER contrast (light card on dark) */
body.bf-theme-dark.incarca-product .inc-trust-icons {
	background: rgba(255, 255, 255, .92) !important;
	border-color: rgba(255, 255, 255, .15) !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .15);
	padding: 12px 10px !important;
}
body.bf-theme-dark.incarca-product .inc-trust-icon {
	filter: none !important;
	opacity: 1 !important;
}

/* 10. INCARCA flow zones - step bodies (Tip produs / Alege valoare / etc.) */
body.bf-theme-dark.incarca-product [id$="Body"],
body.bf-theme-dark.incarca-product .incarca-step-body,
body.bf-theme-dark.incarca-product .incarca-step .incarca-step-body,
body.bf-theme-dark.incarca-product .incarca-step > div:not(.incarca-step-title):not(.incarca-step-lead),
body.bf-theme-dark.incarca-product .incarca-flow > section,
body.bf-theme-dark.incarca-product .incarca-input,
body.bf-theme-dark.incarca-product .incarca-dropdown-wrap,
body.bf-theme-dark.incarca-product .incarca-custom-amount-wrap {
	background: transparent !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark.incarca-product .incarca-status,
body.bf-theme-dark.incarca-product .incarca-status.info {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-muted) !important;
	border-color: var(--bf-line) !important;
}

/* Add-to-cart wrap line on hover (was visible separator) */
body.bf-theme-dark.incarca-product .incarca-add-to-cart-wrap {
	border-top: 1px solid var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-submit-btn:hover {
	box-shadow: 0 6px 20px rgba(59, 181, 74, .35) !important;
}

/* Quantity selector inside Incarca dark - comprehensive */
body.bf-theme-dark.incarca-product .incarca-qty-control,
body.bf-theme-dark.incarca-product .incarca-qty-wrap {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-input {
	background: transparent !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-btn {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
	border: none !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-btn:hover {
	background: var(--bf-accent) !important;
	color: #fff !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-wrap label,
body.bf-theme-dark.incarca-product .incarca-qty-wrap span { color: var(--bf-text) !important; }

/* 11. Plata facturi - utility flow (codbar / supplier / phone / scan / upload) */
body.bf-theme-dark.incarca-product .incarca-method-row,
body.bf-theme-dark.incarca-product .incarca-utility-input,
body.bf-theme-dark.incarca-product .incarca-util-cat,
body.bf-theme-dark.incarca-product .incarca-util-supp-list,
body.bf-theme-dark.incarca-product .incarca-util-supp-item,
body.bf-theme-dark.incarca-product .incarca-cnp-wrap,
body.bf-theme-dark.incarca-product .incarca-msisdn-wrap,
body.bf-theme-dark.incarca-product .incarca-method-btn,
body.bf-theme-dark.incarca-product .incarca-scan-btn,
body.bf-theme-dark.incarca-product .incarca-upload-btn,
body.bf-theme-dark.incarca-product .incarca-barcode-input,
body.bf-theme-dark.incarca-product [class*="incarca-util-"],
body.bf-theme-dark.incarca-product [class*="incarca-method"],
body.bf-theme-dark.incarca-product [class*="incarca-bill"] {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-supp-item:hover,
body.bf-theme-dark.incarca-product .incarca-method-btn:hover,
body.bf-theme-dark.incarca-product .incarca-scan-btn:hover,
body.bf-theme-dark.incarca-product .incarca-upload-btn:hover {
	border-color: var(--bf-accent) !important;
	background: rgba(242, 135, 5, .14) !important;
	color: var(--bf-text-strong) !important;
	box-shadow: 0 0 0 1px var(--bf-accent), 0 8px 22px rgba(242, 135, 5, .22) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-supp-item.active,
body.bf-theme-dark.incarca-product .incarca-method-btn.active {
	background: var(--bf-accent) !important;
	border-color: var(--bf-accent) !important;
	color: #fff !important;
}
body.bf-theme-dark.incarca-product .incarca-util-supp-item small,
body.bf-theme-dark.incarca-product .incarca-method-row small,
body.bf-theme-dark.incarca-product .incarca-util-cat-name,
body.bf-theme-dark.incarca-product .incarca-util-cat-items label { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-cat-name strong { color: var(--bf-text-strong) !important; }

/* "Selectează furnizor / Introdu manual / Scanează" - broader element catch */
body.bf-theme-dark.incarca-product .incarca-step .incarca-card,
body.bf-theme-dark.incarca-product .incarca-step button,
body.bf-theme-dark.incarca-product .incarca-step input[type="button"],
body.bf-theme-dark.incarca-product .incarca-step .incarca-method,
body.bf-theme-dark.incarca-product .incarca-step .incarca-input-row,
body.bf-theme-dark.incarca-product .incarca-step .incarca-supplier-row {
	background: var(--bf-surface-2) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}

/* Catch any remaining "Tip produs" / "Alege" zone with white inheritance */
body.bf-theme-dark.incarca-product .incarca-step,
body.bf-theme-dark.incarca-product .incarca-step.show,
body.bf-theme-dark.incarca-product .incarca-step .incarca-step-body {
	background: var(--bf-surface) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - Wave 5 fixes
 * Sub-menu, mobile menu, cart drawer, trash icons, qty buttons,
 * subtotal/total spacing, mini-cart amounts, action buttons
 * ═════════════════════════════════════════════════════════════════════════ */

/* ── 1. SUB-MENU dropdown (full-width mega + standard) ───────────────────── */
body.bf-theme-dark .col-full-nav,
body.bf-theme-dark .main-navigation .col-full-nav { background: var(--bf-surface) !important; border-bottom-color: var(--bf-line) !important; }
body.bf-theme-dark .main-navigation ul.menu ul.sub-menu,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children .sub-menu,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children .sub-menu-wrapper,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper > .container,
body.bf-theme-dark .main-navigation ul.menu li.full-width.menu-item-has-children ul li,
body.bf-theme-dark .main-navigation ul.menu li.full-width.menu-item-has-children ul {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .main-navigation ul.menu ul li,
body.bf-theme-dark .main-navigation ul.menu ul li > a,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper li > a,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper li.heading > a,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper li.menu-item-has-children > a,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper li h6,
body.bf-theme-dark .main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper li h6 a {
	color: var(--bf-text) !important;
	background: transparent !important;
}
body.bf-theme-dark .main-navigation ul.menu ul li > a:hover,
body.bf-theme-dark .main-navigation ul.menu ul li.menu-item:not(.menu-item-image):not(.heading) > a:hover {
	color: var(--bf-accent) !important;
	background: var(--bf-surface-2) !important;
}

/* ── 2. MOBILE MENU - full coverage (drawer, items, links, search) ───────── */
body.bf-theme-dark.mobile-toggled,
body.bf-theme-dark.mobile-toggled .col-full-nav,
body.bf-theme-dark.mobile-toggled .main-navigation,
body.bf-theme-dark.mobile-toggled .main-navigation ul.menu,
body.bf-theme-dark.mobile-toggled .main-navigation ul.menu li,
body.bf-theme-dark.mobile-toggled .main-navigation ul.menu .sub-menu,
body.bf-theme-dark.mobile-toggled .main-navigation ul.menu .sub-menu-wrapper,
body.bf-theme-dark.mobile-toggled .mobile-extra,
body.bf-theme-dark.mobile-toggled .menu-overlay {
	background: var(--bf-surface) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark.mobile-toggled .main-navigation ul.menu li { border-color: var(--bf-line-soft) !important; }
body.bf-theme-dark.mobile-toggled .main-navigation ul li a,
body.bf-theme-dark.mobile-toggled .main-navigation ul.menu > li.menu-item-has-children > span.caret::after,
body.bf-theme-dark.mobile-toggled .menu-primary-menu-container > ul > li.nolink > span,
body.bf-theme-dark.mobile-toggled .mobile-extra h4,
body.bf-theme-dark.mobile-toggled .mobile-extra a:not(.button) { color: var(--bf-text) !important; }
body.bf-theme-dark.mobile-toggled .main-navigation ul.menu li.menu-item-has-children span.caret::after { background-color: var(--bf-text) !important; }
body.bf-theme-dark.mobile-toggled .main-navigation ul.menu > li.menu-item-has-children.dropdown-open > .sub-menu-wrapper { border-bottom-color: var(--bf-line) !important; }
body.bf-theme-dark .site-search,
body.bf-theme-dark .site-branding button.menu-toggle,
body.bf-theme-dark .site-branding button.menu-toggle:hover { background-color: var(--bf-surface) !important; }

/* ── 3. SHOPTIMIZER cart drawer ("Your Cart" header) ─────────────────────── */
body.bf-theme-dark .shoptimizer-mini-cart-wrap,
body.bf-theme-dark #shoptimizerCartDrawer {
	background: var(--bf-surface) !important;
	color: var(--bf-text) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .cart-drawer-heading {
	background: var(--bf-surface) !important;
	color: var(--bf-text-strong) !important;
	border-bottom: 1px solid var(--bf-line) !important;
}
body.bf-theme-dark .close-drawer,
body.bf-theme-dark .close-drawer svg { color: var(--bf-muted) !important; stroke: var(--bf-muted) !important; }
body.bf-theme-dark .close-drawer:hover,
body.bf-theme-dark .close-drawer:hover svg { color: var(--bf-accent) !important; stroke: var(--bf-accent) !important; }

/* ── 4. TRASH icons - make them clearly visible (white-ish, not muted) ──── */
body.bf-theme-dark a.remove,
body.bf-theme-dark .product-remove a,
body.bf-theme-dark .remove_from_cart_button,
body.bf-theme-dark .mini_cart_item .remove,
body.bf-theme-dark .cart_list .remove,
body.bf-theme-dark .commercekit-cart-popup .remove_from_cart_button,
body.bf-theme-dark .widget_shopping_cart .remove_from_cart_button {
	color: #fff !important;
	background: rgba(255, 255, 255, .08) !important;
	border-radius: 50% !important;
	font-weight: 600 !important;
}
body.bf-theme-dark a.remove::before,
body.bf-theme-dark .remove::before,
body.bf-theme-dark .remove_from_cart_button::before { color: #fff !important; }
body.bf-theme-dark .product-remove svg path,
body.bf-theme-dark a.remove svg path,
body.bf-theme-dark .remove_from_cart_button svg path { stroke: #fff !important; fill: #fff !important; }
body.bf-theme-dark a.remove:hover,
body.bf-theme-dark .product-remove a:hover,
body.bf-theme-dark .remove_from_cart_button:hover {
	color: #fff !important;
	background: #ef4444 !important;
}

/* ── 5. QUANTITY +/- buttons - white text on dark ────────────────────────── */
body.bf-theme-dark .quantity .plus,
body.bf-theme-dark .quantity .minus,
body.bf-theme-dark .commercekit-quantity .plus,
body.bf-theme-dark .commercekit-quantity .minus,
body.bf-theme-dark .qty-up,
body.bf-theme-dark .qty-down,
body.bf-theme-dark button.plus,
body.bf-theme-dark button.minus,
body.bf-theme-dark .cgkit-qty-up,
body.bf-theme-dark .cgkit-qty-down,
body.bf-theme-dark .cgkit-cart-qty-up,
body.bf-theme-dark .cgkit-cart-qty-down,
body.bf-theme-dark .quantity input.qty,
body.bf-theme-dark .commercekit-quantity input.qty {
	color: #fff !important;
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .quantity .plus svg,
body.bf-theme-dark .quantity .minus svg,
body.bf-theme-dark .commercekit-quantity .plus svg,
body.bf-theme-dark .commercekit-quantity .minus svg,
body.bf-theme-dark .qty-up svg,
body.bf-theme-dark .qty-down svg { stroke: #fff !important; fill: #fff !important; color: #fff !important; }
body.bf-theme-dark .quantity .plus:hover,
body.bf-theme-dark .quantity .minus:hover,
body.bf-theme-dark .qty-up:hover,
body.bf-theme-dark .qty-down:hover,
body.bf-theme-dark .commercekit-quantity .plus:hover,
body.bf-theme-dark .commercekit-quantity .minus:hover {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border-color: var(--bf-accent) !important;
}

/* ── 6. SUBTOTAL/TOTAL spacing - separate from payment gateway ──────────── */
.cart_totals,
.woocommerce-checkout-review-order,
#order_review { margin-bottom: 2.5rem !important; }
body.bf-theme-dark .cart_totals { margin-bottom: 2.5rem !important; }
body.bf-theme-dark .woocommerce-checkout-review-order,
body.bf-theme-dark #order_review { margin-bottom: 1.75rem !important; }
body.bf-theme-dark .woocommerce-checkout-payment {
	margin-top: 1.75rem !important;
	border-radius: 14px !important;
	padding: 1.5rem !important;
}

/* ── 7. MINI-CART line item text/amount - readable in dark ──────────────── */
body.bf-theme-dark .mini_cart_item,
body.bf-theme-dark .woocommerce-mini-cart-item,
body.bf-theme-dark .mini_cart_item *,
body.bf-theme-dark .woocommerce-mini-cart-item * { color: var(--bf-text) !important; }
body.bf-theme-dark .mini_cart_item a,
body.bf-theme-dark .woocommerce-mini-cart-item > a:not(.remove),
body.bf-theme-dark .mini_cart_item .quantity,
body.bf-theme-dark .mini_cart_item .quantity * { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .mini_cart_item .amount,
body.bf-theme-dark .mini_cart_item .quantity .amount,
body.bf-theme-dark .woocommerce-mini-cart-item .amount,
body.bf-theme-dark .woocommerce-Price-amount,
body.bf-theme-dark .widget_shopping_cart .amount,
body.bf-theme-dark .woocommerce-mini-cart__total .amount {
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .woocommerce-Price-currencySymbol { color: inherit !important; }

/* ── 8. ACTION buttons (Vezi cosul / Finalizare comandă) ────────────────── */
.widget_shopping_cart .woocommerce-mini-cart__buttons,
.widget_shopping_cart .buttons {
	display: flex !important;
	gap: 14px !important;
	flex-wrap: wrap !important;
	margin-top: 1.25rem !important;
}
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button,
.widget_shopping_cart .buttons a.button {
	flex: 1 1 auto !important;
	text-align: center !important;
}

/* "Vezi coșul" - secondary outline */
.widget_shopping_cart a.button.wc-forward:not(.checkout) {
	background: transparent !important;
	color: var(--bf-accent) !important;
	border: 2px solid var(--bf-accent) !important;
}
.widget_shopping_cart a.button.wc-forward:not(.checkout):hover {
	background: var(--bf-accent) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(242, 135, 5, .35) !important;
}

/* "Finalizare comandă" - primary green CTA (always vibrant) */
.widget_shopping_cart a.button.checkout,
.widget_shopping_cart a.button.checkout.wc-forward {
	background: var(--bf-primary) !important;
	color: #fff !important;
	border: 2px solid var(--bf-primary) !important;
	font-weight: 600 !important;
	box-shadow: 0 6px 18px rgba(59, 181, 74, .25) !important;
}
.widget_shopping_cart a.button.checkout:hover,
.widget_shopping_cart a.button.checkout.wc-forward:hover {
	background: var(--bf-primary-dark) !important;
	border-color: var(--bf-primary-dark) !important;
	color: #fff !important;
	box-shadow: 0 10px 26px rgba(59, 181, 74, .4) !important;
	transform: translateY(-1px) !important;
}

body.bf-theme-dark .widget_shopping_cart a.button.wc-forward:not(.checkout) {
	background: transparent !important;
	color: var(--bf-accent) !important;
	border-color: var(--bf-accent) !important;
}
body.bf-theme-dark .widget_shopping_cart a.button.wc-forward:not(.checkout):hover {
	background: var(--bf-accent) !important;
	color: #fff !important;
}
body.bf-theme-dark .widget_shopping_cart a.button.checkout {
	background: var(--bf-primary) !important;
	color: #fff !important;
	border-color: var(--bf-primary) !important;
}

/* ── 9. AROUND REVIEWS - outer container + tabs wrapper ─────────────────── */
body.bf-theme-dark .single-product .product-details-wrapper,
body.bf-theme-dark .single-product .woocommerce-tabs,
body.bf-theme-dark .single-product .woocommerce-tabs > *,
body.bf-theme-dark .commercekit-tabs-wrap,
body.bf-theme-dark .commercekit-atc-tab-content,
body.bf-theme-dark #cgkit-tab-commercekit-tabs-content,
body.bf-theme-dark .single-product .site-content .col-full,
body.bf-theme-dark .single-product .col-full {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .commercekit-tabs ul.tabs li,
body.bf-theme-dark .woocommerce-tabs ul.tabs li {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .commercekit-tabs ul.tabs li a,
body.bf-theme-dark .woocommerce-tabs ul.tabs li a { color: var(--bf-text) !important; }
body.bf-theme-dark .commercekit-tabs ul.tabs li.active,
body.bf-theme-dark .woocommerce-tabs ul.tabs li.active {
	background: var(--bf-accent) !important;
	border-color: var(--bf-accent) !important;
}
body.bf-theme-dark .commercekit-tabs ul.tabs li.active a,
body.bf-theme-dark .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - Wave 6: Tip produs panel, qty +/- broader, Confirmă button
 * ═════════════════════════════════════════════════════════════════════════ */

/* "Tip produs" panel - static-choice card + helper text */
body.bf-theme-dark.incarca-product .incarca-field,
body.bf-theme-dark.incarca-product .incarca-field > * { background: transparent; }
body.bf-theme-dark.incarca-product .incarca-static-choice {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
	border-radius: 14px !important;
	padding: 14px 18px !important;
}
body.bf-theme-dark.incarca-product .incarca-field label,
body.bf-theme-dark.incarca-product .incarca-helper,
body.bf-theme-dark.incarca-product .incarca-small,
body.bf-theme-dark.incarca-product #incTypeHint { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-helper,
body.bf-theme-dark.incarca-product .incarca-small,
body.bf-theme-dark.incarca-product #incTypeHint { color: var(--bf-muted) !important; }

/* incarca inputs/selects in dark mode */
body.bf-theme-dark.incarca-product .incarca-input,
body.bf-theme-dark.incarca-product .incarca-select,
body.bf-theme-dark.incarca-product input.incarca-input,
body.bf-theme-dark.incarca-product select.incarca-select {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-input:focus,
body.bf-theme-dark.incarca-product .incarca-select:focus {
	border-color: var(--bf-accent) !important;
	box-shadow: 0 0 0 4px rgba(242, 135, 5, .18) !important;
}
body.bf-theme-dark.incarca-product .incarca-input::placeholder { color: var(--bf-muted) !important; }

/* incarca-btn (Continua, Aplica) in dark mode → use brand accent */
body.bf-theme-dark.incarca-product .incarca-btn,
body.bf-theme-dark.incarca-product button.incarca-btn,
body.bf-theme-dark.incarca-product #incSingleTypeContinue,
body.bf-theme-dark.incarca-product #incMultiTypeContinue {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 6px 18px rgba(242, 135, 5, .35) !important;
}
body.bf-theme-dark.incarca-product .incarca-btn:hover,
body.bf-theme-dark.incarca-product #incSingleTypeContinue:hover,
body.bf-theme-dark.incarca-product #incMultiTypeContinue:hover {
	background: var(--bf-accent-hot, var(--bf-accent)) !important;
	box-shadow: 0 10px 26px rgba(242, 135, 5, .45) !important;
	transform: translateY(-1px) !important;
}

/* Quantity +/- - broader catch + always-on (light AND dark) styling */
.incarca-product .incarca-qty-btn,
.incarca-product button.incarca-qty-btn,
.incarca-product #incQtyMinus,
.incarca-product #incQtyPlus {
	color: var(--bf-accent) !important;
	background: transparent !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-control,
body.bf-theme-dark.incarca-product .incarca-qty-control * {
	background: var(--bf-surface-2) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-btn,
body.bf-theme-dark.incarca-product button.incarca-qty-btn,
body.bf-theme-dark.incarca-product #incQtyMinus,
body.bf-theme-dark.incarca-product #incQtyPlus {
	background: transparent !important;
	color: #fff !important;
	border: none !important;
	font-size: 20px !important;
	font-weight: 700 !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-btn:hover,
body.bf-theme-dark.incarca-product #incQtyMinus:hover,
body.bf-theme-dark.incarca-product #incQtyPlus:hover {
	background: var(--bf-accent) !important;
	color: #fff !important;
}
body.bf-theme-dark.incarca-product .incarca-qty-input,
body.bf-theme-dark.incarca-product input.incarca-qty-input {
	background: transparent !important;
	color: #fff !important;
	border-color: var(--bf-line) !important;
}

/* "Confirma ✓" button on Plata facturi (#incUtilConfirmBtn) - use brand accent
   Override the inline style="background:var(--inc-accent,#2563eb)" with !important */
.incarca-product #incUtilConfirmBtn,
.incarca-product button#incUtilConfirmBtn {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border: none !important;
	padding: 14px 36px !important;
	border-radius: 12px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: .02em !important;
	box-shadow: 0 8px 24px rgba(242, 135, 5, .35), 0 2px 6px rgba(0, 0, 0, .15) !important;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
	cursor: pointer !important;
}
.incarca-product #incUtilConfirmBtn:hover {
	background: var(--bf-accent) !important;
	box-shadow: 0 12px 32px rgba(242, 135, 5, .5), 0 4px 10px rgba(0, 0, 0, .2) !important;
	transform: translateY(-2px) !important;
	filter: brightness(1.08) !important;
}
.incarca-product #incUtilConfirmBtn:active {
	transform: translateY(0) !important;
	box-shadow: 0 4px 12px rgba(242, 135, 5, .35) !important;
}
.incarca-product #incUtilConfirmBtn[disabled],
.incarca-product #incUtilConfirmBtn:disabled {
	background: var(--bf-line) !important;
	color: var(--bf-muted) !important;
	box-shadow: none !important;
	cursor: not-allowed !important;
	transform: none !important;
}
body.bf-theme-dark.incarca-product #incUtilConfirmBtn[disabled] {
	background: var(--bf-surface-2) !important;
	color: var(--bf-muted) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - Wave 7: Breadcrumb container + Reviews form full coverage
 * ═════════════════════════════════════════════════════════════════════════ */

/* Breadcrumb wrapping containers - kill white bg from theme */
body.bf-theme-dark .shoptimizer-archive,
body.bf-theme-dark .archive-header,
body.bf-theme-dark .archive-header .col-full,
body.bf-theme-dark .single-product .archive-header,
body.bf-theme-dark .single-product .archive-header .col-full,
body.bf-theme-dark .single-product .archive-header .woocommerce,
body.bf-theme-dark .single-product .site-content .col-full {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}

/* Reviews - full form + wrapper containers */
body.bf-theme-dark #tab-reviews,
body.bf-theme-dark #review_form_wrapper,
body.bf-theme-dark #respond,
body.bf-theme-dark .comment-respond,
body.bf-theme-dark #commentform,
body.bf-theme-dark .comment-form,
body.bf-theme-dark .woocommerce-Reviews,
body.bf-theme-dark .woocommerce-noreviews,
body.bf-theme-dark .woocommerce-Tabs-panel--reviews,
body.bf-theme-dark .woocommerce-Tabs-panel.entry-content {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark #respond,
body.bf-theme-dark #review_form_wrapper,
body.bf-theme-dark .comment-respond,
body.bf-theme-dark #commentform,
body.bf-theme-dark .comment-form,
body.bf-theme-dark .comment-form-rating,
body.bf-theme-dark .comment-form-comment,
body.bf-theme-dark .comment-form-author,
body.bf-theme-dark .comment-form-email,
body.bf-theme-dark .comment-form-cookies-consent,
body.bf-theme-dark .form-submit {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin-top: 1.25rem !important;
	box-shadow: none !important;
}
body.bf-theme-dark .comment-reply-title,
body.bf-theme-dark #reply-title,
body.bf-theme-dark .comment-form label,
body.bf-theme-dark .comment-form-rating label,
body.bf-theme-dark .comment-notes,
body.bf-theme-dark #email-notes,
body.bf-theme-dark .required-field-message { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .woocommerce-noreviews { color: var(--bf-text) !important; }
body.bf-theme-dark .comment-form input[type="text"],
body.bf-theme-dark .comment-form input[type="email"],
body.bf-theme-dark .comment-form textarea,
body.bf-theme-dark .comment-form select,
body.bf-theme-dark #commentform input,
body.bf-theme-dark #commentform textarea,
body.bf-theme-dark #commentform select {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .comment-form input::placeholder,
body.bf-theme-dark .comment-form textarea::placeholder { color: var(--bf-muted) !important; }
body.bf-theme-dark p.stars a { color: var(--bf-muted) !important; }
body.bf-theme-dark p.stars:hover a,
body.bf-theme-dark p.stars.selected a.active,
body.bf-theme-dark p.stars.selected a:not(.active),
body.bf-theme-dark p.stars a:hover { color: var(--bf-accent) !important; }
body.bf-theme-dark .form-submit input[type="submit"],
body.bf-theme-dark #submit {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 6px 18px rgba(242, 135, 5, .35) !important;
}
body.bf-theme-dark .form-submit input[type="submit"]:hover,
body.bf-theme-dark #submit:hover {
	box-shadow: 0 10px 26px rgba(242, 135, 5, .5) !important;
	transform: translateY(-1px) !important;
	filter: brightness(1.08) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - Wave 8: nav full-width, Plata facturi flow,
 * cart +/- visibility, checkout totals
 * ═════════════════════════════════════════════════════════════════════════ */

/* ── 1. NAV BAR continuous full-width across viewport (desktop only) ─── */
@media (min-width: 993px) {
	.col-full-nav {
		width: 100%;
		max-width: none !important;
	}
}
body.bf-theme-dark .col-full-nav,
body.bf-theme-dark .main-navigation .col-full-nav {
	background: var(--bf-surface) !important;
	border-bottom: 1px solid var(--bf-line) !important;
	margin: 0 !important;
}
body.bf-theme-dark .shoptimizer-primary-navigation,
body.bf-theme-dark .shoptimizer-primary-navigation.col-full {
	background: transparent !important;
}

/* ── 2. Plata facturi flow: clean dark, no light "relics" ──────────────── */

/* Empty step-lead collapses (no orphan padding strip) */
body.incarca-product .incarca-step-lead:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
body.incarca-product .incarca-step h3:has(> .incarca-util-head) {
	margin-bottom: 14px !important;
}

/* Method cards (cod de bare / select furnizor / phone) */
body.bf-theme-dark.incarca-product .incarca-util-methods,
body.bf-theme-dark.incarca-product .incarca-util-section { background: transparent !important; }
body.bf-theme-dark.incarca-product .incarca-util-mcard {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	color: var(--bf-text) !important;
	border-radius: 14px !important;
}
body.bf-theme-dark.incarca-product .incarca-util-mcard h4 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-util-mcard p { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-mcard .incarca-util-arr { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-mcard:hover {
	background: rgba(242, 135, 5, .14) !important;
	border-color: var(--bf-accent) !important;
	box-shadow: 0 0 0 1px var(--bf-accent), 0 8px 24px rgba(242, 135, 5, .25) !important;
	transform: translateY(-1px) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-mcard:hover .incarca-util-arr { color: var(--bf-accent) !important; }

/* Method icon backplates - keep the colored chips, just brighten on dark */
body.bf-theme-dark.incarca-product .incarca-util-ico--scan  { background: rgba(34, 197, 94, .18) !important; color: #6ee7b7 !important; }
body.bf-theme-dark.incarca-product .incarca-util-ico--list  { background: rgba(139, 92, 246, .2) !important; color: #c4b5fd !important; }
body.bf-theme-dark.incarca-product .incarca-util-ico--phone { background: rgba(242, 135, 5, .2) !important; color: var(--bf-accent) !important; }

/* Form fields (barcode input, supplier select, phone) */
body.bf-theme-dark.incarca-product .incarca-util-fg label { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-fg input,
body.bf-theme-dark.incarca-product .incarca-util-fg select,
body.bf-theme-dark.incarca-product .incarca-util-amt-edit input {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-fg input:focus,
body.bf-theme-dark.incarca-product .incarca-util-fg select:focus,
body.bf-theme-dark.incarca-product .incarca-util-amt-edit input:focus {
	border-color: var(--bf-accent) !important;
	box-shadow: 0 0 0 4px rgba(242, 135, 5, .18) !important;
}

/* Primary util action button (use brand accent, not green) */
body.bf-theme-dark.incarca-product .incarca-util-btn {
	background: var(--bf-accent) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(242, 135, 5, .35) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-btn:hover { filter: brightness(1.08); box-shadow: 0 10px 26px rgba(242, 135, 5, .5) !important; }

/* Back button */
body.bf-theme-dark.incarca-product .incarca-util-back { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-back:hover { color: var(--bf-accent) !important; }

/* Bill card (after detection) */
body.bf-theme-dark.incarca-product .incarca-util-bill {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-bill-head {
	background: var(--bf-bg-soft) !important;
	border-bottom: 1px solid var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-bill-name { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-util-bill-type { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-bill-r .k { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-bill-r .v { color: var(--bf-text-strong) !important; }

/* Amount box */
body.bf-theme-dark.incarca-product .incarca-util-amt-box {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-amt-label { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-amt-val { color: var(--bf-accent) !important; }
body.bf-theme-dark.incarca-product .incarca-util-amt-cur { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-limits { color: var(--bf-muted) !important; }

/* Note + status messages */
body.bf-theme-dark.incarca-product .incarca-util-note {
	background: var(--bf-surface-2) !important;
	color: var(--bf-text) !important;
	border: 1px solid var(--bf-line) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-warn {
	background: rgba(239, 68, 68, .14) !important;
	color: #fca5a5 !important;
	border-left-color: #ef4444 !important;
}
body.bf-theme-dark.incarca-product .incarca-util-info {
	background: rgba(59, 130, 246, .14) !important;
	color: #93c5fd !important;
	border-left-color: #60a5fa !important;
}
body.bf-theme-dark.incarca-product .incarca-util-loading { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-tag--test {
	background: rgba(242, 135, 5, .2) !important;
	color: var(--bf-accent) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-head { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.incarca-product .incarca-util-sub { color: var(--bf-muted) !important; }
body.bf-theme-dark.incarca-product .incarca-util-section-title { color: var(--bf-text-strong) !important; }

/* Light mode polish: tone down the "relic" light-grey card bg too */
.incarca-product .incarca-util-mcard {
	background: #fafafa !important;
	border: 1px solid var(--bf-line) !important;
}

/* ── 3. CART +/- buttons - visible without hover ───────────────────────── */
body.bf-theme-dark .quantity-button.quantity-up:before,
body.bf-theme-dark .quantity-button.quantity-down:before,
body.bf-theme-dark table.cart .quantity-button.quantity-up:before,
body.bf-theme-dark table.cart .quantity-button.quantity-down:before,
body.bf-theme-dark .commercekit-cart-popup .quantity-button:before,
body.bf-theme-dark .widget_shopping_cart .quantity-button:before {
	background: #fff !important;
}
body.bf-theme-dark table.cart .quantity input,
body.bf-theme-dark .commercekit-cart-popup .quantity input,
body.bf-theme-dark .widget_shopping_cart .quantity input {
	color: #fff !important;
	background: transparent !important;
}
body.bf-theme-dark .quantity-nav,
body.bf-theme-dark table.cart .quantity .quantity-nav {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
}

/* ── 4. CHECKOUT totals - dark the table itself ────────────────────────── */
body.bf-theme-dark .woocommerce-checkout-review-order-table,
body.bf-theme-dark #order_review_table,
body.bf-theme-dark .woocommerce-checkout-review-order table,
body.bf-theme-dark .woocommerce-checkout-review-order tbody,
body.bf-theme-dark .woocommerce-checkout-review-order thead,
body.bf-theme-dark .woocommerce-checkout-review-order tfoot,
body.bf-theme-dark .cart_totals table,
body.bf-theme-dark .cart_totals table tbody {
	background: transparent !important;
	color: var(--bf-text) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .woocommerce-checkout-review-order-table tr,
body.bf-theme-dark .woocommerce-checkout-review-order-table th,
body.bf-theme-dark .woocommerce-checkout-review-order-table td,
body.bf-theme-dark .cart_totals tr,
body.bf-theme-dark .cart_totals th,
body.bf-theme-dark .cart_totals td,
body.bf-theme-dark .cart-subtotal,
body.bf-theme-dark .cart-subtotal th,
body.bf-theme-dark .cart-subtotal td,
body.bf-theme-dark tr.order-total,
body.bf-theme-dark tr.order-total th,
body.bf-theme-dark tr.order-total td {
	background: transparent !important;
	color: var(--bf-text) !important;
	border-color: var(--bf-line-soft) !important;
}
body.bf-theme-dark tr.order-total .amount,
body.bf-theme-dark tr.order-total strong,
body.bf-theme-dark .cart-subtotal .amount { color: var(--bf-text-strong) !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * DARK MODE - Wave 9 (v2): Wrap "Cod de bare" form group in extended
 *   rounded surface so input + scan/upload buttons + hint share one card
 * ═════════════════════════════════════════════════════════════════════════ */

body.bf-theme-dark.incarca-product .incarca-util-fg {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 18px 20px !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18) !important;
}
body.bf-theme-dark.incarca-product .incarca-util-fg label {
	display: block !important;
	margin-bottom: 10px !important;
	color: var(--bf-text-strong) !important;
	font-weight: 600 !important;
}
body.bf-theme-dark.incarca-product .incarca-util-fg input[type="text"],
body.bf-theme-dark.incarca-product .incarca-util-fg input[type="number"],
body.bf-theme-dark.incarca-product .incarca-util-fg input[type="tel"],
body.bf-theme-dark.incarca-product .incarca-util-fg select {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
	border-radius: 10px !important;
}
body.bf-theme-dark.incarca-product .incarca-util-scan-hint {
	margin-top: 10px !important;
	color: var(--bf-muted) !important;
	font-size: 13px !important;
}

/* Mirror the same treatment in light mode for consistency */
.incarca-product .incarca-util-fg {
	background: #fafafa;
	border: 1px solid var(--bf-line);
	border-radius: 18px;
	padding: 18px 20px;
}

/* ═════════════════════════════════════════════════════════════════════════
 * CART totals - extended rounded surface + breathing room before checkout
 * ═════════════════════════════════════════════════════════════════════════ */

.woocommerce-cart .cart_totals,
.cart_totals {
	background: #fafafa;
	border: 1px solid var(--bf-line);
	border-radius: 18px;
	padding: 22px 26px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
	margin: 1.5rem 0;
}
.woocommerce-cart .cart_totals h2,
.cart_totals h2 {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
}
.woocommerce-cart .cart_totals table.shop_table,
.cart_totals table.shop_table {
	background: transparent;
	border: none;
	margin: 0;
	width: 100%;
}
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td,
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
	background: transparent;
	padding: 12px 0;
	border-color: rgba(0, 0, 0, .06);
}
.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td,
.cart_totals tr.order-total th,
.cart_totals tr.order-total td {
	border-top: 1px solid rgba(0, 0, 0, .12);
	font-size: 17px;
	font-weight: 700;
}

/* Breathing room before "Continuă cu finalizarea comenzii" */
.woocommerce-cart .wc-proceed-to-checkout,
.wc-proceed-to-checkout { margin-top: 2.5rem !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout a.checkout-button {
	padding: 16px 28px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	border-radius: 14px !important;
	letter-spacing: .01em !important;
	box-shadow: 0 8px 22px rgba(59, 181, 74, .25) !important;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 12px 30px rgba(59, 181, 74, .4) !important;
	filter: brightness(1.05) !important;
}

/* DARK mode - same shape, dark surface */
body.bf-theme-dark .cart_totals,
body.bf-theme-dark .woocommerce-cart .cart_totals {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 22px 26px !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25) !important;
}
body.bf-theme-dark .cart_totals h2 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .cart_totals table.shop_table th,
body.bf-theme-dark .cart_totals table.shop_table td {
	background: transparent !important;
	color: var(--bf-text) !important;
	border-color: rgba(255, 255, 255, .06) !important;
}
body.bf-theme-dark .cart_totals tr.order-total th,
body.bf-theme-dark .cart_totals tr.order-total td {
	border-top: 1px solid rgba(255, 255, 255, .12) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .cart_totals .amount,
body.bf-theme-dark .cart-subtotal .amount,
body.bf-theme-dark tr.order-total .amount { color: var(--bf-text-strong) !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * CART products table - same rounded card treatment as totals
 * ═════════════════════════════════════════════════════════════════════════ */

.woocommerce-cart .woocommerce table.cart,
.woocommerce-cart .woocommerce-cart-form table.shop_table,
.woocommerce-cart .shop_table.cart {
	background: #fafafa;
	border: 1px solid var(--bf-line);
	border-radius: 18px;
	padding: 0;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
.woocommerce-cart .woocommerce table.cart thead {
	background: transparent;
}
.woocommerce-cart .woocommerce table.cart thead th {
	background: transparent;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	padding: 14px 12px;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .04em;
	font-weight: 700;
}
.woocommerce-cart .woocommerce table.cart tbody td {
	background: transparent;
	border-top: 1px solid rgba(0, 0, 0, .06);
	padding: 16px 12px;
	vertical-align: middle;
}
.woocommerce-cart .woocommerce table.cart tbody tr:first-child td {
	border-top: none;
}
.woocommerce-cart .woocommerce table.cart tfoot td,
.woocommerce-cart .woocommerce table.cart .actions {
	background: transparent;
	border-top: 1px solid rgba(0, 0, 0, .08);
	padding: 16px 12px;
}

/* Outer cart-form wrapper transparent so only the table card shows */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart form.woocommerce-cart-form {
	background: transparent;
}

/* DARK mode - same shape, dark surface */
body.bf-theme-dark .woocommerce-cart .woocommerce table.cart,
body.bf-theme-dark .woocommerce-cart .shop_table.cart,
body.bf-theme-dark .woocommerce-cart .woocommerce-cart-form table.shop_table {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 0 !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25) !important;
	overflow: hidden !important;
}
body.bf-theme-dark .woocommerce-cart .woocommerce table.cart thead th {
	background: transparent !important;
	border-bottom-color: rgba(255, 255, 255, .08) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .woocommerce-cart .woocommerce table.cart tbody td {
	background: transparent !important;
	border-top-color: rgba(255, 255, 255, .06) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .woocommerce-cart .woocommerce table.cart tbody tr:first-child td { border-top: none !important; }
body.bf-theme-dark .woocommerce-cart .woocommerce table.cart tfoot td,
body.bf-theme-dark .woocommerce-cart .woocommerce table.cart .actions {
	background: transparent !important;
	border-top-color: rgba(255, 255, 255, .08) !important;
}
body.bf-theme-dark .woocommerce-cart .woocommerce-cart-form,
body.bf-theme-dark .woocommerce-cart form.woocommerce-cart-form {
	background: transparent !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Cart page - strip all wrapper backgrounds so only the inner cards show
 * ═════════════════════════════════════════════════════════════════════════ */

.woocommerce-cart .entry-content,
.woocommerce-cart .entry-header,
.woocommerce-cart article.page,
.woocommerce-cart .content-area,
.woocommerce-cart .site-main,
.woocommerce-cart .woocommerce,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart .col-full {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}
.woocommerce-cart .entry-content { padding: 0 !important; }

/* Dark mode - same wrappers transparent */
body.bf-theme-dark.woocommerce-cart .entry-content,
body.bf-theme-dark.woocommerce-cart .entry-header,
body.bf-theme-dark.woocommerce-cart article.page,
body.bf-theme-dark.woocommerce-cart .content-area,
body.bf-theme-dark.woocommerce-cart .woocommerce,
body.bf-theme-dark.woocommerce-cart .woocommerce-notices-wrapper {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Cart page - eliminate ALL strips above and below the products card
 * Force every wrapper transparent so only the rounded table + totals show
 * ═════════════════════════════════════════════════════════════════════════ */

.woocommerce-cart #content,
.woocommerce-cart .site-content,
.woocommerce-cart .site-content > *,
.woocommerce-cart main.site-main,
.woocommerce-cart .col-full,
.woocommerce-cart .content-area,
.woocommerce-cart article,
.woocommerce-cart article.page,
.woocommerce-cart .entry-header,
.woocommerce-cart .entry-title,
.woocommerce-cart .entry-content,
.woocommerce-cart .woocommerce,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .woocommerce-cart-form__contents,
.woocommerce-cart .cart-wrap,
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cross-sells {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

/* Same nuking in dark mode */
body.bf-theme-dark.woocommerce-cart #content,
body.bf-theme-dark.woocommerce-cart .site-content,
body.bf-theme-dark.woocommerce-cart .site-content > *,
body.bf-theme-dark.woocommerce-cart main.site-main,
body.bf-theme-dark.woocommerce-cart .col-full,
body.bf-theme-dark.woocommerce-cart .content-area,
body.bf-theme-dark.woocommerce-cart article,
body.bf-theme-dark.woocommerce-cart article.page,
body.bf-theme-dark.woocommerce-cart .entry-header,
body.bf-theme-dark.woocommerce-cart .entry-title,
body.bf-theme-dark.woocommerce-cart .entry-content,
body.bf-theme-dark.woocommerce-cart .woocommerce,
body.bf-theme-dark.woocommerce-cart .woocommerce-notices-wrapper,
body.bf-theme-dark.woocommerce-cart form.woocommerce-cart-form,
body.bf-theme-dark.woocommerce-cart .woocommerce-cart-form__contents,
body.bf-theme-dark.woocommerce-cart .cart-wrap,
body.bf-theme-dark.woocommerce-cart .cart-collaterals,
body.bf-theme-dark.woocommerce-cart .cross-sells {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

/* Re-assert: ONLY .shop_table.cart and .cart_totals carry surfaces */
body.bf-theme-dark.woocommerce-cart .shop_table.cart,
body.bf-theme-dark.woocommerce-cart .woocommerce table.cart {
	background: var(--bf-surface-2) !important;
}
body.bf-theme-dark.woocommerce-cart .cart_totals {
	background: var(--bf-surface-2) !important;
}

/* And tighten the table outer margins a touch so neighbours don't read as strips */
.woocommerce-cart .woocommerce table.cart,
.woocommerce-cart .shop_table.cart {
	margin: 1.25rem 0 !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * CHECKOUT - frame subtotal/total like the cart_totals / sidebar cart
 * ═════════════════════════════════════════════════════════════════════════ */

/* Wrap order review in the same rounded card surface */
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order {
	background: #fafafa;
	border: 1px solid var(--bf-line);
	border-radius: 18px;
	padding: 22px 26px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
	margin-bottom: 1.5rem;
}
.woocommerce-checkout #order_review h3 {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout #order_review_table {
	background: transparent;
	border: none;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	background: transparent;
	padding: 12px 0;
	border-color: rgba(0, 0, 0, .06);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
	border-bottom: 1px solid rgba(0, 0, 0, .12);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .04em;
	font-weight: 700;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
	border-top: 1px solid rgba(0, 0, 0, .08);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	border-top: 1px solid rgba(0, 0, 0, .12);
	font-size: 17px;
	font-weight: 700;
	padding-top: 16px;
}

/* Frame payment block (place-order + radios) the same way, with breathing room */
.woocommerce-checkout .woocommerce-checkout-payment,
.woocommerce-checkout #payment {
	background: #fafafa !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 22px 26px !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .04) !important;
	margin-top: 1.5rem !important;
}

/* DARK mode - mirror the framing on dark surface */
body.bf-theme-dark.woocommerce-checkout #order_review,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 22px 26px !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25) !important;
}
body.bf-theme-dark.woocommerce-checkout #order_review h3 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	background: transparent !important;
	color: var(--bf-text) !important;
	border-color: rgba(255, 255, 255, .06) !important;
}
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
	border-bottom-color: rgba(255, 255, 255, .12) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
	border-top-color: rgba(255, 255, 255, .08) !important;
}
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	border-top: 1px solid rgba(255, 255, 255, .12) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table .amount,
body.bf-theme-dark.woocommerce-checkout tr.cart-subtotal .amount,
body.bf-theme-dark.woocommerce-checkout tr.order-total .amount { color: var(--bf-text-strong) !important; }

body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-payment,
body.bf-theme-dark.woocommerce-checkout #payment {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 22px 26px !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25) !important;
	margin-top: 1.5rem !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * NAV BAR - pure black across full width in dark mode
 * ═════════════════════════════════════════════════════════════════════════ */
body.bf-theme-dark .col-full-nav,
body.bf-theme-dark .main-navigation .col-full-nav,
body.bf-theme-dark.mobile-toggled .col-full-nav {
	background: #000 !important;
	background-color: #000 !important;
	border-bottom: 1px solid #000 !important;
}
body.bf-theme-dark .shoptimizer-primary-navigation,
body.bf-theme-dark .shoptimizer-primary-navigation.col-full {
	background: transparent !important;
}

/* Nav bar - same black across full width: bar + inner link area */
body.bf-theme-dark .col-full-nav,
body.bf-theme-dark .col-full-nav *,
body.bf-theme-dark .shoptimizer-primary-navigation,
body.bf-theme-dark .shoptimizer-primary-navigation.col-full,
body.bf-theme-dark .main-navigation,
body.bf-theme-dark .menu-primary-menu-container,
body.bf-theme-dark .menu-primary-menu-container > ul,
body.bf-theme-dark .menu-primary-menu-container > ul > li,
body.bf-theme-dark .primary-navigation {
	background: #000 !important;
	background-color: #000 !important;
}
/* Don't touch the dropdown sub-menus - those keep their surface */
body.bf-theme-dark .col-full-nav ul.sub-menu,
body.bf-theme-dark .col-full-nav .sub-menu-wrapper,
body.bf-theme-dark .col-full-nav .sub-menu-wrapper *,
body.bf-theme-dark .main-navigation ul.menu ul.sub-menu,
body.bf-theme-dark .main-navigation .sub-menu-wrapper,
body.bf-theme-dark .main-navigation .sub-menu-wrapper * {
	background-color: var(--bf-surface) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * CHECKOUT - give product rows breathing room (was squished)
 * ═════════════════════════════════════════════════════════════════════════ */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
	width: 100% !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	padding: 14px 12px !important;
	line-height: 1.5 !important;
	vertical-align: middle !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td {
	padding: 18px 12px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
	width: 65% !important;
	word-break: break-word !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
	white-space: nowrap !important;
	text-align: right !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .product-name strong,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .product-name strong {
	font-weight: 600 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.variation,
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.wc-item-meta,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.variation,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.wc-item-meta {
	margin: 6px 0 0 !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl dt,
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl dd,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl dt,
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl dd {
	display: inline !important;
	margin: 0 4px 0 0 !important;
	padding: 0 !important;
}

/* Widen the order_review column if Shoptimizer constrains it too much */
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
	max-width: 100% !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Cart page - kill stray strips above & below the products card
 * Drop box-shadow halos and any sibling/wrapper bgs that read as bands
 * ═════════════════════════════════════════════════════════════════════════ */

body.bf-theme-dark.woocommerce-cart .shop_table.cart,
body.bf-theme-dark.woocommerce-cart .woocommerce table.cart,
body.bf-theme-dark.woocommerce-cart .cart_totals {
	box-shadow: none !important;
}

/* Stepper: flush, no bg, no padding bleed */
body.bf-theme-dark.woocommerce-cart ul.checkout-bar,
body.bf-theme-dark.woocommerce-cart .checkout-bar,
body.bf-theme-dark.woocommerce-cart .shoptimizer-checkout-bar {
	background: transparent !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Empty / orphan blocks at the bottom of the cart */
body.bf-theme-dark.woocommerce-cart .cross-sells,
body.bf-theme-dark.woocommerce-cart .cross-sells:empty,
body.bf-theme-dark.woocommerce-cart .wc-empty-cart-message:empty,
body.bf-theme-dark.woocommerce-cart .return-to-shop:empty {
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.bf-theme-dark.woocommerce-cart .cross-sells:empty { display: none !important; }

/* Force every <article>/<section> inside the cart-form to be transparent */
body.bf-theme-dark.woocommerce-cart form.woocommerce-cart-form > *:not(table),
body.bf-theme-dark.woocommerce-cart .woocommerce > *:not(form):not(.cart-collaterals):not(.cross-sells) {
	background: transparent !important;
	box-shadow: none !important;
}

/* Tighten the gap between stepper / card / collaterals to avoid color bleed */
body.bf-theme-dark.woocommerce-cart .woocommerce table.cart,
body.bf-theme-dark.woocommerce-cart .shop_table.cart {
	margin: 12px 0 !important;
}
body.bf-theme-dark.woocommerce-cart .cart-collaterals {
	margin: 0 !important;
	padding: 0 !important;
}

/* Same in light mode */
.woocommerce-cart .shop_table.cart,
.woocommerce-cart .woocommerce table.cart,
.woocommerce-cart .cart_totals { box-shadow: none !important; }
.woocommerce-cart ul.checkout-bar,
.woocommerce-cart .checkout-bar { background: transparent !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.woocommerce-cart .cross-sells:empty { display: none !important; }

/* Product cards hover - restored to original (asymmetric drop) */
ul.products li.product:hover,
.wc-block-grid__product:hover,
.related.products ul.products li.product:hover,
.upsells.products ul.products li.product:hover {
	border-color: rgba(0, 0, 0, .08) !important;
	box-shadow: 0 16px 36px rgba(242, 135, 5, .18), 0 4px 12px rgba(0, 0, 0, .08) !important;
}

/* Plate relief - subtle inner highlight + outer drop shadow gives the white
   plate a "raised photo" feel inside the card. Hover adds an accent glow. */
ul.products li.product .woocommerce-image__wrapper {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .9),
		inset 0 -1px 1px rgba(15, 23, 42, .04),
		0 2px 6px rgba(15, 23, 42, .08),
		0 1px 2px rgba(15, 23, 42, .06);
	transition: box-shadow .25s ease, transform .25s ease;
}
body.bf-theme-dark ul.products li.product .woocommerce-image__wrapper {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .12),
		inset 0 -1px 1px rgba(0, 0, 0, .25),
		0 2px 6px rgba(0, 0, 0, .35),
		0 1px 2px rgba(0, 0, 0, .25);
}
ul.products li.product:hover .woocommerce-image__wrapper,
ul.products li.product:focus-within .woocommerce-image__wrapper {
	transform: translateY(-3px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .9),
		0 0 0 4px var(--bf-accent-tint),
		0 13px 36px rgba(242, 135, 5, .36),
		0 5px 13px rgba(15, 23, 42, .10);
}
body.bf-theme-dark ul.products li.product:hover .woocommerce-image__wrapper,
body.bf-theme-dark ul.products li.product:focus-within .woocommerce-image__wrapper {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .12),
		0 0 0 4px rgba(242, 135, 5, .32),
		0 18px 42px rgba(242, 135, 5, .50),
		0 5px 13px rgba(0, 0, 0, .45);
}

/* Product card images - breathing room on top and sides */
ul.products li.product .woocommerce-image__wrapper,
ul.products li.product .shoptimizer-plp-image-wrapper,
.related.products ul.products li.product .woocommerce-image__wrapper,
.upsells.products ul.products li.product .woocommerce-image__wrapper,
.wc-block-grid__product .wc-block-grid__product-image {
	padding: 18px 18px 0 !important;
	box-sizing: border-box !important;
}
ul.products li.product .woocommerce-LoopProduct-link img,
ul.products li.product .shoptimizer-plp-image-wrapper img,
ul.products li.product .incarca-cart-logo,
ul.products li.product .incarca-cart-logo img {
	margin: 0 auto !important;
}

@media (max-width: 600px) {
	ul.products li.product .woocommerce-image__wrapper,
	ul.products li.product .shoptimizer-plp-image-wrapper {
		padding: 12px 12px 0 !important;
	}
}

/* Reviews - "Nu există recenzii" pill expanded full content width */
body.bf-theme-dark .woocommerce-noreviews,
.woocommerce-noreviews {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 18px 22px !important;
	border-radius: 14px !important;
	margin: 0 0 1.25rem !important;
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	color: var(--bf-text) !important;
	font-size: 15px !important;
}
body:not(.bf-theme-dark) .woocommerce-noreviews {
	background: #fafafa !important;
	color: #444 !important;
}

/* Only the actual textarea (write-review field) keeps a surface */
body.bf-theme-dark #commentform textarea,
body.bf-theme-dark .comment-form textarea,
body.bf-theme-dark #comment {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
	border-radius: 12px !important;
	padding: 14px !important;
}
/* Inputs (Nume / Email) - keep them surface for legibility too */
body.bf-theme-dark #commentform input[type="text"],
body.bf-theme-dark #commentform input[type="email"],
body.bf-theme-dark .comment-form input[type="text"],
body.bf-theme-dark .comment-form input[type="email"] {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
}

/* Tabs wrapper - dark page bg in dark mode */
body.bf-theme-dark .woocommerce-tabs,
body.bf-theme-dark .wc-tabs-wrapper,
body.bf-theme-dark .woocommerce-tabs.wc-tabs-wrapper,
body.bf-theme-dark .single-product .wc-tabs-wrapper {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}

/* Product meta block - dark page bg in dark mode */
body.bf-theme-dark .product_meta,
body.bf-theme-dark .product_meta *,
body.bf-theme-dark .single-product .product_meta {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .product_meta a { color: var(--bf-accent) !important; }

/* Cart remove buttons - trash icon (black in light, white in dark, red hover) */
a.remove,
.product-remove a,
.remove_from_cart_button,
.mini_cart_item .remove,
.cart_list .remove,
.commercekit-cart-popup .remove_from_cart_button,
.widget_shopping_cart .remove_from_cart_button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 24px !important;
	height: 24px !important;
	border: none !important;
	background: transparent !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: -9999em !important;
	overflow: hidden !important;
	text-decoration: none !important;
	box-shadow: none !important;
	border-radius: 6px !important;
	transition: background .15s ease, transform .15s ease !important;
	-webkit-tap-highlight-color: transparent !important;
}
a.remove::before,
.product-remove a::before,
.remove_from_cart_button::before,
.mini_cart_item .remove::before,
.cart_list .remove::before,
.commercekit-cart-popup .remove_from_cart_button::before,
.widget_shopping_cart .remove_from_cart_button::before {
	content: "" !important;
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	background-color: #111 !important;
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6h18'/><path d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/><path d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/><path d='M10 11v6'/><path d='M14 11v6'/></svg>") !important;
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6h18'/><path d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/><path d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/><path d='M10 11v6'/><path d='M14 11v6'/></svg>") !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
	color: transparent !important;
}

/* Hide any inner SVG/text the theme/plugin may have injected */
a.remove > *,
.product-remove a > *,
.remove_from_cart_button > * {
	display: none !important;
}

/* Dark mode → white trash glyph */
body.bf-theme-dark a.remove::before,
body.bf-theme-dark .product-remove a::before,
body.bf-theme-dark .remove_from_cart_button::before,
body.bf-theme-dark .mini_cart_item .remove::before,
body.bf-theme-dark .cart_list .remove::before,
body.bf-theme-dark .commercekit-cart-popup .remove_from_cart_button::before,
body.bf-theme-dark .widget_shopping_cart .remove_from_cart_button::before {
	background-color: #ffffff !important;
}

/* Hover - red glyph + subtle red bg pill */
a.remove:hover,
.product-remove a:hover,
.remove_from_cart_button:hover,
body.bf-theme-dark a.remove:hover,
body.bf-theme-dark .product-remove a:hover,
body.bf-theme-dark .remove_from_cart_button:hover {
	background: rgba(239, 68, 68, .14) !important;
	transform: scale(1.08) !important;
}
a.remove:hover::before,
.product-remove a:hover::before,
.remove_from_cart_button:hover::before,
body.bf-theme-dark a.remove:hover::before,
body.bf-theme-dark .product-remove a:hover::before,
body.bf-theme-dark .remove_from_cart_button:hover::before {
	background-color: #ef4444 !important;
}

/* Hide WhatsApp FAB while the cart drawer is open */
body.drawer-open .bf-wa-fab,
body.mobile-toggled .bf-wa-fab {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* "Cumpără acum" express button - accent border fully visible in dark */
.incarca-product .incarca-express-btn,
body.bf-theme-dark.incarca-product .incarca-express-btn {
	background: transparent !important;
	border: 2px solid var(--bf-accent) !important;
	color: var(--bf-accent) !important;
	border-radius: 14px !important;
	margin-top: 16px !important;
	padding: 14px 24px !important;
	box-shadow: 0 0 0 1px rgba(242, 135, 5, .15) !important;
	overflow: visible !important;
}
.incarca-product .incarca-express-btn:hover:not(:disabled),
body.bf-theme-dark.incarca-product .incarca-express-btn:hover:not(:disabled) {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border-color: var(--bf-accent) !important;
	box-shadow: 0 8px 22px rgba(242, 135, 5, .35) !important;
	transform: translateY(-1px) !important;
}

/* Make sure the surrounding wrapper doesn't clip the top edge */
.incarca-product .incarca-add-to-cart-wrap,
body.bf-theme-dark.incarca-product .incarca-add-to-cart-wrap {
	overflow: visible !important;
}

/* Light mode - very subtle cream inside .incarca-card and .incarca-summary */
body:not(.bf-theme-dark).incarca-product .incarca-card,
body:not(.bf-theme-dark).incarca-product .incarca-summary,
body:not(.bf-theme-dark).incarca-product .incarca-summary.bf-has-banner {
	background: #fffdf8 !important;
}

/* Trust block in summary - wrapper transparent, only the icons box is lighter */
body.bf-theme-dark.incarca-product .inc-summary-trust {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}
body.bf-theme-dark.incarca-product .inc-summary-trust .inc-trust-label {
	color: var(--bf-muted) !important;
}
body.bf-theme-dark.incarca-product .inc-summary-trust .inc-trust-icons,
body.bf-theme-dark.incarca-product .inc-trust-icons {
	background-color: #f1f3f7 !important;
	background: #f1f3f7 !important;
	border: 1px solid #d1d5dc !important;
	border-radius: 12px !important;
	padding: 10px 12px !important;
}

/* Light mode - stronger relief + hover shadow on Incarca clickable buttons */
body:not(.bf-theme-dark).incarca-product .incarca-card button[type="button"],
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-card,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-choice,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-mini-card,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-service-card,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-pill {
	box-shadow:
		0 6px 16px rgba(15, 23, 42, .10),
		0 2px 5px rgba(15, 23, 42, .06) !important;
	transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s cubic-bezier(.4,0,.2,1), background .22s, border-color .22s !important;
}
body:not(.bf-theme-dark).incarca-product .incarca-card button[type="button"]:hover,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-card:hover,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-choice:hover,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-mini-card:hover,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-service-card:hover,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-pill:hover {
	transform: translateY(-3px) !important;
	box-shadow:
		0 22px 44px var(--bf-accent-tint),
		0 10px 20px rgba(15, 23, 42, .12),
		0 2px 6px rgba(15, 23, 42, .06) !important;
	border-color: rgba(242, 135, 5, .35) !important;
}
body:not(.bf-theme-dark).incarca-product .incarca-card button[type="button"]:active,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-mini-card:active,
body:not(.bf-theme-dark).incarca-product button[type="button"].incarca-service-card:active {
	transform: translateY(-1px) !important;
	box-shadow:
		0 8px 18px var(--bf-accent-tint),
		0 3px 8px rgba(15, 23, 42, .10) !important;
}

/* More relief on Incarca steps when shown - collapsed + multi-type variants */
.incarca-product .incarca-step.show,
.incarca-product .incarca-step.show.collapsed,
.incarca-product .incarca-step.show.has-multiple-types {
	box-shadow:
		0 14px 36px rgba(15, 23, 42, .12),
		0 4px 10px rgba(15, 23, 42, .06) !important;
	transition: box-shadow .25s ease, transform .25s ease !important;
}
.incarca-product .incarca-step.show:hover,
.incarca-product .incarca-step.show.collapsed:hover,
.incarca-product .incarca-step.show.has-multiple-types:hover {
	box-shadow:
		0 22px 50px rgba(15, 23, 42, .16),
		0 8px 18px rgba(15, 23, 42, .08) !important;
}

/* Dark mode - proportionally deeper shadow */
body.bf-theme-dark.incarca-product .incarca-step.show,
body.bf-theme-dark.incarca-product .incarca-step.show.collapsed,
body.bf-theme-dark.incarca-product .incarca-step.show.has-multiple-types {
	box-shadow:
		0 16px 40px rgba(0, 0, 0, .35),
		0 6px 14px rgba(0, 0, 0, .22) !important;
}
body.bf-theme-dark.incarca-product .incarca-step.show:hover,
body.bf-theme-dark.incarca-product .incarca-step.show.collapsed:hover,
body.bf-theme-dark.incarca-product .incarca-step.show.has-multiple-types:hover {
	box-shadow:
		0 24px 56px rgba(0, 0, 0, .45),
		0 10px 22px rgba(0, 0, 0, .28) !important;
}

/* Checkout payment block - same elevation as Incarca steps */
.woocommerce-checkout .woocommerce-checkout-payment,
.woocommerce-checkout #payment {
	box-shadow:
		0 14px 36px rgba(15, 23, 42, .12),
		0 4px 10px rgba(15, 23, 42, .06) !important;
	transition: box-shadow .25s ease !important;
}
.woocommerce-checkout .woocommerce-checkout-payment:hover,
.woocommerce-checkout #payment:hover {
	box-shadow:
		0 22px 50px rgba(15, 23, 42, .16),
		0 8px 18px rgba(15, 23, 42, .08) !important;
}

body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-payment,
body.bf-theme-dark.woocommerce-checkout #payment {
	box-shadow:
		0 16px 40px rgba(0, 0, 0, .35),
		0 6px 14px rgba(0, 0, 0, .22) !important;
}
body.bf-theme-dark.woocommerce-checkout .woocommerce-checkout-payment:hover,
body.bf-theme-dark.woocommerce-checkout #payment:hover {
	box-shadow:
		0 24px 56px rgba(0, 0, 0, .45),
		0 10px 22px rgba(0, 0, 0, .28) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Mobile - hide sticky add-to-cart bars, fix related-products overflow
 * ═════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
	.commercekit-atc-sticky-tabs,
	.shoptimizer-sticky-add-to-cart,
	.commercekit-sticky-add-to-cart,
	.commercekit-pdp-sticky,
	.incarca-mobile-bar,
	.cgkit-sticky-atc {
		display: none !important;
	}
	body.single-product { padding-bottom: 0 !important; }

	/* Related/upsells products - prevent horizontal overflow */
	.related.products,
	.upsells.products,
	.cross-sells {
		max-width: 100% !important;
		overflow-x: hidden !important;
		box-sizing: border-box !important;
	}
	.related.products ul.products,
	.upsells.products ul.products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.related.products ul.products li.product,
	.upsells.products ul.products li.product {
		width: auto !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		float: none !important;
	}
	.related.products ul.products li.product img,
	.upsells.products ul.products li.product img {
		width: 100% !important;
		height: auto !important;
	}
}

/* .incarca-util-btn - brand accent in both light and dark, matches other CTAs */
.incarca-product .incarca-util-btn,
body:not(.bf-theme-dark).incarca-product .incarca-util-btn,
body.bf-theme-dark.incarca-product .incarca-util-btn {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 6px 18px rgba(242, 135, 5, .3), 0 2px 6px rgba(0, 0, 0, .08) !important;
	transition: background .18s ease, box-shadow .18s ease, transform .18s ease, filter .18s ease !important;
}
.incarca-product .incarca-util-btn:hover:not(:disabled),
body:not(.bf-theme-dark).incarca-product .incarca-util-btn:hover:not(:disabled),
body.bf-theme-dark.incarca-product .incarca-util-btn:hover:not(:disabled) {
	background: var(--bf-accent) !important;
	filter: brightness(1.08) !important;
	box-shadow: 0 10px 26px rgba(242, 135, 5, .45), 0 4px 10px rgba(0, 0, 0, .12) !important;
	transform: translateY(-1px) !important;
	opacity: 1 !important;
}
.incarca-product .incarca-util-btn:disabled {
	opacity: .45 !important;
	box-shadow: none !important;
	transform: none !important;
	cursor: not-allowed !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * WC notices - styled clean in light mode, auto-hide after 3 seconds
 * ═════════════════════════════════════════════════════════════════════════ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: #fff !important;
	border: 1px solid var(--bf-line) !important;
	border-left: 4px solid var(--bf-primary) !important;
	border-radius: 14px !important;
	padding: 14px 18px !important;
	color: #222 !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	margin: 0 0 1rem !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .10), 0 2px 6px rgba(15, 23, 42, .06) !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	list-style: none !important;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none !important;
}
.woocommerce-error { border-left-color: #ef4444 !important; }
.woocommerce-info { border-left-color: var(--bf-accent) !important; }
.woocommerce-message a.restore-item,
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
	margin-left: auto !important;
	color: var(--bf-accent) !important;
	background: transparent !important;
	border: 1px solid var(--bf-accent) !important;
	padding: 6px 14px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background .15s ease, color .15s ease !important;
}
.woocommerce-message a.restore-item:hover,
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
	background: var(--bf-accent) !important;
	color: #fff !important;
}

/* Dark mode surface */
body.bf-theme-dark .woocommerce-message,
body.bf-theme-dark .woocommerce-info,
body.bf-theme-dark .woocommerce-error {
	background: var(--bf-surface-2) !important;
	color: var(--bf-text) !important;
	border-color: var(--bf-line) !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22) !important;
}

/* Auto-hide success notices ("Abon a fost adăugat în coș" etc.) after 12 s,
   then 0.5 s fade - total 12.5 s. */
.woocommerce-notices-wrapper > .woocommerce-message {
	animation: bfNoticeAutoHide 12.5s forwards !important;
}
@keyframes bfNoticeAutoHide {
	0%, 96% { opacity: 1; transform: translateY(0); }
	100% { opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; }
}

/* Info notices STAY by default (they contain forms / actions like the
   "Have a coupon?" toggle on checkout, "Login to use saved details", etc.) */
.woocommerce-info,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .checkout_coupon,
.woocommerce-info:has(form),
.woocommerce-info.checkout-coupon-toggle,
.woocommerce-info.has-coupon-form,
.woocommerce-info > a.showcoupon,
form.checkout_coupon {
	animation: none !important;
}

/* Errors stay (user must read them) */
.woocommerce-error { animation: none !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * Notice variants - warning treatment for "info" / quantity-limit notices
 * ═════════════════════════════════════════════════════════════════════════ */

/* WARNING (info / quantity-limit / stock notice) - richer amber */
.woocommerce-info {
	background: #fde9c5 !important;
	border: 1px solid #e9b266 !important;
	border-left: 5px solid #b45309 !important;
	color: #5b2906 !important;
	font-weight: 500 !important;
}
.woocommerce-info a.button,
.woocommerce-info a {
	color: #92400e !important;
	border-color: #92400e !important;
}
.woocommerce-info a.button:hover,
.woocommerce-info a:hover {
	background: #b45309 !important;
	color: #fff !important;
	border-color: #b45309 !important;
}

body.bf-theme-dark .woocommerce-info {
	background: #3d3220 !important;
	border-color: #6b552a !important;
	border-left-color: #f5b461 !important;
	color: #fef3c7 !important;
}
body.bf-theme-dark .woocommerce-info a.button,
body.bf-theme-dark .woocommerce-info a {
	color: #fbbf24 !important;
	border-color: #fbbf24 !important;
}
body.bf-theme-dark .woocommerce-info a.button:hover,
body.bf-theme-dark .woocommerce-info a:hover {
	background: #fbbf24 !important;
	color: #1a1208 !important;
	border-color: #fbbf24 !important;
}

/* Some plugins/themes mark stock-limit messages with .woocommerce-error
   that we want to read as "warning" too - only when they don't include
   the word "Error" / serious red treatment. Keep .woocommerce-error red for
   real errors but soften background tone. */
.woocommerce-error {
	background: #fef2f2 !important;
	color: #7f1d1d !important;
}
body.bf-theme-dark .woocommerce-error {
	background: #3a1f1f !important;
	color: #fecaca !important;
	border-color: #7f1d1d !important;
}

/* Notice "View cart" / "Checkout" inline buttons - extra room from text */
.woocommerce-message a.button,
.woocommerce-message a.restore-item,
.woocommerce-info a.button,
.woocommerce-error a.button {
	margin-left: auto !important;
}
.woocommerce-message a.button + a.button,
.woocommerce-info a.button + a.button,
.woocommerce-error a.button + a.button {
	margin-left: 12px !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * SITE FOOTER - custom 4-column + bottom copyright
 * ═════════════════════════════════════════════════════════════════════════ */

.bf-footer {
	background: #1a1d24;
	color: #cbd1d8;
	margin-top: 4rem;
	padding-top: 3rem;
	font-size: 14px;
	line-height: 1.7;
}
body.bf-theme-dark .bf-footer { background: #0d0f14; }

.bf-footer-inner {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.bf-footer-cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}
@media (max-width: 900px) {
	.bf-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 540px) {
	.bf-footer-cols { grid-template-columns: 1fr; gap: 1.75rem; }
}

.bf-footer-title {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0 0 1rem;
}
.bf-footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.bf-footer-list li { margin-bottom: 8px; }
.bf-footer-list a {
	color: #b1b8c2;
	text-decoration: none;
	transition: color .15s ease;
}
.bf-footer-list a:hover {
	color: var(--bf-accent);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1.5px;
}

/* Social row */
.bf-footer-social {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bf-footer-social a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #b1b8c2;
	text-decoration: none;
	transition: color .15s ease, transform .15s ease;
}
.bf-footer-social a svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}
.bf-footer-social a:hover {
	color: var(--bf-accent);
	transform: translateX(2px);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1.5px;
}

/* Trust column - payment icons + microcopy */
.bf-footer-payments {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: .75rem;
}
.bf-footer-payments svg {
	width: 52px;
	height: 22px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.bf-footer-trust-text {
	font-size: 12.5px;
	color: #8b919b;
	margin: 0;
	line-height: 1.55;
}

/* Verify-invoice link - trust signal in footer trust column */
.bf-footer-verify {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 10px 14px;
	border: 1px solid rgba(242, 135, 5, .35);
	border-radius: 12px;
	background: rgba(242, 135, 5, .08);
	color: #f5b974 !important;
	text-decoration: none !important;
	transition: all .2s ease;
	max-width: 100%;
}
.bf-footer-verify:hover {
	border-color: var(--bf-accent, #f28705);
	background: rgba(242, 135, 5, .15);
	color: #ffce93 !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(242, 135, 5, .2);
}
.bf-footer-verify-icon {
	width: 28px;
	height: 28px;
	color: var(--bf-accent, #f28705);
	flex-shrink: 0;
}
.bf-footer-verify-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
	min-width: 0;
}
.bf-footer-verify-text strong {
	font-size: 13px;
	font-weight: 700;
	color: #f5b974;
}
.bf-footer-verify:hover .bf-footer-verify-text strong { color: #ffce93; }
.bf-footer-verify-text small {
	font-size: 11px;
	color: #8b919b;
	font-weight: 400;
	margin-top: 1px;
}

/* Bottom copyright bar */
.bf-footer-bottom {
	background: #0e1015;
	padding: 1.25rem 0;
	border-top: 1px solid #262931;
}
body.bf-theme-dark .bf-footer-bottom { background: #06080b; border-top-color: #1a1d22; }
.bf-footer-bottom .col-full {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 1.5rem;
	text-align: center;
}
.bf-copyright {
	margin: 0;
	color: #8b919b;
	font-size: 13px;
	letter-spacing: .01em;
}
.bf-copyright strong { color: #cbd1d8; font-weight: 600; }
.bf-heart {
	color: var(--bf-accent);
	font-size: 1.05em;
	display: inline-block;
	transform: translateY(1px);
}

/* My Account - nav icons visible in dark mode (mask-image fill must not be #111) */
body.bf-theme-dark .woocommerce-MyAccount-navigation ul li a:before {
	background: var(--bf-text) !important;
	opacity: .55 !important;
}
body.bf-theme-dark .woocommerce-MyAccount-navigation ul li a:hover:before,
body.bf-theme-dark .woocommerce-MyAccount-navigation ul li.is-active a:before {
	background: var(--bf-accent) !important;
	opacity: 1 !important;
}
body.bf-theme-dark .woocommerce-MyAccount-navigation ul li a {
	color: var(--bf-text) !important;
}
body.bf-theme-dark .woocommerce-MyAccount-navigation ul li.is-active a,
body.bf-theme-dark .woocommerce-MyAccount-navigation ul li a:hover {
	color: var(--bf-accent) !important;
}
body.bf-theme-dark .woocommerce-MyAccount-navigation ul li {
	border-bottom-color: var(--bf-line-soft) !important;
}

/* Account page surrounding content */
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content * { color: var(--bf-text); }
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content a { color: var(--bf-accent) !important; }

/* Show-password eye icon - was background:#999 (mask). Make it lighter on dark */
body.bf-theme-dark .woocommerce-page form .show-password-input:after {
	background: var(--bf-text) !important;
}

/* Order rows / orders table in account */
body.bf-theme-dark .woocommerce-account .woocommerce-orders-table th,
body.bf-theme-dark .woocommerce-account .woocommerce-orders-table td {
	color: var(--bf-text) !important;
	border-bottom-color: var(--bf-line-soft) !important;
}
body.bf-theme-dark .woocommerce-account .woocommerce-orders-table th { color: var(--bf-text-strong) !important; border-bottom-color: var(--bf-line) !important; }
body.bf-theme-dark .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Pagination a {
	background: var(--bf-surface-2) !important;
	color: var(--bf-text) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Pagination a:hover {
	border-color: var(--bf-accent) !important;
	color: var(--bf-accent) !important;
}

/* My Account - rounded card around forms (edit-account, edit-address, etc.) */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-edit-account .woocommerce-MyAccount-content > form,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account,
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-address-fields,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	background: #fafafa;
	border: 1px solid var(--bf-line);
	border-radius: 18px;
	padding: 28px 32px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
	margin-top: 1rem;
}
@media (max-width: 600px) {
	.woocommerce-account .woocommerce-EditAccountForm,
	.woocommerce-account .woocommerce-MyAccount-content > form,
	.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
		padding: 20px 18px;
	}
}
.woocommerce-account .woocommerce-EditAccountForm fieldset,
.woocommerce-account .woocommerce-MyAccount-content > form fieldset {
	margin-top: 1.5rem !important;
	padding-top: 1.5rem !important;
	border-top: 1px solid var(--bf-line) !important;
}
.woocommerce-account .woocommerce-EditAccountForm legend,
.woocommerce-account .woocommerce-MyAccount-content > form legend {
	font-weight: 700 !important;
	font-size: 14px !important;
	margin-bottom: .75rem !important;
}
.woocommerce-account .woocommerce-EditAccountForm .form-row,
.woocommerce-account .woocommerce-MyAccount-content > form .form-row {
	margin-bottom: 1rem !important;
}
.woocommerce-account .woocommerce-EditAccountForm input[type="text"],
.woocommerce-account .woocommerce-EditAccountForm input[type="email"],
.woocommerce-account .woocommerce-EditAccountForm input[type="password"],
.woocommerce-account .woocommerce-EditAccountForm input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content select {
	background: #fff !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
}

/* Dark mode mirror */
body.bf-theme-dark.woocommerce-account .woocommerce-EditAccountForm,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content > form,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-address-fields,
body.bf-theme-dark.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 28px 32px !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-EditAccountForm fieldset,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content > form fieldset {
	border-top-color: var(--bf-line) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-EditAccountForm input[type="text"],
body.bf-theme-dark.woocommerce-account .woocommerce-EditAccountForm input[type="email"],
body.bf-theme-dark.woocommerce-account .woocommerce-EditAccountForm input[type="password"],
body.bf-theme-dark.woocommerce-account .woocommerce-EditAccountForm input[type="tel"],
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content select {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-EditAccountForm label,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content label {
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-EditAccountForm legend,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content legend {
	color: var(--bf-text-strong) !important;
}

/* My Account - orders list framed in a rounded card */
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .my_account_orders,
.woocommerce-account .woocommerce-MyAccount-orders,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Message.woocommerce-Message--info {
	background: #fafafa;
	border: 1px solid var(--bf-line);
	border-radius: 18px;
	padding: 18px 24px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
	margin-top: 1rem;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	width: 100%;
}
.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-orders-table td {
	padding: 14px 8px !important;
	border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
	background: transparent !important;
}
.woocommerce-account .woocommerce-orders-table tbody tr:last-child td {
	border-bottom: none !important;
}

/* Pagination outside the table */
.woocommerce-account .woocommerce-pagination,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Pagination {
	margin-top: 1.25rem !important;
}

/* Dark mode mirror */
body.bf-theme-dark.woocommerce-account .woocommerce-orders-table,
body.bf-theme-dark.woocommerce-account .my_account_orders,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-orders {
	background: var(--bf-surface-2) !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 18px 24px !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-orders-table th,
body.bf-theme-dark.woocommerce-account .woocommerce-orders-table td {
	border-bottom-color: rgba(255, 255, 255, .06) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-orders-table th {
	color: var(--bf-text-strong) !important;
}

/* Empty-orders notice ("Niciuna comandă...") sits in same rounded surface */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message {
	background: #fafafa !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 24px 28px !important;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .06) !important;
	display: flex !important;
	align-items: center !important;
	gap: 1rem !important;
	flex-wrap: wrap !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message {
	background: var(--bf-surface-2) !important;
	color: var(--bf-text) !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22) !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message a.button {
	margin-left: auto !important;
	background: var(--bf-accent) !important;
	color: #fff !important;
	border-radius: 10px !important;
	padding: 10px 18px !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Cookie consent banner (bottom-fixed, brand-styled)
 * ═════════════════════════════════════════════════════════════════════════ */

.bf-cookie-consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9997;
	max-width: 980px;
	margin: 0 auto;
	background: #ffffff;
	color: #1a1d24;
	border: 1px solid var(--bf-line);
	border-radius: 18px;
	padding: 20px 22px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .22), 0 6px 14px rgba(15, 23, 42, .10);
	transform: translateY(20px);
	opacity: 0;
	transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .32s ease;
	font-size: 14px;
	line-height: 1.55;
}
.bf-cookie-consent.bf-cookie-show { transform: translateY(0); opacity: 1; }
.bf-cookie-consent.bf-cookie-hide { transform: translateY(20px); opacity: 0; }

.bf-cookie-inner {
	display: flex;
	gap: 18px;
	align-items: center;
	flex-wrap: wrap;
}
.bf-cookie-text {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	flex: 1 1 360px;
	min-width: 0;
}
.bf-cookie-icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	color: var(--bf-accent);
	margin-top: 2px;
}
.bf-cookie-text strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
	color: #0f1218;
}
.bf-cookie-text p {
	margin: 0;
	color: #444;
}
.bf-cookie-text a {
	color: var(--bf-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bf-cookie-actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.bf-cookie-btn {
	border: 1px solid var(--bf-line);
	background: #fff;
	color: #1a1d24;
	border-radius: 10px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
	font-family: inherit;
}
.bf-cookie-btn:hover { transform: translateY(-1px); }
.bf-cookie-btn-primary {
	background: var(--bf-accent);
	color: #fff;
	border-color: var(--bf-accent);
	box-shadow: 0 6px 18px rgba(242, 135, 5, .3);
}
.bf-cookie-btn-primary:hover {
	filter: brightness(1.08);
	box-shadow: 0 10px 24px rgba(242, 135, 5, .42);
}
.bf-cookie-btn-secondary:hover {
	border-color: var(--bf-accent);
	color: var(--bf-accent);
}

/* Dark mode */
body.bf-theme-dark .bf-cookie-consent {
	background: var(--bf-surface);
	color: var(--bf-text);
	border-color: var(--bf-line);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 8px 18px rgba(0, 0, 0, .35);
}
body.bf-theme-dark .bf-cookie-text strong { color: var(--bf-text-strong); }
body.bf-theme-dark .bf-cookie-text p { color: var(--bf-text); }
body.bf-theme-dark .bf-cookie-btn {
	background: var(--bf-surface-2);
	color: var(--bf-text);
	border-color: var(--bf-line);
}
body.bf-theme-dark .bf-cookie-btn-secondary:hover {
	border-color: var(--bf-accent);
	color: var(--bf-accent);
	background: var(--bf-surface-2);
}
body.bf-theme-dark .bf-cookie-btn-primary {
	background: var(--bf-accent);
	color: #fff;
	border-color: var(--bf-accent);
}

/* Mobile */
@media (max-width: 600px) {
	.bf-cookie-consent { left: 10px; right: 10px; bottom: 10px; padding: 16px 18px; border-radius: 16px; }
	.bf-cookie-inner { gap: 14px; }
	.bf-cookie-actions { width: 100%; }
	.bf-cookie-actions .bf-cookie-btn { flex: 1 1 0; padding: 12px 14px; }
}

/* Inline SVG site logo - color follows site palette (light/dark) */
.bf-inline-logo {
	display: inline-flex;
	align-items: center;
	color: #1a1d24;
	text-decoration: none;
	transition: opacity .15s ease;
}
.bf-inline-logo svg {
	height: 38px;
	width: auto;
	display: block;
}
.bf-inline-logo:hover { opacity: .85; }
body.bf-theme-dark .bf-inline-logo { color: #fff; }

@media (max-width: 992px) {
	.bf-inline-logo svg { height: 30px; }
}

/* ═════════════════════════════════════════════════════════════════════════
 * THANK YOU / Order Received page - branded layout
 * ═════════════════════════════════════════════════════════════════════════ */

/* Strip default page chrome on order-received pages */
body.woocommerce-order-received .entry-header,
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received .archive-header { display: none !important; }

body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .woocommerce { background: transparent !important; }

/* Hero - success indicator + headline */
.bf-thankyou-hero {
	text-align: center;
	padding: 1.75rem 1.5rem 1.5rem;
	background: var(--bf-bg-tint);
	border: 1px solid var(--bf-line);
	border-radius: 18px;
	margin-top: 2.5rem;
	margin-bottom: 1.75rem;
	box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}
body.bf-theme-dark .bf-thankyou-hero {
	background: var(--bf-surface-2);
	border-color: var(--bf-line);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 6px 14px rgba(0, 0, 0, .22);
}
.bf-thankyou-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--bf-primary);
	color: #fff;
	margin-bottom: .75rem;
	box-shadow: 0 8px 20px rgba(59, 181, 74, .3);
	animation: bfPop .45s cubic-bezier(.34, 1.56, .64, 1) backwards;
}
.bf-thankyou-check svg { width: 30px; height: 30px; }
@keyframes bfPop {
	from { transform: scale(.4); opacity: 0; }
	to   { transform: scale(1);  opacity: 1; }
}
.bf-thankyou-hero h1 {
	margin: 0 0 .35rem;
	font-size: clamp(1.4rem, 1.15rem + 1vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -.01em;
}
.bf-thankyou-hero p {
	margin: 0 auto;
	max-width: 540px;
	color: #555;
	font-size: 14.5px;
	line-height: 1.5;
}
body.bf-theme-dark .bf-thankyou-hero p { color: var(--bf-muted); }
.bf-thankyou-hero .bf-thankyou-order-no {
	display: inline-block;
	margin-top: .75rem;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(242, 135, 5, .12);
	color: var(--bf-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* Order overview list - pill row of order# / date / email / total / method */
.woocommerce-order-received .woocommerce-order-overview {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 2rem !important;
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
	gap: 14px !important;
	background: transparent !important;
	border: none !important;
}
.woocommerce-order-received .woocommerce-order-overview li {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 14px;
	padding: 16px 18px;
	font-size: 12.5px;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #888;
	margin: 0 !important;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block;
	margin-top: 6px;
	font-size: 16px;
	font-weight: 700;
	color: #111;
	text-transform: none;
	letter-spacing: -.005em;
	word-break: break-word;
}
body.bf-theme-dark.woocommerce-order-received .woocommerce-order-overview li {
	background: var(--bf-surface-2);
	border-color: var(--bf-line);
	color: var(--bf-muted);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
body.bf-theme-dark.woocommerce-order-received .woocommerce-order-overview li strong {
	color: var(--bf-text-strong);
}

/* Order details + customer details - rounded card surfaces */
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received section.woocommerce-customer-details,
.woocommerce-order-received section.woocommerce-order-details {
	background: #fff !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 24px 28px !important;
	margin: 0 0 1.5rem !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}
body.bf-theme-dark.woocommerce-order-received .woocommerce-order-details,
body.bf-theme-dark.woocommerce-order-received .woocommerce-customer-details,
body.bf-theme-dark.woocommerce-order-received section.woocommerce-customer-details,
body.bf-theme-dark.woocommerce-order-received section.woocommerce-order-details {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 6px 14px rgba(0, 0, 0, .22) !important;
}
.woocommerce-order-received .woocommerce-order-details h2,
.woocommerce-order-received .woocommerce-column__title {
	margin: 0 0 1rem !important;
	font-size: 18px !important;
	font-weight: 700 !important;
}

/* Order items table inside order-details */
.woocommerce-order-received table.shop_table.order_details {
	width: 100% !important;
	border: none !important;
	background: transparent !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	margin: 0 !important;
}
.woocommerce-order-received table.shop_table.order_details th,
.woocommerce-order-received table.shop_table.order_details td {
	background: transparent !important;
	padding: 14px 0 !important;
	border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
}
body.bf-theme-dark.woocommerce-order-received table.shop_table.order_details th,
body.bf-theme-dark.woocommerce-order-received table.shop_table.order_details td {
	border-bottom-color: rgba(255, 255, 255, .06) !important;
	color: var(--bf-text) !important;
}
.woocommerce-order-received table.shop_table.order_details thead th {
	border-bottom: 1px solid rgba(15, 23, 42, .12) !important;
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.woocommerce-order-received table.shop_table.order_details tfoot tr.order-total th,
.woocommerce-order-received table.shop_table.order_details tfoot tr.order-total td {
	border-top: 1px solid rgba(15, 23, 42, .12) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	padding-top: 18px !important;
}

/* Customer details columns (billing + shipping) */
.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
	gap: 1.5rem !important;
}
.woocommerce-order-received .woocommerce-customer-details address {
	font-style: normal !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 12px !important;
	padding: 16px 18px !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}
body.bf-theme-dark.woocommerce-order-received .woocommerce-customer-details address {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
}

/* CTA row appended via PHP (continue shopping + my account + support) */
.bf-thankyou-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin: 2rem 0 1rem;
}
.bf-thankyou-actions .bf-cta {
	padding: 12px 24px;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.bf-thankyou-actions .bf-cta-primary {
	background: var(--bf-accent);
	color: #fff !important;
	box-shadow: 0 8px 22px rgba(242, 135, 5, .35);
}
.bf-thankyou-actions .bf-cta-primary:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
	box-shadow: 0 12px 30px rgba(242, 135, 5, .5);
}
.bf-thankyou-actions .bf-cta-secondary {
	background: transparent;
	color: var(--bf-accent) !important;
	border: 1.5px solid var(--bf-accent);
}
.bf-thankyou-actions .bf-cta-secondary:hover {
	background: var(--bf-accent);
	color: #fff !important;
}
body.bf-theme-dark .bf-thankyou-actions .bf-cta-secondary {
	color: var(--bf-accent) !important;
	border-color: var(--bf-accent);
}

/* Default WC thank-you message - hide (we render our own hero) */
.woocommerce-order-received p.woocommerce-thankyou-order-received,
.woocommerce-order-received p.woocommerce-notice.woocommerce-notice--success {
	display: none !important;
}
.woocommerce-order-received p.woocommerce-thankyou-order-failed,
.woocommerce-order-received p.woocommerce-thankyou-order-failed-actions {
	background: #fef2f2 !important;
	border: 1px solid #fecaca !important;
	border-left: 4px solid #ef4444 !important;
	border-radius: 14px !important;
	padding: 16px 20px !important;
	color: #7f1d1d !important;
	margin-bottom: 1rem !important;
}

/* Retina mobile */
@media (max-width: 600px) {
	.bf-thankyou-hero { padding: 2rem 1.25rem 1.5rem; border-radius: 18px; }
	.bf-thankyou-check { width: 68px; height: 68px; }
	.bf-thankyou-check svg { width: 36px; height: 36px; }
	.woocommerce-order-received .woocommerce-order-details,
	.woocommerce-order-received .woocommerce-customer-details { padding: 18px 18px !important; }
}

/* ═════════════════════════════════════════════════════════════════════════
 * Thank-you page - Incarca per-item delivery cards
 * ═════════════════════════════════════════════════════════════════════════ */

.bf-incarca-deliveries {
	margin: 0 0 2rem;
}
.bf-incarca-deliveries-head {
	margin-bottom: 1.25rem;
}
.bf-incarca-deliveries-head h2 {
	margin: 0 0 .25rem;
	font-size: 1.25rem;
	font-weight: 700;
}
.bf-incarca-deliveries-head p {
	margin: 0;
	color: #666;
	font-size: 14px;
}
body.bf-theme-dark .bf-incarca-deliveries-head p { color: var(--bf-muted); }

.bf-incarca-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
}

.bf-incarca-card {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 16px;
	padding: 18px 20px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: transform .18s ease, box-shadow .18s ease;
}
.bf-incarca-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
}
body.bf-theme-dark .bf-incarca-card {
	background: var(--bf-surface-2);
	border-color: var(--bf-line);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22);
	color: var(--bf-text);
}

.bf-incarca-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.bf-incarca-card-logo {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 10px;
	background: #fafafa;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, .06);
}
body.bf-theme-dark .bf-incarca-card-logo {
	background: #fff;
}
.bf-incarca-card-logo img {
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
}
.bf-incarca-card-title {
	flex: 1 1 auto;
	min-width: 0;
}
.bf-incarca-card-title strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #111;
}
.bf-incarca-card-title small {
	display: block;
	font-size: 13px;
	color: #888;
	margin-top: 2px;
}
body.bf-theme-dark .bf-incarca-card-title strong { color: var(--bf-text-strong); }
body.bf-theme-dark .bf-incarca-card-title small { color: var(--bf-muted); }

.bf-incarca-badge {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.bf-badge-pin     { background: rgba(139, 92, 246, .18); color: #6d28d9; }
.bf-badge-direct  { background: rgba(34, 197, 94, .18);  color: #15803d; }
.bf-badge-utility { background: rgba(242, 135, 5, .18);  color: #b45309; }
body.bf-theme-dark .bf-badge-pin     { background: rgba(139, 92, 246, .25); color: #c4b5fd; }
body.bf-theme-dark .bf-badge-direct  { background: rgba(34, 197, 94, .25);  color: #86efac; }
body.bf-theme-dark .bf-badge-utility { background: rgba(242, 135, 5, .25);  color: #fbbf24; }

.bf-incarca-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 13.5px;
	color: #555;
	line-height: 1.5;
}
.bf-incarca-card-meta strong { color: #888; font-weight: 600; }
body.bf-theme-dark .bf-incarca-card-meta { color: var(--bf-text); }
body.bf-theme-dark .bf-incarca-card-meta strong { color: var(--bf-muted); }

.bf-incarca-status {
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.bf-status-paid    { background: rgba(34, 197, 94, .18);  color: #15803d; }
.bf-status-pending { background: rgba(234, 179, 8, .18);  color: #92400e; }
body.bf-theme-dark .bf-status-paid    { background: rgba(34, 197, 94, .25);  color: #86efac; }
body.bf-theme-dark .bf-status-pending { background: rgba(234, 179, 8, .25);  color: #fde68a; }

.bf-incarca-card-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--bf-accent);
	color: #fff !important;
	text-decoration: none !important;
	padding: 11px 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(242, 135, 5, .3);
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
	width: max-content;
}
.bf-incarca-card-action svg { width: 18px; height: 18px; }
.bf-incarca-card-action:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
	box-shadow: 0 10px 24px rgba(242, 135, 5, .45);
}
.bf-incarca-card-action.bf-disabled {
	background: transparent;
	color: var(--bf-muted) !important;
	border: 1px solid var(--bf-line);
	box-shadow: none;
	cursor: not-allowed;
}
.bf-incarca-card-action.bf-disabled:hover {
	transform: none;
	filter: none;
}

@media (max-width: 600px) {
	.bf-incarca-cards { grid-template-columns: 1fr; }
}

/* Incarca-Woo native thank-you section - gentle dark-mode rescue
   (template uses inline styles for light mode; keep its layout as-is) */
body.bf-theme-dark .woocommerce-incarca-thankyou {
	border-color: var(--bf-line) !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22) !important;
	border-radius: 16px !important;
	overflow: hidden;
}
body.bf-theme-dark .woocommerce-incarca-thankyou > div:nth-child(2) {
	background: var(--bf-surface-2) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .woocommerce-incarca-thankyou .incarca-thankyou-row > p {
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark .woocommerce-incarca-thankyou .incarca-thankyou-row span,
body.bf-theme-dark .woocommerce-incarca-thankyou p { color: var(--bf-text) !important; }
body.bf-theme-dark .woocommerce-incarca-thankyou .incarca-pin-hidden,
body.bf-theme-dark .woocommerce-incarca-thankyou [id^="incarca-pin-code-"] {
	background: var(--bf-bg-soft) !important;
}
body.bf-theme-dark .woocommerce-incarca-thankyou code {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text-strong) !important;
	padding: 2px 6px;
	border-radius: 4px;
}

/* Hint inside thank-you hero pointing to delivered codes below */
.bf-thankyou-hint {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: .9rem;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(59, 181, 74, .12);
	color: var(--bf-primary);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	text-decoration: none !important;
	transition: background .15s ease, transform .15s ease;
	scroll-behavior: smooth;
}
.bf-thankyou-hint {
	transition: box-shadow .22s ease, transform .18s ease, background .18s ease !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
}
.bf-thankyou-hint:hover {
	background: rgba(59, 181, 74, .2);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(59, 181, 74, .38), 0 0 0 3px rgba(59, 181, 74, .15);
}
.bf-thankyou-hint:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(59, 181, 74, .20);
}
.bf-thankyou-hint-arrow {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	animation: bfHintBounce 1.6s ease-in-out infinite;
}
@keyframes bfHintBounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(3px); }
}
body.bf-theme-dark .bf-thankyou-hint {
	background: rgba(59, 181, 74, .2);
	color: #86efac;
}
body.bf-theme-dark .bf-thankyou-hint {
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .15);
}
body.bf-theme-dark .bf-thankyou-hint:hover {
	background: rgba(59, 181, 74, .3);
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(59, 181, 74, .55), 0 0 0 3px rgba(59, 181, 74, .25), 0 4px 10px rgba(0, 0, 0, .25);
}
body.bf-theme-dark .bf-thankyou-hint:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(59, 181, 74, .25);
}

html { scroll-behavior: smooth; }
#bf-deliveries-anchor { scroll-margin-top: 90px; }

/* My-account header icon - branded polished version
   Lives in the TOP header next to the search bar; the cart icon lives in
   the menu bar below; right edges align so the avatar sits above the cart. */
.main-header .shoptimizer-myaccount.bf-myaccount,
.shoptimizer-myaccount.bf-myaccount {
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 0 0 14px !important;
	z-index: 5;
	visibility: visible !important;
	opacity: 1 !important;
}
.shoptimizer-myaccount.bf-myaccount a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--bf-accent);
	background: rgba(242, 135, 5, .10);
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.shoptimizer-myaccount.bf-myaccount a:hover {
	color: #fff;
	background: var(--bf-accent);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(242, 135, 5, .35);
}
.main-header .shoptimizer-myaccount.bf-myaccount svg,
.shoptimizer-myaccount.bf-myaccount svg {
	width: 24px !important;
	height: 24px !important;
	stroke: currentColor !important;
	display: block !important;
}
body.bf-theme-dark .shoptimizer-myaccount.bf-myaccount a {
	color: var(--bf-accent);
	background: rgba(242, 135, 5, .14);
}
body.bf-theme-dark .shoptimizer-myaccount.bf-myaccount a:hover {
	color: #fff;
	background: var(--bf-accent);
}

/* Subtle pulse on the "logged in" badge */
.shoptimizer-myaccount.bf-myaccount--logged a circle:last-child {
	animation: bfDotPulse 2.4s ease-in-out infinite;
}
@keyframes bfDotPulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: .65; }
}

@media (max-width: 992px) {
	.shoptimizer-myaccount.bf-myaccount { margin-left: 6px; }
	.shoptimizer-myaccount.bf-myaccount a { width: 34px; height: 34px; }
	.shoptimizer-myaccount.bf-myaccount svg { width: 22px; height: 22px; }
}

/* ═════════════════════════════════════════════════════════════════════════
 * My Account → View Order - same rounded card framing as edit-account
 * ═════════════════════════════════════════════════════════════════════════ */

/* Order details + customer details cards inside My Account */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details,
.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-order-details,
.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-customer-details,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-incarca-thankyou {
	background: #fafafa !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 24px 28px !important;
	margin: 1rem 0 1.5rem !important;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .06) !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details h2,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details h2,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title {
	margin: 0 0 1rem !important;
	font-size: 18px !important;
	font-weight: 700 !important;
}

/* Order details table */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details {
	width: 100% !important;
	border: none !important;
	background: transparent !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details td {
	background: transparent !important;
	padding: 14px 0 !important;
	border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details thead th {
	border-bottom: 1px solid rgba(15, 23, 42, .12) !important;
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details tfoot tr.order-total th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details tfoot tr.order-total td {
	border-top: 1px solid rgba(15, 23, 42, .12) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	padding-top: 18px !important;
}

/* Customer details columns */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
	gap: 1.5rem !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address {
	font-style: normal !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 12px !important;
	padding: 16px 18px !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}

/* Order again / pagination buttons */
.woocommerce-account .woocommerce-MyAccount-content .order-again .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Pagination a {
	border-radius: 10px !important;
	padding: 10px 18px !important;
}

/* Dark mode mirror */
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-order-details,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-customer-details,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content .woocommerce-incarca-thankyou {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details th,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details td {
	border-bottom-color: rgba(255, 255, 255, .06) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details thead th {
	border-bottom-color: rgba(255, 255, 255, .12) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details tfoot tr.order-total th,
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details tfoot tr.order-total td {
	border-top-color: rgba(255, 255, 255, .12) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
}

@media (max-width: 600px) {
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details,
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details {
		padding: 18px 18px !important;
	}
}

/* Reduce the search field slightly so the my-account icon sits at its
   right edge in the top header. Cart stays in the menu bar below; their
   right edges line up vertically. */
@media (min-width: 993px) {
	.main-header .site-search,
	.main-header .widget_product_search,
	.main-header .woocommerce-product-search {
		flex: 1 1 auto !important;
		max-width: none !important;
		margin-right: 0 !important;
	}
	.main-header .site-search input[type="search"],
	.main-header .woocommerce-product-search input[type="search"] {
		max-width: 100% !important;
	}
}

/* ═════════════════════════════════════════════════════════════════════════
 * 1. Related-wrapper - dark-mode adaptation
 * ═════════════════════════════════════════════════════════════════════════ */
body.bf-theme-dark .related-wrapper,
body.bf-theme-dark section.related-wrapper {
	background: var(--bf-bg-soft) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .related-wrapper .product_meta,
body.bf-theme-dark .related-wrapper .product_meta * {
	background: transparent !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .related-wrapper .product_meta a { color: var(--bf-accent) !important; }
body.bf-theme-dark .related-wrapper .related.products,
body.bf-theme-dark .related-wrapper .related.products * { background: transparent !important; }
body.bf-theme-dark .related-wrapper .related.products h2 { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .related-wrapper ul.products li.product {
	background: var(--bf-surface) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text) !important;
}
body.bf-theme-dark .related-wrapper ul.products li.product .woocommerce-loop-product__title,
body.bf-theme-dark .related-wrapper ul.products li.product .woocommerce-loop-product__title a { color: var(--bf-text-strong) !important; }
body.bf-theme-dark .related-wrapper ul.products li.product .price,
body.bf-theme-dark .related-wrapper ul.products li.product .woocommerce-Price-amount { color: var(--bf-accent) !important; }
body.bf-theme-dark .related-wrapper ul.products li.product .product__categories a { color: var(--bf-muted) !important; }

/* ═════════════════════════════════════════════════════════════════════════
 * 2. WC default placeholder image - soften on dark mode
 * ═════════════════════════════════════════════════════════════════════════ */
body.bf-theme-dark img.woocommerce-placeholder.wp-post-image,
body.bf-theme-dark img.attachment-woocommerce_thumbnail.woocommerce-placeholder,
body.bf-theme-dark .wp-post-image[src*="woocommerce-placeholder"] {
	filter: invert(.85) hue-rotate(180deg) brightness(.92) saturate(.7);
	opacity: .88;
	transition: opacity .15s ease, filter .15s ease;
}
body.bf-theme-dark img.woocommerce-placeholder.wp-post-image:hover,
body.bf-theme-dark .wp-post-image[src*="woocommerce-placeholder"]:hover {
	opacity: 1;
}

/* ═════════════════════════════════════════════════════════════════════════
 * 3. Global font-family - full Romanian diacritics in one consistent face
 *    (Inter doesn't always cover ă/î/ș/ț from latin-ext - provide a fallback
 *    chain that does, and force it everywhere so diacritics never render in
 *    a different family.)
 * ═════════════════════════════════════════════════════════════════════════ */
:root {
	--bf-font-stack: "Inter", "Inter var", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}
html, body,
button, input, select, option, textarea,
:root :where(body),
.entry-content, .woocommerce, .woocommerce-MyAccount-content,
h1, h2, h3, h4, h5, h6,
.bf-thankyou-hero h1, .bf-thankyou-hero p,
.bf-incarca-deliveries-head h2, .bf-incarca-deliveries-head p,
.bf-cookie-text, .bf-cookie-btn,
.bf-footer-list, .bf-footer-title, .bf-footer-social,
.woocommerce-MyAccount-navigation,
.product_meta, .product_meta *,
.woocommerce-order-overview, .woocommerce-order-overview *,
.woocommerce-order-details, .woocommerce-customer-details {
	font-family: var(--bf-font-stack) !important;
}

/* PLP image wrapper - dark-friendly background for placeholder images */
body.bf-theme-dark ul.products li.product .shoptimizer-plp-image-wrapper,
body.bf-theme-dark ul.products li.product .shoptimizer-plp-carousel-container,
body.bf-theme-dark ul.products li.product .woocommerce-image__wrapper,
body.bf-theme-dark .wc-block-grid__product-image {
	background: var(--bf-bg-soft) !important;
	border-bottom: 1px solid var(--bf-line-soft) !important;
}

/* Tighten the placeholder filter so the inverted white doesn't read as bright on the dark bg */
body.bf-theme-dark ul.products li.product .shoptimizer-plp-image-wrapper img.woocommerce-placeholder,
body.bf-theme-dark ul.products li.product .shoptimizer-plp-image-wrapper img[src*="woocommerce-placeholder"] {
	mix-blend-mode: luminosity;
	filter: invert(.88) hue-rotate(180deg) brightness(.85) saturate(.65) !important;
	opacity: .8 !important;
}

/* For cards where the supplier logo (Incarca) is shown instead of placeholder,
   make sure the white logo card wrapper still reads well in dark */
body.bf-theme-dark ul.products li.product .incarca-cart-logo {
	background: #fff !important;
	border: 1px solid var(--bf-line) !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

/* Product card hover ::before - Shoptimizer paints a white pseudo-card on hover.
   Override to dark surface so it doesn't flash white in dark mode. */
body.bf-theme-dark ul.products li.product:not(.product-category):before,
body.bf-theme-dark ul.products li.product:hover:before,
body.bf-theme-dark ul.products li.product:focus-within:before,
body.bf-theme-dark .related.products ul.products li.product:before,
body.bf-theme-dark .upsells.products ul.products li.product:before {
	background-color: var(--bf-surface-2) !important;
	box-shadow: 0 16px 36px rgba(242, 135, 5, .18), 0 4px 12px rgba(0, 0, 0, .35) !important;
}

/* Defensive: keep the inner wrappers dark even when the product li lifts */
body.bf-theme-dark ul.products li.product:hover .shoptimizer-plp-image-wrapper,
body.bf-theme-dark ul.products li.product:hover .shoptimizer-plp-carousel-container,
body.bf-theme-dark ul.products li.product:hover .woocommerce-image__wrapper,
body.bf-theme-dark ul.products li.product:focus-within .shoptimizer-plp-image-wrapper {
	background: var(--bf-bg-soft) !important;
}
body.bf-theme-dark ul.products li.product:hover img.woocommerce-placeholder.wp-post-image,
body.bf-theme-dark ul.products li.product:hover .wp-post-image[src*="woocommerce-placeholder"] {
	filter: invert(.88) hue-rotate(180deg) brightness(.85) saturate(.65) !important;
	opacity: .85 !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Misc dark-mode fixes (Wave 10)
 * ═════════════════════════════════════════════════════════════════════════ */

/* 1. #primary.content-area - strip the white bar in dark mode */
body.bf-theme-dark #primary,
body.bf-theme-dark #primary.content-area,
body.bf-theme-dark .content-area,
body.bf-theme-dark .content-area > * {
	background: transparent !important;
	border-color: var(--bf-line-soft) !important;
}

/* 2. Incarca-Woo loading skeletons - dark gradient */
body.bf-theme-dark.incarca-product .inc-skeleton,
body.bf-theme-dark.incarca-product .inc-skeleton-card,
body.bf-theme-dark.incarca-product .inc-skeleton-pill {
	background: linear-gradient(90deg, var(--bf-surface-2) 25%, var(--bf-line) 50%, var(--bf-surface-2) 75%) !important;
	background-size: 200% 100% !important;
}

/* 3. My Account - paired addresses (Adresa de facturare / Adresa de livrare) equal-size */
.woocommerce-account .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
	gap: 1.25rem !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	min-height: 100% !important;
	box-sizing: border-box !important;
}

/* 4. /wp-login.php styled to match the site (light + dark via system pref) */
body.login {
	background: var(--bf-bg-soft, #fafafa) !important;
	font-family: var(--bf-font-stack, "Inter", system-ui, sans-serif) !important;
}
body.login #login {
	max-width: 360px !important;
	padding: 8% 0 0 !important;
}
body.login h1 a {
	background-image: url('/wp-content/themes/shoptimizer-child/assets/logo.svg') !important;
	background-size: contain !important;
	background-position: center !important;
	width: 220px !important;
	height: 60px !important;
	margin: 0 auto 1.5rem !important;
}
body.login form {
	background: #fff !important;
	border-radius: 18px !important;
	border: 1px solid var(--bf-line) !important;
	box-shadow: 0 12px 32px rgba(15, 23, 42, .08) !important;
	padding: 28px 32px !important;
	margin-top: 18px !important;
}
body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	border: 1px solid var(--bf-line) !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
	box-shadow: none !important;
}
body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
	border-color: var(--bf-accent) !important;
	box-shadow: 0 0 0 4px rgba(242, 135, 5, .18) !important;
}
body.login .button-primary,
body.login #wp-submit {
	background: var(--bf-accent) !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 12px 18px !important;
	font-weight: 700 !important;
	box-shadow: 0 6px 18px rgba(242, 135, 5, .35) !important;
	text-shadow: none !important;
	width: 100% !important;
}
body.login .button-primary:hover,
body.login #wp-submit:hover { filter: brightness(1.08); }
body.login #nav,
body.login #backtoblog {
	text-align: center !important;
	margin-top: 1rem !important;
}
body.login #nav a,
body.login #backtoblog a {
	color: var(--bf-accent) !important;
	text-decoration: none !important;
}
body.login #nav a:hover,
body.login #backtoblog a:hover { text-decoration: underline; }

/* Dark mode via system preference for /wp-login.php (no body class there) */
@media (prefers-color-scheme: dark) {
	body.login {
		background: #2b2f38 !important;
		color: #dde2e8 !important;
	}
	body.login form {
		background: #3f4450 !important;
		border-color: #4a505a !important;
		box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 6px 14px rgba(0, 0, 0, .22) !important;
	}
	body.login form label,
	body.login form p { color: #dde2e8 !important; }
	body.login form .input,
	body.login input[type="text"],
	body.login input[type="password"],
	body.login input[type="email"] {
		background: #2b2f38 !important;
		border-color: #4a505a !important;
		color: #f5f7f9 !important;
	}
	body.login #nav a,
	body.login #backtoblog a { color: #f28705 !important; }
}

/* 5. /contul-meu/ guest screen - wrapper around login + register forms */
.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-page #customer_login,
body.woocommerce-account .col2-set#customer_login {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.5rem;
	margin: 0 !important;
	float: none !important;
	width: 100% !important;
}
body.woocommerce-account .col2-set#customer_login .col-1,
body.woocommerce-account .col2-set#customer_login .col-2 {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	background: #fafafa !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 28px 32px !important;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .06) !important;
}
body.woocommerce-account .col2-set#customer_login h2 {
	margin: 0 0 1rem !important;
	font-size: 18px !important;
	font-weight: 700 !important;
}
body.woocommerce-account .col2-set#customer_login .form-row {
	margin-bottom: 1rem !important;
}
body.woocommerce-account .col2-set#customer_login input[type="text"],
body.woocommerce-account .col2-set#customer_login input[type="email"],
body.woocommerce-account .col2-set#customer_login input[type="password"] {
	background: #fff !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
}
body.bf-theme-dark.woocommerce-account .col2-set#customer_login .col-1,
body.bf-theme-dark.woocommerce-account .col2-set#customer_login .col-2 {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22) !important;
}
body.bf-theme-dark.woocommerce-account .col2-set#customer_login input[type="text"],
body.bf-theme-dark.woocommerce-account .col2-set#customer_login input[type="email"],
body.bf-theme-dark.woocommerce-account .col2-set#customer_login input[type="password"] {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}

/* 6. .bf-btn-cta and .bf-btn-ghost - shadows + glow per theme */

/* Light mode: depth shadow */
.bf-btn.bf-btn-cta,
.bf-btn-cta {
	box-shadow: 0 10px 26px rgba(15, 23, 42, .14), 0 3px 8px rgba(15, 23, 42, .08) !important;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease !important;
}
.bf-btn.bf-btn-cta:hover,
.bf-btn-cta:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 16px 36px rgba(15, 23, 42, .2), 0 6px 14px rgba(15, 23, 42, .1) !important;
}
.bf-btn.bf-btn-ghost,
.bf-btn-ghost {
	box-shadow: 0 6px 18px rgba(15, 23, 42, .08), 0 2px 5px rgba(15, 23, 42, .05) !important;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease !important;
}
.bf-btn.bf-btn-ghost:hover,
.bf-btn-ghost:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 12px 26px rgba(15, 23, 42, .14), 0 4px 10px rgba(15, 23, 42, .08) !important;
}

/* Dark mode: bf-btn-cta = brand accent (orange/cyan) with white text + glow */
body.bf-theme-dark .bf-btn.bf-btn-cta,
body.bf-theme-dark .bf-btn-cta {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border-color: var(--bf-accent) !important;
	box-shadow: 0 14px 34px rgba(242, 135, 5, .42), 0 4px 12px rgba(0, 0, 0, .3) !important;
}
body.bf-theme-dark .bf-btn.bf-btn-cta:hover,
body.bf-theme-dark .bf-btn-cta:hover {
	filter: brightness(1.1) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 20px 44px rgba(242, 135, 5, .55), 0 6px 16px rgba(0, 0, 0, .4) !important;
}

/* Dark mode: bf-btn-ghost gets a soft accent glow */
body.bf-theme-dark .bf-btn.bf-btn-ghost,
body.bf-theme-dark .bf-btn-ghost {
	border-color: rgba(255, 255, 255, .35) !important;
	box-shadow: 0 0 0 1px rgba(242, 135, 5, .15), 0 8px 24px rgba(242, 135, 5, .12) !important;
}
body.bf-theme-dark .bf-btn.bf-btn-ghost:hover,
body.bf-theme-dark .bf-btn-ghost:hover {
	border-color: var(--bf-accent) !important;
	color: var(--bf-accent) !important;
	box-shadow: 0 0 0 1px var(--bf-accent), 0 14px 32px rgba(242, 135, 5, .3) !important;
}

/* div.col-full white bar in dark mode - make it transparent so the page bg shows */
body.bf-theme-dark div.col-full,
body.bf-theme-dark .col-full,
body.bf-theme-dark .site-content > .col-full,
body.bf-theme-dark .site-main > .col-full,
body.bf-theme-dark article > .col-full {
	background: transparent !important;
}
/* Keep the surfaces that ARE intentional (header / topbar) */
body.bf-theme-dark .col-full.main-header,
body.bf-theme-dark .col-full.topbar-wrapper {
	background: var(--bf-surface) !important;
}
/* Menu bar: outer .col-full-nav is solid black, inner .col-full must be
   transparent so the bar reads as one continuous color end-to-end */
body.bf-theme-dark .col-full-nav,
body.bf-theme-dark .main-navigation .col-full-nav {
	background: #000 !important;
}
body.bf-theme-dark .shoptimizer-primary-navigation,
body.bf-theme-dark .shoptimizer-primary-navigation.col-full,
body.bf-theme-dark .col-full-nav .col-full {
	background: transparent !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Wave 11 - Collapsible additional-info + guest login rounded card
 * ═════════════════════════════════════════════════════════════════════════ */

/* "Informații suplimentare / Note comandă" - collapsible with +/− pill */
.bf-collapsible h3.bf-collapsible-head {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	user-select: none;
	cursor: pointer;
	padding: 14px 18px !important;
	margin: 0 !important;
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 14px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
	transition: background .15s ease, border-color .15s ease;
}
.bf-collapsible h3.bf-collapsible-head:hover {
	background: var(--bf-bg-soft);
	border-color: var(--bf-accent);
}
.bf-collapsible-sign {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--bf-accent);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}
.bf-collapsible.bf-collapsed > *:not(h3) { display: none !important; }
.bf-collapsible:not(.bf-collapsed) {
	background: #fafafa;
	border: 1px solid var(--bf-line);
	border-radius: 14px;
	padding: 0 18px 18px;
	margin-bottom: 1.25rem;
}
.bf-collapsible:not(.bf-collapsed) h3.bf-collapsible-head {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 14px 0 !important;
	margin-bottom: 1rem !important;
	border-bottom: 1px solid var(--bf-line) !important;
	border-radius: 0 !important;
}
body.bf-theme-dark .bf-collapsible h3.bf-collapsible-head {
	background: var(--bf-surface-2);
	border-color: var(--bf-line);
	color: var(--bf-text-strong);
}
body.bf-theme-dark .bf-collapsible h3.bf-collapsible-head:hover {
	background: var(--bf-surface);
	border-color: var(--bf-accent);
}
body.bf-theme-dark .bf-collapsible:not(.bf-collapsed) {
	background: var(--bf-surface-2);
	border-color: var(--bf-line);
}
body.bf-theme-dark .bf-collapsible:not(.bf-collapsed) h3.bf-collapsible-head {
	border-bottom-color: var(--bf-line) !important;
}

/* Coupon toggle - inline link at the bottom of customer details, no card */
.bf-coupon-inline {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 0 1.25rem !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: inherit !important;
	animation: none !important;
}
.bf-coupon-inline::before { display: none !important; }
.bf-coupon-inline a.showcoupon {
	color: var(--bf-accent) !important;
	font-weight: 500 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	text-decoration-thickness: 1px !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin-left: 4px;
}
.bf-coupon-inline a.showcoupon:hover {
	text-decoration-thickness: 2px !important;
	background: transparent !important;
	color: var(--bf-accent) !important;
}

/* Original .coupon-wrapper section is always hidden - the link & form are
   relocated by JS into customer_details. Hiding the wrapper unconditionally
   prevents a flash of the original UI before JS runs (FOUC). */
.woocommerce-checkout .coupon-wrapper,
.woocommerce-checkout .coupon-wrapper.bf-emptied {
	display: none !important;
}

/* Coupon form moved inline under the "Ai un cupon?" link - rounded card
   matching .bf-collapsible:not(.bf-collapsed) (background #fafafa, border
   1px var(--bf-line), border-radius 14px). */
form.checkout_coupon.bf-coupon-inline-form {
	background: #fafafa !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 14px !important;
	padding: 18px !important;
	margin: .75rem 0 1.25rem !important;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .05) !important;
	width: 100% !important;
	box-sizing: border-box !important;
}
form.checkout_coupon.bf-coupon-inline-form > p:first-child { margin-top: 0 !important; }
form.checkout_coupon.bf-coupon-inline-form > p:last-of-type { margin-bottom: 0 !important; }
form.checkout_coupon.bf-coupon-inline-form input[type="text"] {
	border-radius: 10px !important;
	border: 1px solid var(--bf-line) !important;
	padding: 10px 12px !important;
}
form.checkout_coupon.bf-coupon-inline-form button[type="submit"],
form.checkout_coupon.bf-coupon-inline-form .button {
	border-radius: 10px !important;
}
body.bf-theme-dark form.checkout_coupon.bf-coupon-inline-form {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
}
body.bf-theme-dark form.checkout_coupon.bf-coupon-inline-form input[type="text"] {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}

/* Guest /contul-meu/ login form - rounded card */
body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content > h2,
body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content > .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content > .woocommerce-form-register {
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}
body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content > h2 {
	text-align: center;
	margin-bottom: 1rem !important;
	font-size: 22px !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register {
	background: #fafafa !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 18px !important;
	padding: 28px 32px !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .08) !important;
	margin-bottom: 1.5rem !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register .form-row {
	margin-bottom: 1rem !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login input[type="text"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-login input[type="email"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-login input[type="password"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-register input[type="text"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-register input[type="email"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-register input[type="password"] {
	background: #fff !important;
	border: 1px solid var(--bf-line) !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-form-login__submit {
	background: var(--bf-accent) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 12px 24px !important;
	font-weight: 700 !important;
	box-shadow: 0 6px 18px rgba(242, 135, 5, .35) !important;
	margin-right: 12px !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 1rem;
}
body.woocommerce-account:not(.logged-in) .lost_password a {
	color: var(--bf-accent) !important;
	text-decoration: none !important;
	font-weight: 600;
}
body.woocommerce-account:not(.logged-in) .lost_password a:hover {
	text-decoration: underline;
}

/* Dark mode mirror */
body.bf-theme-dark.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.bf-theme-dark.woocommerce-account:not(.logged-in) .woocommerce-form-register {
	background: var(--bf-surface-2) !important;
	border-color: var(--bf-line) !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 6px 14px rgba(0, 0, 0, .22) !important;
}
body.bf-theme-dark.woocommerce-account:not(.logged-in) .woocommerce-form-login input,
body.bf-theme-dark.woocommerce-account:not(.logged-in) .woocommerce-form-register input {
	background: var(--bf-bg-soft) !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-text-strong) !important;
}
body.bf-theme-dark.woocommerce-account:not(.logged-in) .woocommerce-form-login label,
body.bf-theme-dark.woocommerce-account:not(.logged-in) .woocommerce-form-register label {
	color: var(--bf-text) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Wave 12 - Coupon distance, checkout icon, button polish
 * ═════════════════════════════════════════════════════════════════════════ */

/* 1. Keep "Ai un cupon?" link at constant distance from the additional-info
   card, regardless of collapsed/expanded state. */
.bf-collapsible {
	margin-bottom: 1.5rem !important;
}
.bf-coupon-inline {
	margin-top: 0 !important;
	margin-bottom: 1.5rem !important;
}

/* 2. Checkout icon in menu bar (under my-account icon in top header) */
.bf-checkout-icon-wrap {
	display: inline-flex;
	margin-left: 14px;
	order: 90;
	align-items: center;
}
/* Mirror my-account icon exactly: tinted accent bg + accent icon, hover flips */
.bf-checkout-icon {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--bf-accent);
	background: rgba(242, 135, 5, .10);
	transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
	text-decoration: none !important;
}
.bf-checkout-icon:hover {
	color: #fff;
	background: var(--bf-accent);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(242, 135, 5, .35);
}
.bf-checkout-icon svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	fill: none;
	display: block;
}
body.bf-theme-dark .bf-checkout-icon {
	color: var(--bf-accent);
	background: rgba(242, 135, 5, .14);
}
body.bf-theme-dark .bf-checkout-icon:hover {
	color: #fff;
	background: var(--bf-accent);
}

/* Place the cart icon to the LEFT of the checkout icon on the menu bar.
   No margin-right on the cart - the gap between cart and checkout lives on
   the checkout-icon-wrap itself, which collapses when the wrap is hidden,
   so the cart stays flush with the menu-bar's right edge (under my-account)
   when the cart is empty. */
.col-full-nav .site-header-cart {
	order: 50;
	margin-right: 0 !important;
	margin-left: auto !important;
}
.col-full-nav .bf-checkout-icon-wrap {
	order: 60;
	margin-left: 14px !important;
}

/* Make sure the menu bar uses flex with proper alignment */
.col-full-nav .shoptimizer-primary-navigation {
	display: flex !important;
	align-items: center;
}

/* 3. Sidebar cart "Finalizare comandă" → solid green primary CTA */
.widget_shopping_cart a.button.checkout,
.widget_shopping_cart a.button.checkout.wc-forward,
.shoptimizer-mini-cart-wrap a.button.checkout,
body.bf-theme-dark .widget_shopping_cart a.button.checkout,
body.bf-theme-dark .shoptimizer-mini-cart-wrap a.button.checkout {
	background: var(--bf-primary, #3BB54A) !important;
	color: #fff !important;
	border: 2px solid var(--bf-primary, #3BB54A) !important;
	font-weight: 700 !important;
	box-shadow: 0 8px 22px rgba(59, 181, 74, .35), 0 2px 6px rgba(0, 0, 0, .12) !important;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}
.widget_shopping_cart a.button.checkout:hover,
.shoptimizer-mini-cart-wrap a.button.checkout:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 12px 30px rgba(59, 181, 74, .5), 0 4px 10px rgba(0, 0, 0, .18) !important;
	filter: brightness(1.06) !important;
}

/* 4. /cart/ "Continuă cu finalizarea comenzii" → ensure white text */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.bf-theme-dark .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	color: #fff !important;
	background: var(--bf-primary, #3BB54A) !important;
	border: none !important;
}

/* 5. /cart/ "Actualizează coșul" → green glow + lift on hover, keep style */
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"],
.woocommerce-cart .actions button.button[name="update_cart"] {
	box-shadow: 0 6px 18px rgba(59, 181, 74, .18), 0 2px 5px rgba(15, 23, 42, .06) !important;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.woocommerce-cart button[name="update_cart"]:hover,
.woocommerce-cart input[name="update_cart"]:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 12px 30px rgba(59, 181, 74, .35), 0 4px 10px rgba(15, 23, 42, .1) !important;
}
body.bf-theme-dark .woocommerce-cart button[name="update_cart"],
body.bf-theme-dark .woocommerce-cart input[name="update_cart"] {
	box-shadow: 0 0 0 1px rgba(59, 181, 74, .35), 0 8px 22px rgba(59, 181, 74, .25), 0 2px 6px rgba(0, 0, 0, .25) !important;
}
body.bf-theme-dark .woocommerce-cart button[name="update_cart"]:hover,
body.bf-theme-dark .woocommerce-cart input[name="update_cart"]:hover {
	box-shadow: 0 0 0 1px var(--bf-primary, #3BB54A), 0 14px 32px rgba(59, 181, 74, .45), 0 4px 10px rgba(0, 0, 0, .35) !important;
}

/* 6. BTCPay "Plătește cu BTCPay" submit button - match /cart/ checkout button */
.woocommerce-checkout #place_order,
.woocommerce-checkout button#place_order,
.woocommerce-checkout button[type="submit"]#place_order,
.woocommerce-checkout .btcpay-pay-button,
.woocommerce-checkout button.btcpay,
form.checkout button#place_order {
	background: var(--bf-primary, #3BB54A) !important;
	background-image: none !important;
	color: #fff !important;
	border: none !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	padding: 16px 28px !important;
	border-radius: 14px !important;
	letter-spacing: .01em !important;
	box-shadow: 0 8px 22px rgba(59, 181, 74, .35), 0 2px 6px rgba(0, 0, 0, .12) !important;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
	cursor: pointer !important;
	text-shadow: none !important;
	width: 100% !important;
}
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout button#place_order:hover,
form.checkout button#place_order:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 12px 30px rgba(59, 181, 74, .5), 0 4px 10px rgba(0, 0, 0, .18) !important;
	filter: brightness(1.06) !important;
}
.woocommerce-checkout #place_order:disabled,
.woocommerce-checkout button#place_order:disabled {
	opacity: .55 !important;
	cursor: not-allowed !important;
	transform: none !important;
}
body.bf-theme-dark.woocommerce-checkout #place_order,
body.bf-theme-dark.woocommerce-checkout button#place_order {
	background: var(--bf-primary, #3BB54A) !important;
	color: #fff !important;
	box-shadow: 0 0 0 1px rgba(59, 181, 74, .25), 0 14px 34px rgba(59, 181, 74, .42), 0 4px 12px rgba(0, 0, 0, .3) !important;
}
body.bf-theme-dark.woocommerce-checkout #place_order:hover {
	box-shadow: 0 0 0 1px var(--bf-primary, #3BB54A), 0 20px 44px rgba(59, 181, 74, .55), 0 6px 16px rgba(0, 0, 0, .4) !important;
}

/* 7. My Account → Orders: View + Reorder = outline ghost (matches Incarca .inc-step-change-btn) */
.woocommerce-MyAccount-orders .woocommerce-button.button.view,
.woocommerce-MyAccount-orders .woocommerce-button.button.reorder,
.woocommerce-MyAccount-orders .woocommerce-button.button.reorder.order-actions-button,
.woocommerce table.my_account_orders .button.view,
.woocommerce table.my_account_orders .button.reorder,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-button.view,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-button.reorder {
	background: transparent !important;
	background-image: none !important;
	border: 1px solid var(--bf-line, #e7e7e7) !important;
	border-radius: 8px !important;
	padding: 6px 14px !important;
	color: var(--bf-accent, #f28705) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04) !important;
	transform: none !important;
	transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .22s ease, transform .18s ease !important;
}
.woocommerce-MyAccount-orders .woocommerce-button.button.view:hover,
.woocommerce-MyAccount-orders .woocommerce-button.button.reorder:hover,
.woocommerce-MyAccount-orders .woocommerce-button.button.reorder.order-actions-button:hover,
.woocommerce table.my_account_orders .button.view:hover,
.woocommerce table.my_account_orders .button.reorder:hover,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-button.view:hover,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-button.reorder:hover {
	background: rgba(242, 135, 5, .08) !important;
	border-color: var(--bf-accent, #f28705) !important;
	color: var(--bf-accent, #f28705) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 16px rgba(242, 135, 5, .25), 0 2px 5px rgba(15, 23, 42, .06) !important;
}
.woocommerce-MyAccount-orders .woocommerce-button.button.view:active,
.woocommerce-MyAccount-orders .woocommerce-button.button.reorder:active,
.woocommerce-MyAccount-orders .woocommerce-button.button.reorder.order-actions-button:active,
.woocommerce table.my_account_orders .button.view:active,
.woocommerce table.my_account_orders .button.reorder:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 6px rgba(242, 135, 5, .20) !important;
}
body.bf-theme-dark .woocommerce-MyAccount-orders .woocommerce-button.button.view,
body.bf-theme-dark .woocommerce-MyAccount-orders .woocommerce-button.button.reorder,
body.bf-theme-dark .woocommerce-MyAccount-orders .woocommerce-button.button.reorder.order-actions-button,
body.bf-theme-dark .woocommerce table.my_account_orders .button.view,
body.bf-theme-dark .woocommerce table.my_account_orders .button.reorder {
	background: transparent !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-accent, #f28705) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .15) !important;
}
body.bf-theme-dark .woocommerce-MyAccount-orders .woocommerce-button.button.view:hover,
body.bf-theme-dark .woocommerce-MyAccount-orders .woocommerce-button.button.reorder:hover,
body.bf-theme-dark .woocommerce-MyAccount-orders .woocommerce-button.button.reorder.order-actions-button:hover,
body.bf-theme-dark .woocommerce table.my_account_orders .button.view:hover,
body.bf-theme-dark .woocommerce table.my_account_orders .button.reorder:hover {
	background: rgba(242, 135, 5, .14) !important;
	border-color: var(--bf-accent, #f28705) !important;
	color: var(--bf-accent, #f28705) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 8px 22px rgba(242, 135, 5, .35), 0 2px 6px rgba(0, 0, 0, .25) !important;
}

/* 8. View-order page: hide redundant .order-again, apply outline ghost to .reorder.order-actions-button
 *    at .order-again's previous size (10px 18px padding, 10px radius). */
body.woocommerce-view-order .order-again,
.woocommerce-account .woocommerce-MyAccount-content .order-again {
	display: none !important;
}

.woocommerce-button.button.reorder.order-actions-button {
	background: transparent !important;
	background-image: none !important;
	border: 1px solid var(--bf-line, #e7e7e7) !important;
	border-radius: 10px !important;
	padding: 10px 18px !important;
	color: var(--bf-accent, #f28705) !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04) !important;
	transform: none !important;
	transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .22s ease, transform .18s ease !important;
}
.woocommerce-button.button.reorder.order-actions-button:hover {
	background: rgba(242, 135, 5, .08) !important;
	border-color: var(--bf-accent, #f28705) !important;
	color: var(--bf-accent, #f28705) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 16px rgba(242, 135, 5, .25), 0 2px 5px rgba(15, 23, 42, .06) !important;
}
.woocommerce-button.button.reorder.order-actions-button:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 6px rgba(242, 135, 5, .20) !important;
}
body.bf-theme-dark .woocommerce-button.button.reorder.order-actions-button {
	background: transparent !important;
	border-color: var(--bf-line) !important;
	color: var(--bf-accent, #f28705) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .15) !important;
}
body.bf-theme-dark .woocommerce-button.button.reorder.order-actions-button:hover {
	background: rgba(242, 135, 5, .14) !important;
	border-color: var(--bf-accent, #f28705) !important;
	color: var(--bf-accent, #f28705) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 8px 22px rgba(242, 135, 5, .35), 0 2px 6px rgba(0, 0, 0, .25) !important;
}

/* On orders LIST page, keep .reorder.order-actions-button at the SMALL outline ghost size */
.woocommerce-MyAccount-orders .woocommerce-button.button.reorder.order-actions-button,
.woocommerce table.my_account_orders .button.reorder.order-actions-button {
	border-radius: 8px !important;
	padding: 6px 14px !important;
	font-size: 13px !important;
}

/* 9. Add resting shadow + hover glow/lift to:
 *    - .buttons-wrapper .button.checkout/.cart (added-to-cart notice actions)
 *    - .incarca-reveal-btn (Incarca PIN reveal, absolute-positioned with translate(-50%,-50%))
 *    - .bf-thankyou-order-no (thank-you page order number pill) */

.buttons-wrapper {
	display: flex !important;
	gap: 14px !important;
	flex-wrap: wrap !important;
}
.buttons-wrapper .button.checkout,
.buttons-wrapper .button.cart {
	box-shadow: 0 2px 6px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04) !important;
	transition: box-shadow .22s ease, transform .18s ease, background .18s ease !important;
}
.buttons-wrapper .button.checkout:hover,
.buttons-wrapper .button.cart:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 8px 22px rgba(242, 135, 5, .35), 0 2px 5px rgba(15, 23, 42, .08) !important;
}
.buttons-wrapper .button.checkout:active,
.buttons-wrapper .button.cart:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 6px rgba(242, 135, 5, .20) !important;
}
body.bf-theme-dark .buttons-wrapper .button.checkout,
body.bf-theme-dark .buttons-wrapper .button.cart {
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .15) !important;
}
body.bf-theme-dark .buttons-wrapper .button.checkout:hover,
body.bf-theme-dark .buttons-wrapper .button.cart:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 10px 28px rgba(242, 135, 5, .50), 0 0 0 1px rgba(242, 135, 5, .25), 0 4px 10px rgba(0, 0, 0, .25) !important;
}

/* Incarca PIN reveal button (uses translate(-50%,-50%) inline -> use scale for relief) */
.incarca-reveal-btn {
	transition: box-shadow .22s ease, transform .18s ease, background .18s ease !important;
}
.incarca-reveal-btn:hover {
	transform: translate(-50%, -50%) scale(1.05) !important;
	box-shadow: 0 8px 24px rgba(242, 135, 5, .42), 0 0 0 2px rgba(242, 135, 5, .22) !important;
}
.incarca-reveal-btn:active {
	transform: translate(-50%, -50%) scale(1) !important;
	box-shadow: 0 2px 8px rgba(242, 135, 5, .25) !important;
}
body.bf-theme-dark .incarca-reveal-btn {
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35) !important;
}
body.bf-theme-dark .incarca-reveal-btn:hover {
	box-shadow: 0 10px 28px rgba(242, 135, 5, .55), 0 0 0 2px rgba(242, 135, 5, .35) !important;
}

/* Thank-you hero - 3 unified elements (order-no pill, hint pill, recheck/new-order CTA buttons)
 * All follow same pattern: resting shadow + transition + lift -1px on hover + brand glow + active state */
.bf-thankyou-hero .bf-thankyou-order-no {
	box-shadow: 0 2px 6px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04) !important;
	transition: box-shadow .22s ease, transform .18s ease, background .18s ease !important;
	cursor: default;
}
.bf-thankyou-hero .bf-thankyou-order-no:hover {
	transform: translateY(-1px) !important;
	background: rgba(242, 135, 5, .18) !important;
	box-shadow: 0 8px 22px rgba(242, 135, 5, .38), 0 0 0 3px rgba(242, 135, 5, .15) !important;
}
.bf-thankyou-hero .bf-thankyou-order-no:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 6px rgba(242, 135, 5, .20) !important;
}
body.bf-theme-dark .bf-thankyou-hero .bf-thankyou-order-no {
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .15) !important;
}
body.bf-theme-dark .bf-thankyou-hero .bf-thankyou-order-no:hover {
	background: rgba(242, 135, 5, .22) !important;
	box-shadow: 0 10px 28px rgba(242, 135, 5, .55), 0 0 0 3px rgba(242, 135, 5, .25), 0 4px 10px rgba(0, 0, 0, .25) !important;
}

/* Reload + New-order CTA buttons (inline-styled in PHP, hover/active needs CSS rule) */
.bf-thankyou-recheck,
.bf-thankyou-new-order {
	transition: box-shadow .22s ease, transform .18s ease, background .18s ease !important;
}
.bf-thankyou-recheck:hover,
.bf-thankyou-new-order:hover {
	background: #d97600 !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 8px 22px rgba(242, 135, 5, .42), 0 0 0 3px rgba(242, 135, 5, .18) !important;
}
.bf-thankyou-recheck:active,
.bf-thankyou-new-order:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 6px rgba(242, 135, 5, .25) !important;
}
body.bf-theme-dark .bf-thankyou-recheck,
body.bf-theme-dark .bf-thankyou-new-order {
	box-shadow: 0 4px 12px rgba(242, 135, 5, .35), 0 0 0 1px rgba(242, 135, 5, .15) !important;
}
body.bf-theme-dark .bf-thankyou-recheck:hover,
body.bf-theme-dark .bf-thankyou-new-order:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 10px 28px rgba(242, 135, 5, .55), 0 0 0 3px rgba(242, 135, 5, .30), 0 4px 10px rgba(0, 0, 0, .25) !important;
}

/* Incarca hero logo - bumped relief, identical value in light + dark mode */
.incarca-hero-logo {
	box-shadow: 0 12px 32px rgba(0, 0, 0, .18), 0 4px 12px rgba(0, 0, 0, .10) !important;
}

/* Incarca supplier cards on /carduri-jocuri/ etc. - match .incarca-two-col .incarca-card
 * resting + hover + active relief/shadow pattern. Both reference + supplier cards now
 * gain a resting shadow so they look properly elevated, with strengthened hover/active. */
.incarca-two-col .incarca-card,
.incarca-three-col .incarca-card,
.incarca-service-card,
.incarca-mini-card {
	box-shadow: 0 4px 12px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04) !important;
}
.incarca-two-col .incarca-card:hover,
.incarca-three-col .incarca-card:hover,
.incarca-service-card:hover,
.incarca-mini-card:hover {
	box-shadow: 0 12px 28px rgba(31, 115, 242, .18), 0 4px 10px rgba(15, 23, 42, .08) !important;
	transform: translateY(-2px) !important;
}
.incarca-two-col .incarca-card.active,
.incarca-three-col .incarca-card.active,
.incarca-service-card.active,
.incarca-mini-card.active {
	box-shadow: 0 14px 36px rgba(31, 115, 242, .32), 0 6px 14px rgba(15, 23, 42, .12) !important;
}
body.bf-theme-dark .incarca-two-col .incarca-card,
body.bf-theme-dark .incarca-three-col .incarca-card,
body.bf-theme-dark .incarca-service-card,
body.bf-theme-dark .incarca-mini-card {
	box-shadow: 0 4px 12px rgba(0, 0, 0, .35), 0 1px 3px rgba(0, 0, 0, .20) !important;
}
body.bf-theme-dark .incarca-two-col .incarca-card:hover,
body.bf-theme-dark .incarca-three-col .incarca-card:hover,
body.bf-theme-dark .incarca-service-card:hover,
body.bf-theme-dark .incarca-mini-card:hover {
	box-shadow: 0 14px 32px rgba(31, 115, 242, .35), 0 4px 12px rgba(0, 0, 0, .35) !important;
}
body.bf-theme-dark .incarca-two-col .incarca-card.active,
body.bf-theme-dark .incarca-three-col .incarca-card.active,
body.bf-theme-dark .incarca-service-card.active,
body.bf-theme-dark .incarca-mini-card.active {
	box-shadow: 0 16px 40px rgba(31, 115, 242, .50), 0 6px 16px rgba(0, 0, 0, .40) !important;
}

/* 10. Incarca voucher download buttons - match .bf-pki-btn-primary look (green CTA),
 *     plus relief + glow on hover. Inline class is just "button"; we override via
 *     section scope. */
.incarca-voucher-download .button,
section.incarca-voucher-download a.button {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 10px 18px !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	text-decoration: none !important;
	border: 1px solid #2d8c3a !important;
	background: #2d8c3a !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(45, 140, 58, .25) !important;
	transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .22s ease !important;
	cursor: pointer !important;
}
.incarca-voucher-download .button:hover,
section.incarca-voucher-download a.button:hover {
	background: #246e2c !important;
	border-color: #246e2c !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 8px 22px rgba(45, 140, 58, .42), 0 0 0 3px rgba(45, 140, 58, .18) !important;
}
.incarca-voucher-download .button:active,
section.incarca-voucher-download a.button:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 6px rgba(45, 140, 58, .25) !important;
}
body.bf-theme-dark .incarca-voucher-download .button,
body.bf-theme-dark section.incarca-voucher-download a.button {
	box-shadow: 0 4px 12px rgba(45, 140, 58, .35), 0 0 0 1px rgba(45, 140, 58, .15) !important;
}
body.bf-theme-dark .incarca-voucher-download .button:hover,
body.bf-theme-dark section.incarca-voucher-download a.button:hover {
	background: #246e2c !important;
	border-color: var(--bf-cta, #3BB54A) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 10px 28px rgba(45, 140, 58, .55), 0 0 0 1px rgba(45, 140, 58, .35), 0 4px 10px rgba(0, 0, 0, .25) !important;
}

/* ═════════════════════════════════════════════════════════════════════════
 * Wave 13 - strengthen update-cart, mirror Finalizare, polish checkout icon
 * ═════════════════════════════════════════════════════════════════════════ */

/* 1. Update Cart - stronger green halo + clear lift on hover */
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"],
.woocommerce-cart .actions button.button[name="update_cart"],
.woocommerce-cart .actions button[name="update_cart"]:not(:disabled) {
	box-shadow: 0 0 0 1px rgba(59, 181, 74, .22),
	            0 10px 26px rgba(59, 181, 74, .25),
	            0 3px 8px rgba(15, 23, 42, .08) !important;
	transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s ease, background .2s ease, filter .2s ease !important;
	position: relative;
	z-index: 1;
}
.woocommerce-cart button[name="update_cart"]:hover:not(:disabled),
.woocommerce-cart input[name="update_cart"]:hover:not(:disabled) {
	transform: translateY(-3px) !important;
	box-shadow: 0 0 0 1px rgba(59, 181, 74, .55),
	            0 18px 42px rgba(59, 181, 74, .45),
	            0 6px 14px rgba(15, 23, 42, .12) !important;
	filter: brightness(1.04);
}
body.bf-theme-dark .woocommerce-cart button[name="update_cart"],
body.bf-theme-dark .woocommerce-cart input[name="update_cart"] {
	box-shadow: 0 0 0 1px rgba(59, 181, 74, .4),
	            0 12px 30px rgba(59, 181, 74, .35),
	            0 3px 8px rgba(0, 0, 0, .35) !important;
}
body.bf-theme-dark .woocommerce-cart button[name="update_cart"]:hover:not(:disabled),
body.bf-theme-dark .woocommerce-cart input[name="update_cart"]:hover:not(:disabled) {
	box-shadow: 0 0 0 1px var(--bf-primary, #3BB54A),
	            0 22px 48px rgba(59, 181, 74, .55),
	            0 6px 14px rgba(0, 0, 0, .45) !important;
}

/* 2. Sidebar cart "Finalizare" - IDENTICAL look + behavior to /cart/ checkout */
.widget_shopping_cart a.button.checkout,
.widget_shopping_cart a.button.checkout.wc-forward,
.shoptimizer-mini-cart-wrap a.button.checkout,
body.bf-theme-dark .widget_shopping_cart a.button.checkout,
body.bf-theme-dark .shoptimizer-mini-cart-wrap a.button.checkout {
	background: var(--bf-primary, #3BB54A) !important;
	background-image: none !important;
	color: #fff !important;
	border: none !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	padding: 16px 28px !important;
	border-radius: 14px !important;
	letter-spacing: .01em !important;
	text-shadow: none !important;
	width: 100% !important;
	box-shadow: 0 8px 22px rgba(59, 181, 74, .35), 0 2px 6px rgba(0, 0, 0, .12) !important;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.widget_shopping_cart a.button.checkout:hover,
.shoptimizer-mini-cart-wrap a.button.checkout:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 12px 30px rgba(59, 181, 74, .5), 0 4px 10px rgba(0, 0, 0, .18) !important;
	filter: brightness(1.06) !important;
	color: #fff !important;
}
body.bf-theme-dark .widget_shopping_cart a.button.checkout {
	box-shadow: 0 0 0 1px rgba(59, 181, 74, .25), 0 14px 34px rgba(59, 181, 74, .42), 0 4px 12px rgba(0, 0, 0, .3) !important;
}
body.bf-theme-dark .widget_shopping_cart a.button.checkout:hover {
	box-shadow: 0 0 0 1px var(--bf-primary, #3BB54A), 0 20px 44px rgba(59, 181, 74, .55), 0 6px 16px rgba(0, 0, 0, .4) !important;
}

/* 3. Hide checkout icon when wrapper carries .is-hidden (no items / on checkout) */
.bf-checkout-icon-wrap.is-hidden {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
}

/* 4. Harmonize checkout icon size with my-account icon (cart keeps its amount + icon) */
.bf-checkout-icon,
.shoptimizer-myaccount.bf-myaccount a {
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	box-sizing: border-box;
}
@media (max-width: 992px) {
	.bf-checkout-icon,
	.shoptimizer-myaccount.bf-myaccount a {
		width: 36px !important;
		height: 36px !important;
	}
}

/* ═════════════════════════════════════════════════════════════════════════
 * jQuery BlockUI loading overlay - adapt to dark mode
 * (used by WC checkout when updating order review, applying coupons, etc.)
 * ═════════════════════════════════════════════════════════════════════════ */

.blockUI.blockOverlay {
	background: rgba(255, 255, 255, .55) !important;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	border-radius: 18px !important;
	transition: background .2s ease;
}
.blockUI.blockMsg.blockElement {
	background: transparent !important;
	border: none !important;
}

/* Brand-colored spinner replacement */
.blockUI.blockOverlay::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 3px solid rgba(242, 135, 5, .25);
	border-top-color: var(--bf-accent);
	border-radius: 50%;
	animation: bfBlockSpin .85s linear infinite;
}
@keyframes bfBlockSpin {
	to { transform: rotate(360deg); }
}

/* Dark mode: deep semi-transparent backdrop with soft accent spinner */
body.bf-theme-dark .blockUI.blockOverlay {
	background: rgba(13, 15, 20, .65) !important;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
body.bf-theme-dark .blockUI.blockOverlay::after {
	border-color: rgba(242, 135, 5, .35);
	border-top-color: var(--bf-accent);
}


/* Cart page checkout-bar - draw the connecting line on EVERY non-last step
   (Shoptimizer only paints the line on .active by default, leaving a gap
   between "Shipping and Checkout" and "Confirmation" on the cart page). */
.woocommerce-cart ul.checkout-bar li:not(:last-child):after {
	position: absolute;
	z-index: 0;
	top: -22px;
	left: 50%;
	width: 100%;
	height: 2px;
	background-color: #ccc;
	background-size: 35px 35px;
	content: "";
}
.woocommerce-cart ul.checkout-bar li.active:after {
	background-color: #3bb54a;
}
body.bf-theme-dark.woocommerce-cart ul.checkout-bar li:not(:last-child):after {
	background-color: var(--bf-line);
}
body.bf-theme-dark.woocommerce-cart ul.checkout-bar li.active:after {
	background-color: var(--bf-primary, #3BB54A);
}


/* Nudge cart_totals to align with products card on /cart/ */
@media (min-width: 769px) {
	body.woocommerce-cart .cart-collaterals,
	body.woocommerce-cart .cart-collaterals .cart_totals {
		margin-top: 11px !important;
	}
}

/* ═════════════════════════════════════════════════════════════════════════
 * /shop/ - optimize how product brand logos display inside cards
 * ═════════════════════════════════════════════════════════════════════════ */

/* Outer: holds aspect-ratio + white plate. Inner: just centers the image.
   The middle .shoptimizer-plp-carousel-container is collapsed (no styling). */
ul.products li.product .woocommerce-image__wrapper {
	background: #fff !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	aspect-ratio: 1 / 1 !important;
	display: block !important;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, .06);
	border-radius: 10px;
}
ul.products li.product .shoptimizer-plp-carousel-container {
	background: transparent !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	display: block !important;
}
ul.products li.product .shoptimizer-plp-image-wrapper {
	background: transparent !important;
	padding: 22px !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: none !important;
}

/* Image: contain (no cropping), centered, max 100%. No transform on hover -
   neighbouring cards would overlap. Brightness + tiny lift instead. */
ul.products li.product .shoptimizer-plp-image-wrapper img,
ul.products li.product .shoptimizer-plp-carousel-container img,
ul.products li.product img.attachment-woocommerce_thumbnail,
ul.products li.product img.incarca-product-image {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	-o-object-fit: contain !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 auto !important;
	transition: filter .25s ease, transform .25s ease;
}
ul.products li.product:hover .shoptimizer-plp-image-wrapper img,
ul.products li.product:hover img.attachment-woocommerce_thumbnail,
ul.products li.product:hover img.incarca-product-image,
ul.products li.product:focus-within .shoptimizer-plp-image-wrapper img,
ul.products li.product:focus-within img.attachment-woocommerce_thumbnail,
ul.products li.product:focus-within img.incarca-product-image {
	filter: brightness(1.08) saturate(1.12);
}

/* Whole card lift - predictable, contained inside the row gap */
ul.products li.product {
	transition: transform .22s cubic-bezier(.4, 0, .2, 1), box-shadow .22s ease, z-index 0s;
	will-change: transform;
}
ul.products li.product:hover,
ul.products li.product:focus-within {
	transform: translateY(-4px);
	z-index: 5;
}
/* Wrappers must clip any inner overflow so nothing bleeds out */
ul.products li.product .woocommerce-image__wrapper,
ul.products li.product .shoptimizer-plp-image-wrapper {
	overflow: hidden;
}

/* Dark mode - only the outer wrapper carries the light plate */
body.bf-theme-dark ul.products li.product .woocommerce-image__wrapper {
	background: #d8dde6 !important;
	border-bottom: 1px solid rgba(0, 0, 0, .18) !important;
}
body.bf-theme-dark ul.products li.product .shoptimizer-plp-carousel-container,
body.bf-theme-dark ul.products li.product .shoptimizer-plp-image-wrapper {
	background: transparent !important;
	border: none !important;
}

/* /shop/ - no accent band at the top */
ul.products.columns-3 li.product { position: relative; }
ul.products.columns-3 li.product::before { display: none !important; }
ul.products.columns-3 li.product .woocommerce-image__wrapper {
	margin-top: 0 !important;
}
ul.products.columns-3 li.product .shoptimizer-plp-image-wrapper {
	padding: 16px !important;
}

/* Hover treatment - accent hairline under image + title color shift */
ul.products.columns-3 li.product .woocommerce-image__wrapper {
	position: relative;
}
ul.products.columns-3 li.product .woocommerce-image__wrapper::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	height: 2px;
	background: var(--bf-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
ul.products.columns-3 li.product:hover .woocommerce-image__wrapper::after,
ul.products.columns-3 li.product:focus-within .woocommerce-image__wrapper::after {
	transform: scaleX(1);
}
ul.products.columns-3 li.product .woocommerce-loop-product__title,
ul.products.columns-3 li.product .woocommerce-loop-product__title a {
	transition: color .22s ease;
}
ul.products.columns-3 li.product:hover .woocommerce-loop-product__title,
ul.products.columns-3 li.product:hover .woocommerce-loop-product__title a {
	color: var(--bf-accent) !important;
}

/* Extra 10px breathing room below "Adaugă în coș" button on product cards */
ul.products li.product .add_to_cart_button,
ul.products li.product .added_to_cart {
	margin-bottom: 10px !important;
}
ul.products li.product { padding-bottom: 10px !important; }

/* Card frame - mirrors front-page .bf-service-card (radius/border/hover) */
ul.products li.product {
	border-radius: 14px !important;
	border: 1px solid var(--bf-line) !important;
	box-shadow: var(--bf-shadow-sm);
	overflow: hidden;
	background: var(--bf-surface);
	padding: 12px 12px 0 !important;
	box-sizing: border-box !important;
}
ul.products li.product:hover,
ul.products li.product:focus-within {
	border-color: var(--bf-accent) !important;
	box-shadow: 0 14px 32px var(--bf-accent-tint), 0 4px 8px rgba(15, 23, 42, .06) !important;
}
ul.products.columns-3 li.product::after {
	border-radius: 0 0 14px 14px;
}

/* "Începe →" CTA - text-only, mirrors front-page .bf-service-cta */
ul.products li.product .woocommerce-card__header {
	padding-bottom: 14px !important;
	text-align: center;
}
ul.products li.product a.bf-shop-cta {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	margin: 10px auto 4px !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	color: var(--bf-accent) !important;
	font-weight: 700 !important;
	font-size: .9rem !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: transform .15s ease, color .15s ease !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	z-index: 3 !important;
}
ul.products li.product a.bf-shop-cta .bf-shop-cta-arrow {
	display: inline-block;
	transition: transform .15s ease;
}
ul.products li.product:hover a.bf-shop-cta,
ul.products li.product:focus-within a.bf-shop-cta {
	transform: none !important;
	filter: brightness(1.08);
}
ul.products li.product:hover a.bf-shop-cta .bf-shop-cta-arrow,
ul.products li.product:focus-within a.bf-shop-cta .bf-shop-cta-arrow {
	transform: translateX(3px);
}

/* Price stays above the button in dom-flow */
ul.products li.product .price,
ul.products li.product .woocommerce-Price-amount {
	position: relative !important;
	z-index: 2 !important;
}

/* Reduce space below the image, tighten the card body for a compact look */
ul.products.columns-3 li.product .woocommerce-card__header {
	padding-top: 10px !important;
}
ul.products.columns-3 li.product .woocommerce-loop-product__title {
	margin: 4px 0 6px !important;
	font-size: 14.5px !important;
	line-height: 1.3 !important;
}
ul.products.columns-3 li.product .price {
	margin: 0 0 2px !important;
	font-size: 14px !important;
}
ul.products.columns-3 li.product .product__categories {
	margin: 0 0 2px !important;
	font-size: 11px !important;
	letter-spacing: .04em !important;
	text-transform: uppercase !important;
}
ul.products li.product { padding-bottom: 4px !important; }

/* Breathing room between product rows on /shop/ */
ul.products.columns-3 li.product {
	margin-bottom: 14px !important;
}
@media (min-width: 993px) {
	ul.products.columns-3,
	ul.products.columns-4 {
		display: grid !important;
		gap: 1.5rem !important;
		float: none !important;
	}
	ul.products.columns-3 { grid-template-columns: repeat(3, 1fr) !important; }
	ul.products.columns-4 { grid-template-columns: repeat(4, 1fr) !important; }
	ul.products.columns-3 li.product,
	ul.products.columns-4 li.product {
		float: none !important;
		width: auto !important;
		margin: 0 !important;
	}
}
@media (max-width: 992px) {
	ul.products {
		column-gap: 16px !important;
		row-gap: 20px !important;
	}
}

/* ─────────────────────────────────────────────────────────────────
   Cart button - circular basket icon, mirrors .bf-myaccount exactly.
   The wrapper is a fixed 40×40 inline box so its center never shifts
   when the count badge appears (badge sits absolute outside the circle
   without affecting layout). Outline when cart is empty, filled +
   accent count badge when items present. Driven by data-cart-count.
   ───────────────────────────────────────────────────────────────── */
.shoptimizer-cart {
	position: relative !important;
	display: inline-block !important;
	vertical-align: middle !important;
	width: 40px !important;
	height: 40px !important;
	line-height: 1 !important;
	margin: 0 0 0 14px !important;
	z-index: 5;
}
.shoptimizer-cart .cart-contents {
	position: absolute !important;
	inset: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	color: var(--bf-accent) !important;
	background: rgba(242, 135, 5, .10) !important;
	transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
}
.shoptimizer-cart .cart-contents:hover {
	color: #fff !important;
	background: var(--bf-accent) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(242, 135, 5, .35);
}
.shoptimizer-cart .bf-cart-icon {
	width: 24px !important;
	height: 24px !important;
	stroke: currentColor !important;
	display: block !important;
	flex-shrink: 0;
}
.shoptimizer-cart .bf-cart-icon path {
	transition: fill .15s ease;
}
.shoptimizer-cart[data-cart-count="0"] .bf-cart-icon path {
	fill: none;
}
.shoptimizer-cart:not([data-cart-count="0"]):not([data-cart-count=""]) .bf-cart-icon path {
	fill: currentColor;
	fill-opacity: .18;
}

/* Hide native amount + count text - we render our own badge */
.shoptimizer-cart .amount {
	display: none !important;
}
.shoptimizer-cart[data-cart-count="0"] .count {
	display: none !important;
}

/* Filled state - count becomes a small accent badge top-right */
.shoptimizer-cart:not([data-cart-count="0"]):not([data-cart-count=""]) .count {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 18px !important;
	height: 18px !important;
	padding: 0 5px !important;
	background: var(--bf-accent) !important;
	color: #fff !important;
	border: 2px solid var(--bf-surface) !important;
	border-radius: 999px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	position: absolute !important;
	top: -4px !important;
	right: -4px !important;
	box-shadow: 0 2px 6px rgba(242, 135, 5, .35);
	z-index: 2;
}
.shoptimizer-cart:not([data-cart-count="0"]):not([data-cart-count=""]) .count::after {
	display: none !important;
}

/* Dark mode - matches my-account dark recipe */
body.bf-theme-dark .shoptimizer-cart .cart-contents {
	color: var(--bf-accent) !important;
	background: rgba(242, 135, 5, .14) !important;
}
body.bf-theme-dark .shoptimizer-cart .cart-contents:hover {
	color: #fff !important;
	background: var(--bf-accent) !important;
}

@media (max-width: 992px) {
	.shoptimizer-cart {
		width: 34px !important;
		height: 34px !important;
		margin-left: 6px !important;
	}
	.shoptimizer-cart .cart-contents { width: 34px !important; height: 34px !important; }
	.shoptimizer-cart .bf-cart-icon { width: 22px !important; height: 22px !important; }
}

/* ─────────────────────────────────────────────────────────────────
   Summary panel (Rezumat) - at rest, mirrors the incarca-card relief
   in both light and dark modes. Populated state ( :has(.inc-sum-logo) )
   uses the same accent glow intensity as the incarca choice cards on
   hover, never stronger. The main incarca-card is untouched.
   ───────────────────────────────────────────────────────────────── */
.incarca-summary {
	box-shadow:
		0 12px 32px rgba(15, 23, 42, .10),
		0 4px 10px rgba(15, 23, 42, .06),
		0 0 0 1px rgba(15, 23, 42, .015) !important;
	transition: box-shadow .3s ease, transform .3s ease !important;
}
body.bf-theme-dark .incarca-summary {
	box-shadow: var(--bf-shadow-md) !important;
}
.incarca-summary:has(.inc-sum-logo) {
	transform: translateY(-2px) !important;
	box-shadow:
		0 8px 18px var(--bf-accent-tint),
		0 2px 5px rgba(15, 23, 42, .05) !important;
}
body.bf-theme-dark .incarca-summary:has(.inc-sum-logo) {
	box-shadow:
		0 12px 28px var(--bf-accent-tint),
		0 4px 10px rgba(0, 0, 0, .25) !important;
}

/* ─────────────────────────────────────────────────────────────────
   Single product wc-tabs bar - full-width, content vertically
   centered, active underline doesn't touch the bottom edge.
   ───────────────────────────────────────────────────────────────── */
.woocommerce-tabs.wc-tabs-wrapper {
	width: 100% !important;
	max-width: 100% !important;
}
.woocommerce-tabs ul.tabs.wc-tabs {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 56px !important;
	border-bottom: 1px solid var(--bf-line);
	background: var(--bf-surface);
	box-sizing: border-box !important;
}
.woocommerce-tabs ul.tabs.wc-tabs li {
	display: inline-flex !important;
	align-items: center !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
}
.woocommerce-tabs ul.tabs.wc-tabs li > a {
	display: inline-flex !important;
	align-items: center !important;
	padding: 14px 24px !important;
	line-height: 1.2 !important;
}
.woocommerce-tabs ul.tabs.wc-tabs li a:after {
	top: auto !important;
	bottom: 6px !important;
	left: 24px !important;
	width: calc(100% - 48px) !important;
}
.woocommerce-tabs ul.tabs.wc-tabs li#tab-title-reviews a:after {
	width: calc(100% - 78px) !important;
}
body.bf-theme-dark .woocommerce-tabs ul.tabs.wc-tabs {
	background: var(--bf-surface) !important;
	border-bottom-color: var(--bf-line) !important;
}

/* ─────────────────────────────────────────────────────────────────
   Single product page (NON-Incarca, e.g. ppay /digi-italia/) -
   shrink the gallery to a 340px card so the right side has more
   room for the order form. Matches /shop/ card aesthetic.
   ───────────────────────────────────────────────────────────────── */
@media (min-width: 993px) {
	body.single-product:not(.incarca-product) .product-details-wrapper {
		display: grid !important;
		grid-template-columns: 340px minmax(0, 1fr) !important;
		gap: 24px !important;
		overflow: visible !important;
	}
	body.single-product:not(.incarca-product) .product .woocommerce-product-gallery,
	body.single-product:not(.incarca-product) .product .product-details-wrapper .images {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		padding: 14px !important;
		background: var(--bf-surface) !important;
		border: 1px solid var(--bf-line) !important;
		border-radius: 14px !important;
		box-shadow: var(--bf-shadow-sm) !important;
		box-sizing: border-box !important;
	}
	body.single-product:not(.incarca-product) .product .summary,
	body.single-product:not(.incarca-product) .product .product-details-wrapper .summary {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
	}
	body.single-product:not(.incarca-product) .woocommerce-product-gallery img.wp-post-image,
	body.single-product:not(.incarca-product) .woocommerce-product-gallery__image img {
		max-width: 300px !important;
		width: 100% !important;
		height: auto !important;
		display: block !important;
		margin: 0 auto !important;
		border-radius: 10px !important;
	}
}

/* Single product (non-Incarca) - mobile: small centered gallery card */
@media (max-width: 992px) {
	body.single-product:not(.incarca-product) .product .woocommerce-product-gallery,
	body.single-product:not(.incarca-product) .product .product-details-wrapper .images {
		max-width: 280px !important;
		margin: 0 auto 24px !important;
		padding: 12px !important;
		background: var(--bf-surface) !important;
		border: 1px solid var(--bf-line) !important;
		border-radius: 14px !important;
		box-shadow: var(--bf-shadow-sm) !important;
		box-sizing: border-box !important;
		float: none !important;
		width: auto !important;
	}
	body.single-product:not(.incarca-product) .woocommerce-product-gallery img.wp-post-image,
	body.single-product:not(.incarca-product) .woocommerce-product-gallery__image img {
		max-width: 240px !important;
		width: 100% !important;
		height: auto !important;
		display: block !important;
		margin: 0 auto !important;
		border-radius: 10px !important;
	}
}

/* SEO P1 #1 - hide sidebar widgets on shop & product archives. The default
   widgets (Articole recente, Comentarii, Arhive, Categorii) inject H2 noise
   that confuses Google's H1→H2 hierarchy + are irrelevant for an e-shop. */
body.archive.woocommerce #secondary,
body.post-type-archive-product #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
	display: none !important;
}
body.archive.woocommerce .content-area,
body.post-type-archive-product .content-area,
body.tax-product_cat .content-area,
body.tax-product_tag .content-area {
	width: 100% !important;
}
