/*
Theme Name: Limborto Rehab
Theme URI: https://limborto.ru/
Author: Limb
Description: Уникальная адаптивная тема для магазина технических средств реабилитации. Бирюзово-оранжевая палитра, мягкие анимации, доступность и глубокая интеграция с WooCommerce.
Version: 1.2.5
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: limborto
Tags: e-commerce, custom-colors, custom-menu, responsive-layout, accessibility-ready
WC requires at least: 8.0
*/

/* ==========================================================================
   1. Дизайн-токены — палитра limborto.ru (бирюза + оранжевый акцент)
   ========================================================================== */

:root {
	--lb-teal-900: #003a3c;
	--lb-teal-800: #004f52;
	--lb-teal-700: #00666a;
	--lb-teal-600: #007f84;
	--lb-teal-500: #00a59b;
	--lb-teal-200: #b5e4e0;
	--lb-teal-100: #dcf3f1;
	--lb-teal-50: #f0faf9;

	--lb-accent-700: #cc5200;
	--lb-accent-600: #e65c00;
	--lb-accent-500: #ff6600;
	--lb-accent-100: #ffe8d6;

	--lb-ink: #14262a;
	--lb-body: #3d4f52;
	--lb-muted: #6b7d80;
	--lb-line: #dfeaec;
	--lb-surface: #ffffff;
	--lb-canvas: #f6fafb;

	--lb-radius-sm: 12px;
	--lb-radius: 18px;
	--lb-radius-lg: 28px;

	--lb-shadow-sm: 0 2px 8px rgba(0, 54, 58, .06);
	--lb-shadow: 0 12px 30px rgba(0, 54, 58, .09);
	--lb-shadow-lg: 0 26px 60px rgba(0, 54, 58, .16);

	--lb-ease: cubic-bezier(.22, .68, .32, 1);
	--lb-fast: .18s var(--lb-ease);
	--lb-slow: .45s var(--lb-ease);

	--lb-header-h: 84px;
	--lb-gutter: clamp(16px, 4vw, 40px);
	--lb-container: 1260px;
}

/* ==========================================================================
   2. База
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--lb-header-h) + 20px);
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--lb-canvas);
	color: var(--lb-body);
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow-x: clip;
	max-width: 100%;
}

body.lb-nav-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--lb-teal-600);
	text-decoration: none;
	transition: color var(--lb-fast);
}

a:hover {
	color: var(--lb-accent-600);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--lb-ink);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.03rem + .75vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

ul, ol { padding-left: 1.2em; }

hr {
	border: 0;
	border-top: 1px solid var(--lb-line);
	margin: 2.5rem 0;
}

blockquote {
	margin: 1.8rem 0;
	padding: 1.2rem 1.6rem;
	border-left: 4px solid var(--lb-teal-500);
	background: var(--lb-teal-50);
	border-radius: 0 var(--lb-radius) var(--lb-radius) 0;
	font-style: normal;
}

table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 1.6rem 0;
	background: var(--lb-surface);
	border-radius: var(--lb-radius);
	box-shadow: var(--lb-shadow-sm);
}

.lb-entry-content,
.lb-page-shell {
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

th, td {
	padding: 13px 18px;
	text-align: left;
	border-bottom: 1px solid var(--lb-line);
	vertical-align: top;
	overflow-wrap: anywhere;
}

th {
	background: var(--lb-teal-50);
	color: var(--lb-ink);
	font-weight: 700;
}

tr:last-child td { border-bottom: 0; }

:focus-visible {
	outline: 3px solid var(--lb-accent-500);
	outline-offset: 3px;
	border-radius: 4px;
}

.lb-skip {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
	padding: 14px 22px;
	background: var(--lb-teal-700);
	color: #fff;
	border-radius: 0 0 var(--lb-radius-sm) 0;
	transform: translateY(-120%);
	transition: transform var(--lb-fast);
}

.lb-skip:focus {
	transform: translateY(0);
	color: #fff;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   3. Раскладка
   ========================================================================== */

.lb-container {
	width: 100%;
	max-width: var(--lb-container);
	margin-inline: auto;
	padding-inline: var(--lb-gutter);
}

.lb-section {
	padding-block: clamp(48px, 6vw, 90px);
}

.lb-section--tight { padding-block: clamp(32px, 4vw, 56px); }

.lb-section--muted { background: var(--lb-teal-50); }

.lb-section-head {
	max-width: 720px;
	margin-bottom: clamp(26px, 3vw, 46px);
}

.lb-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.lb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--lb-teal-100);
	color: var(--lb-teal-700);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.lb-section-head p {
	margin: 0;
	font-size: 1.05rem;
	color: var(--lb-muted);
}

.lb-site-main {
	min-height: 45vh;
}

.lb-page-shell {
	max-width: 880px;
	margin-inline: auto;
	padding: clamp(28px, 4vw, 56px);
	background: var(--lb-surface);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow);
}

/* ==========================================================================
   4. Кнопки
   ========================================================================== */

.lb-btn,
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	position: relative;
	overflow: hidden;
	padding: 14px 30px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--lb-accent-500);
	color: #fff;
	font-family: inherit;
	font-size: .97rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background var(--lb-fast), transform var(--lb-fast), box-shadow var(--lb-fast), color var(--lb-fast), border-color var(--lb-fast);
}

.lb-btn::after,
.woocommerce a.button::after,
.woocommerce button.button::after {
	content: '';
	position: absolute;
	inset: 0 auto 0 -140%;
	width: 60%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
	transform: skewX(-18deg);
	transition: left var(--lb-slow);
	pointer-events: none;
}

.lb-btn:hover::after,
.woocommerce a.button:hover::after,
.woocommerce button.button:hover::after {
	left: 140%;
}

.lb-btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--lb-accent-600);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(224, 80, 0, .3);
}

.lb-btn:active,
.woocommerce a.button:active {
	transform: translateY(0);
}

.lb-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .55);
	color: #fff;
}

.lb-btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--lb-teal-700);
	box-shadow: 0 10px 24px rgba(0, 54, 58, .22);
}

.lb-btn--teal {
	background: var(--lb-teal-600);
}

.lb-btn--teal:hover {
	background: var(--lb-teal-700);
	box-shadow: 0 10px 24px rgba(0, 86, 91, .3);
}

.lb-btn--outline {
	background: transparent;
	border-color: var(--lb-teal-200);
	color: var(--lb-teal-700);
}

.lb-btn--outline:hover {
	background: var(--lb-teal-600);
	border-color: var(--lb-teal-600);
	color: #fff;
}

.lb-btn--wide { width: 100%; }

.lb-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

/* ==========================================================================
   5. Шапка
   ========================================================================== */

.lb-topbar {
	background: var(--lb-teal-900);
	color: rgba(255, 255, 255, .78);
	font-size: .82rem;
}

.lb-topbar .lb-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	min-height: 42px;
}

.lb-topbar a { color: #fff; }

.lb-topbar a:hover { color: var(--lb-accent-500); }

.lb-topbar-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lb-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--lb-line);
	transition: box-shadow var(--lb-fast), background var(--lb-fast);
}

.lb-header.is-stuck {
	box-shadow: var(--lb-shadow);
}

.lb-header-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: clamp(16px, 2vw, 28px);
	min-height: var(--lb-header-h);
	transition: min-height var(--lb-fast);
}

.lb-header.is-stuck .lb-header-inner {
	min-height: 68px;
}

.lb-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	min-width: 0;
	max-width: 220px;
	position: relative;
	z-index: 2;
}

.lb-brand .custom-logo-link {
	display: flex;
	align-items: center;
	max-width: 100%;
}

.lb-brand img.custom-logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 48px;
}

/* На ПК короткое имя — длинный title съедал место под меню */
.lb-brand-name--full {
	display: none;
}

.lb-brand-name--short {
	display: inline;
}

.lb-brand-mark {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--lb-teal-600), var(--lb-teal-500));
	color: #fff;
	font-weight: 800;
	font-size: 1.15rem;
	box-shadow: 0 6px 16px rgba(0, 113, 119, .32);
	transition: transform var(--lb-slow);
}

.lb-brand:hover .lb-brand-mark {
	transform: rotate(-8deg) scale(1.06);
}

.lb-brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
	overflow: hidden;
}

.lb-brand-name {
	color: var(--lb-teal-700);
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: -.02em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lb-brand-tagline {
	display: none;
	color: var(--lb-muted);
	font-size: .74rem;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lb-nav {
	min-width: 0;
	display: flex;
	justify-content: center;
}

.lb-nav ul {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 2px clamp(6px, .9vw, 14px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.lb-nav li { position: relative; }

.lb-nav a {
	position: relative;
	display: block;
	padding: 8px 2px;
	color: var(--lb-ink);
	font-size: clamp(.9rem, .84rem + .35vw, 1rem);
	font-weight: 600;
	white-space: nowrap;
}

.lb-nav > ul > li > a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--lb-accent-500);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform var(--lb-slow);
}

.lb-nav > ul > li > a:hover::after,
.lb-nav > ul > li.current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.lb-nav .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: -18px;
	z-index: 20;
	display: block;
	min-width: 240px;
	padding: 10px;
	background: #fff;
	border-radius: var(--lb-radius);
	box-shadow: var(--lb-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--lb-fast), transform var(--lb-fast), visibility var(--lb-fast);
}

.lb-nav li:hover > .sub-menu,
.lb-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lb-nav .sub-menu li { display: block; }

.lb-nav .sub-menu a {
	padding: 10px 14px;
	border-radius: var(--lb-radius-sm);
	white-space: normal;
}

.lb-nav .sub-menu a:hover {
	background: var(--lb-teal-50);
}

.lb-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	justify-self: end;
}

.lb-header-phone {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	text-align: right;
}

.lb-header-phone b {
	color: var(--lb-ink);
	font-size: 1.02rem;
	font-weight: 800;
	white-space: nowrap;
}

.lb-header-phone span {
	color: var(--lb-muted);
	font-size: .72rem;
	font-weight: 600;
}

.lb-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 20px;
	border-radius: 999px;
	background: var(--lb-teal-600);
	color: #fff;
	font-size: .9rem;
	font-weight: 700;
	transition: background var(--lb-fast), transform var(--lb-fast);
}

.lb-cart:hover {
	background: var(--lb-teal-700);
	color: #fff;
	transform: translateY(-2px);
}

.lb-cart-count {
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--lb-accent-500);
	font-size: .76rem;
	line-height: 1;
}

.lb-burger {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--lb-line);
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
}

.lb-burger span {
	display: block;
	width: 20px;
	height: 2px;
	min-height: 2px;
	margin: 4px auto;
	border-radius: 2px;
	background: var(--lb-teal-700);
	transition: transform var(--lb-fast), opacity var(--lb-fast);
}

.lb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.lb-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	width: min(380px, 88vw);
	max-width: 100%;
	padding: 26px 24px 40px;
	background: #fff;
	box-shadow: var(--lb-shadow-lg);
	transform: translateX(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform var(--lb-slow), visibility var(--lb-slow);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.lb-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
}

.lb-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.lb-drawer-close {
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--lb-line);
	border-radius: 12px;
	background: #fff;
	color: var(--lb-ink);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.lb-drawer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lb-drawer > ul > li,
.lb-drawer .lb-drawer-menu > li {
	border-bottom: 1px solid var(--lb-line);
}

.lb-drawer a {
	display: block;
	padding: 14px 2px;
	color: var(--lb-ink);
	font-weight: 600;
}

.lb-drawer .sub-menu a {
	padding-left: 18px;
	color: var(--lb-muted);
	font-weight: 500;
}

.lb-overlay {
	position: fixed;
	inset: 0;
	z-index: 190;
	background: rgba(0, 54, 58, .45);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--lb-slow), visibility var(--lb-slow);
}

.lb-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* ==========================================================================
   6. Герой
   ========================================================================== */

.lb-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--lb-teal-800) 0%, var(--lb-teal-600) 52%, var(--lb-teal-500) 100%);
	color: #fff;
	isolation: isolate;
}

.lb-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0);
	background-size: 26px 26px;
	opacity: .5;
	z-index: -1;
}

.lb-blob {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(60px);
	opacity: .5;
	pointer-events: none;
}

.lb-blob--1 {
	width: 420px;
	height: 420px;
	top: -140px;
	right: -80px;
	background: rgba(255, 91, 0, .5);
	animation: lb-drift 16s var(--lb-ease) infinite alternate;
}

.lb-blob--2 {
	width: 360px;
	height: 360px;
	bottom: -160px;
	left: -100px;
	background: rgba(0, 153, 159, .75);
	animation: lb-drift 20s var(--lb-ease) infinite alternate-reverse;
}

@keyframes lb-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(-60px, 50px, 0) scale(1.18); }
}

.lb-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: clamp(28px, 4vw, 60px);
	padding-block: clamp(46px, 6vw, 88px);
}

.lb-hero h1 {
	color: #fff;
	margin-bottom: 20px;
}

.lb-hero-lead {
	max-width: 54ch;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, .88);
	font-size: clamp(1rem, .95rem + .35vw, 1.16rem);
}

.lb-hero .lb-eyebrow {
	background: rgba(255, 255, 255, .16);
	color: #fff;
	backdrop-filter: blur(6px);
}

.lb-hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .22);
	padding-top: 26px;
}

.lb-hero-stats li {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lb-hero-stats b {
	font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
}

.lb-hero-stats span {
	color: rgba(255, 255, 255, .78);
	font-size: .84rem;
	line-height: 1.4;
}

.lb-hero-media {
	position: relative;
	min-width: 0;
	overflow: visible;
}

.lb-hero-card {
	position: relative;
	padding: 18px;
	border-radius: var(--lb-radius-lg);
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .28);
	backdrop-filter: blur(8px);
	box-shadow: var(--lb-shadow-lg);
	animation: lb-bob 7s ease-in-out infinite;
	max-width: 100%;
}

.lb-hero-card img {
	width: 100%;
	border-radius: var(--lb-radius);
	background: #fff;
}

@keyframes lb-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

.lb-hero-badge {
	position: absolute;
	right: 12px;
	bottom: 26px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	max-width: min(260px, calc(100% - 24px));
	padding: 14px 18px;
	border-radius: var(--lb-radius);
	background: #fff;
	color: var(--lb-ink);
	box-shadow: var(--lb-shadow-lg);
	z-index: 2;
}

.lb-hero-badge b {
	display: block;
	font-size: .95rem;
}

.lb-hero-badge span {
	color: var(--lb-muted);
	font-size: .8rem;
	line-height: 1.35;
}

.lb-hero-badge i {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--lb-accent-100);
	color: var(--lb-accent-600);
	font-size: 1.2rem;
	font-style: normal;
}

/* ==========================================================================
   7. Карточки доверия и преимуществ
   ========================================================================== */

.lb-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lb-trust li,
.lb-card {
	position: relative;
	overflow: hidden;
	padding: 26px 24px;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	transition: transform var(--lb-slow), box-shadow var(--lb-slow), border-color var(--lb-slow);
}

.lb-trust li::before,
.lb-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--lb-teal-600), var(--lb-teal-500));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--lb-slow);
}

.lb-trust li:hover,
.lb-card:hover {
	transform: translateY(-6px);
	border-color: var(--lb-teal-200);
	box-shadow: var(--lb-shadow);
}

.lb-trust li:hover::before,
.lb-card:hover::before {
	transform: scaleX(1);
}

.lb-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 16px;
	background: var(--lb-teal-100);
	color: var(--lb-teal-700);
	font-size: 1.4rem;
	font-style: normal;
	transition: transform var(--lb-slow), background var(--lb-slow), color var(--lb-slow);
}

.lb-trust li:hover .lb-icon,
.lb-card:hover .lb-icon {
	background: var(--lb-accent-100);
	color: var(--lb-accent-600);
	transform: translateY(-3px) rotate(-6deg);
}

.lb-trust b,
.lb-card h3 {
	display: block;
	margin-bottom: 8px;
	color: var(--lb-ink);
	font-size: 1.03rem;
	font-weight: 700;
}

.lb-trust span,
.lb-card p {
	display: block;
	margin: 0;
	color: var(--lb-muted);
	font-size: .92rem;
	line-height: 1.55;
}

/* ==========================================================================
   8. Категории
   ========================================================================== */

.lb-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.lb-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	transition: transform var(--lb-slow), box-shadow var(--lb-slow), border-color var(--lb-slow);
}

.lb-cat:hover {
	transform: translateY(-8px);
	border-color: var(--lb-teal-200);
	box-shadow: var(--lb-shadow-lg);
}

.lb-cat-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--lb-teal-50);
}

.lb-cat-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
	transition: transform var(--lb-slow);
}

.lb-cat:hover .lb-cat-media img {
	transform: scale(1.07);
}

.lb-cat-count {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(0, 86, 91, .88);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	backdrop-filter: blur(4px);
}

.lb-cat-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 26px;
}

.lb-cat-body h3 {
	margin-bottom: 8px;
	font-size: 1.18rem;
}

.lb-cat-body p {
	flex: 1;
	margin-bottom: 16px;
	color: var(--lb-muted);
	font-size: .9rem;
}

.lb-cat-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--lb-teal-600);
	font-weight: 700;
	font-size: .92rem;
}

.lb-cat-link svg,
.lb-cat-link span {
	transition: transform var(--lb-fast);
}

.lb-cat:hover .lb-cat-link { color: var(--lb-accent-600); }

.lb-cat:hover .lb-cat-link span { transform: translateX(5px); }

.lb-cat::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.lb-cat > a.lb-cat-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	font-size: 0;
}

/* ==========================================================================
   9. Шаги
   ========================================================================== */

.lb-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: lb-step;
}

.lb-steps li {
	position: relative;
	padding: 30px 24px 26px;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	transition: transform var(--lb-slow), box-shadow var(--lb-slow);
	counter-increment: lb-step;
}

.lb-steps li::before {
	content: counter(lb-step, decimal-leading-zero);
	display: block;
	margin-bottom: 14px;
	color: var(--lb-teal-200);
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	transition: color var(--lb-slow);
}

.lb-steps li:hover {
	transform: translateY(-6px);
	box-shadow: var(--lb-shadow);
}

.lb-steps li:hover::before { color: var(--lb-accent-500); }

.lb-steps b {
	display: block;
	margin-bottom: 8px;
	color: var(--lb-ink);
	font-size: 1.02rem;
}

.lb-steps span {
	color: var(--lb-muted);
	font-size: .91rem;
}

/* ==========================================================================
   10. CTA-полоса
   ========================================================================== */

.lb-cta {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: center;
	gap: 30px;
	padding: clamp(30px, 4vw, 54px);
	border-radius: var(--lb-radius-lg);
	background: linear-gradient(120deg, var(--lb-teal-800), var(--lb-teal-600));
	color: #fff;
	box-shadow: var(--lb-shadow-lg);
}

.lb-cta h2 {
	margin-bottom: 10px;
	color: #fff;
}

.lb-cta p {
	margin: 0;
	color: rgba(255, 255, 255, .85);
}

.lb-cta .lb-btn-row { margin-top: 0; }

.lb-cta::after {
	content: '';
	position: absolute;
	right: -80px;
	top: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(255, 91, 0, .28);
	filter: blur(50px);
	animation: lb-drift 18s var(--lb-ease) infinite alternate;
}

/* ==========================================================================
   11. Блог
   ========================================================================== */

.lb-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
}

.lb-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	transition: transform var(--lb-slow), box-shadow var(--lb-slow);
}

.lb-post:hover {
	transform: translateY(-6px);
	box-shadow: var(--lb-shadow);
}

.lb-post-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--lb-teal-50);
}

.lb-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--lb-slow);
}

.lb-post:hover .lb-post-thumb img {
	transform: scale(1.06);
}

.lb-entry-cover {
	margin: 0 0 28px;
	border-radius: var(--lb-radius);
	overflow: hidden;
}

.lb-entry-cover img {
	width: 100%;
}

.lb-post-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--lb-line);
	font-weight: 600;
}

.lb-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 640px;
}

.lb-search-form input[type="search"] {
	flex: 1 1 220px;
	min-height: 52px;
}

.lb-product-crumb {
	margin-bottom: 18px;
}

.lb-product-crumb .woocommerce-breadcrumb {
	color: var(--lb-muted);
}

.lb-product-crumb .woocommerce-breadcrumb a {
	color: var(--lb-teal-600);
}

.lb-page-hero-desc {
	max-width: 70ch;
	margin-top: 12px;
	color: rgba(255, 255, 255, .85);
	font-size: .98rem;
	line-height: 1.55;
}

.lb-page-hero-desc p { margin: 0 0 .6em; color: inherit; }

.lb-post-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 26px 24px 28px;
}

.lb-post-meta {
	margin-bottom: 12px;
	color: var(--lb-teal-600);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.lb-post h3 {
	margin-bottom: 12px;
	font-size: 1.14rem;
}

.lb-post h3 a { color: inherit; }

.lb-post h3 a:hover { color: var(--lb-teal-600); }

.lb-post p {
	flex: 1;
	color: var(--lb-muted);
	font-size: .93rem;
}

.lb-entry-header {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--lb-line);
}

.lb-entry-meta {
	color: var(--lb-muted);
	font-size: .86rem;
}

.lb-entry-content > *:last-child { margin-bottom: 0; }

.lb-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 44px;
}

.lb-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--lb-line);
	border-radius: 12px;
	background: #fff;
	color: var(--lb-ink);
	font-weight: 700;
	transition: all var(--lb-fast);
}

.lb-pagination .page-numbers:hover,
.lb-pagination .page-numbers.current {
	background: var(--lb-teal-600);
	border-color: var(--lb-teal-600);
	color: #fff;
}

/* ==========================================================================
   12. Подвал
   ========================================================================== */

.lb-footer {
	position: relative;
	margin-top: clamp(50px, 6vw, 90px);
	background: var(--lb-teal-900);
	color: rgba(255, 255, 255, .74);
	font-size: .93rem;
}

.lb-footer a { color: rgba(255, 255, 255, .74); }

.lb-footer a:hover { color: var(--lb-accent-500); }

.lb-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(180px, 1fr));
	gap: 36px;
	padding-block: clamp(40px, 5vw, 68px);
}

.lb-footer h4 {
	margin-bottom: 16px;
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.lb-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lb-footer li { margin-bottom: 10px; }

.lb-footer .lb-brand-name { color: #fff; }

.lb-footer .lb-brand-tagline { color: rgba(255, 255, 255, .6); }

.lb-footer-about p {
	max-width: 42ch;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, .62);
	font-size: .9rem;
}

.lb-footer-contact b {
	display: block;
	color: #fff;
	font-size: 1.2rem;
	font-weight: 800;
}

.lb-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .5);
	font-size: .82rem;
}

.lb-totop {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 130;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	background: var(--lb-teal-600);
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: var(--lb-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity var(--lb-slow), transform var(--lb-slow), visibility var(--lb-slow), background var(--lb-fast);
}

.lb-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lb-totop:hover { background: var(--lb-accent-500); }

/* ==========================================================================
   13. WooCommerce
   ========================================================================== */

.woocommerce .lb-container { max-width: var(--lb-container); }

.lb-page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(30px, 4vw, 58px);
	background: linear-gradient(120deg, var(--lb-teal-800), var(--lb-teal-600));
	color: #fff;
}

.lb-page-hero h1 {
	margin: 0;
	color: #fff;
}

.lb-page-hero p {
	max-width: 62ch;
	margin: 12px 0 0;
	color: rgba(255, 255, 255, .85);
}

.lb-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, .7);
	font-size: .84rem;
}

.woocommerce .woocommerce-breadcrumb a { color: #fff; }

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	float: none !important;
	clear: none !important;
	overflow: hidden;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	transition: transform var(--lb-slow), box-shadow var(--lb-slow), border-color var(--lb-slow);
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-7px);
	border-color: var(--lb-teal-200);
	box-shadow: var(--lb-shadow-lg);
}

.woocommerce ul.products li.product > a {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: 0;
	padding: 18px;
	background: #fff;
	transition: transform var(--lb-slow);
}

.woocommerce ul.products li.product:hover img { transform: scale(1.05); }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	min-height: calc(1.4em * 3);
	margin: 0;
	padding: 0 22px;
	color: var(--lb-ink);
	font-size: 1rem !important;
	font-weight: 700;
	line-height: 1.4;
}

.woocommerce ul.products li.product .lb-product-meta {
	flex: 0 0 auto;
	padding: 10px 22px 6px;
}

.lb-product-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	padding: 0 22px 6px;
	align-items: center;
}

.woocommerce div.product .lb-product-meta {
	padding: 0 0 10px;
	margin-bottom: 6px;
}

.lb-product-kicker,
.lb-product-brand {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.3;
}

.lb-product-kicker {
	background: var(--lb-teal-100);
	color: var(--lb-teal-800);
}

.lb-product-brand {
	background: var(--lb-accent-100);
	color: var(--lb-accent-700);
}

.lb-product-metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 0 22px 4px;
	margin: 0 0 4px;
}

.woocommerce div.product .lb-product-metrics {
	padding: 0;
	margin: 0 0 16px;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.lb-product-metrics span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-sm);
	background: var(--lb-teal-50);
}

.lb-product-metrics b {
	color: var(--lb-ink);
	font-size: .92rem;
	font-weight: 800;
	line-height: 1.2;
}

.lb-product-metrics small {
	color: var(--lb-muted);
	font-size: .72rem;
	font-weight: 600;
}

.woocommerce ul.products li.product .price {
	display: block;
	flex: 0 0 auto !important;
	padding: 10px 22px 0;
	color: var(--lb-teal-700) !important;
	font-size: 1.2rem !important;
	font-weight: 800;
}

.woocommerce ul.products li.product .price del {
	color: var(--lb-muted) !important;
	font-size: .88rem;
	font-weight: 500;
	opacity: .8;
}

.woocommerce ul.products li.product .price ins {
	background: transparent;
	text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
	flex-basis: auto !important;
	align-self: stretch;
	box-sizing: border-box;
	width: calc(100% - 44px) !important;
	max-width: calc(100% - 44px);
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	margin: 16px 22px 22px !important;
	margin-top: auto !important;
	padding: 0 20px !important;
	font-size: .88rem !important;
	line-height: 1 !important;
}

/* «Просмотр корзины» после AJAX — по центру карточки */
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce ul.products li.product a.added_to_cart.wc-forward {
	display: flex !important;
	align-items: center;
	justify-content: center;
	align-self: center;
	box-sizing: border-box;
	width: calc(100% - 44px) !important;
	max-width: calc(100% - 44px);
	margin: 0 22px 22px !important;
	padding: 10px 16px !important;
	text-align: center !important;
	font-size: .88rem !important;
	font-weight: 700;
	line-height: 1.3 !important;
	color: var(--lb-teal-700) !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
}

.woocommerce div.product form.cart + .added_to_cart,
.woocommerce div.product .woocommerce-message a.button.wc-forward,
.woocommerce div.product a.added_to_cart.wc-forward {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
}

.woocommerce div.product .woocommerce-message {
	text-align: center;
}

.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
	top: 14px;
	right: 14px;
	left: auto;
	min-height: 0;
	min-width: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--lb-accent-500);
	color: #fff;
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.4;
}

.woocommerce div.product .product_title {
	margin-bottom: 14px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--lb-teal-700);
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
	font-weight: 800;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin-bottom: 28px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--lb-line); }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-sm) var(--lb-radius-sm) 0 0;
	background: var(--lb-teal-50);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: #fff;
	border-bottom-color: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--lb-ink);
	font-weight: 700;
}

.woocommerce div.product form.cart .button {
	padding: 15px 34px;
	font-size: 1rem;
}

.woocommerce .quantity .qty {
	height: 52px;
	width: 82px;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-sm);
	background: #fff;
	font-weight: 700;
}

.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals > h2 + * {
	border-radius: var(--lb-radius);
	border-color: var(--lb-line);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--lb-teal-600);
	border-radius: var(--lb-radius-sm);
	background: var(--lb-teal-50);
}

.woocommerce-message::before,
.woocommerce-info::before { color: var(--lb-teal-600); }

.woocommerce-error {
	border-top-color: var(--lb-accent-500);
	background: var(--lb-accent-100);
}

.woocommerce-error::before { color: var(--lb-accent-600); }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea {
	padding: 13px 16px;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-sm);
	background: #fff;
	font-family: inherit;
	font-size: .95rem;
	color: var(--lb-ink);
	transition: border-color var(--lb-fast), box-shadow var(--lb-fast);
}

.woocommerce form .form-row input.input-text:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
	border-color: var(--lb-teal-500);
	box-shadow: 0 0 0 3px rgba(0, 153, 159, .16);
	outline: none;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 24px;
	color: var(--lb-muted);
	font-size: .9rem;
}

.woocommerce nav.woocommerce-pagination ul {
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	max-width: 100%;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	overflow: visible;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--lb-line);
	border-radius: 12px;
	background: #fff;
	color: var(--lb-ink);
	font-weight: 700;
	transition: all var(--lb-fast);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--lb-teal-600);
	border-color: var(--lb-teal-600);
	color: #fff;
}

.lb-shop-layout {
	display: grid;
	grid-template-columns: 268px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.lb-shop-main {
	min-width: 0;
	max-width: 100%;
}

.lb-sidebar {
	position: sticky;
	top: calc(var(--lb-header-h) + 20px);
	min-width: 0;
	max-width: 100%;
	padding: 24px 22px;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	box-sizing: border-box;
}

.lb-sidebar h4 {
	margin-bottom: 14px;
	font-size: .8rem;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--lb-muted);
}

.lb-sidebar ul {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.lb-sidebar li { margin-bottom: 2px; }

.lb-sidebar li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
	padding: 10px 12px;
	border-radius: var(--lb-radius-sm);
	color: var(--lb-ink);
	font-size: .92rem;
	font-weight: 600;
	overflow-wrap: anywhere;
	transition: background var(--lb-fast), color var(--lb-fast), transform var(--lb-fast);
}

.lb-sidebar li a:hover,
.lb-sidebar li.current-cat > a {
	background: var(--lb-teal-50);
	color: var(--lb-teal-700);
	transform: translateX(3px);
}

.lb-sidebar li a em {
	flex-shrink: 0;
	color: var(--lb-muted);
	font-size: .8rem;
	font-style: normal;
}

.lb-sidebar-cta {
	min-width: 0;
	max-width: 100%;
	padding: 20px;
	border-radius: var(--lb-radius);
	background: linear-gradient(135deg, var(--lb-teal-700), var(--lb-teal-500));
	color: #fff;
	box-sizing: border-box;
}

.lb-sidebar-cta .lb-btn {
	max-width: 100%;
	box-sizing: border-box;
}

.lb-sidebar-cta b {
	display: block;
	margin-bottom: 6px;
	font-size: 1rem;
}

.lb-sidebar-cta p {
	margin-bottom: 14px;
	color: rgba(255, 255, 255, .82);
	font-size: .85rem;
}

/* ==========================================================================
   14. Совместимость со старой разметкой (.limb-*)
   ========================================================================== */

.limb-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	align-items: center;
	gap: clamp(24px, 3vw, 44px);
	margin: 0 0 clamp(30px, 4vw, 50px);
	padding: clamp(28px, 4vw, 46px);
	border-radius: var(--lb-radius-lg);
	background: linear-gradient(135deg, var(--lb-teal-800), var(--lb-teal-600) 55%, var(--lb-teal-500));
	color: #fff;
	box-shadow: var(--lb-shadow-lg);
	overflow: hidden;
}

.limb-hero h1,
.limb-hero h2 { color: #fff; }

.limb-hero p { color: rgba(255, 255, 255, .88); }

.limb-eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .18);
	color: #fff !important;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.limb-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
	margin: 26px 0 0;
	padding: 22px 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .22);
}

.limb-stats li {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: rgba(255, 255, 255, .8);
	font-size: .84rem;
}

.limb-stats b {
	font-size: 1.6rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}

.limb-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
	gap: 18px;
	margin: 0 0 clamp(30px, 4vw, 50px);
}

.limb-trust > div {
	padding: 22px 20px;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius);
	box-shadow: var(--lb-shadow-sm);
	transition: transform var(--lb-slow), box-shadow var(--lb-slow);
}

.limb-trust > div:hover {
	transform: translateY(-5px);
	box-shadow: var(--lb-shadow);
}

.limb-trust b {
	display: block;
	margin-bottom: 6px;
	color: var(--lb-ink);
	font-size: .98rem;
}

.limb-trust span {
	color: var(--lb-muted);
	font-size: .88rem;
	line-height: 1.5;
}

.limb-groups {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 22px;
	margin: 8px 0 clamp(30px, 4vw, 50px);
}

.limb-group {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding-bottom: 20px;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	color: var(--lb-ink);
	transition: transform var(--lb-slow), box-shadow var(--lb-slow), border-color var(--lb-slow);
}

.limb-group:hover {
	transform: translateY(-7px);
	border-color: var(--lb-teal-200);
	box-shadow: var(--lb-shadow-lg);
	color: var(--lb-ink);
}

.limb-group img,
.limb-group-ph {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 16px;
	background: var(--lb-teal-50);
	transition: transform var(--lb-slow);
}

.limb-group-ph {
	display: block;
	background:
		linear-gradient(135deg, var(--lb-teal-50), var(--lb-teal-100));
}

.limb-group:hover img { transform: scale(1.06); }

.limb-group span {
	display: block;
	padding: 18px 22px 0;
	font-size: 1.1rem;
	font-weight: 700;
}

.limb-group small {
	display: block;
	padding: 6px 22px 0;
	color: var(--lb-muted);
	font-size: .85rem;
}

.limb-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
	gap: 20px;
	margin: 8px 0 clamp(30px, 4vw, 50px);
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.limb-steps li {
	position: relative;
	padding: 26px 22px;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-lg);
	box-shadow: var(--lb-shadow-sm);
	color: var(--lb-body);
	font-size: .95rem;
	transition: transform var(--lb-slow), box-shadow var(--lb-slow);
}

.limb-steps li::before { content: none; }

.limb-steps li:hover {
	transform: translateY(-5px);
	box-shadow: var(--lb-shadow);
}

.limb-steps b {
	display: block;
	margin-bottom: 10px;
	color: var(--lb-teal-200);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	transition: color var(--lb-slow);
}

.limb-steps li:hover b { color: var(--lb-accent-500); }

.limb-lead-text,
.limb-shop-intro {
	font-size: 1.06rem;
	color: var(--lb-body);
}

.limb-ghost {
	background: transparent !important;
	border: 2px solid rgba(255, 255, 255, .55) !important;
	color: #fff !important;
}

.limb-ghost:hover {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--lb-teal-700) !important;
}

.limb-related {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 26px 0;
	padding: 0;
	list-style: none;
}

.limb-related li {
	padding: 18px 20px;
	background: var(--lb-teal-50);
	border-radius: var(--lb-radius);
	font-size: .92rem;
}

/* ==========================================================================
   15. Анимации появления
   ========================================================================== */

.lb-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s var(--lb-ease), transform .7s var(--lb-ease);
	will-change: opacity, transform;
	/* страховка: если JS не успел — блок всё равно появится */
	animation: lb-reveal-fallback .01ms linear 1.5s forwards;
}

.lb-reveal.is-visible {
	opacity: 1;
	transform: none;
	animation: none;
}

@keyframes lb-reveal-fallback {
	to {
		opacity: 1;
		transform: none;
	}
}

.lb-reveal[data-lb-delay="1"] { transition-delay: .08s; }
.lb-reveal[data-lb-delay="2"] { transition-delay: .16s; }
.lb-reveal[data-lb-delay="3"] { transition-delay: .24s; }
.lb-reveal[data-lb-delay="4"] { transition-delay: .32s; }
.lb-reveal[data-lb-delay="5"] { transition-delay: .4s; }

.lb-no-js .lb-reveal {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   16. Адаптив
   ========================================================================== */

/* Широкий ПК: полное имя бренда, когда места достаточно */
@media (min-width: 1500px) {
	.lb-brand {
		max-width: 280px;
	}
	.lb-brand-name--full { display: inline; }
	.lb-brand-name--short { display: none; }
	.lb-brand-tagline { display: block; }
}

/* Средний ПК: уплотняем actions, меню остаётся в шапке одной строкой */
@media (max-width: 1360px) {
	.lb-header-phone { display: none; }
	.lb-cart span:not(.lb-cart-count) { display: none; }
	.lb-cart { padding: 10px 12px; }
	.lb-nav ul { gap: 0 10px; }
	.lb-nav a { font-size: .88rem; }
}

@media (max-width: 1280px) {
	.lb-nav ul { gap: 0 8px; }
	.lb-nav a { font-size: .84rem; padding-inline: 0; }
}

/* Планшет / мобилка — drawer */
@media (max-width: 980px) {
	.lb-header-inner {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.lb-nav,
	.lb-header-phone { display: none; }
	.lb-burger {
		display: block;
		flex-shrink: 0;
	}
	.lb-brand {
		flex: 1 1 auto;
		min-width: 0;
		max-width: none;
	}
	.lb-brand-mark {
		width: 40px;
		height: 40px;
		border-radius: 12px;
		flex-shrink: 0;
	}
	.lb-brand-name--full { display: none; }
	.lb-brand-name--short { display: inline; }
	.lb-brand-tagline { display: none; }
	.lb-header-actions {
		margin-left: auto;
		gap: 8px;
		flex-shrink: 0;
		justify-self: auto;
	}
	.lb-cart span:not(.lb-cart-count) { display: none; }
	.lb-cart {
		padding: 10px 12px;
		flex-shrink: 0;
	}
	.lb-hero-grid,
	.limb-hero { grid-template-columns: 1fr; }
	.lb-hero-media {
		order: -1;
		max-width: 100%;
		width: 100%;
	}
	.lb-hero-card { width: 100%; }
	.lb-hero-badge {
		position: static;
		max-width: none;
		margin-top: 14px;
		width: 100%;
		box-sizing: border-box;
	}
	.lb-cta { grid-template-columns: 1fr; }
	.lb-footer-grid { grid-template-columns: 1fr; }
	.lb-cats { grid-template-columns: 1fr; }
	.lb-posts,
	.lb-articles { grid-template-columns: 1fr; }
	.limb-trust { grid-template-columns: 1fr; }
	.woocommerce div.product div.images,
	.woocommerce div.product div.summary {
		float: none !important;
		width: 100% !important;
		max-width: 100%;
	}
	.woocommerce div.product div.summary { margin-top: 22px; }
	.woocommerce-page .col2-set .col-1,
	.woocommerce-page .col2-set .col-2,
	.woocommerce .col2-set .col-1,
	.woocommerce .col2-set .col-2 {
		float: none !important;
		width: 100% !important;
	}
}

@media (max-width: 1100px) {
	.lb-shop-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
	.lb-sidebar {
		position: static;
		width: 100%;
		max-width: 100%;
	}
	.lb-sidebar ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
	}
}

@media (max-width: 700px) {
	:root {
		--lb-header-h: 64px;
		--lb-gutter: 16px;
	}
	body { font-size: 15.5px; }
	.lb-topbar { display: none; }
	.lb-hero-grid { padding-block: 28px 36px; gap: 22px; }
	.lb-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.lb-hero-stats li { padding: 12px; }
	.lb-hero-card { animation: none; }
	.lb-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
	.lb-btn-row { gap: 10px; }
	.lb-btn-row .lb-btn { width: 100%; }
	.lb-page-shell { padding: 22px 16px; }
	.lb-section { padding-block: 36px; }
	.lb-sidebar {
		padding: 18px 14px;
	}
	.lb-sidebar ul {
		grid-template-columns: 1fr;
	}
	.lb-sidebar li a {
		transform: none;
	}
	.lb-sidebar li a:hover,
	.lb-sidebar li.current-cat > a {
		transform: none;
	}
	.woocommerce nav.woocommerce-pagination ul {
		gap: 6px;
		padding: 0 2px;
	}
	.woocommerce nav.woocommerce-pagination ul li a,
	.woocommerce nav.woocommerce-pagination ul li span {
		min-width: 38px;
		height: 38px;
		padding: 0 8px;
		font-size: .85rem;
	}
	.lb-entry-content,
	.lb-page-shell,
	.woocommerce-page .entry-content,
	.woocommerce .woocommerce-Tabs-panel {
		max-width: 100%;
		overflow-wrap: anywhere;
	}
	.lb-entry-content img,
	.lb-page-shell img,
	.woocommerce-Tabs-panel img {
		max-width: 100%;
		height: auto;
	}
	.lb-entry-content table,
	.lb-page-shell table,
	.woocommerce-Tabs-panel table {
		table-layout: fixed;
		width: 100%;
		max-width: 100%;
	}
	.lb-entry-content th,
	.lb-entry-content td,
	.lb-page-shell th,
	.lb-page-shell td,
	.woocommerce-Tabs-panel th,
	.woocommerce-Tabs-panel td {
		padding: 10px 8px;
		font-size: .82rem;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
	.lb-page-hero .lb-container,
	.lb-page-hero-desc {
		max-width: 100%;
		overflow-wrap: anywhere;
	}
	.woocommerce .woocommerce-ordering select {
		width: 100%;
		max-width: 100%;
	}
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		width: 100%;
		max-width: 100%;
	}
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		padding: 0 12px;
		font-size: .86rem !important;
	}
	.woocommerce ul.products li.product .price {
		padding: 8px 12px 0;
		font-size: .98rem !important;
	}
	.woocommerce ul.products li.product .button,
	.woocommerce ul.products li.product a.button,
	.woocommerce ul.products li.product button.button {
		width: calc(100% - 24px);
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
		margin: 10px 12px 14px !important;
		padding: 0 12px !important;
		font-size: .78rem !important;
	}
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		min-height: calc(1.35em * 3);
		-webkit-line-clamp: 3;
	}
	.woocommerce ul.products li.product img { padding: 10px; }
	.woocommerce div.product form.cart {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
		align-items: stretch;
	}
	.woocommerce div.product form.cart .button {
		flex: 1 1 100%;
		width: 100%;
		text-align: center;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		flex: 1 1 auto;
		margin: 0 !important;
	}
	.woocommerce table.shop_table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.lb-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 10px;
	}
	.lb-totop { right: 14px; bottom: 14px; }
	.lb-drawer { width: min(100vw, 100%); padding: 20px 18px 32px; }
}

@media (max-width: 460px) {
	.lb-brand-name { font-size: 1.05rem; }
	.lb-cart { padding: 9px 11px; }
	.lb-burger {
		width: 42px;
		height: 42px;
		border-radius: 12px;
	}
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}
	.lb-hero-stats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   17. Уважение к настройкам доступности
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.lb-reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.lb-header, .lb-topbar, .lb-footer, .lb-totop, .lb-drawer, .lb-overlay { display: none !important; }
	body { background: #fff; }
}
