/* ===== SECTION: Thank You Page - Start ===== */
/* Числа з макета ArtGolka: 1920 `471:35315`, 1480 `476:56850`, 375 `471:40951`.
   Композиція одна на обидві гілки шаблона (замовлення і заявка): кремова секція,
   колонка по центру, багато повітря. Склад замовлення макет не малює — виводимо
   його вспроти макету окремим блоком під абзацами (рішення власника 18.08.2026). */
.thank-you-section {
	display: flex;
	align-items: center;
	min-height: calc(100vh - var(--header-height));
	padding: 160px 0;
}

.thank-you-section .one-column {
	text-align: center;
	gap: 40px;
}

.thank-you-section h1 {
	max-width: 860px;
	margin: 0 auto;
	font-family: var(--font-family-2);
	font-size: 56px;
	line-height: 65px;
	font-weight: 400;
}

/* Manrope Light 300 — стиль підзаголовка проекту (той самий, що в hero) */
.thank-you-section .thank-you-description {
	max-width: 720px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 27px;
	font-weight: 300;
	color: var(--black);
}

/* Order Contents - Start */
/* Блока в макеті немає — свій, нейтральний: світла підложка, текст ліворуч,
   ширина під колонку тексту, щоб не ламати центровану композицію. */
.thank-you-section-woo .order-info-group {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 30px;
	text-align: left;
	background: var(--white);
	border-radius: var(--radius-medium);
}

.thank-you-section-woo .order-info-head {
	display: flex;
	justify-content: space-between;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
}

.thank-you-section-woo .order-info-head .order-number-value {
	font-family: var(--font-family-2);
	font-weight: 400;
	color: rgb(0 0 0 / 48%);
}

.thank-you-section-woo .cart-all-items {
	display: flex;
	flex-direction: column;
	overflow: auto;
	max-height: 320px;
	margin-top: 20px;
}

.thank-you-section-woo .order-total-row {
	display: flex;
	justify-content: space-between;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.thank-you-section-woo .order-total-row .order-total-value {
	font-family: var(--font-family-1);
	font-size: 18px;
	font-weight: 600;
}

/* Лічильник тут read-only (input + знак ×) — рамка і внутрішні відступи ні до чого */
.order-info-group .product-item .custom-quantity-input {
	border: none;
	padding: 0;
}

.order-info-group .product-item .custom-quantity-input .quantity-display {
	width: 18px;
}
/* Order Contents - End */

@media (max-width: 1680px) {
	.thank-you-section .one-column {
		gap: 32px;
	}

	.thank-you-section h1 {
		margin-bottom: 8px;
		font-size: 48px;
		line-height: 56px;
	}

	.thank-you-section .thank-you-description {
		font-size: 16px;
		line-height: 24px;
	}
}

@media (max-width: 1279px) {
	.thank-you-section {
		padding: 80px 0;
	}

	.thank-you-section .one-column {
		gap: 24px;
	}

	.thank-you-section h1 {
		max-width: 100%;
		margin-bottom: 36px;
		font-size: 34px;
		line-height: 31px;
	}

	/* На мобільному підзаголовок подяки НЕ зменшується — так у макеті (18/27),
	   на відміну від 404, де він падає до 14/21. Розбіжність макета, не помилка вёрстки. */
	.thank-you-section .thank-you-description {
		max-width: 100%;
		font-size: 18px;
		line-height: 27px;
	}

	.thank-you-section-woo .order-info-group {
		padding: 20px;
	}

	.thank-you-section-woo .cart-all-items {
		max-height: 260px;
	}
}
/* ===== SECTION: Thank You Page - End ===== */
