/**
 * LYCKA Quote Bot – widget styles.
 * Visual language copied from the LYCKA theme: ink / paper / red, pill buttons with a
 * circular icon, 16–24px rounded cards, soft layered shadows, the "charge bar" progress line.
 * Colours fall back to the theme's own CSS variables (--ink, --paper, --accent) when present.
 */

.lqb-root {
	--lqb-ink: var(--ink, #0B0D10);
	--lqb-paper: var(--paper, #F5F6F7);
	--lqb-accent: var(--accent, #E31E24);
	--lqb-gold: var(--gold, #C9974A);
	--lqb-muted: #6b6f74;
	--lqb-line: rgba(11, 13, 16, .1);
	--lqb-ease: cubic-bezier(.4, 0, .2, 1);
	--lqb-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--lqb-gap: clamp(16px, 2.5vw, 28px);
	font-family: var(--lqb-font);
	color: var(--lqb-ink);
	-webkit-font-smoothing: antialiased;
	line-height: 1.4;
}
.lqb-root *,
.lqb-root *::before,
.lqb-root *::after { box-sizing: border-box; }
.lqb-root button,
.lqb-root input,
.lqb-root textarea { font-family: inherit; letter-spacing: normal; text-transform: none; }
.lqb-root button { margin: 0; -webkit-appearance: none; appearance: none; }
.lqb-root [hidden] { display: none !important; }
.lqb-root svg { display: block; flex: none; }

/* ------------------------------------------------------------------ */
/* Launcher                                                            */
/* ------------------------------------------------------------------ */

.lqb-launcher {
	position: fixed;
	right: var(--lqb-gap);
	bottom: calc(var(--lqb-gap) + env(safe-area-inset-bottom, 0px));
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 54px;
	padding: 7px 22px 7px 7px;
	border: 0;
	border-radius: 999px;
	background: var(--lqb-ink);
	color: #fff;
	font-size: .92rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .01em;
	cursor: pointer;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 1px 0 rgba(11, 13, 16, .04), 0 18px 34px -14px rgba(11, 13, 16, .55);
	transition: background .25s var(--lqb-ease), transform .3s var(--lqb-ease), box-shadow .3s var(--lqb-ease), opacity .3s var(--lqb-ease);
	animation: lqbLauncherIn .7s var(--lqb-ease) .5s backwards;
}
.lqb-root[data-pos="left"] .lqb-launcher { right: auto; left: var(--lqb-gap); }

/* A faint "charging" sweep travels across the pill, like the theme's hero charge bars. */
.lqb-launcher::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .16) 50%, transparent 62%);
	background-size: 250% 100%;
	background-position: 160% 0;
	animation: lqbSweep 5s var(--lqb-ease) 2.2s infinite;
	pointer-events: none;
}
.lqb-launcher:hover,
.lqb-launcher:focus-visible { background: var(--lqb-accent); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 22px 36px -14px rgba(227, 30, 36, .55); }
.lqb-launcher:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lqb-launcher:active { transform: translateY(0) scale(.98); }

.lqb-launcher-ic {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--lqb-accent);
	transition: background .25s var(--lqb-ease), transform .4s var(--lqb-ease);
}
.lqb-launcher-ic::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--lqb-accent);
	opacity: 0;
	animation: lqbPulse 3.4s var(--lqb-ease) 2.4s infinite;
	z-index: -1;
}
.lqb-launcher-ic svg { width: 21px; height: 21px; color: #fff; }
.lqb-launcher-ic .lqb-bolt { fill: var(--lqb-accent); transition: fill .25s var(--lqb-ease); }
.lqb-launcher:hover .lqb-launcher-ic { background: rgba(255, 255, 255, .2); }
.lqb-launcher:hover .lqb-launcher-ic .lqb-bolt { fill: #fff; }
.lqb-launcher:hover .lqb-launcher-ic::after { animation: none; }
.lqb-root.is-open .lqb-launcher-ic::after,
.lqb-root.was-opened .lqb-launcher-ic::after { animation: none; }

.lqb-launcher.is-icon-only { padding: 7px; width: 54px; justify-content: center; }
.lqb-launcher.is-icon-only .lqb-launcher-label { display: none; }

.lqb-launcher-dot {
	display: none;
	position: absolute;
	top: -3px;
	right: -3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--lqb-gold);
	border: 3px solid var(--lqb-ink);
}
.lqb-root.has-progress .lqb-launcher-dot { display: block; }

/* ------------------------------------------------------------------ */
/* Teaser bubble                                                       */
/* ------------------------------------------------------------------ */

.lqb-teaser {
	position: fixed;
	right: var(--lqb-gap);
	bottom: calc(var(--lqb-gap) + 54px + 14px + env(safe-area-inset-bottom, 0px));
	z-index: 9989;
	width: min(280px, calc(100vw - 2 * var(--lqb-gap)));
	background: #fff;
	border-radius: 18px 18px 4px 18px;
	box-shadow: 0 1px 0 rgba(11, 13, 16, .04), 0 24px 44px -18px rgba(11, 13, 16, .4);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px) scale(.96);
	transform-origin: bottom right;
	transition: opacity .35s var(--lqb-ease), transform .35s var(--lqb-ease), visibility 0s linear .35s;
}
.lqb-root[data-pos="left"] .lqb-teaser { right: auto; left: var(--lqb-gap); border-radius: 18px 18px 18px 4px; transform-origin: bottom left; }
.lqb-root.teaser-on:not(.is-open) .lqb-teaser { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--lqb-ease), transform .35s var(--lqb-ease); }
.lqb-teaser-text {
	display: block;
	width: 100%;
	padding: 16px 38px 18px 18px;
	background: none;
	border: 0;
	text-align: left;
	font-size: .88rem;
	line-height: 1.45;
	font-weight: 500;
	color: var(--lqb-ink);
	cursor: pointer;
}
.lqb-teaser-x {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--lqb-paper);
	color: var(--lqb-ink);
	cursor: pointer;
	transition: background .25s var(--lqb-ease);
}
.lqb-teaser-x:hover { background: #eceef0; }
.lqb-teaser-x svg { width: 12px; height: 12px; }
.lqb-teaser-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lqb-accent); }
.lqb-root.teaser-on .lqb-teaser-bar { animation: lqbFill 14s linear forwards; }

/* ------------------------------------------------------------------ */
/* Panel                                                               */
/* ------------------------------------------------------------------ */

.lqb-panel {
	position: fixed;
	right: var(--lqb-gap);
	bottom: calc(var(--lqb-gap) + 54px + 14px + env(safe-area-inset-bottom, 0px));
	z-index: 9991;
	display: flex;
	flex-direction: column;
	width: 392px;
	max-width: calc(100vw - 2 * var(--lqb-gap));
	height: min(660px, calc(100vh - 150px));
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(11, 13, 16, .04), 0 30px 70px -20px rgba(11, 13, 16, .5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(.98);
	transform-origin: bottom right;
	transition: opacity .3s var(--lqb-ease), transform .3s var(--lqb-ease), visibility 0s linear .3s;
}
.lqb-root[data-pos="left"] .lqb-panel { right: auto; left: var(--lqb-gap); transform-origin: bottom left; }
.lqb-root.is-open .lqb-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition: opacity .3s var(--lqb-ease), transform .3s var(--lqb-ease); }

/* Header */
.lqb-head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 14px 19px 18px;
	background: var(--lqb-ink);
	color: #fff;
	flex: none;
}
.lqb-avatar {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--lqb-accent);
	overflow: hidden;
}
.lqb-avatar svg { width: 20px; height: 20px; color: #fff; }
.lqb-avatar img { width: 62%; height: 62%; object-fit: contain; }
.lqb-avatar.is-custom { background: #fff; }
.lqb-avatar.is-custom img { width: 100%; height: 100%; object-fit: cover; }
.lqb-head-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lqb-name { font-size: 1rem; font-weight: 600; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lqb-sub { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: rgba(255, 255, 255, .66); }
.lqb-sub-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lqb-live { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #2bd576; }
.lqb-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2bd576; animation: lqbLive 2.2s ease-out infinite; }
.lqb-icon-btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	cursor: pointer;
	transition: background .25s var(--lqb-ease), transform .3s var(--lqb-ease);
}
.lqb-icon-btn:hover { background: rgba(255, 255, 255, .22); }
.lqb-icon-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lqb-icon-btn svg { width: 16px; height: 16px; }
.lqb-restart:hover svg { transform: rotate(-90deg); }
.lqb-restart svg { transition: transform .35s var(--lqb-ease); }

/* "Charge bar" progress, same idea as the hero slider bars. */
.lqb-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.lqb-progress i { display: block; height: 100%; width: 6%; background: var(--lqb-accent); border-radius: 0 3px 3px 0; box-shadow: 0 0 14px var(--lqb-accent); transition: width .6s var(--lqb-ease); }

/* Conversation */
.lqb-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--lqb-paper); padding: 18px 14px 8px; scrollbar-width: thin; scrollbar-color: rgba(11, 13, 16, .2) transparent; }
.lqb-msgs { display: flex; flex-direction: column; gap: 10px; }
.lqb-row { display: flex; align-items: flex-end; gap: 8px; animation: lqbPop .3s var(--lqb-ease) both; }
.lqb-row--u { justify-content: flex-end; }
.lqb-mini { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lqb-accent); overflow: hidden; }
.lqb-mini svg { width: 13px; height: 13px; color: #fff; }
.lqb-mini img { width: 62%; height: 62%; object-fit: contain; }
.lqb-mini.is-custom { background: #fff; }
.lqb-mini.is-custom img { width: 100%; height: 100%; object-fit: cover; }
.lqb-bubble {
	max-width: 82%;
	padding: 10px 14px;
	border-radius: 16px 16px 16px 4px;
	background: #fff;
	color: var(--lqb-ink);
	font-size: .9rem;
	line-height: 1.45;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	box-shadow: 0 1px 0 rgba(11, 13, 16, .04), 0 10px 24px -16px rgba(11, 13, 16, .22);
}
.lqb-row--u .lqb-bubble { background: var(--lqb-ink); color: #fff; border-radius: 16px 16px 4px 16px; box-shadow: none; }
.lqb-bubble.is-muted { opacity: .55; font-style: italic; }
.lqb-dots { display: inline-flex; gap: 4px; align-items: center; height: 16px; }
.lqb-dots i { width: 6px; height: 6px; border-radius: 50%; background: #9a9da1; animation: lqbDot 1.1s infinite ease-in-out; }
.lqb-dots i:nth-child(2) { animation-delay: .15s; }
.lqb-dots i:nth-child(3) { animation-delay: .3s; }

/* Controls (the visitor's answer area) */
.lqb-foot { flex: none; min-height: 84px; max-height: 62%; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--lqb-line); scrollbar-width: thin; }
.lqb-controls { animation: lqbPop .3s var(--lqb-ease) both; }
.lqb-note { margin: 4px 2px 10px; font-size: .84rem; color: var(--lqb-muted); }

.lqb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lqb-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid rgba(11, 13, 16, .16);
	border-radius: 999px;
	background: #fff;
	color: var(--lqb-ink);
	font-size: .86rem;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background .25s var(--lqb-ease), color .25s var(--lqb-ease), border-color .25s var(--lqb-ease), transform .25s var(--lqb-ease);
}
.lqb-chip svg { width: 16px; height: 16px; }
.lqb-chip:hover,
.lqb-chip:focus-visible { background: var(--lqb-accent); border-color: var(--lqb-accent); color: #fff; transform: translateY(-1px); outline: 0; }
.lqb-chip--solid { background: var(--lqb-ink); border-color: var(--lqb-ink); color: #fff; }
.lqb-chip--wa svg { color: #1a9c53; transition: color .25s var(--lqb-ease); }
.lqb-chip--wa:hover svg { color: #fff; }

/* Category cards */
.lqb-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lqb-cat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px;
	border: 1px solid transparent;
	border-radius: 16px;
	background: var(--lqb-paper);
	text-align: left;
	color: var(--lqb-ink);
	cursor: pointer;
	animation: lqbPop .38s var(--lqb-ease) both;
	animation-delay: calc(var(--i, 0) * 45ms);
	transition: transform .3s var(--lqb-ease), box-shadow .3s var(--lqb-ease), border-color .3s var(--lqb-ease);
}
.lqb-cat:hover,
.lqb-cat:focus-visible { transform: translateY(-3px); border-color: var(--lqb-accent); box-shadow: 0 1px 0 rgba(227, 30, 36, .05), 0 16px 30px -16px rgba(227, 30, 36, .38); outline: 0; }
.lqb-cat-thumb { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 11px; background: #fff; overflow: hidden; }
.lqb-cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--lqb-ease); }
.lqb-cat:hover .lqb-cat-thumb img { transform: scale(1.06); }
.lqb-cat-thumb.is-empty,
.lqb-prod-thumb.is-empty { font-weight: 700; color: #b9bcc0; font-size: 1.5rem; text-transform: uppercase; }
.lqb-cat-name { font-size: .88rem; font-weight: 600; line-height: 1.25; }
.lqb-cat-count { font-size: .72rem; color: #8b8f94; margin-top: -4px; }
.lqb-cat.has-items { border-color: rgba(227, 30, 36, .35); }
.lqb-cat.has-items .lqb-cat-count { color: var(--lqb-accent); font-weight: 600; }

/* Products */
.lqb-search {
	display: block;
	width: 100%;
	margin: 0 0 10px;
	padding: 10px 14px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--lqb-paper);
	color: var(--lqb-ink);
	font-size: .88rem;
	transition: border-color .25s var(--lqb-ease), background .25s var(--lqb-ease);
}
.lqb-search:focus { outline: 0; border-color: var(--lqb-accent); background: #fff; }
.lqb-plist { display: flex; flex-direction: column; gap: 8px; max-height: 232px; overflow-y: auto; margin: 0 0 12px; padding: 2px 2px 2px 0; scrollbar-width: thin; }
.lqb-pgroup { display: flex; flex-direction: column; gap: 8px; }
.lqb-pgroup-title { margin: 6px 2px 0; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8b8f94; }
.lqb-prod {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) 24px;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 8px 12px 8px 8px;
	border: 1px solid var(--lqb-line);
	border-radius: 14px;
	background: #fff;
	text-align: left;
	color: var(--lqb-ink);
	cursor: pointer;
	transition: border-color .25s var(--lqb-ease), background .25s var(--lqb-ease), transform .25s var(--lqb-ease);
}
.lqb-prod:hover { border-color: var(--lqb-accent); transform: translateX(2px); }
.lqb-prod:focus-visible { outline: 2px solid var(--lqb-accent); outline-offset: 2px; }
.lqb-prod-thumb { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--lqb-paper); overflow: hidden; font-size: 1.1rem; }
.lqb-prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lqb-prod-name { font-size: .86rem; font-weight: 500; line-height: 1.3; }
.lqb-prod-check { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid rgba(11, 13, 16, .22); border-radius: 50%; color: #fff; transition: background .25s var(--lqb-ease), border-color .25s var(--lqb-ease); }
.lqb-prod-check svg { width: 12px; height: 12px; opacity: 0; transform: scale(.5); transition: opacity .2s var(--lqb-ease), transform .25s var(--lqb-ease); }
.lqb-prod.is-selected { border-color: var(--lqb-accent); background: #fff6f6; background: color-mix(in srgb, var(--lqb-accent) 6%, #fff); }
.lqb-prod.is-selected .lqb-prod-check { background: var(--lqb-accent); border-color: var(--lqb-accent); }
.lqb-prod.is-selected .lqb-prod-check svg { opacity: 1; transform: scale(1); }

/* Quantities */
.lqb-qlist { display: flex; flex-direction: column; max-height: 250px; overflow-y: auto; margin-bottom: 12px; scrollbar-width: thin; }
.lqb-qrow { display: grid; grid-template-columns: minmax(0, 1fr) auto 26px; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(11, 13, 16, .07); }
.lqb-qrow:last-child { border-bottom: 0; }
.lqb-qinfo { display: flex; flex-direction: column; min-width: 0; }
.lqb-qname { font-size: .86rem; font-weight: 600; line-height: 1.25; }
.lqb-qcat { font-size: .72rem; color: #8b8f94; }
.lqb-stepper { display: inline-flex; align-items: center; border: 1px solid rgba(11, 13, 16, .16); border-radius: 999px; padding: 2px; background: #fff; }
.lqb-step { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--lqb-paper); color: var(--lqb-ink); cursor: pointer; transition: background .25s var(--lqb-ease), color .25s var(--lqb-ease); }
.lqb-step:hover { background: var(--lqb-accent); color: #fff; }
.lqb-step svg { width: 13px; height: 13px; }
.lqb-qty { width: 54px; padding: 0; border: 0; background: transparent; text-align: center; font-size: .9rem; font-weight: 600; color: var(--lqb-ink); }
.lqb-qty:focus { outline: 0; }
.lqb-stepper:focus-within { border-color: var(--lqb-accent); }
.lqb-qremove { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; color: #9a9da1; cursor: pointer; transition: color .25s var(--lqb-ease), background .25s var(--lqb-ease); }
.lqb-qremove:hover { color: var(--lqb-accent); background: var(--lqb-paper); }
.lqb-qremove svg { width: 13px; height: 13px; }

/* Text inputs */
.lqb-form { display: flex; align-items: flex-end; gap: 8px; }
.lqb-input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--lqb-paper);
	color: var(--lqb-ink);
	font-size: .92rem;
	line-height: 1.35;
	transition: border-color .25s var(--lqb-ease), background .25s var(--lqb-ease);
}
.lqb-input::placeholder { color: #a2a5a9; }
.lqb-input:focus { outline: 0; border-color: var(--lqb-accent); background: #fff; }
.lqb-input.is-invalid { border-color: var(--lqb-accent); }
.lqb-textarea { resize: none; min-height: 72px; }
.lqb-send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--lqb-ink); color: #fff; cursor: pointer; transition: background .25s var(--lqb-ease), transform .25s var(--lqb-ease); }
.lqb-send:hover { background: var(--lqb-accent); transform: translateX(2px); }
.lqb-send svg { width: 18px; height: 18px; }
.lqb-err { min-height: 0; margin: 6px 4px 0; font-size: .78rem; color: var(--lqb-accent); }
.lqb-err:empty { display: none; }

/* Buttons (same anatomy as the theme's .contact-submit) */
.lqb-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 7px 22px 7px 7px;
	border: 0;
	border-radius: 999px;
	background: var(--lqb-ink);
	color: #fff;
	font-size: .92rem;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: background .25s var(--lqb-ease), opacity .25s var(--lqb-ease), transform .25s var(--lqb-ease);
}
.lqb-btn:hover,
.lqb-btn:focus-visible { background: var(--lqb-accent); outline: 0; color: #fff; }
.lqb-btn:active { transform: scale(.985); }
.lqb-btn:disabled { opacity: .38; cursor: not-allowed; background: var(--lqb-ink); transform: none; }
.lqb-btn-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.lqb-btn-ic svg { width: 17px; height: 17px; color: #fff; }
.lqb-btn-text { flex: 1; }
.lqb-btn--quote { padding: 8px 24px 8px 8px; }
.lqb-btn--quote .lqb-btn-ic { width: 40px; height: 40px; background: #1a9c53; transition: background .25s var(--lqb-ease); }
.lqb-btn--quote:hover .lqb-btn-ic { background: rgba(255, 255, 255, .22); }
.lqb-btn--quote.lqb-pulse { animation: lqbBtnPulse 2.6s var(--lqb-ease) 1s infinite; }

.lqb-link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 4px; border: 0; background: none; color: var(--lqb-muted); font-size: .8rem; cursor: pointer; transition: color .25s var(--lqb-ease); }
.lqb-link:hover { color: var(--lqb-accent); }
.lqb-link svg { width: 14px; height: 14px; }
.lqb-link--skip { display: flex; margin: 6px 0 0 auto; }
.lqb-link--center { display: flex; margin: 8px auto 0; }
.lqb-foot-links { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.lqb-foot-links:empty { display: none; }

/* Summary */
.lqb-summary { max-height: 224px; overflow-y: auto; margin-bottom: 10px; padding: 14px; border-radius: 16px; background: var(--lqb-paper); scrollbar-width: thin; }
.lqb-sum-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8b8f94; }
.lqb-sum-title--2 { margin-top: 14px; }
.lqb-sum-meta { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--lqb-accent); }
.lqb-sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .86rem; border-bottom: 1px dashed rgba(11, 13, 16, .1); }
.lqb-sum-row:last-child { border-bottom: 0; }
.lqb-sum-name { font-weight: 500; }
.lqb-sum-qty { flex: none; font-weight: 700; }
.lqb-sum-key { flex: none; color: var(--lqb-muted); }
.lqb-sum-val { text-align: right; overflow-wrap: anywhere; font-weight: 500; }
.lqb-consent { margin: 0 4px 10px; font-size: .72rem; line-height: 1.45; color: #8b8f94; }

.lqb-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Shortcode button */
.lqb-inline-btn { display: inline-flex; align-items: center; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--ink, #0B0D10); color: #fff; font-family: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .25s var(--lqb-ease, ease); }
.lqb-inline-btn:hover { background: var(--accent, #E31E24); }

/* ------------------------------------------------------------------ */
/* Animations                                                          */
/* ------------------------------------------------------------------ */

@keyframes lqbLauncherIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes lqbSweep { 0% { background-position: 160% 0; } 35%, 100% { background-position: -60% 0; } }
@keyframes lqbPulse { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.75); } }
@keyframes lqbPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lqbDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes lqbLive { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes lqbFill { from { width: 0; } to { width: 100%; } }
@keyframes lqbBtnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(26, 156, 83, 0); } 50% { box-shadow: 0 0 0 7px rgba(26, 156, 83, .16); } }

/* ------------------------------------------------------------------ */
/* Small screens: full-screen sheet                                    */
/* ------------------------------------------------------------------ */

@media (max-width: 600px) {
	.lqb-root { --lqb-gap: 16px; }
	.lqb-launcher { height: 52px; font-size: .88rem; }
	.lqb-root.is-open .lqb-launcher { opacity: 0; pointer-events: none; transform: scale(.9); }
	.lqb-panel {
		inset: 0;
		width: 100%;
		max-width: none;
		height: 100%;
		height: 100dvh;
		border-radius: 0;
		transform: translateY(24px);
	}
	.lqb-root[data-pos="left"] .lqb-panel { left: 0; }
	.lqb-head { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
	.lqb-foot { max-height: 68%; }
	.lqb-plist { max-height: 36vh; }
	.lqb-input,
	.lqb-search,
	.lqb-qty { font-size: 16px; } /* stops iOS zooming into inputs */
	html.lqb-lock { overflow: hidden; }
	html.lqb-lock body { overflow: hidden; }
	.lqb-teaser { width: min(260px, calc(100vw - 32px)); }
}

@media (max-height: 560px) and (min-width: 601px) {
	.lqb-panel { height: calc(100vh - 110px); bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
	.lqb-root *,
	.lqb-root *::before,
	.lqb-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
