/* ==========================================================================
   кВт Центр — каталог и заказ
   ========================================================================== */

:root {
	--kvtc-blue: #1A56DB;
	--kvtc-blue-d: #1446B8;
	--kvtc-dark: #0D1420;
	--kvtc-text: #1C2B3A;
	--kvtc-muted: #5B6B7C;
	--kvtc-line: #E4E9F0;
	--kvtc-soft: #F1F4F8;
	--kvtc-chip: #EBEFF5;
	--kvtc-orange: #F47B20;
	--kvtc-wa: #1FAF54;
	--kvtc-r: 12px;
}

html.kvtc-lock,
html.kvtc-lock body { overflow: hidden !important; }
html body .kvtc-hidden,
html body .elementor-element.kvtc-hidden { display: none !important; }

html body .kvtc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px !important; border: 0 !important; border-radius: 10px !important;
	background: var(--kvtc-blue) !important; color: #fff !important; font-family: inherit; font-size: 15px !important; font-weight: 700 !important;
	line-height: 1.2 !important; text-transform: none !important; letter-spacing: 0 !important;
	text-decoration: none !important; box-shadow: none !important; cursor: pointer; transition: background .15s;
}
html body .kvtc-btn:hover { background: var(--kvtc-blue-d) !important; transform: none !important; }
html body .kvtc-btn--wa { background: var(--kvtc-wa) !important; }
html body .kvtc-btn--wa:hover { background: #17924a !important; }
html.kvtc-lock #scrollUp { display: none !important; }

/* --------------------------------------------------------------------------
   Шапка
   ----------------------------------------------------------------------- */

/* Корзина снова видна, счётчик — только если в ней что-то есть */
html body .kh-icobtn.kvtc-cartbtn { display: flex !important; }
html body .kh-icobtn.kvtc-cartbtn .kh-badge {
	display: flex !important; width: auto; min-width: 18px; height: 18px; padding: 0 5px;
	top: -7px; right: -7px; border-radius: 9px; font-size: 11px; line-height: 1;
}
html body .kh-icobtn.kvtc-cartbtn .kh-badge.is-empty { display: none !important; }
html body .kh-icobtn.kvtc-cartbtn .kh-badge.is-dot { min-width: 10px; height: 10px; padding: 0; top: -3px; right: -3px; }

/* Часы работы в верхней полосе вместо дубля телефона */
.kh-strip .kh-hours {
	display: flex; align-items: center; gap: 5px;
	font-size: 14.5px; color: rgba(255, 255, 255, .85); letter-spacing: .02em;
}
.kh-strip .kh-hours svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Телефон-кнопка на планшете и телефоне (обычный номер там скрыт) */
.kvtc-mphone { display: none; }
@media (max-width: 900px) {
	.kvtc-mphone {
		display: flex; align-items: center; justify-content: center;
		width: 40px; height: 40px; border-radius: 7px; flex-shrink: 0;
		background: var(--kvtc-soft); color: var(--kvtc-text); text-decoration: none;
	}
	.kvtc-mphone svg { width: 18px; height: 18px; }
}

/* Подсказки поиска */
form.kh-search { position: relative; }
.kvtc-suggest {
	display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 10050;
	max-height: min(70vh, 560px); overflow-y: auto; padding: 6px;
	background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(13, 20, 32, .16);
}
.kvtc-suggest.is-open { display: block; }
.kvtc-suggest__item {
	display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px;
	color: var(--kvtc-text) !important; text-decoration: none !important;
}
.kvtc-suggest__item:hover,
.kvtc-suggest__item.is-active { background: var(--kvtc-soft); }
.kvtc-suggest__item img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; border-radius: 6px; background: #fff; }
.kvtc-suggest__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.kvtc-suggest__t {
	font-size: 13.5px; line-height: 1.3; font-weight: 500;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kvtc-suggest__k { font-size: 12px; color: var(--kvtc-muted); }
.kvtc-suggest__p { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.kvtc-suggest__all {
	display: block; margin-top: 4px; padding: 10px; border-radius: 8px; text-align: center;
	background: var(--kvtc-soft); color: var(--kvtc-blue) !important; font-size: 14px; font-weight: 600; text-decoration: none !important;
}
.kvtc-suggest__all:hover { background: var(--kvtc-chip); }
.kvtc-suggest__empty { padding: 12px; font-size: 14px; line-height: 1.45; color: var(--kvtc-text); }
.kvtc-suggest__empty a { color: var(--kvtc-blue) !important; }

/* Окно «Обратный звонок» */
.kvtc-modal {
	position: fixed; inset: 0; z-index: 100050; display: none; align-items: center; justify-content: center;
	padding: 16px; background: rgba(13, 20, 32, .55);
}
.kvtc-modal.is-open { display: flex; }
.kvtc-modal__box {
	position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto;
	padding: 28px 28px 22px; border-radius: 16px; background: #fff;
}
html body .kvtc-modal__close {
	position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0 !important;
	display: flex; align-items: center; justify-content: center; border: 0 !important; border-radius: 8px !important;
	background: var(--kvtc-soft) !important; color: var(--kvtc-text) !important; box-shadow: none !important; cursor: pointer;
}
.kvtc-modal__close svg { width: 18px; height: 18px; }
.kvtc-modal__title { font-size: 22px; font-weight: 700; color: var(--kvtc-text); margin: 0 40px 8px 0; }
.kvtc-modal__text { font-size: 14.5px; line-height: 1.5; color: var(--kvtc-muted); margin: 0 0 16px; }
.kvtc-modal__alt { margin: 14px 0 0; font-size: 14px; color: var(--kvtc-muted); }
.kvtc-modal__alt a { color: var(--kvtc-blue) !important; font-weight: 600; text-decoration: none; }
.kvtc-modal .elementor-form .elementor-field-group { padding-left: 0 !important; padding-right: 0 !important; }
.kvtc-modal .elementor-form .elementor-field-group:not(:last-child) { margin-bottom: 10px !important; }

/* --------------------------------------------------------------------------
   Каталог: категории и фильтры
   ----------------------------------------------------------------------- */

.kvtc-cats .elementor-icon-list-item.is-current > a .elementor-icon-list-text {
	color: var(--kvtc-blue) !important; font-weight: 600 !important;
}
.kvtc-cats.is-collapsed .elementor-icon-list-item:not(.is-current) { display: none !important; }
.kvtc-cats.is-collapsed .elementor-icon-list-item.is-current { border-bottom: 0 !important; }
html body button.kvtc-cats__toggle {
	display: flex !important; align-items: center; gap: 8px; width: 100%; margin: 6px 0 0 !important; padding: 10px 12px !important;
	border: 0 !important; border-radius: 9px !important; background: var(--kvtc-soft) !important; color: var(--kvtc-text) !important;
	font-family: inherit; font-size: 14px !important; font-weight: 600 !important; line-height: 1.3 !important; text-align: left;
	text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; cursor: pointer;
}
html body button.kvtc-cats__toggle:hover { background: var(--kvtc-chip) !important; transform: none !important; }
.kvtc-cats__toggle b { margin-left: auto; font-weight: 600; color: var(--kvtc-muted); }
.kvtc-cats__toggle svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s; }
.kvtc-cats__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.kvtc-cats__toggle[aria-expanded="true"] b { display: none; }

/* Блок фильтров — белая карточка, как у категорий */
.kvtc-filters {
	background: #fff; border-radius: var(--kvtc-r); padding: 18px 16px 20px !important;
	box-shadow: 0 1px 0 var(--kvtc-line), 0 0 0 1px rgba(228, 233, 240, .6);
}
.kvtc-filters { gap: 0 !important; --widgets-spacing: 0px; --widgets-spacing-row: 0px; }
.kvtc-filters > .elementor-element { margin: 0 !important; }
.kvtc-filters .woocommerce-widget-layered-nav { margin: 0 !important; padding: 0 !important; }
.kvtc-filters .elementor-element-kvtflthd .elementor-heading-title {
	display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
	font-size: 18px !important; margin: 0 !important;
}
.kvtc-filters__reset {
	font-size: 13px; font-weight: 600; color: var(--kvtc-blue) !important; text-decoration: none !important; white-space: nowrap;
}
.kvtc-filters__reset:hover { text-decoration: underline !important; }
.kvtc-filters .woocommerce-widget-layered-nav h5 {
	margin: 16px 0 8px !important; font-size: 13px !important; font-weight: 700 !important;
	color: var(--kvtc-text) !important; letter-spacing: 0 !important;
}
.kvtc-filters .woocommerce-widget-layered-nav-list {
	display: flex !important; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.kvtc-filters .woocommerce-widget-layered-nav-list__item {
	margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none !important; line-height: 1 !important;
}
.kvtc-filters .woocommerce-widget-layered-nav-list__item a {
	display: inline-flex !important; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px !important;
	border-radius: 8px; background: var(--kvtc-chip); color: var(--kvtc-text) !important;
	font-size: 13.5px !important; font-weight: 500 !important; line-height: 1 !important; text-decoration: none !important;
	transition: background .15s, color .15s;
}
.kvtc-filters .woocommerce-widget-layered-nav-list__item a:hover { background: #DCE3ED; }
.kvtc-filters .woocommerce-widget-layered-nav-list__item .count { display: none !important; }
.kvtc-filters .woocommerce-widget-layered-nav-list__item.chosen a {
	background: var(--kvtc-blue) !important; color: #fff !important;
}
.kvtc-filters .woocommerce-widget-layered-nav-list__item.chosen a::after {
	content: ""; width: 10px; height: 10px; flex-shrink: 0; opacity: .9;
	background: linear-gradient(45deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%),
		linear-gradient(-45deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%);
}
.kvtc-filters .woocommerce-widget-layered-nav-list__item.chosen a::before { display: none !important; }

/* Панель над товарами */
.kvtc-toolbar {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	margin: 0 0 18px; padding: 0;
}
.kvtc-toolbar__count { margin-right: auto; font-size: 14.5px; color: var(--kvtc-muted); }
.kvtc-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }
html body button.kvtc-toolbar__filters {
	display: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px !important;
	border: 0 !important; border-radius: 9px !important; background: var(--kvtc-dark) !important; color: #fff !important;
	font-family: inherit; font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important;
	text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; cursor: pointer;
}
html body button.kvtc-toolbar__filters svg { width: 18px !important; height: 18px !important; flex-shrink: 0; }
.kvtc-toolbar__filters b {
	display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px;
	border-radius: 10px; background: var(--kvtc-orange); font-size: 12px;
}

.kvtc-drawer__head,
.kvtc-drawer__foot,
.kvtc-drawer__shade { display: none; }

@media (max-width: 1024px) {
	html body button.kvtc-toolbar__filters { display: inline-flex !important; }
	.kvtc-toolbar { gap: 10px; }
	.kvtc-toolbar__count { order: -1; width: 100%; margin: 0; font-size: 13.5px; }
	.kvtc-toolbar > .kvtc-toolbar__filters,
	.kvtc-toolbar > .woocommerce-ordering { flex: 1 1 0; min-width: 0; }
	.kvtc-toolbar .woocommerce-ordering select.orderby { width: 100% !important; min-height: 44px; }

	html.kvtc-catalog .elementor-element-7b8db440 {
		position: fixed !important; top: 0 !important; bottom: 0 !important; left: 0 !important;
		z-index: 100010 !important; width: min(92vw, 420px) !important; max-width: none !important;
		margin: 0 !important; padding: 0 16px 96px !important; overflow-y: auto !important;
		display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 14px !important;
		background: var(--kvtc-soft) !important;
		transform: translateX(-104%); transition: transform .25s ease; visibility: hidden;
	}
	html.kvtc-catalog.kvtc-drawer-open .elementor-element-7b8db440 { transform: none; visibility: visible; }
	html.kvtc-catalog .elementor-element-7b8db440 .elementor-element-cc2677f { display: none !important; }
	html.kvtc-catalog .elementor-element-7b8db440 > * { flex-shrink: 0 !important; }
	html.kvtc-catalog .elementor-element-7b8db440 > .e-con,
	html.kvtc-catalog .elementor-element-7b8db440 > .elementor-element { width: 100% !important; max-width: none !important; }

	.kvtc-drawer__head {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: sticky; top: 0; z-index: 3; margin: 0 -16px; padding: 14px 16px;
		background: var(--kvtc-soft); font-size: 18px; font-weight: 700; color: var(--kvtc-text);
	}
	html body .kvtc-drawer__head button {
		width: 40px; height: 40px; padding: 0 !important; display: flex; align-items: center; justify-content: center;
		border: 0 !important; border-radius: 9px !important; background: #fff !important; color: var(--kvtc-text) !important;
		box-shadow: none !important; cursor: pointer;
	}
	.kvtc-drawer__head svg { width: 20px; height: 20px; }
	.kvtc-drawer__foot {
		display: block; position: fixed; left: 0; bottom: 0; z-index: 4; width: min(92vw, 420px);
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--kvtc-soft);
		transform: translateX(-104%); transition: transform .25s ease;
	}
	html.kvtc-drawer-open .kvtc-drawer__foot { transform: none; }
	.kvtc-drawer__foot .kvtc-btn { width: 100%; }
	.kvtc-drawer__shade {
		display: block; position: fixed; inset: 0; z-index: 100005; background: rgba(13, 20, 32, .5);
		opacity: 0; visibility: hidden; transition: opacity .2s;
	}
	html.kvtc-drawer-open .kvtc-drawer__shade { opacity: 1; visibility: visible; }
}

/* --------------------------------------------------------------------------
   Карточки товаров (каталог, главная, похожие товары)
   ----------------------------------------------------------------------- */

html body .woocommerce ul.products li.product:not(.product-category),
html body .elementor-products-grid li.product:not(.product-category) {
	display: flex !important; flex-direction: column !important; height: 100%;
}
html body .woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: flex !important; flex-direction: column !important; flex: 1 1 auto;
	text-decoration: none !important;
}
html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
html body .elementor-products-grid li.product .woocommerce-loop-product__title {
	padding: 0 !important; margin: 10px 0 4px !important;
	font-size: 14px !important; line-height: 1.35 !important; font-weight: 600 !important;
	color: var(--kvtc-text) !important; text-transform: none !important;
	display: -webkit-box !important; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical !important;
	overflow: hidden !important; min-height: calc(1.35em * 3) !important; max-height: calc(1.35em * 3) !important;
	overflow-wrap: anywhere;
}
.kvtc-sku { margin: 0 0 8px; font-size: 12.5px; line-height: 1.3; color: var(--kvtc-muted); }
html body .woocommerce ul.products li.product .price,
html body .elementor-products-grid li.product .price {
	margin: auto 0 12px !important; padding-top: 2px;
}
html body .woocommerce ul.products li.product .kvtc-details-btn,
html body .elementor-products-grid li.product .kvtc-details-btn {
	width: 100% !important; margin: 0 !important; text-align: center !important; box-shadow: none !important;
}
html body .woocommerce ul.products li.product .kvtc-price-request {
	color: var(--kvtc-muted) !important; font-weight: 600 !important; font-size: 14px !important;
}
.elementor-products-grid li.product img.woocommerce-placeholder,
.woocommerce ul.products li.product img.woocommerce-placeholder { opacity: .55; }

/* Сетка категорий на странице «Каталог» */
html body .woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	padding: 0 !important; margin: 12px 0 0 !important; font-size: 14px !important; line-height: 1.35 !important;
	font-weight: 600 !important; color: var(--kvtc-text) !important;
	display: block !important; -webkit-line-clamp: unset !important; max-height: none !important; overflow: visible !important;
}
html body .woocommerce ul.products li.product-category mark.count {
	display: block; margin-top: 4px; padding: 0; background: none !important;
	font-size: 13px; font-weight: 500; color: var(--kvtc-muted);
}
html body .woocommerce ul.products li.product-category > a { display: flex; flex-direction: column; height: 100%; text-decoration: none !important; }

/* --------------------------------------------------------------------------
   Бренд-баннеры: правая часть светлее, товар на фото виден
   ----------------------------------------------------------------------- */

body .elementor-cta.kvt-brand-cta[data-kvt-brand="Schneider"] .elementor-cta__bg-overlay {
	background: linear-gradient(90deg, rgba(40, 150, 62, .97) 0%, rgba(52, 176, 76, .92) 34%, rgba(52, 176, 76, .45) 52%, rgba(52, 176, 76, 0) 70%) !important;
}
body .elementor-cta.kvt-brand-cta[data-kvt-brand="DKC"] .elementor-cta__bg-overlay {
	background: linear-gradient(90deg, rgba(183, 0, 15, .97) 0%, rgba(214, 0, 20, .92) 34%, rgba(214, 0, 20, .45) 52%, rgba(214, 0, 20, 0) 70%) !important;
}
body .elementor-cta.kvt-brand-cta[data-kvt-brand="Legrand"] .elementor-cta__bg-overlay,
body .elementor-cta.kvt-brand-cta[data-kvt-brand="LowVoltage"] .elementor-cta__bg-overlay {
	background: linear-gradient(90deg, rgba(7, 57, 120, .97) 0%, rgba(11, 77, 162, .92) 34%, rgba(11, 77, 162, .45) 52%, rgba(11, 77, 162, 0) 70%) !important;
}
body .elementor-cta.kvt-brand-cta .elementor-cta__bg { filter: brightness(1.06) saturate(.9); }
body .elementor-cta.kvt-brand-cta .elementor-cta__button {
	white-space: nowrap !important; box-shadow: none !important;
}
@media (max-width: 767px) {
	/* На телефоне в каталоге баннеры — после товаров, компактные */
	html.kvtc-catalog .elementor-element-38d1e8b8 > .elementor-element-229fff9 { order: 20; margin-top: 28px !important; }
	html.kvtc-catalog .elementor-element-229fff9 .elementor-cta { min-height: 150px !important; }
	html.kvtc-catalog .elementor-element-229fff9 .elementor-cta__description { display: none !important; }
}

/* --------------------------------------------------------------------------
   Страница товара
   ----------------------------------------------------------------------- */

/* Название товара (виджет «иконка с текстом» в шаблоне товара) */
.single-product .elementor-element-35c725db .elementor-icon-box-title,
.single-product h1.product_title {
	font-size: clamp(22px, 1.9vw, 28px) !important; line-height: 1.25 !important; margin-bottom: 8px !important;
	overflow-wrap: anywhere;
}
.single-product .elementor-element-35c725db .elementor-icon-box-description { font-size: 14px !important; color: var(--kvtc-muted) !important; }
@media (max-width: 767px) {
	.single-product .elementor-element-35c725db .elementor-icon-box-title { font-size: 21px !important; }
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information table.shop_attributes {
	width: 100%; border-collapse: collapse; border: 0 !important; margin: 0 !important;
}
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th,
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td {
	padding: 10px 14px !important; border: 0 !important; border-bottom: 1px solid var(--kvtc-line) !important;
	font-size: 14px !important; line-height: 1.45 !important; vertical-align: top; text-align: left;
	background: transparent !important; font-style: normal !important;
}
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th {
	width: 42%; font-weight: 500 !important; color: var(--kvtc-muted) !important;
}
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td { color: var(--kvtc-text) !important; }
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td p { margin: 0 !important; padding: 0 !important; }
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes tr:nth-child(odd) th,
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes tr:nth-child(odd) td { background: #F7F9FC !important; }
@media (max-width: 767px) {
	.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th,
	.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td { display: block; width: 100%; }
	.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th { padding-bottom: 0 !important; border-bottom: 0 !important; }
}

/* Сообщение «товар в корзине» */
.woocommerce-message .kvtc-tocart {
	display: inline-flex; align-items: center; margin-left: 12px; padding: 7px 14px; border-radius: 8px;
	background: var(--kvtc-blue); color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none !important; white-space: nowrap;
}
.woocommerce-message .kvtc-tocart:hover { background: var(--kvtc-blue-d); }

/* --------------------------------------------------------------------------
   Корзина и оформление (блоки WooCommerce)
   ----------------------------------------------------------------------- */

.wc-block-cart .wc-block-components-product-name,
.wc-block-checkout .wc-block-components-product-name { text-decoration: none !important; color: var(--kvtc-text) !important; font-weight: 600; }
.wc-block-cart .wc-block-components-product-metadata__description:empty,
.wc-block-checkout .wc-block-components-product-metadata__description:empty { display: none; }
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button {
	background: var(--kvtc-blue) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important;
	min-height: 52px; font-weight: 700 !important; text-decoration: none !important;
}
.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover { background: var(--kvtc-blue-d) !important; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { display: none !important; }
.wp-block-woocommerce-empty-cart-block { padding: 24px 0 8px; text-align: center; }
.wp-block-woocommerce-empty-cart-block .wp-block-button__link {
	background: var(--kvtc-blue) !important; color: #fff !important; border-radius: 10px !important; padding: 14px 26px !important; font-weight: 700;
}
.wc-block-checkout-empty .wc-block-checkout-empty__image,
.wc-block-checkout-empty::before { display: none !important; }

/* --------------------------------------------------------------------------
   Шапка на телефоне: логотип и кнопки в первой строке, поиск — во второй
   ----------------------------------------------------------------------- */

@media (max-width: 640px) {
	html body .kh-bar { height: auto !important; }
	html body .kh-bar__in { flex-wrap: wrap; row-gap: 10px; column-gap: 8px; padding: 10px 16px 12px !important; }
	html body .kh-logo img { height: 52px !important; }
	html body .kh-right { order: 2; margin-left: auto; gap: 8px !important; }
	html body form.kh-search { order: 3; flex: 1 1 100% !important; max-width: none !important; height: 44px; }
	html body form.kh-search input { height: 44px !important; font-size: 16px !important; }
	html body .kh-search__btn { height: 44px !important; width: 48px !important; }
	html body .kh-icobtn.kvtc-cartbtn,
	html body .kvtc-mphone,
	html body button.kh-burger {
		width: 42px !important; height: 42px !important; border: 0 !important; border-radius: 9px !important;
		background: var(--kvtc-soft) !important; color: var(--kvtc-text) !important; box-shadow: none !important;
	}
	html body button.kh-burger { padding: 0 !important; align-items: center; justify-content: center; }
	html body button.kh-burger span { background: var(--kvtc-text) !important; width: 20px !important; }
}

/* Подвал на телефоне: колонка «Оставьте заявку» — по одной линии с остальными */
@media (max-width: 767px) {
	.elementor-element-76840515 { padding-left: 0 !important; }
}

/* --------------------------------------------------------------------------
   Сетка категорий на странице «Каталог» — ровные ряды
   ----------------------------------------------------------------------- */

html body .elementor-widget-shortcode .woocommerce ul.products {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px !important; padding: 0 !important;
}
html body .elementor-widget-shortcode .woocommerce ul.products::before,
html body .elementor-widget-shortcode .woocommerce ul.products::after { display: none !important; }
html body .elementor-widget-shortcode .woocommerce ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important; clear: none !important;
}
@media (max-width: 1024px) {
	html body .elementor-widget-shortcode .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	html body .elementor-widget-shortcode .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* --------------------------------------------------------------------------
   Главная на телефоне: текст слайда над фото, без наложения
   ----------------------------------------------------------------------- */

@media (max-width: 767px) {
	.elementor-element-782c9e3a .elementor-slides-wrapper,
	.elementor-element-782c9e3a .swiper-slide { height: 480px !important; }
	.elementor-element-782c9e3a .swiper-slide-bg {
		background-size: auto 250px !important; background-position: right -30px bottom 0 !important; background-repeat: no-repeat !important;
		-webkit-mask-image: linear-gradient(to bottom, transparent 44%, #000 62%); mask-image: linear-gradient(to bottom, transparent 44%, #000 62%);
	}
	.elementor-element-782c9e3a .swiper-slide-inner { align-items: flex-start !important; padding: 28px 22px !important; }
	.elementor-element-782c9e3a .elementor-slide-description { font-size: 28px !important; line-height: 1.2 !important; }
}

/* Хлебные крошки товара на телефоне: с отступами, без повтора названия */
@media (max-width: 767px) {
	html body.single-product nav.woocommerce-breadcrumb,
	html body.single-product .woocommerce-breadcrumb { padding: 0 16px !important; font-size: 13px !important; line-height: 1.5 !important; }
	html body.single-product .woocommerce-breadcrumb .kvt-bc-current,
	html body.single-product .woocommerce-breadcrumb .kvt-bc-sep:nth-last-child(2) { display: none !important; }
}
/* Главная на телефоне: слайд компактнее */
@media (max-width: 767px) {
	.elementor-element-782c9e3a .elementor-slides-wrapper,
	.elementor-element-782c9e3a .swiper-slide { height: 440px !important; }
	.elementor-element-782c9e3a .swiper-slide-bg { background-size: auto 230px !important; -webkit-mask-image: linear-gradient(to bottom, transparent 46%, #000 60%); mask-image: linear-gradient(to bottom, transparent 46%, #000 60%); }
}
/* Контакты: ссылки в карточках */
.elementor-icon-box-description a[href^="tel:"],
.elementor-icon-box-description a[href^="mailto:"],
.elementor-icon-box-description a[href*="maps"],
.elementor-icon-box-description a[href*="wa.me"] { color: var(--kvtc-blue) !important; text-decoration: none !important; }
.elementor-icon-box-description a:hover { text-decoration: underline !important; }
/* Шапка на телефоне: WhatsApp, телефон, корзина, меню */
@media (max-width: 640px) {
	html body .kh-right .kvt-wa-btn { order: 1; width: 42px !important; height: 42px !important; min-width: 42px; padding: 0 !important; border-radius: 9px !important; justify-content: center !important; margin: 0 !important; }
	html body .kh-right .kvt-wa-btn span { display: none !important; }
	html body .kh-right .kvt-wa-btn svg { margin: 0 !important; }
	html body .kh-right .kvtc-mphone { order: 2; }
	html body .kh-right .kh-icobtn { order: 3; }
	html body .kh-right .kh-burger { order: 4; }
}
/* Шапка на планшетах и небольших ноутбуках: всё в одну строку */
@media (max-width: 1100px) {
	html body .kh-strip a,
	html body .kh-strip .kh-hours { white-space: nowrap !important; font-size: 13px !important; }
	html body .kh-strip__left { font-size: 13px !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
	html body .kh-strip__right { gap: 14px !important; flex-shrink: 0; }
	html body .kh-nav__menu li a { white-space: nowrap !important; }
}
@media (max-width: 1024px) {
	html body .kh-strip__left { font-size: 0 !important; }
	html body .kh-strip__left .kvt-geo { font-size: 13px !important; }
	html body .kh-strip__left b { display: none !important; }
	html body .kh-nav__tag { display: none !important; }
	html body .kh-nav__menu li a { padding: 0 12px !important; }
}

/* Корзина и оформление на небольших экранах: без выхода за край */
@media (max-width: 1200px) {
	.wp-block-woocommerce-cart.alignwide,
	.wp-block-woocommerce-checkout.alignwide { margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; width: auto !important; }
}

/* --------------------------------------------------------------------------
   1.3: каталог на телефоне — категории лентой в один ряд,
   кнопка «Фильтры и категории» и товары сразу под ней
   ----------------------------------------------------------------------- */

@media (max-width: 767px) {
	html body .elementor-widget-shortcode .woocommerce ul.products {
		display: flex !important; flex-wrap: nowrap !important; gap: 10px;
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
		margin: 0 -10px 18px !important; padding: 2px 10px 10px !important; scroll-padding-left: 10px; scrollbar-width: none;
	}
	html body .elementor-widget-shortcode .woocommerce ul.products::-webkit-scrollbar { display: none; }
	html body .elementor-widget-shortcode .woocommerce ul.products li.product-category {
		flex: 0 0 44% !important; max-width: 44% !important; scroll-snap-align: start; padding: 10px !important;
	}
	html body .elementor-widget-shortcode .woocommerce ul.products li.product-category img {
		width: 100% !important; aspect-ratio: 1 / 1; height: auto !important; object-fit: contain; margin: 0 !important;
	}
	html body .elementor-widget-shortcode .woocommerce ul.products li.product-category .woocommerce-loop-category__title {
		font-size: 13px !important; line-height: 1.3 !important; margin-top: 8px !important;
		overflow-wrap: break-word !important; word-break: normal !important; -webkit-hyphens: manual; hyphens: manual;
	}
	html body .elementor-widget-shortcode .woocommerce ul.products li.product-category mark.count { font-size: 12px; margin-top: 2px; }
}

/* Главная на телефоне: фото в первом слайде растворяется в фоне — без жёсткого края и серой полосы */
@media (max-width: 767px) {
	html body .elementor-element-782c9e3a .swiper-slide-bg {
		background-color: transparent !important;
		-webkit-mask-image: linear-gradient(to bottom, transparent 50%, #000 68%), linear-gradient(to right, transparent 18%, #000 46%);
		-webkit-mask-composite: source-in;
		mask-image: linear-gradient(to bottom, transparent 50%, #000 68%), linear-gradient(to right, transparent 18%, #000 46%);
		mask-composite: intersect;
	}
}
/* Заголовок первого слайда стал H1 — выглядит как раньше */
html body h1.elementor-slide-description {
	font-family: inherit !important; font-weight: 600 !important; letter-spacing: normal !important;
	line-height: 1.2 !important; margin-top: 0 !important;
}

/* Пагинация каталога */
html body .woocommerce nav.woocommerce-pagination ul.page-numbers {
	display: inline-flex !important; flex-wrap: wrap; gap: 6px; border: 0 !important; margin: 8px 0 0 !important;
}
html body .woocommerce nav.woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none !important; }
html body .woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px !important;
	border-radius: 9px; background: var(--kvtc-soft); color: var(--kvtc-text) !important; font-size: 14px; font-weight: 600; line-height: 1;
	text-decoration: none !important;
}
html body .woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover { background: #e3e9f2; }
html body .woocommerce nav.woocommerce-pagination ul.page-numbers li span.current { background: var(--kvtc-blue); color: #fff !important; }
html body .woocommerce nav.woocommerce-pagination ul.page-numbers li span.dots { background: transparent; min-width: 24px; padding: 0 !important; }

/* Пустая корзина: кнопка без подчёркивания, отступ до подвала */
html body .wp-block-woocommerce-empty-cart-block .wp-block-button__link { text-decoration: none !important; }
html body .wp-block-woocommerce-empty-cart-block { padding-bottom: 48px !important; }

/* Почта и телефон в текстовых блоках — заметные ссылки */
html body .elementor-widget-text-editor a[href^="mailto:"],
html body .elementor-widget-text-editor a[href^="tel:"] { color: var(--kvtc-blue) !important; text-decoration: none !important; }
html body .elementor-widget-text-editor a[href^="mailto:"]:hover,
html body .elementor-widget-text-editor a[href^="tel:"]:hover { text-decoration: underline !important; }

/* «Свяжитесь с нами» на странице контактов стал H1 — размер прежний */
html body .elementor-element-1b758e9f h1.elementor-heading-title {
	font-size: clamp(22px, 3vw, 32px) !important; line-height: 1.2 !important; letter-spacing: -0.01em !important;
}

/* Страница товара: цифра в поле количества в фокусе была белой на белом (глобальный цвет «текст» = белый) */
html body .quantity input.qty:focus {
	color: var(--kvtc-text) !important; -webkit-text-fill-color: var(--kvtc-text) !important;
	background-color: #fff !important; border-color: var(--kvtc-blue) !important;
}

/* Сообщение «Номер скопирован» (клик по телефону на компьютере) */
.kvtc-toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 100000; transform: translate(-50%, 12px);
	max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 10px;
	background: var(--kvtc-dark); color: #fff; font-size: 14px; line-height: 1.4; text-align: center;
	opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.kvtc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Анимации «выезд сбоку» не расширяют страницу (на «Контактах» на телефоне она съезжала вбок) */
body .elementor:not(.elementor-location-header) { overflow-x: clip; }
