.lch-root {
	--lch-brand-gold: #c9ac77;
	--lch-brand-gold-border: #ba9b65;
	--lch-brand-gold-soft: #f7f1e6;
	--lch-brand-gold-soft-strong: #f1e7d4;
	--lch-button-bg: #c9ac77;
	--lch-button-bg-active: #b18f53;
	--lch-button-icon: #ffffff;
	--lch-label-bg: #ffffff;
	--lch-label-text: #0f172a;
	--lch-label-border: #d9dee5;
	--lch-surface-border: #d9dee5;
	--lch-text: #0f172a;
	--lch-shadow: rgba(15, 23, 42, 0.16);
	position: fixed;
	z-index: 999999;
	max-width: calc(100vw - 24px);
	font-size: 16px;
	line-height: 1.4;
}

.lch-root--bottom-right {
	right: 16px;
	bottom: 16px;
}

.lch-root--bottom-left {
	left: 16px;
	bottom: 16px;
}

.lch-root--top-right {
	right: 16px;
	top: 16px;
}

.lch-root--top-left {
	left: 16px;
	top: 16px;
}

.lch-widget {
	position: relative;
}

.lch-widget > summary {
	list-style: none;
}

.lch-widget > summary::-webkit-details-marker {
	display: none;
}

.lch-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lch-text);
	cursor: pointer;
}

.lch-root--bottom-left .lch-toggle,
.lch-root--top-left .lch-toggle {
	flex-direction: row-reverse;
}

.lch-toggle:focus {
	outline: none;
}

.lch-toggle:focus-visible {
	outline: none;
}

.lch-toggle:focus-visible .lch-toggle__button {
	box-shadow: 0 0 0 3px rgba(201, 172, 119, 0.32), 0 12px 24px rgba(15, 23, 42, 0.18);
}

.lch-toggle:focus-visible .lch-toggle__label {
	border-color: var(--lch-brand-gold-border);
}

.lch-toggle__label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	max-width: 180px;
	padding: 0 14px;
	border: 1px solid var(--lch-label-border);
	border-radius: 4px;
	background: var(--lch-label-bg);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
	color: var(--lch-label-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lch-toggle__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: var(--lch-button-bg);
	color: var(--lch-button-icon);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
	flex: 0 0 auto;
}

.lch-widget[open] .lch-toggle__button {
	background: var(--lch-button-bg-active);
}

.lch-toggle__icon {
	display: block;
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.lch-panel {
	position: absolute;
	width: 280px;
	max-width: calc(100vw - 24px);
	padding: 16px;
	border: 1px solid var(--lch-surface-border);
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 24px 48px var(--lch-shadow);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
	box-sizing: border-box;
}

.lch-root--bottom-right .lch-panel,
.lch-root--bottom-left .lch-panel {
	bottom: 68px;
}

.lch-root--top-right .lch-panel,
.lch-root--top-left .lch-panel {
	top: 68px;
}

.lch-root--bottom-right .lch-panel,
.lch-root--top-right .lch-panel {
	right: 0;
}

.lch-root--bottom-left .lch-panel,
.lch-root--top-left .lch-panel {
	left: 0;
}

.lch-widget[open] .lch-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.lch-no-details .lch-widget .lch-panel {
	display: none;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.lch-no-details .lch-widget.is-open .lch-panel {
	display: block;
}

.lch-panel__title {
	margin: 0 0 12px;
	color: var(--lch-text);
	font-size: 16px;
	font-weight: 700;
}

.lch-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lch-list__item + .lch-list__item {
	margin-top: 8px;
}

.lch-list__item--mobile-only {
	display: none;
}

.lch-device-mobile .lch-list__item--mobile-only {
	display: block;
}

.lch-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--lch-surface-border);
	border-radius: 4px;
	background: #f8fafc;
	color: var(--lch-text);
	text-decoration: none;
	text-align: left;
	font-size: 15px;
	font-weight: 500;
	font-family: inherit;
	appearance: none;
	cursor: pointer;
	box-sizing: border-box;
}

.lch-link:hover,
.lch-link:focus,
.lch-link:focus-visible {
	border-color: var(--lch-brand-gold-border);
	background: var(--lch-brand-gold-soft);
	outline: none;
}

.lch-link::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: 12px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	flex: 0 0 auto;
}

.lch-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lch-modal[hidden] {
	display: none;
}

body.lch-modal-open {
	overflow: hidden;
}

.lch-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 23, 42, 0.56);
	box-sizing: border-box;
}

.lch-modal__dialog {
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
	overflow: auto;
	box-sizing: border-box;
}

.lch-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 12px;
	border-bottom: 1px solid var(--lch-surface-border);
}

.lch-modal__title {
	margin: 0;
	color: var(--lch-text);
	font-size: 18px;
	font-weight: 700;
}

.lch-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--lch-surface-border);
	border-radius: 4px;
	background: #ffffff;
	color: var(--lch-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	appearance: none;
}

.lch-modal__close:hover,
.lch-modal__close:focus,
.lch-modal__close:focus-visible {
	border-color: var(--lch-brand-gold-border);
	background: var(--lch-brand-gold-soft-strong);
}

.lch-modal__close:focus,
.lch-modal__close:focus-visible {
	outline: 3px solid #111827;
	outline-offset: 2px;
}

.lch-modal__content {
	padding: 20px;
}

.lch-modal__content .wpforms-container {
	margin: 0;
}

@media (max-width: 480px) {
	.lch-root--bottom-right,
	.lch-root--bottom-left {
		bottom: 12px;
	}

	.lch-root--top-right,
	.lch-root--top-left {
		top: 12px;
	}

	.lch-root--bottom-right,
	.lch-root--top-right {
		right: 12px;
	}

	.lch-root--bottom-left,
	.lch-root--top-left {
		left: 12px;
	}

	.lch-panel {
		width: 280px;
		max-width: calc(100vw - 24px);
	}

	.lch-toggle {
		gap: 8px;
	}

	.lch-toggle__label {
		max-width: 150px;
		padding-right: 12px;
		padding-left: 12px;
	}
}
