/* Barmajna company pages: Quarty Dark Navy theme with per-product --bm-accent bending */
:root {
  --bm-accent: #1a86ff;
  --bm-accent-soft: rgba(26, 134, 255, 0.14);
  --bm-accent-text: #7db6ff;
  --bm-on-accent: #ffffff;
}

body, .qrt-app, .qrt-dynamic-content { background: #0f1520 !important; }
.qrt-app .qrt-content .qrt-content-frame, .qrt-app .qrt-content .qrt-half-content-frame { background: #161d2a !important; box-shadow: 0 1px 2px rgba(0,0,0,.45) !important; }
.qrt-content-frame h1, .qrt-content-frame h2, .qrt-content-frame h3, .qrt-content-frame h4, .qrt-content-frame h5, .qrt-content-frame h6 { color: #f3f7fc !important; }
.qrt-content-frame .qrt-text, .qrt-content-frame p, .qrt-content-frame li, .qrt-content-frame span { color: #8a96a8; }
.qrt-counter-frame .qrt-counter-box .qrt-counter, .qrt-counter-frame .qrt-counter-box .qrt-counter-plus { color: #f3f7fc !important; }
.qrt-table li h5 { color: #f3f7fc !important; }
.qrt-table li span, .qrt-table li a { color: #8a96a8 !important; }
.qrt-table li a:hover { color: var(--bm-accent-line, var(--bm-accent, #1a86ff)) !important; }
.qrt-price { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%) !important; box-shadow: 0 3px 8px rgba(8,12,20,.35) !important; }
.qrt-price .qrt-price-body h5, .qrt-price .qrt-price-body .qrt-price-cost .qrt-number { color: #f3f7fc !important; }
.qrt-price .qrt-price-body .qrt-price-list li { color: #c9d3e0 !important; }
.qrt-price .qrt-price-body .qrt-price-list li.qrt-empty-item { color: #5f6b7d !important; }
.qrt-call-to-action { background: #222c3e !important; }
.qrt-call-to-action h4 { color: #f3f7fc !important; }
.qrt-icon-box h4 { color: #f3f7fc !important; }
.qrt-form-field input, .qrt-form-field textarea { background: #222c3e !important; color: #f3f7fc !important; box-shadow: none !important; }
.qrt-form-field input::placeholder, .qrt-form-field textarea::placeholder { color: #8a96a8 !important; }
.qrt-contact-form label { background: #222c3e !important; color: #8a96a8 !important; }
.qrt-filter .qrt-work-category { background: #222c3e !important; color: #8a96a8 !important; transition: color .2s, background .2s, box-shadow .2s; }
.qrt-filter .qrt-work-category.qrt-current { color: #f3f7fc !important; box-shadow: inset 0 -2px 0 var(--bm-accent-line, var(--bm-accent, #1a86ff)); }
.qrt-work-item, .qrt-work-item .qrt-work-descr { background: #222c3e !important; }
.qrt-work-item .qrt-work-descr h5 { color: #f3f7fc !important; }
.qrt-work-item .qrt-work-descr .qrt-text { color: #8a96a8 !important; }
.bm-note { color: #8a96a8 !important; opacity: 1; }
.bm-form-btns .qrt-btn-border { background: transparent !important; border-color: #8a96a8 !important; color: #f3f7fc !important; }
.bm-form-btns .qrt-btn-border span { color: #f3f7fc !important; }
.qrt-banner-ratio.bm-square .qrt-work-cover-frame { background: #0f1520 !important; }
.qrt-form-field { background: #222c3e !important; }

/* Dynamic accent bending across shell & buttons */
.qrt-app .qrt-top-bar .qrt-symbol { background-color: var(--bm-accent, #1a86ff) !important; transition: background-color .3s ease; }
.qrt-app .qrt-top-bar .qrt-menu nav ul li:after { background-color: var(--bm-accent-line, var(--bm-accent, #1a86ff)) !important; }
.qrt-app .qrt-left-bar .qrt-change-language .qrt-leng.qrt-active { background-color: var(--bm-accent, #1a86ff) !important; color: var(--bm-on-accent, #fff) !important; }
.qrt-divider-2 { background: var(--bm-accent-line, var(--bm-accent, #1a86ff)) !important; }
.qrt-btn.qrt-btn-color { background-color: var(--bm-accent, #1a86ff) !important; border-color: var(--bm-accent, #1a86ff) !important; color: var(--bm-on-accent, #fff) !important; }
.qrt-btn.qrt-btn-color span, .qrt-btn.qrt-btn-color i { color: var(--bm-on-accent, #fff) !important; }
.qrt-btn.qrt-btn-color:hover { filter: brightness(1.08); }
.qrt-link.qrt-color-link { color: var(--bm-accent-line, var(--bm-accent, #1a86ff)) !important; }
.qrt-app .qrt-preloader .qrt-preloader-content .qrt-preloader-load svg path:last-child { stroke: var(--bm-accent-line, var(--bm-accent, #1a86ff)) !important; }

/* Top bar Get Started CTA button */
.qrt-btn.qrt-btn-getstarted {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a86ff 0%, #00c2a8 100%) !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 22px !important;
  margin-right: 12px !important;
  box-shadow: 0 0 20px rgba(26, 134, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.28) !important;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.qrt-btn.qrt-btn-getstarted span,
.qrt-btn.qrt-btn-getstarted i {
  color: #09111d !important;
  font-weight: 800 !important;
}
.qrt-btn.qrt-btn-getstarted i { font-size: 11px !important; margin: 0 6px 0 0 !important; }
.qrt-btn.qrt-btn-getstarted:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(0, 194, 168, 0.45) !important;
  filter: brightness(1.06);
}
@media (max-width: 992px) {
  .qrt-app .qrt-top-bar .qrt-buttons .qrt-btn-getstarted {
    height: 36px;
    padding: 0 14px !important;
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-right: 10px !important;
  }
}
@media (max-width: 480px) {
  .qrt-app .qrt-top-bar .qrt-buttons .qrt-btn-getstarted {
    padding: 0 11px !important;
    letter-spacing: 1px;
  }
}

/* scroll bars hidden everywhere (wheel, touch and keyboard scrolling still work) */
.native-scroll, .qrt-info, .qrt-menu, .qrt-content, .qrt-dynamic-content, html, body { scrollbar-width: none; -ms-overflow-style: none; }
.native-scroll::-webkit-scrollbar, .qrt-info::-webkit-scrollbar, .qrt-menu::-webkit-scrollbar, .qrt-content::-webkit-scrollbar, html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* same card look as the portfolio: navy gradient panels with a soft shadow */
.qrt-app .qrt-top-bar, .qrt-app .qrt-left-bar { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%) !important; box-shadow: 0 3px 8px rgba(8,12,20,.25) !important; }
.qrt-icon-box, .qrt-counter-frame, .qrt-team-member, .bm-founder { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%); box-shadow: 0 3px 8px rgba(8,12,20,.25); padding: 28px 30px; }
.qrt-counter-frame { margin-bottom: 30px; }
.bm-founder { padding: 24px; }
.qrt-call-to-action { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%) !important; box-shadow: 0 3px 8px rgba(8,12,20,.25); }
.qrt-contact-form, .qrt-table { background: transparent; }
.qrt-app .qrt-info { background: #161d2a !important; }
.qrt-app .qrt-info h5, .qrt-app .qrt-info span, .qrt-app .qrt-info a { color: #c9d3e0; }
.qrt-banner .qrt-image-frame:after, .qrt-half-banner .qrt-image-frame:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,21,32,.42), rgba(15,21,32,.78)); }

/* icons sit in a corner square in the card's top-right corner */
.qrt-icon-box { position: relative; overflow: hidden; padding-top: 30px; }
.qrt-icon-box .bm-icon { position: absolute; top: 0; right: 0; margin: 0; width: 58px; height: 58px; border-radius: 0; background: var(--bm-accent, #1a86ff) !important; color: var(--bm-on-accent, #fff) !important; font-size: 18px; box-shadow: none; }
.qrt-icon-box h4 { margin-top: 0; padding-right: 50px; }
.row > [class*="col-"] > .qrt-icon-box { height: calc(100% - 40px); }

.qrt-btn.qrt-btn-sm { background: var(--bm-accent, #1a86ff) !important; border-color: var(--bm-accent, #1a86ff) !important; }
.qrt-btn.qrt-btn-sm span, .qrt-btn.qrt-btn-sm i { color: var(--bm-on-accent, #fff) !important; }
.qrt-btn.qrt-btn-sm:hover { filter: brightness(1.08); }

.native-scroll { scroll-behavior: smooth; }
.qrt-change-language .qrt-leng.qrt-active { color: var(--bm-on-accent, #fff); }

/* Arabic: right-to-left layout and an Arabic-capable font */
[lang="ar"] body, [lang="ar"] .qrt-app * { font-family: 'Cairo', 'Josefin Sans', sans-serif !important; letter-spacing: 0 !important; }
[dir="rtl"] .qrt-icon-box .bm-icon { right: auto; left: 0; }
[dir="rtl"] .qrt-icon-box h4 { padding-right: 0; padding-left: 50px; }
[dir="rtl"] .qrt-content-frame, [dir="rtl"] .qrt-banner-title, [dir="rtl"] .qrt-half-banner .qrt-banner-title { text-align: right; }
[dir="rtl"] .qrt-half-banner.qrt-left-align .qrt-banner-title { text-align: right; }
[dir="rtl"] .qrt-half-banner.qrt-left-align .qrt-banner-title .qrt-divider-2 { margin-left: auto; margin-right: 0; }
[dir="rtl"] .qrt-table li span { text-align: left; }
[dir="rtl"] .qrt-price-list { padding-right: 0; }
[dir="rtl"] .qrt-btn i.fa-arrow-right { transform: scaleX(-1); }
[lang="ar"] .qrt-app .fas, [lang="ar"] .qrt-app .far, [lang="ar"] .qrt-app .fa { font-family: "Font Awesome 5 Free" !important; }
[lang="ar"] .qrt-app .fab { font-family: "Font Awesome 5 Brands" !important; }

.qrt-app .qrt-top-bar .qrt-symbol img { width: 46px !important; height: 46px !important; }
.qrt-price .qrt-price-body .qrt-price-list li:before { margin-right: 0 !important; margin-left: 0 !important; margin-inline-end: 10px; }
html[lang="ar"] .qrt-content-frame [dir="rtl"]:is(h3, h4, .qrt-text):not(.qrt-counter-frame *) { text-align: right; }
html[lang="ar"] .qrt-banner-title[dir="rtl"], html[lang="ar"] .qrt-banner-title [dir="rtl"] { text-align: right; }

/* ERP banner & Agent block */
.bm-erp-cta { margin-bottom: 0; }
.bm-agent { margin: 10px 0 0; }
.bm-agent-layout { display: grid; grid-template-columns: 1fr 3.4fr; gap: 16px; align-items: stretch; direction: ltr; }
.bm-agent-visual { background: #0f1520; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(8,12,20,.25); padding: 8px; }
.bm-agent-visual img { width: 100%; max-width: 220px; height: auto; display: block; }
.bm-agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bm-agent-tile { position: relative; background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%); box-shadow: 0 3px 8px rgba(8,12,20,.25); padding: 22px; padding-top: 70px; }
.bm-agent-tile i { position: absolute; top: 0; left: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bm-accent, #1a86ff) !important; color: var(--bm-on-accent, #fff) !important; font-size: 17px; }
.bm-agent-tile h5 { margin: 0 0 6px; color: #f3f7fc; }
.bm-agent-tile span { display: block; color: #a9b4c4; font-size: 14px; line-height: 1.55; }
@media (max-width: 767px) { .bm-agent-layout { grid-template-columns: 1fr; } .bm-agent-visual { padding: 24px; } }
@media (max-width: 575px) { .bm-agent-grid { grid-template-columns: 1fr; } }
.bm-agent-visual img.bm-owl { image-rendering: pixelated; max-width: 260px; }
.bm-agent-visual, .bm-agent-visual img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.bm-agent-visual img.bm-owl { pointer-events: none; }
[data-rv] span, a[data-rt] span { border-bottom: 1px dashed currentColor; cursor: pointer; }

/* ---- Product & Edition Hero + Grids (Zero radius, Zero outline borders) ---- */
.bm-hero-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.bm-hero-emblem {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: var(--bm-accent, #1a86ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.bm-hero-emblem img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
}
.bm-hero-kicker {
  display: inline-block;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--bm-accent-soft, rgba(26,134,255,0.16));
  color: var(--bm-accent-text, #7db6ff);
  margin-bottom: 8px;
}

.bm-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Flagship 3-column spotlight on Products page */
.bm-flagship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.bm-flagship-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%);
  box-shadow: 0 6px 18px rgba(8,12,20,.38);
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.bm-flagship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8,12,20,.55);
}
.bm-flagship-strip {
  height: 4px;
  width: 100%;
  background: var(--card-accent, #1a86ff);
}
.bm-flagship-cover {
  display: block;
  width: 100%;
  aspect-ratio: 497/220;
  overflow: hidden;
  background: #0f1520;
}
.bm-flagship-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.bm-flagship-card:hover .bm-flagship-cover img { transform: scale(1.03); }
.bm-flagship-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bm-flagship-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--card-accent-text, #7db6ff);
  margin-bottom: 8px;
}
.bm-flagship-body h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #f3f7fc !important;
}
.bm-flagship-body p {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #9fb0c8 !important;
  flex: 1;
}

/* Editions 5-card grid */
.bm-editions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 45px;
}
.bm-edition-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%);
  box-shadow: 0 4px 14px rgba(8,12,20,.32);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.bm-edition-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(8,12,20,.5); }
.bm-edition-cover { display: block; aspect-ratio: 497/220; background: #0f1520; overflow: hidden; }
.bm-edition-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-edition-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.bm-edition-body h4 { margin: 0 0 8px; color: #f3f7fc !important; font-size: 17px; }
.bm-edition-body p { margin: 0 0 16px; color: #9fb0c8 !important; font-size: 13.5px; line-height: 1.6; flex: 1; }
.bm-edition-mods { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.bm-edition-mod {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #0f1520;
  color: #c9d3e0 !important;
}

/* Workflow & Architecture cards */
.bm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.bm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.bm-panel-card {
  position: relative;
  background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%);
  box-shadow: 0 3px 10px rgba(8,12,20,.28);
  padding: 26px 26px 24px;
  overflow: hidden;
}
.bm-panel-card .bm-corner-num {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-accent, #1a86ff);
  color: var(--bm-on-accent, #fff) !important;
  font-weight: 800;
  font-size: 14px;
}
[dir="rtl"] .bm-panel-card .bm-corner-num { right: auto; left: 0; }
.bm-panel-card h4 { margin: 0 0 10px; padding-inline-end: 44px; color: #f3f7fc !important; font-size: 16px; }
.bm-panel-card p { margin: 0; color: #9fb0c8 !important; font-size: 13.5px; line-height: 1.65; }

.bm-showcase-box {
  background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%);
  box-shadow: 0 4px 16px rgba(8,12,20,.32);
  padding: 28px 30px;
  margin-bottom: 40px;
}
.bm-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
}
.bm-spec-list { list-style: none; padding: 0; margin: 16px 0 0; }
.bm-spec-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: #c9d3e0 !important;
  font-size: 14px;
  line-height: 1.55;
}
.bm-spec-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--bm-accent-line, var(--bm-accent, #1a86ff));
  border-bottom: 2px solid var(--bm-accent-line, var(--bm-accent, #1a86ff));
  transform: rotate(-45deg);
}
[dir="rtl"] .bm-spec-list li { padding: 7px 22px 7px 0; }
[dir="rtl"] .bm-spec-list li:before { left: auto; right: 0; }
.bm-banner-preview {
  background: #0f1520;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.bm-banner-preview img { width: 100%; height: auto; display: block; aspect-ratio: 497/220; object-fit: cover; }

/* Clinic & custom module cards */
.bm-clinic-mod-card {
  position: relative;
  background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%);
  box-shadow: 0 3px 10px rgba(8,12,20,.28);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bm-clinic-mod-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bm-clinic-mod-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--bm-accent, #06B6D4);
  color: var(--bm-on-accent, #0F1520) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.bm-clinic-mod-card h5 { margin: 0; color: #f3f7fc !important; font-size: 13px; letter-spacing: .08em; }
.bm-clinic-mod-card p { margin: 0; color: #9fb0c8 !important; font-size: 13.5px; line-height: 1.6; }

/* Get Started app picker: one tile per web app, the whole tile is the single "Open" action */
.bm-gs-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.bm-gs-intro h3 { margin: 0; }
.bm-gs-intro p { margin: 0; max-width: 520px; font-size: 14px; line-height: 1.6; color: #9fb0c8 !important; }
.bm-gs-grid {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bm-gs-grid > li { margin: 0; padding: 0; display: flex; min-width: 0; }
.bm-gs-tile {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 26px 24px 0;
  background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%);
  box-shadow: 0 4px 14px rgba(8,12,20,.32);
  text-decoration: none !important;
  overflow: hidden;
  outline: 3px solid transparent;
  outline-offset: 2px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.bm-gs-tile:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--svc-accent, #1a86ff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}
[dir="rtl"] .bm-gs-tile:before { transform-origin: right center; }
.bm-gs-emblem {
  grid-row: 1;
  width: 64px;
  height: 64px;
  background: var(--svc-accent, #1a86ff);
  box-shadow: 0 6px 16px rgba(8,12,20,.38);
  transition: transform .22s ease;
}
.bm-gs-emblem img { width: 64px; height: 64px; display: block; }
.bm-gs-body { grid-row: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-bottom: 24px; }
.bm-gs-tile .bm-gs-name { font-size: 17px; font-weight: 800; line-height: 1.3; color: #f3f7fc; overflow-wrap: anywhere; }
.bm-gs-tile .bm-gs-desc { font-size: 13.5px; line-height: 1.55; color: #9fb0c8; }
.bm-gs-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -24px;
  padding: 0 24px;
  min-height: 46px;
  background: rgba(15, 21, 32, .62);
  transition: background .22s ease;
}
.bm-gs-tile .bm-gs-host {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
  font-family: monospace;
  font-size: 11.5px;
  color: #8a96a8;
  transition: color .22s ease;
}
.bm-gs-tile .bm-gs-open {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f3f7fc;
  transition: color .22s ease;
}
[lang="ar"] .bm-gs-tile .bm-gs-open { letter-spacing: 0; font-size: 13px; }
.bm-gs-tile .bm-gs-open span { color: inherit; }
.bm-gs-tile .bm-gs-open i { font-size: 10px; color: inherit; transition: transform .22s ease; }
[dir="rtl"] .bm-gs-tile .bm-gs-open i { transform: scaleX(-1); }
.bm-gs-tile:hover, .bm-gs-tile:focus-visible {
  transform: translateY(-3px);
  background: linear-gradient(159deg, #283449 0%, #202a3c 100%);
  box-shadow: 0 12px 28px rgba(8,12,20,.5);
}
.bm-gs-tile:focus-visible { box-shadow: 0 0 0 3px #f3f7fc, 0 12px 28px rgba(8,12,20,.5); }
.bm-gs-tile:hover:before, .bm-gs-tile:focus-visible:before { transform: scaleX(1); }
.bm-gs-tile:hover .bm-gs-emblem, .bm-gs-tile:focus-visible .bm-gs-emblem { transform: scale(1.05); }
.bm-gs-tile:hover .bm-gs-foot, .bm-gs-tile:focus-visible .bm-gs-foot { background: var(--svc-accent, #1a86ff); }
.bm-gs-tile:hover .bm-gs-host, .bm-gs-tile:focus-visible .bm-gs-host,
.bm-gs-tile:hover .bm-gs-open, .bm-gs-tile:focus-visible .bm-gs-open { color: var(--svc-on, #0f1520); }
.bm-gs-tile:hover .bm-gs-open i, .bm-gs-tile:focus-visible .bm-gs-open i { transform: translateX(4px); }
[dir="rtl"] .bm-gs-tile:hover .bm-gs-open i, [dir="rtl"] .bm-gs-tile:focus-visible .bm-gs-open i { transform: scaleX(-1) translateX(4px); }
.bm-gs-tile:active { transform: translateY(-1px); }
@media (max-width: 1100px) { .bm-gs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .bm-gs-grid { grid-template-columns: 1fr; gap: 14px; }
  .bm-gs-tile { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 18px 16px 0; }
  .bm-gs-emblem, .bm-gs-emblem img { width: 52px; height: 52px; }
  .bm-gs-body { padding-bottom: 16px; }
  .bm-gs-foot { margin: 0 -16px; padding: 0 16px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-gs-tile, .bm-gs-tile:before, .bm-gs-emblem, .bm-gs-foot, .bm-gs-tile .bm-gs-open i { transition: none; }
  .bm-gs-tile:hover, .bm-gs-tile:focus-visible, .bm-gs-tile:active { transform: none; }
}

/* Card badge link styling on products & editions */
.qrt-work-descr { gap: 12px; }
.bm-card-arrow {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-accent, #1a86ff);
  color: var(--bm-on-accent, #fff) !important;
  font-size: 11px;
}
[dir="rtl"] .bm-card-arrow i { transform: scaleX(-1); }

/* Responsive grids */
@media (max-width: 1100px) {
  .bm-flagship-grid, .bm-editions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .bm-flagship-grid, .bm-editions-grid, .bm-grid-2, .bm-grid-3 { grid-template-columns: 1fr; }
  .bm-hero-brand { gap: 14px; }
  .bm-hero-emblem, .bm-hero-emblem img { width: 54px; height: 54px; }
}

/* ---- mobile and tablet: product grid, filter and spacing ---- */
.qrt-masonry-grid { min-height: 0 !important; }
@media (max-width: 992px) {
  .qrt-3-col .qrt-grid-sizer, .qrt-3-col .qrt-masonry-grid-item, .qrt-4-col .qrt-grid-sizer, .qrt-4-col .qrt-masonry-grid-item { width: 50%; }
  .qrt-filter { flex-direction: row !important; flex-wrap: wrap; gap: 8px; }
  .qrt-filter .qrt-work-category { margin: 0 !important; padding: 10px 14px; }
  .qrt-filter-frame { padding: 0 0 16px; }
}
@media (max-width: 575px) {
  .qrt-3-col .qrt-grid-sizer, .qrt-3-col .qrt-masonry-grid-item, .qrt-4-col .qrt-grid-sizer, .qrt-4-col .qrt-masonry-grid-item { width: 100%; }
  .qrt-masonry-grid { margin: 0 -10px; }
  .qrt-masonry-grid-item { padding: 8px 10px; }
}

.qrt-form-field textarea, .qrt-form-field textarea:focus, .qrt-form-field textarea.qrt-active { border-left: 0 !important; border-color: transparent !important; padding-left: 65px; outline: none; }
@media (max-width: 575px) { .qrt-filter .qrt-work-category { padding: 10px 11px; font-size: 11px; letter-spacing: .06em; } }

@media (max-width: 767px) {
  .qrt-content-frame [style*="height:40px"], .qrt-content-frame [style*="height:50px"], .qrt-content-frame [style*="height:30px"] { height: 16px !important; }
  .qrt-content-frame [style*="margin-bottom:40px"] { margin-bottom: 24px !important; }
  .qrt-content-frame .qrt-mb-40 { margin-bottom: 24px !important; }
  .bm-agent-visual { padding: 14px; }
  .bm-agent-visual img, .bm-agent-visual img.bm-owl { max-width: 150px; }
  .bm-agent-tile { padding-top: 62px; }
}

/* ===== v30: product detail pages + grouped products overview + showcase + smooth FAQ/lang (source: tools/product-pages.css, appended by tools/build-products.cjs) ===== */
.bm-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bm-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(15,21,32,.55); color: #dfe7f2 !important; }
.bm-chip i { color: var(--bm-accent-text, #7db6ff); }
.bm-sec-head { margin: 0 0 22px; }
.bm-sec-head .bm-sec-kicker { display: block; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--bm-accent-text, #7db6ff); margin-bottom: 6px; }
.bm-sec-head h3 { margin: 0; }
.bm-sec-head p { margin: 8px 0 0; color: #9fb0c8 !important; max-width: 760px; line-height: 1.65; }
.bm-overview { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-bottom: 44px; }
.bm-overview-text { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%); box-shadow: 0 3px 10px rgba(8,12,20,.28); padding: 26px 28px; }
.bm-overview-text h5 { margin: 0 0 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bm-accent-text, #7db6ff) !important; }
.bm-overview-text p { margin: 0 0 16px; color: #c9d3e0 !important; line-height: 1.7; font-size: 14.5px; }
.bm-overview-text p:last-child { margin-bottom: 0; }
.bm-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.bm-fact { background: #161d2a; box-shadow: inset 4px 0 0 var(--bm-accent, #1a86ff); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
[dir="rtl"] .bm-fact { box-shadow: inset -4px 0 0 var(--bm-accent, #1a86ff); }
.bm-fact b { font-size: 26px; font-weight: 800; color: #f3f7fc; white-space: nowrap; unicode-bidi: isolate; }
.bm-fact span { color: #9fb0c8 !important; font-size: 13.5px; }
.bm-fgroup { margin-bottom: 36px; }
.bm-fgroup h4.bm-fgroup-title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 17px; color: #f3f7fc !important; }
.bm-fgroup h4.bm-fgroup-title:before { content: ""; width: 22px; height: 3px; background: var(--bm-accent, #1a86ff); display: inline-block; }
.bm-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bm-fcard { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%); box-shadow: 0 3px 10px rgba(8,12,20,.28); padding: 20px 22px; display: flex; gap: 14px; }
.bm-fcard .bm-fcard-ico { flex: 0 0 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--bm-accent-soft, rgba(26,134,255,.16)); color: var(--bm-accent-text, #7db6ff); font-size: 13px; }
.bm-fcard h5 { margin: 0 0 6px; font-size: 15px; color: #f3f7fc !important; }
.bm-fcard p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #9fb0c8 !important; }
.bm-zigzag { display: flex; flex-direction: column; gap: 28px; margin-bottom: 48px; }
.bm-zig-row { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 28px; align-items: center; background: linear-gradient(159deg, #20293a 0%, #171f2d 100%); box-shadow: 0 12px 34px rgba(5,9,18,.42); padding: 26px 28px; border-radius: 12px; }
.bm-zig-row.is-rev .bm-zig-text { order: 2; }
.bm-zig-row.is-rev .bm-zig-media { order: 1; }
.bm-zig-kicker { display: block; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--bm-accent-text, #7db6ff); margin-bottom: 8px; }
.bm-zig-text h4 { margin: 0 0 10px; font-size: 20px; color: #f3f7fc !important; }
.bm-zig-text p { margin: 0; font-size: 14.5px; line-height: 1.7; color: #c9d3e0 !important; }
.bm-zig-media { display: block; position: relative; background: #0f1520; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 38px rgba(3,7,18,.55), 0 0 0 1px rgba(255,255,255,.06); }
.bm-zig-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.bm-zig-media:hover img { transform: scale(1.025); }
.bm-zig-zoom { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 8px; background: rgba(15,21,32,.78); color: #f3f7fc; display: flex; align-items: center; justify-content: center; font-size: 12px; opacity: .82; transition: opacity .2s ease, transform .2s ease; }
[dir="rtl"] .bm-zig-zoom { right: auto; left: 12px; }
.bm-zig-media:hover .bm-zig-zoom { opacity: 1; transform: scale(1.06); }
.bm-soon { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%); box-shadow: 0 3px 10px rgba(8,12,20,.28); padding: 26px 28px; margin-bottom: 44px; }
.bm-soon h4 { margin: 0 0 6px; font-size: 17px; color: #f3f7fc !important; }
.bm-soon > p { margin: 0 0 14px; font-size: 13px; color: #8a96a8 !important; line-height: 1.6; }
.bm-soon ul { list-style: none; margin: 0; padding: 0; }
.bm-soon li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; color: #c9d3e0 !important; font-size: 14px; box-shadow: 0 1px 0 rgba(255,255,255,.04); }
.bm-soon li:last-child { box-shadow: none; }
.bm-badge-soon { flex: 0 0 auto; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; background: rgba(240,178,74,.14); color: #f0b24a !important; }
.bm-faq { margin-bottom: 44px; }
.bm-faq details { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%); box-shadow: 0 3px 10px rgba(8,12,20,.24); border-radius: 8px; margin-bottom: 10px; overflow: hidden; transition: box-shadow .22s ease, background .22s ease; }
.bm-faq details[open] { box-shadow: 0 8px 22px rgba(8,12,20,.38); }
.bm-faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; position: relative; font-weight: 700; color: #f3f7fc; font-size: 15px; transition: color .2s ease; }
.bm-faq summary:hover { color: #ffffff; }
[dir="rtl"] .bm-faq summary { padding: 18px 22px 18px 54px; }
.bm-faq summary::-webkit-details-marker { display: none; }
.bm-faq summary:after { content: "+"; position: absolute; right: 0; top: 0; bottom: 0; width: 50px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--bm-accent-text, #7db6ff); transition: transform .26s cubic-bezier(.22,1,.36,1), color .2s ease; }
[dir="rtl"] .bm-faq summary:after { right: auto; left: 0; }
.bm-faq details[open] summary:after { transform: rotate(45deg); }
.bm-faq .bm-faq-body { overflow: hidden; transition: height .28s cubic-bezier(.22,1,.36,1), opacity .24s ease; }
.bm-faq details p { margin: 0; padding: 0 22px 20px; color: #9fb0c8 !important; line-height: 1.7; font-size: 14px; }
/* Pricing guidance checkmark-to-text spacing */
.qrt-price .qrt-price-body .qrt-price-list li { display: flex !important; align-items: baseline; gap: 12px; text-align: start; }
.qrt-price .qrt-price-body .qrt-price-list li:before { margin: 0 !important; flex: 0 0 auto; font-size: 11px; }
/* Preloader logo-to-bar breathing room */
.qrt-app .qrt-preloader .qrt-preloader-content .qrt-logo { margin: 0 auto 11px !important; }
/* Smooth Swup-style two-phase language transition */
.qrt-dynamic-content, .qrt-top-bar { transition: opacity .4s ease-in-out, transform .4s ease-in-out; }
.qrt-half-banner, .qrt-banner { transition: transform .4s ease-in-out, opacity .4s ease-in-out; }
.qrt-image-frame img { transition: transform .45s ease-in-out, opacity .45s ease-in-out; }
.qrt-banner-title { transition: opacity .38s ease-in-out, transform .38s ease-in-out; }

html.bm-lang-out .qrt-dynamic-content { opacity: 0; transform: translateX(-20px); }
html.bm-lang-out [dir="rtl"] .qrt-dynamic-content { transform: translateX(20px); }
html.bm-lang-out .qrt-top-bar { opacity: .65; }
html.bm-lang-out .qrt-half-banner, html.bm-lang-out .qrt-banner { transform: translateY(-100%); }
html.bm-lang-out .qrt-image-frame img { transform: translateX(-100%); }
html.bm-lang-out [dir="rtl"] .qrt-image-frame img { transform: translateX(100%); }
html.bm-lang-out .qrt-banner-title { opacity: 0; transform: translateY(10px); }

html.bm-lang-in .qrt-dynamic-content { animation: bmLangContentIn .45s cubic-bezier(.22,1,.36,1) both; }
html.bm-lang-in [dir="rtl"] .qrt-dynamic-content { animation: bmLangContentInRtl .45s cubic-bezier(.22,1,.36,1) both; }
html.bm-lang-in .qrt-half-banner, html.bm-lang-in .qrt-banner { animation: bmLangBannerIn .45s cubic-bezier(.22,1,.36,1) both; }
html.bm-lang-in .qrt-image-frame img { animation: bmLangImgIn .55s cubic-bezier(.22,1,.36,1) both; }
html.bm-lang-in [dir="rtl"] .qrt-image-frame img { animation: bmLangImgInRtl .55s cubic-bezier(.22,1,.36,1) both; }
html.bm-lang-in .qrt-banner-title { animation: bmLangTitleIn .42s cubic-bezier(.22,1,.36,1) .42s both; }

@keyframes bmLangContentIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes bmLangContentInRtl { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes bmLangBannerIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes bmLangImgIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes bmLangImgInRtl { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes bmLangTitleIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bm-note-soft { color: #8a96a8 !important; font-size: 12.5px; margin: -6px 0 28px; }
.bm-flag3 .bm-flagship-body ul { list-style: none; padding: 0; margin: 0 0 18px; }
.bm-flag3 .bm-flagship-body li { position: relative; padding: 5px 0 5px 20px; font-size: 13px; color: #c9d3e0 !important; }
.bm-flag3 .bm-flagship-body li:before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 3px; background: var(--card-accent-text, #7db6ff); }
[dir="rtl"] .bm-flag3 .bm-flagship-body li { padding: 5px 20px 5px 0; }
[dir="rtl"] .bm-flag3 .bm-flagship-body li:before { left: auto; right: 0; }
.bm-eco-group { margin-bottom: 38px; }
.bm-eco-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 16px; }
.bm-eco-head h4 { margin: 0; font-size: 17px; color: #f3f7fc !important; }
.bm-eco-head p { margin: 0; font-size: 13px; color: #8a96a8 !important; }
.bm-eco-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bm-eco-grid { align-items: start; }
.bm-eco-grid .qrt-work-item { margin-bottom: 0; }
/* catalogue cards: the description is always visible (no hover-only reveal) */
.bm-eco-grid .qrt-work-item .qrt-work-descr { position: relative; transform: none; -webkit-transform: none; }
.bm-eco-grid.bm-eco-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.bm-eco-pitch { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%); box-shadow: 0 3px 10px rgba(8,12,20,.28); padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.bm-eco-pitch h5 { margin: 0 0 8px; color: #f3f7fc !important; }
.bm-eco-pitch p { margin: 0 0 16px; color: #9fb0c8 !important; font-size: 13.5px; line-height: 1.65; }
.bm-eco-pitch ul { list-style: none; padding: 0; margin: 0 0 16px; }
.bm-eco-pitch li { font-size: 13px; color: #c9d3e0 !important; padding: 4px 0; }
.bm-eco-pitch li i { color: var(--card-accent-text, #7db6ff); margin-inline-end: 8px; }
.bm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 44px; }
.bm-step { background: linear-gradient(159deg, #222c3e 0%, #1c2433 100%); box-shadow: 0 3px 10px rgba(8,12,20,.28); padding: 22px; }
.bm-step b { display: block; font-size: 28px; font-weight: 800; color: var(--bm-accent-text, #7db6ff); margin-bottom: 8px; }
.bm-step h5 { margin: 0 0 6px; color: #f3f7fc !important; }
.bm-step p { margin: 0; color: #9fb0c8 !important; font-size: 13.5px; line-height: 1.6; }
.qrt-icon-box .bm-svc-list { list-style: none; padding: 0; margin: 12px 0 0; }
.qrt-icon-box .bm-svc-list li { font-size: 13px; color: #c9d3e0 !important; padding: 3px 0; }
.qrt-icon-box .bm-svc-list li:before { content: "\2014\00a0"; color: var(--bm-accent-text, #7db6ff); }
@media (max-width: 1199px) { .bm-eco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) { .bm-overview, .bm-zig-row, .bm-eco-grid.bm-eco-wide { grid-template-columns: 1fr; } .bm-zig-row.is-rev .bm-zig-text, .bm-zig-row.is-rev .bm-zig-media { order: unset; } }
@media (max-width: 767px) { .bm-fgrid, .bm-eco-grid, .bm-steps, .bm-facts { grid-template-columns: 1fr; } .bm-fact b { font-size: 22px; } }
/* ===== end v30 ===== */
