.wcpi-care-call-consent-field {
	margin-top: 14px;
	margin-bottom: 10px;
	padding: 14px 16px;
	background: #2d2e2f;
	border: 1px solid #4d5753;
	border-radius: 8px;
	padding: 10px!important;
	width: 96%!important;
	margin: -5px 15px 10px!important;
	max-width: 96%!important;
	@media (max-width: 768px) {
		width: 100%!important;
		margin: 10px 0!important;
		max-width: 100%!important;
	}
}

.wcpi-care-call-consent-field label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.35;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
}
.wcpi-care-call-consent-field label span{
	display: none!important;
}
.wcpi-care-call-consent-field input[type="checkbox"]{
	margin: -2px 4px 0 0 !important;
	width: 18px !important;
	height: 18px !important;
	flex: 0 0 18px;
	vertical-align: middle;
	accent-color: #E86C03;
	position: relative !important;
}

/* На случай если Woo добавляет обёртку/inline-элементы вокруг текста */
.wcpi-care-call-consent-field label span{
	display: inline-block;
	line-height: 1.35;
}
/**
 * Frontend styles for Payment Installments
 */
 .rey-checkoutPage{
	max-width: 1280px!important;
 }
.wc-payment-installments-block {
	margin-top: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	position: relative;
	z-index: 5;
}

/* Style toggle as payment method */
.wc-payment-installments-payment-methods {
	margin: 0;
	padding: 0;
}

.wc-payment-installments-block .wc_payment_method {
	list-style: none;
}

/* Match payment methods grid layout */
#payment .wc_payment_methods.payment_methods.methods {
	display: flex;
	gap: 12px;
}
#payment .wc_payment_methods.payment_methods.methods::before {
	content: none!important;
}
#payment .wc_payment_methods.payment_methods.methods .wc_payment_method {
	width: 100%!important;
}
#payment .wc_payment_methods.payment_methods.methods .wc_payment_method label {
	padding: 16px;
	line-height: 1.4;
}
.woocommerce-checkout #payment ul.payment_methods {
    margin-left: 0!important;
}

.wc-payment-installments-block .wc_payment_method.payment_method_installments {
	margin: 0;
	border: 1px solid #4d5753;
	border-radius: 8px;
	padding: 18px 16px;
	background: #2d2e2f;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	flex: 0 0 220px;
	text-align: center;
}

.wc-payment-installments-block .wc_payment_method.payment_method_installments.selected {
	border-color: #E86C03;
}

.wc-payment-installments-block .wc_payment_method.payment_method_installments input[type="checkbox"] {
	display: none;
}

.wc-payment-installments-block .wc_payment_method.payment_method_installments label {
	display: block;
	margin: 0;
	color: #fff;
	font-weight: 500;
	line-height: 1.4;
}

.wc-payment-installments-block .wc_payment_method input[type="checkbox"] {
	display: inline-block;
}

.wc-payment-installments-block .wc_payment_method input[type="checkbox"] + label::before {
	display: none;
}

.wc-payment-installments-block .wc_payment_method label {
	display: inline;
	margin: 0;
}

.wc-payment-installments-hint {
	margin: 16px 0 !important;
	padding: 16px !important;
	background: #2d2e2f !important;
	border: none !important;
	border-radius: 8px !important;
	display: none;
	box-shadow: 0 2px 8px rgba(232, 108, 3, 0.3) !important;
}

.wc-payment-installments-hint.is-visible {
	display: block !important;
	animation: wcpi-hint-fade-in 0.3s ease-out;
}

@keyframes wcpi-hint-fade-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wc-payment-installments-hint.is-hidden {
	display: none !important;
}

.wc-payment-installments-hint-text {
	margin: 0 0 16px 0;
	padding: 0;
	font-size: 14px;
	color: #bbbcbc;
	line-height: 1.6;
	font-weight: 500;
	letter-spacing: 0.01em;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex-wrap: wrap;
}

.wc-payment-installments-hint-text-inner {
	flex: 0 1 auto;
}

.wc-payment-installments-hint-tooltip-wrap {
	position: relative;
	display: inline-flex;
	flex-shrink: 0;
}

.wc-payment-installments-hint-tooltip-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	color: #E86C03;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.wc-payment-installments-hint-tooltip-trigger:hover,
.wc-payment-installments-hint-tooltip-trigger:focus {
	background: #E86C03;
	color: #fff;
	box-shadow: 0 2px 8px rgba(232, 108, 3, 0.4);
}

.wc-payment-installments-hint-tooltip-trigger:focus-visible {
	outline: 2px solid #E86C03;
	outline-offset: 2px;
}

.wc-payment-installments-hint-icon {
	flex-shrink: 0;
}

.wc-payment-installments-hint-tooltip-content {
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	bottom: 100%;
	margin-bottom: 8px;
	min-width: 260px;
	max-width: 320px;
	padding: 14px 16px;
	background: #1c1c1c;
	border: 1px solid #4d5753;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(232, 108, 3, 0.15);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	z-index: 100;
	text-align: left;
}

/* Невидимый «мостик» между иконкой и подсказкой — при движении мыши вверх hover не теряется */
.wc-payment-installments-hint-tooltip-content::before {
	content: '';
	position: absolute;
	top: 100%;
	left: -20px;
	right: -20px;
	height: 20px;
}

.wc-payment-installments-hint-tooltip-content::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top-color: #1c1c1c;
}

.wc-payment-installments-hint-tooltip-wrap:hover .wc-payment-installments-hint-tooltip-content,
.wc-payment-installments-hint-tooltip-wrap:focus-within .wc-payment-installments-hint-tooltip-content {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.wc-payment-installments-hint-tooltip-body {
	display: block;
	font-size: 13px;
	line-height: 1.5;
	color: #bbbcbc;
	margin-bottom: 10px;
}

.wc-payment-installments-hint-tooltip-link {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: #E86C03;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.wc-payment-installments-hint-tooltip-link:hover {
	color: #ff8f57;
	border-bottom-color: #ff8f57;
}

/* Карточка «Рассрочка» недоступна при смешанной корзине — оверлей перехватывает все клики */
.wc-payment-installments-type-card--installment-unavailable {
	position: relative;
	opacity: 0.75;
	cursor: not-allowed;
}
/* Непрозрачный для кликов слой поверх всей карточки */
.wc-payment-installments-type-card--installment-unavailable::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: auto;
	cursor: not-allowed;
}
/* Иконка подсказки поверх оверлея — остаётся кликабельной */
.wc-payment-installments-type-card--installment-unavailable .wc-payment-installments-type-card-hint {
	position: relative;
	z-index: 2;
	pointer-events: auto;
	cursor: help;
}

/* Подсказка-иконка справа от «Рассрочка» (при смешанной корзине) */
.wc-payment-installments-type-card-hint {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-left: 6px;
	vertical-align: middle;
}
.wc-payment-installments-type-card-hint-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	color: #E86C03;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.wc-payment-installments-type-card-hint-icon svg {
	width: 14px;
	height: 14px;
}
.wc-payment-installments-type-card-hint:hover .wc-payment-installments-type-card-hint-icon {
	background: #E86C03;
	color: #fff;
	box-shadow: 0 2px 6px rgba(232, 108, 3, 0.35);
}
.wc-payment-installments-type-card-hint-tooltip {
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	bottom: 100%;
	margin-bottom: 8px;
	min-width: 240px;
	max-width: 300px;
	padding: 12px 14px;
	background: #1c1c1c;
	border: 1px solid #4d5753;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(232, 108, 3, 0.15);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	z-index: 100;
	text-align: left;
	font-size: 13px;
	line-height: 1.5;
	color: #bbbcbc;
	font-weight: normal;
}
.wc-payment-installments-type-card-hint-tooltip::before {
	content: '';
	position: absolute;
	top: 100%;
	left: -20px;
	right: -20px;
	height: 20px;
}
.wc-payment-installments-type-card-hint-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top-color: #1c1c1c;
}
.wc-payment-installments-type-card-hint:hover .wc-payment-installments-type-card-hint-tooltip,
.wc-payment-installments-type-card-hint:focus-within .wc-payment-installments-type-card-hint-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.wc-payment-installments-hint-text a {
	color: #E86C03;
	text-decoration: underline;
}

.wc-payment-installments-hint-text a:hover {
	color: #ff8f57;
	text-decoration: none;
}

.wc-payment-installments-hint-products {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

.wc-payment-installments-hint-product,
li.wc-payment-installments-hint-product,
.wc-payment-installments-hint-products li.wc-payment-installments-hint-product {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	padding: 12px 16px !important;
	margin-bottom: 8px !important;
	background: #1c1c1c !important;
	border: 1px solid #4d5753 !important;
	border-radius: 8px !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.wc-payment-installments-hint-product:hover {
	background: #2d2e2f !important;
	border-color: #E86C03 !important;
	box-shadow: 0 2px 8px rgba(232, 108, 3, 0.25) !important;
}

.wc-payment-installments-hint-product.removing {
	opacity: 0.5;
	pointer-events: none;
	transform: scale(0.97);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.wc-payment-installments-hint-product-info {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	flex: 1 !important;
}

.wc-payment-installments-hint-product-details {
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	flex: 1 !important;
}

.wc-payment-installments-hint-product-thumbnail {
	flex-shrink: 0 !important;
	width: 50px !important;
	height: 50px !important;
	border-radius: 6px !important;
	overflow: hidden !important;
	background: #1c1c1c !important;
}

.wc-payment-installments-hint-product-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.wc-payment-installments-hint-product-name {
	font-size: 14px !important;
	color: #E86C03 !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	word-break: break-word !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.wc-payment-installments-hint-product-name:hover {
	color: #ff8f57 !important;
	text-decoration: underline !important;
}

.wc-payment-installments-hint-product-price {
	font-size: 13px !important;
	color: #bbbcbc !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
}

.wc-payment-installments-hint-product-price .woocommerce-Price-amount {
	color: #bbbcbc !important;
}

.wc-payment-installments-hint-remove-btn,
button.wc-payment-installments-hint-remove-btn,
.wc-payment-installments-hint-product button.wc-payment-installments-hint-remove-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 8px 16px !important;
	border: none !important;
	border-radius: 6px !important;
	background: #E86C03 !important;
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	white-space: nowrap !important;
	min-width: 100px !important;
	box-shadow: 0 2px 4px rgba(232, 108, 3, 0.3) !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: auto !important;
	height: auto !important;
}

.wc-payment-installments-hint-remove-btn:hover {
	background: #ff8f57 !important;
	color: #ffffff !important;
	box-shadow: 0 2px 6px rgba(232, 108, 3, 0.35) !important;
}

.wc-payment-installments-hint-remove-btn:active {
	box-shadow: 0 1px 3px rgba(232, 108, 3, 0.3) !important;
}

.wc-payment-installments-hint-remove-btn:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.wc-payment-installments-hint-remove-text {
	font-size: 13px;
	letter-spacing: 0.3px;
}

.wc-payment-installments-options {
	display: block;
	margin: 1em 0;
	padding: 0;
}

.wc-payment-installments-options-hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

.wc-payment-installments-options-visible {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	overflow: visible !important;
}

.wc-payment-installments-option {
	border: 1px solid #4d5753;
	border-radius: 5px;
	padding: 1.5em;
	margin-bottom: 1em;
	background: #2d2e2f;
	transition: all 0.3s ease;
}

.wc-payment-installments-application-modes {
	display: flex;
	display: none!important;
	gap: 10px;
	margin: 10px 0 20px;
}

.wc-payment-installments-mode {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid #4d5753;
	border-radius: 6px;
	background: #2d2e2f;
	cursor: pointer;
	font-size: 14px;
	color: #bbbcbc;
}

.wc-payment-installments-mode input {
	accent-color: #E86C03;
}

.wc-payment-installments-types {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.wc-payment-installments-type-card {
	border: 1px solid #4d5753;
	border-radius: 8px;
	padding: 16px;
	background: #2d2e2f;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	pointer-events: auto;
}

.wc-payment-installments-type-label {
	display: block;
	cursor: pointer;
	pointer-events: auto;
}

.wc-payment-installments-type-input {
	display: none;
}

.wc-payment-installments-type-card.is-selected {
	border-color: #E86C03 !important;
	box-shadow: 0 2px 6px rgba(232, 108, 3, 0.2) !important;
}

.wc-payment-installments-type-card .wc-payment-installments-option-title {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
}

.wc-payment-installments-type-card .wc-payment-installments-option-rate {
	color: #E86C03;
	font-size: 14px;
	font-weight: 600;
}

.wc-payment-installments-type-card .wc-payment-installments-option-description {
	color: #bbbcbc;
	font-size: 13px;
}

.wc-payment-installments-terms {
	margin-bottom: 16px;
	pointer-events: auto;
}

.wc-payment-installments-terms-options {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.wc-payment-installments-term {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
	color: #bbbcbc;
	pointer-events: auto;
	padding: 8px 12px;
	border: 1px solid #4d5753;
	border-radius: 6px;
	background: #2d2e2f;
}

.wc-payment-installments-term input {
	accent-color: #E86C03;
	margin: 0;
}

.wc-payment-installments-term input:checked + span {
	color: #fff;
	font-weight: 600;
}

.wc-payment-installments-term:has(input:checked) {
	border-color: #E86C03;
	border-width: 1px;
}

.wc-payment-installments-term-unavailable {
	cursor: not-allowed;
	position: relative;
}

.wc-payment-installments-term-unavailable input,
.wc-payment-installments-term-unavailable > span:first-of-type {
	opacity: 0.5;
}

.wc-payment-installments-term-unavailable input {
	cursor: not-allowed;
}

.wc-payment-installments-term-unavailable-label {
	display: inline-block;
	margin-left: 8px;
	font-size: 11px;
	color: #8a8d8e;
	font-weight: 500;
}

/* Тултип «почему недоступно» — как в подсказке с удалением товара */
.wc-payment-installments-term-unavailable-tooltip-wrap {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
	margin-left: 6px;
	opacity: 1;
}

.wc-payment-installments-term-unavailable-tooltip-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	color: #E86C03;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.wc-payment-installments-term-unavailable-tooltip-trigger:hover,
.wc-payment-installments-term-unavailable-tooltip-trigger:focus {
	background: #E86C03;
	color: #fff;
	box-shadow: 0 2px 8px rgba(232, 108, 3, 0.4);
}

.wc-payment-installments-term-unavailable-tooltip-trigger:focus-visible {
	outline: 2px solid #E86C03;
	outline-offset: 2px;
}

.wc-payment-installments-term-unavailable-tooltip-icon {
	flex-shrink: 0;
	pointer-events: none;
}

.wc-payment-installments-term-unavailable-tooltip-content {
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	bottom: 100%;
	margin-bottom: 8px;
	min-width: 220px;
	max-width: 300px;
	padding: 12px 14px;
	background: #1c1c1c;
	border: 1px solid #4d5753;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(232, 108, 3, 0.15);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	z-index: 100;
	text-align: left;
}

.wc-payment-installments-term-unavailable-tooltip-content::before {
	content: '';
	position: absolute;
	top: 100%;
	left: -20px;
	right: -20px;
	height: 20px;
}

.wc-payment-installments-term-unavailable-tooltip-content::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top-color: #1c1c1c;
}

.wc-payment-installments-term-unavailable-tooltip-wrap:hover .wc-payment-installments-term-unavailable-tooltip-content,
.wc-payment-installments-term-unavailable-tooltip-wrap:focus-within .wc-payment-installments-term-unavailable-tooltip-content {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.wc-payment-installments-term-unavailable-tooltip-body {
	display: block;
	font-size: 12px;
	line-height: 1.5;
	color: #bbbcbc;
}

.wc-payment-installments-prepayment {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid #4d5753;
	border-radius: 8px;
	background: #2d2e2f;
	margin-bottom: 16px;
	pointer-events: auto;
	flex-wrap: nowrap;
}

.wc-payment-installments-prepayment-label {
	font-weight: 500;
	color: #fff;
	white-space: nowrap;
}

.wc-payment-installments-prepayment-controls {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
}

.wc-payment-installments-prepayment-select,
.wc-payment-installments-prepayment-custom-input {
	box-sizing: border-box;
	height: 38px!important;
	padding: 8px 12px!important;
	line-height: 1.25;
	font-size: 14px!important;
	font-family: inherit!important;
	border-radius: 6px!important;
	border: 1px solid #4d5753!important;
	background: #1c1c1c!important;
	color: #fff!important;
	min-width: 140px!important;
}

.wc-payment-installments-prepayment-select {
	min-width: 140px;
	pointer-events: auto;
	flex: 1 1 auto;
}

.wc-payment-installments-prepayment-custom.is-hidden {
	display: none !important;
}

.wc-payment-installments-prepayment-custom {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	order: 1;
}

.wc-payment-installments-prepayment-controls .wc-payment-installments-prepayment-select {
	order: 0;
}

.wc-payment-installments-prepayment-custom-input {
	width: 90px;
}

.wc-payment-installments-prepayment-custom-input:focus {
	outline: none;
	border-color: #E86C03;
}

.wc-payment-installments-prepayment-custom-suffix {
	color: #bbbcbc;
	font-size: 14px;
	line-height: 1.25;
}

.wc-payment-installments-summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	padding: 20px;
	border: 1px solid rgba(77, 87, 83, 0.6);
	border-radius: 12px;
	background: linear-gradient(165deg, #2d2e2f 0%, #252628 100%);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	margin-bottom: 16px;
}

.wc-payment-installments-summary.is-loading {
	position: relative;
	overflow: hidden;
}

.wc-payment-installments-summary.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.06) 0%,
		rgba(255, 255, 255, 0.16) 45%,
		rgba(255, 255, 255, 0.06) 100%
	);
	transform: translateX(-100%);
	animation: wcpi-skeleton 1.2s infinite;
}

.wc-payment-installments-summary.is-loading .wc-payment-installments-summary-value {
	color: transparent;
}

@keyframes wcpi-skeleton {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

.wc-payment-installments-summary-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.4;
}

.wc-payment-installments-summary-item--rate {
	padding: 6px 0;
}

.wc-payment-installments-summary-item--total {
	grid-column: 1 / -1;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid rgba(77, 87, 83, 0.7);
}

.wc-payment-installments-summary-label {
	color: #a8abac;
	max-width: 340px;
	font-size: 13px;
}

.wc-payment-installments-summary-item--total .wc-payment-installments-summary-label {
	color: #e0e1e2;
	font-size: 14px;
	font-weight: 500;
}

.wc-payment-installments-summary-value {
	font-weight: 600;
	color: #fff;
	text-align: right;
}

.wc-payment-installments-summary-value--rate {
	font-size: 13px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 20px;
	background: rgba(232, 108, 3, 0.15);
	color: #E86C03;
	border: 1px solid rgba(232, 108, 3, 0.35);
}

.wc-payment-installments-summary-value--total {
	font-size: 18px;
	font-weight: 700;
	color: #E86C03;
	letter-spacing: 0.02em;
}

.wc-payment-installments-summary-disclaimer {
	margin-top: 12px;
	font-size: 11px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.6);
	grid-column: 1 / -1;
	width: 100%;
	display: block;
	box-sizing: border-box;
}

.wc-payment-installments-submit {
	margin: 16px 0;
	display: none!important;
}

.wc-payment-installments-submit-button {
	width: 100%;
	padding: 14px 16px;
	border-radius: 8px;
	border: none;
	background: #E86C03 !important;
	color: #fff !important;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

.wc-payment-installments-disclaimer {
	font-size: 12px;
	color: #bbbcbc;
	line-height: 1.5;
}

.wc-payment-installments-option:last-child {
	margin-bottom: 0;
}

.wc-payment-installments-option:hover {
	border-color: #ff8f57;
	box-shadow: 0 2px 4px rgba(255, 143, 87, 0.2);
}

.wc-payment-installments-option-favorable {
	border-color: #E86C03;
	background: #2d2e2f;
}

.wc-payment-installments-option-favorable:hover {
	border-color: #E86C03;
	box-shadow: 0 2px 4px rgba(232, 108, 3, 0.3);
}

.wc-payment-installments-option-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.wc-payment-installments-option-header {
	margin-bottom: 15px;
}

.wc-payment-installments-option-title {
	margin: 0 0 10px 0;
	font-size: 16px;
	font-weight: 400;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
}

.wc-payment-installments-option-badge {
	display: inline-block;
	padding: 4px 10px;
	background: #E86C03;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	border-radius: 12px;
	text-transform: uppercase;
}

.wc-payment-installments-option-rate {
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 600;
	color: #ff8f57;
}

.wc-payment-installments-option-description {
	margin-bottom: 15px;
	font-size: 14px;
	line-height: 1.6;
	color: #bbbcbc;
}

.wc-payment-installments-option-description p {
	margin: 0 0 10px 0;
}

.wc-payment-installments-option-description p:last-child {
	margin-bottom: 0;
}

.wc-payment-installments-option-requirements {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #4d5753;
	font-size: 13px;
	color: #bbbcbc;
	line-height: 1.6;
}

.wc-payment-installments-option-requirements strong {
	display: block;
	margin-bottom: 8px;
	color: #fff;
	font-weight: 600;
}

.wc-payment-installments-option-requirements p {
	margin: 0 0 10px 0;
}

.wc-payment-installments-option-requirements p:last-child {
	margin-bottom: 0;
}

/* Calculation styles */
.wc-payment-installments-option-calculation {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #4d5753;
}

.wc-payment-installments-calculation-loading {
	color: #bbbcbc;
	font-size: 13px;
	font-style: italic;
}

.wc-payment-installments-calculation-result {
	font-size: 13px;
}

.wc-payment-installments-calculation-result > div {
	margin-bottom: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wc-payment-installments-calculation-result > div:last-child {
	margin-bottom: 0;
}

.wc-payment-installments-calculation-result strong {
	color: #fff;
	font-weight: 600;
}

.wc-payment-installments-calculation-value {
	color: #E86C03;
	font-weight: 600;
	font-size: 14px;
}

.wc-payment-installments-calculation-error {
	color: #ff6b6b;
	font-size: 13px;
}
@media (max-width: 1280px) {
	form.woocommerce-checkout .woocommerce-checkout-main-wrapper {
        flex-direction: column !important;
    }
}
/* Mobile styles */
@media (max-width: 768px) {
	.rey-siteContainer .elementor-widget-reycore-wc-checkout{
		max-width: 100%!important;
	}
	body.woocommerce-checkout #customer_details .col-1.woocommerce-checkout-info{
		max-width: 100%!important;
	}
	.woocommerce-billing-fields__field-wrapper p{
		padding-left: 0!important;
		padding-right: 0!important;
	}
	.woocommerce-billing-fields__field-wrapper .wcpi-care-call-consent-field{
		padding-left: 16px!important;
	}
	.custom-billing-true-wrapper{
		display: flex!important;
	}
	#payment .wc_payment_methods.payment_methods.methods{
		flex-direction: column;
	}
	.wc-payment-installments-toggle {
		padding: 0 0.5em;
	}

	.wc-payment-installments-options {
		padding: 0 0.5em;
	}

	.wc-payment-installments-types {
		grid-template-columns: 1fr;
	}

	.wc-payment-installments-summary {
		grid-template-columns: 1fr;
	}

	.wc-payment-installments-hint {
		padding: 12px;
		margin: 12px 0;
	}

	.wc-payment-installments-hint-text {
		font-size: 13px;
		margin-bottom: 12px;
	}

	.wc-payment-installments-hint-products {
		gap: 8px;
	}

	.wc-payment-installments-hint-product {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 12px;
	}

	.wc-payment-installments-hint-remove-btn {
		width: 100%;
		justify-content: center;
		min-width: auto;
	}

	.wc-payment-installments-hint-product-name {
		width: 100%;
		font-size: 13px;
	}

	/* Первоначальный взнос: на мобильной — колонка, селект не выходит за рамки */
	.wc-payment-installments-prepayment {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		flex-wrap: wrap;
	}

	.wc-payment-installments-prepayment-label {
		white-space: normal;
	}

	.wc-payment-installments-prepayment-controls {
		width: 100%;
		min-width: 0;
		flex-wrap: wrap;
	}

	.wc-payment-installments-prepayment-select,
	.wc-payment-installments-prepayment-custom-input {
		min-width: 0 !important;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	.wc-payment-installments-prepayment-select {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* Dostavka24: блоки «Доставка», «Дата доставки» и «Итого с доставкой» в .cart-totals */
.cart-totals .wc-dostavka24-delivery-row,
.cart-totals .wc-d24-delivery-date-row,
.cart-totals .wc-dostavka24-total-with-delivery-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	margin: 0;
	border: none;
	background: transparent;
}
.cart-totals .wc-dostavka24-total-with-delivery-row {
	padding-top: 12px;
	margin-top: 4px;
	border-top: 1px solid rgba(232, 108, 3, 0.35);
}
.cart-totals .wc-dostavka24-delivery-row .total-label,
.cart-totals .wc-d24-delivery-date-row .total-label,
.cart-totals .wc-dostavka24-total-with-delivery-row .total-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	flex-shrink: 0;
}
.cart-totals .wc-dostavka24-delivery-row .total-amount,
.cart-totals .wc-d24-delivery-date-row .total-amount,
.cart-totals .wc-dostavka24-total-with-delivery-row .total-amount {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	text-align: right;
	white-space: nowrap;
}
.cart-totals .wc-dostavka24-total-with-delivery-row .total-label {
	font-weight: 600;
	color: #fff;
}
.cart-totals .wc-dostavka24-total-with-delivery-row .total-amount {
	font-size: 16px;
	font-weight: 600;
	color: #E86C03;
}

#wc_dostavka24_delivery_calendar{
	display: none!important;
}

.wc-d24-city-date-inline{
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	position: relative;
	z-index: 1;
}
.wc-d24-city-date-inline > .wc-d24-city-inline-col,
.wc-d24-city-date-inline > .wc-d24-date-inline-col{
	flex: 1 1 0;
	min-width: 0;
	position: relative;
}
.wc-d24-city-date-inline > .wc-d24-city-inline-col{
	z-index: 3;
}
.wc-d24-city-date-inline > .wc-d24-date-inline-col{
	z-index: 2;
}
.wc-d24-city-inline-col #billing_city,
.wc-d24-city-inline-col input[name="billing_city"]{
	pointer-events: auto !important;
}
.wc-d24-city-inline-col{
	flex: 1 1 0;
	min-width: 0;
	float: none !important;
	display: block !important;
	width: auto !important;
	clear: none !important;
	box-sizing: border-box;
}
.wc-d24-date-inline-col{
	flex: 1 1 0;
	min-width: 0;
	float: none !important;
	display: block !important;
	width: auto !important;
	margin-left: 0 !important;
	clear: none !important;
	box-sizing: border-box;
}
.wc-d24-city-date-inline .wc-d24-date-inline-col{
	margin-top: 0 !important;
}

.wc-d24-delivery-dates{
	margin-top: 8px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}
.wc-d24-delivery-dates-title{
	margin: 0 0 6px;
	font-size: 11px;
	text-transform: uppercase!important;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: #d6d7d8;
}
.wc-d24-delivery-select{
	position: relative;
	max-width: none;
}
.wc-d24-delivery-select-trigger{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between!important;
	gap: 8px;
	min-height: 43px;
	/* border: 1px solid #4d5753 !important; */
	background: #212121 !important;
	color: white !important;
	border-radius: 8px !important;
	padding: 9px 12px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2;
	cursor: pointer !important;
	text-align: left;
	transition: border-color .15s ease, color .15s ease;
}
.wc-d24-delivery-select-trigger:hover{
	border-color: #E86C03 !important;
}
.wc-d24-delivery-select-caret{
	display:inline-block;
	width:0;
	height:0;
	border-left:5px solid transparent;
	border-right:5px solid transparent;
	border-top:6px solid rgba(255,255,255,0.8);
	transition: transform .15s ease;
}
.wc-d24-delivery-select-trigger[aria-expanded="true"] .wc-d24-delivery-select-caret{
	transform: rotate(180deg);
}
.wc-d24-delivery-select-menu{
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: 240px;
	overflow-y: auto;
	background: #1f2021;
	border: 1px solid #4d5753;
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(0,0,0,0.35);
	z-index: 30;
}
.wc-d24-delivery-select-menu[hidden]{
	display: none !important;
	pointer-events: none !important;
}
.wc-d24-delivery-option{
	width: 100%;
	display: flex !important;
	align-items: center;
	justify-content: space-between!important;
	gap: 10px;
	min-height: 42px;
	border: 0 !important;
	border-bottom: 1px solid rgba(255,255,255,0.06) !important;
	background: transparent !important;
	color: #d4d5d6 !important;
	border-radius: 0 !important;
	padding: 8px 12px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1;
	cursor: pointer !important;
	text-align: left;
	white-space: normal;
	transition: color .15s ease, background-color .15s ease;
}
.wc-d24-delivery-option:last-child{
	border-bottom: 0 !important;
}
.wc-d24-delivery-option:hover{
	background: #2a2b2c !important;
	color: #fff !important;
}
.wc-d24-delivery-option.is-selected{
	background: rgba(232, 108, 3, 0.14) !important;
	color: #fff !important;
}
.wc-d24-delivery-option-date{
	font-size: 13px;
	font-weight: 500;
	color: #fff;
}
.wc-d24-delivery-option-time{
	font-size: 12px;
	color: white;
	white-space: nowrap;
}

@media (max-width: 980px){
	.wc-d24-city-inline-col,
	.wc-d24-date-inline-col{
		float: none !important;
		display: block !important;
		width: auto !important;
		margin-left: 0 !important;
	}
	.wc-d24-city-date-inline{
		flex-direction: column;
		gap: 6px;
	}
}

@media (max-width: 768px){
	/* Город + Дата: на мобильном строго в одну колонку и на всю ширину */
	.wc-d24-city-date-inline{
		display: block !important;
	}
	#billing-address-fields .wc-d24-city-inline-col,
	#billing-address-fields .wc-d24-date-inline-col{
		float: none !important;
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 10px 0 !important;
		clear: both !important;
	}
	#billing-address-fields .wc-d24-date-inline-col{
		margin-bottom: 12px !important;
	}
	#billing-address-fields .wc-d24-date-inline-col .wc-d24-delivery-select{
		max-width: 100% !important;
	}
	#billing-address-fields .wc-d24-date-inline-col .wc-d24-delivery-select-trigger{
		width: 100% !important;
	}
	/* Адресные поля: удобная мобильная сетка */
	#billing-address-fields #custom_address_fields .custom-billing-true-wrapper{
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
		width: 100% !important;
	}
	#billing-address-fields #custom_address_fields .custom-billing-true-wrapper > .wc-d24-street-inline{
		grid-column: 1 / -1 !important;
		min-width: 0 !important;
	}
	#billing-address-fields #custom_address_fields .custom-billing-true-wrapper > span{
		min-width: 0 !important;
		width: 100% !important;
	}
	#billing-address-fields #custom_address_fields .custom-billing-true-wrapper input{
		width: 100% !important;
	}

	/* Помощь в подъёме: аккуратный стек на мобильном */
	.wc-d24-lift-help-option{
		padding: 12px;
		border-radius: 10px;
	}
	.wc-d24-lift-help-head{
		/* flex-direction: column; */
		align-items: stretch;
		gap: 8px;
	}
	.wc-d24-lift-help-check{
		gap: 10px;
		align-items: center;
		min-height: 24px;
	}
	.wc-d24-lift-help-check input{
		width: 18px;
		height: 18px;
		flex: 0 0 18px;
		margin: 0;
	}
	.wc-d24-lift-help-title{
		font-size: 16px;
		line-height: 1.25;
		font-weight: 500;
		word-break: keep-all;
	}
	.wc-d24-lift-help-toggle{
		align-self: flex-end;
		padding: 6px 10px;
		font-size: 13px;
		border-radius: 8px;
	}
	.wc-d24-lift-help-details{
		margin-top: 8px;
	}
}

/* Табличная разметка order_review: строка даты как у «Доставка» */
#order_review .wc-d24-delivery-date-row th {
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	text-align: left;
	vertical-align: middle;
	padding: 10px 12px 10px 0;
	border: none;
}
#order_review .wc-d24-delivery-date-row td {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	text-align: right;
	vertical-align: middle;
	padding: 10px 0;
	border: none;
	white-space: nowrap;
}

/* Скелетон при обновлении блока итогов — только значения сумм (Итого, Доставка, Итого с доставкой, Итого при оплате частями) */
body.wc-dostavka24-totals-updating .order-total .total-amount,
body.wc-dostavka24-totals-updating .order-total .amount,
body.wc-dostavka24-totals-updating .order-total .amount *,
body.wc-dostavka24-totals-updating tr.order-total td:last-child,
body.wc-dostavka24-totals-updating tr.order-total td:last-child *,
body.wc-dostavka24-totals-updating .order-total.has-installments-total .total-amount,
body.wc-dostavka24-totals-updating .order-total.has-installments-total .total-amount *,
body.wc-dostavka24-totals-updating .wc-dostavka24-delivery-value,
body.wc-dostavka24-totals-updating .wc-dostavka24-total-with-delivery-value,
body.wc-dostavka24-totals-updating .wc-dostavka24-delivery-row .total-amount,
body.wc-dostavka24-totals-updating .wc-dostavka24-total-with-delivery-row .total-amount,
body.wc-dostavka24-totals-updating .wc-d24-delivery-date-row .total-amount,
body.wc-dostavka24-totals-updating .wc-d24-delivery-date-row .wc-d24-delivery-date-value,
body.wc-dostavka24-totals-updating .wc-payment-installments-summary-value,
body.wc-dostavka24-totals-updating .wc-payment-installments-summary-value *,
body.wc-dostavka24-totals-updating [data-field="total_cost"],
body.wc-dostavka24-totals-updating [data-field="total_cost"] * {
	position: relative;
	color: transparent !important;
	background: none !important;
	background-color: transparent !important;
}
body.wc-dostavka24-totals-updating .order-total .total-amount::after,
body.wc-dostavka24-totals-updating .order-total .amount::after,
body.wc-dostavka24-totals-updating tr.order-total td:last-child::after,
body.wc-dostavka24-totals-updating .wc-dostavka24-delivery-value::after,
body.wc-dostavka24-totals-updating .wc-dostavka24-total-with-delivery-value::after,
body.wc-dostavka24-totals-updating .wc-dostavka24-delivery-row .total-amount::after,
body.wc-dostavka24-totals-updating .wc-dostavka24-total-with-delivery-row .total-amount::after,
body.wc-dostavka24-totals-updating .wc-d24-delivery-date-row .total-amount::after,
body.wc-dostavka24-totals-updating .wc-d24-delivery-date-row .wc-d24-delivery-date-value::after,
body.wc-dostavka24-totals-updating .wc-payment-installments-summary-value::after,
body.wc-dostavka24-totals-updating [data-field="total_cost"]::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.06) 0%,
		rgba(255, 255, 255, 0.14) 50%,
		rgba(255, 255, 255, 0.06) 100%
	);
	background-size: 200% 100%;
	animation: wc-d24-skeleton-shimmer 0.9s ease-in-out infinite;
	border-radius: 4px;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	min-height: 1.2em;
}
@keyframes wc-d24-skeleton-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Dostavka24: опция «Помощь в подъёме» */
.wc-d24-lift-help-option {
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px;
	background: rgba(0,0,0,0.18);
}
.wc-d24-lift-help-option.wc-d24-lift-help-disabled{
	opacity: .55;
	filter: grayscale(0.2);
}
.wc-d24-lift-help-option.wc-d24-lift-help-disabled .wc-d24-lift-help-check{
	cursor: not-allowed;
}
.wc-d24-lift-help-option.wc-d24-lift-help-disabled .wc-d24-lift-help-toggle{
	opacity: .75;
}
.wc-d24-lift-help-option.wc-d24-lift-help-disabled .wc-d24-lift-help-toggle,
.wc-d24-lift-help-option.wc-d24-lift-help-disabled #wc_d24_lift_help{
	pointer-events: none;
}
.wc-d24-lift-help-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
#wc_d24_lift_help{
	margin: 0;
}
.wc-d24-lift-help-check {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
	margin-bottom: 0;
}
.wc-d24-lift-help-check input {
	width: 18px;
	height: 18px;
	accent-color: #E86C03;
}
.wc-d24-lift-help-title {
	color: #fff;
}
#billing-address-fields .form-row{
	padding-left: 0!important;
	padding-right: 0!important;
}
.wc-d24-lift-help-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid rgba(232, 108, 3, 0.35);
	background: transparent;
	color: rgba(255,255,255,0.85);
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
	font-weight: 400!important;
}
.wc-d24-lift-help-toggle:hover {
	color: #fff;
}
.wc-d24-lift-help-caret{
	display:inline-block;
	width:0;
	height:0;
	border-left:4px solid transparent;
	border-right:4px solid transparent;
	border-top:6px solid rgba(255,255,255,0.75);
	transform: translateY(1px) rotate(0deg);
	transition: transform .15s ease, border-top-color .15s ease;
}
.wc-d24-lift-help-toggle[aria-expanded="true"] .wc-d24-lift-help-caret{
	transform: translateY(0px) rotate(180deg);
	border-top-color: rgba(255,255,255,0.95);
}
.wc-d24-lift-help-details {
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.35;
	color: rgba(255,255,255,0.75);
}

/* Скрываем стандартный вывод fee «Помощь в подъёме» в order_review */
.wc-d24-lift-help-hidden {
	display: none !important;
}

/* Строка «Помощь в подъёме» в правом блоке итогов */
.cart-totals .wc-d24-lift-help-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border: none;
	background: transparent;
}
.cart-totals .wc-d24-lift-help-row .total-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
}
.cart-totals .wc-d24-lift-help-row .total-amount {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	white-space: nowrap;
}
