:root {
	--bhzb-accent: #111111;
	--bhzb-accent-dark: #000000;
	--bhzb-surface: #ffffff;
	--bhzb-border: #e8e8e8;
	--bhzb-ink: #1f1f1f;
	--bhzb-muted: #666666;
	--bhzb-shadow: 0 14px 38px rgba(0, 0, 0, 0.06);
}

.bhzb-page {
	color: var(--bhzb-ink);
	font-family: "Segoe UI", Arial, sans-serif;
}

body.bhzb-product-page .woocommerce-product-gallery,
body.bhzb-product-page .woocommerce-product-gallery__wrapper,
body.bhzb-product-page .woocommerce-product-gallery__image,
body.bhzb-product-page .woocommerce-tabs,
body.bhzb-product-page .related.products,
body.bhzb-product-page .up-sells,
body.bhzb-product-page .product_meta,
body.bhzb-product-page .wc-tabs-wrapper,
body.bhzb-product-page .woocommerce-variation-add-to-cart,
body.bhzb-product-page .wcpay-payment-request-wrapper,
body.bhzb-product-page .wc-stripe-product-checkout-container,
body.bhzb-product-page .wc-stripe-product-checkout-wrapper,
body.bhzb-product-page .payment-request-button,
body.bhzb-product-page .cart .quantity,
body.bhzb-product-page form.cart:not(.bhzb-form) {
	display: none !important;
}

body.bhzb-product-page .single-product div.product,
body.bhzb-product-page .type-product,
body.bhzb-product-page div.product div.summary,
body.bhzb-product-page .site-main div.product div.summary {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	max-width: 1180px;
}

body.bhzb-product-page .single-product div.product,
body.bhzb-product-page .type-product {
	max-width: 1180px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.bhzb-product-page div.product,
body.bhzb-product-page .site-main div.product {
	display: block !important;
}

body.bhzb-product-page .summary.entry-summary,
body.bhzb-product-page .entry-summary {
	width: 100% !important;
	max-width: 1180px;
	float: none !important;
	clear: both;
	margin: 0 auto !important;
}

body.bhzb-product-page .woocommerce-notices-wrapper,
body.bhzb-product-page .product.type-product {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

body.bhzb-product-page .bhzb-page {
	max-width: 1180px;
	margin: 0 auto;
}

.bhzb-breadcrumbs {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: #8a8a8a;
	font-size: 0.88rem;
}

.bhzb-layout {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(340px, 420px);
	gap: 2.5rem;
	align-items: start;
}

.bhzb-gallery,
.bhzb-summary {
	background: var(--bhzb-surface);
}

.bhzb-gallery {
	padding: 0;
}

.bhzb-summary {
	padding: 0.5rem 0 0;
	position: sticky;
	top: 2rem;
}

.bhzb-kicker {
	margin: 0 0 0.35rem;
	color: #111111;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bhzb-price-stack {
	margin: 0.8rem 0 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--bhzb-border);
}

.bhzb-price-stack .price {
	font-size: clamp(2rem, 3vw, 2.6rem);
	font-weight: 700;
	line-height: 1;
	color: #111111;
}

.bhzb-price-note,
.bhzb-intro,
.bhzb-helper {
	color: var(--bhzb-muted);
}

/* ── Main preview scene ──────────────────────────────────────────────────── */

.bhzb-room-scene {
	position: relative; /* required for fade overlay children */
	min-height: 760px;
	border: 1px solid var(--bhzb-border);
	border-radius: 6px;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: var(--bhzb-shadow);
}

/* ── Swatch grid ─────────────────────────────────────────────────────────── */

.bhzb-fabric-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
	gap: 0.8rem;
	margin-top: 1rem;
}

.bhzb-swatch {
	display: grid;
	gap: 0.4rem;
	padding: 0.45rem;
	border: 1px solid var(--bhzb-border);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bhzb-swatch:hover,
.bhzb-swatch:focus-visible,
.bhzb-swatch.is-active {
	border-color: var(--bhzb-accent);
	box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.15);
}

/* Plain fabric image chip — no overlay or mask effects */
.bhzb-swatch-chip {
	height: 94px;
	border-radius: 2px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px solid #efefef;
}

.bhzb-swatch-label {
	font-weight: 600;
	font-size: 0.82rem;
	color: #404040;
}

/* ── Form fields ─────────────────────────────────────────────────────────── */

.bhzb-fieldset {
	margin-bottom: 1.1rem;
}

.bhzb-label {
	display: block;
	margin-bottom: 0.45rem;
	font-weight: 700;
	font-size: 0.96rem;
}

.bhzb-choice-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.bhzb-choice {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--bhzb-border);
	border-radius: 4px;
	background: #fff;
}

.bhzb-input {
	width: 100%;
	padding: 0.78rem 0.95rem;
	border: 1px solid var(--bhzb-border);
	border-radius: 4px;
	font: inherit;
	background: #fff;
}

.bhzb-measurements {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.bhzb-motor-options {
	margin: 0 0 1rem;
	padding: 1rem;
	border: 1px solid var(--bhzb-border);
	border-radius: 4px;
	background: #fafafa;
}

.bhzb-check {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-weight: 500;
}

.bhzb-breakdown {
	display: grid;
	gap: 0.7rem;
	padding: 1rem 1.1rem;
	margin: 1.25rem 0;
	border-radius: 4px;
	background: #fafafa;
	border: 1px solid var(--bhzb-border);
}

.bhzb-breakdown div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.bhzb-breakdown div:last-child {
	padding-top: 0.75rem;
	border-top: 1px solid var(--bhzb-border);
	font-size: 1.08rem;
}

.bhzb-submit {
	width: 100%;
	padding: 1rem 1.25rem;
	border: none;
	border-radius: 4px;
	background: #111111;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.18s ease;
}

.bhzb-submit:hover,
.bhzb-submit:focus-visible {
	background: #000000;
}

.bhzb-submit[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.bhzb-validation {
	min-height: 1.25rem;
	margin: 0.25rem 0 1rem;
	color: #b42318;
	font-weight: 600;
}

@media (max-width: 980px) {
	.bhzb-layout {
		grid-template-columns: 1fr;
	}

	.bhzb-summary {
		position: static;
	}
}

@media (max-width: 640px) {
	.bhzb-choice-row,
	.bhzb-measurements {
		grid-template-columns: 1fr;
	}

	.bhzb-room-scene {
		min-height: 520px;
	}
}
