/* Рамката: topbar, хедър, меню, мобилно меню, футър, страничната количка (woo-fly-cart).
   Стойностите са от predlozhenie/bmg.css (редовете са в коментарите). */

/* ---------- topbar + въртящият се надпис (bmg.css 59-66, 708-714) ---------- */
.bmgf-topbar {
	background: var(--bmgf-navy-3);
	color: #D6DEF0;
	font-size: 13.5px;
}

.bmgf-topbar .bmgf-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	min-height: 38px;
}

.bmgf-topbar b {
	color: #fff;
}

.bmgf-topbar a {
	text-decoration: none;
}

.bmgf-tag {
	background: var(--bmgf-red);
	color: #fff;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: .06em;
	padding: 2px 7px;
	border-radius: 4px;
}

.bmgf-topbar__contact {
	display: flex;
	gap: 18px;
	flex: none;
}

.bmgf-topbar__contact a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Надписът е декоративно повторение (текстът е в aria-label) - прозорецът го реже (ред 709). */
.bmgf-tape {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	display: flex;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.bmgf-tape__track {
	display: flex;
	flex: none;
	animation: bmgf-tape 30s linear infinite;
}

.bmgf-tape__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	padding-right: 72px;
}

@keyframes bmgf-tape {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

/* ---------- хедър (bmg.css 67-81) ---------- */
.bmgf-header {
	background: var(--bmgf-navy);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 20;
}

.admin-bar .bmgf-header {
	top: 32px;
}

.bmgf-header__bar {
	display: grid;
	grid-template-columns: auto minmax(0, 620px) auto;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	min-height: 84px;
}

.bmgf-logo {
	display: block;
}

.bmgf-logo img {
	height: 42px;
	width: auto;
}

.bmgf-search {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: var(--bmgf-r-pill);
	padding: 0 6px 0 18px;
	min-height: 48px;
	width: 100%;
	margin: 0;
	color: var(--bmgf-ink);
}

.bmgf-search:focus-within {
	box-shadow: 0 0 0 2px var(--bmgf-gold);
}

.bmgf-search .bmgf-search__field {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: 15px;
	background: transparent;
	color: var(--bmgf-ink);
	-webkit-appearance: none;
	appearance: none;
}

.bmgf-search .bmgf-search__field::placeholder {
	color: #8A909E;
}

.bmgf-search .bmgf-search__submit {
	flex: none;
	border: 0;
	background: var(--bmgf-navy);
	color: #fff;
	width: 38px;
	height: 38px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.bmgf-header__acts {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bmgf-hact {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	line-height: 1.2;
}

.bmgf-hact:hover {
	background: rgba(255, 255, 255, .08);
}

.bmgf-hact small {
	display: block;
	font-size: 12px;
	color: #AFC0E4;
}

.bmgf-hact b {
	font-size: 14.5px;
}

.bmgf-hact__ico {
	position: relative;
	display: inline-flex;
}

.bmgf-badge {
	position: absolute;
	top: -7px;
	right: -9px;
	background: var(--bmgf-gold);
	color: #fff;
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	min-width: 18px;
	min-height: 18px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	padding: 0 4px;
}

.bmgf-pts-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #F1D9A6;
	font-weight: 700;
	font-size: 12px;
}

.bmgf-pts-chip .bmgf-ico {
	width: 14px;
	height: 14px;
}

/* Количката: шорткодът [woofc_cart_link] е кликаемият слой върху рисунката на темата (една клетка на grid-а). */
.bmgf-hact--cart {
	display: grid;
	padding: 0;
}

.bmgf-hact--cart > .woofc-cart-link,
.bmgf-hact--cart > .bmgf-hact__deco {
	grid-area: 1 / 1;
}

/* Линкът покрива цялата клетка (иначе align-items:center на .bmgf-hact го свива до 0px височина) - кликаеми са иконата, надписът, сумата и броячът; фокусът (base.css) обикаля целия блок. */
.bmgf-hact--cart > .woofc-cart-link {
	z-index: 1;
	display: grid;
	align-self: stretch;
	justify-self: stretch;
	border-radius: 12px;
}

.bmgf-hact--cart .woofc-cart-link > a {
	display: block;
	align-self: stretch;
	justify-self: stretch;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	color: transparent;
	font-size: 0;
	text-decoration: none;
}

.bmgf-hact--cart .woofc-cart-link-inner {
	opacity: 0;
}

.bmgf-hact--cart i.woofc-icon-cart4 {
	display: none;
}

.bmgf-hact__deco {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	pointer-events: none;
}

.bmgf-hact--fallback .bmgf-hact__deco {
	padding: 0;
}

/* ---------- меню (bmg.css 82-96, 700-702) ---------- */
.bmgf-nav {
	background: #fff;
	border-bottom: 1px solid var(--bmgf-line);
}

.bmgf-nav .bmgf-container {
	display: flex;
	align-items: center;
	min-height: 54px;
}

.bmgf-nav .bmgf-menu {
	flex: 1;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Подменюто е извън потока на елемента (bmg.css 84, 92) - при hover не го разширява и не мести менюто
   (Task 55; position:absolute - изключение от D.5, като в дизайна). */
.bmgf-nav__item {
	position: relative;
}

.bmgf-nav__item > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 15px 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bmgf-ink);
	white-space: nowrap;
}

.bmgf-nav__item > a .bmgf-ico {
	width: 18px;
	height: 18px;
	color: var(--bmgf-navy);
}

.bmgf-nav__item > a:hover,
.bmgf-nav__item:focus-within > a {
	color: var(--bmgf-navy);
}

.bmgf-nav__item--oferta > a,
.bmgf-nav__item--oferta > a:hover,
.bmgf-nav__item--oferta > a .bmgf-ico {
	color: var(--bmgf-red);
}

.bmgf-nav__item > a .bmgf-nav__chev {
	width: 14px;
	height: 14px;
	opacity: .55;
	color: currentColor;
}

.bmgf-nav__spacer {
	flex: 1;
}

.bmgf-nav .bmgf-drop {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 30;
	width: max-content;
	min-width: 260px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--bmgf-line);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(9, 23, 58, .12);
	display: none;
}

.bmgf-nav__item:hover > .bmgf-drop,
.bmgf-nav__item:focus-within > .bmgf-drop,
.bmgf-nav__item.is-open > .bmgf-drop {
	display: grid;
}

.bmgf-drop a {
	padding: 9px 12px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 14.5px;
	color: var(--bmgf-ink);
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.bmgf-drop a:hover {
	background: var(--bmgf-mist);
	color: var(--bmgf-navy);
}

.bmgf-drop .bmgf-drop__n {
	color: var(--bmgf-muted);
	font-size: 13px;
}

/* menu-image: темата маха стила му на фронта (inc/assets.php); резерва, ако handle-ът се смени -
   неговото `.menu-image-title-below{display:block}` върху линка и заглавието (Task 40). */
.bmgf-nav .bmgf-nav__item > a {
	display: flex;
}

.bmgf-nav .bmgf-nav__item > a .menu-image-title,
.bmgf-mnav a .menu-image-title {
	display: inline;
}

/* Иконите на плъгините menu-image / menu-icons - темата рисува свои. */
.bmgf-nav img.menu-image,
.bmgf-mnav img.menu-image,
.bmgf-nav ._mi,
.bmgf-mnav ._mi {
	display: none;
}

.bmgf-mnav,
.bmgf-msearch {
	display: none;
}

/* ---------- футър (bmg.css 228-244, 703-705) ---------- */
.bmgf-footer {
	background: var(--bmgf-navy);
	color: #C3CDE3;
	font-size: 14.5px;
}

.bmgf-footer__cols {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr;
	gap: 40px;
	padding-block: 56px 40px;
}

.bmgf-footer h4 {
	color: #fff;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0 0 14px;
}

.bmgf-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}

.bmgf-footer a {
	text-decoration: none;
}

.bmgf-footer a:hover {
	color: #fff;
}

.bmgf-footer__logo {
	display: inline-block;
}

.bmgf-footer__logo img {
	width: 140px;
}

.bmgf-footer__about {
	margin: 16px 0 0;
	max-width: 32ch;
}

.bmgf-footer__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.bmgf-footer__contact .bmgf-ico {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: #F1D9A6;
}

.bmgf-socials {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.bmgf-socials a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .2);
	display: grid;
	place-items: center;
}

.bmgf-footer__bottom {
	background: var(--bmgf-navy-2);
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.bmgf-footer__bottom .bmgf-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 18px;
	font-size: 13px;
}

.bmgf-footer__copy a {
	text-decoration: underline;
}

.bmgf-paychips {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bmgf-paychips span {
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 6px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 700;
	color: #E3E9F6;
}

/* ---------- страничната количка woo-fly-cart (bmg.css 716-753 → design/live/flycart-dom.md) ---------- */
.woofc-overlay {
	background: rgba(9, 23, 58, .45);
}

.woofc-area {
	width: min(420px, 92vw);
	max-width: none;
	font-family: var(--bmgf-f-body);
	color: var(--bmgf-ink);
	box-shadow: -20px 0 50px rgba(9, 23, 58, .25);
}

.woofc-area .woofc-inner {
	background: #fff;
	color: var(--bmgf-ink);
}

.woofc-area .woofc-inner .woofc-area-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: #fff;
	color: var(--bmgf-ink);
	border-bottom: 1px solid var(--bmgf-line);
}

.woofc-area .woofc-inner .woofc-area-heading {
	font-family: var(--bmgf-f-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bmgf-ink);
	text-transform: none;
	letter-spacing: 0;
}

/* Заглавието = .fc-head (721-724): woofc дава на реда height:48px; line-height:48px, на заглавието overflow:hidden,
   а на затварянето position:absolute - с padding-а на темата буквите се срязват (Task 48). Тук (0,5,0)/(0,6,0) -
   над правилата на плъгина, по специфичност; за двата стила на woofc. */
.woofc-area.woofc-style-01 .woofc-inner.woofc-cart-area .woofc-area-top,
.woofc-area.woofc-style-02 .woofc-inner.woofc-cart-area .woofc-area-top {
	height: auto;
	min-height: 0;
	line-height: normal;
	padding: 16px 20px;
}

.woofc-area.woofc-style-01 .woofc-inner.woofc-cart-area .woofc-area-top .woofc-area-heading,
.woofc-area.woofc-style-02 .woofc-inner.woofc-cart-area .woofc-area-top .woofc-area-heading {
	height: auto;
	overflow: visible;
	line-height: 1.2;
	white-space: nowrap;
	padding: 0;
	margin: 0;
}

.woofc-area.woofc-style-01 .woofc-inner.woofc-cart-area .woofc-area-top .woofc-close,
.woofc-area.woofc-style-02 .woofc-inner.woofc-cart-area .woofc-area-top .woofc-close {
	position: static;
	flex: none;
	width: 38px;
	height: 38px;
	margin: 0;
	transform: none;
	display: grid;
	place-items: center;
	line-height: 1;
}

.woofc-area .woofc-inner .woofc-area-count {
	display: inline-block;
	font-family: var(--bmgf-f-body);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	background: var(--bmgf-navy);
	color: #fff;
	border-radius: 10px;
	padding: 1px 8px;
	margin-left: 4px;
	vertical-align: middle;
}

.woofc-area .woofc-inner .woofc-close {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--bmgf-mist);
	color: var(--bmgf-ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

.woofc-area .woofc-inner .woofc-area-mid {
	padding: 4px 20px;
	background: #fff;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item {
	background: #fff;
	border: 0;
}

/* Артикулът = .fc-item (726-737). Префиксът (0,6,0) + класът на елемента е над правилата на плъгина
   `.woofc-area.woofc-style-02 .woofc-area-mid .woofc-item(.woofc-item-has-remove) …` (до 0,6,0) - иначе
   `display:flex`, отстоянието 30px вдясно и transform-ът при :hover на плъгина печелят (Task 53). */
.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-inner,
.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item:hover .woofc-item-inner {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	column-gap: 12px;
	row-gap: 6px;
	align-items: center;
	padding: 12px 0;
	background: transparent;
	border-bottom: 1px solid var(--bmgf-line);
	transform: none;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item:last-child .woofc-item-inner {
	border-bottom: 0;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-thumb {
	grid-column: 1;
	grid-row: 1 / span 2;
	width: auto;
	margin: 0;
	padding: 0;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-thumb img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border: 1px solid var(--bmgf-line);
	border-radius: 10px;
	background: #fff;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-info {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: grid;
	gap: 4px;
	padding: 0;
	min-width: 0;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-title,
.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-title a {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bmgf-ink);
	text-decoration: none;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-price {
	font-size: 15px;
	font-weight: 800;
	color: var(--bmgf-navy);
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-qty {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-qty-inner {
	display: flex;
	align-items: center;
	border: 1.5px solid #CCD5E6;
	border-radius: var(--bmgf-r-pill);
	background: #fff;
}

/* − / + = .fc-q button (736-738). Пълната верига (0,10,0) е над правилото на плъгина
   `.woofc-area.woofc-style-02 … .woofc-item-qty-inner .woofc-item-qty-plus` (0,8,0) със сивия фон 30×30 (Task 55). */
.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner .woofc-item-qty-minus,
.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner .woofc-item-qty-plus {
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	margin: 0;
	padding: 0;
	display: grid;
	place-items: center;
	cursor: pointer;
	color: var(--bmgf-navy);
	font-size: 16px;
	line-height: 1;
	background: none;
	border: 0;
	border-radius: 0;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-qty .quantity {
	margin: 0;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-qty .qty,
.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-inner .woofc-item-qty .woofc-item-qty-inner .quantity .qty {
	width: 28px;
	min-width: 20px;
	min-height: 28px;
	border: 0;
	padding: 0;
	background: transparent;
	text-align: center;
	font: inherit;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--bmgf-ink);
	-moz-appearance: textfield;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-qty .qty::-webkit-outer-spin-button,
.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-qty .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-remove,
.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item:hover .woofc-item-remove {
	position: static;
	grid-column: 3;
	grid-row: 2;
	justify-self: end;
	opacity: 1;
	visibility: visible;
	transform: none;
	color: var(--bmgf-muted);
	font-size: 12px;
	cursor: pointer;
}

.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-remove:hover {
	color: var(--bmgf-red);
}

.woofc-area .woofc-inner .woofc-no-item {
	padding: 30px 0;
	text-align: center;
	color: var(--bmgf-muted);
}

.woofc-area .woofc-inner .woofc-area-bot {
	display: grid;
	gap: 10px;
	padding: 14px 20px 20px;
	background: #fff;
	color: var(--bmgf-ink);
	border-top: 1px solid var(--bmgf-line);
}

.woofc-area .woofc-inner .woofc-data {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bmgf-ink);
}

.woofc-area .woofc-inner .woofc-subtotal {
	font-size: 14px;
	color: var(--bmgf-muted);
}

.woofc-area .woofc-inner .woofc-total .woofc-data-right {
	font-size: 21px;
	font-weight: 800;
	color: var(--bmgf-navy);
	font-variant-numeric: tabular-nums;
}

.woofc-area .woofc-inner .woofc-action {
	padding: 0;
	background: transparent;
}

.woofc-area .woofc-inner .woofc-action-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.woofc-area .woofc-inner .woofc-action-left,
.woofc-area .woofc-inner .woofc-action-right {
	width: auto;
	float: none;
	padding: 0;
}

/* Бутоните: правилата на woofc (frontend.css + инлайн стилът от настройките) са (0,5,2) - тук (0,6,2), по специфичност. */
.woofc-area.woofc-style-01 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-cart,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-cart,
.woofc-area.woofc-style-01 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-checkout,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 10px;
	border: 0;
	border-radius: var(--bmgf-r-pill);
	font-family: var(--bmgf-f-body);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	transition: background .15s;
}

.woofc-area.woofc-style-01 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-checkout,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-checkout {
	background: var(--bmgf-navy);
	color: #fff;
	box-shadow: none;
}

.woofc-area.woofc-style-01 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-checkout:hover,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-checkout:hover {
	background: var(--bmgf-navy-2);
	color: #fff;
}

.woofc-area.woofc-style-01 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-cart,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-cart {
	background: transparent;
	color: var(--bmgf-navy);
	box-shadow: inset 0 0 0 1.5px var(--bmgf-navy);
}

.woofc-area.woofc-style-01 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-cart:hover,
.woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a.woofc-action-cart:hover {
	background: var(--bmgf-sky);
	color: var(--bmgf-navy);
}

/* Логнат админ: панелът започва под лентата на WP (woofc го слага с top:0 + височина на целия екран). */
body.admin-bar .woofc-area {
	top: 32px;
	height: calc(100% - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .woofc-area {
		top: 46px;
		height: calc(100% - 46px);
	}
}

.woofc-area .woofc-inner .woofc-continue {
	text-align: center;
	padding: 0;
	background: transparent;
}

.woofc-area .woofc-inner .woofc-continue-url {
	color: var(--bmgf-muted);
	text-decoration: underline;
	font-size: 13.5px;
	cursor: pointer;
	text-transform: none;
}

/* Лентата „колко остава" от WPCode 20049 в страничната количка - цветовете на .fc-ship (ред 725-727). */
.woofc-area .woofc-area-bot .bmg-fs.bmg-fs--strip {
	background: var(--bmgf-ok-soft);
	color: #1D4D35;
	border-radius: 14px;
	padding: 12px 16px;
	font-size: 13.5px;
	line-height: 1.4;
}

.woofc-area .woofc-area-bot .bmg-fs.bmg-fs--strip b {
	color: var(--bmgf-ok);
}

.woofc-area .woofc-area-bot .bmg-fs.bmg-fs--strip .bmg-fs__t {
	margin: 0;
}

.woofc-area .woofc-area-bot .bmg-fs.bmg-fs--strip .bmg-fs__track {
	background: #E1E6F0;
	border-radius: 3px;
}

.woofc-area .woofc-area-bot .bmg-fs.bmg-fs--strip .bmg-fs__track span {
	background: var(--bmgf-ok);
	border-radius: 3px;
}

/* ======================== ТАБЛЕТ (bmg.css 474-485, 706) ======================== */
@media (max-width: 1100px) {
	.bmgf-header__bar {
		gap: 16px;
	}

	.bmgf-hact .bmgf-hact__lbl {
		display: none;
	}

	.bmgf-nav .bmgf-menu {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.bmgf-footer__cols {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 782px) {
	.admin-bar .bmgf-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .bmgf-header {
		top: 0;
	}
}

/* ======================== ТЕЛЕФОН (bmg.css 495-515, 562, 714) ======================== */
@media (max-width: 767px) {
	.bmgf-topbar__contact,
	.bmgf-tag {
		display: none;
	}

	.bmgf-topbar .bmgf-container {
		justify-content: center;
		font-size: 12.5px;
		text-align: center;
		min-height: 34px;
	}

	.bmgf-tape__track {
		animation-duration: 22s;
	}

	.bmgf-tape__item {
		padding-right: 48px;
	}

	.bmgf-header__bar {
		grid-template-columns: auto minmax(0, 1fr) auto;
		justify-content: stretch;
		min-height: 62px;
		gap: 8px;
	}

	.bmgf-logo {
		justify-self: center;
	}

	.bmgf-logo img {
		height: 30px;
	}

	.bmgf-header__bar .bmgf-search {
		display: none;
	}

	.bmgf-hact {
		padding: 8px;
	}

	.bmgf-hact--cart {
		padding: 0;
	}

	.bmgf-hact__deco {
		padding: 8px;
	}

	.bmgf-hact--acct {
		display: none;
	}

	.bmgf-mnav {
		display: block;
	}

	.bmgf-mnav summary {
		list-style: none;
		width: 40px;
		height: 40px;
		display: grid;
		place-items: center;
		cursor: pointer;
		border-radius: 10px;
	}

	.bmgf-mnav summary::-webkit-details-marker {
		display: none;
	}

	.bmgf-mnav[open] summary {
		background: rgba(255, 255, 255, .12);
	}

	/* Панелът е закрепен под хедъра; main.js слага --bmgf-mnav-top = долния ръб на хедъра. */
	.bmgf-mnav__panel {
		position: fixed;
		left: 0;
		right: 0;
		top: var(--bmgf-mnav-top, 96px);
		z-index: 25;
		max-height: min(70vh, calc(100vh - var(--bmgf-mnav-top, 96px)));
		overflow: auto;
		background: #fff;
		color: var(--bmgf-ink);
		border-bottom: 1px solid var(--bmgf-line);
		box-shadow: 0 20px 30px rgba(9, 23, 58, .15);
		padding: 8px 16px 16px;
		display: grid;
	}

	.bmgf-mnav__panel a {
		padding: 13px 4px;
		border-bottom: 1px solid var(--bmgf-line);
		text-decoration: none;
		font-weight: 700;
		display: flex;
		gap: 10px;
		align-items: center;
		color: var(--bmgf-ink);
	}

	.bmgf-mnav__panel a .bmgf-ico {
		color: var(--bmgf-navy);
	}

	.bmgf-mnav__panel .bmgf-mnav__sub {
		padding-left: 32px;
		font-weight: 500;
		font-size: 14.5px;
		color: var(--bmgf-muted);
	}

	.bmgf-msearch {
		display: block;
		background: var(--bmgf-navy);
		padding: 0 16px 12px;
	}

	.bmgf-msearch .bmgf-search {
		min-height: 44px;
	}

	.bmgf-nav {
		display: none;
	}

	.bmgf-footer__cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding-block: 40px 28px;
	}

	.bmgf-footer__logo img {
		width: 130px;
	}

	/* Артикулите в страничната количка (726-737): името взима цялата средна колона, количеството и
	   „Премахни" - на втори ред под името (иначе за името остават ~90px, по дума на ред). */
	.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-inner,
	.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item:hover .woofc-item-inner {
		grid-template-columns: 64px minmax(0, 1fr);
		align-items: start;
	}

	.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-info {
		grid-column: 2;
		grid-row: 1;
	}

	.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-qty {
		grid-column: 2;
		grid-row: 2;
		justify-self: start;
		align-self: center;
	}

	.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item .woofc-item-remove,
	.woofc-area .woofc-inner.woofc-cart-area .woofc-area-mid.woofc-items .woofc-item:hover .woofc-item-remove {
		position: static;
		grid-column: 2;
		grid-row: 2;
		justify-self: end;
		align-self: center;
	}
}

/* Мобилната търсачка: dls превключва панела на .dls-inline (position:static) в тясната форма-хапче и
   формата порасва до овал - панелът се връща под полето по собственото правило на dls за панела
   (position:absolute - изключение от D.5, Task 48), с вертикален скрол, ако е по-висок от екрана. */
.bmgf-search > .dls.dls-inline {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 30;
	flex: none;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
}

@media (prefers-reduced-motion: reduce) {
	.bmgf-tape__track {
		animation: none;
	}
}
