/* Plain content pages — Доставка та оплата, Про нас, Договір оферти,
   Політика конфіденційності (theme/quiche/index.php wraps them in
   .container.section > article > h1 + content). Same tokens as the rest of
   the site: Playfair headings, Inter body, terracotta accent. */

body.page:not(.home) .container.section > article {
	max-width: 860px;
}
body.page:not(.home) .container.section > article > h1 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--display-h1);
	line-height: 1.15;
	color: var(--color-text);
	margin: 0 0 var(--space-6);
}
@media (min-width: 1024px) {
	body.page:not(.home) .container.section > article > h1 { font-size: 3rem; }
}

.quiche-page-lead {
	font-size: var(--text-lg);
	line-height: 1.6;
	color: var(--color-text-muted);
	margin: 0 0 var(--space-7);
}

body.page:not(.home) article h2 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--display-h2);
	line-height: 1.25;
	color: var(--color-text);
	margin: var(--space-8) 0 var(--space-4);
	scroll-margin-top: 96px;
}
body.page:not(.home) article h2:first-child { margin-top: 0; }
body.page:not(.home) article h3 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--text-xl);
	margin: var(--space-6) 0 var(--space-3);
}
body.page:not(.home) article p,
body.page:not(.home) article li {
	font-size: var(--text-base);
	line-height: 1.7;
	color: var(--color-text);
}
body.page:not(.home) article p { margin: 0 0 var(--space-4); }
body.page:not(.home) article ul {
	margin: 0 0 var(--space-5);
	padding-left: 1.25em;
	list-style: disc;
}
body.page:not(.home) article li { margin-bottom: var(--space-2); }
body.page:not(.home) article li::marker { color: var(--color-accent); }
body.page:not(.home) article a {
	color: var(--color-accent-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.page:not(.home) article a:hover { color: var(--color-accent); }

/* Cards: pickup points, delivery facts, contacts */
.quiche-info-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	margin: 0 0 var(--space-5);
}
@media (min-width: 640px) {
	.quiche-info-cards { grid-template-columns: repeat(2, 1fr); }
}
.quiche-info-card {
	padding: var(--space-5);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}
body.page:not(.home) .quiche-info-card p { margin: 0 0 var(--space-1); }
body.page:not(.home) .quiche-info-card p:last-child { margin-bottom: 0; }
body.page:not(.home) .quiche-info-card .quiche-info-card__title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--text-lg);
	margin-bottom: var(--space-2);
}
body.page:not(.home) .quiche-info-card .quiche-info-card__muted { color: var(--color-text-muted); }
body.page:not(.home) .quiche-info-card__big {
	font-family: var(--font-heading);
	font-size: var(--display-h2);
	font-weight: 600;
	color: var(--color-accent-dark);
	line-height: 1.1;
}

.quiche-note {
	padding: var(--space-4) var(--space-5);
	background: var(--color-cream);
	border-left: 3px solid var(--color-accent);
	border-radius: var(--radius-sm);
	margin: 0 0 var(--space-5);
}
body.page:not(.home) .quiche-note p:last-child { margin-bottom: 0; }

/* Про нас */
.quiche-about {
	display: grid;
	gap: var(--space-6);
	align-items: start;
	margin-bottom: var(--space-7);
}
@media (min-width: 900px) {
	.quiche-about { grid-template-columns: 1.2fr 1fr; gap: var(--space-8); }
}
.quiche-about img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}
.quiche-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	margin: 0 0 var(--space-6);
}
@media (min-width: 640px) {
	.quiche-stats { grid-template-columns: repeat(3, 1fr); }
}
.quiche-stats .quiche-info-card { text-align: center; }

/* Legal tables (seller details) */
body.page:not(.home) article table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 var(--space-5);
	font-size: var(--text-sm);
}
body.page:not(.home) article td {
	padding: var(--space-2) var(--space-3) var(--space-2) 0;
	border-bottom: 1px solid var(--color-border);
	vertical-align: top;
}
body.page:not(.home) article td:first-child {
	width: 40%;
	color: var(--color-text-muted);
}
