body #id-cart-list.finish_basket {
	--checkout-border: #d9e2ea;
	--checkout-border-strong: #fff0f0;
	--checkout-accent: #c42128;
	--checkout-accent-dark: #861716;
	--checkout-accent-bg: #fff0f0;
	--checkout-success: #70b62c;
	--checkout-success-dark: #5fa01f;
	--checkout-danger: #e04b32;
	--checkout-text: #333;
	--checkout-muted: #8a8a8a;

	color: var(--checkout-text);
	font-size: 13px;
}

body #id-cart-list.finish_basket #all_items {
	background: #f4f2f2;
	border: 1px solid #d8d8d8;
	padding: 16px;
}

body #id-cart-list.finish_basket #all_items h2 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: #333;
	line-height: 1.25;
}

body #id-cart-list.finish_basket .order-header {
	margin: 0 0 14px;
}

/* Цена и количество */

body #id-cart-list.finish_basket .order-cart-price strong {
	font-size: 17px;
	font-weight: 700;
	color: #222;
}

body #id-cart-list.finish_basket .order-cart-price span {
	font-size: 13px;
	color: #444;
}

body #id-cart-list.finish_basket .order-cart-qty {
	display: inline-flex;
	align-items: center;
}

body #id-cart-list.finish_basket .order-cart-qty__button,
body #id-cart-list.finish_basket .order-cart-qty__input {
	width: 26px;
	height: 26px;
	padding: 0;

	border: 1px solid #d7d7d7;
	background: #fff;

	text-align: center;
	font-size: 13px;
	line-height: 24px;
	box-sizing: border-box;
}

body #id-cart-list.finish_basket .order-cart-qty__button {
	cursor: pointer;
	color: #555;
}

body #id-cart-list.finish_basket .order-cart-qty__button:hover {
	background: var(--checkout-accent-bg);
	border-color: var(--checkout-border-strong);
}

body #id-cart-list.finish_basket .order-cart-qty__input {
	border-left: 0;
	border-right: 0;
}

/* Итого */

body #id-cart-list.finish_basket .order-totals {
	margin: 14px 0 16px;
}

body #id-cart-list.finish_basket .order-totals__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;

	padding: 6px 0;
	color: #777;
	font-size: 13px;
}

body #id-cart-list.finish_basket .order-totals__row--final {
	border-top: 1px solid #ddd;
	margin-top: 6px;
	padding-top: 12px;

	color: #222;
}

body #id-cart-list.finish_basket .order-totals .left,
body #id-cart-list.finish_basket .order-totals .right {
	float: none;
}

body #id-cart-list.finish_basket .order-totals .clr {
	display: none;
}

body #id-cart-list.finish_basket .order-totals__row--final .left strong {
	font-size: 22px;
	text-transform: uppercase;
}

body #id-cart-list.finish_basket .order-totals__row--final .right {
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
}

body #id-cart-list.finish_basket .order-totals__row--final .right strong {
	font-size: 22px;
}

/* Промокод */

body #id-cart-list.finish_basket .order-cart-coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0 0 20px;
}

body #id-cart-list.finish_basket .order-cart-coupon__input {
	min-width: 0;
	width: 100%;
	height: 34px;
	padding: 0 10px;

	border: 1px solid #d6d6d6;
	border-right: 0;
	border-radius: 4px 0 0 4px;

	box-sizing: border-box;
	font-size: 13px;
}

body #id-cart-list.finish_basket .order-cart-coupon__button {
	height: 34px;
	min-width: 96px;
	padding: 0 14px;

	border: 1px solid #d6d6d6;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(#fbfbfb, #ededed);

	color: #333;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

body #id-cart-list.finish_basket .order-cart-coupon__button:hover {
	border-color: var(--checkout-border-strong);
	color: var(--checkout-accent-dark);
}

/* Доставка */

body #id-cart-list.finish_basket .delivery-section {
	margin: 18px 0 22px;
}

body #id-cart-list.finish_basket .delivery-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;

	padding: 13px 14px;
	margin: 0 0 8px;

	background: #fff;
	border: 1px solid #dedede;
	border-radius: 5px;

	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

body #id-cart-list.finish_basket .delivery-option:hover {
	border-color: var(--checkout-border-strong);
}

body #id-cart-list.finish_basket .delivery-option:has(input:checked),
body #id-cart-list.finish_basket .delivery-option.is-checked {
	border-color: var(--checkout-accent);
	background: var(--checkout-accent-bg);
	box-shadow: inset 3px 0 0 var(--checkout-accent);
}

body #id-cart-list.finish_basket .delivery-option input[type="radio"] {
	margin: 2px 0 0;
	width: 16px;
	height: 16px;
	accent-color: var(--checkout-accent);
	flex-shrink: 0;
}

body #id-cart-list.finish_basket .delivery-option__body {
	flex: 1;
	min-width: 0;
}

body #id-cart-list.finish_basket .delivery-option__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

body #id-cart-list.finish_basket .delivery-option__name {
	font-size: 14px;
	font-weight: 700;
	color: #444;
}

body #id-cart-list.finish_basket .delivery-option__price {
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

body #id-cart-list.finish_basket .delivery-option__price--free {
	color: var(--checkout-success);
}

body #id-cart-list.finish_basket .delivery-option__desc {
	margin-top: 4px;
	color: #888;
	font-size: 12px;
	line-height: 1.35;
}

/* Контакты */
body #id-cart-list.finish_basket .your_details {
	background: #fff;
	border: 1px solid #dedede;
	border-left: 4px solid #39b54a;
	border-radius: 5px;
	padding: 16px 18px;
	margin-bottom: 20px;
}

body #id-cart-list.finish_basket .order-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
	align-items: start;
}

body #id-cart-list.finish_basket .order-contact-field {
	margin: 0;
	min-width: 0;
}

body #id-cart-list.finish_basket .order-contact-field--wide,
body #id-cart-list.finish_basket .order-contact-field--full {
	grid-column: 1 / -1;
}

body #id-cart-list.finish_basket .your_details label {
	display: block;
	margin: 0 0 6px;
	color: #555;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
}

body #id-cart-list.finish_basket .your_details label .optional {
	color: #999 !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	margin-left: 5px;
}

body #id-cart-list.finish_basket .your_details label .star,
body #id-cart-list.finish_basket .req_field .star {
	color: #d9534f;
}

body #id-cart-list.finish_basket .your_details input[type="text"],
body #id-cart-list.finish_basket .your_details input[type="tel"],
body #id-cart-list.finish_basket .your_details input[type="email"],
body #id-cart-list.finish_basket .your_details__textarea {
	width: 100%;
	min-height: 36px;
	padding: 7px 9px;
	border: 1px solid #d6d6d6;
	border-radius: 3px;
	background: #fff;
	box-sizing: border-box;
	font-size: 13px;
	color: #333;
}

body #id-cart-list.finish_basket .your_details__textarea {
	min-height: 78px;
	resize: vertical;
}

body #id-cart-list.finish_basket .req_field {
	display: block;
	margin-top: 14px;
	color: #888;
	font-size: 12px;
	font-style: italic;
}
/* Футер */

body #id-cart-list.finish_basket .order-footer {
	margin: 20px 0 0;
	padding-bottom: 8px;
}

body #id-cart-list.finish_basket .order-rules {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;

	margin: 0 0 16px;
	text-align: center;
}

body #id-cart-list.finish_basket .order-rules input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--checkout-accent);
}

body #id-cart-list.finish_basket .order-rules label {
	margin: 0;
	color: #555;
	font-size: 13px;
	font-weight: 400;
}

body #id-cart-list.finish_basket .order-footer__actions {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 0;
}

body #id-cart-list.finish_basket .order-footer__actions .btn-success {
	min-width: 210px;
	height: 42px;
	padding: 0 28px;

	border: 1px solid var(--checkout-success-dark);
	border-radius: 5px;
	background: linear-gradient(#8bd83a, #67b620);

	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-shadow: 0 -1px 0 rgba(0,0,0,.18);

	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0,0,0,.14);
}

body #id-cart-list.finish_basket .order-footer__actions .btn-success:hover {
	background: linear-gradient(#98e447, #70c526);
	border-color: #569215;
}

body #id-cart-list.finish_basket .order-footer__actions .btn-success:active {
	transform: translateY(1px);
	box-shadow: 0 1px 2px rgba(0,0,0,.16);
}

/* Состояния загрузки */

body #id-cart-list.finish_basket .delivery-section,
body #id-cart-list.finish_basket .order-totals {
	position: relative;
}

body #id-cart-list.finish_basket .delivery-section.is-loading .delivery-option__price,
body #id-cart-list.finish_basket .order-totals.is-loading .order-totals__value,
body #id-cart-list.finish_basket .order-totals.is-loading .right {
	opacity: .45;
}

body #id-cart-list.finish_basket .delivery-section.is-loading::after,
body #id-cart-list.finish_basket .order-totals.is-loading::after {
	content: '';
	position: absolute;
	top: 8px;
	right: 8px;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: order-spin .7s linear infinite;
	opacity: .55;
	pointer-events: none;
}

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

/* Адаптив */

@media (max-width: 640px) {
	body #id-cart-list.finish_basket #all_items {
		padding: 12px;
	}

	body #id-cart-list.finish_basket .order-cart-item__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	body #id-cart-list.finish_basket .your_details .form {
		grid-template-columns: 1fr;
	}

	body #id-cart-list.finish_basket .your_details .form .form-group:has(#ORDER_PROP_ADDRESS),
	body #id-cart-list.finish_basket .your_details .form > .col-sm-6 > label[for="ORDER_DESCRIPTION"],
	body #id-cart-list.finish_basket .your_details .form > .col-sm-6 > #ORDER_DESCRIPTION {
		grid-column: 1;
	}

	body #id-cart-list.finish_basket .order-totals__row--final {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	body #id-cart-list.finish_basket .order-cart-coupon {
		grid-template-columns: 1fr;
	}

	body #id-cart-list.finish_basket .order-cart-coupon__input,
	body #id-cart-list.finish_basket .order-cart-coupon__button {
		border-radius: 4px;
		border: 1px solid #d6d6d6;
	}

	body #id-cart-list.finish_basket .order-cart-coupon__button {
		margin-top: 6px;
	}

	body #id-cart-list.finish_basket .order-rules {
		align-items: flex-start;
		text-align: left;
	}

	body #id-cart-list.finish_basket .order-footer__actions .btn-success {
		width: 100%;
	}
}

body #id-cart-list.finish_basket #all_items h2 {
	background: none;
	padding-left: 0;
}

body #id-cart-list.finish_basket .form-group.is-invalid label {
	color: #c0392b;
}

body #id-cart-list.finish_basket input.is-invalid,
body #id-cart-list.finish_basket textarea.is-invalid,
body #id-cart-list.finish_basket select.is-invalid {
	border-color: #d9534f !important;
	box-shadow: 0 0 0 2px rgba(217, 83, 79, .12) !important;
}

body #id-cart-list.finish_basket .order-field-error {
	margin-top: 5px;
	color: #c0392b;
	font-size: 12px;
	line-height: 1.35;
}

body #id-cart-list.finish_basket .order-common-error {
	margin: 0 0 14px;
	padding: 10px 12px;

	border: 1px solid #f0b7b3;
	border-radius: 4px;
	background: #fff5f5;

	color: #a94442;
	font-size: 13px;
	line-height: 1.4;
}

body #id-cart-list.finish_basket .order-footer__actions .btn-success:disabled {
	opacity: .65;
	cursor: wait;
}

body #id-cart-list.finish_basket .order-footer__actions .btn-success.is-loading {
	pointer-events: none;
}

body #id-cart-list.finish_basket .city-autocomplete {
	position: relative;
}

body #id-cart-list.finish_basket .city-autocomplete__dropdown {
	position: absolute;
	z-index: 100;
	top: calc(100% + 6px);
	left: 0;
	right: 0;

	max-height: 230px;
	overflow-y: auto;

	background: #fff;
	border: 1px solid #cfddea;
	border-radius: 5px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .14);

	padding: 0;
}

body #id-cart-list.finish_basket .city-autocomplete__item {
	display: block;
	width: 100%;
	padding: 8px 12px;

	border: 0;
	background: transparent;

	text-align: left;
	cursor: pointer;
}

body #id-cart-list.finish_basket .city-autocomplete__item + .city-autocomplete__item {
	border-top: 1px solid #f5f5f5;
}

body #id-cart-list.finish_basket .city-autocomplete__item:hover,
body #id-cart-list.finish_basket .city-autocomplete__item:focus {
	background: #f3f9ff;
	outline: none;
}

body #id-cart-list.finish_basket .city-autocomplete__name {
	display: block;

	color: #333;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

body #id-cart-list.finish_basket .city-autocomplete__path {
	display: block;

	margin-top: 3px;

	color: #999;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.25;

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body #id-cart-list.finish_basket .city-autocomplete__dropdown {
	max-height: 230px;
	overflow-y: auto;
	padding: 4px 0 0;
}

body #id-cart-list.finish_basket .city-autocomplete__item:last-child {
	margin-bottom: 8px;
}

body #id-cart-list.finish_basket .order-cart-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

body #id-cart-list.finish_basket .order-cart-table th {
	padding: 9px 12px;
	border-bottom: 1px solid #ddd;
	color: #777;
	font-size: 11px;
	font-weight: 400;
	text-align: center;
}

body #id-cart-list.finish_basket .order-cart-table th.order-cart-table__name {
	text-align: center;
}

body #id-cart-list.finish_basket .order-cart-table td {
	padding: 18px 12px;
	border-bottom: 1px solid #ddd;
	vertical-align: middle;
	text-align: center;
}

body #id-cart-list.finish_basket .order-cart-table tr.order-cart-item {
	display: table-row;
	background: #fff;
	border: 0;
	box-shadow: none;
}

body #id-cart-list.finish_basket .order-cart-product {
	display: grid;
	grid-template-columns: 95px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	text-align: left;
}

body #id-cart-list.finish_basket .order-cart-product__image img {
	display: block;
	width: 90px;
	height: 90px;
	object-fit: contain;
}

body #id-cart-list.finish_basket .order-cart-product__title {
	color: #1685d9;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

body #id-cart-list.finish_basket .order-cart-product__article {
	margin-top: 2px;
	color: #555;
	font-size: 11px;
}

body #id-cart-list.finish_basket .order-cart-product__sizes {
	margin-top: 8px;
	display: flex;
	align-items: baseline;
	gap: 4px;
	flex-wrap: wrap;
}

body #id-cart-list.finish_basket .order-cart-product__size strong {
	color: #f05a24;
	font-size: 11px;
}

body #id-cart-list.finish_basket .order-cart-product__size span,
body #id-cart-list.finish_basket .order-cart-product__multiply {
	color: #f05a24;
	font-size: 10px;
}

body #id-cart-list.finish_basket .order-cart-product__mattress {
	margin-top: 5px;
	color: #777;
	font-size: 11px;
}

body #id-cart-list.finish_basket .order-cart-table__price,
body #id-cart-list.finish_basket .order-cart-table__quantity,
body #id-cart-list.finish_basket .order-cart-table__sum {
	width: 130px;
}

body #id-cart-list.finish_basket .order-cart-price strong,
body #id-cart-list.finish_basket .order-cart-table__sum strong {
	font-size: 15px;
	color: #222;
}

body #id-cart-list.finish_basket .order-cart-item__price-formula {
	margin-top: 4px;
	color: #d7662d;
	font-size: 11px;
	font-style: italic;
}

body #id-cart-list.finish_basket .order-cart-table__delete {
	width: 30px;
}

body #id-cart-list.finish_basket .order-cart-item__delete {
	border: 0;
	background: transparent;
	color: #aaa;
	font-size: 16px;
	cursor: pointer;
}

.order-cart-item {
	display: grid;
}

#id-cart-list.finish_basket div.current_orders span.spec_info {
	display: block;
}

.order-totals__row {
	margin: 0 20px 15px 20px;
	margin-top: 0px;
}

.basket-empty h2 {
	padding: 10px;
	font-size: 1.2rem;
}

.order-cart-coupon {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.order-cart-coupon__input {
	flex: 1 1 auto;
}

.order-cart-coupon__button {
	flex: 0 0 auto;
}

.order-cart-coupon__applied {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	color: #2e7d32;
}

.order-cart-coupon__remove {
	border: 0;
	background: none;
	padding: 0;
	color: #1e88e5;
	cursor: pointer;
	text-decoration: underline;
}

.order-cart-coupon__message {
	width: 100%;
	margin-top: 8px;
	font-size: 14px;
}

.order-cart-coupon__message.is-success {
	color: #2e7d32;
}

.order-cart-coupon__message.is-error {
	color: #c62828;
}

.order-cart-coupon.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.order-cart-coupon__button.is-loading::after,
.order-cart-coupon__remove.is-loading::after {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 8px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -2px;
	animation: coupon-spin 0.7s linear infinite;
}

.order-cart-coupon__applied {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid #b7dfb9;
	background: #f1faf1;
	color: #2e7d32;
	border-radius: 4px;
}

.order-cart-coupon__remove {
	border: 1px solid #b7dfb9;
	background: #fff;
	color: #2e7d32;
	border-radius: 4px;
	padding: 4px 10px;
	cursor: pointer;
}

.order-cart-coupon__message {
	width: 100%;
	margin-top: 8px;
	font-size: 14px;
}

.order-cart-coupon__message.is-error {
	color: #c62828;
}

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

.order-complete {
	max-width: 760px;
	margin: 24px auto 40px;
}

.order-complete__card {
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	padding: 34px 40px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.order-complete__icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #69b516;
	color: #fff;
	font-size: 34px;
	line-height: 54px;
	font-weight: 700;
}

.order-complete__icon--error {
	background: #c62828;
}

.order-complete__title {
	margin: 0 0 18px;
	color: #69b516;
	font-size: 28px;
	font-weight: 700;
}

.order-complete__card--error .order-complete__title {
	color: #c62828;
}

.order-complete__message {
	margin: 0 auto 24px;
	max-width: 560px;
	color: #444;
	font-size: 16px;
	line-height: 1.55;
}

.order-complete__message strong {
	color: #69b516;
}

.order-complete__payment {
	margin: 24px auto 0;
	padding: 18px 22px;
	max-width: 360px;
	background: #f6f9fc;
	border: 1px solid #e2edf7;
	border-radius: 4px;
}

.order-complete__payment-label {
	margin-bottom: 6px;
	color: #777;
	font-size: 13px;
}

.order-complete__payment-logo {
	margin-bottom: 8px;
}

.order-complete__payment-name {
	color: #333;
	font-size: 16px;
	font-weight: 700;
}

.order-complete__actions {
	margin-top: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.order-complete__button {
	display: inline-block;
	padding: 10px 22px;
	background: #69b516;
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.order-complete__button:hover {
	color: #fff;
	background: #5aa00f;
	text-decoration: none;
}

.order-complete__link {
	color: var(--primaryColor);
	text-decoration: underline;
}

.order-complete__card {
	background: #fff0f0;
	border: 1px solid #f8cece;
	border-radius: 4px;
	padding: 34px 40px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(30, 120, 190, 0.12);
}

.order-complete__title {
	color: var(--primaryColor);
}

.order-complete__icon {
	background: var(--primaryColor);
}

.order-complete__message strong {
	color: var(--primaryColor);
}

.order-complete__payment {
	background: #fff;
	border: 1px solid #cfe3f4;
}

.order-complete__button {
	background: var(--primaryColor);
	border: 1px solid var(--primaryColor);
}

.order-complete__button:hover {
	background: var(--primaryColor);
}

@media (max-width: 767px) {
	tr.list_item {
		position: relative;
		display: block;
		margin: 0 10px 18px;
		padding: 0;
		background: #fff;
		border: 1px solid #d6d6d6;
		box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
		text-align: center;
	}

	tr.list_item > td {
		display: block;
		width: 100% !important;
		padding: 0;
		border: 0;
		text-align: center !important;
	}

	tr.list_item .cart-name-wrapper {
		padding: 22px 18px 12px;
		border-bottom: 1px solid #eee;
	}

	tr.list_item .cart-name-wrapper img {
		display: block;
		width: auto;
		max-width: 220px;
		height: auto;
		max-height: 190px;
		margin: 0 auto;
	}

	tr.list_item .cart-item__desc {
		padding: 12px 16px 0;
		text-align: center !important;
	}

	tr.list_item .item__desc--name {
		text-align: center;
	}

	tr.list_item .item__desc--name .name {
		display: block;
		color: var(--checkout-accent);
		font-size: 18px;
		font-weight: 700;
		text-decoration: none;
	}

	tr.list_item .spec_info {
		display: block;
		margin-top: 3px;
		color: #666;
		font-size: 13px;
		font-style: italic;
	}

	tr.list_item .size {
		display: flex;
		justify-content: center;
		align-items: flex-start;
		gap: 6px;
		flex-wrap: nowrap;
		margin-top: 12px;
		color: #777;
		font-size: 13px;
	}

	tr.list_item .size__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 0 !important;
	}

	tr.list_item .size__item--value {
		display: inline-block;
		min-width: 58px;
		padding: 5px 6px;
		border-radius: 4px;
		color: #666;
		font-weight: 700;
		line-height: 1;
	}

	tr.list_item .size__item--value i {
		font-style: italic;
	}

	tr.list_item .milimeters {
		margin-left: 2px;
		font-size: 10px;
	}

	tr.list_item .size__item--name {
		margin-top: 5px;
		color: #777;
		font-size: 12px;
		font-weight: 700;
		font-style: italic;
		text-transform: lowercase;
	}

	tr.list_item .multiply {
		margin: 7px 0 0 !important;
		color: #888;
		font-size: 13px;
	}

	tr.list_item .cart-item-price {
		padding-top: 16px;
	}

	tr.list_item .ac__wh_info {
		display: block;
		margin-top: 10px;
		color: #65b80f;
		font-size: 15px;
		font-weight: 700;
	}

	tr.list_item .cart-item-quantity {
		padding-top: 18px;
	}

	tr.list_item .count_nav {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 22px;
	}

	tr.list_item .count_nav .minus,
	tr.list_item .count_nav .plus {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		border: 2px solid #c42128;
		border-radius: 50%;
		color: #c42128;
		background: #fff;
		font-size: 26px;
		line-height: 1;
		text-decoration: none;
	}

	tr.list_item .count_nav input {
		width: 38px;
		border: 0;
		background: transparent;
		color: #555;
		font-size: 22px;
		text-align: center;
		box-shadow: none;
	}

	tr.list_item .delete_tr {
		padding-top: 8px;
	}

	tr.list_item .delete_div {
		text-align: center;
	}

	tr.list_item .deleteitem {
		display: inline-block;
		color: #444;
		font-size: 28px;
		font-weight: 700;
		line-height: 1;
		text-decoration: none;
	}

	tr.list_item .cart-item-cost {
		padding: 8px 16px 18px;
		color: #555;
		font-size: 16px;
	}

	tr.list_item .cart-item-cost::before {
		content: 'Всего: ';
	}

	tr.list_item .cart-item-cost strong {
		font-weight: 400;
	}
}

@media (max-width: 767px) {
	.basket_order .cart-items thead,
	.basket_order table thead,
	.finish_basket table thead,
	.finish_basket .cart-table-header,
	.finish_basket tr.cart-table-header {
		display: none !important;
	}

	.finish_basket table,
	.finish_basket tbody {
		display: block;
		width: 100% !important;
	}

	.finish_basket tr.list_item {
		width: calc(100vw - 48px) !important;
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}

	tr.list_item .cart-item-cost {
		padding-top: 0;
		padding-bottom: 8px;
		font-size: 17px;
	}

	tr.list_item .delete_tr {
		padding: 0 0 16px;
	}

	tr.list_item .deleteitem {
		color: #1682d4;
		font-size: 28px;
	}
}
@media (max-width: 767px) {
	#id-cart-list,
	.finish_basket,
	#all_items {
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	tr.list_item {
		max-width: none !important;
		width: calc(100vw - 30px) !important;
		margin: 0 auto 18px !important;
	}

	tr.list_item .cart-item-price {
		padding-top: 18px;
		padding-bottom: 14px;
	}

	tr.list_item .cart-item-quantity {
		padding-top: 0;
	}

	tr.list_item .delete_tr {
		padding: 6px 0 4px;
	}

	tr.list_item .deleteitem {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #444;
		font-size: 30px;
		font-weight: 700;
		line-height: 1;
		text-decoration: none;
	}

	tr.list_item .cart-item-cost {
		padding: 4px 16px 18px;
		font-size: 17px;
	}
}

@media (max-width: 767px) {
	tr.list_item {
		display: flex !important;
		flex-direction: column;
	}

	tr.list_item .cart-item-name {
		order: 1;
	}

	tr.list_item .cart-item-price {
		order: 2;
	}

	tr.list_item .cart-item-quantity {
		order: 3;
	}

	tr.list_item .delete_tr {
		order: 4;
	}

	tr.list_item .cart-item-cost {
		order: 5;
	}
}
@media (max-width: 767px) {
	tr.list_item .deleteitem {
		color: #444 !important;
		font-size: 42px !important;
		font-weight: 700;
		line-height: 1;
	}

	tr.list_item .delete_tr {
		padding: 10px 0;
	}
}

@media (max-width: 767px) {
	#page,
	#page .text,
	#page .text_basket,
	#id-cart-list,
	.finish_basket,
	#all_items {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	.text_basket {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.order-section-title,
	#id-cart-list h2,
	#id-cart-list h3,
	.finish_basket h2,
	.finish_basket h3 {
		margin: 22px 0 14px !important;
		text-align: center !important;
		color: #333;
		font-size: 20px;
		font-weight: 700;
		text-transform: none;
	}

	.finish_basket .full_total,
	.order-totals {
		background: transparent !important;
	}
	#order_form_content {
		background: unset !important;
	}
}

@media (max-width: 767px) {
	.your_details {
		padding: 16px 14px !important;
	}

	.order-contact-grid {
		display: block !important;
	}

	.order-contact-field {
		display: block !important;
		width: 100% !important;
		margin: 0 0 14px !important;
	}

	.order-contact-field label {
		display: block;
		margin-bottom: 6px;
	}

	.order-contact-field input,
	.order-contact-field textarea {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}

	.order-contact-field[style*="display:none"] {
		display: none !important;
	}

	.req_field {
		display: block;
		margin-top: 4px;
	}
}

@media (max-width: 767px) {
	.order-totals__row {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
	}

	.order-totals .left {
		flex: 1 1 auto;
		margin: 0;
	}

	.order-totals .left strong {
		display: inline;
		margin: 0;
		font-size: 18px;
	}

	.order-totals .right {
		flex: 0 0 auto;
		font-size: 18px;
		font-weight: 700;
		text-align: right;
	}

	.order-totals .right strong {
		font-size: inherit;
	}

	.order-totals .left::after {
		content: "с учётом доставки и скидки";
		display: block;
		margin-top: 4px;
		color: #777;
		font-size: 12px;
		font-weight: 400;
	}

	.order-totals .left {
		font-size: 0;
	}

	body #id-cart-list.finish_basket .order-totals__row--final .left > strong {
		font-size: 18px;
	}

	.basket-empty {
		min-height: 40vh;

		display: flex;
		align-items: center;
		justify-content: center;

		text-align: center;
	}

	.basket-empty h2 {
		margin: 0;
	}
}


.count_nav {
	margin-right: auto;
}

table.equipment tr > td {
	font-size: 0.8rem;
}

@media (max-width: 767px) {
	#ORDER_FORM {
		background-color: transparent !important;
	}
}

[data-delivery-id].is-disabled {
	pointer-events: none;
	opacity: 0.65;
}

/* DELIVERY CHOICE UX V2 */

/*
 * Способ доставки является одиночным выбором, поэтому используется
 * существующий radio input, а не checkbox.
 */

.delivery-option {
	cursor: pointer;
}

.delivery-option input[type="radio"] {
	display: block !important;
	-webkit-appearance: radio !important;
	appearance: auto !important;
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;

	width: 18px !important;
	height: 18px !important;
	min-width: 18px;
	flex: 0 0 18px;

	margin: 3px 12px 0 0 !important;

	accent-color: var(--checkout-accent);
	cursor: pointer;
}

.delivery-option:has(input[type="radio"]:checked) {
	border-color: var(--checkout-accent) !important;
	background: var(--checkout-accent-bg) !important;
	box-shadow: inset 4px 0 0 var(--checkout-accent);
}

.delivery-option:has(input[type="radio"]:checked) .delivery-option-title {
	font-weight: 700;
}

.delivery-option:has(input[type="radio"]:focus-visible) {
	outline: 2px solid var(--checkout-accent);
	outline-offset: 2px;
}


/* ==========================================================
   BELDREV CART V2
   Brand adaptation layer.

   Primary:   #1a93a6
   Secondary: #e5f3f5

   UX mechanics remain inherited from Ashera/BRW.
   ========================================================== */

#ORDER_FORM {
    --beldrev-cart-primary: #1a93a6;
    --beldrev-cart-secondary: #e5f3f5;
    --beldrev-cart-text: #333;
    --beldrev-cart-muted: #777;
    --beldrev-cart-border: #d7e6e8;
    --beldrev-cart-white: #fff;
}

/* Header/table accents */

#ORDER_FORM .equipment > thead > tr > td,
#ORDER_FORM .equipment > thead > tr > th {
    background-color: var(--beldrev-cart-secondary) !important;
    color: var(--beldrev-cart-text) !important;
}

/* Main actions */

#ORDER_FORM #basketOrderButton2,
#ORDER_FORM .checkout,
#ORDER_FORM .order-cart-coupon__button {
    background: var(--beldrev-cart-primary) !important;
    background-image: none !important;
    border-color: var(--beldrev-cart-primary) !important;
    color: var(--beldrev-cart-white) !important;
    text-shadow: none !important;
    box-shadow: none;
}

#ORDER_FORM #basketOrderButton2:hover,
#ORDER_FORM .checkout:hover,
#ORDER_FORM .order-cart-coupon__button:hover {
    background: var(--beldrev-cart-primary) !important;
    border-color: var(--beldrev-cart-primary) !important;
    color: var(--beldrev-cart-white) !important;
    filter: brightness(.92);
}

/* Quantity */

#ORDER_FORM .plus,
#ORDER_FORM .minus {
    border-color: var(--beldrev-cart-primary) !important;
    color: var(--beldrev-cart-primary) !important;
    background-color: var(--beldrev-cart-white) !important;
}

#ORDER_FORM .plus:hover,
#ORDER_FORM .minus:hover {
    background-color: var(--beldrev-cart-secondary) !important;
}

/* Selected delivery */

#ORDER_FORM .delivery-option.is-checked,
#ORDER_FORM [data-delivery-id].is-checked {
    border-color: var(--beldrev-cart-primary) !important;
    background-color: var(--beldrev-cart-secondary) !important;
}

/* Links and interactive text */

#ORDER_FORM .order-cart a:hover,
#ORDER_FORM .order-footer a:hover {
    color: var(--beldrev-cart-primary);
}

/* Form focus */

#ORDER_FORM input:focus,
#ORDER_FORM select:focus,
#ORDER_FORM textarea:focus {
    border-color: var(--beldrev-cart-primary) !important;
    box-shadow: 0 0 0 2px rgba(26, 147, 166, .12);
    outline: none;
}

/* Totals */

#ORDER_FORM .order-totals__row--final,
#ORDER_FORM .full_total {
    border-color: var(--beldrev-cart-primary);
}

#ORDER_FORM .order-totals__row--final strong,
#ORDER_FORM .js-order-cart-total {
    color: var(--beldrev-cart-primary);
}

/* Coupon */

#ORDER_FORM .order-cart-coupon__applied {
    border-color: var(--beldrev-cart-primary);
    background-color: var(--beldrev-cart-secondary);
}

/* Loading/disabled state */

#ORDER_FORM button:disabled,
#ORDER_FORM input:disabled,
#ORDER_FORM select:disabled {
    cursor: wait;
    opacity: .65;
}

/* Mobile */

@media (max-width: 767.98px) {
    #ORDER_FORM .order-cart {
        border-color: var(--beldrev-cart-border);
    }

    #ORDER_FORM #basketOrderButton2 {
        width: 100%;
    }
}


/* BELDREV CART V2 — neutral product rows / complete table header */
#ORDER_FORM .equipment > tbody > tr.list_item > td {
    background-color: #fff;
}

#ORDER_FORM .equipment > thead > tr > .cart-delete-header {
    width: 48px;
    padding-left: 0;
    padding-right: 0;
    background-color: var(--beldrev-cart-secondary) !important;
}


/* BELDREV CART V2 — uniform product cost typography */
#ORDER_FORM .equipment > tbody > tr.list_item > td.cart-item-cost {
    color: #333 !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

#ORDER_FORM .equipment > tbody > tr.list_item > td.cart-item-cost .js-order-cart-item-sum {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}


/* ==========================================================
   BELDREV CART V2 — FINAL VISUAL PASS

   Presentation only.
   No delivery, discount or order calculation logic here.
   ========================================================== */


/* ----------------------------------------------------------
   Section rhythm
   ---------------------------------------------------------- */

#ORDER_FORM .delivery-section,
#ORDER_FORM .your_details,
#ORDER_FORM .order-totals,
#ORDER_FORM .order-footer {
    box-sizing: border-box;
}

#ORDER_FORM .delivery-section > h2,
#ORDER_FORM .your_details + h2,
#ORDER_FORM h2 {
    color: #2f3335;
}


/* ----------------------------------------------------------
   Delivery cards
   ---------------------------------------------------------- */

#ORDER_FORM .delivery-section {
    margin-top: 22px;
    margin-bottom: 28px;
}

#ORDER_FORM .delivery-section > h2 {
    margin: 0 0 16px;
}

#ORDER_FORM .delivery-option {
    position: relative;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;

    margin: 0 0 10px !important;
    padding: 18px 20px !important;

    border: 1px solid #d9e1e3 !important;
    border-radius: 7px !important;

    background: #fff !important;
    box-shadow: none !important;

    cursor: pointer;
    transition:
        border-color .15s ease,
        background-color .15s ease,
        box-shadow .15s ease;
}

#ORDER_FORM .delivery-option:hover {
    border-color: #9dcbd2 !important;
    background: #fbfdfd !important;
}

/*
 * Keep the real radio in the document and focus order,
 * but remove the browser/theme rendering.
 */
#ORDER_FORM .delivery-option > input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;

    margin: -1px !important;
    padding: 0 !important;

    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;

    border: 0 !important;

    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Visible custom radio */
#ORDER_FORM .delivery-option__radio {
    position: relative;

    display: block;
    flex: 0 0 22px;

    width: 22px;
    height: 22px;
    margin-top: 1px;

    border: 2px solid #aebabc;
    border-radius: 50%;

    background: #fff;
    box-sizing: border-box;

    transition:
        border-color .15s ease,
        background-color .15s ease;
}

#ORDER_FORM .delivery-option__radio::after {
    content: '';

    position: absolute;
    top: 50%;
    left: 50%;

    width: 10px;
    height: 10px;

    border-radius: 50%;
    background: var(--beldrev-cart-primary);

    transform: translate(-50%, -50%) scale(0);
    transition: transform .12s ease;
}

#ORDER_FORM .delivery-option > input[type="radio"]:checked
    + .delivery-option__radio {
    border-color: var(--beldrev-cart-primary);
}

#ORDER_FORM .delivery-option > input[type="radio"]:checked
    + .delivery-option__radio::after {
    transform: translate(-50%, -50%) scale(1);
}

#ORDER_FORM .delivery-option.is-checked,
#ORDER_FORM .delivery-option:has(> input[type="radio"]:checked) {
    border-color: var(--beldrev-cart-primary) !important;
    background: var(--beldrev-cart-secondary) !important;

    /*
     * Removes the old red inset stripe.
     */
    box-shadow: none !important;
}

#ORDER_FORM .delivery-option:has(> input[type="radio"]:focus-visible) {
    outline: 2px solid rgba(26, 147, 166, .35) !important;
    outline-offset: 2px;
}

#ORDER_FORM .delivery-option__body {
    flex: 1 1 auto;
    min-width: 0;
}

#ORDER_FORM .delivery-option__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
}

#ORDER_FORM .delivery-option__name {
    color: #303638 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

#ORDER_FORM .delivery-option__price {
    color: #303638;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    white-space: nowrap;
}

#ORDER_FORM .delivery-option__price--free {
    color: #62ad13 !important;
}

#ORDER_FORM .delivery-option__desc {
    max-width: 900px;
    margin-top: 6px !important;

    color: #788184 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}


/* ----------------------------------------------------------
   Contact data
   ---------------------------------------------------------- */

#ORDER_FORM .your_details {
    margin-top: 16px !important;
    padding: 22px 24px 20px !important;

    border: 1px solid #dce4e6 !important;
    border-left: 1px solid #dce4e6 !important;
    border-radius: 7px !important;

    background: #fff !important;
    box-shadow: none !important;
}

#ORDER_FORM .order-contact-grid {
    column-gap: 24px;
    row-gap: 16px;
}

#ORDER_FORM .order-contact-field {
    margin-bottom: 0 !important;
}

#ORDER_FORM .order-contact-field label {
    display: block;
    margin: 0 0 7px !important;

    color: #3a4143 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35;
}

#ORDER_FORM .order-contact-field .star,
#ORDER_FORM .req_field .star {
    color: #c84646 !important;
}

#ORDER_FORM .order-contact-field .optional {
    margin-left: 7px;

    color: #90989a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

#ORDER_FORM .your_details input[type="text"],
#ORDER_FORM .your_details input[type="tel"],
#ORDER_FORM .your_details input[type="email"],
#ORDER_FORM .your_details__textarea {
    width: 100% !important;
    min-height: 44px !important;

    padding: 9px 12px !important;

    border: 1px solid #ccd5d7 !important;
    border-radius: 5px !important;

    background: #fff !important;
    color: #2f3335 !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-style: normal !important;

    box-shadow: none !important;
    box-sizing: border-box;
}

#ORDER_FORM .your_details input[type="text"]:hover,
#ORDER_FORM .your_details input[type="tel"]:hover,
#ORDER_FORM .your_details input[type="email"]:hover,
#ORDER_FORM .your_details__textarea:hover {
    border-color: #aebcbe !important;
}

#ORDER_FORM .your_details input:focus,
#ORDER_FORM .your_details__textarea:focus {
    border-color: var(--beldrev-cart-primary) !important;

    outline: none !important;
    box-shadow:
        0 0 0 3px rgba(26, 147, 166, .10) !important;
}

#ORDER_FORM .your_details__textarea {
    min-height: 100px !important;
    resize: vertical;
}

#ORDER_FORM .req_field {
    display: block;
    margin-top: 16px;

    color: #7d8587 !important;
    font-size: 12px !important;
    font-style: normal !important;
    line-height: 1.45;
}


/* ----------------------------------------------------------
   Promo code
   ---------------------------------------------------------- */

#ORDER_FORM .order-cart-coupon {
    margin-top: 18px;
    margin-bottom: 24px;
}

#ORDER_FORM .order-cart-coupon__input {
    height: 42px !important;
    padding: 0 13px !important;

    border: 1px solid #ccd5d7 !important;
    border-right: 0 !important;
    border-radius: 5px 0 0 5px !important;

    background: #fff !important;
    color: #333 !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-style: normal !important;

    box-shadow: none !important;
}

#ORDER_FORM .order-cart-coupon__button {
    height: 42px !important;
    min-width: 125px !important;
    margin: 0 !important;
    padding: 0 18px !important;

    border-radius: 0 5px 5px 0 !important;

    font-size: 13px !important;
    font-weight: 700 !important;
}


/* ----------------------------------------------------------
   Final order total
   ---------------------------------------------------------- */

#ORDER_FORM .order-totals__row--submit {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    gap: 24px !important;

    margin: 26px 0 18px !important;
    padding: 18px 20px !important;

    border: 1px solid #d5e5e7 !important;
    border-radius: 7px !important;

    background: #f7fbfb !important;
}

#ORDER_FORM .order-totals__row--submit .left {
    flex: 1 1 auto;
    margin: 0 !important;

    color: #303638 !important;
}

#ORDER_FORM .order-totals__row--submit .left strong {
    display: inline !important;

    color: #303638 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

#ORDER_FORM .order-totals__row--submit .left::after {
    content: none !important;
}

#ORDER_FORM .order-totals__row--submit .right {
    flex: 0 0 auto;

    color: var(--beldrev-cart-primary) !important;

    font-size: 22px !important;
    font-style: normal !important;
    font-weight: 700 !important;

    text-align: right;
    white-space: nowrap;
}

#ORDER_FORM .order-totals__row--submit .right strong {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}


/* ----------------------------------------------------------
   Checkout action
   ---------------------------------------------------------- */

#ORDER_FORM .order-footer {
    margin-top: 0 !important;
}

#ORDER_FORM .order-footer__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#ORDER_FORM #basketOrderButton2 {
    width: auto !important;
    min-width: 260px;
    min-height: 48px;

    padding: 11px 24px !important;

    border: 1px solid var(--beldrev-cart-primary) !important;
    border-radius: 6px !important;

    background: var(--beldrev-cart-primary) !important;
    color: #fff !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: none !important;

    box-shadow: none !important;
}

#ORDER_FORM #basketOrderButton2:hover {
    filter: brightness(.93);
}

#ORDER_FORM #basketOrderButton2:focus-visible {
    outline: 2px solid rgba(26, 147, 166, .35);
    outline-offset: 3px;
}


/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {

    #ORDER_FORM .delivery-option {
        padding: 15px 14px !important;
        gap: 11px !important;
    }

    #ORDER_FORM .delivery-option__row {
        gap: 10px;
    }

    #ORDER_FORM .delivery-option__name {
        font-size: 15px !important;
    }

    #ORDER_FORM .delivery-option__price {
        font-size: 14px !important;
    }

    #ORDER_FORM .your_details {
        padding: 17px 15px !important;
    }

    #ORDER_FORM .order-cart-coupon {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px;
    }

    #ORDER_FORM .order-cart-coupon__input,
    #ORDER_FORM .order-cart-coupon__button {
        width: 100% !important;
        border: 1px solid #ccd5d7 !important;
        border-radius: 5px !important;
    }

    #ORDER_FORM .order-cart-coupon__button {
        margin: 0 !important;
    }

    #ORDER_FORM .order-totals__row--submit {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;

        padding: 16px !important;
    }

    #ORDER_FORM .order-totals__row--submit .right {
        font-size: 21px !important;
    }

    #ORDER_FORM .order-footer__actions {
        display: block;
    }

    #ORDER_FORM #basketOrderButton2 {
        width: 100% !important;
        min-width: 0;
    }
}


/* ==========================================================
   BELDREV CART V2 — MOBILE HEADER POSITION FIX

   style-gen.css changes .body_header to position: fixed below
   999.98px but does not define its vertical inset.
   Keep this correction local to pages using beldrev_v2.
   ========================================================== */

@media (max-width: 999.98px) {
    .body_header {
        top: 0 !important;
    }
}


/* ==========================================================
   BELDREV CART V2 — COMPACT MOBILE PRODUCT CARD

   Final cart-scoped override for the historical mobile table
   rules. Desktop presentation and basket behaviour unchanged.
   ========================================================== */

@media (max-width: 767.98px) {

    /*
     * Basket table shell.
     */

    #ORDER_FORM .equipment,
    #ORDER_FORM .equipment > tbody {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
    }

    #ORDER_FORM .equipment > thead {
        display: none !important;
    }


    /*
     * Product card.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item {
        position: relative !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "product product"
            "price quantity"
            "total total";

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 0 12px !important;
        padding: 14px !important;

        border: 1px solid #d9e2e4 !important;
        border-radius: 8px !important;

        background: #fff !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .06) !important;

        box-sizing: border-box !important;
        text-align: left !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > td {
        width: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;

        border: 0 !important;
        background: transparent !important;

        box-sizing: border-box !important;
    }


    /*
     * Image + description.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-name {
        grid-area: product;

        display: grid !important;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: center !important;
        column-gap: 14px;

        width: 100% !important;
        min-width: 0 !important;

        padding: 0 34px 14px 0 !important;

        text-align: left !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 112px !important;
        height: 112px !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: none !important;

        margin: 0 !important;
        padding: 4px !important;

        border: 0 !important;

        cursor: default !important;
        box-sizing: border-box !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper .no-highslide {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper img,
    #ORDER_FORM .equipment > tbody > tr.list_item .no-highslide img {
        display: block !important;

        width: auto !important;
        height: auto !important;
        max-width: 104px !important;
        max-height: 104px !important;

        margin: 0 auto !important;
        float: none !important;

        object-fit: contain;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-item__desc {
        display: block !important;

        width: auto !important;
        min-width: 0 !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .item__desc--name {
        margin: 0 0 8px !important;
        padding: 0 !important;

        text-align: left !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .item__desc--name .name {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #303638 !important;

        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;

        text-decoration: none !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .spec_info {
        display: block !important;

        margin: 3px 0 0 !important;
        padding: 0 !important;

        color: #747c7e !important;

        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;

        vertical-align: initial !important;
    }


    /*
     * Dimensions / characteristics.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item .size {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 4px !important;

        margin: 8px 0 0 !important;
        padding: 0 !important;

        color: #737b7d !important;
        font-size: 11px !important;
        line-height: 1.25 !important;

        text-align: left !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .size__item {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;

        margin: 0 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .size__item--value {
        min-width: 0 !important;

        padding: 3px 5px !important;

        border: 1px solid #d6e2e4 !important;
        border-radius: 4px !important;

        background: #f7fbfb !important;
        color: #4d5658 !important;

        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .size__item--name {
        margin: 3px 0 0 !important;

        color: #8a9294 !important;

        font-size: 9px !important;
        font-weight: 400 !important;
        font-style: normal !important;
        line-height: 1.1 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .multiply {
        margin: 5px 0 0 !important;

        color: #92999b !important;
        font-size: 10px !important;
        line-height: 1 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .milimeters {
        margin-left: 1px !important;
        font-size: 8px !important;
    }


    /*
     * Optional offer selector.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item .js-order-cart-offer-select {
        display: block !important;

        width: 100% !important;
        max-width: 220px !important;
        height: 34px !important;

        margin: 9px 0 0 !important;
        padding: 4px 8px !important;

        font-size: 12px !important;
        font-style: normal !important;
    }


    /*
     * Unit price.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-price {
        grid-area: price;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        width: auto !important;
        max-width: none !important;

        padding: 12px 10px 12px 0 !important;

        text-align: left !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .j-price-ticket,
    #ORDER_FORM .equipment > tbody > tr.list_item .j-double-price {
        margin: 0 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .j-price-ticket,
    #ORDER_FORM .equipment > tbody > tr.list_item .j-double-price__new {
        font-size: 14px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .price-numbers {
        font-size: 16px !important;
    }


    /*
     * Quantity.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-quantity {
        grid-area: quantity;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        width: auto !important;

        padding: 12px 0 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav {
        display: grid !important;
        grid-template-columns: 32px 38px 32px;
        align-items: center !important;
        justify-content: end !important;
        gap: 0 !important;

        width: auto !important;
        height: 32px !important;

        margin: 0 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav .minus,
    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav .plus {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        float: none !important;

        width: 32px !important;
        height: 32px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 1px solid var(--beldrev-cart-primary) !important;
        border-radius: 4px !important;

        background: #fff !important;
        background-image: none !important;
        color: var(--beldrev-cart-primary) !important;

        font-size: 20px !important;
        font-weight: 500 !important;
        line-height: 30px !important;

        text-shadow: none !important;
        box-shadow: none !important;

        cursor: pointer !important;
        box-sizing: border-box !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav input {
        display: block !important;
        float: none !important;

        width: 38px !important;
        height: 32px !important;

        margin: 0 !important;
        padding: 0 !important;

        border-top: 1px solid #d5dfe1 !important;
        border-bottom: 1px solid #d5dfe1 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;

        background: #fff !important;
        color: #343a3c !important;

        font-family: inherit !important;
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 30px !important;

        text-align: center !important;

        box-shadow: none !important;
        box-sizing: border-box !important;
    }


    /*
     * Product total.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-cost {
        grid-area: total;

        display: block !important;

        width: auto !important;

        margin: 0 !important;
        padding: 11px 0 0 !important;

        border-top: 1px solid #e3e9ea !important;

        color: #303638 !important;

        font-family: inherit !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;

        text-align: right !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-cost::before {
        content: 'Стоимость: ' !important;

        margin-right: 5px;

        color: #798183 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-cost .js-order-cart-item-sum {
        color: #303638 !important;

        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: inherit !important;
    }


    /*
     * Delete.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item > .delete_tr {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        z-index: 2;

        display: block !important;

        width: 30px !important;
        height: 30px !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .delete_div {
        position: static !important;

        width: 30px !important;
        height: 30px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .deleteitem {
        position: static !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 30px !important;
        height: 30px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 1px solid #d7dfe1 !important;
        border-radius: 50% !important;

        background: #fff !important;
        background-image: none !important;
        color: #788184 !important;

        font-family: Arial, sans-serif !important;
        font-size: 20px !important;
        font-weight: 400 !important;
        line-height: 1 !important;

        text-align: center !important;
        text-decoration: none !important;
        text-shadow: none !important;

        box-shadow: none !important;

        cursor: pointer !important;
        box-sizing: border-box !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .deleteitem:hover {
        border-color: #b9c8ca !important;
        background: #f7fafa !important;
        color: var(--beldrev-cart-primary) !important;
    }


    /*
     * Mattress badge, if present.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item .add_matras {
        transform: scale(.8);
        transform-origin: center;
    }
}


/*
 * Extra-narrow screens.
 */

@media (max-width: 389.98px) {

    #ORDER_FORM .equipment > tbody > tr.list_item {
        padding: 12px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-name {
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: 10px;

        padding-right: 30px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper {
        width: 96px !important;
        height: 96px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper img,
    #ORDER_FORM .equipment > tbody > tr.list_item .no-highslide img {
        max-width: 90px !important;
        max-height: 90px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .item__desc--name .name {
        font-size: 15px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .size__item--name {
        display: none !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav {
        grid-template-columns: 30px 34px 30px;
        height: 30px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav .minus,
    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav .plus {
        width: 30px !important;
        height: 30px !important;
        line-height: 28px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav input {
        width: 34px !important;
        height: 30px !important;
        line-height: 28px !important;
    }
}


/* ==========================================================
   BELDREV CART V2 — MOBILE PRODUCT LABELS

   Make the compact mobile card self-explanatory without
   changing markup, basket data or calculations.
   ========================================================== */

@media (max-width: 767.98px) {

    /*
     * Unit price.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-price {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-price::before {
        content: 'Цена';

        display: block;

        color: #798183;
        font-family: inherit;
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: 1.2;
    }


    /*
     * Quantity.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-quantity {
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-quantity::before {
        content: 'Количество';

        display: block;

        color: #798183;
        font-family: inherit;
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: 1.2;

        text-align: right;
    }


    /*
     * Product line total.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-cost::before {
        content: 'Итого: ' !important;
    }
}


/*
 * Furniture subtotal does NOT include delivery.
 * Remove the historical explanatory line from this block only.
 * The actual final order total keeps its delivery/discount text.
 */

#ORDER_FORM
.order-totals__row--final:not(.order-totals__row--submit)
.left::after {
    content: none !important;
    display: none !important;
}


/* ==========================================================
   BELDREV CART V2 — MOBILE TOP CONTENT RHYTHM

   Compact the space between "Корзина" and "1. Ваш заказ".
   Applies to the current test wrapper and future cart wrapper.
   Product cards and cart behaviour are untouched.
   ========================================================== */

@media (max-width: 767.98px) {

    #page .text,
    #page .text_basket {
        padding-top: 0 !important;
    }

    #ORDER_FORM .order-header.mt-3 {
        margin-top: 0 !important;
    }

    #ORDER_FORM
    #id-cart-list.finish_basket
    .order-header h2 {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
}


/* ==========================================================
   BELDREV CART V2 — MOBILE VISUAL CLEANUP R2

   Presentation only.
   No basket data, prices, quantities, delivery or AJAX logic.
   ========================================================== */

@media (max-width: 767.98px) {

    /* -------------------------------------------------------
       Product card shell
       ------------------------------------------------------- */

    #ORDER_FORM .equipment > tbody > tr.list_item {
        margin-bottom: 10px !important;
        padding: 12px 14px 12px !important;

        border: 1px solid #d9e2e4 !important;
        border-radius: 10px !important;

        background: #fff !important;
        box-shadow: 0 1px 2px rgba(24, 55, 61, .05) !important;
    }


    /* -------------------------------------------------------
       Product image + information
       ------------------------------------------------------- */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-name {
        grid-template-columns: 96px minmax(0, 1fr) !important;
        column-gap: 12px !important;

        padding: 0 34px 10px 0 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper {
        width: 96px !important;
        height: 96px !important;
        padding: 3px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper img,
    #ORDER_FORM .equipment > tbody > tr.list_item .no-highslide img {
        max-width: 90px !important;
        max-height: 90px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .item__desc--name {
        margin-bottom: 6px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .item__desc--name .name {
        color: #2d3436 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .spec_info {
        color: #697477 !important;
        font-size: 12px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .size {
        margin-top: 7px !important;
        gap: 4px !important;
    }


    /* -------------------------------------------------------
       Price + quantity row
       ------------------------------------------------------- */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-price {
        padding: 8px 10px 10px 0 !important;
        gap: 5px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-quantity {
        padding: 8px 0 10px !important;
        gap: 5px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-price::before,
    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-quantity::before {
        color: #778285 !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;

        letter-spacing: 0 !important;
        text-transform: none !important;
    }


    /*
     * Remove the old skeuomorphic grey price ticket.
     * Price itself stays exactly the same; only presentation changes.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item
    .j-price-ticket.j-price-ticket__gray {
        display: inline-flex !important;
        align-items: baseline !important;
        gap: 4px !important;

        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;

        background: transparent !important;
        background-image: none !important;

        color: #2d3436 !important;

        font-family: inherit !important;
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;

        text-shadow: none !important;
        box-shadow: none !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    .j-price-ticket.j-price-ticket__gray::before,
    #ORDER_FORM .equipment > tbody > tr.list_item
    .j-price-ticket.j-price-ticket__gray::after {
        content: none !important;
        display: none !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    .j-price-ticket.j-price-ticket__gray .price-numbers {
        color: #2d3436 !important;
        font-size: 18px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-shadow: none !important;
    }


    /*
     * Discounted price: keep discount semantics, but remove legacy
     * decorative effects from the new price.
     */

    #ORDER_FORM .equipment > tbody > tr.list_item .j-double-price {
        line-height: 1.25 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .j-double-price__new {
        background: transparent !important;
        background-image: none !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    .j-double-price__new .price-numbers {
        font-size: 18px !important;
        font-weight: 700 !important;
        text-shadow: none !important;
    }


    /* -------------------------------------------------------
       Quantity control
       ------------------------------------------------------- */

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav {
        grid-template-columns: 32px 38px 32px !important;
        height: 32px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav .minus,
    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav .plus {
        border-radius: 5px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .count_nav input {
        background: #fff !important;
        color: #2d3436 !important;
        box-shadow: none !important;
    }


    /* -------------------------------------------------------
       Line total
       ------------------------------------------------------- */

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-cost {
        margin: 0 !important;
        padding: 10px 0 0 !important;

        border-top: 1px solid #e1e8ea !important;

        color: #2d3436 !important;

        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-cost::before {
        content: 'Итого: ' !important;

        margin-right: 6px !important;

        color: #778285 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-cost .js-order-cart-item-sum {
        color: #2d3436 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
    }


    /* -------------------------------------------------------
       Delete
       ------------------------------------------------------- */

    #ORDER_FORM .equipment > tbody > tr.list_item > .delete_tr {
        top: 9px !important;
        right: 9px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .deleteitem {
        width: 30px !important;
        height: 30px !important;

        border-color: #d8e1e3 !important;
        background: #fff !important;
        color: #7b878a !important;

        font-size: 19px !important;
    }


    /* -------------------------------------------------------
       Furniture subtotal
       ------------------------------------------------------- */

    #ORDER_FORM
    .order-totals__row--final:not(.order-totals__row--submit) {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 12px !important;

        margin: 14px 0 18px !important;
        padding: 14px 16px !important;

        border: 1px solid #d6e5e7 !important;
        border-radius: 8px !important;

        background: #f7fbfb !important;
    }

    #ORDER_FORM
    .order-totals__row--final:not(.order-totals__row--submit)
    .left {
        flex: 1 1 auto !important;
        margin: 0 !important;

        color: #30383a !important;
        font-size: 0 !important;
    }

    #ORDER_FORM
    .order-totals__row--final:not(.order-totals__row--submit)
    .left > strong {
        color: #30383a !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        text-transform: none !important;
    }

    #ORDER_FORM
    .order-totals__row--final:not(.order-totals__row--submit)
    .right {
        flex: 0 0 auto !important;

        color: var(--beldrev-cart-primary) !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;

        text-align: right !important;
        white-space: nowrap !important;
    }

    #ORDER_FORM
    .order-totals__row--final:not(.order-totals__row--submit)
    .right strong {
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
    }
}


/*
 * Preserve compact proportions on very narrow devices.
 */

@media (max-width: 389.98px) {

    #ORDER_FORM .equipment > tbody > tr.list_item > .cart-item-name {
        grid-template-columns: 86px minmax(0, 1fr) !important;
        column-gap: 10px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper {
        width: 86px !important;
        height: 86px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .cart-name-wrapper img,
    #ORDER_FORM .equipment > tbody > tr.list_item .no-highslide img {
        max-width: 80px !important;
        max-height: 80px !important;
    }
}


/* ==========================================================
   BELDREV CART V2 — MOBILE CONTACT FORM + FINAL TOTAL R1

   Presentation only.
   No order data, calculation, delivery, coupon or AJAX logic.
   ========================================================== */

@media (max-width: 767.98px) {

    /* -------------------------------------------------------
       Contact section
       ------------------------------------------------------- */

    #ORDER_FORM .your_details {
        margin-top: 12px !important;
        padding: 18px 16px 16px !important;

        border: 1px solid #d9e3e5 !important;
        border-radius: 10px !important;

        background: #fff !important;
        box-shadow: 0 1px 2px rgba(24, 55, 61, .04) !important;
    }

    #ORDER_FORM .your_details .order-contact-grid {
        display: block !important;
    }

    /*
     * Historical mobile rules collapse the distance between
     * neighbouring fields. Restore a normal field rhythm.
     */
    #ORDER_FORM .your_details .order-contact-field {
        position: relative !important;

        display: block !important;
        width: 100% !important;

        margin: 0 0 16px !important;
        padding: 0 !important;
    }

    #ORDER_FORM .your_details .order-contact-field:last-of-type {
        margin-bottom: 0 !important;
    }

    /*
     * Neutralize old global mobile label positioning.
     */
    #ORDER_FORM .your_details .order-contact-field label,
    #ORDER_FORM .your_details .order-contact-field .form-label {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        display: block !important;

        width: auto !important;

        margin: 0 0 7px !important;
        padding: 0 !important;

        transform: none !important;

        background: transparent !important;
        color: #30383a !important;

        font-family: inherit !important;
        font-size: 13px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;

        text-align: left !important;
        text-shadow: none !important;

        z-index: auto !important;
    }

    #ORDER_FORM .your_details .order-contact-field label .star {
        color: #c74444 !important;
    }

    #ORDER_FORM .your_details .order-contact-field .optional {
        display: inline !important;

        margin-left: 6px !important;

        color: #8b9497 !important;

        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: inherit !important;
    }

    /*
     * All single-line fields get one consistent 44px height.
     */
    #ORDER_FORM .your_details .order-contact-field input[type="text"],
    #ORDER_FORM .your_details .order-contact-field input[type="tel"],
    #ORDER_FORM .your_details .order-contact-field input[type="email"] {
        display: block !important;

        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;

        margin: 0 !important;
        padding: 9px 12px !important;

        border: 1px solid #cfdadd !important;
        border-radius: 6px !important;

        background: #fff !important;
        color: #2d3436 !important;

        font-family: inherit !important;
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 24px !important;

        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    #ORDER_FORM .your_details .order-contact-field input[type="text"]:focus,
    #ORDER_FORM .your_details .order-contact-field input[type="tel"]:focus,
    #ORDER_FORM .your_details .order-contact-field input[type="email"]:focus,
    #ORDER_FORM .your_details .order-contact-field textarea:focus {
        border-color: var(--beldrev-cart-primary) !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(26, 147, 166, .10) !important;
    }

    #ORDER_FORM .your_details .order-contact-field textarea,
    #ORDER_FORM .your_details .your_details__textarea {
        display: block !important;

        width: 100% !important;
        height: 92px !important;
        min-height: 92px !important;

        margin: 0 !important;
        padding: 10px 12px !important;

        border: 1px solid #cfdadd !important;
        border-radius: 6px !important;

        background: #fff !important;
        color: #2d3436 !important;

        font-family: inherit !important;
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;

        box-shadow: none !important;
        box-sizing: border-box !important;
        resize: vertical !important;
    }

    #ORDER_FORM .your_details .req_field {
        display: block !important;

        margin: 14px 0 0 !important;
        padding: 0 !important;

        color: #737d80 !important;

        font-size: 11px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
    }


    /* -------------------------------------------------------
       Final order total
       ------------------------------------------------------- */

    /*
     * Historical mobile styles turn the final total into a tall
     * vertical card. Keep it as one compact horizontal summary.
     */
    #ORDER_FORM
    .order-totals__row--final.order-totals__row--submit {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 18px 0 14px !important;
        padding: 14px 16px !important;

        border: 1px solid #d5e4e6 !important;
        border-radius: 9px !important;

        background: #f7fbfb !important;

        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    #ORDER_FORM
    .order-totals__row--final.order-totals__row--submit
    .left {
        display: block !important;
        flex: 1 1 auto !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #30383a !important;

        font-size: 0 !important;
        line-height: 1.2 !important;
    }

    #ORDER_FORM
    .order-totals__row--final.order-totals__row--submit
    .left > strong {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #30383a !important;

        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;

        text-transform: none !important;
    }

    #ORDER_FORM
    .order-totals__row--final.order-totals__row--submit
    .left::after {
        content: none !important;
        display: none !important;
    }

    #ORDER_FORM
    .order-totals__row--final.order-totals__row--submit
    .right {
        display: block !important;
        flex: 0 0 auto !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        color: var(--beldrev-cart-primary) !important;

        font-size: 21px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;

        text-align: right !important;
        white-space: nowrap !important;
    }

    #ORDER_FORM
    .order-totals__row--final.order-totals__row--submit
    .right strong {
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
    }


    /* -------------------------------------------------------
       Checkout button — keep it proportional to compact total
       ------------------------------------------------------- */

    #ORDER_FORM .order-footer {
        margin-top: 0 !important;
    }

    #ORDER_FORM .order-footer__actions {
        margin: 0 !important;
    }

    #ORDER_FORM #basketOrderButton2 {
        min-height: 48px !important;

        margin: 0 !important;
        padding: 11px 18px !important;

        border-radius: 7px !important;

        font-size: 15px !important;
        line-height: 1.2 !important;
    }
}


/* ==========================================================
   BELDREV CART V2 — MOBILE CONTACT FORM + FINAL TOTAL R2

   Presentation only.
   No order data, calculation, delivery, coupon or AJAX logic.
   ========================================================== */

@media (max-width: 767.98px) {

    /* -------------------------------------------------------
       Contact form
       ------------------------------------------------------- */

    #ORDER_FORM #id-cart-list.finish_basket .your_details {
        margin-top: 12px !important;
        padding: 18px 16px 16px !important;

        border: 1px solid #d9e3e5 !important;
        border-radius: 10px !important;

        background: #fff !important;
        box-shadow: 0 1px 2px rgba(24, 55, 61, .04) !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-grid {
        display: block !important;
    }

    /*
     * Each field owns its vertical spacing.
     * This prevents the next label from sticking to the previous input.
     */
    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field {
        position: relative !important;

        display: block !important;
        width: 100% !important;

        margin: 0 0 16px !important;
        padding: 0 !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field--full {
        margin-bottom: 0 !important;
    }

    /*
     * Global mobile CSS historically absolutely positions .form-label.
     * Force cart labels back into normal document flow.
     */
    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field > label,
    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field > .form-label {
        position: static !important;
        inset: auto !important;

        display: block !important;

        width: auto !important;

        margin: 0 0 7px !important;
        padding: 0 !important;

        transform: none !important;

        background: transparent !important;
        color: #30383a !important;

        font-family: inherit !important;
        font-size: 13px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;

        text-align: left !important;
        text-shadow: none !important;

        z-index: auto !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field .optional {
        display: inline !important;

        margin-left: 6px !important;
        padding: 0 !important;

        color: #8b9497 !important;

        font-size: 11px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: inherit !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field input[type="text"],
    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field input[type="tel"],
    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field input[type="email"] {
        display: block !important;

        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;

        margin: 0 !important;
        padding: 9px 12px !important;

        border: 1px solid #cfdadd !important;
        border-radius: 6px !important;

        background: #fff !important;
        color: #2d3436 !important;

        font-family: inherit !important;
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 24px !important;

        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .order-contact-field textarea,
    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .your_details__textarea {
        display: block !important;

        width: 100% !important;
        height: 92px !important;
        min-height: 92px !important;

        margin: 0 !important;
        padding: 10px 12px !important;

        border: 1px solid #cfdadd !important;
        border-radius: 6px !important;

        background: #fff !important;
        color: #2d3436 !important;

        font-family: inherit !important;
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;

        box-shadow: none !important;
        box-sizing: border-box !important;
        resize: vertical !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .your_details input:focus,
    #ORDER_FORM #id-cart-list.finish_basket
    .your_details textarea:focus {
        border-color: var(--beldrev-cart-primary) !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(26, 147, 166, .10) !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .your_details .req_field {
        display: block !important;

        margin: 14px 0 0 !important;
        padding: 0 !important;

        color: #737d80 !important;

        font-size: 11px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
    }


    /* -------------------------------------------------------
       Final total: one compact row instead of a tall card
       ------------------------------------------------------- */

    #ORDER_FORM #id-cart-list.finish_basket
    .order-totals__row--final.order-totals__row--submit {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 18px 0 14px !important;
        padding: 14px 16px !important;

        border: 1px solid #d5e4e6 !important;
        border-radius: 9px !important;

        background: #f7fbfb !important;

        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .order-totals__row--final.order-totals__row--submit .left {
        display: block !important;
        flex: 1 1 auto !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #30383a !important;

        font-size: 0 !important;
        line-height: 1.2 !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .order-totals__row--final.order-totals__row--submit
    .left > strong {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #30383a !important;

        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;

        text-transform: none !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .order-totals__row--final.order-totals__row--submit
    .left::after {
        content: none !important;
        display: none !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .order-totals__row--final.order-totals__row--submit .right {
        display: block !important;
        flex: 0 0 auto !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        color: var(--beldrev-cart-primary) !important;

        font-size: 21px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;

        text-align: right !important;
        white-space: nowrap !important;
    }

    #ORDER_FORM #id-cart-list.finish_basket
    .order-totals__row--final.order-totals__row--submit
    .right strong {
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
    }


    /* -------------------------------------------------------
       Submit button
       ------------------------------------------------------- */

    #ORDER_FORM .order-footer {
        margin-top: 0 !important;
    }

    #ORDER_FORM .order-footer__actions {
        margin: 0 !important;
    }

    #ORDER_FORM #basketOrderButton2 {
        min-height: 48px !important;

        margin: 0 !important;
        padding: 11px 18px !important;

        border-radius: 7px !important;

        font-size: 15px !important;
        line-height: 1.2 !important;
    }
}


/* ==========================================================
   BELDREV CART V2 — MOBILE PRICE QUANTITY LABEL POLISH

   Visual treatment only for "Цена" and "Количество".
   ========================================================== */

@media (max-width: 767.98px) {

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-price::before,

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-quantity::before {
        display: inline-flex !important;
        align-items: center !important;

        width: auto !important;
        min-height: 22px !important;

        margin: 0 0 7px !important;
        padding: 4px 8px !important;

        border: 1px solid #dce8ea !important;
        border-radius: 999px !important;

        background: #f3f8f9 !important;
        color: #607276 !important;

        font-family: inherit !important;
        font-size: 11px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 1 !important;

        letter-spacing: 0 !important;
        text-transform: none !important;

        box-sizing: border-box !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-price::before {
        align-self: flex-start !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-quantity::before {
        align-self: flex-end !important;
        text-align: right !important;
    }
}


/* ==========================================================
   BELDREV CART V2 — MOBILE INLINE PRICE QUANTITY LABELS

   Цена and Количество sit to the left of their values.
   Presentation only.
   ========================================================== */

@media (max-width: 767.98px) {

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-price {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-quantity {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-price::before,

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-quantity::before {
        display: inline !important;
        align-self: auto !important;

        width: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;

        background: transparent !important;
        color: #778285 !important;

        font-family: inherit !important;
        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;

        letter-spacing: 0 !important;
        text-transform: none !important;
        white-space: nowrap !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-price::before {
        content: 'Цена:' !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    > .cart-item-quantity::before {
        content: 'Количество:' !important;
        text-align: left !important;
    }
}


/* ==========================================================
   BELDREV CART V2 — MOBILE DIMENSIONS STABILITY

   Keep the usual 3 furniture dimensions on one stable row.
   Products with 4 dimensions may wrap naturally.
   ========================================================== */

@media (max-width: 767.98px) {

    #ORDER_FORM .equipment > tbody > tr.list_item .size {
        flex-wrap: nowrap !important;
        gap: 3px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item
    .size:has(.size__item:nth-of-type(4)) {
        flex-wrap: wrap !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .size__item {
        flex: 0 1 auto !important;
        min-width: 0 !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .size__item--value {
        padding-left: 4px !important;
        padding-right: 4px !important;
        white-space: nowrap !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .multiply {
        flex: 0 0 auto !important;
    }
}

@media (max-width: 389.98px) {

    #ORDER_FORM .equipment > tbody > tr.list_item .size {
        gap: 2px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .size__item--value {
        padding-left: 3px !important;
        padding-right: 3px !important;
        font-size: 10px !important;
    }

    #ORDER_FORM .equipment > tbody > tr.list_item .milimeters {
        font-size: 7px !important;
    }
}
