/* Loominators AI Stylist — brand tokens taken from the site header */
.ls-root {
	--ls-navy: #15306b;
	--ls-red: #c4161c;
	--ls-cream: #fbf4ec;
	--ls-ink: #1f1c1a;
	--ls-muted: #6c625b;
	--ls-line: #eadfd3;
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 99990;
	font-size: 15px;
	color: var(--ls-ink);
}
html.ls-lock { overflow: visible; }

/* Launcher */
.ls-launch {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 10px;
	border: 0;
	border-radius: 999px;
	background: var(--ls-navy);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(21, 48, 107, .35);
	transition: transform .15s ease;
}
.ls-launch:hover { transform: translateY(-2px); }
.ls-launch:focus-visible, .ls-chip:focus-visible, .ls-send:focus-visible, .ls-close:focus-visible, .ls-card:focus-visible {
	outline: 3px solid var(--ls-red);
	outline-offset: 2px;
}
.ls-launch-icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ls-red);
}
.ls-root.is-open .ls-launch { display: none; }

/* Panel */
.ls-panel[hidden] { display: none; }
.ls-panel {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 380px;
	height: min(620px, calc(100vh - 40px));
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(20, 20, 40, .28);
	animation: ls-in .2s ease-out;
}
@keyframes ls-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.ls-panel { animation: none; }
	.ls-launch { transition: none; }
}

.ls-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 14px 14px 16px;
	background: var(--ls-navy);
	color: #fff;
	border-bottom: 3px solid var(--ls-red);
}
.ls-avatar {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ls-cream);
	color: var(--ls-red);
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 700;
	font-size: 22px;
}
.ls-head-text { flex: 1; min-width: 0; }
.ls-head h2 {
	margin: 0;
	font-size: 16px;
	line-height: 1.25;
	color: #fff;
	font-weight: 600;
}
.ls-head p {
	margin: 2px 0 0;
	font-size: 12.5px;
	line-height: 1.35;
	opacity: .85;
	color: #fff;
}
.ls-close {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
}

/* Messages */
.ls-log {
	flex: 1;
	overflow-y: auto;
	padding: 16px 14px 8px;
	background: var(--ls-cream);
	display: flex;
	flex-direction: column;
	gap: 10px;
	overscroll-behavior: contain;
}
.ls-msg { max-width: 88%; }
.ls-msg p {
	margin: 0;
	padding: 10px 13px;
	line-height: 1.5;
	white-space: pre-wrap;
	word-wrap: break-word;
}
.ls-bot { align-self: flex-start; }
.ls-bot p {
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: 4px 14px 14px 14px;
}
.ls-user { align-self: flex-end; }
.ls-user p {
	background: var(--ls-navy);
	color: #fff;
	border-radius: 14px 4px 14px 14px;
}

.ls-typing {
	display: flex;
	gap: 5px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: 4px 14px 14px 14px;
}
.ls-typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ls-muted);
	animation: ls-dot 1s infinite ease-in-out;
}
.ls-typing span:nth-child(2) { animation-delay: .15s; }
.ls-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ls-dot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

/* Product cards */
.ls-cards {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
	scroll-snap-type: x mandatory;
	max-width: 330px;
}
.ls-card {
	flex: 0 0 132px;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: var(--ls-ink);
	scroll-snap-align: start;
}
.ls-card img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
	background: #f2ebe3;
}
.ls-card-name {
	padding: 7px 8px 2px;
	font-size: 12.5px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ls-card-price {
	padding: 0 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ls-red);
}
.ls-card-price s { color: var(--ls-muted); font-weight: 400; font-size: 11.5px; }
.ls-card-cta {
	margin: 6px 8px 8px;
	padding: 5px 0;
	border: 1px solid var(--ls-navy);
	border-radius: 6px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--ls-navy);
}
.ls-card:hover .ls-card-cta { background: var(--ls-navy); color: #fff; }

.ls-wa {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #128c4a;
}

/* Suggestions */
.ls-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 6px 14px 10px;
	background: var(--ls-cream);
}
.ls-chips[hidden] { display: none; }
.ls-chip {
	padding: 7px 12px;
	border: 1px solid var(--ls-navy);
	border-radius: 999px;
	background: #fff;
	color: var(--ls-navy);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.ls-chip:hover { background: var(--ls-navy); color: #fff; }

/* Input */
.ls-form {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid var(--ls-line);
	background: #fff;
	margin: 0;
}
.ls-form textarea {
	flex: 1;
	min-height: 42px;
	max-height: 120px;
	padding: 10px 12px;
	border: 1px solid var(--ls-line);
	border-radius: 10px;
	font: inherit;
	font-size: 14.5px;
	line-height: 1.4;
	resize: none;
	background: #fff;
	color: var(--ls-ink);
}
.ls-form textarea:focus { outline: none; border-color: var(--ls-navy); }
.ls-send {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--ls-red);
	color: #fff;
	cursor: pointer;
}
.ls-send:disabled { opacity: .5; cursor: wait; }

.ls-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0 14px 10px;
	font-size: 11px;
	color: var(--ls-muted);
	background: #fff;
}
.ls-reset {
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ls-navy);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

/* Phones */
@media (max-width: 600px) {
	.ls-root { left: 12px; bottom: 12px; }
	.ls-launch { padding: 8px; }
	.ls-launch-text { display: none; }
	.ls-root.is-open { inset: 0; left: 0; bottom: 0; }
	.ls-panel {
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100%;
		border-radius: 0;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	html.ls-lock, html.ls-lock body { overflow: hidden; }
}
