/* P2C Conversion (nonabcn) - mejoras de conversion ficha producto. Marc 2026-10-10 */

/* (1) Resumen de resenas (widget Trustivity) arriba: espaciado y foco limpio */
.summary .trust-review{
	margin:6px 0 14px;
}
.summary .trust-review .ver_vals{cursor:pointer;}

/* (2) Badges de confianza */
.p2c-trust-badges{
	display:flex;
	flex-wrap:wrap;
	gap:8px 14px;
	margin:14px 0 6px;
	padding:12px 14px;
	border:1px solid #ece7df;
	border-radius:10px;
	background:#faf8f4;
}
.p2c-trust-badges .p2c-badge{
	display:inline-flex;
	align-items:center;
	gap:7px;
	font-size:13px;
	line-height:1.2;
	color:#2b2b2b;
	font-weight:500;
}
.p2c-trust-badges .p2c-badge small{color:#8a8278;font-weight:400;}
.p2c-trust-badges .p2c-ico{
	width:18px;height:18px;flex:0 0 18px;color:#b89b57; /* dorado nona */
}

/* (3a) Reforzar el boton principal Anadir al carrito */
.summary form.cart .single_add_to_cart_button{
	font-weight:600 !important;
	letter-spacing:.02em;
	box-shadow:0 6px 18px rgba(184,155,87,.28);
	transition:transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.summary form.cart .single_add_to_cart_button:not(.disabled):hover{
	transform:translateY(-1px);
	box-shadow:0 8px 22px rgba(184,155,87,.38);
}
/* Flash de aviso cuando falta elegir variacion */
form.cart.p2c-flash{
	outline:2px solid #b89b57;
	outline-offset:6px;
	border-radius:6px;
	transition:outline-color .3s ease;
}

/* (3b) Microcopy de reaseguro bajo el boton */
.p2c-reassure{
	margin:10px 0 0;
	font-size:12.5px;
	color:#7a7268;
	display:flex;
	align-items:center;
	gap:6px;
}
.p2c-reassure span[aria-hidden]{color:#3a9d5d;font-weight:700;}

/* (3c) Barra sticky inferior en movil */
.p2c-sticky-atc{
	position:fixed;
	left:0;right:0;bottom:0;
	z-index:9990;
	display:none; /* por defecto oculta; se muestra en movil via media query */
	align-items:center;
	gap:12px;
	padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
	background:#ffffff;
	border-top:1px solid #e7e2d9;
	box-shadow:0 -6px 20px rgba(0,0,0,.10);
	transform:translateY(0);
	transition:transform .25s ease, opacity .25s ease;
}
.p2c-sticky-atc.p2c-hide{
	transform:translateY(120%);
	opacity:0;
	pointer-events:none;
}
.p2c-sticky-info{
	display:flex;
	flex-direction:column;
	min-width:0;
	flex:1 1 auto;
	line-height:1.15;
}
.p2c-sticky-title{
	font-size:12px;
	color:#8a8278;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.p2c-sticky-price{
	font-size:16px;
	font-weight:700;
	color:#1f1f1f;
}
.p2c-sticky-price del{font-size:12px;font-weight:400;color:#a9a199;margin-right:5px;}
.p2c-sticky-price ins{text-decoration:none;}
.p2c-sticky-btn{
	flex:0 0 auto;
	border:0;
	cursor:pointer;
	background:#b89b57;
	color:#fff;
	font-size:15px;
	font-weight:600;
	padding:13px 20px;
	border-radius:8px;
	white-space:nowrap;
	box-shadow:0 4px 14px rgba(184,155,87,.35);
}
.p2c-sticky-btn:active{transform:translateY(1px);}

/* Mostrar sticky solo en movil */
@media (max-width:767px){
	.p2c-sticky-atc.is-ready{display:flex;}
	/* margen inferior para que la barra no tape el footer al final */
	body.single-product{padding-bottom:70px;}
	.p2c-trust-badges{gap:6px 10px;padding:10px 12px;}
	.p2c-trust-badges .p2c-badge{font-size:12px;}
}
