.ui-modal.--samples-order .ui-modal__dialog {
	max-width: 43.125rem;
}

.ui-modal.--samples-order .ui-modal__panel {
	background-color: var(--color-base-white-95);
}

.ui-modal.--samples-order .ui-modal__title {
	text-transform: uppercase;
}

.ui-modal.--samples-order .ui-modal__lead {
	max-width: 31.9375rem;
}

.samples-order-form {
	width: 100%;
	gap: 1.5rem;
}

.samples-order-form__fields {
	width: 100%;
	gap: 0.75rem;
}

.samples-order-form .input-field {
	min-height: 3.5rem;
}

.samples-order-form__message.input-field {
	min-height: 8.75rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	resize: vertical;
}

.samples-order-products-picker {
	position: relative;
	width: 100%;
}

.samples-order-products-picker .select-field__wrap {
	min-height: 3.5rem;
	padding: 1rem;
	padding-right: 1rem;
	gap: 0.625rem;
}

.samples-order-products-picker .select-field__wrap::after {
	display: none;
}

.samples-order-products-picker .samples-order-products-picker__trigger.flex {
	gap: 0.625rem;
}

.samples-order-products-picker__trigger {
	width: 100%;
	padding: 0;
	border: none;
	background: transparent;
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-align: left;
}

.samples-order-products-picker__value {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--color-base-black-40);
}

.samples-order-products-picker.--filled .samples-order-products-picker__value {
	color: var(--color-base-black-60);
}

.samples-order-products-picker__chevron {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	color: var(--color-base-black-40);
	transition: transform 0.24s ease, color 0.24s ease;
}

.samples-order-products-picker__chevron svg {
	display: block;
	width: 1.0054375rem;
	height: 0.538125rem;
}

.samples-order-products-picker__chevron svg path {
	transition: fill 0.24s ease;
}

.samples-order-products-picker.--filled .samples-order-products-picker__chevron {
	color: var(--color-base-black-60);
}

.samples-order-products-picker.--open .select-field__wrap {
	border: 0.0625rem solid var(--color-base-black-30);
}

.samples-order-products-picker.--open .samples-order-products-picker__chevron {
	transform: rotate(180deg);
}

.samples-order-products-picker .samples-order-products-picker__dropdown.flex {
	gap: 0;
}

.samples-order-products-picker__dropdown {
	position: absolute;
	top: calc(100% + 0.375rem);
	left: 0;
	z-index: 5;
	width: 100%;
	max-height: 17.5rem;
	padding: 0.5rem 0.25rem 0.5rem 0;
	border-radius: 0.75rem;
	background-color: var(--color-base-white-100);
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--color-base-black-8) transparent;
}

.samples-order-products-picker__dropdown::-webkit-scrollbar {
	width: 0.25rem;
}

.samples-order-products-picker__dropdown::-webkit-scrollbar-track {
	background: transparent;
}

.samples-order-products-picker__dropdown::-webkit-scrollbar-thumb {
	border-radius: 0.625rem;
	background-color: var(--color-base-black-8);
}

.samples-order-products-picker__option {
	width: 100%;
	min-height: 2.5rem;
	padding: 0.5rem 1.125rem;
	box-sizing: border-box;
	cursor: pointer;
	transition: background-color 0.24s ease;
}

.samples-order-products-picker__option:hover {
	background-color: var(--color-base-black-4);
}

.samples-order-products-picker__option-label {
	flex: 1;
	min-width: 0;
	padding-right: 0.75rem;
	color: var(--color-base-black-60);
	line-height: 1.2;
}

.samples-order-products-picker__check {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
}

.samples-order-products-picker__control {
	position: absolute;
	width: 0.0625rem;
	height: 0.0625rem;
	margin: -0.0625rem;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.samples-order-products-picker__box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 0.25rem;
	background-color: var(--color-base-black-4);
	transition: background-color 0.24s ease;
}

.samples-order-products-picker__check-icon {
	display: none;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	color: var(--color-base-white-100);
}

.samples-order-products-picker__check-icon svg {
	display: block;
	width: 0.8494375rem;
	height: 0.60875rem;
}

.samples-order-products-picker__check-icon svg path {
	fill: currentColor;
	transition: fill 0.24s ease;
}

.samples-order-products-picker__control:checked + .samples-order-products-picker__box {
	background-color: var(--color-primary-300);
}

.samples-order-products-picker__control:checked + .samples-order-products-picker__box .samples-order-products-picker__check-icon {
	display: flex;
}

.samples-order-products-picker__control:focus-visible + .samples-order-products-picker__box {
	outline: 0.125rem solid var(--color-primary-300);
	outline-offset: 0.125rem;
}

.samples-order-form__consent {
	align-items: flex-start;
}

.samples-order-form__consent .checkbox__label {
	line-height: 1.4;
	color: var(--color-base-black-70);
}

.samples-order-form__link {
	color: var(--color-base-black-70);
	text-decoration: underline;
	transition: color 0.24s ease;
}

.samples-order-form__link:hover,
.samples-order-form__link:focus-visible {
	color: var(--color-primary-300);
}

.samples-order-form__actions {
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0.75rem;
}

.samples-order-form__submit {
	flex: 1;
	min-width: 0;
}

.samples-order-form__social {
	flex: 0 0 auto;
	gap: 0.75rem;
}

.samples-order-form__social .btn-icon.--glass {
	width: 3rem;
	height: 3rem;
}

.samples-order-form__social .btn-icon.--glass .btn-icon__graphic {
	color: var(--color-base-black-100);
	transition: color 0.24s ease;
}

.samples-order-form__social .btn-icon.--glass .btn-icon__graphic svg path,
.samples-order-form__social .btn-icon.--glass .btn-icon__graphic svg circle,
.samples-order-form__social .btn-icon.--glass .btn-icon__graphic svg rect,
.samples-order-form__social .btn-icon.--glass .btn-icon__max path {
	fill: currentColor;
	transition: fill 0.24s ease;
}

.samples-order-form__social .btn-icon.--glass:hover .btn-icon__graphic,
.samples-order-form__social .btn-icon.--glass:focus-visible .btn-icon__graphic {
	color: var(--color-primary-300);
}

.samples-order-form__social-vk .btn-icon__graphic {
	width: 1.125rem;
	height: 1.125rem;
}

.samples-order-form__social-tg .btn-icon__graphic {
	width: 0.91rem;
	height: 0.78rem;
}

@media screen and (min-width: 64rem) {
	.samples-order-form__social .btn-icon.--glass {
		width: 4rem;
		height: 4rem;
	}

	.samples-order-form__submit .btn__label {
		min-width: 13.25rem;
	}
}

@media screen and (max-width: 63.99875rem) {
	.ui-modal.--samples-order .ui-modal__dialog {
		max-width: none;
	}

	.samples-order-form__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}

	.samples-order-form__submit {
		width: 100%;
		flex: none;
	}

	.samples-order-form__submit.btn.--white {
		background-color: var(--color-primary-300);
		color: var(--color-base-white-100);
	}

	.samples-order-form__submit.btn.--white .btn__icon {
		background-color: var(--color-base-white-100);
	}

	.samples-order-form__submit.btn.--white .btn__icon-graphic {
		color: var(--color-base-black-100);
	}

	.samples-order-form__submit.btn.--white:hover,
	.samples-order-form__submit.btn.--white:focus-visible {
		background-color: var(--color-base-black-100);
		color: var(--color-base-white-100);
	}

	.samples-order-form__social {
		flex: none;
		justify-content: center;
		width: 100%;
	}
}
