.v2-checkout .v2-method-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 0;
}
.v2-checkout .v2-shipping-sep {
	border: 0;
	height: 0;
	margin: 20px 0;
	border-top: 1px solid #dee2e6;
}
.v2-checkout .v2-method-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 12px 14px;
	cursor: pointer;
	margin: 0;
	background: #fff;
	box-sizing: border-box;
}
.v2-checkout .v2-method-row__ico {
	flex: 0 0 48px;
	text-align: center;
	margin-right: 12px;
}
.v2-checkout .v2-method-row__ico img {
	max-width: 40px;
	max-height: 28px;
	height: auto;
	width: auto;
	vertical-align: middle;
}
.v2-checkout .v2-method-row__ico .fa-credit-card {
	font-size: 24px;
	line-height: 1;
	color: #3c3c3c;
}
.v2-checkout .v2-method-row__body {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.v2-checkout .v2-method-row__text {
	flex: 1 1 auto;
	font-weight: 500;
}
.v2-checkout .v2-method-row input[type="radio"] {
	flex-shrink: 0;
	margin: 0;
}
.v2-checkout .v2-method-badge--best {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: center;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(160deg, #43a047 0%, #2e7d32 100%);
	padding: 7px 14px;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	white-space: nowrap;
	cursor: help;
}
@media (max-width: 400px) {
	.v2-checkout .v2-method-badge--best {
		font-size: 0.6rem;
		padding: 6px 12px;
		letter-spacing: 0.04em;
	}
}
.v2-checkout .v2-method-row:has(input:checked) {
	border-color: #c41230;
	box-shadow: 0 0 0 1px #c41230;
}
.v2-checkout .v2-panel { display: none; margin-top: 0; }
.v2-checkout .v2-panel.active { display: block; }

/* V2 доставка: активни полета за попълване — бял фон (и при сив фон на секцията) */
#v2Panels .form-control:not(:disabled) {
	background-color: #fff;
}
#v2Panels .select2-container--default:not(.select2-container--disabled) .select2-selection--single {
	background-color: #fff;
}
.v2-checkout .v2-ac-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 180px;
	overflow: auto;
	border: 1px solid #eee;
}
.v2-checkout .v2-ac-list li {
	padding: 6px 10px;
	cursor: pointer;
	border-bottom: 1px solid #f4f4f4;
}
.v2-checkout .v2-ac-list li:hover { background: #f8f8f8; }
.v2-checkout .v2-summary.card {
	border: 1px solid #e5e5e5;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.v2-checkout .v2-summary-title {
	padding-bottom: 8px;
	border-bottom: 1px solid #ececec;
	margin-bottom: 12px;
}
.v2-checkout .v2-payment .form-check {
	margin-bottom: 10px;
}
.v2-checkout .v2-payment .form-check-label img {
	vertical-align: middle;
	margin-right: 6px;
}

.v2-checkout .v2-promo-box {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 14px 16px;
	background: #fafafa;
}
.v2-checkout .v2-promo-box--active {
	background: #f6fff6;
	border-color: #c8e6c9;
}
.v2-checkout .v2-promo-box__title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 10px;
}
.v2-checkout .v2-promo-box__form {
	margin-bottom: 0;
}
.v2-checkout .v2-promo-msg.is-error {
	color: #c62828;
	font-weight: 500;
}
.v2-checkout .v2-promo-box__form .form-control {
	background: #fff;
}

.v2-checkout .v2-create-account-box {
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	padding: 14px 16px;
	background: #fcfcfc;
	margin-top: 14px;
}
.v2-checkout .v2-create-account-box .form-check-label {
	font-weight: 500;
}
.v2-checkout .v2-create-account-hint {
	font-size: 0.85rem;
	color: #666;
	margin-top: 8px;
	padding-left: 1.5rem;
}
.v2-checkout .v2-form-block {
	margin-bottom: 1rem;
}
.v2-checkout .v2-form-block:last-child {
	margin-bottom: 0;
}
.v2-checkout .v2-section-box {
	background: #fafafa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 14px 16px;
}
.v2-checkout .v2-section-box--delivery,
.v2-checkout .v2-section-box--payment,
.v2-checkout .v2-section-box--promo {
	margin-top: 14px;
}
.v2-checkout .v2-section-box--promo .v2-promo-box__form {
	margin-bottom: 0;
}
.v2-checkout .v2-section-box--promo .v2-promo-box--active {
	border: 1px solid #c8e6c9;
	border-radius: 6px;
	padding: 12px 14px;
	background: #f6fff6;
}
.v2-checkout .v2-section-box__title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.2px;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ececec;
}
.v2-checkout .v2-section-box--personal .form-control {
	background: #fff;
}
.v2-checkout .v2-terms-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.v2-checkout .v2-terms-row input[type="checkbox"] {
	margin-top: 4px;
	flex: 0 0 auto;
}
.v2-checkout .v2-terms-row label {
	margin: 0;
}
.v2-checkout .v2-terms-row .v2-terms-open {
	color: #c41230;
	text-decoration: underline;
	cursor: pointer;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
}
.v2-checkout .v2-terms-row .v2-terms-open:hover,
.v2-checkout .v2-terms-row .v2-terms-open:focus {
	color: #a00f28;
	text-decoration: underline;
	outline: none;
}
.v2-checkout .v2-saved-picked {
	padding: 8px 10px;
	border: 1px solid #d7e8ff;
	background: #f4f8ff;
	border-radius: 6px;
	font-size: 0.92rem;
}
.v2-checkout .v2-free-shipping-bar {
	-webkit-box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%);
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%);
	background: #fff;
	padding: 15px;
	width: 100%;
}
.v2-checkout .v2-free-shipping-bar .pulse {
	color: #d9121f;
}
.v2-checkout .v2-products-toggle {
	padding: 0;
	margin-left: 0;
	vertical-align: baseline;
}
.v2-checkout .v2-products-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height .25s ease;
	border-top: 1px solid transparent;
	margin-bottom: 10px;
}
.v2-checkout .v2-products-panel.is-open {
	max-height: 360px;
	overflow-y: auto;
	border-top-color: #ececec;
	padding-top: 10px;
}
.v2-checkout .v2-products-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.v2-checkout .v2-products-item:last-child {
	margin-bottom: 0;
}
.v2-checkout .v2-products-item__thumb img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #efefef;
}
.v2-checkout .v2-products-item__body {
	flex: 1 1 auto;
	min-width: 0;
}
.v2-checkout .v2-products-item__title {
	display: block;
	color: #111;
	font-size: .92rem;
	line-height: 1.25;
}
.v2-checkout .v2-products-item__meta {
	font-size: .8rem;
	color: #666;
}
.v2-checkout .v2-products-item__price {
	font-size: .88rem;
	white-space: nowrap;
	font-weight: 600;
}

/* Checkout: обобщение вдясно; на десктоп се позиционира с JS (fixed), не sticky */
.v2-checkout .v2-checkout-summary-col {
	position: relative;
}
.v2-checkout .v2-summary-sticky-inner {
	position: relative;
	z-index: 1;
	transition: box-shadow 0.2s ease, top 0.12s ease-out;
}
.v2-checkout .v2-summary-sticky-inner.is-floating {
	z-index: 1;
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}
@media (max-width: 991.98px) {
	.v2-checkout .v2-summary-sticky-inner {
		margin-top: 1.25rem;
	}
	.v2-checkout .v2-summary-sticky-inner.is-floating {
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	}
}

.v2-checkout button.is-loading {
	opacity: 0.8;
	pointer-events: none;
}

/* Модал: общи условия (v2 checkout) */
body.v2-terms-modal-open {
	overflow: hidden;
}
.v2-terms-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	box-sizing: border-box;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}
.v2-terms-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}
.v2-terms-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}
.v2-terms-modal__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 720px;
	max-height: min(92vh, 900px);
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
	overflow: hidden;
}
.v2-terms-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid #e8e8e8;
	flex: 0 0 auto;
	background: #fafafa;
}
.v2-terms-modal__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
	color: #111;
	padding-right: 8px;
}
.v2-terms-modal__icon-close {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin: -6px -6px -6px 0;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	color: #555;
	cursor: pointer;
	border-radius: 6px;
	transition: background 0.15s ease, color 0.15s ease;
}
.v2-terms-modal__icon-close:hover,
.v2-terms-modal__icon-close:focus {
	background: rgba(0, 0, 0, 0.06);
	color: #111;
	outline: none;
}
.v2-terms-modal__body {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 16px 18px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #333;
	min-height: 120px;
}
.v2-terms-modal__body img {
	max-width: 100%;
	height: auto;
}
.v2-terms-modal__body table {
	max-width: 100%;
	display: block;
	overflow-x: auto;
}
.v2-terms-modal__loading {
	color: #666;
	text-align: center;
	padding: 24px 8px;
}
.v2-terms-modal__footer {
	flex: 0 0 auto;
	padding: 12px 16px 16px;
	border-top: 1px solid #eee;
	background: #fff;
}
.v2-terms-modal__footer .btn {
	border-radius: 8px;
	padding-top: 10px;
	padding-bottom: 10px;
}
@media (max-width: 575.98px) {
	.v2-terms-modal {
		padding: 0;
		align-items: stretch;
	}
	.v2-terms-modal__panel {
		max-width: none;
		max-height: none;
		height: 100%;
		border-radius: 0;
	}
	.v2-terms-modal__header {
		padding: 12px 12px 12px 14px;
	}
	.v2-terms-modal__title {
		font-size: 1.05rem;
	}
	.v2-terms-modal__body {
		padding: 14px;
	}
}
