/* =====================================================================
   FB HEADER v1.5.0 — шапка, мегаменю, мобильное меню, корзина (V12)
   Прогрессивное улучшение поверх Flatsome. Скоуп: body.fbh-on
   ===================================================================== */

:root {
	--fbh-red: #e8183a;
	--fbh-red2: #ff4060;
	--fbh-gold: #c9a44e;
	--fbh-gold2: #e8c97a;
	--fbh-bg: #0a0a0c;
	--fbh-surface: #131316;
	--fbh-card: #181820;
	--fbh-txt: #f5f2ec;
	--fbh-txt2: #c9c4ba;
	--fbh-txt3: #8a857c;
	--fbh-line: rgba(201, 164, 78, .28);
	--fbh-line-soft: rgba(201, 164, 78, .16);
	--fbh-r-xl: 24px;
	--fbh-r-lg: 18px;
	--fbh-r-md: 14px;
	--fbh-r-sm: 10px;
	--fbh-ease: cubic-bezier(.22, .9, .22, 1);
	--fbh-spring: cubic-bezier(.34, 1.56, .64, 1);
	--fbh-font-display: "Cormorant Garamond", serif;
	--fbh-font-ui: "Montserrat", "Manrope", sans-serif;
}

/* =====================================================================
   1. ШАПКА — рестайл
   ===================================================================== */

body.fbh-header-on .header-wrapper {
	position: relative;
	border-bottom: 1px solid var(--fbh-line-soft);
	transition: background .3s var(--fbh-ease), box-shadow .3s var(--fbh-ease);
}

/* При скролле: стекло + тень */
html.fbh-scrolled body.fbh-header-on .header-wrapper,
body.fbh-header-on .header-wrapper.stuck {
	background: rgba(10, 10, 13, .82) !important;
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
	backdrop-filter: blur(18px) saturate(1.3);
	box-shadow: 0 10px 34px -18px rgba(0, 0, 0, .85);
	border-bottom-color: var(--fbh-line);
}

/* Пункты главного меню */
body.fbh-header-on .header-nav-main > li > a {
	position: relative;
	font-family: var(--fbh-font-ui) !important;
	font-weight: 600 !important;
	letter-spacing: .05em;
	transition: color .25s var(--fbh-ease);
}

body.fbh-header-on .header-nav-main > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 6px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--fbh-gold), var(--fbh-gold2));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s var(--fbh-ease);
	pointer-events: none;
}

body.fbh-header-on .header-nav-main > li > a:hover,
body.fbh-header-on .header-nav-main > li.fbh-mega-open > a,
body.fbh-header-on .header-nav-main > li.current-menu-item > a {
	color: var(--fbh-gold2) !important;
}

body.fbh-header-on .header-nav-main > li > a:hover::after,
body.fbh-header-on .header-nav-main > li.fbh-mega-open > a::after,
body.fbh-header-on .header-nav-main > li.current-menu-item > a::after {
	transform: scaleX(1);
}

/* Стрелка у пунктов с мегаменю */
.fbh-caret {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-left: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .55;
	transition: transform .3s var(--fbh-ease), opacity .25s;
	vertical-align: middle;
}

li.fbh-mega-open > a .fbh-caret {
	transform: rotate(-135deg) translateY(-2px);
	opacity: 1;
}

/* Бейдж корзины в шапке */
body.fbh-header-on .header .cart-icon strong,
body.fbh-header-on .header [data-icon-label]::after {
	background: linear-gradient(135deg, var(--fbh-gold), var(--fbh-gold2)) !important;
	color: #17130a !important;
	font-family: var(--fbh-font-ui) !important;
	font-weight: 800 !important;
	border: 0 !important;
	box-shadow: 0 2px 10px rgba(201, 164, 78, .45);
}

/* Умная липкая шапка (fbh-stick ставится скриптом) */
html.fbh-stick body.fbh-header-on .header-wrapper {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 89;
	background: rgba(10, 10, 13, .86) !important;
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
	backdrop-filter: blur(18px) saturate(1.3);
	box-shadow: 0 10px 34px -18px rgba(0, 0, 0, .9);
	border-bottom: 1px solid var(--fbh-line);
	transform: translateY(0);
	transition: transform .35s var(--fbh-ease);
	animation: fbh-stick-in .35s var(--fbh-ease);
}

@keyframes fbh-stick-in {
	from { transform: translateY(-100%); }
	to   { transform: translateY(0); }
}

html.fbh-stick-hidden body.fbh-header-on .header-wrapper {
	transform: translateY(-105%);
	box-shadow: none;
}

/* Компактный режим в липком состоянии */
html.fbh-stick body.fbh-header-on .header-top { display: none !important; }

html.fbh-stick body.fbh-header-on .header-main {
	height: auto !important;
	min-height: 58px !important;
}

html.fbh-stick body.fbh-header-on .header-main .flex-row {
	min-height: 58px !important;
	height: 58px !important;
}

.fbh-header-spacer {
	height: 0;
	transition: none;
}

/* Пульс бейджа при добавлении */
@keyframes fbh-pulse {
	0%   { transform: scale(1); }
	35%  { transform: scale(1.35); }
	100% { transform: scale(1); }
}

.header .cart-item.fbh-pulse .cart-icon,
.header .cart-item.fbh-pulse .header-cart-icon,
.header .cart-item.fbh-pulse i[data-icon-label] {
	animation: fbh-pulse .55s var(--fbh-spring);
}

/* Летящая в корзину картинка */
.fbh-fly {
	position: fixed;
	z-index: 100000;
	border-radius: 50%;
	object-fit: cover;
	pointer-events: none;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .5), 0 0 0 2px var(--fbh-line);
	transition:
		transform .75s cubic-bezier(.45, -.05, .6, 1),
		opacity .75s ease,
		width .75s ease,
		height .75s ease;
}

/* =====================================================================
   2. МЕГАМЕНЮ (десктоп)
   ===================================================================== */

.fbh-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 60;
	display: none;
	background: rgba(16, 16, 20, .96);
	-webkit-backdrop-filter: blur(22px) saturate(1.25);
	backdrop-filter: blur(22px) saturate(1.25);
	border-top: 1px solid var(--fbh-line-soft);
	border-bottom: 1px solid var(--fbh-line);
	border-radius: 0 0 var(--fbh-r-xl) var(--fbh-r-xl);
	box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .85);
	overflow: hidden;
}

.fbh-mega.fbh-open {
	display: block;
	animation: fbh-mega-in .28s var(--fbh-ease) both;
}

@keyframes fbh-mega-in {
	from { opacity: 0; transform: translateY(-10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.fbh-mega__head {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 1220px;
	margin: 0 auto;
	padding: 20px 30px 0;
}

.fbh-mega__head-emoji { font-size: 26px; line-height: 1; }

.fbh-mega__head-name {
	font-family: var(--fbh-font-display);
	font-size: 28px;
	font-weight: 600;
	color: var(--fbh-txt);
	line-height: 1;
}

.fbh-mega__head-all { margin-left: auto; }

.fbh-mega__inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 18px 30px 20px;
	display: grid;
	grid-template-columns: 230px 1fr 230px;
	gap: 32px;
}

.fbh-mega__inner.fbh-no-kids {
	grid-template-columns: 1fr 230px;
}

.fbh-mega__side {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-content: start;
}

.fbh-mega__side .fbh-wow-card { width: 100%; min-height: 84px; }

.fbh-mega__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 30px 22px;
	border-top: 1px solid var(--fbh-line-soft);
	padding-top: 16px;
}

/* Заголовок-надпись колонки */
.fbh-eyebrow {
	font-family: var(--fbh-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fbh-gold);
	margin: 0 0 14px;
}

/* Колонка подкатегорий */
.fbh-mega__cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	margin: 0 -12px;
	border-radius: var(--fbh-r-sm);
	font-family: var(--fbh-font-ui);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--fbh-txt2);
	transition: background .2s var(--fbh-ease), color .2s, transform .2s var(--fbh-ease);
}

.fbh-mega__cats a:hover {
	background: rgba(201, 164, 78, .10);
	color: var(--fbh-txt);
	transform: translateX(4px);
}

.fbh-mega__cats .fbh-count {
	font-size: 11px;
	font-weight: 600;
	color: var(--fbh-txt3);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 999px;
	padding: 1px 8px;
	min-width: 26px;
	text-align: center;
}

.fbh-mega__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-family: var(--fbh-font-ui);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .03em;
	color: var(--fbh-gold2) !important;
	transition: gap .25s var(--fbh-ease);
}

.fbh-mega__all:hover { gap: 11px; }

/* Витрина товаров */
.fbh-mega__products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-content: start;
}

.fbh-pcard {
	display: block;
	background: var(--fbh-card);
	border: 1px solid var(--fbh-line-soft);
	border-radius: var(--fbh-r-lg);
	padding: 10px;
	transition: transform .25s var(--fbh-ease), border-color .25s, box-shadow .25s;
}

.fbh-pcard:hover {
	transform: translateY(-4px);
	border-color: var(--fbh-line);
	box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8);
}

.fbh-pcard__imgwrap {
	position: relative;
	display: block;
	margin: 0 0 9px;
	border-radius: var(--fbh-r-md);
	overflow: hidden;
}

.fbh-pcard__imgwrap img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	margin: 0;
	transition: transform .4s var(--fbh-ease);
}

.fbh-pcard:hover .fbh-pcard__imgwrap img { transform: scale(1.06); }

.fbh-pcard__tag {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	font-family: var(--fbh-font-ui);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .02em;
	color: #fff;
	background: linear-gradient(135deg, var(--fbh-red2), #b0122c);
	border-radius: 999px;
	padding: 4px 9px;
	box-shadow: 0 4px 12px rgba(232, 24, 58, .45);
}

.fbh-pcard img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--fbh-r-md);
	display: block;
	margin: 0 0 9px;
}

.fbh-pcard__imgwrap img { border-radius: 0; margin: 0; }

.fbh-pcard__title {
	font-family: var(--fbh-font-ui);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--fbh-txt2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
	margin-bottom: 6px;
}

.fbh-pcard__price,
.fbh-pcard__price .amount {
	font-family: var(--fbh-font-ui);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--fbh-gold2) !important;
}

@media (max-width: 1100px) {
	.fbh-mega__inner { grid-template-columns: 210px 1fr; }
	.fbh-mega__side { display: none; }
	.fbh-mega__inner.fbh-no-kids { grid-template-columns: 1fr; }
}

.fbh-btn-gold {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 36px !important;
	min-height: 36px !important;
	padding: 0 16px !important;
	border-radius: var(--fbh-r-sm) !important;
	background: rgba(201, 164, 78, .14) !important;
	border: 1px solid rgba(201, 164, 78, .30) !important;
	color: var(--fbh-gold2) !important;
	font-family: var(--fbh-font-ui) !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	letter-spacing: .02em !important;
	line-height: 1 !important;
	text-transform: none !important;
	transition: background .25s var(--fbh-ease), border-color .25s;
	align-self: flex-start;
}

.fbh-btn-gold:hover {
	background: rgba(201, 164, 78, .24) !important;
	border-color: rgba(201, 164, 78, .5) !important;
	color: var(--fbh-gold2) !important;
}

@media (max-width: 849px) {
	.fbh-mega { display: none !important; }
}

/* =====================================================================
   3. МОБИЛЬНОЕ МЕНЮ-DRAWER
   ===================================================================== */

.fbh-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(5, 5, 8, .62);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s var(--fbh-ease);
}

.fbh-backdrop.fbh-show {
	opacity: 1;
	pointer-events: auto;
}

.fbh-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	width: min(86vw, 380px);
	display: flex;
	flex-direction: column;
	background: linear-gradient(175deg, #121218, #0c0c10 70%);
	border-right: 1px solid var(--fbh-line);
	border-radius: 0 var(--fbh-r-xl) var(--fbh-r-xl) 0;
	box-shadow: 30px 0 70px -30px rgba(0, 0, 0, .9);
	transform: translateX(-106%);
	transition: transform .42s var(--fbh-spring);
	overflow: hidden;
	touch-action: pan-y;
}

.fbh-drawer.fbh-show { transform: translateX(0); }

html.fbh-lock,
html.fbh-lock body { overflow: hidden !important; }

/* Шапка drawer */
.fbh-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 18px 12px;
}

.fbh-drawer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1;
	min-width: 0;
}

.fbh-logo-mark { display: block; flex: 0 0 auto; }

.fbh-logo-mark .fbh-logo-svg,
.fbh-logo-img {
	display: block;
	width: 42px;
	height: 52px;
	object-fit: contain;
	color: var(--fbh-red2);
	filter: drop-shadow(0 4px 14px rgba(232, 24, 58, .35));
}

.fbh-drawer__brandtxt {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.fbh-drawer__brandtxt b {
	font-family: var(--fbh-font-display);
	font-size: 16px;
	font-weight: 600;
	color: var(--fbh-txt);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: .01em;
}

.fbh-drawer__brandtxt i {
	font-style: normal;
	font-family: var(--fbh-font-ui);
	font-size: 10.5px;
	font-weight: 500;
	color: var(--fbh-txt3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* монохромные иконки плиток */
.fbh-tile__icon svg {
	width: 18px;
	height: 18px;
	display: block;
	color: var(--fbh-gold2);
	opacity: .9;
}

.fbh-iconbtn {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .05) !important;
	border: 1px solid rgba(255, 255, 255, .1) !important;
	color: var(--fbh-txt2) !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: background .25s, color .25s, transform .25s var(--fbh-ease);
}

.fbh-iconbtn:hover {
	background: rgba(201, 164, 78, .14) !important;
	color: var(--fbh-gold2) !important;
}

.fbh-iconbtn:active { transform: scale(.92); }

.fbh-iconbtn svg { width: 17px; height: 17px; display: block; }

/* Поиск */
.fbh-drawer__search { padding: 0 18px 14px; }

.fbh-drawer__search form {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	height: 44px;
	padding: 0 6px 0 15px;
	background: rgba(255, 255, 255, .05) !important;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 999px;
	transition: border-color .25s;
}

.fbh-drawer__search form:focus-within { border-color: var(--fbh-line); }

.fbh-drawer__search svg {
	width: 16px;
	height: 16px;
	color: var(--fbh-txt3);
	flex: 0 0 auto;
}

.fbh-drawer__search input[type="search"] {
	flex: 1;
	height: 40px !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--fbh-txt) !important;
	font-family: var(--fbh-font-ui);
	font-size: 16px !important;
	padding: 0 !important;
	margin: 0;
}

.fbh-drawer__search input[type="search"]::placeholder { color: var(--fbh-txt3); }

.fbh-drawer__search button {
	height: 32px !important;
	min-height: 32px !important;
	padding: 0 14px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--fbh-red), #b0122c) !important;
	color: #fff !important;
	font-family: var(--fbh-font-ui) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-transform: none !important;
	margin: 0 !important;
	cursor: pointer;
}

/* Область панелей (стек уровней) */
.fbh-drawer__viewport {
	position: relative;
	flex: 1;
	overflow: hidden;
}

.fbh-panel {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 4px 18px 20px;
	transition: transform .38s var(--fbh-spring), opacity .3s var(--fbh-ease);
}

.fbh-panel--root.fbh-pushed {
	transform: translateX(-18%);
	opacity: .25;
	pointer-events: none;
}

.fbh-panel--sub {
	transform: translateX(105%);
	background: linear-gradient(175deg, rgba(20, 20, 26, .93), rgba(11, 11, 15, .96) 70%);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	backdrop-filter: blur(16px) saturate(1.2);
	border-left: 1px solid var(--fbh-line-soft);
	box-shadow: -22px 0 44px -20px rgba(0, 0, 0, .85);
	z-index: 2;
}

.fbh-panel--sub.fbh-show { transform: translateX(0); }

/* Плитки быстрых действий */
.fbh-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 9px;
	margin: 4px 0 16px;
}

.fbh-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 82px;
	padding: 12px 4px 10px !important;
	border-radius: var(--fbh-r-lg) !important;
	background: linear-gradient(165deg, #1a1a21, #101015) !important;
	border: 1px solid var(--fbh-line-soft) !important;
	overflow: hidden;
	transition: transform .25s var(--fbh-spring), border-color .25s, box-shadow .25s;
}

.fbh-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(130px 70px at 50% -25%, rgba(232, 201, 122, .16), transparent 70%);
	pointer-events: none;
}

.fbh-tile:active { transform: scale(.93); }

.fbh-tile:hover {
	border-color: var(--fbh-line) !important;
	box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.fbh-tile__emoji {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	line-height: 1;
	border-radius: 50%;
	background: rgba(201, 164, 78, .10);
	border: 1px solid rgba(201, 164, 78, .26);
	box-shadow: inset 0 0 12px rgba(232, 201, 122, .08);
}

.fbh-tile__label {
	font-family: var(--fbh-font-ui) !important;
	font-size: 10.5px !important;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--fbh-txt2);
	text-align: center;
	line-height: 1.2;
}

.fbh-tile:hover .fbh-tile__label { color: var(--fbh-txt); }

/* Быстрые чипы (горизонтальная лента) */
.fbh-chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	margin: 0 -18px 18px;
	padding: 2px 18px 6px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.fbh-chips::-webkit-scrollbar { display: none; }

.fbh-chips--wrap {
	flex-wrap: wrap;
	overflow: visible;
	margin: 0 0 14px;
	padding: 0;
}

.fbh-chip {
	flex: 0 0 auto;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px;
	height: 34px !important;
	min-height: 34px !important;
	padding: 0 13px !important;
	border-radius: 999px !important;
	background: rgba(201, 164, 78, .10) !important;
	border: 1px solid rgba(201, 164, 78, .26) !important;
	color: var(--fbh-gold2) !important;
	font-family: var(--fbh-font-ui) !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background .25s, border-color .25s, transform .2s var(--fbh-ease);
}

.fbh-chip:active { transform: scale(.94); }

.fbh-chip:hover {
	background: rgba(201, 164, 78, .2) !important;
	border-color: rgba(201, 164, 78, .5) !important;
	color: var(--fbh-gold2) !important;
}

.fbh-chip--hot {
	background: linear-gradient(135deg, rgba(232, 24, 58, .18), rgba(201, 164, 78, .18)) !important;
	border-color: rgba(201, 164, 78, .45) !important;
	color: var(--fbh-txt) !important;
}

.fbh-chip__emoji { font-size: 14px; }

.fbh-chip__count {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--fbh-txt3);
	background: rgba(255, 255, 255, .06);
	border-radius: 999px;
	padding: 3px 7px;
}

/* Баннер ближайшего праздника */
.fbh-holiday {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	margin: 0 0 12px;
	border-radius: var(--fbh-r-lg);
	background:
		radial-gradient(140px 70px at 90% -20%, rgba(232, 201, 122, .16), transparent 70%),
		linear-gradient(165deg, #1a1a21, #101015);
	border: 1px solid var(--fbh-line-soft);
	transition: border-color .25s, transform .2s var(--fbh-ease);
}

.fbh-holiday:active { transform: scale(.97); }
.fbh-holiday:hover { border-color: var(--fbh-line); }

.fbh-holiday--hot {
	background:
		radial-gradient(160px 80px at 90% -20%, rgba(232, 201, 122, .22), transparent 70%),
		linear-gradient(160deg, rgba(232, 24, 58, .24), rgba(201, 164, 78, .14) 60%, #101015);
	border-color: rgba(201, 164, 78, .45);
}

.fbh-holiday__emoji { font-size: 24px; line-height: 1; flex: 0 0 auto; }

.fbh-holiday__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.fbh-holiday__body b {
	font-family: var(--fbh-font-ui);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--fbh-txt);
	line-height: 1.2;
}

.fbh-holiday__body i {
	font-style: normal;
	font-family: var(--fbh-font-ui);
	font-size: 11px;
	color: var(--fbh-txt3);
}

.fbh-holiday__days {
	flex: 0 0 auto;
	font-family: var(--fbh-font-ui);
	font-size: 11px;
	font-weight: 700;
	color: var(--fbh-gold2);
	background: rgba(201, 164, 78, .12);
	border: 1px solid rgba(201, 164, 78, .3);
	border-radius: 999px;
	padding: 6px 11px;
	white-space: nowrap;
}

/* WOW-подборки: горизонтальная лента карточек */
.fbh-wow {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	margin: 0 -18px 20px;
	padding: 2px 18px 6px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.fbh-wow::-webkit-scrollbar { display: none; }

.fbh-wow-card {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 2px;
	width: 148px;
	min-height: 92px;
	padding: 12px 13px;
	border-radius: var(--fbh-r-lg);
	background:
		radial-gradient(120px 70px at 85% -15%, rgba(232, 201, 122, .18), transparent 70%),
		linear-gradient(165deg, #1b1b22, #101015);
	border: 1px solid var(--fbh-line-soft);
	overflow: hidden;
	transition: transform .25s var(--fbh-spring), border-color .25s, box-shadow .25s;
}

.fbh-wow-card:active { transform: scale(.95); }

.fbh-wow-card:hover {
	border-color: var(--fbh-line);
	box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .85);
}

.fbh-wow-card--hot {
	background:
		radial-gradient(140px 80px at 85% -15%, rgba(232, 201, 122, .25), transparent 70%),
		linear-gradient(160deg, rgba(232, 24, 58, .28), rgba(201, 164, 78, .16) 60%, #101015);
	border-color: rgba(201, 164, 78, .45);
}

.fbh-wow-card__emoji {
	position: absolute;
	top: 10px;
	right: 12px;
	font-size: 22px;
	line-height: 1;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
}

.fbh-wow-card__label {
	font-family: var(--fbh-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--fbh-txt);
	line-height: 1.2;
}

.fbh-wow-card__sub {
	font-family: var(--fbh-font-ui);
	font-size: 10.5px;
	font-weight: 500;
	color: var(--fbh-txt3);
	line-height: 1.25;
}

/* Строки категорий */
.fbh-row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 9px 10px;
	margin: 0 -10px;
	border-radius: var(--fbh-r-md);
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
	transition: background .2s var(--fbh-ease);
}

.fbh-row:hover,
.fbh-row:active { background: rgba(255, 255, 255, .045); }

.fbh-row__emoji {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	border-radius: 50%;
	background: rgba(201, 164, 78, .10);
	border: 1px solid var(--fbh-line-soft);
}

.fbh-row__name {
	flex: 1;
	font-family: var(--fbh-font-ui);
	font-size: 14px;
	font-weight: 600;
	color: var(--fbh-txt);
	line-height: 1.25;
}

.fbh-row__count {
	font-family: var(--fbh-font-ui) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	color: var(--fbh-txt3);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 999px;
	padding: 5px 9px !important;
	flex: 0 0 auto;
}

.fbh-row__chev {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-right: 1.5px solid var(--fbh-txt3);
	border-top: 1.5px solid var(--fbh-txt3);
	transform: rotate(45deg);
	margin-right: 3px;
}

/* Список инфо-ссылок */
.fbh-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 10px;
	margin: 0 -10px;
	border-radius: var(--fbh-r-sm);
	font-family: var(--fbh-font-ui);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--fbh-txt2);
	transition: background .2s, color .2s;
}

.fbh-links a:hover { background: rgba(255, 255, 255, .045); color: var(--fbh-txt); }

/* Подуровень: кнопка "назад" и заголовок */
.fbh-sub__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0 12px;
}

.fbh-sub__title {
	font-family: var(--fbh-font-display);
	font-size: 24px;
	font-weight: 600;
	color: var(--fbh-txt);
	line-height: 1.1;
}

.fbh-sub__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	margin: 2px 0 12px;
	border-radius: var(--fbh-r-md);
	background: rgba(201, 164, 78, .10);
	border: 1px solid var(--fbh-line-soft);
	font-family: var(--fbh-font-ui);
	font-size: 13px;
	font-weight: 700;
	color: var(--fbh-gold2) !important;
}

/* Футер drawer */
.fbh-drawer__foot {
	padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--fbh-line-soft);
	background: rgba(10, 10, 13, .6);
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.fbh-btn-primary {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: var(--fbh-r-md) !important;
	background: linear-gradient(135deg, var(--fbh-red2), var(--fbh-red) 55%, #b0122c) !important;
	color: #fff !important;
	font-family: var(--fbh-font-ui) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: .02em !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: 0 10px 26px -12px rgba(232, 24, 58, .65);
	transition: transform .25s var(--fbh-ease), box-shadow .25s, filter .25s;
	position: relative;
	overflow: hidden;
}

.fbh-btn-primary:hover {
	filter: brightness(1.08);
	color: #fff !important;
	box-shadow: 0 14px 30px -12px rgba(232, 24, 58, .8);
}

.fbh-btn-primary:active { transform: scale(.98); }

.fbh-btn-primary::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -70%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
	transform: skewX(-18deg);
	transition: left .6s var(--fbh-ease);
	pointer-events: none;
}

.fbh-btn-primary:hover::after { left: 130%; }

.fbh-drawer__contacts {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.fbh-drawer__addr {
	font-family: var(--fbh-font-ui);
	font-size: 11.5px;
	line-height: 1.4;
	color: var(--fbh-txt3);
}

.fbh-socials { display: flex; gap: 8px; }

/* ---------- Живой поиск ---------- */

.fbh-hide { display: none !important; }

.fbh-search-out { animation: fbh-fade .25s var(--fbh-ease) both; }

@keyframes fbh-fade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

.fbh-sr {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 9px 10px;
	margin: 0 -10px;
	border-radius: var(--fbh-r-md);
	transition: background .2s var(--fbh-ease);
}

.fbh-sr:hover,
.fbh-sr:active { background: rgba(255, 255, 255, .045); }

.fbh-sr img {
	width: 46px !important;
	height: 46px !important;
	flex: 0 0 46px;
	object-fit: cover;
	border-radius: var(--fbh-r-sm);
	border: 1px solid var(--fbh-line-soft);
}

.fbh-sr__body { flex: 1; min-width: 0; }

.fbh-sr__title {
	display: block;
	font-family: var(--fbh-font-ui);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fbh-txt);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fbh-sr__price,
.fbh-sr__price .amount {
	font-family: var(--fbh-font-ui) !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	color: var(--fbh-gold2) !important;
}

.fbh-search-empty {
	text-align: center;
	padding: 26px 10px;
	font-family: var(--fbh-font-ui);
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--fbh-txt2);
}

.fbh-search-empty a { color: var(--fbh-gold2) !important; font-weight: 700; }

/* Скелетон загрузки */
.fbh-sr--skel { pointer-events: none; }

.fbh-skel {
	display: block;
	border-radius: 8px;
	background: linear-gradient(100deg, rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, .12) 50%, rgba(255, 255, 255, .05) 65%);
	background-size: 240% 100%;
	animation: fbh-shimmer 1.1s linear infinite;
}

.fbh-skel--img { width: 46px; height: 46px; flex: 0 0 46px; border-radius: var(--fbh-r-sm); }
.fbh-skel-col { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.fbh-skel--l1 { width: 78%; height: 12px; }
.fbh-skel--l2 { width: 40%; height: 11px; }

@keyframes fbh-shimmer {
	from { background-position: 120% 0; }
	to   { background-position: -120% 0; }
}

/* Тонкий скроллбар панелей */
.fbh-panel { scrollbar-width: thin; scrollbar-color: rgba(201, 164, 78, .3) transparent; }
.fbh-panel::-webkit-scrollbar { width: 4px; }
.fbh-panel::-webkit-scrollbar-thumb { background: rgba(201, 164, 78, .3); border-radius: 4px; }
.fbh-panel::-webkit-scrollbar-track { background: transparent; }

/* Появление содержимого с каскадом */
.fbh-stagger > * {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .4s var(--fbh-ease), transform .45s var(--fbh-ease);
}

.fbh-drawer.fbh-show .fbh-stagger > * {
	opacity: 1;
	transform: none;
}

.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(1)  { transition-delay: .05s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(2)  { transition-delay: .09s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(3)  { transition-delay: .13s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(4)  { transition-delay: .17s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(5)  { transition-delay: .21s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(6)  { transition-delay: .25s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(7)  { transition-delay: .29s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(8)  { transition-delay: .33s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(9)  { transition-delay: .37s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(10) { transition-delay: .41s; }
.fbh-drawer.fbh-show .fbh-stagger > *:nth-child(n+11) { transition-delay: .45s; }

@media (min-width: 850px) {
	.fbh-drawer,
	.fbh-backdrop { display: none !important; }
}

/* =====================================================================
   4. КОРЗИНА (off-canvas) — редизайн
   ===================================================================== */

/* Панель */
body.fbh-cart-on .off-canvas .mfp-content.off-canvas-cart {
	--drawer-width: min(440px, 100vw);
	height: 100% !important;
	background: linear-gradient(175deg, #121218, #0c0c10 70%) !important;
	border-left: 1px solid var(--fbh-line);
	box-shadow: -30px 0 70px -30px rgba(0, 0, 0, .9);
}

body.fbh-cart-on #cart-popup {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

@media (max-width: 549px) {
	body.fbh-cart-on .off-canvas .mfp-content.off-canvas-cart {
		--drawer-width: 100%;
		border-left: 0;
	}
}

/* Кнопка закрытия mfp */
body.fbh-cart-on .off-canvas-cart .mfp-close,
body.fbh-cart-on .off-canvas .mfp-close {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	line-height: 38px !important;
	padding: 0 !important;
	top: 16px !important;
	right: 16px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .05) !important;
	border: 1px solid var(--fbh-line-soft) !important;
	color: var(--fbh-txt2) !important;
	font-size: 20px !important;
	font-family: var(--fbh-font-ui) !important;
	opacity: 1 !important;
	transition: background .25s, color .25s, transform .25s var(--fbh-ease);
}

body.fbh-cart-on .off-canvas-cart .mfp-close:hover {
	background: rgba(232, 24, 58, .18) !important;
	color: #fff !important;
	transform: rotate(90deg);
}

/* Внутренняя раскладка: липкий футер */
body.fbh-cart-on #cart-popup .cart-popup-inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 18px 20px 0 !important;
}

/* Заголовок */
body.fbh-cart-on #cart-popup .cart-popup-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 2px 44px 14px;
	margin: 0 0 4px;
	border-bottom: 1px solid var(--fbh-line-soft);
	font-family: var(--fbh-font-display);
	font-size: 27px;
	font-weight: 600;
	color: var(--fbh-txt);
	text-transform: none;
	line-height: 1.1;
}

body.fbh-cart-on #cart-popup .cart-popup-title > :not(.fbh-cart-count) {
	font-family: var(--fbh-font-display) !important;
	font-size: 27px !important;
	font-weight: 600 !important;
	letter-spacing: .02em !important;
	text-transform: none !important;
	color: var(--fbh-txt) !important;
	margin: 0 !important;
	line-height: 1.1;
}

.fbh-cart-count {
	font-family: var(--fbh-font-ui) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #17130a !important;
	background: linear-gradient(135deg, var(--fbh-gold), var(--fbh-gold2));
	border-radius: 999px !important;
	min-width: 26px !important;
	width: auto !important;
	height: 26px !important;
	max-height: 26px !important;
	padding: 0 9px !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto;
	transform: translateY(1px);
	box-shadow: 0 2px 10px rgba(201, 164, 78, .4);
}

/* Список товаров */
body.fbh-cart-on #cart-popup ul.woocommerce-mini-cart {
	flex: 1;
	margin: 0;
}

body.fbh-cart-on #cart-popup li.mini_cart_item {
	position: relative;
	display: block;
	padding: 15px 0 !important;
	border-top: 0 !important;
	overflow: hidden;
	transition: opacity .3s var(--fbh-ease), transform .3s var(--fbh-ease);
}

body.fbh-cart-on #cart-popup li.mini_cart_item + li.mini_cart_item {
	border-top: 1px solid var(--fbh-line-soft) !important;
}

/* Каскадное появление при открытии */
body.fbh-cart-on .fbh-cart-ready li.mini_cart_item {
	animation: fbh-item-in .45s var(--fbh-ease) both;
}

body.fbh-cart-on .fbh-cart-ready li.mini_cart_item:nth-child(1) { animation-delay: .06s; }
body.fbh-cart-on .fbh-cart-ready li.mini_cart_item:nth-child(2) { animation-delay: .13s; }
body.fbh-cart-on .fbh-cart-ready li.mini_cart_item:nth-child(3) { animation-delay: .20s; }
body.fbh-cart-on .fbh-cart-ready li.mini_cart_item:nth-child(4) { animation-delay: .27s; }
body.fbh-cart-on .fbh-cart-ready li.mini_cart_item:nth-child(n+5) { animation-delay: .34s; }

@keyframes fbh-item-in {
	from { opacity: 0; transform: translateX(26px); }
	to   { opacity: 1; transform: none; }
}

/* Удаление */
body.fbh-cart-on #cart-popup li.mini_cart_item.fbh-removing {
	opacity: 0;
	transform: translateX(-30px) scale(.96);
}

/* Ссылка товара: картинка + название (сетка 76px / текст) */
body.fbh-cart-on #cart-popup li.mini_cart_item > a:not(.remove) {
	display: grid !important;
	grid-template-columns: 76px minmax(0, 1fr);
	column-gap: 14px;
	align-items: start;
	margin: 0 !important;
	padding: 0 36px 0 0 !important;
	color: var(--fbh-txt) !important;
	font-family: var(--fbh-font-ui);
	font-size: 13.5px !important;
	font-weight: 600;
	line-height: 1.35 !important;
	overflow: visible !important;
	white-space: normal !important;
	text-overflow: clip !important;
}

body.fbh-cart-on #cart-popup .fbh-item-name {
	grid-column: 2;
	display: block;
	padding-top: 3px;
	min-width: 0;
	word-break: break-word;
}

body.fbh-cart-on #cart-popup li.mini_cart_item img {
	width: 76px !important;
	height: 76px !important;
	max-width: 76px !important;
	flex: 0 0 76px;
	object-fit: cover;
	border-radius: var(--fbh-r-md);
	border: 1px solid var(--fbh-line-soft);
	float: none !important;
	margin: 0 !important;
	transition: transform .3s var(--fbh-ease);
}

body.fbh-cart-on #cart-popup li.mini_cart_item > a:not(.remove):hover img {
	transform: scale(1.04);
}

/* Атрибуты вариаций и ряд количества — с отступом под колонку текста */
body.fbh-cart-on #cart-popup li.mini_cart_item dl.variation {
	margin: 6px 0 0 90px !important;
	font-size: 11.5px;
	color: var(--fbh-txt3);
}

/* Кнопка удаления */
body.fbh-cart-on #cart-popup a.remove_from_cart_button {
	position: absolute !important;
	top: 15px;
	right: 0;
	width: 30px !important;
	height: 30px !important;
	line-height: 28px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .05) !important;
	border: 1px solid rgba(255, 255, 255, .1) !important;
	color: var(--fbh-txt3) !important;
	font-size: 17px !important;
	text-align: center;
	transition: background .25s, color .25s, transform .25s var(--fbh-ease);
	z-index: 2;
}

body.fbh-cart-on #cart-popup a.remove_from_cart_button:hover {
	background: rgba(232, 24, 58, .16) !important;
	border-color: rgba(232, 24, 58, .4) !important;
	color: var(--fbh-red2) !important;
	transform: rotate(90deg);
}

/* Ряд количества и суммы */
body.fbh-cart-on #cart-popup .ux-mini-cart-qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin: 9px 0 0 90px;
}

@media (max-width: 380px) {
	body.fbh-cart-on #cart-popup .ux-mini-cart-qty { margin-left: 0; }
}

/* Степпер количества (Flatsome quantity) */
body.fbh-cart-on #cart-popup .quantity {
	display: inline-flex !important;
	align-items: center;
	height: 34px !important;
	border: 1px solid var(--fbh-line-soft) !important;
	border-radius: 999px !important;
	overflow: hidden;
	background: rgba(255, 255, 255, .03);
	white-space: nowrap;
}

body.fbh-cart-on #cart-popup .quantity .minus,
body.fbh-cart-on #cart-popup .quantity .plus {
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--fbh-gold2) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background .2s;
}

body.fbh-cart-on #cart-popup .quantity .minus:hover,
body.fbh-cart-on #cart-popup .quantity .plus:hover {
	background: rgba(201, 164, 78, .14) !important;
}

body.fbh-cart-on #cart-popup .quantity .qty {
	width: 34px !important;
	max-width: 34px !important;
	height: 32px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--fbh-txt) !important;
	font-family: var(--fbh-font-ui) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-align: center;
}

/* Сумма по позиции */
body.fbh-cart-on #cart-popup .ux-mini-cart-qty .product-subtotal,
body.fbh-cart-on #cart-popup .ux-mini-cart-qty .product-subtotal .amount {
	font-family: var(--fbh-font-ui) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--fbh-gold2) !important;
}

/* Пустая корзина */
body.fbh-cart-on #cart-popup .ux-mini-cart-empty {
	flex: 1;
	justify-content: center;
	gap: 6px;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-empty-icon svg {
	height: 90px !important;
	opacity: .14 !important;
	color: var(--fbh-gold);
}

body.fbh-cart-on #cart-popup .woocommerce-mini-cart__empty-message {
	font-family: var(--fbh-font-display);
	font-size: 22px;
	color: var(--fbh-txt2);
	margin: 6px 0 4px;
}

body.fbh-cart-on #cart-popup .return-to-shop .button {
	height: 44px !important;
	min-height: 44px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 22px !important;
	border-radius: var(--fbh-r-md) !important;
	background: linear-gradient(135deg, var(--fbh-red2), var(--fbh-red) 55%, #b0122c) !important;
	color: #fff !important;
	font-family: var(--fbh-font-ui) !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: .02em !important;
}

/* ---------- Cross-sells: «Люди добавляют к букету» ---------- */

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells {
	margin: 6px 0 12px;
	padding: 14px 14px 6px;
	background: var(--fbh-surface);
	border: 1px solid var(--fbh-line-soft);
	border-radius: var(--fbh-r-lg);
	font-family: var(--fbh-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fbh-gold);
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list {
	margin: 10px 0 0;
	text-transform: none;
	letter-spacing: 0;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list-item {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	grid-template-areas:
		"img title btn"
		"img price btn";
	column-gap: 12px;
	row-gap: 3px;
	align-items: center;
	padding: 10px 0 !important;
	border-top: 1px solid var(--fbh-line-soft) !important;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list-item:first-child {
	border-top: 0 !important;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list-item > a:not(.button) {
	display: contents !important;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list-item img {
	grid-area: img;
	width: 56px !important;
	height: 56px !important;
	object-fit: cover;
	border-radius: var(--fbh-r-sm);
	border: 1px solid var(--fbh-line-soft);
	margin: 0 !important;
	float: none !important;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list-item .product-title {
	grid-area: title;
	font-size: 12.5px !important;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fbh-txt2) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list-item .price-wrapper {
	grid-area: price;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list-item .price-wrapper .amount {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--fbh-gold2) !important;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list .button.add_to_cart_button {
	grid-area: btn;
	float: none !important;
	margin: 0 !important;
	height: 34px !important;
	min-height: 34px !important;
	padding: 0 13px !important;
	border-radius: 999px !important;
	background: rgba(201, 164, 78, .14) !important;
	border: 1px solid rgba(201, 164, 78, .30) !important;
	color: var(--fbh-gold2) !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	letter-spacing: .01em !important;
	text-transform: none !important;
	transition: background .25s, border-color .25s, transform .2s var(--fbh-ease);
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list .button.add_to_cart_button:hover {
	background: rgba(201, 164, 78, .26) !important;
	border-color: rgba(201, 164, 78, .55) !important;
}

body.fbh-cart-on #cart-popup .ux-mini-cart-cross-sells__list .button.add_to_cart_button.loading {
	opacity: .55;
	pointer-events: none;
}

/* ---------- Футер корзины ---------- */

body.fbh-cart-on #cart-popup .ux-mini-cart-footer,
body.fbh-cart-on .off-canvas-cart .ux-mini-cart-footer {
	position: sticky;
	bottom: 0;
	margin: auto -20px 0 !important;
	padding: 14px 20px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
	background: rgba(10, 10, 13, .88) !important;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-top: 1px solid var(--fbh-line) !important;
	z-index: 3;
}

/* Полоса бесплатной доставки */
.fbh-ship { margin: 0 0 12px; }

.fbh-ship__label {
	font-family: var(--fbh-font-ui);
	font-size: 12px;
	font-weight: 500;
	color: var(--fbh-txt2);
	margin-bottom: 7px;
}

.fbh-ship__label b,
.fbh-ship__label .amount {
	color: var(--fbh-gold2) !important;
	font-weight: 700;
}

.fbh-ship--done .fbh-ship__label { color: #7fd98f; }

.fbh-ship__bar {
	height: 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	overflow: hidden;
}

.fbh-ship__bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--fbh-gold), var(--fbh-gold2), var(--fbh-red2));
	transition: width .6s var(--fbh-ease);
}

.fbh-ship--done .fbh-ship__bar i {
	background: linear-gradient(90deg, #58b76b, #7fd98f);
}

/* Подытог */
body.fbh-cart-on #cart-popup .woocommerce-mini-cart__total {
	display: flex !important;
	align-items: baseline;
	justify-content: space-between;
	padding: 4px 0 12px !important;
	margin: 0 !important;
	border: 0 !important;
	font-family: var(--fbh-font-ui) !important;
	font-size: 13px !important;
	font-weight: 500;
	color: var(--fbh-txt2) !important;
	text-align: left !important;
}

body.fbh-cart-on #cart-popup .woocommerce-mini-cart__total strong {
	font-weight: 500;
	color: var(--fbh-txt2);
	text-transform: none;
}

body.fbh-cart-on #cart-popup .woocommerce-mini-cart__total .amount {
	font-family: var(--fbh-font-ui) !important;
	font-size: 21px !important;
	font-weight: 800 !important;
	color: var(--fbh-txt) !important;
}

/* Кнопка оформления (.slider-button из шаблона темы) */
body.fbh-cart-on #cart-popup .slider-button,
body.fbh-cart-on .off-canvas-cart .slider-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 50px !important;
	min-height: 50px !important;
	padding: 0 18px !important;
	border-radius: var(--fbh-r-md) !important;
	background: linear-gradient(135deg, var(--fbh-red2), var(--fbh-red) 55%, #b0122c) !important;
	color: #fff !important;
	font-family: var(--fbh-font-ui) !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	letter-spacing: .02em !important;
	line-height: 1 !important;
	text-align: center !important;
	box-shadow: 0 12px 28px -12px rgba(232, 24, 58, .65);
	position: relative;
	overflow: hidden;
	transition: filter .25s, transform .2s var(--fbh-ease), box-shadow .25s;
}

body.fbh-cart-on #cart-popup .slider-button:hover {
	filter: brightness(1.08);
	box-shadow: 0 16px 32px -12px rgba(232, 24, 58, .8);
}

body.fbh-cart-on #cart-popup .slider-button:active { transform: scale(.98); }

body.fbh-cart-on #cart-popup .slider-button::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -70%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
	transform: skewX(-18deg);
	transition: left .6s var(--fbh-ease);
	pointer-events: none;
}

body.fbh-cart-on #cart-popup .slider-button:hover::after { left: 130%; }

/* «Продолжить покупки» (добавляется скриптом) */
.fbh-continue {
	display: block;
	margin: 10px 0 0;
	text-align: center;
	font-family: var(--fbh-font-ui);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--fbh-txt3) !important;
	cursor: pointer;
	transition: color .25s;
}

.fbh-continue:hover { color: var(--fbh-gold2) !important; }

/* ---------- Флагман «Розы» ---------- */

.fbh-rose-counts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0 0 16px;
}

.fbh-rose-count {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: var(--fbh-r-md);
	background: linear-gradient(165deg, #1a1a21, #101015);
	border: 1px solid var(--fbh-line-soft);
	font-family: var(--fbh-font-display);
	font-size: 19px;
	font-weight: 700;
	color: var(--fbh-gold2) !important;
	transition: transform .2s var(--fbh-spring), border-color .25s, background .25s;
}

.fbh-rose-count:hover {
	border-color: var(--fbh-line);
	background: linear-gradient(165deg, rgba(232, 24, 58, .16), #101015);
	color: var(--fbh-txt) !important;
}

.fbh-rose-count:active { transform: scale(.93); }

.fbh-mega .fbh-chips--wrap { margin-bottom: 16px; }

.fbh-heights .fbh-chip { padding: 0 11px !important; }

.fbh-mega__inner--roses .fbh-mega__side .fbh-wow-card { margin-top: 2px; }

/* ---------- Мини-хиты (лента товаров в подуровне роз) ---------- */

.fbh-mini-hits {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	margin: 0 -18px 16px;
	padding: 2px 18px 6px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.fbh-mini-hits::-webkit-scrollbar { display: none; }

.fbh-mini-hit {
	flex: 0 0 auto;
	width: 128px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 8px;
	border-radius: var(--fbh-r-lg);
	background: var(--fbh-card);
	border: 1px solid var(--fbh-line-soft);
	transition: transform .2s var(--fbh-spring), border-color .25s;
}

.fbh-mini-hit:active { transform: scale(.95); }

.fbh-mini-hit img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--fbh-r-sm);
	display: block;
}

.fbh-mini-hit__title {
	font-family: var(--fbh-font-ui);
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fbh-txt2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.fbh-mini-hit__price,
.fbh-mini-hit__price .amount {
	font-family: var(--fbh-font-ui) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--fbh-gold2) !important;
}

/* ---------- Премиум-блок подвала ---------- */

.fbh-footdeck {
	background: linear-gradient(180deg, rgba(16, 16, 21, .96), rgba(9, 9, 12, .98));
	border-top: 1px solid var(--fbh-line-soft);
	position: relative;
}

.fbh-footdeck::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--fbh-gold) 30%, var(--fbh-red2) 70%, transparent);
	opacity: .5;
}

.fbh-footdeck__in {
	max-width: 1160px;
	margin: 0 auto;
	padding: 34px 20px 30px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 30px;
}

.fbh-footdeck__col { min-width: 0; }

.fbh-footdeck__col .fbh-eyebrow { margin-bottom: 12px; }

.fbh-footdeck__brand {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
}

.fbh-footdeck__logo .fbh-logo-svg {
	width: 40px;
	height: 49px;
	display: block;
	color: var(--fbh-red2);
	filter: drop-shadow(0 4px 14px rgba(232, 24, 58, .3));
}

.fbh-footdeck__brand b {
	font-family: var(--fbh-font-display);
	font-size: 20px;
	font-weight: 600;
	color: var(--fbh-txt);
	line-height: 1.1;
}

.fbh-footdeck__brand i {
	font-style: normal;
	font-family: var(--fbh-font-ui);
	font-size: 12px;
	line-height: 1.6;
	color: var(--fbh-txt3);
}

.fbh-footdeck__links {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fbh-footdeck__links a {
	font-family: var(--fbh-font-ui);
	font-size: 13px !important;
	font-weight: 500;
	color: var(--fbh-txt2) !important;
	padding: 4px 0;
	transition: color .2s, transform .2s var(--fbh-ease);
}

.fbh-footdeck__links a:hover {
	color: var(--fbh-gold2) !important;
	transform: translateX(4px);
}

.fbh-footdeck__tel { margin-bottom: 10px; }

.fbh-footdeck__row {
	display: block;
	font-family: var(--fbh-font-ui);
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--fbh-txt2) !important;
	padding: 3px 0;
}

a.fbh-footdeck__row:hover { color: var(--fbh-gold2) !important; }

@media (max-width: 849px) {
	.fbh-footdeck__in {
		grid-template-columns: 1fr 1fr;
		gap: 24px 20px;
		padding: 28px 18px 24px;
	}
	.fbh-footdeck__brand { grid-column: 1 / -1; }
}

@media (max-width: 429px) {
	.fbh-footdeck__in { grid-template-columns: 1fr; }
}

/* =====================================================================
   6. ПОДВАЛ САЙТА
   ===================================================================== */

body.fbh-footer-on .footer-wrapper {
	position: relative;
	background: linear-gradient(180deg, #0d0d11, #08080a) !important;
	border-top: 1px solid var(--fbh-line-soft);
}

body.fbh-footer-on .footer-wrapper::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--fbh-gold) 30%, var(--fbh-red2) 70%, transparent);
	opacity: .55;
}

body.fbh-footer-on .footer-widgets {
	padding-top: 34px !important;
	padding-bottom: 20px !important;
}

/* Секции внутри подвала — без гигантских пустот */
body.fbh-footer-on .footer-wrapper .section {
	padding-top: 22px !important;
	padding-bottom: 22px !important;
	min-height: 0 !important;
}

body.fbh-footer-on .footer-wrapper .section-content { min-height: 0 !important; }

body.fbh-footer-on .footer-wrapper .col {
	padding-bottom: 14px !important;
}

/* Логотип в подвале — ограничиваем гиганта */
body.fbh-footer-on .footer-wrapper img {
	max-width: 190px !important;
	height: auto !important;
}

/* Заголовки колонок */
body.fbh-footer-on .footer-wrapper .widget-title,
body.fbh-footer-on .footer-wrapper h3,
body.fbh-footer-on .footer-wrapper h4 {
	font-family: var(--fbh-font-ui) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	color: var(--fbh-gold) !important;
	border: 0 !important;
	margin-bottom: 12px !important;
}

/* Ссылки */
body.fbh-footer-on .footer-wrapper a {
	font-family: var(--fbh-font-ui);
	font-size: 13px !important;
	font-weight: 500;
	color: var(--fbh-txt2) !important;
	line-height: 1.5;
	transition: color .2s var(--fbh-ease);
}

body.fbh-footer-on .footer-wrapper a:hover {
	color: var(--fbh-gold2) !important;
}

/* Списки меню: компактнее, на мобильном — в две колонки */
body.fbh-footer-on .footer-wrapper .widget ul li,
body.fbh-footer-on .footer-wrapper ul.menu li {
	border: 0 !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	list-style: none;
}

@media (max-width: 849px) {
	body.fbh-footer-on .footer-wrapper .widget ul,
	body.fbh-footer-on .footer-wrapper ul.menu {
		column-count: 2;
		column-gap: 22px;
	}
	body.fbh-footer-on .footer-wrapper .widget ul li,
	body.fbh-footer-on .footer-wrapper ul.menu li {
		break-inside: avoid;
	}
}

/* Нижняя строка: копирайт и реквизиты */
body.fbh-footer-on .absolute-footer {
	background: #07070a !important;
	border-top: 1px solid var(--fbh-line-soft);
	padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)) !important;
}

body.fbh-footer-on .absolute-footer,
body.fbh-footer-on .copyright-footer {
	font-family: var(--fbh-font-ui) !important;
	font-size: 11.5px !important;
	line-height: 1.7 !important;
	color: var(--fbh-txt3) !important;
	text-align: center;
}

/* Кнопка «наверх» */
body.fbh-footer-on .back-to-top {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	border-radius: 50% !important;
	background: rgba(19, 19, 22, .85) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid var(--fbh-line) !important;
	color: var(--fbh-gold2) !important;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8) !important;
	opacity: 1 !important;
}

body.fbh-footer-on .back-to-top:hover {
	background: rgba(201, 164, 78, .16) !important;
}

body.fbh-footer-on .back-to-top i,
body.fbh-footer-on .back-to-top svg {
	color: var(--fbh-gold2) !important;
}

/* =====================================================================
   7. ДОСТУПНОСТЬ И ПРОЧЕЕ
   ===================================================================== */

/* Отключаем автоувеличение текста мобильными браузерами (Android font boosting) */
.fbh-drawer,
.fbh-drawer *,
.fbh-mega,
.fbh-mega *,
body.fbh-cart-on #cart-popup,
body.fbh-cart-on #cart-popup * {
	max-height: 1000000px;
}

.fbh-drawer a:focus-visible,
.fbh-drawer button:focus-visible,
.fbh-mega a:focus-visible,
body.fbh-cart-on #cart-popup a:focus-visible,
body.fbh-cart-on #cart-popup button:focus-visible {
	outline: 2px solid var(--fbh-gold) !important;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.fbh-mega.fbh-open,
	body.fbh-cart-on .fbh-cart-ready li.mini_cart_item,
	.header .cart-item.fbh-pulse .cart-icon,
	.header .cart-item.fbh-pulse .header-cart-icon {
		animation: none !important;
	}
	.fbh-drawer,
	.fbh-panel,
	.fbh-fly,
	.fbh-stagger > * {
		transition: none !important;
	}
}
