.lwa-container {
	position: fixed;
	bottom: 22px;
	z-index: 99999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.lwa-right {
	right: 22px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.lwa-left {
	left: 22px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.lwa-trigger {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background-color: var(--lwa-primary, #25D366);
	color: #ffffff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	text-decoration: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lwa-trigger:hover {
	transform: scale(1.07);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	color: #ffffff !important;
}

.lwa-chatbox {
	width: 310px;
	max-width: calc(100vw - 44px);
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
	margin-bottom: 14px;
	overflow: hidden;
	opacity: 0;
	transform: translateY(12px) scale(0.96);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.lwa-chatbox.lwa-open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.lwa-chatbox-header {
	background-color: var(--lwa-primary, #25D366);
	color: #ffffff;
	padding: 14px 16px;
	font-weight: 600;
	font-size: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.lwa-close {
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.lwa-chatbox-body {
	padding: 16px;
	background-color: #efeae2;
}

.lwa-bubble {
	background: #ffffff;
	color: #1f2937;
	padding: 12px 14px;
	border-radius: 0 12px 12px 12px;
	font-size: 14px;
	line-height: 1.45;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.lwa-chatbox-footer {
	padding: 12px 16px;
	background: #ffffff;
	text-align: center;
}

.lwa-start-chat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 10px 16px;
	background-color: var(--lwa-primary, #25D366);
	color: #ffffff !important;
	border-radius: 24px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none !important;
	transition: filter 0.2s ease;
}

.lwa-start-chat:hover {
	filter: brightness(0.93);
	color: #ffffff !important;
}

/* Botón en ficha de producto WooCommerce */
.lwa-product-btn-wrap {
	margin: 18px 0;
}

.lwa-product-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	background-color: var(--lwa-primary, #25D366);
	color: #ffffff !important;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s ease, filter 0.2s ease;
}

.lwa-product-btn:hover {
	filter: brightness(0.94);
	transform: translateY(-1px);
	color: #ffffff !important;
}
