/* Briticom Maroc: global header, footer, homepage, catalogue, contact and lead form. */

:root {
	--bm-bg: #FFFFFF;
	--bm-surface: #F3F5FA;
	--bm-line: #DDE2EC;
	--bm-ink: #131A2E;
	--bm-muted: #58627A;
	--bm-accent: #1D3565;
	--bm-accent-hover: #152852;
	--bm-support: #586CAF;
	--bm-deep: #101B36;
	--bm-danger: #C62828;
	--bm-ok: #1F7A4D;
	--bm-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--bm-font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
	--bm-r-sm: 6px;
	--bm-r-md: 8px;
	--bm-max: 1240px;
	--bm-gut: 24px;
	--bm-shadow: 0 14px 34px -18px rgba(16, 27, 54, .35);
}

/* ---------- Base (scoped, low specificity so components win) ---------- */
body.bm {
	font-family: var(--bm-font-body);
	color: var(--bm-ink);
	background: var(--bm-bg);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
/* Zero specificity so any component class can set its own margin and padding. */
:where(body.bm) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(body.bm) :where(ul, ol) { list-style: none; }
body.bm :where(h1, h2, h3, h4) { font-family: var(--bm-font-head); color: var(--bm-ink); letter-spacing: -.01em; line-height: 1.12; }
body.bm :where(a) { color: var(--bm-accent); text-decoration: none; }
body.bm :where(img) { max-width: 100%; height: auto; }
body.bm :where(button, input, select, textarea) { font-family: inherit; }
.bm .bm-ico { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.bm .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.bm-container { width: 100%; max-width: calc(var(--bm-max) + var(--bm-gut) * 2); margin: 0 auto; padding: 0 var(--bm-gut); }
.bm-section { padding: 88px 0; }
.bm-section--tight { padding: 56px 0; }
.bm-section--surface { background: var(--bm-surface); }

.bm .bm-h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.bm .bm-h3 { font-size: 24px; font-weight: 800; }
.bm .bm-h2--light { color: #fff; }
.bm-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }

.bm .bm-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bm-accent); }
.bm .bm-link .bm-ico { width: 18px; height: 18px; transition: transform .2s; }
.bm .bm-link:hover .bm-ico { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.bm .bm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 46px; padding: 0 22px; border-radius: var(--bm-r-sm); border: 1px solid transparent;
	font: 700 15px/1 var(--bm-font-body); letter-spacing: .01em; white-space: nowrap; cursor: pointer;
	transition: background-color .18s, color .18s, border-color .18s, transform .12s;
	text-decoration: none;
}
.bm .bm-btn:active { transform: translateY(1px); }
.bm .bm-btn .bm-ico { width: 18px; height: 18px; }
.bm .bm-btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.bm .bm-btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.bm .bm-btn--block { width: 100%; }
.bm .bm-btn--primary { background: var(--bm-accent); color: #fff; }
.bm .bm-btn--primary:hover { background: var(--bm-accent-hover); color: #fff; }
.bm .bm-btn--ghost { background: #fff; color: var(--bm-accent); border-color: var(--bm-line); }
.bm .bm-btn--ghost:hover { border-color: var(--bm-accent); color: var(--bm-accent); }
.bm .bm-btn--light { background: #fff; color: var(--bm-accent); }
.bm .bm-btn--light:hover { background: var(--bm-surface); color: var(--bm-accent-hover); }
.bm .bm-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.bm .bm-btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.bm :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--bm-support); outline-offset: 2px; }

/* ---------- Parent theme neutralisation ---------- */
body.bm .page-loading { display: none !important; }
body.bm .wrapper, body.bm .wrapper.header-bg { padding-top: 0 !important; overflow: visible; }
body.bm header.header { position: sticky !important; top: 0 !important; left: 0; right: 0; z-index: 1000; padding: 0 !important; background: #fff !important; box-shadow: none; transform: none !important; }
body.bm.admin-bar header.header { top: 32px !important; }
body.bm header.header > .container { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.bm .header-search, body.bm .responsive-mobile-menu { display: none !important; }
body.bm footer { padding: 0 !important; background: none; }

/* ---------- Header ---------- */
.bm-head { width: 100%; }
.bm .bm-head a:hover, .bm .bm-mega a:hover, .bm .bm-drawer a:hover, .bm .bm-foot a:hover { text-decoration: none; }
.bm-topbar { background: #0A1328; color: rgba(255, 255, 255, .7); font-size: 13px; }
.bm-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.bm .bm-topbar__note { color: rgba(255, 255, 255, .7); }
.bm-topbar__links { display: flex; align-items: center; gap: 22px; }
.bm-topbar__links li { display: flex; align-items: center; gap: 7px; }
.bm .bm-topbar__links a { color: rgba(255, 255, 255, .88); display: inline-flex; align-items: center; gap: 7px; }
.bm .bm-topbar__links a:hover { color: #fff; }
.bm .bm-topbar .bm-ico { width: 15px; height: 15px; color: #9aa9dc; }

.bm-bar { position: relative; background: var(--bm-deep); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background-color .2s, box-shadow .2s; }
.bm-scrolled .bm-bar { background: rgba(16, 27, 54, .94); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .7); }
.bm-bar__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.bm .bm-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.bm .bm-logo__img { width: 150px; height: auto; display: block; }

.bm-nav { flex: 1 1 auto; display: flex; justify-content: flex-start; }
.bm-nav__list { display: flex; align-items: center; gap: 2px; padding: 0; border: 0; background: none; }
.bm .bm-nav__item { display: flex; align-items: center; padding: 0 !important; margin: 0; }
.bm .bm-nav__link {
	display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 18px; border-radius: 999px;
	font: 700 15px/1 var(--bm-font-body); color: rgba(255, 255, 255, .8); white-space: nowrap; text-decoration: none;
	transition: background-color .15s, color .15s;
}
.bm .bm-nav__link:hover, .bm .bm-nav__item.is-open > .bm-nav__link { color: #fff; background: rgba(255, 255, 255, .09); text-decoration: none; }
.bm .bm-nav__item.is-active > .bm-nav__link, .bm .bm-nav__item.is-active > .bm-nav__link:hover { background: none; color: #9fb4ff; }
.bm .bm-nav__chev { width: 16px; height: 16px; transition: transform .2s; }
.bm .bm-nav__item.is-open .bm-nav__chev { transform: rotate(180deg); }

.bm-bar__actions { display: flex; align-items: center; gap: 10px; }
.bm-qsearch { display: flex; align-items: center; gap: 10px; height: 42px; width: 250px; padding: 0 18px 0 15px; margin: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .7); cursor: text; transition: width .25s, background-color .15s, border-color .15s; }
.bm-qsearch:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .11); }
.bm-qsearch:focus-within { width: 300px; background: #fff; border-color: #fff; color: var(--bm-accent); }
.bm .bm-qsearch input[type="search"] { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: #fff; font-size: 14px; outline: 0; box-shadow: none; -webkit-appearance: none; appearance: none; }
.bm .bm-qsearch:focus-within input[type="search"] { color: var(--bm-ink); }
/* The parent theme forces input::placeholder to near-black with !important. */
.bm .bm-qsearch input::placeholder { color: rgba(255, 255, 255, .72) !important; opacity: 1; }
.bm .bm-qsearch:focus-within input::placeholder { color: #7f889c !important; }
.bm .bm-qsearch input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.bm :is(.bm-form, .bmlead__form, .bm-search__form, .bm-drawer__search) ::placeholder { color: #7f889c !important; opacity: 1; }
.bm .bm-qsearch .bm-ico { width: 18px; height: 18px; }
.bm .bm-iconbtn { all: unset; box-sizing: border-box; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--bm-r-sm); color: var(--bm-ink); cursor: pointer; transition: background-color .15s; }
.bm .bm-iconbtn:hover { background: var(--bm-surface); color: var(--bm-accent); }
.bm .bm-iconbtn .bm-ico { width: 22px; height: 22px; }
.bm .bm-bar .bm-iconbtn { color: #fff; border-radius: var(--bm-r-sm); }
.bm .bm-bar .bm-iconbtn:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.bm .bm-burger { display: none; }
/* Search: square icon button, same radius and height as .bm-btn. */
.bm .bm-bar .bm-search-toggle { display: inline-flex; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); transition: background-color .15s, border-color .15s; }
.bm .bm-bar .bm-search-toggle:hover, .bm .bm-bar .bm-search-toggle[aria-expanded="true"] { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); }
.bm .bm-bar .bm-search-toggle .bm-ico { width: 20px; height: 20px; }

/* Mega menu: family rail on the left, sub-categories and a featured product on the right */
.bm-mega {
	position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--bm-line);
	box-shadow: 0 34px 60px -30px rgba(16, 27, 54, .5); opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 50;
}
.bm-nav__item--mega.is-open > .bm-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.bm-mega__in { display: grid; grid-template-columns: 290px 1fr; }
.bm-mega__rail { display: grid; gap: 6px; align-content: start; padding: 26px 24px 26px 0; border-right: 1px solid var(--bm-line); }
.bm .bm-mega__fam { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--bm-r-md); color: var(--bm-ink); transition: background-color .15s; }
.bm-mega__thumb { width: 52px; height: 52px; border-radius: var(--bm-r-md); background: #fff; border: 1px solid var(--bm-line); overflow: hidden; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.bm-mega__thumb img { width: 100%; height: 100%; object-fit: contain; }
.bm-mega__famtxt strong { display: block; font: 800 15px/1.2 var(--bm-font-head); }
.bm-mega__famtxt small { display: block; margin-top: 3px; font-size: 13px; color: var(--bm-muted); }
.bm .bm-mega__go { width: 18px; height: 18px; margin-left: auto; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.bm .bm-mega__fam.is-active { background: var(--bm-surface); }
.bm .bm-mega__fam.is-active strong { color: var(--bm-accent); }
.bm .bm-mega__fam.is-active .bm-mega__go { opacity: 1; transform: none; color: var(--bm-accent); }
.bm-mega__panels { padding: 26px 0 26px 32px; min-width: 0; }
.bm-mega__panel { display: none; grid-template-columns: 1fr 240px; gap: 28px; }
.bm-mega__panel.is-active { display: grid; animation: bmFade .2s ease; }
@keyframes bmFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.bm-mega__phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.bm .bm-mega__ptitle { font: 800 20px/1.15 var(--bm-font-head); color: var(--bm-ink); }
.bm .bm-mega__pdesc { margin-top: 6px; font-size: 14px; color: var(--bm-muted); max-width: 56ch; }
.bm .bm-mega__phead .bm-link { white-space: nowrap; font-size: 14px; margin-top: 3px; }
.bm-mega__subs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bm .bm-mega__sub { display: flex; align-items: center; gap: 12px; padding: 9px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); color: var(--bm-ink); transition: border-color .15s, box-shadow .15s; }
.bm .bm-mega__sub:hover { border-color: var(--bm-accent); box-shadow: 0 8px 18px -14px rgba(16, 27, 54, .6); }
.bm-mega__subimg { width: 46px; height: 46px; border-radius: var(--bm-r-sm); background: var(--bm-surface); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bm-mega__subimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bm-mega__subtxt strong { display: block; font-size: 14px; line-height: 1.3; }
.bm-mega__subtxt small { display: block; margin-top: 2px; font-size: 12px; color: var(--bm-muted); }
.bm .bm-mega__sub:hover strong { color: var(--bm-accent); }
.bm .bm-mega__feat { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--bm-r-md); background: var(--bm-surface); color: var(--bm-ink); }
.bm-mega__featimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: var(--bm-r-sm); background: #fff; overflow: hidden; }
.bm-mega__featimg img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s; }
.bm .bm-mega__feat:hover .bm-mega__featimg img { transform: scale(1.04); }
.bm-mega__feat strong { font-size: 14px; line-height: 1.35; }
.bm-mega__feat small { font-size: 12px; color: var(--bm-muted); }
.bm-mega__featlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 13px; color: var(--bm-accent); }
.bm-mega__featlink .bm-ico { width: 15px; height: 15px; }
.bm-mega__foot { background: var(--bm-surface); border-top: 1px solid var(--bm-line); }
.bm-mega__footin { display: flex; align-items: center; gap: 28px; min-height: 52px; font-size: 14px; color: var(--bm-muted); }
.bm .bm-mega__footin p { display: inline-flex; align-items: center; gap: 8px; color: var(--bm-muted); }
.bm .bm-mega__footin p a { color: var(--bm-ink); font-weight: 700; }
.bm .bm-mega__footin .bm-ico { width: 17px; height: 17px; color: var(--bm-accent); }
.bm .bm-mega__all { margin-left: auto; font-size: 14px; }

/* Search bar */
.bm-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--bm-line); box-shadow: 0 24px 40px -24px rgba(16, 27, 54, .35); padding: 18px 0; z-index: 60; }
.bm-search[hidden] { display: none; }
.bm-search__form { display: flex; align-items: center; gap: 12px; }
.bm-search__form > .bm-ico { color: var(--bm-muted); }
.bm .bm-search__form input[type="search"] { flex: 1; height: 50px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); padding: 0 16px; font-size: 16px; background: var(--bm-surface); color: var(--bm-ink); }
.bm .bm-search__form input[type="search"]:focus { outline: 0; border-color: var(--bm-accent); background: #fff; }

/* Mobile drawer */
.bm-drawer { position: fixed; inset: 0; z-index: 2147483000; }
.bm-drawer[hidden] { display: none; }
.bm-drawer__backdrop { position: absolute; inset: 0; background: rgba(16, 27, 54, .55); }
.bm-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; display: flex; flex-direction: column; overflow-y: auto; animation: bmSlide .22s ease-out; }
@keyframes bmSlide { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.bm-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--bm-line); }
.bm-drawer__top .bm-logo__img { width: 132px; }
.bm-drawer__search { display: flex; align-items: center; gap: 10px; margin: 16px 20px 6px; padding: 0 14px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); background: var(--bm-surface); }
.bm-drawer__search .bm-ico { color: var(--bm-muted); }
.bm .bm-drawer__search input { flex: 1; height: 46px; border: 0; background: transparent; font-size: 16px; color: var(--bm-ink); outline: 0; }
.bm-drawer__nav { padding: 6px 20px; }
.bm-drawer__nav .bm-nav__list { display: block; height: auto; padding: 0; border: 0; border-radius: 0; background: none; }
.bm .bm-drawer__nav .bm-nav__item { display: block; border-bottom: 1px solid var(--bm-line); }
.bm .bm-drawer__nav .bm-nav__link, .bm .bm-drawer__nav .bm-nav__link:hover { height: auto; padding: 16px 0; border-radius: 0; background: none; color: var(--bm-ink); font-size: 17px; }
.bm .bm-drawer__nav .bm-nav__item.is-active > .bm-nav__link, .bm .bm-drawer__nav .bm-nav__item.is-active > .bm-drawer__row .bm-nav__link { background: none; color: var(--bm-accent); }
.bm-drawer__row { display: flex; align-items: center; justify-content: space-between; }
.bm .bm-drawer__expand { all: unset; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--bm-ink); }
.bm .bm-drawer__expand[aria-expanded="true"] .bm-ico { transform: rotate(180deg); }
.bm-drawer__cats { padding: 0 0 14px 2px; }
.bm .bm-drawer__fam { margin: 10px 0 4px; }
.bm .bm-drawer__fam a { font: 800 15px var(--bm-font-head); color: var(--bm-accent); }
.bm .bm-drawer__cats li a { display: block; padding: 7px 0 7px 12px; color: var(--bm-ink); font-size: 15px; border-left: 2px solid var(--bm-line); }
.bm-drawer__foot { margin-top: auto; padding: 20px; display: grid; gap: 12px; background: var(--bm-surface); }
.bm .bm-drawer__contact { display: flex; align-items: center; gap: 10px; color: var(--bm-ink); font-weight: 700; font-size: 15px; }
.bm .bm-drawer__contact .bm-ico { color: var(--bm-accent); }
body.bm-lock { overflow: hidden; }

/* ---------- Footer ---------- */
.bm-foot { background: var(--bm-deep); color: rgba(255, 255, 255, .78); font-size: 15px; }
.bm-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.bm .bm-logo--foot .bm-logo__img { width: 176px; }
.bm .bm-foot__brand p { margin: 20px 0 24px; color: rgba(255, 255, 255, .72); max-width: 36ch; }
.bm .bm-foot__title { font: 800 15px var(--bm-font-head); color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.bm-foot__col ul { display: grid; gap: 11px; }
.bm .bm-foot__col a { color: rgba(255, 255, 255, .78); }
.bm .bm-foot__col a:hover { color: #fff; }
.bm-foot__contact li { display: flex; gap: 10px; align-items: flex-start; }
.bm .bm-foot__contact a { display: inline-flex; gap: 10px; align-items: flex-start; }
.bm .bm-foot__contact .bm-ico { width: 17px; height: 17px; margin-top: 3px; color: #9aa9dc; }
.bm-foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)) no-repeat var(--bm-gut) 0 / calc(100% - var(--bm-gut) * 2) 1px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.bm .bm-foot__legal p { color: rgba(255, 255, 255, .6); }

/* ---------- Hero ---------- */
.bm-hero { position: relative; background: var(--bm-deep); color: #fff; overflow: hidden; }
.bm-hero__in { position: relative; z-index: 2; display: flex; align-items: center; min-height: 560px; }
.bm-hero__text { width: 50%; padding: 72px 48px 72px 0; }
.bm .bm-hero__title { color: #fff; font-size: clamp(34px, 3.7vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.bm .bm-hero__sub { margin-top: 22px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 46ch; }
.bm-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.bm-hero__media { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; }
.bm-hero__media picture { position: absolute; inset: 0; z-index: 0; }
.bm .bm-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.bm-hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bm-deep) 0%, rgba(16, 27, 54, .7) 18%, rgba(16, 27, 54, .15) 50%, rgba(16, 27, 54, 0) 75%); z-index: 2; }

/* ---------- Key figures ---------- */
.bm-stats { background: #fff; border-bottom: 1px solid var(--bm-line); }
.bm-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bm-stat { padding: 34px 28px 34px 0; }
.bm-stat + .bm-stat { padding-left: 28px; border-left: 1px solid var(--bm-line); }
.bm .bm-stat__num { font: 800 34px/1 var(--bm-font-head); color: var(--bm-accent); letter-spacing: -.02em; }
.bm .bm-stat__txt { margin-top: 10px; color: var(--bm-muted); font-size: 15px; line-height: 1.45; max-width: 28ch; }

/* ---------- Families bento ---------- */
.bm-bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.bm-fam { display: grid; grid-template-columns: 36% 1fr; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); overflow: hidden; background: #fff; transition: box-shadow .2s, border-color .2s; }
.bm-fam:hover { box-shadow: var(--bm-shadow); border-color: #cfd6e4; }
.bm-fam--lead { grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
.bm .bm-fam__media { display: flex; align-items: center; justify-content: center; background: #fff; padding: 20px; border-right: 1px solid var(--bm-line); }
.bm-fam--lead .bm-fam__media { border-right: 0; border-bottom: 1px solid var(--bm-line); padding: 28px; }
.bm-fam__media img { width: 100%; max-height: 250px; object-fit: contain; transition: transform .35s ease; }
.bm-fam--lead .bm-fam__media img { max-height: 340px; }
.bm-fam:hover .bm-fam__media img { transform: scale(1.03); }
.bm-fam__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.bm-fam:not(.bm-fam--lead) .bm-chips a { padding: 5px 10px; font-size: 13px; }
.bm-fam--lead .bm-fam__body { padding: 32px; background: var(--bm-surface); }
.bm .bm-fam__count { font-size: 13px; font-weight: 700; color: var(--bm-support); letter-spacing: .08em; text-transform: uppercase; }
.bm .bm-fam__title { font-size: 24px; font-weight: 800; }
.bm-fam--lead .bm-fam__title { font-size: 30px; }
.bm .bm-fam__title a { color: var(--bm-ink); }
.bm .bm-fam__title a:hover { color: var(--bm-accent); }
.bm .bm-fam__text { color: var(--bm-muted); font-size: 15px; }
.bm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bm .bm-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); background: #fff; color: var(--bm-ink); font-size: 14px; font-weight: 700; transition: border-color .15s, color .15s; }
.bm .bm-chips a:hover { border-color: var(--bm-accent); color: var(--bm-accent); }
.bm .bm-chips a span { color: var(--bm-muted); font-weight: 400; }

/* ---------- Tabs ---------- */
.bm-tabs { display: flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); flex-wrap: wrap; }
.bm .bm-tab { all: unset; cursor: pointer; padding: 10px 16px; border-radius: var(--bm-r-sm); font: 700 14px var(--bm-font-body); color: var(--bm-muted); transition: background-color .15s, color .15s; }
.bm .bm-tab:hover { color: var(--bm-accent); }
.bm .bm-tab[aria-selected="true"] { background: var(--bm-accent); color: #fff; }
.bm .bm-tab:focus-visible { outline: 3px solid var(--bm-support); outline-offset: 2px; }
.bm-tabpanel[hidden] { display: none; }
.bm-catalog__more { margin-top: 36px; text-align: center; }

/* ---------- Product cards ---------- */
.bm-grid { display: grid; gap: 20px; }
.bm-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bm-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.bm-card:hover { box-shadow: var(--bm-shadow); border-color: #cfd6e4; transform: translateY(-2px); }
.bm .bm-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--bm-line); overflow: hidden; }
.bm .bm-card__img { position: absolute; top: 18px; left: 18px; width: calc(100% - 36px); height: calc(100% - 36px); max-width: none; object-fit: contain; transition: transform .35s ease; }
.bm-card:hover .bm-card__img { transform: scale(1.04); }
.bm-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.bm .bm-card__cat { font-size: 12px; font-weight: 700; color: var(--bm-support); letter-spacing: .08em; text-transform: uppercase; }
.bm .bm-card__title { font: 700 16px/1.35 var(--bm-font-body); letter-spacing: 0; }
.bm .bm-card__title a { color: var(--bm-ink); }
.bm .bm-card__title a:hover { color: var(--bm-accent); }
.bm .bm-card__sku { font-size: 13px; color: var(--bm-muted); font-variant-numeric: tabular-nums; }
.bm-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bm-line); }
.bm-card__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--bm-muted); min-width: 0; }
.bm .bm-card__quote { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--bm-accent); white-space: nowrap; }
.bm .bm-card__quote .bm-ico { width: 16px; height: 16px; transition: transform .2s; }
.bm .bm-card__quote:hover .bm-ico { transform: translateX(3px); }
.bm-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(16, 27, 54, .25); flex: 0 0 auto; }

/* ---------- Why Briticom ---------- */
.bm-why__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bm-why__media { background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); padding: 32px; }
.bm-why__media img { width: 100%; max-height: 440px; object-fit: contain; display: block; margin: 0 auto; }
.bm .bm-why__text > p { margin-top: 18px; color: var(--bm-muted); font-size: 17px; max-width: 58ch; }
.bm-checks { margin-top: 28px; display: grid; gap: 16px; }
.bm-checks li { display: flex; gap: 14px; align-items: flex-start; }
.bm-checks .bm-ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--bm-surface); color: var(--bm-accent); box-sizing: border-box; margin-top: 1px; }
.bm-checks span { color: var(--bm-muted); font-size: 15px; }
.bm-checks strong { display: block; color: var(--bm-ink); font-size: 16px; }

/* ---------- Uses ---------- */
.bm-uses { background: var(--bm-deep); }
.bm-uses__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; margin-top: 40px; }
.bm-uses__list li { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.bm-uses__list .bm-ico { width: 30px; height: 30px; color: #9aa9dc; margin-top: 2px; }
.bm .bm-uses__list h3 { color: #fff; font-size: 19px; font-weight: 800; }
.bm .bm-uses__list p { margin-top: 6px; color: rgba(255, 255, 255, .74); font-size: 15px; }

/* ---------- CTA ---------- */
.bm-cta { padding: 72px 0; }
.bm-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: var(--bm-r-md); background: var(--bm-surface); border: 1px solid var(--bm-line); flex-wrap: wrap; }
.bm .bm-cta__in p { margin-top: 10px; color: var(--bm-muted); font-size: 17px; max-width: 56ch; }
.bm-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page head and breadcrumb ---------- */
.bm-pagehead { background: var(--bm-surface); border-bottom: 1px solid var(--bm-line); padding: 34px 0 38px; }
.bm-pagehead--slim { padding: 16px 0; background: #fff; }
.bm .bm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 14px; color: var(--bm-muted); }
.bm .bm-crumbs a { color: var(--bm-muted); }
.bm .bm-crumbs a:hover { color: var(--bm-accent); }
.bm-crumbs__sep { color: #a8b0c2; }
.bm .bm-pagehead__title { margin-top: 14px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.bm .bm-pagehead__text { margin-top: 12px; color: var(--bm-muted); font-size: 17px; max-width: 70ch; }
.bm-chips--head { margin-top: 20px; }

/* ---------- Shop ---------- */
.bm-shop__in { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 40px; padding-bottom: 88px; align-items: start; }
.bm-filters { position: sticky; top: 140px; }
.bm-filters__head { display: none; }
.bm-fgroup { padding: 18px 0; border-bottom: 1px solid var(--bm-line); }
.bm-fgroup:first-of-type { padding-top: 0; }
.bm .bm-fgroup__title { font: 800 14px var(--bm-font-head); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.bm .bm-tree a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; color: var(--bm-ink); font-size: 15px; }
.bm .bm-tree a span { color: var(--bm-muted); font-size: 13px; }
.bm .bm-tree a:hover, .bm .bm-tree a.is-active { color: var(--bm-accent); font-weight: 700; }
.bm .bm-tree ul { margin: 2px 0 6px; padding-left: 12px; border-left: 2px solid var(--bm-line); }
.bm .bm-tree ul a { font-size: 14px; }
.bm-fopts { display: flex; flex-wrap: wrap; gap: 8px; }
.bm .bm-fopts a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); font-size: 14px; color: var(--bm-ink); background: #fff; }
.bm .bm-fopts a span:last-child { color: var(--bm-muted); font-size: 12px; }
.bm .bm-fopts a:hover { border-color: var(--bm-accent); }
.bm .bm-fopts a.is-on { border-color: var(--bm-accent); background: var(--bm-accent); color: #fff; }
.bm .bm-fopts a.is-on span:last-child { color: rgba(255, 255, 255, .75); }
.bm-filters__reset { margin-top: 18px; }
.bm-shop__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.bm .bm-shop__count { color: var(--bm-muted); font-size: 15px; margin-right: auto; }
.bm .bm-filters-toggle { display: none; }
.bm .woocommerce-ordering { margin: 0; }
.bm .woocommerce-ordering select { height: 42px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); padding: 0 36px 0 12px; background: #fff; color: var(--bm-ink); font-size: 14px; }
.bm .woocommerce-pagination { margin-top: 40px; }
.bm .woocommerce-pagination ul.page-numbers { display: flex; gap: 6px; justify-content: center; border: 0; }
.bm .woocommerce-pagination ul.page-numbers li { border: 0; }
.bm .woocommerce-pagination .page-numbers a, .bm .woocommerce-pagination .page-numbers span { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); color: var(--bm-ink); }
.bm .woocommerce-pagination .page-numbers span.current { background: var(--bm-accent); color: #fff; border-color: var(--bm-accent); }
.bm-empty { padding: 48px; border: 1px dashed var(--bm-line); border-radius: var(--bm-r-md); text-align: center; background: var(--bm-surface); }
.bm .bm-empty__title { font: 800 22px var(--bm-font-head); }
.bm .bm-empty p + p { margin-top: 10px; color: var(--bm-muted); }
.bm .bm-empty .bm-btn { margin: 8px 4px 0; }
.bm-filters__scrim[hidden] { display: none; }

/* ---------- Product page ---------- */
.bm-product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 36px; padding-bottom: 24px; align-items: start; }
.bm-product__gallery { position: relative; min-width: 0; }
.bm .bm-product__gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important; }
.bm .woocommerce-product-gallery__wrapper { margin: 0; }
.bm .woocommerce-product-gallery .flex-viewport, .bm .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child { border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); background: #fff; }
.bm .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain !important; padding: 24px; box-sizing: border-box; background: #fff; }
.bm .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 10px; margin: 12px 0 0 !important; padding: 0; }
.bm .woocommerce-product-gallery .flex-control-thumbs li { width: 86px !important; float: none !important; margin: 0 !important; }
.bm .woocommerce-product-gallery .flex-control-thumbs img { border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); padding: 6px; background: #fff; opacity: .6; aspect-ratio: 1 / 1; object-fit: contain; }
.bm .woocommerce-product-gallery .flex-control-thumbs img.flex-active, .bm .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--bm-accent); }
.bm .woocommerce-product-gallery__trigger { top: 14px !important; right: 14px !important; z-index: 5; }
.bm-product__summary { position: sticky; top: 140px; }
.bm .bm-product__kicker { font-size: 13px; font-weight: 700; color: var(--bm-support); letter-spacing: .08em; text-transform: uppercase; }
.bm .bm-product__title { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.15; }
.bm .bm-product__sku { margin-top: 12px; color: var(--bm-muted); font-size: 15px; }
.bm .bm-product__sku strong { color: var(--bm-ink); font-variant-numeric: tabular-nums; }
.bm .bm-product__excerpt { margin-top: 18px; font-size: 17px; color: var(--bm-ink); }
.bm-specs { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 24px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); overflow: hidden; }
.bm-specs > div { padding: 14px 16px; border-bottom: 1px solid var(--bm-line); }
.bm-specs > div:nth-child(odd) { border-right: 1px solid var(--bm-line); }
.bm-specs > div:nth-last-child(-n+2):nth-child(odd), .bm-specs > div:last-child { border-bottom: 0; }
.bm .bm-specs dt { float: none; position: static; display: block; width: auto; margin: 0; font-size: 12px; font-weight: 700; color: var(--bm-muted); letter-spacing: .08em; text-transform: uppercase; }
.bm .bm-specs dd { float: none; position: static; margin: 4px 0 0; padding: 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.bm-product__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.bm-assure { margin-top: 22px; display: grid; gap: 10px; }
.bm-assure li { display: flex; gap: 10px; align-items: flex-start; color: var(--bm-muted); font-size: 15px; }
.bm-assure .bm-ico { color: var(--bm-accent); margin-top: 2px; }
.bm-product__details > * { max-width: 920px; }
.bm-prose { margin-top: 22px; font-size: 16px; color: var(--bm-ink); }
.bm .bm-prose p { margin: 0 0 14px; color: #2b334a; max-width: 75ch; }
.bm .bm-prose h2 { font-size: 21px; font-weight: 800; margin: 34px 0 14px; }
.bm .bm-prose h3 { font-size: 17px; font-weight: 800; margin: 20px 0 6px; font-family: var(--bm-font-body); }
.bm .bm-prose ul { margin: 0 0 14px; display: grid; gap: 8px; }
.bm .bm-prose ul li { position: relative; padding-left: 22px; }
.bm .bm-prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--bm-support); }
.bm .bm-prose table { width: 100%; border-collapse: collapse; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); overflow: hidden; font-size: 15px; margin: 0 0 14px; display: table; }
.bm .bm-prose th, .bm .bm-prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--bm-line); vertical-align: top; }
.bm .bm-prose th { width: 52%; font-weight: 700; background: var(--bm-surface); color: var(--bm-ink); }
.bm .bm-prose tr:last-child th, .bm .bm-prose tr:last-child td { border-bottom: 0; }

/* ---------- Contact page ---------- */
.bm-contact__in { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.bm-contact__info { display: grid; gap: 4px; }
.bm-cinfo { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--bm-line); }
.bm-cinfo:first-child { padding-top: 0; }
.bm-cinfo__ico { width: 46px; height: 46px; border-radius: var(--bm-r-md); background: var(--bm-surface); color: var(--bm-accent); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.bm .bm-cinfo h2 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.bm .bm-cinfo p { color: var(--bm-muted); }
.bm .bm-cinfo p a:not(.bm-link) { color: var(--bm-ink); font-weight: 700; }
.bm .bm-cinfo .bm-link { margin-top: 4px; font-size: 14px; }
.bm-contact__form { position: relative; padding: 36px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); background: #fff; box-shadow: var(--bm-shadow); }
.bm .bm-contact__lead { margin: 8px 0 24px; color: var(--bm-muted); }
.bm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.bm-f--full { grid-column: 1 / -1; }
.bm .bm-form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; color: var(--bm-ink); }
.bm .bm-form label em, .bm .bm-consent em { color: var(--bm-danger); font-style: normal; }
.bm .bm-form input:not([type="checkbox"]), .bm .bm-form select, .bm .bm-form textarea {
	width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm);
	background: var(--bm-surface); color: var(--bm-ink); font-size: 15px; box-shadow: none; outline: 0; transition: border-color .15s, background-color .15s;
}
.bm .bm-form textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; }
.bm .bm-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231D3565' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.bm .bm-form input:focus, .bm .bm-form select:focus, .bm .bm-form textarea:focus { border-color: var(--bm-accent); background-color: #fff; }
.bm .bm-form ::placeholder { color: #8a92a6; opacity: 1; }
.bm .bm-form label.bm-consent { display: flex; margin: 20px 0; font-weight: 400; font-size: 13px; color: #3c445a; }
.bm-form .bm-btn { margin-top: 4px; }

/* Shared form parts (contact page and popup) */
.bm .is-bad { border-color: var(--bm-danger) !important; background-color: #fff6f6 !important; }
.bm .bm-tel { display: flex; gap: 8px; }
.bm .bm-tel__cc { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); background: #eceff6; font-size: 14px; color: var(--bm-ink); }
.bm .bm-tel__cc i { display: block; width: 20px; height: 14px; border-radius: 2px; background: #c1272d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0-5.5 1.3-1.7H5.3L2.1.7 3.3 4.5 0 2.2-3.3 4.5-2.1.7-5.3-1.7H-1.3Z' fill='none' stroke='%23006233' stroke-width='1.1'/%3E%3C/svg%3E") center/12px no-repeat; }
.bm .bm-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3c445a; cursor: pointer; line-height: 1.45; }
.bm .bm-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; position: static; accent-color: var(--bm-accent); }
.bm .bm-consent.is-bad { color: var(--bm-danger); background: none !important; }
.bm .bm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bm .bm-msg { font-size: 14px; margin-top: 10px; }
.bm .bm-msg.err { color: var(--bm-danger); }
.bm .bm-done { display: none; padding: 36px 24px; text-align: center; }
.bm .bm-done i { display: flex; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: #e6f4ec; color: var(--bm-ok); align-items: center; justify-content: center; }
.bm .bm-done i .bm-ico { width: 28px; height: 28px; }
.bm .bm-done__title { font: 800 20px var(--bm-font-head); color: var(--bm-ink); margin-bottom: 6px; }
.bm .bm-done p:not(.bm-done__title) { color: var(--bm-muted); }
.bm .is-sent > form { display: none; }
.bm .is-sent > .bm-done, .bm .is-sent .bm-done { display: block; }

/* ---------- Floating lead form (adapted from tthcompany.ma) ---------- */
.bmlead { position: fixed; right: 24px; bottom: 24px; z-index: 2147483600; font-family: var(--bm-font-body); line-height: 1.4; }
.bmlead * { box-sizing: border-box; }
.bm .bmlead__launch { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: row-reverse; align-items: center; height: 56px; min-width: 56px; max-width: 56px; padding: 0 6px 0 0; border-radius: 28px; background: var(--bm-accent); color: #fff; box-shadow: 0 10px 24px -6px rgba(16, 27, 54, .6); overflow: hidden; white-space: nowrap; transition: max-width .35s ease, background-color .2s; }
.bm .bmlead__launch:focus-visible { outline: 3px solid var(--bm-support); outline-offset: 3px; }
.bmlead__label { font-size: 16px; font-weight: 700; color: #fff; padding: 0 12px 0 22px; opacity: 0; transition: opacity .2s; }
.bmlead__ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s; }
.bmlead__ico .bm-ico { width: 22px; height: 22px; }
.bmlead__ico .x { display: none; }
.bmlead:not(.is-open) .bmlead__launch:hover, .bmlead:not(.is-open) .bmlead__launch:focus-visible, .bmlead.is-peek .bmlead__launch { max-width: 280px; }
.bmlead:not(.is-open) .bmlead__launch:hover .bmlead__label, .bmlead:not(.is-open) .bmlead__launch:focus-visible .bmlead__label, .bmlead.is-peek .bmlead__label { opacity: 1; }
.bmlead:not(.is-open) .bmlead__launch:hover .bmlead__ico, .bmlead.is-peek .bmlead__ico { background: #fff; color: var(--bm-accent); }
.bmlead.is-open .bmlead__ico .a { display: none; }
.bmlead.is-open .bmlead__ico .x { display: flex; }
.bmlead__panel { position: absolute; right: 0; bottom: 72px; width: 340px; max-height: calc(100vh - 150px); overflow: auto; background: #fff; border: 1px solid var(--bm-line); border-radius: 12px; box-shadow: 0 22px 48px -16px rgba(16, 27, 54, .45); opacity: 0; visibility: hidden; transform: translateY(12px); transform-origin: bottom right; transition: opacity .22s, transform .22s, visibility 0s .22s; }
.bmlead.is-open .bmlead__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s; }
.bmlead__head { padding: 20px 20px 6px; }
.bm .bmlead__title { font: 800 18px var(--bm-font-head); color: var(--bm-ink); }
.bm .bmlead__sub { margin-top: 4px; font-size: 13px; color: var(--bm-muted); }
.bmlead__form { padding: 10px 20px 20px; margin: 0; }
.bmlead .bm-f { margin: 0 0 10px; }
.bm .bmlead__form input:not([type="checkbox"]), .bm .bmlead__form select, .bm .bmlead__form textarea { width: 100%; height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); background: var(--bm-surface); color: var(--bm-ink); font: 400 14px/1.3 var(--bm-font-body); box-shadow: none; outline: 0; transition: border-color .15s; }
.bm .bmlead__form textarea { height: 64px; padding: 9px 12px; resize: vertical; display: block; }
.bm .bmlead__form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231D3565' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.bm .bmlead__form input:focus, .bm .bmlead__form select:focus, .bm .bmlead__form textarea:focus { border-color: var(--bm-accent); background-color: #fff; }
.bm .bmlead__form ::placeholder { color: #7f889c; opacity: 1; }
.bmlead .bm-tel__cc { height: 40px; }
.bmlead .bm-consent { margin: 6px 0 14px; }
.bm .bmlead__submit { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 5px 0 18px; border-radius: 21px; background: var(--bm-accent); color: #fff; font: 700 15px var(--bm-font-body); transition: background-color .15s; }
.bm .bmlead__submit:hover { background: var(--bm-accent-hover); }
.bm .bmlead__submit span { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--bm-accent); display: flex; align-items: center; justify-content: center; }
.bm .bmlead__submit .bm-ico { width: 18px; height: 18px; }
.bm .bmlead__submit[disabled], .bm .bm-form [type="submit"][disabled] { opacity: .6; cursor: wait; }

/* ---------- Section intro text ---------- */
.bm .bm-lead { margin-top: 12px; color: var(--bm-muted); font-size: 17px; max-width: 62ch; }

/* ---------- Sectors mosaic ---------- */
.bm-sectors__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(250px, auto)); gap: 18px; }
.bm-sector { position: relative; overflow: hidden; border-radius: var(--bm-r-md); background: var(--bm-deep); color: #fff; min-height: 250px; display: flex; align-items: flex-end; isolation: isolate; }
.bm-sector--xl { grid-column: span 2; grid-row: span 2; min-height: 520px; }
.bm-sector picture, .bm-sector picture img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.bm-sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 27, 54, .05) 25%, rgba(16, 27, 54, .92) 100%); }
.bm-sector:hover picture img { transform: scale(1.04); }
.bm-sector__body { padding: 22px; }
.bm-sector--xl .bm-sector__body { padding: 32px; max-width: 520px; }
.bm .bm-sector h3 { color: #fff; font-size: 20px; font-weight: 800; }
.bm-sector--xl h3 { font-size: 28px; }
.bm .bm-sector p { margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.5; }
.bm-sector--xl p { font-size: 16px; }
.bm .bm-sector__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 2px; }
.bm .bm-sector__link .bm-ico { width: 17px; height: 17px; }
.bm-sector--product { background: #fff; color: var(--bm-ink); border: 1px solid var(--bm-line); flex-direction: column; align-items: stretch; }
.bm-sector--product::after { display: none; }
.bm-sector__prod { flex: 1; display: flex; align-items: center; justify-content: center; padding: 14px 14px 0; min-height: 110px; }
.bm-sector__prod img { max-height: 120px; width: auto; object-fit: contain; }
.bm .bm-sector--product h3 { color: var(--bm-ink); font-size: 18px; }
.bm .bm-sector--product p { color: var(--bm-muted); }

/* ---------- Comparison table ---------- */
.bm-table-wrap { overflow-x: auto; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); background: #fff; }
.bm-table-wrap:focus-visible { outline: 3px solid var(--bm-support); outline-offset: 2px; }
.bm .bm-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; margin: 0; }
.bm .bm-table th, .bm .bm-table td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bm-line); }
.bm .bm-table thead th { background: var(--bm-deep); color: #fff; font: 800 15px/1.25 var(--bm-font-head); border-bottom: 0; }
.bm .bm-table thead th + th { border-left: 1px solid rgba(255, 255, 255, .1); }
.bm .bm-table tbody th { width: 160px; font-weight: 700; color: var(--bm-ink); background: var(--bm-surface); }
.bm .bm-table tbody td { color: #2b334a; }
.bm .bm-table tbody td + td, .bm .bm-table tfoot td + td { border-left: 1px solid var(--bm-line); }
.bm .bm-table tbody tr:hover td { background: #fafbfd; }
.bm .bm-table tfoot th, .bm .bm-table tfoot td { border-bottom: 0; background: #fff; }
.bm .bm-table tfoot th { background: var(--bm-surface); }
.bm .bm-table .bm-link { font-size: 14px; }

/* ---------- Warranty and partners ---------- */
.bm-warranty { background: var(--bm-deep); color: rgba(255, 255, 255, .8); }
.bm-warranty__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.bm .bm-warranty__big { font: 800 clamp(64px, 8vw, 104px)/.95 var(--bm-font-head); color: #fff; letter-spacing: -.03em; margin-bottom: 18px; }
.bm .bm-warranty__main > p:not(.bm-warranty__big) { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .78); max-width: 58ch; }
.bm-warranty__list { margin-top: 26px; display: grid; gap: 14px; }
.bm-warranty__list li { display: flex; gap: 12px; align-items: flex-start; color: #fff; font-size: 15px; }
.bm-warranty__list .bm-ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #c9d2ee; box-sizing: border-box; margin-top: 0; }
.bm-warranty__side { padding: 32px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--bm-r-md); background: rgba(255, 255, 255, .04); }
.bm .bm-warranty__side h3 { color: #fff; font-size: 22px; font-weight: 800; }
.bm .bm-warranty__side > p { margin-top: 12px; color: rgba(255, 255, 255, .76); font-size: 15px; }
.bm .bm-warranty__label { margin: 22px 0 10px; font-size: 12px; font-weight: 700; color: #9aa9dc; letter-spacing: .08em; text-transform: uppercase; }
.bm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bm-tags li { padding: 6px 11px; border-radius: var(--bm-r-sm); background: rgba(255, 255, 255, .08); color: #fff; font-size: 13px; font-weight: 700; }

/* ---------- FAQ ---------- */
.bm-faq__in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.bm-faq__head { position: sticky; top: 140px; }
.bm-faq__head .bm-btn { margin-top: 24px; }
.bm-faq__list { border-top: 1px solid var(--bm-line); }
.bm-qa { border-bottom: 1px solid var(--bm-line); }
.bm .bm-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font: 800 18px/1.3 var(--bm-font-head); color: var(--bm-ink); }
.bm .bm-qa summary::-webkit-details-marker { display: none; }
.bm .bm-qa summary .bm-ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--bm-surface); color: var(--bm-accent); box-sizing: content-box; transition: transform .2s, background-color .2s, color .2s; }
.bm .bm-qa[open] summary .bm-ico { transform: rotate(180deg); background: var(--bm-accent); color: #fff; }
.bm .bm-qa summary:hover { color: var(--bm-accent); }
.bm .bm-qa p { padding: 0 48px 22px 0; color: var(--bm-muted); font-size: 16px; max-width: 70ch; }

/* ---------- About page ---------- */
.bm-hero--page .bm-hero__in { min-height: 480px; }
.bm .bm-hero--page .bm-crumbs, .bm .bm-hero--page .bm-crumbs a { color: rgba(255, 255, 255, .7); }
.bm .bm-hero--page .bm-crumbs a:hover { color: #fff; }
.bm .bm-hero--page .bm-hero__title { margin-top: 18px; }
.bm .bm-why__text > p + p { margin-top: 14px; }
.bm-why__media--photo { padding: 0; overflow: hidden; border: 0; }
.bm-why__media--photo img { width: 100%; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; }
.bm-points { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; margin-top: 36px; }
.bm-points li { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid var(--bm-line); }
.bm-points .bm-ico { width: 44px; height: 44px; padding: 11px; border-radius: var(--bm-r-md); background: #fff; color: var(--bm-accent); box-sizing: border-box; border: 1px solid var(--bm-line); }
.bm .bm-points h3 { font-size: 18px; font-weight: 800; }
.bm .bm-points p { margin-top: 6px; color: var(--bm-muted); font-size: 15px; }
.bm-values { background: var(--bm-deep); }
.bm-values__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: end; }
.bm .bm-values__head p { color: rgba(255, 255, 255, .78); font-size: 17px; }
.bm-values__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin-top: 44px; }
.bm-values__list li { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.bm .bm-values__list h3 { color: #fff; font-size: 19px; font-weight: 800; }
.bm .bm-values__list p { margin-top: 8px; color: rgba(255, 255, 255, .74); font-size: 15px; }
.bm-split2__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bm-split2__col { padding: 36px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); }
.bm-split2__col--accent { background: var(--bm-surface); }
.bm .bm-split2__col p { margin-top: 12px; color: var(--bm-muted); font-size: 16px; }
.bm-split2__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.bm-bar__in { gap: 16px; }
	.bm .bm-nav__link { padding: 0 14px; }
	.bm-qsearch { display: none; }
	.bm .bm-search-toggle { display: inline-flex; }
	.bm-topbar__hours { display: none !important; }
	.bm-mega__in { grid-template-columns: 250px 1fr; }
	.bm-mega__panel { grid-template-columns: 1fr; }
	.bm-mega__feat { display: none !important; }
}
@media (max-width: 1024px) {
	:root { --bm-gut: 20px; }
	.bm-nav { display: none; }
	.bm .bm-burger { display: inline-flex; }
	.bm-bar__in { height: 70px; justify-content: space-between; }
	.bm-topbar__note { display: none; }
	.bm-topbar__in { justify-content: center; }
	.bm-section { padding: 64px 0; }
	.bm-hero__in { min-height: 0; }
	.bm-hero__text { width: 100%; padding: 56px 0 48px; }
	.bm-hero__media { position: relative; width: 100%; height: 300px; }
	.bm-hero__media::before { background: linear-gradient(180deg, var(--bm-deep) 0%, rgba(16, 27, 54, 0) 45%); }
	.bm-hero { display: flex; flex-direction: column; }
	.bm-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.bm-stat { padding: 26px 20px 26px 0; }
	.bm-stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.bm-stat:nth-child(n+3) { border-top: 1px solid var(--bm-line); }
	.bm-bento { grid-template-columns: 1fr; }
	.bm-fam--lead { grid-row: auto; grid-template-columns: 44% 1fr; grid-template-rows: auto; }
	.bm-fam--lead .bm-fam__media { border-bottom: 0; border-right: 1px solid var(--bm-line); }
	.bm-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.bm-why__in { grid-template-columns: 1fr; gap: 36px; }
	.bm-uses__list { column-gap: 40px; }
	.bm-foot__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.bm-shop__in { grid-template-columns: 1fr; gap: 0; }
	.bm .bm-filters-toggle { display: inline-flex; }
	.bm-filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); background: #fff; z-index: 2147483100; padding: 0 20px 24px; overflow-y: auto; transform: translateX(-102%); transition: transform .25s ease; }
	.bm-filters.is-open { transform: none; box-shadow: 0 0 40px rgba(16, 27, 54, .35); }
	.bm-filters__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 14px 0; margin-bottom: 8px; border-bottom: 1px solid var(--bm-line); z-index: 1; }
	.bm .bm-filters__title { font: 800 18px var(--bm-font-head); }
	.bm-fgroup:first-of-type { padding-top: 18px; }
	.bm-filters__scrim { position: fixed; inset: 0; background: rgba(16, 27, 54, .5); z-index: 2147483050; }
	.bm-product { grid-template-columns: 1fr; gap: 32px; }
	.bm-product__summary { position: static; }
	.bm-contact__in { grid-template-columns: 1fr; gap: 40px; }
	body.bm.admin-bar header.header { top: 46px !important; }
}
@media (max-width: 782px) {
	body.bm.admin-bar header.header { top: 0 !important; }
}
@media (max-width: 680px) {
	:root { --bm-gut: 16px; }
	body.bm { font-size: 15px; }
	.bm-section { padding: 52px 0; }
	.bm-head-row { margin-bottom: 24px; }
	.bm-topbar__links { gap: 16px; font-size: 12px; }
	.bm-topbar__links li:nth-child(2) { display: none; }
	.bm-bar__in { height: 62px; gap: 6px; }
	.bm .bm-logo__img { width: 124px; }
	.bm .bm-bar__cta { display: none; }
	.bm-hero__text { padding: 44px 0 36px; }
	.bm .bm-hero__title { font-size: 30px; }
	.bm .bm-card__sku { font-size: 12px; overflow-wrap: anywhere; }
	.bm .bm-hero__sub { font-size: 16px; }
	.bm-hero__cta .bm-btn { flex: 1 1 100%; }
	.bm-hero__media { height: 220px; }
	.bm-stat { padding: 20px 14px 20px 0; }
	.bm-stat + .bm-stat { padding-left: 14px; }
	.bm-stat:nth-child(3) { padding-left: 0; }
	.bm .bm-stat__num { font-size: 26px; }
	.bm .bm-stat__txt { font-size: 13px; }
	.bm-fam, .bm-fam--lead { grid-template-columns: 1fr; }
	.bm .bm-fam__media, .bm-fam--lead .bm-fam__media { border-right: 0; border-bottom: 1px solid var(--bm-line); }
	.bm-fam__media img { max-height: 190px; }
	.bm-fam__body, .bm-fam--lead .bm-fam__body { padding: 22px; }
	.bm .bm-fam--lead .bm-fam__title { font-size: 24px; }
	.bm-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
	.bm .bm-tab { white-space: nowrap; padding: 9px 12px; font-size: 13px; }
	.bm-grid--4, .bm-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.bm .bm-card__media { padding: 10px; }
	.bm-card__body { padding: 12px 12px 14px; }
	.bm .bm-card__title { font-size: 14px; }
	.bm .bm-card__cat { font-size: 11px; }
	.bm-card__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
	.bm-why__media { padding: 20px; }
	.bm-uses__list { grid-template-columns: 1fr; margin-top: 24px; }
	.bm-uses__list li { padding: 20px 0; }
	.bm-cta { padding: 52px 0; }
	.bm-cta__in { padding: 28px 22px; }
	.bm-cta__actions, .bm-cta__actions .bm-btn { width: 100%; }
	.bm-foot__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
	.bm-pagehead { padding: 22px 0 26px; }
	.bm-shop__in { padding-top: 24px; padding-bottom: 56px; }
	.bm-shop__bar { flex-wrap: wrap; gap: 10px; }
	.bm .bm-shop__count { order: 3; width: 100%; font-size: 14px; }
	.bm .woocommerce-ordering { margin-left: auto; }
	.bm-specs { grid-template-columns: 1fr; }
	.bm-specs > div:nth-child(odd) { border-right: 0; }
	.bm-specs > div:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid var(--bm-line); }
	.bm-product__cta .bm-btn { flex: 1 1 100%; }
	.bm .bm-prose th { width: 46%; }
	.bm .bm-prose th, .bm .bm-prose td { padding: 9px 10px; font-size: 14px; }
	.bm-contact__form { padding: 22px 18px; }
	.bm-form__grid { grid-template-columns: 1fr; }
	.bm .bm-form input:not([type="checkbox"]), .bm .bm-form select, .bm .bm-form textarea { font-size: 16px; }
	.bmlead { right: 16px; bottom: 16px; }
	.bm .bmlead__launch { height: 52px; min-width: 52px; max-width: 52px; }
	.bmlead__ico { flex-basis: 40px; width: 40px; height: 40px; }
	.bmlead__panel { position: fixed; left: 12px; right: 12px; bottom: 80px; width: auto; max-height: calc(100vh - 100px); }
	.bm .bmlead__form input:not([type="checkbox"]), .bm .bmlead__form select, .bm .bmlead__form textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.bm *, .bm *::before, .bm *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive: sectors, comparison, warranty, FAQ, about ---------- */
@media (max-width: 1024px) {
	.bm-sectors__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
	.bm-sector--xl { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
	.bm-warranty__in, .bm-faq__in { grid-template-columns: 1fr; gap: 36px; }
	.bm-faq__head { position: static; }
	.bm-hero--page .bm-hero__in { min-height: 0; }
	.bm-values__head { grid-template-columns: 1fr; gap: 16px; }
	.bm-values__list { grid-template-columns: repeat(2, 1fr); }
	.bm-points { column-gap: 36px; }
}
@media (max-width: 680px) {
	.bm .bm-lead { font-size: 15px; }
	.bm-sectors__grid { grid-template-columns: 1fr; gap: 12px; }
	.bm-sector, .bm-sector--xl { min-height: 260px; }
	.bm-sector--xl .bm-sector__body { padding: 22px; }
	.bm .bm-sector--xl h3 { font-size: 22px; }
	.bm .bm-table th, .bm .bm-table td { padding: 12px 14px; font-size: 14px; }
	.bm .bm-table tbody th { width: 120px; }
	.bm-warranty__side { padding: 22px; }
	.bm .bm-qa summary { font-size: 16px; padding: 18px 0; }
	.bm .bm-qa p { padding-right: 0; font-size: 15px; }
	.bm-points, .bm-values__list, .bm-split2__in { grid-template-columns: 1fr; }
	.bm-split2__col { padding: 24px 20px; }
	.bm-split2__cta .bm-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.bm-sector picture img { transition: none !important; }
}

/* ---------- Social icons (top bar, footer, mobile drawer) ---------- */
.bm-social { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bm-social li { display: flex; margin: 0; padding: 0; }
.bm .bm-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--bm-r-sm); border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); transition: background-color .15s, border-color .15s, color .15s; }
.bm .bm-social a:hover { background: #fff; border-color: #fff; color: var(--bm-accent); }
.bm .bm-social .bm-ico { width: 18px; height: 18px; margin: 0; color: inherit; }
.bm .bm-foot__follow { margin: 28px 0 12px; font: 800 13px var(--bm-font-head); color: #fff; letter-spacing: .08em; text-transform: uppercase; }
.bm-topbar__links .bm-topbar__social { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .16); }
.bm .bm-social--top { gap: 2px; }
.bm .bm-social--top a { width: 28px; height: 28px; border: 0; color: rgba(255, 255, 255, .8); }
.bm .bm-social--top a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.bm .bm-topbar .bm-social--top .bm-ico { width: 15px; height: 15px; color: inherit; }
.bm .bm-social--drawer { justify-content: flex-start; margin-top: 6px; }
.bm .bm-social--drawer a { border-color: var(--bm-line); color: var(--bm-ink); }
.bm .bm-social--drawer a:hover { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }
@media (max-width: 1024px) {
	.bm-topbar__links .bm-topbar__social { display: none !important; }
}

/* ---------- Blog: index, categories, article ---------- */
.bm .bm-chips--blog { padding: 0; }
.bm .bm-chips--blog a.is-on { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }
.bm .bm-chips--blog a.is-on span { color: rgba(255, 255, 255, .75); }

.bm-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bm-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.bm-post:hover { box-shadow: var(--bm-shadow); border-color: #cfd6e4; transform: translateY(-2px); }
.bm .bm-post__media { display: block; aspect-ratio: 16 / 10; background: var(--bm-surface); overflow: hidden; border-bottom: 1px solid var(--bm-line); }
.bm .bm-post__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transition: transform .35s ease; }
.bm-post:hover .bm-post__media img { transform: scale(1.04); }
.bm-post__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.bm .bm-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--bm-muted); }
.bm .bm-post__cat { font-size: 12px; font-weight: 700; color: var(--bm-support); letter-spacing: .08em; text-transform: uppercase; }
.bm .bm-post__title { font-size: 20px; font-weight: 800; line-height: 1.25; }
.bm .bm-post__title a { color: var(--bm-ink); }
.bm .bm-post__title a:hover { color: var(--bm-accent); }
.bm .bm-post__excerpt { color: var(--bm-muted); font-size: 15px; line-height: 1.6; }
.bm .bm-post .bm-link { margin-top: auto; padding-top: 6px; }

.bm-post--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.bm .bm-post--lead .bm-post__media { aspect-ratio: auto; min-height: 400px; border-bottom: 0; border-right: 1px solid var(--bm-line); }
.bm-post--lead .bm-post__body { justify-content: center; gap: 14px; padding: 44px 48px; }
.bm .bm-post--lead .bm-post__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.bm .bm-post--lead .bm-post__excerpt { font-size: 17px; }
.bm .bm-post--lead .bm-link { margin-top: 8px; }

.bm .bm-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.bm .bm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); color: var(--bm-ink); font-weight: 700; }
.bm .bm-pagination a.page-numbers:hover { border-color: var(--bm-accent); color: var(--bm-accent); }
.bm .bm-pagination .page-numbers.current { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }

/* Article */
.bm-article__head { max-width: 880px; padding: 44px 0 34px; }
.bm .bm-article__kicker a { font-size: 13px; font-weight: 700; color: var(--bm-support); letter-spacing: .08em; text-transform: uppercase; }
.bm .bm-article__title { margin-top: 12px; font-size: clamp(32px, 4vw, 50px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.bm .bm-article__lede { margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--bm-muted); max-width: 62ch; }
.bm-article__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 14px; color: var(--bm-muted); }
.bm-article__meta li { display: inline-flex; align-items: center; gap: 8px; }
.bm .bm-article__meta .bm-ico { width: 17px; height: 17px; color: var(--bm-support); }
.bm-article__hero { margin: 0 0 40px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); overflow: hidden; background: #fff; }
.bm .bm-article__hero img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }

.bm-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding: 8px 0 80px; align-items: start; }
.bm .bm-article__body { margin-top: 0; }
.bm .bm-article__body > :first-child { margin-top: 0; }
.bm .bm-article__body p { font-size: 18px; line-height: 1.75; margin: 0 0 20px; max-width: 70ch; }
.bm .bm-article__body h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin: 46px 0 16px; }
.bm .bm-article__body h3 { font-size: 20px; margin: 30px 0 10px; }
.bm .bm-article__body ul, .bm .bm-article__body ol { margin: 0 0 22px; display: grid; gap: 10px; font-size: 18px; line-height: 1.65; max-width: 70ch; }
.bm .bm-article__body ul li::before { top: .7em; }
.bm .bm-article__body ol { counter-reset: bm-ol; }
.bm .bm-article__body ol li { position: relative; padding-left: 40px; counter-increment: bm-ol; }
.bm .bm-article__body ol li::before { content: counter(bm-ol); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: var(--bm-r-sm); background: var(--bm-surface); border: 1px solid var(--bm-line); color: var(--bm-accent); font: 800 14px/26px var(--bm-font-head); text-align: center; }
.bm .bm-article__body a:not(.bm-btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bm .bm-article__body a:not(.bm-btn):hover { color: var(--bm-accent-hover); }
.bm .bm-article__body strong { color: var(--bm-ink); }
.bm .bm-article__body figure { margin: 34px 0; }
.bm .bm-article__body figure img { display: block; width: 100%; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); background: #fff; }
.bm .bm-article__body figcaption { margin-top: 10px; font-size: 14px; color: var(--bm-muted); }
.bm .bm-article__body .bm-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.bm .bm-article__body .bm-gallery figure { margin: 0; }
.bm .bm-article__body .bm-gallery img { aspect-ratio: 1 / 1; object-fit: contain; padding: 12px; }
.bm .bm-article__body .bm-gallery figcaption { font-size: 13px; line-height: 1.4; }
.bm .bm-article__body .bm-note { margin: 32px 0; padding: 22px 26px; border-left: 4px solid var(--bm-accent); background: var(--bm-surface); border-radius: 0 var(--bm-r-md) var(--bm-r-md) 0; }
.bm .bm-article__body .bm-note p { font-size: 17px; margin: 0; }
.bm .bm-article__body .bm-note p + p { margin-top: 10px; }
.bm .bm-article__body .bm-source { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--bm-line); font-size: 15px; color: var(--bm-muted); }

.bm-article__aside { position: sticky; top: 140px; display: grid; gap: 20px; align-items: start; }
.bm-aside-box { padding: 26px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); background: var(--bm-surface); }
.bm .bm-aside-box__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bm-support); }
.bm .bm-aside-box h2 { margin-top: 10px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.bm .bm-aside-box p:not(.bm-aside-box__label) { margin-top: 10px; font-size: 15px; color: var(--bm-muted); }
.bm .bm-aside-box .bm-btn { display: flex; justify-content: center; margin-top: 20px; }
.bm .bm-aside-box__tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; }
.bm-aside-box--dark { background: var(--bm-deep); border-color: var(--bm-deep); }
.bm .bm-aside-box--dark .bm-aside-box__label { color: #9fb4ff; }
.bm .bm-aside-box--dark h2 { color: #fff; }
.bm .bm-aside-box--dark p:not(.bm-aside-box__label) { color: rgba(255, 255, 255, .78); }
.bm .bm-aside-box--dark .bm-aside-box__tel { color: #fff; }
.bm .bm-aside-box--dark .bm-aside-box__tel:hover { color: #9fb4ff; }
.bm-share { display: flex; gap: 8px; margin-top: 14px; }
.bm .bm-share a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm); background: #fff; color: var(--bm-ink); transition: background .2s, color .2s, border-color .2s; }
.bm .bm-share a:hover { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }
.bm .bm-share .bm-ico { width: 18px; height: 18px; }
.bm-article__more + .bm-cta { padding-top: 0; }

@media (max-width: 1024px) {
	.bm-posts { grid-template-columns: repeat(2, 1fr); }
	.bm-post--lead { grid-template-columns: 1fr; }
	.bm .bm-post--lead .bm-post__media { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--bm-line); }
	.bm-post--lead .bm-post__body { padding: 28px; }
	.bm-article__layout { grid-template-columns: 1fr; gap: 40px; padding-bottom: 64px; }
	.bm-article__aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.bm-posts { grid-template-columns: 1fr; }
	.bm-post--lead .bm-post__body { padding: 22px; }
	.bm-article__head { padding: 28px 0 24px; }
	.bm .bm-article__lede { font-size: 17px; }
	.bm .bm-article__body p, .bm .bm-article__body ul, .bm .bm-article__body ol { font-size: 17px; }
	.bm .bm-article__body .bm-gallery { grid-template-columns: 1fr 1fr; }
	.bm-article__aside { grid-template-columns: 1fr; }
}

/* ---------- Mobile: search panel and cable comparison ---------- */
.bm .bm-search__form input[type="search"] { min-width: 0; }
.bm-compare__m { display: none; }
.bm-compare__tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; }
.bm .bm-compare__tabs .bm-tab { padding: 11px 4px; text-align: center; }
.bm-ccard { border: 1px solid var(--bm-line); border-radius: var(--bm-r-md); overflow: hidden; background: #fff; }
.bm-ccard__head { padding: 18px 18px 16px; background: var(--bm-deep); }
.bm .bm-ccard__name { font: 800 20px/1.2 var(--bm-font-head); color: #fff; }
.bm .bm-ccard__use { margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.bm .bm-ccard__list { margin: 0; }
.bm .bm-ccard__list > div { padding: 12px 18px; border-bottom: 1px solid var(--bm-line); }
.bm .bm-ccard__list > div:nth-child(odd) { background: var(--bm-surface); }
.bm .bm-ccard__list dt, .bm .bm-ccard__list dd { display: block; float: none; width: auto; margin-left: 0; padding: 0; }
.bm .bm-ccard__list dt { margin-bottom: 3px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bm-support); }
.bm .bm-ccard__list dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--bm-ink); }
.bm-ccard__foot { padding: 16px 18px 18px; }
.bm .bm-ccard__foot .bm-btn { display: flex; justify-content: center; width: 100%; }

@media (max-width: 760px) {
	.bm-compare .bm-table-wrap { display: none; }
	.bm-compare__m { display: block; }
}
@media (max-width: 640px) {
	.bm-search { padding: 12px 0; }
	.bm-search__form { gap: 8px; }
	.bm-search__form > .bm-ico { display: none; }
	.bm .bm-search__form input[type="search"] { height: 46px; padding: 0 12px; }
	.bm .bm-search__form .bm-btn { flex: 0 0 auto; height: 46px; padding: 0 14px; }
}
