/* WoodMart renders these blocks a second time below the product grid. */
body.tax-product_cat .description-area-after .term-description,
body.tax-product_cat .buscador-tienda-tecnocaldera {
	display: none !important;
}

body.tax-product_cat .products .product-grid-item,
body.post-type-archive-product .products .product-grid-item,
body.tax-product_cat .wd-products .product-grid-item,
body.post-type-archive-product .wd-products .product-grid-item {
	height: 100%;
}

body.tax-product_cat .products .product-wrapper,
body.post-type-archive-product .products .product-wrapper,
body.tax-product_cat .wd-products .product-wrapper,
body.post-type-archive-product .wd-products .product-wrapper {
	display: flex;
	height: 100%;
	flex-direction: column;
}

body.tax-product_cat .products .product-element-top,
body.post-type-archive-product .products .product-element-top,
body.tax-product_cat .wd-products .product-element-top,
body.post-type-archive-product .wd-products .product-element-top {
	display: flex;
	width: 100%;
	aspect-ratio: 1 / 1;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #fff;
}

body.tax-product_cat .products .product-element-top img,
body.post-type-archive-product .products .product-element-top img,
body.tax-product_cat .wd-products .product-element-top img,
body.post-type-archive-product .wd-products .product-element-top img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

body.tax-product_cat .products .product-element-bottom,
body.post-type-archive-product .products .product-element-bottom,
body.tax-product_cat .wd-products .product-element-bottom,
body.post-type-archive-product .wd-products .product-element-bottom {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: stretch;
	text-align: center;
}

body.tax-product_cat .products .wd-entities-title,
body.post-type-archive-product .products .wd-entities-title,
body.tax-product_cat .wd-products .wd-entities-title,
body.post-type-archive-product .wd-products .wd-entities-title {
	display: flex;
	min-height: 3.4em;
	align-items: flex-start;
	justify-content: center;
	margin-bottom: 8px;
	line-height: 1.35;
}

body.tax-product_cat .products .wd-entities-title a,
body.post-type-archive-product .products .wd-entities-title a,
body.tax-product_cat .wd-products .wd-entities-title a,
body.post-type-archive-product .wd-products .wd-entities-title a {
	display: block;
	max-width: 100%;
	overflow-wrap: anywhere;
}

body.tax-product_cat .products .product-category,
body.post-type-archive-product .products .product-category,
body.tax-product_cat .wd-products .product-category,
body.post-type-archive-product .wd-products .product-category {
	min-height: 1.45em;
}

body.tax-product_cat .products .price,
body.post-type-archive-product .products .price,
body.tax-product_cat .wd-products .price,
body.post-type-archive-product .wd-products .price {
	display: none !important;
}

.tc-archive-action-row {
	display: flex;
	width: 100%;
	align-items: stretch;
	justify-content: center;
	gap: 7px;
	margin-top: auto;
}

.tc-archive-action-row .wd-add-btn {
	min-width: 0;
	flex: 1 1 auto;
	margin-top: 0 !important;
}

.tc-archive-action-row .wd-add-btn a {
	display: inline-flex;
	width: 100%;
	min-width: 0;
	height: 44px !important;
	min-height: 44px !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 8px 10px !important;
	border-radius: 4px;
	background: #62cc3d;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-transform: none !important;
	overflow: hidden;
}

.tc-archive-action-row .wd-add-btn a > span,
.tc-archive-action-row .wd-add-btn a .tc-archive-button__label span {
	min-height: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	transform: none !important;
}

.tc-archive-action-row .wd-add-btn a:hover,
.tc-archive-action-row .wd-add-btn a:focus-visible {
	background: #3aa91d;
	color: #fff;
}

.tc-archive-button__icon,
.tc-archive-button__icon svg {
	display: inline-flex;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
}

.tc-archive-button__icon svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.tc-archive-button__label {
	min-width: 0;
	flex: 1 1 auto;
	overflow-wrap: normal;
	white-space: nowrap;
}

.tc-archive-button__label-short {
	display: none !important;
}

.tc-archive-button__price {
	flex: 0 0 auto;
	margin-left: 2px;
	padding-left: 8px !important;
	border-left: 1px solid rgba(255, 255, 255, .45);
	font-size: 12px;
	font-weight: 900;
}

.tc-archive-share {
	display: inline-flex;
	width: 42px;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #cbd5d0;
	border-radius: 4px;
	background: #fff;
	color: #132238;
	cursor: pointer;
}

.tc-archive-share:hover,
.tc-archive-share:focus-visible,
.tc-archive-share.is-copied {
	border-color: #62cc3d;
	background: #f0fdf0;
	color: #237d19;
}

.tc-archive-share svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

@media (max-width: 767px) {
	body.tax-product_cat .products .wd-entities-title,
	body.post-type-archive-product .products .wd-entities-title,
	body.tax-product_cat .wd-products .wd-entities-title,
	body.post-type-archive-product .wd-products .wd-entities-title {
		min-height: 4.1em;
		font-size: 13px;
	}

	.tc-archive-action-row {
		gap: 5px;
	}

	.tc-archive-action-row .wd-add-btn a {
		gap: 5px;
		padding-inline: 7px !important;
		font-size: 11px;
	}

	.tc-archive-button__label-full {
		display: none !important;
	}

	.tc-archive-button__label-short {
		display: inline !important;
	}

	.tc-archive-button__icon,
	.tc-archive-button__icon svg {
		width: 15px;
		height: 15px;
		flex-basis: 15px;
	}

	.tc-archive-button__price {
		padding-left: 5px;
		font-size: 11px;
	}
}
