/* Partech – Bloque SKU (ficha + grillas)
   Tipo en FluentSnippets: CSS · Ejecutar en: Frontend
   Versión 3 – reemplaza completa la versión anterior. */

/* ================= FICHA DE PRODUCTO ================= */

body.single-product .partech-sku--single {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 8px 0 16px;
	padding: 8px 8px 8px 12px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-left-width: 3px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.03);
	font-size: 14px;
	line-height: 1.3;
	max-width: 100%;
}

body.single-product .partech-sku--single .partech-sku__label {
	font-size: 13px;
	opacity: 0.72;
}

/* Monoespaciada a propósito: evita confundir 0/O y 1/I al dictar o copiar el código. */
body.single-product .partech-sku--single .partech-sku__value {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	word-break: break-all;
	user-select: all;
}

body.single-product .partech-sku--single button.partech-sku__copy {
	min-height: 32px;
	padding: 4px 12px;
	margin: 0;
	border: 1px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
}

body.single-product .partech-sku--single button.partech-sku__copy:hover {
	background: rgba(0, 0, 0, 0.06);
}

body.single-product .partech-sku--single button.partech-sku__copy:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

body.single-product .partech-sku--single button.partech-sku__copy.is-copied {
	border-color: #1e7e34;
	color: #1e7e34;
}

@media (max-width: 480px) {
	body.single-product .partech-sku--single {
		display: flex;
		width: 100%;
	}
	body.single-product .partech-sku--single button.partech-sku__copy {
		margin-left: auto;
		min-height: 40px;
		padding: 6px 14px;
	}
}

/* ================= GRILLAS / LISTAS ================= */
/* El wrap ocupa su propia línea y respeta la alineación de cada widget
   (centrado en "Imbatibles", a la izquierda en "Destacados mes"). */

body .partech-sku-wrap {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	line-height: 1;
}

/* Reset fuerte: el SKU vive dentro del contenedor del precio y no debe heredar
   su tamaño, peso ni color. */
body .partech-sku-wrap .partech-sku--loop {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	max-width: 100%;
	padding: 3px 8px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.8);
	color: #4a4f5c;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	white-space: normal;
	vertical-align: middle;
}

body .partech-sku-wrap .partech-sku--loop .partech-sku__label {
	font-size: 12px;
	font-weight: 500;
	color: #4a4f5c;
	opacity: 0.75;
}

body .partech-sku-wrap .partech-sku--loop .partech-sku__value {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 12px;
	font-weight: 700;
	color: #4a4f5c;
	letter-spacing: 0.02em;
	overflow-wrap: anywhere;
}

/* Precios con "del" / "ins" (ofertas) no deben tachar ni subrayar el SKU */
body del .partech-sku-wrap,
body ins .partech-sku-wrap,
body a .partech-sku-wrap .partech-sku--loop {
	text-decoration: none;
}

/* Móvil: chip más compacto para no alargar las tarjetas */
@media (max-width: 480px) {
	body .partech-sku-wrap {
		margin-bottom: 6px;
	}
	body .partech-sku-wrap .partech-sku--loop {
		padding: 2px 6px;
		font-size: 11px;
	}
	body .partech-sku-wrap .partech-sku--loop .partech-sku__label,
	body .partech-sku-wrap .partech-sku--loop .partech-sku__value {
		font-size: 11px;
	}
}