/**
 * Vioiv Help Q&A widget
 */

.vv-help {
	--vv-help-ink: #1c1c1c;
	--vv-help-muted: #6f6f6f;
	--vv-help-line: #e6e6e6;
	--vv-help-line-strong: #2a2a2a;
	--vv-help-soft: #f4f4f4;
	--vv-help-panel: #ffffff;
	--vv-help-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
	--vv-help-fab-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
	/* FAB + panel share this corner so the dialog grows out of the dock */
	--vv-help-dock-right: 16px;
	--vv-help-dock-bottom: 18px;
	position: relative;
	z-index: 100020;
	font-family: Figtree, "Segoe UI", sans-serif;
}

/* Combined Help + Cart dock — bottom-right */
.vv-dock {
	position: fixed;
	right: max(var(--vv-help-dock-right), env(safe-area-inset-right, 0px));
	left: auto;
	bottom: max(var(--vv-help-dock-bottom), calc(env(safe-area-inset-bottom, 0px) + 14px));
	z-index: 100040;
	display: inline-flex;
	align-items: stretch;
	max-width: calc(100vw - 28px);
	overflow: visible;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--vv-help-fab-shadow);
	touch-action: none;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	transition: opacity 0.18s ease;
}

.vv-dock.is-dragging {
	cursor: grabbing;
	transition: none;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.vv-dock .vv-help__fab,
.vv-dock.is-dragging .vv-help__fab {
	touch-action: none;
	cursor: grab;
}

.vv-dock.is-dragging,
.vv-dock.is-dragging .vv-help__fab,
.vv-dock.is-dragging .vv-cart-fab {
	cursor: grabbing;
}

.vv-help.is-open:not(.is-closing) .vv-dock,
html.vv-help-open .vv-dock,
body.vv-cd-lock .vv-dock {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: scale(0.96);
	z-index: 0 !important;
	transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.vv-help.is-closing .vv-dock {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: none !important;
	z-index: 100052 !important;
}

.vv-help.is-open:not(.is-closing) .vv-dock .vv-cart-fab,
html.vv-help-open .vv-dock .vv-cart-fab,
.vv-help.is-open:not(.is-closing) .vv-dock .vv-help__fab,
html.vv-help-open .vv-dock .vv-help__fab {
	pointer-events: none !important;
}

.vv-help.is-closing .vv-dock .vv-cart-fab,
.vv-help.is-closing .vv-dock .vv-help__fab {
	pointer-events: auto !important;
}

.vv-help.is-open .vv-help__scrim {
	z-index: 100050;
	touch-action: none;
}

html.vv-help-open,
html.vv-help-open body,
html.vv-help-unlocking,
html.vv-help-unlocking body,
html.vv-help-noscroll,
html.vv-help-noscroll body {
	overscroll-behavior: none;
	scroll-behavior: auto !important;
}

/* Do not overflow:hidden the document while the keyboard is open — iOS
   resets scrollY to 0 when that lock is removed, then the page jumps back. */

/* Keyboard open: sheet is pinned to visualViewport (JS). Don't animate height. */
@media (max-width: 719px) {
	html.vv-help-kb .vv-help__scrim {
		background: rgba(0, 0, 0, 0.28) !important;
		opacity: 1 !important;
	}

	html.vv-help-kb .vv-help.is-open {
		background: transparent;
	}

	html.vv-help-kb .vv-help__panel,
	html.vv-help-kb .vv-help__panel.is-expanded,
	html.vv-help-kb .vv-help__panel.is-prechat,
	html.vv-help-kb .vv-help__panel.is-in {
		border-radius: 0 !important;
		transition: none !important;
		background: #fff !important;
	}

	html.vv-help-kb .vv-help__foot {
		flex: 0 0 auto;
		margin-top: auto;
		background: #fff;
		padding-bottom: 10px;
	}

	html.vv-help-kb .vv-help__head,
	html.vv-help-kb .vv-help__foot {
		flex: 0 0 auto;
	}

	html.vv-help-kb .vv-help__body {
		min-height: 0;
		flex: 1 1 auto;
		margin-top: 0;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	html.vv-help-kb .vv-help__home {
		gap: 8px;
		padding-bottom: 0;
	}
}

.vv-help.is-open .vv-help__panel {
	z-index: 100051;
}

.vv-help__fab {
	position: static;
	left: auto;
	right: auto;
	bottom: auto;
	z-index: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 12px 16px 12px 14px;
	border: 0;
	border-radius: 18px;
	background: transparent;
	color: var(--vv-help-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.15s ease;
}

.vv-dock:has(#vv-cart-fab.is-visible) .vv-help__fab {
	border-radius: 18px 0 0 18px;
}

.vv-help__fab:hover,
.vv-help__fab:focus-visible {
	background: #f6f6f6;
	box-shadow: none;
	transform: none;
	outline: none;
}

.vv-help__fab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--vv-help-ink);
}

.vv-help__fab-icon svg {
	display: block;
}

.vv-help__fab-label {
	font-weight: 600;
}

/* Checkout: tuck FAB + panel up a bit so they clear pay buttons */
body.woocommerce-checkout .vv-help {
	--vv-help-dock-bottom: 96px;
}

.vv-help__scrim {
	position: fixed;
	inset: 0;
	z-index: 100022;
	display: block;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.22);
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	opacity: 0;
	transition: opacity 0.32s ease;
}

.vv-help__scrim.is-in {
	opacity: 1;
}

.vv-help__scrim[hidden] {
	display: none !important;
}

/* Default = same bottom-right as dock */
.vv-help__panel {
	position: fixed;
	left: auto;
	right: var(--vv-help-dock-right);
	bottom: var(--vv-help-dock-bottom);
	top: auto;
	z-index: 100023;
	display: flex;
	flex-direction: column;
	width: min(540px, calc(100vw - 36px));
	height: min(540px, calc(100vh - 24px));
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
	overflow: hidden;
	border: 0;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 56px rgba(0, 0, 0, 0.16);
	color: var(--vv-help-ink);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, 18px, 0) scale(0.92);
	transform-origin: right bottom;
	transition:
		opacity 0.32s ease,
		transform 0.4s cubic-bezier(0.22, 1, 0.32, 1),
		visibility 0.4s,
		width 0.22s ease,
		height 0.22s ease,
		border-radius 0.22s ease,
		box-shadow 0.22s ease;
}

.vv-help.is-closing .vv-help__panel,
.vv-help.is-closing .vv-help__scrim {
	transition: none !important;
	transform: none !important;
}

.vv-help__panel.is-in {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.vv-help__panel.is-prechat {
	transition-property: opacity, transform, visibility, width, border-radius, box-shadow;
}

.vv-help__panel.is-prechat .vv-help__body {
	overflow: hidden !important;
	overscroll-behavior: none;
	touch-action: manipulation;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.vv-help__panel.is-prechat .vv-help__body::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

/* Size only — JS pins left/right/top/bottom so it grows into empty space */
.vv-help__panel.is-expanded {
	width: min(860px, calc(100vw - 36px));
	height: min(700px, calc(100vh - 24px));
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
	border-radius: 32px;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2);
}

/* Pre-chat form stays at the default panel size (not expanded) */
.vv-help__panel.is-prechat.is-expanded {
	width: min(540px, calc(100vw - 36px));
	height: min(540px, calc(100vh - 24px));
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
	border-radius: 28px;
	box-shadow: 0 18px 56px rgba(0, 0, 0, 0.16);
}

.vv-help__panel[hidden],
.vv-help__scrim[hidden] {
	display: none !important;
	transition: none !important;
	transform: none !important;
}

.vv-help__panel.is-expanded .vv-help__ico-expand {
	display: none;
}

.vv-help__panel:not(.is-expanded) .vv-help__ico-collapse {
	display: none;
}

.vv-help__panel.is-expanded .vv-help__ico-collapse {
	display: block;
}

.vv-help__panel.is-expanded .vv-help__body {
	padding: 10px 40px 12px;
}

.vv-help__panel.is-expanded .vv-help__greet {
	font-size: 24px;
	line-height: 1.38;
}

.vv-help__panel.is-expanded .vv-help__hero {
	grid-template-columns: minmax(0, 1fr) 252px;
	max-width: 720px;
	width: 100%;
	margin: 0 auto;
	min-height: 200px;
	gap: 24px 36px;
	justify-content: center;
	align-items: center;
}

.vv-help__panel.is-expanded .vv-help__polaroids {
	width: 252px;
	height: 190px;
	margin: 0 auto;
	justify-self: center;
}

.vv-help__panel.is-expanded .vv-help__polaroid {
	width: 132px;
	padding: 8px 8px 10px;
}

.vv-help__panel.is-expanded .vv-help__polaroid--a {
	left: 8px;
	top: 36px;
}

.vv-help__panel.is-expanded .vv-help__polaroid--b {
	left: 58px;
	top: 6px;
}

.vv-help__panel.is-expanded .vv-help__polaroid--c {
	left: 108px;
	top: 40px;
}

.vv-help__panel.is-expanded .vv-help__chips {
	gap: 12px;
}

.vv-help__panel.is-expanded .vv-help__chip {
	font-size: 14px;
	padding: 11px 16px;
}

.vv-help__panel.is-expanded .vv-help__foot {
	padding: 12px 32px 28px;
}

.vv-help__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	gap: 12px;
	padding: 14px 16px 4px;
	border-bottom: 0;
	background: transparent;
}

.vv-help__head-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.vv-help__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f0f0f0;
	color: #444;
	cursor: pointer;
}

.vv-help__icon-btn:hover,
.vv-help__icon-btn:focus-visible {
	background: #e6e6e6;
	outline: none;
}

.vv-help__icon-btn[data-vv-help-history-btn],
.vv-help__icon-btn[data-vv-help-new-btn],
.vv-help__icon-btn[data-vv-help-expand] {
	display: none !important;
}

.vv-help__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 0;
	padding: 6px 24px 8px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.vv-help__home {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-bottom: 8px;
}

.vv-help__head-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.vv-help__head-title {
	display: none;
	margin: 0 6px 0 4px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

[data-vv-help-back-btn] {
	display: none;
}

.vv-help__panel.is-history .vv-help__head-title {
	display: block;
}

.vv-help__panel.is-history [data-vv-help-back-btn] {
	display: inline-flex;
}

.vv-help__panel.is-prechat [data-vv-help-back-btn] {
	display: inline-flex;
}

.vv-help__panel.is-prechat [data-vv-help-history-btn],
.vv-help__panel.is-prechat [data-vv-help-new-btn],
.vv-help__panel.is-prechat [data-vv-help-expand] {
	display: none;
}

.vv-help__panel.is-history [data-vv-help-history-btn] {
	display: none;
}

.vv-help__panel.is-history .vv-help__foot {
	display: none;
}

.vv-help__panel.is-chatting .vv-help__home {
	display: flex;
	flex: 0 0 auto;
}

.vv-help__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
	gap: 16px 20px;
	align-items: center;
	min-height: 150px;
}

.vv-help__greet {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: var(--vv-help-ink);
}

.vv-help__polaroids {
	position: relative;
	height: 150px;
	margin-right: 4px;
}

.vv-help__polaroid {
	position: absolute;
	display: flex;
	flex-direction: column;
	width: 108px;
	margin: 0;
	padding: 7px 7px 8px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
	border: 1px solid rgba(0, 0, 0, 0.06);
	text-decoration: none;
	color: inherit;
	pointer-events: none;
	user-select: none;
}

.vv-help__polaroid img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 6px;
	background: #eef2f0;
}

.vv-help__polaroid--a img {
	background: #dceee6;
}

.vv-help__polaroid--b img {
	background: #efe6d8;
}

.vv-help__polaroid--c img {
	background: #e4edf4;
}

.vv-help__polaroid span {
	margin: 6px 1px 0;
	font-size: 9px;
	font-weight: 600;
	line-height: 1.25;
	color: #555;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vv-help__polaroid--a {
	left: 0;
	top: 28px;
	transform: rotate(-10deg);
	z-index: 1;
}

.vv-help__polaroid--b {
	left: 42px;
	top: 4px;
	transform: rotate(3deg);
	z-index: 3;
}

.vv-help__polaroid--c {
	left: 86px;
	top: 30px;
	transform: rotate(12deg);
	z-index: 2;
}

.vv-help__privacy {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: #8a8a8a;
}

.vv-help__thread {
	display: none;
	flex-direction: column;
	gap: 12px;
	flex: 0 0 auto;
	min-height: 0;
	padding: 8px 0 12px;
	border-top: 1px solid transparent;
}

.vv-help__panel.is-chatting .vv-help__thread {
	display: flex;
	flex: 0 0 auto;
	min-height: 0;
	overflow: visible;
	border-top-color: var(--vv-help-line);
	margin-top: 8px;
}

.vv-help__history {
	display: none;
	flex-direction: column;
	gap: 0;
	padding: 4px 4px 20px;
}

.vv-help__panel.is-history .vv-help__home,
.vv-help__panel.is-history .vv-help__thread {
	display: none !important;
}

.vv-help__prechat {
	display: none;
	flex-direction: column;
	align-items: stretch;
	flex: 1 1 auto;
	min-height: 0;
	padding: 18px 28px 28px;
	overflow: hidden;
	opacity: 0;
	transform: none;
	transition: opacity 0.28s ease;
}

.vv-help__panel.is-prechat .vv-help__home,
.vv-help__panel.is-prechat .vv-help__thread,
.vv-help__panel.is-prechat .vv-help__history,
.vv-help__panel.is-prechat .vv-help__foot {
	display: none !important;
}

.vv-help__panel.is-prechat .vv-help__prechat {
	display: flex;
}

.vv-help__panel.is-prechat .vv-help__prechat.is-in {
	opacity: 1;
}

.vv-help__prechat-title {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--vv-help-ink);
}

.vv-help__prechat-note {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.45;
	color: #8a8a8a;
}

.vv-help__prechat-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vv-help__prechat-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.vv-help__prechat-input {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1.5px solid #e2e2e2;
	border-radius: 8px;
	background: #fff;
	color: var(--vv-help-ink);
	font: inherit;
	font-size: 15px;
	box-sizing: border-box;
}

.vv-help__prechat-input::placeholder {
	color: #b0b0b0;
}

.vv-help__prechat-input:focus {
	border-color: #4c8dff;
	outline: none;
}

.vv-help__prechat-start {
	width: 100%;
	height: 48px;
	margin: 6px 0 4px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: #cfcfcf;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: not-allowed;
}

.vv-help__prechat-start.is-ready {
	background: #1c1c1c;
	cursor: pointer;
}

.vv-help__prechat-start.is-ready:hover,
.vv-help__prechat-start.is-ready:focus-visible {
	background: #111;
	outline: none;
}

.vv-help__prechat-optin {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 2px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #8a8a8a;
	cursor: pointer;
}

.vv-help__prechat-optin input {
	margin: 3px 0 0;
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	accent-color: #1c1c1c;
}

.vv-help__panel.is-history .vv-help__history {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	overscroll-behavior: none;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
}

.vv-help__history-title {
	display: none;
}

.vv-help__history-empty {
	margin: 8px 4px 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--vv-help-muted);
}

.vv-help__history-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: 100%;
	margin: 0;
	padding: 14px 8px;
	border: 0;
	border-bottom: 1px solid #f0f0f0;
	border-radius: 0;
	background: transparent;
	color: var(--vv-help-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.vv-help__history-item:hover,
.vv-help__history-item:focus-visible {
	background: #fafafa;
	outline: none;
}

.vv-help__history-item.is-current {
	background: #f6f6f6;
}

.vv-help__history-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.vv-help__history-time {
	font-size: 13px;
	color: #8a8a8a;
}

.vv-help__msg {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 92%;
}

.vv-help__msg--user {
	align-self: flex-end;
	align-items: flex-end;
}

.vv-help__msg--bot {
	align-self: flex-start;
	align-items: stretch;
	max-width: 100%;
}

.vv-help__msg-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.vv-help__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	overflow: hidden;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #ececec;
	color: #111;
}

.vv-help__avatar svg {
	display: block;
}

.vv-help__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vv-help__bubble {
	padding: 12px 16px;
	border-radius: 22px;
	font-size: 14.5px;
	line-height: 1.5;
	background: #fff;
	border: 0;
}

.vv-help__msg--user .vv-help__bubble {
	background: #111;
	color: #fff;
	border: 0;
	border-radius: 22px;
	padding: 10px 16px;
}

.vv-help__msg--bot .vv-help__bubble {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 2px 0 0;
	color: var(--vv-help-ink);
	white-space: pre-wrap;
}

.vv-help__msg-meta {
	font-size: 12px;
	line-height: 1.3;
	color: #9a9a9a;
}

.vv-help__msg--user .vv-help__msg-meta {
	margin-right: 4px;
}

.vv-help__msg--bot .vv-help__msg-meta {
	margin-left: 38px;
}

/* Photo above caption text (also fixes older saved threads). */
.vv-help__msg--user .vv-help__msg-photos {
	order: 1;
	justify-content: flex-end;
}

.vv-help__msg--user .vv-help__msg-row {
	order: 2;
}

.vv-help__msg--user .vv-help__msg-meta {
	order: 3;
}

.vv-help__msg-photos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: 280px;
}

.vv-help__msg-photos img {
	display: block;
	width: 148px;
	height: 148px;
	object-fit: cover;
	border-radius: 12px;
	background: #f3f3f3;
}

.vv-help__msg-photo-gone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	min-height: 148px;
	padding: 8px;
	border-radius: 12px;
	background: #f3f3f3;
	color: #888;
	font-size: 12px;
	line-height: 1.3;
	text-align: center;
}

.vv-help__bot-body {
	min-width: 0;
	flex: 1 1 auto;
}

.vv-help__msg-who {
	display: none;
}

.vv-help__msg-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vv-help__link {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid var(--vv-help-line-strong);
	background: #fff;
	color: var(--vv-help-ink);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}

.vv-help__link:hover,
.vv-help__link:focus-visible {
	background: #f7f7f7;
	outline: none;
}

.vv-help__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 2px;
	flex: 0 0 auto;
}

.vv-help__panel.is-history .vv-help__chips {
	display: none;
}

.vv-help__chip {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #cfcfcf;
	border-radius: 999px;
	background: #fff;
	color: var(--vv-help-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.vv-help__chip:hover,
.vv-help__chip:focus-visible {
	background: #f6f6f6;
	outline: none;
}

.vv-help__chip:active {
	transform: scale(0.98);
}

.vv-help__foot {
	flex: 0 0 auto;
	padding: 10px 22px 22px;
	border-top: 0;
	background: transparent;
}

.vv-help__ask {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 8px 8px 14px;
	border: 1px solid #cfcfcf;
	border-radius: 999px;
	background: #fff;
}

.vv-help__ask-clip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	margin: 0;
	color: #666;
	cursor: pointer;
	line-height: 0;
}

.vv-help__ask-clip svg {
	display: block;
}

.vv-help__ask-clip:hover,
.vv-help__ask-clip:focus-visible {
	color: var(--vv-help-ink);
}

.vv-help__ask-file {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.vv-help__ask-send {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	cursor: pointer;
	line-height: 0;
}

.vv-help__ask-send svg {
	display: block;
}

.vv-help__ask-send:hover,
.vv-help__ask-send:focus-visible {
	background: #2a2a2a;
	outline: none;
}

.vv-help__thumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 0 18px 8px;
}

.vv-help__thumbs[hidden] {
	display: none !important;
}

.vv-help__thumb {
	position: relative;
	display: block;
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
}

.vv-help__thumb img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--vv-help-line);
}

.vv-help__thumb-rm {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 18px;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #1c1c1c;
	color: #fff;
	font-size: 12px;
	line-height: 18px;
	cursor: pointer;
}

.vv-help__thumbs-err {
	flex: 1 1 100%;
	margin: 0;
	font-size: 12px;
	color: #b42318;
}

.vv-help__ask-input {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 4px 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: var(--vv-help-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.35;
	outline: none !important;
	box-shadow: none !important;
}

.vv-help__ask-input:focus {
	outline: none !important;
	box-shadow: none !important;
}

.vv-help__form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	margin-top: 4px;
	padding: 10px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--vv-help-line);
}

.vv-help__form-title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
}

.vv-help__form-note {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--vv-help-muted);
}

.vv-help__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vv-help__field label {
	font-size: 11px;
	font-weight: 600;
	color: var(--vv-help-muted);
}

.vv-help__field input,
.vv-help__field textarea {
	width: 100%;
	margin: 0;
	padding: 9px 10px;
	border: 1px solid var(--vv-help-line);
	border-radius: 10px;
	background: #fff;
	color: var(--vv-help-ink);
	font: inherit;
	font-size: 13px;
	line-height: 1.35;
	box-shadow: none;
}

.vv-help__field textarea {
	min-height: 72px;
	resize: vertical;
}

.vv-help__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.vv-help__form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.vv-help__submit {
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--vv-help-line-strong);
	border-radius: 999px;
	background: var(--vv-help-ink);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.vv-help__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.vv-help__form-err {
	margin: 0;
	font-size: 12px;
	color: #b42318;
}

/* Mobile: icon-only compact dock (always visible; user can drag it) */
@media (max-width: 719px) {
	.vv-dock {
		right: max(12px, env(safe-area-inset-right, 0px));
		bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + 8px));
		border-radius: 16px;
	}

	.vv-help__fab-label {
		display: none;
	}

	.vv-help__fab {
		padding: 11px 12px;
		gap: 0;
		border-radius: 16px;
	}

	.vv-dock:has(#vv-cart-fab.is-visible) .vv-help__fab {
		border-radius: 16px 0 0 16px;
		padding-right: 11px;
	}

	body.woocommerce-checkout .vv-help {
		--vv-help-dock-bottom: 88px;
	}

	.vv-help {
		--vv-help-sheet-top: max(120px, 20vh);
	}

	.vv-help.is-open {
		position: fixed;
		inset: 0;
		z-index: 100080;
		width: 100%;
		height: 100%;
		background: transparent;
		overflow: hidden;
		pointer-events: none;
	}

	.vv-help.is-open .vv-help__scrim,
	.vv-help.is-open .vv-help__panel {
		pointer-events: auto;
	}

	.vv-help.is-open .vv-help__scrim {
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.28);
		opacity: 0;
		height: 100%;
		transition: opacity 0.36s ease;
	}

	.vv-help.is-open .vv-help__scrim.is-in {
		opacity: 1;
	}

	.vv-help.is-open .vv-help__panel,
	.vv-help.is-open .vv-help__panel.is-expanded,
	.vv-help__panel,
	.vv-help__panel.is-expanded {
		position: absolute;
		left: 0;
		right: 0;
		top: auto;
		bottom: 0;
		width: 100%;
		height: min(620px, calc(100% - 12px));
		max-height: calc(100% - 12px);
		border-radius: 16px 16px 0 0;
		transform-origin: center bottom;
		transition:
			transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
			opacity 0.28s ease,
			visibility 0.42s;
	}

	.vv-help__panel:not(.is-in),
	.vv-help__panel.is-expanded:not(.is-in) {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translate3d(0, 100%, 0);
	}

	.vv-help__panel.is-in {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	.vv-help.is-closing .vv-help__panel,
	.vv-help.is-closing .vv-help__scrim {
		transition:
			transform 0.36s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.28s ease,
			visibility 0.36s !important;
	}

	.vv-help.is-closing .vv-help__panel {
		transform: translate3d(0, 100%, 0) !important;
		opacity: 0 !important;
	}

	.vv-help__panel.is-expanded {
		height: min(620px, calc(100% - 12px));
		max-height: calc(100% - 12px);
	}

	.vv-help__panel.is-prechat,
	.vv-help__panel.is-prechat.is-expanded {
		height: min(620px, calc(100% - 12px));
		max-height: calc(100% - 12px);
	}

	html.vv-help-kb .vv-help__panel.is-prechat,
	html.vv-help-kb .vv-help__panel.is-prechat.is-expanded {
		height: auto;
		max-height: none;
	}

	.vv-help__head,
	.vv-help__foot {
		flex: 0 0 auto;
	}

	.vv-help__body {
		flex: 1 1 auto;
		min-height: 0;
		padding: 4px 18px 8px;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: none;
		touch-action: pan-y;
	}

	.vv-help__panel.is-prechat .vv-help__body {
		overflow: hidden !important;
		touch-action: manipulation;
	}

	.vv-help__hero {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 14px;
		justify-items: center;
	}

	.vv-help__greet {
		font-size: 17px;
		width: 100%;
	}

	.vv-help__polaroids {
		position: relative;
		width: 236px;
		height: 148px;
		margin: 4px auto 8px;
	}

	.vv-help__polaroid {
		width: 92px;
	}

	/* Recenter fan so the stack sits in the middle of the sheet */
	.vv-help__polaroid--a {
		left: 22px;
		top: 34px;
	}

	.vv-help__polaroid--b {
		left: 72px;
		top: 8px;
	}

	.vv-help__polaroid--c {
		left: 122px;
		top: 36px;
	}

	.vv-help__privacy {
		margin-top: 10px;
		text-align: center;
	}

	.vv-help__chips,
	.vv-help__panel.is-expanded .vv-help__chips {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.vv-help__chip,
	.vv-help__panel.is-expanded .vv-help__chip {
		width: 100%;
		max-width: none;
		min-height: 44px;
		justify-content: center;
		align-items: center;
		padding: 8px 8px;
		border-radius: 12px;
		font-size: 11.5px;
		line-height: 1.25;
		text-align: center;
		white-space: normal;
	}

	.vv-help__foot {
		padding: 8px 14px max(18px, calc(env(safe-area-inset-bottom, 0px) + 10px));
	}

	.vv-help__ask-input {
		font-size: 16px; /* avoid iOS zoom */
	}

	.vv-help__prechat {
		padding: 8px 22px 24px;
	}

	.vv-help__prechat-title {
		font-size: 24px;
	}

	.vv-help__prechat-input {
		font-size: 16px;
	}

	.vv-help__prechat-row {
		gap: 10px;
	}

	html.vv-help-kb .vv-help__panel,
	html.vv-help-kb .vv-help__panel.is-in,
	html.vv-help-kb .vv-help__panel.is-expanded,
	html.vv-help-kb .vv-help__panel.is-prechat {
		background: #fff !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		transform: none !important;
		max-width: none !important;
	}
}

#vv-help-kb-mask {
	position: fixed !important;
	z-index: 100078 !important;
	background: #ffffff !important;
	pointer-events: none;
	transform: none !important;
}

#vv-help-frame {
	position: fixed !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 100080 !important;
	background: #ffffff;
	display: block;
}

html.vv-help-embed,
html.vv-help-embed body {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	height: 100%;
	background: #ffffff;
	overflow: hidden;
	font-family: Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html.vv-help-embed .vv-help {
	position: static;
	inset: auto;
	width: 100%;
	height: 100%;
	z-index: 1;
}

html.vv-help-embed .vv-help__panel,
html.vv-help-embed .vv-help__panel.is-in,
html.vv-help-embed .vv-help__panel.is-expanded,
html.vv-help-embed .vv-help__panel.is-prechat {
	position: fixed !important;
	inset: 0 !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	max-height: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	pointer-events: auto !important;
}

html.vv-help-embed .vv-help__body {
	flex: 1 1 auto;
	min-height: 0;
}

html.vv-help-embed .vv-help__foot {
	flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
	.vv-help__fab,
	.vv-help__chip,
	.vv-help__prechat,
	.vv-help__prechat.is-in,
	.vv-help__panel,
	.vv-help__scrim {
		transition: none;
		animation: none;
	}
}
