.purio-chat__message{white-space:normal}
.purio-chat__message p{margin:0 0 8px}
.purio-chat__message p:last-child{margin-bottom:0}
.purio-chat__message ul,.purio-chat__message ol{margin:7px 0 0;padding-left:19px}
.purio-chat__message li+li{margin-top:3px}
.purio-chat__products{gap:9px}
.purio-chat__product{gap:10px;border-radius:13px;padding:9px;box-shadow:0 4px 12px rgba(34,50,69,.06)}
.purio-chat__product img{width:48px;height:48px;flex-basis:48px;border-radius:10px}
.purio-chat__product-content{gap:3px!important}
.purio-chat__product em{display:-webkit-box;overflow:hidden;color:#6c7789;font-size:11px;font-style:normal;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.purio-chat__product small{color:#168252;font-weight:700}
.purio-chat__add-to-cart{border-radius:8px;padding:8px 9px;white-space:nowrap}
.purio-chat__message--typing{display:inline-flex;align-items:center;min-width:36px;min-height:14px;color:transparent}.purio-chat__message--typing p{display:none}.purio-chat__message--typing::after{content:'•••';color:#7b8797;letter-spacing:2px;animation:purioTyping 1.05s ease-in-out infinite}@keyframes purioTyping{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-2px)}}.purio-chat__guided-actions{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 11px}.purio-chat__guided-actions button{border:1px solid #dbe4f0;border-radius:999px;background:#fff;color:#35506f;padding:7px 10px;font:600 12px/1.2 inherit;cursor:pointer}.purio-chat__guided-actions button:hover{border-color:var(--purio-accent);color:var(--purio-accent);background:#f6f9ff}.purio-chat__guided-actions button:disabled{opacity:.55;cursor:default}
.purio-chat__message--human{border:1px solid #bde4d0;border-bottom-left-radius:4px;background:#f1fbf5;color:#1d5a3b;box-shadow:0 2px 5px rgba(26,106,65,.05)}

/* Product cards: keep the content readable in the narrow floating panel. */
.purio-chat__product{
	display:grid;
	grid-template-columns:minmax(0,1fr);
	gap:9px;
	min-width:0;
	width:100%;
	max-width:100%;
	box-sizing:border-box;
	overflow:hidden;
	padding:11px;
	border-color:#dbe5f1;
	background:linear-gradient(135deg,#fff 0%,#fbfdff 100%);
}
.purio-chat__product-link{
	display:grid;
	grid-template-columns:52px minmax(0,1fr);
	gap:10px;
	align-items:start;
	min-width:0;
	width:100%;
}
.purio-chat__product-link img{
	width:52px;
	height:52px;
	flex-basis:auto;
	border:1px solid #eef1f5;
	border-radius:10px;
}
.purio-chat__product-content{display:grid;min-width:0;gap:4px!important}
.purio-chat__product strong{
	overflow:hidden;
	color:#24364d;
	font-size:13px;
	line-height:1.3;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.purio-chat__product em{-webkit-line-clamp:1}
.purio-chat__product small{font-size:11px;line-height:1.3}
.purio-chat__product-actions{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:7px;
	flex:1 1 100%;
	min-width:0;
	width:100%;
}
.purio-chat__product-actions:has(:only-child){grid-template-columns:minmax(0,1fr)}
.purio-chat__add-to-cart,.purio-chat__compare-product{
	display:flex;
	align-items:center;
	justify-content:center;
	min-width:0;
	max-width:100%;
	min-height:34px;
	box-sizing:border-box;
	padding:8px 9px;
	border-radius:8px;
	font-size:11px;
	line-height:1.15;
	text-align:center;
	white-space:normal;
}
.purio-chat__add-to-cart{background:var(--purio-accent)}
.purio-chat__compare-product{border-color:#bfd2ed;background:#fff;color:#1f5eae}
.purio-chat__product::after{
	content:'Toca la ficha para ver detalles';
	color:#718096;
	font-size:10px;
	line-height:1;
}
.purio-chat__products,.purio-chat__messages{max-width:100%;overflow-x:hidden}

/* Ficha de producto: jerarquía de tienda y sin desplazamiento lateral. */
.purio-chat__product{
	display:grid;
	grid-template-columns:minmax(0,1fr);
	gap:9px;
	min-width:0;
	max-width:100%;
	width:100%;
	box-sizing:border-box;
	overflow:hidden;
	padding:10px;
	border:1px solid #dce6f1;
	border-radius:14px;
	background:linear-gradient(135deg,#fff 0%,#fbfdff 100%);
	box-shadow:0 5px 15px rgba(30,60,97,.08);
}
.purio-chat__product-link{
	display:grid;
	grid-template-columns:72px minmax(0,1fr);
	gap:11px;
	align-items:start;
	min-width:0;
	width:100%;
}
.purio-chat__product-link img{
	width:72px;
	height:72px;
	flex-basis:auto;
	border:1px solid #eef1f5;
	border-radius:11px;
}
.purio-chat__product-content{display:grid;align-content:start;min-width:0;gap:5px!important}
.purio-chat__product-heading{display:flex;align-items:start;justify-content:space-between;gap:7px;min-width:0}
.purio-chat__product-heading strong{flex:1;min-width:0;overflow:hidden;color:#24364d;font-size:12px;line-height:1.32;text-overflow:ellipsis;white-space:normal}
.purio-chat__product-price{flex:0 0 auto;color:#0d8a50;font-size:12px;line-height:1.3;white-space:nowrap}
.purio-chat__product-stock{color:#11824d!important;font-size:10px!important;font-weight:700!important}
.purio-chat__product em{display:-webkit-box;overflow:hidden;color:#6e7d90;font-size:10px;font-style:normal;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.purio-chat__product-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;flex:1 1 100%;min-width:0;width:100%}
.purio-chat__product-actions:has(:only-child){grid-template-columns:minmax(0,1fr)}
.purio-chat__add-to-cart,.purio-chat__compare-product{display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:34px;box-sizing:border-box;padding:8px 9px;border-radius:8px;font-size:11px!important;font-weight:700!important;line-height:1.15;text-align:center;white-space:normal}
.purio-chat__add-to-cart{background:#2878e5!important}
.purio-chat__compare-product{border-color:#bfd2ed;background:#fff;color:#1f5eae}
.purio-chat__product::after{content:'Ver ficha del producto ↗';margin-top:-1px;color:#58718f;font-size:10px;font-weight:600}
@media(max-width:360px){.purio-chat__product-actions{grid-template-columns:minmax(0,1fr)}}
@media(max-width:360px){
	.purio-chat__product-actions{grid-template-columns:minmax(0,1fr)}
}
