/**
 * BXHS Product Grid Styles
 *
 * Replicates the visual appearance of the production Woodmart/WooCommerce
 * product grid (catalog mode) without requiring WooCommerce to be active.
 *
 * Design reference: https://www.bxhshydraulic.com/product-category/directional-control-valve/
 * Card structure matches Woodmart "wd-hover-fw-button" card style.
 *
 * Used by:
 *   - [bxhs_products] shortcode       (inc/product-shortcodes.php)
 *   - [bxhs_product_categories]       (inc/product-shortcodes.php)
 *   - woocommerce/archive-product.php (archive template)
 *   - woocommerce/single-product.php  (single product template)
 */

/* -----------------------------------------------------------------------
   Archive page wrapper
   Matches Woodmart's main-page-wrapper + container structure
   ----------------------------------------------------------------------- */

.bxhs-archive-wrap {
	padding: 20px 0 60px;
}

.bxhs-archive-top-bar {
	margin-bottom: 24px;
}

.bxhs-breadcrumb {
	font-family: var(--wd-title-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #666666 !important;
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 8px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.08)) !important;
}

.bxhs-breadcrumb > :is(a, span):after,
.bxhs-breadcrumb a:after,
.bxhs-breadcrumb a::after,
.bxhs-breadcrumb span:after,
.bxhs-breadcrumb span::after {
	content: none !important;
	display: none !important;
}

.bxhs-breadcrumb a {
	color: #666666 !important;
	font-weight: 400 !important;
	font-size: 13px !important;
	text-decoration: none !important;
	transition: color 0.15s ease !important;
}

.bxhs-breadcrumb a:hover {
	color: #1246ab !important;
}

.bxhs-breadcrumb .divider,
.bxhs-breadcrumb__sep {
	color: #999999 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	margin: 0 6px !important;
}

.bxhs-breadcrumb .current,
.bxhs-breadcrumb__current {
	color: #242424 !important;
	font-weight: 600 !important;
	font-size: 13px !important;
}

.bxhs-archive-header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.075));
}

.bxhs-archive-title {
	font-size: 28px;
	font-weight: 800;
	color: var(--color-gray-900, #242424);
	margin: 0 0 10px;
	line-height: 1.3;
	font-family: var(--wd-title-font, "Mulish", Arial, Helvetica, sans-serif);
}

.bxhs-archive-description {
	color: #444444 !important;
	font-size: 15px !important;
	max-width: 100% !important;
	line-height: 1.75 !important;
	margin: 10px 0 0 0;
}

.bxhs-archive-description p {
	color: #444444 !important;
	font-size: 15px !important;
	line-height: 1.75 !important;
	margin: 0 0 10px 0 !important;
}

.bxhs-archive-description p:last-child {
	margin-bottom: 0 !important;
}

.bxhs-archive-description strong,
.bxhs-archive-description b {
	color: #242424 !important;
	font-weight: 700;
}

.bxhs-archive-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.08));
}

.bxhs-archive-result-count {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-gray-600, #666);
}

/* -----------------------------------------------------------------------
   Product grid
   Matches "products elements-grid wd-products-holder wd-spacing-30
            grid-columns-4 products-bordered-grid row"
   Production uses Bootstrap .row + .col-lg-4 .col-md-4 .col-6
   We replicate with CSS Grid for same visual result.
   ----------------------------------------------------------------------- */

/* -----------------------------------------------------------------------
   Product grid & product card
   Replicates Woodmart product catalog grid without WooCommerce.
   ----------------------------------------------------------------------- */

.bxhs-products-grid,
.products.bxhs-product-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-left: -15px !important;
	margin-right: -15px !important;
	margin-bottom: 40px;
	box-sizing: border-box;
	clear: both;
}

.bxhs-archive-header,
.bxhs-archive-description {
	margin-bottom: 30px;
	clear: both;
	position: relative;
	z-index: 1;
}

.bxhs-products-columns-4 > .bxhs-product-card,
.bxhs-products-grid > .col-lg-3 {
	flex: 0 0 25% !important;
	max-width: 25% !important;
	width: 25% !important;
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
}

@media (max-width: 991px) {
	.bxhs-products-columns-4 > .bxhs-product-card,
	.bxhs-products-grid > .col-md-4 {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		width: 33.333333% !important;
	}
}

@media (max-width: 767px) {
	.bxhs-products-columns-4 > .bxhs-product-card,
	.bxhs-products-grid > .col-6 {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}
}

.bxhs-product-card,
.product-grid-item {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	margin-bottom: 30px;
}

.bxhs-product-card .product-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.08));
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: #ffffff;
	position: relative;
}

.bxhs-product-card:hover .product-wrapper {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	border-color: var(--wd-primary-color, #1246ab);
}

.bxhs-product-card .product-element-top {
	position: relative;
	overflow: hidden;
	background: #f9f9f9;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bxhs-product-card .product-image-link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 100% !important;
}

.bxhs-product-card .product-image-link img,
.bxhs-product-card .product-element-top img {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	display: block !important;
	transition: transform 0.3s ease;
}

.bxhs-product-card:hover .product-element-top img {
	transform: scale(1.05);
}

.bxhs-product-card .product-element-bottom {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
}

.bxhs-product-card .wd-entities-title {
	font-family: var(--wd-title-font, "Mulish", Arial, Helvetica, sans-serif);
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	margin: 0 0 10px 0 !important;
	min-height: 40px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	white-space: normal !important;
	word-break: normal !important;
}

.bxhs-product-card .wd-entities-title a {
	color: #242424 !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.bxhs-product-card .wd-entities-title a:hover {
	color: var(--wd-primary-color, #1246ab) !important;
}

/* CTA wrap 鈥?matches .wd-add-btn.wd-add-btn-replace */

.bxhs-product-card__cta-wrap {
	margin-top: auto;
}

/* CTA button 鈥?matches Woodmart "wd-btn-full" full-width button */

.bxhs-product-card__cta {
	display: block;
	width: 100%;
	padding: 10px 16px;
	font-size: 12px;
	font-weight: var(--btn-font-weight, 600);
	text-transform: var(--btn-transform, uppercase);
	letter-spacing: 0.05em;
	text-align: center;
	color: var(--color-gray-800, #333);
	border: 1px solid var(--brdcolor-gray-400, rgba(0, 0, 0, 0.15));
	text-decoration: none;
	background: transparent;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	box-sizing: border-box;
}

.bxhs-product-card__cta:hover,
.bxhs-product-card__cta:focus,
.bxhs-product-card__cta:active {
	background: var(--color-gray-900, #242424) !important;
	color: #ffffff !important;
	border-color: var(--color-gray-900, #242424) !important;
}

/* Card hover attributes container matching production */
.bxhs-product-card__attributes {
	margin-top: 10px;
	margin-bottom: 12px;
	border-top: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.075));
	padding-top: 10px;
}

.bxhs-product-specs-mini {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin: 0;
}

.bxhs-product-specs-mini tr {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 0;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.bxhs-product-specs-mini tr:last-child {
	border-bottom: none;
}

.bxhs-product-specs-mini th {
	font-weight: 600;
	color: var(--color-gray-900, #242424);
	text-align: left;
	font-size: 12px;
	white-space: nowrap;
	padding: 0 8px 0 0;
}

.bxhs-product-specs-mini td {
	color: var(--color-gray-600, #666);
	text-align: right;
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 65%;
}


/* -----------------------------------------------------------------------
   Shop Top Category Quick-Filter Bar
   ----------------------------------------------------------------------- */

.bxhs-shop-cat-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.075));
}

.bxhs-cat-pill {
	display: inline-block;
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-gray-700, #444);
	background: var(--bgcolor-gray-100, #f5f5f5);
	border: 1px solid var(--brdcolor-gray-300, rgba(0, 0, 0, 0.09));
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.bxhs-cat-pill:hover {
	color: #ffffff;
	background: var(--wd-primary-color, #1246ab);
	border-color: var(--wd-primary-color, #1246ab);
	text-decoration: none;
}

.bxhs-cat-pill.is-active {
	color: #ffffff;
	background: var(--wd-primary-color, #1246ab);
	border-color: var(--wd-primary-color, #1246ab);
}

/* -----------------------------------------------------------------------
   Section Titles & Headers
   ----------------------------------------------------------------------- */

.bxhs-section-header {
	margin-top: 10px;
	margin-bottom: 25px;
	text-align: center;
}

.bxhs-section-title {
	font-family: var(--wd-title-font, "Mulish", Arial, Helvetica, sans-serif);
	font-size: 28px;
	font-weight: 800;
	color: var(--wd-title-color, #242424);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	position: relative;
	display: inline-block;
	margin: 0 0 10px;
	padding-bottom: 12px;
}

.bxhs-section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: var(--wd-primary-color, #1246ab);
	border-radius: 2px;
}

.bxhs-section-subheading {
	font-family: var(--wd-title-font, "Mulish", Arial, Helvetica, sans-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--wd-title-color, #242424);
	margin: 40px 0 20px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--wd-primary-color, #1246ab);
	display: inline-block;
}

/* -----------------------------------------------------------------------
   Category grid & cards 鈥?for [bxhs_product_categories] shortcode
   and Woodmart wd_product_categories Elementor widget
   Matches reference site: https://www.bxhshydraulic.com/
   ----------------------------------------------------------------------- */

.products.bxhs-category-grid,
.products.categories-style-default {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-left: -15px !important;
	margin-right: -15px !important;
}

/* Bootstrap column widths for product & category grids */
.products .col-6,
.category-grid-item.col-6,
.bxhs-category-card.col-6 {
	flex: 0 0 50% !important;
	max-width: 50% !important;
	width: 50% !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
	box-sizing: border-box !important;
}

@media (min-width: 768px) {
	.products .col-md-4,
	.category-grid-item.col-md-4,
	.bxhs-category-card.col-md-4 {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		width: 33.333333% !important;
	}
	.products .col-md-3,
	.category-grid-item.col-md-3,
	.bxhs-category-card.col-md-3 {
		flex: 0 0 25% !important;
		max-width: 25% !important;
		width: 25% !important;
	}
}

@media (min-width: 992px) {
	.products .col-lg-3,
	.category-grid-item.col-lg-3,
	.bxhs-category-card.col-lg-3 {
		flex: 0 0 25% !important;
		max-width: 25% !important;
		width: 25% !important;
	}
	.products .col-lg-2,
	.category-grid-item.col-lg-2,
	.bxhs-category-card.col-lg-2 {
		flex: 0 0 16.666667% !important;
		max-width: 16.666667% !important;
		width: 16.666667% !important;
	}
	.products .col-lg-4,
	.category-grid-item.col-lg-4,
	.bxhs-category-card.col-lg-4 {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		width: 33.333333% !important;
	}
}

.category-grid-item.cat-design-alt,
.category-grid-item,
.bxhs-category-card {
	margin-bottom: 30px;
	box-sizing: border-box;
}

.category-grid-item.cat-design-alt .wrapp-category,
.category-grid-item .wrapp-category,
.bxhs-category-card .wrapp-category {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: center;
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.08));
	padding-bottom: 16px;
}

.category-grid-item.cat-design-alt:hover .wrapp-category,
.category-grid-item:hover .wrapp-category,
.bxhs-category-card:hover .wrapp-category {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	border-color: var(--wd-primary-color, #1246ab);
}

.category-grid-item.cat-design-alt .category-image-wrapp,
.category-grid-item .category-image-wrapp,
.bxhs-category-card .category-image-wrapp,
.bxhs-category-card__image-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #f9f9f9;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.category-grid-item.cat-design-alt .category-image,
.category-grid-item .category-image,
.bxhs-category-card .category-image {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 100% !important;
}

.category-grid-item.cat-design-alt .category-image img,
.category-grid-item .category-image img,
.bxhs-category-card .category-image img,
.bxhs-category-card__image {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	transition: transform 0.3s ease;
}

.category-grid-item.cat-design-alt:hover .category-image img,
.category-grid-item:hover .category-image img,
.bxhs-category-card:hover .category-image img,
.bxhs-category-card:hover .bxhs-category-card__image {
	transform: scale(1.05);
}

.category-grid-item.cat-design-alt .hover-mask,
.category-grid-item .hover-mask,
.bxhs-category-card .hover-mask {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	inset: auto !important;
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	padding: 14px 12px 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.category-grid-item.cat-design-alt .wd-entities-title,
.category-grid-item .wd-entities-title,
.bxhs-category-card .wd-entities-title,
.bxhs-category-card__name {
	font-family: var(--wd-title-font, "Mulish", Arial, Helvetica, sans-serif);
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #242424 !important;
	margin: 0 0 4px 0 !important;
	line-height: 1.3 !important;
	text-align: center !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow: visible !important;
}

.category-grid-item.cat-design-alt .wd-entities-title .count,
.category-grid-item .wd-entities-title .count,
.bxhs-category-card .wd-entities-title .count {
	display: none !important;
}

.category-grid-item.cat-design-alt .more-products,
.category-grid-item .more-products,
.bxhs-category-card .more-products,
.bxhs-category-card__count {
	font-size: 13px !important;
	color: #777777 !important;
	font-weight: 400 !important;
	margin-top: 2px !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	text-align: center !important;
}

.category-grid-item.cat-design-alt .more-products a,
.category-grid-item .more-products a,
.bxhs-category-card .more-products a {
	color: #777777 !important;
	text-decoration: none !important;
	pointer-events: none;
}

.category-grid-item.cat-design-alt .category-link,
.category-grid-item .category-link,
.bxhs-category-card .category-link,
.bxhs-category-card__link {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 5 !important;
	width: 100% !important;
	height: 100% !important;
}

/* -----------------------------------------------------------------------
   Pagination 鈥?matches Woodmart's pagination-pagination style
   ----------------------------------------------------------------------- */

.bxhs-pagination {
	margin-top: 40px;
	text-align: center;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px;
}

.bxhs-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--brdcolor-gray-300, rgba(0, 0, 0, 0.105));
	color: var(--color-gray-700, #555);
	text-decoration: none;
	font-size: 14px;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bxhs-pagination .page-numbers.current,
.bxhs-pagination .page-numbers:hover {
	background: var(--color-gray-900, #242424);
	color: #fff;
	border-color: var(--color-gray-900, #242424);
}

.bxhs-pagination .page-numbers.dots {
	border: none;
	pointer-events: none;
}

/* -----------------------------------------------------------------------
   No-products message
   ----------------------------------------------------------------------- */

.bxhs-no-products {
	padding: 80px 0;
	text-align: center;
	color: var(--color-gray-500, #777);
	font-size: 16px;
	width: 100%;
}

/* Single product page wrapper spacing override */
.single-product .main-page-wrapper {
	padding-top: 20px !important;
}

.bxhs-single-product {
	padding: 0 0 40px;
	margin-top: 0 !important;
}

/* Breadcrumb */

.bxhs-breadcrumb {
	font-size: 16px;
	color: var(--color-gray-500, #777);
	margin-top: 0 !important;
	margin-bottom: 10px;
	padding-top: 0 !important;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.075));
}

.bxhs-breadcrumb a {
	color: var(--color-gray-500, #777);
	text-decoration: none;
}

.bxhs-breadcrumb a:hover {
	color: var(--color-gray-900, #242424);
}

.bxhs-breadcrumb__sep {
	margin: 0 6px;
}

.bxhs-breadcrumb__current {
	font-weight: 700;
	color: var(--color-gray-900, #242424);
}

/* Two-column product layout */

.bxhs-single-product__wrap {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 992px) {
	.bxhs-single-product__wrap {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

/* Gallery column */

.bxhs-product-gallery {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 25px;
	align-items: start;
}

@media (max-width: 576px) {
	.bxhs-product-gallery {
		grid-template-columns: 1fr;
	}
}

/* Thumbnail sidebar: total height 480px matches main image */
.bxhs-product-gallery__sidebar {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 130px;
	height: 480px;
	align-items: center;
	justify-content: space-between;
}

@media (max-width: 576px) {
	.bxhs-product-gallery__sidebar {
		width: 100%;
		height: auto;
		order: 2;
	}
}

/* Thumbs wrapper: show exactly 3 items = 3*130px + 2*15px = 420px */
.bxhs-product-gallery__thumbs-wrapper {
	height: 420px;
	overflow: hidden;
	position: relative;
	width: 130px;
}

@media (max-width: 576px) {
	.bxhs-product-gallery__thumbs-wrapper {
		width: 100%;
		height: 100px;
		overflow-x: auto;
		overflow-y: hidden;
	}
}

.bxhs-product-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 15px;
	transition: transform 0.3s ease;
	will-change: transform;
}

@media (max-width: 576px) {
	.bxhs-product-gallery__thumbs {
		flex-direction: row;
		order: 2;
		overflow-x: auto;
	}
}

.bxhs-product-gallery__thumb {
	width: 130px;
	height: 130px;
	object-fit: cover;
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color 0.15s ease;
	flex-shrink: 0;
}

.bxhs-product-gallery__thumb:hover,
.bxhs-product-gallery__thumb.is-active {
	border-color: var(--color-gray-900, #242424);
}

/* Navigation arrows for thumbnail scrolling: height 45px + 420px wrapper = 465px + 15px gap = 480px total */
.bxhs-product-gallery__nav {
	display: flex;
	gap: 6px;
	width: 130px;
	height: 45px;
	margin-top: auto;
}

@media (max-width: 576px) {
	.bxhs-product-gallery__nav {
		display: none;
	}
}

.bxhs-gallery-btn {
	flex: 1;
	height: 100%;
	background: var(--bgcolor-gray-200, #f0f0f0);
	border: none;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--color-gray-800, #333);
	font-size: 0;
	transition: background 0.15s ease, color 0.15s ease;
	min-width: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
	border-radius: calc(var(--wd-brd-radius, 0px) / 1.5);
}

.bxhs-gallery-btn:hover {
	background: var(--bgcolor-gray-300, #e0e0e0);
	box-shadow: none;
}

.bxhs-gallery-btn svg {
	width: 14px;
	height: 14px;
}

.bxhs-product-gallery__main {
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: flex-start;
}

.bxhs-product-gallery__main-img {
	width: 100%;
	max-width: 480px;
	height: auto;
	display: block;
}

/* Round zoom popup button matching Image 2 */
.bxhs-gallery-zoom-btn {
	position: absolute;
	bottom: 12px;
	left: 12px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #444;
	z-index: 5;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
	text-decoration: none;
}

.bxhs-gallery-zoom-btn:hover {
	background: var(--color-gray-900, #242424);
	color: #ffffff;
	transform: scale(1.08);
}

/* Product summary column */

.bxhs-product-summary {
	padding-top: 15px;
}

/* Title: matches Image 2 reference (Mulish 700 38px) */
.bxhs-product-summary__title {
	font-family: var(--wd-title-font, "Mulish", Arial, Helvetica, sans-serif);
	font-size: 32px;
	font-weight: 800 !important;
	line-height: 1.2;
	color: var(--wd-title-color, #242424);
	margin: 0 0 16px;
	text-transform: none;
}

/* Short description: matches Image 2 reference 16px */
.bxhs-product-summary__excerpt {
	font-family: var(--wd-text-font, "Work Sans", Arial, Helvetica, sans-serif);
	font-size: 16px;
	color: var(--wd-text-color, #777777);
	line-height: 1.6;
	margin-bottom: 24px;
}

.bxhs-product-summary__excerpt p {
	margin: 0 0 12px;
}

.bxhs-product-summary__excerpt p:last-child {
	margin-bottom: 0;
}

/* Spec attributes table 鈥?matches .woocommerce-product-attributes */

.bxhs-product-specs {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 28px;
	font-size: 15px;
}

.bxhs-product-specs th,
.bxhs-product-specs td {
	padding: 8px 12px;
	border: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.075));
	text-align: left;
	vertical-align: top;
}

.bxhs-product-specs th {
	background: var(--bgcolor-gray-100, #f7f7f7);
	font-weight: 700;
	width: 35%;
	color: var(--color-gray-700, #555);
}

.bxhs-product-specs td {
	color: var(--color-gray-800, #333);
}

/* Inquiry CTA on single product */

.bxhs-product-inquiry {
	margin-bottom: 20px;
}

.bxhs-product-inquiry__btn {
	display: inline-block;
	padding: 12px 32px;
	background: var(--color-gray-900, #242424);
	color: #fff;
	font-size: 15px;
	font-weight: var(--btn-font-weight, 600);
	text-transform: var(--btn-transform, uppercase);
	letter-spacing: 0.06em;
	text-decoration: none;
	border: 1px solid var(--color-gray-900, #242424);
	transition: background 0.15s ease, color 0.15s ease;
}

.bxhs-product-inquiry__btn:hover {
	background: transparent;
	color: var(--color-gray-900, #242424);
}

/* -----------------------------------------------------------------------
   Bottom Product Sections (Additional Info & Description)
   ----------------------------------------------------------------------- */

.bxhs-product-bottom-sections {
	margin-top: 40px;
}

.bxhs-product-section {
	margin-bottom: 40px;
}

.bxhs-product-section__title {
	font-size: 26px;
	margin: 0 0 30px 0;
	border: none;
	padding: 0;
	padding-top: 20px;
	border-top: 1px solid var(--brdcolor-gray-300, rgba(0, 0, 0, 0.105));
	font-weight: var(--wd-title-font-weight, 700);
	font-family: var(--wd-title-font, "Mulish", Arial, Helvetica, sans-serif);
	color: var(--wd-title-color, #242424);
	text-transform: none;
	letter-spacing: 0;
}

.bxhs-product-section__title span {
	display: inline-block;
	margin-top: -1px;
	border-top: 3px solid var(--wd-primary-color, rgb(18, 70, 171));
	padding-top: 20px;
}

/* 2-column layout for product specifications */
.bxhs-product-specs {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 15px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 40px;
}

@media (max-width: 767px) {
	.bxhs-product-specs {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.bxhs-product-specs tbody {
	display: contents; /* Allows tr elements to direct-flow into the table grid container */
}

.bxhs-product-specs tr {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.075));
}

.bxhs-product-specs th {
	background: transparent !important;
	font-weight: 700 !important; /* Bold headers as requested */
	font-size: 16px !important;
	color: var(--color-gray-900, #242424) !important;
	border: none !important;
	padding: 0 15px 0 0 !important;
	text-align: left;
	width: auto !important;
	white-space: nowrap !important; /* Prevent header line breaks */
	flex-shrink: 0 !important;
}

.bxhs-product-specs td {
	color: var(--color-gray-600, #666);
	font-size: 15px !important;
	border: none !important;
	padding: 0 !important;
	text-align: right;
}

/* Description content styling */
.bxhs-product-section--description .bxhs-product-section__content {
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-gray-700, #555);
}

.bxhs-product-section--description .bxhs-product-section__content p {
	margin: 0 0 16px;
}

/* Gallery JS (simple thumbnail switcher) */
.bxhs-product-gallery__main-img[data-src] {
	cursor: zoom-in;
}

/* Divider line matching production Image 1 — full 100% width across summary column */
.bxhs-product-summary hr,
.bxhs-product-summary .bxhs-divider,
hr.bxhs-divider,
.bxhs-divider {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	border: none !important;
	border-top: 1px solid #e0e0e0 !important;
	height: 0 !important;
	margin: 25px 0 25px 0 !important;
	clear: both !important;
	box-sizing: border-box !important;
}

/* Tags list styling in summary column */
.bxhs-product-tags {
	font-size: 15px;
	margin-top: 20px;
	margin-bottom: 20px;
	line-height: 1.6;
	color: var(--color-gray-600, #666);
}

.bxhs-product-tags .meta-label {
	font-weight: 700;
	color: var(--color-gray-900, #242424);
}

.bxhs-product-tags a {
	color: var(--color-gray-600, #666);
	text-decoration: none;
	transition: color 0.15s ease;
}

.bxhs-product-tags a:hover {
	color: var(--color-gray-900, #242424);
}

/* Info grid layout matching production column spacing and icons */
.bxhs-product-info-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 15px !important;
	margin: 25px 0 10px 0 !important;
	width: 100% !important;
	text-align: center !important;
}

.bxhs-product-info-grid .wd-info-box {
	width: 100% !important;
	max-width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

@media (max-width: 767px) {
	.bxhs-product-info-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

.bxhs-product-info-grid .box-icon-wrapper {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	margin-bottom: 12px !important;
	width: auto !important;
	height: auto !important;
}

.bxhs-product-info-grid .info-box-title {
	font-family: var(--btn-font-family, inherit) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	color: var(--color-gray-900, #242424) !important;
	margin: 0 0 6px 0 !important;
	letter-spacing: 0.02em !important;
}

.bxhs-product-info-grid .info-box-inner p {
	font-size: 14px !important;
	color: var(--color-gray-600, #777) !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

.bxhs-product-info-grid .info-box-inner span {
	font-size: 14px !important;
	color: var(--color-gray-600, #777) !important;
}

/* ==========================================================================
   Woodmart Native Component Overrides & Fixes
   ========================================================================== */

/* Category Loop Grid Fixes */
.products.columns6 .category-grid-item,
.products .category-grid-item {
	text-align: center;
	margin-bottom: 30px;
}

.category-grid-item .wrapp-category {
	position: relative;
	border-radius: var(--wd-brd-radius, 6px);
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
}

.category-grid-item .wrapp-category:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-color: var(--wd-primary-color, #1246ab);
}

.category-grid-item .category-image-wrapp {
	position: relative !important;
	overflow: hidden !important;
	width: 100% !important;
	height: 0 !important;
	padding-top: 100% !important; /* 1:1 Aspect Ratio Box - Flexbox Column Safe */
	background: #f7f7f7 !important;
	flex-shrink: 0 !important;
}

.category-grid-item .category-image {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: block !important;
}

.category-grid-item .category-image img,
.products:not(.wd-img-width) .cat-design-alt img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.5s cubic-bezier(0, 0, 0.44, 1.18) !important;
}

.category-grid-item:hover .category-image img {
	transform: scale(1.08) !important;
}

.category-grid-item .hover-mask {
	padding: 12px 10px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	flex-grow: 1;
}

.category-grid-item .wd-entities-title {
	font-size: 14px !important;
	font-weight: 700 !important;
	margin: 0 0 4px !important;
	line-height: 1.3 !important;
	color: #242424 !important;
	word-break: normal !important;
	text-transform: none !important;
}

.category-grid-item .count {
	font-size: 12px !important;
	color: #1246ab !important;
	font-weight: 600 !important;
	display: inline-block !important;
	background: transparent !important;
}

.category-grid-item .more-products {
	font-size: 12px !important;
	color: #777 !important;
	margin-top: 2px !important;
}

.category-grid-item .category-link.wd-fill {
	position: absolute;
	inset: 0;
	z-index: 5;
}

/* Product Loop Grid Fixes */
.product-grid-item {
	margin-bottom: 30px;
}

.product-grid-item .product-wrapper {
	position: relative;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 6px;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
	overflow: hidden;
}

.product-grid-item .product-wrapper:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-color: rgba(0, 0, 0, 0.15);
}

.product-grid-item .product-element-top {
	position: relative !important;
	overflow: hidden !important;
	width: 100% !important;
	height: 0 !important;
	padding-top: 100% !important; /* 1:1 Aspect Ratio Box - Flexbox Column Safe */
	background: #fff !important;
	flex-shrink: 0 !important;
}

.product-grid-item .product-image-link {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: block !important;
}

.product-grid-item .product-image-link img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.product-grid-item .hover-img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	opacity: 0;
	transition: opacity 0.3s ease;
	background: #fff;
	z-index: 2;
}

.product-grid-item:hover .hover-img {
	opacity: 1;
}

.product-grid-item .hover-img img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.product-grid-item .product-element-bottom {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-grid-item .wd-entities-title {
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	margin: 0 0 10px !important;
	text-transform: none !important;
}

.product-grid-item .wd-entities-title a {
	color: #242424;
	text-decoration: none;
	transition: color 0.15s ease;
}

.product-grid-item .wd-entities-title a:hover {
	color: #1246ab;
}

/* -----------------------------------------------------------------------
   Product Card Mini-Attributes Table Fix
   Ensures Weight & Dimensions mini-specs fit cleanly inside cards
   without vertical clipping at the bottom.
   ----------------------------------------------------------------------- */

.product-grid-item .product-wrapper {
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
}

.product-grid-item .product-element-bottom {
	padding: 16px !important;
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	justify-content: space-between !important;
}

.product-grid-item .wd-entities-title {
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	margin: 0 0 10px 0 !important;
	min-height: 40px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	white-space: normal !important;
	word-break: normal !important;
}

.product-grid-item .fade-in-block,
.product-grid-item .hover-content-wrap,
.product-grid-item .hover-content,
.product-grid-item .hover-content-inner {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	max-height: none !important;
	height: auto !important;
	overflow: visible !important;
	position: relative !important;
	inset: auto !important;
}

.product-grid-item .fade-in-block {
	margin-top: 10px !important;
	padding-top: 10px !important;
	border-top: 1px solid var(--brdcolor-gray-200, rgba(0, 0, 0, 0.08)) !important;
}

.product-grid-item table.woocommerce-product-attributes.shop_attributes {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border-collapse: collapse !important;
	border: none !important;
	background: transparent !important;
	font-size: 13px !important;
}

.product-grid-item table.woocommerce-product-attributes.shop_attributes tr,
.product-grid-item table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 5px 0 !important;
	margin: 0 !important;
	border: none !important;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
	background: transparent !important;
}

.product-grid-item table.woocommerce-product-attributes.shop_attributes tr:last-child {
	border-bottom: none !important;
}

.product-grid-item table.woocommerce-product-attributes.shop_attributes th,
.product-grid-item table.woocommerce-product-attributes.shop_attributes th.woocommerce-product-attributes-item__label {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #242424 !important;
	padding: 0 8px 0 0 !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
	white-space: nowrap !important;
	text-align: left !important;
	line-height: 1.3 !important;
	width: auto !important;
}

.product-grid-item table.woocommerce-product-attributes.shop_attributes th span {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #242424 !important;
}

.product-grid-item table.woocommerce-product-attributes.shop_attributes td,
.product-grid-item table.woocommerce-product-attributes.shop_attributes td.woocommerce-product-attributes-item__value {
	font-size: 13px !important;
	color: #666666 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
	text-align: right !important;
	line-height: 1.3 !important;
}

.product-grid-item table.woocommerce-product-attributes.shop_attributes td p {
	margin: 0 !important;
	padding: 0 !important;
	display: inline !important;
	font-size: 13px !important;
	color: #666666 !important;
	line-height: 1.3 !important;
}

/* -----------------------------------------------------------------------
   Homepage Container Width Alignment Fix
   Aligns homepage Elementor sections width with header and footer width (1390px)
   ----------------------------------------------------------------------- */

.home .main-page-wrapper > .container,
.site-content > article .entry-content {
	width: 100% !important;
}

.elementor-section-boxed > .elementor-container,
.elementor-section.wd-section-stretch > .elementor-column-gap-no,
.elementor-section.wd-section-stretch > .elementor-column-gap-narrow,
.elementor-section.wd-section-stretch > .elementor-column-gap-default,
.elementor-section.wd-section-stretch > .elementor-column-gap-extended,
.elementor-section.wd-section-stretch > .elementor-container {
	max-width: 1390px !important;
}


/* -----------------------------------------------------------------------
   Homepage Hero & Single Product - Mobile Layout (767px and below)
   Reference Image 2 implementation for Top Breadcrumb & Title Header
   ----------------------------------------------------------------------- */

/* Single Product Header styling (Desktop & Mobile) */
.bxhs-product-top-header {
	width: 100% !important;
	margin-top: 15px !important;
	margin-bottom: 20px !important;
	clear: both !important;
}

.bxhs-breadcrumb {
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: #777777 !important;
	margin-bottom: 8px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 4px !important;
}

.bxhs-breadcrumb a {
	color: #777777 !important;
	text-decoration: none !important;
	transition: color 0.15s ease !important;
}

.bxhs-breadcrumb a:hover {
	color: #242424 !important;
}

.bxhs-breadcrumb__sep {
	color: #aaaaaa !important;
	margin: 0 4px !important;
}

.bxhs-product-page-title {
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #242424 !important;
	line-height: 1.35 !important;
	margin: 12px 0 16px 0 !important;
	text-transform: none !important;
}

@media (min-width: 992px) {
	.bxhs-product-page-title {
		font-size: 26px !important;
	}
}

.bxhs-product-header-divider {
	width: 100% !important;
	height: 1px !important;
	background-color: #e5e5e5 !important;
	margin-bottom: 25px !important;
	clear: both !important;
}

@media (max-width: 767px) {

	/* 1. Remove blue side gaps */
	.elementor-element-d03790e > .elementor-container,
	.elementor-element-9d93dad > .elementor-widget-wrap,
	.elementor-element-fa587d5 > .elementor-container {
		max-width: 100% !important;
		width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* 2. Stack slider column + banner column vertically */
	.elementor-element-fa587d5 > .elementor-container {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
	}

	.elementor-element-23507c4,
	.elementor-element-c9342a2 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		float: none !important;
	}

	.elementor-element-23507c4 {
		margin-bottom: 10px !important;
	}

	/* 3. Slider structure: Stack text card on top, product image on bottom */
	#slider-296 .wd-slide {
		display: flex !important;
		flex-direction: column !important;
		min-height: 0 !important;
		height: auto !important;
		background-color: #ffffff !important;
	}

	#slider-296 .wd-slide-container {
		position: relative !important;
		z-index: 2 !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		order: 1 !important;
	}

	/* Slide text card background colors matching each slide's theme */
	#slide-318 .elementor-element-cb43839 {
		background-color: rgb(208, 190, 163) !important;
		padding: 30px 24px 30px 24px !important;
	}

	#slide-334 .elementor-element-cb43839 {
		background-color: rgb(173, 184, 154) !important;
		padding: 30px 24px 30px 24px !important;
	}

	#slide-340 .elementor-element-cb43839 {
		background-color: rgb(169, 170, 154) !important;
		padding: 30px 24px 30px 24px !important;
	}

	/* Title & text styling inside top card */
	#slider-296 .title-after_title,
	#slider-296 .title-subtitle,
	#slider-296 .woodmart-title-container {
		max-width: 100% !important;
	}

	#slider-296 .woodmart-title-container.title,
	#slider-296 h4.woodmart-title-container {
		font-size: 28px !important;
		line-height: 1.25 !important;
		margin-bottom: 12px !important;
		color: #ffffff !important;
	}

	#slider-296 .title-after_title p {
		font-size: 14px !important;
		line-height: 1.5 !important;
		margin-bottom: 4px !important;
		color: rgba(255, 255, 255, 0.85) !important;
	}

	#slider-296 .btn {
		margin-top: 15px !important;
		padding: 10px 24px !important;
	}

	/* 4. Product image block: placed below text card and CENTERED on clean white background */
	#slider-296 .wd-slide .wd-slide-bg,
	#slider-296 #slide-318 .wd-slide-bg,
	#slider-296 #slide-334 .wd-slide-bg,
	#slider-296 #slide-340 .wd-slide-bg,
	#slide-318.woodmart-loaded .wd-slide-bg,
	#slide-334.woodmart-loaded .wd-slide-bg,
	#slide-340.woodmart-loaded .wd-slide-bg {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		width: 100% !important;
		height: 320px !important;
		min-height: 320px !important;
		order: 2 !important;
		background-color: #ffffff !important;
		background-size: contain !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
	}

	/* 5. Banner column: gap between PTC ASIA and bauma SHANGHAI banners set to 15px */
	.elementor-element-c9342a2 {
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

	.elementor-element-c9342a2 > .elementor-widget-wrap {
		display: flex !important;
		flex-direction: column !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
		gap: 15px !important;
	}

	.elementor-element-c9342a2 .elementor-widget.elementor-widget-wd_banner {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		position: relative !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		overflow: hidden !important;
		min-height: 255px !important;
		margin-bottom: 0 !important;
	}

	.elementor-element-c9342a2 .promo-banner-wrapper,
	.elementor-element-c9342a2 .promo-banner {
		display: block !important;
		position: relative !important;
		width: 100% !important;
		height: 255px !important;
		overflow: hidden !important;
	}

	.elementor-element-c9342a2 .main-wrapp-img,
	.elementor-element-c9342a2 .banner-image {
		display: block !important;
		width: 100% !important;
		height: 255px !important;
		overflow: hidden !important;
	}

	.elementor-element-c9342a2 .main-wrapp-img img,
	.elementor-element-c9342a2 .banner-image img {
		width: 100% !important;
		height: 255px !important;
		object-fit: cover !important;
		object-position: center top !important;
		display: block !important;
	}

	.elementor-element-c9342a2 .wrapper-content-banner {
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		padding: 24px 20px !important;
		box-sizing: border-box !important;
	}

	.elementor-element-c9342a2 .promo-banner .banner-subtitle {
		font-size: 13px !important;
		line-height: 1.2 !important;
		margin-bottom: 6px !important;
	}

	.elementor-element-c9342a2 .promo-banner .banner-title {
		font-size: 26px !important;
		line-height: 1.2 !important;
		margin-bottom: 6px !important;
	}

	.elementor-element-c9342a2 .promo-banner .banner-inner p {
		font-size: 14px !important;
		line-height: 1.4 !important;
	}

	/* 6. Spacing between "Latest Products" title section & product grid reduced by half */
	.elementor-element.elementor-element-290a01d {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	.elementor-element.elementor-element-290a01d .elementor-widget-heading {
		margin-bottom: 0 !important;
	}

	.elementor-element.elementor-element-290a01d .elementor-widget-woocommerce-products {
		display: none !important;
	}

	.elementor-element.elementor-element-062b85b {
		margin-top: 0 !important;
		padding-top: 10px !important;
	}

	/* 7. Spacing above footer CTA ("If You Have More Questions, Write To Us") reduced by half */
	.elementor-element.elementor-element-ae58b62 {
		display: none !important;
	}

	.elementor-element.elementor-element-5f1d84e {
		margin-bottom: 0 !important;
		padding-bottom: 10px !important;
	}

	.home .site-content,
	.home .main-page-wrapper,
	.home .entry-content {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	.footer-container {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	.elementor-element.elementor-element-1247d00 {
		margin-top: 10px !important;
	}

	/* 8. Single Product Page Mobile Layout & Centering Fixes */
	.single-product .main-page-wrapper {
		padding-top: 10px !important;
	}

	.bxhs-product-top-header {
		margin-top: 10px !important;
		margin-bottom: 15px !important;
	}

	.bxhs-breadcrumb {
		font-size: 13px !important;
		margin-bottom: 6px !important;
	}

	.bxhs-product-page-title {
		font-size: 18px !important;
		margin: 8px 0 12px 0 !important;
	}

	.bxhs-product-header-divider {
		margin-bottom: 20px !important;
	}

	/* Force Gallery container & images to stay CENTERED on mobile */
	.single-product .bxhs-product-gallery,
	.bxhs-product-gallery {
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
		gap: 15px !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		padding: 0 !important;
		float: none !important;
	}

	.single-product .bxhs-product-gallery__main,
	.bxhs-product-gallery__main {
		order: 1 !important;
		width: 100% !important;
		max-width: 100% !important;
		max-height: 380px !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		background: #ffffff !important;
		border-radius: 8px !important;
		overflow: hidden !important;
		border: 1px solid rgba(0, 0, 0, 0.06) !important;
		margin: 0 auto !important;
		float: none !important;
	}

	.single-product .bxhs-product-gallery__main-img,
	.bxhs-product-gallery__main-img {
		max-height: 360px !important;
		width: auto !important;
		max-width: 100% !important;
		object-fit: contain !important;
		margin: 0 auto !important;
		display: block !important;
		float: none !important;
	}

	.single-product .bxhs-product-gallery__sidebar,
	.bxhs-product-gallery__sidebar {
		order: 2 !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 5px auto 0 auto !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		float: none !important;
	}

	.single-product .bxhs-product-gallery__thumbs-wrapper,
	.bxhs-product-gallery__thumbs-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		display: flex !important;
		justify-content: center !important;
		overflow: visible !important;
		margin: 0 auto !important;
	}

	.single-product .bxhs-product-gallery__thumbs,
	.bxhs-product-gallery__thumbs {
		display: flex !important;
		flex-direction: row !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 12px !important;
		width: 100% !important;
		flex-wrap: wrap !important;
		margin: 0 auto !important;
		transform: none !important;
	}

	.single-product .bxhs-product-gallery__thumb,
	.bxhs-product-gallery__thumb {
		width: 70px !important;
		height: 70px !important;
		object-fit: contain !important;
		background: #ffffff !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 8px !important;
		padding: 3px !important;
		cursor: pointer !important;
		transition: all 0.2s ease !important;
		box-sizing: border-box !important;
		flex-shrink: 0 !important;
	}

	.bxhs-product-gallery__thumb.is-active,
	.bxhs-product-gallery__thumb:hover {
		border: 2px solid #1246ab !important;
		box-shadow: 0 3px 10px rgba(18, 70, 171, 0.25) !important;
	}

	/* 4 Info Boxes: 4 items in ONE horizontal row (Reference Image 4) */
	.bxhs-product-info-grid {
		display: grid !important;
		grid-template-columns: repeat(4, 1fr) !important;
		gap: 6px !important;
		margin: 20px 0 25px 0 !important;
		padding: 15px 5px !important;
		background: #ffffff !important;
		border: 1px solid #f0f0f0 !important;
		border-radius: 8px !important;
		text-align: center !important;
	}

	.bxhs-product-info-grid .info-box-title {
		font-size: 11px !important;
		font-weight: 700 !important;
		margin-bottom: 3px !important;
		line-height: 1.2 !important;
	}

	.bxhs-product-info-grid .info-box-inner p,
	.bxhs-product-info-grid .info-box-inner span {
		font-size: 10px !important;
		line-height: 1.2 !important;
	}

	.bxhs-product-info-grid .info-icon,
	.bxhs-product-info-grid .box-icon-wrapper svg {
		width: 24px !important;
		height: 24px !important;
	}

	/* Additional Information Table: Clean 2-column key-value layout (Reference Image 4) */
	.bxhs-product-specs {
		display: table !important;
		width: 100% !important;
		border-collapse: collapse !important;
		margin-top: 10px !important;
	}

	.bxhs-product-specs tbody {
		display: table-row-group !important;
	}

	.bxhs-product-specs tr {
		display: table-row !important;
		border-bottom: 1px solid #f2f2f2 !important;
	}

	.bxhs-product-specs th {
		display: table-cell !important;
		width: 45% !important;
		padding: 12px 10px 12px 0 !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		color: #242424 !important;
		text-align: left !important;
		vertical-align: middle !important;
		white-space: normal !important;
		border: none !important;
		background: transparent !important;
	}

	.bxhs-product-specs td {
		display: table-cell !important;
		width: 55% !important;
		padding: 12px 0 12px 10px !important;
		font-size: 14px !important;
		color: #555555 !important;
		text-align: right !important;
		vertical-align: middle !important;
		word-break: break-word !important;
		border: none !important;
		background: transparent !important;
	}

	/* Related Products Section on Mobile — 2 Column Clean Grid Layout */
	.single-product .related.products,
	.bxhs-product-section--related,
	.bxhs-related-products {
		margin-top: 25px !important;
		padding-top: 20px !important;
		margin-bottom: 30px !important;
		border-top: 1px solid #e5e7eb !important;
	}

	.bxhs-product-section--related .bxhs-product-section__title,
	.bxhs-related-products .bxhs-product-section__title {
		font-size: 18px !important;
		margin: 0 0 16px 0 !important;
		padding-top: 0 !important;
		border-top: none !important;
	}

	.bxhs-product-section--related .bxhs-product-section__title span,
	.bxhs-related-products .bxhs-product-section__title span {
		font-size: 18px !important;
		font-weight: 800 !important;
		color: #242424 !important;
		letter-spacing: 0.02em !important;
		padding-top: 0 !important;
		border-top: none !important;
		display: inline-block !important;
	}

	.bxhs-product-section--related .bxhs-products-grid,
	.bxhs-related-products .bxhs-products-grid,
	.single-product .related.products .products {
		display: flex !important;
		flex-wrap: wrap !important;
		margin-left: -6px !important;
		margin-right: -6px !important;
		margin-bottom: 20px !important;
	}

	.single-product .related.products .product-grid-item,
	.bxhs-related-products .product-grid-item,
	.bxhs-product-section--related .bxhs-product-card,
	.bxhs-product-section--related .product-grid-item {
		width: 50% !important;
		max-width: 50% !important;
		flex: 0 0 50% !important;
		padding: 0 6px !important;
		margin-bottom: 12px !important;
		box-sizing: border-box !important;
	}

	.bxhs-product-section--related .product-wrapper,
	.bxhs-related-products .product-wrapper {
		background: #ffffff !important;
		border: 1px solid #e5e7eb !important;
		border-radius: 8px !important;
		overflow: hidden !important;
		height: 100% !important;
		display: flex !important;
		flex-direction: column !important;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
		transition: all 0.2s ease !important;
	}

	.bxhs-product-section--related .product-element-top,
	.bxhs-related-products .product-element-top {
		position: relative !important;
		width: 100% !important;
		height: 0 !important;
		padding-top: 100% !important;
		background: #ffffff !important;
		overflow: hidden !important;
		flex-shrink: 0 !important;
	}

	.bxhs-product-section--related .product-image-link,
	.bxhs-related-products .product-image-link {
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100% !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 8px !important;
		box-sizing: border-box !important;
	}

	.bxhs-product-section--related .product-image-link img,
	.bxhs-related-products .product-image-link img {
		position: absolute !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		max-width: calc(100% - 16px) !important;
		max-height: calc(100% - 16px) !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain !important;
		display: block !important;
	}

	.bxhs-product-section--related .product-element-bottom,
	.bxhs-related-products .product-element-bottom {
		padding: 10px 10px 12px 10px !important;
		display: flex !important;
		flex-direction: column !important;
		flex: 1 1 auto !important;
		justify-content: space-between !important;
		background: #ffffff !important;
	}

	.bxhs-product-section--related .wd-entities-title,
	.bxhs-related-products .wd-entities-title {
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1.35 !important;
		margin: 0 0 4px 0 !important;
		min-height: 35px !important;
		max-height: 35px !important;
		overflow: hidden !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		white-space: normal !important;
		word-break: break-word !important;
	}

	.bxhs-product-section--related .wd-entities-title a,
	.bxhs-related-products .wd-entities-title a {
		color: #242424 !important;
		text-decoration: none !important;
	}

	.bxhs-product-section--related .fade-in-block,
	.bxhs-related-products .fade-in-block,
	.bxhs-product-section--related table.woocommerce-product-attributes,
	.bxhs-related-products table.woocommerce-product-attributes {
		display: none !important;
	}
}
