/*
 * Shipping Policy — Docs Shell (sticky sidebar layout)
 * Depends on: design-tokens.css, log-sp-hero.css
 * Page: body.log-shipping-page
 */

/* ── DOCS SHELL ── */
.docs-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 64px 24px 30px;
	display: grid;
	grid-template-columns: 272px 1fr;
	gap: 46px;
	align-items: start;
}

.docs-nav-wrap {
	position: sticky;
	top: 138px;
	display: flex;
	gap: 16px;
	min-width: 0;
}

.docs-progress-rail {
	position: relative;
	width: 4px;
	background: var(--line);
	border-radius: 99px;
	flex-shrink: 0;
	overflow: hidden;
}

.docs-progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0%;
	background: linear-gradient(180deg, var(--sage-400), var(--sage-600));
	border-radius: 99px;
	transition: height .2s linear;
	box-shadow: 0 0 12px rgba(29, 219, 149, .55);
}

.docs-nav-col { flex: 1; min-width: 0; }

.docs-nav-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 18px 14px;
	box-shadow: var(--shadow-sm);
}

.docs-nav { display: flex; flex-direction: column; gap: 3px; }

.docs-nav-title {
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--plum-700);
	margin-bottom: 10px;
	padding-left: 4px;
}

.docs-nav a {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 8px 10px;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink-700);
	transition: all .25s var(--ease);
}

.docs-nav-icon {
	width: 27px;
	height: 27px;
	border-radius: 9px;
	flex-shrink: 0;
	background: var(--blush-100);
	color: var(--plum-700);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .25s var(--ease);
}

.docs-nav-icon .icon { width: 13px; height: 13px; }
.docs-nav a:hover { background: var(--paper); transform: translateX(2px); }

.docs-nav a.active {
	background: linear-gradient(120deg, var(--sage-500), var(--sage-400));
	color: var(--plum-950);
	box-shadow: 0 10px 22px rgba(29, 219, 149, .3);
}

.docs-nav a.active .docs-nav-icon {
	background: rgba(255, 255, 255, .4);
	color: var(--plum-950);
}

.docs-help-card {
	margin-top: 14px;
	background: linear-gradient(155deg, var(--plum-900), var(--plum-700));
	border-radius: var(--r-lg);
	padding: 16px 18px;
	box-shadow: var(--shadow-md);
	position: relative;
	overflow: hidden;
}

.docs-help-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.docs-help-icon {
	width: 28px;
	height: 28px;
	border-radius: 9px;
	background: rgba(255, 255, 255, .14);
	color: var(--sage-400);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.docs-help-icon .icon { width: 13px; height: 13px; }

.docs-help-card h5 {
	font-family: var(--display);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.docs-help-card p {
	font-size: 12px;
	color: #e4d3e0;
	line-height: 1.5;
	margin-bottom: 12px;
}

.btn-mini {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--plum-950);
	background: var(--sage-500);
	padding: 8px 14px;
	border-radius: var(--r-pill, 999px);
	transition: all .25s var(--ease);
}

.btn-mini:hover { background: var(--sage-400); transform: translateY(-2px); }
.btn-mini .icon { width: 12px; height: 12px; }

.docs-content { min-width: 0; }

.doc-section {
	padding-bottom: 58px;
	margin-bottom: 58px;
	border-bottom: 1px solid var(--line);
	scroll-margin-top: 138px;
}

.doc-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
