/* AVELOR — Доставка та оплата. Editorial 2-col with sticky TOC. Prefix: sh- */

/* Hide Blocksy auto-rendered page hero — we render our own */
body.avelor-shipping-page .hero-section,
body.avelor-shipping-page .entry-header { display: none !important; }
body.avelor-shipping-page main#main { padding: 0; }

.sh-page {
	color: var(--fg-primary);
	background: var(--bg-page);
	padding-bottom: 96px;
}
.sh-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding-left: var(--container-pad);
	padding-right: var(--container-pad);
	box-sizing: border-box;
}

/* =====================================================
   Hero
   ===================================================== */
.sh-hero {
	padding-top: 56px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--avelor-line);
}
.sh-hero-row {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}
.sh-eyebrow {
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
	font-weight: 600; color: var(--fg-secondary);
	display: inline-flex; align-items: center; gap: 12px;
}
.sh-eyebrow .bar {
	width: 32px; height: 1px;
	background: var(--fg-secondary);
	display: inline-block;
}
.sh-hero-crumbs {
	font-size: 12px; color: var(--fg-muted);
	display: inline-flex; align-items: center; gap: 10px;
}
.sh-hero-crumbs a {
	color: var(--fg-muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.sh-hero-crumbs a:hover { color: var(--fg-primary); border-bottom-color: var(--avelor-line); }
.sh-hero-crumbs .sep { color: var(--avelor-line); }
.sh-hero h1 {
	font-family: var(--font-display);
	font-size: clamp(40px, 6vw, 84px);
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 500;
	margin: 0;
	color: var(--avelor-graphite);
	max-width: 18ch;
}
.sh-hero-sub {
	font-size: 17px; line-height: 1.6;
	color: var(--fg-secondary);
	max-width: 60ch;
	margin: 24px 0 0;
}

/* =====================================================
   Body grid
   ===================================================== */
.sh-body {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 96px;
	padding-top: 72px;
}

/* =====================================================
   TOC
   ===================================================== */
.sh-toc {
	position: sticky;
	top: 96px;
	align-self: start;
	display: flex; flex-direction: column;
	gap: 20px;
}
.sh-toc-label {
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
	font-weight: 600; color: var(--fg-muted);
	padding-bottom: 12px;
	border-bottom: 1px solid var(--avelor-line);
}
.sh-toc-list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 2px;
}
.sh-toc-list li a {
	display: grid; grid-template-columns: 28px 1fr;
	gap: 10px; align-items: baseline;
	padding: 8px 0;
	text-decoration: none;
	color: var(--fg-muted);
	font-size: 14px; line-height: 1.3;
	transition: color var(--dur-base) var(--ease-out);
}
.sh-toc-list li a .num {
	font-size: 11px; letter-spacing: 0.18em;
	color: var(--avelor-line);
	font-variant-numeric: tabular-nums;
	transition: color var(--dur-base) var(--ease-out);
}
.sh-toc-list li a:hover { color: var(--fg-primary); }
.sh-toc-list li a:hover .num { color: var(--fg-muted); }
.sh-toc-list li.is-active a {
	color: var(--avelor-deep-green);
	font-weight: 500;
}
.sh-toc-list li.is-active a .num {
	color: var(--avelor-deep-green);
}
.sh-toc-meta {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--avelor-line);
	display: flex; flex-direction: column; gap: 2px;
}
.sh-toc-meta .k {
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
	font-weight: 600; color: var(--fg-muted);
}
.sh-toc-meta .v {
	font-size: 14px; color: var(--fg-primary); font-weight: 500;
}

/* =====================================================
   Article
   ===================================================== */
.sh-article {
	max-width: 64ch;
	display: flex; flex-direction: column; gap: 72px;
}
.sh-block { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 96px; }
.sh-block-head {
	display: flex; align-items: baseline; gap: 14px;
	margin-bottom: 4px;
}
.sh-block-head .num {
	font-size: 12px; letter-spacing: 0.22em;
	font-weight: 600; color: var(--avelor-deep-green);
	font-variant-numeric: tabular-nums;
	padding: 4px 0;
	border-top: 1px solid var(--avelor-deep-green);
}
.sh-block-head h2 {
	font-family: var(--font-display);
	font-size: 32px; line-height: 1.1;
	letter-spacing: -0.02em; font-weight: 500;
	color: var(--avelor-graphite);
	margin: 0;
}
.sh-block p {
	font-size: 16px; line-height: 1.65;
	color: var(--fg-primary);
	margin: 0;
	text-wrap: pretty;
}
.sh-block .lede {
	font-size: 17px;
	color: var(--fg-primary);
}
.sh-block .sh-muted {
	font-size: 14px;
	color: var(--fg-muted);
	line-height: 1.65;
}

/* Options list in section 01 */
.sh-options {
	list-style: none; margin: 4px 0 0; padding: 0;
	border-top: 1px solid var(--avelor-line);
}
.sh-options li {
	display: grid; grid-template-columns: 220px 1fr;
	gap: 32px;
	padding: 20px 0;
	border-bottom: 1px solid var(--avelor-line);
	align-items: baseline;
}
.sh-options li .t {
	font-size: 14px; font-weight: 500;
	color: var(--avelor-graphite);
}
.sh-options li .m {
	font-size: 14px; line-height: 1.65;
	color: var(--fg-muted);
}

/* =====================================================
   Cutoff card
   ===================================================== */
.sh-cutoff {
	background: var(--avelor-milk);
	border: 1px solid var(--avelor-line);
	border-radius: var(--radius-lg);
	padding: 24px;
	margin: 8px 0 4px;
}
.sh-cutoff-head {
	display: flex; align-items: baseline; justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--avelor-line);
}
.sh-cutoff-eyebrow {
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
	font-weight: 600; color: var(--avelor-graphite);
}
.sh-cutoff-zone {
	font-size: 11px; letter-spacing: 0.12em;
	color: var(--fg-muted);
	font-variant-numeric: tabular-nums;
}
.sh-cutoff-rows { display: flex; flex-direction: column; }
.sh-cutoff-row {
	display: grid;
	grid-template-columns: 100px minmax(180px, auto) 1fr;
	gap: 24px;
	align-items: baseline;
	padding: 18px 0;
	border-bottom: 1px solid var(--avelor-line);
}
.sh-cutoff-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.sh-cutoff-row .day {
	font-size: 13px; letter-spacing: 0.04em;
	font-weight: 500; color: var(--avelor-graphite);
}
.sh-cutoff-row .time {
	font-family: var(--font-display);
	line-height: 1;
	font-weight: 500;
	color: var(--avelor-deep-green);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}
.sh-cutoff-row .time .prefix {
	font-size: 13px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--fg-muted);
	font-weight: 600;
}
.sh-cutoff-row .time .hh {
	font-size: 36px;
	letter-spacing: -0.02em;
}
.sh-cutoff-row .time .sep {
	font-size: 28px;
	color: var(--avelor-line);
	margin: 0 1px;
}
.sh-cutoff-row .time .mm {
	font-size: 13px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--avelor-deep-green);
	margin-left: -2px;
}
.sh-cutoff-row .hint {
	font-size: 13px; color: var(--fg-muted);
	line-height: 1.5;
}
.sh-cutoff-row--muted .time {
	color: var(--avelor-line);
	font-size: 28px;
}
.sh-cutoff-row--muted .day {
	color: var(--fg-muted);
	font-weight: 400;
}
.sh-cutoff-foot {
	font-size: 13px !important;
	line-height: 1.65;
	color: var(--fg-muted) !important;
	padding-top: 16px;
	border-top: 1px solid var(--avelor-line);
	margin: 16px 0 0 !important;
}

/* =====================================================
   Callout
   ===================================================== */
.sh-callout {
	display: flex; flex-direction: column; gap: 8px;
	padding: 20px 24px;
	border-left: 2px solid var(--avelor-deep-green);
	background: rgba(31, 61, 53, 0.04);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	margin-top: 8px;
}
.sh-callout-k {
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
	font-weight: 600; color: var(--avelor-deep-green);
}
.sh-callout p {
	font-size: 14px !important;
	line-height: 1.65;
	color: var(--fg-primary);
	margin: 0;
}

/* =====================================================
   Payment list
   ===================================================== */
.sh-pay-list {
	list-style: none; margin: 8px 0 0; padding: 0;
	border-top: 1px solid var(--avelor-line);
}
.sh-pay-list li {
	display: grid;
	grid-template-columns: 36px 220px 1fr;
	gap: 24px;
	align-items: baseline;
	padding: 18px 0;
	border-bottom: 1px solid var(--avelor-line);
}
.sh-pay-num {
	font-size: 11px; letter-spacing: 0.18em;
	font-weight: 600;
	color: var(--fg-muted);
	font-variant-numeric: tabular-nums;
}
.sh-pay-t {
	font-size: 15px; font-weight: 500;
	color: var(--avelor-graphite);
}
.sh-pay-m {
	font-size: 14px; line-height: 1.65;
	color: var(--fg-muted);
}

/* =====================================================
   Help block
   ===================================================== */
.sh-help {
	margin-top: 16px;
	padding: 40px 0 0;
	border-top: 1px solid var(--avelor-line);
	display: flex; flex-direction: column; gap: 32px;
}
.sh-help-row { display: flex; flex-direction: column; gap: 10px; }
.sh-help-eyebrow {
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
	font-weight: 600; color: var(--fg-secondary);
}
.sh-help h3 {
	font-family: var(--font-display);
	font-size: 28px; line-height: 1.15;
	letter-spacing: -0.02em; font-weight: 500;
	color: var(--avelor-graphite);
	margin: 0;
	max-width: 22ch;
}
.sh-help-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--avelor-line);
}
.sh-help-item {
	display: flex; flex-direction: column; gap: 6px;
	padding: 20px 24px 20px 0;
	border-right: 1px solid var(--avelor-line);
}
.sh-help-item:last-child { border-right: 0; padding-right: 0; }
.sh-help-item:not(:first-child) { padding-left: 24px; }
.sh-help-item .k {
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
	font-weight: 600; color: var(--fg-muted);
}
.sh-help-item .v {
	font-size: 16px; font-weight: 500;
	color: var(--avelor-graphite);
	text-decoration: none;
	border-bottom: 1px solid var(--avelor-line);
	align-self: flex-start;
	transition: border-color var(--dur-base) var(--ease-out);
}
.sh-help-item .v:hover { border-bottom-color: var(--avelor-graphite); }
.sh-help-item .h {
	font-size: 12px; color: var(--fg-muted);
}

/* =====================================================
   Mobile
   ===================================================== */
@media (max-width: 1024px) {
	.sh-hero {
		padding-top: 32px;
		padding-bottom: 32px;
	}
	.sh-hero-row { margin-bottom: 24px; }
	.sh-hero-crumbs { display: none; }
	.sh-body {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-top: 40px;
	}
	.sh-toc {
		position: static;
		padding: 20px;
		border: 1px solid var(--avelor-line);
		border-radius: var(--radius-md);
		background: var(--avelor-milk);
	}
	.sh-toc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
	.sh-toc-list li a { padding: 6px 0; font-size: 13px; }
	.sh-toc-meta { display: none; }
	.sh-article { max-width: none; gap: 56px; }
	.sh-block-head h2 { font-size: 26px; }
	.sh-options li,
	.sh-pay-list li { grid-template-columns: 1fr; gap: 6px; }
	.sh-pay-list li { grid-template-columns: 28px 1fr; }
	.sh-pay-list li .sh-pay-m { grid-column: 2; }
	.sh-cutoff-row { grid-template-columns: 88px 1fr; gap: 16px; }
	.sh-cutoff-row .hint { grid-column: 1 / -1; }
	.sh-cutoff-row .time { font-size: 28px; }
	.sh-help-grid { grid-template-columns: 1fr; }
	.sh-help-item {
		padding: 18px 0 !important;
		border-right: 0 !important;
		border-bottom: 1px solid var(--avelor-line);
	}
	.sh-help-item:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
	.sh-container { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
	.sh-container { padding-left: 16px; padding-right: 16px; }
	.sh-toc-list { grid-template-columns: 1fr; }
	.sh-hero h1 { font-size: 36px; }
	.sh-hero-sub { font-size: 15px; }
	.sh-cutoff { padding: 18px; }
	.sh-cutoff-row .time { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.sh-page * { transition: none !important; }
}
