/* === ЭТАП 2: page-checkout.php === */
/* Переиспользует .stl2-hero/.stl2-container/.stl2-btn--red из
   page-flexible-content.css. Ниже — новые классы этой страницы. */

.stl2-checkout-steps {
	display: flex;
	align-items: center;
	gap: 0;
	margin-top: 28px;
	max-width: 480px;
}
.stl2-checkout-step {
	display: flex;
	align-items: center;
	gap: 10px;
}
.stl2-checkout-step__num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #F34423;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	font-family: Montserrat, sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.stl2-checkout-step__num--done {
	background: #22C55E;
}
.stl2-checkout-step__num--inactive {
	background: rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .5);
}
.stl2-checkout-step__label {
	font-size: 13px;
	font-weight: 600;
	font-family: Montserrat, sans-serif;
	color: #fff;
	white-space: nowrap;
}
.stl2-checkout-step__label--inactive {
	color: rgba(255, 255, 255, .5);
}
.stl2-checkout-step__line {
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, .2);
	margin: 0 12px;
	min-width: 24px;
}

.stl2-checkout-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
	align-items: start;
}

.stl2-checkout-form-card {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 14px;
	padding: 32px;
}
.stl2-checkout-form-card__title {
	font-size: 20px;
	font-weight: 800;
	color: #1A1A1A;
	font-family: Montserrat, sans-serif;
	margin-bottom: 24px;
}

.stl2-form-row {
	margin-bottom: 18px;
}
.stl2-form-row--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.stl2-form-field {
	display: block;
}
.stl2-form-field__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	font-family: Montserrat, sans-serif;
	margin-bottom: 6px;
}
.stl2-form-field input,
.stl2-form-field select,
.stl2-form-field textarea {
	width: 100%;
	height: 46px;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	padding: 0 14px;
	font-size: 14px;
	font-family: Montserrat, sans-serif;
	color: #1A1A1A;
	background: #fff;
	transition: border-color .15s;
}
.stl2-form-field textarea {
	height: auto;
	padding: 12px 14px;
	resize: vertical;
}
.stl2-form-field input:focus,
.stl2-form-field select:focus,
.stl2-form-field textarea:focus {
	outline: none;
	border-color: #F34423;
}

.stl2-checkout-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 24px;
	cursor: pointer;
}
.stl2-checkout-consent input {
	margin-top: 3px;
	flex-shrink: 0;
}
.stl2-checkout-consent span {
	font-size: 12px;
	color: #6B7280;
	font-family: Montserrat, sans-serif;
	line-height: 1.5;
}
.stl2-checkout-consent a {
	color: #F34423;
}

.stl2-checkout-submit {
	width: 100%;
	height: 50px;
	border: none;
	cursor: pointer;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.stl2-checkout-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	font-size: 12px;
	color: #9CA3AF;
	font-family: Montserrat, sans-serif;
}

.stl2-checkout-summary {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 14px;
	padding: 28px;
	position: sticky;
	top: 100px;
}
.stl2-checkout-summary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}
.stl2-checkout-summary__title {
	font-size: 16px;
	font-weight: 800;
	color: #1A1A1A;
	font-family: Montserrat, sans-serif;
}
.stl2-checkout-summary__edit {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	color: #F34423;
	font-family: Montserrat, sans-serif;
	text-decoration: underline;
	padding: 0;
}
.stl2-checkout-summary__item {
	margin-bottom: 16px;
}
.stl2-checkout-summary__items {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #E5E7EB;
}
.stl2-checkout-summary__name a {
	font-size: 13px;
	font-weight: 700;
	color: #1A1A1A;
	text-decoration: none;
	line-height: 1.4;
}
.stl2-checkout-summary__meta {
	display: flex;
	gap: 10px;
	font-size: 12px;
	color: #9CA3AF;
	font-family: Montserrat, sans-serif;
	margin: 4px 0;
}
.stl2-checkout-summary__sum {
	font-size: 13px;
	font-weight: 700;
	color: #F34423;
	font-family: Montserrat, sans-serif;
}
.stl2-checkout-summary__row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: #6B7280;
	font-family: Montserrat, sans-serif;
	margin-bottom: 10px;
}
.stl2-checkout-summary__row strong {
	color: #1A1A1A;
	font-weight: 700;
}
.stl2-checkout-summary__row--total {
	padding-top: 10px;
	border-top: 1px solid #E5E7EB;
	font-size: 15px;
}
.stl2-checkout-summary__row--total span {
	font-weight: 700;
	color: #1A1A1A;
}
.stl2-checkout-summary__row--total strong {
	font-size: 20px;
	font-weight: 800;
	color: #F34423;
}
.stl2-checkout-summary__clear {
	display: block;
	text-align: center;
	font-size: 12px;
	color: #9CA3AF;
	font-family: Montserrat, sans-serif;
	text-decoration: underline;
	margin-top: 14px;
}
.stl2-checkout-summary__back {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	font-size: 13px;
	font-weight: 600;
	color: #6B7280;
	text-decoration: none;
	font-family: Montserrat, sans-serif;
}

.stl2-checkout-empty {
	text-align: center;
	padding: 64px 20px;
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 14px;
}
.stl2-checkout-empty i {
	font-size: 40px;
	color: #E5E7EB;
	margin-bottom: 16px;
}
.stl2-checkout-empty h2 {
	font-size: 22px;
	font-weight: 800;
	color: #1A1A1A;
	font-family: Montserrat, sans-serif;
	margin-bottom: 8px;
}
.stl2-checkout-empty p {
	font-size: 14px;
	color: #6B7280;
	font-family: Montserrat, sans-serif;
	margin-bottom: 24px;
}

@media (max-width: 900px) {
	.stl2-checkout-layout {
		grid-template-columns: 1fr;
	}
	.stl2-form-row--2col {
		grid-template-columns: 1fr;
	}
	.stl2-checkout-summary {
		position: static;
	}
	.stl2-checkout-steps {
		max-width: none;
	}
	.stl2-checkout-step__label {
		display: none;
	}
}
