/*
 * Tarjeta de producto de Carra para todo el sitio (tienda, categorías, búsqueda, relacionados y carruseles).
 * Aplica a las tarjetas con el estilo "Full width button" de Woodmart (.wd-hover-fw-button).
 * Colores de Carra: rojo #E4472D, naranja #F59300.
 */

/* Todas las tarjetas de una fila del mismo alto. */
.wd-products .wd-carousel-item {
	display: flex;
}

.wd-product.wd-hover-fw-button {
	display: flex;
	width: 100%;
	min-width: 0;
}

/* Tarjeta: blanca con recuadro suave en tono de marca. */
.wd-product.wd-hover-fw-button .wd-product-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 12px 12px 16px;
	border: 1.5px solid #F6D2C7;
	border-radius: 18px;
	background: #fff !important;
	box-shadow: 0 6px 18px rgba(228, 71, 45, .07);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}

.wd-product.wd-hover-fw-button:hover .wd-product-wrapper {
	transform: translateY(-5px);
	border-color: #F59300;
	box-shadow: 0 14px 30px rgba(228, 71, 45, .18);
}

.wd-product.wd-hover-fw-button .wd-product-card-bg {
	display: none !important;
}

/* Foto: siempre cuadrada y centrada, sin importar la proporción original. */
.wd-product.wd-hover-fw-button .wd-product-thumb {
	overflow: hidden;
	margin-bottom: 12px;
	border-radius: 12px;
	background: #fff;
}

.wd-product.wd-hover-fw-button .wd-product-img-link {
	display: block;
	aspect-ratio: 1 / 1;
}

.wd-product.wd-hover-fw-button .wd-product-img-link img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	transition: transform .4s;
}

.wd-product.wd-hover-fw-button:hover .wd-product-img-link img {
	transform: scale(1.05);
}

/* Datos del producto. */
.wd-product.wd-hover-fw-button .product-element-bottom {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 0 2px !important;
	text-align: center;
}

.wd-product.wd-hover-fw-button .wd-entities-title {
	order: 1;
	min-height: 2.7em;
	margin-bottom: 4px;
	font-size: 13px;
	line-height: 1.35;
}

.wd-product.wd-hover-fw-button .wd-entities-title a {
	display: -webkit-box;
	overflow: hidden;
	color: #242424;
	white-space: normal;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.wd-product.wd-hover-fw-button .wd-entities-title a:hover {
	color: #E4472D;
}

.wd-product.wd-hover-fw-button .wd-product-cats,
.wd-product.wd-hover-fw-button .wd-product-brands-links {
	order: 2;
	margin-bottom: 4px;
	font-size: 11px;
}

.wd-product.wd-hover-fw-button .wd-product-sku {
	order: 2;
	margin-bottom: 4px;
	color: #999;
	font-size: 11px;
}

.wd-product.wd-hover-fw-button .wd-product-stock {
	order: 3;
	margin-bottom: 8px;
	font-size: 12px;
}

/* Sin estrellitas vacías. */
.wd-product.wd-hover-fw-button .star-rating {
	display: none !important;
}

/* Precio y botón siempre abajo. */
.wd-product.wd-hover-fw-button .wrap-price {
	display: flex;
	justify-content: center;
	order: 4;
	margin-top: auto;
	margin-bottom: 12px;
}

.wd-product.wd-hover-fw-button .wrap-price .price {
	display: block;
	width: 100%;
	text-align: center !important;
}

.wd-product.wd-hover-fw-button .price,
.wd-product.wd-hover-fw-button .price .amount {
	color: #E4472D;
	font-size: 18px;
	font-weight: 800;
}

.wd-product.wd-hover-fw-button .price del,
.wd-product.wd-hover-fw-button .price del .amount {
	color: #999;
	font-size: 13px;
	font-weight: 400;
}

.wd-product.wd-hover-fw-button .wd-add-btn {
	order: 5;
}

.wd-product.wd-hover-fw-button .wd-add-btn .quantity {
	display: none !important;
}

.wd-product.wd-hover-fw-button .wd-add-btn .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	margin: 0 !important;
	padding: 0 14px !important;
	border-radius: 40px !important;
	background: linear-gradient(135deg, #E4472D, #F59300) !important;
	color: #fff !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-align: center;
	box-shadow: 0 6px 14px rgba(228, 71, 45, .25);
	transition: filter .2s, box-shadow .2s;
}

.wd-product.wd-hover-fw-button .wd-add-btn .button:hover {
	filter: brightness(1.06);
	box-shadow: 0 8px 18px rgba(228, 71, 45, .35);
}

.wd-product.wd-hover-fw-button .wd-add-btn .wd-action-text {
	overflow: visible !important;
	max-width: none !important;
	white-space: nowrap;
}

.wd-product.wd-hover-fw-button .wd-product-card-hover {
	display: none !important;
}

/* Íconos de favoritos, comparar y vista rápida sobre la foto. */
.wd-product.wd-hover-fw-button .wd-buttons .wd-action-btn > a {
	color: #E4472D;
}

/* Etiquetas de oferta / agotado en colores de marca. */
.wd-product.wd-hover-fw-button .product-labels .onsale {
	border-radius: 20px;
	background: #E4472D;
}

@media (max-width: 767px) {
	.wd-product.wd-hover-fw-button .wd-product-wrapper {
		padding: 8px 8px 12px;
		border-radius: 14px;
	}

	.wd-product.wd-hover-fw-button .wd-entities-title {
		font-size: 12px;
	}

	.wd-product.wd-hover-fw-button .price,
	.wd-product.wd-hover-fw-button .price .amount {
		font-size: 15px;
	}

	.wd-product.wd-hover-fw-button .wd-add-btn .button {
		min-height: 36px;
		padding: 6px 10px !important;
		font-size: 11px;
		line-height: 1.15;
	}

	/* "Seleccionar opciones" pasa a dos líneas si no entra. */
	.wd-product.wd-hover-fw-button .wd-add-btn .button,
	.wd-product.wd-hover-fw-button .wd-add-btn .wd-action-text {
		font-size: 11px !important;
		letter-spacing: .02em !important;
		line-height: 1.2 !important;
		white-space: normal !important;
	}

	.wd-product.wd-hover-fw-button .wd-add-btn .wd-action-icon {
		display: none !important;
	}
}
