.chatnow-demo-form {
	--chatnow-demo-accent: #ef5a29;
	--chatnow-demo-accent-soft: rgba(239, 90, 41, 0.14);
	--chatnow-demo-surface: #f3f1f0;
	--chatnow-demo-surface-warm: linear-gradient(90deg, #f3f1f0 0%, #fcf5f2 100%);
	--chatnow-demo-text: #111111;
	--chatnow-demo-muted: #6d6a68;
	--chatnow-demo-border: #d8d1ce;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: inherit;
	color: var(--chatnow-demo-text);
}

.chatnow-demo-form__form {
	display: grid;
	gap: 86px;
}

.chatnow-demo-step {
	transition: opacity 0.28s ease;
}

.chatnow-demo-step.is-locked {
	opacity: 0.42;
}

.chatnow-demo-step.is-locked .chatnow-demo-chip,
.chatnow-demo-step.is-locked .chatnow-demo-product,
.chatnow-demo-step.is-locked .chatnow-demo-toggle__button,
.chatnow-demo-step.is-locked .chatnow-demo-submitbox__button,
.chatnow-demo-step.is-locked input,
.chatnow-demo-step.is-locked select,
.chatnow-demo-step.is-locked textarea {
	pointer-events: none;
}

.chatnow-demo-step__layout {
	display: grid;
	align-items: start;
}

.chatnow-demo-step__layout--products {
	grid-template-columns: 378px minmax(0, 1fr);
	gap: 48px;
	align-items: stretch;
}

.chatnow-demo-step__layout--location {
	grid-template-columns: minmax(0, 1fr) 378px;
	gap: 48px;
}

.chatnow-demo-step__content {
	display: grid;
	align-content: start;
}

.chatnow-demo-step__content--products {
	max-width: 378px;
	height: 100%;
	max-height: none;
	gap: 16px;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}

.chatnow-demo-step__content--location {
	width: 100%;
	max-width: none;
	gap: 18px;
	margin-left: 0;
	justify-self: stretch;
}

.chatnow-demo-step__content--location .chatnow-demo-toggle {
	justify-content: flex-end;
}

.chatnow-demo-step__head {
	display: grid;
	gap: 6px;
}

.chatnow-demo-step__head--align-end {
	justify-items: end;
	text-align: right;
}

.chatnow-demo-step__header {
	display: grid;
	gap: 6px;
	margin-bottom: 26px;
}

.chatnow-demo-step__eyebrow {
	color: var(--chatnow-demo-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.chatnow-demo-step__title {
	margin: 0;
	padding-top: 0;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
}

.chatnow-demo-step__description {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--chatnow-demo-muted);
}

.chatnow-demo-filter,
.chatnow-demo-toggle {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chatnow-demo-filter-wrap {
	position: relative;
	min-width: 0;
}

.chatnow-demo-filter-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 2px;
	width: 48px;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 72%);
	opacity: 0;
	transition: opacity 0.18s ease;
}

.chatnow-demo-filter-wrap.has-overflow:not(.is-at-end)::after {
	opacity: 1;
}

.chatnow-demo-filter {
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0 42px 2px 0;
}

.chatnow-demo-filter::-webkit-scrollbar {
	display: none;
}

.chatnow-demo-filter__arrow {
	position: absolute;
	z-index: 2;
	top: 50%;
	right: 4px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid rgba(239, 90, 41, 0.24);
	border-radius: 999px;
	background: #ffffff;
	color: var(--chatnow-demo-accent);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
	transform: translateY(-50%);
	transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.chatnow-demo-filter__arrow[hidden] {
	display: none;
}

.chatnow-demo-filter__arrow span {
	display: block;
	font-size: 22px;
	line-height: 1;
	margin-top: -1px;
}

.chatnow-demo-filter__arrow:hover {
	border-color: rgba(239, 90, 41, 0.46);
	box-shadow: 0 10px 22px rgba(17, 17, 17, 0.12);
	transform: translateY(-50%) translateX(1px);
}

.chatnow-demo-filter__arrow:focus-visible {
	outline: 2px solid rgba(239, 90, 41, 0.42);
	outline-offset: 3px;
}

.chatnow-demo-filter-wrap.is-at-end .chatnow-demo-filter__arrow {
	transform: translateY(-50%) rotate(180deg);
}

.chatnow-demo-filter-wrap.is-at-end .chatnow-demo-filter__arrow:hover {
	transform: translateY(-50%) rotate(180deg) translateX(1px);
}

.chatnow-demo-chip,
.chatnow-demo-toggle__button {
	border: 1px solid transparent;
	background: var(--chatnow-demo-surface);
	color: var(--chatnow-demo-text);
	border-radius: 999px;
	min-height: 46px;
	padding: 0 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.chatnow-demo-chip {
	min-height: 32px;
	padding: 0 22px;
	font-size: 12px;
	flex: 0 0 auto;
}

.chatnow-demo-chip:hover,
.chatnow-demo-toggle__button:hover,
.chatnow-demo-product:hover,
.chatnow-demo-submitbox__button:hover,
.chatnow-demo-submitbox__action:hover {
	transform: translateY(-1px);
}

.chatnow-demo-chip.is-active,
.chatnow-demo-toggle__button.is-active {
	border-color: rgba(239, 90, 41, 0.24);
	background: linear-gradient(90deg, #f3f1f0 0%, rgba(239, 90, 41, 0.12) 100%);
	box-shadow: inset 0 0 0 1px rgba(239, 90, 41, 0.1);
}

.chatnow-demo-toggle__button--large {
	width: 100%;
	min-height: 70px;
	padding: 0 24px;
	justify-content: flex-start;
	font-size: 17px;
	font-weight: 700;
}

.chatnow-demo-step__content--location .chatnow-demo-toggle__button {
	min-height: 54px;
	padding: 0 24px;
	font-size: 16px;
	font-weight: 700;
	min-width: 168px;
}

.chatnow-demo-toggle--stack {
	display: grid;
	gap: 12px;
}

.chatnow-demo-product-list {
	display: grid;
	align-content: start;
	gap: 10px;
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 8px;
	scrollbar-width: thin;
}

.chatnow-demo-product {
	width: 100%;
	min-height: 54px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--chatnow-demo-surface-warm);
	text-align: left;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chatnow-demo-product[hidden] {
	display: none;
}

.chatnow-demo-product.is-active {
	border-color: rgba(239, 90, 41, 0.26);
	background: linear-gradient(90deg, #f0efee 0%, rgba(239, 90, 41, 0.12) 100%);
}

.chatnow-demo-product__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.chatnow-demo-product__media {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.85);
	overflow: hidden;
	flex: 0 0 34px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.chatnow-demo-product__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.chatnow-demo-product__media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #ebe8e6;
}

.chatnow-demo-product__meta,
.chatnow-demo-product__description {
	display: none;
}

.chatnow-demo-step__visual {
	width: 100%;
}

.chatnow-demo-visual {
	width: 100%;
}

.chatnow-demo-visual__frame {
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: auto;
	border-radius: 2px;
	overflow: hidden;
	background: #f3f1f0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.chatnow-demo-visual__frame img,
.chatnow-demo-visual__frame .chatnow-demo-visual__placeholder {
	transition: opacity 0.32s ease;
}

.chatnow-demo-visual__frame.is-fading img,
.chatnow-demo-visual__frame.is-fading .chatnow-demo-visual__placeholder {
	opacity: 0;
}

.chatnow-demo-visual__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.chatnow-demo-visual__placeholder {
	width: 100%;
	height: 100%;
	background: #f3f1f0;
}

.chatnow-demo-visual__thumbs {
	display: none;
}

.chatnow-demo-panel {
	display: none;
}

.chatnow-demo-panel.is-active {
	display: grid;
	gap: 18px;
}

.chatnow-demo-panel--location-extra.is-active {
	gap: 16px;
}

.chatnow-demo-branch-list {
	display: grid;
	gap: 10px;
}

.chatnow-demo-branch-option {
	width: 100%;
	min-height: 54px;
	padding: 0 18px;
	border: 1px solid var(--chatnow-demo-border);
	border-radius: 16px;
	background: #ffffff;
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
	cursor: pointer;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chatnow-demo-branch-option:hover {
	transform: translateY(-1px);
}

.chatnow-demo-branch-option.is-active {
	border-color: rgba(239, 90, 41, 0.34);
	background: linear-gradient(90deg, #ffffff 0%, rgba(239, 90, 41, 0.08) 100%);
}

.chatnow-demo-branch-option__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--chatnow-demo-accent);
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}

.chatnow-demo-branch-option__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--chatnow-demo-text);
}

.chatnow-demo-field {
	display: grid;
	gap: 8px;
}

.chatnow-demo-field > span {
	font-size: 13px;
	line-height: 1.4;
	font-weight: 500;
}

.chatnow-demo-field--soft input,
.chatnow-demo-field--soft textarea,
.chatnow-demo-field--soft select {
	width: 100%;
	border: 0;
	border-radius: 16px;
	background: var(--chatnow-demo-surface-warm);
	color: var(--chatnow-demo-text);
	padding: 0 18px;
	min-height: 46px;
	font-size: 14px;
	box-shadow: none;
}

.chatnow-demo-field--soft textarea {
	min-height: 110px;
	padding-top: 14px;
	padding-bottom: 14px;
	resize: vertical;
}

.chatnow-demo-field--outlined .chatnow-demo-field__control {
	position: relative;
}

.chatnow-demo-field--outlined select {
	width: 100%;
	min-height: 54px;
	border: 1px solid var(--chatnow-demo-border);
	border-radius: 16px;
	background-color: #ffffff;
	color: var(--chatnow-demo-text);
	padding: 0 48px 0 58px;
	font-size: 14px;
	font-weight: 600;
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #111111 50%),
		linear-gradient(135deg, #111111 50%, transparent 50%);
	background-position:
		calc(100% - 22px) calc(50% - 2px),
		calc(100% - 16px) calc(50% - 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.chatnow-demo-field__icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--chatnow-demo-accent);
	pointer-events: none;
}

.chatnow-demo-field__error,
.chatnow-demo-step__error {
	min-height: 16px;
	font-size: 12px;
	line-height: 1.35;
	color: #c2410c;
}

.chatnow-demo-field.is-invalid input,
.chatnow-demo-field.is-invalid textarea,
.chatnow-demo-field.is-invalid select,
.chatnow-demo-step__error.is-invalid {
	outline: none;
	box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.34);
}

.chatnow-demo-step__form-layout--details {
	display: grid;
	grid-template-columns: 228px minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(250px, 1.12fr);
	gap: 28px;
	align-items: start;
}

.chatnow-demo-column {
	display: grid;
	align-content: start;
	gap: 12px;
}

.chatnow-demo-column__eyebrow {
	font-size: 13px;
	line-height: 1.4;
	font-weight: 500;
	color: #171717;
}

.chatnow-demo-column--selector {
	gap: 14px;
}

.chatnow-demo-column--form {
	gap: 12px;
}

.chatnow-demo-step--details .chatnow-demo-field > span {
	display: none;
}

.chatnow-demo-step--details .chatnow-demo-panel.is-active {
	gap: 12px;
}

.chatnow-demo-submitbox {
	background: #f3f1f0;
	border-radius: 24px;
	padding: 18px 18px 20px;
	display: grid;
	gap: 16px;
	align-content: space-between;
	align-self: stretch;
	height: 100%;
	min-height: 0;
}

.chatnow-demo-submitbox.is-incomplete {
	opacity: 0.46;
}

.chatnow-demo-submitbox__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--chatnow-demo-accent);
	margin-bottom: 4px;
}

.chatnow-demo-submitbox__message {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #171717;
}

.chatnow-demo-submitbox__button {
	border: 0;
	border-radius: 999px;
	background: var(--chatnow-demo-accent);
	color: #ffffff;
	min-height: 42px;
	padding: 0 20px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	justify-self: center;
}

.chatnow-demo-submitbox__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.chatnow-demo-submitbox__action[hidden] {
	display: none;
}

.chatnow-demo-submitbox__button::after {
	content: "→";
	margin-left: 6px;
}

.chatnow-demo-submitbox__button:disabled {
	opacity: 0.72;
	cursor: wait;
}

.chatnow-demo-submitbox__status {
	min-height: 20px;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

.chatnow-demo-submitbox__status.is-success {
	color: #166534;
	font-weight: 600;
}

.chatnow-demo-submitbox__status.is-error {
	color: #b91c1c;
}

.chatnow-demo-icon {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
}

.chatnow-demo-icon--brand {
	width: 28px;
	height: 28px;
	flex-basis: 28px;
}

.chatnow-demo-icon--image {
	display: block;
	object-fit: contain;
}

@media (max-width: 1100px) {
	.chatnow-demo-step__layout--products,
	.chatnow-demo-step__layout--location,
	.chatnow-demo-step__form-layout--details {
		grid-template-columns: 1fr;
	}

	.chatnow-demo-step__content--location,
	.chatnow-demo-step__content--products {
		max-width: none;
	}

	.chatnow-demo-step__head--align-end {
		justify-items: start;
		text-align: left;
	}

	.chatnow-demo-submitbox {
		max-width: 340px;
	}
}

@media (max-width: 782px) {
	.chatnow-demo-form__form {
		gap: 54px;
	}

	.chatnow-demo-step__layout,
	.chatnow-demo-step__form-layout--details {
		gap: 26px;
	}

	.chatnow-demo-step__title {
		font-size: 17px;
	}

	.chatnow-demo-filter,
	.chatnow-demo-toggle {
		gap: 10px;
	}

	.chatnow-demo-toggle__button,
	.chatnow-demo-branch-option {
		width: 100%;
	}

	.chatnow-demo-chip {
		width: auto;
	}

	.chatnow-demo-visual__frame,
	.chatnow-demo-visual__placeholder,
	.chatnow-demo-visual__frame img {
		min-height: 240px;
		height: 240px;
	}

	.chatnow-demo-submitbox {
		max-width: none;
	}
}
