html body ul.products li.product.fq-card {
	--fqf-ink: #1B2430;
	--fqf-muted: #6B7480;
	--fqf-line: #D9DDE3;
	--fqf-soft: #F2F4F7;
	--fqf-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--fqf-line);
	border-radius: 6px;
	padding: 0 !important;
	overflow: hidden;
	box-shadow: none;
	transition: border-color .2s ease, transform .2s ease;
}

html body ul.products li.product.fq-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--fqf-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}

@media (hover: hover) {
	html body ul.products li.product.fq-card:hover {
		border-color: var(--fqf-accent);
		transform: translateY(-2px);
	}
	html body ul.products li.product.fq-card:hover::after {
		transform: scaleX(1);
	}
	html body ul.products li.product.fq-card:hover .fqf-media img {
		transform: scale(1.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	html body ul.products li.product.fq-card,
	html body ul.products li.product.fq-card:hover,
	html body ul.products li.product.fq-card .fqf-media img {
		transform: none !important;
		transition: none;
	}
}

/* Cabecera: marca + SKU / descuento */
html body ul.products li.product.fq-card .fqf-brand {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	background: var(--fqf-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .3px;
	line-height: 1;
	padding: 5px 8px;
	border-radius: 3px;
}

html body ul.products li.product.fq-card .fqf-sku {
	font-family: var(--fqf-mono);
	font-size: 11px;
	color: var(--fqf-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

html body ul.products li.product.fq-card .fqf-sale {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	background: #D93A2B;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	padding: 5px 7px;
	border-radius: 3px;
}

/* Cuerpo (enlace de WooCommerce) */
html body ul.products li.product.fq-card a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
	padding: 0 12px;
	color: inherit;
	text-decoration: none;
}

/* Imagen a todo el ancho, pegada arriba y cuadrada en todas las fichas */
html body ul.products li.product.fq-card .fqf-media {
	position: relative;
	flex: none;
	width: auto;
	height: auto;
	min-height: 0;
	aspect-ratio: 1 / 1;
	margin: 0 -12px 4px;
	padding: 0;
	background: #fff;
	overflow: hidden;
}

html body ul.products li.product.fq-card .fqf-media .et_shop_image {
	position: absolute;
	inset: 0;
	display: block;
	margin: 0;
	padding: 0;
}

html body ul.products li.product.fq-card .fqf-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: contain;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	transition: transform .3s ease;
}

/* Textos: fila de categoría + SKU con altura fija */
html body ul.products li.product.fq-card .fqf-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	min-height: 16px;
	font-family: var(--fqf-mono);
	font-size: 11px;
	line-height: 16px;
	color: var(--fqf-muted);
}

html body ul.products li.product.fq-card .fqf-cat {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

html body ul.products li.product.fq-card .woocommerce-loop-product__title {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--fqf-ink);
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.35;
	min-height: 2.7em;
	letter-spacing: 0;
	text-transform: none !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

html body ul.products li.product.fq-card .price {
	margin: 0 !important;
	color: var(--fqf-ink) !important;
	font-size: 15px !important;
	font-weight: 600;
}

html body ul.products li.product.fq-card .price del {
	color: var(--fqf-muted);
	font-weight: 400;
	font-size: 13px;
}

html body ul.products li.product.fq-card .price ins {
	text-decoration: none;
}

/* Especificaciones */
html body ul.products li.product.fq-card .fqf-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

html body ul.products li.product.fq-card .fqf-chip {
	font-family: var(--fqf-mono);
	font-size: 11px;
	line-height: 1.3;
	color: #2B3440;
	background: #EEF1F5;
	border: 1px solid var(--fqf-line);
	border-radius: 3px;
	padding: 2px 6px;
}

/* Stock */
html body ul.products li.product.fq-card .fqf-stock {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 4px;
	font-size: 12px;
}

html body ul.products li.product.fq-card .fqf-stock i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	flex: none;
}

html body ul.products li.product.fq-card .fqf-stock--in { color: #2E7D32; }
html body ul.products li.product.fq-card .fqf-stock--low { color: #B26A00; }
html body ul.products li.product.fq-card .fqf-stock--out { color: #B3261E; }

/* Botones */
html body ul.products li.product.fq-card .fqf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding: 12px;
}

html body ul.products li.product.fq-card .fqf-actions a.button,
html body ul.products li.product.fq-card .fqf-actions a.button:hover {
	flex: 1 1 0;
	min-width: 0;
	height: 40px;
	margin: 0 !important;
	padding: 0 12px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--fqf-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 4px !important;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1 !important;
	letter-spacing: .2px;
	text-transform: none !important;
	white-space: nowrap;
	box-shadow: none !important;
	transition: background-color .15s ease;
}

html body ul.products li.product.fq-card .fqf-actions a.button:hover {
	background: color-mix(in srgb, var(--fqf-accent) 82%, #000) !important;
}

html body ul.products li.product.fq-card .fqf-actions a.button::after {
	display: none !important;
}

html body ul.products li.product.fq-card .fqf-actions a.add_to_cart_button::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='17' cy='19' r='2'/%3E%3Cpath d='M17 17H6V3H4'/%3E%3Cpath d='M6 5l14 1-1 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='17' cy='19' r='2'/%3E%3Cpath d='M17 17H6V3H4'/%3E%3Cpath d='M6 5l14 1-1 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
}

html body ul.products li.product.fq-card .fqf-actions a.button.loading {
	opacity: .7;
}

html body ul.products li.product.fq-card .fqf-actions a.added_to_cart {
	flex-basis: 100%;
	text-align: center;
	font-size: 12px;
	color: var(--fqf-accent);
	padding: 0;
}

html body ul.products li.product.fq-card .fqf-quote {
	width: 40px;
	height: 40px;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #fff;
	color: #2B3440;
	border: 1px solid #C5CBD3;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}

html body ul.products li.product.fq-card .fqf-quote:hover,
html body ul.products li.product.fq-card .fqf-quote:focus-visible {
	border-color: var(--fqf-accent);
	color: var(--fqf-accent);
}
