/* Replay-layer fixes for markup that Elementor renders slightly differently. */

/* Shortcode widgets add one wrapper level; keep it out of flex/width maths. */
.elementor-widget-shortcode .elementor-shortcode {
	display: contents;
}

/* Jeg Kit testimonial slider (rebuilt markup, same classes as reference). */
.jkit-testimonials .tns-outer,
.jkit-testimonials .tns-inner,
.jkit-testimonials .tns-ovh {
	overflow: hidden;
}
.jkit-testimonials .testimonials-track {
	display: flex;
	transition: transform .35s ease;
	will-change: transform;
}
.jkit-testimonials .testimonial-item {
	flex: 0 0 100%;
	max-width: 100%;
}
.jkit-testimonials .tns-controls {
	display: flex;
	gap: 8px;
}

/* Mobile nav state mirrors the Jeg Kit runtime classes. */
body.jkit-nav-menu-open {
	overflow: hidden;
}
.jkit-nav-menu .jkit-menu-wrapper.active {
	visibility: visible;
	opacity: 1;
}
.jkit-nav-menu .jkit-overlay {
	display: none;
}
.jkit-nav-menu .jkit-menu-wrapper.active + .jkit-overlay {
	display: block;
}

/* Plugin-page parity fixes (reference plugin build differs from 2.4.4). */
body.post-type-archive-cxb_products .cxb-b2b-archive-toolbar {
	display: none !important;
}
.cxb-b2b-gallery-main-image {
	aspect-ratio: 490 / 415 !important;
	height: auto !important;
}
.cxb-b2b-product-info-box .cxb-b2b-product-categories {
	margin: 0 !important;
	padding: 14px 0 0 !important;
}
.cxb-b2b-related-products .cxb-b2b-product-categories {
	display: none !important;
}
.cxb-b2b-sidebar .cxb-b2b-recent-product-image {
	width: 120px;
	flex: 0 0 120px;
	height: auto !important;
}
.cxb-b2b-sidebar .cxb-b2b-recent-product-image img {
	width: 120px;
	height: auto !important;
}

.cxb-b2b-product-info-box .cxb-b2b-product-meta {
	display: none !important;
}
.cxb-b2b-related-products .cxb-b2b-button-group {
	flex-direction: row !important;
	align-items: center;
	gap: 10px;
}
.cxb-b2b-sidebar .cxb-b2b-recent-product-image {
	width: 120px !important;
	flex: 0 0 120px !important;
	height: auto !important;
}
.cxb-b2b-sidebar .cxb-b2b-recent-product-image img {
	width: 120px !important;
	height: auto !important;
}

/* Reference archive pages have no toolbar in this plugin build. */
body.tax-cxb_product_category .cxb-b2b-archive-toolbar,
body.tax-cxb_product_tag .cxb-b2b-archive-toolbar {
	display: none !important;
}
/* Product single sidebar is desktop-only in the reference layout. */
@media (max-width: 1024px) {
	.single-cxb_products .cxb-b2b-sidebar,
	body.single-cxb_products .cxb-b2b-sidebar {
		display: none !important;
	}
}

/* The reference quote page reserves a tall content area even when the basket is empty. */
.cxb-b2b-quote-page .site-main {
	min-height: 1029px;
}
@media (max-width: 1023px) {
	.cxb-b2b-quote-page .site-main {
		min-height: 983px;
	}
}
@media (max-width: 767px) {
	.cxb-b2b-quote-page .site-main {
		min-height: 964px;
	}
}

/* ==== Independent-acceptance fix window (2026-11-12) ==== */
.cxb-horizontal-categories-prev,
.cxb-horizontal-categories-next {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	width: 38px !important;
	height: 38px !important;
	border-radius: 50% !important;
}
.cxb-b2b-add-to-quote-button {
	background: #0A7AFF !important;
	color: #fff !important;
	border: 1px solid #0A7AFF !important;
	height: 41px !important;
	min-height: 41px !important;
	max-height: 41px !important;
	overflow: hidden;
}
.cxb-b2b-add-to-quote-button .cxb-b2b-btn-label-added {
	display: none !important;
}
@media (min-width: 1025px) {
	.cxb-b2b-no-products {
		height: 210px !important;
		min-height: 210px !important;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.cxb-b2b-child-categories {
		display: block !important;
		min-height: 132px;
		box-sizing: border-box;
	}
	.cxb-b2b-category-list {
		flex-wrap: wrap !important;
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
	.page-id-22 .elementor-element-937f7e2 {
		padding-bottom: 76px;
	}
}

/* Subcategories block: reference renders heading + wrapping pill rows. */
.cxb-b2b-child-categories {
	display: block !important;
	min-height: 0 !important;
	box-sizing: border-box;
}
.cxb-b2b-child-categories h3 {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 12px;
}
.cxb-b2b-category-list {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px;
	margin: 0;
	padding: 0;
}
.cxb-b2b-category-list li {
	margin: 0;
}
.cxb-b2b-category-list .cxb-b2b-category-link {
	display: inline-flex;
	align-items: center;
	padding: 9px 15px;
	line-height: 1.35;
}
@media (min-width: 1025px) {
	.cxb-b2b-child-categories {
		padding: 20px !important;
	}
	.cxb-b2b-category-list .cxb-b2b-category-link {
		padding: 10px 16px;
		font-size: 15px;
	}
}
@media (max-width: 1023px) {
	.cxb-b2b-child-categories {
		padding: 10px !important;
	}
}

/* Reference subcategory blocks reserve fixed heights per term at each breakpoint. */
@media (min-width: 1025px) {
	body.term-forklift .cxb-b2b-child-categories,
	body.term-stacker .cxb-b2b-child-categories { min-height: 132px !important; }
	body.term-tracked-vehicle .cxb-b2b-child-categories { min-height: 236px !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	body.term-forklift .cxb-b2b-child-categories,
	body.term-stacker .cxb-b2b-child-categories { min-height: 91px !important; }
	body.term-tracked-vehicle .cxb-b2b-child-categories { min-height: 183px !important; }
}
@media (max-width: 767px) {
	body.term-forklift .cxb-b2b-child-categories,
	body.term-stacker .cxb-b2b-child-categories { min-height: 88px !important; }
	body.term-tracked-vehicle .cxb-b2b-child-categories { min-height: 432px !important; }
}

/* Stronger specificity overrides for plugin card/arrow defaults. */
.cxb-b2b-product-card .cxb-b2b-add-to-quote-button,
.cxb-b2b-product-actions .cxb-b2b-add-to-quote-button,
.cxb-b2b-related-products .cxb-b2b-add-to-quote-button {
	background: #0A7AFF !important;
	background-color: #0A7AFF !important;
	color: #fff !important;
	border: 1px solid #0A7AFF !important;
	height: 41px !important;
	min-height: 41px !important;
	max-height: 41px !important;
}
.cxb-b2b-horizontal-categories-wrapper .cxb-horizontal-categories-prev,
.cxb-b2b-horizontal-categories-wrapper .cxb-horizontal-categories-next {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	width: 38px !important;
	height: 38px !important;
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 50% !important;
}

body .cxb-b2b-horizontal-categories-wrapper .cxb-horizontal-categories-prev,
body .cxb-b2b-horizontal-categories-wrapper .cxb-horizontal-categories-next {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 50% !important;
}

body .cxb-b2b-horizontal-categories-wrapper .cxb-horizontal-categories-arrow.hidden,
body .cxb-b2b-horizontal-categories-wrapper .cxb-horizontal-categories-prev.hidden,
body .cxb-b2b-horizontal-categories-wrapper .cxb-horizontal-categories-next.hidden {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	width: 38px !important;
	height: 38px !important;
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 50% !important;
}

/* Category arrows: plugin hides them for a single category; the reference keeps them. */
body .cxb-horizontal-categories-arrow { opacity: 1 !important; visibility: visible !important; }
/* Card CTA matches the reference: solid blue, 6px radius, no border. */
.cxb-b2b-product-card .cxb-b2b-add-to-quote-button,
.cxb-b2b-product-actions .cxb-b2b-add-to-quote-button,
.cxb-b2b-related-products .cxb-b2b-add-to-quote-button {
	border: 0 !important;
	border-radius: 6px !important;
	background: #0A7AFF !important;
}
/* The reference card has no email-inquiry round button. */
.cxb-b2b-email-inquiry-btn,
.cxb-b2b-product-card .cxb-b2b-email-inquiry-btn { display: none !important; }

/* Elementor editor preview: animation-hidden widgets must stay visible so the
   canvas shows the same content the front end shows after scroll. */
body.elementor-editor-active .elementor-invisible,
.elementor-editor-active .elementor-invisible,
body.elementor-editor-active .animated,
.elementor-editor-active .animated {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	animation: none !important;
}

/* Breadcrumb parity with the reference theme: plain inline text, ">" separators,
   no pill backgrounds from the newer plugin "deep" breadcrumb style. */
.cxb-b2b-breadcrumbs,
.cxb-b2b-breadcrumbs--deep {
	padding: 10px 0 !important;
	margin: 0 0 25px !important;
	background: transparent !important;
}
.cxb-b2b-breadcrumb-list {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.cxb-b2b-breadcrumb-item {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
}
.cxb-b2b-breadcrumb-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #000 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-decoration: none !important;
}
.cxb-b2b-breadcrumb-link:hover {
	background: none !important;
	color: #0A7AFF !important;
}
.cxb-b2b-breadcrumb-icon {
	display: none !important;
}
.cxb-b2b-breadcrumb-sep {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 8px !important;
	padding: 0 !important;
	color: #999 !important;
}
.cxb-b2b-breadcrumb-sep svg {
	display: none !important;
}
.cxb-b2b-breadcrumb-sep::before {
	content: ">";
	font-size: 14px;
	line-height: 1;
	color: #999;
}
.cxb-b2b-breadcrumb-current,
.cxb-b2b-breadcrumb-item.current .cxb-b2b-breadcrumb-label {
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 14px !important;
}

/* Reference related-products cards only show the quote button (no View Details link). */
.cxb-b2b-related-products .cxb-b2b-list-detail-button {
	display: none !important;
}
/* Reference product template keeps a 10px inner gutter at tablet/mobile. */
@media (max-width: 1024px) {
	.cxb-b2b-product-images,
	.cxb-b2b-product-summary,
	.cxb-b2b-tab-content,
	.cxb-b2b-related-products {
		width: calc(100% - 20px) !important;
		margin-left: 10px !important;
		margin-right: 10px !important;
		box-sizing: border-box !important;
	}
}

/* Reference breadcrumb bottom spacing is 10px on tablet/mobile. */
@media (max-width: 1024px) {
	.cxb-b2b-breadcrumbs,
	.cxb-b2b-breadcrumbs--deep {
		margin-bottom: 10px !important;
	}
}
/* Reference mobile product gallery is square (image area ~350x350). */
@media (max-width: 480px) {
	.cxb-b2b-gallery-main-image {
		aspect-ratio: 1 / 1 !important;
		width: 100% !important;
		height: auto !important;
	}
	.cxb-b2b-gallery-main-image img {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
	}
}

/* Subcategories module: reference uses a flat 8px panel, plain 20px heading and
   42px white pills (desktop). Newer plugin defaults are tiny pills in a bordered box. */
body .cxb-b2b-child-categories {
	border: 0 !important;
	border-radius: 8px !important;
	margin-bottom: 30px !important;
}
body .cxb-b2b-child-categories h3 {
	height: auto !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	margin: 8px 0 15px !important;
	padding: 0 !important;
}
body .cxb-b2b-child-categories .cxb-b2b-category-list {
	height: auto !important;
	gap: 10px !important;
}
body .cxb-b2b-child-categories .cxb-b2b-category-link {
	display: inline-block !important;
	height: auto !important;
	min-height: 42px !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	padding: 8px 15px !important;
	border: 1px solid #eaeaea !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: #333 !important;
}
@media (max-width: 1024px) {
	body .cxb-b2b-child-categories {
		margin-bottom: 12px !important;
	}
	body .cxb-b2b-child-categories h3 {
		font-size: 16px !important;
		margin: 4px 0 8px !important;
	}
	body .cxb-b2b-child-categories .cxb-b2b-category-link {
		min-height: 36px !important;
		font-size: 14px !important;
		padding: 6px 12px !important;
	}
}

/* tracked-vehicle has 9 child terms: keep the pill rows compact at tablet/phone
   so the module height matches the reference (183 / 432 px). */
@media (min-width: 768px) and (max-width: 1023px) {
	body.term-tracked-vehicle .cxb-b2b-child-categories h3 {
		font-size: 15px !important;
		margin: 2px 0 6px !important;
	}
	body.term-tracked-vehicle .cxb-b2b-child-categories .cxb-b2b-category-link {
		font-size: 13px !important;
		line-height: 1.4 !important;
		min-height: 30px !important;
		padding: 4px 10px !important;
	}
}
@media (max-width: 767px) {
	body.term-tracked-vehicle .cxb-b2b-category-link {
		font-size: 13px !important;
		min-height: 32px !important;
		padding: 5px 10px !important;
	}
}

/* Tablet spacing below the product grid matches the reference container bottom padding. */
@media (min-width: 768px) and (max-width: 1023px) {
	body.post-type-archive-cxb_products .cxb-b2b-products-grid {
		margin-bottom: 28px !important;
	}
	body.term-electric-forklift .cxb-b2b-products-grid,
	body.term-forklift .cxb-b2b-products-grid {
		margin-bottom: 30px !important;
	}
}

/* Tablet category/archive bottom spacing: reference grid margin is 40px and the
   template container keeps ~28-35px bottom padding. */
@media (min-width: 768px) and (max-width: 1023px) {
	body.post-type-archive-cxb_products .cxb-b2b-products-grid,
	body.term-electric-forklift .cxb-b2b-products-grid,
	body.term-forklift .cxb-b2b-products-grid {
		margin-bottom: 40px !important;
	}
	body.post-type-archive-cxb_products .cxb-b2b-template2-container,
	body.term-electric-forklift .cxb-b2b-template2-container {
		padding-bottom: 28px !important;
	}
	body.term-forklift .cxb-b2b-template2-container {
		padding-bottom: 26px !important;
	}
}

/* Breadcrumb separators must render as the reference ">" glyph. */
.cxb-b2b-breadcrumbs .cxb-b2b-breadcrumb-sep,
.cxb-b2b-breadcrumbs--deep .cxb-b2b-breadcrumb-sep {
	display: inline-flex !important;
	width: auto !important;
	min-width: 10px !important;
	height: auto !important;
	opacity: 1 !important;
	visibility: visible !important;
	overflow: visible !important;
	margin: 0 8px !important;
}
.cxb-b2b-breadcrumbs .cxb-b2b-breadcrumb-sep::before,
.cxb-b2b-breadcrumbs--deep .cxb-b2b-breadcrumb-sep::before {
	content: ">" !important;
	display: inline-block !important;
	font-size: 14px !important;
	line-height: 1 !important;
	color: #999 !important;
}

/* ==== Elementor product detail templates (218/232) ==== */
.bst-product-elementor {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 0 40px;
	box-sizing: border-box;
	background: #f5f5f5;
}
.bst-product-elementor .bst-product-root { gap: 20px; }
.bst-product-elementor .bst-breadcrumb {
	font-size: 14px;
	color: #000;
	line-height: 1.4;
	padding: 8px 0;
}
.bst-product-elementor .bst-breadcrumb a { color: #000; text-decoration: none; }
.bst-product-elementor .bst-product-hero {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}
.bst-product-elementor .bst-product-gallery { width: 55%; }
.bst-product-elementor .bst-product-info-card {
	width: 45%;
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	padding: 30px;
	box-sizing: border-box;
}
.bst-product-elementor .bst-product-title {
	font-size: 44px;
	line-height: 1.08;
	margin: 0 0 20px;
	font-weight: 700;
	color: #1f1f1f;
}
.bst-product-elementor .bst-product-main-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 490 / 415;
	object-fit: contain;
	background: #fff;
	border-radius: 8px;
}
.bst-product-elementor .bst-product-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}
.bst-product-elementor .bst-product-thumbs .elementor-widget-image { width: 80px; }
.bst-product-elementor .bst-product-thumbs img {
	width: 100%;
	border: 1px solid #eaeaea;
	border-radius: 4px;
	background: #fff;
}
.bst-product-elementor .bst-product-share .elementor-button {
	background: #6f5ce6;
	color: #fff;
	border-radius: 999px;
	padding: 10px 22px;
	font-size: 14px;
}
.bst-product-elementor .bst-product-quote h3 { font-family: inherit; }
.bst-product-elementor .bst-product-content {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	margin-top: 30px;
}
.bst-product-elementor .bst-product-sidebar { width: 24%; }
.bst-product-elementor .bst-product-main { width: 74%; }
.bst-product-elementor .bst-side-box {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 18px;
}
.bst-product-elementor .bst-side-box h3 {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #1f1f1f;
}
.bst-product-elementor .bst-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bst-product-elementor .bst-cat-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}
.bst-product-elementor .bst-cat-list a { color: #444; text-decoration: none; }
.bst-product-elementor .bst-side-search {
	display: flex;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}
.bst-product-elementor .bst-side-search input {
	border: 0;
	padding: 10px;
	flex: 1;
	font-size: 13px;
	outline: none;
}
.bst-product-elementor .bst-side-search button {
	border: 0;
	background: #f5f5f5;
	padding: 0 12px;
	cursor: pointer;
}
.bst-product-elementor .bst-latest a {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
	color: #333;
	text-decoration: none;
	font-size: 13px;
}
.bst-product-elementor .bst-latest img {
	width: 60px;
	height: 50px;
	object-fit: contain;
	background: #fff;
	border: 1px solid #eee;
}
.bst-product-elementor .bst-product-tabs {
	background: #fff;
	border: 1px solid #eaeaea;
	padding: 16px 20px;
	display: flex;
	gap: 30px;
	font-size: 15px;
	margin-bottom: 10px;
}
.bst-product-elementor .bst-product-tabs a {
	color: #555;
	text-decoration: none;
	padding-bottom: 6px;
}
.bst-product-elementor .bst-product-tabs a.active {
	color: #0A7AFF;
	border-bottom: 2px solid #0A7AFF;
}
.bst-product-elementor .bst-desc-title,
.bst-product-elementor .bst-downloads-title,
.bst-product-elementor .bst-related-title {
	font-size: 30px;
	font-weight: 700;
	margin: 20px 0 15px;
	color: #1f1f1f;
}
.bst-product-elementor .bst-desc-image img {
	width: 100%;
	height: auto;
	border: 1px solid #ddd;
	background: #fff;
}
.bst-product-elementor .bst-download-row {
	background: #fff;
	border: 1px solid #ddd;
	padding: 18px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
}
.bst-product-elementor .bst-download-btn {
	background: #0A7AFF;
	color: #fff;
	padding: 10px 22px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
}
.bst-product-elementor .bst-related-card {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	padding: 16px;
	width: 280px;
	max-width: 100%;
	display: flex;
	gap: 15px;
	align-items: center;
}
.bst-product-elementor .bst-related-img { width: 110px; flex: 0 0 auto; }
.bst-product-elementor .bst-related-img img {
	width: 100%;
	height: 95px;
	object-fit: contain;
	background: #fff;
}
.bst-product-elementor .bst-related-name {
	font-size: 15px;
	margin: 0 0 10px;
}
.bst-product-elementor .bst-related-btn .elementor-button {
	background: #0A7AFF;
	color: #fff;
	border-radius: 4px;
	padding: 8px 16px;
	font-size: 13px;
}
@media (max-width: 1024px) {
	.bst-product-elementor { padding: 10px; }
	.bst-product-elementor .bst-product-hero,
	.bst-product-elementor .bst-product-content {
		flex-direction: column;
	}
	.bst-product-elementor .bst-product-gallery,
	.bst-product-elementor .bst-product-info-card,
	.bst-product-elementor .bst-product-sidebar,
	.bst-product-elementor .bst-product-main {
		width: 100%;
	}
	.bst-product-elementor .bst-product-sidebar { display: none; }
	.bst-product-elementor .bst-product-title { font-size: 34px; }
	.bst-product-elementor .bst-related-card { width: 100%; }
}

/* Product Elementor template: force the intended two-column flex layout. */
.bst-product-elementor .bst-product-hero > .e-con-inner,
.bst-product-elementor .bst-product-content > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 30px !important;
	align-items: flex-start !important;
}
.bst-product-elementor .bst-product-gallery {
	flex: 0 0 55% !important;
	width: 55% !important;
	max-width: 55% !important;
}
.bst-product-elementor .bst-product-info-card {
	flex: 0 0 45% !important;
	width: 45% !important;
	max-width: 45% !important;
}
.bst-product-elementor .bst-product-sidebar {
	flex: 0 0 24% !important;
	width: 24% !important;
	max-width: 24% !important;
}
.bst-product-elementor .bst-product-main {
	flex: 1 1 auto !important;
	width: auto !important;
	max-width: none !important;
}
.bst-product-elementor .bst-product-main-image img {
	width: 100% !important;
	height: 415px !important;
	object-fit: contain !important;
}
.bst-product-elementor .bst-product-thumbs,
.bst-product-elementor .bst-product-thumbs > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	align-items: flex-start !important;
}
.bst-product-elementor .bst-product-thumbs .elementor-widget-image {
	flex: 0 0 80px !important;
	width: 80px !important;
	max-width: 80px !important;
}
.bst-product-elementor .bst-product-thumbs img {
	width: 80px !important;
	height: 60px !important;
	object-fit: contain !important;
	border: 1px solid #eaeaea !important;
	border-radius: 4px !important;
	background: #fff !important;
}
@media (max-width: 1024px) {
	.bst-product-elementor .bst-product-hero > .e-con-inner,
	.bst-product-elementor .bst-product-content > .e-con-inner {
		flex-direction: column !important;
		flex-wrap: wrap !important;
	}
	.bst-product-elementor .bst-product-gallery,
	.bst-product-elementor .bst-product-info-card,
	.bst-product-elementor .bst-product-sidebar,
	.bst-product-elementor .bst-product-main {
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 100% !important;
	}
	.bst-product-elementor .bst-product-sidebar { display: none !important; }
	.bst-product-elementor .bst-product-main-image img { height: 300px !important; }
}

/* Keep the Elementor product template close to the previous/hero reference height. */
.bst-product-elementor .bst-product-info-card { min-height: 530px; }
.bst-product-elementor .bst-product-sidebar { min-height: 532px; }
.bst-product-elementor .bst-related-card { min-height: 270px; }
.bst-product-elementor .bst-desc-image img {
	width: 100% !important;
	max-width: 800px !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
}

/* Reveal footer animations on the Elementor product template immediately. */
body.single-cxb_products footer .elementor-invisible {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}
@media (max-width: 767px) {
	.bst-product-elementor .bst-related-card { min-height: 248px !important; }
	.bst-product-elementor .bst-product-info-card { min-height: 0 !important; }
	.bst-product-elementor .bst-product-elementor,
	.bst-product-elementor { padding-bottom: 30px !important; }
}

/* Product Elementor template: larger related card and reference-like gallery. */
.bst-product-elementor .bst-related-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	width: 278px !important;
	min-height: 400px !important;
	padding: 16px !important;
	box-sizing: border-box !important;
}
.bst-product-elementor .bst-related-card > .e-con-inner {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 8px !important;
	width: 100% !important;
}
.bst-product-elementor .bst-related-img { width: 100% !important; }
.bst-product-elementor .bst-related-img img {
	width: 100% !important;
	height: 233px !important;
	object-fit: contain !important;
	background: #fff !important;
}
.bst-product-elementor .bst-related-name { font-size: 20px !important; margin: 10px 0 0 !important; }
@media (min-width: 768px) and (max-width: 1024px) {
	.bst-product-elementor .bst-related-card { width: 100% !important; min-height: 443px !important; }
	.bst-product-elementor .bst-product-main-image img { height: 690px !important; }
}
@media (max-width: 767px) {
	.bst-product-elementor .bst-related-card { width: 100% !important; min-height: 248px !important; }
	.bst-product-elementor .bst-related-img img { height: 159px !important; }
	.bst-product-elementor .bst-product-main-image img { height: 350px !important; }
}
