/**
 * Інформаційні та юридичні сторінки (Figma: Info page, Public offer, Privacy policy).
 * Зміст 290 (липкий) + вміст 730, вступ 840.
 */
.sh-page { padding: var(--sh-space-24) 0 var(--sh-space-80); color: var(--sh-color-text-primary); font-family: var(--sh-font); }
.sh-page p, .sh-page h1, .sh-page h2, .sh-page ol, .sh-page ul { margin: 0; }
:where(.sh-page) a { border-bottom: 0; }
.sh-page__crumbs { margin-bottom: var(--sh-space-40); }

.sh-page__intro { display: flex; flex-direction: column; gap: var(--sh-space-16); max-width: 840px; margin-bottom: var(--sh-space-56); }
.sh-legal__head { flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; max-width: none; margin-bottom: var(--sh-space-32); }
.sh-page__title { font: 700 56px/1.05 var(--sh-font); letter-spacing: -1.96px; text-transform: none; }
.sh-page__lead { color: var(--sh-color-text-muted); font: 500 16px/1.5 var(--sh-font); }
.sh-page__meta { margin-top: var(--sh-space-8) !important; color: var(--sh-color-text-meta); font: 500 14px/20px var(--sh-font); }
.sh-page__note { padding: 16px 20px; border-radius: var(--sh-radius-16); background: var(--sh-color-bg-warm); font: 500 16px/1.5 var(--sh-font); }
.sh-page__note > * + * { margin-top: 8px !important; }
.sh-page__textlink { display: inline-flex; align-items: center; gap: var(--sh-space-6); min-height: 38px; color: var(--sh-color-primary-dark); font: 600 16px/1.3 var(--sh-font); text-decoration: none; }
.sh-page a.sh-page__textlink { color: var(--sh-color-primary-dark); }
.sh-page__textlink:hover { text-decoration: underline; text-underline-offset: 3px; }

.sh-page__layout { display: grid; grid-template-columns: 290px minmax(0, 730px); justify-content: start; /* зміст — по лівому краю, як заголовок */ gap: var(--sh-space-40); align-items: start; }
.sh-page__content { display: flex; flex-direction: column; gap: var(--sh-space-64); min-width: 0; }

/* ── Зміст ── */
.sh-toc { position: sticky; top: 101px; max-height: calc(100vh - 120px); overflow-y: auto; }
.admin-bar .sh-toc { top: 133px; }
.sh-toc__label { margin-bottom: var(--sh-space-12) !important; padding-left: 12px; color: var(--sh-color-text-meta); font: 500 12px/1.5 var(--sh-font); text-transform: uppercase; letter-spacing: 0.5px; }
.sh-toc__list { display: flex; flex-direction: column; gap: 4px; padding: 0 !important; list-style: none; }
.sh-toc__list li { margin: 0; }
.sh-toc__list li::before { content: none; }
.sh-toc__link { display: block; padding: 8px 12px; border-left: 2px solid transparent; color: var(--sh-color-text-primary); font: 500 16px/1.4 var(--sh-font); text-decoration: none; transition: border-color var(--sh-transition), color var(--sh-transition); }
.sh-page a.sh-toc__link { color: var(--sh-color-text-primary); }
.sh-toc__link:hover { border-left-color: var(--sh-color-border-strong); }
.sh-toc__link.is-active { border-left-color: var(--sh-color-primary-accessible); font-weight: 700; }

/* ── Доставка, оплата… ── */
.sh-info-sec { display: flex; flex-direction: column; gap: var(--sh-space-24); scroll-margin-top: 120px; }
.sh-info-sec__title { display: flex; align-items: center; gap: var(--sh-space-16); font: 600 32px/1.2 var(--sh-font); letter-spacing: -0.5px; text-transform: none; }
.sh-info-sec__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sh-color-bg-warm); }
.sh-info-sec__text { color: var(--sh-color-text-secondary); font: 500 16px/1.5 var(--sh-font); }
.sh-info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sh-space-16); padding: 0 !important; list-style: none; }
.sh-info-card { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 20px; border-radius: var(--sh-radius-16); background: var(--sh-color-bg-warm); }
.sh-info-card::before { content: none; }
.sh-info-card strong { font: 600 16px/1.25 var(--sh-font); }
.sh-info-card span { color: var(--sh-color-text-tertiary); font: 500 14px/20px var(--sh-font); }
.sh-info-steps { display: flex; flex-direction: column; gap: var(--sh-space-12); padding: 0 !important; list-style: none; counter-reset: none; }
.sh-info-steps li { display: flex; align-items: center; gap: var(--sh-space-12); margin: 0; font: 500 16px/1.5 var(--sh-font); }
.sh-info-steps li::before { content: none; }
.sh-info-steps__num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sh-color-primary-accessible); color: #fff; font: 600 12px/1 var(--sh-font); }
.sh-info-sec .sh-page__textlink { align-self: flex-start; margin-top: -8px; }
.sh-info-page__help { padding-top: var(--sh-space-8); }

/* ── Юридичний текст ── */
.sh-legal__preamble { max-width: 840px; margin-bottom: var(--sh-space-56); color: var(--sh-color-text-secondary); font: 500 16px/1.5 var(--sh-font); }
.sh-legal__preamble p + p { margin-top: var(--sh-space-16) !important; }
.sh-legal .sh-page__content { gap: var(--sh-space-40); }
.sh-legal__section { scroll-margin-top: 120px; }
.sh-legal__title { margin-bottom: var(--sh-space-16) !important; font: 600 18px/1.3 var(--sh-font); letter-spacing: -0.25px; text-transform: none; }
.sh-legal__body { display: flex; flex-direction: column; gap: var(--sh-space-12); color: var(--sh-color-text-secondary); font: 500 16px/1.5 var(--sh-font); overflow-wrap: anywhere; }
.sh-legal__body p { margin: 0 !important; }
.sh-legal__body strong { color: var(--sh-color-text-primary); font-weight: 600; }
.sh-legal__body a { color: var(--sh-color-primary-dark); text-decoration: underline; text-underline-offset: 2px; }
.sh-clause { position: relative; padding-left: 68px; }
.sh-clause__num { position: absolute; left: 0; top: 0; width: 56px; color: var(--sh-color-text-primary); font-weight: 500; }
.sh-clause--sub { padding-left: 124px; }
.sh-clause--sub .sh-clause__num { left: 68px; }
.sh-clause--bullet { padding-left: 88px; }
.sh-clause--bullet::before { content: ""; position: absolute; left: 72px; top: 0.7em; width: 5px; height: 5px; border-radius: 50%; background: var(--sh-color-text-tertiary); }
.sh-legal__body ul, .sh-legal__body ol { padding-left: 88px !important; }

@media (max-width: 1279px) {
	.sh-page__layout { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 1023px) {
	.sh-page__layout { grid-template-columns: minmax(0, 1fr); gap: var(--sh-space-32); }
	.sh-toc { position: static; max-height: none; padding: 16px; border-radius: var(--sh-radius-16); background: var(--sh-color-bg-warm); }
}
@media (max-width: 767px) {
	.sh-page { padding-top: var(--sh-space-16); padding-bottom: var(--sh-space-48); }
	.sh-page__crumbs { margin-bottom: var(--sh-space-20); }
	.sh-page__intro { margin-bottom: var(--sh-space-32); }
	.sh-page__title { font: 800 32px/1.1 var(--sh-font); letter-spacing: -1px; text-transform: uppercase; }
	.sh-page__content { gap: var(--sh-space-48); }
	.sh-info-sec { gap: var(--sh-space-16); }
	.sh-info-sec__title { font-size: 24px; gap: var(--sh-space-12); }
	.sh-info-sec__icon { width: 40px; height: 40px; }
	.sh-info-cards { grid-template-columns: minmax(0, 1fr); gap: var(--sh-space-12); }
	.sh-info-card { padding: 16px; }
	.sh-legal__preamble { margin-bottom: var(--sh-space-32); }
	.sh-toc__link { padding: 6px 10px; font-size: 14px; }
	.sh-clause { padding-left: 44px; }
	.sh-clause__num { width: 40px; font-size: 14px; }
	.sh-clause--sub { padding-left: 44px; }
	.sh-clause--sub .sh-clause__num { left: 0; }
	.sh-clause--sub { padding-left: 60px; }
	.sh-clause--bullet { padding-left: 60px; }
	.sh-clause--bullet::before { left: 46px; }
	.sh-legal__body { font-size: 15px; }
}

/* Контакти на сторінці «Доставка, оплата та повернення» */
.sh-info-contacts { display: flex; flex-wrap: wrap; gap: var(--sh-space-8) var(--sh-space-24); margin: 0; padding: 0; list-style: none; }
.sh-info-contacts a { color: var(--sh-color-text-primary); font: 600 20px/1.4 var(--sh-font); text-decoration: none; border-bottom: 0; }
.sh-info-contacts a:hover { color: var(--sh-color-primary-dark); }
