/* Besteloverzicht op de bedankpagina (blok "order_summary") — in de Textielhuis-huisstijl:
   witte kaart, productregels met thumbnail, nette totalen en factuur-/afleveradres-kaartjes. */
.th-ordersum { padding-block: 8px 56px; }
.th-ordersum__inner {
	max-width: 760px; margin-inline: auto;
	background: #fff; border: 1px solid #e6e6e6; border-radius: 12px;
	padding: 34px 36px;
	box-shadow: 0 14px 34px -24px rgba(0, 0, 0, .28);
	text-align: left;
}

.th-ordersum__title {
	font-family: var(--th-font-heading); font-weight: 600; font-size: 22px; line-height: 1.3;
	color: var(--th-dark); margin: 0;
}
.th-ordersum__title::after {
	content: ""; display: block; width: 46px; height: 3px; border-radius: 3px;
	background: var(--th-gold); margin-top: 10px;
}

/* Producttabel */
.th-ordersum__table { width: 100%; border-collapse: collapse; font-family: var(--th-font-body); font-size: 15px; color: #000; margin-top: 24px; }
.th-ordersum__table thead th {
	font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: #8a8a8a;
	text-align: left; padding: 0 8px 12px; border-bottom: 1px solid #ececec;
}
/* Koppen boven hun kolom uitlijnen: Aantal gecentreerd, Prijs rechts (net als de waarden). */
.th-ordersum__table thead th.th-ordersum__qty { text-align: center; }
.th-ordersum__table thead th.th-ordersum__price { text-align: right; }
.th-ordersum__table tbody td { padding: 14px 8px; vertical-align: middle; border-bottom: 1px solid #f1f1f1; }
.th-ordersum__qty { width: 90px; text-align: center; color: #333; }
.th-ordersum__price { width: 140px; text-align: right; white-space: nowrap; font-weight: 600; color: var(--th-dark); }

.th-ordersum__product { display: flex; align-items: center; gap: 14px; }
.th-ordersum__thumb {
	flex: 0 0 auto; width: 60px; height: 60px; border-radius: 8px; overflow: hidden;
	background: #f6f6f6; border: 1px solid #eee;
}
.th-ordersum__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th-ordersum__pname { font-weight: 500; line-height: 1.35; color: var(--th-dark); }

/* Totalen (subtotaal / verzending / btw / totaal) */
.th-ordersum__table tfoot th { text-align: right; font-weight: 400; color: #555; padding: 8px; }
.th-ordersum__table tfoot td { text-align: right; white-space: nowrap; padding: 8px; color: #000; }
.th-ordersum__table tfoot tr:first-child th,
.th-ordersum__table tfoot tr:first-child td { padding-top: 18px; }
.th-ordersum__total--order_total th,
.th-ordersum__total--order_total td {
	font-family: var(--th-font-heading); font-weight: 700; font-size: 18px; color: var(--th-dark);
	border-top: 2px solid #e6e6e6; padding-top: 14px;
}

/* Adressen als nette kaartjes */
.th-ordersum__addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.th-ordersum__addr { background: #faf9f7; border: 1px solid #eee; border-radius: 10px; padding: 18px 20px; }
.th-ordersum__addr-title { font-family: var(--th-font-heading); font-weight: 600; font-size: 15px; color: var(--th-dark); margin: 0 0 8px; }
.th-ordersum__addr-body { font-style: normal; font-family: var(--th-font-body); font-size: 14px; line-height: 1.7; color: #333; }
.th-ordersum__email { margin: 18px 0 0; font-family: var(--th-font-body); font-size: 14px; color: #333; }

@media (max-width: 600px) {
	.th-ordersum__inner { padding: 22px 18px; border-radius: 10px; }
	.th-ordersum__addresses { grid-template-columns: 1fr; gap: 14px; }
	.th-ordersum__product { gap: 11px; }
	.th-ordersum__thumb { width: 50px; height: 50px; }
	.th-ordersum__qty { width: 54px; }
	.th-ordersum__price { width: 92px; }
	.th-ordersum__table thead th,
	.th-ordersum__table tbody td { padding-left: 4px; padding-right: 4px; }
}
