/* Scoped to WooCommerce cards; single-product variation forms are untouched. */
.products .nsl-product-card-no-quick-view .quick-view,
.products .nsl-product-card-no-quick-view .wrap-quickview-button {
	display: none !important;
}

/* Both direct purchase and configuration actions occupy the same row height.
   Six-pixel padding accommodates a two-line label inside the 48px minimum. */
.products .product-grid-item .product-element-bottom .wd-add-btn > .button {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 6px 8px;
	white-space: normal;
	line-height: 1.3;
	text-align: center;
}

/* Woodmart puts its own button height/padding on the animated label span. */
.products .product-grid-item .wd-add-btn > .button > span {
	min-height: 0;
	height: auto;
	padding: 0;
	line-height: inherit;
}

.products .product-element-bottom {
	min-width: 0;
}

/* Stretch cards within each listing row and keep purchase actions on one baseline. */
.products .product-grid-item {
	display: flex;
	flex-direction: column;
}

.products.wd-products-holder {
	align-items: stretch !important;
}

.products .product-grid-item .product-wrapper {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.products .product-grid-item .product-element-bottom {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.products .product-grid-item .wd-add-btn {
	margin-top: auto;
	padding-top: 12px;
}

.products .product-element-bottom .wd-entities-title,
.products .product-element-bottom .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	/* Woodmart hover spacing must not become part of the clamped text box. */
	padding-block-start: 0;
	overflow: hidden;
	line-height: 1.35;
	min-height: 4.05em;
	max-height: 4.05em;
	word-break: normal;
	overflow-wrap: anywhere;
}

.products .product-element-top .product-image-link {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.products .product-element-top .product-image-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.products .nsl-price-unit {
	font-size: .85em;
	white-space: nowrap;
}


/* Center the homepage trust row and ensure Elementor's inline SVG icons render. */
body.home .elementor-element-3767c8f {
	position: relative;
	left: 0 !important;
}

@media (min-width: 1200px) {
	body.home .elementor-element-3767c8f {
		left: calc(50vw - 596px) !important;
	}
}

body.home .elementor-element-3767c8f > .e-con-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	justify-items: center;
}

body.home .elementor-element-3767c8f > .e-con-inner > .e-con,
body.home .elementor-element-3767c8f > .e-con-inner > .e-con > .e-con-inner {
	width: 100%;
	min-width: 0;
	align-items: center;
	justify-content: center;
	text-align: center;
}

body.home .elementor-element-3767c8f > .e-con-inner > .e-con > .e-con-inner {
	flex-direction: column;
	gap: 8px;
}

body.home .elementor-element-3767c8f .elementor-widget-icon,
body.home .elementor-element-3767c8f .elementor-icon-wrapper,
body.home .elementor-element-3767c8f .elementor-icon {
	margin-left: auto;
	margin-right: auto;
}

body.home .elementor-element-3767c8f .elementor-icon svg {
	display: block !important;
	flex: 0 0 22px !important;
	width: 22px !important;
	min-width: 22px !important;
	max-width: none !important;
	height: 22px !important;
	color: #69727d !important;
	fill: #69727d !important;
	visibility: visible !important;
	opacity: 1 !important;
}

body.home .elementor-element-3767c8f .elementor-icon i {
	font-size: 22px;
	line-height: 1;
}

@media (max-width: 1024px) {
	body.home .elementor-element-3767c8f > .e-con-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 480px) {
	body.home .elementor-element-3767c8f > .e-con-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
