/* ============================================================
 * SMILE HUNTER — generic pages (.sh-page, .sh-prose) + contacts
 * Завантажується на ВСІХ WP pages (через functions.php).
 * ============================================================ */

.sh-page,
.sh-contacts {
	background: var(--sh-floral);
	padding-bottom: 80px;
}
.sh-page .container,
.sh-contacts .container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 12px;
}
@media (min-width: 700px)  {
	.sh-page .container, .sh-contacts .container { padding: 0 20px; }
}
@media (min-width: 1024px) {
	.sh-page .container, .sh-contacts .container { padding: 0 40px; }
	.sh-contacts .container { max-width: 1400px; }
}

/* breadcrumbs */
.sh-page .sh-crumbs,
.sh-contacts .sh-crumbs {
	font-size: 12px;
	color: var(--sh-muted);
	margin-bottom: 24px;
	padding-top: 12px;
}
.sh-page .sh-crumbs a,
.sh-contacts .sh-crumbs a {
	color: var(--sh-muted);
	text-decoration: none;
}
.sh-page .sh-crumbs a:hover,
.sh-contacts .sh-crumbs a:hover { color: var(--sh-ink); }
.sh-page .sh-crumbs .sep,
.sh-contacts .sh-crumbs .sep { margin: 0 8px; opacity: .5; }
.sh-page .sh-crumbs .here,
.sh-contacts .sh-crumbs .here { color: var(--sh-ink); font-weight: 500; }

.sh-page .eyebrow,
.sh-contacts .eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: var(--sh-ebony-dark);
	margin-bottom: 12px;
	text-transform: uppercase;
}

/* ===== Generic page header ===== */
.sh-page-header { margin-bottom: 28px; }
.sh-page-header h1 {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0;
	color: var(--sh-ink);
}
@media (min-width: 768px)  { .sh-page-header h1 { font-size: 48px; } }
@media (min-width: 1024px) { .sh-page-header h1 { font-size: 60px; } }
.sh-page-subtitle {
	font-size: 15px;
	line-height: 1.6;
	color: var(--sh-muted);
	margin: 12px 0 0;
	max-width: 60ch;
}

/* ===== .sh-prose — універсальний rich-text стиль для the_content() ===== */
.sh-prose {
	font-size: 15px;
	line-height: 1.7;
	color: var(--sh-ink);
	max-width: 70ch;
}
@media (min-width: 1024px) { .sh-prose { font-size: 16px; } }

.sh-prose h2 {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 32px 0 12px;
	color: var(--sh-ink);
}
.sh-prose h3 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 24px 0 10px;
	color: var(--sh-ink);
}
.sh-prose h4 {
	font-size: 15px;
	font-weight: 700;
	margin: 18px 0 8px;
	color: var(--sh-ink);
}
.sh-prose p { margin: 0 0 14px; }
.sh-prose strong { font-weight: 700; color: var(--sh-ink); }
.sh-prose em { font-style: italic; }
.sh-prose a {
	color: var(--sh-ebony);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.sh-prose a:hover { color: var(--sh-ebony-dark); }
.sh-prose ul,
.sh-prose ol {
	margin: 0 0 18px;
	padding-left: 24px;
}
.sh-prose ul li,
.sh-prose ol li {
	margin: 6px 0;
}
.sh-prose ul li::marker { color: var(--sh-ebony); }
.sh-prose blockquote {
	border-left: 4px solid var(--sh-ebony);
	padding: 8px 0 8px 18px;
	margin: 18px 0;
	font-style: italic;
	color: var(--sh-ebony-dark);
	background: transparent;
}
.sh-prose hr {
	border: 0;
	border-top: 1px solid var(--sh-timber);
	margin: 32px 0;
}
.sh-prose code {
	background: var(--sh-ash-soft);
	padding: 2px 6px;
	border-radius: 4px;
	font-family: ui-monospace, 'SF Mono', Consolas, monospace;
	font-size: 0.9em;
}
.sh-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 16px 0;
}
.sh-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	font-size: 13px;
}
.sh-prose table th,
.sh-prose table td {
	border: 1px solid var(--sh-timber);
	padding: 10px 12px;
	text-align: left;
}
.sh-prose table th {
	background: var(--sh-ash-soft);
	font-weight: 700;
}

/* ===== Contacts page ===== */
.sh-contacts-header { margin-bottom: 32px; }
@media (min-width: 1024px) { .sh-contacts-header { margin-bottom: 48px; } }
.sh-contacts-header h1 {
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 14px;
	color: var(--sh-ink);
}
@media (min-width: 1024px) { .sh-contacts-header h1 { font-size: 60px; } }
.sh-contacts-header .lead {
	font-size: 15px;
	line-height: 1.6;
	color: var(--sh-ink);
	max-width: 56ch;
	margin: 0;
}
@media (min-width: 1024px) { .sh-contacts-header .lead { font-size: 17px; } }

.sh-contacts-grid {
	display: grid;
	gap: 24px;
}
@media (min-width: 768px) {
	.sh-contacts-grid {
		grid-template-columns: 1.4fr 1fr;
		gap: 32px;
	}
}

/* contacts → видні блоки на retail + partners */
.sh-contacts-links { display: grid; gap: 14px; margin: 28px 0 0; }
@media (min-width: 768px) { .sh-contacts-links { grid-template-columns: 1fr 1fr; gap: 18px; } }
.sh-contacts-link-card { display: flex; align-items: center; gap: 16px; background: var(--sh-ash-soft); border: 1px solid var(--sh-timber); border-radius: 18px; padding: 20px 22px; text-decoration: none !important; color: var(--sh-ink); transition: border-color .2s ease, transform .15s ease, background .2s ease; }
.sh-contacts-link-card:hover { border-color: var(--sh-ebony); transform: translateY(-2px); background: #fff; }
.sh-contacts-link-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.sh-contacts-link-icon svg { width: 24px; height: 24px; color: var(--sh-ebony); }
.sh-contacts-link-body { flex: 1 1 auto; min-width: 0; }
.sh-contacts-link-title { display: block; font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.sh-contacts-link-desc { display: block; font-size: 13px; color: var(--sh-ebony-dark); line-height: 1.4; } /* muted на ash-soft картці = 4.04:1; ebony-dark = 5.4:1 */
.sh-contacts-link-arr { flex: 0 0 auto; font-size: 18px; color: var(--sh-ebony); font-weight: 700; }

.sh-contacts-list {
	display: grid;
	gap: 12px;
}
.sh-contact-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: white;
	border: 1px solid var(--sh-timber);
	border-radius: 18px;
	padding: 18px 20px;
	text-decoration: none !important;
	color: var(--sh-ink) !important;
	transition: transform .15s, box-shadow .15s;
}
.sh-contact-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(26, 26, 26, .06);
}
.sh-contact-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sh-ash-soft);
	border-radius: 12px;
	color: var(--sh-ebony);
}
.sh-contact-icon svg { width: 22px; height: 22px; }
.sh-contact-body { flex: 1; min-width: 0; }
.sh-contact-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sh-muted);
	margin-bottom: 2px;
}
.sh-contact-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--sh-ink);
	word-break: break-word;
}

.sh-contacts-info {
	background: var(--sh-ash-soft);
	border-radius: 18px;
	padding: 22px 24px;
	align-self: start;
}
.sh-contacts-info h3 {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sh-ebony-dark);
	margin: 0 0 14px;
}
.sh-contacts-info ul {
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
	font-size: 14px;
}
.sh-contacts-info ul li {
	padding: 4px 0;
	color: var(--sh-ink);
}
.sh-contacts-info ul li strong {
	font-weight: 700;
	display: inline-block;
	min-width: 80px;
}
.sh-contacts-note {
	font-size: 12px;
	color: var(--sh-muted);
	margin: 0;
	line-height: 1.5;
}

.sh-contacts-prose { margin-top: 48px; }
