/* KOTELIFE — дизайн-правки. Каждый блок подписан. */

/* 1. Карточка товара, телефон: кнопка «В корзину» без белой плашки,
      ширина и скругление как у нижнего меню, небольшой зазор над ним. */
@media (max-width: 860px) {
	body .ktlp .ktlp-purchase-bar {
		background: transparent !important;
		box-shadow: none !important;
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
		border: 0 !important;
		border-radius: 0 !important;
		padding: 0 !important;
		left: 12px !important;
		right: 12px !important;
		width: auto !important;
		bottom: calc(var(--kh-bottom-space, 48px) + 2px) !important;
	}
	body .ktlp .ktlp-purchase-bar .ktlp-buy-box,
	body .ktlp .ktlp-purchase-bar .ktlp-purchase-slot,
	body .ktlp .ktlp-purchase-bar .ktlc-purchase,
	body .ktlp .ktlp-purchase-bar .ktlc-purchase-row {
		background: transparent !important;
		box-shadow: none !important;
		border: 0 !important;
		padding: 0 !important;
	}
	body .ktlp .ktlp-purchase-bar .ktlp-purchase-hint,
	body .ktlp .ktlp-purchase-bar .ktlc-buy {
		width: 100% !important;
		min-height: 50px;
		border-radius: 17px !important;
		box-shadow: 0 6px 18px rgba(98, 40, 190, .28) !important;
	}
	body .ktlp .ktlp-purchase-bar .ktlp-purchase-hint {
		background: #7e34ed !important;
		color: #fff !important;
	}
}

/* 2. Галерея товара, телефон: без вертикальной колонки миниатюр,
      фото на всю ширину и на белом фоне (фото товаров сняты на белом). */
@media (max-width: 600px) {
	/* (Дизайн) 22: лента миниатюр слева возвращена, см. блок Design 22 ниже */
	body .ktlp .ktlp-gallery {
		width: 100% !important;
		margin: 0 !important;
		background: #fff !important;
		border-radius: 20px !important;
		overflow: hidden;
	}
	body .ktlp .ktlp-slides,
	body .ktlp .ktlp-slide { background: #fff !important; }
	body .ktlp .ktlp-slide img { object-fit: contain !important; }
}
/* Галерея на любом экране: белый фон под фото вместо сиреневого. */
body .ktlp .ktlp-gallery,
body .ktlp .ktlp-slides { background: #fff; }

/* 3. Одно фото у товара — без стрелок и счётчика «1 / 1». */
body .ktlp .ktlp-gallery:not(:has(.ktlp-slide + .ktlp-slide)) .ktlp-gallery-arrow,
body .ktlp .ktlp-gallery:not(:has(.ktlp-slide + .ktlp-slide)) .ktlp-photo-count { display: none !important; }

/* 4. Каталог: «Избранное» и «Сравнить» на карточке на 30% меньше. */
body .ktlc-card .ktlc-wishlist a,
body .ktlc-card .ktlc-wishlist .ktl-wishlist-btn,
body .ktlc-card a.ktl-wishlist-btn,
body .ktlc-card .ktlc-compare-toggle {
	width: 26px !important;
	height: 26px !important;
	min-width: 26px !important;
	min-height: 26px !important;
	padding: 0 !important;
}
body .ktlc-card .ktlc-wishlist svg,
body .ktlc-card .ktlc-compare-toggle svg {
	width: 15px !important;
	height: 15px !important;
}

/* 5. Каталог: переключатель «Без/С сердечником» — текст в одну строку. */
body .ktlf-tree-heading {
	white-space: nowrap !important;
	min-width: 0;
}
@media (max-width: 420px) {
	body .ktlf-tree-heading { font-size: 14px !important; padding-left: 11px !important; padding-right: 10px !important; gap: 5px !important; }
	/* У «С сердечником» справа кнопка «i» — вместо стрелки, с местом под неё. */
	body .ktlf-tree-heading:has(+ .ktlf-core-info) { padding-right: 36px !important; font-size: 13.5px !important; }
	body .ktlf-tree-heading:has(+ .ktlf-core-info) .ktlf-tree-chevron { display: none !important; }
	body .ktlf-core-info { width: 26px !important; height: 26px !important; min-height: 26px !important; }
	body .ktlf-core-info svg { width: 16px !important; height: 16px !important; }
}

/* 6. Окна шапки (каталог, профиль, ещё): простой крестик без кружка-обводки. */
body .kh .kh-dialog .kh-close {
	background: transparent !important;
	color: #3a2a4a !important;
	border-radius: 10px !important;
}
body .kh .kh-dialog .kh-close:hover,
body .kh .kh-dialog .kh-close:focus-visible { background: #f3eefa !important; color: #55258c !important; }
body .kh .kh-dialog .kh-close:focus { outline: none; }
body .kh .kh-dialog .kh-close::before,
body .kh .kh-dialog .kh-close::after { width: 18px !important; left: 7px !important; height: 2px !important; border-radius: 2px; }

/* 7. Панель «Каталог» на телефоне закрывается туда же, откуда выехала — влево. */
body .kh #kh-catalog.kh-dialog.kh-closing {
	animation: kl-catalog-close-left .2s cubic-bezier(.4, 0, 1, 1) forwards !important;
}
@keyframes kl-catalog-close-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	body .kh #kh-catalog.kh-dialog.kh-closing { animation: none !important; }
}

/* 8. Баннер категории: белый фон, чтобы фото на белом не выглядело «вставкой» на сером. */
body .ktlf-selector-preview,
body .ktlf-selector-image { background: #fff !important; }

/* 9. Кабинет: «Подтвердите email» — первым блоком, компактно и заметно. */
body .ktla-home-menu .ktla-email-confirmation { order: -10 !important; grid-column: 1 / -1 !important; }
body .ktla-home-menu .ktla-home-welcome { order: -20; }
body .ktla-email-confirmation {
	display: grid !important;
	grid-template-columns: 40px 1fr;
	gap: 4px 12px;
	align-items: center;
	margin: 0 0 14px !important;
	padding: 14px 16px !important;
	border: 1.5px solid #f2c94c !important;
	border-radius: 18px !important;
	background: #fff8e1 !important;
	box-shadow: 0 6px 18px rgba(196, 150, 20, .14) !important;
}
body .ktla-email-confirmation-icon {
	grid-row: 1 / 3;
	display: grid; place-items: center;
	width: 40px; height: 40px; border-radius: 12px;
	background: #ffe7a3; color: #8a5a00; font-size: 20px; line-height: 1;
}
body .ktla-email-confirmation-copy strong { display: block; font-size: 16px; color: #4a3200; margin: 0 0 2px; }
body .ktla-email-confirmation-copy p { margin: 0 !important; font-size: 13px; line-height: 1.4; color: #6b5420; }
body .ktla-email-confirmation .ktla-email-confirmation-button {
	grid-column: 1 / -1;
	display: flex; align-items: center; justify-content: center;
	min-height: 40px; margin-top: 8px; border-radius: 12px;
	background: #f2b705 !important; color: #3a2600 !important;
	font-weight: 700; font-size: 14px; text-decoration: none !important;
}

/* 10. Отменённый заказ: кот справа от заголовка, без лишнего «Оформить заново». */
body .ktla-hero.ktla-stage-cancelled { padding-right: 18px; }
body .ktla-hero.ktla-stage-cancelled .ktla-hero-top { padding-right: 92px; min-height: 84px; }
body .ktla-hero.ktla-stage-cancelled .ktla-cancel-celebration { display: block !important; position: static !important; margin-top: 12px; padding: 0 !important; min-height: 0 !important; }
body .ktla-hero.ktla-stage-cancelled .ktla-cancel-cat {
	position: absolute !important; top: 14px; right: 14px;
	width: 84px !important; height: 92px !important; margin: 0 !important;
}
body .ktla-hero.ktla-stage-cancelled .ktla-cancel-kicker,
body .ktla-hero.ktla-stage-cancelled .ktla-cancel-copy > strong { display: none !important; }
body .ktla-hero.ktla-stage-cancelled .ktla-order-again { display: grid; gap: 6px; margin: 0 !important; }
body .ktla-hero.ktla-stage-cancelled .ktla-order-again span { font-size: 12.5px; line-height: 1.35; }

/* 11. Товары в заказе: фото целиком (без обрезки), на белом фоне. */
body .ktla-products article { grid-template-columns: 64px minmax(0, 1fr) !important; gap: 12px !important; }
body .ktla-products .ktla-product-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #eee7f5; display: block; }
body .ktla-products .ktla-product-thumb img { width: 100% !important; height: 100% !important; object-fit: contain !important; }

/* 12. «Нужна помощь с заказом?» — значок «?» в одну строку с заголовком. */
body .ktla-help-card { display: block !important; padding: 16px !important; }
body .ktla-help-card > div { display: block !important; margin-bottom: 12px; }
body .ktla-help-card > div > div { display: contents; }
body .ktla-help-card .ktla-help-icon {
	float: left; width: 26px !important; height: 26px !important; min-width: 26px;
	margin: 0 8px 0 0 !important; border-radius: 50% !important; font-size: 14px !important; line-height: 26px;
}
body .ktla-help-card h3 { margin: 0 0 6px !important; font-size: 17px !important; line-height: 26px !important; }
body .ktla-help-card p { clear: both; margin: 0 !important; font-size: 13.5px; }
body .ktla-products article .ktla-product-price { grid-column: 2 !important; justify-self: start !important; margin-top: 2px !important; font-size: 16px; }

/* 13. Результат подтверждения email. */
.kl-email-result{display:flex;gap:12px;align-items:flex-start;margin:0 0 16px;padding:14px 16px;border-radius:18px;border:1.5px solid}
.kl-email-result>span{flex:0 0 36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:18px;color:#fff}
.kl-email-result strong{display:block;font-size:16px;margin:0 0 2px}
.kl-email-result p{margin:0;font-size:14px;line-height:1.4}
.kl-email-result--confirmed{background:#ecfbf1;border-color:#9fe0b5;color:#14532d}
.kl-email-result--confirmed>span{background:#22a55a}
.kl-email-result--invalid{background:#fff4ec;border-color:#f6c49d;color:#7a3410}
.kl-email-result--invalid>span{background:#ea7a2c}

/* 14. Вход/регистрация: «Выполняем вход…» один раз — на кнопке со спиннером.
       Строка-статус под кнопкой видна только если сервер долго отвечает. */
body .ktla-submit-status:not(.is-slow) {
	position: absolute !important; width: 1px !important; height: 1px !important;
	overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; margin: -1px !important; padding: 0 !important;
}


/* 20. Главная кабинета в стиле приложения (08.11.2026). Разметка — kl_cab_render_home(). */
.kl-cab { max-width: 760px; margin: 0 auto 32px; color: #251c33; }
.kl-cab-hello { margin: 4px 2px 18px; }
.kl-cab-hello h2 { margin: 0 !important; font-size: 30px !important; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: #1f1830; }
.kl-cab-hello p { margin: 4px 0 0; font-size: 15px; color: #7b7189; }
.kl-cab-title { margin: 26px 2px 12px !important; font-size: 21px !important; line-height: 1.2; font-weight: 750; color: #1f1830; }
.kl-cab-grid { display: grid; gap: 12px; margin-top: 12px; }
.kl-cab-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kl-cab-grid--saved { margin-top: 0; }
.kl-cab-grid--saved a.kl-cab-tile { min-height: 132px; }
.kl-cab-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.kl-cab-grid--2:empty { display: none; }

.kl-cab a.kl-cab-tile {
	position: relative; display: flex; align-items: flex-start; justify-content: space-between;
	box-sizing: border-box; min-height: 150px; padding: 18px 20px; overflow: hidden;
	border-radius: 24px; border: 1px solid rgba(255,255,255,.7);
	text-decoration: none !important; color: #2a2238 !important;
	box-shadow: 0 6px 22px rgba(80, 50, 140, .08);
	transition: transform .18s ease, box-shadow .18s ease;
}
.kl-cab a.kl-cab-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(80, 50, 140, .14); }
.kl-cab a.kl-cab-tile:focus-visible, .kl-cab a.kl-cab-row:focus-visible { outline: 2px solid #7e34ed; outline-offset: 3px; }
.kl-cab-copy { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; }
.kl-cab-copy strong { font-size: 19px; line-height: 1.2; font-weight: 750; }
.kl-cab-copy small { margin-top: 5px; font-size: 14px; line-height: 1.35; opacity: .72; }
.kl-cab-img { position: absolute; right: 10px; bottom: 6px; width: 96px; height: auto; object-fit: contain; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(90, 60, 160, .18)); }
.kl-cab-glyph { position: absolute; right: 16px; bottom: 14px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(233,222,255,.6)); color: #7e4fe0; box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(120, 80, 200, .18); }
.kl-cab-glyph svg { width: 34px; height: 34px; }

/* Заказы — большая фиолетовая карточка */
.kl-cab a.kl-cab-orders { min-height: 176px; padding: 24px 24px; background: linear-gradient(120deg, #8d63f7 0%, #6a3fe6 55%, #5a2fd8 100%); border-color: transparent; color: #fff !important; box-shadow: 0 12px 30px rgba(98, 52, 220, .3); }
.kl-cab a.kl-cab-orders .kl-cab-copy strong { font-size: 25px; }
.kl-cab a.kl-cab-orders .kl-cab-copy small { opacity: .8; max-width: 60%; }
.kl-cab-orders .kl-cab-img { width: 150px; right: 16px; bottom: 10px; }
.kl-cab-badge { align-self: flex-start; margin-top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: 13px; font-weight: 650; }

.kl-cab a.kl-cab-again   { background: linear-gradient(150deg, #e3f6ea, #cdeedb); color: #24503a !important; }
.kl-cab a.kl-cab-compare { background: linear-gradient(150deg, #fff6dc, #fde7b8); color: #5e4210 !important; }
.kl-cab a.kl-cab-wish    { background: linear-gradient(150deg, #fde4ea, #f8ccd8); color: #6e2238 !important; }
.kl-cab a.kl-cab-wait    { background: linear-gradient(150deg, #e2f2f8, #c9e6f1); color: #1f4a5a !important; }

.kl-cab-grid--3 a.kl-cab-tile { min-height: 140px; padding: 16px; }
.kl-cab-grid--3 .kl-cab-copy strong { font-size: 17px; }
.kl-cab-grid--3 .kl-cab-img { width: 82px; right: 8px; bottom: 6px; }
.kl-cab-grid--3 .kl-cab-glyph { width: 56px; height: 56px; right: 12px; bottom: 12px; }

/* Задать вопрос — баннер с котом в наушниках */
.kl-cab a.kl-cab-support { margin-top: 12px; min-height: 140px; padding: 22px 24px; background: linear-gradient(115deg, #eef0ff 0%, #dfe4ff 60%, #d3dcff 100%); color: #1e2b5c !important; }
.kl-cab a.kl-cab-support .kl-cab-copy { max-width: 65%; }
.kl-cab a.kl-cab-support .kl-cab-copy strong { font-size: 22px; }
.kl-cab-support .kl-cab-img { width: 128px; right: 14px; bottom: 0; }
.kl-cab-support .ktla-unread-count { position: absolute; top: 14px; right: 14px; z-index: 2; }

/* Аккаунт — список */
.kl-cab-list { padding: 8px; border-radius: 24px; background: #fff; box-shadow: 0 6px 22px rgba(80, 50, 140, .07); }
.kl-cab a.kl-cab-row { display: flex; align-items: center; gap: 16px; padding: 14px 14px; border-radius: 18px; background: #f7f5fb; color: #251c33 !important; text-decoration: none !important; transition: background .15s; }
.kl-cab a.kl-cab-row + a.kl-cab-row { margin-top: 8px; }
.kl-cab a.kl-cab-row:hover { background: #f0ebfa; }
.kl-cab-row .kl-cab-copy { flex: 1; }
.kl-cab-row .kl-cab-copy strong { font-size: 18px; }
.kl-cab-row .kl-cab-copy small { opacity: .65; }
.kl-cab-row-icon { flex: 0 0 52px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; }
.kl-cab-row-icon svg { width: 26px; height: 26px; }
.kl-cab-row-icon--profile { background: linear-gradient(145deg, #a374f7, #6d3fe3); }
.kl-cab-row-icon--logout  { background: linear-gradient(145deg, #a3a8b8, #737a8f); }
.kl-cab-chevron { flex: 0 0 20px; color: #9a90a8; }
.kl-cab-chevron svg { width: 20px; height: 20px; }

/* Плашка «Подтвердите email» над приветствием */
.ktla-dashboard-home .ktla-email-confirmation { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }

@media (max-width: 600px) {
	.kl-cab-hello h2 { font-size: 26px !important; }
	.kl-cab-title { font-size: 19px !important; margin-top: 22px !important; }
	.kl-cab-grid { gap: 10px; }
	.kl-cab-grid--3 { gap: 8px; }
	.kl-cab a.kl-cab-tile { min-height: 132px; padding: 15px; border-radius: 22px; }
	.kl-cab-copy strong { font-size: 16px; }
	.kl-cab-copy small { font-size: 12.5px; }
	.kl-cab a.kl-cab-orders { min-height: 156px; padding: 20px; }
	.kl-cab a.kl-cab-orders .kl-cab-copy strong { font-size: 22px; }
	.kl-cab-orders .kl-cab-img { width: 118px; }
	.kl-cab-img { width: 76px; }
	.kl-cab-grid--3 a.kl-cab-tile { min-height: 116px; padding: 12px; border-radius: 20px; }
	.kl-cab-grid--3 .kl-cab-copy strong { font-size: 14px; }
	.kl-cab-grid--3 .kl-cab-img { width: 62px; right: 6px; bottom: 4px; }
	.kl-cab-grid--3 .kl-cab-glyph { width: 46px; height: 46px; border-radius: 15px; right: 8px; bottom: 8px; }
	.kl-cab-grid--3 .kl-cab-glyph svg { width: 26px; height: 26px; }
	.kl-cab-glyph { width: 52px; height: 52px; right: 12px; bottom: 12px; }
	.kl-cab a.kl-cab-support { min-height: 124px; padding: 18px; }
	.kl-cab a.kl-cab-support .kl-cab-copy strong { font-size: 19px; }
	.kl-cab-support .kl-cab-img { width: 104px; }
	.kl-cab-row .kl-cab-copy strong { font-size: 16px; }
	.kl-cab-row-icon { flex-basis: 46px; width: 46px; height: 46px; border-radius: 14px; }
}

/* 21. Страница «Купить снова» */
.kl-again-head h2 { margin: 0 0 4px !important; font-size: 26px !important; font-weight: 800; }
.kl-again-head p { margin: 0 0 18px; color: #7b7189; font-size: 14px; }
.kl-again-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.kl-again-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #ece6f3; }
.kl-again-media { display: block; aspect-ratio: 1; background: #fff; }
.kl-again-media img { width: 100%; height: 100%; object-fit: contain; }
.kl-again-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.kl-again-name { color: #251c33 !important; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none !important; }
.kl-again-var { color: #7b7189; font-size: 12.5px; }
.kl-again-price { margin-top: auto; padding-top: 6px; font-weight: 700; color: #251c33; }
.kl-again-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 8px; padding: 0 16px; border-radius: 14px; background: #7e34ed; color: #fff !important; font-weight: 650; font-size: 14px; text-decoration: none !important; }
.kl-again-btn:hover { background: #6a24d8; }
.kl-again-btn--ghost { background: #f1edf7; color: #7b7189 !important; }
.kl-again-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 16px; border-radius: 24px; background: #f7f5fb; text-align: center; color: #5d5470; }
.kl-again-empty img { width: 120px; height: auto; }
@media (max-width: 600px) {
	.kl-again-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.kl-again-body { padding: 10px; }
}


/* 22. Главная (08.11.2026) — окно «Мы снова на связи», калькулятор, «Работы», маркетплейсы, футер. */

/* 22.1 Окно восстановления: крестик всегда виден в правом верхнем углу при прокрутке текста. */
#kl-recovery .kl-recovery-close {
	position: sticky !important; top: 0; right: auto;
	margin: -12px -10px -32px auto; display: grid;
	box-shadow: 0 2px 10px rgba(60, 30, 90, .12);
}
#kl-recovery .kl-recovery-help { margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: #f3ecfb; font-size: 15px; }
#kl-recovery .kl-recovery-help a { color: #6d2fc0; font-weight: 600; }
@media (max-width: 480px) {
	#kl-recovery .kl-recovery-close { margin: -8px -6px -30px auto; width: 40px; height: 40px; font-size: 26px; }
}

/* 22.2 Калькулятор: квадратные примеры без обрезки. */
.kl-home-help-grid .kl-calc-examples img,
.kl-home-help-grid .kl-calc-examples img[src] { aspect-ratio: 1 / 1 !important; object-fit: contain !important; background: #fff; }

/* 22.3 «Работы из наших материалов» на телефоне: без плашки, карусель от края до края. */
@media (max-width: 700px) {
	.kl-home-help-grid .kl-home-ideas {
		background: transparent !important; border: 0 !important; border-radius: 0 !important;
		padding: 6px 0 0 !important; box-shadow: none !important; overflow: visible;
	}
	.kl-home-help-grid .kl-home-ideas .kl-home-h2,
	.kl-home-help-grid .kl-home-ideas .kl-home-lead { padding-inline: 4px !important; }
	.kl-home-help-grid .kl-home-ideas-rail.wp-block-gallery {
		padding: 12px 16px 4px !important; scroll-padding-inline: 16px;
		grid-auto-columns: 72% !important;
	}
	.kl-home-ideas-controls { display: none !important; }
}

/* 22.4 Маркетплейсы: кот отделён от блока выше, меньше пустоты, крупнее иконки. */
@media (max-width: 600px) {
	.kl-home-markets { margin-top: 112px !important; padding: 16px 14px 14px !important; }
	.kl-home-markets-scene > .wp-block-image { width: 200px !important; margin: -104px auto 2px !important; }
	.kl-home-markets .kl-home-h2 { font-size: 24px !important; line-height: 1.15; }
	.kl-home-markets .kl-home-lead { margin: 8px 0 12px !important; }
	.kl-home-markets .kl-home-market-card.wp-block-column { padding: 12px 6px 10px !important; gap: 6px !important; }
	.kl-home-markets .kl-home-market-card > .wp-block-image.kl-home-market-logo,
	.kl-home-markets .kl-home-market-card > .wp-block-image.kl-home-market-logo img { width: 52px !important; height: 52px !important; border-radius: 14px !important; }
	.kl-home-markets .kl-home-market-name { font-size: 12.5px !important; }
	.kl-home-markets-foot { margin: 10px 0 0 !important; text-align: center !important; font-size: 12px !important; }
}

/* 22.5 Футер на телефоне: ровные поля и выравнивание по центру. */
@media (max-width: 600px) {
	.kl-footer .kl-footer-grid,
	.kl-footer .kl-footer-bottom { box-sizing: border-box; padding-left: 20px !important; padding-right: 20px !important; }
	.kl-footer .kl-footer-grid { text-align: center; gap: 18px 12px !important; }
	.kl-footer .kl-footer-brand { display: flex; flex-direction: column; align-items: center; }
	.kl-footer .kl-footer-logo img { margin: 0 auto; }
	.kl-footer .kl-footer-about { margin-inline: auto !important; }
	.kl-footer .kl-footer-markets { justify-content: center; }
	.kl-footer .kl-footer-menu, .kl-footer .kl-footer-contacts { align-items: center; }
	.kl-footer .kl-footer-col:last-child { grid-column: 1 / -1; }
	.kl-footer .kl-footer-contacts a { justify-content: center; }
	.kl-footer .kl-footer-bottom { flex-direction: column; align-items: center !important; text-align: center; }
	.kl-footer .kl-footer-legal { justify-content: center; }
}
/* На главной маркетплейсы уже показаны отдельным блоком — в футере не повторяем. */
body.home .kl-footer .kl-footer-brand .kl-footer-title,
body.home .kl-footer .kl-footer-markets { display: none !important; }

/* 23. Карточки товара: «Избранное» и «Сравнить» строго друг над другом справа.
       Рамка лайка была 36 px при значке 26 px — сердце уезжало левее. */
body .ktlc-card .ktlc-wishlist {
	width: 26px !important; height: 26px !important;
	display: grid !important; place-items: center !important;
	padding: 0 !important; background: transparent !important; box-shadow: none !important;
}
body .ktlc-card .ktlc-compare-toggle { top: 40px !important; right: 8px !important; }
body .ktlc-card .ktlc-wishlist { right: 8px !important; top: 8px !important; }

/* 24. Окно «Выберите диаметр и метраж»: фото целиком (3:4), название над ценой. */
.ktlc-sheet-v2 .ktlc-sheet-product { align-items: center !important; gap: 14px !important; padding: 12px !important; background: #f6f2fa !important; border-color: #e6dcef !important; }
.ktlc-sheet-v2 .ktlc-sheet-thumb,
.ktlc-sheet .ktlc-sheet-thumb { width: 72px !important; height: 96px !important; flex: 0 0 72px !important; object-fit: cover !important; border: 0 !important; border-radius: 12px !important; background: #fff !important; }
.ktlc-sheet-v2 .ktlc-sheet-product-info { display: flex !important; flex-direction: column; }
.ktlc-sheet-v2 .ktlc-sheet-product-name { order: -1; margin: 0 0 6px !important; font-size: 14px !important; font-weight: 600; line-height: 1.3; color: #2a2238 !important; }

/* 25. Таб-бар (телефон): один размер на всех страницах и без сжатия при прокрутке —
       раньше при прокрутке он уменьшался до 76%, а на странице товара был отдельный ужатый вид,
       поэтому при переходах «подпрыгивал». «В корзину» на странице товара — над таб-баром
       с учётом «полоски» iPhone (safe-area). */
@media (max-width: 600px) {
	body .kh-replacement .kh .kh-bottom,
	body .kh-replacement .kh .kh-bottom.kh-scroll-small { transform: none !important; transition: none !important; }
	/* Значения — как у обычного таб-бара на остальных страницах (67 px). */
	body.single-product .kh-replacement .kh .kh-bottom { min-height: 0 !important; padding: 5px 6px !important; gap: 3px !important; border-radius: 23px !important; }
	body.single-product .kh-bottom .kh-bottom-label { display: block !important; }
	body.single-product .kh-bottom a, body.single-product .kh-bottom button { min-height: 55px !important; height: 55px !important; padding: 6px 3px !important; gap: 3px !important; }
	body.single-product .kh-bottom .kh-icon { width: 25px !important; height: 25px !important; }
	body .ktlp .ktlp-purchase-bar {
		bottom: calc(max(4px, env(safe-area-inset-bottom, 0px)) + 67px + 10px) !important;
	}
	body.single-product { padding-bottom: calc(max(4px, env(safe-area-inset-bottom, 0px)) + 140px) !important; }
}

/* 26. Корзина: плашка «Можно добавить ещё N шт.» — по ширине текста, а не на всю строку
   (в сетке карточки элемент растягивался на весь столбец). */
html body.klc-preview.klc-cart .klc-item-info>.klc-stock,
html body.klc-cart .klc-stock {
  justify-self: start !important;
  align-self: start !important;
  width: fit-content !important;
  max-width: 100% !important;
}

/* 27. Главная (телефон): главное фото — обычной картинкой в потоке, а не absolute + aspect-ratio
   (на части iPhone блок схлопывался и фото не показывалось). */
@media (max-width: 600px) {
  body .kl-home-hero.wp-block-media-text .wp-block-media-text__media {
    position: relative !important; aspect-ratio: auto !important; height: auto !important;
    min-height: 0 !important; line-height: 0; overflow: hidden; background: #e6dcf5;
  }
  body .kl-home-hero.wp-block-media-text .wp-block-media-text__media img {
    position: static !important; inset: auto !important; width: 100% !important; height: auto !important;
    aspect-ratio: 1000 / 563; object-fit: cover; display: block;
  }
}

/* 28. Калькулятор расхода: большая иконка, выезжающая за верхний край плашки. */
body .kl-home-help-grid .kl-home-calculator { overflow: visible !important; padding-top: 46px !important; }
body .kl-home-help-grid .kl-home-calc-art.wp-block-image {
  position: absolute !important; top: -38px !important; right: 12px !important; bottom: auto !important;
  width: 110px !important; height: 110px !important; margin: 0 !important; z-index: 2;
  transform: rotate(9deg); animation: none !important; pointer-events: none;
  filter: drop-shadow(0 12px 12px rgba(40, 80, 56, .28));
}
body .kl-home-help-grid .kl-home-calc-art img { width: 100% !important; height: 100% !important; object-fit: contain; }
@media (min-width: 701px) {
  body .kl-home-help-grid .kl-home-calculator { padding-top: 58px !important; }
  body .kl-home-help-grid .kl-home-calc-art.wp-block-image { top: -50px !important; right: 18px !important; width: 124px !important; height: 124px !important; }
}
body .kl-home-calc-art.kl-pop { opacity: 0; transform: translateY(46px) scale(.5) rotate(-8deg); }
body .kl-home-help-grid .kl-home-calc-art.kl-pop.is-in {
  opacity: 1; transform: rotate(9deg);
  transition: transform .75s cubic-bezier(.2, 1.35, .4, 1), opacity .3s ease-out;
}

/* 29. Правки 08.11 (вечер). */
/* 29.1 Меню кабинета: число у пункта, к которому оно относится. */
.kh-profile-links a .kl-menu-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #e5394f; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }

/* 29.2 Кабинет: «Купить снова» на всю ширину; Сохранённое — три в ряд; кот крупнее, низ спрятан за краем. */
.kl-cab a.kl-cab-again { margin-top: 12px; min-height: 104px; }
.kl-cab a.kl-cab-again .kl-cab-img { width: 96px; }
.kl-cab-grid--saved .kl-cab-copy strong { line-height: 1.15; }
.kl-cab a.kl-cab-support { overflow: visible !important; clip-path: inset(-90px -30px 0 -30px round 0 0 24px 24px); margin-top: 30px; }
.kl-cab-support .kl-cab-img { width: 170px !important; right: 4px !important; bottom: -34px !important; }
@media (max-width: 600px) {
  .kl-cab a.kl-cab-again { min-height: 92px; }
  .kl-cab a.kl-cab-again .kl-cab-img { width: 78px; }
  .kl-cab-grid--saved a.kl-cab-tile { min-height: 112px; }
  .kl-cab-grid--saved .kl-cab-copy strong { font-size: 13.5px; }
  .kl-cab a.kl-cab-support { margin-top: 26px; }
  .kl-cab a.kl-cab-support .kl-cab-copy { max-width: 58%; }
  .kl-cab-support .kl-cab-img { width: 150px !important; right: 0 !important; bottom: -30px !important; }
}

/* 29.3 О производстве: видео без рамки «телефона», кот маркетплейсов не наезжает, просмотр фото по экрану. */
#kl-about-v2 .klp-phone { width: min(300px, 100%) !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; margin-inline: auto; }
#kl-about-v2 .klp-phone:before, #kl-about-v2 .klp-phone:after { display: none !important; }
#kl-about-v2 .klp-video { border: 0 !important; border-radius: 22px !important; background: #e9e1f3 !important; box-shadow: 0 14px 34px rgba(60, 30, 100, .18); }
#kl-about-v2 .klp-video video { border-radius: 22px !important; object-fit: cover !important; background: #e9e1f3 !important; }
@media (max-width: 600px) {
  #kl-about-v2 .klp-phone { width: min(260px, 100%) !important; }
  .klp-restored .kl-home-markets { margin-top: 118px !important; }
}
.klp-lightbox, .klp-lightbox * { box-sizing: border-box; }
.klp-lightbox { inset: 0; margin: 0; }
.klp-lightbox::backdrop { background: rgba(18, 13, 23, .96) !important; }
.klp-lightbox img { max-width: 100% !important; border-radius: 14px; }

/* 29.4 Каталог (телефон): картинка баннера прижата вправо и растворяется в фоне; ровный ряд кнопок. */
@media (max-width: 600px) {
  .ktlf-generic-navigation .ktlf-selector-preview { position: relative !important; display: block !important; min-height: 150px; padding: 18px 16px !important; overflow: hidden; }
  .ktlf-generic-navigation .ktlf-mobile-banner-copy { position: relative !important; z-index: 1; max-width: 55% !important; min-height: 114px; justify-content: center; }
  .ktlf-generic-navigation .ktlf-selector-image { position: absolute !important; top: 0; right: 0; bottom: 0; width: 56% !important; max-width: none !important; height: 100% !important; aspect-ratio: auto !important; margin: 0 !important; border-radius: 0 !important; background: transparent !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }
  .ktlf-generic-navigation .ktlf-selector-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: right center !important; background: transparent !important; }
  .ktlf-tree-navigation .ktlf-tree-heading { justify-content: flex-start !important; gap: 6px; }
  .ktlf-tree-navigation .ktlf-tree-heading > span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ktlf-tree-navigation .ktlf-tree-heading[data-ktlf-core="1"] { padding-right: 44px !important; }
  .ktlf-tree-navigation .ktlf-core-info { flex: none; width: 30px !important; min-width: 30px !important; height: 30px !important; margin-right: 7px !important; }
  .ktlf-tree-navigation .ktlf-materials { padding-right: 28px !important; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
}

/* 29.5 Карточка товара: закончившийся вариант без зачёркивания, с подписью; читаемые характеристики. */
.ktlp .ktlp-choices > button.is-unavailable { text-decoration: none !important; background: #f6f4f8 !important; border-style: dashed !important; border-color: #d3cbdd !important; position: relative; }
.ktlp .ktlp-choices > button.is-unavailable .ktlp-choice-diameter, .ktlp .ktlp-choices > button.is-unavailable .ktlp-choice-length { color: #a39bad !important; text-decoration: none !important; }
.ktlp .ktlp-choices > button.is-unavailable::after { content: 'нет в наличии'; display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: #a1607a; letter-spacing: .01em; }
.ktlp .ktlp-choices > button.is-unavailable.is-selected { background: #f3ecfb !important; border-style: solid !important; border-color: #8232ef !important; }
.ktlp-inline-facts dl, .ktlp-facts { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: 0 !important; margin: 0; font-size: 15px !important; }
.ktlp-inline-facts dt, .ktlp-inline-facts dd, .ktlp-facts dt, .ktlp-facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid #eee8f4; line-height: 1.3; }
.ktlp-inline-facts dt, .ktlp-facts dt { color: #82788e; font-weight: 400; }
.ktlp-inline-facts dd, .ktlp-facts dd { color: #2a2531; font-weight: 600; text-align: right !important; padding-left: 14px; text-transform: lowercase; }
.ktlp-inline-facts dd::first-letter, .ktlp-facts dd::first-letter { text-transform: uppercase; }
.ktlp-inline-facts dt:last-of-type, .ktlp-inline-facts dd:last-of-type, .ktlp-facts dt:last-of-type, .ktlp-facts dd:last-of-type { border-bottom: 0; }
.ktlc-wait.is-wait-saved { cursor: pointer; }
body .ktlp .ktlp-inline-facts dl > dt, body .ktlp .ktlp-inline-facts dl > dd { font-size: 15px !important; padding: 12px 0 !important; margin: 0 !important; display: flex !important; align-items: center; border-bottom: 1px solid #eee8f4 !important; min-height: 46px; box-sizing: border-box; }
body .ktlp .ktlp-inline-facts dl > dd { justify-content: flex-end; padding-left: 14px !important; }
body .ktlp .ktlp-inline-facts dl > dt:last-of-type, body .ktlp .ktlp-inline-facts dl > dd:last-of-type { border-bottom: 0 !important; }
body .ktlp .ktlp-inline-facts dl > dd { display: block !important; text-align: right !important; line-height: 21px !important; }
@media (max-width: 600px) { html body .wp-block-group.klp-restored > .wp-block-group.kl-home-markets.kl-home-section { margin-top: 118px !important; } }
@media (max-width: 600px) { html body #kl-about-v2 .wp-block-group.kl-home-markets.kl-home-section { margin-top: 118px !important; } }

/* 30. Корзина: подсказка «Нажмите на кружок…» — одна строка, простой крестик, закрытие запоминается
   (класс kl-hint-off на <html>, ставит скрипт из kotelife-design-polish.php). */
.klc-selection-guide p { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.kl-hint-x { flex: none; display: inline-grid; place-items: center; width: 18px; height: 22px; margin: -4px -3px -4px -1px; padding: 0; border: 0; background: none; color: #9a8fa8; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kl-hint-x svg { width: 10px; height: 10px; }
.kl-hint-x:hover { color: #7b2fed; }
html.kl-hint-off .klc-selection-guide p, html.kl-hint-off .klc-selection-arrow { display: none !important; }
@media (max-width: 600px) {
  html body.klc-preview.klc-cart .klc-selection-guide p { top: 5px !important; right: 42px !important; width: auto !important; max-width: calc(100% - 90px) !important; white-space: nowrap; }
  html body.klc-preview.klc-cart .klc-selection-arrow { right: 4px !important; }
}
@media (max-width: 370px) {
  html body.klc-preview.klc-cart .klc-selection-guide p { white-space: normal; max-width: 180px !important; text-align: right; }
}
@media (min-width: 601px) {
  html body.klc-preview .klc-selection-guide p { padding-right: 70px !important; }
}

/* 31. Уведомления WooCommerce (корзина, кабинет, оформление) — в стиле сайта: мягкая плашка, своя иконка, без серого фона и полосы. */
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  position: relative; display: block; margin: 0 0 10px !important; padding: 12px 14px 12px 44px !important;
  border: 0 !important; border-radius: 16px !important; box-shadow: none !important; outline: 0;
  font-size: 14px !important; line-height: 1.4 !important; font-weight: 500; text-align: left;
  background: #f1ebfb !important; color: #3f2a63 !important; list-style: none !important;
}
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > .woocommerce-message { background: #e9f6ee !important; color: #1f5638 !important; }
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > .woocommerce-error { background: #fdeef0 !important; color: #8a1f2d !important; }
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
  content: '' !important; position: absolute !important; left: 14px !important; top: 12px !important; width: 20px; height: 20px; margin: 0 !important;
  font-family: inherit !important; border-radius: 50%; background: #7b2fed center / 12px 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 5.2v3.6' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='3.3' r='.95' fill='%23fff'/%3E%3C/svg%3E");
}
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > .woocommerce-message::before {
  background: #2f9e5b center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > .woocommerce-error::before {
  background: #d23a4c center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.8v3.8' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='8.9' r='.95' fill='%23fff'/%3E%3C/svg%3E") !important;
}
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > .woocommerce-error li { margin: 0 0 4px !important; padding: 0 !important; list-style: none !important; }
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > .woocommerce-error li:last-child { margin-bottom: 0 !important; }
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) :is(a.button, .button, a.wc-forward) {
  float: none !important; display: inline !important; margin: 0 0 0 4px !important; padding: 0 !important; border: 0 !important; min-height: 0 !important;
  background: none !important; box-shadow: none !important; color: inherit !important; font: inherit !important; font-weight: 700 !important; text-decoration: underline !important; text-underline-offset: 2px;
}
html body :is(.klc-cart-notices, .woocommerce-notices-wrapper, .woocommerce-NoticeGroup, .woocommerce-MyAccount-content, .woocommerce-account .woocommerce) > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) { color: inherit !important; font-weight: 700; }
.klc-cart-notices { margin-bottom: 12px; }
.klc-cart-notices > :last-child { margin-bottom: 0 !important; }

/* 32. Главная: чуть больше воздуха между блоками (+~20%), «Акции недели» — таймер до понедельника,
   «Популярное сейчас» — плашка «Популярно» перед ценой, «С производства прямо к вам» на компьютере — фото почти целиком. */
html body #post-20 .kl-entry > * + * { margin-top: 17px !important; }
@media (min-width: 601px) { html body #post-20 .kl-entry > * + * { margin-top: 34px !important; } }
@media (max-width: 600px) { html body #post-20 .kl-entry > .kl-home-markets { margin-top: 118px !important; } }

.kl-home-deals .kl-section-head { flex-wrap: wrap; row-gap: 4px; }
html body .kl-home-deals .kl-section-head .kl-deals-timer { display: inline-flex; align-items: center; gap: 0; margin: 0 16px 0 auto; padding: 7px 15px 7px 12px;
  border: 1px solid #f5ccd3; border-radius: 999px; background: #fff; color: #e23d55; box-shadow: 0 2px 10px rgba(226,61,85,.10);
  line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
html body .kl-home-deals .kl-section-head .kl-deals-timer::before { content: ''; width: 17px; height: 17px; margin-right: 7px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.4'/%3E%3Cpath d='M8 4.6V8l2.3 1.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.4'/%3E%3Cpath d='M8 4.6V8l2.3 1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .kl-home-deals .kl-section-head .kl-deals-timer b { display: inline-flex; align-items: baseline; gap: 6px; font-size: 19px; font-weight: 800; letter-spacing: .02em; color: #e23d55; }
html body .kl-home-deals .kl-section-head .kl-deals-timer .kl-deals-timer__label { font-size: 14px; font-weight: 600; letter-spacing: 0; color: #5c4a55; }
@media (max-width: 600px) {
  html body .kl-home-deals .kl-section-head .kl-deals-timer { order: 3; margin: 8px 0 2px; padding: 6px 14px 6px 11px; }
  html body .kl-home-deals .kl-section-head .kl-deals-timer b { font-size: 17px; }
  html body .kl-home-deals .kl-section-head .kl-deals-timer .kl-deals-timer__label { font-size: 13px; }
}

.kl-home-popular .ktlc-card-body::before { content: 'Популярно'; align-self: flex-start; display: inline-block; width: max-content; margin: 0 0 5px;
  padding: 2px 7px; border-radius: 6px; background: #e8344e; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1.45; letter-spacing: .01em; }

@media (min-width: 901px) {
  html body .kl-entry-wide > .klp-home-production, html body .klp-home-production { grid-template-columns: minmax(0, 1fr) minmax(0, 470px) !important; }
  .klp-home-production .wp-block-image.klp-home-scene { min-height: 380px !important; }
  .klp-home-production .klp-home-scene img { object-position: center 38% !important; }
  .klp-home-copy { padding: 32px 36px !important; }
}

/* 33. Карточка товара: подпись «нет в наличии» под метражом, а не сбоку (наезжала на соседние кнопки);
   характеристики на телефоне — компактнее и не такие жирные. */
.ktlp .ktlp-choices > button.is-unavailable { flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 1px !important; overflow: hidden; }
.ktlp .ktlp-choices > button.is-unavailable::after { margin-top: 0 !important; font-size: 9px !important; line-height: 1.1 !important; white-space: nowrap; letter-spacing: 0 !important; }
@media (max-width: 600px) {
  .ktlp .ktlp-choices > button.is-unavailable::after { content: 'закончился'; }
  body .ktlp .ktlp-inline-facts dl > dt, body .ktlp .ktlp-inline-facts dl > dd { font-size: 13.5px !important; padding: 8px 0 !important; min-height: 36px !important; }
  body .ktlp .ktlp-inline-facts dl > dd { font-weight: 500 !important; line-height: 20px !important; padding-left: 12px !important; }
}

/* 34. Главная, «Работы из наших материалов»: свой просмотр фото вместо стандартного WordPress —
   фото сразу во весь экран, листание сдвигом влево/вправо (как слайдер), без «вырастания» из миниатюры. */
.kl-ideas-lb { position: fixed; inset: 0; z-index: 100000; display: none; background: #120d17; }
.kl-ideas-lb.is-open { display: block; }
html.kl-ideas-lb-lock, html.kl-ideas-lb-lock body { overflow: hidden !important; }
.kl-ideas-lb-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kl-ideas-lb-track::-webkit-scrollbar { display: none; }
.kl-ideas-lb-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; padding: calc(56px + env(safe-area-inset-top)) 0 calc(48px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.kl-ideas-lb-slide img { display: block; width: 100%; height: 100%; max-width: 1200px; object-fit: contain; border-radius: 0; background: transparent; transform: none !important; transition: none !important; animation: none !important; }
.kl-ideas-lb-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.kl-ideas-lb-close svg { width: 18px; height: 18px; }
.kl-ideas-lb-count { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.kl-ideas-lb-nav { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.kl-ideas-lb-nav svg { width: 20px; height: 20px; }
.kl-ideas-lb-nav.is-prev { left: 16px; } .kl-ideas-lb-nav.is-next { right: 16px; }
.kl-ideas-lb-nav:disabled { opacity: .3; cursor: default; }
.kl-ideas-lb-nav:not(:disabled):hover, .kl-ideas-lb-close:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 600px), (hover: none) { .kl-ideas-lb-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .kl-ideas-lb-track { scroll-behavior: auto; } }

/* 35. Шапка на 768–1023 px: «Задать вопрос» в одну строку (в разметке <br>), ровно с остальными иконками;
   «Расчёт метража» и другие кнопки второго ряда не переносятся. Контакты (телефон): страница не шире экрана. */
html body .kh-tools .kh-tool-support .kh-telegram-label { font-size: 0 !important; line-height: 0 !important; }
html body .kh-tools .kh-tool-support .kh-telegram-label::after { content: 'Задать вопрос'; font-size: 11px; line-height: 13.2px; white-space: nowrap; }
@media (max-width: 1023px) {
  html body .kh-nav { gap: 5px !important; }
  html body .kh-nav .kh-chip { white-space: nowrap !important; padding-left: 10px !important; padding-right: 10px !important; }
}
#kl-contacts { box-sizing: border-box !important; max-width: min(1100px, 100%) !important; }
#kl-contacts * { min-width: 0; }

/* 36. Оформление: карточка «Доставка в Беларусь» — вместо мелкой «Написать» с обрезанной линией
   полноценная кнопка «Написать в поддержку» на всю ширину карточки. */
html body.klc-preview.klc-checkout #order_review.klc-app-review .klc-shipping-card #shipping_method.ktlo-delivery-grid > li.ktlo-carrier-belarus { row-gap: 0 !important; }
html body.klc-preview.klc-checkout #order_review.klc-app-review .klc-shipping-card #shipping_method.ktlo-delivery-grid > li.ktlo-carrier-belarus > a.klc-belarus-support.klc-wholesale-support {
  justify-self: stretch !important; width: auto !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px;
  min-height: 42px !important; height: auto !important; margin: 12px 0 0 !important; padding: 0 14px !important; border: 0 !important; border-radius: 12px !important;
  background: #7b2fed !important; color: #fff !important; font-size: 14px !important; font-weight: 600 !important; text-decoration: none !important; box-shadow: 0 4px 12px rgba(107, 47, 197, .18); }
html body.klc-preview.klc-checkout #order_review.klc-app-review .klc-shipping-card #shipping_method.ktlo-delivery-grid > li.ktlo-carrier-belarus > a.klc-belarus-support.klc-wholesale-support .klc-wholesale-link-full { display: inline !important; }
html body.klc-preview.klc-checkout #order_review.klc-app-review .klc-shipping-card #shipping_method.ktlo-delivery-grid > li.ktlo-carrier-belarus > a.klc-belarus-support.klc-wholesale-support .klc-wholesale-link-short { display: none !important; }
html body.klc-preview.klc-checkout #order_review.klc-app-review .klc-shipping-card #shipping_method.ktlo-delivery-grid > li.ktlo-carrier-belarus > a.klc-belarus-support.klc-wholesale-support::before { content: ''; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h11v7.5H7L4 13.5V11H2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h11v7.5H7L4 13.5V11H2.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
html body.klc-preview.klc-checkout #order_review.klc-app-review .klc-shipping-card #shipping_method.ktlo-delivery-grid > li.ktlo-carrier-belarus > a.klc-belarus-support.klc-wholesale-support:hover { background: #6826ce !important; }

/* 37. Категория «Пряжа», компьютер (>900 px): шапка ниже (454 → 322 px), фото квадратом 300 px справа целиком, без обрезки. */
@media (min-width: 901px) {
  html body .ktlf-yarn-intro { grid-template-columns: minmax(0, 1fr) auto !important; height: auto !important; min-height: 0 !important; align-items: center !important; column-gap: 32px !important; padding: 10px 10px 10px 24px !important; }
  html body .ktlf-yarn-intro .ktlf-yarn-photo { width: 300px !important; height: 300px !important; justify-self: end !important; margin: 0 !important; }
  html body .ktlf-yarn-intro .ktlf-yarn-photo img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
}

/* 38. Главная, компьютер: отступы между блоками 34 → 48 px, перед «Калькулятором» 72 px — иконка не упирается в блок выше.
   Иконка калькулятора раз в 4 с «покачивается» (только картинка, без сдвига плашки; при «уменьшить движение» — нет). */
@media (min-width: 601px) {
  html body #post-20 .kl-entry > * + * { margin-top: 48px !important; }
  html body #post-20 .kl-entry > .kl-home-help-grid { margin-top: 72px !important; }
}
@keyframes kl-calc-wiggle {
  0%, 76%, 100% { transform: rotate(0); }
  80% { transform: rotate(-10deg) scale(1.04); }
  84% { transform: rotate(9deg) scale(1.04); }
  88% { transform: rotate(-7deg); }
  92% { transform: rotate(5deg); }
  96% { transform: rotate(-2deg); }
}
body .kl-home-calc-art.is-in img, body .kl-home-calc-art:not(.kl-pop) img { animation: kl-calc-wiggle 4s ease-in-out 1.2s infinite; transform-origin: 50% 75%; }
@media (prefers-reduced-motion: reduce) { body .kl-home-calc-art img { animation: none !important; } }

/* 39. Главная, «С производства прямо к вам» на компьютере: заметнее — лавандовый фон, крупный заголовок (30 → 40 px),
   текст 17 px и темнее, фиолетовая надпись сверху, пункты 01–03 белыми плашками с фиолетовыми номерами, кнопка крупнее. */
@media (min-width: 901px) {
  html body .kl-entry-wide > .klp-home-production, html body .klp-home-production { background: linear-gradient(115deg, #f6f0ff 0%, #efe6fd 55%, #e7dafc 100%) !important; border-color: #e1d3f7 !important; }
  html body .klp-home-copy { padding: 36px 44px !important; }
  html body .klp-home-copy .klp-eyebrow { color: #7b2fed !important; font-size: 12px !important; letter-spacing: 1.8px !important; margin-bottom: 14px !important; }
  html body .klp-home-copy h2 { font-size: 40px !important; line-height: 1.08 !important; letter-spacing: -1.2px !important; color: #231b33 !important; }
  html body .klp-home-copy > p:not(.klp-eyebrow) { font-size: 17px !important; line-height: 1.5 !important; color: #3d3449 !important; margin: 16px 0 22px !important; max-width: 520px !important; }
  html body .klp-home-points { gap: 8px !important; flex-wrap: nowrap !important; margin-bottom: 26px !important; }
  html body .klp-home-points li { max-width: none !important; white-space: nowrap; font-size: 13.5px !important; font-weight: 600 !important; color: #2a2235 !important; background: #fff; border-radius: 14px; padding: 5px 12px 5px 5px; gap: 10px !important; box-shadow: 0 2px 8px rgba(91, 45, 160, .08); }
  html body .klp-home-points li::before { background: #7b2fed !important; color: #fff !important; font-size: 14px !important; padding: 7px 9px !important; border-radius: 10px !important; }
  html body .klp-home-production .klp-home-cta .wp-block-button__link { font-size: 16px !important; padding: 15px 24px !important; border-radius: 14px !important; }
}
@media (min-width: 901px) and (max-width: 1199px) { html body .klp-home-points { flex-wrap: wrap !important; } }

/* 40. «С производства прямо к вам», компьютер: пункты 01–03 — карточки с 3D-иконками (станок, коробка из цеха, мотки со скидкой)
   и короткой подписью, а не «кнопки». Иконки — mu-plugins/kotelife-design-polish/home/prod-icon-*.webp. Фото — кот, как было. */
@media (min-width: 901px) {
  html body .klp-home-points { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important; margin: 4px 0 26px !important; }
  html body .klp-home-points li { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; padding: 14px !important;
    background: rgba(255, 255, 255, .78) !important; border: 1px solid #e6daf8; border-radius: 18px !important; box-shadow: 0 6px 18px rgba(91, 45, 160, .07) !important;
    white-space: normal !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.25 !important; color: #231b33 !important; }
  html body .klp-home-points li::before { content: '' !important; display: block; width: 60px; height: 60px; padding: 0 !important; margin: -4px 0 8px -4px; border-radius: 0 !important; background: center / contain no-repeat !important; }
  html body .klp-home-points li:nth-child(1)::before { background-image: url(/wp-content/mu-plugins/kotelife-design-polish/home/prod-icon-factory.webp) !important; }
  html body .klp-home-points li:nth-child(2)::before { background-image: url(/wp-content/mu-plugins/kotelife-design-polish/home/prod-icon-delivery.webp) !important; }
  html body .klp-home-points li:nth-child(3)::before { background-image: url(/wp-content/mu-plugins/kotelife-design-polish/home/prod-icon-discount.webp) !important; }
  html body .klp-home-points li::after { display: block; font-size: 13px; font-weight: 400; line-height: 1.35; color: #5e5470; }
  html body .klp-home-points li:nth-child(1)::after { content: 'Свои станки и цех'; }
  html body .klp-home-points li:nth-child(2)::after { content: 'Из цеха — сразу в доставку'; }
  html body .klp-home-points li:nth-child(3)::after { content: 'Чем больше, тем выгоднее'; }
}


/* 40. Карточка товара, компьютер (≥1000 px): компактные характеристики (по два в ряд: подпись над значением)
   и три микроплашки — Доставка (градиент, 4 службы), Удобная оплата, Напрямую от производителя. Телефон не меняется. */
.kl-perks { display: none; }
@media (min-width: 1000px) {
  html body .ktlp .ktlp-inline-facts { padding: 12px 14px 4px !important; }
  html body .ktlp .ktlp-inline-facts h2 { font-size: 13px !important; margin: 0 0 4px !important; }
  html body .ktlp .ktlp-inline-facts dl { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 14px !important; margin: 0 !important; }
  html body .ktlp .ktlp-inline-facts dt,
  html body .ktlp .ktlp-inline-facts dd { display: block !important; height: auto !important; min-height: 0 !important; margin: 0 !important; border: 0 !important; min-width: 0; overflow-wrap: anywhere; text-align: left !important; }
  html body .ktlp .ktlp-inline-facts dt { padding: 8px 0 1px !important; font-size: 11.5px !important; line-height: 1.2 !important; color: #8a8296 !important; }
  html body .ktlp .ktlp-inline-facts dd { padding: 0 0 8px !important; font-size: 14px !important; line-height: 1.25 !important; font-weight: 600 !important; color: #241b2e; border-bottom: 1px solid #eee8f4 !important; }
  /* пары раскладываются по две в ряд: подпись — строка N, значение — строка N+1 */
  html body .ktlp .ktlp-inline-facts dl > :is(dt, dd):nth-of-type(odd) { grid-column: 1; }
  html body .ktlp .ktlp-inline-facts dl > :is(dt, dd):nth-of-type(even) { grid-column: 2; }
  html body .ktlp .ktlp-inline-facts dl > :is(dt:nth-of-type(1), dt:nth-of-type(2)) { grid-row: 1; }
  html body .ktlp .ktlp-inline-facts dl > :is(dd:nth-of-type(1), dd:nth-of-type(2)) { grid-row: 2; }
  html body .ktlp .ktlp-inline-facts dl > :is(dt:nth-of-type(3), dt:nth-of-type(4)) { grid-row: 3; }
  html body .ktlp .ktlp-inline-facts dl > :is(dd:nth-of-type(3), dd:nth-of-type(4)) { grid-row: 4; }
  html body .ktlp .ktlp-inline-facts dl > :is(dt:nth-of-type(5), dt:nth-of-type(6)) { grid-row: 5; }
  html body .ktlp .ktlp-inline-facts dl > :is(dd:nth-of-type(5), dd:nth-of-type(6)) { grid-row: 6; }
  html body .ktlp .ktlp-inline-facts dl > :is(dt:nth-of-type(7), dt:nth-of-type(8)) { grid-row: 7; }
  html body .ktlp .ktlp-inline-facts dl > :is(dd:nth-of-type(7), dd:nth-of-type(8)) { grid-row: 8; }
  html body .ktlp .ktlp-inline-facts dl > :is(dt:nth-of-type(9), dt:nth-of-type(10)) { grid-row: 9; }
  html body .ktlp .ktlp-inline-facts dl > :is(dd:nth-of-type(9), dd:nth-of-type(10)) { grid-row: 10; }
  html body .ktlp .ktlp-inline-facts dl > dd:is(:last-of-type, :nth-last-of-type(2):nth-of-type(odd)) { border-bottom: 0 !important; }

  html body .ktlp .ktlp-service-card { display: none !important; }
  html body .ktlp .kl-perks { display: grid; gap: 8px; margin-top: 8px; }
  .kl-perk { position: relative; display: grid; gap: 8px; padding: 12px 14px; border: 1px solid #e3dfe9; border-radius: 18px; background: #fff; color: #241b2e; }
  .kl-perk-head strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
  .kl-perk-head span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: #7a7086; }
  .kl-perk-icons { display: flex; flex-wrap: wrap; gap: 6px; }
  .kl-perk-icons img { display: block; width: 30px; height: 30px; padding: 3px; box-sizing: border-box; border-radius: 9px; background: #fff; border: 1px solid #ece6f2; object-fit: contain; }
  .kl-perk-link { justify-self: start; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: #6d28d9; cursor: pointer; text-decoration: none; }
  .kl-perk-link:hover { text-decoration: underline; text-underline-offset: 2px; }
  .kl-perk--maker { order: -1; border-color: #e6d9fb; background: linear-gradient(135deg, #f3ecff 0%, #fbeaf3 100%); }
  .kl-perk--maker .kl-perk-head strong { color: #5b21b6; }
  .kl-perk--delivery .kl-perk-icons { gap: 7px; }
  .kl-perk--delivery .kl-perk-icons img { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; object-fit: cover; box-shadow: 0 2px 8px rgba(91, 33, 182, .10); }
  .kl-perk--delivery .kl-perk-icons img[alt="Почта России"] { object-fit: contain; background: #fff; }
  .kl-perk--maker { grid-template-columns: 92px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
  .kl-perk--maker > img { display: block; width: 100%; height: 100%; min-height: 100%; border-radius: 0; object-fit: cover; }
  .kl-perk--maker .kl-perk-body { padding: 12px 14px; }
  .kl-perk--maker .kl-perk-body { display: grid; gap: 3px; align-content: center; }
}

/* Карточка товара на компьютере: ширина как у шапки (1360 px), а не 1280 */
@media (min-width: 1000px) {
  html body .kl-main > #main-content.ktlp { width: min(1360px, 100% - 56px) !important; max-width: 1360px !important; }
}

/* 41. Регистрация (общее окно и страница входа): «Сгенерировать пароль», показать/скрыть, скопировать */
html body .ktla-login form.register .ktla-pass-wrap { position: relative; display: block; }
html body .ktla-login form.register .ktla-pass-wrap > input { padding-right: 46px !important; }
html body .ktla-login form.register .ktla-pass-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0; border: 0; border-radius: 12px; background: none; color: #7a7086; cursor: pointer; box-shadow: none; }
html body .ktla-login form.register .ktla-pass-eye:hover { color: #6d28d9; background: #f3ecff; }
html body .ktla-login form.register .ktla-pass-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin-top: 2px; }
html body .ktla-login form.register .ktla-pass-tools button { min-height: 36px; padding: 6px 0; border: 0; background: none; box-shadow: none; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; color: #6d28d9; cursor: pointer; text-transform: none; letter-spacing: 0; }
html body .ktla-login form.register .ktla-pass-tools button:hover { text-decoration: underline; text-underline-offset: 2px; background: none; }
html body .ktla-login form.register .ktla-pass-tools button[hidden] { display: none; }
html body .ktla-login form.register .ktla-pass-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* 42. About: production video — plain player, no phone frame (Design 14) */
#kl-about-v2 .klp-production { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important; gap: 48px !important; align-items: center !important; }
#kl-about-v2 .klp-phone { width: 100% !important; max-width: 360px !important; margin: 0 !important; }
#kl-about-v2 .klp-video { position: relative; aspect-ratio: 9/16; border-radius: 24px !important; overflow: hidden; background: #17131b !important; box-shadow: 0 18px 44px rgba(60, 30, 100, .24) !important; }
#kl-about-v2 .klp-video video { display: block; width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; background: #17131b !important; cursor: pointer; }
#kl-about-v2 .klp-video video:fullscreen, #kl-about-v2 .klp-video video:-webkit-full-screen { object-fit: contain !important; background: #000 !important; }
#kl-about-v2 .klp-video.is-sound video { cursor: auto; }
#kl-about-v2 .klp-play { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border: 0; border-radius: 50%; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 28px rgba(20, 8, 40, .35); cursor: pointer; padding: 0; transition: transform .2s; }
#kl-about-v2 .klp-play:hover { transform: translate(-50%, -50%) scale(1.07); }
#kl-about-v2 .klp-play:before { content: ''; display: block; margin-left: 6px; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent #6d28d9; }
#kl-about-v2 .klp-video.is-idle .klp-play { display: grid; }
#kl-about-v2 .klp-sound { display: none; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); align-items: center; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(20, 10, 35, .72); color: #fff; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; backdrop-filter: blur(6px); white-space: nowrap; }
#kl-about-v2 .klp-video.is-preview .klp-sound { display: flex; }
@media (max-width: 900px) { #kl-about-v2 .klp-production { grid-template-columns: 1fr !important; gap: 22px !important; } #kl-about-v2 .klp-phone { max-width: 300px !important; margin-inline: auto !important; } }

/* 43. Кабинет на компьютере: плитки по ширине (Design 15) */
@media (min-width: 1000px) {
	html body section.kl-cab { max-width: 1200px !important; width: 100% !important; margin-inline: auto !important; display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 16px; align-items: stretch; }
	html body section.kl-cab > * { grid-column: 1 / -1; margin: 0 !important; min-width: 0; }
	html body section.kl-cab > .kl-cab-title { margin-top: 18px !important; }
	html body section.kl-cab > .kl-cab-orders { grid-column: 1 / span 7; min-height: 220px; }
	html body section.kl-cab > .kl-cab-again { grid-column: 8 / span 5; min-height: 220px; align-items: flex-start; }
	html body section.kl-cab > .kl-cab-grid--saved { grid-column: 1 / span 8; height: 100%; }
	html body section.kl-cab > .kl-cab-grid--saved > .kl-cab-tile { min-height: 180px; }
	html body section.kl-cab > .kl-cab-support { grid-column: 9 / span 4; min-height: 180px; }
	html body section.kl-cab > .kl-cab-list { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
	html body .ktla-dashboard-home .ktla-email-confirmation { max-width: 1200px !important; grid-template-columns: 40px 1fr auto !important; column-gap: 16px !important; }
	html body .ktla-dashboard-home .ktla-email-confirmation .ktla-email-confirmation-button { grid-column: 3 !important; grid-row: 1 !important; width: auto !important; margin: 0 !important; padding-inline: 28px !important; white-space: nowrap; }
}

/* 44. Поддержка на компьютере: чат по высоте окна, поле ввода всегда видно (Design 16) */
@media (min-width: 1000px) {
	html body .ktla-support-page .ktla-chat-panel { height: max(420px, calc(100dvh - var(--kl-chat-top, 220px) - 24px)) !important; max-height: 900px !important; }
}

/* 45. Кабинет: понятные иконки «Избранное / Сравнение / Лист ожидания» + подписи (Design 16) */
html body .kl-cab .kl-cab-wish, html body .kl-cab .kl-cab-compare, html body .kl-cab .kl-cab-wait { position: relative; }
html body .kl-cab .kl-cab-wish .kl-cab-img, html body .kl-cab .kl-cab-wait .kl-cab-img, html body .kl-cab .kl-cab-compare .kl-cab-glyph { display: none !important; }
html body .kl-cab .kl-cab-ico { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: rgba(255, 255, 255, .85); box-shadow: 0 8px 20px rgba(60, 30, 100, .12), inset 0 0 0 1px rgba(255, 255, 255, .9); }
html body .kl-cab .kl-cab-ico svg { width: 44px; height: 44px; }
html body .kl-cab .kl-cab-copy small.kl-sub { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; opacity: .75; font-weight: 400; max-width: 150px; }
@media (max-width: 600px) {
	html body .kl-cab .kl-cab-ico { right: 10px; bottom: 10px; width: 52px; height: 52px; border-radius: 16px; }
	html body .kl-cab .kl-cab-ico svg { width: 28px; height: 28px; }
	html body .kl-cab .kl-cab-copy small.kl-sub { display: none; }
}

/* 46. Чат поддержки: нижняя панель — одна капсула, круглая кнопка со стрелкой вверх (Design 17, v2) */
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar { align-items: end !important; gap: 6px !important; padding: 6px !important; border: 1px solid #e2d8ee !important; border-radius: 28px !important; background: #fff !important; box-shadow: 0 4px 14px rgba(60, 30, 100, .06) !important; transition: border-color .2s, box-shadow .2s; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar:focus-within { border-color: #b69cf0 !important; box-shadow: 0 0 0 4px rgba(124, 58, 237, .12) !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-compose-input { flex: 1 1 auto !important; min-width: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-compose-input textarea { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; padding: 12px 6px !important; min-height: 44px !important; line-height: 20px !important; font-size: 16px !important; border-radius: 0 !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-file-button { width: 44px !important; height: 44px !important; min-width: 44px !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; box-shadow: none !important; color: #8a7fa0 !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-file-button:hover { background: #f3eefb !important; color: #6d28d9 !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-file-button svg { width: 22px !important; height: 22px !important; stroke-width: 2 !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-support-submit.ktla-support-submit { position: relative !important; width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important; box-shadow: 0 6px 14px rgba(109, 40, 217, .28) !important; transition: background .2s, box-shadow .2s, transform .15s; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-support-submit.ktla-support-submit:active { transform: scale(.94); }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-support-submit.ktla-support-submit > svg, html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-support-submit.ktla-support-submit > b { display: none !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-support-submit.ktla-support-submit::before { content: ''; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5.5M6 11.5l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5.5M6 11.5l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar:has(textarea:placeholder-shown):not(:has(.ktla-attach-panel:not([hidden]))) .ktla-support-submit.ktla-support-submit { background: #e6ddf5 !important; box-shadow: none !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-support-submit.ktla-support-submit:not([aria-busy=true]):not(:disabled)::after { display: none !important; }
/* 46b. Капсула тоньше, всё по центру (Design 17, v3) */
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar { align-items: center !important; row-gap: 0 !important; padding: 4px 5px 4px 6px !important; min-height: 0 !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar > * { align-self: center !important; margin-top: 0 !important; margin-bottom: 0 !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-photo-picker { display: contents !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-file-button { align-self: center !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-compose-input { display: flex !important; align-items: center !important; height: auto !important; min-height: 0 !important; padding: 0 !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-compose-input textarea { height: 40px !important; min-height: 40px !important; padding: 10px 6px !important; line-height: 20px !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-file-button { width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-support-submit.ktla-support-submit { width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; }
html body .ktla-compose-bar.ktla-compose-bar.ktla-compose-bar .ktla-support-submit.ktla-support-submit::before { width: 20px; height: 20px; }

/* 47. Плашка «Подтвердите email» на компьютере: компактно, кнопка справа (Design 18) */
@media (min-width: 1000px) {
	html body .ktla-email-confirmation.ktla-email-confirmation { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto !important; align-items: center !important; column-gap: 16px !important; row-gap: 0 !important; width: 100% !important; max-width: none !important; margin: 0 0 18px !important; padding: 14px 18px !important; }
	html body .ktla-email-confirmation.ktla-email-confirmation .ktla-email-confirmation-icon { grid-column: 1 !important; grid-row: 1 !important; width: 44px !important; height: 44px !important; }
	html body .ktla-email-confirmation.ktla-email-confirmation .ktla-email-confirmation-copy { grid-column: 2 !important; grid-row: 1 !important; min-width: 0; }
	html body .ktla-email-confirmation.ktla-email-confirmation .ktla-email-confirmation-copy p { font-size: 14px !important; max-width: 70ch; }
	html body .ktla-email-confirmation.ktla-email-confirmation .ktla-email-confirmation-button { grid-column: 3 !important; grid-row: 1 !important; width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 26px !important; min-height: 44px !important; height: 44px !important; white-space: nowrap !important; align-self: center !important; }
}

/* 48. Заказ: шкала статусов в одну линию, без прокрутки и наезда (Design 19) */
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress { display: flex !important; gap: 0 !important; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding: 6px 0 2px !important; overflow: visible !important; scroll-snap-type: none !important; grid-template-columns: none !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress > div { position: relative !important; left: auto !important; right: auto !important; z-index: auto !important; flex: 1 1 0 !important; min-width: 0 !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; text-align: center !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; scroll-snap-align: none !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress > div::before { content: '' !important; display: block !important; position: absolute !important; top: 8px !important; bottom: auto !important; left: -50% !important; right: 50% !important; width: auto !important; height: 3px !important; border-radius: 2px; background: #e4def0 !important; z-index: 0 !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress > div:first-child::before { display: none !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress > .is-done::before, html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress > .is-current::before { background: #7c3aed !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress i { position: relative !important; z-index: 1 !important; display: block !important; box-sizing: border-box !important; width: 19px !important; height: 19px !important; flex: 0 0 19px !important; margin: 0 auto 9px !important; border-radius: 50% !important; border: 3px solid #d9d2e6 !important; background: #fff !important; box-shadow: none !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress .is-done i { border-color: #7c3aed !important; background: #7c3aed !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress .is-current i { border-color: #7c3aed !important; background: #fff !important; box-shadow: 0 0 0 5px rgba(124, 58, 237, .18) !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress span { display: block !important; padding: 0 4px !important; font-size: 12.5px !important; line-height: 1.3 !important; font-weight: 500 !important; color: #a39bb2 !important; overflow-wrap: anywhere; hyphens: auto; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress .is-done span { color: #5b536a !important; }
html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress .is-current span { color: #6d28d9 !important; font-weight: 700 !important; }
/* ожидает оплаты — жёлтый текущий шаг, получен/в пункте — зелёный */
html body.woocommerce-account .ktla-order-page .ktla-stage-payment .ktla-progress.ktla-progress .is-current i { border-color: #d99a00 !important; box-shadow: 0 0 0 5px rgba(217, 154, 0, .18) !important; }
html body.woocommerce-account .ktla-order-page .ktla-stage-payment .ktla-progress.ktla-progress .is-current span { color: #8a5a00 !important; }
html body.woocommerce-account .ktla-order-page :is(.ktla-stage-ready, .ktla-stage-delivered) .ktla-progress.ktla-progress .is-current i { border-color: #1f9d57 !important; background: #1f9d57 !important; box-shadow: 0 0 0 5px rgba(31, 157, 87, .18) !important; }
html body.woocommerce-account .ktla-order-page :is(.ktla-stage-ready, .ktla-stage-delivered) .ktla-progress.ktla-progress .is-current span { color: #1f7a45 !important; }
@media (max-width: 480px) {
	html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress span { font-size: 10.5px !important; padding: 0 2px !important; }
	html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress i { width: 16px !important; height: 16px !important; flex-basis: 16px !important; margin-bottom: 7px !important; }
	html body.woocommerce-account .ktla-order-page .ktla-progress.ktla-progress > div::before { top: 6.5px !important; }
}

/* 49. Список заказов: нежный фон карточки по статусу (Design 19) */
html body .ktla-olist-card.ktla-olist-card:is(.ktla-olist-card--cancelled, .ktla-olist-card--returned) { background: linear-gradient(120deg, #fff 0%, #fff 25%, #fbe1e1 100%) !important; border-color: #f3d3d3 !important; }
html body .ktla-olist-card.ktla-olist-card:is(.ktla-olist-card--payment, .ktla-olist-card--problem) { background: linear-gradient(120deg, #fff 0%, #fff 25%, #ffedbd 100%) !important; border-color: #f0e0a6 !important; }
html body .ktla-olist-card.ktla-olist-card:is(.ktla-olist-card--paid, .ktla-olist-card--preparing, .ktla-olist-card--shipped, .ktla-olist-card--transit, .ktla-olist-card--courier, .ktla-olist-card--ready) { background: linear-gradient(120deg, #fff 0%, #fff 25%, #dbe6ff 100%) !important; border-color: #cfdcf5 !important; }
html body .ktla-olist-card.ktla-olist-card.ktla-olist-card--delivered { background: linear-gradient(120deg, #fff 0%, #fff 25%, #d5f0df 100%) !important; border-color: #c4e6d1 !important; }

/* 50. Заказ, телефон: блок «Где посмотреть статус» компактнее (Design 20) */
@media (max-width:600px){
html body .ktla-app-guide.ktla-app-guide{padding:14px!important;gap:10px!important}
html body .ktla-app-guide .ktla-app-plate{display:none!important}
html body .ktla-app-guide .ktla-app-path{padding:10px 12px!important}
html body .ktla-app-guide .ktla-app-path-label{margin-bottom:8px!important}
html body .ktla-app-guide .ktla-app-path ol{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px 4px!important;margin:0!important;padding:0!important}
html body .ktla-app-guide .ktla-app-path li{margin:0!important;padding:0!important;display:flex!important;align-items:center!important;gap:4px!important}
html body .ktla-app-guide .ktla-app-path li .ktla-step{min-height:34px!important;padding:4px 10px!important;font-size:13px!important;gap:6px!important}
html body .ktla-app-guide .ktla-app-path li .ktla-step img{width:20px!important;height:20px!important}
html body .ktla-app-guide .ktla-app-guide-copy>p{margin:10px 0 8px!important;font-size:13px!important}
html body .ktla-app-guide .ktla-instruction-link{min-height:40px!important;padding:8px 12px!important;font-size:13px!important}
html body .ktla-app-guide .ktla-app-links{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;margin-top:10px!important}
html body .ktla-app-guide .ktla-app-links a{min-height:40px!important;height:40px!important;padding:0 8px!important;font-size:0!important;gap:5px!important;white-space:nowrap;min-width:0!important;overflow:hidden;justify-content:center!important}
html body .ktla-app-guide .ktla-app-links a img{width:18px!important;height:18px!important}
html body .ktla-app-guide .ktla-app-links a::after{font-size:13px;font-weight:700;line-height:1}
html body .ktla-app-guide .ktla-app-links a:nth-child(1)::after{content:'App Store'}
html body .ktla-app-guide .ktla-app-links a:nth-child(2)::after{content:'Google Play'}
}

/* ===== Design 21: таймер по центру, просмотр фото (свайп), FAQ, поля контактов ===== */
@media (max-width:720px){
html body .kl-home-deals-rail .kl-section-head .kl-deals-timer{margin-left:auto!important;margin-right:auto!important;align-self:center!important;justify-content:center!important;max-width:100%}
html body .kl-home-deals-rail .kl-section-head .kl-deals-timer b{justify-content:center!important}
html body #kl-contacts{width:auto!important;max-width:none!important;margin-left:4px!important;margin-right:4px!important;padding-left:10px!important;padding-right:10px!important}
html body #kl-contacts .klc-card,html body #kl-contacts .klc-panel{padding:16px!important}
}
/* просмотр фото: вертикальный жест не скроллит страницу, его обрабатывает скрипт свайпа */
html body .kl-ideas-lb,html body .kl-ideas-lb-track,html body dialog.klp-lightbox{touch-action:pan-x!important;overscroll-behavior:contain}
html body dialog.klp-lightbox .klp-lightbox-content,html body dialog.klp-lightbox img{touch-action:pan-x!important}
html body .kl-ideas-lb.kl-swipe,html body dialog.klp-lightbox.kl-swipe{will-change:transform,opacity}
html:has(dialog.klp-lightbox[open]){overflow:hidden!important;overscroll-behavior:none}
/* FAQ «Частые вопросы»: без чёрной вспышки, плавное раскрытие */
html body #kl-about-v2 .klp-faq-item summary{-webkit-tap-highlight-color:transparent;outline:none!important;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
html body #kl-about-v2 .klp-faq-item summary::-webkit-details-marker{display:none}
html body #kl-about-v2 .klp-faq-item summary:focus{outline:none!important;box-shadow:none!important;background:transparent!important}
html body #kl-about-v2 .klp-faq-item summary:focus-visible{outline:2px solid #b69af0!important;outline-offset:-2px;border-radius:10px}
html body #kl-about-v2 .klp-faq-item summary::after,html body #kl-about-v2 .klp-faq-item[open] summary::after{content:"+"!important;transition:transform .28s cubic-bezier(.4,0,.2,1)}
html body #kl-about-v2 .klp-faq-item[open] summary::after{transform:rotate(45deg)}
html body #kl-about-v2 .klp-faq-item>*:not(summary){transition:opacity .25s ease .04s}
html body #kl-about-v2 .klp-faq-item.is-opening>*:not(summary){opacity:0}
@media (prefers-reduced-motion:reduce){html body #kl-about-v2 .klp-faq-item summary::after{transition:none}}

/* ===== Design 21b: акция в заказе ===== */
html body .ktla-product-price .kl-promo-chip{display:block;width:max-content;max-width:100%;margin:5px 0 0 auto;padding:3px 9px;border-radius:999px;background:#fdebf3;color:#b4235a;font-size:11px;font-weight:700;line-height:1.25;white-space:nowrap}
html body .ktla-product-price .ktla-product-original{font-weight:500;color:#8a7f96}
html body .ktla-payment-card dl .kl-promo-row-reg dd{color:#6b5f78}
html body .ktla-payment-card dl .kl-promo-row dt,html body .ktla-payment-card dl .kl-promo-row dd{color:#b4235a}

/* ===== Design 22: галерея товара на телефоне — вертикальная лента миниатюр слева (~10%) ===== */
@media (max-width:600px){
html body .ktlp .ktlp-visual{display:grid!important;grid-template-columns:10% minmax(0,1fr)!important;column-gap:6px!important;align-items:start!important}
html body .ktlp .ktlp-gallery-thumbs{display:flex!important;flex-direction:column!important;gap:6px!important;position:relative;width:100%!important;height:min(100vw,420px)!important;max-height:min(100vw,420px)!important;padding:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:y proximity}
html body .ktlp .ktlp-gallery-thumbs::-webkit-scrollbar{display:none}
html body .ktlp .ktlp-gallery-thumbs button{flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:3/4;padding:0!important;border:1.5px solid #e1dbe8!important;border-radius:8px!important;background:#fff!important;overflow:hidden;scroll-snap-align:start;opacity:.78;transition:border-color .2s,opacity .2s}
html body .ktlp .ktlp-gallery-thumbs button[aria-pressed="true"]{border:2px solid #8232ef!important;opacity:1}
html body .ktlp .ktlp-gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover;border-radius:6px}
/* нет фото — пустая плашка (видно, что заполнить) */
html body .kl-rail-empty{display:none}
html body .ktlp .kl-rail-empty{display:block;flex:0 0 auto;width:100%;aspect-ratio:3/4;border:1.5px dashed #cdbfe3;border-radius:8px;background:#faf8fd;box-sizing:border-box}
}

/* Design 22b: короткое описание раздела под H1 */
html body .kl-cat-intro{margin:2px 0 14px;max-width:780px;font-size:14px;line-height:1.55;color:#5e5668}
html body .kl-cat-intro p{margin:0}
html body .ktlf-category-title:has(+ .kl-cat-intro){margin-bottom:6px}
html body .kl-cat-intro--m600,html body .kl-cat-intro--m767{display:none}
@media (max-width:767px){html body .kl-cat-intro--g{display:none}html body .kl-cat-intro--m767{display:block;margin:12px 0 2px;padding:0;font-size:13px;line-height:1.5}}
@media (max-width:600px){html body .kl-cat-intro{font-size:13px;line-height:1.5}
html body .kl-cat-intro--top{margin:2px 0 12px;padding:0}
html body .ktlf-shell:has(.ktlf-tree-navigation)>.kl-cat-intro--top{display:none}
html body .kl-cat-intro--m600{display:block;order:-1;margin:12px 0 2px;padding:0}}
/* Design 23: оформление описаний (товар: боковая панель/мобильное описание, короткое описание, SEO-текст раздела, короткий текст раздела) */
html body .ktlp .ktlp-description-section{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #ede8f4}
html body .ktlp .ktlp-description-section:last-child{border:0;margin-bottom:0;padding-bottom:0}
html body .ktlp .ktlp-description-section h3{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:18px;font-weight:700;line-height:1.3;letter-spacing:-.01em;color:#2a1f38}
html body .ktlp .ktlp-description-section h3::before{content:"";flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:#f2eafd url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%238232ef%22 stroke=%22%238232ef%22 stroke-width=%220%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224%22/%3E%3C/svg%3E") center/17px no-repeat}
html body .ktlp .ktlp-description-section h3[data-ic="star"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%238232ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3.5l2.5 5.4 5.9.7-4.4 4 1.2 5.8L12 16.5l-5.2 2.9L8 13.6 3.6 9.6l5.9-.7z%22/%3E%3C/svg%3E")}
html body .ktlp .ktlp-description-section h3[data-ic="bulb"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%238232ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9.5 18h5M10 21h4M12 3.5a5.5 5.5 0 00-3.2 10c.7.5 1.2 1.3 1.2 2.2v.3h4v-.3c0-.9.5-1.7 1.2-2.2A5.5 5.5 0 0012 3.5z%22/%3E%3C/svg%3E")}
html body .ktlp .ktlp-description-section h3[data-ic="ruler"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%238232ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 16L16 4l4 4L8 20z%22/%3E%3Cpath d=%22M8 12l2.2 2.2M11 9l2.2 2.2M14 6l2 2%22/%3E%3C/svg%3E")}
html body .ktlp .ktlp-description-section h3[data-ic="alert"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%238232ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228.5%22/%3E%3Cpath d=%22M12 8v4.8M12 16.3v.2%22/%3E%3C/svg%3E")}
html body .ktlp .ktlp-description-section h3[data-ic="drop"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%238232ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3.5s5.8 6 5.8 10.2a5.8 5.8 0 01-11.6 0C6.2 9.5 12 3.5 12 3.5z%22/%3E%3C/svg%3E")}
html body .ktlp .ktlp-description-section h3[data-ic="box"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%238232ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 7.5L12 3.5l8.5 4v9L12 20.5l-8.5-4z%22/%3E%3Cpath d=%22M3.5 7.5L12 11.5l8.5-4M12 11.5v9%22/%3E%3C/svg%3E")}
html body .ktlp .ktlp-description-section p{margin:0 0 10px;font-size:15px;line-height:1.65;color:#4d4458}
html body .ktlp .ktlp-description-section p:last-child{margin-bottom:0}
html body .ktlp .ktlp-description-section strong,html body .ktlp .ktlp-description-section b{font-weight:650;color:#2a1f38}
html body .ktlp .ktlp-description-section ul{list-style:none;margin:6px 0 4px;padding:0}
html body .ktlp .ktlp-description-section ul li{position:relative;margin:0 0 9px;padding:1px 0 0 30px;font-size:15px;line-height:1.55;color:#4d4458}
html body .ktlp .ktlp-description-section ul li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:#e3f5ea url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231f9d55%22 stroke-width=%222.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center/12px no-repeat}
html body .ktlp .ktlp-description-section ol{margin:6px 0 4px;padding-left:24px}
html body .ktlp .ktlp-description-section ol li{margin:0 0 8px;padding-left:4px;font-size:15px;line-height:1.55;color:#4d4458}
html body .ktlp .ktlp-description-section ol li::marker{color:#8232ef;font-weight:700}
html body .ktlp .ktlp-description-section:last-child ul li:last-child{margin-bottom:0}
@media(max-width:600px){html body .ktlp .ktlp-mobile-description{padding:10px 0 0}html body .ktlp .ktlp-mobile-description .ktlp-description-section{padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid #ede8f4}html body .ktlp .ktlp-mobile-description .ktlp-description-section:last-child{border:0;margin-bottom:0;padding-bottom:0}html body .ktlp .ktlp-description-section h3{font-size:16px;gap:9px}html body .ktlp .ktlp-description-section h3::before{flex-basis:26px;width:26px;height:26px;border-radius:9px;background-size:15px}html body .ktlp .ktlp-description-section p,html body .ktlp .ktlp-description-section ul li,html body .ktlp .ktlp-description-section ol li{font-size:14px;line-height:1.6}}
html body .ktlp .ktlp-dialog.is-details .ktlp-dialog-body{padding:26px 30px}
@media(max-width:600px){html body .ktlp .ktlp-dialog.is-details .ktlp-dialog-body{padding:20px 18px}}
html body .ktlp .ktlp-short-description{font-size:14.5px;line-height:1.55;color:#4d4458;margin:0 0 12px}
@media(max-width:600px){html body .ktlp .ktlp-short-description{font-size:13.5px;color:#4d4458}}
html body .kotelife-seo-text{max-width:900px;margin:36px auto 20px;padding:26px 30px;background:#faf8fd;border:1px solid #ece6f4;border-radius:22px;color:#4d4458;font-size:15.5px;line-height:1.7}
html body .kotelife-seo-text p{margin:0 0 12px}html body .kotelife-seo-text p:last-child{margin-bottom:0}
html body .kotelife-seo-text h2,html body .kotelife-seo-text h3{margin:22px 0 10px;color:#2a1f38;font-weight:700;line-height:1.3;letter-spacing:-.01em}html body .kotelife-seo-text h2{font-size:21px}html body .kotelife-seo-text h3{font-size:18px}html body .kotelife-seo-text>:first-child{margin-top:0}
html body .kotelife-seo-text strong,html body .kotelife-seo-text b{font-weight:650;color:#2a1f38}
html body .kotelife-seo-text a{color:#7a32d0;text-decoration:underline;text-decoration-color:#d4bdf5;text-underline-offset:3px}
html body .kotelife-seo-text ul{list-style:none;margin:6px 0 12px;padding:0}html body .kotelife-seo-text ul li{position:relative;margin:0 0 8px;padding:1px 0 0 28px}html body .kotelife-seo-text ul li::before{content:"";position:absolute;left:0;top:3px;width:19px;height:19px;border-radius:50%;background:#e3f5ea url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231f9d55%22 stroke-width=%222.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center/11px no-repeat}
@media(max-width:600px){html body .kotelife-seo-text{margin:26px 14px 16px;padding:18px 16px;font-size:14.5px;line-height:1.65;border-radius:18px;max-width:none}}
html body .kl-cat-intro{font-size:15px;line-height:1.6;color:#4d4458}
@media(max-width:767px){html body .kl-cat-intro--m767{font-size:14px;line-height:1.55;color:#4d4458}}
@media(max-width:600px){html body .kl-cat-intro{font-size:14px;line-height:1.55}}
html body .ktlf-desktop-intro-description,html body .ktlf-desktop-intro-description p{color:#4d4458}
@media(max-width:600px){
html body .ktlp .ktlp-mobile-tab-panel .ktlp-mobile-description:not([hidden]){margin:8px 0 0;padding:16px 14px;border:1px solid #ece6f4;border-radius:16px;background:#faf8fd}
html body .ktlp .ktlp-mobile-description .ktlp-description-section h3{font-size:16px;line-height:1.3;margin:0 0 8px}
html body .ktlp .ktlp-mobile-description .ktlp-description-section p{font-size:14px;line-height:1.6;margin:0 0 8px}
html body .ktlp .ktlp-mobile-description .ktlp-description-section p:last-child{margin-bottom:0}
html body .ktlp .ktlp-mobile-description .ktlp-description-section ul{margin:4px 0 4px;padding:0}
html body .ktlp .ktlp-mobile-description .ktlp-description-section ul li{margin:0 0 8px;padding:1px 0 0 28px;font-size:14px;line-height:1.55}
html body .ktlp .ktlp-mobile-description .ktlp-description-section ol{margin:4px 0;padding-left:22px}
html body .ktlp .ktlp-mobile-description .ktlp-description-section ol li{margin:0 0 7px;padding-left:4px;font-size:14px;line-height:1.55}
}
@media(max-width:999px){html body .ktlp .ktlp-mobile-tab-panel .ktlp-short-description{font-size:13.5px;line-height:1.5;color:#4d4458}}

/* мобильный: короткий текст раздела под баннером убран (Дима 09.11) */
@media(max-width:767px){html body .kl-cat-intro{display:none!important}}

/* Design 24: главная, телефон — воздух между блоками */
@media(max-width:600px){html body #post-20 .kl-entry.kl-entry-wide>.kl-home-benefit,html body #post-20 .kl-entry.kl-entry-wide>.kl-home-categories,html body #post-20 .kl-entry.kl-entry-wide>.kl-home-deals,html body #post-20 .kl-entry.kl-entry-wide>.klp-home-production,html body #post-20 .kl-entry.kl-entry-wide>.kl-home-popular,html body #post-20 .kl-entry.kl-entry-wide>.kl-home-help-grid{margin-top:38px!important}html body #post-20 .kl-entry.kl-entry-wide>.kl-home-benefit{margin-top:24px!important}}

/* Design 24b: на телефоне/тач без «подпрыгивания» карточек при касании (эффект залипал) */
@media (hover:none),(max-width:600px){html body .kl-home-cat.wp-block-column:hover,html body .kl-home-cat.wp-block-column:focus-within,html body .kl-home-market-card.wp-block-column:hover,html body .kl-home-market-card.wp-block-column:focus-within,html body .kl-home-page .kl-rail-catalog .ktlc-card:hover{transform:none!important;box-shadow:none}html body .kl-home-cat.wp-block-column:hover>.wp-block-image img{transform:none!important}}

/* Design 25: телефон — фото товара без белой рамки/плашки, кнопка «Подробное описание» заметнее */
@media(max-width:600px){html body .ktlp .ktlp-visual{align-items:stretch!important;height:auto!important;max-height:none!important}
html body .ktlp .ktlp-gallery{height:auto!important;max-height:none!important;padding:0!important;background:transparent!important;border-radius:16px!important;overflow:hidden}
html body .ktlp .ktlp-slides{height:auto!important;max-height:none!important;aspect-ratio:3/4!important;background:transparent!important}
html body .ktlp .ktlp-slide,html body .ktlp .ktlp-slide img{border-radius:0!important}
html body .ktlp .ktlp-slide img{width:100%!important;height:100%!important;object-fit:cover!important}
html body .ktlp .ktlp-gallery-thumbs{contain:size;height:auto!important;max-height:none!important;align-self:stretch}}
@media(max-width:999px){html body .ktlp .ktlp-open-description{display:flex!important;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px!important;margin:10px 0 4px;padding:10px 12px 10px 14px!important;border:1px solid #e3dfe9!important;border-radius:14px!important;background:#fff!important;color:#2a1f38!important;font-size:15px!important;font-weight:600!important}
html body .ktlp .ktlp-open-description>span{color:inherit!important;font-size:15px!important;font-weight:600!important}
html body .ktlp .ktlp-open-description .ktlp-description-mobile{display:none!important}html body .ktlp .ktlp-open-description .ktlp-description-desktop{display:inline!important}
html body .ktlp .ktlp-open-description>span:last-child{position:relative;flex:0 0 28px;width:28px;height:28px;margin-left:auto!important;border-radius:50%;background:#f3f1f6;transition:transform .25s ease,background .2s}
html body .ktlp .ktlp-open-description>span:last-child svg{display:none!important}
html body .ktlp .ktlp-open-description>span:last-child::before,html body .ktlp .ktlp-open-description>span:last-child::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:#4d4458}
html body .ktlp .ktlp-open-description>span:last-child::after{transform:rotate(90deg)}
html body .ktlp .ktlp-open-description[aria-expanded="true"]>span:last-child{transform:rotate(45deg);background:#ebe8ef}}

/* Design 26: «Доставка Ozon» на телефоне — плавно выезжает снизу почти на весь экран */
@keyframes kl-sheet-up{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes kl-fade{from{opacity:0}to{opacity:1}}
@media(max-width:999px){html body .ktlp .ktlp-dialog.is-details.is-delivery[open]{top:max(16px,env(safe-area-inset-top))!important;max-height:none!important;height:auto!important;bottom:0!important;border-radius:22px 22px 0 0!important;animation:kl-sheet-up .32s cubic-bezier(.22,.8,.3,1) both!important;box-shadow:0 -10px 40px rgba(40,20,70,.18)}
html body .ktlp .ktlp-dialog.is-details.is-delivery[open]::backdrop{background:rgba(30,18,45,.45);animation:kl-fade .25s ease both}}
@media(prefers-reduced-motion:reduce){html body .ktlp .ktlp-dialog.is-details.is-delivery[open]{animation:none!important}}

/* Design 27: компьютер — миниатюры товара лентой под фото, фото на всю ширину колонки */
@media(min-width:1000px){html body .ktlp .ktlp-visual{display:flex!important;flex-direction:column!important;gap:10px!important;grid-template-columns:none!important}
html body .ktlp .ktlp-visual>.ktlp-gallery{order:1;width:100%!important;height:auto!important;max-height:none!important}
html body .ktlp .ktlp-visual .ktlp-slides{height:auto!important;max-height:none!important;aspect-ratio:3/4}
html body .ktlp .ktlp-visual>.ktlp-gallery-thumbs{order:2;display:flex!important;flex-direction:row!important;gap:8px!important;width:100%!important;height:auto!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 0 4px!important;scrollbar-width:none;scroll-snap-type:x proximity}
html body .ktlp .ktlp-visual>.ktlp-gallery-thumbs::-webkit-scrollbar{display:none}
html body .ktlp .ktlp-visual>.ktlp-gallery-thumbs button{flex:0 0 72px!important;width:72px!important;height:96px!important;scroll-snap-align:start}
html body .ktlp .ktlp-visual>.ktlp-gallery-thumbs img{width:100%!important;height:100%!important;object-fit:cover}}
/* фото по высоте экрана, чтобы фото + лента миниатюр помещались на ноутбуке; правые колонки шире */
@media(min-width:1000px){html body .ktlp .ktlp-layout{grid-template-columns:min(44%,calc((100vh - 340px)*.75)) minmax(0,1.15fr) minmax(300px,1fr)!important}}

/* Design 29 (09.11): планшет 601–999 px — лента миниатюр под фото товара, как на компьютере (Design 27). Тема прячет миниатюры на 601–1199, наша лента была только до 600 и с 1000. */
@media (min-width:601px) and (max-width:999px){html body .ktlp .ktlp-visual{display:flex!important;flex-direction:column!important;gap:8px!important;grid-template-columns:none!important}html body .ktlp .ktlp-visual>.ktlp-gallery{order:1;width:100%!important}html body .ktlp .ktlp-visual>.ktlp-gallery-thumbs{order:2;display:flex!important;flex-direction:row!important;gap:6px!important;width:100%!important;height:auto!important;max-height:none!important;overflow:auto hidden!important;padding:2px 0 4px!important;scrollbar-width:none;scroll-snap-type:x}html body .ktlp .ktlp-visual>.ktlp-gallery-thumbs::-webkit-scrollbar{display:none}html body .ktlp .ktlp-visual>.ktlp-gallery-thumbs button{scroll-snap-align:start;flex:0 0 60px!important;width:60px!important;height:80px!important;min-height:80px!important}html body .ktlp .ktlp-visual>.ktlp-gallery-thumbs img{object-fit:cover;width:100%!important;height:100%!important}}

/* Design 32b (10.11): «аккаунта не нашли» при входе — светлая красноватая плашка, мелкий текст, ссылка со стрелкой. */
html body :is(.ktla-modal-document main.woocommerce,.klc-cart-notices,.woocommerce-notices-wrapper,.woocommerce-NoticeGroup,.woocommerce-account .woocommerce)>.woocommerce-error:has(.ktl-login-unknown){margin:6px 16px 12px!important;padding:10px 12px!important;border:1px solid #f6c6cd!important;border-radius:12px!important;background:#fdeef0!important;color:#8a1f2d!important;box-shadow:none!important;font-size:13.5px!important;line-height:1.4!important;font-weight:400!important}
html body .woocommerce-error:has(.ktl-login-unknown) li{color:#8a1f2d!important;font-size:13.5px!important;padding:0!important;margin:0!important}
html body .woocommerce-error .ktl-login-unknown a.ktl-login-register{display:inline!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;color:#c32338!important;font-weight:600!important;text-decoration:none!important;white-space:nowrap}
html body .woocommerce-error .ktl-login-unknown a.ktl-login-register:hover{text-decoration:underline!important}

/* Design 33 (10.11): окно входа/регистрации — без толстой обводки при нажатии (поля, вкладки, крестик), один глазок у пароля. */
html body .ktla-login :is(input,select,textarea):focus-visible,html body .ktla-login :is(input,select,textarea):focus{outline:none!important}
html body .ktla-login form.woocommerce-form input.input-text,html body .ktla-login form.woocommerce-form select,html body .ktla-login form.woocommerce-form .select2-selection--single{border-color:#d6cbe4!important;transition:border-color .15s,box-shadow .15s}
html body .ktla-login form.woocommerce-form input.input-text:focus,html body .ktla-login form.woocommerce-form select:focus{border-color:#a77ff0!important;box-shadow:0 0 0 3px rgba(139,92,246,.14)!important;background:#fff!important}
html body .ktla-login :is(button,a,[role=tab]):focus{outline:none!important}
html body .ktla-login :is(button,a,[role=tab]):focus-visible{outline:none!important;box-shadow:0 0 0 3px rgba(139,92,246,.18)!important;border-radius:10px}
html body .ktla-login :is(button,a,[role=tab]){-webkit-tap-highlight-color:transparent}
html body .ktla-auth-modal>.ktla-auth-close:focus,html body .ktla-auth-modal>.ktla-auth-close:focus-visible{outline:none!important;box-shadow:none!important}
html body .ktla-auth-modal>.ktla-auth-close{-webkit-tap-highlight-color:transparent}
html body .ktla-auth-modal>.ktla-auth-close:hover{background:#ebe3f5!important}
html body .ktla-login .password-input:has(.ktla-pass-eye) .show-password-input{display:none!important}

/* Design 34 (10.11): баннер «Распродажа 11.11» на главной (до 16.11, класс ставит PHP). */
html body .kl-home-hero.kl-hero-1111{background:linear-gradient(135deg,#fff1f5 0%,#f6ecff 100%)!important}
html body .kl-home-hero.kl-hero-1111 .wp-block-media-text__media{background:transparent!important}
html body .kl-home-hero.kl-hero-1111 .wp-block-media-text__media img{object-fit:contain!important;object-position:center!important;background:transparent!important;height:auto!important;max-height:420px;aspect-ratio:1/1!important;width:100%!important}
@media(max-width:600px){html body .kl-home-hero.kl-hero-1111 .wp-block-media-text__media img{max-height:min(80vw,310px)}}
@media(min-width:601px){html body .kl-home-hero.kl-hero-1111 .wp-block-media-text__media img{height:100%!important;max-height:none!important;aspect-ratio:auto!important;padding:10px 0;box-sizing:border-box}}
html body .kl-home-hero.kl-hero-1111 .kl-home-eyebrow{color:#c4174f!important}

/* Design 35 (10.11): мелочи прохода 09.11, телефон.
   а) Шнуры: «С сердечником» целиком на 375 — иконка (i) маленьким кружком, без лишнего отступа справа.
   б) Корзина: подсказка «Нажмите на кружок…» в две строки у стрелки, не вплотную к «В заказе».
   в) Корзина: белая нижняя панель с подписями (как на остальных страницах), «К оформлению заказа · N шт.» в одну строку. */
@media (max-width:600px){
html body .ktlf-tree-navigation .ktlf-tree-heading[data-ktlf-core="1"]{padding-right:32px!important;padding-left:10px!important;gap:5px!important}
html body .ktlf-tree-navigation .ktlf-core-info{width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;margin-right:6px!important;border-radius:50%!important;border:1.3px solid currentColor!important;background:transparent!important;color:#fff!important;box-shadow:none!important}
html body .ktlf-tree-navigation .ktlf-tree-heading:not(.is-active) + .ktlf-core-info{color:#6b5f78!important}
html body .ktlf-tree-navigation .ktlf-core-info span{font-size:0!important;line-height:0}
html body .ktlf-tree-navigation .ktlf-core-info span::before{content:"i";font:700 13px/1 -apple-system,system-ui,sans-serif}
html body.klc-preview.klc-cart .klc-selection-guide p{white-space:normal!important;max-width:136px!important;text-align:right;line-height:1.25!important;top:1px!important;right:40px!important}
html body.klc-cart .klc-cart-dock .klc-checkout-cta{padding-left:14px!important;padding-right:14px!important}
html body.klc-cart .klc-cart-dock .klc-checkout-cta [data-cta-label]{font-size:13.5px!important;white-space:nowrap!important;min-width:0;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.1px}
}
@media (max-width:760px){
html body.klc-cart .kh-replacement .kh nav.kh-bottom > :is(a,button){height:48px!important;min-height:48px!important;max-height:48px!important;padding:4px 3px 3px!important;gap:2px!important;flex-direction:column!important;font-size:10px!important;line-height:1.2!important}
html body.klc-cart .kh-replacement .kh nav.kh-bottom .kh-bottom-label{display:block!important;font-size:10px!important;line-height:1.2!important}
html body.klc-cart:has(.kh-replacement .kh-bottom) .klc-cart-dock{bottom:calc(60px + env(safe-area-inset-bottom))!important}
html body.klc-cart:has(.kh-replacement .kh-bottom){padding-bottom:calc(168px + env(safe-area-inset-bottom))!important}
}

/* Design 37 (10.11): видео о пряже — кнопка на главном фото и плеер на весь экран (скрипт — kotelife-design-polish.php). */
.kl-yv-btn{position:absolute;left:10px;bottom:10px;z-index:3;display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 3px;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:#3f2a63;font-family:inherit;font-size:12.5px;font-weight:600;line-height:1;box-shadow:0 2px 10px rgba(43,25,62,.16);cursor:pointer;-webkit-tap-highlight-color:transparent}
.kl-yv-btn i{position:relative;flex:none;width:30px;height:30px}
.kl-yv-btn img{display:block;width:30px;height:30px;border-radius:50%;object-fit:cover}
.kl-yv-btn i::after{content:"";position:absolute;inset:0;border-radius:50%;background:rgba(59,22,110,.35) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1.5v9l7.5-4.5z' fill='%23fff'/%3E%3C/svg%3E")}
.kl-yv-btn:hover{background:#fff;color:#7b2fed}
.kl-yv{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;background:rgba(18,10,28,.88);padding:max(14px,env(safe-area-inset-top)) 12px max(14px,env(safe-area-inset-bottom))}
.kl-yv video{display:block;max-width:100%;max-height:100%;width:auto;height:min(100%,calc((100vw - 24px)*16/9));aspect-ratio:9/16;border-radius:18px;background:#000;object-fit:contain}
.kl-yv-x{position:fixed;top:max(12px,env(safe-area-inset-top));right:12px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:26px;line-height:1;cursor:pointer;display:grid;place-items:center}
.kl-yv-x:hover{background:rgba(255,255,255,.28)}
html.kl-yv-open{overflow:hidden}

/* Design 39 (11.11): баннер cookie на телефоне — компактный (кнопки в ряд) и не закрывает нижнюю панель корзины и оформления «Войти и оформить». Сам баннер — тема, site-footer.php. */
@media(max-width:600px){
html body .kl-cookie-notice{padding:12px 14px;border-radius:14px;font-size:12.5px;line-height:1.4}
html body .kl-cookie-notice .kl-cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
html body .kl-cookie-notice button{margin-top:0;width:auto;padding:10px 8px;font-size:13px;white-space:normal;line-height:1.25}
html body:has(.klc-cart-dock) .kl-cookie-notice{bottom:calc(128px + env(safe-area-inset-bottom))}
}

/* Design 40 (11.11): карточка товара — заметная акция у цены (компьютер), заметная кнопка видео, плеер по высоте экрана; разделы — SEO-текст снизу убран в панель «О разделе» (кнопка в верхнем блоке, панель справа / снизу на телефоне). Скрипт — polish.js. */
/* — акция у цены, ≥768 */
.kl-deal{display:none}
@media(min-width:768px){
.kl-deal{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 2px}
.kl-deal-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 8px;border-radius:999px;background:linear-gradient(135deg,#ff3d7f,#d90757);color:#fff;font-size:13px;font-weight:700;line-height:1;box-shadow:0 4px 14px rgba(217,7,87,.28);letter-spacing:.1px}
.kl-deal-tag b{display:inline-grid;place-items:center;min-width:34px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:#d90757;font-size:12.5px}
.kl-deal-save{font-size:13px;font-weight:600;color:#b0124f}
.kl-deal-end{font-size:12px;color:#7a6f88;width:100%}
.ktlp-price-panel.kl-has-deal .ktlc-price ins{color:#d90757}
.ktlp-price-panel.kl-has-deal .ktlc-price del{font-size:15px;color:#9a8fa8}
.ktlp-price-panel.kl-has-deal .ktlp-sale-marker{background:#d90757}
}
/* — кнопка видео */
@media(min-width:768px){
.kl-yv-btn{left:14px;bottom:14px;gap:10px;padding:5px 16px 5px 5px;font-size:14px;color:#2d1d48;box-shadow:0 6px 22px rgba(43,25,62,.22)}
.kl-yv-btn i,.kl-yv-btn img{width:44px;height:44px}
.kl-yv-btn i::after{background-size:16px;background-color:rgba(123,47,237,.72)}
.kl-yv-btn i::before{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid rgba(123,47,237,.55);animation:klYvPulse 2.2s ease-out infinite}
.kl-yv-btn .kl-yv-t{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}
.kl-yv-btn .kl-yv-t small{font-size:12px;font-weight:500;color:#7a6f88}
.kl-yv-btn:hover{transform:translateY(-1px)}
}
.kl-yv-btn .kl-yv-t b{font-weight:inherit}
@media(max-width:767px){.kl-yv-btn .kl-yv-t b{display:none}.kl-yv-btn .kl-yv-t small{font:inherit;color:inherit}}
@keyframes klYvPulse{0%{transform:scale(.9);opacity:1}80%,100%{transform:scale(1.25);opacity:0}}
@media(prefers-reduced-motion:reduce){.kl-yv-btn i::before{animation:none}}
/* — плеер: всё видео и его панель управления помещаются в экран */
html body .kl-yv video{width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 2*max(14px,env(safe-area-inset-top)))}
@media(min-width:768px){html body .kl-yv video{max-height:calc(100dvh - 64px);border-radius:16px}.kl-yv-x{top:20px;right:20px}}
/* — «О разделе» */
.kl-about-btn{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:8px 14px 8px 10px;border:1px solid #e3d6f6;border-radius:999px;background:#f7f2fe;color:#5b23b8;font:600 13.5px/1.2 inherit;font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s,border-color .15s}
.kl-about-btn svg{flex:none;width:18px;height:18px}
.kl-about-btn:hover{background:#efe5fd;border-color:#cdb6f1}
.kl-about-btn:focus-visible{outline:3px solid #8228e8;outline-offset:2px}
html.kl-about-ready .kotelife-seo-text{display:none!important}
.kl-about{position:fixed;inset:0;z-index:100000;visibility:hidden}
.kl-about.is-open{visibility:visible}
.kl-about-bg{position:absolute;inset:0;background:rgba(24,14,40,.42);opacity:0;transition:opacity .25s}
.kl-about.is-open .kl-about-bg{opacity:1}
.kl-about-panel{position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:column;width:min(480px,92vw);background:#fff;border-radius:22px 0 0 22px;box-shadow:-12px 0 40px rgba(36,18,60,.18);transform:translateX(102%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.kl-about.is-open .kl-about-panel{transform:none}
.kl-about-head{display:flex;align-items:flex-start;gap:12px;padding:22px 22px 16px;border-bottom:1px solid #f0e9f6}
.kl-about-head div{flex:1;min-width:0}
.kl-about-kicker{display:block;margin-bottom:4px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8a5ad6}
.kl-about-title{margin:0;font-size:21px;line-height:1.25;color:#241a33}
.kl-about-x{flex:none;width:38px;height:38px;border:0;border-radius:50%;background:#f3eef8;color:#3b2a52;font-size:24px;line-height:1;cursor:pointer;display:grid;place-items:center}
.kl-about-x:hover{background:#e9e0f3}
.kl-about-body{flex:1;overflow:auto;padding:18px 22px 26px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.kl-about-body p{margin:0 0 14px;font-size:15px;line-height:1.65;color:#3a3147}
.kl-about-body p:first-child{font-size:16px;color:#241a33}
.kl-about-body h2,.kl-about-body h3{margin:20px 0 8px;font-size:16px;color:#241a33}
.kl-about-body ul{margin:0 0 14px;padding-left:20px;font-size:15px;line-height:1.6;color:#3a3147}
html.kl-about-open{overflow:hidden}
@media(max-width:600px){
.kl-about-btn{margin-top:10px;font-size:13px;padding:7px 12px 7px 9px}
.kl-about-panel{top:auto;left:0;width:auto;max-height:86dvh;border-radius:22px 22px 0 0;transform:translateY(102%);box-shadow:0 -12px 40px rgba(36,18,60,.18)}
.kl-about-head{padding:18px 18px 12px}
.kl-about-title{font-size:19px}
.kl-about-body{padding:14px 18px calc(22px + env(safe-area-inset-bottom))}
.kl-about-body p{font-size:14.5px}
}
/* — Яндекс-чекаут в карточке: под «В корзину», на всю ширину; подсказка «выберите вариант» */
.ktlp-price-panel #yastore-checkout-button.kl-ycp-btn,.ktlp-buy-box #yastore-checkout-button.kl-ycp-btn,.ktlp-buy-column #yastore-checkout-button.kl-ycp-btn{display:block;width:100%;max-width:none;margin:10px 0 0!important;box-sizing:border-box}
.ktlp-price-panel.kl-need-choice [data-variant]{animation:klNeed .5s ease 2;box-shadow:0 0 0 2px #d90757 inset}
@keyframes klNeed{0%,100%{transform:none}30%{transform:translateX(-3px)}70%{transform:translateX(3px)}}
.kl-about-btn{align-self:flex-start;justify-self:start;width:auto;max-width:100%}
@media(prefers-reduced-motion:reduce){.kl-about-panel,.kl-about-bg{transition:none}}
.ktlp-price-panel #yastore-checkout-button.kl-ycp-inline{margin:14px 0 2px!important}

/* Design 41 (11.11): кнопка Яндекс-чекаута в карточке — как «В корзину» (скругление 28 px, высота 52 px, шрифт сайта), текст «Купить в 1 клик» ставит polish.js. Цвет — фирменный градиент Яндекса, мягче. */
html body #yastore-checkout-button.kl-ycp-btn{border-radius:28px;min-height:52px;padding:6px 18px;gap:2px;font-family:Inter,'SF Pro Text',-apple-system,system-ui,'Segoe UI',Roboto,Arial,sans-serif;background:linear-gradient(100deg,#ff3d9a 0%,#ff5a3c 55%,#ff8a1f 100%);box-shadow:0 6px 18px rgba(255,80,60,.25);transition:transform .12s,box-shadow .12s,filter .12s}
html body #yastore-checkout-button.kl-ycp-btn:hover{filter:brightness(1.04);box-shadow:0 8px 22px rgba(255,80,60,.32);transform:translateY(-1px)}
html body #yastore-checkout-button.kl-ycp-btn .yastore-checkout-button__main{min-height:0;padding:0;font-size:17px;font-weight:600;line-height:1.2;letter-spacing:.1px}
html body #yastore-checkout-button.kl-ycp-btn .yastore-checkout-promo{font-size:12px;font-weight:500;line-height:1.2;opacity:.9}

/* Design 43 (11.11): пояснение над «Купить в 1 клик» (Яндекс 7) — мелко, серым, с отступом; ставит polish.js только вместе с кнопкой. */
.kl-ycp-note{margin:14px 2px 0;font-size:12.5px;line-height:1.4;color:#7a6f88;text-align:center}
html body #kl-ycp-note+#yastore-checkout-button.kl-ycp-btn{margin-top:6px!important}
@media(max-width:600px){.kl-ycp-note{font-size:12px;margin-top:12px}}
.kl-ycp-note{text-wrap:balance}

/* Design 44 (12.11): пояснение над «Купить в 1 клик» — одна строка со значком «i», отступ 22 px от «В корзину», 8 px до кнопки (заменяет вид Design 43). */
html body .kl-ycp-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:22px 0 0;font-size:12px;line-height:1.3;color:#8a7f97;text-align:center;text-wrap:nowrap;white-space:nowrap}
html body .kl-ycp-note svg{flex:none;width:14px;height:14px;color:#b3a8c2}
html body #kl-ycp-note+#yastore-checkout-button.kl-ycp-btn{margin-top:8px!important}
@media(max-width:600px){html body .kl-ycp-note{margin-top:18px;font-size:12px}}
@media(max-width:340px){html body .kl-ycp-note{white-space:normal;text-wrap:balance}}

/* Design 45 (12.11): пояснение — по центру с полями, переносится ровно, не упирается в край; зазор между строками кнопки Яндекса. */
html body .kl-ycp-note{box-sizing:border-box;width:100%;padding:0 10px;white-space:normal;text-wrap:balance;align-items:flex-start;justify-content:center}
html body .kl-ycp-note svg{margin-top:1px}
html body .kl-ycp-note span{text-align:center}
html body #yastore-checkout-button.kl-ycp-btn{gap:4px;padding-top:8px;padding-bottom:8px}
html body .kl-ycp-note{display:block;text-align:center}
html body .kl-ycp-note svg{display:inline-block;vertical-align:-2px;margin:0 5px 0 0}
html body .kl-ycp-note span{display:inline}

/* ===== Design 49 (12.11): «О разделе» — карточки с иконками, карусель фото; иконки «Подробного описания» ===== */
@media(min-width:601px){.kl-about-panel{width:min(580px,94vw)}}
.kl-about-body{padding:18px 22px 28px;background:#fcfaff}
.kl-about-body .kl-ab-lead{margin:0 0 18px;font-size:16px;line-height:1.6;color:#2a1f38}
.kl-about-body b{font-weight:700;color:#2a1f38}
.kl-ab-card{display:flex;gap:14px;align-items:flex-start;margin:0 0 12px;padding:16px 16px 14px;border:1px solid #eee6f8;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(40,20,70,.04)}
.kl-ab-ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#f2eafd;color:#7c2fe6}
.kl-ab-c{flex:1;min-width:0}
.kl-ab-c h3{margin:8px 0 8px!important;font-size:15.5px!important;line-height:1.3;font-weight:700;letter-spacing:-.005em;color:#241a33}
.kl-ab-c p{margin:0!important;font-size:14.5px!important;line-height:1.6!important;color:#4c4358!important}
.kl-ab-c ul{list-style:none;margin:0!important;padding:0!important}
.kl-ab-c li{position:relative;margin:0 0 7px;padding-left:18px;font-size:14.5px;line-height:1.55;color:#4c4358}
.kl-ab-c li:last-child{margin-bottom:0}
.kl-ab-c li::before{content:"";position:absolute;left:3px;top:.62em;width:6px;height:6px;border-radius:50%;background:#b48af2}
.kl-ab-card.is-tip{background:#fff8e8;border-color:#f6e3b3}
.kl-ab-card.is-tip .kl-ab-ic{background:#ffeec4;color:#b7791f}
/* карусель */
.kl-ab-gal{position:relative;margin:0 -22px 18px}
.kl-ab-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 22px;padding:2px 22px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.kl-ab-track::-webkit-scrollbar{display:none}
.kl-ab-slide{flex:0 0 calc((100% - 20px)/2.35);aspect-ratio:3/4;padding:0;border:0;border-radius:16px;overflow:hidden;background:#efe8f7;scroll-snap-align:start;cursor:zoom-in;-webkit-tap-highlight-color:transparent}
.kl-ab-slide img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.kl-ab-slide:hover img{transform:scale(1.03)}
.kl-ab-slide:focus-visible{outline:3px solid #8228e8;outline-offset:2px}
.kl-ab-nav{position:absolute;top:calc(50% - 22px);display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#3b2a52;box-shadow:0 4px 14px rgba(30,15,55,.18);cursor:pointer;transition:opacity .2s}
.kl-ab-nav.is-prev{left:12px}.kl-ab-nav.is-next{right:12px}
.kl-ab-gal.at-start .is-prev,.kl-ab-gal.at-end .is-next{opacity:0;pointer-events:none}
.kl-ab-count{position:absolute;right:30px;bottom:14px;padding:3px 9px;border-radius:999px;background:rgba(25,14,40,.62);color:#fff;font-size:12px;line-height:1.4;pointer-events:none}
.kl-ab-count b{color:#fff}
@media(max-width:600px){
 .kl-about-body{padding:14px 16px calc(24px + env(safe-area-inset-bottom))}
 .kl-ab-gal{margin:0 -16px 16px}
 .kl-ab-track{padding:2px 16px 4px;scroll-padding:0 16px;gap:8px}
 .kl-ab-slide{flex-basis:62%;border-radius:14px}
 .kl-ab-nav{display:none}
 .kl-ab-count{right:22px}
 .kl-about-body .kl-ab-lead{font-size:15px}
 .kl-ab-card{gap:12px;padding:14px 14px 12px;border-radius:16px}
 .kl-ab-ic{width:36px;height:36px;border-radius:12px}
 .kl-ab-c h3{margin-top:7px!important;font-size:15px!important}
 .kl-ab-c p,.kl-ab-c li{font-size:14px!important}
}
/* просмотр фото во весь экран */
.kl-ab-view{position:fixed;inset:0;z-index:100010;background:rgba(14,8,24,.94);opacity:0;transition:opacity .2s}
.kl-ab-view.is-open{opacity:1}
.kl-ab-vtrack{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior:contain}
.kl-ab-vtrack::-webkit-scrollbar{display:none}
.kl-ab-vtrack figure{flex:0 0 100%;height:100%;margin:0;display:grid;place-items:center;padding:56px 16px calc(56px + env(safe-area-inset-bottom));box-sizing:border-box;scroll-snap-align:center}
.kl-ab-vtrack img{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px}
.kl-ab-vx{position:absolute;top:calc(12px + env(safe-area-inset-top));right:12px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.kl-ab-vnav{position:absolute;top:calc(50% - 24px);width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;cursor:pointer}
.kl-ab-vnav.is-prev{left:16px}.kl-ab-vnav.is-next{right:16px}
.kl-ab-vcount{position:absolute;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);color:rgba(255,255,255,.85);font-size:13px}
@media(max-width:600px){.kl-ab-vnav{display:none}}
@media(prefers-reduced-motion:reduce){.kl-ab-slide img,.kl-ab-view{transition:none}}
/* «Подробное описание»: свои иконки вместо точки в кружке */
html body .ktlp .ktlp-description-section h3.kl-hic::before{display:none!important;content:none!important}
html body .ktlp .ktlp-description-section h3.kl-hic{display:flex;align-items:center;gap:10px}
.kl-hic-i{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f2eafd;color:#7c2fe6}
@media(max-width:600px){.kl-hic-i{width:30px;height:30px;border-radius:9px}.kl-hic-i svg{width:17px;height:17px}}

/* ===== Design 50 (12.11): видео о пряже — вертикальное сразу; на телефоне на весь экран ===== */
.kl-yv{opacity:0;transition:opacity .2s ease,background-color .2s}
.kl-yv.is-in{opacity:1}.kl-yv.is-out{opacity:0}
.kl-yv video{transition:transform .2s ease}
html body .kl-yv video{aspect-ratio:9/16;height:calc(100dvh - 64px);width:auto;max-width:100%;max-height:none;object-fit:contain;background:#000}
@media(max-width:767px){
 .kl-yv{padding:0;background:#000;place-items:stretch}
 html body .kl-yv video{width:100%;height:100%;max-height:none;aspect-ratio:auto;border-radius:0;object-fit:contain}
 .kl-yv-x{top:calc(10px + env(safe-area-inset-top));right:10px;width:44px;height:44px;background:rgba(0,0,0,.45);z-index:2}
}
@media(prefers-reduced-motion:reduce){.kl-yv,.kl-yv video{transition:none}}

/* ===== Design 51 (12.11): подразделы шнуров на телефоне — ссылка «Что такое шнур с сердечником?» по центру ===== */
.kl-core-link{display:none}
.ktlf-core-info:focus:not(:focus-visible),.kl-core-link:focus:not(:focus-visible){outline:none!important}
@media(max-width:767px){
 .ktlf-mobile-banner-copy .kl-about-btn{white-space:nowrap;text-align:left;font-size:12.5px;gap:6px;padding:6px 11px 6px 8px}
 .ktlf-mobile-banner-copy .kl-about-btn svg{width:16px;height:16px}
}

/* Design 51b: кнопка «i» в «С сердечником» (телефон) — ровный круг, буква «i» по центру (символ ⓘ давал двойное кольцо) */
@media(max-width:767px){
 html body .ktlf-tree-navigation .ktlf-core-info{width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;padding:0!important;margin-right:8px!important;border:1.5px solid currentColor!important;border-radius:50%!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;align-self:center!important;font-size:0!important;line-height:0!important;background:transparent!important;box-shadow:none!important;outline:none}
 html body .ktlf-tree-navigation .ktlf-core-info span{display:none!important}
 html body .ktlf-tree-navigation .ktlf-core-info::after{content:"";display:block;width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='3.4' r='1.35'/%3E%3Crect x='5.9' y='5.7' width='2.2' height='6' rx='1.1'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='3.4' r='1.35'/%3E%3Crect x='5.9' y='5.7' width='2.2' height='6' rx='1.1'/%3E%3C/svg%3E") center/contain no-repeat}
 html body .ktlf-tree-navigation .ktlf-core-info:focus-visible{outline:2px solid #8228e8!important;outline-offset:2px}
}

/* ===== Design 52 (13.11): футер. (а) основа как в теме — для корзины и оформления, где theme.css не подключён;
   (б) компьютер ≥1024: новая сетка, чипы маркетплейсов, соцсети и почта с иконками, нижняя строка в одну линию. ===== */
.kl-footer{margin-top:auto;background:#fff;border-top:1px solid #e8e2f0;color:#4a4154;font-family:"Inter","SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kl-footer .kl-container{width:min(1280px,100% - clamp(14px,3vw,28px)*2);margin-inline:auto}
.kl-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px;padding:40px 0 28px}
.kl-footer-logo img{max-height:40px;width:auto;height:auto}
.kl-footer-about{margin:14px 0 0;color:#6f6579;font-size:14px;line-height:1.55;max-width:34ch}
.kl-footer-title{font:700 12px/1.5 inherit;font-family:inherit;letter-spacing:.08em;text-transform:uppercase;color:#6f6579;margin:0 0 12px}
.kl-footer-brand .kl-footer-title{margin-top:20px}
.kl-footer-menu,.kl-footer-contacts,.kl-footer-markets,.kl-footer-legal{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.kl-footer-menu a,.kl-footer-contacts a,.kl-footer-markets a{color:#4a4154;font-size:14.5px;text-decoration:none}
.kl-footer-menu a:hover,.kl-footer-contacts a:hover,.kl-footer-markets a:hover{color:#5a1fb3}
.kl-footer-contacts a{display:inline-flex;align-items:center;gap:8px}
.kl-footer-contacts .kl-icon{width:18px;height:18px;color:#9a90a4}
.kl-footer-markets{grid-auto-flow:column;justify-content:start}
.kl-footer-markets a{display:inline-block;padding:7px 12px;border-radius:999px;background:#f3eff8;font-weight:600;font-size:13px}
.kl-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 0 calc(20px + var(--kl-bottom-nav,0px));border-top:1px solid #e8e2f0;font-size:13px;color:#6f6579}
.kl-footer-copy{margin:0}
.kl-footer-legal{grid-auto-flow:column;gap:6px 18px}
.kl-footer-legal a{color:#6f6579;text-decoration:none}
.kl-footer-cookie-settings{border:0;background:none;padding:0;font:inherit;color:#6f6579;cursor:pointer}
@media(max-width:900px){.kl-footer-grid{grid-template-columns:1fr 1fr;gap:24px;padding-top:28px}}
@media(max-width:600px){.kl-footer-grid{grid-template-columns:1fr;gap:20px}.kl-footer-bottom{flex-direction:column;align-items:flex-start}.kl-footer-legal{grid-auto-flow:row}}

@media(min-width:1024px){
 html body .kl-footer{background:linear-gradient(180deg,#fbf8ff 0%,#f6f1fd 100%);border-top:1px solid #ede5f8}
 html body .kl-footer .kl-footer-grid{grid-template-columns:minmax(300px,1.45fr) 1fr .85fr 1.05fr;gap:56px;padding:56px 0 44px;align-items:start}
 html body .kl-footer .kl-footer-logo img{max-height:34px}
 html body .kl-footer .kl-footer-about{margin:18px 0 0;font-size:14px;line-height:1.65;color:#6f6579;max-width:38ch}
 html body .kl-footer .kl-footer-about-short{display:none}
 html body .kl-footer .kl-footer-title{margin:0 0 18px;font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:#8b6fc0}
 html body .kl-footer .kl-footer-brand .kl-footer-title{margin:28px 0 12px}
 html body .kl-footer .kl-footer-menu{gap:13px}
 html body .kl-footer .kl-footer-menu a{font-size:15px;line-height:1.35;color:#3d3448;transition:color .15s}
 html body .kl-footer .kl-footer-menu a:hover{color:#7a2fe6}
 /* маркетплейсы — чипы с цветной меткой */
 html body .kl-footer .kl-footer-markets{display:flex;flex-wrap:wrap;gap:8px}
 html body .kl-footer .kl-footer-markets a{display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 11px;border:1px solid #e6ddf3;border-radius:999px;background:#fff;color:#2f2639;font-size:13.5px;font-weight:600;line-height:1.2;transition:border-color .15s,box-shadow .15s}
 html body .kl-footer .kl-footer-markets a::before{content:"";width:9px;height:9px;border-radius:50%;background:#b9a7d6;flex:none}
 html body .kl-footer .kl-footer-markets a[href*="ozon"]::before{background:#005bff}
 html body .kl-footer .kl-footer-markets a[href*="wildberries"]::before{background:#a3149c}
 html body .kl-footer .kl-footer-markets a[href*="yandex"]::before{background:#ffcc00;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
 html body .kl-footer .kl-footer-markets a:hover{border-color:#c7b2ea;box-shadow:0 4px 12px rgba(80,40,140,.08)}
 /* соцсети и почта — строка с иконкой в плашке */
 html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu,html body .kl-footer .kl-footer-contacts{gap:10px}
 html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu a,html body .kl-footer .kl-footer-contacts a{display:inline-flex;align-items:center;gap:12px;font-size:15px;color:#3d3448}
 html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu a::before{content:"";flex:none;width:38px;height:38px;border-radius:12px;background:#fff center/18px no-repeat;border:1px solid #e6ddf3;box-sizing:border-box;transition:border-color .15s}
 html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu a[href*="vk.com"]::before{content:"VK";display:grid;place-items:center;font-size:12.5px;font-weight:800;letter-spacing:.02em;color:#7a2fe6}
 html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu a[href*="t.me"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a2fe6' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 4L3 11l6.5 2.5L12 20l3-5 6-11z'/%3E%3Cpath d='M9.5 13.5L21 4'/%3E%3C/svg%3E")}
 html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu a:hover::before,html body .kl-footer .kl-footer-contacts a:hover .kl-icon{border-color:#c7b2ea}
 html body .kl-footer .kl-footer-contacts .kl-icon{flex:none;width:38px;height:38px;padding:9px;box-sizing:border-box;border:1px solid #e6ddf3;border-radius:12px;background:#fff;color:#7a2fe6;transition:border-color .15s}
 html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu a:hover,html body .kl-footer .kl-footer-contacts a:hover{color:#7a2fe6}
 /* нижняя строка */
 html body .kl-footer .kl-footer-bottom{display:flex;flex-wrap:nowrap;align-items:center;gap:24px;padding:20px 0 26px;border-top:1px solid #e6ddf3;font-size:13px;color:#8a8094}
 html body .kl-footer .kl-footer-copy{margin:0 auto 0 0;white-space:nowrap}
 html body .kl-footer .kl-footer-legal{display:flex;flex-wrap:wrap;gap:6px 22px;justify-content:flex-end}
 html body .kl-footer .kl-footer-legal a,html body .kl-footer .kl-footer-cookie-settings{font-size:13px;line-height:1.4;color:#6f6579;text-decoration:none;white-space:nowrap;transition:color .15s}
 html body .kl-footer .kl-footer-legal a:hover,html body .kl-footer .kl-footer-cookie-settings:hover{color:#7a2fe6}
 html body .kl-footer .kl-footer-cookie-settings{padding:0 0 0 22px;border:0;border-left:1px solid #e0d6ee;background:none;cursor:pointer}
}
@media(min-width:1024px){
 html body .kl-footer .kl-footer-grid{grid-template-columns:minmax(360px,1.6fr) 1fr .85fr 1fr;gap:48px}
 html body .kl-footer .kl-footer-markets a{padding:7px 12px 7px 10px;font-size:13px}
 html body .kl-footer .kl-footer-bottom>nav{flex:0 1 auto;min-width:0}
 html body .kl-footer .kl-footer-copy{flex:none}
 html body .kl-footer .kl-footer-cookie-settings{flex:none}
}
@media(min-width:1024px){
 html body .kl-footer .kl-container{width:min(1224px,calc(100% - 56px))!important;max-width:none!important;margin-inline:auto!important}
 html body .kl-footer .kl-footer-legal{gap:6px 20px}
}
@media(min-width:1024px){html body footer.kl-footer{padding:0!important}}
@media(min-width:1024px) and (max-width:1279px){
 html body .kl-footer .kl-footer-grid{grid-template-columns:minmax(310px,1.35fr) 1.05fr .8fr 1fr;gap:32px}
 html body .kl-footer .kl-footer-bottom{flex-wrap:wrap;gap:10px 20px;justify-content:flex-start}
 html body .kl-footer .kl-footer-bottom>nav{order:1}
 html body .kl-footer .kl-footer-cookie-settings{order:2}
 html body .kl-footer .kl-footer-copy{order:3;flex-basis:100%;margin:0}
 html body .kl-footer .kl-footer-legal{justify-content:flex-start;gap:6px 18px}
}
@media(min-width:1024px) and (max-width:1279px){html body .kl-footer .kl-footer-markets{gap:6px;flex-wrap:nowrap}html body .kl-footer .kl-footer-markets a{padding:6px 10px 6px 9px;font-size:12.5px;gap:6px;white-space:nowrap}}

/* ===== 54. Краткое описание товара: подпись-фраза отдельной строкой (Дизайн 54, облегчена 55, значок 56) =====
   Это украшение, а не заголовок: читаться первым должно название товара.
   Подпись мельче названия, ненасыщенная, приглушённого цвета; слева — маленькая
   сиреневая искорка, чтобы было видно, что началось короткое описание. */
.kl-short-lead{display:block;position:relative;margin:2px 0 6px;padding-left:16px;font-weight:500;font-size:1.02em;line-height:1.35;color:#8a7f9b;letter-spacing:0}
.kl-short-lead::before{content:"";position:absolute;left:0;top:.28em;width:11px;height:11px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23b79bec' d='M6 0c.6 3.4 2.6 5.4 6 6-3.4.6-5.4 2.6-6 6-.6-3.4-2.6-5.4-6-6 3.4-.6 5.4-2.6 6-6z'/%3E%3C/svg%3E") center/11px 11px no-repeat;opacity:.95}
.kl-short-body{display:block}
.ktlp .ktlp-short-description.has-kl-lead,.ktlp .ktlp-summary.has-kl-lead{color:#80758a}
.ktlc-compare-table td.has-kl-lead .kl-short-lead,.ktlf-compare td.has-kl-lead .kl-short-lead{font-size:1em}

/* ===== 60. Объёмные иконки в «Подробном описании» товара (Дизайн 60) =====
   Те же файлы, что в приложении. Под объёмной картинкой сиреневая плашка не нужна:
   фон снимаем, размер чуть крупнее рисованных значков. */
.ktlp-description-section h3.kl-hic .kl-hic-i.kl-pic{width:28px;height:28px;background:none;border:0;border-radius:0;box-shadow:none;padding:0}
.ktlp-description-section h3.kl-hic .kl-hic-i.kl-pic .kl-hic-img{display:block;width:28px;height:28px;object-fit:contain}
@media(max-width:600px){.ktlp-description-section h3.kl-hic .kl-hic-i.kl-pic,.ktlp-description-section h3.kl-hic .kl-hic-i.kl-pic .kl-hic-img{width:26px;height:26px}}

/* ===== 62. Кнопки выбора варианта и «В корзине» (Дизайн 62) =====
   Углы: у выбранной кнопки сплошная заливка с рамкой 1 px давала неровный нижний левый угол
   (шов заливки и рамки на дробных пикселях). Рамку делаем прозрачной, контур рисуем внутренней
   тенью — все четыре угла одинаковые, размер кнопки не меняется.
   «В корзине»: текст был прижат к краям (поля 3 px) — даём нормальные внутренние отступы. */
.ktlp .ktlp-choices>button{border-radius:12px}
.ktlp .ktlp-choices>button.is-selected{border-color:transparent;background:#8232ef;box-shadow:inset 0 0 0 1px #8232ef}
.ktlp .ktlp-choices>button.is-selected:hover{background:#7629dd;box-shadow:inset 0 0 0 1px #7629dd}
.ktlp .ktlp-choices>button:focus-visible{outline:2px solid #8232ef;outline-offset:2px}
.ktlp .ktlc-purchase .ktlc-buy{padding-left:16px!important;padding-right:16px!important}
.ktlp .ktlc-purchase .ktlc-buy.is-in-cart{padding-left:18px!important;padding-right:18px!important;font-weight:600}
@media(max-width:600px){.ktlp .ktlc-purchase .ktlc-buy{padding-left:14px!important;padding-right:14px!important}}

/* ===== 63. Меню каталога: иерархия заголовков (Дизайн 63) =====
   Название раздела крупнее и жирнее, названия групп — полужирные и мельче,
   чтобы «Шнуры» и «Без сердечника» не выглядели одинаково. */
.kh .kh-dialog-top h2{font-size:21px;font-weight:700;letter-spacing:-.2px}
.kh .kh-group h3{font-size:14px;font-weight:600;color:#6c6378;margin:0 0 8px;letter-spacing:.1px}
.kh .kh-group h3 a{color:inherit}
@media(max-width:600px){.kh .kh-dialog-top h2{font-size:19px}.kh .kh-group h3{font-size:13px}}

/* ===== 64. Подвал: настоящие значки соцсетей и ровные колонки (Дизайн 64) =====
   Значки ВКонтакте и Telegram — официальные марки из набора Simple Icons (CC0),
   нарисованы прямо в стилях, отдельных файлов и запросов нет. */
html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu a[href*="vk.com"]::before{content:"";background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%230077FF'%3E%3Cpath%20d='m9.489.004.729-.003h3.564l.73.003.914.01.433.007.418.011.403.014.388.016.374.021.36.025.345.03.333.033c1.74.196%202.933.616%203.833%201.516.9.9%201.32%202.092%201.516%203.833l.034.333.029.346.025.36.02.373.025.588.012.41.013.644.009.915.004.98-.001%203.313-.003.73-.01.914-.007.433-.011.418-.014.403-.016.388-.021.374-.025.36-.03.345-.033.333c-.196%201.74-.616%202.933-1.516%203.833-.9.9-2.092%201.32-3.833%201.516l-.333.034-.346.029-.36.025-.373.02-.588.025-.41.012-.644.013-.915.009-.98.004-3.313-.001-.73-.003-.914-.01-.433-.007-.418-.011-.403-.014-.388-.016-.374-.021-.36-.025-.345-.03-.333-.033c-1.74-.196-2.933-.616-3.833-1.516-.9-.9-1.32-2.092-1.516-3.833l-.034-.333-.029-.346-.025-.36-.02-.373-.025-.588-.012-.41-.013-.644-.009-.915-.004-.98.001-3.313.003-.73.01-.914.007-.433.011-.418.014-.403.016-.388.021-.374.025-.36.03-.345.033-.333c.196-1.74.616-2.933%201.516-3.833.9-.9%202.092-1.32%203.833-1.516l.333-.034.346-.029.36-.025.373-.02.588-.025.41-.012.644-.013.915-.009ZM6.79%207.3H4.05c.13%206.24%203.25%209.99%208.72%209.99h.31v-3.57c2.01.2%203.53%201.67%204.14%203.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01%201.28-.74%203.08-2.54%203.51-4.98h-2.58c-.56%201.98-2.22%203.78-3.8%203.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92Z'/%3E%3C/svg%3E");background-size:22px 22px;background-position:center;background-repeat:no-repeat;font-size:0;color:transparent}
html body .kl-footer nav[aria-label="Соцсети"] .kl-footer-menu a[href*="t.me"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%232AABEE'%3E%3Cpath%20d='M11.944%200A12%2012%200%200%200%200%2012a12%2012%200%200%200%2012%2012%2012%2012%200%200%200%2012-12A12%2012%200%200%200%2012%200a12%2012%200%200%200-.056%200zm4.962%207.224c.1-.002.321.023.465.14a.506.506%200%200%201%20.171.325c.016.093.036.306.02.472-.18%201.898-.962%206.502-1.36%208.627-.168.9-.499%201.201-.82%201.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184%203.247-2.977%203.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793%201.14-5.061%203.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663%203.498-1.524%205.83-2.529%206.998-3.014%203.332-1.386%204.025-1.627%204.476-1.635z'/%3E%3C/svg%3E");background-size:22px 22px;background-position:center;background-repeat:no-repeat}
html body .kl-footer .kl-footer-contacts a[href*="t.me"] .kl-icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%237a2fe6'%3E%3Cpath%20d='M11.944%200A12%2012%200%200%200%200%2012a12%2012%200%200%200%2012%2012%2012%2012%200%200%200%2012-12A12%2012%200%200%200%2012%200a12%2012%200%200%200-.056%200zm4.962%207.224c.1-.002.321.023.465.14a.506.506%200%200%201%20.171.325c.016.093.036.306.02.472-.18%201.898-.962%206.502-1.36%208.627-.168.9-.499%201.201-.82%201.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184%203.247-2.977%203.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793%201.14-5.061%203.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663%203.498-1.524%205.83-2.529%206.998-3.014%203.332-1.386%204.025-1.627%204.476-1.635z'/%3E%3C/svg%3E");background-size:22px 22px;background-position:center;background-repeat:no-repeat}
html body .kl-footer .kl-footer-contacts a[href*="t.me"] .kl-icon>*{display:none}
/* колонки: одинаковый ритм строк и одинаковая высота плашек у всех трёх списков */
html body .kl-footer .kl-footer-menu li,html body .kl-footer .kl-footer-contacts li{line-height:1.45}
html body .kl-footer nav[aria-label="Покупателям"] .kl-footer-menu{gap:10px}
html body .kl-footer .kl-footer-grid>.kl-footer-col{align-content:start}
