.vmaa-app {
	background: #ffffff;
	border: 1px solid rgba(21, 32, 54, 0.12);
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(21, 32, 54, 0.08);
	color: #142033;
	display: grid;
	gap: 18px;
	margin: 24px 0;
	padding: clamp(18px, 3vw, 28px);
}

.vmaa-app label {
	color: #142033;
	display: grid;
	font-weight: 800;
	gap: 8px;
	margin: 0;
}

.vmaa-app input,
.vmaa-app select,
.vmaa-app textarea {
	background: #f8fafc;
	border: 1px solid rgba(21, 32, 54, 0.16);
	border-radius: 11px;
	box-shadow: none;
	color: #111827;
	font-size: 16px;
	min-height: 48px;
	padding: 11px 13px;
	width: 100%;
}

.vmaa-app input:focus,
.vmaa-app select:focus,
.vmaa-app textarea:focus {
	background: #fff;
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
	outline: 0;
}

.vmaa-app button,
.vmaa-floating-toggle {
	align-items: center;
	background: #0f766e;
	border: 0;
	border-radius: 11px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	text-decoration: none;
	transition: background 160ms ease, transform 160ms ease;
}

.vmaa-app button:hover,
.vmaa-floating-toggle:hover {
	background: #0b5f59;
	transform: translateY(-1px);
}

.vmaa-search-form {
	display: grid;
	gap: 12px;
}

.vmaa-search-row,
.vmaa-return-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.vmaa-return-grid {
	align-items: end;
	grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.vmaa-response,
.vmaa-return-result {
	display: grid;
	gap: 16px;
}

.vmaa-answer,
.vmaa-loading,
.vmaa-empty,
.vmaa-error,
.vmaa-success {
	border-radius: 12px;
	padding: 14px 16px;
}

.vmaa-answer {
	background: #eef7f5;
	color: #163b3a;
	line-height: 1.55;
}

.vmaa-loading {
	background: #f3f6f8;
	color: #526070;
}

.vmaa-empty {
	background: #f8fafc;
	color: #526070;
}

.vmaa-error {
	background: #fff1f0;
	color: #b42318;
}

.vmaa-success {
	background: #ecfdf3;
	color: #067647;
	display: grid;
	gap: 6px;
}

.vmaa-success strong {
	font-size: 22px;
}

.vmaa-success span {
	font-weight: 800;
}

.vmaa-product-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.vmaa-product-card {
	background: #fff;
	border: 1px solid rgba(21, 32, 54, 0.12);
	border-radius: 14px;
	color: #142033;
	display: grid;
	grid-template-columns: 88px 1fr;
	min-height: 112px;
	overflow: hidden;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vmaa-product-card:hover {
	border-color: #0f766e;
	box-shadow: 0 16px 36px rgba(15, 118, 110, 0.12);
	color: #142033;
	transform: translateY(-2px);
}

.vmaa-product-card img,
.vmaa-product-placeholder {
	background: #dfe7ee;
	height: 100%;
	object-fit: cover;
	width: 88px;
}

.vmaa-product-body {
	display: grid;
	gap: 5px;
	padding: 12px;
}

.vmaa-product-body strong {
	font-size: 15px;
	line-height: 1.25;
}

.vmaa-product-body small {
	color: #607086;
	font-size: 12px;
	line-height: 1.35;
}

.vmaa-product-body em {
	color: #c45b0c;
	font-style: normal;
	font-weight: 900;
}

.vmaa-return-items {
	display: grid;
	gap: 10px;
}

.vmaa-return-item {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(21, 32, 54, 0.12);
	border-radius: 12px;
	cursor: pointer;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: auto 1fr;
	padding: 13px 14px;
}

.vmaa-return-item input {
	accent-color: #0f766e;
	min-height: auto;
	width: auto;
}

.vmaa-return-item span {
	display: grid;
	gap: 3px;
}

.vmaa-return-item strong {
	line-height: 1.25;
}

.vmaa-return-item em,
.vmaa-return-item small {
	color: #607086;
	font-style: normal;
}

.vmaa-return-item[data-manual-review="1"] {
	background: #fff7ed;
	border-color: rgba(196, 91, 12, 0.26);
}

.vmaa-return-fields {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

.vmaa-floating {
	bottom: 22px;
	position: fixed;
	right: 22px;
	z-index: 9999;
}

.vmaa-floating-toggle {
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.vmaa-floating-panel {
	bottom: 64px;
	position: absolute;
	right: 0;
	width: min(420px, calc(100vw - 28px));
}

.vmaa-floating-panel .vmaa-app {
	margin: 0;
	max-height: min(720px, calc(100vh - 110px));
	overflow: auto;
}

@media (max-width: 720px) {
	.vmaa-search-row,
	.vmaa-return-grid,
	.vmaa-product-card {
		grid-template-columns: 1fr;
	}

	.vmaa-product-card img,
	.vmaa-product-placeholder {
		aspect-ratio: 16 / 8;
		height: auto;
		width: 100%;
	}

	.vmaa-floating {
		bottom: 14px;
		right: 14px;
	}
}
