/* ═══════════════════════════════════════════════════════════════════
 * header.css — ХЕДЕР, НАВИГАЦИЯ, МИНИ-КОРЗИНА, TOPBAR
 * ═══════════════════════════════════════════════════════════════════
 *
 * Загружается на всех страницах (после style.css).
 * Содержит: header, nav, language toggle, cart dropdown, topbar.
 * ═══════════════════════════════════════════════════════════════════ */

   CATEGORY DROPDOWN MENU
   ============================================================ */

.bh-has-dropdown {
	position: relative;
}

.main-navigation .menu > li.bh-has-dropdown {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
}

.main-navigation .menu > li.bh-has-dropdown > a {
	display: inline-flex !important;
	align-items: center;
}

.bh-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 36px;
	padding: 0;
	margin-left: -6px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	color: inherit;
	vertical-align: middle;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.22s ease;
}

.bh-has-dropdown.is-open .bh-dropdown-toggle {
	transform: rotate(180deg);
}

.bh-dropdown-toggle:hover,
.bh-dropdown-toggle:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.12);
}

.bh-dropdown-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	z-index: 9999;
	min-width: 200px;
	padding: 8px 0;
	list-style: none;
	margin: 0;
	background: var(--bh-white);
	border: 1px solid rgba(11, 56, 82, 0.1);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(11, 56, 82, 0.14);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.bh-dropdown-menu::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 12px;
	height: 12px;
	background: var(--bh-white);
	border-top: 1px solid rgba(11, 56, 82, 0.1);
	border-left: 1px solid rgba(11, 56, 82, 0.1);
	rotate: 45deg;
}

.bh-has-dropdown.is-open .bh-dropdown-menu,
.bh-has-dropdown:focus-within .bh-dropdown-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
	.bh-has-dropdown:hover .bh-dropdown-menu {
		opacity: 1;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
	}
}

.bh-dropdown-menu li a {
	display: block;
	padding: 9px 18px;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--bh-text, #0d2b3e);
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.bh-dropdown-menu li a:hover,
.bh-dropdown-menu li a:focus {
	background: rgba(15, 139, 203, 0.07);
	color: var(--bh-accent, var(--bh-accent-deep));
}

.bh-dropdown-menu__all a {
	border-top: 1px solid rgba(11, 56, 82, 0.08);
	margin-top: 4px;
	padding-top: 11px;
	font-weight: 600;
	color: var(--bh-accent, var(--bh-accent-deep)) !important;
}

.bh-has-dropdown--mega .bh-dropdown-menu {
	top: calc(100% + 12px);
	left: 50%;
	width: min(380px, calc(100vw - 48px));
	min-width: min(340px, calc(100vw - 48px));
	padding: 10px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px;
	transform: translateX(-50%) translateY(-8px);
	border: 1px solid rgba(92, 197, 255, 0.16);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
		rgba(4, 15, 26, 0.96);
	box-shadow:
		0 24px 58px rgba(0, 0, 0, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(22px) saturate(140%);
	-webkit-backdrop-filter: blur(22px) saturate(140%);
}

.bh-has-dropdown--mega.is-open .bh-dropdown-menu,
.bh-has-dropdown--mega:focus-within .bh-dropdown-menu {
	transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
	.bh-has-dropdown--mega:hover .bh-dropdown-menu {
		transform: translateX(-50%) translateY(0);
	}
}

.bh-has-dropdown--mega .bh-dropdown-menu::before {
	left: 50%;
	background: rgba(4, 15, 26, 0.96);
	border-color: rgba(92, 197, 255, 0.16);
}

.bh-dropdown-menu--mega li {
	min-width: 0;
}

.bh-dropdown-menu--mega li a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 12px 9px 34px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.045);
	color: rgba(255, 255, 255, 0.86);
	font-weight: 760;
	line-height: 1.2;
	white-space: normal;
}

.bh-dropdown-menu--mega li a::before {
	content: "";
	position: absolute;
	left: 13px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bh-accent-strong, #5cc5ff);
	box-shadow: 0 0 14px rgba(92, 197, 255, 0.5);
}

.bh-dropdown-menu--mega li a:hover,
.bh-dropdown-menu--mega li a:focus {
	background: rgba(31, 182, 238, 0.16);
	border-color: rgba(92, 197, 255, 0.32);
	color: var(--bh-white, #fff);
}

.bh-dropdown-menu--mega .bh-dropdown-menu__all {
	grid-column: 1 / -1;
}

.bh-dropdown-menu--mega .bh-dropdown-menu__all a {
	margin-top: 4px;
	padding-left: 38px;
	border-top: 0;
	background: linear-gradient(135deg, rgba(31, 182, 238, 0.22), rgba(247, 163, 45, 0.14));
	color: var(--bh-white, #fff) !important;
}

.bh-menu-search {
	display: flex !important;
	align-items: center;
}

.bh-header-search {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: clamp(150px, 10vw, 190px);
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.055);
	color: rgba(255, 255, 255, 0.86);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: background 0.2s ease, border-color 0.2s ease, width 0.22s ease;
}

.bh-header-search:focus-within,
.bh-header-search:hover {
	width: clamp(180px, 13vw, 240px);
	background: rgba(255, 255, 255, 0.105);
	border-color: rgba(92, 197, 255, 0.30);
}

.bh-header-search__icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	flex: 0 0 42px;
	color: var(--bh-accent-strong, #5cc5ff);
}

.bh-header-search__input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	min-width: 0;
	height: 100%;
	padding: 0 12px 0 0;
	border: 0 !important;
	background: transparent !important;
	color: var(--bh-white, #fff) !important;
	font-size: 0.86rem;
	font-weight: 760;
	outline: 0 !important;
	box-shadow: none !important;
	-webkit-text-fill-color: var(--bh-white, #fff);
}

.bh-header-search__input::-webkit-search-decoration,
.bh-header-search__input::-webkit-search-cancel-button,
.bh-header-search__input::-webkit-search-results-button,
.bh-header-search__input::-webkit-search-results-decoration {
	display: none;
}

.bh-header-search__input::placeholder {
	color: rgba(255, 255, 255, 0.52);
}

.bh-header-search__submit {
	position: absolute;
	inset: 0;
	width: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

/* Mobile: dropdown as stacked list */
@media (max-width: 960px) {
	.bh-dropdown-menu {
		position: static;
		transform: none;
		opacity: 1;
		pointer-events: auto;
		box-shadow: none;
		border: none;
		border-radius: 0;
		background: rgba(11, 56, 82, 0.04);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.bh-has-dropdown.is-open .bh-dropdown-menu {
		max-height: 400px;
	}

	.bh-dropdown-menu::before {
		display: none;
	}

	.bh-has-dropdown--mega .bh-dropdown-menu {
		width: 100%;
		min-width: 0;
		left: auto;
		top: auto;
		transform: none;
		display: grid;
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 8px 0 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.bh-dropdown-menu--mega li a {
		min-height: 44px;
		padding: 10px 12px 10px 34px;
		border-radius: 10px;
	}
}

/* ============================================================
   STICKY HEADER — frosted glass on scroll
   ============================================================ */

#masthead,
.site-header {
	transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* ── Dark header ── */
#masthead,
.site-header {
	background: rgba(5, 16, 27, 0.97) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.bh-header--scrolled#masthead,
.bh-header--scrolled.site-header {
	background: rgba(5, 16, 27, 0.96) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	box-shadow: 0 2px 28px rgba(0, 0, 0, 0.45) !important;
}

/* ============================================================
   WHOLESALE CTA BUTTON in nav
   ============================================================ */

.menu-item--cta > a {
	background: linear-gradient(135deg, var(--bh-accent-deep), #075b8a) !important;
	color: var(--bh-white) !important;
	border-color: transparent !important;
	box-shadow: 0 6px 20px rgba(15, 139, 203, 0.35) !important;
	font-weight: 800 !important;
	padding: 0 18px !important;
}

.menu-item--cta > a:hover,
.menu-item--cta > a:focus {
	background: linear-gradient(135deg, #1a9edf, #0b6fa3) !important;
	box-shadow: 0 10px 28px rgba(15, 139, 203, 0.45) !important;
	transform: translateY(-2px) !important;
	color: var(--bh-white) !important;
}

/* ============================================================
   CART — clean up when empty
   ============================================================ */

/* Hide price when cart is empty */
.bh-cart__trigger.is-empty .bh-cart__subtotal {
	display: none;
}

/* Show count badge only when non-zero */
.bh-cart__trigger.is-empty .bh-cart__count {
	background: rgba(23, 101, 138, 0.12);
	color: var(--bh-text-soft);
}

/* ============================================================
   LANGUAGE DROPDOWN — override any dark Kadence styles
   ============================================================ */

.menu-item-language .sub-menu {
	background: rgba(255, 252, 248, 0.97) !important;
	border: 1.5px solid rgba(23, 101, 138, 0.12) !important;
	box-shadow: 0 16px 48px rgba(10, 50, 72, 0.14) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
}

.menu-item-language .sub-menu a {
	color: var(--bh-text) !important;
}

.menu-item-language .sub-menu a:hover,
.menu-item-language .sub-menu a:focus,
.menu-item-language .is-current-language a {
	background: rgba(15, 139, 203, 0.1) !important;
	color: var(--bh-accent-deep) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   DARK MODE — HEADER REBUILD
   Полная переработка хедера: чистый минималистичный navbar
   на тёмном фоне без крем-пилюль, с тонкой подсветкой active state.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Navigation menu items — без отдельных пилюль ────────────── */
.main-navigation .menu > li > a,
.mobile-navigation .menu > li > a {
	min-height: 44px !important;
	padding: 0 16px !important;
	border: 1px solid transparent !important;
	border-radius: 10px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: rgba(255, 255, 255, 0.78) !important;
	font-weight: 600 !important;
	font-size: 0.92rem !important;
	letter-spacing: 0.01em !important;
	backdrop-filter: none !important;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:focus,
.mobile-navigation .menu > li > a:hover,
.mobile-navigation .menu > li > a:focus {
	transform: none !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(255, 255, 255, 0.10) !important;
	color: var(--bh-white) !important;
	box-shadow: none !important;
}

/* ── Active page (current-menu-item) — тонкое голубое стекло ─── */
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current_page_item > a,
.mobile-navigation .menu > li.current-menu-item > a,
.mobile-navigation .menu > li.current_page_item > a {
	background: rgba(15, 139, 203, 0.16) !important;
	border-color: rgba(15, 139, 203, 0.32) !important;
	color: var(--bh-white) !important;
	box-shadow: none !important;
	font-weight: 700 !important;
}

/* ── Wholesale menu item — особый акцент ─────────────────────── */
.main-navigation .menu > li.menu-item-wholesale > a,
.mobile-navigation .menu > li.menu-item-wholesale > a {
	background: linear-gradient(135deg, rgba(15, 139, 203, 0.22), rgba(15, 139, 203, 0.10)) !important;
	border-color: rgba(15, 139, 203, 0.30) !important;
	color: var(--bh-white) !important;
	box-shadow: none !important;
}

.main-navigation .menu > li.menu-item-wholesale > a:hover,
.mobile-navigation .menu > li.menu-item-wholesale > a:hover {
	background: linear-gradient(135deg, rgba(15, 139, 203, 0.32), rgba(15, 139, 203, 0.16)) !important;
	border-color: rgba(15, 139, 203, 0.45) !important;
}

/* ── Скрыть нижнюю подсветку (::after линия) под ссылками ───── */
.main-navigation .menu > li > a::after,
.mobile-navigation .menu > li > a::after {
	display: none !important;
}

/* ── Language toggle — чистый dark glass ─────────────────────── */
.bh-language-toggle {
	min-width: 78px !important;
	min-height: 44px !important;
	padding: 0 14px !important;
	gap: 8px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	box-shadow: none !important;
	color: rgba(255, 255, 255, 0.82) !important;
	backdrop-filter: none !important;
}

.bh-language-toggle:hover,
.bh-language-toggle:focus,
.bh-language-toggle[aria-expanded="true"] {
	transform: none !important;
	background: rgba(255, 255, 255, 0.09) !important;
	border-color: rgba(255, 255, 255, 0.20) !important;
	box-shadow: none !important;
}

.bh-language-toggle__code {
	color: var(--bh-white) !important;
	font-size: 0.78rem !important;
}

.bh-language-toggle__caret {
	color: rgba(255, 255, 255, 0.55) !important;
}

/* ── Language dropdown — dark glass panel ────────────────────── */
.menu-item-language .sub-menu {
	background: rgba(7, 24, 39, 0.96) !important;
	border: 1px solid rgba(255, 255, 255, 0.10) !important;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55) !important;
	backdrop-filter: blur(20px) !important;
}

.menu-item-language .sub-menu::before {
	background: rgba(7, 24, 39, 0.96) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
	border-left: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.menu-item-language .sub-menu a {
	color: rgba(255, 255, 255, 0.78) !important;
	background: transparent !important;
	border: 0 !important;
}

.menu-item-language .sub-menu a:hover,
.menu-item-language .sub-menu a:focus,
.menu-item-language .is-current-language a {
	background: rgba(15, 139, 203, 0.18) !important;
	color: var(--bh-white) !important;
}

.bh-lang-name {
	color: rgba(255, 255, 255, 0.55) !important;
}

/* ── Cart trigger pill — dark ─────────────────────────────────── */
.bh-cart__trigger {
	min-height: 44px !important;
	padding: 0 16px !important;
	gap: 10px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	color: var(--bh-white) !important;
	box-shadow: none !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
}

.bh-cart__trigger:hover,
.bh-cart__trigger:focus,
.bh-cart.is-open .bh-cart__trigger {
	transform: none !important;
	background: rgba(255, 255, 255, 0.09) !important;
	border-color: rgba(255, 255, 255, 0.20) !important;
	box-shadow: none !important;
}

.bh-cart__icon {
	color: var(--bh-accent-strong) !important;
}

.bh-cart__subtotal {
	color: rgba(255, 255, 255, 0.55) !important;
}

/* ── Cart panel (dropdown) — dark glass ──────────────────────── */
.bh-cart__panel {
	background: rgba(7, 24, 39, 0.97) !important;
	border: 1px solid rgba(255, 255, 255, 0.10) !important;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55) !important;
	backdrop-filter: blur(20px) !important;
}

.bh-cart__panel-label {
	color: rgba(255, 255, 255, 0.45) !important;
}

.bh-cart__panel-total,
.bh-cart__panel-count {
	color: var(--bh-white) !important;
}

.bh-cart__panel-count {
	background: rgba(15, 139, 203, 0.18) !important;
}

.bh-cart__items .woocommerce-mini-cart-item {
	border-top-color: rgba(255, 255, 255, 0.07) !important;
}

.bh-cart__items .woocommerce-mini-cart-item a {
	color: rgba(255, 255, 255, 0.92) !important;
}

.bh-cart__items .quantity,
.bh-cart__items .total,
.bh-cart__items .woocommerce-mini-cart__empty-message {
	color: rgba(255, 255, 255, 0.62) !important;
}

/* ── Дополнительные общие панели на любой странице ───────────── */
.bh-panel,
.bh-card,
.bh-company-detail {
	background:
		radial-gradient(circle at top right, rgba(26, 160, 224, 0.06), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.30) !important;
}

/* WooCommerce / beerhabits buttons — перенесены в components.css */

/* ── Site footer (kadence default) — using custom .bh-site-footer instead ── */
/* .site-footer { display: none !important; } — removed, footer handled by bh-site-footer */


/* ═══════════════════════════════════════════════════════════════════
   DARK MODE — GLOBAL SAFETY NET
   Финальные правила для типовых классов и элементов,
   которые могли остаться со старыми хардкод цветами
   ═══════════════════════════════════════════════════════════════════ */

/* ── Section kicker (badge "BEERHABITS" над заголовками) ─────── */
.bh-section-kicker {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(255, 255, 255, 0.10) !important;
	color: var(--bh-accent-strong) !important;
	box-shadow: none !important;
	backdrop-filter: blur(8px);
}

/* ── Section title — белые заголовки + накладные ::before/::after */
.bh-section-title {
	color: var(--bh-white) !important;
}

/* ── Section intro paragraph ─────────────────────────────────── */
.bh-section-intro {
	color: rgba(255, 255, 255, 0.72) !important;
}

/* ── Eyebrow / overline текст ────────────────────────────────── */
.bh-eyebrow,
.bh-overline {
	color: var(--bh-accent-strong) !important;
}

/* ── Универсальные текстовые элементы — без хардкод цветов ──── */
body .content-area,
body .site-main {
	color: rgba(255, 255, 255, 0.82);
}

/* ── Контент страниц WP (page content) ───────────────────────── */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content blockquote,
.page-content,
.page-content p {
	color: rgba(255, 255, 255, 0.78);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
	color: var(--bh-white) !important;
}

.entry-content a,
.page-content a {
	color: var(--bh-accent-strong);
}

.entry-content a:hover,
.page-content a:hover {
	color: var(--bh-white);
}

/* ── Tables в контенте ───────────────────────────────────────── */
.entry-content table,
.entry-content th,
.entry-content td {
	border-color: rgba(255, 255, 255, 0.10);
	color: rgba(255, 255, 255, 0.82);
}

/* ── Code blocks ─────────────────────────────────────────────── */
.entry-content code,
.entry-content pre {
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── HR ──────────────────────────────────────────────────────── */
.entry-content hr,
.page-content hr {
	border-color: rgba(255, 255, 255, 0.10);
}

/* .bh-button-secondary — перенесено в components.css */

/* ── Mobile drawer (для гамбургер-меню на мобайле) ───────────── */
#mobile-drawer {
	background: rgba(7, 24, 39, 0.97) !important;
	color: rgba(255, 255, 255, 0.85);
}
#mobile-drawer a {
	color: rgba(255, 255, 255, 0.85) !important;
}
#mobile-drawer .drawer-toggle,
#mobile-drawer .menu-toggle-close {
	color: rgba(255, 255, 255, 0.85) !important;
}

/* ── Kadence menu toggle (mobile hamburger) ──────────────────── */
button.menu-toggle .menu-toggle-icon,
.drawer-toggle {
	color: rgba(255, 255, 255, 0.85) !important;
}
.menu-toggle-icon::before,
.menu-toggle-icon::after,
.menu-toggle-icon {
	background: rgba(255, 255, 255, 0.85) !important;
}

/* ── WooCommerce общие селекторы ─────────────────────────────── */
.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3 {
	color: var(--bh-white) !important;
}

.woocommerce .star-rating::before,
.woocommerce p.stars a::before {
	color: rgba(255, 255, 255, 0.20);
}

/* ── Всплывающие/модальные элементы ───────────────────────────── */
.bh-modal,
.bh-modal,
.bh-popup {
	background: rgba(7, 24, 39, 0.96) !important;
	color: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.10);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}


/* ═══════════════════════════════════════════════════════════════════
   HEADER LAYOUT — center menu, social icons, polish
   ═══════════════════════════════════════════════════════════════════ */

/* ── Layout: распределяем зоны хедера ────────────────────────── */
#main-header .site-main-header-inner-wrap,
#mobile-header .site-main-header-inner-wrap {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 24px;
	padding: 0 28px;
	max-width: 100%;
}

/* ── Меню-контейнер занимает всё свободное место и центрирует элементы */
#main-header .site-header-section--center,
#main-header .site-header-section--right,
#main-header .site-header-row-section-center,
#main-header .site-header-row-section-right {
	flex: 1;
}

/* ── Главное навигационное меню — центрируем элементы ────────── */
.main-navigation .menu {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 1;
	gap: 6px !important;
	padding: 0;
	margin: 0;
	list-style: none;
}

/* ── Меню-итемы группа: products/wholesale/delivery/contacts → центр */
/* Cart, social, language прижимаются к правому краю через margin-left: auto */
.main-navigation .menu > li.bh-menu-social {
	margin-left: auto;
}

/* ── Social icons block ──────────────────────────────────────── */
.bh-menu-social {
	list-style: none;
}
.bh-menu-social__row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.bh-menu-social__link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 38px !important;
	height: 38px !important;
	min-height: 38px !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.10) !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.04) !important;
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.bh-menu-social__link:hover,
.bh-menu-social__link:focus {
	background: rgba(255, 255, 255, 0.10) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
	color: var(--bh-white) !important;
	transform: translateY(-1px);
}
.bh-menu-social__link svg {
	display: block;
}

/* ── На мобильных и узких экранах — скрываем социалки чтобы не теснили ── */
@media (max-width: 1200px) {
	.bh-menu-social { display: none !important; }
}

/* ── Корзина и язык — прижать к правому краю ─────────────────── */
.main-navigation .menu > li.bh-menu-cart {
	margin-left: auto;
}

/* ── Логотип — оставить слева, не растягивать ────────────────── */
#main-header .site-branding,
#main-header .mobile-site-branding {
	flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════
   SECTION KICKERS — REDESIGN (минималистичные, элегантные)
   Убираем blur и пилюлю — теперь это accent line + текст
   ═══════════════════════════════════════════════════════════════════ */

.bh-section-kicker {
	display: inline-flex !important;
	align-items: center !important;
	gap: 14px !important;
	padding: 0 !important;
	margin: 0 0 22px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	color: var(--bh-accent-strong) !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
	position: relative;
}

.bh-section-kicker::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--bh-accent), var(--bh-accent-strong));
	flex-shrink: 0;
	border-radius: 999px;
}

.bh-section-kicker::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bh-accent-strong);
	box-shadow: 0 0 12px rgba(92, 197, 255, 0.55);
	margin-left: 2px;
	flex-shrink: 0;
}

/* Section title accent line — обновляем под новый kicker */
.bh-section-title::before {
	background: linear-gradient(180deg, var(--bh-accent-strong) 0%, var(--bh-accent) 100%) !important;
	box-shadow: 0 4px 16px rgba(15, 139, 203, 0.45) !important;
	width: 4px !important;
}

.bh-section-title::after {
	background: linear-gradient(90deg, rgba(92, 197, 255, 0.45), rgba(92, 197, 255, 0)) !important;
	width: 88px !important;
}


/* ═══════════════════════════════════════════════════════════════════
   BUTTONS — перенесены в assets/css/components.css
   ═══════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════

   ANNOUNCEMENT TOPBAR
   ═══════════════════════════════════════════════════════════════════ */

.bh-topbar {
	width: 100%;
	overflow: hidden;
	background: linear-gradient(90deg, #030e1a 0%, #071a2e 50%, #030e1a 100%);
	border-bottom: 1px solid rgba(15, 139, 203, 0.25);
	height: 36px;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 200;
}

.bh-topbar::before,
.bh-topbar::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100px;
	z-index: 2;
	pointer-events: none;
}
.bh-topbar::before { left: 0;  background: linear-gradient(90deg, #030e1a, transparent); }
.bh-topbar::after  { right: 0; background: linear-gradient(270deg, #030e1a, transparent); }

@keyframes bhTopbarScroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.bh-topbar__track {
	display: flex;
	align-items: center;
	white-space: nowrap;
	animation: bhTopbarScroll 30s linear infinite;
	will-change: transform;
}

.bh-topbar:hover .bh-topbar__track {
	animation-play-state: paused;
}

.bh-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.75);
	padding: 0 22px;
}

.bh-topbar__icon { font-size: 0.85rem; line-height: 1; }

.bh-topbar__sep {
	color: rgba(15, 139, 203, 0.50);
	font-size: 0.8rem;
}

@media (max-width: 768px) {
	.bh-topbar { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER REDESIGN — aurora, nav pills, neon border, CTA, logo
   ═══════════════════════════════════════════════════════════════════ */

/* Aurora glow behind the header */
#masthead,
.site-header {
	position: relative !important;
}

#masthead::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 140% at 50% -20%, rgba(15, 139, 203, 0.14) 0%, transparent 60%),
		radial-gradient(ellipse 30% 60% at 10% 50%, rgba(92, 197, 255, 0.06) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

/* Neon animated border at bottom */
@keyframes bhHeaderNeon {
	0%   { background-position: 0% 0%; }
	50%  { background-position: 100% 0%; }
	100% { background-position: 0% 0%; }
}

#masthead::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg,
		transparent 0%, #0a4f78 10%, var(--bh-accent-deep) 30%, var(--bh-accent-strong) 50%,
		var(--bh-accent-deep) 70%, #0a4f78 90%, transparent 100%
	);
	background-size: 300% 100%;
	animation: bhHeaderNeon 5s ease infinite;
	pointer-events: none;
	z-index: 2;
	box-shadow: 0 0 14px rgba(92, 197, 255, 0.40), 0 0 28px rgba(15, 139, 203, 0.18);
}

/* Scrolled state */
.bh-header--scrolled#masthead,
.bh-header--scrolled.site-header {
	background: rgba(3, 11, 20, 0.98) !important;
	backdrop-filter: blur(28px) !important;
	-webkit-backdrop-filter: blur(28px) !important;
	box-shadow:
		0 4px 36px rgba(0, 0, 0, 0.60),
		0 0 80px rgba(15, 139, 203, 0.07) !important;
}

/* ── Nav links — pill hover ────────────────────────────────────── */
.main-navigation .menu > li > a {
	position: relative !important;
	border-radius: 10px !important;
	padding: 8px 16px !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: rgba(255, 255, 255, 0.80) !important;
	letter-spacing: 0.01em !important;
	transition: color 0.2s ease, background 0.22s ease, box-shadow 0.2s ease !important;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:focus {
	color: var(--bh-white) !important;
	background: rgba(15, 139, 203, 0.15) !important;
	box-shadow: inset 0 0 0 1px rgba(92, 197, 255, 0.22) !important;
}

.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current_page_item > a {
	color: #7dd8ff !important;
	background: rgba(15, 139, 203, 0.13) !important;
	box-shadow: inset 0 0 0 1px rgba(92, 197, 255, 0.22) !important;
}

.main-navigation .menu > li > a::before {
	display: none !important;
}

/* ── CTA button — shimmer + glow pulse ────────────────────────── */
@keyframes bhCtaGlow {
	0%, 100% { box-shadow: 0 4px 16px rgba(15, 139, 203, 0.50), 0 0 0 0 rgba(15, 139, 203, 0); }
	50%       { box-shadow: 0 6px 28px rgba(15, 139, 203, 0.70), 0 0 0 4px rgba(15, 139, 203, 0.12); }
}

@keyframes bhCtaShimmer {
	0%   { background-position: 200% center; }
	100% { background-position: -200% center; }
}

.menu-item--cta > a {
	background: linear-gradient(135deg, #1daee8 0%, var(--bh-accent-deep) 35%, var(--bh-accent-strong) 55%, var(--bh-accent-deep) 80%, #0a71a8 100%) !important;
	background-size: 300% auto !important;
	border: 1px solid rgba(92, 197, 255, 0.40) !important;
	border-radius: 12px !important;
	padding: 10px 24px !important;
	font-weight: 800 !important;
	font-size: 0.85rem !important;
	letter-spacing: 0.03em !important;
	color: var(--bh-white) !important;
	animation: bhCtaGlow 2.8s ease-in-out infinite !important;
	transition: transform 0.18s ease, filter 0.18s ease !important;
}

.menu-item--cta > a:hover,
.menu-item--cta > a:focus {
	animation: bhCtaShimmer 1.2s linear infinite, bhCtaGlow 2.8s ease-in-out infinite !important;
	transform: translateY(-2px) scale(1.02) !important;
	filter: brightness(1.10) !important;
}

/* ── Logo — hover glow ─────────────────────────────────────────── */
a.custom-logo-link {
	transition: transform 0.25s ease, filter 0.25s ease !important;
	display: inline-flex !important;
}

a.custom-logo-link:hover {
	transform: scale(1.04) !important;
	filter: drop-shadow(0 0 16px rgba(92, 197, 255, 0.55)) !important;
}

/* ── Cart trigger ──────────────────────────────────────────────── */
.bh-cart__trigger {
	background: rgba(15, 139, 203, 0.10) !important;
	border: 1px solid rgba(92, 197, 255, 0.20) !important;
	border-radius: 12px !important;
	padding: 8px 14px !important;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s ease !important;
}

.bh-cart__trigger:hover {
	background: rgba(15, 139, 203, 0.22) !important;
	border-color: rgba(92, 197, 255, 0.42) !important;
	transform: translateY(-1px) !important;
}

/* Изображение — никаких pointer events, никаких трансформаций */
.woocommerce-product-gallery img,
.woocommerce-product-gallery__image img,
body.single-product img.wp-post-image {
	pointer-events: none !important;
	cursor: default !important;
	transform: none !important;
}

/* ============================================================
   BH 2026 reference header: glass capsule like screens/header.png
   ============================================================ */

/* .bh-topbar display:none removed — announcement bar is now enabled */

#masthead,
.site-header {
	position: sticky !important;
	top: 0;
	z-index: 1000 !important;
	padding: 10px clamp(16px, 2.4vw, 44px) 10px !important;
	background:
		linear-gradient(180deg, rgba(2, 9, 16, 0.98), rgba(3, 13, 23, 0.92)) !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

body.admin-bar #masthead {
	top: 32px;
}

#masthead::before,
#masthead::after {
	display: none !important;
}

#main-header .site-header-row-container-inner,
#mobile-header .site-header-row-container-inner {
	width: min(1800px, 100%) !important;
	margin: 0 auto !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 24px !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
		rgba(2, 9, 16, 0.64) !important;
	box-shadow:
		0 22px 60px rgba(0, 0, 0, 0.36),
		inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
	backdrop-filter: blur(24px) saturate(145%) !important;
	-webkit-backdrop-filter: blur(24px) saturate(145%) !important;
}

#main-header .site-main-header-inner-wrap,
#mobile-header .site-main-header-inner-wrap {
	min-height: 72px !important;
	padding: 0 clamp(16px, 1.7vw, 28px) !important;
	gap: clamp(14px, 2vw, 34px) !important;
}

.site-branding .custom-logo,
.mobile-site-branding .custom-logo {
	max-width: clamp(72px, 6.8vw, 104px) !important;
	max-height: 74px !important;
	filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28)) !important;
}

#main-header .site-header-section--center,
#main-header .site-header-section--right,
#main-header .site-header-row-section-center,
#main-header .site-header-row-section-right {
	min-width: 0;
}

.main-navigation .menu {
	gap: clamp(4px, 0.7vw, 12px) !important;
}

.main-navigation .menu > li.bh-has-dropdown {
	display: inline-flex !important;
	align-items: center !important;
	gap: 3px !important;
}

.main-navigation .menu > li.bh-has-dropdown > a {
	min-height: 42px !important;
}

.main-navigation .menu > li.bh-has-dropdown .bh-dropdown-toggle {
	min-height: 42px !important;
	color: rgba(255, 255, 255, 0.72) !important;
}

.main-navigation .menu > li > a {
	min-height: 42px !important;
	padding: 0 clamp(10px, 0.82vw, 15px) !important;
	border-radius: 12px !important;
	border: 1px solid transparent !important;
	background: transparent !important;
	color: rgba(255, 255, 255, 0.82) !important;
	font-size: clamp(0.86rem, 0.82vw, 0.98rem) !important;
	font-weight: 760 !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:focus {
	color: var(--bh-white) !important;
	background: rgba(255, 255, 255, 0.07) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	transform: translateY(-1px) !important;
}

body.home .main-navigation .menu > li.menu-item-home > a {
	position: relative;
	color: var(--bh-white) !important;
}

body.home .main-navigation .menu > li.menu-item-home > a::after {
	content: "";
	position: absolute;
	right: 16px;
	bottom: 7px;
	left: 16px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, #1fb6ee, #f4b34b);
	box-shadow: 0 0 14px rgba(31, 182, 238, 0.46);
}

.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current_page_item > a,
.main-navigation .menu > li.current-menu-ancestor > a,
.main-navigation .menu > li.current-menu-parent > a {
	color: #31c5ff !important;
	background: rgba(13, 121, 176, 0.18) !important;
	border-color: rgba(49, 197, 255, 0.18) !important;
	box-shadow: inset 0 -1px 0 rgba(49, 197, 255, 0.42) !important;
}

.main-navigation .menu > li.menu-item-wholesale > a,
.menu-item--cta > a {
	animation: none !important;
	background: rgba(255, 255, 255, 0.045) !important;
	color: rgba(255, 255, 255, 0.88) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	box-shadow: none !important;
}

.main-navigation .menu > li.menu-item-wholesale > a:hover,
.main-navigation .menu > li.menu-item-wholesale > a:focus,
.menu-item--cta > a:hover,
.menu-item--cta > a:focus {
	background: linear-gradient(135deg, rgba(31, 182, 238, 0.22), rgba(247, 163, 45, 0.14)) !important;
	color: var(--bh-white) !important;
	border-color: rgba(31, 182, 238, 0.34) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 10px 28px rgba(0, 0, 0, 0.18) !important;
}

.bh-menu-social__row {
	gap: 12px !important;
}

.bh-menu-search {
	margin-left: auto !important;
}

.bh-menu-account {
	margin-left: 0 !important;
}

.bh-menu-social__link,
.bh-header-search,
.bh-cart__trigger,
.bh-language-toggle {
	width: auto !important;
	min-width: 48px !important;
	min-height: 42px !important;
	border-radius: 13px !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	background: rgba(255, 255, 255, 0.055) !important;
	color: rgba(255, 255, 255, 0.88) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
}

.bh-menu-social__link {
	width: 42px !important;
	height: 42px !important;
	min-height: 42px !important;
	padding: 0 !important;
}

.bh-menu-social__link:hover,
.bh-menu-social__link:focus,
.bh-header-search:hover,
.bh-header-search:focus-within,
.bh-cart__trigger:hover,
.bh-cart__trigger:focus,
.bh-language-toggle:hover,
.bh-language-toggle:focus {
	background: rgba(255, 255, 255, 0.105) !important;
	border-color: rgba(255, 255, 255, 0.26) !important;
	color: var(--bh-white) !important;
	transform: translateY(-1px) !important;
}

.bh-cart__trigger {
	padding: 0 15px !important;
	gap: 10px !important;
	font-size: 0.94rem !important;
	font-weight: 800 !important;
}

.bh-cart__count {
	min-width: 24px !important;
	height: 24px !important;
	border-radius: 999px !important;
	background: #1fb6ee !important;
	color: var(--bh-white) !important;
	font-size: 0.78rem !important;
	box-shadow: 0 8px 18px rgba(31, 182, 238, 0.36) !important;
}

.bh-language-toggle {
	padding: 0 14px !important;
}

@media (max-width: 1200px) {
	#masthead,
	.site-header {
		padding-inline: 14px !important;
	}

	#main-header .site-main-header-inner-wrap,
	#mobile-header .site-main-header-inner-wrap {
		min-height: 68px !important;
	}

	.bh-menu-social {
		display: none !important;
	}

	.bh-header-search {
		width: 48px !important;
		min-width: 48px !important;
	}

	.bh-header-search:focus-within,
	.bh-header-search:hover {
		width: 180px !important;
	}

	.bh-header-search__input {
		opacity: 0;
		pointer-events: none;
	}

	.bh-header-search:focus-within .bh-header-search__input,
	.bh-header-search:hover .bh-header-search__input {
		opacity: 1;
		pointer-events: auto;
	}
}

@media (max-width: 768px) {
	#masthead,
	.site-header {
		padding: 10px 12px !important;
	}

	#main-header .site-header-row-container-inner,
	#mobile-header .site-header-row-container-inner {
		border-radius: 20px !important;
	}

	.site-branding .custom-logo,
	.mobile-site-branding .custom-logo {
		max-width: 62px !important;
		max-height: 62px !important;
	}
}

/* Ссылка-обёртка вокруг img в галерее — отключаем клик */
.woocommerce-product-gallery__image > a,
.woocommerce-product-gallery a {
	pointer-events: none !important;
	cursor: default !important;
}

/* ── Disable legacy dropdown panel: only #bh-cart-drawer is used ── */
.bh-cart__panel,
.bh-cart-panel {
	display: none !important;
}

/* ══════════════════════════════════════════════════════════════
