/* ======================================================
   PAGINA DE OPINIONES DE LA TIENDA
   Noviembre de 2026. Acompana al atajo [mc_opiniones_tienda]
   que esta en functions.php. Segunda version: mas compacta.
   Los titulos llevan "html body .mc-op" delante porque el kit
   de Elementor pisa los tamanos de h1/h2/h3.
   ====================================================== */

.mc-op {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 20px 72px;
	color: #4a4f5c;
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- Cabecera ---------- */

.mc-op-cab {
	padding: 52px 0 28px;
	text-align: center;
}

.mc-op-ante {
	margin: 0 0 10px;
	color: #1f458c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

html body .mc-op .mc-op-titulo {
	margin: 0;
	color: #17376f;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.15;
}

/* ---------- Estrellas ---------- */

.mc-op-estrellas {
	position: relative;
	display: inline-block;
	font-size: 17px;
	line-height: 1;
	letter-spacing: 2px;
	white-space: nowrap;
}

.mc-op-estrellas-fondo {
	color: #dfe3ec;
}

.mc-op-estrellas-frente {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #f5a623;
	white-space: nowrap;
}

/* ---------- Franja de la nota ---------- */

.mc-op-nota {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 30px;
	padding: 20px 26px;
	background: #fff;
	border: 1px solid #dfe3ec;
	border-radius: 14px;
}

.mc-op-nota-izq {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-right: 30px;
	border-right: 1px solid #ececec;
}

.mc-op-nota-der {
	padding-left: 30px;
	border-left: 1px solid #ececec;
}

.mc-op-cifra {
	color: #17376f;
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
}

.mc-op-nota-txt {
	display: block;
}

.mc-op-de {
	display: block;
	margin-top: 5px;
	color: #6b7280;
	font-size: 14px;
}

.mc-op-de strong {
	color: #17376f;
}

.mc-op-barras {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}

.mc-op-barra {
	display: grid;
	grid-template-columns: 12px 1fr 36px;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.mc-op-barra-et {
	color: #8a8f9c;
	font-size: 12px;
	font-weight: 600;
	text-align: right;
}

.mc-op-barra-riel {
	height: 6px;
	background: #eef1f7;
	border-radius: 999px;
	overflow: hidden;
}

.mc-op-barra-relleno {
	display: block;
	height: 100%;
	background: #f5a623;
	border-radius: 999px;
}

.mc-op-barra-pct {
	color: #8a8f9c;
	font-size: 12px;
	text-align: right;
}

.mc-op-pie {
	margin: 10px 2px 0;
	color: #9aa0ac;
	font-size: 12px;
}

/* ---------- Botones ---------- */

.mc-op-boton {
	display: inline-block;
	padding: 11px 24px;
	background: #1f458c;
	color: #fff !important;
	border: 2px solid #1f458c;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none !important;
	transition: background .18s ease, color .18s ease;
}

.mc-op-boton:hover {
	background: #17376f;
	border-color: #17376f;
}

.mc-op-boton-claro {
	background: #fff;
	color: #1f458c !important;
	border-color: #fff;
}

.mc-op-boton-claro:hover {
	background: rgba(255, 255, 255, .86);
	border-color: rgba(255, 255, 255, .86);
	color: #17376f !important;
}

.mc-op-enlace {
	display: inline-block;
	margin-top: 4px;
	color: #1f458c !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	border-bottom: 2px solid rgba(31, 69, 140, .25);
	padding-bottom: 1px;
}

.mc-op-enlace:hover {
	border-bottom-color: #1f458c;
}

/* ---------- Como funcionan ---------- */

.mc-op-porque {
	padding: 48px 0 0;
}

html body .mc-op .mc-op-h2 {
	margin: 0 0 18px;
	color: #17376f;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.mc-op-rejilla {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.mc-op-tarjeta {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 18px 18px;
	background: #f7f9fc;
	border: 1px solid #ececec;
	border-radius: 12px;
}

.mc-op-tarjeta-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	background: #fff;
	border: 1px solid #dfe3ec;
	border-radius: 9px;
	color: #1f458c;
}

html body .mc-op .mc-op-tarjeta h3 {
	margin: 0 0 4px;
	color: #17376f;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.mc-op-tarjeta p {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.55;
}

/* ---------- Pie doble: pedir opinion + tienda fisica ---------- */

.mc-op-doble {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 48px;
}

html body .mc-op .mc-op-h3 {
	margin: 0 0 6px;
	color: #17376f;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.mc-op-pedir {
	padding: 26px 28px;
	background: #1f458c;
	border-radius: 14px;
}

html body .mc-op .mc-op-pedir .mc-op-h3 {
	color: #fff;
}

.mc-op-pedir p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
	line-height: 1.55;
}

#mc-trustpilot-collector:not(:empty) {
	margin-bottom: 16px;
}

.mc-op-fisica {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 26px 28px;
	background: #fff;
	border: 1px solid #dfe3ec;
	border-radius: 14px;
}

.mc-op-fisica-nota {
	flex: 0 0 auto;
	text-align: center;
	padding-right: 22px;
	border-right: 1px solid #ececec;
}

.mc-op-fisica-cifra {
	display: block;
	margin-bottom: 6px;
	color: #17376f;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
}

.mc-op-fisica-txt p {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.55;
}

.mc-op-aclara {
	color: #9aa0ac !important;
	font-size: 12px !important;
	margin-bottom: 8px !important;
}

/* ---------- Movil ---------- */

@media (max-width: 920px) {

	.mc-op-nota {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 22px;
	}

	.mc-op-nota-izq,
	.mc-op-nota-der {
		padding: 0;
		border: 0;
	}

	.mc-op-barras {
		max-width: none;
	}

	.mc-op-nota-der .mc-op-boton {
		display: block;
		text-align: center;
	}

	.mc-op-rejilla,
	.mc-op-doble {
		grid-template-columns: 1fr;
	}

	html body .mc-op .mc-op-titulo {
		font-size: 28px;
	}

	.mc-op-cab {
		padding: 34px 0 24px;
	}

	html body .mc-op .mc-op-h2 {
		font-size: 21px;
	}

	.mc-op-porque {
		padding-top: 38px;
	}

	.mc-op-doble {
		margin-top: 38px;
	}

	.mc-op-fisica {
		gap: 18px;
		padding: 22px;
	}
}


/* ---------- Sello de la nota en la ficha de producto ---------- */

.mc-op-sello {
	display: flex;
	align-items: center;
	gap: 9px;
	width: fit-content;
	flex: 0 0 100%;
	margin: 14px 0 0;
	padding: 9px 14px;
	background: #f7f9fc;
	border: 1px solid #dfe3ec;
	border-radius: 10px;
	color: #4a4f5c !important;
	font-size: 13px;
	line-height: 1.3;
	text-decoration: none !important;
	transition: border-color .18s ease;
}

.mc-op-sello:hover {
	border-color: #1f458c;
}

.mc-op-sello .mc-op-estrellas {
	font-size: 14px;
	letter-spacing: 1px;
}

.mc-op-sello-txt strong {
	color: #17376f;
}

@media (max-width: 520px) {

	.mc-op-sello {
		font-size: 12px;
		padding: 8px 12px;
		gap: 7px;
	}
}
