/* Sheikh brand palette — graphite / gold */
:root {
	--sheikh-graphite: #404140;
	--sheikh-graphite-deep: #2e2e2e;
	--sheikh-gold: #C9A84C;
	--sheikh-gold-bright: #D4AF37;
	--sheikh-gold-dark: #A68B2E;
	--sheikh-cream: #F7F4EF;
	--sheikh-text: #2a2a2a;
	--sheikh-muted: #6b6b6b;
}

/* Цена и символ рубля — чёрные, ₽ чуть крупнее прежнего */
.price-currency {
	font-size: 0.9em;
	margin-left: 0.2em;
	font-weight: inherit;
	line-height: 1;
	color: #000;
}

.product-thumb .price,
.product-thumb .price-new,
#product .list-unstyled.price h2,
#product .list-unstyled.price li h2,
.list-unstyled.price h2,
.list-unstyled.price li h2,
p.price {
	color: #000;
}

/* Каталог и рекомендуемые на главной: крупнее и жирнее цена + ₽ */
#product-category .product-thumb .caption .price,
#product-category .product-thumb .price-new,
#common-home [id^="featured_status"] .product-thumb .caption .price,
#common-home [id^="featured_status"] .product-thumb .price-new {
	font-size: 20px;
	font-weight: 700;
	color: #000;
}

#product-category .product-thumb .price-currency,
#common-home [id^="featured_status"] .product-thumb .price-currency {
	font-size: 1em;
	font-weight: 700;
	color: #000;
}

/* Карточка товара: больше отступ между ценой и ₽ */
#product .list-unstyled.price .price-currency,
#product .price-block .price-currency {
	margin-left: 0.45em;
}

/* Метка оптовой цены (Sheikh ?ref=opt) */
.price-wholesale-label {
	display: inline-block;
	margin-right: 0.35em;
	font-size: 0.85em;
	font-weight: 600;
	color: var(--sheikh-gold);
	vertical-align: middle;
}

/* Cool + BS5: карточки товара в категории — выравнивание кнопок по низу */
#product-category .row > .product-layout,
#content .row > .product-layout {
	display: flex;
	flex-wrap: wrap;
	min-width: 0;
	max-width: 100%;
}
#product-category .product-thumb,
#content .product-thumb {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	min-height: 100%;
	min-width: 0;
	max-width: 100%;
}
#product-category .product-thumb .caption,
#content .product-thumb .caption {
	flex: 1 1 auto;
}
#product-category .product-thumb .button-group,
#content .product-thumb .button-group {
	margin-top: auto;
	min-width: 0;
	max-width: 100%;
}

/* Плотная сетка каталога (WB-like): фото на всю колонку, минимальный gutter */
#product-category .sheikh-product-grid {
	--bs-gutter-x: 0.25rem;
	--bs-gutter-y: 0.5rem;
}
#product-category .sheikh-product-grid > .product-layout {
	padding-left: calc(var(--bs-gutter-x) * 0.5);
	padding-right: calc(var(--bs-gutter-x) * 0.5);
	margin-bottom: var(--bs-gutter-y);
	overflow: hidden;
}
#product-category .sheikh-product-grid .product-thumb {
	margin-bottom: 0;
}
/* Единая высота фото: overflow:hidden обязателен — иначе aspect-ratio игнорируется
   (контейнер растягивается под intrinsic-размер картинки). */
#product-category .sheikh-product-grid .product-thumb > .image {
	margin-bottom: 8px;
	aspect-ratio: 3 / 4;
	width: 100%;
	background: #fff;
	overflow: hidden;
}
#product-category .sheikh-product-grid .product-thumb .image > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
#product-category .sheikh-product-grid .product-thumb .image picture {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
#product-category .sheikh-product-grid .product-thumb .image img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	margin: 0;
}
#product-category .sheikh-product-grid .product-thumb .image:hover img {
	transform: scale(1.05);
}

/* Сетки товаров вне категории (поиск, бренд, акции, модули) — та же высота фото.
   Не трогаем .product-list / .product-justify — там своя вёрстка. */
#content .product-layout:not(.product-list):not(.product-justify) .product-thumb > .image,
#common-home .product-layout:not(.product-list):not(.product-justify) .product-thumb > .image {
	aspect-ratio: 3 / 4;
	width: 100%;
	background: #fff;
	overflow: hidden;
}
#content .product-layout:not(.product-list):not(.product-justify) .product-thumb .image > a,
#common-home .product-layout:not(.product-list):not(.product-justify) .product-thumb .image > a,
#content .product-layout:not(.product-list):not(.product-justify) .product-thumb .image picture,
#common-home .product-layout:not(.product-list):not(.product-justify) .product-thumb .image picture {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
#content .product-layout:not(.product-list):not(.product-justify) .product-thumb .image img,
#common-home .product-layout:not(.product-list):not(.product-justify) .product-thumb .image img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	margin: 0;
}

/* TEMP: каталог mobile — ноль боковых полей у сетки товаров (сортировку не трогаем). Удалить после копирования на прод. */
@media (max-width: 767.98px) {
	#product-category.container,
	#product-category .sheikh-category-below-catalog,
	#product-category #content {
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		max-width: 100%;
	}
	#product-category .description,
	#product-category .sheikh-category-sorting {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
	/* .row с margin -12px вылезает за экран, если у контейнера нет padding.
	   Gutter колонок уже даёт отступ 12px, лишний padding на самом ряду не нужен.
	   Прямые .row внутри #content — список подкатегорий, сетка и пагинация. */
	#product-category .sheikh-breadcrumb-row,
	#product-category #content > .row {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
	#product-category .sheikh-product-grid {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	#product-category .sheikh-product-grid > .product-layout:nth-child(odd) {
		padding-left: 0;
	}
	#product-category .sheikh-product-grid > .product-layout:nth-child(even) {
		padding-right: 0;
	}
}

/* Карточка каталога: строка количество + «В корзину» */
.product-thumb .button-group .thumb-buy-row {
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 100%;
	min-width: 0;
}
.product-thumb .button-group .thumb-buy-qty {
	min-width: 110px;
	max-width: 170px;
}
.product-thumb .button-group .quantity-input.input-group {
	width: 100%;
}
.product-thumb .button-group .quantity-input .form-control {
	height: auto;
	min-height: 42px;
	line-height: 1.25;
	padding: 6px 4px;
}
@media (max-width: 767.98px) {
	.product-thumb .button-group .thumb-buy-qty {
		flex: 1 1 100%;
		max-width: none;
		min-width: 0;
	}
}

/* Иконка «В корзину» без текста — фиксированный размер */
.product-thumb .button-group .thumb-cart-btn.cart-add {
	flex: 0 0 auto !important;
	width: 46px;
	min-width: 46px;
	max-width: 46px;
	height: 46px;
	padding: 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-color: var(--sheikh-gold-dark);
	color: #fff;
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-thumb .button-group .thumb-cart-btn.cart-add:hover,
.product-thumb .button-group .thumb-cart-btn.cart-add:focus,
.product-thumb .button-group .thumb-cart-btn.cart-add:focus-visible {
	color: #fff;
	border-color: var(--sheikh-gold-dark);
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 0.14rem rgba(201, 168, 76, 0.28);
}
.product-thumb .button-group .thumb-cart-btn.cart-add:active {
	color: #fff;
	border-color: var(--sheikh-graphite-deep);
	background: linear-gradient(180deg, var(--sheikh-gold-dark) 0%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.14);
}
.product-thumb .button-group .thumb-cart-btn.cart-add .svg-cart {
	width: 22px;
	height: 22px;
	position: relative;
	top: 0;
	margin: 0;
}
.product-thumb .button-group .thumb-cart-btn.cart-add .thumb-cart-spinner {
	vertical-align: middle;
	width: 1.125rem;
	height: 1.125rem;
	border-width: 0.14em;
}
.product-thumb .button-group .thumb-cart-btn.cart-add .thumb-cart-check-svg {
	width: 22px;
	height: 22px;
	display: block;
	fill: currentColor;
}

/* Карточка товара: кнопка «Добавить в корзину» */
#button-cart.btn-primary.btn-block {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-color: var(--sheikh-gold-dark);
	color: #fff;
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
#button-cart.btn-primary.btn-block .svg-cart {
	position: static;
	top: auto;
	margin: 0;
	vertical-align: middle;
}
#button-cart.btn-primary.btn-block:hover,
#button-cart.btn-primary.btn-block:focus,
#button-cart.btn-primary.btn-block:focus-visible {
	color: #fff;
	border-color: var(--sheikh-gold-dark);
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 0.14rem rgba(201, 168, 76, 0.28);
}
#button-cart.btn-primary.btn-block:active {
	color: #fff;
	border-color: var(--sheikh-graphite-deep);
	background: linear-gradient(180deg, var(--sheikh-gold-dark) 0%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.14);
}

/* Страница категории: сетка товаров 4 колонки (начальная), подкатегории 5 колонок (ширина — Bootstrap .container как у шапки) */

/* Панель сортировки: вид слева, сравнение + сортировка + лимит — компактно справа */
#product-category .sheikh-category-sorting .sheikh-sorting-tools {
	gap: 0.35rem 0.55rem;
	row-gap: 0.45rem;
	justify-content: flex-end;
}

#product-category .sheikh-category-sorting .sheikh-sorting-tools > .form-group {
	margin-bottom: 0;
}
/* Верхняя полоска категорий + панель каталога у лого */
/* Слой шапки: Cool #top.header_2.id_top { z-index:1001 } проигрывает #top-header:1040 —
   панель каталога (потомок #top) уходила под полосу категорий. */
#top-header.header_2,
#top-header {
	position: relative;
	z-index: 1040;
	overflow: visible;
}

#top.header_2.id_top,
header #top.header_2.id_top,
header #top {
	position: relative;
	z-index: 1050;
	overflow: visible;
}

#top.header_2.id_top:has(.sheikh-catalog-panel--open),
header #top.header_2.id_top:has(.sheikh-catalog-panel--open),
header #top:has(.sheikh-catalog-panel--open) {
	z-index: 10020 !important;
}

body:has(#sheikh-catalog-panel.sheikh-catalog-panel--open) #top-header {
	z-index: 1030;
}

/*
 * Дропдауны иконок header #top .lk-block (аккаунт / избранное / корзина).
 * Cool задаёт .lk-block .dropdown-menu { z-index: 1001 }, а #top-header — 1040,
 * из‑за этого модалки прячутся под полоской каталога.
 */
header #top .lk-block {
	position: relative;
	z-index: 1060;
}

header #top .lk-block > ul.list-inline.nav > li.dropdown,
header #top .lk-block > ul.list-inline.nav > li#cart {
	position: relative;
	z-index: 1;
}

header #top .lk-block > ul.list-inline.nav > li.dropdown:hover,
header #top .lk-block > ul.list-inline.nav > li.dropdown.show,
header #top .lk-block > ul.list-inline.nav > li.dropdown:focus-within,
header #top .lk-block > ul.list-inline.nav > li#cart.open,
header #top .lk-block > ul.list-inline.nav > li#cart:hover {
	z-index: 2;
}

header #top .lk-block .dropdown-menu,
header #top .lk-block #cart .dropdown-menu,
header #top .lk-block .wishlist-header.dropdown-menu {
	z-index: 10050 !important;
}

header:has(#top .lk-block .dropdown-menu.show),
header:has(#top .lk-block li:hover > .dropdown-menu),
header:has(#top .lk-block li:focus-within > .dropdown-menu),
header:has(#top .lk-block #cart.open),
header:has(#top .lk-block li.open) {
	z-index: 10050;
}

header:has(#top .lk-block .dropdown-menu.show) #top,
header:has(#top .lk-block li:hover > .dropdown-menu) #top,
header:has(#top .lk-block li:focus-within > .dropdown-menu) #top,
header:has(#top .lk-block #cart.open) #top,
header:has(#top .lk-block li.open) #top {
	position: relative;
	z-index: 10050;
}

#top-header .container {
	overflow: visible;
}

/* Лого + иконка каталога */
#top .sheikh-logo-catalog-row {
	gap: 10px;
	min-width: 0;
	width: 100%;
}

#top .sheikh-catalog-icon-wrap {
	flex: 0 0 auto;
	position: relative;
	z-index: 1052;
}

#top .sheikh-catalog-icon-wrap:has(.sheikh-catalog-panel--open) {
	z-index: 10025;
}

#top .sheikh-catalog-icon-btn {
	display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px !important;
    margin: 13px 0 0 5px !important;
    /* padding: 0 0 7px 0 !important; */
    border: 0 none !important;
    border-radius: 6px !important;
    background: var(--sheikh-graphite) !important;
    border-left: 1px solid rgba(64, 65, 64, 0.12) !important;
    border: 2px solid var(--sheikh-gold) !important;
    padding-bottom: 12px;
}

#top .sheikh-catalog-icon-btn:hover,
#top .sheikh-catalog-icon-btn:focus-visible,
#top .sheikh-catalog-icon-wrap:has(.sheikh-catalog-panel--open) .sheikh-catalog-icon-btn {
	background: var(--sheikh-gold);
	border-color: var(--sheikh-gold-dark);
	outline: none;
}

#top .sheikh-catalog-icon-btn .svg-icon {
	width: 22px;
	height: 22px;
	fill: var(--sheikh-gold) !important;
}

#top .sheikh-catalog-icon-btn:hover .svg-icon,
#top .sheikh-catalog-icon-btn:focus-visible .svg-icon,
#top .sheikh-catalog-icon-wrap:has(.sheikh-catalog-panel--open) .sheikh-catalog-icon-btn .svg-icon {
	fill: #fff !important;
}

/* Полоска корневых категорий в #top-header */
#top-header .sheikh-top-header-row {
	gap: 0;
	align-items: stretch;
}

#top-header .sheikh-top-menu-wrap {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	align-items: stretch;
	position: relative;
	z-index: 1;
	width: 100%;
}

#top-header .sheikh-top-menu-wrap #menu.navbar {
	flex: 1 1 auto;
	min-width: 0;
	align-self: stretch;
	width: 100%;
	margin-bottom: 0;
}

@media (min-width: 992px) {
	#top-header .sheikh-top-menu-wrap #menu .navbar-nav.sheikh-root-cats {
		display: flex !important;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
		float: none !important;
		gap: 0;
		margin: 0;
		padding: 0;
	}

	#top-header .sheikh-top-menu-wrap #menu .navbar-nav.sheikh-root-cats > li.sheikh-root-cat {
		flex: 0 1 auto;
		width: auto;
		max-width: none;
		box-sizing: border-box;
		display: block !important;
		float: none !important;
	}

	#top-header .sheikh-top-menu-wrap #menu .navbar-nav.sheikh-root-cats > li.sheikh-root-cat > a.child-a {
		display: flex;
		align-items: center;
		max-width: 100%;
		min-width: 0;
		padding: 12px 14px;
		box-sizing: border-box;
		white-space: nowrap;
		text-decoration: none;
		color: #000 !important;
	}

	#top-header .sheikh-top-menu-wrap #menu .navbar-nav.sheikh-root-cats > li.sheikh-root-cat > a.child-a:hover {
		color: var(--sheikh-gold-dark);
	}

	#top-header .sheikh-top-menu-wrap #menu .navbar-nav > li.more_articles {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	/* Гамбургер мобильного меню */
	#top-header #menu.navbar .navbar-header .btn-navbar.navbar-toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
		float: right;
		padding: 0 !important;
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
		line-height: 0;
		box-sizing: border-box;
	}

	#top-header #menu.navbar .navbar-header .btn-navbar.navbar-toggle svg,
	#top-header #menu.navbar .navbar-header .btn-navbar.navbar-toggle .svg-icon {
		position: static !important;
		top: auto !important;
		margin: 0 !important;
		display: block;
		width: 20px !important;
		height: 20px !important;
		flex-shrink: 0;
		vertical-align: middle;
	}
}

/* Подкатегории: до 5 в ряд на xl — увеличенные зазоры между карточками */
.sheikh-subcat-grid {
	display: flex;
	flex-wrap: wrap;
	row-gap: 1.35rem;
	margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
	margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
}

.sheikh-subcat-grid > .sheikh-subcat-col {
	box-sizing: border-box;
	padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.65);
	padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.65);
}

@media (min-width: 1200px) {
	.sheikh-subcat-grid > .sheikh-subcat-col {
		flex: 0 0 20%;
		max-width: 20%;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.sheikh-subcat-grid > .sheikh-subcat-col {
		flex: 0 0 25%;
		max-width: 25%;
	}
}

@media (min-width: 576px) and (max-width: 991.98px) {
	.sheikh-subcat-grid > .sheikh-subcat-col {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
}

@media (max-width: 575.98px) {
	.sheikh-subcat-grid > .sheikh-subcat-col {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

/* Подкатегории: рамка 290×260, фото целиком */
#product-category .category-list .image-a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: min(240px, 120%) !important;
	height: auto !important;
	aspect-ratio: 290 / 260;
	padding: 0 !important;
	overflow: hidden;
	background: none !important;
}

#product-category .category-list .image-a img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.category-list .click-children,
.category-list .image:hover .click-children.btn {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Компактные подкатегории (есть товары на странице): чипы без фото */
#product-category #content > .row.category-list.sheikh-refine-compact {
	margin-bottom: 0.35rem;
	margin-top: 0.25rem;
	justify-content: flex-start;
}

#product-category #content > .row.category-list.sheikh-refine-compact > .col-md-12 {
	text-align: left;
}

#product-category .sheikh-subcat-grid--compact {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.45rem 0.55rem;
	row-gap: 0.45rem;
	margin: 0;
	padding: 0 0 0.4rem;
}

#product-category .sheikh-subcat-chip {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	max-width: 100%;
	padding: 0.55rem 0.95rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.015em;
	color: #3d4451;
	text-decoration: none;
	text-align: left;
	background: linear-gradient(180deg, #f2f3f6 0%, #e8eaef 100%);
	border: 1px solid rgba(55, 65, 81, 0.12);
	border-radius: 10px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		0 1px 2px rgba(15, 23, 42, 0.05);
	transition:
		background 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
	word-break: break-word;
	hyphens: auto;
}

#product-category .sheikh-subcat-chip:hover {
	color: var(--sheikh-gold-dark) !important;
	background: linear-gradient(180deg, #fafbfc 0%, #eceef2 100%);
	border-color: rgba(2, 177, 177, 0.42);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 2px 8px rgba(2, 177, 177, 0.12),
		0 4px 14px rgba(15, 23, 42, 0.06);
	transform: translateY(-1px);
}

#product-category .sheikh-subcat-chip:active {
	transform: translateY(0);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 1px 2px rgba(15, 23, 42, 0.06);
}

#product-category .sheikh-subcat-chip:focus-visible {
	outline: 2px solid rgba(2, 177, 177, 0.55);
	outline-offset: 2px;
}

/* Панель «Каталог»: поверх контента страницы */
#product-category .sheikh-category-below-catalog {
	position: relative;
	z-index: 0;
}

.sheikh-catalog-panel {
	display: none;
	position: absolute;
	left: 0;
	right: auto;
	top: 100%;
	z-index: 10020;
	width: min(920px, calc(100vw - 24px));
	min-width: min(760px, calc(100vw - 24px));
	margin-top: 6px;
	max-height: min(72vh, 560px);
	overflow-x: visible;
	overflow-y: auto;
	padding: 0;
	box-sizing: border-box;
	border-radius: 8px;
	border: 1px solid rgba(201, 168, 76, 0.4);
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

#top.header_2 #sheikh-catalog-panel.sheikh-catalog-panel--open,
#sheikh-catalog-panel.sheikh-catalog-panel--open {
	z-index: 10030 !important;
}

/* Узкая колонка на мобильных — панель на ширину экрана */
@media (max-width: 767.98px) {
	#top .sheikh-catalog-panel,
	.sheikh-catalog-panel {
		width: calc(100vw - 16px);
		min-width: 0;
		left: 0;
		max-width: calc(100vw - 16px);
	}
}

.sheikh-catalog-panel.sheikh-catalog-panel--open {
	display: block;
}

.sheikh-catalog-panel-inner {
	min-height: 0;
	overflow: visible;
	padding: 0.75rem 1rem;
	width: 100%;
	box-sizing: border-box;
}

.sheikh-catalog-panel.sheikh-catalog-panel--loading .sheikh-catalog-panel-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 2rem 1rem;
}

.sheikh-catalog-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	text-align: center;
}

.sheikh-catalog-spinner {
	width: 2.5rem;
	height: 2.5rem;
	border-width: 0.2em;
	color: var(--sheikh-gold);
}

/* Мегаменю: три колонки в потоке grid (уровни 1–3), без absolute внутри li */
.sheikh-mega-menu {
	display: grid;
	grid-template-columns: 260px minmax(220px, 320px) minmax(220px, 1fr);
	grid-template-rows: minmax(220px, min(65vh, 480px));
	align-items: stretch;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	gap: 0;
	border: 1px solid rgba(2, 177, 177, 0.28);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.sheikh-mega-col {
	min-width: 0;
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
}

.sheikh-mega-col--l1 {
	border-right: 1px solid rgba(2, 177, 177, 0.25);
}

.sheikh-mega-col--l2 {
	border-right: 1px solid rgba(2, 177, 177, 0.25);
	background: #fafcfc;
}

.sheikh-mega-col--l3 {
	background: #fff;
}

.sheikh-mega-parents {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.5rem 0;
	margin: 0;
}

.sheikh-mega-parent-item {
	list-style: none;
}

.sheikh-mega-parent-link {
	display: block;
	width: 100%;
	padding: 0.65rem 0.75rem;
	border-radius: 4px;
	color: #2a2a2a !important;
	text-decoration: none;
	font-weight: 600;
	box-sizing: border-box;
}

.sheikh-mega-parent-item.is-active > .sheikh-mega-parent-link,
.sheikh-mega-parent-link:hover {
	background: rgba(201, 168, 76, 0.12);
	color: var(--sheikh-gold-dark) !important;
}

/* Панели уровня 2 и 3 — только видимая получает .is-active (JS) */
.sheikh-mega-panel--l2,
.sheikh-mega-panel--l3 {
	display: none;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.45rem 0.5rem;
	min-height: min(100%, 70vh);
	box-sizing: border-box;
}

.sheikh-mega-panel--l2.is-active,
.sheikh-mega-panel--l3.is-active {
	display: flex;
}

.sheikh-mega-l2-link {
	display: block;
	padding: 0.38rem 0.5rem;
	border-radius: 4px;
	color: #2a2a2a !important;
	text-decoration: none;
	font-size: 0.95rem;
}

.sheikh-mega-l2-item.sheikh-mega-l2-active .sheikh-mega-l2-link,
.sheikh-mega-l2-link:hover {
	background: rgba(201, 168, 76, 0.1);
	color: var(--sheikh-gold-dark) !important;
}

.sheikh-mega-l3-link {
	display: block;
	padding: 0.35rem 0.5rem;
	border-radius: 4px;
	color: #2a2a2a !important;
	text-decoration: none;
	font-size: 0.92rem;
}

.sheikh-mega-l3-link:hover {
	background: rgba(201, 168, 76, 0.08);
	color: var(--sheikh-gold-dark) !important;
}

/* Контраст панели/dropdown — полные селекторы после #top.header_2 a (ниже в файле) */

@media (max-width: 767.98px) {
	.sheikh-mega-menu {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		grid-template-rows: none;
		min-height: auto;
		height: auto;
		max-height: none;
		overflow: visible;
	}

	.sheikh-mega-col--l1,
	.sheikh-mega-col--l2,
	.sheikh-mega-col--l3 {
		border-right: none;
		border-bottom: 1px solid rgba(201, 168, 76, 0.25);
		max-height: min(45vh, 320px);
		width: 100%;
	}
}

/* Шапка .top-nav.header_2: опт-переключатель + соцсети (Sheikh); под #top — мобильная полоса */
nav.top-nav.header_2 .sheikh-header-top-extras,
.top_line nav.top-nav.header_2 .sheikh-header-top-extras {
	gap: 0.65rem 1rem;
	padding: 0.2rem 0;
	margin-right: 3.5rem;
	min-height: 2.45rem;
	align-items: center;
	max-width: 100%;
}

#sheikh-mobile-top-extras.sheikh-mobile-top-extras {
	gap: 0.65rem 1rem;
	width: 100%;
	padding: 1.5rem 0.75rem 1.55rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	background: #fff;
	align-items: center;
	justify-content: center;
}

nav.top-nav.header_2 .sheikh-wholesale-row,
.top_line nav.top-nav.header_2 .sheikh-wholesale-row,
#sheikh-mobile-top-extras .sheikh-wholesale-row {
	gap: 0.45rem;
}

nav.top-nav.header_2 .sheikh-wholesale-label,
.top_line nav.top-nav.header_2 .sheikh-wholesale-label,
#sheikh-mobile-top-extras .sheikh-wholesale-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #1e293b;
	white-space: nowrap;
}

nav.top-nav.header_2 .sheikh-wholesale-btns,
.top_line nav.top-nav.header_2 .sheikh-wholesale-btns,
#sheikh-mobile-top-extras .sheikh-wholesale-btns {
	display: inline-flex;
	border: 1px solid rgba(148, 163, 184, 0.55);
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
}

nav.top-nav.header_2 a.sheikh-wholesale-btn,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn,
#sheikh-mobile-top-extras a.sheikh-wholesale-btn {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.25;
	color: #475569;
	background: #f8fafc;
	text-decoration: none !important;
	border: none;
	border-right: 1px solid rgba(148, 163, 184, 0.45);
	transition: background-color 0.15s ease, color 0.15s ease;
}

nav.top-nav.header_2 a.sheikh-wholesale-btn:last-child,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn:last-child,
#sheikh-mobile-top-extras a.sheikh-wholesale-btn:last-child {
	border-right: none;
}

nav.top-nav.header_2 a.sheikh-wholesale-btn:hover,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn:hover,
#sheikh-mobile-top-extras a.sheikh-wholesale-btn:hover {
	color: #1e293b;
	background: #f1f5f9;
}

nav.top-nav.header_2 a.sheikh-wholesale-btn:focus-visible,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn:focus-visible,
#sheikh-mobile-top-extras a.sheikh-wholesale-btn:focus-visible {
	outline: 2px solid var(--sheikh-gold);
	outline-offset: 1px;
	z-index: 1;
}

nav.top-nav.header_2 a.sheikh-wholesale-btn.is-active,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn.is-active,
#sheikh-mobile-top-extras a.sheikh-wholesale-btn.is-active {
	color: #fff;
	background: var(--sheikh-gold);
}

nav.top-nav.header_2 a.sheikh-wholesale-btn.is-active:hover,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn.is-active:hover,
#sheikh-mobile-top-extras a.sheikh-wholesale-btn.is-active:hover {
	color: #fff;
	background: var(--sheikh-gold-dark);
}

nav.top-nav.header_2 .sheikh-header-social,
.top_line nav.top-nav.header_2 .sheikh-header-social,
#sheikh-mobile-top-extras .sheikh-header-social {
	gap: 0.35rem 0.5rem;
}

nav.top-nav.header_2 .sheikh-header-social-link,
.top_line nav.top-nav.header_2 .sheikh-header-social-link,
#sheikh-mobile-top-extras .sheikh-header-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #475569;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

nav.top-nav.header_2 .sheikh-header-social-link:hover,
nav.top-nav.header_2 .sheikh-header-social-link:focus-visible,
.top_line nav.top-nav.header_2 .sheikh-header-social-link:hover,
.top_line nav.top-nav.header_2 .sheikh-header-social-link:focus-visible,
#sheikh-mobile-top-extras .sheikh-header-social-link:hover,
#sheikh-mobile-top-extras .sheikh-header-social-link:focus-visible {
	color: var(--sheikh-gold);
}

nav.top-nav.header_2 .sheikh-header-social-link .fab,
.top_line nav.top-nav.header_2 .sheikh-header-social-link .fab,
#sheikh-mobile-top-extras .sheikh-header-social-link .fab {
	font-size: 1.125rem;
	line-height: 1;
}

#sheikh-mobile-top-extras .sheikh-header-phone {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25;
	color: #1e293b;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color 0.15s ease;
}

#sheikh-mobile-top-extras .sheikh-header-phone:hover,
#sheikh-mobile-top-extras .sheikh-header-phone:focus-visible {
	color: var(--sheikh-gold);
}

#sheikh-mobile-top-extras .sheikh-header-phone:focus-visible {
	outline: 2px solid var(--sheikh-gold);
	outline-offset: 2px;
}

.fab.fa-max {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	background-color: currentColor !important;
	background-image: none !important;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill%3D'%23fff'%20fill-rule%3D'evenodd'%20d%3D'M21.70%2010.60%20L21.67%2011.36%20L21.57%2012.11%20L21.40%2012.85%20L21.18%2013.58%20L20.88%2014.28%20L20.53%2014.95%20L20.13%2015.59%20L19.66%2016.19%20L19.15%2016.75%20L18.59%2017.26%20L17.99%2017.73%20L17.35%2018.13%20L16.68%2018.49%20L15.98%2018.78%20L15.26%2019.02%20L14.52%2019.20%20L13.76%2019.33%20L13.00%2019.43%20L12.22%2019.51%20L11.42%2019.59%20L10.57%2019.67%20L9.67%2019.74%20L8.72%2019.79%20L7.72%2019.75%20L6.72%2019.56%20L5.80%2019.18%20L5.01%2018.59%20L4.42%2017.80%20L4.04%2016.88%20L3.85%2015.88%20L3.81%2014.88%20L3.86%2013.93%20L3.93%2013.03%20L4.01%2012.18%20L4.09%2011.38%20L4.17%2010.60%20L4.27%209.84%20L4.40%209.08%20L4.58%208.34%20L4.82%207.62%20L5.11%206.92%20L5.47%206.25%20L5.87%205.61%20L6.34%205.01%20L6.85%204.45%20L7.41%203.94%20L8.01%203.47%20L8.65%203.07%20L9.32%202.72%20L10.02%202.42%20L10.75%202.20%20L11.49%202.03%20L12.24%201.93%20L13.00%201.90%20L13.76%201.93%20L14.51%202.03%20L15.25%202.20%20L15.98%202.42%20L16.68%202.72%20L17.35%203.07%20L17.99%203.47%20L18.59%203.94%20L19.15%204.45%20L19.66%205.01%20L20.13%205.61%20L20.53%206.25%20L20.88%206.92%20L21.18%207.62%20L21.40%208.35%20L21.57%209.09%20L21.67%209.84%20L21.70%2010.60%20ZM17.35%2010.60%20L17.33%2010.22%20L17.28%209.84%20L17.20%209.47%20L17.09%209.11%20L16.94%208.76%20L16.77%208.43%20L16.56%208.10%20L16.33%207.80%20L16.08%207.52%20L15.80%207.27%20L15.50%207.04%20L15.17%206.83%20L14.84%206.66%20L14.49%206.51%20L14.13%206.40%20L13.76%206.32%20L13.38%206.27%20L13.00%206.25%20L12.62%206.27%20L12.24%206.32%20L11.87%206.40%20L11.51%206.51%20L11.16%206.66%20L10.82%206.83%20L10.50%207.04%20L10.20%207.27%20L9.92%207.52%20L9.67%207.80%20L9.44%208.10%20L9.23%208.42%20L9.06%208.76%20L8.91%209.11%20L8.79%209.47%20L8.70%209.84%20L8.64%2010.22%20L8.59%2010.60%20L8.55%2010.99%20L8.52%2011.39%20L8.48%2011.81%20L8.45%2012.26%20L8.43%2012.73%20L8.46%2013.22%20L8.55%2013.71%20L8.74%2014.17%20L9.04%2014.56%20L9.43%2014.86%20L9.89%2015.05%20L10.38%2015.14%20L10.87%2015.17%20L11.34%2015.15%20L11.79%2015.12%20L12.21%2015.08%20L12.61%2015.05%20L13.00%2015.01%20L13.38%2014.96%20L13.76%2014.90%20L14.13%2014.81%20L14.49%2014.69%20L14.84%2014.54%20L15.18%2014.37%20L15.50%2014.16%20L15.80%2013.93%20L16.08%2013.68%20L16.33%2013.40%20L16.56%2013.10%20L16.77%2012.78%20L16.94%2012.44%20L17.09%2012.09%20L17.20%2011.73%20L17.28%2011.36%20L17.33%2010.98%20L17.35%2010.60%20Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill%3D'%23fff'%20fill-rule%3D'evenodd'%20d%3D'M21.70%2010.60%20L21.67%2011.36%20L21.57%2012.11%20L21.40%2012.85%20L21.18%2013.58%20L20.88%2014.28%20L20.53%2014.95%20L20.13%2015.59%20L19.66%2016.19%20L19.15%2016.75%20L18.59%2017.26%20L17.99%2017.73%20L17.35%2018.13%20L16.68%2018.49%20L15.98%2018.78%20L15.26%2019.02%20L14.52%2019.20%20L13.76%2019.33%20L13.00%2019.43%20L12.22%2019.51%20L11.42%2019.59%20L10.57%2019.67%20L9.67%2019.74%20L8.72%2019.79%20L7.72%2019.75%20L6.72%2019.56%20L5.80%2019.18%20L5.01%2018.59%20L4.42%2017.80%20L4.04%2016.88%20L3.85%2015.88%20L3.81%2014.88%20L3.86%2013.93%20L3.93%2013.03%20L4.01%2012.18%20L4.09%2011.38%20L4.17%2010.60%20L4.27%209.84%20L4.40%209.08%20L4.58%208.34%20L4.82%207.62%20L5.11%206.92%20L5.47%206.25%20L5.87%205.61%20L6.34%205.01%20L6.85%204.45%20L7.41%203.94%20L8.01%203.47%20L8.65%203.07%20L9.32%202.72%20L10.02%202.42%20L10.75%202.20%20L11.49%202.03%20L12.24%201.93%20L13.00%201.90%20L13.76%201.93%20L14.51%202.03%20L15.25%202.20%20L15.98%202.42%20L16.68%202.72%20L17.35%203.07%20L17.99%203.47%20L18.59%203.94%20L19.15%204.45%20L19.66%205.01%20L20.13%205.61%20L20.53%206.25%20L20.88%206.92%20L21.18%207.62%20L21.40%208.35%20L21.57%209.09%20L21.67%209.84%20L21.70%2010.60%20ZM17.35%2010.60%20L17.33%2010.22%20L17.28%209.84%20L17.20%209.47%20L17.09%209.11%20L16.94%208.76%20L16.77%208.43%20L16.56%208.10%20L16.33%207.80%20L16.08%207.52%20L15.80%207.27%20L15.50%207.04%20L15.17%206.83%20L14.84%206.66%20L14.49%206.51%20L14.13%206.40%20L13.76%206.32%20L13.38%206.27%20L13.00%206.25%20L12.62%206.27%20L12.24%206.32%20L11.87%206.40%20L11.51%206.51%20L11.16%206.66%20L10.82%206.83%20L10.50%207.04%20L10.20%207.27%20L9.92%207.52%20L9.67%207.80%20L9.44%208.10%20L9.23%208.42%20L9.06%208.76%20L8.91%209.11%20L8.79%209.47%20L8.70%209.84%20L8.64%2010.22%20L8.59%2010.60%20L8.55%2010.99%20L8.52%2011.39%20L8.48%2011.81%20L8.45%2012.26%20L8.43%2012.73%20L8.46%2013.22%20L8.55%2013.71%20L8.74%2014.17%20L9.04%2014.56%20L9.43%2014.86%20L9.89%2015.05%20L10.38%2015.14%20L10.87%2015.17%20L11.34%2015.15%20L11.79%2015.12%20L12.21%2015.08%20L12.61%2015.05%20L13.00%2015.01%20L13.38%2014.96%20L13.76%2014.90%20L14.13%2014.81%20L14.49%2014.69%20L14.84%2014.54%20L15.18%2014.37%20L15.50%2014.16%20L15.80%2013.93%20L16.08%2013.68%20L16.33%2013.40%20L16.56%2013.10%20L16.77%2012.78%20L16.94%2012.44%20L17.09%2012.09%20L17.20%2011.73%20L17.28%2011.36%20L17.33%2010.98%20L17.35%2010.60%20Z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	mask-mode: luminance;
}
.fab.fa-max:before {
	content: none !important;
}

/* #top-links: единый «пилюльный» ряд (липкая полоска + верхний nav) */
nav.top-nav.header_2 #top-links.sheikh-top-links,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links {
	--sheikh-tl-pill-bg: linear-gradient(165deg, #ffffff 0%, #f1f5f9 52%, #e8eef5 100%);
	--sheikh-tl-pill-border: rgba(15, 23, 42, 0.09);
	--sheikh-tl-pill-shadow: 0 1px 2px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
	display: flex !important;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.38rem;
	min-width: 0;
	flex: 0 1 auto;
	margin-bottom: 0 !important;
	padding: 0.12rem 0;
}

nav.top-nav.header_2 #top-links.sheikh-top-links .sheikh-top-links-inner:empty {
	display: none !important;
}

nav.top-nav.header_2 #top-links.sheikh-top-links #form-currency.float-end,
nav.top-nav.header_2 #top-links.sheikh-top-links > .dropdown,
nav.top-nav.header_2 #top-links.sheikh-top-links > .clicksearch,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links #form-currency.float-end,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links > .dropdown,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links > .clicksearch {
	float: none !important;
	flex: 0 0 auto;
}

nav.top-nav.header_2 #top-links.sheikh-top-links #form-currency .btn.dropdown-toggle,
nav.top-nav.header_2 #top-links.sheikh-top-links > .dropdown > .btn.dropdown-toggle,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links #form-currency .btn.dropdown-toggle,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links > .dropdown > .btn.dropdown-toggle {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	min-height: 2.45rem;
	padding: 0.2rem 0.65rem !important;
	/*
	border-radius: 12px;
	border: 1px solid var(--sheikh-tl-pill-border);
	background: var(--sheikh-tl-pill-bg);
	*/
	box-shadow: var(--sheikh-tl-pill-shadow);
	font-size: 0.78rem;
	font-weight: 600;
	color: #334155 !important;
	transition: box-shadow 0.15s ease, border-color 0.15s ease, color 0.12s ease;
}

nav.top-nav.header_2 #top-links.sheikh-top-links #form-currency .btn.dropdown-toggle:hover,
nav.top-nav.header_2 #top-links.sheikh-top-links #form-currency .btn.dropdown-toggle:focus-visible,
nav.top-nav.header_2 #top-links.sheikh-top-links > .dropdown > .btn.dropdown-toggle:hover,
nav.top-nav.header_2 #top-links.sheikh-top-links > .dropdown > .btn.dropdown-toggle:focus-visible,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links #form-currency .btn.dropdown-toggle:hover,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links #form-currency .btn.dropdown-toggle:focus-visible,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links > .dropdown > .btn.dropdown-toggle:hover,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links > .dropdown > .btn.dropdown-toggle:focus-visible {
	border-color: rgba(2, 177, 177, 0.35);
	box-shadow: 0 2px 8px rgba(2, 177, 177, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
	color: var(--sheikh-gold-dark) !important;
}

nav.top-nav.header_2 #top-links.sheikh-top-links .sheikh-top-links-search-btn,
.top_line nav.top-nav.header_2 #top-links.sheikh-top-links .sheikh-top-links-search-btn {
	border-radius: 12px;
	border-color: var(--sheikh-tl-pill-border);
	background: var(--sheikh-tl-pill-bg);
	box-shadow: var(--sheikh-tl-pill-shadow);
}

/* Липкая .top_line: Корзина, Контакты, валюта и язык — один ряд без переноса */
.top_line .list-inline.float-start {
	display: flex;
}
.top_line .top-nav.header_2 #top-links.nav {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.2rem;
	min-width: 0;
	max-width: 100%;
}
.top_line .top-nav.header_2 #top-links .list-inline {
	margin: 0 !important;
}
.top_line .top-nav.header_2 #top-links.nav > ul.list-inline {
	float: none !important;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	margin: 0 !important;
	padding-left: 0;
	list-style: none;
	min-width: 0;
	flex: 0 1 auto;
}
.top_line .top-nav.header_2 #top-links.nav > ul.list-inline > li {
	float: none !important;
	display: inline-flex !important;
	align-items: center;
	flex: 0 0 auto;
	margin-right: 0;
}
.top_line .top-nav.header_2 #top-links.nav > ul.list-inline > li > a {
	white-space: nowrap;
}
.top_line .top-nav.header_2 #top-links.nav > .float-end {
	float: none !important;
	flex: 0 0 auto;
}
.top_line .top-nav.header_2 #top-links.nav > .dropdown {
	flex: 0 0 auto;
	margin-bottom: 0;
}

/* Корзина в липкой полоске .top_line (рядом с контактами и языком) */
.top_line .top-nav.header_2 #top-links ul.list-inline > li#cart-topline {
	vertical-align: middle;
}
.top_line .top-nav.header_2 #top-links ul.list-inline > li#cart-topline > a.dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	flex-wrap: nowrap;
	padding-left: 0;
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
	line-height: 1.25;
	font-size: inherit;
	color: #555;
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link svg.svg-cart,
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link svg.svg-icon {
	fill: var(--sheikh-gold);
	flex-shrink: 0;
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link .sheikh-cart-topline-text {
	display: inline-flex;
	align-items: center;
	gap: 0.12rem;
	color: #555;
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link .sheikh-cart-topline-title {
	font-weight: 600;
	font-size: 0.8125rem;
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link #cart-total-topline.sheikh-cart-topline-badge {
	min-width: 1.2rem;
	height: 1.25rem;
	padding: 0 0.38rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	border-radius: 999px;
	background: var(--sheikh-gold);
	color: #fff !important;
	flex-shrink: 0;
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link.color-2 #cart-total-topline.sheikh-cart-topline-badge {
	background: #029696;
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link #cart-total-topline.sheikh-cart-topline-badge.sheikh-cart-topline-badge--empty {
	background: #e8eaef !important;
	color: #64748b !important;
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link .svg-right-arrow svg,
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link .svg-right-arrow use {
	fill: var(--sheikh-gold);
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link:focus,
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link:hover {
	color: var(--sheikh-gold);
}
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link:focus .sheikh-cart-topline-text,
.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link:hover .sheikh-cart-topline-text {
	color: inherit;
}

@media (min-width: 768px) {
	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link #cart-total-topline.sheikh-cart-topline-badge,
	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link.color-2 #cart-total-topline.sheikh-cart-topline-badge {
		width: 1.5rem;
		min-width: 1.5rem;
		height: 1.5rem;
		padding: 0;
		border-radius: 50%;
		background: var(--sheikh-gold);
		font-weight: 400;
	}
}

@media (max-width: 767.98px) {
	.top_line .top-nav.header_2 > .container {
		padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
		padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
	}

	.top_line .top-nav.header_2 #top-links.nav {
		gap: 0;
		column-gap: 0;
		row-gap: 0;
		flex-wrap: nowrap;
		align-items: center;
		min-width: 0;
		width: auto;
		flex: 0 1 auto;
	}

	.top_line .top-nav.header_2 #top-links.nav > ul.list-inline {
		margin-right: 0 !important;
		padding-right: 0;
	}

	.top_line .top-nav.header_2 #top-links .float-end {
		margin: 0 !important;
		border: none !important;
	}

	.top_line .top-nav.header_2 #top-links .dropdown,
	.top_line .top-nav.header_2 #top-links #form-currency {
		margin: 0;
	}

	.top_line .top-nav.header_2 #top-links .clicksearch {
		margin: 0;
		flex-shrink: 0;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link > .svg-right-arrow,
	.top_line .top-nav.header_2 #top-links .dropdown .svg-right-arrow {
		display: none !important;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0;
		padding: 0.16rem 0.22rem;
		margin: 0;
		border-radius: 6px;
		border: 1px solid rgba(55, 65, 81, 0.1);
		background: linear-gradient(180deg, #f4f5f7 0%, #e9ecf0 100%);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
		font-size: 0.6875rem;
		font-weight: 600;
		color: #3d4451 !important;
		line-height: 1.15;
		white-space: nowrap;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn svg.svg-search {
		fill: var(--sheikh-gold);
		flex-shrink: 0;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-clicksearch-label {
		display: inline;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn:hover,
	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn:focus {
		color: var(--sheikh-gold-dark) !important;
		border-color: rgba(2, 177, 177, 0.35);
		background: #fff;
	}

	.top_line .top-nav.header_2 #top-links .btn-group > .btn,
	.top_line .top-nav.header_2 #top-links .dropdown > .btn {
		padding: 0.16rem 0.22rem;
		border-radius: 6px;
		border: 1px solid rgba(55, 65, 81, 0.08);
		background: linear-gradient(180deg, #f6f7f9 0%, #eceef2 100%);
		font-size: 0.6875rem;
		font-weight: 600;
		color: #3d4451 !important;
		line-height: 1.15;
	}

	.top_line .top-nav.header_2 #top-links ul.list-inline > li#cart-topline > a.sheikh-cart-topline-link {
		padding: 0.16rem 0.22rem;
		border-radius: 6px;
		border: 1px solid rgba(55, 65, 81, 0.1);
		background: linear-gradient(180deg, #f4f5f7 0%, #e9ecf0 100%);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
		gap: 0.1rem;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link .sheikh-cart-topline-text {
		gap: 0.06rem;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link .sheikh-cart-topline-title {
		font-size: 0.75rem;
		font-weight: 600;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link #cart-total-topline.sheikh-cart-topline-badge {
		min-width: 0.95rem;
		height: 1rem;
		padding: 0 0.18rem;
		font-size: 0.5625rem;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link svg.svg-cart,
	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn svg.svg-search {
		transform: scale(0.9);
		transform-origin: center;
	}
}

/*
 * ≤400px: только иконки (без подписей Корзина / Язык / Поиск),
 * крупные «стеклянные» кнопки, бейдж корзины в углу.
 */
@media (max-width: 400px) {
	.top_line .top-nav.header_2 > .container {
		padding-left: max(0.3rem, env(safe-area-inset-left, 0px));
		padding-right: max(0.3rem, env(safe-area-inset-right, 0px));
	}

	.top_line .top-nav.header_2 .float-start .btn-group > .btn,
	.top_line .top-nav.header_2 #menu-mobile {
		padding: 0.22rem 0.32rem;
		line-height: 1;
	}

	.top_line .top-nav.header_2 #top-links.nav {
		gap: 0.35rem;
		column-gap: 0.35rem;
		max-width: calc(100vw - 3rem);
		min-width: 0;
	}

	/* Подписи скрыты, остаётся доступ из aria / title */
	.top_line .top-nav.header_2 #top-links .sheikh-clicksearch-label,
	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link .sheikh-cart-topline-title,
	.top_line .top-nav.header_2 #top-links .dropdown:has(.svg-language) button.btn > strong {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	/* Валюта: только иконка (символ в strong) */
	.top_line .top-nav.header_2 #top-links #form-currency .btn.dropdown-toggle > strong {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn,
	.top_line .top-nav.header_2 #top-links #form-currency .btn.dropdown-toggle,
	.top_line .top-nav.header_2 #top-links .dropdown .dropdown-toggle.btn-group > .btn.btn-link {
		width: 2.75rem;
		height: 2.75rem;
		min-width: 2.75rem;
		min-height: 2.75rem;
		padding: 0 !important;
		margin: 0;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		border-radius: 14px;
		border: 1px solid rgba(15, 23, 42, 0.08);
		background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 55%, #e8eef5 100%);
		box-shadow:
			0 1px 2px rgba(15, 23, 42, 0.06),
			inset 0 1px 0 rgba(255, 255, 255, 0.9);
		color: var(--sheikh-gold-dark) !important;
		line-height: 1;
		transition:
			transform 0.15s ease,
			box-shadow 0.15s ease,
			border-color 0.15s ease,
			background 0.15s ease;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn:hover,
	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn:focus-visible,
	.top_line .top-nav.header_2 #top-links #form-currency .btn.dropdown-toggle:hover,
	.top_line .top-nav.header_2 #top-links #form-currency .btn.dropdown-toggle:focus-visible,
	.top_line .top-nav.header_2 #top-links .dropdown .dropdown-toggle.btn-group > .btn:hover,
	.top_line .top-nav.header_2 #top-links .dropdown .dropdown-toggle.btn-group > .btn:focus-visible {
		border-color: rgba(2, 177, 177, 0.45);
		background: linear-gradient(165deg, #ffffff 0%, #f0fdfa 40%, #e6fffa 100%);
		box-shadow:
			0 4px 14px rgba(2, 177, 177, 0.18),
			inset 0 1px 0 rgba(255, 255, 255, 1);
		transform: translateY(-1px);
		color: #0d9488 !important;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-top-links-search-btn svg.svg-search,
	.top_line .top-nav.header_2 #top-links #form-currency .btn.dropdown-toggle svg,
	.top_line .top-nav.header_2 #top-links .dropdown .dropdown-toggle.btn-group > .btn svg {
		width: 1.35rem !important;
		height: 1.35rem !important;
		transform: none;
		fill: var(--sheikh-gold);
	}

	.top_line .top-nav.header_2 #top-links ul.list-inline > li#cart-topline > a.sheikh-cart-topline-link {
		position: relative;
		width: 2.75rem;
		height: 2.75rem;
		min-width: 2.75rem;
		min-height: 2.75rem;
		padding: 0 !important;
		margin: 0;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		border-radius: 14px;
		border: 1px solid rgba(15, 23, 42, 0.08);
		background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 55%, #e8eef5 100%);
		box-shadow:
			0 1px 2px rgba(15, 23, 42, 0.06),
			inset 0 1px 0 rgba(255, 255, 255, 0.9);
		gap: 0;
		color: var(--sheikh-gold-dark) !important;
		transition:
			transform 0.15s ease,
			box-shadow 0.15s ease,
			border-color 0.15s ease,
			background 0.15s ease;
	}

	.top_line .top-nav.header_2 #top-links ul.list-inline > li#cart-topline > a.sheikh-cart-topline-link:hover,
	.top_line .top-nav.header_2 #top-links ul.list-inline > li#cart-topline > a.sheikh-cart-topline-link:focus-visible {
		border-color: rgba(2, 177, 177, 0.45);
		background: linear-gradient(165deg, #ffffff 0%, #f0fdfa 40%, #e6fffa 100%);
		box-shadow:
			0 4px 14px rgba(2, 177, 177, 0.18),
			inset 0 1px 0 rgba(255, 255, 255, 1);
		transform: translateY(-1px);
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link .sheikh-cart-topline-text {
		position: static;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		gap: 0;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link svg.svg-cart {
		width: 1.35rem !important;
		height: 1.35rem !important;
		transform: none;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link #cart-total-topline.sheikh-cart-topline-badge {
		position: absolute;
		top: 0.12rem;
		right: 0.12rem;
		min-width: 1.05rem;
		height: 1.05rem;
		padding: 0 0.28rem;
		font-size: 0.625rem;
		font-weight: 700;
		line-height: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 999px;
		border: 2px solid #fff;
		box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
		transform: none;
		background: var(--sheikh-gold);
		color: #fff !important;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link #cart-total-topline.sheikh-cart-topline-badge.sheikh-cart-topline-badge--empty {
		background: #94a3b8 !important;
		color: #fff !important;
	}

	.top_line .top-nav.header_2 #top-links .sheikh-cart-topline-link.color-2 #cart-total-topline.sheikh-cart-topline-badge {
		background: var(--sheikh-gold);
		color: #fff !important;
	}
}

/* ============================================================
   МОБИЛЬНАЯ ШАПКА — до 768px (как Bootstrap md)
   Логотип по центру | Гамбургер слева | Поиск + корзина справа
   ============================================================ */
@media (max-width: 991.98px) {

	/* --- Скрыть лишние полосы (планшеты + телефоны) --- */
	.top-contact,
	nav.top-nav.header_2,
	#top-header {
		display: none !important;
	}

	/* Компактная шапка без лишнего отступа снизу у блока .id_top */
	#top.id_top,
	header > #top {
		margin-bottom: 0 !important;
	}

	/* --- Основной блок шапки: sticky (кроме режима static) --- */
	body.sheikh-hmode-sticky header,
	body.sheikh-hmode-compact header,
	header {
		position: sticky;
		top: 0;
		z-index: 10050;
		background: #fff;
		box-shadow: 0 1px 6px rgba(0,0,0,0.10);
	}

	body.sheikh-hmode-static header {
		position: static !important;
		top: auto !important;
	}

	header #top.header_2 {
		padding: 0;
		min-height: 0;
	}

	header #top .container {
		padding-left: 8px;
		padding-right: 8px;
		padding-top: 0;
		padding-bottom: 0;
		max-width: 100% !important;
		overflow-x: clip;
	}

	/* clearfix внутри .row ломает flex/grid и уносит иконки за экран */
	header #top .row-header .row > .clearfix {
		display: none !important;
	}

	/* --- Строка шапки: grid (лево / центр / право) --- */
	header #top .row-header .row {
		display: grid !important;
		grid-template-columns: 48px minmax(120px, 1fr) auto !important;
		align-items: center !important;
		min-height: 48px;
		height: auto;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		column-gap: 6px;
		box-sizing: border-box;
	}

	/* --- Гамбургер — колонка 1 --- */
	#sheikh-mbn-toggle {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0;
		color: #374151;
		flex-shrink: 0;
	}

	#sheikh-mbn-toggle svg {
		width: 24px;
		height: 24px;
	}

	/* --- Логотип — колонка 2, по центру --- */
	header #top .row-header .row > .col-xl-3.col-lg-3.col-md-4.top_logo,
	header #top .row-header .row > .top_logo {
		grid-column: 2 !important;
		grid-row: 1 !important;
		justify-self: center !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 4px !important;
		display: flex !important;
		justify-content: center;
		align-items: center;
	}

	/* Скрыть колонку с поиском (остаётся только lk-block с иконками, если он вне этой колонки) */
	header #top .row-header .row > .col-xl-7.top {
		display: none !important;
	}

	/* --- lk-block — колонка 3 --- */
	header #top .row-header .row > .col-xl-2.col-lg-3.col-md-8.lk-block,
	header #top .row-header .row > .lk-block {
		grid-column: 3 !important;
		grid-row: 1 !important;
		justify-self: end !important;
		width: auto !important;
		max-width: 100% !important;
		padding: 0 !important;
	}

	header #top .lk-block > ul.list-inline.nav {
		display: flex !important;
		flex-wrap: nowrap;
		align-items: center;
		gap: 2px;
		margin: 0;
		padding: 0;
	}

	/* Аккаунт / избранное / телефон — в нижней навигации */
	header #top .lk-block > ul.list-inline.nav > li.sheikh-hide-mheader {
		display: none !important;
	}

	header #top .row-header {
		position: relative;
	}

	/* Логотип всегда видим */
	header #top #logo {
		text-align: center !important;
	}

	header #top #logo img {
		max-height: 50px;
		width: auto;
		max-width: 100%;
		object-fit: contain;
		display: inline-block !important;
		vertical-align: middle;
	}

	header #top .lk-block .sheikh-cart-topline-link,
	header #top .lk-block a.dropdown-toggle,
	header #top .lk-block .sheikh-mheader-search-btn,
	header #top .lk-block .sheikh-mheader-contacts-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	header #top .lk-block li.sheikh-mheader-search,
	header #top .lk-block li.sheikh-mheader-contacts {
		vertical-align: middle;
	}

	header #top .lk-block .sheikh-mheader-search-btn,
	header #top .lk-block .sheikh-mheader-contacts-btn {
		width: 44px;
		height: 44px;
		padding: 0 !important;
		margin: 0;
		border: none;
		color: #000;
		line-height: 1;
	}

	header #top .lk-block .sheikh-mheader-search-btn svg.svg-search {
		width: 24px;
		height: 24px;
		fill: #000;
		stroke: #000;
		stroke-width: 0.75px;
		paint-order: stroke fill;
	}

	header #top .lk-block .sheikh-mheader-contacts-btn svg.svg-contacts {
		width: 24px;
		height: 24px;
	}

	header #top .lk-block .sheikh-mheader-contacts-btn svg.svg-contacts,
	header #top .lk-block .sheikh-mheader-contacts-btn svg.svg-contacts * {
		fill: none !important;
		stroke: var(--sheikh-gold) !important;
		stroke-width: 1.75;
	}

	/* Корзина в шапке (режим без нижней панели) */
	header #top .lk-block li.sheikh-mheader-cart {
		vertical-align: middle;
	}

	header #top .lk-block li.sheikh-mheader-cart > a.dropdown-toggle {
		position: relative;
		width: 44px;
		height: 44px;
		padding: 0 !important;
		margin: 0;
		border: none;
		color: #000;
		line-height: 1;
	}

	header #top .lk-block li.sheikh-mheader-cart > a.dropdown-toggle svg.svg-cart {
		width: 24px;
		height: 24px;
		fill: #000;
	}

	header #top .lk-block li.sheikh-mheader-cart #cart-total {
		position: absolute;
		top: 2px;
		right: 0;
		width: 18px;
		height: 18px;
		padding: 0;
		font-size: 0.65rem;
		font-weight: 700;
		line-height: 18px;
		text-align: center;
		color: #fff;
		background: var(--sheikh-gold);
		border-radius: 50%;
	}

	header #top .lk-block li.sheikh-mheader-cart > a.dropdown-toggle.color-2 #cart-total {
		background: var(--sheikh-gold);
	}

	/* Страница product/search: дублирующая иконка поиска в шапке (класс на body — mobile_header_search_panel.js) */
	body.sheikh-page-product-search header .sheikh-mheader-search {
		display: none !important;
	}

	body.sheikh-page-product-search header #sheikh-mheader-search-panel {
		display: none !important;
	}

	#top .header_block {
		display: none;
	}

	/* Отдельная мобильная панель GET-поиска (#sheikh-mheader-search-panel), не Cool #search */
	header .sheikh-mheader-search-panel {
		position: fixed;
		left: 0;
		right: 0;
		top: 56px;
		z-index: 10040;
		background: #ffffff;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
		border-bottom: 1px solid #e5e7eb;
		padding: 12px 12px 10px;
		box-sizing: border-box;
	}

	header .sheikh-mheader-search-panel[hidden] {
		display: none !important;
	}

	header .sheikh-mheader-search-panel-inner {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: none;
		padding: 0;
		box-sizing: border-box;
	}

	/* Капсула поиска — и по иконке, и в compact */
	header #sheikh-mheader-search-panel .sheikh-mheader-search-form {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		width: 100%;
		margin: 0;
		min-height: 40px;
		border-radius: 999px;
		background: #f3f4f6;
		border: 1px solid rgba(64, 65, 64, 0.08);
		overflow: hidden;
		box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
	}

	header #sheikh-mheader-search-panel .sheikh-mheader-search-form .form-control {
		flex: 1 1 auto;
		min-width: 0;
		height: 40px;
		padding: 0 16px;
		font-size: 15px;
		line-height: 40px;
		border: 0 !important;
		border-radius: 0 !important;
		background: #f1f1f1 !important;
		box-shadow: none !important;
		color: #1a1a1a;
	}

	header #sheikh-mheader-search-panel .sheikh-mheader-search-form .form-control::placeholder {
		color: #9ca3af;
	}

	header #sheikh-mheader-search-panel .sheikh-mheader-search-form input[type="search"]::-webkit-search-cancel-button {
		-webkit-appearance: none;
		appearance: none;
		height: 18px;
		width: 18px;
		margin-right: 4px;
		cursor: pointer;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	}

	header #sheikh-mheader-search-panel .sheikh-mheader-search-submit {
		flex-shrink: 0;
		width: 40px;
		height: 40px;
		margin: 0;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		font-size: 0 !important;
		line-height: 0 !important;
		color: transparent !important;
		white-space: nowrap;
		background: #fff !important;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
		background-size: 18px 18px !important;
	}

	/* Крестик закрытия — только при открытии по иконке (не в compact) */
	header #sheikh-mheader-search-panel .sheikh-mheader-search-close {
		display: flex;
		align-items: center;
		justify-content: center;
		align-self: center;
		width: 36px;
		height: 36px;
		margin: 10px 0 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #f3f4f6;
		color: #404140;
		font-size: 22px;
		line-height: 1;
		cursor: pointer;
		appearance: none;
		-webkit-appearance: none;
	}

	header.sheikh-header-compact #sheikh-mheader-search-panel .sheikh-mheader-search-close {
		display: none !important;
	}

	/* Компактная sticky-шапка: только поиск + корзина (режим compact)
	   Селекторы сильнее, чем header #top .row > .top_logo { display:flex !important } */
	body.sheikh-hmode-compact header.sheikh-header-compact {
		background: #fff !important;
		box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08) !important;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #sheikh-mbn-toggle,
	body.sheikh-hmode-compact header.sheikh-header-compact #top .row-header .row > .top_logo,
	body.sheikh-hmode-compact header.sheikh-header-compact #top .row-header .row > .col-xl-3.col-lg-3.col-md-4.top_logo,
	body.sheikh-hmode-compact header.sheikh-header-compact #top .row-header .row > .top_logo #logo,
	body.sheikh-hmode-compact header.sheikh-header-compact .sheikh-mheader-search,
	body.sheikh-hmode-compact header.sheikh-header-compact .sheikh-mheader-contacts {
		display: none !important;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #top .row-header .row {
		grid-template-columns: 1fr auto !important;
		min-height: 52px;
		column-gap: 10px;
		padding: 6px 0;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #sheikh-mheader-search-panel,
	body.sheikh-hmode-compact header.sheikh-header-compact #sheikh-mheader-search-panel[hidden] {
		display: block !important;
		grid-column: 1 !important;
		grid-row: 1 !important;
		position: static !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		z-index: auto !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		border: none !important;
		box-sizing: border-box;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #sheikh-mheader-search-panel .sheikh-mheader-search-panel-inner {
		padding: 0;
		max-width: none;
		width: 100%;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #top .row-header .row > .lk-block {
		grid-column: 2 !important;
		grid-row: 1 !important;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #cart,
	body.sheikh-hmode-compact header.sheikh-header-compact #cart.d-none {
		display: list-item !important;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #cart > a.dropdown-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		position: relative;
		width: 40px;
		height: 40px;
		padding: 0 !important;
		margin: -6px 0 0 0;
		border-radius: 50%;
		background: #f3f4f6 !important;
		border: 1px solid rgba(64, 65, 64, 0.08);
		color: #404140 !important;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #cart > a.dropdown-toggle svg.svg-cart {
		width: 20px;
		height: 20px;
		fill: #404140 !important;
	}

	body.sheikh-hmode-compact header.sheikh-header-compact #cart #cart-total {
		position: absolute;
		top: -2px;
		right: -2px;
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
		font-size: 0.65rem;
		font-weight: 700;
		line-height: 18px;
		text-align: center;
		color: #1a1a1a;
		background: var(--sheikh-gold, #C9A84C);
		border-radius: 999px;
		box-shadow: 0 0 0 2px #fff;
	}

	/* На странице поиска compact всё равно показывает input */
	body.sheikh-page-product-search.sheikh-hmode-compact header.sheikh-header-compact #sheikh-mheader-search-panel,
	body.sheikh-page-product-search.sheikh-hmode-compact header.sheikh-header-compact #sheikh-mheader-search-panel[hidden] {
		display: block !important;
	}

	#top-header {
		display: none !important;
	}

	/* Высота sticky-шапки (JS синхронизирует --sheikh-header-offset) */
	:root {
		--sheikh-header-offset: 60px;
	}

	/* Затемнение под выезжающим меню (ниже #mobile-menu по z-index) */
	.sheikh-mmenu-backdrop {
		position: fixed;
		left: 0;
		right: 0;
		top: var(--sheikh-header-offset, 60px);
		bottom: 0;
		z-index: 10030;
		background: rgba(0, 0, 0, 0.45);
		border: none;
		padding: 0;
		margin: 0;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.sheikh-mmenu-backdrop[hidden] {
		display: none !important;
	}

	/* Мобильное выезжающее меню: вкладки + панели */
	#mobile-menu.sheikh-mobile-menu-root {
		position: fixed !important;
		left: 0 !important;
		top: var(--sheikh-header-offset, 60px) !important;
		bottom: 0 !important;
		z-index: 10050 !important;
		width: 0 !important;
		max-width: min(88vw, 420px) !important;
		background: transparent !important;
		box-shadow: none;
		overflow: hidden !important;
	}

	#mobile-menu.sheikh-mobile-menu-root.active {
		width: min(88vw, 420px) !important;
		z-index: 10060 !important;
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
	}

	#mobile-menu .sheikh-mobile-menu-inner {
		display: flex;
		flex-direction: column;
		height: 100%;
		min-height: 0;
		background: #fff;
		overflow: hidden;
	}

	#mobile-menu .sheikh-mmenu-tabs {
		display: flex;
		flex-direction: row;
		flex-shrink: 0;
		border-bottom: 1px solid #e5e7eb;
		background: #fff;
	}

	#mobile-menu .sheikh-mmenu-tab {
		flex: 1 1 50%;
		margin: 0;
		padding: 14px 10px;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.2;
		border: none;
		background: #fff;
		color: #374151;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		transition: background 0.15s ease, color 0.15s ease;
	}

	#mobile-menu .sheikh-mmenu-tab--active {
		background: #f3f4f6;
		color: #111827;
	}

	#mobile-menu .sheikh-mmenu-panels {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	#mobile-menu .sheikh-mmenu-pane {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
	}

	#mobile-menu .sheikh-mmenu-pane--service .sheikh-mmenu-service-list {
		margin: 0;
		padding: 0;
	}

	#mobile-menu .sheikh-mmenu-pane[hidden] {
		display: none !important;
	}

	#mobile-menu #sheikh-mmenu-pane-catalog .sheikh-top-menu-wrap {
		width: 100%;
		min-width: 0;
		display: block !important;
	}

	#mobile-menu #sheikh-mmenu-pane-catalog #menu.navbar {
		margin-bottom: 0;
		float: none !important;
		width: 100% !important;
	}

	/* Колонка на всю ширину: без table-cell / float от Cool */
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav {
		display: flex !important;
		flex-direction: column !important;
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
		background: var(--sheikh-graphite) !important;
		color: #fff !important;
	}

	/* Тап на мобильном держит :hover/:focus — глобальный #menu a:hover красит ссылку в графит на графитовом фоне */
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav.sheikh-root-cats > li > a,
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav.sheikh-root-cats > li > a:link,
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav.sheikh-root-cats > li > a:visited,
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav.sheikh-root-cats > li > a:hover,
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav.sheikh-root-cats > li > a:focus,
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav.sheikh-root-cats > li > a:active {
		color: #fff !important;
	}

	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav > li {
		display: block !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		perspective: none !important;
		-webkit-perspective: none !important;
		transform: none !important;
		-webkit-transform: none !important;
	}

	/* Десктопный «Ещё» / гамбургер — не показывать в мобильном drawer */
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav > li.more_articles {
		display: none !important;
	}

	/* Вкладка «Каталог»: без дубля шапки с «Каталог»+гамбургером — список сразу открыт */
	#mobile-menu #sheikh-mmenu-pane-catalog #menu.navbar .navbar-header {
		display: none !important;
	}

	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-collapse,
	#mobile-menu #sheikh-mmenu-pane-catalog #navbar-ex1-collapse,
	#mobile-menu #sheikh-mmenu-pane-catalog #navbar-ex2-collapse {
		display: block !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Плоский каталог: без бирюзового фона подменю (перебиваем Cool #menu .dropdown-menu) */
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .dropdown-menu {
		background: #fff !important;
		color: #333 !important;
		border: 0 none !important;
		box-shadow: none !important;
	}

	#mobile-menu #sheikh-mmenu-pane-catalog #menu li .dropdown-menu a,
	#mobile-menu #sheikh-mmenu-pane-catalog #menu li .dropdown-menu li > span {
		color: #333 !important;
		padding-left: 1rem !important;
	}

	/* Подкатегории скрыты, пока не открыта стрелка */
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav > li.nav-item.dropdown > .dropdown-menu {
		display: none !important;
	}

	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav > li.nav-item.dropdown.sheikh-mcat-open > .dropdown-menu {
		display: block !important;
	}

	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav > li.nav-item.dropdown > a.child-a span.btn.svg,
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav > li.nav-item.dropdown > a.child-a .svg-right-arrow {
		cursor: pointer;
	}

	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav > li.nav-item.dropdown.sheikh-mcat-open > a.child-a .svg-right-arrow svg,
	#mobile-menu #sheikh-mmenu-pane-catalog #menu .navbar-nav > li.nav-item.dropdown.sheikh-mcat-open > a.child-a span.svg svg {
		transform: rotate(180deg);
		transition: transform 0.2s ease;
	}

	/* Нижняя панель: повторно фиксируем (тема/родитель могли сбить fixed) */
	#mobile-bottom-nav.sheikh-mobile-bottom-nav {
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		z-index: 2147483000 !important;
		transform: none !important;
		-webkit-transform: none !important;
		margin: 0 !important;
	}

	/* Отступ снизу под fixed-bottom панель + safe area */
	body.sheikh-mbn-on {
		padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body.sheikh-mbn-off {
		padding-bottom: 0 !important;
	}

	body.sheikh-mbn-off #mobile-bottom-nav.sheikh-mobile-bottom-nav {
		display: none !important;
	}
}

/* Нижняя панель: fixed-bottom из Bootstrap + выше оверлеев темы */
#mobile-bottom-nav.sheikh-mobile-bottom-nav {
	z-index: 2147483000 !important;
	min-height: 56px;
	height: auto;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: #fff !important;
	border-top: 1px solid #e5e7eb;
	box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
	justify-content: space-around;
	align-items: stretch;
	margin: 0;
	pointer-events: auto;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

#mobile-bottom-nav .mbn-item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	text-decoration: none;
	color: #6b7280;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.2;
	padding: 6px 4px 4px;
	transition: color 0.15s ease;
	position: relative;
	border: none;
	background: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

#mobile-bottom-nav .mbn-item:active,
#mobile-bottom-nav .mbn-item:focus {
	color: var(--sheikh-gold);
	outline: none;
}

#mobile-bottom-nav .mbn-item svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	fill: currentColor;
}

#mobile-bottom-nav #mbn-compare > span {
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	line-height: 1.1;
	font-size: 8.5px;
	max-width: 20vw;
	text-align: center;
}

#mobile-bottom-nav .mbn-item span {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

#mobile-bottom-nav .mbn-item.mbn-active {
	color: var(--sheikh-gold);
}

#mobile-bottom-nav .mbn-item .mbn-badge {
	position: absolute;
	top: 4px;
	right: calc(50% - 18px);
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	font-size: 9px;
	font-weight: 700;
	line-height: 16px;
	background: var(--sheikh-gold);
	color: #fff;
	border-radius: 999px;
	border: 2px solid #fff;
	display: none;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#mobile-bottom-nav .mbn-item .mbn-badge.mbn-badge--visible {
	display: flex;
}

/* Пагинация: BS5 .pagination — flex без wrap, длинная лента страниц даёт горизонтальный скролл */
@media (max-width: 767.98px) {
	#product-category .row > .col-md-6 {
		min-width: 0;
	}

	.pagination {
		flex-wrap: wrap;
		row-gap: 0.35rem;
		justify-content: center;
		max-width: 100%;
	}

	.pagination .page-link {
		padding: 0.3rem 0.45rem;
		font-size: 0.75rem;
	}
}

.pagination .page-link {
	color: #fff;
	border-color: var(--sheikh-gold);
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.pagination .page-link:hover,
.pagination .page-link:focus,
.pagination .page-link:focus-visible {
	z-index: 2;
	color: #fff;
	border-color: var(--sheikh-gold);
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 0.14rem rgba(201, 168, 76, 0.28);
}
.pagination .page-link:focus {
	z-index: 3;
	outline: 0;
}
.pagination .page-link:active,
.pagination .page-link.active,
.pagination .active > .page-link {
	z-index: 3;
	color: #fff;
	border-color: var(--sheikh-gold);
	background: linear-gradient(180deg, var(--sheikh-gold-dark) 0%, var(--sheikh-gold-dark) 100%);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.14);
}
.pagination .page-link.disabled,
.pagination .disabled > .page-link {
	color: var(--bs-pagination-disabled-color);
	background: var(--bs-pagination-disabled-bg);
	border-color: var(--bs-pagination-disabled-border-color);
	box-shadow: none;
}

/* Модалка оформления заказа поверх корзины (Sheikh) */
.sheikh-checkout-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	pointer-events: none;
}
.sheikh-checkout-overlay[hidden] {
	display: none !important;
}
.sheikh-checkout-overlay--open {
	pointer-events: auto;
}
.sheikh-checkout-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(2px);
}
.sheikh-checkout-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
	padding: 28px 24px 24px;
	box-sizing: border-box;
}
.sheikh-checkout-close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: 0;
	background: transparent;
	padding: 6px;
	cursor: pointer;
	color: #888;
	line-height: 1;
}
.sheikh-checkout-close:hover,
.sheikh-checkout-close:focus {
	color: var(--sheikh-gold);
}
.sheikh-checkout-title {
	margin: 0 0 20px;
	font-size: 1.35rem;
	font-weight: 700;
	color: #1a1a1a;
	padding-right: 32px;
}
.sheikh-checkout-field {
	margin-bottom: 16px;
}
.sheikh-checkout-label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #333;
}
.sheikh-checkout-input,
.sheikh-checkout-textarea {
	border-radius: 10px;
	border: 1px solid #ddd;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.sheikh-checkout-input:focus,
.sheikh-checkout-textarea:focus {
	border-color: var(--sheikh-gold);
	box-shadow: 0 0 0 3px rgba(2, 177, 177, 0.15);
	outline: none;
}
.sheikh-checkout-input.is-invalid,
.sheikh-checkout-textarea.is-invalid {
	border-color: #dc3545;
}
.sheikh-checkout-textarea {
	min-height: 100px;
	resize: vertical;
}
.sheikh-checkout-error {
	display: block;
	margin-top: 4px;
	font-size: 0.8rem;
	color: #dc3545;
	min-height: 1em;
}
.sheikh-checkout-error--global {
	margin-bottom: 12px;
	text-align: center;
}
.sheikh-checkout-recaptcha {
	margin-bottom: 12px;
}
.sheikh-recaptcha-widget {
	display: flex;
	justify-content: center;
	min-height: 78px;
}
.sheikh-checkout-recaptcha .sheikh-checkout-error {
	text-align: center;
}
.sheikh-checkout-submit {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 16px 24px;
	border: 1px solid var(--sheikh-gold-dark);
	border-radius: 14px;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	cursor: pointer;
	background: linear-gradient(135deg, var(--sheikh-gold) 0%, var(--sheikh-gold-dark) 100%);
	box-shadow: 0 10px 20px rgba(201, 168, 76, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.sheikh-checkout-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	background: linear-gradient(135deg, var(--sheikh-gold) 0%, var(--sheikh-gold-dark) 100%);
	border-color: var(--sheikh-gold-dark);
	box-shadow: 0 14px 24px rgba(201, 168, 76, 0.4);
}
.sheikh-checkout-submit:active:not(:disabled) {
	transform: translateY(0);
	background: linear-gradient(135deg, var(--sheikh-gold-dark) 0%, var(--sheikh-gold-dark) 100%);
	border-color: var(--sheikh-graphite-deep);
}
.sheikh-checkout-submit:disabled,
.sheikh-checkout-submit.is-loading {
	opacity: 0.75;
	cursor: wait;
}
body.sheikh-checkout-open .divshadow.divcart {
	filter: brightness(0.92);
}
/* Нижняя панель не должна перекрывать кнопку «Оформить заказ» */
body.sheikh-checkout-open #mobile-bottom-nav.sheikh-mobile-bottom-nav {
	visibility: hidden !important;
	pointer-events: none !important;
}
@media (max-width: 991.98px) {
	.sheikh-checkout-overlay {
		padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
		align-items: flex-end;
	}
	.sheikh-checkout-panel {
		max-width: none;
		max-height: calc(100vh - 24px - env(safe-area-inset-bottom, 0px));
		max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
		border-radius: 16px 16px 0 0;
		padding: 24px 18px calc(20px + env(safe-area-inset-bottom, 0px));
	}
}
@media (max-width: 479.98px) {
	.sheikh-checkout-overlay {
		padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
		align-items: flex-end;
	}
	.sheikh-checkout-panel {
		max-width: none;
		border-radius: 16px 16px 0 0;
		padding: 24px 18px calc(20px + env(safe-area-inset-bottom, 0px));
	}
	.sheikh-recaptcha-widget {
		transform: scale(0.92);
		transform-origin: top center;
	}
	.sheikh-checkout-submit {
		padding: 18px 20px;
		font-size: 1.05rem;
	}
}

/* Главная: карусель — без полупрозрачности Cool (.carousel img { opacity: 0.8 }) */
#common-home .carousel.slide img {
	opacity: 1;
	border: 0;
	border-radius: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Главная: карусель баннера — круглые «стеклянные» кнопки по центру */
#common-home [id^="carousel-banner-"] .carousel-control-prev,
#common-home [id^="carousel-banner-"] .carousel-control-next {
	top: 50% !important;
	bottom: auto !important;
	width: 44px !important;
	height: 44px !important;
	margin-top: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(15, 23, 42, 0.08) !important;
	background: rgba(255, 255, 255, 0.72) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
	color: #64748b !important;
	font-size: 14px !important;
	line-height: 1 !important;
	text-shadow: none !important;
	opacity: 0.45 !important;
	transform: translateY(-50%);
	transition:
		opacity 0.2s ease,
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
	z-index: 3;
}

#common-home [id^="carousel-banner-"] .carousel-control-prev {
	left: 16px !important;
	right: auto !important;
}

#common-home [id^="carousel-banner-"] .carousel-control-next {
	right: 16px !important;
	left: auto !important;
}

#common-home [id^="carousel-banner-"]:hover .carousel-control-prev,
#common-home [id^="carousel-banner-"]:hover .carousel-control-next,
#common-home [id^="carousel-banner-"] .carousel-control-prev:hover,
#common-home [id^="carousel-banner-"] .carousel-control-prev:focus-visible,
#common-home [id^="carousel-banner-"] .carousel-control-next:hover,
#common-home [id^="carousel-banner-"] .carousel-control-next:focus-visible {
	opacity: 1 !important;
}

#common-home [id^="carousel-banner-"] .carousel-control-prev:hover,
#common-home [id^="carousel-banner-"] .carousel-control-prev:focus-visible,
#common-home [id^="carousel-banner-"] .carousel-control-next:hover,
#common-home [id^="carousel-banner-"] .carousel-control-next:focus-visible {
	background: rgba(255, 255, 255, 0.92) !important;
	border-color: rgba(2, 177, 177, 0.25) !important;
	color: var(--sheikh-gold-dark) !important;
	box-shadow: 0 4px 14px rgba(2, 177, 177, 0.14);
	transform: translateY(-50%) scale(1.04);
}

#common-home [id^="carousel-banner-"] .carousel-control-prev span,
#common-home [id^="carousel-banner-"] .carousel-control-next span {
	display: block;
	font-size: 14px;
	line-height: 1;
}

@media (max-width: 767.98px) {
	#common-home [id^="carousel-banner-"] .carousel-control-prev,
	#common-home [id^="carousel-banner-"] .carousel-control-next {
		width: 40px !important;
		height: 40px !important;
		font-size: 13px !important;
	}

	#common-home [id^="carousel-banner-"] .carousel-control-prev {
		left: 10px !important;
	}

	#common-home [id^="carousel-banner-"] .carousel-control-next {
		right: 10px !important;
	}
}

/* Карточка товара: wishlist/compare всегда видны на мобильных и планшетах */
@media (max-width: 991.98px) {
	.product-thumb .image button.wishlist-add,
	.product-thumb .image button.compare-add {
		opacity: 1;
		left: auto;
		right: 8px;
		width: 36px;
		height: 36px;
		padding: 0;
		line-height: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		transform: none;
		z-index: 2;
		border: 1px solid rgba(15, 23, 42, 0.1);
		border-radius: 8px;
		background: rgba(255, 255, 255, 0.88);
		-webkit-backdrop-filter: blur(6px);
		backdrop-filter: blur(6px);
		box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
	}

	.product-thumb .image button.wishlist-add > span,
	.product-thumb .image button.compare-add > span {
		display: none !important;
	}

	.product-thumb .image button.wishlist-add.btn-white > svg,
	.product-thumb .image button.compare-add.btn-white > svg {
		position: static;
		top: auto;
		margin: 0;
		width: 15px;
		height: 15px;
		font-size: 15px;
		fill: #374151;
	}

	.product-thumb .image button.wishlist-add {
		top: 8px;
	}

	.product-thumb .image button.compare-add {
		top: 50px;
	}

	.product-thumb .image button.wishlist-add:active,
	.product-thumb .image button.compare-add:active,
	.product-thumb .image button.wishlist-add:hover,
	.product-thumb .image button.compare-add:hover {
		color: #fff !important;
		border-color: var(--sheikh-gold-dark) !important;
		background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%) !important;
		box-shadow: 0 3px 10px rgba(201, 168, 76, 0.28);
	}

	.product-thumb .image button.wishlist-add:active > svg,
	.product-thumb .image button.compare-add:active > svg,
	.product-thumb .image button.wishlist-add:hover > svg,
	.product-thumb .image button.compare-add:hover > svg {
		fill: #fff !important;
	}

	.product-thumb .image:hover button.wishlist-add,
	.product-thumb:hover .image button.wishlist-add {
		left: auto;
		right: 8px;
		top: 8px;
	}

	.product-thumb .image:hover button.compare-add,
	.product-thumb:hover .image button.compare-add {
		left: auto;
		right: 8px;
		top: 50px;
	}
}

/* Главная: рекомендуемые и карусель mastermodule — те же статичные кнопки (все экраны) */
#common-home .master .product-thumb .image button.wishlist-add,
#common-home .master .product-thumb .image button.compare-add {
	opacity: 1 !important;
	left: auto !important;
	right: 8px !important;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	line-height: 1;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transform: none !important;
	z-index: 2;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.88);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#common-home .master .product-thumb .image button.wishlist-add > span,
#common-home .master .product-thumb .image button.compare-add > span {
	display: none !important;
}

#common-home .master .product-thumb .image button.wishlist-add.btn-white > svg,
#common-home .master .product-thumb .image button.compare-add.btn-white > svg {
	position: static !important;
	top: auto !important;
	margin: 0;
	width: 15px;
	height: 15px;
	font-size: 15px;
	fill: #374151;
}

#common-home .master .product-thumb .image button.wishlist-add {
	top: 8px !important;
}

#common-home .master .product-thumb .image button.compare-add {
	top: 50px !important;
}

#common-home .master .product-thumb .image button.wishlist-add:active,
#common-home .master .product-thumb .image button.compare-add:active,
#common-home .master .product-thumb .image button.wishlist-add:hover,
#common-home .master .product-thumb .image button.compare-add:hover {
	color: #fff !important;
	border-color: var(--sheikh-gold-dark) !important;
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%) !important;
	box-shadow: 0 3px 10px rgba(201, 168, 76, 0.28);
}

#common-home .master .product-thumb .image button.wishlist-add:active > svg,
#common-home .master .product-thumb .image button.compare-add:active > svg,
#common-home .master .product-thumb .image button.wishlist-add:hover > svg,
#common-home .master .product-thumb .image button.compare-add:hover > svg {
	fill: #fff !important;
}

#common-home .master .product-thumb .image:hover button.wishlist-add,
#common-home .master .product-thumb:hover .image button.wishlist-add {
	left: auto !important;
	right: 8px !important;
	top: 8px !important;
}

#common-home .master .product-thumb .image:hover button.compare-add,
#common-home .master .product-thumb:hover .image button.compare-add {
	left: auto !important;
	right: 8px !important;
	top: 50px !important;
}

/* Карточка товара: рейтинг и кнопки wishlist/compare в одну строку на mobile */
@media (max-width: 767.98px) {
	#product-product .product-page-toolbar {
		flex-wrap: nowrap !important;
	}
	#product-product .product-page .rating-block {
		flex: 1 1 auto !important;
		width: auto !important;
		max-width: none !important;
		text-align: left !important;
		min-width: 0;
		padding-right: 4px;
	}
	#product-product .product-page .rating p {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		margin-bottom: 0;
	}
	#product-product .product-page .compare-wishlist {
		flex: 0 0 auto;
		margin-left: auto !important;
	}
}


/* ============================================================
   Sheikh premium theme: light header + graphite logo/footer
   ============================================================ */
body.version_2 {
	background-color: var(--sheikh-cream);
	color: var(--sheikh-text);
}

/* Белые: top-nav, меню, липкий .top_line */
.top_line,
nav.top-nav.header_2,
#top-header.header_2,
#top-header {
	background-color: #fff !important;
	background: #fff !important;
}

/* Полоса с логотипом — графит, компактная, элементы по центру */
#top.header_2.id_top,
header #top.header_2 {
	background-color: var(--sheikh-graphite) !important;
	background: var(--sheikh-graphite) !important;
	min-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

#top.header_2.id_top .container,
#top.header_2 .container {
	background: var(--sheikh-graphite) !important;
	background-color: var(--sheikh-graphite) !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

#top.header_2.id_top .row-header,
#top.header_2 .row-header {
	min-height: 0 !important;
}

/*
 * Графитовая полоса #top: вертикальный центр.
 * sheikh-hide-mheader на десктопе НЕ скрываем — там аккаунт и избранное.
 * Скрываем только мобильный телефон (d-none) и кнопку поиска (sheikh-mheader-search).
 */
@media (min-width: 992px) {
	#top.header_2.id_top > .container > .row-header > .row {
		align-items: center !important;
		flex-wrap: nowrap !important;
	}
	#top.header_2 .row-header > .row > .clearfix {
		display: none !important;
	}

	#top.header_2 .top_logo,
	#top.header_2 .col-xl-7.top,
	#top.header_2 .lk-block {
		display: flex !important;
		align-items: center !important;
	}
	#top.header_2 .top_logo { justify-content: flex-start; }
	#top.header_2 .lk-block { justify-content: flex-end; }

	#top.header_2 .col-xl-7.top > .row {
		align-items: center !important;
		flex-wrap: nowrap !important;
		width: 100%;
		margin: 0 !important;
	}
	#top.header_2 .col-xl-7.top > .row > [class*="col-"] {
		display: flex !important;
		align-items: center !important;
	}

	#top.header_2 .header_block {
		clear: none !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		width: 100%;
	}
	#top.header_2 #search {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	#top.header_2 .header-contact {
		display: flex !important;
		align-items: center !important;
		justify-content: center;
		margin: 0 !important;
		padding: 0 !important;
		width: 100%;
		min-height: 38px;
		display: flex;
        align-items: center;
        justify-content: right;
	}
	#top.header_2 .header-contact .btn-link {
		display: inline-flex !important;
		align-items: center;
		margin: 0 !important;
		padding: 0 8px !important;
		line-height: 1.2 !important;
		white-space: nowrap;
	}

	#top.header_2 #logo,
	#top.header_2 #logo a {
		display: flex !important;
		align-items: center;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 0;
		background: transparent;
	}
	#top.header_2 #logo img {
		display: block;
		margin: 0;
	}

	#top.header_2 .lk-block > ul.list-inline.nav {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: flex-end;
		width: auto !important;
		margin: 0 0 0 auto !important;
		padding: 0;
	}

	/* Мобильные-only пункты — скрыть на десктопе */
	#top.header_2 .lk-block > ul.list-inline.nav > li.d-none,
	#top.header_2 .lk-block > ul.list-inline.nav > li.sheikh-mheader-search,
	#top.header_2 .lk-block > ul.list-inline.nav > li.sheikh-mheader-contacts {
		display: none !important;
	}

	/* Аккаунт, избранное, корзина — показать в один ряд */
	#top.header_2 .lk-block > ul.list-inline.nav > li.sheikh-hide-mheader:not(.d-none),
	#top.header_2 .lk-block > ul.list-inline.nav > li#cart {
		display: flex !important;
		align-items: center !important;
		float: none !important;
		flex: 0 0 auto;
		margin: 0 !important;
		padding: 0 !important;
	}
	#top.header_2 .lk-block > ul.list-inline.nav > li > a,
	#top.header_2 .lk-block > ul.list-inline.nav > li > button {
		position: relative !important;
		top: 0 !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		padding: 6px 8px !important;
		line-height: 1 !important;
	}
	#top.header_2 .lk-block > ul.list-inline.nav > li > a br {
		display: none !important;
	}
	#top.header_2 .lk-block #cart,
	#top.header_2 .lk-block #cart > a {
		background: transparent !important;
		box-shadow: none !important;
	}
}

@media screen and (min-width: 768px) {
	#top.header_2 .header_block {
		clear: none !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
}

#top-header.header_2 .container,
#top-header .container,
.top_line .container {
	background: #fff !important;
	background-color: #fff !important;
}

.top_line,
nav.top-nav.header_2 {
	border-bottom: 1px solid rgba(64, 65, 64, 0.12);
}

#top-header.header_2,
#top-header {
	border-bottom: 1px solid rgba(64, 65, 64, 0.1);
	box-shadow: 0 1px 4px rgba(64, 65, 64, 0.06);
}

/* Логотип logo_sheihan2 уже с графитовыми панелями — без лишней плашки */
#logo,
#logo a {
	display: inline-flex;
	align-items: center;
	background: transparent;
	padding: 0;
	border-radius: 0;
}
#top #logo a {
	/*
	position: relative;
	overflow: hidden;
	*/
	isolation: isolate; /* mix-blend не подсвечивает графит шапки */
}
#logo img,
#top #logo a img {
	max-height: 59px !important;
	width: auto;
	height: auto;
	display: block;
	position: relative;
	z-index: 1;
}
/* Блик вдоль логотипа (как на qismetli.ru: мягкое пятно + blinkShift) */
#top #logo a::after {
	content: "";
	position: absolute;
	top: -20%;
	left: 8%;
	width: 38%;
	height: 140%;
	border-radius: 40%;
	background: rgba(255, 236, 200, 0.9);
	filter: blur(33px);
	pointer-events: none;
	z-index: 2;
	mix-blend-mode: soft-light;
	animation: sheikhLogoShine 5s ease-in-out infinite alternate;
}
@keyframes sheikhLogoShine {
	0% { left: 5%; }
	50% { left: 40%; }
	100% { left: 62%; }
}
@media (prefers-reduced-motion: reduce) {
	#top #logo a::after {
		animation: none;
		display: none;
	}
}

/* Тёмный текст на белых полосах; светлый — на графитовом #top */
nav.top-nav.header_2 a,
nav.top-nav.header_2 .btn-link,
#top-header a,
#top-header .nav > li > a,
.top_line a,
.top_line .btn-link {
	color: var(--sheikh-text) !important;
}
#top.header_2 a,
#top.header_2 .btn-link,
#top .header-contact a,
#top .lk-block a {
	color: #f0ebe3 !important;
}
/* Панель каталога внутри #top — НЕ кремовый текст (иначе нечитаем на белом) */
#top.header_2 #sheikh-catalog-panel a,
#top.header_2 #sheikh-catalog-panel .sheikh-mega-parent-link,
#top.header_2 #sheikh-catalog-panel .sheikh-mega-l2-link,
#top.header_2 #sheikh-catalog-panel .sheikh-mega-l3-link,
#sheikh-catalog-panel a,
#sheikh-catalog-panel .sheikh-mega-parent-link,
#sheikh-catalog-panel .sheikh-mega-l2-link,
#sheikh-catalog-panel .sheikh-mega-l3-link {
	color: #2a2a2a !important;
}
#top.header_2 #sheikh-catalog-panel a:hover,
#top.header_2 #sheikh-catalog-panel a:focus,
#top.header_2 #sheikh-catalog-panel .is-active > a,
#top.header_2 #sheikh-catalog-panel .sheikh-mega-parent-item.is-active > .sheikh-mega-parent-link,
#top.header_2 #sheikh-catalog-panel .sheikh-mega-l2-active .sheikh-mega-l2-link,
#sheikh-catalog-panel a:hover,
#sheikh-catalog-panel a:focus,
#sheikh-catalog-panel .is-active > a,
#sheikh-catalog-panel .sheikh-mega-parent-item.is-active > .sheikh-mega-parent-link,
#sheikh-catalog-panel .sheikh-mega-l2-active .sheikh-mega-l2-link {
	color: var(--sheikh-gold-dark) !important;
	background: rgba(201, 168, 76, 0.12);
}
/* Dropdown на белом: MasterColor + #top.header_2 a */
.dropdown-menu,
.dropdown-menu.show,
#menu .dropdown-menu,
#top.header_2 .dropdown-menu,
#top #search .dropdown-menu {
	background: #fff !important;
	color: #2a2a2a !important;
}
.dropdown-menu a,
.dropdown-menu > li > a,
.dropdown-menu .dropdown-item,
#menu .dropdown-menu a,
#menu .dropdown-inner a:not(.image-category),
#top.header_2 .dropdown-menu a,
#top.header_2 #search .dropdown-menu a {
	color: #2a2a2a !important;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu .dropdown-item:hover,
#menu .dropdown-menu a:hover,
#menu .dropdown-inner a:not(.image-category):hover,
#top.header_2 .dropdown-menu a:hover,
#top.header_2 #search .dropdown-menu a:hover {
	color: var(--sheikh-gold-dark) !important;
	background: rgba(201, 168, 76, 0.1) !important;
}
nav.top-nav.header_2 a:hover,
#top-header a:hover,
.top_line a:hover {
	color: var(--sheikh-gold-dark) !important;
}
#top.header_2 a:hover,
#top .header-contact a:hover {
	color: var(--sheikh-gold-bright) !important;
}
#top.header_2 #sheikh-catalog-panel a:hover,
#top.header_2 .dropdown-menu a:hover {
	color: var(--sheikh-gold-dark) !important;
}
#top .svg-icon,
#top .btn-link svg,
#top .lk-block svg,
#top .header-contact a svg.svg-icon {
	fill: var(--sheikh-gold) !important;
}
/* Счётчики корзины и избранного в шапке — белые */
#top #cart #cart-total,
#top #cart-total,
#top #wishlist-header-total span,
#top .lk-block #cart #cart-total,
#top .lk-block #wishlist-header-total span,
#top #cart #cart-total.color-2,
#top #wishlist-header-total span.color-2,
#top .lk-block #cart #cart-total.color-2,
#top .lk-block #wishlist-header-total span.color-2 {
	color: #fff !important;
}
nav.top-nav.header_2 .btn-link svg,
nav.top-nav.header_2 svg.svg-icon,
.top_line .btn-link svg,
.top_line svg.svg-icon {
	fill: var(--sheikh-gold) !important;
}

/* Поиск: поле + выбор раздела + кнопка */
#top .header_block #search,
#top #search {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.45) !important;
    border-radius: 4px;
    overflow: visible;
    min-height: 38px;
    height: 38px;
    box-sizing: border-box;
}
#top .header_block #search .form-control,
#top #search .form-control {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    background: var(--sheikh-graphite);
    border: 0 none !important;
    border-radius: 0 !important;
    color: #fff;
    box-shadow: none !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    line-height: 36px !important;
}
#top .header_block #search .form-control::placeholder,
#top #search .form-control.input-lg::placeholder,
#top #search .form-control::placeholder {
	color: #fff !important;
	opacity: 1;
}
#top .header_block #search .form-control::-webkit-input-placeholder,
#top #search .form-control::-webkit-input-placeholder {
	color: #fff !important;
	opacity: 1;
}
#top .header_block #search .form-control::-moz-placeholder,
#top #search .form-control::-moz-placeholder {
	color: #fff !important;
	opacity: 1;
}

/* Выбор раздела («Все категории») */
@media (min-width: 768px) {
	#top #search .select-wrap,
	.top_line #search .select-wrap {
		display: flex !important;
		flex: 0 0 auto !important;
		align-items: stretch;
		float: none !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		position: relative;
	}
}
@media (max-width: 767.98px) {
	#top #search .select-wrap {
		display: none !important;
	}
}
#top #search .select-wrap .btn,
#top #search .select-wrap .dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 none !important;
    border-radius: 0 !important;
    border-left: 1px solid rgba(0, 0, 0, 0.35) !important;
    background: var(--sheikh-graphite) !important;
    color: #fff !important;
    text-shadow: none !important;
    white-space: nowrap;
}
#top #search .select-wrap .btn span,
#top #search .select-wrap .dropdown-toggle span {
	color: #fff !important;
}
#top #search .select-wrap .btn svg,
#top #search .select-wrap .dropdown-toggle svg {
	fill: var(--sheikh-gold) !important;
}
#top #search .select-wrap .dropdown-menu {
	z-index: 1060;
	min-width: 220px;
	max-height: 320px;
	overflow-y: auto;
}

#top #search span.search,
#top #search .input-group-btn.search {
	display: flex !important;
	flex: 0 0 auto !important;
	align-items: stretch;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
#top #search span.search > .btn,
#top #search .input-group-btn.search > .btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 none !important;
	border-radius: 0 !important;
	background: var(--sheikh-graphite) !important;
	border-left: 1px solid rgba(64, 65, 64, 0.12) !important;
}
#top #search span.search > .btn svg,
#top #search .input-group-btn.search > .btn svg {
	fill: var(--sheikh-gold) !important;
}
#top #search .btn:hover,
#top #search .select-wrap .btn:hover {
	/* background: var(--sheikh-gold-dark) !important; */
}
#top #search .close-button {
	display: none !important;
}

.top_line #search {
	background: #fff !important;
	border: 1px solid rgba(64, 65, 64, 0.2) !important;
}
.top_line #search .form-control {
	background: #fff !important;
	color: var(--sheikh-text) !important;
	margin: 0 !important;
}

/* Меню — белый фон, тёмный текст */
#top-header #menu > ul > li > a,
#menu .nav > li > a,
#top-header.header_2.id_top .nav > li > a {
	color: var(--sheikh-text) !important;
	text-shadow: none !important;
	color: #fff !important;
}
#menu .nav > li > a:hover,
#top-header.header_2.id_top .nav > li:hover > a {
	color: var(--sheikh-gold-dark) !important;
}
#top-header.header_2.id_top .nav > li:hover {
	background: var(--sheikh-cream) !important;
}

/* Опт-переключатель на светлом top-nav */
nav.top-nav.header_2 .sheikh-wholesale-label,
.top_line nav.top-nav.header_2 .sheikh-wholesale-label {
	color: var(--sheikh-muted) !important;
}
nav.top-nav.header_2 a.sheikh-wholesale-btn,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn {
	color: var(--sheikh-text) !important;
	border-color: rgba(64, 65, 64, 0.25) !important;
	background: transparent !important;
}
nav.top-nav.header_2 a.sheikh-wholesale-btn.is-active,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn.is-active {
	background: var(--sheikh-gold) !important;
	border-color: var(--sheikh-gold-dark) !important;
	color: #fff !important;
}
nav.top-nav.header_2 a.sheikh-wholesale-btn.is-active:hover,
.top_line nav.top-nav.header_2 a.sheikh-wholesale-btn.is-active:hover {
	background: var(--sheikh-gold-dark) !important;
}

/* Product cards — soft lift on cream */
.product-thumb {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(64, 65, 64, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-thumb:hover {
	box-shadow: 0 6px 18px rgba(64, 65, 64, 0.12);
}

/* Footer graphite (без изменений) */
.footer-container,
footer.footer_3,
footer {
	background-color: var(--sheikh-graphite) !important;
	background: var(--sheikh-graphite) !important;
	color: #fff !important;
	text-shadow: none !important;
}
.footer-container p,
.footer-container span,
.footer-container div,
.footer-container li,
.footer-container h5,
.footer-container .title {
	color: #fff !important;
	text-shadow: none !important;
}
.footer-container a,
footer a,
.footer-container h5,
.footer-container .title {
	color: #fff !important;
	text-shadow: none !important;
}
.footer-container a:hover,
footer a:hover {
	color: var(--sheikh-gold-bright) !important;
}
.footer-powered {
	background: var(--sheikh-graphite-deep) !important;
	color: rgba(240, 235, 227, 0.7);
	border-top: 1px solid rgba(201, 168, 76, 0.2);
}
.footer-powered a {
	color: var(--sheikh-gold) !important;
}
.button-top > button {
	background: var(--sheikh-gold) !important;
	border-color: var(--sheikh-gold-dark) !important;
}

/* Mobile sticky header — графит (полоса с лого); compact-скролл — белый */
@media (max-width: 991.98px) {
	header {
		background: var(--sheikh-graphite) !important;
		box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
	}
	body.sheikh-hmode-compact header.sheikh-header-compact {
		background: #fff !important;
		box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08) !important;
	}
	#sheikh-mbn-toggle {
		color: var(--sheikh-gold) !important;
	}
	#sheikh-mbn-toggle svg {
		fill: var(--sheikh-gold) !important;
	}
	header #top #logo img,
	body.version_2 header #top #logo img {
		max-height: 40px !important;
	}
}

/* Mobile bottom nav — белая */
#mobile-bottom-nav.sheikh-mobile-bottom-nav {
	background: #fff !important;
	border-top: 1px solid rgba(64, 65, 64, 0.12) !important;
}
#mobile-bottom-nav .mbn-item {
	color: var(--sheikh-text) !important;
}
#mobile-bottom-nav .mbn-item.mbn-active,
#mobile-bottom-nav .mbn-item:focus {
	color: var(--sheikh-gold-dark) !important;
}
#mobile-bottom-nav .mbn-item svg {
	fill: currentColor;
}

/* Главная: плитки категорий (categorycarousel) — убрать бирюзу Cool #02b1b1 */
.categorycarousel .name:after,
.categorycarousel .name .bg {
	background: var(--sheikh-gold) !important;
}
.categorycarousel .name .button-addon {
	background: var(--sheikh-gold-dark) !important;
}
.categorycarousel .name a,
.categorycarousel .name .button-addon,
.categorycarousel .name a svg,
.categorycarousel .name .click-children svg {
	color: #fff !important;
	fill: #fff !important;
}
.categorycarousel .name .click-children.btn {
	background: transparent !important;
	border: 0 !important;
	color: #fff !important;
}
.categorycarousel .owl-carousel .image {
	background: var(--sheikh-graphite) !important;
}
@media only screen and (max-width: 767px) {
    #menu, .id_top #menu {
        background-color: #C9A84C;
    }
}
.category-list .name > a {
    display: block;
    fill: #000 !important;
    color: #000 !important;
    font-size: 15px;
    white-space: normal;
}
.btn-primary, .btn-white:hover {
	color: #fff !important;
	border-color: var(--sheikh-gold-dark) !important;
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%) !important;
	margin-left: 7px !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:focus-visible {
	color: #fff !important;
	border-color: var(--sheikh-gold-dark) !important;
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%) !important;
}
.btn-primary:active {
	color: #fff !important;
	border-color: var(--sheikh-graphite-deep) !important;
	background: linear-gradient(180deg, var(--sheikh-gold-dark) 0%, var(--sheikh-gold-dark) 100%) !important;
}

/* Wishlist/compare: золотой фон + белая иконка (не золотая на золотом) */
.product-thumb .image button.wishlist-add:hover,
.product-thumb .image button.compare-add:hover,
.product-thumb .image button.wishlist-add:focus,
.product-thumb .image button.compare-add:focus,
.product-thumb .image button.wishlist-add:active,
.product-thumb .image button.compare-add:active,
.product-page .compare-wishlist .btn-white:hover,
.product-page .compare-wishlist .btn-white:focus,
.product-page .compare-wishlist .btn-white:active {
	color: #fff !important;
	border-color: var(--sheikh-gold-dark) !important;
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%) !important;
	fill: #fff !important;
}
.product-thumb .image button.wishlist-add:hover > svg,
.product-thumb .image button.compare-add:hover > svg,
.product-thumb .image button.wishlist-add:focus > svg,
.product-thumb .image button.compare-add:focus > svg,
.product-thumb .image button.wishlist-add:active > svg,
.product-thumb .image button.compare-add:active > svg,
.product-page .compare-wishlist .btn-white:hover > svg,
.product-page .compare-wishlist .btn-white:focus > svg,
.product-page .compare-wishlist .btn-white:active > svg {
	fill: #fff !important;
	color: #fff !important;
}

/* Аккаунт → список желаний: компактные превью в таблице */
#account-wishlist #wishlist .table td:first-child {
	width: 96px;
	max-width: 96px;
	vertical-align: middle;
}
#account-wishlist #wishlist .table td:first-child img {
	display: inline-block;
	max-width: 80px;
	max-height: 80px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.quick_button_block .cart-popup-action--primary {
	color: #fff !important;
	fill: #fff;
	border: 1px solid var(--sheikh-gold-dark) !important;
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.quick_button_block .cart-popup-action--primary:hover,
.quick_button_block .cart-popup-action--primary:focus,
.quick_button_block .cart-popup-action--primary:focus-visible {
	color: #fff !important;
	border-color: var(--sheikh-gold-dark) !important;
	background: linear-gradient(180deg, var(--sheikh-gold-bright) 0%, var(--sheikh-gold) 60%, var(--sheikh-gold-dark) 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 0.14rem rgba(201, 168, 76, 0.28);
	transform: none;
}
.quick_button_block .cart-popup-action--primary:active {
	color: #fff !important;
	border-color: var(--sheikh-graphite-deep) !important;
	background: linear-gradient(180deg, var(--sheikh-gold-dark) 0%, var(--sheikh-gold-dark) 100%) !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.14);
	transform: none;
}

/* Модалка контактов: выше sticky header (z-index 10050) */
#sheikh-contacts-modal {
	z-index: 10110 !important;
}
body:has(#sheikh-contacts-modal.show) .modal-backdrop {
	z-index: 10100 !important;
}
#sheikh-contacts-modal .sheikh-contacts-modal-body {
	font-size: 1rem;
	line-height: 1.5;
}
#sheikh-contacts-modal .sheikh-contacts-modal-phone a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}
#sheikh-contacts-modal .sheikh-contacts-modal-phone a:hover,
#sheikh-contacts-modal .sheikh-contacts-modal-phone a:focus {
	text-decoration: underline;
}
@media only screen and (max-width: 767px) {
    #menu, .id_top #menu {
        background-color: var(--sheikh-graphite) !important;
    }
}
a, a:hover, .list-dropdown-menu .dropdown-menu .tab-content .list-unstyled a:hover, .color-2, .category-list .name > a, h4 a, .border-center > h3 > .fa, .breadcrumb i, .product-page .next-page a, #product-product .btn-link, a.cheapering, .more-product-block a, a.cheapering i:before, button.tablesize i:before, .btn-color-border > i:before, a:hover, a:focus, .footer-powered a:hover, .footer-container a:hover, #menu a:hover, #menu .nav > li > a:hover, .dropdown-menu > li > a:hover {
    color: var(--sheikh-graphite) !important;
}
.footer-container a:hover,
footer a:hover {
	color: var(--sheikh-gold-bright) !important;
}

.sheikh-ls-host {
	position: relative;
}
.sheikh-livesearch {
	position: fixed;
	z-index: 10050;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e6e6e6;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
	height: min(70vh, 520px);
	max-height: min(70vh, 520px);
	overflow: hidden;
	box-sizing: border-box;
	border-radius: 9px;
}
.sheikh-livesearch[hidden] {
	display: none !important;
}
.sheikh-ls-top {
	flex: 0 0 60%;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.sheikh-ls-products {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
}
.sheikh-ls-product {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
	color: #333 !important;
	text-decoration: none !important;
}
.sheikh-ls-product:hover {
	background: #f7f7f7;
	color: #111 !important;
}
.sheikh-ls-thumb {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3f3f3;
	overflow: hidden;
}
.sheikh-ls-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.sheikh-ls-meta {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.sheikh-ls-name {
	font-size: 14px;
	line-height: 1.3;
	color: #444;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.sheikh-ls-price,
.sheikh-ls-price-new {
	font-size: 14px;
	font-weight: 600;
	color: #111;
}
.sheikh-ls-price-old {
	margin-left: 8px;
	color: #999;
	text-decoration: line-through;
	font-weight: 400;
}
.sheikh-ls-footer {
	flex: 0 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 14px;
	background: #f3f3f3;
	color: #888;
	font-size: 13px;
}
.sheikh-ls-pager {
	display: flex;
	align-items: center;
	gap: 8px;
}
.sheikh-ls-page {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid #ccc;
	background: #fff;
	color: #666;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}
.sheikh-ls-cats-wrap {
	flex: 0 0 40%;
	display: flex;
	flex-direction: column;
	max-height: none;
	min-height: 0;
	overflow: hidden;
}
.sheikh-ls-cats-title {
	flex: 0 0 auto;
	text-align: center;
	padding: 10px 12px 6px;
	color: #9a9a9a;
	font-size: 13px;
}
.sheikh-ls-cats {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding-bottom: 8px;
}
.sheikh-livesearch:not(:has(.sheikh-ls-cats-wrap)) .sheikh-ls-top,
.sheikh-livesearch:not(:has(.sheikh-ls-top)) .sheikh-ls-cats-wrap {
	flex: 1 1 auto;
}
.sheikh-ls-cat {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 8px 14px;
	text-align: left;
	color: #444 !important;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none !important;
	box-sizing: border-box;
}
.sheikh-ls-cat:hover {
	background: #f7f7f7;
	color: #111 !important;
	text-decoration: none !important;
}
.sheikh-ls-cat-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M11.7 10.3a6 6 0 1 0-1.4 1.4l3.3 3.3 1.4-1.4-3.3-3.3zM6.5 11a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sheikh-ls-empty {
	padding: 16px;
	color: #888;
	text-align: center;
}
@media (max-width: 991.98px) {
	.sheikh-livesearch {
		border-radius: 9px;
	}
}

/* Карусель категорий: без затемнения и обесцвечивания, увеличение при наведении остаётся */
.categorycarousel .owl-carousel > div img {
	opacity: 1 !important;
	filter: none !important;
}
.categorycarousel .owl-carousel > div > div:hover img {
	opacity: 1 !important;
	filter: none !important;
}

