/* ============================================================
   BlockModul — site chrome: header, dropdowns, mega-menu, mobile menu, footer.
   Ported from design components/core/site-chrome.css (page-level attribute hacks removed).
   ============================================================ */

.bm-chev { width: 15px; height: 15px; stroke-width: 2.4; transition: transform 180ms ease; }
[aria-expanded="true"] > .bm-chev, .is-open > [aria-expanded] > .bm-chev { transform: rotate(180deg); }

/* ---------- header ---------- */
.bm-hdr { position: sticky; top: 0; z-index: 60; }
.admin-bar .bm-hdr { top: var(--wp-admin--admin-bar--height, 32px); }
.bm-hdr__bar { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--bm-g200); }
.bm-hdr__row { height: var(--bm-hdr-h); display: flex; align-items: center; gap: 28px; }
.bm-logo { display: flex; align-items: center; flex: none; }
.bm-logo img { height: 40px; width: auto; }

.bm-nav { display: flex; align-items: center; gap: 18px; margin: 0 auto; }
.bm-nav__item { position: relative; }
.bm-nav__link {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 6px 2px;
	font: 600 12px/1.2 var(--bm-fb);
	letter-spacing: .035em; text-transform: uppercase; white-space: nowrap;
	color: var(--bm-navy);
	background: linear-gradient(var(--bm-orange), var(--bm-orange)) no-repeat 0 100% / 0% 2px;
	transition: color 200ms, background-size 280ms var(--bm-ease);
}
.bm-nav__link:hover, .bm-nav__link.is-active, .bm-nav__link[aria-expanded="true"] {
	color: var(--bm-orange-text);
	background-size: 100% 2px;
}

/* small dropdowns (nav items, phone) */
.bm-dd { position: absolute; top: 100%; left: -14px; z-index: 70; padding-top: 12px; display: none; }
.is-open > .bm-dd { display: block; animation: bmIn 160ms ease-out; }
.bm-dd__panel { min-width: 230px; padding: 8px; background: #fff; border: 1px solid var(--bm-g200); box-shadow: 0 20px 40px -22px rgba(42, 46, 71, .34); }
.bm-dd__panel > a { display: block; padding: 10px 12px; font-size: 13.5px; font-weight: 500; color: var(--bm-text); }
.bm-dd__panel > a:hover, .bm-dd__panel > a[aria-current], .bm-dd__panel > a.is-active { background: var(--bm-g50); color: var(--bm-orange-text); }
@keyframes bmIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.bm-hdr__right { display: flex; align-items: center; gap: 20px; flex: none; margin-left: auto; }

.bm-phone { position: relative; display: flex; align-items: center; gap: 11px; }
.bm-phone__ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--bm-navy); color: #fff; font-size: 19px; }
.bm-phone__num { font: 500 1.14rem/1 var(--bm-fd); letter-spacing: -.01em; color: var(--bm-navy); white-space: nowrap; }
.bm-phone__num:hover { color: var(--bm-orange-text); }
.bm-phone__btn { display: inline-grid; place-items: center; width: 22px; height: 30px; margin-left: -6px; padding: 0; border: 0; background: none; color: var(--bm-muted); cursor: pointer; }
.bm-dd--phone { left: auto; right: 0; padding-top: 10px; }
.bm-dd--phone .bm-dd__panel { min-width: 236px; }
.bm-dd__main { padding: 8px 12px 10px; background: var(--bm-g50); border-radius: 2px; }
.bm-dd__main > a, .bm-dd__tel { display: block; font: 600 15px/1.3 var(--bm-fd); letter-spacing: -.01em; color: var(--bm-navy); }
.bm-dd__main > a:hover { color: var(--bm-orange-text); }
.bm-dd__tel { margin-top: 4px; padding: 10px 12px; }
.bm-dd__tel:hover { background: var(--bm-g50); color: var(--bm-orange-text); }
.bm-dd__hr { margin: 4px 0; border-top: 1px solid var(--bm-g200); }
.bm-dd__hours { display: block; padding: 8px 12px 6px; font-size: 12.5px; color: var(--bm-muted-text); }

/* messenger circles */
.bm-msgr { display: flex; align-items: center; gap: 9px; }
.bm-msgr a { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--bm-g100); color: var(--bm-g600); font-size: 17px; transition: background 140ms, color 140ms; }
.bm-msgr a[data-m="vb"] { font-size: 19px; }
.bm-msgr a[data-m="wa"]:hover { background: var(--bm-wa); color: #fff; }
.bm-msgr a[data-m="vb"]:hover { background: var(--bm-vb); color: #fff; }
.bm-msgr a[data-m="tg"]:hover { background: var(--bm-tg); color: #fff; }
.bm-msgr--dd { display: none; gap: 8px; margin-top: 9px; }
.bm-msgr--dd a { width: 32px; height: 32px; }
.bm-msgr--dd a[data-m="wa"] { background: rgba(37, 211, 102, .12); color: var(--bm-wa); }
.bm-msgr--dd a[data-m="vb"] { background: rgba(115, 96, 242, .12); color: var(--bm-vb); font-size: 18px; }
.bm-msgr--dd a[data-m="tg"] { background: rgba(41, 171, 226, .12); color: var(--bm-tg); font-size: 16px; }

/* RU / UA */
.bm-lang { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.bm-lang a { font: 700 .72rem/1.2 var(--bm-fb); letter-spacing: .08em; color: var(--bm-muted-text); }
.bm-lang a:hover, .bm-lang a.is-active { color: var(--bm-orange-text); }
.bm-lang--row { flex-direction: row; gap: 8px; }
.bm-lang--row a { font-size: 11px; }

/* burger → × */
.bm-burger {
	position: relative; z-index: 201;
	display: none; place-items: center; align-content: center; gap: 5px;
	width: 44px; height: 44px; flex: none; padding: 0;
	border: 1px solid var(--bm-g200); background: #fff; color: var(--bm-navy);
	cursor: pointer;
	transition: background 200ms, color 200ms, border-color 200ms;
}
.bm-burger span { display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; transition: transform 320ms var(--bm-ease), opacity 200ms; }
.bm-burger[aria-expanded="true"] { background: var(--bm-navy); color: var(--bm-orange); border-color: transparent; }
.bm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bm-burger[aria-expanded="true"] span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.bm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mega menu ---------- */
.bm-mega { position: absolute; top: 100%; left: 0; right: 0; display: none; background: #fff; border-top: 1px solid var(--bm-g200); box-shadow: 0 28px 44px -26px rgba(42, 46, 71, .28); }
.bm-mega.is-open { display: block; animation: bmIn 180ms ease-out; }
.bm-mega__in { padding-top: 20px; padding-bottom: 20px; }
.bm-mega__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
.bm-mega__head { display: flex; align-items: flex-start; gap: 9px; font: 700 12.5px/1.35 var(--bm-fd); letter-spacing: .1em; text-transform: uppercase; color: var(--bm-navy); }
.bm-mega__head:hover { color: var(--bm-orange-text); }
.bm-mega__head img { width: 16px; height: 16px; flex: none; margin-top: .5px; }
.bm-mega__hr { height: 1px; margin: 12px 0 10px; background: var(--bm-g200); }
.bm-mega__list { display: flex; flex-direction: column; gap: 7px; }
.bm-mega__list a { display: inline-block; font-size: 13.5px; line-height: 1.4; color: var(--bm-text); transition: transform 160ms; }
.bm-mega__list a:hover, .bm-mega__list a[aria-current] { color: var(--bm-text); text-decoration: underline; text-underline-offset: 3px; transform: translateX(4px); }
.bm-mega__col--kibo { align-self: start; margin: -15px 0 0 -15px; padding: 14px 14px 16px; border: 1px solid var(--bm-navy); }
/* «Модулі в наявності» row (DS site-chrome .bm-mega__stock: 14 px under the cards, the panel's own bottom padding off) */
.bm-mega__in--stock { padding-bottom: 0; }
.bm-mega__stock { display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 18px 0 14px; border-top: 1px solid var(--bm-g200); }
.bm-mega__stock-lbl { flex: none; font: 700 12.5px/1 var(--bm-fd); letter-spacing: .1em; text-transform: uppercase; color: var(--bm-orange-text); }
.bm-mega__cards { display: flex; flex: 1; gap: 12px; min-width: 0; }
.bm-card { display: grid; grid-template-columns: 66px 1fr; flex: 1; min-width: 0; gap: 10px; align-items: center; padding: 7px; border: 1px solid var(--bm-g200); background: #fff; transition: border-color 160ms, box-shadow 160ms; }
.bm-card:hover { border-color: var(--bm-g300); box-shadow: 0 2px 6px rgba(42, 46, 71, .08); }
.bm-card img { width: 66px; height: 48px; object-fit: cover; }
.bm-card span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bm-card b { overflow: hidden; font-size: 12px; font-weight: 700; color: var(--bm-navy); white-space: nowrap; text-overflow: ellipsis; }
.bm-card i { font-size: 11.5px; font-style: normal; color: var(--bm-navy); }
.bm-card em { font-style: normal; font-weight: 700; color: var(--bm-orange-text); }
.bm-mega__all { flex: none; font-size: 13px; font-weight: 700; color: var(--bm-navy); }
.bm-mega__all:hover { color: var(--bm-orange-text); }

/* ---------- mobile menu ---------- */
.bm-mnav { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: #fff; color: var(--bm-navy); will-change: transform; }
.bm-mnav[hidden] { display: none; }
.bm-mnav.is-open { animation: bmMnavIn 420ms var(--bm-ease) both; }
.bm-mnav.is-closing { animation: bmMnavOut 380ms var(--bm-ease-in) both; }
@keyframes bmMnavIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes bmMnavOut { from { transform: none; } to { transform: translateY(-100%); } }
@keyframes bmMnavBody { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.bm-mnav__hd { display: flex; flex: none; align-items: center; gap: 8px; height: var(--bm-hdr-h); padding: 0 76px 0 16px; background: var(--bm-navy); }
.bm-mnav__hd img { width: 35px; height: 27px; }
.bm-mnav__hd-c { display: flex; align-items: center; gap: 12px; margin: 0 auto; }
.bm-mnav__tel { display: flex; align-items: center; min-height: 44px; font: 600 15px/1 var(--bm-fd); letter-spacing: .01em; color: #fff; white-space: nowrap; }
.bm-mnav__tel:hover { color: var(--bm-orange-text); }
.bm-mnav__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .18); }
.bm-msgr--dark { gap: 8px; }
.bm-msgr--dark a { position: relative; width: 30px; height: 30px; background: rgba(255, 255, 255, .1); font-size: 16px; }
/* touch: a 44 × 44 hit area for each 30 px circle (the row has no room for 44 px circles). The three areas are laid
   edge to edge, never overlapping: the middle one centred (7 px round), the outer ones reaching 13 px outwards — into
   the free space before the separator and before the burger (.bm-mnav__hd padding) — and 1 px into the 8 px gaps. */
.bm-msgr--dark a::after { content: ""; position: absolute; inset: -7px; }
.bm-msgr--dark a:first-child::after { inset: -7px -1px -7px -13px; }
.bm-msgr--dark a:last-child::after { inset: -7px -13px -7px -1px; }
.bm-msgr--dark a[data-m="wa"] { color: var(--bm-wa); }
.bm-msgr--dark a[data-m="vb"] { color: #8F7FF7; font-size: 17px; }
.bm-msgr--dark a[data-m="tg"] { color: #3FB6F0; font-size: 15px; }
.bm-mnav__body { flex: 1; overflow-y: auto; padding-bottom: 20px; }
.bm-mnav.is-open .bm-mnav__body { animation: bmMnavBody 380ms var(--bm-ease) 160ms both; }
.bm-mnav__lbl { margin: 0; padding: 14px 16px 4px; font: 700 14px/1.2 var(--bm-fd); letter-spacing: .14em; text-transform: uppercase; color: var(--bm-orange-text); }
.bm-mnav__lbl--menu { padding-top: 22px; }
.bm-acc { margin: 0 16px; border-bottom: 1px solid var(--bm-g200); }
.bm-acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 2px 0; border: 0; background: none; text-align: left; cursor: pointer; font: 700 13px/1.3 var(--bm-fd); letter-spacing: .06em; text-transform: uppercase; color: var(--bm-navy); }
.bm-acc__btn:hover { color: var(--bm-orange-text); }
.bm-acc__btn > span { display: inline-flex; align-items: center; gap: 9px; }
.bm-acc__btn img { width: 16px; height: 16px; }
.bm-acc__btn .bm-chev { width: 18px; height: 18px; color: var(--bm-orange); stroke-width: 2.2; transition: transform 320ms ease; }
.bm-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms ease; }
.bm-acc.is-open .bm-acc__body { grid-template-rows: 1fr; }
.bm-acc__body > div { overflow: hidden; }
.bm-acc__list { display: flex; flex-direction: column; padding-bottom: 10px; }
.bm-acc__list a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; color: var(--bm-text); }
.bm-acc__list a:hover { color: var(--bm-orange-text); }
.bm-mnav__stock { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 8px 12px 0; padding: 0 12px; border: 1px solid var(--bm-g200); border-radius: 6px; background: var(--bm-g50); font: 700 12.5px/1 var(--bm-fd); letter-spacing: .06em; text-transform: uppercase; color: var(--bm-navy); }
.bm-mnav__stock:hover { color: var(--bm-orange-text); }
/* the stock page: the card is the current item, the «Меню» list's «Каталог» is not marked (template-parts/mobile-nav.php) */
.bm-mnav__stock[aria-current="page"] { border-color: var(--bm-orange); color: var(--bm-orange-text); }
.bm-badge { display: inline-grid; place-items: center; flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--bm-ok-wash); color: var(--bm-ok); font: 700 11.5px/1 var(--bm-fb); letter-spacing: 0; }
.bm-mnav__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 0 16px; }
.bm-mnav__links a { display: flex; align-items: center; min-height: 44px; font-size: 13.5px; font-weight: 500; color: var(--bm-text); }
.bm-mnav__links a:hover, .bm-mnav__links a[aria-current], .bm-mnav__links a.is-active { color: var(--bm-orange-text); }
/* position: relative — the footer paints over the scrolling body, which its RU / UA targets overlap by 2 px */
.bm-mnav__ft { position: relative; display: flex; flex: none; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--bm-navy); font-size: 11.5px; color: #AEB2C6; }
/* RU / UA of the menu footer: 44 px targets, the labels where they were */
.bm-mnav__ft .bm-lang--row { gap: 0; margin: -14px -10px; }
.bm-mnav__ft .bm-lang a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }

/* ---------- footer ---------- */
.bm-ft { background: var(--bm-navy-900); color: #9498AE; }
.bm-ft a { transition: color 200ms var(--bm-ease-out); }
.bm-ft__in { padding-top: 56px; }
.bm-ft__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 48px; margin-bottom: 52px; }
.bm-ft__logo { width: auto; height: 48px; flex: none; }
/* the quote, the portrait and ONE caption (figcaption, the figure's last child) on a grid (ТЗ §5.1): «Генрі Форд» under
   the quote, right-aligned, the portrait beside both, vertically centred; ≤ 767 px under the portrait (below) */
.bm-ft__quote { display: grid; flex: 1; grid-template-columns: minmax(0, 580px) auto; grid-template-areas: "q img" "c img"; justify-content: end; align-items: center; gap: 12px 30px; min-width: 440px; margin: 0; }
.bm-ft__quote blockquote { grid-area: q; align-self: end; margin: 0; text-align: right; }
.bm-ft__quote p { margin: 0; font: italic 400 15px/1.55 var(--bm-fd); color: #E8EAF2; text-wrap: pretty; }
.bm-ft__portrait { grid-area: img; width: 78px; height: 72px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; }
.bm-ft__cite { grid-area: c; align-self: start; text-align: right; }
.bm-ft__cite cite { font: 700 15px/1.2 var(--bm-fd); font-style: normal; letter-spacing: .02em; color: var(--bm-orange); }
.bm-ft__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr) minmax(0, 1.1fr); gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.bm-ft__grid > * { min-width: 0; }
.bm-ft__h { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font: 700 12px/1 var(--bm-fd); letter-spacing: .15em; text-transform: uppercase; color: #C7CAD8; }
.bm-ft__h::before { content: ""; width: 24px; height: 2px; flex: none; background: var(--bm-orange); }
.bm-ft__menu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 24px; }
.bm-ft__menu ul { display: flex; flex-direction: column; gap: 14px; }
.bm-ft__menu a { font-size: 12px; font-weight: 600; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; color: #9498AE; overflow-wrap: anywhere; }
.bm-ft__menu a:hover { color: var(--bm-orange); }
.bm-ft__cat { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px 16px; }
.bm-ft__cat-h { display: flex; align-items: flex-start; gap: 7px; min-height: 2.6em; margin-bottom: 14px; font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .09em; text-transform: uppercase; color: #fff; }
.bm-ft__cat-h img { width: 14px; height: 14px; flex: none; margin-top: .5px; }
.bm-ft__cat-h:hover { color: var(--bm-orange); }
.bm-ft__cat-l { display: flex; flex-direction: column; gap: 12px; }
.bm-ft__cat-l a { font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .03em; text-transform: uppercase; color: #9498AE; }
.bm-ft__cat-l a:hover { color: var(--bm-orange); }
.bm-ft__tel1 { display: block; font: 500 20px/1.2 var(--bm-fd); letter-spacing: -.01em; color: #fff; }
.bm-ft__tel1:hover { color: var(--bm-orange); }
.bm-ft__tel2 { display: block; margin-top: 6px; font: 400 20px/1.2 var(--bm-fd); color: var(--bm-muted-text); }
.bm-ft__tel2:hover { color: #fff; }
.bm-ft__rows { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.bm-ft__row { display: flex; align-items: flex-start; gap: 13px; }
.bm-ft__row--c { align-items: center; }
.bm-ft__ib { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px; color: var(--bm-orange); font-size: 16px; }
.bm-ft__ib .bm-ico { stroke-width: 1.8; }
.bm-ft__row > span:not(.bm-ft__ib) { padding-top: 8px; font-size: 13.5px; line-height: 1.5; color: #9498AE; }
.bm-ft__row b { font-weight: 700; color: #fff; }
.bm-ft__row a { font-size: 14px; font-weight: 600; line-height: 1.4; color: #fff; }
.bm-ft__row a:hover { color: var(--bm-orange); }
.bm-ft__slash { font-style: normal; color: var(--bm-muted-text); }
/* Socials (design system Footer / ТЗ «Соцмережі»): Facebook · Instagram · YouTube, one row of 42 px circles, gap 12,
   white glyph 21 px (bm_icon fb / ig / yt, the design's glyphs); hover and keyboard focus = the network's colour + a 3 px
   lift (focus also keeps the site's orange ring, base.css :focus-visible — the ring follows the circle); 44 px on touch. */
.bm-soc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.bm-soc a { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: #fff; font-size: 21px; transition: transform 200ms var(--bm-ease-out), background 200ms, border-color 200ms; }
.bm-soc a:is(:hover, :focus-visible) { transform: translateY(-3px); color: #fff; }
.bm-soc a[data-s="fb"]:is(:hover, :focus-visible) { background: #1877F2; border-color: #1877F2; }
.bm-soc a[data-s="ig"]:is(:hover, :focus-visible) { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%) border-box; border-color: transparent; } /* border-box: the gradient also fills under the transparent border (no repeated edge) */
.bm-soc a[data-s="yt"]:is(:hover, :focus-visible) { background: #F00; border-color: #F00; }
@media (prefers-reduced-motion: reduce) {
	.bm-soc a { transition: background 200ms, border-color 200ms; }
	.bm-soc a:is(:hover, :focus-visible) { transform: none; }
}
.bm-ft__bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 28px; font-size: 12.5px; color: var(--bm-muted-text); }
.bm-ft__bot > div { display: flex; align-items: center; gap: 20px; }
/* site-wide rating under the socials (bm_site_rating_html(), owner 2026-10-08): stars filled to the average (--bm-stars), then the figures */
.bm-ft__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 20px; font-size: 13px; color: var(--bm-muted-text); }
.bm-ft__rating b { color: #fff; }
.bm-stars { display: inline-block; flex: none; width: 84px; height: 16px; background: linear-gradient(90deg, var(--bm-orange) var(--bm-stars, 100%), #5B5F76 0);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / 16.8px 16px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / 16.8px 16px repeat-x; }
.bm-ft__bot a { color: #9498AE; }
.bm-ft__bot a:hover, .bm-ft__bot .bm-lang a.is-active { color: var(--bm-orange); }

/* ---------- responsive ---------- */
@media (min-width: 1101px) and (max-width: 1319px) {
	/* catalog full width on top; menu + contacts share the bottom row */
	.bm-ft__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 36px 40px; }
	.bm-ft__grid > :nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
	.bm-ft__grid > :first-child, .bm-ft__grid > :last-child { grid-row: 2; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .09); }
	.bm-ft__cat { gap: 14px 20px; }
}
@media (min-width: 1101px) and (max-width: 1279px) {
	/* the full header row needs ~1260 px (+ slack for font metrics): tighter gaps, messengers move into the phone dropdown (as ≤640) */
	.bm-hdr__row { gap: 16px; }
	.bm-nav { gap: 12px; }
	.bm-hdr__right { gap: 12px; }
	.bm-msgr--hdr { display: none; }
	.bm-msgr--dd { display: flex; }
}
@media (max-width: 1100px) {
	.bm-hdr__row { gap: 14px; }
	.bm-logo { min-height: 44px; }
	.bm-logo img { height: 34px; }
	/* the phone number is hidden: the chevron button is the phone block's only control — a 44 px target, the chevron
	   where it was */
	.bm-phone__btn { width: 44px; height: 44px; margin: 0 -11px 0 -17px; }
	.bm-nav, .bm-phone__num, .bm-mega { display: none; }
	.bm-burger { display: grid; }
	.bm-ft__grid { grid-template-columns: 1fr; gap: 34px; }
	.bm-ft__grid > :not(:first-child) { padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .09); }
	.bm-ft__menu { grid-template-columns: repeat(3, 1fr); gap: 14px 20px; }
	.bm-ft__menu ul { display: contents; }
	.bm-ft__cat { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
	.bm-hdr__row { gap: 10px; }
	.bm-logo img { height: 28px; }
	/* burger 44 px + 14 px gutter + the Telegram hit area's 13 px (.bm-msgr--dark) */
	.bm-mnav__hd { padding-right: 71px; }
	.bm-mnav__hd-c { gap: 10px; }
	.bm-ft__top { gap: 14px; }
	/* quote left, the portrait right with the name under it, the quote's last line level with the name (ТЗ §5.4) */
	.bm-ft__quote { flex: 1 1 100%; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; grid-template-areas: "q img" "q c"; justify-content: stretch; align-items: end; gap: 8px 14px; width: 100%; min-width: 0; }
	.bm-ft__quote blockquote { text-align: left; }
	.bm-ft__quote p { font-size: 14px; }
	.bm-ft__portrait { width: 68px; height: 64px; margin-top: 10px; }
	.bm-ft__cite { justify-self: center; text-align: center; }
	.bm-ft__cite cite { font-size: 14px; }
	.bm-ft__menu { grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
	.bm-ft__cat { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
	.bm-ft__cat-h { margin-bottom: 10px; font-size: 12px; }
	.bm-ft__cat-l { gap: 9px; }
	/* 44 px touch targets: every footer link is a 44 px row (the rows' own gaps absorbed) */
	.bm-ft__menu { row-gap: 0; }
	.bm-ft__menu a, .bm-ft__cat-l a, .bm-ft__row a, .bm-ft__tel1, .bm-ft__tel2 { display: flex; align-items: center; min-height: 44px; }
	.bm-ft__cat-l { gap: 0; }
	.bm-ft__cat-h { align-items: center; min-height: 44px; margin-bottom: 0; }
	.bm-ft__tel2 { margin-top: 0; }
	.bm-ft__rows { gap: 8px; }
	.bm-ft__bot .bm-lang--row { gap: 0; margin-inline: -10px; }
	.bm-ft__bot .bm-lang a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
	.bm-ft__bot > div { flex-wrap: wrap; column-gap: 20px; row-gap: 0; }
	.bm-ft__bot > div > a { display: inline-grid; place-items: center; min-height: 44px; } /* sitemap + privacy links */
}
/* socials: 44 px touch targets (phones and any coarse pointer, e.g. a tablet at 768–1440), the same 12 px gaps */
@media (max-width: 767px), (pointer: coarse) {
	.bm-soc a { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
	.bm-msgr--hdr, .bm-hdr__lang { display: none; }
	.bm-msgr--dd { display: flex; }
}
@media (max-width: 400px) {
	.bm-logo img { height: 25px; }
}
/* menu header below 390 px: the phone and the three messenger targets need the row, the decorative mark goes;
   below 344 px the phone text and the gaps shrink too (fits 320 px) */
@media (max-width: 389px) {
	.bm-mnav__hd > img { display: none; }
}
@media (max-width: 343px) {
	.bm-mnav__hd { padding-left: 12px; }
	.bm-mnav__hd-c { gap: 6px; }
	.bm-mnav__tel { font-size: 14px; }
}
