.uchems-quote {
	container-type: inline-size;
	padding-block: 36px;
	background: #f4f0fa;
	color: #0e0d19;
	font-family: "Uchems Inter", "Uchems Vazirmatn", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

.uchems-quote__layout {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: var(--uchems-quote-columns, minmax(0, .6fr) minmax(0, 1.4fr));
	align-items: center;
	gap: 35px;
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: clamp(22px, 4.4vw, 72px);
}

.uchems-quote--no-image .uchems-quote__layout {
	grid-template-columns: minmax(0, 1fr);
}

.uchems-quote__picture {
	height: 260px;
	min-width: 0;
	overflow: hidden;
	border-radius: 0 0 30px 30px;
	background: #ede9f0;
}

.uchems-quote__picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.uchems-quote__panel {
	container: uchems-quote-panel / inline-size;
	min-width: 0;
}

.uchems-quote__panel .uchems-quote__eyebrow {
	margin: 0 0 6px;
	color: #7255ae;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .24em;
	line-height: 1.5;
}

.uchems-quote__panel .uchems-quote__title {
	margin: 0;
	color: #0e0d19;
	font: 600 28px/1.12 "Uchems Inter", "Uchems Vazirmatn", Arial, sans-serif;
	letter-spacing: -.045em;
}

.uchems-quote__readiness {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 17px;
	color: #82738d;
	font-size: 10px;
}

.uchems-quote__readiness-line {
	display: block;
	flex: none;
	width: 90px;
	height: 3px;
	overflow: hidden;
	background: #e5deec;
}

.uchems-quote__readiness-line i {
	display: block;
	width: 100%;
	height: 100%;
	background: #7255ae;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s;
}

.uchems-quote__form {
	margin: 0;
}

.uchems-quote__form .uchems-quote__row,
.uchems-quote__extra-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px 16px;
	min-width: 0;
}

.uchems-quote__row + .uchems-quote__row {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #ddd8e6;
}

.uchems-quote__pair {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 12px;
	min-width: 0;
}

.uchems-quote__row .uchems-quote__caption {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #6c687b;
	font-size: 12px;
}

.uchems-quote__form .uchems-quote__field {
	display: block;
	min-width: 0;
	margin: 0;
	color: #5b5265;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
}

.uchems-quote__form .uchems-quote__field.is-ready {
	color: #7255ae;
}

.uchems-quote__field--wide {
	grid-column: 1 / -1;
}

.uchems-quote__form .uchems-quote__input {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 40px;
	margin: 5px 0 0;
	padding: 11px 12px;
	border: 1px solid #ddd8e6;
	border-radius: 0 0 16px 16px;
	background: #fff;
	color: #0e0d19;
	font: 400 11px/1.35 "Uchems Inter", "Uchems Vazirmatn", Arial, sans-serif;
}

.uchems-quote__form .uchems-quote__input:focus {
	border-color: #7255ae;
	outline: 2px solid #c8a9f3;
	outline-offset: 1px;
}

.uchems-quote__form .uchems-quote__input::placeholder {
	color: #7a7283;
	opacity: 1;
}

.uchems-quote__form .uchems-quote__text-button {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #7255ae;
	font: 600 13px/1.6 "Uchems Inter", "Uchems Vazirmatn", Arial, sans-serif;
	text-align: start;
	cursor: pointer;
}

.uchems-quote__form .uchems-quote__text-button:hover {
	color: #593d91;
	text-decoration: underline;
}

.uchems-quote__form .uchems-quote__add {
	margin-top: 14px;
}

.uchems-quote__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 17px;
}

.uchems-quote__form .uchems-quote__button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 46px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 0 0 16px 16px;
	font: 600 12px/1.3 "Uchems Inter", "Uchems Vazirmatn", Arial, sans-serif;
	text-align: center;
	cursor: pointer;
}

.uchems-quote__form .uchems-quote__submit {
	background: #7255ae;
	color: #fff;
}

.uchems-quote__form .uchems-quote__submit:hover {
	background: #593d91;
}

.uchems-quote__submit:disabled {
	opacity: .6;
	cursor: default;
}

.uchems-quote__button svg {
	flex: none;
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.uchems-quote__details {
	min-width: 0;
	font-size: 11px;
}

.uchems-quote__details summary {
	padding: 7px 0;
	list-style: none;
	color: #7255ae;
	cursor: pointer;
}

.uchems-quote__details summary::before {
	content: "+ ";
	font-size: 15px;
}

.uchems-quote__details summary::-webkit-details-marker {
	display: none;
}

.uchems-quote__details[open] {
	flex-basis: 100%;
	order: 1;
	width: 100%;
}

.uchems-quote__details[open] summary::before {
	content: "− ";
}

.uchems-quote__extra-grid {
	padding-top: 10px;
}

.uchems-quote__result {
	position: relative;
	text-align: start;
	margin-top: 17px;
	padding: 15px 17px;
	border: 1px solid #b8a3d6;
	border-radius: 0 0 16px 16px;
	background: #f6f1ff;
	color: #272034;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.uchems-quote__result strong {
	display: block;
	margin-bottom: 4px;
}

.uchems-quote__form .uchems-quote__result p {
	margin: 0 0 18px;
	font: inherit;
}

.uchems-quote__form .uchems-quote__result .uchems-quote__notice {
	margin-top: 7px;
	color: #685c78;
	font-size: 11px;
}

.uchems-quote__form .uchems-quote__download {
	min-height: 38px;
	margin-top: 10px;
	padding: 12px 18px;
	border-color: #ddd8e6;
	background: #fff;
	color: #7255ae;
	font-size: 11px;
}

.uchems-quote__form .uchems-quote__download:hover {
	background: #f4f0fa;
}

.uchems-quote__form [hidden] {
	display: none;
}

.uchems-quote__form .uchems-quote__error {
	margin: 12px 0 0;
	color: #a32638;
}

.uchems-quote__download:disabled {
	opacity: .6;
	cursor: wait;
}

.uchems-documents__heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}

.uchems-documents__tabs {
	display: flex;
	flex: none;
	align-items: stretch;
	gap: 0;
	border-bottom: 1px solid #cbb7e7;
}

.uchems-documents .uchems-documents__tab {
	min-width: 43px;
	padding: 12px 16px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	color: #6c687b;
	font: 400 11px/1.5 "Uchems Inter", "Uchems Vazirmatn", Arial, sans-serif;
	cursor: pointer;
}

.uchems-documents .uchems-documents__tab[aria-selected="true"],
.uchems-documents .uchems-documents__tab:hover {
	color: #7255ae;
	border-bottom-color: #7255ae;
}

.uchems-documents .uchems-documents__tab[aria-selected="true"] {
	font-weight: 600;
}

.uchems-documents__tab:focus-visible {
	outline: 2px solid #7255ae;
	outline-offset: -3px;
}

.uchems-documents .uchems-documents__description {
	margin: 12px 0 18px;
	color: #6c687b;
	font-size: 12px;
	line-height: 1.6;
}

.uchems-documents .uchems-documents__fine-print {
	margin: 12px 0 0;
	color: #6c687b;
	font-size: 11px;
	line-height: 1.5;
}

.uchems-quote__document-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px 16px;
}

.uchems-quote:dir(rtl) .uchems-quote__readiness-line i {
	transform-origin: right;
}

@container (max-width: 760px) {
	.uchems-quote__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 25px;
	}

	.uchems-quote__picture {
		height: 210px;
	}

	.uchems-quote__panel .uchems-quote__title {
		font-size: 25px;
	}
}

@container uchems-quote-panel (max-width: 600px) {
	.uchems-quote__form .uchems-quote__row {
		grid-template-columns: minmax(0, 1fr);
	}
}

.uchems-quote__contacts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px 16px;
	margin-top: 18px;
}
.uchems-documents .uchems-documents__picture { position: relative; height: 250px; border-radius: 3px; perspective: 800px; background: linear-gradient(145deg, #d9d2de, #eeebf1); }
.uchems-documents__picture img { position: absolute; height: 90%; width: 65%; object-fit: cover; object-position: top; background: white; box-shadow: 0 9px 24px #382a5144; border: 1px solid #dfd9e6; transition: transform .6s ease; }
.uchems-documents__picture .uchems-documents__sheet--front { left: 13%; top: 14%; transform: rotate(-10deg); z-index: 2; }
.uchems-documents__picture .uchems-documents__sheet--back { left: 31%; top: 4%; transform: rotate(8deg); z-index: 1; }
.uchems-documents__picture:hover .uchems-documents__sheet--front { transform: translateY(-4px) rotate(-6deg); }
.uchems-documents__picture-caption { position: absolute; bottom: 12px; left: 14px; z-index: 3; color: #5c4c73; background: #ffffffed; padding: 4px 8px; font-size: 8px; letter-spacing: .18em; }
.uchems-quote__document-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.uchems-quote__result strong { padding-inline-end: 26px; }
.uchems-quote__form .uchems-quote__close {
	position: absolute;
	inset-inline-end: 8px;
	top: 8px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font: 24px/1 sans-serif;
	cursor: pointer;
}
.uchems-quote__close:hover { background: #e8def4; }
.uchems-quote__close:focus-visible { outline: 2px solid #7255ae; }
.uchems-quote__result:not([hidden]) { animation: uchems-confirm .22s ease-out; }
.uchems-inquiry { padding: 0; background: #fcfaff; }
.uchems-inquiry .uchems-quote__layout { padding: 0; max-width: 1600px; }
.uchems-inquiry .uchems-quote__panel { border: 1px solid #ddd2ed; padding: 24px; }
.uchems-inquiry .uchems-quote__title { font-size: 18px; letter-spacing: -.02em; margin-bottom: 18px; }
.uchems-inquiry__fields { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.3fr; gap: 13px 16px; }
.uchems-inquiry .uchems-quote__readiness { margin: 15px 0 0; }
.uchems-inquiry .uchems-quote__result { max-width: 520px; }
.uchems-inquiry .uchems-quote__input { min-height: 54px; font-size: 14px; }
.uchems-inquiry .uchems-quote__field { font-size: 12px; }
.uchems-inquiry__footer { margin: 15px 0 0; font-size: 12px; color: #6c687b; }
@keyframes uchems-confirm { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@container uchems-quote-panel (max-width: 800px) {
	.uchems-inquiry__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container uchems-quote-panel (max-width: 500px) {
	.uchems-quote__contacts, .uchems-quote__document-fields, .uchems-inquiry__fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.uchems-quote__result:not([hidden]) { animation: none; }
	.uchems-documents__picture img { transition: none; }
}

@container uchems-quote-panel (max-width: 380px) {
	.uchems-quote__pair,
	.uchems-quote__extra-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.uchems-quote__actions {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}
}

@container uchems-quote-panel (max-width: 500px) {
	.uchems-documents__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.uchems-quote__document-fields {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.uchems-quote__readiness-line i {
		transition: none;
	}
}
