/* Оформление чекаута Simple: карточки способов доставки/оплаты с иконками, нумерация шагов */
.simple-content { counter-reset: rk-step; }

/* Заголовки блоков: «1 Покупець», «2 Спосіб доставки»… */
.simple-content .simplecheckout-block .checkout-heading {
	display: flex; align-items: center; gap: 10px;
	background: #fff; border-bottom: 1px solid #e1e1e1; border-radius: 0;
	padding: 10px 0; font-family: Oswald, "Arial Narrow", sans-serif; font-size: 17px; font-weight: 500;
	text-transform: uppercase; letter-spacing: .02em; color: #45464a;
}
.simple-content .simplecheckout-block .checkout-heading::before {
	counter-increment: rk-step; content: counter(rk-step);
	flex: 0 0 24px; width: 24px; height: 24px; line-height: 24px;
	background: #006cb7; color: #fff; text-align: center; font-size: 13px;
}
.simple-content .simplecheckout-block .checkout-heading::after { display: none; }
.simple-content .simplecheckout-block-content { padding: 14px 0 4px; }

/* Каждый блок — отдельная панель в рамке */
.simple-content .simplecheckout-block { border: 1px solid #e1e1e1; padding: 6px 20px 12px; margin-bottom: 20px; background: #fff; }
.simple-content .simplecheckout-block:empty { display: none; } /* пустой simplecheckout_payment_form */
.simple-content .simplecheckout-block .checkout-heading { border-bottom-color: #eee; }
.simple-content #simplecheckout_comment textarea { margin-bottom: 8px !important; }
@media (max-width: 767px) {
	.simple-content .simplecheckout-block { padding: 4px 12px 10px; }
}

/* Карточки способов */
.rk-method-group {
	margin: 4px 0 8px; color: #8a8a8a; font-size: 12px; font-weight: 500;
	text-transform: uppercase; letter-spacing: .06em;
}
.rk-method-group:not(:first-child) { margin-top: 14px; }
.rk-method {
	position: relative; display: flex; align-items: center; gap: 12px;
	margin: 0 0 8px; padding: 10px 40px 10px 10px; cursor: pointer; font-weight: 400;
	background: #fff; border: 1px solid #e1e1e1; border-radius: 0;
	transition: border-color .15s, background-color .15s;
}
.simplecheckout label.rk-method { display: flex !important; margin: 0 0 8px; } /* simple.css: label inline-block !important */
.rk-method:hover { border-color: #b5b5b5; }
.rk-method input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.rk-method.is-active, .rk-method:has(input:checked) {
	border-color: #c8c8c8; background: #f7f7f7;
}
.rk-method:has(input:focus-visible) { outline: 2px solid #006cb7; outline-offset: 2px; }
.rk-method.is-disabled { cursor: default; opacity: .5; }

.rk-method-icon {
	flex: 0 0 28px; width: 28px; height: 28px;
	display: flex; align-items: center; justify-content: center;
	color: #8a8a8a; transition: color .15s;
}
.rk-method-icon svg { width: 22px; height: 22px; display: block; }
.rk-method.is-active .rk-method-icon, .rk-method:has(input:checked) .rk-method-icon { color: #45464a; }

.rk-method-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.rk-method-title { color: #45464a; font-size: 14px; font-weight: 500; }
.rk-method-price { color: #8a8a8a; font-size: 13px; margin-top: 2px; }

/* Кружок-переключатель справа */
.rk-method::after {
	content: ""; position: absolute; right: 14px; top: 50%; margin-top: -10px;
	width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c8c8c8; background: #fff;
	box-sizing: border-box; transition: border-color .15s, border-width .15s;
}
.rk-method.is-active::after, .rk-method:has(input:checked)::after { border: 6px solid #006cb7; }

.rk-method-note {
	margin: -2px 0 10px; padding: 10px 12px;
	background: #f5f5f5; color: #45464a; font-size: 13px; line-height: 1.45;
}
.rk-method-note label { font-weight: 400; margin: 0; }

/* Кнопка подтверждения */
.simple-content #simplecheckout_button_confirm {
	min-width: 260px; padding: 14px 28px; font-size: 16px;
}
@media (max-width: 767px) {
	.simple-content #simplecheckout_button_confirm { width: 100%; min-width: 0; }
	.simple-content .simplecheckout-button-right { float: none; width: 100%; }
}

/* Заголовок корзины: «Очистити кошик» — мелкая ссылка справа, не в стиле заголовка */
.simple-content .checkout-heading .checkout-heading-button {
	margin-left: auto; font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0;
}
.simple-content .checkout-heading .checkout-heading-button a { color: #8a8a8a; text-decoration: underline; }
.simple-content .checkout-heading .checkout-heading-button a:hover { color: #d9534f; }

/* Корзина: картинка 200px из настроек показывается в 120px (чёткая на ретине), название не сжимается */
.simplecheckout-cart td, .simplecheckout-cart td.quantity { vertical-align: middle; }
.simplecheckout-cart td.image img { width: 120px; height: auto; max-width: none; }
.simplecheckout-cart td.name { min-width: 180px; text-align: left; }
.simplecheckout-cart th.name { text-align: left; }
