.shampoo-guide { width: 100%; flex: 0 0 100%; }
.shampoo-guide .descr { max-width: 100%; }
.shampoo-guide .descr,
.shampoo-guide .descr p,
.shampoo-guide .descr li {
	font-size: var(--text-base);
	line-height: var(--leading-body);
}
.shampoo-guide .descr h2 {
	font-size: var(--text-2xl);
	margin-top: 32px;
	margin-bottom: 24px;
}

.shampoo-guide__hero {
	position: relative;
	padding: 48px 48px 40px;
	margin-bottom: 40px;
	background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 55%, #2a2418 100%);
	border-radius: 14px;
	overflow: hidden;
	color: #fff;
}
.shampoo-guide__hero::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -8%;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, rgba(230,178,30,.22) 0%, transparent 70%);
	pointer-events: none;
}
.shampoo-guide__eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 14px;
	font-size: var(--text-xs);
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #e6b21e;
	background: rgba(230,178,30,.12);
	border: 1px solid rgba(230,178,30,.35);
	border-radius: 20px;
}
.shampoo-guide__hero h2 {
	margin: 0 0 16px !important;
	font-size: var(--text-3xl) !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	color: #fff !important;
}
.shampoo-guide__lead {
	max-width: 720px;
	margin: 0 0 28px !important;
	font-size: var(--text-md) !important;
	line-height: 1.65 !important;
	color: rgba(255,255,255,.82) !important;
}
.shampoo-guide__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.shampoo-guide__chips li { margin: 0 !important; list-style: none !important; }
.shampoo-guide__chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	font-size: var(--text-sm);
	font-weight: 500;
	color: #fff;
	text-decoration: none !important;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 8px;
	transition: background .25s, border-color .25s, transform .25s;
}
.shampoo-guide__chip:hover {
	color: #0d0d0d !important;
	background: #e6b21e;
	border-color: #e6b21e;
	transform: translateY(-2px);
}
.shampoo-guide__chip svg { flex-shrink: 0; }

.shampoo-guide__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 48px;
	padding: 18px 20px;
	background: #f7f7f7;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
}
.section-category .shampoo-guide__nav {
	margin-bottom: 24px;
}
.shampoo-guide__nav a {
	padding: 10px 18px;
	font-size: var(--text-sm);
	font-weight: 500;
	color: #0d0d0d;
	text-decoration: none !important;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	transition: all .2s;
	box-sizing: border-box;
	max-width: 100%;
}
.shampoo-guide__nav a:hover,
.shampoo-guide__nav a.is-active {
	color: #0d0d0d !important;
	background: #e6b21e;
	border-color: #e6b21e;
}

/* Мобилка: обычное облако чипов. Текст без переноса внутри чипа —
   тогда рамка не раздувается на 100% ширины с пустотой справа
   (как было у «Шампунь для моек самообслуживания»). */
@media screen and (max-width: 991px) {
	.section-category .shampoo-guide__nav.category-subnav,
	.shampoo-guide__nav.category-subnav,
	.shampoo-guide__nav.category-subnav--mobile,
	nav.category-subnav {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: flex-start !important;
		gap: 10px !important;
	}
	.section-category .shampoo-guide__nav.category-subnav a,
	.shampoo-guide__nav.category-subnav a,
	.shampoo-guide__nav.category-subnav--mobile a,
	nav.category-subnav a {
		display: block !important;
		flex: 0 1 auto !important;
		width: auto !important;
		max-width: 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
		white-space: nowrap !important;
		overflow: hidden;
		text-overflow: ellipsis;
		hyphens: none !important;
		-webkit-hyphens: none !important;
		word-break: normal !important;
	}
}

.shampoo-guide__section { margin-bottom: 56px; scroll-margin-top: calc(var(--fm-header-height, 110px) + 16px); }
.shampoo-guide__section-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px !important;
}
.shampoo-guide__section-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	font-size: var(--text-base);
	font-weight: 700;
	color: #0d0d0d;
	background: #e6b21e;
	border-radius: 10px;
}

.shampoo-guide__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 28px 0 0;
}
.shampoo-guide__card {
	padding: 28px 26px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,.04);
	transition: box-shadow .25s, transform .25s;
}
.shampoo-guide__card:hover {
	box-shadow: 0 14px 32px rgba(0,0,0,.08);
	transform: translateY(-3px);
}
.shampoo-guide__card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	background: #fff8e6;
	border-radius: 12px;
}
.shampoo-guide__card h3 {
	margin: 0 0 12px !important;
	font-size: var(--text-md) !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
}
.shampoo-guide__card p {
	margin: 0 !important;
	font-size: var(--text-sm) !important;
	line-height: 1.6 !important;
	color: #5a5a5a !important;
}

.shampoo-guide__phases {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 28px 0;
}
.shampoo-guide__phase {
	padding: 24px 26px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-left: 4px solid #e6b21e;
	border-radius: 0 12px 12px 0;
}
.shampoo-guide__phase-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}
.shampoo-guide__phase-head strong { font-size: var(--text-base); }
.shampoo-guide__badge {
	display: inline-block;
	padding: 5px 12px;
	font-size: var(--text-xs);
	font-weight: 600;
	border-radius: 20px;
}
.shampoo-guide__badge--alk { color: #8b3a00; background: #fff0e6; }
.shampoo-guide__badge--neu { color: #1a5c3a; background: #e8f7ef; }
.shampoo-guide__badge--acid { color: #5c3a1a; background: #f7f0e8; }
.shampoo-guide__phase-meta {
	margin: 0 0 8px !important;
	font-size: var(--text-sm) !important;
	color: #444 !important;
}
.shampoo-guide__phase-meta span { color: #888; }

.shampoo-guide__warn {
	display: flex;
	gap: 18px;
	align-items: center;
	margin: 32px 0;
	padding: 22px 26px;
	background: #fffbef;
	border: 1px solid #e6b21e;
	border-left: 4px solid #e6b21e;
	border-radius: 0 12px 12px 0;
}
.shampoo-guide__warn-icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e6b21e;
	border-radius: 50%;
}
.shampoo-guide__warn p { margin: 0 !important; font-size: 15px !important; line-height: 1.65 !important; }

.shampoo-guide__criteria {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 28px;
}
.shampoo-guide__criterion {
	padding: 28px 30px;
	background: #fafafa;
	border: 1px solid #ececec;
	border-radius: 12px;
}
.shampoo-guide__criterion-num {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	color: #e6b21e;
	opacity: .85;
}
.shampoo-guide__criterion h3 {
	margin: 0 0 16px !important;
	font-size: var(--text-lg) !important;
	font-weight: 600 !important;
}
.shampoo-guide__criterion ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.shampoo-guide__criterion li {
	position: relative;
	margin: 0 0 12px 0 !important;
	padding-left: 20px !important;
	font-size: var(--text-sm) !important;
	line-height: 1.6 !important;
	list-style: none !important;
}
.shampoo-guide__criterion li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 7px;
	height: 7px;
	background: #e6b21e;
	border-radius: 50%;
}
.shampoo-guide__criterion p { margin: 0 !important; font-size: 15px !important; line-height: 1.6 !important; }

.shampoo-guide__calc {
	margin: 20px 0 0;
	padding: 26px 30px;
	background: #0d0d0d;
	border-radius: 12px;
	color: #fff;
}
.shampoo-guide__calc-label {
	margin: 0 0 10px !important;
	font-size: var(--text-xs) !important;
	font-weight: 500;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #e6b21e !important;
}
.shampoo-guide__calc-formula {
	margin: 0 0 12px !important;
	font-size: var(--text-md) !important;
	font-weight: 500;
	color: #fff !important;
}
.shampoo-guide__calc-example {
	margin: 0 !important;
	font-size: var(--text-sm) !important;
	line-height: 1.6 !important;
	color: rgba(255,255,255,.72) !important;
}

.shampoo-guide__steps {
	display: grid;
	/* по умолчанию 3 колонки — подходит для 3 и 6 шагов */
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin: 32px 0 0;
	counter-reset: step;
	background: #e8e8e8;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	overflow: hidden;
}
/* 2 шага */
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(2):last-child) {
	grid-template-columns: repeat(2, 1fr);
}
/* 4 или 8 шагов — ровные ряды по 4 */
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(4):last-child),
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(8):last-child) {
	grid-template-columns: repeat(4, 1fr);
}
/* 5 шагов: ряд из 3 + ряд из 2 на всю ширину (сетка 6 колонок) */
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(5):last-child) {
	grid-template-columns: repeat(6, 1fr);
}
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(5):last-child) > .shampoo-guide__step {
	grid-column: span 2;
}
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(5):last-child) > .shampoo-guide__step:nth-child(n+4) {
	grid-column: span 3;
}
/* 7 шагов: ряд из 4 + ряд из 3 на всю ширину (сетка 12 колонок) */
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(7):last-child) {
	grid-template-columns: repeat(12, 1fr);
}
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(7):last-child) > .shampoo-guide__step {
	grid-column: span 3;
}
.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(7):last-child) > .shampoo-guide__step:nth-child(n+5) {
	grid-column: span 4;
}
.shampoo-guide__step {
	position: relative;
	padding: 30px 28px;
	background: #fff;
	border: none;
	border-radius: 0;
}
.shampoo-guide__step::before {
	counter-increment: step;
	content: counter(step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 18px;
	font-size: var(--text-sm);
	font-weight: 700;
	color: #0d0d0d;
	background: #e6b21e;
	border-radius: 50%;
}
.shampoo-guide__step strong {
	display: block;
	margin-bottom: 12px;
	font-size: var(--text-base);
}
.shampoo-guide__step p,
.shampoo-guide__step span {
	margin: 0 !important;
	font-size: var(--text-sm) !important;
	line-height: 1.6 !important;
	color: #555 !important;
}

.shampoo-guide__products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 28px;
}
.shampoo-guide__product {
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(0,0,0,.05);
	overflow: hidden;
	transition: all .25s;
}
.shampoo-guide__product:hover {
	border-color: #e6b21e;
	box-shadow: 0 16px 36px rgba(230,178,30,.18);
	transform: translateY(-4px);
}
.shampoo-guide__product-img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	background: #f0f0f0;
}
.shampoo-guide__product-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 24px 24px 22px;
}
.shampoo-guide__product-title {
	margin: 0 0 10px !important;
	font-size: var(--text-md) !important;
	font-weight: 600 !important;
	color: #0d0d0d !important;
}
.shampoo-guide__product-desc {
	flex-grow: 1;
	margin: 0 0 18px !important;
	font-size: var(--text-sm) !important;
	line-height: 1.6 !important;
	color: #666 !important;
}
.shampoo-guide__product-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--text-sm);
	font-weight: 600;
	color: #e6b21e !important;
}
.shampoo-guide__product:hover .shampoo-guide__product-cta { color: #0d0d0d !important; }

.shampoo-guide__mistakes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 28px;
	counter-reset: mistake;
}
.shampoo-guide__mistake {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 26px 28px;
	background: #fafafa;
	border: 1px solid #ececec;
	border-left: 3px solid #e6b21e;
	border-radius: 0 12px 12px 0;
}
.shampoo-guide__mistake-num {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--text-sm);
	font-weight: 700;
	color: #0d0d0d;
	background: #fff8e6;
	border: 1px solid #f0dfa8;
	border-radius: 50%;
}
.shampoo-guide__mistake p { margin: 0 !important; font-size: 15px !important; line-height: 1.65 !important; }
.shampoo-guide__mistake--wide { grid-column: 1 / -1; }

.shampoo-guide__materials {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 24px;
	padding: 0;
	list-style: none !important;
}
.shampoo-guide__materials li { margin: 0 !important; list-style: none !important; }
.shampoo-guide__materials a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
	font-size: var(--text-sm);
	font-weight: 500;
	color: #0d0d0d !important;
	text-decoration: none !important;
	background: #f7f7f7;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	transition: all .2s;
}
.shampoo-guide__materials a:hover {
	background: #fff8e6;
	border-color: #e6b21e;
}
.shampoo-guide__materials a::before {
	content: "→";
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--text-sm);
	font-weight: 700;
	color: #e6b21e;
	background: #fff;
	border-radius: 8px;
}

.shampoo-guide__outro {
	margin-top: 48px;
	padding: 28px 32px 28px 40px;
	position: relative;
	background: linear-gradient(135deg, #faf8f4 0%, #fff 55%, #f7f3ea 100%);
	border: 1px solid #e8e0d0;
	border-radius: 12px;
	overflow: hidden;
}
.shampoo-guide__outro::before {
	content: "\201C";
	position: absolute;
	top: 4px;
	left: 18px;
	font-size: 64px;
	line-height: 1;
	font-family: Georgia, "Times New Roman", serif;
	color: rgba(230, 178, 30, 0.22);
	pointer-events: none;
}
.shampoo-guide__outro::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #e6b21e 0%, #c99810 100%);
}
.shampoo-guide__outro p {
	position: relative;
	z-index: 1;
	max-width: none;
	margin: 0 !important;
	padding-left: 12px;
	font-size: var(--text-md) !important;
	font-weight: 400 !important;
	line-height: 1.7 !important;
	color: #333 !important;
	text-align: left;
}

.shampoo-guide .table-wrapper { margin: 28px 0; border-radius: 12px; overflow: hidden; border: 1px solid #e8e8e8; }
.shampoo-guide .table-wrapper table { margin: 0; }
.shampoo-guide .table-wrapper th { background: #0d0d0d; color: #fff; font-weight: 500; font-size: var(--text-sm); padding: 14px 18px; }
.shampoo-guide .table-wrapper td { font-size: var(--text-sm); padding: 14px 18px; vertical-align: top; }

.shampoo-guide-feedback {
	padding: 0 0 48px;
}
.shampoo-guide-feedback .container {
	width: 100%;
	flex: 0 0 100%;
}
.shampoo-guide__feedback {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 40px;
	align-items: start;
	margin-top: 16px;
	padding: 40px 44px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(0,0,0,.06);
	scroll-margin-top: calc(var(--fm-header-height, 110px) + 16px);
}
.shampoo-guide__feedback-info h2 {
	margin: 0 0 18px !important;
	font-size: var(--text-2xl) !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
}
.shampoo-guide__feedback-info p {
	margin: 0 0 28px !important;
	font-size: var(--text-base) !important;
	line-height: 1.7 !important;
	color: #444 !important;
}
.shampoo-guide__phone {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 24px;
	font-size: var(--text-xl);
	font-weight: 600;
	color: #0d0d0d !important;
	text-decoration: none !important;
	background: #fff8e6;
	border: 1px solid #f0dfa8;
	border-radius: 12px;
	transition: all .2s;
}
.shampoo-guide__phone:hover {
	color: #0d0d0d !important;
	background: #e6b21e;
	border-color: #e6b21e;
}
.shampoo-guide__phone svg { flex-shrink: 0; }
.shampoo-guide__phone-note {
	display: block;
	margin-top: 14px;
	font-size: var(--text-sm);
	color: #777;
}
.shampoo-guide__form-wrap {
	padding: 32px 34px;
	background: #fafafa;
	border: 1px solid #ececec;
	border-radius: 12px;
}
.shampoo-guide__form-title {
	margin: 0 0 24px !important;
	font-size: var(--text-lg) !important;
	font-weight: 600 !important;
}
.shampoo-guide__form .form-group { margin-bottom: 22px; }
.shampoo-guide__form .form-group p {
	margin: 0 0 10px !important;
	font-size: var(--text-sm) !important;
	font-weight: 500;
}
.shampoo-guide__form .form-control {
	font-size: var(--text-sm);
	padding: 12px 14px;
}
.shampoo-guide__form textarea.form-control { min-height: 130px; }
.shampoo-guide__form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.shampoo-guide__form .checkbox-wrapper { margin: 24px 0; }
.shampoo-guide__form .checkbox-wrapper .text { font-size: var(--text-sm); line-height: 1.5; }
.shampoo-guide__form .btn-black {
	font-size: var(--text-sm);
	padding: 14px 28px;
}
.shampoo-guide__form-success {
	padding: 20px 24px;
	font-size: var(--text-base);
	font-weight: 500;
	color: #1a5c3a;
	background: #e8f7ef;
	border: 1px solid #b8e6cc;
	border-radius: 10px;
}

@media screen and (max-width: 991px) {
	.shampoo-guide__cards,
	.shampoo-guide__products { grid-template-columns: 1fr; }
	/* перебиваем desktop :has(...) — иначе на мобилке шаги остаются в ряд */
	.shampoo-guide__steps,
	.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(2):last-child),
	.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(4):last-child),
	.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(5):last-child),
	.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(7):last-child),
	.shampoo-guide__steps:has(> .shampoo-guide__step:nth-child(8):last-child) {
		grid-template-columns: 1fr !important;
	}
	.shampoo-guide__steps > .shampoo-guide__step {
		grid-column: auto !important;
	}
	.shampoo-guide__phases,
	.shampoo-guide__criteria,
	.shampoo-guide__mistakes,
	.shampoo-guide__materials { grid-template-columns: 1fr; }
	.shampoo-guide__hero { padding: 32px 28px; }
	.shampoo-guide__hero h2 { font-size: 28px !important; }
	.shampoo-guide__product-img { height: 140px; }
	.shampoo-guide__feedback {
		grid-template-columns: 1fr;
		padding: 28px 24px;
		gap: 28px;
	}
	.shampoo-guide__form-grid { grid-template-columns: 1fr; }
	.shampoo-guide__form-wrap { padding: 24px 22px; }
}

/* Guide inside category page — constrained to site container */
.section-about-us.section-shampoo-guide {
	padding-top: 0;
	padding-bottom: 40px;
}

.section-about-us.section-shampoo-guide > .container {
	display: block;
	width: 100%;
}

.section-about-us.section-shampoo-guide .shampoo-guide {
	width: 100%;
	max-width: 100%;
}

.section-about-us.section-shampoo-guide .shampoo-guide .descr {
	max-width: 100%;
	width: 100%;
}

/* Do not override BEM guide blocks (.shampoo-guide__*) via generic .descr rules */
.shampoo-guide__content--plain > :first-child:not(h2):not(ul) {
	display: inline-block;
	margin: 0 0 18px !important;
	padding: 6px 14px;
	font-size: var(--text-xs) !important;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #e6b21e;
	background: rgba(230, 178, 30, 0.12);
	border: 1px solid rgba(230, 178, 30, 0.35);
	border-radius: 20px;
}

.shampoo-guide__content--plain > h2:first-of-type {
	margin: 0 !important;
	padding: 48px 48px 16px;
	font-size: var(--text-3xl) !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	color: #fff !important;
	background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 55%, #2a2418 100%);
	border-radius: 14px 14px 0 0;
}

.shampoo-guide__content--plain > h2:first-of-type + p {
	margin: 0 !important;
	padding: 0 48px 28px;
	max-width: 720px;
	font-size: var(--text-md) !important;
	line-height: 1.65 !important;
	color: rgba(255, 255, 255, 0.82) !important;
	background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 55%, #2a2418 100%);
}

.shampoo-guide__content--plain > h2:first-of-type + p + ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0 0 40px !important;
	padding: 0 48px 40px !important;
	list-style: none !important;
	background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 55%, #2a2418 100%);
	border-radius: 0 0 14px 14px;
}

.shampoo-guide__content--plain > h2:first-of-type + p + ul li {
	margin: 0 !important;
	list-style: none !important;
}

.shampoo-guide__content--plain > h2:first-of-type + p + ul a,
.shampoo-guide__content--plain > h2:first-of-type + p + ul li {
	display: inline-flex;
	align-items: center;
	padding: 12px 20px;
	font-size: var(--text-sm);
	font-weight: 500;
	color: #fff;
	text-decoration: none !important;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.shampoo-guide__content--plain > h2:first-of-type + p + ul a:hover {
	color: #0d0d0d !important;
	background: #e6b21e;
	border-color: #e6b21e;
	transform: translateY(-2px);
}

.shampoo-guide__content--plain > h2:not(:first-of-type) {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 48px !important;
	margin-bottom: 24px !important;
	padding-bottom: 16px;
	font-size: var(--text-xl) !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	border-bottom: 1px solid #e8e8e8;
}

.shampoo-guide__content--plain h3 {
	margin: 0 0 12px !important;
	padding: 20px 20px 0;
	font-size: var(--text-md) !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

.shampoo-guide__content--plain h3 + p {
	margin: 0 0 20px !important;
	padding: 0 20px 20px;
	font-size: var(--text-sm) !important;
	line-height: 1.65 !important;
	color: #555 !important;
	border: 1px solid #e8e8e8;
	border-top: none;
	border-radius: 0 0 12px 12px;
	background: #fff;
}

.shampoo-guide__content--plain h3:has(+ p) {
	border: 1px solid #e8e8e8;
	border-bottom: none;
	border-radius: 12px 12px 0 0;
	background: #fff;
}

.shampoo-guide__content--plain h3:not(:has(+ p)) {
	padding: 20px;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
}

.shampoo-guide__content--plain > ul:not(:first-of-type) {
	margin: 20px 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.shampoo-guide__content--plain > ul:not(:first-of-type) li {
	position: relative;
	margin: 0 0 10px !important;
	padding-left: 22px;
	font-size: var(--text-sm) !important;
	line-height: 1.6 !important;
	list-style: none !important;
}

.shampoo-guide__content--plain > ul:not(:first-of-type) li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e6b21e;
}

.shampoo-guide__content--plain > p:last-of-type {
	margin-top: 48px !important;
	padding: 28px 32px 28px 40px;
	position: relative;
	font-size: var(--text-md) !important;
	font-weight: 400 !important;
	line-height: 1.7 !important;
	color: #333 !important;
	background: linear-gradient(135deg, #faf8f4 0%, #fff 55%, #f7f3ea 100%);
	border: 1px solid #e8e0d0;
	border-radius: 12px;
	overflow: hidden;
}

.shampoo-guide__content--plain > p:last-of-type::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #e6b21e 0%, #c99810 100%);
}

@media screen and (max-width: 767px) {
	.shampoo-guide__content--plain > h2:first-of-type {
		padding: 32px 28px 16px;
		font-size: var(--text-2xl) !important;
	}

	.shampoo-guide__content--plain > h2:first-of-type + p,
	.shampoo-guide__content--plain > h2:first-of-type + p + ul {
		padding-left: 28px;
		padding-right: 28px;
	}

	.shampoo-guide__content--plain > h2:first-of-type + p + ul {
		padding-bottom: 32px;
	}
}

.category-faq--seo {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* About page */
.about-company-page .info-content.shampoo-guide {
	width: 100%;
	max-width: none;
}

.about-company-page .info-content.shampoo-guide .descr {
	max-width: 100%;
}

.about-company-page .info-content.shampoo-guide .descr p {
	margin: 0 0 16px !important;
	font-size: var(--text-base) !important;
	line-height: var(--leading-body) !important;
}

.about-company-page .info-content.shampoo-guide .descr .shampoo-guide__section p:last-child {
	margin-bottom: 0 !important;
}

.about-company-page .info-content.shampoo-guide .descr .shampoo-guide__lead {
	margin-bottom: 0 !important;
}

.about-company-page .info-content.shampoo-guide .descr ul {
	margin: 20px 0 24px !important;
	padding: 0 !important;
	list-style: none !important;
}

.about-company-page .info-content.shampoo-guide .descr ul li {
	position: relative;
	margin: 0 0 12px 0 !important;
	padding-left: 20px !important;
	font-size: var(--text-sm) !important;
	line-height: 1.6 !important;
	list-style: none !important;
}

.about-company-page .info-content.shampoo-guide .descr ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #e6b21e;
}

.about-guide__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 8px;
}

.about-guide__stat {
	padding: 32px 28px;
	text-align: center;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.about-guide__stat-num {
	margin-bottom: 12px;
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 700;
	line-height: 1;
	color: #0d0d0d;
}

.about-guide__stat p {
	margin: 0 !important;
	font-size: var(--text-sm) !important;
	line-height: 1.5 !important;
	color: #5a5a5a !important;
}

.about-guide__brands {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin: 28px 0 0;
}

.about-guide__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	padding: 24px 20px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
	transition: box-shadow .25s, transform .25s, border-color .25s;
}

.about-guide__brand:hover {
	border-color: #e6b21e;
	box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
	transform: translateY(-3px);
}

.about-guide__brand img {
	max-width: 100%;
	max-height: 96px;
	object-fit: contain;
}

.about-guide__brand--text {
	padding: 20px 16px;
}

.about-guide__brand-name {
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: #0d0d0d;
}

@media screen and (max-width: 1199px) {
	.about-guide__brands {
		grid-template-columns: repeat(4, 1fr);
	}

	.about-guide__stats {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}
}

@media screen and (max-width: 991px) {
	.about-guide__brands {
		grid-template-columns: repeat(3, 1fr);
	}

	.about-guide__stats {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) {
	.about-guide__brands {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.about-guide__brand {
		min-height: 110px;
		padding: 18px 14px;
	}

	.about-guide__brand img {
		max-height: 72px;
	}

	.about-guide__stat {
		padding: 24px 20px;
	}
}

/* Jump link next to category H1 → SEO guide */
.section-category-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	width: 100%;
	margin: 15px 0;
}
.section-category-heading .section-main-title {
	margin: 0;
	width: auto;
	flex: 1 1 auto;
	min-width: min(100%, 240px);
}
.category-guide-jump {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	max-width: 100%;
	padding: 10px 14px 10px 10px;
	color: #0d0d0d !important;
	text-decoration: none !important;
	background: linear-gradient(135deg, #fff8e6 0%, #ffe9a8 100%);
	border: 1px solid #e6b21e;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(230, 178, 30, .18);
	transition: background .2s, border-color .2s, box-shadow .2s;
}
.category-guide-jump:hover {
	color: #0d0d0d !important;
	background: linear-gradient(135deg, #ffe9a8 0%, #e6b21e 100%);
	border-color: #d4a31a;
	box-shadow: 0 8px 22px rgba(230, 178, 30, .28);
}
.category-guide-jump__badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #0d0d0d;
	background: #e6b21e;
	border-radius: 9px;
}
.category-guide-jump__badge svg {
	display: block;
}
.category-guide-jump__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.category-guide-jump__title {
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.25;
}
.category-guide-jump__hint {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	color: #666;
}
.category-guide-jump:hover .category-guide-jump__hint {
	color: #333;
}
.category-guide-jump__arrow {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #0d0d0d;
	background: rgba(13, 13, 13, .06);
	border-radius: 50%;
}
.category-guide-jump:hover .category-guide-jump__arrow {
	background: rgba(13, 13, 13, .1);
	animation: category-guide-jump-bounce .9s ease infinite;
}
.section-shampoo-guide {
	scroll-margin-top: calc(var(--fm-header-height, 110px) + 16px);
}

@keyframes category-guide-jump-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(3px); }
}

@media screen and (max-width: 767px) {
	.section-category-heading {
		align-items: stretch;
	}
	.category-guide-jump {
		width: 100%;
		justify-content: flex-start;
	}
	.category-guide-jump__arrow {
		margin-left: auto;
	}
}
