.bimzee-assistant {
	--bimzee-purple: #542b73;
	--bimzee-purple-deep: #43215e;
	--bimzee-ink: #342342;
	--bimzee-muted: #655a70;
	--bimzee-lilac: #f5f0fa;
	--bimzee-lilac-deep: #ebe1f2;
	--bimzee-line: #e7dfed;
	box-sizing: border-box;
	position: relative;
	max-width: 800px;
	margin: 40px auto;
	padding: clamp(22px, 5vw, 52px);
	border: 1px solid rgba(231, 223, 237, .9);
	border-radius: 28px;
	background: linear-gradient(145deg, #fff 18%, #fdfaff 100%);
	box-shadow: 0 22px 65px rgba(63, 37, 80, .10), 0 2px 10px rgba(63, 37, 80, .035);
	color: var(--bimzee-ink);
	font-family: inherit;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.bimzee-assistant *,
.bimzee-assistant *::before,
.bimzee-assistant *::after {
	box-sizing: border-box;
}

.bimzee-assistant [hidden] {
	display: none !important;
}

.bimzee-header {
	position: relative;
	margin: 0 0 30px;
	padding: 27px 24px 25px;
	border: 1px solid rgba(231, 223, 237, .72);
	border-radius: 21px;
	background: radial-gradient(ellipse at 12% 0%, rgba(232, 218, 243, .72), transparent 55%), linear-gradient(135deg, #faf6fd, #fff 75%);
	text-align: center;
}

.bimzee-kicker {
	color: #795690;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .18em;
}

.bimzee-assistant h2 {
	margin: 11px 0 10px;
	color: var(--bimzee-purple);
	font-size: clamp(27px, 4vw, 38px);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1.18;
}

.bimzee-assistant h3 {
	margin: 8px 0 12px;
	color: var(--bimzee-purple);
	font-size: clamp(22px, 3vw, 27px);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.28;
}

.bimzee-assistant p {
	margin: 0 0 14px;
	color: var(--bimzee-muted);
}

.bimzee-header p {
	max-width: 510px;
	margin: 0 auto;
	font-size: 15px;
}

.bimzee-orb,
.bimzee-step-icon {
	display: grid;
	width: 58px;
	height: 58px;
	margin: 0 auto 16px;
	place-items: center;
	border: 1px solid rgba(224, 209, 237, .8);
	border-radius: 50%;
	background: linear-gradient(145deg, #fff, var(--bimzee-lilac));
	box-shadow: 0 8px 20px rgba(84, 43, 115, .08);
	color: var(--bimzee-purple);
	font-size: 25px;
}

.bimzee-login-card {
	max-width: 700px;
	text-align: center;
}

.bimzee-login-card h2 {
	max-width: 540px;
	margin-right: auto;
	margin-left: auto;
}

.bimzee-login-card > p {
	max-width: 490px;
	margin: 0 auto 26px;
}

.bimzee-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.bimzee-progress {
	margin: 0 2px 27px;
}

.bimzee-progress-top {
	display: flex;
	margin-bottom: 10px;
	justify-content: space-between;
	color: var(--bimzee-muted);
	font-size: 12px;
	font-weight: 600;
}

.bimzee-progress-track {
	height: 6px;
	border-radius: 20px;
	background: #eee9f2;
	overflow: hidden;
}

.bimzee-progress-track > span {
	display: block;
	width: 11%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #684285, #a17ab7, #d2b9df);
	box-shadow: 0 0 12px rgba(123, 83, 151, .2);
	transition: width .42s cubic-bezier(.2, .75, .25, 1);
}

.bimzee-stage {
	position: relative;
}

.bimzee-step {
	display: none;
	min-height: 280px;
}

/* Remove the browser's default fieldset inset so legends and answer cards share an edge. */
.bimzee-step fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.bimzee-step.is-active {
	display: block;
}

.bimzee-step.is-entering-forward {
	animation: bimzee-step-in-forward .34s cubic-bezier(.2, .75, .25, 1) both;
}

.bimzee-step.is-entering-backward {
	animation: bimzee-step-in-backward .34s cubic-bezier(.2, .75, .25, 1) both;
}

.bimzee-step.is-leaving-forward,
.bimzee-step.is-leaving-backward {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	pointer-events: none;
}

.bimzee-step.is-leaving-forward {
	animation: bimzee-step-out-forward .26s ease both;
}

.bimzee-step.is-leaving-backward {
	animation: bimzee-step-out-backward .26s ease both;
}

@keyframes bimzee-step-in-forward {
	from { opacity: 0; transform: translate3d(18px, 0, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes bimzee-step-in-backward {
	from { opacity: 0; transform: translate3d(-18px, 0, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes bimzee-step-out-forward {
	to { opacity: 0; transform: translate3d(-12px, 0, 0); }
}

@keyframes bimzee-step-out-backward {
	to { opacity: 0; transform: translate3d(12px, 0, 0); }
}

.bimzee-step-icon {
	animation: bimzee-orb-float 4.5s ease-in-out infinite;
}

@keyframes bimzee-orb-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}

.bimzee-step fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.bimzee-step legend,
.bimzee-field-label {
	display: block;
	margin: 0 0 7px;
	color: var(--bimzee-purple);
	font-size: clamp(20px, 3vw, 24px);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.3;
}

.bimzee-step legend:focus,
.bimzee-field-label:focus,
.bimzee-step h3:focus {
	border-radius: 3px;
	outline: 2px solid rgba(84, 43, 115, .28);
	outline-offset: 4px;
}

.bimzee-hint {
	margin-bottom: 18px !important;
	font-size: 14px !important;
}

.bimzee-options {
	display: grid;
	gap: 11px;
}

.bimzee-options-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bimzee-options-stack {
	grid-template-columns: 1fr;
}

.bimzee-option {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 54px;
	align-items: stretch;
	cursor: pointer;
}

.bimzee-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.bimzee-option span {
	position: relative;
	display: flex;
	width: 100%;
	min-width: 0;
	min-height: 54px;
	padding: 13px 42px 13px 16px;
	align-items: center;
	border: 1px solid var(--bimzee-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 2px 7px rgba(58, 37, 69, .025);
	color: #493d52;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	overflow-wrap: anywhere;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.bimzee-option span::after {
	position: absolute;
	top: 50%;
	right: 15px;
	display: grid;
	width: 19px;
	height: 19px;
	place-items: center;
	border: 1px solid #d8c9e2;
	border-radius: 50%;
	background: #fff;
	color: #fff;
	content: '✓';
	font-size: 11px;
	font-weight: 700;
	transform: translateY(-50%) scale(.8);
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.bimzee-option:hover span {
	transform: translateY(-2px);
	border-color: #c2abd1;
	background: #fdfaff;
	box-shadow: 0 8px 18px rgba(84, 43, 115, .07);
}

.bimzee-option:active span {
	transform: scale(.985);
}

.bimzee-option input:checked + span {
	transform: scale(1.008);
	border-color: #795494;
	background: linear-gradient(135deg, #f6effa, #fcf9ff);
	box-shadow: inset 0 0 0 1px rgba(84, 43, 115, .28), 0 7px 16px rgba(84, 43, 115, .07);
	color: var(--bimzee-purple-deep);
}

.bimzee-option input:checked + span::after {
	transform: translateY(-50%) scale(1);
	border-color: var(--bimzee-purple);
	background: var(--bimzee-purple);
}

.bimzee-option input:focus-visible + span {
	outline: 3px solid #c7add9;
	outline-offset: 3px;
}

.bimzee-step.is-active .bimzee-option {
	animation: bimzee-option-arrive .32s ease both;
}

.bimzee-step.is-active .bimzee-option:nth-child(2) { animation-delay: .025s; }
.bimzee-step.is-active .bimzee-option:nth-child(3) { animation-delay: .05s; }
.bimzee-step.is-active .bimzee-option:nth-child(4) { animation-delay: .075s; }
.bimzee-step.is-active .bimzee-option:nth-child(5) { animation-delay: .1s; }
.bimzee-step.is-active .bimzee-option:nth-child(6) { animation-delay: .125s; }
.bimzee-step.is-active .bimzee-option:nth-child(n+7) { animation-delay: .15s; }

@keyframes bimzee-option-arrive {
	from { opacity: .25; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

.bimzee-assistant textarea {
	width: 100%;
	min-height: 118px;
	padding: 15px 16px;
	border: 1px solid var(--bimzee-line);
	border-radius: 14px;
	background: #fff;
	color: var(--bimzee-ink);
	font: inherit;
	resize: vertical;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.bimzee-assistant textarea::placeholder {
	color: #897e91;
}

.bimzee-assistant textarea:focus {
	border-color: #9b7bad;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(126, 86, 151, .15);
}

.bimzee-small-note {
	margin-top: 22px !important;
	padding: 13px 15px;
	border: 1px solid #ebe3f1;
	border-radius: 12px;
	background: #f8f4fb;
	color: #5b4e66 !important;
	font-size: 13px;
}

.bimzee-ingredient-disclaimer {
	margin: 12px 0 0 !important;
	padding: 9px 11px;
	border-color: #e8dced;
	border-radius: 10px;
	background: #faf7fc;
	color: #554963 !important;
	font-size: 12px;
	line-height: 1.45;
}

.bimzee-review {
	display: grid;
	margin: 16px 0;
	grid-template-columns: minmax(145px, 1fr) 2fr;
	gap: 0 16px;
}

.bimzee-review dt,
.bimzee-review dd {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--bimzee-line);
	font-size: 14px;
}

.bimzee-review dt {
	color: var(--bimzee-purple);
	font-weight: 600;
}

.bimzee-review dd {
	color: var(--bimzee-muted);
	overflow-wrap: anywhere;
}

.bimzee-form-error {
	min-height: 22px;
	color: #9b2549;
	font-size: 13px;
	font-weight: 600;
}

.bimzee-form-footer {
	display: flex;
	margin-top: 16px;
	padding-top: 20px;
	align-items: center;
	gap: 12px;
	border-top: 1px solid var(--bimzee-line);
}

.bimzee-footer-spacer {
	flex: 1;
}

.bimzee-button {
	display: inline-flex;
	min-height: 49px;
	padding: 12px 22px;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 13px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none !important;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bimzee-button:not(:disabled) {
	cursor: pointer;
}

.bimzee-button:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 7px 17px rgba(63, 37, 80, .13);
}

.bimzee-button:focus-visible {
	outline: 3px solid #c7add9;
	outline-offset: 3px;
}

.bimzee-button-primary {
	background: var(--bimzee-purple);
	color: #fff !important;
}

.bimzee-button-primary:hover:not(:disabled) {
	background: var(--bimzee-purple-deep);
}

.bimzee-button-secondary {
	border-color: #ded3e7;
	background: rgba(255, 255, 255, .9);
	color: var(--bimzee-purple) !important;
}

.bimzee-button-secondary:hover:not(:disabled) {
	border-color: #bca4cc;
	background: #fcf9ff;
}

.bimzee-button[hidden] {
	display: none !important;
}

.bimzee-button:disabled {
	opacity: .68;
	cursor: wait;
}

.bimzee-notice {
	margin: 0 0 24px;
	padding: 14px 17px;
	border: 1px solid #d9c7e5;
	border-radius: 12px;
	background: #f8f3fb;
	color: var(--bimzee-purple);
	font-size: 14px;
}

.bimzee-loading {
	display: grid;
	min-height: 300px;
	padding: 36px 20px;
	place-content: center;
	text-align: center;
}

.bimzee-loading[hidden] {
	display: none !important;
}

.bimzee-form.is-submitting .bimzee-progress,
.bimzee-form.is-submitting .bimzee-stage,
.bimzee-form.is-submitting .bimzee-form-error,
.bimzee-form.is-submitting .bimzee-form-footer {
	display: none;
}

.bimzee-loader {
	display: flex;
	min-height: 54px;
	margin: 0 auto 18px;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.bimzee-loader span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #9070a6;
	animation: bimzee-loader-pulse .9s ease-in-out infinite;
}

.bimzee-loader span:nth-child(2) { animation-delay: .12s; }
.bimzee-loader span:nth-child(3) { animation-delay: .24s; }

@keyframes bimzee-loader-pulse {
	0%, 60%, 100% { opacity: .45; transform: scale(.78); }
	30% { opacity: 1; transform: scale(1.12); }
}

.bimzee-completion {
	padding: 25px 20px 30px;
	text-align: center;
	animation: bimzee-completion-arrive .55s cubic-bezier(.2, .75, .25, 1) both;
}

.bimzee-completion h3 {
	margin-top: 15px;
}

.bimzee-completion > p {
	max-width: 490px;
	margin: 0 auto 23px;
}

.bimzee-completion-mark {
	position: relative;
	display: grid;
	width: 74px;
	height: 74px;
	margin: 0 auto 17px;
	place-items: center;
	border: 1px solid #d8c7e4;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 25%, #f4edf8 100%);
	box-shadow: 0 0 0 8px rgba(244, 237, 248, .65), 0 10px 28px rgba(84, 43, 115, .1);
	animation: bimzee-completion-pop .55s .12s cubic-bezier(.2, .75, .25, 1) both;
}

.bimzee-completion-mark::before {
	width: 18px;
	height: 10px;
	border-bottom: 2px solid var(--bimzee-purple);
	border-left: 2px solid var(--bimzee-purple);
	content: '';
	transform: translateY(-2px) rotate(-45deg);
}

.bimzee-completion-mark::after {
	position: absolute;
	top: 5px;
	right: 0;
	color: #9874af;
	content: '✦';
	font-size: 16px;
	animation: bimzee-sparkle 1.8s .5s ease-in-out infinite;
}

@keyframes bimzee-completion-arrive {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes bimzee-completion-pop {
	from { opacity: 0; transform: scale(.72); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes bimzee-sparkle {
	0%, 100% { opacity: .55; transform: scale(.8) rotate(0); }
	50% { opacity: 1; transform: scale(1.12) rotate(18deg); }
}

.bimzee-powered-note {
	margin: 23px 0 0 !important;
	color: #7b7082 !important;
	font-size: 12px !important;
	text-align: center;
}

.bimzee-response {
	animation: bimzee-step-in .42s ease both;
}

.bimzee-response-copy {
	margin: 16px 0;
	color: #403748;
	line-height: 1.75;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.bimzee-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
	gap: 16px;
	margin: 22px 0;
}

.bimzee-product-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 14px;
	border: 1px solid #e9e2ef;
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 8px 25px rgba(57, 35, 76, .06);
}

.bimzee-product-image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	background: #f5f1f7;
}

.bimzee-product-card h4 {
	margin: 14px 0 5px;
	color: #342a3e;
	font-size: 16px;
	line-height: 1.4;
}

.bimzee-product-card h4 a {
	color: inherit;
	text-decoration: none;
}

.bimzee-product-card h4 a:hover,
.bimzee-product-card h4 a:focus-visible {
	color: #7551a6;
	text-decoration: underline;
}

.bimzee-product-price {
	margin: 0 0 10px !important;
	color: #463650 !important;
	font-weight: 700;
}

.bimzee-product-availability {
	margin: 0 0 10px !important;
	color: #536b54 !important;
	font-size: 13px !important;
	font-weight: 600;
}

.bimzee-product-reasons {
	margin: 0 0 14px 18px;
	padding: 0;
	color: #665b6e;
	font-size: 13px;
	line-height: 1.55;
}

.bimzee-product-actions {
	display: grid;
	gap: 8px;
	margin-top: auto;
}

.bimzee-product-action {
	width: 100%;
	text-align: center;
}

.bimzee-product-action.is-adding-to-cart {
	cursor: progress;
	opacity: .88;
}

.bimzee-product-action.is-adding-to-cart::before {
	width: 14px;
	height: 14px;
	margin-right: 8px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	content: '';
	animation: bimzee-cart-spin .7s linear infinite;
}

.bimzee-product-action.is-added-to-cart {
	background: #5c4671;
}

.bimzee-cart-feedback {
	color: #554963;
	font-size: 12px;
	line-height: 1.45;
}

@keyframes bimzee-cart-spin {
	to { transform: rotate(360deg); }
}

.bimzee-sensitivity-options {
	margin-top: 13px;
}

@media (max-width: 600px) {
	.bimzee-assistant {
		margin: 18px auto;
		padding: 18px;
		border-radius: 21px;
	}

	.bimzee-header {
		margin-bottom: 24px;
		padding: 22px 15px 20px;
		border-radius: 17px;
	}

	.bimzee-progress {
		margin-bottom: 24px;
	}

	.bimzee-options-grid {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.bimzee-option span {
		min-height: 52px;
		padding: 12px 42px 12px 14px;
	}

	.bimzee-ingredient-disclaimer {
		padding: 8px 10px;
		font-size: 11.5px;
	}

	.bimzee-step {
		min-height: 280px;
	}

	.bimzee-form-footer {
		gap: 8px;
	}

	.bimzee-button {
		min-height: 47px;
		padding: 11px 15px;
	}

	.bimzee-review {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.bimzee-review dt {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.bimzee-review dd {
		padding-top: 3px;
	}

	.bimzee-login-card .bimzee-actions {
		flex-direction: column;
	}

	.bimzee-login-card .bimzee-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bimzee-assistant *,
	.bimzee-assistant *::before,
	.bimzee-assistant *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
