/* Checkout v2 — /checkout/ одностраничное оформление */
/* bd-cache-bust: 20260725-1120 */
.bd-contacts-login__link{
	color: #FDC976 !important;
}
.bd-contacts-login__link:hover{
	color: #000 !important;
	text-decoration: none !important;
}
.bd-contacts-login__link:hover{
	border-bottom-color: #000;
}

.bd-checkout {
	--bd-accent: #fecb6f;
	--bd-accent-soft: #fff4e5;
	--bd-accent-border: #f5a623;
	--bd-ok-bg: #eef8f0;
	--bd-ok: #2e9e5b;
	--bd-text: #1a1a1a;
	--bd-muted: #8a8a8a;
	--bd-border: #e8e8e8;
	--bd-error: #d64545;
	--bd-link: #c0392b;
	--bd-step: #5c4033;
	--bd-section-gap: 32px;
	--bd-block-gap: 16px;
	--bd-field-gap: 12px;
	--bd-radius: 10px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 16px 16px 48px;
	color: var(--bd-text);
}

.bd-req { color: var(--bd-error); margin-right: 2px; }

/* ——— Одностраничное оформление (/checkout/) ——— */
.bd-checkout--single .bd-steps,
.bd-checkout--single .bd-step-panel,
.bd-checkout--single .bd-step-nav,
.bd-checkout--single .bd-order-gate {
	display: none !important;
}

.bd-checkout--single .bd-checkout__order {
	margin-left: 0;
	margin-right: 0;
	align-items: flex-start;
	overflow: visible;
}
.bd-checkout--single #bx-soa-order-form {
	overflow: visible;
}
.bd-checkout--single .bd-checkout__main {
	padding-left: 0;
	padding-right: 24px;
	max-width: 100%;
}
.bd-checkout--single .bd-checkout__sidebar {
	padding-left: 0;
	padding-right: 0;
	max-width: 100%;
}
@media (min-width: 992px) {
	.bd-checkout--single .bd-checkout__order {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		overflow: visible !important;
	}
	.bd-checkout--single #bx-soa-total.bd-checkout__sidebar {
		position: sticky !important;
		top: 70px !important;
		align-self: flex-start !important;
		max-height: none;
		overflow: visible;
		z-index: 30;
	}
}

.bd-delivery-note.is-hidden {
	display: none !important;
}

/* Скрыть шаг «Страна» в цепочечном выборе локации */
#bx-soa-region .bx-ui-slst-pool .bx-ui-slst-input-block:first-child,
#bx-soa-region [data-bd-country-step] {
	display: none !important;
}

.bd-checkout--single .bd-checkout-section {
	margin-bottom: var(--bd-section-gap);
	padding-bottom: var(--bd-section-gap);
	border-bottom: 1px solid var(--bd-border);
}
.bd-checkout--single .bd-checkout-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.bd-checkout-section__title {
	margin: 0 0 var(--bd-block-gap);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bd-text);
	line-height: 1.2;
}

.bd-recipient-options {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin: 0 0 var(--bd-block-gap);
}
.bd-recipient-options__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #444;
	cursor: pointer;
	user-select: none;
	margin: 0;
}
.bd-recipient-options__item.is-hidden {
	display: none !important;
}
.bd-recipient-options__item input {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--bd-step);
}

/* Комментарий — скрыт */
#bd-section-comment.bd-checkout-section,
#bd-section-comment {
	display: none !important;
}
.bd-comment-slot {
	display: none !important;
}
.bd-comment-slot > .col-sm-12 {
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	width: 100%;
	border: none !important;
	background: transparent !important;
}
.bd-comment-slot .form-group,
.bd-comment-slot .col-sm-12 {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}
.bd-comment-slot textarea,
.bd-comment-slot textarea[name="ORDER_DESCRIPTION"],
.bd-comment-slot .form-control,
.bd-comment-slot .bx-soa-customer-textarea,
#orderDescription {
	display: block !important;
	width: 100% !important;
	min-height: 120px !important;
	margin: 0 0 32px !important;
	padding: 16px 18px !important;
	border: none !important;
	border-radius: 14px !important;
	font-size: 15px !important;
	line-height: 1.45 !important;
	resize: none !important;
	box-sizing: border-box !important;
	background: #ececec !important;
	color: var(--bd-text) !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.bd-comment-slot textarea:focus {
	background: #e4e4e4 !important;
	box-shadow: inset 0 0 0 2px rgba(245, 166, 35, 0.35) !important;
}
.bd-comment-slot textarea::placeholder {
	color: #9a9a9a;
}
#bd-section-recipient {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: none !important;
}
#bd-section-recipient .bd-checkout-section__title {
	margin-top: 0;
}

/* Поля получателя — 3 колонки, полная ширина */
.bd-checkout--single #bx-soa-properties,
.bd-checkout--single #bd-section-recipient #bx-soa-properties {
	width: 100% !important;
	max-width: 100% !important;
}
.bd-checkout--single #bx-soa-properties .bx-soa-section {
	margin-bottom: 0;
}
.bd-checkout--single #bx-soa-properties .bx-soa-section-content {
	min-height: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}
.bd-checkout--single #bx-soa-properties .col-sm-12:empty {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.bd-checkout--single #bx-soa-properties .container-fluid,
.bd-checkout--single #bx-soa-properties .row {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}
#bd-section-comment.bd-checkout-section,
#bd-section-comment {
	display: none !important;
}

/* ——— Layout / theme overrides ——— */
.website-wrapper {
	overflow: unset !important;
}
#bx-soa-order-form .bx-soa-cart-total::before {
	content: none !important;
	display: none !important;
	background: none !important;
	width: 0 !important;
	height: 0 !important;
}

.bd-contacts-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 8px;
}
.bd-contacts-head .bd-checkout-section__title {
	margin: 0;
}
.bd-contacts-edit-btn {
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	color: #2f6fed;
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
}
.bd-contacts-edit-btn:hover {
	text-decoration: underline;
}
.bd-contacts-summary {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.55;
	color: #222;
}
.bd-contacts-summary__line {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0 0 4px;
}
.bd-contacts-summary__label {
	color: #666;
	font-weight: 400;
	flex: 0 0 auto;
}
.bd-contacts-summary__value {
	color: #222;
	font-weight: 500;
}
.bd-contacts-summary__value.is-empty,
.bd-contacts-summary__line.is-empty .bd-contacts-summary__value {
	color: #999;
	font-weight: 400;
	font-style: italic;
}
#bd-section-recipient[data-contacts-mode="summary"] #bx-soa-properties.bd-contacts-fields-collapsed {
	display: none !important;
}
#bd-section-recipient[data-contacts-mode="form"] [data-bd-contacts-summary] {
	display: none !important;
}

.bd-contacts-login {
	margin: -4px 0 16px;
	font-size: 14px;
	line-height: 1.4;
	color: #666;
}
.bd-contacts-login__link {
	color: #2f6fed;
	text-decoration: none;
}
.bd-contacts-login__link:hover {
	text-decoration: underline;
}

#bd-section-recipient .bd-checkout-section__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #1a1a1a;
	line-height: 1.25;
}

/* Поля получателя — 2×2: Имя | Фамилия / Телефон | Email */
.bd-checkout--single #bx-soa-properties .bx-soa-customer,
.bd-checkout--single #bx-soa-properties .col-sm-12.bx-soa-customer {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	gap: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	box-sizing: border-box !important;
}
@media (max-width: 991px) {
	.bd-checkout--single #bx-soa-properties .bx-soa-customer,
	.bd-checkout--single #bx-soa-properties .col-sm-12.bx-soa-customer {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}
	.bd-checkout--single #bx-soa-properties .bd-field-name,
	.bd-checkout--single #bx-soa-properties .bd-field-last,
	.bd-checkout--single #bx-soa-properties .bd-field-phone,
	.bd-checkout--single #bx-soa-properties .bd-field-email,
	.bd-checkout--single #bx-soa-properties .bd-field-fio {
		grid-column: 1 / -1;
	}
}
@media (min-width: 992px) {
	.bd-checkout--single #bx-soa-properties .bd-field-name,
	.bd-checkout--single #bx-soa-properties .bd-field-last,
	.bd-checkout--single #bx-soa-properties .bd-field-phone,
	.bd-checkout--single #bx-soa-properties .bd-field-email {
		grid-column: auto;
	}
	.bd-checkout--single #bx-soa-properties .bd-field-name { order: 1; }
	.bd-checkout--single #bx-soa-properties .bd-field-last { order: 2; }
	.bd-checkout--single #bx-soa-properties .bd-field-phone { order: 3; }
	.bd-checkout--single #bx-soa-properties .bd-field-email { order: 4; }
	.bd-checkout--single #bx-soa-properties .bd-field-full,
	.bd-checkout--single #bx-soa-properties .bd-org-field { order: 10; }
}
.bd-checkout--single #bx-soa-properties .bx-soa-customer-field,
.bd-checkout--single #bx-soa-properties .form-group,
.bd-checkout--single #bx-soa-properties [data-property-id-row],
.bd-checkout--single #bx-soa-properties .col-sm-12.bx-soa-customer > * {
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	box-sizing: border-box !important;
}
.bd-checkout--single #bx-soa-properties .soa-property-container {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}
.bd-checkout--single #bx-soa-properties .bx-soa-customer-field[data-property-id-row] {
	width: auto !important;
}
.bd-checkout--single #bx-soa-properties .bd-field-full,
.bd-checkout--single #bx-soa-properties .bd-org-field,
.bd-checkout--single #bx-soa-properties .bd-zip-hidden {
	grid-column: 1 / -1;
}
.bd-checkout--single #bx-soa-properties .bd-zip-hidden,
.bd-checkout--single #bx-soa-properties .bd-merged-name-hidden,
.bd-checkout .bd-addr-prop-hidden,
.bd-checkout [data-property-id-row].bd-addr-prop-hidden,
.bd-checkout .bx-soa-customer-field.bd-addr-prop-hidden,
.bd-checkout .form-group.bd-addr-prop-hidden {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}
.bd-checkout--single #bx-soa-properties .bd-field-phone {
	min-width: 0;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
}
.bd-checkout--single #bx-soa-properties .bd-field-phone .iti,
.bd-checkout--single #bx-soa-properties .bd-field-phone .intl-tel-input,
.bd-checkout--single #bx-soa-properties .bd-field-phone .bx-soa-customer-tel-input-container,
.bd-checkout--single #bx-soa-properties .bx-soa-customer-tel-input-container,
.bd-checkout--single #bx-soa-properties .bd-field-phone .soa-property-container {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	box-sizing: border-box !important;
	border: 0 !important;
	background: transparent !important;
	overflow: visible !important;
}
.bd-checkout--single #bx-soa-properties .bd-field-phone .iti__flag-container,
.bd-checkout--single #bx-soa-properties .bd-field-phone .selected-flag,
.bd-checkout--single #bx-soa-properties .bd-field-phone .iti__selected-flag,
.bd-checkout--single #bx-soa-properties .bx-soa-customer-tel-input-container .selected-flag,
.bd-checkout--single #bx-soa-properties .bx-soa-customer-tel-input-container .iti__flag-container,
.bd-checkout--single #bx-soa-properties .bx-soa-customer-tel-input-container .iti__selected-flag,
.bd-checkout--single #bx-soa-properties .bd-field-phone .iti__selected-dial-code,
.bd-checkout--single #bx-soa-properties .bd-field-phone .selected-dial-code,
.bd-checkout--single #bx-soa-properties .bd-field-phone .iti__arrow,
.bd-checkout #bx-soa-properties .iti__flag-container,
.bd-checkout #bx-soa-properties .iti__selected-flag,
.bd-checkout #bx-soa-properties .selected-flag,
.bd-checkout #bx-soa-properties .iti__country-container,
.bd-checkout #bx-soa-properties .iti__flag,
.bd-checkout #bx-soa-properties .iti__arrow,
.bd-checkout #bx-soa-properties .iti__selected-dial-code,
.bd-checkout #bx-soa-properties .selected-dial-code,
.bd-checkout #bd-section-recipient .iti__flag-container,
.bd-checkout #bd-section-recipient .iti__selected-flag,
.bd-checkout #bd-section-recipient .selected-flag,
.bd-checkout .bd-phone-plain .iti__flag-container,
.bd-checkout .bd-phone-plain .iti__selected-flag,
.bd-checkout .bd-phone-plain .selected-flag {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}
.bd-checkout #bx-soa-properties .iti,
.bd-checkout #bx-soa-properties .intl-tel-input,
.bd-checkout #bx-soa-properties .bd-phone-plain {
	width: 100% !important;
}
.bd-checkout #bx-soa-properties .iti input,
.bd-checkout #bx-soa-properties .bd-phone-plain input,
.bd-checkout #bx-soa-properties input[type="tel"] {
	padding-left: 14px !important;
}

/* Индикатор оформления заказа */
.bd-pay-btn.is-saving,
[data-save-button].is-saving {
	opacity: 0.85;
	pointer-events: none;
	cursor: wait;
}
.bd-save-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(255, 255, 255, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
}
.bd-save-overlay[hidden] {
	display: none !important;
}
.bd-save-overlay__box {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 22px 28px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	font-size: 15px;
	font-weight: 600;
	color: #222;
	display: flex;
	align-items: center;
	gap: 12px;
}
.bd-save-overlay__spin {
	width: 22px;
	height: 22px;
	border: 2px solid #f0f0f0;
	border-top-color: #fecb6f;
	border-radius: 50%;
	animation: bd-spin 0.7s linear infinite;
}
@keyframes bd-spin {
	to { transform: rotate(360deg); }
}
.bd-checkout--single #bx-soa-properties .bd-field-phone input,
.bd-checkout--single #bx-soa-properties .bd-field-phone input.form-control,
.bd-checkout--single #bx-soa-properties .bd-field-phone input[type="text"],
.bd-checkout--single #bx-soa-properties .bd-field-phone input[type="tel"],
.bd-checkout--single #bx-soa-properties .bd-field-phone .iti input,
.bd-checkout--single #bx-soa-properties .bd-field-phone .iti .form-control,
.bd-checkout--single #bx-soa-properties .bd-field-phone .bx-soa-customer-tel-input,
.bd-checkout--single #bx-soa-properties .bx-soa-customer-tel-input-container input,
.bd-checkout--single #bx-soa-properties .bx-soa-customer-tel-input,
.bd-checkout--single #bx-soa-properties input[type="tel"],
.bd-checkout--single #bx-soa-properties input[autocomplete="tel"] {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	padding: 0 14px !important;
	border: 1px solid #d8d8d8 !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	line-height: 48px !important;
	letter-spacing: 0 !important;
	background: #fff !important;
	color: #111 !important;
	box-sizing: border-box !important;
	-webkit-text-fill-color: #111 !important;
}
.bd-checkout--single #bx-soa-region .bd-zip-hidden,
.bd-checkout--single #bx-soa-delivery .bd-zip-hidden,
.bd-checkout--single #zipProperty,
.bd-checkout--single [data-property-id-row]:has(#zipProperty),
.bd-checkout--single .bd-zip-debug,
.bd-checkout--single #bx-soa-properties .bd-zip-hidden {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

.bd-checkout--single #bx-soa-properties .bx-soa-custom-label,
.bd-checkout--single #bx-soa-properties label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 400;
	color: #8a8a8a;
	line-height: 1.3;
}
.bd-checkout--single #bx-soa-properties .bx-authform-starrequired,
.bd-checkout--single #bx-soa-properties .bd-req {
	display: none !important;
}
.bd-checkout--single #bx-soa-properties input.form-control,
.bd-checkout--single #bx-soa-properties input[type="text"],
.bd-checkout--single #bx-soa-properties input[type="email"],
.bd-checkout--single #bx-soa-properties .bx-soa-customer-input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #d8d8d8 !important;
	border-radius: 6px !important;
	font-size: 15px;
	background: #fff !important;
	color: #111;
	box-sizing: border-box;
	box-shadow: none;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bd-checkout--single #bx-soa-properties input:focus {
	background: #fff !important;
	border-color: #bdbdbd !important;
	box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.12);
}
.bd-checkout--single #bx-soa-properties input.form-control,
.bd-checkout--single #bx-soa-properties .bx-soa-customer-input,
.bd-checkout--single #bx-soa-properties input[type="text"],
.bd-checkout--single #bx-soa-properties input[type="email"],
.bd-comment-slot textarea {
	pointer-events: auto !important;
	position: relative;
	z-index: 1;
}
.bd-checkout--single #bx-soa-properties input.form-control,
.bd-checkout--single #bx-soa-properties .bx-soa-customer-input,
.bd-checkout--single #bx-soa-properties input[type="text"],
.bd-checkout--single #bx-soa-properties input[type="email"] {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	padding: 0 14px !important;
	border: 1px solid #d8d8d8 !important;
	border-radius: 6px !important;
	font-size: 15px !important;
	line-height: normal !important;
	background: #fff !important;
	color: #111 !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-text-fill-color: #111 !important;
}
.bd-checkout--single #bx-soa-properties input::placeholder,
.bd-checkout--single #bx-soa-properties input::-webkit-input-placeholder {
	color: #9a9a9a !important;
	-webkit-text-fill-color: #9a9a9a !important;
	opacity: 1 !important;
}
.bd-checkout--single #bx-soa-properties input[size] {
	width: 100% !important;
	max-width: 100% !important;
}
.bd-checkout--single #bx-soa-properties input:focus {
	background: #fff !important;
	border-color: #bdbdbd !important;
	box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.12);
}
.bd-checkout--single #bx-soa-properties input::placeholder {
	color: #9a9a9a !important;
	-webkit-text-fill-color: #9a9a9a !important;
	opacity: 1;
}
.bd-checkout--single #bx-soa-properties textarea {
	display: none !important;
}

/* Сайдбар итогов */
.bd-checkout--single .bx-soa-sidebar {
	position: relative;
	align-self: flex-start;
}
.bd-checkout-summary {
	position: static;
	background: #efefef;
	border-radius: 14px;
	padding: 20px 18px 18px;
	overflow: visible;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.bd-checkout--single .bx-soa-cart-total-ghost {
	display: none !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
.bd-checkout--single .bx-soa-cart-total,
.bd-checkout--single .bx-soa-cart-total.bx-soa-cart-total-fixed,
.bd-checkout--single .bx-soa-cart-total.bx-soa-cart-total-bottom {
	position: static !important;
	top: auto !important;
	left: auto !important;
	width: 100% !important;
	opacity: 1 !important;
	transform: none !important;
}
.bd-checkout--single .bx-soa-cart-total-button-container,
.bd-checkout--single .btn-order-save {
	display: none !important;
}
.bd-checkout--single .bx-soa-reg-block,
.bd-checkout--single .bx-title:empty {
	display: none !important;
}
.bd-checkout--single #bx-soa-orderSave {
	display: block !important;
	position: relative;
	z-index: 2;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #d8d8d8;
	clear: both;
}
.bd-checkout--single .bd-pay-btn,
.bd-checkout--single #bx-soa-orderSave .bd-btn--primary {
	margin-top: 0 !important;
	width: 100%;
	min-height: 52px;
	border-radius: 14px !important;
	font-size: 14px !important;
	letter-spacing: 0.06em;
}
.bd-org-field[style*="display: none"] {
	display: none !important;
}

.bd-checkout #bx-soa-total .bx-soa-cart-total {
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	margin: 0 !important;
}
.bd-checkout #bx-soa-total .bx-soa-cart-total-line {
	display: flex !important;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 7px 0 !important;
	margin: 0 !important;
	font-size: 14px;
	color: #444;
	border: none !important;
	overflow: visible !important;
}
.bd-checkout--single .bx-soa-cart-total .bx-soa-cart-t,
.bd-checkout--single .bx-soa-cart-total .bx-soa-cart-d {
	float: none !important;
	width: auto !important;
	text-align: inherit !important;
}
.bd-checkout #bx-soa-total .bx-soa-cart-total-line-total,
.bd-checkout #bx-soa-total .bx-soa-cart-total-line.bx-soa-cart-total-line-highlighted {
	padding-top: 12px !important;
	margin-top: 6px !important;
	border-top: 1px solid #d0d0d0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--bd-text) !important;
}
.bd-checkout #bx-soa-total .bx-soa-cart-total-line-total .bx-soa-cart-t {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--bd-text) !important;
}
.bd-checkout #bx-soa-total .bx-soa-cart-total-line-total .bx-soa-cart-d,
.bd-checkout #bx-soa-total .bx-soa-cart-total-line-highlighted .bx-soa-cart-d {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: var(--bd-link) !important;
	line-height: 1.1;
}

.bd-pay-save {
	margin-top: 0;
}
.bd-pay-consent {
	margin: 0 0 14px;
}
.bd-pay-consent .main-user-consent-request {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	position: relative;
}
.bd-pay-consent label,
.bd-pay-consent .main-user-consent-request-announce,
.bd-pay-consent .main-user-consent-request-label {
	display: block !important;
	flex: 1;
	min-width: 0;
	font-size: 12px !important;
	line-height: 1.45 !important;
	color: #555 !important;
	font-weight: 400 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.bd-pay-consent input[type="checkbox"] {
	position: static !important;
	flex: 0 0 16px;
	width: 16px !important;
	height: 16px !important;
	margin: 2px 0 0 !important;
	accent-color: #4a90e2;
}
.bd-pay-consent a {
	color: var(--bd-link);
	text-decoration: underline;
}

/* ——— Способы оплаты ——— */
.bd-checkout--single #bx-soa-paysystem {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	margin-bottom: 0 !important;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-section-title-container,
.bd-checkout--single #bx-soa-paysystem .bx-soa-section-title-count,
.bd-checkout--single #bx-soa-paysystem .bx-soa-editstep,
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-desc-container,
.bd-checkout--single #bx-soa-paysystem .bx-soa-coupon {
	display: none !important;
}
.bd-checkout--single #bx-soa-paysystem .container-fluid {
	padding: 0 !important;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-section-content {
	padding: 0 !important;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp.row {
	margin: 0;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-item-container {
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 18px 20px !important;
	min-height: 56px;
	border: 1px solid var(--bd-border) !important;
	border-radius: var(--bd-radius) !important;
	background: #fff !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
	position: relative;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company:hover {
	border-color: #d5d5d5 !important;
	background: #fafafa !important;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company.bx-selected {
	border-color: var(--bd-accent-border) !important;
	box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
	background: var(--bd-accent-soft) !important;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company-graf-container {
	width: 22px !important;
	height: 22px !important;
	min-width: 22px;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	position: relative;
	order: -1;
	flex: 0 0 22px;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company-image,
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company-logo,
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company-desc,
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-price {
	display: none !important;
}
.bd-checkout--single #bx-soa-paysystem input.bx-soa-pp-company-checkbox {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company-graf-container::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	border: 2px solid #ccc;
	border-radius: 50%;
	box-sizing: border-box;
	transition: border-color .15s ease, background .15s ease;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company.bx-selected .bx-soa-pp-company-graf-container::before {
	border-color: var(--bd-accent-border);
	background: var(--bd-accent);
	box-shadow: inset 0 0 0 3px #fff;
}
.bd-checkout--single #bx-soa-paysystem .bx-soa-pp-company-smalltitle {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--bd-text) !important;
	line-height: 1.35;
}

#bd-section-payment.bd-checkout-section {
	border-bottom: none !important;
	padding-bottom: 0 !important;
	margin-bottom: 24px !important;
}

/* ——— Gate (legacy) ——— */
.bd-order-gate {
	max-width: 420px;
	margin: 40px auto;
	padding: 24px 16px 48px;
	text-align: center;
}
.bd-order-gate__back {
	display: inline-block;
	margin-bottom: 16px;
	font-size: 14px;
	color: #888;
	text-decoration: none;
}
.bd-order-gate__title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 700;
	text-transform: uppercase;
	color: #2d2a2a;
}
.bd-order-gate__lead {
	margin: 0 0 24px;
	font-size: 15px;
	color: #666;
}
.bd-order-gate__label {
	display: block;
	text-align: left;
	margin: 0 0 8px;
	font-size: 14px;
}
.bd-order-gate__input {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	margin-bottom: 12px;
	border: 1px solid #ddd;
	border-radius: 24px;
	font-size: 16px;
	box-sizing: border-box;
	text-align: left;
}
.bd-order-gate__otp { margin-bottom: 8px; }
.bd-order-gate__error {
	margin: 8px 0;
	color: var(--bd-error);
	font-size: 13px;
}
.bd-order-gate__timer {
	margin: 8px 0;
	font-size: 13px;
	color: var(--bd-muted);
}
.bd-order-gate .bd-btn--primary {
	border-radius: 24px;
	background: #fecb6f !important;
	border-color: #fecb6f !important;
	color: #333 !important;
}
.bd-order-gate__skip { display: none !important; }
.bd-order-gate__hint {
	margin-top: 16px;
	font-size: 13px;
	color: #888;
}
.bd-order-gate__hint a { color: #c0392b; }

/* ——— Steps ——— */
.bd-steps {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: nowrap;
	gap: 0;
	margin: 8px 0 36px;
	padding: 0 8px;
}
.bd-steps__item {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	border: none;
	background: transparent !important;
	cursor: pointer;
	padding: 4px 6px;
	color: #999;
	box-shadow: none !important;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	max-width: 160px;
}
/* Линия между шагами */
.bd-steps__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 22px;
	left: calc(50% + 22px);
	right: calc(-50% + 22px);
	height: 2px;
	background: #e0e0e0;
	pointer-events: none;
	z-index: 0;
}
.bd-steps__item.is-done:not(:last-child)::after {
	background: var(--bd-step);
}
.bd-steps__item:hover,
.bd-steps__item:focus,
.bd-steps__item:focus-visible {
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
}
.bd-steps__item:hover span {
	background: #dcdcdc;
	color: #444;
}
.bd-steps__item:hover em {
	color: #555;
}
.bd-steps__item span {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e8e8e8;
	color: #666;
	font-weight: 700;
	transition: background .15s ease, color .15s ease;
}
.bd-steps__item em {
	font-style: normal;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.bd-steps__item.is-active span,
.bd-steps__item.is-done span {
	background: var(--bd-step);
	color: #fff;
}
.bd-steps__item.is-active:hover span,
.bd-steps__item.is-done:hover span {
	background: var(--bd-step);
	color: #fff;
}
.bd-steps__item.is-active { color: var(--bd-step); }

.bd-step-panel { display: none; }
.bd-step-panel.is-active { display: block; }

/* Отступы секций Bitrix внутри нашего макета */
.bd-checkout--single .bx-soa-section {
	margin-bottom: 0 !important;
}
.bd-checkout--single .bx-soa-section-title-container {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
.bd-checkout--single #bx-soa-basket .bx-soa-section-content,
.bd-checkout--single #bx-soa-properties .bx-soa-section-content,
.bd-checkout--single #bx-soa-delivery .bx-soa-section-content,
.bd-checkout--single #bx-soa-region .bx-soa-section-content,
.bd-checkout--single #bx-soa-paysystem .bx-soa-section-content {
	padding: 0 !important;
}
.bd-checkout--single #bx-soa-region .container-fluid,
.bd-checkout--single #bx-soa-delivery .container-fluid,
.bd-checkout--single #bx-soa-basket .container-fluid {
	padding: 0 !important;
}
.bd-checkout .bx-soa-section-title-container {
	margin-bottom: 18px !important;
	padding-bottom: 4px !important;
}
.bd-checkout .bx-soa-section-title {
	margin-bottom: 0 !important;
	line-height: 1.3;
}
.bd-checkout .bx-soa-section {
	margin-bottom: 28px;
}
.bd-checkout #bx-soa-properties .bx-soa-section-content,
.bd-checkout #bx-soa-delivery .bx-soa-section-content,
.bd-checkout #bx-soa-basket .bx-soa-section-content,
.bd-checkout #bx-soa-region .bx-soa-section-content,
.bd-checkout #bx-soa-paysystem .bx-soa-section-content {
	padding-top: 8px;
}

.bd-optional {
	font-weight: 400;
	color: var(--bd-muted);
	font-size: 0.92em;
}
.bd-field-hint {
	margin-top: 6px;
	font-size: 12px;
	color: var(--bd-muted);
	line-height: 1.35;
}

.bd-step-error {
	margin: 12px 0 0;
	padding: 10px 12px;
	background: #fff0f0;
	border: 1px solid #f5c2c2;
	border-radius: 6px;
	color: var(--bd-error);
	font-size: 13px;
}

#bx-soa-delivery.bd-delivery-need-city .bx-soa-pp-item-container,
#bx-soa-delivery.bd-delivery-need-city > .bx-soa-section-content > #bd-delivery-tabs,
#bx-soa-delivery.bd-delivery-need-city .bd-deliv-list,
#bx-soa-delivery.bd-delivery-need-city .bx-soa-pp.row {
	display: none !important;
}

/* v3 UI: табы/список внутри #bd-delivery-root не скрываем CSS-гейтом */
#bx-soa-delivery #bd-delivery-root {
	display: block !important;
	visibility: visible !important;
}
#bx-soa-delivery #bd-delivery-root #bd-delivery-tabs {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}
#bx-soa-delivery #bd-delivery-root #bd-delivery-tabs .bd-delivery-tabs__btn {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}
#bx-soa-delivery #bd-delivery-root .bd-deliv-v3-list {
	display: block !important;
}

.bd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
}
.bd-btn--primary {
	background: #fecb6f !important;
	border-color: #fecb6f !important;
	color: #333 !important;
	width: 100%;
	margin-top: 16px;
}
.bd-btn--outline {
	background: #fff;
	border-color: #fecb6f;
	color: #111;
}
.bd-btn--ghost {
	background: transparent;
	border-color: var(--bd-border);
	color: #333;
}
.bd-btn:disabled { opacity: .55; cursor: not-allowed; }

.bd-link-edit-cart {
	display: inline-block;
	margin: var(--bd-field-gap) 0 0;
	color: var(--bd-link);
	font-size: 14px;
}

.bd-step-nav {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}
.bd-step-nav .bd-btn--primary { margin-top: 0; flex: 1; }
.bd-step-nav .bd-btn--ghost { flex: 0 0 auto; min-width: 120px; }

.bd-auth-contacts-note {
	margin: var(--bd-block-gap) 0 0;
	padding: 12px 14px;
	background: #f7f7f7;
	border-radius: 6px;
	font-size: 14px;
	color: #555;
	line-height: 1.45;
}
.bd-link-edit-profile {
	display: inline-block;
	margin-left: 6px;
	color: var(--bd-link);
	font-weight: 600;
	text-decoration: underline;
}
.bd-checkout .bd-input-locked,
.bd-checkout input.bd-input-locked,
.bd-checkout textarea.bd-input-locked {
	background: #ececec !important;
	color: #111 !important;
	cursor: text !important;
}

/* Скрыть лишние кнопки Bitrix «Оформить / Назад / Далее» */
.bd-checkout .bx-soa-more,
.bd-checkout .bx-soa-editstep,
.bd-checkout .bx-soa-cart-total-button-container,
.bd-checkout .btn-order-save {
	display: none !important;
}

/* ——— Delivery tabs (макет: В пункт выдачи / Курьером) ——— */
.bd-delivery-tabs {
	display: flex;
	gap: 0;
	margin: 0 0 16px;
	padding: 4px;
	background: #f0f0f0;
	border-radius: 10px;
	position: relative;
	z-index: 2;
}
.bd-delivery-tabs__btn {
	flex: 1;
	min-height: 42px;
	padding: 10px 12px;
	border: none;
	border-radius: 8px;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	color: #888;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.bd-delivery-tabs__btn:hover {
	color: #444;
}
.bd-delivery-tabs__btn.is-active {
	background: #fff;
	color: #222;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* ——— BdDelivery v3 (.default3) ——— */
.bd-delivery-root {
	margin: 0 0 8px;
}

/* Почта России — окно карты крупнее, поиск НЕ скрываем */
#popup-message.popup-window,
#popup-message {
	max-width: min(1100px, 96vw) !important;
	width: min(1100px, 96vw) !important;
	max-height: 92vh !important;
}
#popup-message .popup-window-content {
	max-height: calc(92vh - 110px) !important;
	overflow: auto !important;
}
#popup-message #ecom-widget,
#ecom-widget {
	position: relative !important;
	overflow: visible !important;
	min-height: 560px !important;
	height: min(70vh, 720px) !important;
}
#ecom-widget.bd-pochta-hide-search {
	overflow: visible !important;
}
#ecom-widget > #mapIframe,
#ecom-widget > iframe,
#popup-message #mapIframe,
#mapIframe {
	margin-top: 0 !important;
	height: 100% !important;
	min-height: 520px !important;
	width: 100% !important;
	border: 0 !important;
	display: block !important;
	pointer-events: auto !important;
	position: relative !important;
	z-index: 1 !important;
	clip-path: none !important;
}
#bd-pochta-search-mask,
#bd-pochta-search-cover,
#bd-pochta-search-bar,
div#bd-pochta-search-form-cover,
#bd-pochta-search-form-cover {
	display: none !important;
	pointer-events: none !important;
	height: 0 !important;
	width: 0 !important;
	opacity: 0 !important;
}
#popup-message #ecom-widget iframe,
#ecom-widget iframe,
#mapIframe {
	pointer-events: auto !important;
}

/* Табы доставки — всегда оба, только CSS (JS не удаляет) */
#bx-soa-delivery #bd-delivery-root,
#bx-soa-delivery #bd-delivery-root #bd-delivery-tabs {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}
#bx-soa-delivery #bd-delivery-root #bd-delivery-tabs {
	display: flex !important;
}
#bx-soa-delivery #bd-delivery-root #bd-delivery-tabs .bd-delivery-tabs__btn,
#bx-soa-delivery #bd-delivery-root #bd-delivery-tabs [data-bd-tab="pickup"],
#bx-soa-delivery #bd-delivery-root #bd-delivery-tabs [data-bd-tab="courier"] {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}
#bx-soa-delivery.bd-delivery-need-city #bd-delivery-root #bd-delivery-tabs {
	display: flex !important;
}
#bx-soa-delivery.bd-delivery-need-city #bd-delivery-root .bd-deliv-v3-panel {
	display: none !important;
}

/* Почта России — поиск в попапе НЕ скрываем (раньше display:none ломал виджет) */
#popup-message form#search-form,
#ecom-widget form#search-form,
#popup-message #search-form,
#ecom-widget #search-form {
	display: block !important;
	visibility: visible !important;
	height: auto !important;
	overflow: visible !important;
}
button#filters-button,
#filters-button,
#popup-message button#filters-button,
#ecom-widget button#filters-button,
#popup-message #filters-button,
#ecom-widget #filters-button {
	background: #fff !important;
}

/* Яндекс.Доставка — скрыть поиск на карте (не трогаем Почту в #ecom-widget / iframe) */
.bd-pvz__widget .search-control,
.bd-pvz__widget #search-form,
.bd-pvz__widget form#search-form,
.bd-pvz__widget [class*="searchbox"],
.bd-deliv-expand .search-control,
.bd-deliv-expand #search-form,
.bd-deliv-expand form#search-form,
.bd-deliv-expand [class*="searchbox"],
.bd-deliv-v3-panel .search-control,
.bd-deliv-v3-panel #search-form,
.bd-deliv-v3-panel [class*="searchbox"],
.bd-checkout [class*="ymaps"][class*="searchbox"],
.bd-checkout [class*="searchbox"],
.bd-checkout .search-control.paper,
body:not(.popup-window) > ymaps .search-control,
[class*="ymaps"][class*="searchbox"],
[class*="ymaps-"][class*="searchbox"],
.ymaps-2-1-79-controls__toolbar .search-control,
.ymaps-2-1-79-controls__control .search-control {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}
/* Почта: search-control оставляем видимым */
#popup-message .search-control,
#ecom-widget .search-control {
	display: block !important;
	visibility: visible !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}
#popup-message form#search-form,
#ecom-widget form#search-form {
	display: block !important;
	visibility: visible !important;
}
.bd-deliv-v3-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 12px;
}
.bd-deliv-v3-before,
.bd-deliv-v3-after {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bd-deliv-v3-before:empty,
.bd-deliv-v3-after:empty {
	display: none;
}
.bd-deliv-v3-list > .bd-deliv-v3-panel,
.bd-deliv-v3-panel--under-card {
	margin-top: 0;
	margin-bottom: 0;
}
.bd-deliv-v3-card {
	display: grid;
	grid-template-columns: 48px 1fr auto auto;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	margin-bottom: 5px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bd-deliv-v3-card:hover {
	border-color: #c8c8c8;
}
.bd-deliv-v3-card.is-selected {
	border-color: #f5a623;
	box-shadow: 0 0 0 1px #f5a623;
}
.bd-deliv-v3-card__logo {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	background: #f7f7f7 center / contain no-repeat;
	border: 1px solid #eee;
	flex-shrink: 0;
}
.bd-deliv-v3-card__logo--empty {
	background-color: #f0f0f0;
	background-image: none;
}
.bd-deliv-v3-card__name {
	font-size: 15px;
	font-weight: 600;
	color: #222;
	line-height: 1.3;
}
.bd-deliv-v3-card__type {
	margin-top: 2px;
	font-size: 12px;
	color: #888;
}
.bd-deliv-v3-card__meta {
	text-align: right;
	font-size: 13px;
	color: #444;
	white-space: nowrap;
}
.bd-deliv-v3-card__price {
	font-weight: 600;
}
.bd-deliv-v3-card__period {
	margin-top: 2px;
	color: #888;
	font-size: 12px;
}
.bd-deliv-v3-card__action {
	min-width: 72px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #5c4033;
}
.bd-deliv-v3-card.is-selected .bd-deliv-v3-card__action {
	color: #f5a623;
}
.bd-deliv-v3-panel {
	margin-top: 14px;
}
.bd-deliv-v3-panel--loading {
	min-height: 72px;
	position: relative;
}
.bd-deliv-v3-panel__loading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fafafa;
	color: #666;
	font-size: 14px;
	line-height: 1.4;
	pointer-events: none;
	user-select: none;
}
.bd-deliv-v3-panel--loading .bd-deliv-v3-panel__loading .bd-deliv-loader__spin {
	width: 22px;
	height: 22px;
	border: 2px solid #ddd;
	border-top-color: #e85a4f;
	border-radius: 50%;
	animation: bd-spin 0.7s linear infinite;
	flex: 0 0 auto;
}
.bd-checkout #bx-soa-delivery.bd-deliv-await .bd-deliv-v3-card {
	pointer-events: none;
	opacity: 0.72;
}
.bd-checkout #bx-soa-delivery.bd-deliv-await .bd-deliv-v3-card.is-selected {
	opacity: 1;
	pointer-events: auto;
}
.bd-deliv-v3-panel-slot {
	display: none;
}
.bd-deliv-v3-panel-slot > .bd-deliv-v3-panel,
.bd-deliv-v3-list .bd-deliv-v3-panel--under-card {
	margin-top: 0;
	margin-bottom: 0;
}
.bd-deliv-v3-panel .bd-deliv-expand {
	margin-top: 0;
	margin-bottom: 8px;
	padding: 16px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fafafa;
}
.bd-delivery-empty {
	margin: 0;
	padding: 12px;
	color: #888;
	font-size: 14px;
}
.bd-soa-delivery-native {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
@media (max-width: 640px) {
	.bd-deliv-v3-card {
		grid-template-columns: 48px 1fr;
		gap: 8px 12px;
	}
	.bd-deliv-v3-card__meta,
	.bd-deliv-v3-card__action {
		grid-column: 2;
		text-align: left;
	}
}
.bd-delivery-tabs__btn.is-active {
	background: #fff;
	color: #111;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.bd-deliv-list {
	border: 1px solid var(--bd-border);
	border-radius: 10px;
	overflow: visible;
	background: #fff;
	width: 100%;
	position: relative;
}

/* ——— Анти-FOUC: сразу list-layout, без мигания карточек Bitrix ——— */
.bd-checkout #bx-soa-delivery .bx-soa-pp.row,
.bd-checkout #bx-soa-delivery .bd-deliv-pp-row {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-item-container {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
	float: none !important;
	padding: 0 !important;
	min-height: 64px;
	position: relative;
}
/* Сырые карточки Bitrix (без .bd-deliv-row) не показываем — иначе мелькает «Доставка» */
.bd-checkout #bx-soa-delivery .bx-soa-pp-company:not(.bd-deliv-row) {
	display: none !important;
}
.bd-checkout #bx-soa-delivery .bd-deliv-skeleton {
	display: none;
	margin: 0 0 12px;
	padding: 14px 16px;
	border: 1px solid var(--bd-border);
	border-radius: 10px;
	background: #fafafa;
	color: var(--bd-muted);
	font-size: 14px;
	line-height: 1.4;
	align-items: center;
	gap: 12px;
}
.bd-checkout #bx-soa-delivery.bd-deliv-await .bd-deliv-skeleton {
	display: flex;
}
.bd-checkout #bx-soa-delivery .bd-deliv-loader__spin {
	width: 22px;
	height: 22px;
	border: 2px solid #ddd;
	border-top-color: #e85a4f;
	border-radius: 50%;
	animation: bd-spin 0.7s linear infinite;
	flex: 0 0 auto;
}
@keyframes bd-spin {
	to { transform: rotate(360deg); }
}
.bd-checkout #bx-soa-delivery.bd-deliv-await .bd-deliv-list:not(:has(.bd-deliv-row)) {
	min-height: 0;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-desc-container {
	display: none !important;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-desc-container.bd-deliv-desc-in-expand {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
}
/* Родная кнопка Яндекс/Boxberry после Почты не должна оставаться display:none */
.bd-checkout #bx-soa-delivery .bd-deliv-desc-in-expand #boxberrySelectPvzWidget,
.bd-checkout #bx-soa-delivery .bd-deliv-desc-in-expand #BoxberrySelectPvzWidget,
.bd-checkout #bx-soa-delivery .bd-pvz__widget #boxberrySelectPvzWidget,
.bd-checkout #bx-soa-delivery .bd-pvz__widget #BoxberrySelectPvzWidget {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}
/* Единый розовый стиль кнопки ПВЗ Яндекс */
.bd-checkout #bx-soa-delivery .bd-deliv-desc-in-expand #boxberrySelectPvzWidget a,
.bd-checkout #bx-soa-delivery .bd-deliv-desc-in-expand #BoxberrySelectPvzWidget a,
.bd-checkout #bx-soa-delivery .bd-pvz__widget a.bxbbutton,
.bd-checkout #bx-soa-delivery .bd-pvz__widget a.bxbButton,
.bd-checkout #bx-soa-delivery .bd-pvz__widget a[onclick*="boxberry.open"],
.bd-checkout #bx-soa-delivery .bd-pvz__widget .bd-ya-open-pvz,
.bd-checkout #bx-soa-delivery .bd-deliv-desc-ya-fallback .bd-ya-open-pvz {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	gap: 10px !important;
	min-height: 48px !important;
	padding: 12px 24px !important;
	margin: 8px 0 4px !important;
	border: none !important;
	border-radius: 8px !important;
	background: #FF1B4C !important;
	background-image: none !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 1.25 !important;
	letter-spacing: 0.01em !important;
	text-decoration: none !important;
	text-transform: none !important;
	box-shadow: 0 1px 2px rgba(255, 27, 76, 0.25) !important;
	cursor: pointer !important;
	white-space: normal !important;
	transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
}
.bd-checkout #bx-soa-delivery .bd-pvz__widget a.bxbbutton:hover,
.bd-checkout #bx-soa-delivery .bd-pvz__widget a.bxbButton:hover,
.bd-checkout #bx-soa-delivery .bd-pvz__widget .bd-ya-open-pvz:hover,
.bd-checkout #bx-soa-delivery .bd-deliv-desc-ya-fallback .bd-ya-open-pvz:hover,
.bd-checkout #bx-soa-delivery .bd-pvz__widget a[onclick*="boxberry.open"]:hover {
	background: #e01540 !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: 0 2px 6px rgba(224, 21, 64, 0.35) !important;
	filter: none !important;
}
.bd-checkout #bx-soa-delivery .bd-pvz__widget a.bxbbutton:active,
.bd-checkout #bx-soa-delivery .bd-pvz__widget .bd-ya-open-pvz:active {
	background: #c41238 !important;
	box-shadow: none !important;
}
.bd-checkout #bx-soa-delivery .bd-pvz__widget .bd-ya-open-pvz.is-loading {
	opacity: .72 !important;
	pointer-events: none !important;
}
.bd-checkout #bx-soa-delivery .bd-pvz__widget a.bxbbutton span,
.bd-checkout #bx-soa-delivery .bd-pvz__widget .bd-ya-open-pvz span {
	color: #fff !important;
}
.bd-checkout #bx-soa-delivery .bd-pvz__widget .bd-ya-open-pvz::before,
.bd-checkout #bx-soa-delivery .bd-deliv-desc-ya-fallback .bd-ya-open-pvz::before {
	content: '' !important;
	display: inline-block !important;
	width: 14px !important;
	height: 18px !important;
	flex-shrink: 0 !important;
	background: center / contain no-repeat
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") !important;
}
/* Почта России — синяя кнопка */
.bd-checkout #bx-soa-delivery .bd-pvz__widget #russianpost_btn_openmap,
.bd-checkout #bx-soa-delivery .bd-pvz__widget .bd-deliv-desc-pochta-fallback button.btn,
.bd-checkout #bx-soa-delivery .bd-pvz__widget .bd-deliv-desc-pochta-fallback a.btn,
.bd-checkout #bx-soa-delivery .bd-pvz__widget button[onclick*="openMap"],
.bd-checkout #bx-soa-delivery .bd-pvz__widget a[onclick*="openMap"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	min-height: 48px !important;
	padding: 12px 24px !important;
	margin: 8px 0 4px !important;
	border: none !important;
	border-radius: 8px !important;
	background: #0055A6 !important;
	background-image: none !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.bd-checkout #bx-soa-delivery .bd-pvz__widget #russianpost_btn_openmap:hover,
.bd-checkout #bx-soa-delivery .bd-pvz__widget button[onclick*="openMap"]:hover {
	background: #00448a !important;
	color: #fff !important;
}
/* Native Boxberry в панели не показываем — только стабильный .bd-ya-open-pvz */
.bd-checkout #bx-soa-delivery .bd-pvz__widget #boxberrySelectPvzWidget,
.bd-checkout #bx-soa-delivery .bd-pvz__widget #BoxberrySelectPvzWidget {
	display: none !important;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-item-container > .bx-soa-pp-company,
.bd-checkout #bx-soa-delivery .bd-deliv-list > .bx-soa-pp-company {
	position: relative;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: none !important;
	border-bottom: 1px solid var(--bd-border) !important;
	border-radius: 0 !important;
	background: #fff !important;
	cursor: pointer;
	display: grid !important;
	grid-template-columns: 48px minmax(0, 1fr) auto auto;
	grid-template-areas:
		"logo meta info action"
		"expand expand expand expand";
	align-items: center;
	gap: 4px 14px;
	box-sizing: border-box;
	outline: none;
	box-shadow: none;
	/* visible: иначе клики по контролам карты и подсказки адреса «мертвые» */
	overflow: visible;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-item-container > .bx-soa-pp-company.is-tab-hidden,
.bd-checkout #bx-soa-delivery .bd-deliv-list > .bx-soa-pp-company.is-tab-hidden {
	display: none !important;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-item-container > .bx-soa-pp-company:last-child,
.bd-checkout #bx-soa-delivery .bd-deliv-list > .bx-soa-pp-company:last-child {
	border-bottom: none !important;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-item-container > .bx-soa-pp-company.bx-selected,
.bd-checkout #bx-soa-delivery .bd-deliv-list > .bx-soa-pp-company.bx-selected {
	background: #fffef9 !important;
	border: 1.5px solid var(--bd-accent-border) !important;
	border-radius: 10px !important;
	margin: 6px 0 !important;
	width: 100% !important;
	box-shadow: none;
	z-index: 2;
	overflow: visible !important;
}
/* Убрать лишние линии сверху/снизу внутри раскрытого блока */
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand {
	border-top: 1px solid #f0f0f0;
	margin-top: 10px;
	padding-top: 14px;
	min-width: 0;
	max-width: 100%;
	overflow: visible;
	box-sizing: border-box;
}
/* Не вешать max-width на ВСЕ потомки — ломает тайлы Яндекс.Карт (серая сетка) */
.bd-checkout #bx-soa-delivery .bx-selected .bd-pvz,
.bd-checkout #bx-soa-delivery .bx-selected .bd-pvz__widget {
	max-width: 100%;
	box-sizing: border-box;
}
/* Только наши контролы формы — НЕ трогать button/a внутри ymaps (зум и т.п.) */
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-deliv-addr-form__input,
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-pvz__search-input,
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-pvz__item,
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-btn,
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-deliv-picked__change,
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-deliv-addr-form__find,
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-deliv-addr-form__apply,
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-suggest__item {
	max-width: 100% !important;
	box-sizing: border-box !important;
}
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map {
	position: relative;
	z-index: 1;
	width: 100% !important;
	height: 280px !important;
	min-height: 280px !important;
	margin-top: 4px;
	border-radius: 8px;
	border: 1px solid var(--bd-border);
	overflow: hidden;
	background: #eef1f4;
	box-sizing: border-box;
	pointer-events: auto !important;
}
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map ymaps,
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map [class*="ymaps"] {
	pointer-events: auto !important;
}
/* Только max-width: НЕ задавать width/height auto — ломает тайлы ymaps */
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map img,
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map canvas,
.bd-deliv-addr-form__map img,
.bd-deliv-addr-form__map canvas,
[data-bd-courier-map] img,
[data-bd-courier-map] canvas,
ymaps img {
	max-width: none !important;
	max-height: none !important;
}
/* Тема (Woodmart) часто ставит img{height:auto} — перебить для тайлов */
.bd-deliv-addr-form__map .ymaps-2-1-79-ground-pane img,
.bd-deliv-addr-form__map ymaps[class*="ground-pane"] img,
[data-bd-courier-map] .ymaps-2-1-79-ground-pane img,
[data-bd-courier-map] ymaps[class*="ground-pane"] img {
	max-width: none !important;
	max-height: none !important;
	height: initial !important;
}
/* Скрыть только панель контролов (не *=controls / *=zoom — ломает map_with-controls и тайлы) */
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map .ymaps-2-1-79-controls-pane,
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map .ymaps-2-1-79-float-button,
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map .ymaps-2-1-79-gotoymaps,
.bd-deliv-addr-form__map .ymaps-2-1-79-controls-pane,
.bd-deliv-addr-form__map .ymaps-2-1-79-float-button,
.bd-deliv-addr-form__map .ymaps-2-1-79-gotoymaps {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__map > ymaps {
	width: 100% !important;
	height: 100% !important;
	min-height: 280px !important;
}
.bd-checkout #bx-soa-delivery .bx-selected + .bx-soa-pp-company {
	border-top: none !important;
}
.bd-checkout #bx-soa-delivery .bd-deliv-expand .bx-soa-pp-company {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	cursor: default;
	box-shadow: none !important;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-company .bx-soa-pp-company-graf-container {
	grid-area: logo;
	width: 48px;
	height: 36px;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	position: relative;
	align-self: center;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-company .bx-soa-pp-company-image {
	width: 48px !important;
	height: 36px !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-company .bx-soa-pp-company-checkbox {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
.bd-checkout #bx-soa-delivery .bx-soa-pp-company .bx-soa-pp-delivery-cost,
.bd-checkout #bx-soa-delivery .bx-soa-pp-company .bx-soa-pp-company-smalltitle {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

.bd-deliv-meta { grid-area: meta; min-width: 0; align-self: center; text-align: left; }
.bd-deliv-meta__name {
	font-size: 15px;
	font-weight: 700;
	color: var(--bd-text);
	line-height: 1.25;
	text-align: left;
}
.bd-deliv-meta__type {
	margin-top: 2px;
	font-size: 12px;
	color: var(--bd-muted);
	line-height: 1.3;
}

.bd-deliv-info {
	grid-area: info;
	text-align: right;
	white-space: nowrap;
	align-self: center;
	line-height: 1.3;
}
.bd-deliv-info__price {
	font-size: 14px;
	font-weight: 700;
	color: var(--bd-text);
}
.bd-deliv-info__period {
	margin-top: 2px;
	font-size: 12px;
	color: var(--bd-muted);
}

.bd-deliv-action {
	grid-area: action;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	justify-content: flex-end;
	align-self: center;
}
.bd-deliv-action__pick {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid transparent;
	background: transparent;
	color: var(--bd-link);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 7px 12px;
	white-space: nowrap;
	line-height: 1.2;
	border-radius: 6px;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
	text-decoration: none !important;
}
.bd-deliv-action__pick:hover {
	background: #fff5f3;
	border-color: #f0d0cb;
	color: #a93226;
	text-decoration: none !important;
}
.bd-deliv-action__pick:active {
	background: #fdeae6;
}
.bx-selected .bd-deliv-action__pick {
	color: var(--bd-accent-border);
}
.bx-selected .bd-deliv-action__pick:hover {
	background: #fff8ec;
	border-color: #f5d9a8;
	color: #c47f0a;
}
.bd-deliv-action__chev {
	font-size: 12px;
	line-height: 1;
	transform: translateY(-1px);
}

/* Раскрытая панель */
.bd-deliv-expand {
	grid-area: expand;
	margin-top: 4px;
	padding-top: 14px;
	border-top: 1px solid #f0f0f0;
}

.bd-deliv-picked {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	background: var(--bd-ok-bg);
	border-radius: 8px;
}
.bd-deliv-picked__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bd-ok);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.bd-deliv-picked__body { flex: 1; min-width: 0; }
.bd-deliv-picked__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
	gap: 12px 20px;
	align-items: start;
}
.bd-deliv-picked__label {
	font-size: 13px;
	font-weight: 700;
	color: var(--bd-text);
	margin-bottom: 6px;
}
.bd-deliv-picked__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--bd-text);
	line-height: 1.35;
}
.bd-deliv-picked__sub {
	margin-top: 2px;
	font-size: 13px;
	color: #555;
}
.bd-deliv-picked__sched {
	font-size: 13px;
	color: #555;
	line-height: 1.45;
}
.bd-deliv-picked__dist {
	font-size: 13px;
	color: var(--bd-muted);
	white-space: nowrap;
	padding-top: 22px;
}
.bd-deliv-picked__change {
	flex: 0 0 auto;
	border: none;
	background: transparent;
	color: var(--bd-link);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	padding: 0;
	margin-left: auto;
	align-self: center;
}
.bd-deliv-picked__change:hover { text-decoration: underline; }
.bd-deliv-picked--addr {
	align-items: center;
}
.bd-deliv-picked__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	flex: 1;
}

.bd-deliv-addr-form {
	display: grid;
	gap: 12px;
}
.bd-deliv-addr-form__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bd-text);
}
.bd-deliv-addr-form__row { position: relative; z-index: 1; }
.bd-deliv-addr-form__input-wrap {
	position: relative;
	z-index: 6;
	display: block !important;
	min-height: 44px;
	pointer-events: auto !important;
}
.bd-deliv-addr-form__input {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	height: 44px !important;
	min-height: 44px !important;
	padding: 0 14px;
	border: 1px solid var(--bd-border) !important;
	border-radius: 8px;
	font-size: 15px;
	line-height: 44px;
	box-sizing: border-box;
	background: #fff !important;
	color: var(--bd-text) !important;
	position: relative;
	z-index: 2;
	pointer-events: auto !important;
	cursor: text !important;
	user-select: text !important;
	-webkit-user-select: text !important;
}
.bd-deliv-addr-form__input[data-bd-addr-street] {
	/* Явно держим поле адреса видимым (тема/ymaps иногда схлопывают input) */
	max-width: none !important;
}
.bd-deliv-addr-form__input--flat {
	padding-right: 14px;
	max-width: 220px;
	line-height: normal;
}
.bd-deliv-addr-form__find {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 5;
	margin-top: 10px;
	margin-right: 8px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: #e85a4f;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	pointer-events: auto !important;
}
.bd-deliv-addr-form__find:hover {
	filter: brightness(0.96);
}
.bd-deliv-addr-form__apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: #222;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.bd-deliv-addr-form__apply:hover {
	background: #444;
	color: #fff;
	filter: none;
}
.bd-checkout #bx-soa-delivery .bd-deliv-addr-form__apply:hover,
.bd-checkout #bx-soa-delivery .bx-selected .bd-deliv-expand .bd-deliv-addr-form__apply:hover {
	background: #444 !important;
	color: #fff !important;
	filter: none !important;
}
.bd-deliv-addr-form__search-ico {
	display: none;
}
.bd-deliv-addr-form__map-block,
.bd-deliv-addr-form__map-search,
.bd-deliv-addr-form__map-hint,
.bd-deliv-addr-form__map-q,
.bd-deliv-addr-form__map-find,
.bd-deliv-addr-form__map-suggest {
	display: none !important;
}
.bd-deliv-addr-form__map {
	position: relative;
	z-index: 1;
	width: 100% !important;
	height: 320px !important;
	min-height: 320px !important;
	margin-top: 4px;
	border-radius: 8px;
	border: 1px solid var(--bd-border);
	overflow: hidden;
	background: #eef1f4;
	box-sizing: border-box;
	pointer-events: auto !important;
}
.bd-deliv-addr-form__hint {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.35;
	color: #666;
	min-height: 1.2em;
}
.bd-deliv-addr-form__hint.is-err {
	color: #b42318;
}
.bd-deliv-addr-form__hint[hidden] {
	display: none !important;
}
.bd-deliv-addr-form__map-block {
	display: grid;
	gap: 8px;
}
.bd-deliv-addr-form__map-search {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	align-items: start;
}
.bd-deliv-addr-form__map-q {
	margin: 0 !important;
}
.bd-deliv-addr-form__map-find {
	height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: #f5c518;
	color: #222;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.bd-deliv-addr-form__map-find:hover {
	filter: brightness(0.97);
}
.bd-deliv-addr-form__map-suggest {
	grid-column: 1 / -1;
	position: absolute;
	left: 0;
	right: 0;
	top: 48px;
	z-index: 8;
}
.bd-deliv-addr-form__input.is-addr-ok {
	border-color: #7bbf8a !important;
}
.bd-deliv-addr-form__input.is-addr-bad {
	border-color: #e07474 !important;
}
.bd-deliv-addr-form__hint {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.35;
	color: #d32f2f;
}
.bd-deliv-addr-form__hint[hidden] {
	display: none !important;
}
.bd-pvz__hint {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--bd-muted);
}
.bd-deliv-addr-form__map-hint {
	margin: 4px 0 8px;
	font-size: 12px;
	color: var(--bd-muted);
	line-height: 1.35;
}
.bd-deliv-addr-form__map-err {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 16px;
	font-size: 13px;
	color: var(--bd-error);
	text-align: center;
	box-sizing: border-box;
}
.bd-deliv-addr-form__save {
	display: none;
}

/* ПВЗ picker — макет: поиск + карта | список */
.bd-pvz { margin-top: 2px; max-width: 100%; overflow: hidden; box-sizing: border-box; }
.bd-pvz__title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--bd-text);
}
.bd-pvz__search {
	position: relative;
	margin-bottom: 12px;
	max-width: 100%;
	box-sizing: border-box;
}
.bd-pvz__search-input {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: 44px;
	padding: 0 42px 0 14px !important;
	border: 1px solid var(--bd-border) !important;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box !important;
	background: #fff;
	margin: 0 !important;
}
.bd-pvz__search-ico {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bd-pvz__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 12px;
	min-height: 280px;
}
.bd-pvz__map {
	min-height: 280px;
	height: 100%;
	border: 1px solid var(--bd-border);
	border-radius: 8px;
	overflow: hidden;
	background: #eef1f4;
}
.bd-pvz__map #pickUpMap,
.bd-pvz__map .bx-yandex-map,
.bd-pvz__map > div {
	width: 100% !important;
	height: 100% !important;
	min-height: 280px;
}
.bd-pvz__list {
	max-height: 360px;
	overflow: auto;
	border: 1px solid var(--bd-border);
	border-radius: 8px;
	background: #fff;
}
.bd-pvz__item {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	align-items: start;
	gap: 10px;
	width: 100%;
	padding: 12px 14px;
	border: none;
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
	text-align: left;
	cursor: pointer;
}
.bd-pvz__item:last-child { border-bottom: none; }
.bd-pvz__item:hover { background: #fafafa; }
.bd-pvz__item-pin {
	width: 14px;
	height: 14px;
	margin-top: 3px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: #2e9e5b;
}
.bd-pvz__item-addr {
	font-size: 14px;
	font-weight: 700;
	color: var(--bd-text);
	line-height: 1.35;
}
.bd-pvz__item-title,
.bd-pvz__item-schedule {
	margin-top: 2px;
	font-size: 12px;
	color: var(--bd-muted);
	line-height: 1.4;
}
.bd-pvz__item-dist {
	font-size: 12px;
	color: var(--bd-muted);
	white-space: nowrap;
	padding-top: 2px;
}
.bd-pvz__item-pick { display: none; }
.bd-pvz__empty {
	margin: 0;
	padding: 16px;
	font-size: 13px;
	color: var(--bd-muted);
}
.bd-pvz__widget {
	margin-top: 4px;
	margin-bottom: 10px;
	max-width: 100%;
	overflow: visible;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}
.bd-pvz__widget .bx-soa-pp-desc-container {
	display: block !important;
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
}
.bd-pvz__widget .bx-soa-pp-company-desc {
	display: block !important;
	margin: 8px 0 0 !important;
	max-width: 100%;
}
.bd-pvz__widget input[type="text"],
.bd-pvz__widget input[type="search"],
.bd-pvz__widget .form-control {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}
.bd-pvz__widget .bx-soa-pp-company-subTitle2,
.bd-pvz__widget .bx-soa-pp-company-subTitle,
.bd-pvz__widget .bx-soa-pp-company-logo,
.bd-pvz__widget .bx-soa-pp-list {
	display: none !important;
}

@media (max-width: 767px) {
	.bd-pvz__layout { grid-template-columns: 1fr; }
	.bd-pvz__map { min-height: 220px; }
	.bd-deliv-picked__grid { grid-template-columns: 1fr; }
	.bd-deliv-picked__dist { padding-top: 0; }
}
.bd-pvz-bitrix {
	margin-top: 12px;
	border: 1px solid var(--bd-border);
	border-radius: 8px;
	padding: 8px;
	background: #fafafa;
}
.bd-pvz-bitrix .bx-soa-section-title-container { display: none; }

/* Подсказки адреса (DaData) */
.bd-deliv-addr-form__street-wrap {
	position: relative;
	width: 100%;
	z-index: 40;
}
.bd-deliv-addr-form__street-wrap .bd-deliv-addr-form__street {
	width: 100%;
	box-sizing: border-box;
}
.bd-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	z-index: 80;
	max-height: 260px;
	overflow: auto;
	border: 1px solid var(--bd-border, #e5e5e5);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.bd-suggest[hidden] {
	display: none !important;
}
.bd-suggest__item {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: none;
	border-bottom: 1px solid #f3f3f3;
	background: #fff;
	text-align: left;
	font-size: 13px;
	line-height: 1.35;
	cursor: pointer;
	color: var(--bd-text, #222);
}
.bd-suggest__item:last-child { border-bottom: none; }
.bd-suggest__item:hover,
.bd-suggest__item.is-active { background: #f7f7f7; }
.bd-suggest__err {
	padding: 10px 12px;
	font-size: 12px;
	color: var(--bd-error, #b3261e);
}

.bd-deliv-pickup-hint {
	padding: 8px 4px 12px;
}
.bd-deliv-pickup-hint__title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}
.bd-deliv-pickup-hint__text {
	margin: 0;
	font-size: 13px;
	color: var(--bd-muted);
}
.bd-deliv-pickup-host {
	margin-top: 8px;
	max-height: 420px;
	overflow: auto;
	border: 1px solid var(--bd-border);
	border-radius: 8px;
	padding: 8px;
	background: #fafafa;
}

.bd-delivery-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 16px 0;
	padding: 12px 14px;
	background: #fff1f0;
	border: 1px solid #f5c6c2;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: #8a3b32;
}
.bd-delivery-note__icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e74c3c;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bd-advantages {
	margin: 28px 0 8px;
	padding: 0;
	list-style: none;
}
.bd-advantages li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--bd-muted);
}
.bd-advantages li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fecb6f;
}

/* ——— Шаг оплаты ——— */
.bd-pay-step {
	max-width: 560px;
}
.bd-pay-step #bx-soa-paysystem {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	margin-bottom: 8px;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-section-title-container {
	margin-bottom: 20px !important;
	padding: 0 !important;
	border: none !important;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-section-title {
	font-size: 28px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #1a1a1a !important;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-section-title-count,
.bd-pay-step #bx-soa-paysystem .bx-soa-editstep,
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-desc-container,
.bd-pay-step #bx-soa-paysystem .bx-soa-coupon {
	display: none !important;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-section-content {
	padding: 0 !important;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-pp.row {
	margin: 0;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-item-container {
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
}

/* Варианты оплаты — чистые строки с чекбоксом */
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-company {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 10px !important;
	padding: 14px 16px !important;
	border: 1px solid var(--bd-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-company:hover {
	border-color: #d0d0d0 !important;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-company.bx-selected {
	border-color: #fecb6f !important;
	box-shadow: 0 0 0 1px rgba(254, 203, 111, 0.35);
	background: #fffdf8 !important;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-company-graf-container {
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	position: relative;
	order: -1;
	flex: 0 0 auto;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-company-image,
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-company-logo,
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-company-desc,
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-price {
	display: none !important;
}
.bd-pay-step #bx-soa-paysystem input.bx-soa-pp-company-checkbox {
	position: static !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	accent-color: #4a90e2;
	cursor: pointer;
}
.bd-pay-step #bx-soa-paysystem .bx-soa-pp-company-smalltitle {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	line-height: 1.3;
}

/* Согласие + кнопка (legacy step) */
.bd-pay-save {
	margin-top: 22px;
}

.bd-pay-step .bd-pay-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin: 0 !important;
	padding: 0 24px;
	border-radius: 6px !important;
	background: #fecb6f !important;
	border: 1px solid #f0b84a !important;
	color: #2a2a2a !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.bd-pay-step .bd-pay-btn:hover {
	background: #f5c15a !important;
	border-color: #e0a83a !important;
	color: #111 !important;
	text-decoration: none !important;
	filter: none;
	box-shadow: none !important;
}
.bd-pay-step .bd-pay-btn:active {
	background: #efb64a !important;
	transform: none;
}

/* Сайдбар итогов — legacy (не single) */
.bd-checkout:not(.bd-checkout--single) #bx-soa-total .bx-soa-cart-total {
	padding: 18px 20px !important;
	box-sizing: border-box;
}
.bd-checkout #bx-soa-total .bx-soa-cart-total-line {
	padding: 8px 0 !important;
	margin: 0 !important;
}

.bd-pay-nav {
	margin-top: 28px;
	justify-content: flex-start;
}
.bd-pay-nav .bd-btn--ghost {
	min-width: 140px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.bd-pay-nav .bd-btn--ghost:hover {
	border-color: #bbb;
	background: #fafafa;
}

#bx-soa-orderSave .bd-pay-btn {
	display: flex;
	width: 100%;
	margin: 0;
	text-align: center;
	box-sizing: border-box;
}

.bd-checkout .bx-soa-editstep { display: none !important; }

@media (max-width: 991px) {
	.bd-delivery-tabs {
		margin-bottom: 12px;
	}
	.bd-delivery-tabs__btn {
		min-height: 40px;
		padding: 8px 6px;
		font-size: 12px;
		line-height: 1.2;
	}
	.bd-checkout #bx-soa-delivery .bd-deliv-row.bx-soa-pp-company,
	.bd-checkout #bx-soa-delivery .bx-soa-pp-item-container > .bx-soa-pp-company,
	.bd-checkout #bx-soa-delivery .bd-deliv-list > .bx-soa-pp-company {
		display: flex !important;
		flex-wrap: wrap;
		align-items: flex-start;
		align-content: flex-start;
		gap: 8px 12px;
		padding: 12px 14px !important;
	}
	.bd-checkout #bx-soa-delivery .bx-soa-pp-company .bx-soa-pp-company-graf-container {
		flex: 0 0 40px;
		width: 40px !important;
		height: 32px !important;
		padding: 0 !important;
		margin: 0 !important;
		align-self: flex-start;
	}
	.bd-checkout #bx-soa-delivery .bx-soa-pp-company .bx-soa-pp-company-image {
		width: 40px !important;
		height: 32px !important;
	}
	.bd-deliv-meta {
		flex: 1 1 calc(100% - 52px);
		min-width: 0;
		align-self: flex-start;
	}
	.bd-deliv-meta__name {
		font-size: 14px;
		line-height: 1.35;
		word-break: break-word;
		white-space: normal;
	}
	.bd-deliv-meta__type {
		font-size: 11px;
	}
	.bd-deliv-info {
		flex: 1 1 100%;
		text-align: left;
		white-space: normal;
	}
	.bd-deliv-action {
		flex: 1 1 100%;
		justify-content: flex-start;
		width: 100%;
	}
	.bd-deliv-action__pick {
		padding: 7px 10px;
		font-size: 12px;
	}
	.bd-deliv-expand {
		flex: 1 1 100%;
		width: 100%;
		min-width: 0;
	}
	.bd-deliv-picked__cols { grid-template-columns: 1fr; }
	.bd-deliv-picked { flex-wrap: wrap; }
	.bd-deliv-picked__change { margin-left: 40px; }
}

@media (max-width: 767px) {
	.bd-checkout--single #bx-soa-properties .bx-soa-customer,
	.bd-checkout--single #bx-soa-properties .col-sm-12.bx-soa-customer {
		grid-template-columns: 1fr !important;
	}
	.bd-checkout--single #bx-soa-properties .bd-field-email,
	.bd-checkout--single #bx-soa-properties .bd-field-fio,
	.bd-checkout--single #bx-soa-properties .bd-field-phone {
		grid-column: 1 / -1;
	}
	.bd-checkout {
		padding: 12px 12px 32px;
	}
}

@media (max-width: 991px) {
	.bd-checkout--single .bd-checkout__main {
		padding-right: 0;
	}
	.bd-checkout--single .bd-checkout__main,
	.bd-checkout--single .bd-checkout__sidebar {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.bd-checkout--single #bx-soa-total.bd-checkout__sidebar {
		position: static;
		top: auto;
		bottom: auto;
		z-index: auto;
		max-height: none;
		overflow: visible;
		background: #fff;
		padding: 10px 0 env(safe-area-inset-bottom);
		border-top: 1px solid var(--bd-border);
	}
}


/* Ошибка чужого города ПВЗ — под кнопкой выбора */
.bd-pvz-error,
.bd-checkout #bx-soa-delivery .bd-pvz-error {
	display: block;
	margin: 10px 0 0;
	padding: 10px 12px;
	background: #fdecea;
	color: #b3261e;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.4;
}
.bd-pvz-error[hidden] { display: none !important; }

.bd-link-edit-cart {
	border: 0;
	background: none;
	padding: 0;
	margin: var(--bd-field-gap) 0 0;
	color: #2f6fed;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 2px;
}
