/* ==========================================================================
   FEEH 3D BUILD LAB — in the FEEH store's identity
   The store's own pages set the language: dark gaming showcases (the home's
   sections: ink ground, Anton titles with a purple word, letter-spaced
   eyebrows, numbered notched cards) beside white commerce (/shop and the
   product pages: white cards on a #dbdae2 hairline, Anton titles and purple
   Anton prices, the ink notched "ADD TO CART").

   So the Build Lab is two surfaces:
     light (default)  the builds catalogue, the parts panel, the sections
     dark             the hero, "how it works", the 3D stage, the dock,
                      toasts and dialogs
   Every component reads its colours from the surface it sits on (--fbl-*),
   and every value comes from the theme's tokens (--feeh-* / --hb-*, see
   theme_feeh_endgame/static/css/feeh-tokens.css); the values after the
   commas are only fallbacks for a site without the theme.

   The notch is the store's: top-left and bottom-right cut in English, mirrored
   for Arabic. This file is loaded outside the Odoo bundles (no rtlcss): it is
   written with logical properties so the same rules serve dir=rtl and ltr.
   ========================================================================== */
.fbl-page, .fbl-toasts, .fbl-dialog, .fbl-pcbview, .fbl-pcb-banner {
  /* the identity */
  --fbl-ink: var(--feeh-ink, #1d164a);
  --fbl-primary: var(--feeh-primary, #5c47de);
  --fbl-primary-deep: var(--feeh-primary-deep, #4633c4);
  --fbl-soft: var(--feeh-surface, #f4f3fc);
  --fbl-soft-2: #eceafb;
  --fbl-night: color-mix(in srgb, var(--fbl-ink) 58%, #04020e);
  --fbl-deep: color-mix(in srgb, var(--fbl-ink) 78%, #04020e);
  --fbl-display: var(--feeh-font-display, 'Anton', 'Changa', 'Tajawal', sans-serif);
  --fbl-body: var(--feeh-font-body, 'Inter', 'Tajawal', sans-serif);
  /* (the identity has no monospace face: read-outs are the body face with tabular figures) */
  --fbl-mono: var(--fbl-body);
  --fbl-r-sm: 8px;
  --fbl-r: 10px;
  --fbl-r-lg: 16px;
  --fbl-ease: var(--feeh-ease, cubic-bezier(.22, .8, .36, 1));
  --fbl-dur: var(--feeh-dur, 200ms);
  --fbl-touch: var(--feeh-touch, 44px);
  --fbl-gutter: clamp(16px, 3vw, 32px);
  --fbl-max: 1360px;
  --fbl-clip: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --fbl-clip-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  --fbl-clip-lg: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  --fbl-dock-h: 84px;
  --fbl-header: 0px;

  /* the light surface (the store's commerce pages) */
  --fbl-bg: #ffffff;
  --fbl-surface: #ffffff;
  --fbl-surface-2: var(--fbl-soft);
  --fbl-tint: var(--fbl-soft);
  --fbl-tint-2: var(--fbl-soft-2);
  --fbl-on: var(--fbl-ink);
  --fbl-on-muted: var(--hb-text, #444154);
  --fbl-on-faint: var(--hb-muted-strong, #656e79);
  --fbl-line: var(--feeh-border, #e9e7f6);
  --fbl-line-strong: #dbdae2;
  --fbl-line-input: var(--feeh-border-strong, #9e9bb8);
  --fbl-accent: var(--fbl-primary);
  --fbl-ok: #0f8b4e;
  --fbl-ok-bg: rgba(20, 168, 96, .10);
  --fbl-warn: #8a5a00;
  --fbl-warn-bg: #fff4d6;
  --fbl-danger: var(--feeh-danger, #e52421);
  --fbl-danger-text: #b3201d;
  --fbl-danger-bg: #fdecec;
  --fbl-glass: rgba(255, 255, 255, .9);
  --fbl-shadow: 0 2px 10px rgba(29, 22, 74, .05);
  --fbl-shadow-hover: 0 18px 44px rgba(29, 22, 74, .14);
  --fbl-focus: 0 0 0 3px color-mix(in srgb, var(--fbl-primary) 32%, transparent);
  font-family: var(--fbl-body);
  color: var(--fbl-on);
}
/* the dark surface (the store's gaming showcases) */
.fbl-hero, .fbl-how, .fbl-stage, .fbl-dock, .fbl-toast, .fbl-dialog, .fbl-pcbview, .fbl-pcb-banner, .fbl-dark {
  --fbl-bg: var(--fbl-ink);
  --fbl-surface: color-mix(in srgb, var(--fbl-ink) 86%, #ffffff);
  --fbl-surface-2: color-mix(in srgb, var(--fbl-ink) 78%, #ffffff);
  --fbl-tint: rgba(255, 255, 255, .06);
  --fbl-tint-2: rgba(255, 255, 255, .11);
  --fbl-on: var(--feeh-on-dark, #ffffff);
  --fbl-on-muted: rgba(255, 255, 255, .82);
  --fbl-on-faint: rgba(255, 255, 255, .68);
  --fbl-line: rgba(255, 255, 255, .12);
  --fbl-line-strong: rgba(255, 255, 255, .24);
  --fbl-line-input: rgba(255, 255, 255, .4);
  --fbl-accent: var(--feeh-primary-on-dark, #b9aefc);
  --fbl-ok: #3ddc97;
  --fbl-ok-bg: rgba(61, 220, 151, .13);
  --fbl-warn: #ffc107;
  --fbl-warn-bg: rgba(255, 193, 7, .13);
  --fbl-danger-text: #ff9e9b;
  --fbl-danger-bg: rgba(229, 36, 33, .18);
  --fbl-glass: rgba(18, 13, 52, .74);
  --fbl-shadow: none;
  --fbl-focus: 0 0 0 3px color-mix(in srgb, var(--fbl-accent) 60%, transparent);
  color: var(--fbl-on);
}
.fbl-page[dir="rtl"], .fbl-toasts[dir="rtl"], .fbl-dialog[dir="rtl"], .fbl-pcbview[dir="rtl"] {
  --fbl-display: var(--feeh-font-display-ar, 'Changa', 'Tajawal', sans-serif);
  --fbl-clip: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  --fbl-clip-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  --fbl-clip-lg: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
#wrapwrap .fbl-page {
  background: var(--fbl-bg);
  color: var(--fbl-on);
  font-family: var(--fbl-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.fbl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.fbl-ico { inline-size: 1.15em; block-size: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }
.fbl-ico--lg { inline-size: 28px; block-size: 28px; }
[dir="rtl"] .fbl-ico--flip { transform: scaleX(-1); }
.fbl-sr { position: absolute !important; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fbl-muted { color: var(--fbl-on-muted); }
.fbl-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--fbl-on-faint); margin: 12px 0 0; }
/* the store's eyebrow ("EXPLORE OUR STORE"): letter-spaced capitals in the accent */
.fbl-kicker { font: 700 11.5px/1.3 var(--fbl-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fbl-accent); }
[dir="rtl"] .fbl-kicker { letter-spacing: 0; font-size: 12.5px; text-transform: none; }

/* headings: the theme sets every h1–h6 itself (Anton, sizes, colours) */
#wrapwrap .fbl-page :is(h1, h2, h3, h4) { color: var(--fbl-on) !important; margin: 0; text-transform: none; letter-spacing: 0; }
#wrapwrap .fbl-page .fbl-h2 { font-family: var(--fbl-display) !important; font-weight: 400 !important; font-size: clamp(28px, 3.4vw, 44px) !important; line-height: 1.04 !important;
  letter-spacing: .01em !important; text-transform: uppercase !important; }
#wrapwrap .fbl-page[dir="rtl"] .fbl-h2 { font-weight: 700 !important; letter-spacing: 0 !important; line-height: 1.25 !important; }
#wrapwrap .fbl-page .fbl-h3 { font-family: var(--fbl-body) !important; font-weight: 700 !important; font-size: 18px !important; line-height: 1.3 !important; }
/* the small headings inside a panel or a section ("Compatible options", "Estimated FPS"): the store's capitals */
#wrapwrap .fbl-page .fbl-h4 { font-family: var(--fbl-body) !important; font-weight: 800 !important; font-size: 12.5px !important; line-height: 1.3 !important; letter-spacing: .1em !important;
  text-transform: uppercase !important; color: var(--fbl-on) !important; }
#wrapwrap .fbl-page[dir="rtl"] .fbl-h4 { font-size: 14.5px !important; letter-spacing: 0 !important; text-transform: none !important; }
.fbl-accent { color: var(--fbl-accent); }

/* ------------------------------------------------------------------ buttons
   The store's: solid fills cut by the notch, capitals; no outlines (a border
   cannot follow the cut). Primary = purple, ink = the store's "ADD TO CART",
   the plain one a soft fill of the surface it sits on. */
.fbl-btn {
  --b-bg: var(--fbl-tint-2); --b-fg: var(--fbl-on); --b-hover: color-mix(in srgb, var(--fbl-tint-2) 70%, var(--fbl-primary) 18%);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative;
  min-block-size: 46px; padding: 0 20px; border: 0;
  background: var(--b-bg); color: var(--b-fg); font: 800 13px/1 var(--fbl-body); letter-spacing: .06em; text-transform: uppercase;
  clip-path: var(--fbl-clip); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color var(--fbl-dur) var(--fbl-ease), transform 120ms var(--fbl-ease), filter var(--fbl-dur) var(--fbl-ease);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
[dir="rtl"] .fbl-btn { letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 700; }
#wrapwrap .fbl-page a.fbl-btn, a.fbl-btn { color: var(--b-fg); text-decoration: none; }
.fbl-btn:hover { --b-bg: var(--b-hover); }
.fbl-btn:active { transform: scale(.97); }
.fbl-btn:focus-visible { outline: 3px solid var(--fbl-accent); outline-offset: -6px; }
.fbl-btn--primary { --b-bg: var(--fbl-primary); --b-fg: #fff; --b-hover: var(--fbl-primary-deep); }
.fbl-btn--ink { --b-bg: var(--fbl-ink); --b-fg: #fff; --b-hover: color-mix(in srgb, var(--fbl-ink) 82%, var(--fbl-primary)); }
.fbl-dark .fbl-btn--ink, .fbl-dock .fbl-btn--ink, .fbl-hero .fbl-btn--ink { --b-bg: #fff; --b-fg: var(--fbl-ink); --b-hover: var(--fbl-soft-2); }
.fbl-btn--ghost { --b-bg: var(--fbl-tint-2); }
.fbl-btn--lg { min-block-size: 54px; padding: 0 26px; font-size: 14px; }
[dir="rtl"] .fbl-btn--lg { font-size: 16px; }
.fbl-btn--sm { min-block-size: 38px; padding: 0 14px; font-size: 12px; clip-path: var(--fbl-clip-sm); }
[dir="rtl"] .fbl-btn--sm { font-size: 13.5px; }
.fbl-btn[disabled], .fbl-btn.is-busy { opacity: .55; cursor: not-allowed; }
.fbl-btn.is-busy { cursor: progress; }
.fbl-btn.is-blocked { --b-bg: color-mix(in srgb, var(--fbl-primary) 40%, var(--fbl-surface)); --b-hover: var(--b-bg); }
.fbl-iconbtn {
  display: inline-grid; place-items: center; inline-size: var(--fbl-touch); block-size: var(--fbl-touch); flex: none;
  border: 1px solid var(--fbl-line); background: var(--fbl-surface); color: var(--fbl-on); border-radius: var(--fbl-r); cursor: pointer;
  transition: background-color var(--fbl-dur) var(--fbl-ease), border-color var(--fbl-dur) var(--fbl-ease), color var(--fbl-dur) var(--fbl-ease);
}
.fbl-iconbtn:hover { background: var(--fbl-tint); border-color: var(--fbl-line-input); color: var(--fbl-accent); }
.fbl-iconbtn:focus-visible, .fbl-seg:focus-visible, .fbl-slot:focus-visible, .fbl-tl__btn:focus-visible, .fbl-hotspot:focus-visible, .fbl-swatch:focus-visible, .fbl-filter:focus-visible, .fbl-link:focus-visible, .fbl-alt:focus-visible {
  outline: 2px solid var(--fbl-accent); outline-offset: 2px;
}
.fbl-iconbtn[disabled] { opacity: .45; cursor: default; }
.fbl-iconbtn--glass { background: var(--fbl-glass); border-color: var(--fbl-line); color: var(--fbl-on); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fbl-iconbtn--glass:hover { background: color-mix(in srgb, var(--fbl-primary) 38%, var(--fbl-glass)); color: var(--fbl-on); }
.fbl-iconbtn[aria-pressed="true"] { border-color: var(--fbl-accent); color: var(--fbl-accent); }
.fbl-link { background: none; border: 0; padding: 4px 0; color: var(--fbl-accent); font: 700 14px var(--fbl-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------- chips & badges */
.fbl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fbl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: var(--fbl-tint); border: 1px solid var(--fbl-line);
  color: var(--fbl-on-muted); font: 600 12px/1.4 var(--fbl-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fbl-chip--bundle { color: var(--fbl-accent); border-color: color-mix(in srgb, var(--fbl-accent) 40%, transparent); }
.fbl-chip--leave { color: var(--fbl-warn); background: var(--fbl-warn-bg); border-color: color-mix(in srgb, var(--fbl-warn) 30%, transparent); }
.fbl-chip--save { color: var(--fbl-ok); background: var(--fbl-ok-bg); border-color: color-mix(in srgb, var(--fbl-ok) 30%, transparent); border-radius: 999px; }
.fbl-chip--current { color: #fff; background: var(--fbl-primary); border-color: var(--fbl-primary); }
.fbl-chip--stock.is-in_stock { color: var(--fbl-ok); }
.fbl-chip--stock.is-low { color: var(--fbl-warn); }
.fbl-chip--stock.is-out { color: var(--fbl-danger-text); }
.fbl-badge { display: inline-flex; align-items: center; gap: 4px; font: 700 12px/1.3 var(--fbl-body); padding: 3px 8px; border-radius: 999px; }
.fbl-badge.is-ok { color: var(--fbl-ok); background: var(--fbl-ok-bg); }
.fbl-badge.is-warning { color: var(--fbl-warn); background: var(--fbl-warn-bg); }
.fbl-badge.is-error { color: var(--fbl-danger-text); background: var(--fbl-danger-bg); }

/* product data (model names, sizes, sockets) keeps its own direction inside Arabic text */
.fbl-chip, .fbl-opt__short, .fbl-opt__name, .fbl-slot__val, .fbl-tl__v, .fbl-stat__v, .fbl-stat__k, .fbl-current__name,
.fbl-readout__v, .fbl-readout__m, .fbl-gauge__v, .fbl-card__specs li span, .fbl-alt__name, .fbl-photo__v, .fbl-fpsrow__name,
.fbl-upgrade__name, .fbl-bar__title, .fbl-card__fps-l, .fbl-continue__name { unicode-bidi: plaintext; }

/* money: the digits in the display face, the symbol in the store's riyal face */
.fbl-money { display: inline-flex; align-items: baseline; gap: 0; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fbl-cur { font-family: "SaudiRiyalLocal", var(--fbl-body); font-size: .78em; opacity: .9; margin-inline-start: .12em; }

/* score ring */
.fbl-score { --v: 0; --s: 54px; position: relative; inline-size: var(--s); block-size: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--fbl-primary) calc(var(--v) * 1%), var(--fbl-tint-2) 0); }
.fbl-score::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--fbl-surface); }
.fbl-score__n { position: relative; font: 400 21px/1 var(--fbl-display); color: var(--fbl-on); font-variant-numeric: tabular-nums; }
[dir="rtl"] .fbl-score__n { font-weight: 700; }
.fbl-dark .fbl-score, .fbl-dock .fbl-score, .fbl-hero .fbl-score { background: conic-gradient(var(--fbl-accent) calc(var(--v) * 1%), var(--fbl-tint-2) 0); }

/* ================================================================ listing */
/* the hero: one of the store's dark showcases */
.fbl-hero { position: relative; isolation: isolate; padding: clamp(36px, 6vw, 84px) var(--fbl-gutter) clamp(36px, 5.5vw, 80px); overflow: hidden;
  background: radial-gradient(60% 80% at 80% 35%, color-mix(in srgb, var(--fbl-primary) 46%, transparent) 0%, transparent 62%),
              radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--fbl-primary) 22%, transparent) 0%, transparent 70%),
              linear-gradient(160deg, color-mix(in srgb, var(--fbl-ink) 92%, #ffffff) 0%, var(--fbl-ink) 45%, var(--fbl-night) 100%); }
.fbl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--fbl-line) 1px, transparent 1px), linear-gradient(90deg, var(--fbl-line) 1px, transparent 1px);
  background-size: 52px 52px; mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent); }
/* the store's angled edge where a dark section meets a white one */
.fbl-hero::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -1px; block-size: clamp(18px, 2.4vw, 34px); background: var(--feeh-background, #fff);
  clip-path: polygon(0 100%, 0 40%, 22% 40%, calc(22% + 18px) 0, 100% 0, 100% 100%); z-index: -1; }
[dir="rtl"] .fbl-hero::after { clip-path: polygon(100% 100%, 100% 40%, 78% 40%, calc(78% - 18px) 0, 0 0, 0 100%); }
.fbl-hero__grid { max-inline-size: var(--fbl-max); margin-inline: auto; display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.fbl-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--fbl-body); letter-spacing: .22em; text-transform: uppercase; color: var(--fbl-accent); }
[dir="rtl"] .fbl-eyebrow { letter-spacing: 0; font-size: 14px; text-transform: none; }
.fbl-eyebrow::before { content: ""; inline-size: 28px; block-size: 2px; background: var(--fbl-primary); }
.fbl-eyebrow__dot { display: none; }
#wrapwrap .fbl-page .fbl-hero__title { font-family: var(--fbl-display) !important; font-weight: 400 !important; font-size: clamp(54px, 8.6vw, 124px) !important; line-height: .94 !important;
  letter-spacing: .005em !important; text-transform: uppercase !important; margin: 16px 0 14px !important; color: #fff !important; }
#wrapwrap .fbl-page[dir="rtl"] .fbl-hero__title { font-weight: 800 !important; line-height: 1.15 !important; letter-spacing: 0 !important; }
.fbl-hero__title .fbl-accent { color: var(--fbl-accent); }
.fbl-hero__lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--fbl-on-muted); margin: 0 0 22px; max-inline-size: 34ch; }
/* the five steps, numbered the store's way (01, 02 …) */
.fbl-flow { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: fbl-step;
  font: 700 12px/1 var(--fbl-body); letter-spacing: .12em; text-transform: uppercase; color: var(--fbl-on-muted); }
[dir="rtl"] .fbl-flow { letter-spacing: 0; font-size: 14px; text-transform: none; }
.fbl-flow li { display: inline-flex; align-items: baseline; gap: 6px; counter-increment: fbl-step; }
.fbl-flow li::before { content: counter(fbl-step, decimal-leading-zero); font: 400 14px/1 var(--fbl-display); letter-spacing: .04em; color: var(--fbl-accent); }
.fbl-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fbl-continue { margin-block-start: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px 14px 18px;
  background: var(--fbl-tint); border-inline-start: 3px solid var(--fbl-primary); clip-path: var(--fbl-clip); max-inline-size: 560px; }
.fbl-continue[hidden] { display: none; }
.fbl-continue__body { display: grid; gap: 3px; min-inline-size: 0; }
.fbl-continue__name { font-weight: 700; }
.fbl-continue__total { color: var(--fbl-on-muted); font-size: 14px; }
.fbl-hero__stage { position: relative; margin: 0; }
.fbl-stage--mini { aspect-ratio: 1 / 1; max-block-size: 620px; inline-size: 100%; clip-path: var(--fbl-clip-lg); }
.fbl-hero__caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-block-start: 14px; font-size: 14px; }
.fbl-hero__caption-k { font: 700 11px var(--fbl-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fbl-accent); }
[dir="rtl"] .fbl-hero__caption-k { letter-spacing: 0; font-size: 12.5px; }
#wrapwrap .fbl-page .fbl-hero__caption-name { color: var(--fbl-on); font-weight: 700; text-decoration: none; }
#wrapwrap .fbl-page .fbl-hero__caption-name:hover { color: var(--fbl-accent); }
.fbl-hero__caption-price { font: 400 18px/1 var(--fbl-display); color: var(--fbl-accent); }
[dir="rtl"] .fbl-hero__caption-price { font-weight: 700; }

/* the catalogue: white, like /shop */
.fbl-shelf { max-inline-size: var(--fbl-max); margin-inline: auto; }
.fbl-shelf { padding: clamp(28px, 4.5vw, 64px) var(--fbl-gutter) clamp(36px, 5vw, 72px); }
.fbl-shelf__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-block-end: 22px; }
.fbl-shelf__head .fbl-muted { margin: 0; color: var(--fbl-on-faint); font-size: 14px; }
.fbl-filters { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-block-end: 6px; margin: 0 0 24px; scrollbar-width: none;
  margin-inline: calc(var(--fbl-gutter) * -1); padding-inline: var(--fbl-gutter); scroll-padding-inline: var(--fbl-gutter); }
.fbl-filters::-webkit-scrollbar { display: none; }
#wrapwrap .fbl-page .fbl-filter { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; min-block-size: 42px; padding: 0 16px; border-radius: var(--fbl-r-sm);
  border: 1px solid var(--fbl-line-strong); background: #fff; color: var(--fbl-on); text-decoration: none; font: 700 12.5px/1 var(--fbl-body); letter-spacing: .06em; text-transform: uppercase;
  transition: background-color var(--fbl-dur) var(--fbl-ease), border-color var(--fbl-dur) var(--fbl-ease), color var(--fbl-dur) var(--fbl-ease); }
[dir="rtl"] #wrapwrap .fbl-page .fbl-filter { letter-spacing: 0; text-transform: none; font-size: 14px; }
#wrapwrap .fbl-page .fbl-filter:hover { border-color: var(--fbl-primary); color: var(--fbl-primary); }
#wrapwrap .fbl-page .fbl-filter.is-active { background: var(--fbl-ink); border-color: var(--fbl-ink); color: #fff; }
.fbl-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
/* a build card: the store's product card (white, the hairline, 10 px corners, the image on the soft ground) */
.fbl-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r);
  box-shadow: var(--fbl-shadow); padding: 10px; transition: transform var(--fbl-dur) var(--fbl-ease), border-color var(--fbl-dur) var(--fbl-ease), box-shadow var(--fbl-dur) var(--fbl-ease); }
.fbl-card[hidden] { display: none; }
.fbl-card:hover { border-color: color-mix(in srgb, var(--fbl-primary) 38%, transparent); box-shadow: var(--fbl-shadow-hover); }
@media (hover: hover) { .fbl-card:hover { transform: translateY(-4px); } }
.fbl-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px;
  background: radial-gradient(70% 70% at 50% 55%, #ffffff 0%, var(--fbl-soft) 70%); }
.fbl-card__media img { position: absolute; inset: 6%; inline-size: 88%; block-size: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform 420ms var(--fbl-ease); }
.fbl-card:hover .fbl-card__media img { transform: scale(1.05); }
.fbl-card__res, .fbl-card__3d { position: absolute; inset-block-start: 10px; padding: 6px 9px; font: 800 11.5px/1 var(--fbl-body); letter-spacing: .04em; }
.fbl-card__res { inset-inline-start: 10px; background: var(--fbl-ink); color: #fff; clip-path: var(--fbl-clip-sm); }
.fbl-card__3d { inset-inline-end: 10px; display: inline-flex; gap: 5px; align-items: center; background: var(--fbl-primary); color: #fff; clip-path: var(--fbl-clip-sm); }
.fbl-card__body { display: flex; flex-direction: column; gap: 12px; padding: 14px 6px 6px; flex: 1; }
.fbl-card__head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
#wrapwrap .fbl-page .fbl-card__name { font: 400 19px/1.18 var(--fbl-display) !important; margin: 0; letter-spacing: .005em; }
#wrapwrap .fbl-page[dir="rtl"] .fbl-card__name { font-weight: 700 !important; font-size: 18px !important; line-height: 1.35 !important; }
#wrapwrap .fbl-page .fbl-card__name a { color: var(--fbl-ink); text-decoration: none; }
#wrapwrap .fbl-page .fbl-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
#wrapwrap .fbl-page .fbl-card__name a:hover { color: var(--fbl-primary); }
.fbl-card .fbl-score { --s: 46px; }
.fbl-card .fbl-score__n { font-size: 17px; }
.fbl-card__tagline { margin: 0; font-size: 14px; color: var(--fbl-on-faint); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fbl-card__specs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; font-size: 13px; color: var(--fbl-on-muted); }
.fbl-card__specs li { display: flex; align-items: center; gap: 7px; min-inline-size: 0; }
.fbl-card__specs li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbl-card__specs .fbl-ico { color: var(--fbl-primary); }
.fbl-card__fps { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; background: var(--fbl-soft); border-radius: var(--fbl-r-sm); }
.fbl-card__fps-n { font: 400 28px/1 var(--fbl-display); color: var(--fbl-primary); font-variant-numeric: tabular-nums; }
.fbl-card__fps-l { font-size: 12.5px; color: var(--fbl-on-faint); min-inline-size: 0; }
.fbl-card__price { display: grid; gap: 4px; margin-block-start: auto; }
.fbl-card__now { font: 400 28px/1.05 var(--fbl-display); color: var(--fbl-primary); }
[dir="rtl"] .fbl-card__now { font-weight: 700; }
.fbl-card__was { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fbl-on-faint); }
.fbl-card__from { font-size: 13px; color: var(--fbl-on-faint); }
/* stock: the store's pill */
.fbl-stock { align-self: flex-start; justify-self: start; margin: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; border: 1px solid transparent;
  font: 700 11.5px/1.2 var(--fbl-body); letter-spacing: .04em; text-transform: uppercase; }
[dir="rtl"] .fbl-stock { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.fbl-stock::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; flex: none; }
.fbl-stock--in_stock { color: var(--fbl-ok); background: var(--fbl-ok-bg); border-color: color-mix(in srgb, var(--fbl-ok) 22%, transparent); }
.fbl-stock--low { color: var(--fbl-warn); background: var(--fbl-warn-bg); border-color: color-mix(in srgb, var(--fbl-warn) 22%, transparent); }
.fbl-stock--out { color: var(--fbl-on-faint); background: var(--fbl-tint); border-color: var(--fbl-line); }
.fbl-card__cta { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.fbl-card__cta .fbl-btn { inline-size: 100%; }
.fbl-card__cart { margin: 0; }
.fbl-card__cart .fbl-btn { padding-inline: 14px; }
.fbl-card__cart .fbl-btn span { display: none; }
.fbl-empty { color: var(--fbl-on-muted); }
/* "show more" under the grid */
.fbl-more { display: grid; justify-items: center; gap: 10px; margin-block-start: 28px; }
.fbl-more[hidden] { display: none; }
.fbl-more__count { font-size: 13px; color: var(--fbl-on-faint); }

/* how it works: the home's "YOUR PC. YOUR WAY.", numbered notched cards on the ink */
.fbl-how { position: relative; isolation: isolate; padding: clamp(40px, 5.5vw, 80px) var(--fbl-gutter);
  background: radial-gradient(50% 90% at 100% 0%, color-mix(in srgb, var(--fbl-primary) 30%, transparent), transparent 70%), var(--fbl-ink); }
.fbl-how > * { max-inline-size: var(--fbl-max); margin-inline: auto; }
.fbl-how__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-block-start: 26px; counter-reset: fbl-how; }
.fbl-how__item { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 22px 26px; background: var(--fbl-tint); clip-path: var(--fbl-clip-lg); counter-increment: fbl-how;
  box-shadow: inset 0 2px 0 var(--fbl-primary); }
.fbl-how__item::before { content: counter(fbl-how, decimal-leading-zero) "."; font: 400 26px/1 var(--fbl-display); color: var(--fbl-accent); }
.fbl-how__item .fbl-ico { position: absolute; inset-block-start: 22px; inset-inline-end: 22px; color: var(--fbl-accent); opacity: .9; }
#wrapwrap .fbl-page .fbl-how__item h3 { font: 400 22px/1.12 var(--fbl-display) !important; text-transform: uppercase; letter-spacing: .01em !important; margin: 4px 0 0; padding-inline-end: 36px; }
#wrapwrap .fbl-page[dir="rtl"] .fbl-how__item h3 { font-weight: 700 !important; text-transform: none; letter-spacing: 0 !important; line-height: 1.35 !important; }
.fbl-how__item p { margin: 0; color: var(--fbl-on-muted); font-size: 14.5px; }
@media (min-width: 992px) {
  .fbl-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* ================================================================= studio */
.fbl-studio-page { display: flex; flex-direction: column; }
.fbl-studio-page > .fbl-studio { order: 1; }
.fbl-studio-page > .fbl-sections { order: 2; }
.fbl-studio-page > .fbl-dock { order: 3; }
.fbl-studio { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(360px, 30vw, 460px); grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "bar bar" "stage panel"; block-size: calc(100svh - var(--fbl-header) - var(--fbl-dock-h)); min-block-size: 600px; max-block-size: 1040px;
  background: var(--fbl-bg); }
.fbl-studio__main { display: contents; }
/* the bar: a page header like the product pages' (breadcrumb, the build's name, its actions) */
.fbl-bar { grid-area: bar; display: flex; align-items: center; gap: 16px; padding: 12px var(--fbl-gutter); border-block-end: 1px solid var(--fbl-line); min-inline-size: 0; background: #fff; }
.fbl-crumbs { display: flex; align-items: center; gap: 6px; font: 600 13px var(--fbl-body); color: var(--fbl-on-faint); min-inline-size: 0; flex: none; }
#wrapwrap .fbl-page .fbl-crumbs a { color: var(--fbl-on-faint); text-decoration: none; }
#wrapwrap .fbl-page .fbl-crumbs a:hover { color: var(--fbl-primary); }
.fbl-crumbs__here { display: none; }
#wrapwrap .fbl-page .fbl-bar__title { font: 400 clamp(20px, 1.8vw, 26px)/1.15 var(--fbl-display) !important; letter-spacing: .005em; flex: 1; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#wrapwrap .fbl-page[dir="rtl"] .fbl-bar__title { font-weight: 700 !important; }
.fbl-bar__actions { display: flex; gap: 8px; flex: none; }

/* the stage: the dark showroom */
.fbl-stage { grid-area: stage; position: relative; overflow: hidden; isolation: isolate; min-block-size: 0; user-select: none; -webkit-user-select: none;
  background: radial-gradient(62% 58% at 50% 44%, color-mix(in srgb, var(--fbl-primary) 34%, var(--fbl-ink)) 0%, var(--fbl-ink) 50%, var(--fbl-night) 100%); }
.fbl-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: linear-gradient(var(--fbl-line) 1px, transparent 1px), linear-gradient(90deg, var(--fbl-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(75% 70% at 50% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 20%, transparent 75%); }
.fbl-stage__canvas { position: absolute; inset: 0; inline-size: 100% !important; block-size: 100% !important; display: block; opacity: 0; transition: opacity 600ms var(--fbl-ease); outline: none; cursor: grab; touch-action: none; }
.fbl-stage__canvas:active { cursor: grabbing; }
.fbl-stage[data-state="3d"] .fbl-stage__canvas { opacity: 1; }
.fbl-stage__poster { position: absolute; inset-block: 8% 12%; inset-inline: 10%; inline-size: 80%; block-size: 80%; object-fit: contain; transition: opacity 500ms var(--fbl-ease), transform 600ms var(--fbl-ease);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); border-radius: var(--fbl-r-lg); }
.fbl-stage[data-state="3d"] .fbl-stage__poster { opacity: 0; transform: scale(.96); pointer-events: none; }
.fbl-stage[data-state="photo"] .fbl-stage__poster { opacity: 0; }
.fbl-stage__floor { position: absolute; inset-inline: 15%; inset-block-end: 6%; block-size: 16%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fbl-primary) 45%, transparent), transparent); opacity: .6; }
.fbl-stage[data-state="3d"] .fbl-stage__floor { opacity: 0; }
/* an empty build: where to start */
.fbl-stage__empty { position: absolute; z-index: 2; inset-block-start: 38%; inset-inline-start: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 12px; inline-size: min(340px, 80%);
  text-align: center; pointer-events: none; }
[dir="rtl"] .fbl-stage__empty { translate: 50% -50%; }
.fbl-stage__empty[hidden] { display: none; }
.fbl-stage__empty .fbl-ico { inline-size: 44px; block-size: 44px; color: var(--fbl-accent); }
#wrapwrap .fbl-page .fbl-stage__empty p { margin: 0; font: 400 22px/1.2 var(--fbl-display); letter-spacing: .01em; text-transform: uppercase; color: var(--fbl-on); }
#wrapwrap .fbl-page[dir="rtl"] .fbl-stage__empty p { font-weight: 700; text-transform: none; line-height: 1.5; }
.fbl-hud { position: absolute; z-index: 3; display: flex; gap: 6px; }
.fbl-hud[hidden] { display: none; }
.fbl-hud--views { inset-block-start: 14px; inset-inline-start: 14px; padding: 4px; border-radius: var(--fbl-r); background: var(--fbl-glass); border: 1px solid var(--fbl-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-inline-size: calc(100% - 90px); overflow-x: auto; scrollbar-width: none; }
.fbl-hud--views::-webkit-scrollbar { display: none; }
.fbl-seg { flex: none; min-block-size: 36px; padding: 0 14px; border: 0; border-radius: var(--fbl-r-sm); background: transparent; color: var(--fbl-on-muted);
  font: 700 12.5px var(--fbl-body); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color var(--fbl-dur) var(--fbl-ease), color var(--fbl-dur) var(--fbl-ease); }
[dir="rtl"] .fbl-seg { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.fbl-seg:hover { color: var(--fbl-on); background: var(--fbl-tint); }
.fbl-seg.is-active { background: var(--fbl-primary); color: #fff; }
.fbl-hud--tools { inset-block-start: 14px; inset-inline-end: 14px; flex-direction: column; }
.fbl-hud--light { inset-block-end: 14px; inset-inline-start: 14px; flex-direction: column; align-items: flex-start; }
/* lighting mode (all lights / each fan) and the radiator's mount: glass segments like the views */
.fbl-pill { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--fbl-r); background: var(--fbl-glass); border: 1px solid var(--fbl-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.fbl-pill[hidden], .fbl-fanhint[hidden], .fbl-seg[hidden] { display: none; }
.fbl-pill__label { padding-inline: 10px 6px; font: 700 11.5px var(--fbl-body); letter-spacing: .08em; text-transform: uppercase; color: var(--fbl-on-faint); }
[dir="rtl"] .fbl-pill__label { letter-spacing: 0; text-transform: none; font-size: 13px; }
.fbl-seg--quiet { color: var(--fbl-on-muted); font-weight: 600; }
.fbl-fanhint { max-inline-size: 280px; padding: 8px 12px; border-radius: var(--fbl-r); background: var(--fbl-glass); border: 1px solid var(--fbl-line); color: var(--fbl-on); font: 500 13px/1.45 var(--fbl-body); }
.fbl-swatches { display: flex; gap: 6px; padding: 6px; border-radius: var(--fbl-r); background: var(--fbl-glass); border: 1px solid var(--fbl-line); }
.fbl-swatch { inline-size: 26px; block-size: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); background: var(--c); cursor: pointer; padding: 0; position: relative; }
.fbl-swatch::after { content: ""; position: absolute; inset: -9px; }
.fbl-swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px var(--c), 0 0 14px var(--c); }
.fbl-stage__hint { position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-end: 16px; font: 600 12px var(--fbl-body); color: var(--fbl-on-faint); pointer-events: none; transition: color var(--fbl-dur); }
.fbl-stage__hint.is-flash { color: var(--fbl-on); }
.fbl-readout { position: absolute; z-index: 2; inset-block-end: 64px; inset-inline-start: 50%; translate: -50% 0; display: flex; align-items: baseline; gap: 10px; padding: 9px 16px;
  background: var(--fbl-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 -2px 0 var(--fbl-primary);
  clip-path: var(--fbl-clip); opacity: 0; transform: translateY(8px); transition: all 260ms var(--fbl-ease); pointer-events: none; white-space: nowrap; max-inline-size: 90%; }
[dir="rtl"] .fbl-readout { translate: 50% 0; }
.fbl-readout.is-on { opacity: 1; transform: none; }
.fbl-readout__k { font: 700 11px var(--fbl-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fbl-accent); }
[dir="rtl"] .fbl-readout__k { letter-spacing: 0; font-size: 12.5px; }
.fbl-readout__v { font-weight: 700; }
.fbl-readout__m { font: 600 12px var(--fbl-body); color: var(--fbl-on-faint); font-variant-numeric: tabular-nums; }
.fbl-hotspots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fbl-hotspot { position: absolute; inset-block-start: 0; left: 0; pointer-events: auto; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--fbl-on);
  margin: -14px 0 0 -14px; will-change: transform; }
.fbl-hotspot[hidden] { display: none; }
.fbl-hotspot__ring { position: relative; inline-size: 28px; block-size: 28px; border-radius: 50%; border: 2px solid #fff; background: color-mix(in srgb, var(--fbl-primary) 70%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fbl-primary) 35%, transparent); }
.fbl-hotspot__ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.fbl-hotspot__ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--fbl-accent) 70%, transparent); animation: fbl-ping 2.4s var(--fbl-ease) infinite; }
.fbl-hotspot__label { padding: 6px 11px; background: var(--fbl-glass); border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r-sm); font: 700 12px var(--fbl-body); white-space: nowrap;
  opacity: 0; transform: translateX(-4px); transition: all var(--fbl-dur) var(--fbl-ease); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fbl-hotspot:hover .fbl-hotspot__label, .fbl-hotspot:focus-visible .fbl-hotspot__label, .fbl-hotspot.is-active .fbl-hotspot__label { opacity: 1; transform: none; }
.fbl-hotspot.is-active .fbl-hotspot__ring { background: var(--fbl-primary); }
@keyframes fbl-ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.fbl-loader { position: absolute; z-index: 4; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%; inline-size: min(320px, 80%); padding: 18px 20px; background: var(--fbl-glass);
  clip-path: var(--fbl-clip); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity 240ms var(--fbl-ease); }
[dir="rtl"] .fbl-loader { translate: 50% -50%; }
.fbl-loader.is-on { opacity: 1; }
.fbl-loader__title { font: 400 18px/1.2 var(--fbl-display); letter-spacing: .02em; text-transform: uppercase; margin-block-end: 12px; }
[dir="rtl"] .fbl-loader__title { font-weight: 700; text-transform: none; }
.fbl-loader__steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font: 600 12.5px var(--fbl-body); color: var(--fbl-on-faint); }
.fbl-loader__steps li { display: flex; align-items: center; gap: 8px; }
.fbl-loader__steps li::before { content: ""; inline-size: 10px; block-size: 10px; border-radius: 50%; border: 1px solid var(--fbl-line-strong); }
.fbl-loader__steps li.is-done { color: var(--fbl-on); }
.fbl-loader__steps li.is-done::before { background: var(--fbl-ok); border-color: var(--fbl-ok); }
.fbl-loader__bar { block-size: 3px; background: var(--fbl-line); overflow: hidden; }
.fbl-loader__bar span { display: block; block-size: 100%; inline-size: 4%; background: linear-gradient(90deg, var(--fbl-primary), var(--fbl-accent)); transition: inline-size 300ms var(--fbl-ease); }
.fbl-stage__photo { position: absolute; inset: 0; z-index: 2; overflow-y: auto; padding: 64px 16px 16px; display: grid; gap: 14px; align-content: start;
  background: var(--fbl-deep); overscroll-behavior: contain; }
.fbl-stage[data-state="photo"] .fbl-hotspots, .fbl-stage[data-state="photo"] .fbl-hud--light, .fbl-stage[data-state="photo"] .fbl-hud--views,
.fbl-stage[data-state="photo"] .fbl-readout, .fbl-stage[data-state="photo"] .fbl-stage__hint { display: none; }
@media (min-width: 1100px) {
  .fbl-stage__photo { grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); align-items: start; padding-inline: 24px; }
  .fbl-photo__hero { max-block-size: none; }
  .fbl-photo__note { grid-column: 1 / -1; }
}
.fbl-stage__photo[hidden] { display: none; }
.fbl-photo__hero { inline-size: min(100%, 520px); max-block-size: 52%; object-fit: contain; margin-inline: auto; border-radius: var(--fbl-r-lg); background: radial-gradient(#fff, var(--fbl-soft)); }
.fbl-photo__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.fbl-photo__tile { display: grid; gap: 4px; justify-items: start; padding: 10px; border: 1px solid var(--fbl-line); background: var(--fbl-tint); color: var(--fbl-on); text-align: start; cursor: pointer; border-radius: var(--fbl-r); }
.fbl-photo__tile:hover { border-color: var(--fbl-accent); }
.fbl-photo__tile img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; }
.fbl-photo__k { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--fbl-accent); }
.fbl-photo__v { font-weight: 700; font-size: 13px; }
.fbl-photo__note { display: flex; gap: 8px; font-size: 13px; color: var(--fbl-on-muted); margin: 0; }

/* the panel: white, like the product page beside its gallery */
.fbl-panel { grid-area: panel; display: flex; flex-direction: column; min-block-size: 0; background: #fff; border-inline-start: 1px solid var(--fbl-line); }
.fbl-sheet__handle { display: none; }
.fbl-slotbar { display: flex; gap: 8px; overflow-x: auto; padding: 12px; border-block-end: 1px solid var(--fbl-line); scroll-snap-type: x proximity; scrollbar-width: thin;
  scrollbar-color: var(--fbl-line-strong) transparent; flex: none; background: var(--fbl-soft); }
.fbl-slot { position: relative; flex: none; scroll-snap-align: start; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; text-align: start;
  min-inline-size: 122px; max-inline-size: 176px; min-block-size: 54px; padding: 8px 12px; border: 1px solid var(--fbl-line-strong); background: #fff; color: var(--fbl-on); border-radius: var(--fbl-r); cursor: pointer;
  transition: border-color var(--fbl-dur) var(--fbl-ease), box-shadow var(--fbl-dur) var(--fbl-ease); }
.fbl-slot .fbl-ico { grid-row: span 2; color: var(--fbl-primary); inline-size: 20px; block-size: 20px; }
.fbl-slot__name { font: 700 11px/1.2 var(--fbl-body); letter-spacing: .08em; text-transform: uppercase; color: var(--fbl-on-faint); }
[dir="rtl"] .fbl-slot__name { letter-spacing: 0; text-transform: none; font-size: 12px; }
.fbl-slot__val { font: 700 13px/1.25 var(--fbl-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbl-slot.is-empty .fbl-slot__val { color: var(--fbl-on-faint); font-weight: 500; }
.fbl-slot:hover { border-color: var(--fbl-line-input); }
.fbl-slot.is-active { border-color: var(--fbl-primary); box-shadow: inset 0 -3px 0 var(--fbl-primary); }
.fbl-dot { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--fbl-warn); }
.fbl-slot.is-error .fbl-dot, .fbl-slot.is-missing .fbl-dot { background: var(--fbl-danger); }
.fbl-slotview { flex: 1; min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 24px; display: grid; gap: 16px; align-content: start;
  scrollbar-width: thin; scrollbar-color: var(--fbl-line-strong) transparent; }
.fbl-slotview__head { display: grid; gap: 4px; }
.fbl-slotview__title { display: flex; align-items: center; gap: 8px; color: var(--fbl-primary); }
#wrapwrap .fbl-page .fbl-slotview__title :is(h2, h3) { font: 400 24px/1.1 var(--fbl-display) !important; letter-spacing: .01em; text-transform: uppercase; }
#wrapwrap .fbl-page[dir="rtl"] .fbl-slotview__title :is(h2, h3) { font-weight: 700 !important; text-transform: none; }
.fbl-slotview__head p { margin: 0; font-size: 13.5px; color: var(--fbl-on-faint); }
.fbl-current { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; background: var(--fbl-soft); border: 1px solid var(--fbl-line); border-radius: var(--fbl-r); }
.fbl-current.is-empty { grid-template-columns: auto 1fr; align-items: center; color: var(--fbl-on-faint); background: #fff; border: 1px dashed var(--fbl-line-input); }
.fbl-current__img { inline-size: 84px; block-size: 84px; object-fit: contain; background: #fff; border-radius: var(--fbl-r-sm); }
.fbl-current__body { display: grid; gap: 6px; min-inline-size: 0; }
.fbl-current__name { font: 700 14.5px/1.35 var(--fbl-body); color: var(--fbl-on); }
.fbl-current__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fbl-current__price { font: 400 24px/1 var(--fbl-display); color: var(--fbl-primary); }
[dir="rtl"] .fbl-current__price { font-weight: 700; }
.fbl-current > .fbl-qty, .fbl-current > .fbl-link { grid-column: 1 / -1; justify-self: start; }
.fbl-qty { display: inline-flex; align-items: center; border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r-sm); background: #fff; }
.fbl-qty__btn { inline-size: 42px; block-size: 42px; background: none; border: 0; color: var(--fbl-on); font-size: 18px; cursor: pointer; }
.fbl-qty__btn[disabled] { opacity: .35; }
.fbl-qty__v { min-inline-size: 24px; text-align: center; font-weight: 700; }
.fbl-gauge { display: grid; gap: 7px; }
.fbl-gauge__head { display: flex; justify-content: space-between; font: 600 12.5px var(--fbl-body); color: var(--fbl-on-faint); font-variant-numeric: tabular-nums; }
.fbl-gauge__k { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 11.5px; }
[dir="rtl"] .fbl-gauge__k { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.fbl-gauge__v { color: var(--fbl-on); font-weight: 700; }
.fbl-gauge__track { position: relative; block-size: 8px; border-radius: 8px; background: var(--fbl-tint-2); }
.fbl-gauge__fill { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 8px; background: linear-gradient(90deg, var(--fbl-primary), color-mix(in srgb, var(--fbl-primary) 50%, #b9aefc)); transition: inline-size 400ms var(--fbl-ease); }
.fbl-gauge.is-over .fbl-gauge__fill { background: linear-gradient(90deg, #f0a400, var(--fbl-danger)); }
.fbl-issues { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fbl-issue { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 14px; border-radius: var(--fbl-r); border: 1px solid; }
.fbl-issue > .fbl-ico { margin-block-start: 2px; }
.fbl-issue.is-error { border-color: color-mix(in srgb, var(--fbl-danger) 35%, transparent); background: var(--fbl-danger-bg); color: var(--fbl-danger-text); }
.fbl-issue.is-warning { border-color: color-mix(in srgb, var(--fbl-warn) 30%, transparent); background: var(--fbl-warn-bg); color: var(--fbl-warn); }
.fbl-issue.is-info { border-color: var(--fbl-line); background: var(--fbl-soft); color: var(--fbl-on-muted); }
.fbl-issue__title { display: block; font-size: 14px; font-weight: 800; }
.fbl-issue__msg { margin: 2px 0 0; color: var(--fbl-on); font-size: 14px; }
.fbl-issue .fbl-kicker { color: currentColor; margin-block-start: 10px; }
.fbl-alts { display: grid; gap: 6px; margin-block-start: 10px; }
.fbl-alt { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 6px 10px 6px 6px; border: 1px solid var(--fbl-line-strong); background: #fff; color: var(--fbl-on);
  border-radius: var(--fbl-r-sm); cursor: pointer; text-align: start; transition: border-color var(--fbl-dur) var(--fbl-ease); }
.fbl-alt img { inline-size: 40px; block-size: 40px; object-fit: contain; background: #fff; border-radius: 6px; }
.fbl-alt:hover { border-color: var(--fbl-primary); }
.fbl-alt__name { font-size: 13px; font-weight: 700; }
.fbl-alt__diff { font: 700 13px var(--fbl-body); font-variant-numeric: tabular-nums; }
.fbl-options { display: grid; gap: 10px; }
.fbl-options__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fbl-options__count { margin: -4px 0 0; font-size: 12.5px; color: var(--fbl-on-faint); }
.fbl-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r); background: #fff; }
.fbl-toggle button { min-block-size: 32px; padding: 0 12px; border: 0; border-radius: var(--fbl-r-sm); background: none; color: var(--fbl-on-faint); font: 700 12px var(--fbl-body); cursor: pointer; }
.fbl-toggle button.is-on { background: var(--fbl-ink); color: #fff; }
.fbl-dark .fbl-toggle, .fbl-sec .fbl-toggle { background: transparent; }
.fbl-optlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fbl-opt { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--fbl-line-strong); background: #fff; border-radius: var(--fbl-r);
  transition: border-color var(--fbl-dur) var(--fbl-ease), box-shadow var(--fbl-dur) var(--fbl-ease); }
.fbl-opt:hover { border-color: color-mix(in srgb, var(--fbl-primary) 45%, transparent); box-shadow: 0 6px 18px rgba(29, 22, 74, .07); }
.fbl-opt.is-current { border-color: var(--fbl-primary); background: var(--fbl-soft); box-shadow: inset 3px 0 0 var(--fbl-primary); }
[dir="rtl"] .fbl-opt.is-current { box-shadow: inset -3px 0 0 var(--fbl-primary); }
.fbl-opt.is-blocked, .fbl-opt.is-unavailable { opacity: .64; }
.fbl-opt__img { inline-size: 60px; block-size: 60px; object-fit: contain; background: var(--fbl-soft); border-radius: var(--fbl-r-sm); mix-blend-mode: multiply; }
.fbl-opt__body { display: grid; gap: 3px; min-inline-size: 0; }
.fbl-opt__short { font: 700 14px/1.25 var(--fbl-body); color: var(--fbl-on); }
.fbl-opt__name { font-size: 12.5px; color: var(--fbl-on-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbl-opt__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-block-start: 3px; }
.fbl-opt__note { margin: 4px 0 0; font-size: 12.5px; color: var(--fbl-on-muted); }
.fbl-opt__side { display: grid; gap: 5px; justify-items: end; text-align: end; }
.fbl-opt__diff { font: 400 17px/1 var(--fbl-display); font-variant-numeric: tabular-nums; }
.fbl-opt__diff.is-up { color: var(--fbl-on); }
.fbl-opt__diff.is-down { color: var(--fbl-ok); }
.fbl-opt__price { font-size: 12px; color: var(--fbl-on-faint); }
.fbl-opt__perf { font: 700 11.5px var(--fbl-body); padding: 2px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.fbl-opt__perf.is-up { color: var(--fbl-ok); background: var(--fbl-ok-bg); }
.fbl-opt__perf.is-down { color: var(--fbl-warn); background: var(--fbl-warn-bg); }
.fbl-skeleton { block-size: 80px; border-radius: var(--fbl-r); background: linear-gradient(90deg, var(--fbl-soft), var(--fbl-soft-2), var(--fbl-soft)); background-size: 200% 100%; animation: fbl-shimmer 1.2s linear infinite; }
@keyframes fbl-shimmer { to { background-position: -200% 0; } }

/* the dock: the store's ink bar, sticky to the bottom of the screen on every size */
.fbl-dock { position: sticky; inset-block-end: 0; z-index: 20; order: 3; display: grid; gap: 10px 20px; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "stats total cta";
  align-items: center; padding: 12px var(--fbl-gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--fbl-ink);
  box-shadow: 0 -16px 40px -18px rgba(29, 22, 74, .55); }
.fbl-dock::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 2px; background: linear-gradient(90deg, var(--fbl-primary), transparent 70%); }
[dir="rtl"] .fbl-dock::before { background: linear-gradient(270deg, var(--fbl-primary), transparent 70%); }
/* (the build's parts are the panel's tabs: the dock shows them only where there is room, on very wide screens) */
.fbl-timeline { grid-area: timeline; list-style: none; margin: 0; padding: 0; display: none; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.fbl-timeline::-webkit-scrollbar { display: none; }
.fbl-tl { flex: 1 0 auto; position: relative; }
.fbl-tl__btn { inline-size: 100%; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 7px; align-items: center; text-align: start; padding: 6px 10px; min-block-size: 44px;
  background: var(--fbl-tint); border: 1px solid var(--fbl-line); border-radius: var(--fbl-r-sm); color: var(--fbl-on); cursor: pointer; }
.fbl-tl__btn .fbl-ico { grid-row: span 2; color: var(--fbl-accent); }
.fbl-tl__k { font: 700 10px/1.2 var(--fbl-body); letter-spacing: .1em; text-transform: uppercase; color: var(--fbl-on-faint); }
[dir="rtl"] .fbl-tl__k { letter-spacing: 0; font-size: 11px; text-transform: none; }
.fbl-tl__v { font: 600 12px/1.25 var(--fbl-body); white-space: nowrap; max-inline-size: 130px; overflow: hidden; text-overflow: ellipsis; }
.fbl-tl.is-active .fbl-tl__btn { border-color: var(--fbl-accent); background: color-mix(in srgb, var(--fbl-primary) 28%, transparent); }
.fbl-tl.is-error .fbl-tl__btn, .fbl-tl.is-missing .fbl-tl__btn { box-shadow: inset 0 -2px 0 var(--fbl-danger); }
.fbl-tl.is-warning .fbl-tl__btn { box-shadow: inset 0 -2px 0 var(--fbl-warn); }
.fbl-dock__row { display: contents; }
.fbl-stats { grid-area: stats; display: flex; align-items: center; gap: 6px; min-inline-size: 0; overflow-x: auto; scrollbar-width: none; }
.fbl-stats::-webkit-scrollbar { display: none; }
.fbl-stat { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 9px; align-items: center; padding: 6px 12px; border: 1px solid transparent; border-radius: var(--fbl-r);
  background: none; color: var(--fbl-on); text-align: start; flex: none; font: inherit; }
.fbl-stat + .fbl-stat { border-inline-start-color: var(--fbl-line); border-start-start-radius: 0; border-end-start-radius: 0; }
button.fbl-stat { cursor: pointer; }
button.fbl-stat:hover { background: var(--fbl-tint); }
.fbl-stat > .fbl-ico, .fbl-stat > .fbl-score { grid-row: span 2; }
.fbl-stat .fbl-score { --s: 44px; }
.fbl-stat .fbl-score__n { font-size: 17px; }
.fbl-stat__v { font: 400 18px/1.1 var(--fbl-display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
[dir="rtl"] .fbl-stat__v { font-weight: 700; }
.fbl-stat__k { font-size: 11.5px; font-weight: 600; color: var(--fbl-on-faint); }
.fbl-stat--score { grid-template-rows: auto; }
.fbl-stat--score .fbl-stat__k { align-self: center; }
.fbl-stat--compat.is-ok { color: var(--fbl-ok); }
.fbl-stat--compat.is-warning { color: var(--fbl-warn); }
.fbl-stat--compat.is-error { color: var(--fbl-danger-text); }
.fbl-stat--compat .fbl-stat__v { color: currentColor; }
.fbl-stat .fbl-ico { inline-size: 20px; block-size: 20px; color: var(--fbl-accent); }
.fbl-stat--compat .fbl-ico { color: currentColor; }
.fbl-total { grid-area: total; display: grid; justify-items: end; text-align: end; gap: 2px; }
.fbl-total__k { font: 700 10.5px var(--fbl-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fbl-on-faint); }
[dir="rtl"] .fbl-total__k { letter-spacing: 0; font-size: 12px; text-transform: none; }
.fbl-total__v { font: 400 clamp(26px, 2.3vw, 34px)/1 var(--fbl-display); transition: opacity var(--fbl-dur); }
[dir="rtl"] .fbl-total__v { font-weight: 700; }
.fbl-total__v.is-pending { opacity: .55; }
.fbl-total__save { font-size: 12px; font-weight: 700; color: var(--fbl-ok); }
.fbl-total__plan, .fbl-total__vat { font-size: 11.5px; color: var(--fbl-on-faint); }
.fbl-cta { grid-area: cta; display: flex; gap: 8px; align-items: center; }
.fbl-cta form { margin: 0; }
.fbl-cta .fbl-btn--primary { min-block-size: 52px; padding-inline: 26px; }
.fbl-only-phone { display: none; }
@media (min-width: 1800px) {
  .fbl-dock { grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "timeline stats total cta"; }
  .fbl-timeline { display: flex; }
}

/* the sections under the studio: white cards on the soft ground, like the product page's tabs */
.fbl-sections { order: 2; inline-size: 100%; padding: clamp(28px, 4vw, 56px) var(--fbl-gutter) 56px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr);
  background: var(--fbl-soft); }
.fbl-sections > * { inline-size: 100%; max-inline-size: var(--fbl-max); margin-inline: auto; }
.fbl-sec { padding: clamp(20px, 2.4vw, 30px); background: #fff; border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r); box-shadow: var(--fbl-shadow); display: grid; gap: 18px; align-content: start; }
.fbl-sec[hidden] { display: none; }
.fbl-sec > .fbl-h2 { display: flex; align-items: center; gap: 12px; }
.fbl-sec > .fbl-h2::before { content: ""; inline-size: 6px; block-size: .8em; background: var(--fbl-primary); clip-path: polygon(0 3px, 3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%); flex: none; }
#wrapwrap .fbl-page .fbl-sec > .fbl-h2 { font-size: clamp(24px, 2.4vw, 32px) !important; }
.fbl-sec__body { display: grid; gap: 16px; }
.fbl-scoregrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fbl-scorecard { display: grid; justify-items: center; gap: 8px; padding: 16px 6px; border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r); text-align: center; background: #fff; }
.fbl-scorecard .fbl-score { --s: 66px; }
.fbl-scorecard .fbl-score__n { font-size: 25px; }
.fbl-scorecard.is-main { border-color: var(--fbl-primary); background: var(--fbl-soft); }
.fbl-scorecard__k { font: 700 12px var(--fbl-body); letter-spacing: .06em; text-transform: uppercase; color: var(--fbl-on-muted); }
[dir="rtl"] .fbl-scorecard__k { letter-spacing: 0; text-transform: none; font-size: 13px; }
.fbl-fps { display: grid; gap: 12px; }
.fbl-fps__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.fbl-fpslist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fbl-fpsrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(60px, 1.4fr) 76px; gap: 12px; align-items: center; }
.fbl-fpsrow__img { inline-size: 72px; block-size: 40px; object-fit: cover; border-radius: 6px; background: var(--fbl-soft-2); }
.fbl-fpsrow__name { font-weight: 700; font-size: 14px; color: var(--fbl-on); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbl-fpsrow__bar { block-size: 8px; border-radius: 8px; background: var(--fbl-soft-2); overflow: hidden; }
.fbl-fpsrow__bar span { display: block; block-size: 100%; border-radius: inherit; background: var(--fbl-line-input); transition: inline-size 500ms var(--fbl-ease); }
.fbl-fpsrow.is-great .fbl-fpsrow__bar span { background: #14a860; }
.fbl-fpsrow.is-good .fbl-fpsrow__bar span { background: var(--fbl-primary); }
.fbl-fpsrow.is-ok .fbl-fpsrow__bar span { background: #f0a400; }
.fbl-fpsrow.is-low .fbl-fpsrow__bar span { background: var(--fbl-danger); }
.fbl-fpsrow__v { font: 400 24px/1 var(--fbl-display); text-align: end; font-variant-numeric: tabular-nums; color: var(--fbl-on); }
.fbl-fpsrow__v small { font: 700 10.5px var(--fbl-body); letter-spacing: .06em; color: var(--fbl-on-faint); margin-inline-start: 2px; }
.fbl-ok { display: flex; gap: 8px; align-items: center; margin: 0; padding: 12px 14px; border-radius: var(--fbl-r); background: var(--fbl-ok-bg); color: var(--fbl-ok); font-weight: 700; }
.fbl-power { display: grid; gap: 10px; padding-block-start: 6px; }
.fbl-power__head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 14px; color: var(--fbl-on-muted); }
.fbl-power__head strong { font: 400 24px var(--fbl-display); color: var(--fbl-on); }
.fbl-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--fbl-warn) 30%, transparent); border-radius: var(--fbl-r);
  background: var(--fbl-warn-bg); color: var(--fbl-on); font-size: 14px; }
.fbl-callout .fbl-ico { color: var(--fbl-warn); }
.fbl-lines, .fbl-spec-table { inline-size: 100%; border-collapse: collapse; font-size: 14px; }
.fbl-lines th, .fbl-lines td, .fbl-spec-table th, .fbl-spec-table td { padding: 11px 0; border-block-end: 1px solid var(--fbl-line); text-align: start; vertical-align: top; color: var(--fbl-on); }
.fbl-lines th { font-weight: 500; color: var(--fbl-on-muted); padding-inline-end: 12px; }
.fbl-lines td { text-align: end; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.fbl-lines td s { margin-inline-end: 8px; color: var(--fbl-on-faint); font-weight: 500; }
.fbl-lines__sub th, .fbl-lines__sub td { color: var(--fbl-on-faint); font-size: 13px; font-weight: 500; }
.fbl-lines__total th, .fbl-lines__total td { font-weight: 800; color: var(--fbl-on); border-block-end: 0; padding-block-start: 16px; }
.fbl-lines__total td { font: 400 30px var(--fbl-display); color: var(--fbl-primary); }
.fbl-lines__save th, .fbl-lines__save td { color: var(--fbl-ok); border: 0; }
.fbl-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fbl-plan { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r); font-size: 14px; background: var(--fbl-soft); }
.fbl-plan__name { font-weight: 800; }
.fbl-spec-table th { inline-size: 32%; font-weight: 700; color: var(--fbl-on-muted); padding-inline-end: 12px; }
.fbl-spec-table th .fbl-ico { color: var(--fbl-primary); margin-inline-end: 6px; }
#wrapwrap .fbl-page .fbl-spec-table a { color: var(--fbl-on); font-weight: 600; text-decoration: underline; text-decoration-color: var(--fbl-line-input); text-underline-offset: 3px; }
#wrapwrap .fbl-page .fbl-spec-table a:hover { color: var(--fbl-primary); text-decoration-color: currentColor; }
.fbl-spec-table .fbl-chips { margin-block-start: 6px; }
.fbl-about { white-space: pre-line; color: var(--fbl-on-muted); font-size: 14.5px; }
.fbl-upgrades { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fbl-upgrade { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r); }
.fbl-upgrade__media { display: grid; gap: 6px; justify-items: start; }
.fbl-upgrade__media img { inline-size: 96px; block-size: 96px; object-fit: contain; background: var(--fbl-soft); border-radius: var(--fbl-r-sm); mix-blend-mode: multiply; }
.fbl-upgrade__body { display: grid; gap: 6px; min-inline-size: 0; }
.fbl-upgrade__name { font-size: 13px; color: var(--fbl-on-faint); }
.fbl-upgrade__nums { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fbl-upgrade__diff { font: 400 22px var(--fbl-display); color: var(--fbl-on); }
.fbl-upgrade__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 4px; }
.fbl-value { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fbl-on-faint); }
.fbl-value__bar { --v: 0; inline-size: 48px; block-size: 6px; border-radius: 6px; background: linear-gradient(90deg, #14a860 calc(var(--v) * 1%), var(--fbl-soft-2) 0); }
.fbl-checks { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.fbl-checks legend { margin-block-end: 6px; }
.fbl-check { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--fbl-line-strong); border-radius: var(--fbl-r); cursor: pointer; background: #fff;
  transition: border-color var(--fbl-dur) var(--fbl-ease), background-color var(--fbl-dur) var(--fbl-ease); }
.fbl-check:hover { border-color: var(--fbl-line-input); }
.fbl-check input { inline-size: 20px; block-size: 20px; accent-color: var(--fbl-primary); }
.fbl-check:has(input:checked) { border-color: var(--fbl-primary); background: var(--fbl-soft); }
.fbl-check__body { display: grid; gap: 2px; }
.fbl-check__body small { color: var(--fbl-on-faint); }
.fbl-check__price { font: 400 18px var(--fbl-display); color: var(--fbl-primary); }
@media (min-width: 992px) {
  .fbl-sections { grid-template-columns: repeat(2, minmax(0, calc((var(--fbl-max) - 20px) / 2))); justify-content: center; }
  .fbl-sections > * { max-inline-size: none; }
  .fbl-sec--wide { grid-column: 1 / -1; }
}

/* toasts & dialog (dark, like the store's cart toast) */
.fbl-toasts { position: fixed; z-index: 1060; inset-inline: 0; inset-block-end: calc(var(--fbl-dock-h) + 18px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 12px; }
.fbl-toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-inline-size: min(560px, 100%); padding: 12px 14px; background: var(--fbl-ink); color: var(--fbl-on);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), inset 0 2px 0 var(--fbl-primary); clip-path: var(--fbl-clip); font: 600 14px/1.4 var(--fbl-body); animation: fbl-in 220ms var(--fbl-ease); }
.fbl-toast.is-out { opacity: 0; transform: translateY(6px); transition: all 200ms var(--fbl-ease); }
.fbl-toast.is-success > .fbl-ico { color: var(--fbl-ok); }
.fbl-toast.is-error > .fbl-ico { color: var(--fbl-danger-text); }
.fbl-toast.is-info > .fbl-ico { color: var(--fbl-accent); }
.fbl-toast__msg { flex: 1; }
.fbl-toast__btn { flex: none; min-block-size: 38px; padding: 0 14px; border: 0; background: var(--fbl-primary); color: #fff; font: 800 12px var(--fbl-body); letter-spacing: .06em; text-transform: uppercase;
  clip-path: var(--fbl-clip-sm); cursor: pointer; }
[dir="rtl"] .fbl-toast__btn { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.fbl-toast__btn.is-quiet { background: var(--fbl-tint-2); }
.fbl-toast__x { flex: none; inline-size: 36px; block-size: 36px; display: grid; place-items: center; background: none; border: 0; color: var(--fbl-on-faint); cursor: pointer; }
@keyframes fbl-in { from { opacity: 0; transform: translateY(8px); } }
.fbl-dialog { inline-size: min(520px, calc(100vw - 24px)); max-block-size: calc(100svh - 24px); padding: 20px; border: 0; background: var(--fbl-ink); color: var(--fbl-on);
  clip-path: var(--fbl-clip-lg); font-family: var(--fbl-body); box-shadow: inset 0 3px 0 var(--fbl-primary); }
.fbl-dialog::backdrop { background: rgba(20, 16, 50, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.fbl-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-block-end: 14px; }
.fbl-dialog .fbl-h3 { font: 400 24px/1.1 var(--fbl-display); letter-spacing: .01em; text-transform: uppercase; margin: 0; color: var(--fbl-on); }
.fbl-dialog[dir="rtl"] .fbl-h3 { font-weight: 700; text-transform: none; }
.fbl-dialog .fbl-iconbtn { background: var(--fbl-tint); color: var(--fbl-on); border-color: var(--fbl-line); }
.fbl-dialog__card { inline-size: 100%; block-size: auto; max-block-size: 46svh; object-fit: contain; border-radius: var(--fbl-r); background: var(--fbl-night); }
.fbl-dialog__link { display: flex; gap: 8px; margin-block: 14px; }
.fbl-input { flex: 1; min-inline-size: 0; min-block-size: var(--fbl-touch); padding: 0 12px; border: 1px solid var(--fbl-line-strong); background: var(--fbl-night); color: var(--fbl-on);
  font: 600 14px var(--fbl-body); border-radius: var(--fbl-r-sm); direction: ltr; }
.fbl-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fbl-dialog p { margin: 12px 0 0; font-size: 13px; color: var(--fbl-on-muted); }

/* full screen (iPhone has no element full screen: a fixed overlay) */
.fbl-studio:fullscreen, .fbl-studio.is-fullscreen { block-size: 100svh; max-block-size: none; }
.fbl-studio.is-fullscreen { position: fixed; inset: 0; z-index: 1050; }
html.fbl-locked, html.fbl-locked body { overflow: hidden !important; }

/* --------------------------------------------------------------- tablet */
@media (max-width: 1099.98px) {
  .fbl-studio { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(340px, 58svh) minmax(0, auto); grid-template-areas: "bar" "stage" "panel"; block-size: auto; max-block-size: none; }
  .fbl-panel { border-inline-start: 0; border-block-start: 1px solid var(--fbl-line); max-block-size: 64svh; }
  /* (the dock keeps the score and the compatibility: power and FPS are in the sections; the PC Builder
     button keeps its icon, its name still read out) */
  .fbl-stat--power, .fbl-stat--fps { display: none; }
  .fbl-cta #fbl-pcb-btn { font-size: 0; gap: 0; padding-inline: 15px; }
  .fbl-cta #fbl-pcb-btn .fbl-ico { inline-size: 20px; block-size: 20px; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 767.98px) {
  .fbl-page { --fbl-gutter: 16px; --fbl-dock-h: 72px; }
  .fbl-crumbs { display: none; }
  .fbl-bar { padding-block: 10px; gap: 10px; }
  #wrapwrap .fbl-page .fbl-bar__title { font-size: 19px !important; }
  .fbl-bar__actions .fbl-iconbtn { inline-size: 42px; block-size: 42px; }
  .fbl-studio { display: block; block-size: auto; min-block-size: 0; }
  .fbl-studio__main { display: block; position: relative; block-size: calc(100svh - var(--fbl-header) - var(--fbl-dock-h) - 62px); min-block-size: 540px; }
  .fbl-studio .fbl-stage { position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 62%; }
  .fbl-hud--views { inset-block-start: 10px; inset-inline-start: 10px; }
  .fbl-seg { min-block-size: 34px; padding: 0 11px; font-size: 11.5px; }
  .fbl-hud--tools { inset-block-start: 10px; inset-inline-end: 10px; gap: 6px; }
  .fbl-hud--tools .fbl-iconbtn { inline-size: 42px; block-size: 42px; }
  .fbl-hud--light { inset-block-end: 26px; inset-inline-start: 10px; gap: 5px; }
  .fbl-fanhint { max-inline-size: 220px; font-size: 12px; }
  .fbl-swatch { inline-size: 24px; block-size: 24px; }
  .fbl-stage__hint { display: none; }
  /* (the panel's tabs pick the parts: markers over a small model only crowd it) */
  .fbl-studio .fbl-hotspots { display: none; }
  .fbl-readout { inset-block-end: 34px; }
  .fbl-panel { position: absolute; inset-inline: 0; inset-block-end: 0; inset-block-start: calc(58% + var(--fbl-drag, 0px)); z-index: 5; border: 0; border-block-start: 1px solid var(--fbl-line);
    border-start-start-radius: 20px; border-start-end-radius: 20px; max-block-size: none; box-shadow: 0 -18px 40px -16px rgba(29, 22, 74, .45); transition: inset-block-start 320ms var(--fbl-ease); overflow: hidden; }
  .fbl-panel[data-sheet="full"] { inset-block-start: calc(9% + var(--fbl-drag, 0px)); }
  .fbl-sheet__handle { display: grid; place-items: center; block-size: 24px; flex: none; cursor: grab; touch-action: none; background: var(--fbl-soft); }
  .fbl-sheet__handle span { inline-size: 44px; block-size: 5px; border-radius: 5px; background: var(--fbl-line-input); }
  .fbl-slotbar { padding: 2px 12px 12px; }
  .fbl-slot { min-inline-size: 108px; min-block-size: 50px; }
  .fbl-slotview { padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .fbl-panel[data-sheet="peek"] .fbl-options, .fbl-panel[data-sheet="peek"] .fbl-gauge, .fbl-panel[data-sheet="peek"] .fbl-issues { display: none; }
  .fbl-dock { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "total cta"; gap: 8px; padding-block: 10px; }
  .fbl-timeline, .fbl-stats { display: none; }
  .fbl-total { justify-items: start; text-align: start; min-inline-size: 0; }
  .fbl-total__k { display: none; }
  .fbl-total__v { font-size: 24px; }
  .fbl-total__save, .fbl-total__plan, .fbl-total__vat { font-size: 11px; }
  .fbl-only-phone { display: inline-flex; }
  .fbl-cta { gap: 6px; }
  .fbl-cta .fbl-btn { padding: 0 14px; }
  .fbl-cta .fbl-btn--primary { min-block-size: 48px; padding-inline: 18px; }
  .fbl-hud--views { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  [dir="rtl"] .fbl-hud--views { -webkit-mask-image: linear-gradient(270deg, #000 85%, transparent); mask-image: linear-gradient(270deg, #000 85%, transparent); }
  .fbl-cta #fbl-pcb-btn { display: none; }
  .fbl-studio.is-sheet-full ~ .fbl-dock .fbl-only-phone { --b-bg: var(--fbl-primary); }
  .fbl-sections { padding-block: 24px 40px; gap: 14px; }
  .fbl-sec { padding: 18px 16px; }
  .fbl-scoregrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbl-fpsrow { grid-template-columns: 56px minmax(0, 1fr) 68px; }
  .fbl-fpsrow__bar { grid-column: 2 / -1; grid-row: 2; }
  .fbl-fpsrow__img { inline-size: 56px; block-size: 34px; grid-row: span 2; }
  .fbl-upgrade { grid-template-columns: 72px minmax(0, 1fr); }
  .fbl-upgrade__media img { inline-size: 72px; block-size: 72px; }
  .fbl-toasts { inset-block-end: calc(var(--fbl-dock-h) + 10px + env(safe-area-inset-bottom, 0px)); }

  /* the listing on a phone */
  .fbl-hero { padding-block: 28px 44px; }
  #wrapwrap .fbl-page .fbl-hero__title { font-size: clamp(48px, 15vw, 66px) !important; margin-block: 12px 10px !important; }
  .fbl-hero__lead { font-size: 17px; margin-block-end: 18px; }
  .fbl-flow { gap: 8px 14px; margin-block-end: 22px; font-size: 11px; }
  .fbl-hero__cta { display: grid; grid-template-columns: 1fr; }
  .fbl-hero__cta .fbl-btn { inline-size: 100%; }
  .fbl-hero__stage { margin-block-start: 4px; }
  .fbl-stage--mini { aspect-ratio: 4 / 3; max-block-size: 340px; }
  .fbl-shelf__head { margin-block-end: 16px; }
  .fbl-filters { margin-block-end: 18px; }
  /* a build card turns sideways: the picture beside the name, the parts and the price; the buttons under both */
  .fbl-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fbl-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; padding: 10px;
    grid-template-areas: "media head" "media specs" "media fps" "media price" "stock stock" "cta cta"; }
  .fbl-card__body { display: contents; }
  .fbl-card__media { grid-area: media; aspect-ratio: auto; min-block-size: 132px; border-radius: var(--fbl-r-sm); }
  .fbl-card__media img { inset: 8% 6%; inline-size: 88%; block-size: 84%; }
  .fbl-card__res, .fbl-card__3d { inset-block-start: 6px; padding: 4px 6px; font-size: 10.5px; }
  .fbl-card__res { inset-inline-start: 6px; }
  .fbl-card__3d { inset-inline-start: 6px; inset-inline-end: auto; inset-block-start: auto; inset-block-end: 6px; }
  .fbl-card__head { grid-area: head; gap: 8px; }
  #wrapwrap .fbl-page .fbl-card__name { font-size: 16px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  #wrapwrap .fbl-page[dir="rtl"] .fbl-card__name { font-size: 15px !important; }
  .fbl-card .fbl-score { --s: 38px; }
  .fbl-card .fbl-score__n { font-size: 14px; }
  .fbl-card__tagline { display: none; }
  .fbl-card__specs { grid-area: specs; grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: 12.5px; }
  .fbl-card__specs li:nth-child(n + 3) { display: none; }
  .fbl-card__fps { grid-area: fps; padding: 6px 8px; gap: 6px; }
  .fbl-card__fps-n { font-size: 20px; }
  .fbl-card__fps-l { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .fbl-card__price { grid-area: price; gap: 2px; margin: 0; }
  .fbl-card__now { font-size: 22px; }
  .fbl-card__was { font-size: 12px; gap: 6px; }
  .fbl-card__from { display: none; }
  .fbl-stock { grid-area: stock; font-size: 10.5px; padding: 4px 9px; }
  .fbl-card__cta { grid-area: cta; }
  .fbl-more { margin-block-start: 20px; }
  .fbl-how__grid { gap: 12px; }
  .fbl-how__item { padding: 20px 18px 22px; }
}
/* (the cart button's label where the card is wide enough for both buttons: the sideways phone card) */
@media (min-width: 400px) and (max-width: 767.98px) {
  .fbl-card__cart .fbl-btn span { display: inline; }
}
@media (max-width: 430px) {
  .fbl-btn--customize { padding: 0; inline-size: var(--fbl-touch); }
  .fbl-btn--customize .fbl-btn__l { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ------------------------------------------- the PC Builder page bridge */
.fbl-pcb-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-block-start: 10px; }
.fbl-pcb-btn { --c: var(--feeh-primary, #5c47de); display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-block-size: 46px; padding: 0 16px; border: 0;
  background: var(--c); color: #fff; font: 800 13px var(--feeh-font-body, 'Inter', 'Tajawal', sans-serif); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: background-color 200ms ease; }
[dir="rtl"] .fbl-pcb-btn, html[lang^="ar"] .fbl-pcb-btn { letter-spacing: 0; text-transform: none; font-size: 15px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.fbl-pcb-btn:hover { background: var(--feeh-primary-deep, #4633c4); color: #fff; }
.fbl-pcb-btn:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.fbl-pcb-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--feeh-primary, #5c47de); text-decoration: underline; text-underline-offset: 3px; }
html[lang^="ar"] .fbl-pcb-link { color: var(--feeh-primary-on-dark, #b9aefc); }
.fbl-pcbview { position: fixed; z-index: 1030; inset-block: 96px 16px; inset-inline-end: 16px; inline-size: min(520px, 42vw); display: flex; flex-direction: column; background: var(--fbl-ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), inset 0 3px 0 var(--fbl-primary); clip-path: var(--fbl-clip-lg); transform: translateX(12px); opacity: 0; transition: all 260ms var(--fbl-ease); color: var(--fbl-on); }
.fbl-pcbview[hidden] { display: none; }
.fbl-pcbview.is-open { transform: none; opacity: 1; }
.fbl-pcbview__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-block-end: 1px solid var(--fbl-line); }
.fbl-pcbview__title { display: flex; gap: 8px; align-items: center; flex: 1; font: 400 18px var(--fbl-display); letter-spacing: .02em; text-transform: uppercase; }
.fbl-pcbview .fbl-iconbtn { background: var(--fbl-tint); color: var(--fbl-on); border-color: var(--fbl-line); }
.fbl-stage--dock { flex: 1; min-block-size: 0; }
.fbl-pcbview__status { padding: 8px 14px; font-size: 13px; color: var(--fbl-on-muted); min-block-size: 34px; }
.fbl-pcb-banner { position: fixed; z-index: 1035; inset-block-start: 16px; inset-inline-start: 50%; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--fbl-ink); color: #fff;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), inset 0 2px 0 var(--fbl-primary); clip-path: var(--fbl-clip); font: 700 14px var(--feeh-font-body, 'Inter', sans-serif); }
@media (max-width: 767.98px) {
  .fbl-pcbview { inset-inline: 0; inset-block: auto 0; inline-size: 100%; block-size: 58svh; clip-path: none; border-start-start-radius: 18px; border-start-end-radius: 18px; transform: translateY(16px); }
}

/* ------------------------------------------------- the theme's own colours
   The theme colours every section, paragraph, list item and table cell itself
   (#wrapwrap section; #wrapwrap p, li, td: one id heavier than a class), which
   left the Build Lab's text in the theme's grey on its dark showcases and its
   status colours (stock, issues, savings) in ink. Inside the Build Lab the
   surface and the component decide. */
#wrapwrap .fbl-page section { color: var(--fbl-on); }
#wrapwrap .fbl-page .fbl-hero__lead, #wrapwrap .fbl-page .fbl-how__item p, #wrapwrap .fbl-page .fbl-muted,
#wrapwrap .fbl-page .fbl-opt__note, #wrapwrap .fbl-page .fbl-photo__note, #wrapwrap .fbl-page .fbl-empty { color: var(--fbl-on-muted); }
#wrapwrap .fbl-page .fbl-note, #wrapwrap .fbl-page .fbl-shelf__head .fbl-muted, #wrapwrap .fbl-page .fbl-card__tagline,
#wrapwrap .fbl-page .fbl-slotview__head p, #wrapwrap .fbl-page .fbl-options__count, #wrapwrap .fbl-page .fbl-loader__steps li { color: var(--fbl-on-faint); }
#wrapwrap .fbl-page .fbl-loader__steps li.is-done, #wrapwrap .fbl-page .fbl-issue__msg { color: var(--fbl-on); }
#wrapwrap .fbl-page .fbl-stock--in_stock, #wrapwrap .fbl-page .fbl-ok { color: var(--fbl-ok); }
#wrapwrap .fbl-page .fbl-stock--low { color: var(--fbl-warn); }
#wrapwrap .fbl-page .fbl-stock--out { color: var(--fbl-on-faint); }
#wrapwrap .fbl-page .fbl-issue.is-error { color: var(--fbl-danger-text); }
#wrapwrap .fbl-page .fbl-issue.is-warning { color: var(--fbl-warn); }
#wrapwrap .fbl-page .fbl-issue.is-info { color: var(--fbl-on-muted); }
#wrapwrap .fbl-page :is(.fbl-lines, .fbl-spec-table) :is(th, td) { color: var(--fbl-on); }
#wrapwrap .fbl-page :is(.fbl-lines, .fbl-spec-table) th { color: var(--fbl-on-muted); }
#wrapwrap .fbl-page .fbl-lines__sub :is(th, td) { color: var(--fbl-on-faint); }
#wrapwrap .fbl-page .fbl-lines__total th { color: var(--fbl-on); }
#wrapwrap .fbl-page .fbl-lines__total td { color: var(--fbl-primary); }
#wrapwrap .fbl-page .fbl-lines__save :is(th, td) { color: var(--fbl-ok); }

/* The theme keeps 125 px free under every page on a phone for the bundle page's fixed bar
   (feeh-endgame-bundle.css: body { padding-bottom: 125px !important }). The body is the scroller,
   so on Build Lab pages, which have no such bar, that space lifted the studio's sticky dock 125 px
   off the bottom of the screen, over the parts sheet. The theme's scroll-to-top button would sit on
   the dock: the studio has its own way back up (the dock's parts button, the tabs). */
html body:has(.fbl-page) { padding-bottom: 0 !important; }
body:has(.fbl-studio-page) .hb-scrolltop { display: none !important; }

/* -------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fbl-page *, .fbl-toasts *, .fbl-dialog, .fbl-pcbview { animation: none !important; transition-duration: 1ms !important; }
  .fbl-hotspot__ring::before { display: none; }
}
@media (forced-colors: active) {
  .fbl-btn, .fbl-card, .fbl-sec, .fbl-current, .fbl-toast, .fbl-dialog, .fbl-readout, .fbl-loader, .fbl-how__item, .fbl-continue { clip-path: none; border: 1px solid CanvasText; }
  .fbl-score { background: Canvas; border: 2px solid CanvasText; }
}
