/* ============================================================
   MarketResearchReports.com / Navadhi — Drupal 11 theme
   Design tokens + components  (per design brief v2)
   Flat · navy #1a1464 · teal #00b4d8 · purple #c084fc · sentence case
   ============================================================ */

:root {
  /* ---- Brand / color (light) ---- */
  --ink: #1a1a2e;            /* primary text (dark navy)   */
  --ink-soft: #3a3a55;
  --muted: #64647d;
  --muted-2: #9494ac;
  --line: #e2e8f0;
  --line-soft: #eef1f6;
  --bg: #f8f9fa;
  --bg-tint: #f1f0fb;
  --surface: #ffffff;
  --surface-2: #f6f7fa;

  --brand: #18325b;          /* deep navy — brand primary   */
  --brand-ink: #ffffff;
  --brand-2: #274a78;        /* lifted navy                */
  --brand-tint: #e9edf3;
  --brand-tint-2: #cfd9e7;
  --accent: #0094b3;         /* cyan action (AA text)      */
  --accent-bright: #0aa1c7;  /* brand cyan                 */
  --accent-tint: #e1f5fb;
  --purple: #9333c4;
  --purple-tint: #f3e9fb;
  --warn: #b9621a;
  --good: #1f8a52;
  --good-tint: #e4f4ec;
  --price: #18325b;

  /* ---- Data viz categorical (brief palette) ---- */
  --c1: #18325b;   /* navy   */
  --c2: #0aa1c7;   /* cyan   */
  --c3: #c084fc;   /* purple */
  --c4: #4a3fa0;   /* violet */
  --c5: #7ec8e3;   /* sky    */
  --c6: #a855f7;   /* magenta-violet */
  --c-grid: rgba(24,50,91,.07);
  --c-axis: #9494ac;

  /* ---- Type ---- */
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --display-weight: 600;

  /* ---- Geometry ---- */
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --pad: 1;
  --base-size: 16px;

  --shadow-sm: 0 1px 2px rgba(26,20,100,.04);
  --shadow-md: 0 6px 22px rgba(26,20,100,.09), 0 2px 6px rgba(26,20,100,.05);
  --shadow-lg: 0 20px 54px rgba(26,20,100,.16), 0 6px 18px rgba(26,20,100,.08);
  --maxw: 1208px;
}

[data-theme="dark"] {
  --ink: #ececf6;
  --ink-soft: #c5c5da;
  --muted: #9a9ab4;
  --muted-2: #6c6c8a;
  --line: #2a2a44;
  --line-soft: #20203a;
  --bg: #0d0d1c;
  --bg-tint: #14122e;
  --surface: #16162c;
  --surface-2: #1b1b38;
  --brand: #4a3fa0;
  --brand-2: #5c50bf;
  --brand-tint: #1d1a42;
  --brand-tint-2: #272357;
  --accent: #2bc6e6;
  --accent-bright: #38d0ee;
  --accent-tint: #103040;
  --purple-tint: #2a1840;
  --price: #b9b2ff;
  --c-grid: rgba(255,255,255,.06);
  --c-axis: #5a5a78;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 18px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.6);
}

[data-fontset="jakarta"] { --font-ui: "Plus Jakarta Sans", system-ui, sans-serif; --font-display: "Plus Jakarta Sans", sans-serif; }
[data-fontset="plex"] { --font-ui: "IBM Plex Sans", system-ui, sans-serif; --font-display: "IBM Plex Sans", sans-serif; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ui);
  font-size: var(--base-size);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand-tint-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 28px; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ---------- type helpers ---------- */
.display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.018em; line-height: 1.14; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--accent); display: inline-block; border-radius: 2px; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- buttons (flat) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; line-height: 1;
  padding: calc(11px * var(--pad)) calc(18px * var(--pad));
  border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: background .15s ease, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-2); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: color-mix(in oklab, var(--accent) 86%, #000); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--muted-2); }
.btn-soft { background: var(--brand); color: var(--bg); }
.btn-soft:hover { background: var(--brand-tint-2); color: var(--brand); }
.btn-lg { font-size: 15px; padding: calc(14px * var(--pad)) calc(24px * var(--pad)); }
.btn-sm { font-size: 13px; padding: 8px 13px; }
.btn-block { width: 100%; }

/* ---------- chips / badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .005em;
  padding: 4px 11px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.badge.brand { background: var(--brand-tint); color: var(--brand); border-color: transparent; }
.badge.accent { background: var(--accent-tint); color: var(--accent); border-color: transparent; }
.badge.good { background: var(--good-tint); color: var(--good); border-color: transparent; }
.badge.purple { background: var(--purple-tint); color: var(--purple); border-color: transparent; }
.badge.dot::before { content:""; width:6px;height:6px;border-radius:50%;background:currentColor; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; padding: 6px 10px 6px 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-soft);
}
.chip button { border: none; background: none; color: var(--muted-2); display: grid; place-items: center; padding: 0; line-height: 0; }
.chip button:hover { color: var(--ink); }

/* ---------- card ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card-hover { transition: transform .15s ease, box-shadow .2s ease, border-color .2s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-tint-2); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar { background: var(--brand); color: #c9c6ec; font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar a { color: #c9c6ec; }
.topbar a:hover { color: #fff; }
.topbar .grp { display: flex; align-items: center; gap: 18px; }
.topbar .div { width: 1px; height: 14px; background: rgba(255,255,255,.18); }

.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-main { display: flex; align-items: center; gap: 26px; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 22px; letter-spacing: -.02em;
}
.logo-txt { line-height: 1.08; }
.logo-txt b { font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--ink); display:block; }
.logo-txt span { font-size: 11px; color: var(--muted); }

.search-box { flex: 1; max-width: 580px; position: relative; display: flex; align-items: center; }
.search-box input {
  width: 100%; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface-2);
  padding: 0 138px 0 42px; font-size: 14px; color: var(--ink); font-family: inherit;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.search-box input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-tint); }
.search-box .s-ico { position: absolute; left: 14px; color: var(--muted-2); pointer-events: none; display:grid; }
.search-box .s-go { position: absolute; right: 6px; height: 32px; width:32px; border-radius: 6px; background: var(--brand); color:#fff; border:none; display:grid;place-items:center; }
.search-scope { position:absolute; right: 46px; font-size: 11px; color: var(--muted-2); }

.nav-icons { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 9px;
  border: 1px solid transparent; background: transparent; color: var(--ink-soft);
  display: grid; place-items: center;
}
.icon-btn:hover { background: var(--surface-2); color: var(--brand); }
.icon-btn .count {
  position: absolute; top: 3px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: #fff; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center; font-family: var(--font-mono);
  border: 2px solid var(--surface);
}
.lang-btn { display:flex; align-items:center; gap:6px; padding: 0 11px; width:auto; font-size:13px; font-weight:600; height:42px; border-radius:9px; border:1px solid transparent; background:transparent; color:var(--ink-soft); }
.lang-btn:hover { background: var(--surface-2); }

/* mega nav row */
.nav-row { border-top: 1px solid var(--line-soft); }
.nav-row .wrap { display: flex; align-items: center; gap: 2px; height: 50px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 50px; padding: 0 14px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  border-bottom: 2.5px solid transparent; background: none; border-top:none; border-left:none; border-right:none;
}
.nav-link:hover { color: var(--brand); }
.nav-link.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-link .caret { transition: transform .15s; color: var(--muted-2); }
.nav-link.open .caret { transform: rotate(180deg); }
.nav-spacer { flex: 1; }
.nav-promo { display:flex; align-items:center; gap:8px; font-size:13px; color: var(--muted); }
.nav-promo b { color: var(--accent); }

/* mega panel CSS removed — use TB Mega Menu module */
.mega-feat { background: var(--brand); border-radius: var(--radius); padding: 20px; color: #dcdaf3; align-self: start; }
.mega-feat .badge { background: rgba(255,255,255,.12); color: #fff; border: none; }
.mega-feat h4 { color: #fff; margin: 12px 0 6px; font-size: 16px; font-weight: 600; }
.mega-feat p { font-size: 12.5px; color: #b6b2e0; margin: 0 0 14px; }

/* dropdown menus (lang/account) */
.menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 224px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 7px; z-index: 70; animation: mega-in .14s ease;
}
.menu-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 7px; font-size: 13.5px; color: var(--ink-soft); width:100%; background:none; border:none; text-align:left; }
.menu-item:hover { background: var(--surface-2); }
.menu-item.active { color: var(--brand); font-weight: 600; }
.menu-item .flag { font-size: 16px; }
.menu-sep { height: 1px; background: var(--line-soft); margin: 6px 4px; }
.menu-head { padding: 7px 11px 3px; font-size: 11px; font-weight: 700; color: var(--muted-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--brand); color: #b3afd9; margin-top: 60px; }
.footer a { color: #b3afd9; }
.footer a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding: 52px 0 40px; }
.foot-brand p { font-size: 13px; color: #908cba; max-width: 320px; margin: 16px 0 18px; line-height: 1.6; }
.foot-col h5 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { font-size: 13px; }
.foot-social { display: flex; gap: 9px; }
.foot-social a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #c9c6ec; }
.foot-social a:hover { background: rgba(255,255,255,.08); color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: #807caa; flex-wrap: wrap; }
.foot-pay { display: flex; gap: 8px; align-items: center; }
.foot-pay span { border: 1px solid rgba(255,255,255,.18); border-radius: 5px; padding: 3px 8px; font-family: var(--font-mono); font-size: 10px; color: #b3afd9; }

/* ============================================================
   PLACEHOLDER util
   ============================================================ */
.ph {
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in oklab, var(--line) 65%, transparent) 11px 12px);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--muted-2);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; text-align:center;
}

/* ============================================================
   HOME
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--brand); color: #fff; }
.hero-grid-bg { position:absolute; inset:0; opacity:.6;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 88%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 66px 28px 72px; }
.hero .eyebrow { color: var(--accent-bright); }
.hero .eyebrow::before { background: var(--accent-bright); }
.hero h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(33px, 3.7vw, 48px); line-height: 1.1; letter-spacing: -.022em; margin: 18px 0 0; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lede { font-size: 17px; color: #c4c1e8; max-width: 480px; margin: 18px 0 26px; line-height: 1.6; }
.hero-search { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 8px; display: flex; gap: 8px; max-width: 520px; }
.hero-search input { flex: 1; border: none; background: transparent; color: #fff; font-size: 15px; padding: 0 12px; font-family: inherit; }
.hero-search input::placeholder { color: #9c98c8; }
.hero-search input:focus { outline: none; }
.hero-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.hero-tag { font-size: 12.5px; color: #b8b4e0; padding: 5px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.hero-tag:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-stats { display: flex; gap: 30px; margin-top: 30px; }
.hero-stats .st b { font-family: var(--font-display); font-weight: 700; font-size: 27px; color: #fff; display: block; line-height: 1; letter-spacing: -.02em; }
.hero-stats .st span { font-size: 12px; color: #918dbd; }

.hero-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 18px; color: var(--ink); }
.hero-card .hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hero-card .hc-head b { font-size: 13.5px; }
.hero-chart { height: 172px; }
.hero-card .hc-foot { display: flex; gap: 8px; margin-top: 12px; }
.mini-stat { flex: 1; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 10px 12px; }
.mini-stat b { font-family: var(--font-display); font-weight: 700; font-size: 18px; display: block; line-height: 1.1; }
.mini-stat span { font-size: 11px; color: var(--muted); }

.trustbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.trustbar .wrap { display: flex; align-items: center; gap: 30px; padding: 16px 28px; flex-wrap: wrap; }
.trustbar .tb-label { font-size: 12px; color: var(--muted-2); font-weight: 600; }
.trustbar .tb-logos { display: flex; gap: 28px; flex: 1; flex-wrap: wrap; align-items:center; }
.tb-logo { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--muted-2); opacity: .75; letter-spacing: -.01em; }

.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 27px; margin: 8px 0 0; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 6px 0 0; font-size: 14.5px; }
.link-arrow { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { gap: 9px; }

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cat-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.cat-card h4 { font-size: 14px; margin: 0; font-weight: 600; line-height: 1.3; }
.cat-card .cc-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-top: auto; }

.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rep-card { display: flex; flex-direction: column; overflow: hidden; }
.rep-card .rc-top { padding: 16px 16px 0; display: flex; align-items: center; justify-content: space-between; }
.rep-card .rc-pub { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.rep-card .rc-pub .av { width: 22px; height: 22px; border-radius: 6px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 10px; }
.rep-card .rc-pub .pub-logo { width: 24px; height: 24px; border-radius: 50%; display: block; flex-shrink: 0; }
.report-grid .rc-summary{ grid-area: summary; display: -webkit-box; color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 2px 10px 2px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.report-grid .rc-forecast{display:none;}
/* color-coded delivery status pills (MRR logo colors) */
.badge.delivery { border: none; padding: 4px 10px 4px 8px; font-weight: 600; }
.badge.delivery .d-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.delivery.on-demand { background: color-mix(in oklab, var(--logo-orange) 20%, transparent); color: #a76a09; }
.badge.delivery.published { background: color-mix(in oklab, var(--logo-green) 18%, transparent); color: #1f7a2e; }
[data-theme="dark"] .badge.delivery.on-demand { color: var(--logo-orange); }
[data-theme="dark"] .badge.delivery.published { color: #5fce6e; }
.rep-card h4 { font-size: 15.5px; line-height: 1.34; margin: 12px 16px 10px; font-weight: 600; }
.rep-card .rc-spark { height: 54px; margin: 0 16px; }
.rep-card .rc-tags { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 16px; }
.rep-card .rc-foot { margin-top: auto; padding: 13px 16px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.rep-card .rc-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--price); }
.rep-card .rc-price small { font-weight: 500; font-size: 11px; color: var(--muted); }

.feature-split { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-item { padding: 22px; }
.feat-item .fi-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.feat-item h4 { font-size: 15px; margin: 0 0 6px; font-weight: 600; }
.feat-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }

.cta-band { background: var(--brand); border-radius: var(--radius-lg); padding: 44px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.cta-band .cta-deco { position:absolute; right:-40px; top:-40px; width:260px; height:260px; border-radius:50%; border: 40px solid rgba(255,255,255,.05); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 25px; margin: 0 0 8px; letter-spacing:-.01em; }
.cta-band p { color: #c4c1e8; margin: 0; max-width: 480px; }

/* ============================================================
   SEARCH / FACETS
   ============================================================ */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding: 22px 28px; }
.page-head h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 28px; margin: 0; letter-spacing:-.02em; }
.page-head .ph-desc { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; max-width: 680px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--muted-2); }
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; padding: 26px 0 60px; }

.facets { position: sticky; top: 130px; }
.facet-card { padding: 0; overflow: hidden; }
.facet-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.facet-top b { font-size: 13.5px; }
.facet-top .solr { font-size: 10.5px; color: var(--accent); display:flex;align-items:center;gap:5px; font-weight:600; }
.facet-group { border-bottom: 1px solid var(--line-soft); padding: 14px 16px; }
.facet-group:last-child { border-bottom: none; }
.facet-h { display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.facet-h b { font-size: 13px; font-weight: 600; }
.facet-h .fc { color: var(--muted-2); transition: transform .15s; display:grid; }
.facet-h.collapsed .fc { transform: rotate(-90deg); }
.facet-list { margin-top: 12px; display: flex; flex-direction: column; gap: 1px; max-height: 232px; overflow: auto; }
.facet-opt { display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 6px; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.facet-opt:hover { background: var(--surface-2); }
.facet-opt .box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line); flex-shrink: 0; display: grid; place-items: center; color: #fff; transition: .12s; }
.facet-opt.on .box { background: var(--brand); border-color: var(--brand); }
.facet-opt .fo-n { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.facet-opt.on { color: var(--ink); font-weight: 600; }
.facet-more { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: 8px; cursor: pointer; background:none;border:none;padding:6px; }
.facet-search { width:100%; height:34px; border:1px solid var(--line); border-radius:6px; padding:0 10px; font-size:12.5px; background:var(--surface-2); margin-bottom:10px; color:var(--ink); }
.range-wrap { margin-top: 12px; }
.range-wrap input[type=range] { width: 100%; accent-color: var(--brand); }
.range-vals { display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:11.5px; color:var(--muted); margin-top:6px; }

.results-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.results-top .rt-count { font-size: 14px; color:var(--muted); }
.results-top .rt-count b { font-family: var(--font-display); font-weight:700; font-size: 19px; color:var(--ink); }
.applied { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.sortbar { display: flex; align-items: center; gap: 8px; }
.select {
  height: 38px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  padding: 0 32px 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); font-family: inherit;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239494ac' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { width: 38px; height: 38px; border: none; background: var(--surface); color: var(--muted-2); display: grid; place-items: center; }
.view-toggle button.on { background: var(--brand-tint); color: var(--brand); }

.result-list { display: flex; flex-direction: column; gap: 14px; }
.result-row { display: grid; grid-template-columns: 1fr 196px; gap: 20px; padding: 18px 20px; }
.result-row .rr-main { min-width: 0; }
.rr-meta { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); margin-bottom: 9px; flex-wrap: wrap; }
.rr-meta .av { width: 20px; height: 20px; border-radius: 5px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 9.5px; }
.rr-meta .pub-logo { width: 20px; height: 20px; border-radius: 50%; display: block; flex-shrink: 0; }
.result-row h3 { font-size: 17px; line-height: 1.32; margin: 0 0 8px; font-weight: 600; cursor:pointer; }
.result-row h3:hover { color: var(--brand); }
.result-row p { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rr-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rr-side { border-left: 1px solid var(--line-soft); padding-left: 20px; display: flex; flex-direction: column; gap: 8px; justify-content:center; }
.rr-metric { display:flex; align-items:baseline; gap:6px; }
.rr-metric b { font-family:var(--font-display); font-weight:700; font-size:17px; }
.rr-metric span { font-size:11px; color:var(--muted); }
.rr-price { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--price); margin-top:2px; }
.rr-price small { font-size: 11px; color: var(--muted); font-weight: 500; display: block; }

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 30px; }
.pager button { min-width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); background: var(--surface); padding: 0 4px; }
.pager button:hover { border-color: var(--brand); color: var(--brand); }
.pager button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   REPORT DETAIL
   ============================================================ */
.report-layout { display: grid; grid-template-columns: 1fr 332px; gap: 34px; align-items: start; padding: 24px 0 60px; }
.report-main { min-width: 0; }
.report-hero h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 30px; line-height: 1.22; letter-spacing: -.02em; margin: 14px 0 12px; }
.report-subtitle { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.report-subtitle b { color: var(--ink-soft); font-weight: 600; }
.report-badges { display:flex; gap:8px; flex-wrap:wrap; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 6px 0 24px; }
.kpi { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.kpi .k-label { font-size: 11.5px; color: var(--muted); }
.kpi .k-val { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; margin-top: 5px; letter-spacing:-.01em; }
.kpi .k-sub { font-size: 11px; color: var(--muted-2); margin-top: 3px; }
.kpi .k-up { color: var(--good); font-weight: 600; }

.rep-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 8px 0 22px; position: sticky; top: 119px; background: var(--bg); z-index: 20; overflow-x:auto; }
.rep-tab { padding: 12px 15px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; background:none;border-top:none;border-left:none;border-right:none; }
.rep-tab:hover { color: var(--ink); }
.rep-tab.on { color: var(--brand); border-bottom-color: var(--brand); }

.report-section { margin-bottom: 30px; scroll-margin-top: 180px; }
.report-section > h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 21px; margin: 0 0 14px; display:flex; align-items:center; gap:9px; letter-spacing:-.01em; }
.report-section > h2 .rs-ic { color: var(--accent); display:grid; }

.prose { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.prose ul li { display: flex; gap: 11px; align-items: flex-start; }
.prose ul li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); margin-top: 9px; flex-shrink: 0; }

/* ---- infographic (Market snapshot) ---- */
.snap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 20px; }
.snap-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap:14px; }
.snap-head h3 { font-size: 16px; font-weight: 600; margin: 0; }
.snap-head .snap-src { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); margin-top:3px; }
.snap-tools { display:flex; gap:6px; }
.snap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px; display:flex; flex-direction:column; }
.panel-title { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 12px; display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.cagr-badge { background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.chart-wrap { position: relative; height: 184px; }
.momentum-row { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.momentum-region { font-size: 11px; font-weight: 600; color: #fff; padding: 4px 9px; border-radius: 5px; min-width: 96px; text-align: center; }
.momentum-pct { font-size: 11px; color: var(--muted); min-width: 36px; font-family:var(--font-mono); }
.momentum-squares { display: flex; gap: 3px; }
.sq { width: 13px; height: 13px; border-radius: 2px; }
.seg-list { display: flex; flex-direction: column; gap: 9px; }
.seg-row { display: flex; align-items: center; gap: 10px; }
.seg-name { font-size: 12px; color: var(--ink-soft); min-width: 120px; max-width: 120px; }
.seg-bar-bg { flex: 1; height: 8px; background: var(--surface); border:1px solid var(--line-soft); border-radius: 4px; overflow: hidden; }
.seg-bar-fill { height: 100%; border-radius: 4px; transition: width 1.1s cubic-bezier(.4,0,.2,1); }
.seg-pct { font-size: 11px; color: var(--muted); min-width: 30px; text-align: right; font-family:var(--font-mono); }
.kpi-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi-mini { background: var(--surface); border:1px solid var(--line-soft); border-radius: 8px; padding: 10px 12px; }
.kpi-mini .km-l { font-size: 10px; color: var(--muted-2); }
.kpi-mini .km-v { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing:-.01em; }
.kpi-mini .km-s { font-size: 10px; color: var(--muted); }
.co-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top:4px; }
.co-pill { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.snap-note { font-size: 10px; color: var(--muted-2); margin-top: 10px; }

/* segments covered */
.seg-group + .seg-group { margin-top: 16px; }
.seg-group .sg-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.seg-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-tag { font-size: 12.5px; padding: 5px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }

/* TOC */
.toc-list { display: flex; flex-direction: column; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.toc-item { display: flex; align-items: center; gap: 14px; padding: 13px 16px; cursor:pointer; }
.toc-item + .toc-item { border-top: 1px solid var(--line-soft); }
.toc-item:hover { background: var(--surface-2); }
.toc-item .toc-n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 600; width: 24px; }
.toc-item .toc-t { font-size: 14px; font-weight: 500; }
.toc-item .toc-meta { margin-left: auto; display:flex; align-items:center; gap:12px; }
.toc-item .toc-p { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.toc-item .toc-x { color: var(--muted-2); transition: transform .15s; display:grid; }
.toc-item.open .toc-x { transform: rotate(90deg); color: var(--brand); }
.toc-sub { padding: 4px 16px 14px 54px; display:flex; flex-direction:column; gap:7px; background:var(--surface-2); border-top:1px solid var(--line-soft); }
.toc-sub span { font-size: 13px; color: var(--muted); display:flex; gap:9px; }
.toc-sub span::before { content:""; width:5px;height:5px;border-radius:50%;background:var(--muted-2);margin-top:8px;flex-shrink:0; }

/* FAQ */
.faq-list { border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-q { display:flex; align-items:center; gap:12px; padding: 15px 16px; cursor:pointer; font-size:14.5px; font-weight:600; }
.faq-q .faq-x { margin-left:auto; color: var(--muted-2); transition: transform .2s; display:grid; flex-shrink:0; }
.faq-item.open .faq-q .faq-x { transform: rotate(45deg); color: var(--brand); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .28s ease, padding .28s ease; font-size:14px; color:var(--muted); line-height:1.65; padding:0 16px; }
.faq-item.open .faq-a { max-height: 240px; padding: 0 16px 16px; }

/* buy box */
.buy-box { position: sticky; top: 119px; display:flex; flex-direction:column; gap:14px; }
.buy-card { padding: 0; overflow: hidden; }
.buy-head { padding: 16px 18px 14px; border-bottom: 1px solid var(--line-soft); }
.buy-head .bh-title { font-size: 13px; font-weight: 700; }
.buy-head .bh-sku { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-top:3px; }
.lic-list { padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.lic-opt { display: flex; align-items: flex-start; gap: 12px; padding: 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: .14s; }
.lic-opt:hover { border-color: var(--brand-tint-2); }
.lic-opt.on { border-color: var(--brand); background: var(--brand-tint); }
.lic-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; }
.lic-opt.on .lic-radio { border-color: var(--brand); }
.lic-opt.on .lic-radio::after { content:""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.lic-opt .lic-name { font-size: 13.5px; font-weight: 600; }
.lic-opt .lic-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.lic-opt .lic-price { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--price); white-space: nowrap; }
.buy-actions { padding: 4px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.buy-trust { padding: 14px 16px; border-top: 1px solid var(--line-soft); background: var(--surface-2); display: flex; flex-direction: column; gap: 10px; }
.buy-trust .bt { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.buy-trust .bt svg { color: var(--good); flex-shrink: 0; }
.buy-delivery { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--good); font-weight:600; padding: 0 16px 14px; }
.custom-cta { border:1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--bg-tint); }
.custom-cta h4 { font-size:14px; margin:0 0 5px; font-weight:600; }
.custom-cta p { font-size:12.5px; color:var(--muted); margin:0 0 10px; line-height:1.5; }
.buy-help { border:1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 11px; background:var(--surface); }
.buy-help .bhx { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.buy-help b { font-size: 13px; display: block; }
.buy-help span { font-size: 11.5px; color: var(--muted); }

.related-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.blog-feat { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; background: var(--brand); }
.blog-feat .bf-ph { position: absolute; inset: 0; opacity: .3; border:none; border-radius:0; }
.blog-feat::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(15,12,55,.95), rgba(15,12,55,.25) 65%); }
.blog-feat > * { position: relative; z-index: 1; }
.blog-feat h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 27px; line-height: 1.2; margin: 12px 0 10px; letter-spacing:-.01em; }
.blog-feat p { color: #cfcdeb; font-size: 14px; max-width: 520px; }
.blog-side { display: flex; flex-direction: column; gap: 14px; }
.blog-mini { display: flex; gap: 14px; padding: 14px; align-items: center; }
.blog-mini .bm-ph { width: 92px; height: 72px; flex-shrink: 0; }
.blog-mini h4 { font-size: 14px; line-height: 1.34; margin: 0 0 6px; font-weight: 600; cursor:pointer; }
.blog-mini h4:hover { color: var(--brand); }
.blog-mini .bm-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; }
.blog-card .bc-ph { height: 180px; border-radius: 0; border: none; border-bottom: 1px solid var(--line); }
.blog-card .bc-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; margin: 10px 0 8px; cursor:pointer; letter-spacing:-.01em; }
.blog-card h3:hover { color: var(--brand); }
.blog-card p { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.blog-card .bc-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.blog-card .bc-foot .av { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 11px; }

/* article */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 34px 0 60px; }
.article-head { margin-bottom: 28px; }
.article-head h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 36px; line-height: 1.16; letter-spacing: -.022em; margin: 14px 0 16px; }
.article-byline { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.article-byline .av { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; }
.article-hero-ph { height: 360px; border-radius: var(--radius-lg); margin-bottom: 32px; }
.article-body { font-size: 17.5px; line-height: 1.78; color: var(--ink-soft); }
.article-body p { margin: 0 0 22px; }
.article-body h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 24px; color: var(--ink); margin: 36px 0 14px; letter-spacing:-.01em; }
.article-body .lead { font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.article-chart { margin: 30px 0; }
.pull { border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin: 28px 0; font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.45; color: var(--ink); letter-spacing:-.01em; }
.article-related { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-top: 40px; }

/* ============================================================
   CART / CHECKOUT
   ============================================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr 364px; gap: 30px; align-items: start; padding: 26px 0 70px; }
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 26px; }
.step { display: flex; align-items: center; gap: 10px; }
.step .sn { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted-2); font-family: var(--font-mono); }
.step.on .sn { background: var(--brand); border-color: var(--brand); color: #fff; }
.step.done .sn { background: var(--good); border-color: var(--good); color: #fff; }
.step .st-label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.step.on .st-label, .step.done .st-label { color: var(--ink); }
.step-line { flex: 1; height: 2px; background: var(--line); margin: 0 14px; }
.step-line.done { background: var(--good); }

.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; padding: 18px 20px; align-items: start; }
.cart-item + .cart-item { border-top: 1px solid var(--line-soft); }
.cart-item .ci-ph { width: 56px; height: 72px; }
.cart-item h4 { font-size: 15px; margin: 0 0 6px; font-weight: 600; line-height: 1.34; }
.cart-item .ci-meta { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap:wrap; gap: 4px 12px; margin-bottom:8px; }
.cart-item .ci-lic select { width:100%; max-width:280px; }
.cart-item .ci-price { text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--price); }
.cart-item .ci-remove { font-size: 12px; color: var(--muted-2); margin-top: 8px; background:none;border:none; display:inline-flex; gap:5px; align-items:center; }
.cart-item .ci-remove:hover { color: var(--warn); }

.summary { position: sticky; top: 119px; padding: 20px; }
.summary h3 { font-size: 16px; margin: 0 0 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-soft); padding: 7px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 16px; align-items:baseline; }
.sum-row.total b { font-family: var(--font-display); font-weight:700; font-size: 24px; color: var(--price); }
.promo-row { display: flex; gap: 8px; margin: 14px 0; }
.promo-row input { flex: 1; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 12px; font-size: 13px; background: var(--surface-2); color: var(--ink); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 12px; font-size: 14px; background: var(--surface); color: var(--ink); font-family: inherit; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.pay-opt.on { border-color: var(--brand); background: var(--brand-tint); }
.pay-opt .lic-radio { margin-top: 0; }
.confirm-card { text-align:center; padding: 40px; }
.confirm-ic { width:64px;height:64px;border-radius:50%; background:var(--good-tint); color:var(--good); display:grid;place-items:center; margin:0 auto 18px; }

/* ============================================================
   AI CHAT
   ============================================================ */
.ai-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  height: 54px; padding: 0 20px 0 16px; border-radius: 999px; border: none;
  background: var(--logo-orange); color: var(--logo-navy);
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px;
  box-shadow: var(--shadow-lg); transition: transform .18s ease, background .15s;
}
.ai-fab:hover { transform: translateY(-2px); background: #f3a528; }
.ai-fab .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--logo-navy); box-shadow: 0 0 0 0 rgba(24,50,91,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(24,50,91,.45);} 70%{box-shadow:0 0 0 9px rgba(24,50,91,0);} 100%{box-shadow:0 0 0 0 rgba(24,50,91,0);} }

.ai-panel {
  position: fixed; right: 0; top: 0; bottom: 0; width: 416px; max-width: 94vw; z-index: 95;
  background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.1,1);
}
.ai-panel.open { transform: none; }
.ai-overlay { position: fixed; inset: 0; background: rgba(15,12,55,.42); z-index: 94; opacity: 0; pointer-events: none; transition: opacity .3s; }
.ai-overlay.open { opacity: 1; pointer-events: auto; }
.ai-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; background: var(--logo-orange); }
.ai-head .ai-ava { width: 40px; height: 40px; border-radius: 11px; background: #fff; color: var(--logo-orange); display: grid; place-items: center; flex-shrink: 0; }
.ai-head b { font-size: 15px; display: block; color: var(--logo-navy); }
.ai-head .ai-stat { font-size: 12px; color: #1b5e34; display: flex; align-items: center; gap: 5px; font-weight: 600; }
.ai-head .ai-stat::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: #1b5e34; }
.ai-head .x { margin-left: auto; color: var(--logo-navy); }
.ai-send { background: var(--logo-orange); color: var(--logo-navy); }
.ai-body { flex: 1; overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); }
.ai-msg { display: flex; gap: 10px; max-width: 94%; }
.ai-msg .av { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ai-msg.bot .av { background: var(--brand-tint); color: var(--brand); }
.ai-msg.me { align-self: flex-end; flex-direction: row-reverse; }
.ai-msg .bubble { padding: 11px 14px; border-radius: 13px; font-size: 13.5px; line-height: 1.55; }
.ai-msg.bot .bubble { background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 4px; }
.ai-msg.me .bubble { background: var(--brand); color: #fff; border-top-right-radius: 4px; }
.ai-rec { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 12px; margin-top: 6px; }
.ai-rec .ar-h { font-size: 10.5px; font-weight: 700; color: var(--muted-2); margin-bottom: 8px; }
.ai-rec-card { display: flex; gap: 11px; padding: 9px; border-radius: 8px; cursor: pointer; }
.ai-rec-card:hover { background: var(--surface-2); }
.ai-rec-card .arc-ph { width: 36px; height: 46px; flex-shrink: 0; }
.ai-rec-card h5 { font-size: 12.5px; margin: 0 0 4px; line-height: 1.3; font-weight: 600; }
.ai-rec-card .arc-p { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--price); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ai-chip { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--brand-tint-2); background: var(--brand-tint); color: var(--brand); font-weight: 500; cursor: pointer; }
.ai-chip:hover { background: var(--brand); color: #fff; }
.ai-foot { padding: 14px 16px; border-top: 1px solid var(--line); }
.ai-input { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; }
.ai-input input { flex: 1; border: none; background: none; font-size: 14px; color: var(--ink); font-family: inherit; }
.ai-input input:focus { outline: none; }
.ai-send { width: 38px; height: 38px; border-radius: 9px; background: var(--logo-orange); color: var(--logo-navy); border: none; display: grid; place-items: center; flex-shrink: 0; }
.ai-typing { display: flex; gap: 4px; padding: 6px 2px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: blink 1.3s infinite; }
.ai-typing i:nth-child(2){animation-delay:.2s;} .ai-typing i:nth-child(3){animation-delay:.4s;}
@keyframes blink { 0%,60%,100%{opacity:.3;} 30%{opacity:1;} }
.ai-disclaimer { font-size: 10.5px; color: var(--muted-2); text-align: center; margin-top: 9px; }

/* AI human handoff */
.ai-human-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--logo-navy); background: rgba(255,255,255,.55); border: 1px solid rgba(24,50,91,.18); border-radius: 999px; padding: 6px 11px; margin-left: auto; }
.ai-human-btn:hover { background: #fff; }
.ai-head .x { margin-left: 8px; }
.ai-msg .av.agent { background: var(--logo-navy); color: #fff; }
.av-agent-mini { font-size: 11px; font-weight: 700; }
.ai-handoff { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--muted); margin: 4px 0 12px; }
.ai-handoff::before, .ai-handoff::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.ai-handoff svg { color: var(--logo-navy); }

/* ============================================================
   misc / responsive
   ============================================================ */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 100; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 11px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; opacity: 0; transition: .28s; pointer-events:none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { color: var(--accent-bright); }

@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-split { grid-template-columns: repeat(2, 1fr); }
  .report-grid, .blog-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .search-layout, .report-layout, .checkout-layout { grid-template-columns: 1fr; }
  .facets, .buy-box, .summary { position: static; }
  .blog-hero { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-row, .search-box, .topbar { display: none; }
  .cat-grid, .report-grid, .blog-grid, .feature-split, .kpi-row, .snap-grid, .foot-top, .related-grid { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 1fr; }
  .rr-side { border-left: none; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 14px; flex-direction: row; align-items: center; justify-content: space-between; }
  .wrap { padding-inline: 18px; }
}

[dir="rtl"] .eyebrow::before { } /* RTL handled by logical props where possible */

/* ============================================================
   v2 ADDITIONS — logo, richer hero, deliverables, why-choose,
   testimonials, newsletter, report cover, snapshot footer
   ============================================================ */
:root { --logo-orange: #fbb040; --logo-green: #39b54a; --logo-blue: #0aa1c7; --logo-navy: #18325b; }
[data-theme="dark"] { --logo-orange: #fbb040; }

/* logo as image */
.logo img.logo-full { height: 42px; width: auto; display: block; }
.logo .logo-mark-img { width: 40px; height: 40px; border-radius: 8px; display: block; flex-shrink: 0; }
.logo img.logo-white { height: 46px; width: auto; display: block; }
.footer .logo img.logo-full { height: 40px; }
.report-cover .rc-logo-white { width: 116px; height: auto; display: block; }

/* ---------- report card growth viz (replaces sparkline) ---------- */
.rc-growth { display: flex; align-items: flex-end; gap: 14px; padding: 4px 2px 0; }
.rcg-bars { display: flex; align-items: flex-end; gap: 12px; flex: 1; height: 76px; }
.rcg-col { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; height: 100%; justify-content: flex-end; }
.rcg-val { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -.01em; line-height: 1; }
.rcg-bar { width: 100%; max-width: 46px; border-radius: 5px 5px 0 0; transition: height .9s cubic-bezier(.4,0,.2,1); position: relative; }
.rcg-bar.base { background: var(--brand-tint-2); }
.rcg-col.base .rcg-val { color: var(--muted); }
.rcg-bar.fore { background: linear-gradient(180deg, var(--accent-bright), var(--accent)); }
.rcg-col.fore .rcg-val { color: var(--price); }
.rcg-yr { font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); }
.rcg-cagr { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding-left: 12px; border-left: 1px dashed var(--line); align-self: stretch; padding-right: 12px;}
.rcg-cagr .rcg-arrow { color: var(--good); display: flex; align-items: center; gap: 3px; font-weight: 700; font-size: 18px; font-family: var(--font-display); letter-spacing: -.01em; }
.rcg-cagr .rcg-lbl { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.rcg-cagr .rcg-span { font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); margin-top: 2px; }

/* ---------- richer hero ---------- */
.hero-v2 { background: #0a1832; background-image: url('/themes/custom/mrr_theme/images/hero-bg.png'); background-repeat: no-repeat; background-position: right center; background-size: cover; }
.hero-v2::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(8,20,44,.97) 0%, rgba(8,20,44,.9) 34%, rgba(8,20,44,.6) 58%, rgba(8,20,44,.25) 100%); }
.hero-v2 .hero-grid-bg { display: none; }
.hero-v2 .wrap { display: block; padding: 38px 28px 42px; position: relative; z-index: 2; }
.hero-top { max-width: 660px; }
.hero-v2 .eyebrow { color: var(--logo-orange); font-weight: 600; letter-spacing: .02em; }
.hero-v2 .eyebrow::before { background: var(--logo-orange); }
.hero-v2 h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.07; letter-spacing: -.025em; margin: 12px 0 0; }
.hero-v2 h1 .grow { color: var(--logo-orange); display: block; }
.hero-v2 .lede { font-size: 16px; color: #c8d2e8; max-width: 560px; margin: 14px 0 0; line-height: 1.55; }
.hero-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.hero-pill { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.hero-pill .hp-ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.12); color: var(--accent-bright); display: grid; place-items: center; flex-shrink: 0; }
.hero-pill b { font-size: 13px; color: #fff; font-weight: 600; display: block; line-height: 1.2; }
.hero-pill span { font-size: 11px; color: #aebdd8; }

/* hero AI card */
.hero-ai { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.hero-ai-head { display: flex; align-items: center; gap: 11px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.hero-ai-head .ha-av { width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.hero-ai-head b { font-size: 14px; display: block; }
.hero-ai-head span { font-size: 11.5px; color: var(--good); display: flex; align-items: center; gap: 5px; }
.hero-ai-head span::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.hero-ai-body { padding: 16px; }
.hero-ai-msg { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; border-top-left-radius: 4px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.hero-ai-msg ul { margin: 8px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.hero-ai-msg li { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-soft); }
.hero-ai-msg li svg { color: var(--accent); flex-shrink: 0; }
.hero-ai-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.hero-ai-input { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 6px 6px 6px 13px; margin-top: 14px; }
.hero-ai-input input { flex: 1; border: none; background: none; font-size: 13.5px; color: var(--ink); font-family: inherit; pointer-events: none; }
.hero-ai-input .ai-send { width: 34px; height: 34px; }

/* hero search panel */
.hero-search-panel { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 22px; margin-top: 22px; color: var(--ink); }
.hero-search-panel .hsp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.hero-search-panel h3 { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.hero-search-panel .hsp-ai { font-size: 13px; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.hsp-form { display: flex; gap: 10px; }
.hsp-form input { flex: 1; height: 50px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; font-size: 15px; background: var(--surface-2); color: var(--ink); font-family: inherit; }
.hsp-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.hsp-examples { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hsp-examples .hx-label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.hsp-ex { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); border: 1px solid var(--brand-tint-2); font-weight: 500; cursor: pointer; }
.hsp-ex:hover { background: var(--brand); color: #fff; }

/* ---------- stats strip ---------- */
.stats-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-strip .wrap { display: flex; align-items: stretch; justify-content: space-between; padding: 0; flex-wrap: wrap; }
.stat-cell { flex: 1; min-width: 150px; display: flex; align-items: center; gap: 13px; padding: 22px 18px; border-right: 1px solid var(--line-soft); }
.stat-cell:last-child { border-right: none; }
.stat-cell .sc-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.stat-cell b { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.05; letter-spacing: -.01em; display: block; }
.stat-cell span { font-size: 12px; color: var(--muted); }

/* ---------- deliverables your way ---------- */
.deliv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.deliv-card { padding: 20px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.deliv-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; }
.deliv-card b { font-size: 14px; font-weight: 600; }
.deliv-card span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.deliv-card .soon { position: absolute; top: 10px; right: 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--warn); background: color-mix(in oklab, var(--warn) 12%, transparent); padding: 2px 7px; border-radius: 999px; }

/* ---------- why choose us ---------- */
.why-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.why-visual { background: var(--brand); border-radius: var(--radius-lg); padding: 30px; position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.why-visual .wv-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(circle at 60% 40%, #000, transparent 78%); }
.why-visual .wv-badges { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.why-visual .wv-chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 11px; padding: 13px 15px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; }
.why-visual .wv-chip .wc-ic { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.14); color: var(--accent-bright); display: grid; place-items: center; flex-shrink: 0; }
.why-list { display: flex; flex-direction: column; gap: 4px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.why-item:last-child { border-bottom: none; }
.why-item .wi-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--good-tint); color: var(--good); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.why-item b { font-size: 15px; font-weight: 600; display: block; margin-bottom: 2px; }
.why-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card { padding: 24px; display: flex; flex-direction: column; position: relative; }
.testi-card .tc-quote { position: absolute; top: 16px; right: 20px; font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--brand-tint-2); font-weight: 700; }
.testi-stars { display: flex; gap: 2px; color: var(--logo-orange); margin-bottom: 14px; }
.testi-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 20px; flex: 1; }
.testi-foot { display: flex; align-items: center; gap: 12px; }
.testi-foot .tf-av { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.testi-foot b { font-size: 14px; display: block; }
.testi-foot span { font-size: 12px; color: var(--muted); }

/* ---------- newsletter ---------- */
.newsletter { background: linear-gradient(115deg, var(--brand) 0%, var(--brand-2) 100%); border-radius: var(--radius-lg); padding: 40px 44px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.newsletter .nl-grid { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); }
.newsletter > * { position: relative; z-index: 1; }
.newsletter .nl-ic { width: 50px; height: 50px; border-radius: 13px; background: rgba(255,255,255,.14); color: var(--accent-bright); display: grid; place-items: center; margin-bottom: 14px; }
.newsletter h3 { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: #fff; margin: 0 0 8px; letter-spacing: -.01em; }
.newsletter p { color: #c4c1e8; margin: 0; font-size: 14.5px; max-width: 440px; }
.nl-form { display: flex; gap: 10px; }
.nl-form input { flex: 1; height: 50px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); padding: 0 16px; font-size: 14.5px; color: #fff; font-family: inherit; }
.nl-form input::placeholder { color: #a9a5d4; }
.nl-form input:focus { outline: none; border-color: var(--accent-bright); background: rgba(255,255,255,.16); }
.nl-trust { display: flex; gap: 18px; margin-top: 14px; }
.nl-trust span { font-size: 12px; color: #b8b4e0; display: flex; align-items: center; gap: 6px; }
.nl-trust span svg { color: var(--accent-bright); }

/* ---------- report cover (auto-generated from title) ---------- */
.report-intro { display: grid; grid-template-columns: 196px 1fr; gap: 26px; align-items: start; margin-bottom: 22px; }
.report-cover { width: 196px; height: 285px; border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; position: relative; background: var(--logo-navy); color: #fff; display: flex; flex-direction: column; }
.report-cover .rc-band { height: 7px; background: linear-gradient(90deg, var(--logo-green) 0 33%, var(--logo-navy) 33% 66%, var(--logo-blue) 66% 100%); }
.report-cover .rc-grid { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(circle at 80% 90%, #000, transparent 75%); }
.report-cover .rc-inner { position: relative; z-index: 1; padding: 16px 16px 14px; display: flex; flex-direction: column; height: 100%; }
.report-cover .rc-mark { width: 30px; height: 30px; border-radius: 6px; display: block; background: #fff; padding: 3px; }
.report-cover .rc-kicker { font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--logo-orange); font-weight: 700; margin-top: 14px; }
.report-cover .rc-title { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.24; letter-spacing: -.01em; margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.report-cover .rc-spacer { flex: 1; }
.report-cover .rc-metrics { display: flex; gap: 8px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 10px; }
.report-cover .rc-metric b { font-family: var(--font-display); font-weight: 700; font-size: 14px; display: block; line-height: 1; }
.report-cover .rc-metric span { font-size: 8px; color: #aebdd8; text-transform: uppercase; letter-spacing: .05em; }
.report-cover .rc-pub { font-size: 8.5px; color: #aebdd8; margin-top: 10px; }
.report-cover-hint { font-size: 10.5px; color: var(--muted-2); text-align: center; margin-top: 8px; display: flex; align-items: center; gap: 5px; justify-content: center; }
.report-intro-body .report-subtitle { margin-bottom: 14px; }
.report-quick { display: flex; flex-direction: column; gap: 8px; }
.report-quick .rq { display: flex; gap: 9px; font-size: 13px; color: var(--ink-soft); }
.report-quick .rq svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.report-quick .rq b { font-weight: 600; }

/* ---------- snapshot footer (copyright in PNG) ---------- */
.snap-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.snap-copy { font-size: 11.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 7px; width:50%; }
.snap-copy .sc-mark { height: 18px; width: auto; }
.snap-foot .snap-meta { font-size: 10.5px; color: var(--muted-2); font-family: var(--font-mono); width: 70%; margin-left: 10px; }

/* ---------- TOC expand-all ---------- */
.toc-controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.toc-controls .tc-hint { font-size: 12.5px; color: var(--muted); }
.toc-expand-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-tint); border: 1px solid var(--brand-tint-2); border-radius: var(--radius-sm); padding: 8px 14px; }
.toc-expand-btn:hover { background: var(--brand-tint-2); }

/* ---------- v2 responsive ---------- */
@media (max-width: 1080px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-ai { display: none; }
  .hero-pills { grid-template-columns: repeat(2, 1fr); }
  .deliv-grid { grid-template-columns: repeat(3, 1fr); }
  .why-wrap { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .report-intro { grid-template-columns: 150px 1fr; gap: 18px; }
  .report-cover { width: 150px; height: 200px; }
}
@media (max-width: 720px) {
  .hero-pills { grid-template-columns: 1fr; }
  .deliv-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { min-width: 50%; border-bottom: 1px solid var(--line-soft); }
  .hsp-form { flex-direction: column; }
  .report-intro { grid-template-columns: 1fr; }
  .report-cover { margin: 0 auto; }
  .newsletter { padding: 28px 22px; }
}

/* ============================================================
   LIVE DRUPAL INTEGRATION — consolidated overrides
   One coherent block per concern (replaces the old polish1–17
   layers). Adapts the design-system components above to the
   markup Drupal/Commerce actually renders.
   ============================================================ */

/* ---------- Branding ---------- */
.header .logo,
#block-mrr-theme-branding { display: flex; align-items: center; margin: 0; }
.header .logo img,
.block-system-branding-block img,
.site-branding__logo img { height: 42px; width: auto; max-width: 230px; display: block; }
.block-system-branding-block .site-branding__text,
.site-branding__name, .site-branding__slogan { display: none !important; }

/* ---------- Header: single non-stacking row ---------- */
.header .header-main { display: flex !important; align-items: center; gap: 22px; min-height: 72px; flex-wrap: nowrap; }
.header .logo { flex: 0 0 auto; }
.header .search-box { flex: 1 1 auto; min-width: 0; }
.header .nav-icons { flex: 0 0 auto; display: flex !important; align-items: center; gap: 6px; margin-left: auto; flex-wrap: nowrap; }
.header .nav-icons > * { margin: 0 !important; }
.topbar .wrap { display: flex !important; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar .grp { display: flex; align-items: center; gap: 12px; }
.nav-row .wrap { display: flex !important; align-items: center; gap: 4px; min-height: 48px; position: relative; flex-wrap: nowrap; }
.nav-row .nav-link, .nav-row .nav-mega-wrap { flex: 0 0 auto; }
.nav-row a, .nav-row .nav-link { white-space: nowrap; }
.nav-spacer { flex: 1 1 auto; }

/* Header search fallback form */
.search-box .mrr-header-search { position: relative; display: flex; align-items: center; width: 100%; }
.search-box .mrr-header-search .s-ico { position: absolute; left: 14px; color: var(--muted-2); pointer-events: none; }
.search-box .mrr-header-search input { width: 100%; height: 44px; border: 1px solid var(--line); background: var(--surface-2); border-radius: var(--radius-sm); padding: 0 46px 0 40px; font-size: 14px; color: var(--ink); }
.search-box .mrr-header-search input:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-tint); }
.search-box .mrr-header-search .s-go { position: absolute; right: 6px; height: 32px; width: 32px; border: none; border-radius: 6px; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }

/* Two-tone "New: AI report finder" promo */
.nav-promo { color: var(--muted); font-weight: 600; }
.nav-promo .np-tag { color: var(--muted-2); font-weight: 700; }
.nav-promo .np-link { color: var(--accent-bright); }

/* ---------- Header actions: language / account / cart dropdowns ----------
   CSS-only hover dropdowns on the real Drupal block IDs. No JS. */
#block-mrr-theme-languageswitcher,
#block-mrr-theme-account-menu { position: relative; width: 44px; height: 44px; border-radius: 9px; display: grid !important; place-items: center; cursor: pointer; color: var(--ink-soft); }
#block-mrr-theme-languageswitcher:hover,
#block-mrr-theme-account-menu:hover { background: var(--surface-2); color: var(--brand); }
#block-mrr-theme-languageswitcher > h2,
#block-mrr-theme-account-menu > h2,
#block-mrr-theme-languageswitcher .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#block-mrr-theme-languageswitcher::before,
#block-mrr-theme-account-menu::before { content: ""; width: 21px; height: 21px; background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
#block-mrr-theme-languageswitcher::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18'/%3E%3C/svg%3E"); }
#block-mrr-theme-account-menu::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
#block-mrr-theme-languageswitcher ul.links,
#block-mrr-theme-account-menu ul { position: absolute; top: calc(100% + 6px); right: 0; min-width: 184px; max-height: 340px; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 7px; margin: 0; list-style: none; display: none; flex-direction: column; gap: 2px; z-index: 95; }
#block-mrr-theme-languageswitcher:hover ul.links,
#block-mrr-theme-account-menu:hover ul { display: flex; }
#block-mrr-theme-languageswitcher ul.links li,
#block-mrr-theme-account-menu ul li { margin: 0; }
#block-mrr-theme-languageswitcher ul.links a,
#block-mrr-theme-account-menu ul a { display: block; padding: 8px 11px; border-radius: 7px; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
#block-mrr-theme-languageswitcher ul.links a:hover,
#block-mrr-theme-languageswitcher ul.links a.is-active,
#block-mrr-theme-account-menu ul a:hover { background: var(--surface-2); color: var(--brand); }

/* Cart block: kill the white PNG, brand-blue glyph */
#block-mrr-theme-shopping-cart .cart-block--link__expand { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 9px; color: var(--brand) !important; font-size: 13px; font-weight: 600; }
#block-mrr-theme-shopping-cart .cart-block--link__expand:hover { background: var(--surface-2); }
#block-mrr-theme-shopping-cart .cart-block--summary__icon img { display: none !important; }
#block-mrr-theme-shopping-cart .cart-block--summary__icon { width: 22px; height: 22px; display: inline-block; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6 5 3H2'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6 5 3H2'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- Mega menu (Industries) ----------
   markup: .nav-mega-wrap > button.nav-link + .mega[hidden] > .wrap > .mega-grid
   Anchored to .nav-row .wrap (position:relative above); opens on hover. */

/* ---------- Breadcrumb (class-less <ol>, only nav has aria-labelledby) ---------- */
nav[aria-labelledby="system-breadcrumb"] ol,
[id*="breadcrumb" i] ol { list-style: none !important; display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 12px 0 4px; }
nav[aria-labelledby="system-breadcrumb"] li,
[id*="breadcrumb" i] li { list-style: none !important; display: flex !important; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
nav[aria-labelledby="system-breadcrumb"] li::before,
[id*="breadcrumb" i] li::before { content: none !important; }
nav[aria-labelledby="system-breadcrumb"] li:not(:last-child)::after,
[id*="breadcrumb" i] li:not(:last-child)::after { content: "/"; color: var(--muted-2); }
nav[aria-labelledby="system-breadcrumb"] a,
[id*="breadcrumb" i] a { color: var(--muted); }
nav[aria-labelledby="system-breadcrumb"] a:hover,
[id*="breadcrumb" i] a:hover { color: var(--brand); }

/* ---------- Inner-page 2-col (sidebar + content) ---------- */
.layout-2col { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; padding-top: 16px; }
.layout-2col .layout-main { min-width: 0; }
@media (max-width: 900px) { .layout-2col { grid-template-columns: 1fr; } }

/* ---------- /reports listing ---------- */
.reports-listing { padding: 8px 0 40px; }
.reports-header { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.reports-exposed { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.reports-exposed .views-exposed-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin: 0; }
.reports-exposed .form-item { margin: 0; }
.reports-exposed label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.reports-exposed select,
.reports-exposed input[type="text"],
.reports-exposed input[type="search"] { height: 40px; border: 1px solid var(--line); border-radius: 9px; padding: 0 34px 0 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b96a8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; cursor: pointer; }
.reports-exposed input[type="text"], .reports-exposed input[type="search"] { font-weight: 400; padding-right: 14px; min-width: 220px; background-image: none; cursor: text; }
.reports-exposed .form-submit { height: 40px; border: none; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 600; padding: 0 16px; cursor: pointer; }

.reports-list { display: flex; flex-direction: column; gap: 14px; }
.reports-list .views-row { width: 100%; }
.view-id-reports .views-view-grid, .view-id-reports table,
.view-id-reports .views-view-grid tr, .view-id-reports tbody, .view-id-reports tr,
.view-id-reports .views-view-grid td, .view-id-reports td { display: block !important; width: 100% !important; }
.reports-list .rep-card { display: grid; grid-template-columns: 1fr 300px; grid-template-areas: "top top" "title growth" "summary growth" "tags foot"; gap: 8px 26px; align-items: start; }
.reports-list .rep-card .rc-top { grid-area: top; }
.reports-list .rep-card h4 { grid-area: title; align-self: start; margin: 2px 0; font-size: 17px; margin-left: 10px; }
.reports-list .rep-card .rc-summary { grid-area: summary; display: -webkit-box; color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 2px 10px 2px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reports-list .rep-card .rc-growth { grid-area: growth; align-self: center; }
.reports-list .rep-card .rc-tags { grid-area: tags; }
.reports-list .rep-card .rc-foot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: 4px; }
.reports-list .rep-card .rc-forecast { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.reports-list .rep-card .rc-forecast b { color: var(--good); font-family: var(--font-display); }
@media (max-width: 820px) { .reports-list .rep-card { grid-template-columns: 1fr; grid-template-areas: "top" "title" "summary" "growth" "tags" "foot"; } }

/* grid/row toggle */
.reports-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.reports-toolbar .rt-spacer { flex: 1; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggle button { width: 40px; height: 38px; border: none; background: var(--surface); color: var(--muted-2); font-size: 16px; cursor: pointer; }
.view-toggle button.on { background: var(--brand); color: #fff; }
.reports-listing.as-grid .reports-list { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reports-listing.as-grid .reports-list .rep-card { display: flex !important; flex-direction: column; }
.reports-listing.as-grid .rc-summary, .reports-listing.as-grid .rc-forecast { display: none !important; }
@media (max-width: 1000px) { .reports-listing.as-grid .reports-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .reports-listing.as-grid .reports-list { grid-template-columns: 1fr; } }

/* Facet sidebar */
.region-sidebar-first { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 128px; }
.region-sidebar-first > .block, .region-sidebar-first .block-facets, .region-sidebar-first [id*="facet" i], .region-sidebar-first [id*="search" i] { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.region-sidebar-first h2, .region-sidebar-first .block h2 { font-size: 13.5px; margin: 0 0 10px; font-weight: 700; }
.region-sidebar-first ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.region-sidebar-first li { margin: 0; }
.region-sidebar-first .facets-widget-checkbox a, .region-sidebar-first .facet-item a, .region-sidebar-first li a { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; font-size: 13px; color: var(--ink-soft); }
.region-sidebar-first li a:hover { background: var(--surface-2); color: var(--brand); }
.region-sidebar-first a.is-active { color: var(--brand); font-weight: 600; }
.region-sidebar-first .facet-item__count, .region-sidebar-first .facets-widget-checkbox .count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.region-sidebar-first input[type="checkbox"] { accent-color: var(--brand); width: 16px; height: 16px; }
.region-sidebar-first input[type="text"], .region-sidebar-first input[type="search"] { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 7px; padding: 0 11px; font-size: 13px; background: var(--surface-2); color: var(--ink); }
.region-sidebar-first .button, .region-sidebar-first [type="submit"] { margin-top: 8px; height: 38px; border: none; border-radius: 7px; background: var(--brand); color: #fff; font-weight: 600; font-size: 13px; padding: 0 14px; cursor: pointer; }
@media (max-width: 900px) { .region-sidebar-first { position: static; } }

/* Pager */
.pager__items, ul.pager, nav.pager ul { list-style: none !important; display: flex !important; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 30px 0 10px; padding: 0; }
.pager__item, .pager li { list-style: none !important; margin: 0 !important; }
.pager__item a, .pager li a, .pager__item.is-active a, .pager__item--current { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.pager__item a:hover, .pager li a:hover { border-color: var(--brand); color: var(--brand); }
.pager__item.is-active a, .pager__item--current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Report detail (commerce-product--reports) ---------- */
.report-hero, .page-head h1 { font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.18 !important; margin-top: 5px;}
.report-cover .rc-title { font-size: 12.5px !important; line-height: 1.22 !important; -webkit-line-clamp: 7 !important; }
.report-intro > div:first-child { perspective: none; }
.report-cover, .report-cover--image { transform: none !important; box-shadow: var(--shadow-md); }
.report-cover::after { display: none; }

/* structured subtitle (By Type / By Application / Regional / Key Players) */
.report-subtitle--structured { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.report-subtitle--structured .rs-line { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.report-subtitle--structured .rs-line b { color: var(--ink); font-weight: 700; margin-right: 4px; }

/* report-quick + badge icons */
.report-quick .rq { display: flex; gap: 9px; }
.report-quick .rq .ic { width: 17px; height: 17px; margin-top: 1px; color: var(--accent); }
.report-quick .rq:nth-child(1) .ic { color: #1746c4; }
.report-quick .rq:nth-child(2) .ic { color: #1f8a52; }
.report-quick .rq:nth-child(3) .ic { color: #c9711d; }
.report-quick .rq:nth-child(4) .ic { color: #7b5ad6; }
.badge .ic { width: 13px; height: 13px; margin-right: 5px; }

/* section heading icons (flat accent glyph) */
.report-section h2 { display: flex; align-items: center; gap: 11px; }
.report-section h2 .h-ic { width: 24px; height: 24px; background: currentColor; color: var(--accent); }
#segments h2 .h-ic { color: #7b5ad6; } #toc h2 .h-ic { color: #0aa1c7; } #faq h2 .h-ic { color: #c9711d; }

/* Segments-covered card */
.seg-card { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.seg-dim-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 11px; }
.seg-card .seg-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.seg-card .seg-chip { font-size: 13.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); }
.seg-card .seg-chip:hover { border-color: var(--brand-tint-2); color: var(--brand); }

/* TOC (native <details>); chapter numbers come from the data, badge styles the index */
.mrr-toc { display: flex; flex-direction: column; gap: 8px; }
.toc-chap { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.toc-chap > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-weight: 600; font-size: 14.5px; }
.toc-chap > summary::-webkit-details-marker { display: none; }
.toc-chap .toc-n { font-family: var(--font-mono); font-size: 12px; color: #0aa1c7; font-weight: 700; }
.toc-chap .toc-t { flex: 1; }
.toc-chap .toc-x { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.toc-chap .toc-x::before, .toc-chap .toc-x::after { content: ""; position: absolute; background: var(--muted-2); border-radius: 2px; }
.toc-chap .toc-x::before { top: 8px; left: 3px; right: 3px; height: 2px; }
.toc-chap .toc-x::after { left: 8px; top: 3px; bottom: 3px; width: 2px; transition: transform .2s; }
.toc-chap[open] .toc-x::after { transform: scaleY(0); }
.toc-chap[open] > summary { background: #eaf6fb; color: #0a6f8c; }
.toc-sub { margin: 0; padding: 4px 16px 14px 44px; display: flex; flex-direction: column; gap: 7px; list-style: none; }
.toc-sub li { font-size: 13.5px; color: var(--ink-soft); position: relative; }
.toc-sub li::before { content: ""; position: absolute; left: -16px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-tint-2); }

/* FAQ (native <details>) */
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-q { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 18px; font-weight: 600; font-size: 14.5px; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .faq-x { margin-left: auto; width: 16px; height: 16px; position: relative; flex-shrink: 0; }
.faq-q .faq-x::before, .faq-q .faq-x::after { content: ""; position: absolute; background: var(--muted-2); border-radius: 2px; }
.faq-q .faq-x::before { top: 7px; left: 2px; right: 2px; height: 2px; }
.faq-q .faq-x::after { left: 7px; top: 2px; bottom: 2px; width: 2px; transition: transform .2s; }
.faq-item[open] .faq-q .faq-x::after { transform: scaleY(0); }
.faq-item[open] .faq-q { color: var(--brand); }
.faq-a { padding: 0 18px 16px !important; font-size: 14px; color: var(--muted); line-height: 1.65; max-height: none !important; overflow: visible !important; }

/* Buy box */
.buy-card .lic-list { padding: 14px 16px; }
.buy-card .commerce-order-item-add-to-cart-form { display: flex; flex-direction: column; gap: 12px; }
.buy-card .form-item { margin: 0; }
.buy-card .button, .buy-card input[type="submit"] { width: 100%; background: var(--brand); color: #fff; border: none; border-radius: var(--radius-sm); padding: 13px 18px; font-weight: 600; font-size: 15px; cursor: pointer; }
.buy-card .button:hover { background: color-mix(in oklab, var(--brand) 88%, #000); }
.buy-card label, .buy-card .fieldset__label { font-weight: 600; font-size: 13px; color: var(--ink-soft); }
.buy-trust .bt { display: flex; align-items: center; gap: 9px; }
.buy-trust .bt .ic { width: 17px; height: 17px; }
.buy-trust .bt-lock { color: #1f8a52; } .buy-trust .bt-doc { color: #1746c4; } .buy-trust .bt-badge { color: #7b5ad6; }
.buy-delivery { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; margin-top: 9px; padding: 7px 10px; border-radius: 7px; }
.buy-delivery .d-dot { width: 7px; height: 7px; border-radius: 50%; }
.buy-delivery.on-demand { background: color-mix(in oklab, var(--logo-orange) 14%, transparent); color: #9a5a12; }
.buy-delivery.on-demand .d-dot { background: var(--logo-orange); }
.buy-delivery.published { background: var(--good-tint); color: #14633b; }
.buy-delivery.published .d-dot { background: var(--good); }
.buy-help-card { display: flex; gap: 13px; align-items: center; padding: 16px; }
.buy-help-card .bhx { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.buy-help-card .bhx .ic { width: 22px; height: 22px; }
.buy-help-card b { font-size: 13.5px; display: block; margin-bottom: 3px; }
.buy-help-card a { display: block; font-size: 13px; font-weight: 600; color: var(--brand); }
.custom-cta { padding: 20px; }
.custom-cta h4 { font-size: 16px; margin: 8px 0 6px; }
.custom-cta p { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }

/* Sample modal */
.mrr-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mrr-modal[hidden] { display: none; }
.mrr-modal-ov { position: absolute; inset: 0; background: rgba(10,18,38,.55); backdrop-filter: blur(2px); }
.mrr-modal-card { position: relative; z-index: 1; width: 100%; max-width: 460px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px; max-height: 90vh; overflow: auto; }
.mrr-modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 8px; border: none; background: var(--surface-2); color: var(--muted); font-size: 15px; cursor: pointer; }
.mrr-modal-x:hover { background: var(--line); color: var(--ink); }
.mrr-modal-card h3 { font-family: var(--font-display); font-size: 22px; margin: 8px 0 6px; }
.mrr-modal-card > p { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.mrr-modal-note { font-size: 11.5px; color: var(--muted-2); text-align: center; margin-top: 10px; }
.mrr-sample-form .field { margin-bottom: 12px; }
.mrr-sample-form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
.mrr-sample-form input, .mrr-sample-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); }
.mrr-sample-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mrr-sample-form input:focus, .mrr-sample-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

/* ---------- Blog listing (featured-first grid) ---------- */
.blog-hero { background: #0e2a63 !important; color: #fff; padding: 46px 0 42px; margin-bottom: 4px; }
.blog-hero .eyebrow { color: var(--logo-orange); } .blog-hero .eyebrow::before { background: var(--logo-orange); }
.blog-hero h1 { font-family: var(--font-display); font-size: 38px; color: #fff; margin: 12px 0 8px; letter-spacing: -.02em; }
.blog-hero p { color: #c8d2e8; font-size: 15px; max-width: 600px; margin: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 30px 0 60px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; }
.blog-card .bc-img { height: 188px; position: relative; overflow: hidden; background-size: cover; background-position: center; background-color: var(--surface-2); border-bottom: 1px solid var(--line); }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .bc-img .field, .blog-card .bc-img figure, .blog-card .bc-img picture { height: 100%; margin: 0; }
.blog-card .bc-img--ph { display: flex; align-items: flex-end; padding: 16px; color: #fff; background: linear-gradient(150deg, var(--brand) 0%, color-mix(in oklab, var(--brand) 70%, #000) 100%); }
.blog-card .bc-img--ph span { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.25; }
.blog-card .bc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.3; margin: 8px 0 10px; }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0 0 16px; }
.blog-card .bc-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-2); font-family: var(--font-mono); }
.blog-grid .views-row:first-child { grid-column: 1 / -1; }
.blog-grid .views-row:first-child .blog-card { flex-direction: row; }
.blog-grid .views-row:first-child .bc-img { width: 52%; min-height: 320px; border-bottom: none; border-right: 1px solid var(--line); }
.blog-grid .views-row:first-child .bc-body { justify-content: center; padding: 32px 34px; }
.blog-grid .views-row:first-child h3 { font-size: 27px; }
.blog-grid .views-row:first-child p { font-size: 15px; }
/* tag capsules (field_tags rendered natively or .bc-cat) */
.blog-card .field--name-field-tags { margin: 0 0 8px; }
.blog-card .field--name-field-tags .field__label { display: none !important; }
.blog-card .field--name-field-tags .field__items { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-card .field--name-field-tags .field__item { margin: 0; }
.blog-card .field--name-field-tags .field__item:nth-child(n+3) { display: none; }
.blog-card .field--name-field-tags a, .blog-card .bc-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); text-transform: none; }
.blog-card .field--name-field-tags a::before, .blog-card .bc-cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } .blog-grid .views-row:first-child .blog-card { flex-direction: column; } .blog-grid .views-row:first-child .bc-img { width: 100%; min-height: 220px; border-right: none; border-bottom: 1px solid var(--line); } }
@media (max-width: 680px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Homepage blog cards ---------- */
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.home-blog-card .hb-img { height: 168px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.home-blog-card .hb-date { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; padding: 16px 18px 0; }
.home-blog-card h3 { font-family: var(--font-display); font-size: 18px; line-height: 1.3; margin: 10px 0; padding: 0 18px; }
.home-blog-card h3 a:hover { color: var(--brand); }
.home-blog-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; padding: 0 18px; }
.home-blog-card .hb-more { margin-top: auto; color: var(--brand); font-weight: 600; font-size: 13px; padding: 0 18px 18px; }
@media (max-width: 1000px) { .home-blog-grid, .home-blog-grid { grid-template-columns: 1fr; } }

/* ---------- Homepage industry icon tiles + 2-row carousel ---------- */
.cat-ic .cat-glyph { width: 22px; height: 22px; display: block; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.cat-ic-0 { background: #e8eefb; color: #1746c4; } .cat-ic-1 { background: #e0f3f1; color: #0f9d8f; }
.cat-ic-2 { background: #fdeede; color: #c9711d; } .cat-ic-3 { background: #f0eafb; color: #7b5ad6; }
.cat-ic-4 { background: #fce8ee; color: #c23a63; } .cat-ic-5 { background: #e4f1fb; color: #2e72b8; }
.cat-carousel { position: relative; }
.cat-carousel .cat-grid { display: grid; grid-template-columns: none !important; grid-template-rows: repeat(2, 1fr); grid-auto-flow: column; grid-auto-columns: 232px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; scrollbar-width: none; }
.cat-carousel .cat-grid::-webkit-scrollbar { display: none; }
.cat-carousel .cat-card { width: 232px; max-width: 232px; box-sizing: border-box; height: 158px; min-height: 158px; display: flex; flex-direction: column; gap: 8px; padding: 16px; scroll-snap-align: start; }
.cat-carousel .cat-card h4 { font-size: 14px; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-carousel .cat-card .cc-meta { margin-top: auto; }
.cat-carousel .cc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; box-shadow: var(--shadow-md); display: grid; place-items: center; }
.cat-carousel .cc-prev { left: -16px; } .cat-carousel .cc-next { right: -16px; }
.cat-carousel .cc-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cat-carousel .cc-arrow.disabled { opacity: .35; pointer-events: none; }
@media (max-width: 700px) { .cat-carousel .cc-arrow { display: none; } }

/* ---------- Mobile: hero search input height ---------- */
@media (max-width: 720px) {
  .hsp-form { flex-direction: column; align-items: stretch; gap: 10px; }
  .hsp-form input { width: 100%; min-height: 54px; height: 54px; font-size: 15px; box-sizing: border-box; }
  .hsp-form .btn { width: 100%; min-height: 52px; }
}


/* ===== Buy box tiers ===== */
.mrr-lic-list { margin: 8px 0 4px; }
.mrr-tier { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mrr-tier:last-child { border-bottom: none; }
.mrr-tier--featured { background: #f0f4ff; border-radius: 8px; padding: 12px; margin: 4px -8px; }
.mrr-tier-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mrr-tier-label { font-size: 14px; font-weight: 600; }
.mrr-tier-desc { font-size: 11px; color: var(--muted); margin-top: 2px; }
.mrr-tier-badge { font-size: 10px; background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.mrr-tier-price { font-size: 22px; font-weight: 700; color: var(--brand); margin: 6px 0 8px; }
.mrr-atc { display: block; width: 100%; }
.mrr-atc--added { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }

/* ===== Add-ons ===== */
.mrr-addons { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.mrr-addons-title { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.mrr-addon-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); }
.mrr-addon-row:last-child { border-bottom: none; }
.mrr-addon-ic { width: 18px; height: 18px; border-radius: 3px; flex-shrink: 0; }
.mrr-addon-ic--doc { background: #2B579A; }
.mrr-addon-ic--ppt { background: #C43E1C; }
.mrr-addon-ic--xls { background: #1D6F42; }
.mrr-addon-ic--lng { background: #7c3aed; }
.mrr-addon-label { flex: 1; font-size: 12px; color: var(--ink-soft); }
.mrr-addon-price { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.mrr-addon-add { padding: 3px 10px !important; font-size: 11px !important; max-width: 58px !important; min-height: 25px; }

/* ===== Sample button ===== */
.mrr-sample-btn { display: block; width: 100%; padding: 9px; text-align: center;
  font-size: 13px; border: 1.5px dashed var(--line); background: transparent;
  color: var(--muted); cursor: pointer; border-radius: 8px; margin: 12px 0 8px; transition: all .15s; }
.mrr-sample-btn:hover { border-color: var(--brand); color: var(--brand); background: #f0f4ff; }

/* ===== Sample modal ===== */
.mrr-modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 9999; place-items: center; backdrop-filter: blur(3px); }
.mrr-modal-bg.open { display: grid; }
.mrr-modal-box { background: #fff; border-radius: 14px; padding: 28px;
  width: min(460px, 95vw); max-height: 92vh; overflow-y: auto; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.mrr-modal-x { position: absolute; top: 14px; right: 14px; background: none;
  border: none; font-size: 18px; cursor: pointer; color: #666; padding: 4px 8px; border-radius: 6px; }
.mrr-modal-x:hover { background: #f1f5f9; }
.mrr-sf-f { margin-bottom: 11px; }
.mrr-sf-f label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.mrr-sf-f input, .mrr-sf-f textarea { width: 100%; padding: 8px 11px;
  border: 1px solid #d1d5db; border-radius: 7px; font-size: 14px; font-family: inherit; }
.mrr-sf-f input:focus, .mrr-sf-f textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }

/* =====================================================================
   MRR CUSTOM — buy-box, add-ons, language-switcher, mega
   One authoritative block; do not append patches — edit here.
   ===================================================================== */

/* ── License radio tiers ─────────────────────────────────────────────── */
.lic-radios { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 0; }
.lic-radio {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: 9px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.lic-radio:has(input:checked),
.lic-radio--active { border-color: var(--brand); background: #f0f5ff; }
.lic-radio input[type="radio"] {
  flex-shrink: 0; width: 16px; height: 16px; margin: 0; accent-color: var(--brand);
}
.lr-body { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lr-left { flex: 1; min-width: 0; }
.lr-label { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-desc { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-right { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; gap: 3px; }
.lr-price { font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.lt-badge { font-size: 10px; background: #0aa1c7; color: #fff; padding: 1px 6px; border-radius: 8px; }
.mrr-sel-price { font-weight: 700; }
.mrr-atc--added { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }

/* ── Add-ons accordion ───────────────────────────────────────────────── */
.mrr-addons-wrap { border-top: 2px solid #ddf0f9; margin-top: 12px; }
.mrr-addons-wrap > summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 6px; cursor: pointer;
  background: #e8f4fb; color: #0aa1c7; font-size: 13px; font-weight: 600;
  margin: 0; user-select: none;
}
.mrr-addons-wrap > summary::-webkit-details-marker { display: none; }
.mrr-addons-wrap[open] > summary { border-radius: 6px 6px 0 0; }
.mrr-addons-prices { font-size: 11px; color: var(--muted); font-weight: 400; }
.mrr-addons { padding: 8px 0 4px; }
.mrr-addon-row {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 0; border-bottom: 1px solid var(--line-soft);
}
.mrr-addon-row:last-of-type { border-bottom: none; }
.mrr-addon-ic { width: 18px; height: 18px; border-radius: 3px; flex-shrink: 0; }
.mrr-addon-ic--doc { background: #2B579A; }
.mrr-addon-ic--ppt { background: #C43E1C; }
.mrr-addon-ic--xls { background: #1D6F42; }
.mrr-addon-ic--lng { background: #7c3aed; }
.mrr-addon-label { flex: 1; font-size: 12px; color: var(--ink-soft); }
.mrr-addon-price { font-size: 12px; font-weight: 600; color: var(--muted); flex-shrink: 0; }
.mrr-lang-sel {
  font-size: 11px; padding: 3px 5px;
  border: 1px solid var(--line); border-radius: 5px;
  max-width: 120px; flex: 1; min-width: 0;
}
.mrr-addon-add {
  padding: 4px 10px !important; font-size: 11px !important;
  min-width: 44px !important; max-width: 58px !important;
  flex-shrink: 0;
}
.mrr-addons-note { font-size: 11px; color: var(--muted); margin: 6px 0 2px; }

/* ── Language switcher — simple dropdown (not hover) ─────────────────── */
/* Hide the raw UL list that Drupal renders in the header */
.nav-icons .block-language-interface ul,
.nav-icons .language-switcher-language-url ul {
  display: none !important;
}
/* Show a compact current-language label with a select fallback */
.nav-icons .block-language-interface .language-link.is-active {
  font-size: 12px; font-weight: 500; color: var(--ink-soft);
  padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px;
  display: inline-block;
}

/* ── Mega menu — positioned correctly below nav-row ──────────────────── 
.nav-row { position: relative !important; overflow: visible !important; z-index: 50; }
.nav-mega-wrap { position: static; }
.mega {
  position: absolute !important;
  top: 100% !important; left: 0 !important; right: 0 !important;
  background: #fff !important;
  border-top: 3px solid var(--brand) !important;
  border-bottom: 1px solid var(--line) !important;
  border-left: none !important; border-right: none !important;
  box-shadow: 0 16px 48px rgba(0,0,0,.14) !important;
  z-index: 999 !important;
}
*/

/* ── Header nav-icons alignment (language + user + cart) ─────────────── */
.nav-icons {
  display: flex !important; align-items: center !important;
  gap: 6px !important; flex-shrink: 0;
}
.nav-icons > .block { display: flex !important; align-items: center !important; margin: 0 !important; }
.mrr-lang-switch {
  font-size: 12px; border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 6px; background: transparent; color: var(--ink-soft);
  cursor: pointer; max-width: 90px;
}

/* =====================================================================
   MRR CUSTOM v4 — final, do not append further
   ===================================================================== */

/* ── Header: force horizontal row ──────────────────────────────────── */
.header-main {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; flex-wrap: nowrap !important;
}
.nav-icons {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; gap: 4px !important;
  flex-shrink: 0 !important; margin-left: auto !important;
  flex-wrap: nowrap !important;
}
/* Force every direct child of nav-icons to be inline-flex */
.nav-icons > div,
.nav-icons > nav,
.nav-icons > .block {
  display: inline-flex !important; align-items: center !important;
  margin: 0 !important; padding: 0 !important;
  vertical-align: middle !important;
}

/* ── Language switcher: CORRECT class is language-switcher-language-url */
.nav-icons .language-switcher-language-url {
  position: relative !important;
  width: 36px; height: 36px; border-radius: 8px;
  display: inline-grid !important; place-items: center;
  cursor: pointer; color: var(--ink-soft);
}
.nav-icons .language-switcher-language-url:hover { background: var(--surface-2); color: var(--brand); }
/* Hide the raw link list text */
.nav-icons .language-switcher-language-url .links { display: none !important; }
/* Globe icon */
.nav-icons .language-switcher-language-url::before {
  content: ""; display: block; width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* Hover dropdown */
.nav-icons .language-switcher-language-url:hover .links {
  display: flex !important; flex-direction: column;
  position: absolute; top: calc(100% + 4px); right: 0;
  min-width: 170px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  list-style: none; margin: 0; padding: 6px; gap: 2px; z-index: 400;
}
.nav-icons .language-switcher-language-url .links a {
  display: block; padding: 7px 10px; border-radius: 6px;
  font-size: 13px; color: var(--ink-soft); text-decoration: none;
}
.nav-icons .language-switcher-language-url .links a:hover,
.nav-icons .language-switcher-language-url .links a.is-active {
  background: var(--surface-2); color: var(--brand);
}

/* ── Mega menu ────────────────────────────────────────────────────── 
.nav-row { position: relative !important; overflow: visible !important; z-index: 50; }
.mega {
  position: absolute !important; top: 100% !important;
  left: 0 !important; right: 0 !important;
  background: #fff !important;
  border-top: 3px solid var(--brand) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,.14) !important;
  z-index: 999 !important;
}
*/
/* ── Add-ons accordion ────────────────────────────────────────────── */
.mrr-addons-wrap { border-top: 2px solid #ddf0f9; margin-top: 12px; }
.mrr-addons-wrap > summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 6px; cursor: pointer;
  background: #e8f4fb; color: #0aa1c7; font-size: 13px; font-weight: 600; user-select: none;
}
.mrr-addons-wrap > summary::-webkit-details-marker { display: none; }
.mrr-addons-wrap[open] > summary { border-radius: 6px 6px 0 0; }
.mrr-addons-prices { font-size: 11px; color: var(--muted); font-weight: 400; }
.mrr-addons { padding: 8px 0 4px; }
.mrr-addon-row { display: flex; align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.mrr-addon-row:last-of-type { border-bottom: none; }
.mrr-addon-ic { width: 18px; height: 18px; border-radius: 3px; flex-shrink: 0; }
.mrr-addon-ic--doc { background: #2B579A; }
.mrr-addon-ic--ppt { background: #C43E1C; }
.mrr-addon-ic--xls { background: #1D6F42; }
.mrr-addon-ic--lng { background: #7c3aed; }
.mrr-addon-label { flex: 1; font-size: 12px; color: var(--ink-soft); }
.mrr-addon-price { font-size: 12px; font-weight: 600; color: var(--muted); flex-shrink: 0; }
.mrr-lang-sel { font-size: 11px; padding: 3px 5px; border: 1px solid var(--line); border-radius: 5px; max-width: 120px; flex: 1; min-width: 0; }
.mrr-addon-add { padding: 4px 10px !important; font-size: 11px !important; min-width: 44px !important; max-width: 58px !important; min-height: 25px !important; flex-shrink: 0; }

/* Cart page */
.cart-page { padding: 32px 0 64px; }
.cart-title { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.cart-items { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cart-items table { width: 100%; border-collapse: collapse; }
.cart-items th { padding: 14px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--line); text-align: left; }
.cart-items td { padding: 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; font-size: 14px; }
.cart-items tr:last-child td { border-bottom: none; }
.cart-summary { padding: 24px; position: sticky; top: 24px; }
.cart-summary h3 { font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.cart-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.cart-actions .button { flex: 1; }
/* PayPal / payment buttons area */
.cart-summary .paypal-buttons-context-iframe,
.cart-summary [id*="paypal"] { margin-top: 12px; }
@media(max-width:768px) { .cart-layout { grid-template-columns: 1fr; } }

/* ===== MRR FINAL FIXES ===== */

/* Price update display */
.bh-price { margin: 8px 0 4px; font-size: 13px; color: var(--muted); }
.bh-price b { color: var(--brand); font-size: 18px; font-weight: 700; }

/* Cart page — bigger action buttons */
.views-form .form-actions,
.cart-actions { display: flex; gap: 10px; margin: 16px 0; }
.views-form .form-actions .button,
.cart-actions .button {
  padding: 10px 24px !important; font-size: 14px !important;
  font-weight: 600 !important; border-radius: 8px !important;
  background: var(--brand) !important; color: #fff !important;
  border: none !important; cursor: pointer !important;
}
.views-form .form-actions .button--danger {
  background: #dc2626 !important;
}

/* Cart header block — make cart link visible */
.nav-icons .cart-block a,
.nav-icons [class*="cart"] a,
.nav-icons .block-commerce-cart a {
  color: var(--ink) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.nav-icons .cart-block .cart-block--summary__count,
.nav-icons [class*="cart"] .count,
.nav-icons [class*="cart"] .quantity {
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
}

/* Cart order summary box */
.cart-summary, .cart-sidebar { 
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
}


/* =====================================================================
   MRR ADD-ON ICONS + CART TABLE FIXES
   ===================================================================== */

/* ── File-type document icons (replaces coloured squares) ─────────────
 *
 * Pure CSS dog-ear document shape with colour-coded extension badge.
 * Classes: .doc (PDF/red)  .ppt (DOCX/blue)  .xls (XLSX/green)  .lng (globe/violet)
 */
.mrr-addon-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 38px;
  height: 46px;
  border-radius: 4px 10px 6px 6px;
  position: relative;
  flex-shrink: 0;
  padding-bottom: 5px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  font-family: var(--font-sans, sans-serif);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
}
/* Dog-ear fold triangle */
.mrr-addon-icon::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 11px; height: 11px;
  background: rgba(0,0,0,.18);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.mrr-addon-icon::after { position: relative; z-index: 1; }

/* PDF — red */
.mrr-addon-icon.doc { background: linear-gradient(160deg, #ef4444 0%, #dc2626 100%); }
.mrr-addon-icon.doc::after { content: 'PDF'; }

/* Word/DOCX — blue */
.mrr-addon-icon.ppt { background: linear-gradient(160deg, #3b82f6 0%, #2563eb 100%); }
.mrr-addon-icon.ppt::after { content: 'DOC'; }

/* Excel/XLSX — green */
.mrr-addon-icon.xls { background: linear-gradient(160deg, #22c55e 0%, #16a34a 100%); }
.mrr-addon-icon.xls::after { content: 'XLS'; }

/* Translation — violet with globe */
.mrr-addon-icon.lng {
  background: linear-gradient(160deg, #a855f7 0%, #7c3aed 100%);
  font-size: 16px;
  padding-bottom: 3px;
}
.mrr-addon-icon.lng::after { content: '🌐'; }

/* ── Add-on button: full added state ─────────────────────────────────
 * Base .mrr-atc rule already exists above; these extend it cleanly.
 */
.mrr-atc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1.5px solid var(--brand);
  border-radius: 6px;
  background: transparent;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.mrr-atc:hover:not(:disabled) {
  background: var(--brand);
  color: #fff;
}
.mrr-atc--added,
.mrr-atc:disabled {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}
.mrr-atc-check { font-size: 12px; }

/* ── Cart table: product title + addon cell styles ────────────────────
 *
 * Injected by mrrCartTable JS behavior on /cart.
 */
.mrr-cart-product {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mrr-cart-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.35;
}
a.mrr-cart-title:hover { text-decoration: underline; }
.mrr-cart-lic {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
}

.mrr-cart-addon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mrr-cart-addon-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mrr-cart-addon-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.mrr-cart-addon-note {
  font-size: 11px;
  color: var(--muted-2, #9ca3af);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

/* ── Order summary box (right sidebar on /cart) ───────────────────────*/
[class*="order-total-summary"] table,
.commerce-order-total-summary table {
  width: 100%;
  border-collapse: collapse;
}
[class*="order-total-summary"] tr td,
.commerce-order-total-summary tr td {
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
[class*="order-total-summary"] tr td:last-child,
.commerce-order-total-summary tr td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}
[class*="order-total-summary"] tr:last-child td,
.commerce-order-total-summary tr:last-child td {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ===== FILE TYPE ICONS — SVG-based ===== */
.mrr-addon-ic { width: 22px; height: 26px; border-radius: 3px; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 800; letter-spacing: -.3px; color: #fff; }
.mrr-addon-ic::before { content: ''; position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 7px 7px 0; }

/* PDF — red */
.mrr-addon-ic--doc[data-type="pdf"],
.mrr-addon-ic--pdf { background: #e2001a; }
.mrr-addon-ic--doc[data-type="pdf"]::before,
.mrr-addon-ic--pdf::before { border-color: transparent #b0001a transparent transparent; }
.mrr-addon-ic--doc[data-type="pdf"]::after,
.mrr-addon-ic--pdf::after { content: 'PDF'; font-size: 6px; font-weight: 800; color: #fff; }

/* DOCX — Word blue */
.mrr-addon-ic--doc { background: #2b579a; }
.mrr-addon-ic--doc::before { border-color: transparent #1e3f70 transparent transparent; }
.mrr-addon-ic--doc::after { content: 'DOC'; font-size: 6px; font-weight: 800; color: #fff; }

/* PPTX — PowerPoint orange-red */
.mrr-addon-ic--ppt { background: #c43e1c; }
.mrr-addon-ic--ppt::before { border-color: transparent #8f2d14 transparent transparent; }
.mrr-addon-ic--ppt::after { content: 'PPT'; font-size: 6px; font-weight: 800; color: #fff; }

/* XLSX — Excel green */
.mrr-addon-ic--xls { background: #1d6f42; }
.mrr-addon-ic--xls::before { border-color: transparent #145231 transparent transparent; }
.mrr-addon-ic--xls::after { content: 'XLS'; font-size: 6px; font-weight: 800; color: #fff; }

/* Translation — globe */
.mrr-addon-ic--lng { background: #7c3aed; display: inline-grid; place-items: center; }
.mrr-addon-ic--lng::before { display: none; }
.mrr-addon-ic--lng::after { content: ''; display: block; width: 14px; height: 14px; background: #fff; 
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Cart row product display */
.mrr-cart-product { display: flex; flex-direction: column; gap: 3px; }
.mrr-cart-title { font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.mrr-cart-title:hover { text-decoration: underline; }
.mrr-cart-license { font-size: 12px; color: var(--muted); }
.mrr-cart-addon { display: flex; align-items: center; gap: 8px; }
.mrr-cart-addon-label { font-size: 13px; color: var(--ink-soft); }

/* ===== CHECKOUT THEMING ===== */
.checkout-pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.checkout-pane--contact-information h3,
.checkout-pane--review h3 { font-size: 16px; font-weight: 600; margin: 0 0 16px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.checkout-form { max-width: 1100px; margin: 0 auto; padding: 32px 16px; display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.layout-region--checkout-main { min-width: 0; }
.layout-region--checkout-secondary { position: sticky; top: 24px; }
.layout-region--checkout-footer { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
/* Checkout progress */
.checkout-progress { display: flex; gap: 0; margin-bottom: 28px; grid-column: 1 / -1; }
.checkout-progress--step { flex: 1; text-align: center; padding: 8px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 3px solid var(--line); }
.checkout-progress--step.checkout-progress--step__active { color: var(--brand); border-color: var(--brand); }
.checkout-progress--step.checkout-progress--step__visited { color: var(--ink-soft); border-color: var(--brand); }
/* Checkout form inputs */
.checkout-pane input[type=email],
.checkout-pane input[type=text],
.checkout-pane select { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; margin-bottom: 10px; }
.checkout-pane input:focus, .checkout-pane select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(24,50,91,.1); }
/* Order summary in checkout */
.checkout-order-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.checkout-order-summary__title { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.order-total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; }
/* Continue/back buttons */
#edit-actions .button--primary { background: var(--brand) !important; color: #fff !important; padding: 12px 28px !important; font-size: 15px !important; font-weight: 600 !important; border-radius: 8px !important; border: none !important; cursor: pointer !important; }
#edit-actions .button--secondary, #edit-actions .button[name="op"][value*="back"] { background: transparent !important; color: var(--ink-soft) !important; padding: 12px 20px !important; border: 1px solid var(--line) !important; border-radius: 8px !important; }
@media(max-width:768px) { .checkout-form { grid-template-columns: 1fr; } }

/* ===== ICON + CART FIXES FROM ZIP (overrides earlier blocks) ===== */
.mrr-addon-ic {
  width: 30px !important; height: 36px !important;
  border-radius: 3px 9px 5px 5px !important;
  position: relative; display: inline-flex !important;
  flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 4px; font-size: 7px; font-weight: 900;
  letter-spacing: .04em; color: #fff;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.mrr-addon-ic::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 10px; height: 10px; background: rgba(0,0,0,.22);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.mrr-addon-ic::after { position: relative; z-index: 1; }
.mrr-addon-ic.mrr-addon-ic--doc { background: linear-gradient(155deg,#3b82f6,#2563eb) !important; }
.mrr-addon-ic.mrr-addon-ic--doc::after { content: 'DOC'; }
.mrr-addon-ic.mrr-addon-ic--ppt { background: linear-gradient(155deg,#f97316,#C43E1C) !important; }
.mrr-addon-ic.mrr-addon-ic--ppt::after { content: 'PPT'; }
.mrr-addon-ic.mrr-addon-ic--xls { background: linear-gradient(155deg,#22c55e,#1D6F42) !important; }
.mrr-addon-ic.mrr-addon-ic--xls::after { content: 'XLS'; }
.mrr-addon-ic.mrr-addon-ic--lng { background: linear-gradient(155deg,#a855f7,#7c3aed) !important; font-size: 14px; padding-bottom: 2px; }
.mrr-addon-ic.mrr-addon-ic--lng::after { content: '🌐'; }
.mrr-atc--added { background: #16a34a !important; color: #fff !important; border-color: #16a34a !important; }
.mrr-atc-check { font-size: 11px; }
.mrr-cart-product { display: flex; flex-direction: column; gap: 3px; }
.mrr-cart-title { font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.mrr-cart-title:hover { text-decoration: underline; }
.mrr-cart-lic { font-size: 12px; color: var(--muted); }
.mrr-cart-addon { display: flex; align-items: center; gap: 10px; }
.mrr-cart-addon-text { display: flex; flex-direction: column; gap: 2px; }
.mrr-cart-addon-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.mrr-cart-addon-note { font-size: 11px; color: var(--muted); }

/* Customize This Report button */
.btn-customize {
  display: block; width: 100%;
  background: var(--logo-orange); color: #fff !important;
  border: none; border-radius: 8px;
  padding: 10px 16px; font-size: 13px; font-weight: 600;
  text-align: center; text-decoration: none;
  cursor: pointer; margin-top: 8px;
  transition: background .15s;
}
.btn-customize:hover { background: #ea6f0e !important; color: #fff !important; }

/* ===== BUY ACTIONS PAIR ===== */
.buy-actions-pair { display: flex; flex-direction: column; gap: 8px; }
.btn-customize {
  display: flex !important; align-items: center; justify-content: center; gap: 6px;
  width: 100% !important; background: var(--logo-orange); color: var(--logo-navy) !important;
  border: none; border-radius: 8px; padding: 10px 16px;
  font-size: 13px; font-weight: 600; text-align: center;
  text-decoration: none; cursor: pointer; transition: background .15s;
}
.btn-customize:hover { background: #ea6f0e !important; color: #fff !important; }

/* ===== DRUPAL MODAL — match Free Sample style ===== */
.ui-dialog { border-radius: 12px !important; overflow: hidden; border: none !important; box-shadow: 0 20px 60px rgba(0,0,0,.18) !important; }
.ui-dialog-titlebar { background: var(--brand, #18325b) !important; color: #fff !important; padding: 16px 20px !important; font-size: 15px !important; font-weight: 600 !important; border: none !important; border-radius: 0 !important; }
.ui-dialog-title { color: #fff !important; font-size: 15px !important; }
.ui-dialog-titlebar-close { color: #fff !important; background: transparent !important; border: none !important; }
.ui-dialog-content { padding: 24px !important; }
.ui-dialog-content label { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; display: block; }
.ui-dialog-content input[type=text],
.ui-dialog-content input[type=email],
.ui-dialog-content textarea,
.ui-dialog-content select { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; margin-bottom: 12px; box-sizing: border-box; }
.ui-dialog-content input:focus, .ui-dialog-content textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(24,50,91,.1); }
.ui-dialog-content .form-actions .button--primary { background: var(--brand) !important; color: #fff !important; border: none !important; padding: 11px 28px !important; border-radius: 8px !important; font-weight: 600 !important; font-size: 14px !important; cursor: pointer !important; }
.ui-dialog-content .form-item--file { background: var(--surface-2,#f8f9fa); border: 1px dashed var(--line); border-radius: 8px; padding: 10px; }

/* ===== BUY ACTIONS PAIR — side by side ===== */
.buy-actions-pair { display: flex; flex-direction: row; gap: 10px; margin-top: 14px; }
.buy-actions-pair .btn-ghost,
.buy-actions-pair > button { flex: 1; margin-top: 0 !important; }
.btn-customize { flex: 1 !important; width: auto !important; }

/* ===== RESEARCH METHODOLOGY SECTION ===== */
.methodology-card { padding: 28px; }
.meth-intro { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.meth-intro p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin: 0; }
.meth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.meth-step { display: flex; gap: 14px; padding: 16px; background: var(--surface-2,#f8f9fa); border-radius: 10px; }
.meth-n { font-size: 22px; font-weight: 800; color: var(--brand); opacity: .25; flex-shrink: 0; line-height: 1; min-width: 28px; }
.meth-body strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.meth-body p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0; }
.meth-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
@media(max-width:768px) { .meth-grid { grid-template-columns: 1fr; } }

/* ===== BUY BOX COMPACT REDESIGN ===== */

/* Single-line price header */
.buy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: nowrap; margin-bottom: 10px; }
.bh-title { font-size: 13px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.bh-price { margin: 0 !important; }
.bh-price span { font-size: 11px; color: var(--muted); }
.bh-price b { font-size: 16px !important; font-weight: 700; color: var(--brand); }

/* Compact license radio options */
.lic-list .form-type--radio,
.lic-list .form-type-radio { /*padding: 7px 10px !important;*/ margin-bottom: 4px !important; border-radius: 7px !important; }
.lic-list label { font-size: 12px !important; line-height: 1.3; }

/* Add-ons section — no border, compact */
.mrr-addons-always-open { border-top: 1px solid var(--line-soft); margin-top: 10px; padding-top: 6px; }
.mrr-addons-section-title { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 4px; }
.mrr-addons-label-row { margin-bottom: 2px; }

/* Compact add-on rows */
.mrr-addon-check-row { padding: 4px 2px !important; gap: 6px !important; }
.mrr-addon-label { font-size: 12px !important; }
.mrr-addon-price { font-size: 11px !important; color: var(--muted); }

/* Small icons for add-ons — 20x24 instead of 30x36 */
.mrr-addon-ic {
  width: 20px !important; height: 24px !important;
  font-size: 6px !important; padding-bottom: 3px !important;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%) !important;
}
.mrr-addon-ic::before { width: 7px !important; height: 7px !important; }

/* Language select compact */
.mrr-lang-sel { font-size: 11px !important; padding: 2px 4px !important; max-width: 100px !important; }

/* Custom Add to Cart button — prominent, always visible */
.mrr-atc-submit { margin-top: 10px !important; padding: 12px 16px !important; font-size: 15px !important; font-weight: 700 !important; }

/* Request Free Sample below ATC */
.buy-sample { margin-top: 8px; }
.buy-sample .btn { padding: 8px 12px; font-size: 13px; }

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {

  /* Report intro — stack cover above body */
  .report-intro { flex-direction: column !important; gap: 16px !important; }

  /* Cover image — proper aspect ratio on mobile */
  .report-intro > div:first-child { width: 100% !important; max-width: 220px !important; margin: 0 auto !important; }
  .report-cover, ._report-cover { width: 100% !important; height: auto !important; aspect-ratio: 3/4; }
  .report-cover-hint { font-size: 9px !important; padding: 4px 6px !important; }

  /* Intro body full width */
  .report-intro-body { width: 100% !important; }

  /* Buy box — full width below content on mobile */
  .report-layout { flex-direction: column !important; }
  .report-main { width: 100% !important; }
  .buy-box { width: 100% !important; position: static !important; }

  /* Buy card compact on mobile */
  .buy-card { padding: 14px !important; }
  .buy-head { flex-wrap: wrap !important; }

  /* Sticky bar — show on mobile, simplified */
  .mrr-sticky-bar.is-visible { display: flex !important; }
  .mrr-sticky-title { display: none !important; }
  .mrr-sticky-lic-sel { min-width: 130px !important; font-size: 11px !important; }
  .mrr-sticky-atc { padding: 7px 12px !important; font-size: 13px !important; }

  /* ATC button always visible in sticky bar on mobile */
  .buy-actions-pair { flex-direction: column !important; }
  .buy-actions-pair > * { width: 100% !important; }
}

/* Sticky bar sits below Drupal toolbar if admin logged in */
body.toolbar-fixed .mrr-sticky-bar { top: 39px !important; }
body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open .mrr-sticky-bar { top: 79px !important; }

/* Hide ALL Commerce native submit buttons in lic-list — only our custom one shows */
.lic-list .form-actions,
.lic-list input[type="submit"],
.lic-list button[type="submit"],
.lic-list .button--add-to-cart,
.lic-list .js-form-submit { display: none !important; }

/* Sticky bar starts hidden via CSS transform, not display:none */
.mrr-sticky-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 50px;
  z-index: 9999 !important;
  background: #fff !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.12) !important;
  transform: translateY(-110%) !important;
  transition: transform .3s ease !important;
  display: block !important;
}
.mrr-sticky-bar.is-visible {
  transform: translateY(0) !important;
}

/* ===== STICKY BAR MOBILE FIX — force single row ===== */
.mrr-sticky-bar { display: block !important; }
.mrr-sticky-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  padding: 8px 12px !important;
}
.mrr-sticky-title { display: none !important; }
.mrr-sticky-lic { flex: 1; min-width: 0; }
.mrr-sticky-lic-sel {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  font-size: 11px !important;
  padding: 5px 4px !important;
}
.mrr-sticky-price {
  white-space: nowrap !important;
  font-size: 13px !important;
  flex-shrink: 0;
}
.mrr-sticky-atc {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
}


/* ===== CART HEADER LINK ===== */
/* Commerce cart block — make it stand out */
.cart-block a,
.block-commerce-cart a,
[data-block-plugin-id="commerce_cart"] a,
.cart--cart-block a {
  color: var(--brand, #18325b) !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.cart-block .cart-block__count,
.cart-block__count {
  background: var(--accent, #f97316) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
}
/* Style the "5 items" text in header */
.header-cart a,
a[href="/cart"] { color: var(--brand) !important; font-weight: 600 !important; }


/* ===== ADMIN LOCAL TASKS (tabs) — fix stacking ===== */
.block-local-tasks-block,
nav.tabs { display: none !important; }

/* Show admin tabs only when admin toolbar is present */
body.toolbar-fixed .block-local-tasks-block,
body.toolbar-fixed nav.tabs {
  display: block !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #1a1a1a;
  padding: 6px 16px;
}
body.toolbar-fixed nav.tabs ul,
body.toolbar-fixed .block-local-tasks-block ul {
  display: flex !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
}
body.toolbar-fixed nav.tabs ul a,
body.toolbar-fixed .block-local-tasks-block ul a {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  color: #ccc !important;
  border-radius: 4px;
  text-decoration: none;
}
body.toolbar-fixed nav.tabs ul a:hover,
body.toolbar-fixed nav.tabs ul a.is-active { background: #333; color: #fff !important; }

/* ===== ADMIN LOCAL TASKS — horizontal row ===== */
.block-local-tasks-block { display: block !important; position: static !important; background: none !important; padding: 0 !important; }
body.toolbar-fixed .block-local-tasks-block { position: static !important; background: none !important; }
nav.tabs, .tabs { display: block !important; position: static !important; background: none !important; }
nav.tabs ul, .tabs ul, .block-local-tasks-block ul {
  display: flex !important; flex-direction: row !important; flex-wrap: wrap !important;
  gap: 4px !important; list-style: none !important; margin: 8px 0 !important;
  padding: 6px 12px !important; background: #f1f5f9 !important;
  border-radius: 8px !important; border: 1px solid #e2e8f0 !important;
}
nav.tabs ul li, .tabs ul li, .block-local-tasks-block ul li { margin: 0 !important; }
nav.tabs ul a, .tabs ul a, .block-local-tasks-block ul a {
  display: inline-block !important; padding: 5px 12px !important; font-size: 12px !important;
  color: #334155 !important; border-radius: 5px !important; text-decoration: none !important;
  background: #fff !important; border: 1px solid #e2e8f0 !important;
}
nav.tabs ul a.is-active, nav.tabs ul a:hover { background: #18325b !important; color: #fff !important; border-color: #18325b !important; }

/* ===== MOBILE HAMBURGER MENU ===== */
.mrr-nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px; background: none; border: none;
  cursor: pointer; padding: 4px; flex-shrink: 0;
}
.mrr-nav-toggle .bar {
  display: block; width: 22px; height: 2px;
  background: var(--ink, #1e293b); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mrr-nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mrr-nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.mrr-nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .mrr-nav-toggle { display: flex !important; }
  .nav-row .wrap { display: flex; align-items: center; gap: 8px; }
  .mrr-nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line); z-index: 800;
    padding: 12px 0; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .mrr-nav-menu.is-open { display: block !important; }
  .mrr-nav-menu .menu { flex-direction: column !important; padding: 0 !important; }
  .mrr-nav-menu .menu > li { border-bottom: 1px solid var(--line-soft); }
  .mrr-nav-menu .menu > li > a { padding: 12px 20px !important; display: block !important; font-size: 15px !important; }
  .mrr-nav-menu .mega { position: static !important; box-shadow: none !important; border: none !important; }
  .nav-spacer, .nav-promo { display: none !important; }
  .nav-row { position: relative; }
}

/* ===== NAV PROMO — keep on same line as menu ===== */
.mrr-nav-menu { display: flex !important; align-items: center !important; flex: 1; }
.mrr-nav-menu .nav-spacer { flex: 1 !important; }
.mrr-nav-menu .nav-promo { white-space: nowrap !important; }
@media (max-width: 860px) {
  .mrr-nav-menu { display: none !important; }
  .mrr-nav-menu.is-open { display: block !important; }
}

/* ===== STICKY BAR — DESKTOP: always hidden, MOBILE: scroll-triggered ===== */
@media (min-width: 901px) {
  .mrr-sticky-bar { display: none !important; transform: none !important; }
}
@media (max-width: 900px) {
  .mrr-sticky-bar {
    display: block !important;
    transform: translateY(-110%) !important;
    transition: transform .3s ease !important;
  }
  .mrr-sticky-bar.is-visible { transform: translateY(0) !important; }
}

/* ===== ADMIN LOCAL TASKS ===== */
.mrr-admin-tasks { padding: 6px 0; margin: 0; }
.mrr-tasks {
  display: flex !important; flex-direction: row !important; flex-wrap: wrap !important;
  gap: 4px !important; list-style: none !important; margin: 4px 0 !important; padding: 0 !important;
}
.mrr-tasks li { margin: 0 !important; }
.mrr-task-link {
  display: inline-block !important; padding: 4px 12px !important; font-size: 12px !important;
  color: #334155 !important; background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important; border-radius: 5px !important;
  text-decoration: none !important;
}
.mrr-task-link:hover, .mrr-task-link.is-active {
  background: #18325b !important; color: #fff !important; border-color: #18325b !important;
}
/* Hide old tab styles */
.tabs, nav.tabs, .block-local-tasks-block > nav { all: unset !important; }
.tabs ul { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 4px !important; list-style: none !important; margin: 4px 0 !important; padding: 0 !important; }

/* ===== STICKY BAR — FINAL CORRECT VERSION ===== */
@media (min-width: 901px) {
  .mrr-sticky-bar { display: none !important; }
}
@media (max-width: 900px) {
  .mrr-sticky-bar {
    position: fixed !important; left: 0 !important; right: 0 !important;
    z-index: 9999 !important; background: #fff !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.1) !important;
    transform: translateY(-110%) !important;
    transition: transform .3s ease !important;
    display: block !important;
    /* Default top (no toolbar) */
    top: 0 !important;
  }
  .mrr-sticky-bar.is-visible { transform: translateY(0) !important; }
  /* Logged-in: push below 39px Drupal toolbar */
  body.toolbar-fixed .mrr-sticky-bar { top: 39px !important; }
  /* Logged-in with open tray */
  body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open .mrr-sticky-bar { top: 79px !important; }
}

/* ===== LOCAL TASKS — target the rendered link inside each item ===== */
.mrr-tasks .mrr-tasks__item a,
.mrr-tasks li a {
  display: inline-block !important; padding: 4px 12px !important; font-size: 12px !important;
  color: #334155 !important; background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important; border-radius: 5px !important;
  text-decoration: none !important; white-space: nowrap !important;
}
.mrr-tasks .mrr-tasks__item a:hover,
.mrr-tasks .mrr-tasks__item a.is-active,
.mrr-tasks li a.is-active {
  background: #18325b !important; color: #fff !important; border-color: #18325b !important;
}

/* ===== CART LINK PILL — link gets blue bg, block wrapper stays transparent ===== */
#block-mrr-theme-shopping-cart .cart-block--link__expand {
  background: var(--brand, #18325b) !important;
  color: #fff !important;
  padding: 6px 12px !important; border-radius: 8px !important;
  height: auto !important;
}
#block-mrr-theme-shopping-cart .cart-block--link__expand:hover {
  background: #0f2040 !important;
}
/* Icon becomes white on blue background */
#block-mrr-theme-shopping-cart .cart-block--summary__icon {
  background: #fff !important;
}

/* ── STATUS MESSAGES ─────────────────────────────────────────────*/
.region-highlighted { padding: 12px 0 0; }
.mrr-messages { display: flex; flex-direction: column; gap: 8px; }
.mrr-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid; font-size: 14px; line-height: 1.45; animation: mrrAlertIn .25s ease; }
@keyframes mrrAlertIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mrr-alert--leaving { opacity: 0; transform: translateY(-6px); transition: all .25s ease; }
.mrr-alert--status  { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.mrr-alert--warning { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.mrr-alert--error   { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.mrr-alert--info    { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.mrr-alert__icon { flex: none; font-size: 15px; margin-top: 1px; }
.mrr-alert__body { flex: 1; min-width: 0; }
.mrr-alert__body a { color: inherit; text-decoration: underline; }
.mrr-alert__list { margin: 0; padding-left: 18px; }
.mrr-alert__close { flex: none; background: none; border: 0; cursor: pointer; color: inherit; opacity: .55; font-size: 13px; padding: 2px 4px; line-height: 1; }
.mrr-alert__close:hover { opacity: 1; }
/* ══════════════════════════════════════════════════════════════════
   MOBILE SEARCH OVERLAY
   ══════════════════════════════════════════════════════════════════ */

/* Search icon button — hidden on desktop, visible on mobile */
.mrr-search-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  background: none; border: none; cursor: pointer;
  color: var(--ink-soft); border-radius: 8px;
  transition: background .15s, color .15s;
}
.mrr-search-btn:hover { background: var(--surface-2); color: var(--brand); }
@media (max-width: 720px) {
  .mrr-search-btn { display: flex !important; }
}

/* Overlay backdrop */
.mrr-search-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(10, 15, 35, .72);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding-top: 72px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.mrr-search-overlay.is-open {
  opacity: 1; pointer-events: auto;
}

/* Panel */
.mrr-search-overlay__panel {
  width: min(92vw, 600px);
  background: var(--surface, #fff);
  border-radius: 16px;
  padding: 20px 20px 18px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  transform: translateY(-12px);
  transition: transform .2s ease;
}
.mrr-search-overlay.is-open .mrr-search-overlay__panel {
  transform: translateY(0);
}

/* Close button */
.mrr-search-overlay__close {
  /* Floated above the panel so it never overlaps the search form */
  position: absolute; top: -44px; right: 0;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 18px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.mrr-search-overlay__close:hover { background: rgba(255,255,255,.28); }

/* Form row */
.mrr-search-overlay__form {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: 10px; overflow: hidden;
  background: var(--surface, #fff);
  transition: border-color .15s;
}
.mrr-search-overlay__form:focus-within {
  border-color: var(--brand, #18325b);
  box-shadow: 0 0 0 3px rgba(24,50,91,.1);
}

/* Search icon inside form */
.mrr-search-overlay__icon {
  flex-shrink: 0; padding: 0 10px; color: var(--muted-2);
  display: flex; align-items: center;
}

/* Input */
.mrr-search-overlay__input {
  flex: 1; height: 48px; border: none; background: transparent;
  font-size: 16px; color: var(--ink); padding: 0 8px 0 0;
  outline: none; min-width: 0;
}
.mrr-search-overlay__input::placeholder { color: var(--muted-2); }

/* Submit arrow */
.mrr-search-overlay__submit {
  flex-shrink: 0; width: 48px; height: 48px; border: none;
  background: var(--brand, #18325b); color: #fff;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.mrr-search-overlay__submit:hover { background: var(--brand-dark, #0f2040); }

/* Hint text */
.mrr-search-overlay__hint {
  margin: 10px 0 0; font-size: 12.5px; color: var(--muted);
  padding: 0 2px;
}

/* ══════════════════════════════════════════════════════════════════
   TB MEGA MENU 3.0.0-alpha5  — MRR theme overrides
   CSS targets the actual class names TB Mega Menu 3.x generates
   (.tbm not .tb-megamenu — completely different from older versions)
   ══════════════════════════════════════════════════════════════════ */

/* ── Container ───────────────────────────────────────────────────*/
.tbm { display: flex !important; align-items: center !important; flex: 1 !important; }

/* Hide TB's own hamburger — .mrr-nav-toggle handles the outer toggle */
.tbm-button { display: none !important; }

/* Collapse div always visible (matches "Hide on mobile: No" in admin) */
.tbm-collapse { display: block !important; flex: 1 !important; }

/* ── Top-level nav list ──────────────────────────────────────────*/
.tbm-nav.level-0 {
  display: flex !important; list-style: none !important;
  margin: 0 !important; padding: 0 !important;
  gap: 2px !important; align-items: center !important;
}
.tbm-item.level-1 { position: static !important; list-style: none !important; }
.tbm-item.level-1 > .tbm-link-container { display: flex !important; align-items: center !important; }

/* ── Top-level links ─────────────────────────────────────────────*/
a.tbm-link.level-1 {
  display: inline-flex !important; align-items: center !important; gap: 4px !important;
  padding: 6px 12px !important; border-radius: 7px !important;
  font-size: 14px !important; font-weight: 500 !important;
  color: var(--ink-soft) !important; text-decoration: none !important;
  white-space: nowrap !important; background: none !important;
}
a.tbm-link.level-1:hover,
.tbm-item.level-1.open > .tbm-link-container > a.tbm-link.level-1 {
  background: var(--surface-2) !important; color: var(--brand) !important;
}
a.tbm-link.level-1.is-active { color: var(--brand) !important; font-weight: 600 !important; }

/* Submenu arrow toggle button */
button.tbm-submenu-toggle {
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important; width: 24px !important; height: 24px !important;
  background: none !important; border: none !important; cursor: pointer !important;
  color: var(--muted) !important; padding: 0 !important; font-size: 10px !important;
  border-radius: 4px !important;
}
button.tbm-submenu-toggle::after { content: '▾'; }
.tbm-item.level-1.open button.tbm-submenu-toggle { color: var(--brand) !important; }

/* ── Mega submenu panel ──────────────────────────────────────────
   position:fixed → JS (mrrTbMegaTop) sets top from header.getBoundingClientRect().
   Inline style="width:1100px" is overridden by !important.           */
.tbm-submenu {
  display: none !important;
  position: fixed !important;
  top: 120px;           /* fallback; JS updates this */
  left: 0 !important; right: 0 !important;
  width: 100% !important; max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 24px !important;
  background: #ffffff !important;
  border: none !important;
  border-top: 3px solid var(--brand) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.18) !important;
  border-radius: 0 0 14px 14px !important;
  z-index: 9999 !important;
  margin: 0 !important;
}
/* TB toggles .open on the parent li */
.tbm-item--has-dropdown.open .tbm-submenu,
.tbm-item--has-dropdown.tbm-open .tbm-submenu { display: block !important; }

/* hover handled by mrrTbHover JS (delay bridges the fixed-position gap) */

/* ── Row and columns ─────────────────────────────────────────────*/
.tbm-row { display: flex !important; flex-wrap: nowrap !important; gap: 6px 24px !important; align-items: flex-start !important; }
.tbm-column { flex: 1 !important; min-width: 0 !important; float: none !important; }
.tbm-column-inner { padding: 0 !important; }

/* ── Sub-nav items ───────────────────────────────────────────────*/
.tbm-subnav { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.tbm-item.level-2 { list-style: none !important; }
.tbm-item.level-2 > .tbm-link-container { display: block !important; }

a.tbm-link.level-2 {
  display: block !important; padding: 6px 8px !important; border-radius: 7px !important;
  font-size: 13px !important; font-weight: 400 !important; color: var(--ink-soft) !important;
  text-decoration: none !important; line-height: 1.38 !important;
}
a.tbm-link.level-2:hover { background: var(--brand-tint, #eef4ff) !important; color: var(--brand) !important; }

/* ── Mobile ──────────────────────────────────────────────────────*/
@media (max-width: 860px) {
  .tbm-nav.level-0 { flex-direction: column !important; align-items: stretch !important; }
  .tbm-item.level-1 { border-bottom: 1px solid var(--line-soft) !important; }
  a.tbm-link.level-1 { padding: 12px 18px !important; width: 100% !important; }
  button.tbm-submenu-toggle { margin-left: auto !important; }

  /* Submenu: static on mobile, not fixed */
  .tbm-submenu,
  .tbm-item--has-dropdown.open .tbm-submenu,
  .tbm-item--has-dropdown.tbm-open .tbm-submenu {
    position: static !important;
    width: 100% !important; max-width: 100% !important;
    box-shadow: none !important; border: none !important;
    border-radius: 0 !important; padding: 8px 0 !important;
    background: var(--surface-2, #f8fafc) !important;
    border-top: 1px solid var(--line) !important;
  }
  .tbm-item--has-dropdown .tbm-submenu { display: none !important; }
  .tbm-item--has-dropdown.open .tbm-submenu,
  .tbm-item--has-dropdown.tbm-open .tbm-submenu { display: block !important; }

  .tbm-row { flex-direction: column !important; gap: 0 !important; }
  a.tbm-link.level-2 { padding: 10px 24px !important; font-size: 14px !important; }
}

/* ── TB Mega Menu: additional fixes ─────────────────────────────────────
   1. Ensure no visual gap between nav bar and submenu panel
      (position is set by JS from .tbm bottom, but add slight negative
      margin as safety in case of subpixel rendering differences)
   2. Mobile: TB adds .tbm--mobile but our CSS ensures the collapse stays
      visible when .mrr-nav-menu.is-open
   ─────────────────────────────────────────────────────────────────────*/

/* Flush against the nav — no visible gap */
.tbm-submenu { margin-top: 0 !important; }

/* Mobile: ensure TB collapse content shows when hamburger opens menu.
   TB adds .tbm--mobile class and may collapse .tbm-collapse via its own CSS.
   Override it here since we control visibility via .mrr-nav-menu.is-open.  */
.mrr-nav-menu .tbm--mobile .tbm-collapse,
.mrr-nav-menu.is-open .tbm--mobile .tbm-collapse,
.mrr-nav-menu .tbm-collapse { display: block !important; }

/* Mobile: ensure .tbm fills the full width of the open menu */
@media (max-width: 860px) {
  .mrr-nav-menu.is-open .tbm { flex-direction: column !important; width: 100% !important; }
  .mrr-nav-menu.is-open .tbm-nav.level-0 { width: 100% !important; }
}

/* ── Mobile hamburger: nav-row was hidden at ≤720px (original base CSS line 766
   hides .nav-row, .search-box, .topbar together). The hamburger lives in
   .nav-row so it was invisible. Override that hidden state here.           */
@media (max-width: 720px) {
  .nav-row { display: block !important; }
  .nav-row > .wrap {
    display: flex !important;
    align-items: center !important;
    padding: 0 18px !important;
    min-height: 44px !important;
    gap: 8px !important;
  }
  /* Nav promo strip is not needed on narrow mobile */
  .nav-spacer, .nav-promo { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   A4 — Price slider visuals only (no toolbar/toggle/reports-exposed
   redefinitions — those already exist correctly at lines 1047-1085)
   ══════════════════════════════════════════════════════════════════ */

/* ── Hide the price "Between" fieldset using data-drupal-selector ───────
   Drupal may suffix the `id` attribute (e.g. edit-price-wrapper--2) when
   a form is rendered as a block, but data-drupal-selector stays stable. */
fieldset[data-drupal-selector="edit-price-wrapper"] {
  display: none !important;
}

/* Slider takes a full row of its own within the existing flex-wrap
   .reports-exposed container (which already has flex-wrap: wrap) */
.reports-exposed .price-range-slider {
  flex: 1 0 100%;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 4px;
}
.price-range-slider .prs-label {
  font-size: 11px; color: var(--muted); font-weight: 600;
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em;
}
.price-range-slider .prs-track-wrap {
  position: relative; height: 4px; margin: 14px 4px 10px;
}
.price-range-slider .prs-track {
  position: absolute; inset: 0; background: var(--line); border-radius: 2px;
}
.price-range-slider .prs-range {
  position: absolute; height: 4px; background: var(--brand);
  border-radius: 2px; top: 0;
}
.price-range-slider .prs-handle {
  position: absolute; top: -8px; width: 100%; height: 20px;
  -webkit-appearance: none; appearance: none; background: transparent;
  pointer-events: none; margin: 0;
}
.price-range-slider .prs-handle::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer;
}
.price-range-slider .prs-handle::-moz-range-thumb {
  pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); border: none; box-shadow: 0 1px 4px rgba(0,0,0,.25);
  cursor: pointer;
}
.price-range-slider .prs-values {
  display: flex; justify-content: space-between;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
}

/* ══════════════════════════════════════════════════════════════════
   A4 — Compact single-row toolbar (Search · Sort by · Order · Apply ·
   view-toggle), with price slider as a slim secondary row.
   ══════════════════════════════════════════════════════════════════ */

.reports-exposed {
  padding: 12px 16px;     /* tighter than before */
  gap: 10px;
}

/* Force everything onto one row on wide screens */
.reports-exposed .views-exposed-form {
  flex-wrap: nowrap;
  align-items: center;     /* vertical-center instead of flex-end */
  gap: 10px;
}

/* Drop the uppercase field labels — icons/placeholders make purpose clear,
   and removing them saves a full text-line of vertical space */
.reports-exposed .js-form-item label {
  display: none;
}

/* All controls same compact height */
.reports-exposed .views-exposed-form input[type="text"],
.reports-exposed .views-exposed-form select,
.reports-exposed .views-exposed-form .form-submit,
.reports-exposed .view-toggle button {
  height: 38px;
}

/* Search: flexible, takes remaining space */
.reports-exposed .form-item-search-api-fulltext {
  flex: 1 1 160px; min-width: 120px;
}

/* Sort by / Order: compact fixed widths */
.reports-exposed .form-item-sort-by   { flex: 0 0 140px; }
.reports-exposed .form-item-sort-order { flex: 0 0 130px; }

/* Apply button: no wasted padding */
.reports-exposed .form-actions { flex: 0 0 auto; }
.reports-exposed #edit-submit-reports,
.reports-exposed .form-submit {
  padding: 0 18px;
}

/* View toggle: relocated here by JS, sits at the end of the row */
.reports-exposed .view-toggle {
  flex: 0 0 auto;
  display: flex; gap: 4px; margin-left: auto;
}
.reports-exposed .view-toggle button {
  width: 38px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); cursor: pointer; font-size: 15px; color: var(--muted);
}
.reports-exposed .view-toggle button.on {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* ── Price range: slim secondary row, label + slider + values inline ───*/
.reports-exposed .price-range-slider {
  display: flex; align-items: center; gap: 14px;
  flex: 1 0 100%;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 2px;
}
.price-range-slider .prs-label {
  font-size: 11px; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  flex: 0 0 auto; margin: 0;
  white-space: nowrap;
}
.price-range-slider .prs-track-wrap {
  flex: 1; position: relative; height: 4px; margin: 0 4px;
}
.price-range-slider .prs-values {
  flex: 0 0 auto; display: flex; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  white-space: nowrap;
}
.price-range-slider .prs-values::before { content: ''; }

/* ── Mobile: wrap back to multiple rows ──────────────────────────────── */
@media (max-width: 860px) {
  .reports-exposed .views-exposed-form { flex-wrap: wrap; }
  .reports-exposed .form-item-search-api-fulltext,
  .reports-exposed .form-item-sort-by,
  .reports-exposed .form-item-sort-order { flex: 1 1 auto; min-width: 0; }
  .reports-exposed .view-toggle { margin-left: 0; }
  .price-range-slider { flex-wrap: wrap; }
  .price-range-slider .prs-track-wrap { flex: 1 0 100%; order: 1; margin: 8px 0; }
  .price-range-slider .prs-values { flex: 1; justify-content: space-between; order: 2; }
}

/* ── Fix: top delivery badge ("Published · instant download") gets
   clipped — was only sized for the shorter "On demand · 24-48h" text.
   Allow the badges row to wrap, and let each badge size to its content. */
.report-badges {
  flex-wrap: wrap;
  overflow: visible;
}
.badge.delivery {
  white-space: nowrap;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
}

/* ── Tables and Figures section ───────────────────────────────────────
   field_tables_and_figures content: a <p><strong>List of...</strong></p>
   heading followed by <ul><li>Exhibit N.N: ...</li></ul> */
.mrr-exhibits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.mrr-exhibits li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.mrr-exhibits p strong {
  font-size: 14px;
  display: block;
  margin: 18px 0 8px;
}
.mrr-exhibits p:first-child strong {
  margin-top: 0;
}

/* ── Report cover: click to enlarge ────────────────────────────────────
   REPLACES the previous A1_cover_modal.css — delete that block first.   */
.report-cover-wrap {
  position: relative;
  display: inline-block; /* shrink-wrap the cover so hover zone is tight */
  cursor: zoom-in;
}
.report-cover-wrap[data-cover-open]:hover .report-cover-zoom {
  opacity: 1;
}
.report-cover-zoom {
  position: absolute;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(15, 32, 64, 0.70);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none; /* don't block the click reaching the wrapper */
}

/* ── Cover lightbox modal ─────────────────────────────────────────────*/
#mrr-cover-modal .mrr-modal-ov {
  background: rgba(0,0,0,0.75);
}
#mrr-cover-modal .mrr-modal-card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 48px 16px 16px; /* top padding to keep X button in viewport */
  max-width: min(90vw, 820px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  overflow: visible;
}
.mrr-cover-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;  /* never distort; letterbox if needed */
  border-radius: 10px;
  box-shadow: 0 16px 64px rgba(0,0,0,.55);
  display: block;
}
#mrr-cover-modal .mrr-modal-x {
  position: absolute;
  top: 8px; right: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  width: 32px; height: 32px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  line-height: 1;
}
#mrr-cover-modal .mrr-modal-x:hover {
  background: rgba(255,255,255,0.28);
}

.np-sep { margin: 0 6px; opacity: .4; }
.np-link--urgent { color: var(--logo-orange) !important; font-weight: 600; }
.np-link--urgent:hover { text-decoration: underline; }

/* ── Time-Critical Intelligence Service block ─────────────────────────*/
.tci-block {
  background: var(--ink, #0f2040);
  border-radius: 16px;
  padding: 36px 40px;
  margin: 40px 0;
  color: #fff;
}
.tci-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 166, 35, 0.15);
  border: 0.5px solid rgba(245, 166, 35, 0.4);
  border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: var(--logo-orange);
  letter-spacing: .05em; margin-bottom: 18px;
}
.tci-heading {
  color: #fff; font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500; max-width: 520px; line-height: 1.35; margin: 0 0 14px;
}
.tci-body {
  color: rgba(255,255,255,.72); font-size: 15px;
  line-height: 1.7; max-width: 580px; margin: 0 0 24px;
}
.tci-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.tci-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--logo-orange); color: #1a1305;
  font-weight: 600; font-size: 14px; height: 44px;
  padding: 0 24px; border-radius: 10px; text-decoration: none;
  border: none; cursor: pointer; white-space: nowrap;
}
.tci-btn-primary:hover { opacity: .9; }
.tci-btn-secondary {
  display: inline-flex; align-items: center;
  color: #fff; border: 0.5px solid rgba(255,255,255,.3);
  font-weight: 500; font-size: 14px; height: 44px;
  padding: 0 24px; border-radius: 10px; text-decoration: none;
  background: transparent; cursor: pointer; white-space: nowrap;
}
.tci-btn-secondary:hover { background: rgba(255,255,255,.08); }
.tci-trust {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 20px; border-top: 0.5px solid rgba(255,255,255,.1);
}
.tci-trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: 13.5px;
}
.tci-trust-item svg { color: #5dcaa5; flex-shrink: 0; }
@media (max-width: 640px) {
  .tci-block { padding: 24px 20px; }
  .tci-trust { gap: 14px; flex-direction: column; }
}

.ec-toggle-link {color: var(--logo-navy); font-weight: 800;}

/* ----------------------------------------------------------------
   Styles for About Us / FAQs page markup
   (output of set_key_pages_en.php)
   Add to mrr_theme's main stylesheet, e.g. css/style.css
   ---------------------------------------------------------------- */

/* --- About Us: leadership bios --- */
.mrr-team {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1.5rem 0 2rem;
}

.mrr-team-member {
  display: flex;
  gap: 1.25rem;
  flex: 1 1 320px;
  align-items: flex-start;
}

.mrr-team-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.mrr-team-bio p {
  margin: 0 0 0.5rem;
}

@media (max-width: 600px) {
  .mrr-team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --- About Us: industries we cover, two-column list --- */
.mrr-industry-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.5rem;
  margin: 1rem 0 2rem;
}

.mrr-industry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 280px;
}

.mrr-industry-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #eee;
}

.mrr-industry-list li a {
  text-decoration: none;
}

.mrr-industry-list li a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .mrr-industry-columns {
    flex-direction: column;
    gap: 0;
  }
}

/* --- FAQs: native <details>/<summary> accordion --- */
.region-content details {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  padding: 0;
  overflow: hidden;
}

.region-content details > summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.8rem 1.1rem;
  list-style: none;
  position: relative;
  background: #f7f7f7;
}

.region-content details > summary::-webkit-details-marker {
  display: none;
}

.region-content details > summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.region-content details[open] > summary::after {
  content: "\2212"; /* minus sign */
}

.region-content details > summary:hover {
  background: #efefef;
}

.region-content details p {
  margin: 0;
  padding: 0.9rem 1.1rem;
}

/* --- FAQs: TOC-style accordion (matches report-page Table of Contents) ---
   Reuses .toc-controls / .toc-expand-btn / .mrr-toc / .toc-chap / .toc-n /
   .toc-t / .toc-x from the report-page TOC styling. If those classes are
   already styled in mrr.css for report pages, this section mostly needs
   only the nested .faq-list spacing below; the fallback rules cover the
   case where this page loads outside that context. */
 
.mrr-faq-toc .toc-chap {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
 
.mrr-faq-toc .toc-chap > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  background: #f7f7f7;
  font-weight: 600;
}
 
.mrr-faq-toc .toc-chap > summary::-webkit-details-marker {
  display: none;
}
 
.mrr-faq-toc .toc-chap > summary:hover {
  background: #efefef;
}
 
.mrr-faq-toc .toc-n {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  color: var(--muted, #64748b);
  flex-shrink: 0;
}
 
.mrr-faq-toc .toc-t {
  flex: 1;
}
 
.mrr-faq-toc .toc-x::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 700;
}
 
.mrr-faq-toc .toc-chap[open] > summary .toc-x::after {
  content: "\2212"; /* minus sign */
}
 
/* Nested FAQ items inside each TOC chapter */
.mrr-faq-toc .faq-list {
  padding: 0.4rem 1.1rem 0.9rem;
}
 
.mrr-faq-toc .faq-item {
  border: 1px solid #ececec;
  border-radius: 6px;
  margin-top: 0.5rem;
  overflow: hidden;
}
 
.mrr-faq-toc .faq-item > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  font-weight: 500;
}
 
.mrr-faq-toc .faq-item > summary::-webkit-details-marker {
  display: none;
}
 
.mrr-faq-toc .faq-item > summary:hover {
  background: #fafafa;
}
 
.mrr-faq-toc .faq-x::after {
  content: "+";
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
 
.mrr-faq-toc .faq-item[open] > summary .faq-x::after {
  content: "\2212";
}
 
.mrr-faq-toc .faq-a {
  padding: 0 0.9rem 0.9rem;
}
 
.mrr-faq-toc .faq-a p {
  margin: 0 0 0.6rem;
}
 
.mrr-faq-toc .faq-a p:last-child {
  margin-bottom: 0;
}
 
/* Expand-all button (fallback styling if not already provided by
   the report-page TOC styles) */
.toc-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
 
.toc-controls .tc-hint {
  font-size: 0.85rem;
  color: var(--muted, #64748b);
}
 
.toc-expand-btn {
  border: 1px solid var(--line, #e2e8f0);
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
 
.toc-expand-btn:hover {
  background: var(--surface-2, #f7f7f7);
}

/* ----------------------------------------------------------------
   Fix: language switcher dropdown hidden behind the "New: AI powered
   report finder / Need it fast?" promo links in .nav-row.

   Root cause: .nav-row establishes its own stacking context
   (position: relative + z-index: 50), so it paints above
   .header-main / .nav-icons regardless of the dropdown's local
   z-index. Give .header-main its own (higher) stacking context so
   the language dropdown wins.

   Also removes the 4px hover-gap between the language icon and its
   dropdown, which was causing the menu to close on mouse movement
   before a language could be clicked.

   Add to css/mrr.css (after the existing header/nav rules) and run
   drush cr.
   ---------------------------------------------------------------- */

.header-main {
  position: relative;
  z-index: 60; /* higher than .nav-row's z-index: 50 */
}

/* Remove the hover-gap: dropdown now sits flush against the trigger,
   so moving the mouse from icon -> menu never leaves a hoverable
   element. Visual spacing is added via padding instead of an
   offset gap. */
.nav-icons .language-switcher-language-url .links {
  top: 100%;
  padding-top: 4px;
  margin-top: 0;
  z-index: 400;
}

/* Extend the hover area to cover the padding gap above the menu so
   hover state survives the transition. */
.nav-icons .language-switcher-language-url:hover .links,
.nav-icons .language-switcher-language-url .links:hover {
  display: flex !important;
}