/* Product Phase 02 — V2 top. Enqueued only on allowlisted pilots. */

body.single-product.bk-product-v2-layout {
	overflow-x: hidden;
}

/* Breadcrumb: hide Woodmart nowrap overflow scrollbar (gray bar). */
body.single-product.bk-product-v2-layout .elementor-element-2d61532 {
	padding-top: 8px;
	padding-inline: 16px;
	padding-bottom: 0;
}

body.single-product.bk-product-v2-layout .wd-single-breadcrumbs.wd-nowrap-md,
body.single-product.bk-product-v2-layout .elementor-widget-wd_wc_breadcrumb {
	max-width: 100%;
	overflow: hidden !important;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

body.single-product.bk-product-v2-layout .wd-single-breadcrumbs.wd-nowrap-md::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

body.single-product.bk-product-v2-layout .wd-single-breadcrumbs.wd-nowrap-md [class*="-breadcrumb"],
body.single-product.bk-product-v2-layout .woocommerce-breadcrumb {
	flex-wrap: nowrap;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	direction: rtl;
}

.bk-product-v2 {
	--bk-p02-text: #202723;
	--bk-p02-muted: #5f6b65;
	--bk-p02-line: #e3e8e5;
	--bk-p02-surface: #f7f9f6;
	--bk-p02-green: #176d02;
	--bk-p02-green-dark: #16382a;
	padding: 4px 0 24px;
	color: var(--bk-p02-text);
}

.bk-product-v2__shell {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: 16px;
	box-sizing: border-box;
}

.bk-product-v2__grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas:
		"gallery"
		"panel";
	gap: 16px;
	align-items: start;
}

.bk-product-v2__gallery-col {
	grid-area: gallery;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.bk-product-v2__breadcrumb {
	margin: 0 0 8px;
	padding: 0;
}

.bk-product-v2__panel {
	grid-area: panel;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--bk-p02-line);
	border-radius: 16px;
	padding: 20px;
}

.bk-product-v2__intro {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bk-product-v2__media {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--bk-p02-line);
	border-radius: 16px;
	padding: 8px;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.bk-product-v2__specs {
	min-width: 0;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
}

.bk-product-v2__buybox {
	min-width: 0;
	padding: 12px 14px 14px;
	background: var(--bk-p02-surface);
	border: 1px solid var(--bk-p02-line);
	border-radius: 14px;
}

.bk-product-v2__actions,
.bk-product-v2__secondary {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px;
	padding-top: 2px;
}

.bk-product-v2__media .woocommerce-product-gallery {
	margin: 0;
	width: 100%;
	opacity: 1 !important;
}

.bk-product-v2__media .woocommerce-product-gallery.thumbs-position-without .col-12:has(.thumbnails),
.bk-product-v2__media .thumbnails:empty,
.bk-product-v2__media .woocommerce-product-gallery:not(.wd-has-thumb) .thumbnails {
	display: none !important;
}

.bk-product-v2__media .woocommerce-product-gallery__wrapper,
.bk-product-v2__media .woocommerce-product-gallery__wrapper .owl-stage-outer,
.bk-product-v2__media .woocommerce-product-gallery__wrapper .owl-stage,
.bk-product-v2__media .woocommerce-product-gallery__wrapper .owl-item,
.bk-product-v2__media .product-image-wrap,
.bk-product-v2__media .woocommerce-product-gallery__image,
.bk-product-v2__media .woocommerce-product-gallery__image a {
	height: 100%;
	max-height: 100%;
}

.bk-product-v2__media img.wp-post-image,
.bk-product-v2__media .zoomImg {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

.bk-product-v2__terms {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.bk-product-v2__term {
	color: var(--bk-p02-green);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.bk-product-v2__term:hover,
.bk-product-v2__term:focus-visible {
	border-bottom-color: currentColor;
}

.bk-product-v2__terms-sep {
	color: #b7c0bb;
}

.bk-product-v2__title {
	margin: 0;
	font-size: clamp(1.2rem, 1rem + 1.4vw, 1.75rem);
	font-weight: 700;
	line-height: 1.4;
	color: var(--bk-p02-text);
}

.bk-product-v2__title bdi,
.bk-product-v4__spec.is-model bdi {
	display: inline-block;
	direction: ltr;
	unicode-bidi: isolate;
	white-space: nowrap;
	max-width: 100%;
}

.bk-product-v2__availability {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--bk-p02-muted);
	line-height: 1.4;
}

.bk-product-v2__availability-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #9ca3af;
	flex: 0 0 auto;
}

.bk-product-v2__availability--inquiry .bk-product-v2__availability-dot,
.bk-product-v2__availability--in .bk-product-v2__availability-dot {
	background: #176d02;
}

.bk-product-v2__availability--out .bk-product-v2__availability-dot {
	background: #9b2c2c;
}

.bk-product-v2__spec {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bk-product-v2__spec dt {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--bk-p02-muted);
}

.bk-product-v2__spec dd {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--bk-p02-text);
}

.bk-product-v2__nowrap {
	white-space: nowrap;
}

.bk-product-v2__inquiry-title {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--bk-p02-text);
}

.bk-product-v2__inquiry-text {
	margin: 0 0 10px;
	font-size: 0.88rem;
	line-height: 1.65;
	color: var(--bk-p02-muted);
}

.bk-product-v2__inquiry-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--bk-p02-green);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.98rem;
}

.bk-product-v2__inquiry-cta:hover,
.bk-product-v2__inquiry-cta:focus-visible {
	background: var(--bk-p02-green-dark);
	outline: 2px solid var(--bk-p02-green-dark);
	outline-offset: 2px;
}

.bk-product-v2__inquiry-phone {
	margin: 10px 0 0;
	font-size: 0.95rem;
	text-align: center;
}

.bk-product-v2__inquiry-phone a {
	color: var(--bk-p02-text);
	text-decoration: none;
	font-weight: 600;
}

.bk-product-v2__inquiry-phone a:hover,
.bk-product-v2__inquiry-phone a:focus-visible {
	color: var(--bk-p02-green);
}

.bk-product-v2__inquiry-phone bdi {
	unicode-bidi: isolate;
	direction: ltr;
}

.bk-product-v2__consult {
	margin: 10px 0 0;
	text-align: center;
}

.bk-product-v2__consult a {
	color: var(--bk-p02-muted);
	font-size: 0.875rem;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.bk-product-v2__consult a:hover,
.bk-product-v2__consult a:focus-visible {
	color: var(--bk-p02-green-dark);
	border-bottom-color: currentColor;
}

.bk-product-v2__secondary .wd-action-btn {
	margin: 0;
}

.bk-product-v2__secondary .wd-action-btn > a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: var(--bk-p02-muted);
	font-size: 0.875rem;
	text-decoration: none;
}

.bk-product-v2__secondary .wd-action-btn > a:hover,
.bk-product-v2__secondary .wd-action-btn > a:focus-visible {
	color: var(--bk-p02-green-dark);
}

@media (max-width: 1023.98px) {
	body.sticky-toolbar-on .bk-product-v2 {
		padding-bottom: 72px;
	}

	.bk-product-v2__media {
		min-height: 0;
		height: auto;
	}
}

@media (min-width: 768px) {
	.bk-product-v2__shell {
		padding-inline: 24px;
	}

	.bk-product-v2__specs {
		gap: 12px 28px;
	}
}

@media (min-width: 1024px) {
	.bk-product-v2 {
		padding: 28px 0 42px;
	}

	.bk-product-v2__shell {
		padding-inline: 20px;
	}

	.bk-product-v2__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "gallery panel";
		column-gap: 26px;
		row-gap: 0;
		align-items: stretch;
	}

	.bk-product-v2__media {
		flex: 1 1 auto;
		height: auto;
		max-height: none;
		padding: 16px;
		border-radius: 16px;
		align-self: stretch;
	}

	.bk-product-v2__panel {
		padding: 28px 30px;
	}

	.bk-product-v2__inquiry-cta {
		display: inline-flex;
		width: auto;
		min-width: 220px;
		max-width: 100%;
		min-height: 48px;
	}

	.bk-product-v2__inquiry-phone,
	.bk-product-v2__consult {
		text-align: start;
	}
}

@media (min-width: 1280px) {
	.bk-product-v2__shell {
		padding-inline: 20px;
	}
}

@media (min-width: 1440px) {
	.bk-product-v2__shell {
		padding-inline: 24px;
	}
}
