/* =========================================================
   ORIENT — Gold & Metal Detectors · Design System
   Arabic: Cairo · English: Oxanium (display) + Roboto (text)
   Light theme by default (pure white). ".dark" = photo areas + footer.
   Mobile-first · RTL/LTR via logical properties
   ========================================================= */

:root {
  --fs-min: 0px;
  /* light (default) */
  --bg: #ffffff;
  --bg2: #ffffff;
  --card: #ffffff;
  --card2: #ffffff;
  --line: rgba(17, 17, 17, .09);
  --line2: rgba(17, 17, 17, .16);
  --text: #000000;
  --body: #000000;
  --muted: #000000;
  --dim: #000000;
  /* accent text is red (was gold) */
  --g1: #b3121b;
  --g2: #d01f2b;
  --grad-text: linear-gradient(120deg, #e0262f 0%, #b3121b 52%, #e5393f 100%);
  --chip-bg: #ffffff;
  --glass: #ffffff;
  --glass-h: #ffffff;
  --glass-line: rgba(17, 17, 17, .12);
  --card-bg: #ffffff;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 40px -24px rgba(40, 28, 0, .35);
  --tile-bg: #0d0d0f;
  --logo-filter: none;
  --logo-chip: #0d0d0f;
  /* brand */
  --gold: #e5262f;
  --grad-gold: linear-gradient(135deg, #e5262f 0%, #c4141d 55%, #a50f17 100%);
  --wa: #25d366;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --pad: clamp(18px, 5vw, 56px);
  --maxw: 1320px;
  --hdr: 64px;
  --hdr-t: calc(var(--hdr) + env(safe-area-inset-top));
  --ease: cubic-bezier(.22, .8, .2, 1);
  --f-body: "Roboto", "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --f-disp: "Oxanium", "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --fade: linear-gradient(to right, transparent 0, #000 24%);
  color-scheme: light;
}
.dark {
  --bg: #0a0a0b;
  --bg2: #0f0f11;
  --card: #141417;
  --card2: #1b1b1f;
  --line: rgba(255, 255, 255, .1);
  --line2: rgba(255, 255, 255, .2);
  --text: #ffffff;
  --body: #ffffff;
  --muted: #ffffff;
  --dim: #ffffff;
  --g1: #ff6b6b;
  --g2: #ff4d4d;
  --grad-text: linear-gradient(120deg, #ff8a80 0%, #ff3b3b 45%, #ff6e6e 100%);
  --chip-bg: rgba(255, 255, 255, .07);
  --glass: rgba(255, 255, 255, .1);
  --glass-h: rgba(255, 255, 255, .18);
  --glass-line: rgba(255, 255, 255, .22);
  --card-bg: linear-gradient(180deg, #141417, #0c0c0e);
  --card-shadow: none;
  --tile-bg: linear-gradient(160deg, #18181c, #111114);
  --logo-filter: none;
  --logo-chip: #23232a;
  color-scheme: dark;
  color: var(--text);
}
[dir="rtl"] { --fade: linear-gradient(to left, transparent 0, #000 24%); }
@media (min-width: 1024px) { :root {
  --fs-min: 0px; --hdr: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 16px);
  background: #ffffff;
}
body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: var(--text);
  font: 400 max(var(--fs-min), 1rem)/1.8 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="en"] body { line-height: 1.65; }
body:has(.menu:popover-open), body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-disp);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 .5em;
  text-wrap: balance;
}
html[lang="en"] :is(h1, h2) { letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
bdi { unicode-bidi: isolate; direction: ltr; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--gold); color: #ffffff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; z-index: 200; inset-inline-start: 12px; top: -80px;
  padding: 10px 16px; border-radius: 12px; background: var(--gold); color: #ffffff; font-weight: 700;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top)); }

.container { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.container.narrow { max-width: 860px; }
.bg-white { background: #ffffff; }
.dark.section, section.dark, footer.dark { background-color: var(--bg); }

/* ---------- Icons ---------- */
.ic {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ic-fill { fill: currentColor; stroke: none; }
[dir="rtl"] .ic-dir { transform: scaleX(-1); }
[dir="ltr"] .ic-rev { transform: scaleX(-1); }

/* ---------- Type helpers ---------- */
.gold-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font: 700 max(var(--fs-min), .78rem)/1.2 var(--f-disp);
  letter-spacing: .2em; text-transform: capitalize;
  color: var(--g2);
}
.eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--grad-text); flex: none; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: max(var(--fs-min), .95rem); }
.h-sm { font-size: max(var(--fs-min), clamp(1.45rem, 4.6vw, 2.1rem)); margin-bottom: 22px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: max(var(--fs-min), 1rem); line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s, background-color .3s, border-color .3s, color .3s, background-position .6s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
html[lang="en"] .btn { font-family: var(--f-disp); text-transform: capitalize; letter-spacing: .04em; font-size: max(var(--fs-min), .92rem); }
.btn:active { transform: scale(.97); }
.btn .ic { width: 20px; height: 20px; }
.btn-gold {
  background: var(--grad-gold); background-size: 170% 100%; background-position: 0 0;
  color: #ffffff;
  box-shadow: 0 14px 34px -14px rgba(229, 38, 47, .75), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-gold:hover { background-position: 100% 0; }
.btn-glass {
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--text);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-glass:hover { background: var(--glass-h); }
.btn-wa { background: var(--wa); color: #042512; box-shadow: 0 14px 34px -16px rgba(37, 211, 102, .7); }
.btn-wa:hover { background: #2fe374; }
.btn-ghost { border: 1px solid var(--line2); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--g2); color: var(--g1); }
.btn.sm { --h: 42px; padding: 0 16px; font-size: max(var(--fs-min), .9rem); }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%; color: var(--text);
  background: var(--glass); border: 1px solid var(--glass-line);
  transition: background-color .25s, transform .25s var(--ease);
}
.icon-btn:hover { background: var(--glass-h); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.wa { background: var(--wa); color: #042512; border-color: transparent; }
.icon-btn.sm { width: 42px; height: 42px; }
.icon-btn.menu-btn.is-active { background: var(--grad-gold); color: #ffffff; border-color: transparent; }

/* ---------- Header: white bar, separate from the slider ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, #000000 0%, #121214 62%, #1e1e22 100%);
  border-bottom: 1px solid rgba(229, 38, 47, .28);
  color: #ffffff;
  transition: box-shadow .4s;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .6); }
.hdr-in {
  height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto;
}
.hdr-side { display: flex; align-items: center; gap: 4px; min-width: 0; }
.hdr-menu-side { justify-content: flex-end; }
[dir="ltr"] .hdr-lang-side { order: 3; flex-direction: row-reverse; justify-content: flex-start; }
[dir="ltr"] .hdr-menu-side { order: 1; flex-direction: row-reverse; justify-content: flex-end; }
[dir="ltr"] .logo { order: 2; }
.logo { justify-self: center; display: block; }
.logo img { height: 46px; width: auto; }
.hdr-nav { display: none; align-items: center; gap: 2px; }
.hdr-nav a, .hdr-link {
  padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: max(var(--fs-min), 1.12rem); white-space: nowrap;
  color: #ffffff; transition: background-color .2s, color .2s;
}
.hdr-nav a:hover, .hdr-link:hover { background: rgba(255, 255, 255, .12); color: #ffffff; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 42px; padding-inline: 11px 14px; border-radius: 999px;
  border: 1px solid rgba(229, 38, 47, .55);
  background: linear-gradient(180deg, rgba(229, 38, 47, .18), rgba(229, 38, 47, .06));
  color: var(--g1); font: 700 max(var(--fs-min), .88rem)/1 var(--f-disp);
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.lang-btn:hover { border-color: var(--g2); background: rgba(229, 38, 47, .24); }
.lang-btn:active { transform: scale(.96); }
.lang-btn .ic { width: 21px; height: 21px; color: var(--g2); stroke-width: 1.6; }
/* language switch: globe + language in use; tap opens a list (Arabic / English) */
.lang-dd { position: relative; flex: none; }
.lang-dd > summary { list-style: none; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.lang-dd > summary::-webkit-details-marker { display: none; }
.lang-btn { gap: 6px; padding-inline: 10px 9px; }
.lang-btn .ic { width: 20px; height: 20px; }
.lang-btn .lang-chev { width: 14px; height: 14px; stroke-width: 2.4; transform: rotate(90deg); transition: transform .25s var(--ease); }
.lang-dd[open] .lang-chev { transform: rotate(-90deg); }
.lang-dd[open] > .lang-btn { border-color: var(--g2); background: rgba(229, 38, 47, .24); }
.lang-cur { white-space: nowrap; }
.lang-long { display: none; }
@media (min-width: 400px) { .lang-long { display: inline; } .lang-short { display: none; } }
.lang-list {
  position: absolute; z-index: 90; top: calc(100% + 8px); right: 0; left: auto; min-width: 172px; max-width: calc(100vw - 24px);
  list-style: none; margin: 0; padding: 6px; border-radius: 16px; background: #ffffff;
  border: 1px solid rgba(17, 17, 17, .08); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .45);
}
.lang-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 12px;
  color: #000000; font-weight: 700; font-size: max(var(--fs-min), 1rem); text-decoration: none; white-space: nowrap;
}
a.lang-opt:hover, a.lang-opt:focus-visible { background: #ffffff; outline: none; }
.lang-opt.is-current { color: var(--g1); background: #ffffff; }
.lang-opt .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.lang-opt[lang="ar"] { font-family: var(--f-ar, inherit); }
@media (min-width: 1024px) { .logo img { height: 56px; } }
@media (min-width: 1240px) { .hdr-nav { display: flex; } }

/* ---------- Menu (popover) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  /* no backdrop-filter / transform here: they would trap the fixed bottom bar inside the scrolling menu */
  background: #ffffff; color: var(--text);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu:popover-open { display: block; animation: menuIn .35s var(--ease); }
.menu.is-open { display: block; }
.menu::backdrop { background: transparent; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.menu-in {
  width: min(100% - 2 * var(--pad), 1200px); margin-inline: auto;
  padding: 0 0 calc(120px + env(safe-area-inset-bottom));
}
@media (min-width: 1080px) { .menu-in { padding-bottom: 48px; } }
.menu::backdrop { background: transparent; }
.menu-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.menu-quick li:first-child { flex-basis: 100%; }
.menu-quick li:first-child .btn { width: 100%; --h: 52px; font-size: max(var(--fs-min), 1.05rem); }
.menu-quick .btn { --h: 44px; padding: 0 16px; font-size: max(var(--fs-min), .92rem); }
.menu-top { position: sticky; top: 0; z-index: 3; }
.menu-h {
  margin: 26px 0 14px; color: var(--g2);
  font: 700 max(var(--fs-min), .8rem)/1.2 var(--f-disp); letter-spacing: .16em; text-transform: capitalize;
}
html[lang="ar"] .menu-h { letter-spacing: 0; font-size: max(var(--fs-min), 1rem); }
.menu-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-brands a {
  display: inline-flex; align-items: center; gap: 10px;
  padding-block: 6px; padding-inline: 6px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: max(var(--fs-min), .92rem);
  box-shadow: var(--card-shadow);
  transition: border-color .2s;
}
.menu-brands a:hover { border-color: var(--g2); }
.menu-brands small { color: var(--dim); font-size: max(var(--fs-min), .78rem); }
.mb-logo {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none;
  display: block; background: var(--logo-chip);
}
.mb-logo img { width: 100%; height: 100%; object-fit: cover; }
.mb-logo.txt { display: grid; place-items: center; font: 700 max(var(--fs-min), .8rem)/1 var(--f-disp); color: var(--g1); }
.menu-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 720px) { .menu-links { grid-template-columns: repeat(4, 1fr); } }
.menu-links a {
  display: block; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  font-weight: 600; transition: border-color .2s;
}
.menu-links a:hover { border-color: var(--g2); }
.menu-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Tiles (systems with photos) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1080px) { .tiles { grid-template-columns: repeat(4, 1fr); } .menu-tiles { grid-template-columns: repeat(5, 1fr); } }
.tile {
  position: relative; isolation: isolate; display: block; overflow: hidden; color: #ffffff;
  aspect-ratio: 1 / 1.12; border-radius: 20px; background: #050506;
  box-shadow: var(--card-shadow);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -24px rgba(160, 110, 10, .55); }
.tile img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; transition: transform .8s var(--ease);
}
.tile img.crop { inset: auto 0 0 0; height: 124%; object-position: 50% 100%; }
.tile:hover img { transform: scale(1.07); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 6%, rgba(0, 0, 0, .3) 52%, rgba(0, 0, 0, .02));
}
.tile span { position: absolute; inset: auto 12px 12px; display: grid; gap: 2px; }
.tile b { font-size: max(var(--fs-min), clamp(.92rem, 3.4vw, 1.08rem)); line-height: 1.4; font-weight: 800; color: #ffffff; }
.tile small { font-size: max(var(--fs-min), .8rem); color: #ff8a8a; }

/* ---------- Duo media (full-screen photo; desktop = sharp portrait + blurred backdrop) ---------- */
.duo { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #050506; }
.duo-bg { display: none; }
.duo-fg { position: absolute; inset: 0; width: 100%; height:100% !important; max-width: none; object-fit: cover; }
.duo.crop .duo-fg { inset: auto 0 0 0; height: 124%; object-position: 50% 100%; }
@media (min-width: 1024px) {
  .duo-bg {
    display: block; position: absolute; inset: -80px; width: calc(100% + 160px); height: calc(100% + 160px); max-width: none;
    object-fit: cover; filter: blur(42px) brightness(.36) saturate(1.3);
  }
  .duo-fg, .duo.crop .duo-fg {
    inset-block: 0; inset-inline-start: auto; inset-inline-end: 0;
    width: min(58%, 96vh); height: 100%;
    -webkit-mask-image: var(--fade); mask-image: var(--fade);
  }
  .duo.crop .duo-fg { inset-block: auto 0; height: 124%; }
}

/* ---------- Hero slider (dark, starts below the header) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: calc(100vh - var(--hdr-t)); min-height: calc(100svh - var(--hdr-t));
  background: #000; touch-action: pan-y;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; isolation: isolate; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-active { opacity: 1; }
.slide .duo-fg { transform: scale(1.1); transform-origin: 50% 70%; transition: transform 8s linear; }
.slide.is-active .duo-fg { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 11, .25) 0%, rgba(10, 10, 11, 0) 14%, rgba(10, 10, 11, 0) 50%, rgba(10, 10, 11, .72) 74%, rgba(10, 10, 11, .95) 100%);
}
.hero-bars {
  position: absolute; z-index: 3; inset-inline: var(--pad); top: 10px;
  display: flex; gap: 6px; max-width: var(--maxw); margin-inline: auto;
}
.hero-bars button { position: relative; flex: 1; height: 18px; }
.hero-bars button::before, .hero-bars i {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px;
}
.hero-bars button::before { width: 100%; background: rgba(255, 255, 255, .3); }
.hero-bars i { width: 0; background: #ffffff; }
.hero-bars .is-done i { width: 100%; }
.hero-bars .is-active i { animation: bar 6.5s linear forwards; }
.hero:is(:hover, .is-paused) .hero-bars .is-active i { animation-play-state: paused; }
@keyframes bar { from { width: 0; } to { width: 100%; } }
.hero-content { position: relative; z-index: 2; padding: 56px 0 calc(114px + env(safe-area-inset-bottom)); }
.hero-box { max-width: 680px; }
.hero-title {
  font-size: max(var(--fs-min), clamp(2rem, 8.8vw, 3.9rem)); line-height: 1.08; margin: 0 0 10px; color: #ffffff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
html[lang="ar"] .hero-title { line-height: 1.22; font-weight: 900; }
html[lang="en"] .hero-title { text-transform: capitalize; line-height: 1; letter-spacing: -.02em; }
.hero-title .gold-text { display: inline-block; text-shadow: none; filter: drop-shadow(0 8px 30px rgba(229, 38, 47, .25)); }
.hero-lead { font-size: max(var(--fs-min), clamp(.95rem, 3.4vw, 1.14rem)); line-height: 1.7; color: #ffffff; max-width: 56ch; margin-bottom: 16px; text-shadow: 0 2px 14px rgba(0, 0, 0, .65); }
.hero-caps a { text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 767px) {
  .hero .hero-cta, .page-hero .hero-cta { display: grid; grid-template-columns: 1fr 1fr; }
  .hero .hero-cta .btn, .page-hero .hero-cta .btn { --h: 50px; padding: 0 10px; font-size: max(var(--fs-min), .95rem); gap: 8px; }
}
.founded {
  display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0;
  padding-block: 8px; padding-inline: 12px 16px; border-radius: 999px;
  background: rgba(229, 38, 47, .14); border: 1px solid rgba(229, 38, 47, .5);
  color: #ffffff; font-weight: 700; font-size: max(var(--fs-min), .93rem); line-height: 1.3;
}
.founded .ic { width: 20px; height: 20px; color: #ff3b3b; }
.hero-chips { display: none; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-hero .hero-chips { display: flex; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; font-size: max(var(--fs-min), .82rem); font-weight: 600; color: #ffffff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-chips .ic { width: 16px; height: 16px; color: #ff3b3b; }
.hero-caps { position: relative; display: grid; margin-top: 12px; }
.hero-caps li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .6s, transform .6s var(--ease), visibility .6s; }
.hero-caps li.is-active { opacity: 1; visibility: visible; transform: none; }
.hero-caps a { display: inline-flex; align-items: center; gap: 8px; font-size: max(var(--fs-min), .86rem); color: #ffffff; }
.hero-caps a:hover .cap-n { color: #ff8a8a; }
.cap-k { color: #ff5a5a; font-weight: 700; white-space: nowrap; }
.hero-caps a { display: block; line-height: 1.55; }
.hero-caps a .cap-k { margin-inline-end: 8px; }
.hero-caps a .ic { display: inline-block; vertical-align: -3px; margin-inline-start: 6px; }
.cap-k::after { content: "·"; margin-inline-start: 8px; color: #ffffff; }
.hero-caps .ic { width: 16px; height: 16px; }
@media (max-width: 420px) { .page-hero .hero-chips li:nth-child(n+3) { display: none; } }
@media (min-width: 1024px) {
  .hero { justify-content: center; }
  .hero::after { background: linear-gradient(180deg, transparent 0%, transparent 72%, rgba(10, 10, 11, .9) 100%); }
  .hero-content { padding: 70px 0; }
  .hero-box { max-width: 46%; }
  .hero-title { font-size: max(var(--fs-min), clamp(3.4rem, 5.2vw, 5.6rem)); }
  .hero-chips { display: flex; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(64px, 11vw, 128px); }
.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 18px 32px; margin-bottom: clamp(26px, 4vw, 44px);
}
.sec-head h2, .sys-intro h2, .about h2, .countries h2, .finder h2 {
  font-size: max(var(--fs-min), clamp(1.65rem, 6.2vw, 3.2rem)); margin: 0; max-width: 22ch;
}
.sec-lead { color: var(--muted); max-width: 62ch; font-size: max(var(--fs-min), clamp(1rem, 2.8vw, 1.12rem)); margin: 14px 0 0; }
.rail-nav { display: none; gap: 8px; }
@media (hover: hover) and (min-width: 900px) { .rail-nav { display: flex; } }

/* ---------- Rails & cards ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--pad), (100% - var(--maxw)) / 2);
  scroll-padding-inline: max(var(--pad), (100% - var(--maxw)) / 2);
  padding-block: 8px 26px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 540px) { .rail { grid-auto-columns: calc((100% - 14px) / 2.15); } }
@media (min-width: 1080px) { .rail { grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; } }

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 540px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card[hidden] { display: none; }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card-bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--card-shadow);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(229, 38, 47, .45); box-shadow: 0 34px 70px -36px rgba(160, 110, 10, .55); }
.card-media { position: relative; display: flex; flex-direction: column; background: #ffffff url("../img/tech-bg.svg") center / cover no-repeat; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-media .pimg { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: 50% 50%; padding: 9% 8% 10%; transform-origin: 50% 50%; transition: transform .9s var(--ease); }
.card:hover .card-media .pimg { transform: scale(1.05); }
.badge {
  position: absolute; inset-inline-start: 12px; bottom: 12px;
  padding: 6px 12px; border-radius: 999px; font-size: max(var(--fs-min), .76rem); font-weight: 800; line-height: 1.3;
  background: var(--grad-gold); color: #ffffff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6);
}
.badge.new { background: #ffffff; color: #000000; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.card-brand { margin: 0; font-size: max(var(--fs-min), .8rem); color: var(--muted); }
.card-title { margin: 0; line-height: 1.2; }
.card-title .pfx { display: block; margin-bottom: 4px; font: 700 max(var(--fs-min), .82rem)/1.4 var(--f-body); color: var(--g2); }
html[lang="en"] .card-title .pfx { font-family: var(--f-disp); text-transform: capitalize; letter-spacing: .12em; font-size: max(var(--fs-min), .72rem); }
.card-title .model { display: block; font: 800 max(var(--fs-min), clamp(1.25rem, 5vw, 1.45rem))/1.15 var(--f-disp); text-transform: capitalize; letter-spacing: .01em; color: var(--text); }
@media (min-width: 1080px) { .card-title .model { font-size: max(var(--fs-min), 1.3rem); } }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.card-specs li {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  font-size: max(var(--fs-min), .76rem); color: var(--body); background: var(--chip-bg); border: 1px solid var(--line);
}
.card-specs .ic { width: 14px; height: 14px; color: var(--g2); }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { margin: 0; margin-inline-end: auto; font: 800 max(var(--fs-min), 1.4rem)/1 var(--f-disp); color: var(--g1); }
.card-foot .btn, .card-foot .icon-btn { position: relative; z-index: 2; }
html[dir="rtl"] .model { text-align: right; }
html[lang="ar"] .model { text-transform: uppercase; }

/* ---------- Maker logo on product photos (replaces the printed name banner) ---------- */
.maker-logo {
  position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px;
  display: block; width: 100px; height: 64px; border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.maker-logo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(0) invert(1); }
.maker-logo.txt { display: grid; place-items: center; width: auto; padding: 0 16px; font: 800 max(var(--fs-min), .95rem)/1 var(--f-disp); color: #ffffff; letter-spacing: .04em; }
.pdp-media .maker-logo { top: 18px; inset-inline-start: 18px; width: 128px; height: 82px; border-radius: 18px; }

/* ---------- Systems: full-screen stacked panels (dark) ---------- */
#best { padding-bottom: clamp(20px, 4vw, 44px); }
.sys-intro { padding-top: clamp(26px, 5vw, 52px); padding-bottom: clamp(28px, 5vw, 56px); text-align: center; }
.sys-intro .container { display: flex; flex-direction: column; align-items: center; }
.sys-intro .eyebrow, html[lang="ar"] .sys-intro .eyebrow, html[lang="en"] .sys-intro .eyebrow {
  gap: clamp(10px, 2.6vw, 22px); margin: 0 0 12px; white-space: nowrap;
  font: 900 max(var(--fs-min), clamp(2.2rem, 10.6vw, 5.4rem))/1.2 var(--f-disp); letter-spacing: 0;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.sys-intro .eyebrow::before, .sys-intro .eyebrow::after {
  content: ""; flex: none; width: clamp(18px, 5.5vw, 90px); height: 4px; border-radius: 4px; background: var(--grad-gold);
}
.sys-intro h2 { margin-inline: auto; font-size: max(var(--fs-min), clamp(1.3rem, 5vw, 2.3rem)); max-width: 26ch; }
.sys-intro .sec-lead { margin-inline: auto; }
/* search systems: clean grid of photo cards (1 per row on phones, 2 on tablets, 3 on desktop) */
.sys-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: clamp(30px, 6vw, 64px); }
@media (min-width: 720px) { .sys-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1080px) { .sys-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.sys-card { position: relative; border-radius: 26px; overflow: hidden; background: #000000; box-shadow: 0 24px 46px -28px rgba(0, 0, 0, .55); }
.sys-link { position: relative; display: block; aspect-ratio: 5 / 4; color: #ffffff; text-decoration: none; isolation: isolate; }
@media (min-width: 1080px) { .sys-link { aspect-ratio: 4 / 5; } }
.sys-media { position: absolute; inset: 0; z-index: -2; }
.sys-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.1s var(--ease); }
.sys-link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, .78) 72%, rgba(0, 0, 0, .94) 100%); }
.sys-link:hover .sys-media img, .sys-link:focus-visible .sys-media img { transform: scale(1.06); }
.sys-body { position: absolute; inset: auto 0 0; display: grid; gap: 6px; padding: 18px 18px 20px; }
.sys-num { justify-self: start; display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); font: 800 max(var(--fs-min), 1rem)/1 var(--f-disp); color: #ffffff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sys-name { font-size: max(var(--fs-min), clamp(1.35rem, 5.4vw, 1.75rem)); font-weight: 800; line-height: 1.3; color: #ffffff; }
.sys-text { color: #ffffff; font-size: max(var(--fs-min), .98rem); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sys-go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 18px; border-radius: 999px; background: var(--grad-gold); color: #ffffff; font-weight: 800; font-size: max(var(--fs-min), .95rem); }
.sys-go .ic { width: 18px; height: 18px; }
.sys-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 18px; }
.sys-thumbs { display: flex; }
.sys-thumbs img {
  width: 50px; height: 54px; object-fit: cover; object-position: 50% 100%; border-radius: 12px; background: #0a0a0a;
  border: 2px solid #0b0b0c; margin-inline-start: -14px;
}
.sys-thumbs img:first-child { margin-inline-start: 0; }
.sys-count { margin: 0; display: grid; font-weight: 800; line-height: 1.4; color: #ffffff; }
.sys-count span { font-weight: 500; font-size: max(var(--fs-min), .86rem); color: #ffffff; }

/* ---------- Finder ---------- */
.finder {
  position: relative; overflow: hidden;
  padding: clamp(22px, 5vw, 52px); border-radius: 32px; border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(229, 38, 47, .18), transparent 55%),
    var(--bg2);
  box-shadow: var(--card-shadow);
}
.finder-head { margin-bottom: 26px; }
.f-group { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.f-group legend { font-weight: 800; margin-bottom: 12px; padding: 0; }
.f-opts {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(-1 * clamp(22px, 5vw, 52px)); padding-inline: clamp(22px, 5vw, 52px); padding-bottom: 4px;
}
.f-opts::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .f-opts { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.f-opt { position: relative; flex: none; }
.f-opt input { position: absolute; opacity: 0; pointer-events: none; }
.f-opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line2); background: var(--chip-bg); font-weight: 600; font-size: max(var(--fs-min), .92rem); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.f-opt span:hover { border-color: var(--g2); }
.f-opt input:checked + span { background: var(--grad-gold); color: #ffffff; border-color: transparent; }
.f-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.f-count { margin: 8px 0 14px; font-weight: 700; color: var(--g1); }
.f-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .f-out { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .f-out { grid-template-columns: repeat(6, 1fr); } }
.mini {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transition: border-color .25s, transform .35s var(--ease);
}
.mini:hover { border-color: var(--g2); transform: translateY(-3px); }
.mini img { aspect-ratio: 1 / 1; width: 100%; object-fit: contain; object-position: 50% 50%; padding: 10%; background: transparent; }
.mini b { padding: 10px 12px 2px; font-size: max(var(--fs-min), .86rem); line-height: 1.45; }
.mini span { padding: 0 12px 12px; font: 800 max(var(--fs-min), 1rem)/1.2 var(--f-disp); color: var(--g1); }
.f-empty { grid-column: 1 / -1; padding: 22px; border-radius: 18px; border: 1px dashed var(--line2); color: var(--muted); margin: 0; }
.f-more { margin-top: 18px; }

/* ---------- Smart finder inside the menu (dark card, gold accents) ---------- */
.mf {
  position: relative; margin: 22px 0 6px; padding: 20px 16px 18px; border-radius: 26px; color: #ffffff;
  background: radial-gradient(120% 90% at 100% 0%, rgba(229, 38, 47, .2), transparent 55%), linear-gradient(160deg, #1d1d22 0%, #0b0b0d 60%, #000000 100%);
  border: 1px solid rgba(229, 38, 47, .45); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .6);
  scroll-margin-top: calc(var(--hdr-t) + 14px);
}
.mf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mf-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-gold); color: #ffffff; box-shadow: 0 10px 24px -10px rgba(229, 38, 47, .8); }
.mf-ic .ic { width: 28px; height: 28px; }
.mf-head h2 { margin: 0; font-size: max(var(--fs-min), 1.35rem); line-height: 1.3; color: #ffffff; }
.mf-head p { margin: 3px 0 0; font-size: max(var(--fs-min), .92rem); line-height: 1.6; color: #ffffff; }
.mf-form { margin: 0; }
.mf-group { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.mf-group legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px; font-weight: 800; color: #ffffff; }
.mf-group legend b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e5262f; color: #ffffff; font-size: max(var(--fs-min), .8rem); }
.mf-opts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 4px; }
.mf-opts::-webkit-scrollbar { display: none; }
.mf .f-opt span { min-height: 42px; padding: 0 16px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #ffffff; }
.mf .f-opt span:hover { border-color: #ff3b3b; }
.mf .f-opt input:checked + span { background: var(--grad-gold); color: #ffffff; border-color: transparent; }
.mf-count { margin: 4px 0 10px; font-weight: 700; color: #ffffff; }
.mf-out { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; min-height: 40px; }
.mf-out::-webkit-scrollbar { display: none; }
.mf-card { flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #ffffff; color: #000000; text-decoration: none; transition: transform .25s var(--ease); }
.mf-card:active { transform: scale(.97); }
.mf-link { display: flex; flex-direction: column; color: #000000; text-decoration: none; }
.mf-buy {
  display: flex; align-items: center; justify-content: center; min-height: 38px; margin: auto 10px 10px; padding: 0 10px;
  border-radius: 999px; font-weight: 800; font-size: max(var(--fs-min), .84rem); text-decoration: none;
}
.mf-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #ffffff url("../img/tech-bg.svg") center / cover no-repeat; }
.mf-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; padding: 9%; }
.mf-card b { padding: 8px 10px 2px; font-size: max(var(--fs-min), .82rem); line-height: 1.45; color: #000000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mf-price { padding: 2px 10px 10px; font: 800 max(var(--fs-min), .98rem)/1.2 var(--f-disp); color: var(--g1); }
.mf-empty { flex: 1; margin: 0; padding: 18px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .3); color: #ffffff; }
.mf-more { width: 100%; margin-top: 12px; }
@media (min-width: 720px) {
  .mf { padding: 26px; }
  .mf-opts { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .mf-out { margin-inline: 0; padding-inline: 0; }
  .mf-card { flex-basis: 176px; }
  .mf-more { width: auto; }
}

/* ---------- Company details at the end of the menu ---------- */
.menu-info { margin-top: 26px; padding: 22px 18px; border-radius: 26px; color: #ffffff; background: linear-gradient(160deg, #1d1d22 0%, #0b0b0d 60%, #000000 100%); border: 1px solid rgba(229, 38, 47, .35); }
.menu-info-logo { display: block; width: 120px; height: auto; margin-bottom: 12px; }
.menu-about { margin: 0 0 14px; font-size: max(var(--fs-min), .98rem); line-height: 1.8; color: #ffffff; }
.menu-contact { list-style: none; margin: 0; padding: 0; }
.menu-contact li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: max(var(--fs-min), 1.04rem); font-weight: 600; line-height: 1.6; color: #ffffff; }
.menu-contact .ic { flex: none; width: 22px; height: 22px; margin-top: 2px; color: #ff3b3b; }
.menu-contact a { color: #ffffff; text-transform: none; }
.menu-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 14px 0 0; padding: 0; }
.menu-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #ffffff; }
.menu-social .ic { width: 20px; height: 20px; }
.menu-founded { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-weight: 700; color: #ffffff; }
.menu-founded .ic { width: 20px; height: 20px; color: #ff3b3b; }

/* ---------- Logo marquee ---------- */
.marquee {
  overflow: hidden; padding-block: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marq 48s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marqR; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marqR { to { transform: translateX(50%); } }
.logo-tile {
  flex: none; display: block; overflow: hidden;
  width: 168px; height: 112px; margin-inline-end: 14px; border-radius: 22px;
  background: var(--tile-bg); border: 1px solid rgba(229, 38, 47, .22); box-shadow: var(--card-shadow);
  transition: border-color .3s, transform .3s var(--ease);
}
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
a.logo-tile:hover { border-color: var(--g2); }
a.logo-tile:hover { transform: translateY(-2px); }
.logo-tile img.inv, .mb-logo img.inv, .brand-logo-big img.inv { filter: invert(1) hue-rotate(180deg); }

/* ---------- About ---------- */
.about { background: #ffffff; }
/* no big empty band between the last device card ("Buy now") and "About us" */
.section:has(+ .about) { padding-bottom: 8px; }
.section.about { padding-top: 28px; }
.about-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px 0 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div {
  display: flex; flex-direction: column-reverse; gap: 4px;
  padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.stats dt { font-size: max(var(--fs-min), .84rem); color: var(--muted); line-height: 1.5; }
.stats dd { margin: 0; font: 800 max(var(--fs-min), clamp(2rem, 7vw, 2.8rem))/1 var(--f-disp); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.features { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
.features li {
  padding: 20px; border-radius: 22px; background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transition: border-color .3s;
}
.features li:hover { border-color: var(--g2); }
.features .ic { width: 30px; height: 30px; color: var(--g2); margin-bottom: 12px; }
.features h3 { font-size: max(var(--fs-min), 1.08rem); margin-bottom: 6px; font-family: var(--f-body); }
.features p { margin: 0; font-size: max(var(--fs-min), .92rem); color: var(--muted); }

/* ---------- Showroom (dark, full-screen) ---------- */
.showroom {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - var(--hdr-t)); min-height: calc(100svh - var(--hdr-t)); display: flex; align-items: flex-end;
  padding: 60px 0 calc(110px + env(safe-area-inset-bottom));
}
.show-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.showroom::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 11, .35) 0%, rgba(10, 10, 11, .25) 22%, rgba(10, 10, 11, .6) 55%, rgba(10, 10, 11, .96) 100%);
}
.show-box { max-width: var(--maxw); }
.show-box > * { max-width: 640px; }
.showroom h2 { font-size: max(var(--fs-min), clamp(1.9rem, 6.6vw, 3.4rem)); color: #ffffff; }
.showroom p { color: #ffffff; }
.show-list { display: grid; gap: 10px; margin: 0 0 24px; }
.show-list li { display: flex; align-items: flex-start; gap: 12px; color: #ffffff; font-size: max(var(--fs-min), 1.1rem); font-weight: 600; }
.show-list .ic { width: 24px; height: 24px; color: #ff3b3b; margin-top: 3px; }
@media (min-width: 1024px) {
  .showroom { align-items: center; padding-block: 120px; }
  .showroom::after { background: linear-gradient(90deg, rgba(10, 10, 11, .1), rgba(10, 10, 11, .88)); }
  [dir="ltr"] .showroom::after { background: linear-gradient(270deg, rgba(10, 10, 11, .1), rgba(10, 10, 11, .88)); }
}

/* ---------- Testimonial ---------- */
.quote {
  margin: 0; padding: clamp(26px, 5vw, 52px); border-radius: 32px; text-align: center;
  background: radial-gradient(90% 70% at 50% 0%, rgba(229, 38, 47, .16), transparent 65%), var(--bg2);
  border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.stars { display: flex; justify-content: center; gap: 4px; color: #ff3b3b; margin-bottom: 16px; }
.stars .ic { width: 20px; height: 20px; }
.quote blockquote { margin: 0 0 20px; font-size: max(var(--fs-min), clamp(1.05rem, 3.6vw, 1.3rem)); line-height: 1.9; color: var(--text); }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption span { color: var(--muted); font-size: max(var(--fs-min), .9rem); }

/* ---------- Prose / guide / FAQ ---------- */
.guide-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .guide-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }
.prose h2 { font-size: max(var(--fs-min), clamp(1.7rem, 5.4vw, 2.6rem)); }
.prose h3 { font-size: max(var(--fs-min), clamp(1.2rem, 3.8vw, 1.45rem)); margin-top: 1.6em; color: var(--g1); font-family: var(--f-body); }
html[lang="en"] .prose h3 { font-family: var(--f-disp); }
.prose p { color: var(--body); font-size: max(var(--fs-min), 1.04rem); }
.prose a { color: var(--g1); text-decoration: underline; text-decoration-color: rgba(179, 18, 27, .4); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--g1); }
.prose-list { display: grid; gap: 10px; margin: 0 0 1em; }
.prose-list li { position: relative; padding-inline-start: 22px; color: var(--body); }
.prose-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-gold); }
.faq-wrap { display: grid; gap: 10px; }
.faq-wrap > .h-sm { margin-bottom: 12px; }
.faq { border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); transition: border-color .3s, background-color .3s; }
.faq[open] { border-color: rgba(229, 38, 47, .45); background: var(--card2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-family: var(--f-body); font-size: max(var(--fs-min), 1rem); line-height: 1.55; font-weight: 700; }
.faq summary .ic { width: 20px; height: 20px; color: var(--g2); transition: transform .35s var(--ease); }
.faq[open] summary .ic { transform: rotate(45deg); }
.faq-a { padding: 0 18px 16px; }
.faq-a p { margin: 0; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq[open]::details-content { height: auto; }
}

/* ---------- Countries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: max(var(--fs-min), .92rem);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.chips li.world { background: var(--grad-gold); color: #ffffff; border-color: transparent; }

/* ---------- CTA band (dark box on white) ---------- */
.cta-band { padding-block: clamp(30px, 6vw, 70px) clamp(64px, 10vw, 120px); background: #ffffff; }
.cta-box {
  position: relative; overflow: hidden; padding: clamp(28px, 6vw, 64px); border-radius: 34px; text-align: center;
  background: radial-gradient(70% 90% at 50% 0%, rgba(229, 38, 47, .24), transparent 60%), linear-gradient(180deg, #141414, #000000);
  border: 1px solid rgba(229, 38, 47, .3);
}
.cta-box .eyebrow { justify-content: center; }
.cta-box h2 { font-size: max(var(--fs-min), clamp(1.7rem, 5.8vw, 3rem)); max-width: 24ch; margin-inline: auto; color: #ffffff; }
.cta-box p { color: #ffffff; max-width: 56ch; margin-inline: auto; }
.cta-box .hero-cta { justify-content: center; margin-top: 8px; }

/* ---------- Page hero (category, dark) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--hdr-t)); min-height: calc(100svh - var(--hdr-t)); background: #000;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 11, .6) 0%, rgba(10, 10, 11, 0) 20%, rgba(10, 10, 11, .25) 40%, rgba(10, 10, 11, .88) 68%, rgba(10, 10, 11, .97) 100%);
}
.page-hero-top { position: relative; z-index: 2; padding-top: 14px; }
.page-hero-content { position: relative; z-index: 2; margin-top: auto; padding: 48px 0 calc(124px + env(safe-area-inset-bottom)); }
.page-hero .hero-lead { color: #ffffff; }
.page-title { font-size: max(var(--fs-min), clamp(1.9rem, 8.2vw, 4.2rem)); line-height: 1.22; margin: 0 0 14px; }
html[lang="en"] .page-title { text-transform: capitalize; line-height: 1.05; }
@media (min-width: 1024px) {
  .page-hero::after { background: linear-gradient(180deg, rgba(10, 10, 11, .4), transparent 25%, transparent 70%, rgba(10, 10, 11, .9)); }
  .page-hero-content { margin-block: auto; padding: 48px 0; }
  .page-hero-content .hero-box { max-width: 46%; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: max(var(--fs-min), .84rem); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--dim); }
.crumbs a { color: var(--body); }
.crumbs a:hover { color: var(--g1); }
.crumbs [aria-current] { color: var(--g1); }

/* ---------- Toolbar: filters & sort ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.chips-scroll {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%;
  margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); padding-bottom: 4px;
}
.chips-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips-scroll { flex: 1 1 auto; flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line2); background: var(--chip-bg); font-weight: 600; font-size: max(var(--fs-min), .9rem); white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip small { font-size: max(var(--fs-min), .75rem); color: var(--dim); }
.chip:hover { border-color: var(--g2); }
.chip[aria-pressed="true"] { background: var(--grad-gold); color: #ffffff; border-color: transparent; }
.chip[aria-pressed="true"] small { color: #ffffff; }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: max(var(--fs-min), .9rem); color: var(--muted); }
.sort select {
  min-height: 42px; padding-inline: 14px 34px; border-radius: 999px; border: 1px solid var(--line2);
  background-color: var(--card); color: var(--text); font-weight: 600; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5262f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: 16px 16px; background-repeat: no-repeat; background-position: calc(100% - 12px) 50%;
}
[dir="rtl"] .sort select { padding-inline: 34px 14px; background-position: 12px 50%; }

/* ---------- Product page ---------- */
.pdp { padding-bottom: clamp(40px, 6vw, 80px); background: #ffffff; }
.pdp-grid { display: grid; gap: 22px; }
.pdp-media {
  margin-inline: calc(-1 * var(--pad)); background: #ffffff url("../img/tech-bg.svg") center / cover no-repeat; overflow: hidden; position: relative; border-bottom: 1px solid var(--line);
  border-radius: 0 0 28px 28px;
}
.pdp-media > img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; object-position: 50% 50%; padding: 8%; }
.pdp-info { display: grid; gap: 16px; align-content: start; }
.pdp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); width: fit-content; }
.pdp-brand:hover { color: var(--g1); }
.pdp-title { margin: 0; line-height: 1.1; }
.pdp-title .pfx { display: block; margin-bottom: 8px; font: 800 max(var(--fs-min), clamp(1.05rem, 4vw, 1.3rem))/1.4 var(--f-body); color: var(--g2); }
html[lang="en"] .pdp-title .pfx { font-family: var(--f-disp); text-transform: capitalize; letter-spacing: .14em; font-size: max(var(--fs-min), .9rem); }
.pdp-title .model { display: block; font: 800 max(var(--fs-min), clamp(2.1rem, 9.4vw, 3.8rem))/1.04 var(--f-disp); text-transform: capitalize; letter-spacing: .005em; color: var(--text); }
.pdp-model { margin: -6px 0 0; font-size: max(var(--fs-min), 1rem); color: var(--muted); }
.pdp-price {
  display: grid; gap: 4px; padding: 18px 20px; border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(229, 38, 47, .35); box-shadow: var(--card-shadow);
}
.pdp-price span { font-size: max(var(--fs-min), .86rem); color: var(--muted); }
.pdp-price b { font: 800 max(var(--fs-min), clamp(2.2rem, 9vw, 3rem))/1 var(--f-disp); color: var(--g1); }
.pdp-price small { font-size: max(var(--fs-min), .8rem); color: var(--dim); }
.spec-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.spec-chips li {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.spec-chips .ic { grid-row: span 2; color: var(--g2); }
.spec-chips span { font-size: max(var(--fs-min), .78rem); color: var(--muted); }
.spec-chips b { font-size: max(var(--fs-min), .98rem); }
.pdp-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .pdp-cta { grid-template-columns: 1fr 1fr; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; font-size: max(var(--fs-min), .88rem); color: var(--body); }
.trust .ic { width: 18px; height: 18px; color: #1aa654; }
@media (min-width: 1024px) {
  .pdp { padding-top: 40px; }
  .pdp-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
  .pdp-media { margin: 0; border-radius: 32px; position: sticky; top: calc(var(--hdr) + 24px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
  .pdp-info { padding-top: 12px; }
}
.spec-wrap { display: grid; align-content: start; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--card-shadow); }
.spec-table th, .spec-table td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.spec-table tr:last-child :is(th, td) { border-bottom: 0; }
.spec-table th { width: 46%; font-weight: 600; color: var(--muted); background: var(--chip-bg); }
.spec-table th .ic { display: inline-block; vertical-align: -5px; width: 18px; height: 18px; margin-inline-end: 8px; color: var(--g2); }
.spec-table td { font-weight: 700; }
.spec-table a { color: var(--g1); }
.cats-line { margin-top: 18px; color: var(--muted); font-size: max(var(--fs-min), .94rem); }

/* ---------- In the box: accessories & spare parts ---------- */
.box-sec h2, .docs-sec h2 { font-size: max(var(--fs-min), clamp(1.5rem, 4.6vw, 2.3rem)); line-height: 1.25; margin: 6px 0 10px; }
.box-lead { max-width: 760px; margin: 0 0 22px; font-size: max(var(--fs-min), 1.02rem); line-height: 1.8; }
.box-scope { margin: 0 0 22px; max-width: 640px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #ffffff; box-shadow: var(--card-shadow); }
.box-scope img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.box-scope figcaption { padding: 12px 16px; font-size: max(var(--fs-min), .92rem); border-top: 1px solid var(--line); }
.box-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 14px; }
.box-item { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--card-shadow); overflow: hidden; }
.box-media { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; background: #ffffff; border-bottom: 1px solid var(--line); }
.box-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.box-name { padding: 12px 14px 14px; font-weight: 700; font-size: max(var(--fs-min), 1rem); line-height: 1.45; }
.box-qty { position: absolute; top: 10px; inset-inline-start: 10px; padding: 3px 10px; border-radius: 999px; background: #000000; color: #ffffff; font-size: max(var(--fs-min), .8rem); font-weight: 700; }
@media (max-width: 639px) {
  .box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .box-name { font-size: max(var(--fs-min), .95rem); padding: 10px 12px 12px; }
}
/* items without a photo: one tidy checklist card */
.box-grid + .box-list { margin-top: 14px; }
.box-list {
  list-style: none; margin: 0; padding: 4px 18px; max-width: 820px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--card-shadow);
}
.box-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.box-row:last-child { border-bottom: 0; }
.box-row .ic { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: rgba(208, 31, 43, .09); color: var(--g1); stroke-width: 2.4; }
.box-row .box-name { flex: 1; min-width: 0; padding: 0; font-weight: 600; font-size: max(var(--fs-min), 1rem); line-height: 1.5; }
.box-row .box-qty { position: static; flex: none; }

/* ---------- Catalogs & user manuals (PDF) ---------- */
.docs-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--card-shadow); color: #000000; text-decoration: none; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.doc-link:hover, .doc-link:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.doc-ic { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 62px; border-radius: 12px; background: #b3261e; color: #ffffff; }
.doc-ic .ic { width: 30px; height: 30px; stroke: #ffffff; }
.doc-ic b { position: absolute; bottom: -7px; padding: 1px 6px; border-radius: 6px; background: #000000; color: #ffffff; font-size: max(var(--fs-min), .68rem); letter-spacing: .04em; }
.doc-txt { flex: 1; min-width: 0; display: grid; gap: 4px; }
.doc-txt b { font-size: max(var(--fs-min), 1.02rem); line-height: 1.4; }
.doc-txt small { font-size: max(var(--fs-min), .88rem); }
.doc-dl { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #000000; color: #ffffff; font-size: max(var(--fs-min), .86rem); font-weight: 700; }
.doc-dl .ic { width: 18px; height: 18px; stroke: #ff3b3b; }
.docs-note { margin-top: 14px; font-size: max(var(--fs-min), .9rem); }
@media (max-width: 639px) {
  .docs-list { grid-template-columns: 1fr; }
  .doc-dl { padding: 8px; font-size: 0; gap: 0; }
  .doc-dl .ic { width: 20px; height: 20px; }
}
.cats-line a { color: var(--g1); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(179, 18, 27, .4); }

/* ---------- Brand page ---------- */
.brand-hero { position: relative; isolation: isolate; overflow: hidden; padding: 18px 0 clamp(50px, 8vw, 90px); background: #0a0a0b; }
.brand-hero-bg { position: absolute; inset: 0; z-index: -1; }
.brand-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(.34) saturate(1.2); transform: scale(1.2); }
.brand-hero-box { padding-top: clamp(36px, 7vw, 80px); max-width: 760px; }
.brand-hero .hero-lead { color: #ffffff; }
.brand-logo-big {
  display: block; width: 168px; height: 112px; border-radius: 24px; overflow: hidden; margin-bottom: 22px;
  background: #000000; border: 1px solid rgba(229, 38, 47, .35);
}
.brand-logo-big img { width: 100%; height: 100%; object-fit: cover; }
.brand-list { margin-top: 8px; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100svh - var(--hdr-t)); display: grid; place-items: center; text-align: center; padding: 40px 0 120px; }
.nf .hero-lead { color: var(--body); }
.nf .hero-cta { justify-content: center; }
.nf-code { font: 800 max(var(--fs-min), clamp(6rem, 30vw, 12rem))/1 var(--f-disp); margin: 0; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Footer (dark) ---------- */
.site-footer { padding: clamp(48px, 8vw, 90px) 0 calc(110px + env(safe-area-inset-bottom)); background: #0a0a0b; color: #ffffff; }
.ft-top { display: grid; gap: 36px; }
@media (min-width: 720px) { .ft-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ft-top { grid-template-columns:2fr 2fr 2fr 0fr } }
.ft-brand img { height: 74px; width: auto; margin-bottom: 16px; }
.ft-brand p { color: #ffffff; font-size: max(var(--fs-min), .94rem); max-width: 42ch; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #17171a; border: 1px solid rgba(255, 255, 255, .12); color: #ffffff; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); color: #ff8a8a; }
.social .ic { width: 19px; height: 19px; }
.ft-h { margin: 0 0 14px; font: 700 max(var(--fs-min), .82rem)/1.2 var(--f-disp); color: #ff5a5a; letter-spacing: .14em; text-transform: capitalize; }
html[lang="ar"] .ft-h { letter-spacing: 0; font-size: max(var(--fs-min), 1rem); }
.ft-col ul { display: grid; gap: 8px; }
.ft-col a { color: #ffffff; font-size: max(var(--fs-min), .94rem); transition: color .2s; }
.ft-col a:hover { color: #ff8a8a; }
.ft-contact li { display: flex; align-items: flex-start; gap: 12px; color: #ffffff; font-size: max(var(--fs-min), 1.08rem); font-weight: 600; }
.ft-contact .ic { width: 22px; height: 22px; color: #ff3b3b; margin-top: 3px; }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: #ffffff; font-size: max(var(--fs-min), .86rem); }
.ft-bottom p { margin: 0; }
.ft-bottom .ft-founded { margin: 0; flex-basis: 100%; width: fit-content; max-width: 100%; }
@media (min-width: 900px) { .ft-bottom .ft-founded { flex-basis: auto; } }
.ft-legal { display: flex; gap: 16px; }
.ft-legal a:hover { color: #ff8a8a; }
@media (min-width: 1080px) { .site-footer { padding-bottom: 40px; } .ft-bottom { padding-inline-end: 84px; } }

/* ---------- Mobile bottom bar (dark, docked at the very bottom) ---------- */
.bottombar, .buybar {
  position: fixed; z-index: 55; inset-inline: 0; bottom: 0;
  border-radius: 22px 22px 0 0; border-top: 1px solid rgba(229, 38, 47, .5);
  background: linear-gradient(180deg, #1c1c20 0%, #0b0b0c 55%, #000000 100%); color: #ffffff;
  box-shadow: 0 -14px 36px -12px rgba(0, 0, 0, .55);
}
.bottombar {
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  height: calc(76px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
}
.bottombar > a, .bottombar > button {
  display: grid; justify-items: center; gap: 5px; padding: 10px 0 12px;
  font-size: max(var(--fs-min), .78rem); font-weight: 700; line-height: 1.2; color: #ffffff;
  -webkit-tap-highlight-color: transparent; transition: transform .2s var(--ease);
}
.bottombar > a:active, .bottombar > button:active { transform: scale(.92); }
.bottombar .ic { width: 28px; height: 28px; color: #ffffff; filter: none; }
.bottombar .bb-wa {
  align-self: start; justify-self: center; display: grid; place-items: center;
  width: 66px; height: 66px; margin-top: -26px; padding: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #4cf396 0%, #25d366 45%, #149a48 100%); color: #ffffff;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .75), 0 0 0 6px #0b0b0c, 0 0 0 7px rgba(229, 38, 47, .5);
}
.bottombar .bb-wa .ic { width: 34px; height: 34px; color: #ffffff; filter: none; }
.buybar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); padding-inline-start: 18px;
}
.buybar-price { display: grid; margin-inline-end: auto; line-height: 1.2; }
.buybar-price small { font-size: max(var(--fs-min), .74rem); color: #ffffff; }
.buybar-price b { font: 800 max(var(--fs-min), 1.45rem)/1.1 var(--f-disp); color: #ff6b6b; }
.buybar .btn { --h: 52px; padding: 0 20px; }
.buybar .icon-btn { width: 52px; height: 52px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #ff3b3b; }
.buybar .icon-btn .ic { width: 24px; height: 24px; }@media (min-width: 1080px) { .bottombar, .buybar { display: none; } }
.wa-float {
  position: fixed; z-index: 55; inset-inline-end: 26px; bottom: 26px;
  display: none; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #042512; box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .65);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 32px; height: 32px; }
@media (min-width: 1080px) { .wa-float { display: grid; } }

/* ---------- Scroll-driven reveal (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec-head, .sys-intro .container, .tiles > li, .card, .features li, .stats div, .faq, .chips li, .quote, .cta-box, .finder, .prose > *, .mini {
      /*animation: reveal linear both;*/
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    .rail .card { animation: none; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-bars .is-active i { animation: none !important; width: 100%; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 14px; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .slide .duo-fg { transform: none !important; }
}

/* ---------- English version: the first letter of EVERY word is a capital, on every page ---------- */
html[lang="en"] body { text-transform: capitalize; }
/* exact spelling kept for: what the visitor types, model names (eXp), units (m, kHz) and web/email addresses */
html[lang="en"] :is(input, textarea, select, option, .nc, .model, .ft-contact a, .show-list a, .co-rev-box bdi) { text-transform: none; }
/* ---------- Official device logo: black bar above the photo (never on the device) ---------- */
.dev-logo {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  height: 84px; padding: 16px 18px 2px; background: transparent;
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.dev-logo img { display: block; height: 100%; width: auto; max-width: 86%; object-fit: contain; padding: 8px 16px; border-radius: 14px; background: #0b0b0c; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.pdp-media .dev-logo { height: 110px; padding: 18px 28px; }

/* ---------- Phones: one device per row, full width (edge to edge), square photo ---------- */
@media (max-width: 539px) {
  .rail { grid-auto-columns: 100%; gap: 0; padding-inline: 0; scroll-padding-inline: 0; padding-block: 0 8px; }
  .grid { gap: 0; margin-inline: calc(-1 * var(--pad)); }
  .rail > .card, .grid > .card { border-radius: 0; border-inline: 0; border-top: 0; box-shadow: none; }
  .grid > .card { border-bottom: 1px solid var(--line); }
  .card:hover { transform: none; box-shadow: none; }
  .card-media .pimg { aspect-ratio: 1 / 1; object-position: 50% 50%; }
  .card-body { padding: 18px var(--pad) 24px; }
  .card-title .model { font-size: max(var(--fs-min), 1.6rem); }
  .price { font-size: max(var(--fs-min), 1.6rem); }
}
@media (max-width: 719px) {
  .finder { border-radius: 0; border-inline: 0; margin-inline: calc(-1 * var(--pad)); box-shadow: none; }
  .f-out { grid-template-columns: 1fr; gap: 0; margin-inline: calc(-1 * clamp(22px, 5vw, 52px)); }
  .mini { border-radius: 0; border-inline: 0; border-top: 0; box-shadow: none; }
  .mini img { aspect-ratio: 1 / 1; object-position: 50% 50%; }
  .mini b { padding: 16px var(--pad) 4px; font-size: max(var(--fs-min), 1.1rem); }
  .mini span { padding: 0 var(--pad) 18px; font-size: max(var(--fs-min), 1.35rem); }
  .tiles:not(.menu-tiles) { grid-template-columns: 1fr; gap: 0; margin-inline: calc(-1 * var(--pad)); }
  .tiles:not(.menu-tiles) .tile { border-radius: 0; aspect-ratio: 1 / 1; box-shadow: none; }
  .tiles:not(.menu-tiles) .tile:hover { transform: none; }
  .tiles:not(.menu-tiles) .tile span { inset: auto var(--pad) 22px; }
  .tiles:not(.menu-tiles) .tile b { font-size: max(var(--fs-min), 1.5rem); }
  .tiles:not(.menu-tiles) .tile small { font-size: max(var(--fs-min), .95rem); }
}
/* ---------- Orient ownership watermark: faint, full-size, on every photo ---------- */
:root {
  --fs-min: 0px;
  --wm-dark: url("../uploads/2026/03/Orient-Detectors-Logo-V2-Dark.png.webp");
  --wm-light: url("../uploads/2026/03/Orient-Detectors-Logo-V2-White.png.webp");
}
.card-media, .pdp-media, .mini-media { --wm: var(--wm-dark); }
.duo, .tile { --wm: var(--wm-light); }
.wm-on-light { --wm: var(--wm-dark); }
.card-media::after, .pdp-media::after, .mini-media::after, .duo::after, .tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--wm) center / min(74%, 460px) auto no-repeat;
  opacity: .09;
}
.card-media::after, .pdp-media::after, .mini-media::after { z-index: 2; opacity: .055; }
.duo::after { z-index: 1; }
.tile::before { z-index: 0; }
.card-media .badge { z-index: 3; }
.mini-media { position: relative; display: block; overflow: hidden; background: #ffffff url("../img/tech-bg.svg") center / cover no-repeat; }
html[lang="en"] .ft-contact a, html[lang="en"] .show-list a { text-transform: none; }
.ft-contact a, .show-list a { color: #ffffff; }

/* ---------- Buy now (next to every price) ---------- */
.btn-buy { position: relative; z-index: 2; width: 100%; }
/* "Buy now" is red everywhere (brand red), white text */
.btn.btn-buy, .mf-buy {
  background: linear-gradient(135deg, #e5262f 0%, #c4141d 55%, #a50f17 100%); background-size: 170% 100%; background-position: 0 0;
  color: #ffffff; box-shadow: 0 14px 30px -14px rgba(196, 20, 29, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn.btn-buy:hover, .mf-buy:hover { background-position: 100% 0; color: #ffffff; }
.card .btn-buy { margin-top: 12px; --h: 48px; font-size: max(var(--fs-min), 1rem); }
.pdp-cta .btn-buy { grid-column: 1 / -1; --h: 60px; font-size: max(var(--fs-min), 1.1rem); }
.btn-buy .ic { width: 22px; height: 22px; }

/* ---------- Checkout ---------- */
.p-checkout main { background: #ffffff; }
.co-head { padding: 22px 0 4px; background: #ffffff; border-bottom: 1px solid var(--line); }
.co-head .page-title { font-size: max(var(--fs-min), clamp(1.9rem, 7vw, 2.8rem)); margin: 4px 0 8px; }
.co-lead { margin: 0 0 18px; max-width: 640px; font-size: max(var(--fs-min), 1.02rem); line-height: 1.8; }
.co-sec { padding-top: 18px; padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
[data-checkout] { scroll-margin-top: calc(var(--hdr-t) + 10px); }

.co-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.co-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; font-size: max(var(--fs-min), .74rem); font-weight: 700; line-height: 1.3; color: #77777c; }
.co-steps li::before { content: ""; position: absolute; top: 17px; inset-inline-start: calc(50% + 22px); inset-inline-end: calc(-50% + 22px); height: 2px; border-radius: 2px; background: var(--line2); }
.co-steps li:last-child::before { display: none; }
.co-steps b { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line2); background: #ffffff; color: #77777c; font: 800 max(var(--fs-min), .95rem)/1 var(--f-disp); transition: background-color .3s, color .3s, border-color .3s; }
.co-steps .is-current { color: #000000; }
.co-steps .is-current b { border-color: transparent; background: var(--grad-gold); color: #ffffff; box-shadow: 0 8px 20px -8px rgba(229, 38, 47, .8); }
.co-steps .is-done { color: #000000; cursor: pointer; }
.co-steps .is-done b { border-color: #000000; background: #000000; color: #ffffff; }
.co-steps .is-done::before { background: #000000; }
@media (min-width: 640px) { .co-steps li { font-size: max(var(--fs-min), .88rem); } }

.co-grid { display: grid; gap: 18px; }
@media (min-width: 980px) {
  .co-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 26px; }
  .co-sum { position: sticky; top: calc(var(--hdr-t) + 18px); }
}
.co-pane, .co-sum { padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #ffffff; box-shadow: var(--card-shadow); }
@media (min-width: 640px) { .co-pane, .co-sum { padding: 28px; } }
.co-h { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: max(var(--fs-min), 1.25rem); line-height: 1.35; outline: none; }
.co-h .ic { width: 26px; height: 26px; color: var(--g1); }
.co-pane .co-opts + .co-h { margin-top: 26px; }
.co-loading { margin: 0; color: #77777c; }

.co-cart { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.co-item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); }
.co-item-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: #ffffff url("../img/tech-bg.svg") center / cover no-repeat; }
.co-item-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.co-item-body { display: grid; gap: 7px; padding-inline-end: 34px; }
.co-item-name { color: #000000; font-weight: 700; font-size: max(var(--fs-min), .98rem); line-height: 1.45; text-decoration: none; }
.co-item-price { font: 800 max(var(--fs-min), 1.2rem)/1 var(--f-disp); color: var(--g1); }
.co-qty { display: inline-flex; align-items: center; gap: 2px; justify-self: start; padding: 3px; border: 1px solid var(--line2); border-radius: 999px; }
.co-qty button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ffffff; color: #000000; }
.co-qty button:disabled { opacity: .35; }
.co-qty .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.co-qty output { min-width: 32px; text-align: center; font: 800 max(var(--fs-min), 1rem)/1 var(--f-disp); }
.co-item-rm { position: absolute; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #77777c; }
.co-item-rm:hover { color: var(--g1); background: #ffffff; }
.co-item-rm .ic { width: 18px; height: 18px; }
.co-empty { padding: 18px 0 4px; text-align: center; }
.co-empty p { margin: 0 0 14px; font-weight: 600; }

.co-fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .co-fields { grid-template-columns: 1fr 1fr; } .co-f-full { grid-column: 1 / -1; } }
.co-f { display: grid; gap: 6px; align-content: start; }
.co-f > span { font-weight: 700; font-size: max(var(--fs-min), .95rem); }
.co-f input, .co-f select, .co-f textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 14px;
  background: #ffffff; color: #000000; font: inherit; font-size: max(var(--fs-min), 1rem); transition: border-color .2s, box-shadow .2s;
}
.co-f textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.co-f input:focus, .co-f select:focus, .co-f textarea:focus { outline: none; border-color: var(--g2); box-shadow: 0 0 0 3px rgba(208, 31, 43, .14); }
.co-f [aria-invalid="true"] { border-color: #d01f2b; background: #ffffff; }
html[dir="rtl"] .co-f input[dir="ltr"] { text-align: right; }
.co-f small { color: #6b6b70; font-size: max(var(--fs-min), .82rem); }
.co-f em, .co-agree-err { color: #c0141e; font-style: normal; font-size: max(var(--fs-min), .85rem); font-weight: 700; }
.co-f em:empty { display: none; }

.co-opts { display: grid; gap: 10px; }
.co-opt {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 14px; border: 1.5px solid var(--line2); border-radius: 18px; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-opt:has(input:checked) { border-color: var(--g1); background: #ffffff; box-shadow: 0 0 0 3px rgba(208, 31, 43, .1); }
.co-opt:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.co-opt:has(input:focus-visible) { outline: 2px solid var(--g2); outline-offset: 3px; }
.co-opt-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #ffffff; color: #000000; transition: background-color .2s, color .2s; }
.co-opt:has(input:checked) .co-opt-ic { background: var(--g1); color: #ffffff; }
.co-opt-t { display: grid; gap: 4px; }
.co-opt-t b { font-size: max(var(--fs-min), 1rem); line-height: 1.4; }
.co-opt-t small { color: #55555a; font-size: max(var(--fs-min), .86rem); line-height: 1.55; }
.co-soon { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: #000000; color: #ffffff; font-size: max(var(--fs-min), .72rem); font-weight: 700; vertical-align: middle; }

.co-nav { display: flex; gap: 10px; margin-top: 22px; }
.co-nav .btn { flex: 1 1 auto; }
.co-nav [data-co-back] { flex: 0 0 auto; padding: 0 18px; }
.co-nav [hidden] { display: none; }

.co-rev { display: grid; gap: 12px; }
.co-rev-box { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #ffffff; }
.co-rev-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.co-rev-head h3 { margin: 0; font-size: max(var(--fs-min), 1rem); }
.co-rev-edit { color: var(--g1); font-weight: 700; font-size: max(var(--fs-min), .9rem); text-decoration: underline; text-underline-offset: 3px; }
.co-rev-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.co-rev-box li { line-height: 1.65; font-size: max(var(--fs-min), .95rem); overflow-wrap: anywhere; }
.co-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: max(var(--fs-min), .95rem); line-height: 1.6; cursor: pointer; }
.co-agree input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--g1); }
.co-agree a { color: var(--g1); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.co-agree-err { margin: 8px 0 0; }
.co-confirm { white-space: normal; text-align: center; line-height: 1.3; }

.co-done { text-align: center; }
.co-done-ic { display: grid; place-items: center; width: 78px; height: 78px; margin: 4px auto 14px; border-radius: 50%; background: var(--wa); color: #ffffff; box-shadow: 0 16px 34px -14px rgba(37, 211, 102, .8); }
.co-done-ic .ic { width: 40px; height: 40px; stroke-width: 2.6; }
.co-done h2 { margin: 0 0 8px; font-size: max(var(--fs-min), clamp(1.5rem, 5vw, 2rem)); outline: none; }
.co-done-text { max-width: 560px; margin: 0 auto; line-height: 1.8; }
.co-done-cta { display: grid; gap: 10px; margin: 20px 0 26px; }
@media (min-width: 640px) { .co-done-cta { grid-template-columns: 1fr 1fr; } }
.co-done h3 { margin: 0 0 10px; text-align: start; font-size: max(var(--fs-min), 1.1rem); }
.co-next { margin: 0 0 24px; padding-inline-start: 22px; display: grid; gap: 8px; text-align: start; line-height: 1.7; }

.co-sum h2 { margin: 0 0 14px; font-size: max(var(--fs-min), 1.15rem); }
.co-sum-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.co-sum-items:empty { display: none; }
.co-sum-items li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: max(var(--fs-min), .88rem); line-height: 1.45; }
.co-sum-items img { width: 54px; height: 54px; object-fit: contain; padding: 4px; border-radius: 12px; background: #ffffff; }
.co-sum-items b { font: 800 max(var(--fs-min), .98rem)/1 var(--f-disp); white-space: nowrap; }
.co-sum-rows { display: grid; gap: 9px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.co-sum-rows div { display: flex; justify-content: space-between; gap: 10px; font-size: max(var(--fs-min), .95rem); }
.co-sum-rows dt { color: #55555a; }
.co-sum-rows dd { margin: 0; font-weight: 700; text-align: end; }
.co-sum-total { margin-top: 2px; padding-top: 11px; border-top: 1px dashed var(--line2); }
.co-sum-total dt { color: #000000; font-weight: 800; }
.co-sum-total dd { font: 800 max(var(--fs-min), 1.5rem)/1 var(--f-disp); color: var(--g1); }
.co-sum-note { margin: 12px 0 0; color: #6b6b70; font-size: max(var(--fs-min), .84rem); line-height: 1.6; }
.co-secure { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: max(var(--fs-min), .86rem); }
.co-secure .ic { flex: none; color: #1a9d4b; }
.co-rev-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.co-rev-item b { flex: none; font: 800 max(var(--fs-min), 1rem)/1.4 var(--f-disp); color: var(--g1); }

/* heading set on exactly two lines (e.g. "Gold & metal detectors" / "best sellers & most requested") */
.h-2l span { display: block; }
.sec-head h2.h-2l { max-width: none; font-size: max(var(--fs-min), clamp(1.4rem, 6.2vw, 2.6rem)); line-height: 1.3; }
html[lang="en"] .sec-head h2.h-2l { font-size: max(var(--fs-min), clamp(1.25rem, 5.4vw, 2.6rem)); line-height: 1.15; }
@media (max-width: 480px) { .hero-caps a .ic { display: none; } }

/* ---------- Bigger, easier-to-read type ---------- */
/* English: Roboto / Oxanium read smaller than Arabic Cairo at the same size, so the whole English site is set larger */
html[lang="en"] { font-size: max(var(--fs-min), 112.5%); }

/* device cards (both languages): maker line, specs, price, buttons and device logo */
.card-brand { font-size: max(var(--fs-min), .98rem); font-weight: 600; color: var(--body); }
.card-title .pfx { font-size: max(var(--fs-min), .98rem); }
html[lang="en"] .card-title .pfx { font-size: max(var(--fs-min), .82rem); }
.card-specs { gap: 8px; }
.card-specs li { gap: 6px; padding: 6px 12px; font-size: max(var(--fs-min), .92rem); }
.card-specs .ic { width: 18px; height: 18px; }
.price { font-size: max(var(--fs-min), 1.7rem); }
.card-foot .btn.sm { --h: 46px; padding: 0 18px; font-size: max(var(--fs-min), 1rem); }
.card-foot .icon-btn.sm { width: 46px; height: 46px; }
.card .btn-buy { --h: 52px; font-size: max(var(--fs-min), 1.08rem); }
.dev-logo { height: 98px; }
@media (max-width: 539px) { .price { font-size: max(var(--fs-min), 1.9rem); } .card-title .model { font-size: max(var(--fs-min), 1.75rem); } }

/* device page: maker logo + name, spec boxes, price notes, trust list */
.pdp-brand { gap: 12px; font-size: max(var(--fs-min), 1.12rem); font-weight: 700; color: var(--body); }
.pdp-brand .mb-logo { width: 48px; height: 48px; }
.pdp-media .dev-logo { height: 126px; }
html[lang="en"] .pdp-title .pfx { font-size: max(var(--fs-min), 1rem); }
.pdp-price span { font-size: max(var(--fs-min), 1rem); }
.pdp-price small { font-size: max(var(--fs-min), .94rem); }
.spec-chips span { font-size: max(var(--fs-min), .92rem); }
.spec-chips b { font-size: max(var(--fs-min), 1.14rem); }
.spec-chips .ic { width: 26px; height: 26px; }
.trust li { font-size: max(var(--fs-min), 1rem); }

/* maker logos in the menu and finder */
.mb-logo { width: 42px; height: 42px; }
.menu-brands small { font-size: max(var(--fs-min), .9rem); }
.mf-card b { font-size: max(var(--fs-min), .9rem); }
.mf-price { font-size: max(var(--fs-min), 1.1rem); }
/* the two hero buttons always share the row, even with the larger English type */
@media (max-width: 767px) {
  .hero .hero-cta, .page-hero .hero-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero .hero-cta .btn, .page-hero .hero-cta .btn { min-width: 0; white-space: normal; text-align: center; line-height: 1.15; }
  html[lang="en"] .hero .hero-cta .btn, html[lang="en"] .page-hero .hero-cta .btn { padding: 0 8px; gap: 6px; font-size: max(var(--fs-min), .84rem); letter-spacing: .01em; }
}
/* the helper spans around exact-case words must look exactly like the text around them */
html[lang="en"] :is(span.ncw, span.nc) { display: inline !important; font: inherit !important; color: inherit !important; letter-spacing: inherit !important; background: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }

/* English: no text below 18px (1rem = 18px) - every font size in this file is max(var(--fs-min), size) */
html[lang="en"] { --fs-min: 1rem; }
/* at the English 18px floor, wide-tracked labels would run too long: tighten their letter-spacing */
html[lang="en"] :is(.eyebrow, .card-title .pfx, .pdp-title .pfx, .ft-h, .menu-h, .btn) { letter-spacing: .03em; }
/* English at 18px: labels may wrap instead of pushing the page wider */
html[lang="en"] .eyebrow { max-width: 100%; flex-wrap: wrap; white-space: normal; }
/* English phones: the 5 checkout steps show their numbers only (each step's own title is shown in large type above its fields) */
@media (max-width: 479px) {
  html[lang="en"] .co-steps li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
/* desktop search-system cards are tall (4:5): hide the old printed name strip at the top of these field photos */
@media (min-width: 1080px) {
  .sys-media.crop { overflow: hidden; }
  .sys-media.crop img { position: absolute; inset: auto 0 0 0; height: 124%; object-position: 50% 100%; }
}

/* device logo lives INSIDE the square photo box (top band); the device is drawn below it and never under it,
   so every card's photo box has the same height and prices / "Buy now" line up on all devices */
.card-media .dev-logo, .pdp-media .dev-logo { position: absolute; z-index: 3; top: 14px; inset-inline: 0; height: 64px; padding: 0 16px; }
.card-media .dev-logo img { max-width: 78%; }
.card-media:has(.dev-logo) .pimg { padding: 27% 9% 7%; }
.pdp-media .dev-logo { top: 16px; height: 84px; }
.pdp-media:has(.dev-logo) > img { padding: 31% 8% 5%; }
/* the logo sits straight on the device's white photo background: no black plate, no frame, no shadow
   (logo files use black ink where the original had white lines, so they read on white) */
.dev-logo img { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.card-media .dev-logo { height: 58px; }
.card-media .dev-logo img { max-width: 74%; }
/* card footer: the price gets its own line, then WhatsApp + Details share the next line on every card
   (same layout on all cards, so nothing ever runs out of the card at any width, in either language) */
.card-foot { flex-wrap: wrap; row-gap: 12px; }
.card-foot .price { flex: 1 0 100%; margin-inline-end: 0; }
.card-foot .btn.sm { flex: 1 1 auto; min-width: 0; justify-content: center; }
/* smart finder mini cards: same idea, logo in the top band of the photo box */
.mf-media .mf-logo { position: absolute; z-index: 2; inset: 8px auto auto 50%; transform: translateX(-50%); width: auto; height: 26px; max-width: 82%; padding: 0; object-fit: contain; }
.mf-media.has-logo img:not(.mf-logo) { padding: 30% 9% 5%; }

/* ---------- White text on dark areas: solid pure white - never thin, never tiny (both languages) ---------- */
footer.dark :is(p, li, a, span, small, address):not(.ft-h) { color: #ffffff; font-weight: 600; }
.ft-col a, .ft-brand p { font-size: max(var(--fs-min), 1.08rem); }
.ft-contact a, .ft-contact li { font-size: max(var(--fs-min), 1.1rem); font-weight: 700; }
.ft-bottom p, .ft-legal a { font-size: max(var(--fs-min), 1.02rem); }
.founded span { font-size: max(var(--fs-min), 1.02rem); }
.dark .crumbs :is(li, a) { color: #ffffff; font-size: max(var(--fs-min), 1rem); font-weight: 600; }
.hero-caps a, .hero-caps .cap-n { color: #ffffff; font-size: max(var(--fs-min), 1rem); font-weight: 600; }
.hero-lead, .page-hero .hero-lead { color: #ffffff; font-weight: 600; }
.hero-chips li { color: #ffffff; font-size: max(var(--fs-min), 1rem); }
.sys-text { color: #ffffff; font-weight: 600; font-size: max(var(--fs-min), 1.04rem); }
.show-box > p, .cta-box.dark > p { color: #ffffff; font-weight: 600; font-size: max(var(--fs-min), 1.08rem); }
.dark .eyebrow, html[lang="ar"] .eyebrow, .show-box .eyebrow, .cta-box .eyebrow { font-size: max(var(--fs-min), 1rem); }
.doc-ic b { bottom: -9px; padding: 1px 7px; font-size: max(var(--fs-min), 1rem); font-weight: 800; line-height: 1.25; }
@media (min-width: 640px) { .doc-dl { font-size: max(var(--fs-min), 1rem); } }
.bottombar > a span, .bottombar > button span { color: #ffffff; font-size: max(var(--fs-min), 1rem); font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) { .hero .hero-cta .btn, .page-hero .hero-cta .btn { font-size: max(var(--fs-min), 1rem); } }
.hero-lead { font-size: max(var(--fs-min), clamp(1rem, 3.4vw, 1.16rem)); }
.co-soon { padding: 2px 12px; font-size: max(var(--fs-min), 1rem); }
.buybar-price small { font-size: max(var(--fs-min), 1rem); font-weight: 600; }
/* menu drawer + smart finder (dark) */
.mf-head p, .menu-about { font-size: max(var(--fs-min), 1.04rem); font-weight: 600; }
.mf-group legend, .mf-count, .mf-empty { font-size: max(var(--fs-min), 1.04rem); }
.menu-quick .btn { font-size: max(var(--fs-min), 1rem); }
.mf-buy { min-height: 42px; font-size: max(var(--fs-min), 1rem); }
.f-opt span { font-size: max(var(--fs-min), 1rem); }
.tile b { font-size: max(var(--fs-min), clamp(1rem, 3.6vw, 1.12rem)); }
/* very small phones (under 360px): keep the bottom bar labels and the big systems title inside the screen */
@media (max-width: 359px) {
  .bottombar > a span, .bottombar > button span { font-size: max(var(--fs-min), .92rem); }
  .sys-intro .eyebrow, html[lang="ar"] .sys-intro .eyebrow, html[lang="en"] .sys-intro .eyebrow { font-size: max(var(--fs-min), 9vw); }
  .menu-tiles .tile span { inset: auto 8px 9px; }
  .menu-tiles .tile b { line-height: 1.3; }
}

/* =====================================================================================
   Showcase slider (home page) - full width, in the style of the big tech brands:
   the active slide is centred, its neighbours peek in at both edges, slides glide sideways,
   pill dots fill up while a slide is shown, pause / play button, swipe or drag, arrows on desktop.
   Slide 1 = the company on the showroom photo (dark); then one light slide per featured device.
   ===================================================================================== */
.btn-red {
  background: linear-gradient(135deg, #e5262f 0%, #c4141d 55%, #a50f17 100%); background-size: 170% 100%; background-position: 0 0;
  color: #ffffff; box-shadow: 0 14px 30px -14px rgba(196, 20, 29, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-red:hover { background-position: 100% 0; color: #ffffff; }
.btn-gold { box-shadow: 0 14px 30px -14px rgba(196, 20, 29, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-line { border: 2px solid #000000; background: transparent; color: #000000; }
.btn-line:hover { background: #000000; color: #ffffff; }

.showcase {
  --peek: clamp(12px, 4.4vw, 76px); --gap: clamp(8px, 1.1vw, 16px); --dir: 1;
  --sh: clamp(540px, calc(100svh - var(--hdr-t) - 170px), 760px);
  position: relative; background: #000000; padding-top: clamp(10px, 1.3vw, 18px);
}
[dir="rtl"] .showcase { --dir: -1; }
@media (min-width: 900px) { .showcase { --sh: clamp(560px, calc(100svh - var(--hdr-t) - 100px), 780px); } }
.sc-view {
  position: relative; height: var(--sh); overflow: hidden; container-type: inline-size;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.sc-view img { -webkit-user-drag: none; }
.sc-slide {
  --sw: min(calc(100cqw - 2 * var(--peek) - 2 * var(--gap)), 1440px);
  position: absolute; top: 0; left: 50%; width: var(--sw); height: 100%; margin-left: calc(var(--sw) / -2);
  border-radius: clamp(20px, 2.2vw, 34px); overflow: hidden; isolation: isolate;
  transform: translate3d(calc(var(--x, 0) * var(--dir) * (var(--sw) + var(--gap)) + var(--dx, 0px)), 0, 0) scale(var(--sc, .94));
  opacity: .5; transition: transform .7s cubic-bezier(.65, 0, .35, 1), opacity .7s ease;
  will-change: transform;
}
.sc-slide.is-active { --sc: 1; opacity: 1; z-index: 2; }
.sc-slide.no-anim, .showcase.is-drag .sc-slide { transition: none; }

/* slide 1: the company, white text on the showroom photo */
.sc-brand { background: #000000; color: #ffffff; }
.sc-bg, .sc-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-bg img { object-fit: cover; object-position: 50% 30%; transform: scale(1.06); transition: transform 9s linear; }
.sc-brand.is-active .sc-bg img { transform: scale(1); }
.sc-brand::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .7) 36%, rgba(0, 0, 0, .1) 68%, rgba(0, 0, 0, 0) 100%);
}
.sc-brand .sc-inner { position: absolute; z-index: 1; inset-block: auto 0; inset-inline: 0; padding: 22px clamp(20px, 4vw, 72px) clamp(24px, 4vw, 64px); }
.sc-h1 { margin: 0 0 12px; font-size: max(var(--fs-min), clamp(2.1rem, 7.4vw, 5rem)); line-height: 1.14; font-weight: 900; color: #ffffff; letter-spacing: -.01em; }
html[lang="en"] .sc-h1 { line-height: 1.02; letter-spacing: -.02em; }
.sc-lead { margin: 0 0 18px; max-width: 54ch; color: #ffffff; font-weight: 600; line-height: 1.7; font-size: max(var(--fs-min), clamp(1rem, 1.5vw, 1.22rem)); }
.sc-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-chips { display: none; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.sc-chips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  color: #ffffff; font-weight: 600; font-size: max(var(--fs-min), 1rem);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sc-chips .ic { width: 16px; height: 16px; color: #ff3b3b; }
@media (max-width: 767px) {
  .sc-brand .sc-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sc-brand .sc-cta .btn { --h: 50px; min-width: 0; padding: 0 10px; gap: 8px; white-space: normal; text-align: center; line-height: 1.15; }
}
@media (min-width: 900px) {
  .sc-brand::after { background: linear-gradient(to left, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .66) 40%, rgba(0, 0, 0, .05) 70%, rgba(0, 0, 0, 0) 100%); }
  [dir="ltr"] .sc-brand::after { background: linear-gradient(to right, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .66) 40%, rgba(0, 0, 0, .05) 70%, rgba(0, 0, 0, 0) 100%); }
  .sc-brand .sc-inner { inset-block: 0; display: flex; flex-direction: column; justify-content: center; max-width: min(56%, 760px); padding: 40px clamp(40px, 5vw, 96px); }
  .sc-chips { display: flex; }
}

/* device slides: black text on the light tech background, device logo as the title, price, Buy now + Details */
.sc-prod { display: grid; grid-template-rows: auto minmax(0, 1fr); background: #ffffff url("../img/tech-bg.svg") center / cover no-repeat; color: #000000; }
.sc-prod .sc-inner { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 8px; padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 56px) 0; text-align: center; }
.sc-eyebrow { margin: 0; color: #e5262f; font-weight: 800; font-size: max(var(--fs-min), clamp(1rem, 1.3vw, 1.12rem)); }
.sc-name { display: grid; justify-items: center; gap: 6px; margin: 2px 0 0; line-height: 1; }
.sc-logo { display: block; width: auto; height: clamp(50px, 7.2vw, 104px); max-width: min(100%, 520px); object-fit: contain; }
.sc-model { font: 800 max(var(--fs-min), clamp(1.15rem, 1.8vw, 1.5rem))/1.1 var(--f-disp); color: #000000; }
.sc-model.big { font-size: max(var(--fs-min), clamp(2.3rem, 5.6vw, 4.6rem)); font-weight: 900; letter-spacing: -.01em; }
.sc-facts { margin: 4px 0 0; color: #000000; font-weight: 600; font-size: max(var(--fs-min), clamp(1rem, 1.3vw, 1.12rem)); }
.sc-sep { margin-inline: 6px; color: #e5262f; font-weight: 900; }
.sc-price { margin: 4px 0 2px; font: 800 max(var(--fs-min), clamp(1.7rem, 2.6vw, 2.3rem))/1 var(--f-disp); color: #000000; }
.sc-prod .sc-cta { justify-content: center; margin-top: 6px; }
.sc-prod .sc-cta .btn { --h: 50px; width: auto; margin: 0; padding: 0 24px; }
.sc-media { position: relative; display: block; min-height: 0; }
.sc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 2% 8% 6%;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .18));
  transform: translateY(22px) scale(.93); transition: transform 1.1s .12s cubic-bezier(.2, .8, .2, 1);
}
.sc-prod.is-active .sc-media img { transform: none; }
.sc-prod .sc-inner > * { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.sc-prod.is-active .sc-inner > * { opacity: 1; transform: none; }
.sc-prod.is-active .sc-inner > :nth-child(2) { transition-delay: .06s; }
.sc-prod.is-active .sc-inner > :nth-child(3) { transition-delay: .12s; }
.sc-prod.is-active .sc-inner > :nth-child(4) { transition-delay: .18s; }
.sc-prod.is-active .sc-inner > :nth-child(5) { transition-delay: .24s; }
@media (min-width: 900px) {
  .sc-prod { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: minmax(0, 1fr); }
  .sc-prod .sc-inner { align-content: center; justify-items: start; text-align: start; gap: 10px; padding: 40px 0; padding-inline-start: clamp(40px, 5.4vw, 104px); }
  .sc-name { justify-items: start; }
  .sc-prod .sc-cta { justify-content: flex-start; }
  .sc-media img { padding: 8% 7% 8% 3%; }
  [dir="rtl"] .sc-media img { padding: 8% 3% 8% 7%; }
}

/* arrows (desktop, over the peeking neighbours) */
.sc-arrow {
  position: absolute; z-index: 5; top: 50%; display: none; place-items: center; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%;
  color: #ffffff; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s, border-color .25s, transform .25s;
}
.sc-arrow:hover { background: #e5262f; border-color: transparent; transform: scale(1.06); }
.sc-arrow .ic { width: 24px; height: 24px; }
.sc-prev { inset-inline-start: max(10px, calc(var(--peek) - 28px)); }
.sc-next { inset-inline-end: max(10px, calc(var(--peek) - 28px)); }
@media (min-width: 900px) { .sc-arrow { display: grid; } }

/* dots + pause / play */
.sc-ui { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px var(--pad) 22px; }
.sc-dots { display: flex; align-items: center; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.sc-dot { display: grid; place-items: center; width: 22px; height: 36px; transition: width .5s var(--ease); }
.sc-dot span { position: relative; display: block; width: 8px; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .5); transition: width .5s var(--ease), background-color .3s; }
.sc-dot:hover span { background: rgba(255, 255, 255, .85); }
.sc-dot.is-active { width: 58px; }
.sc-dot.is-active span { width: 46px; background: rgba(255, 255, 255, .3); }
.sc-dot i { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 0; border-radius: inherit; background: #ffffff; }
.sc-dot.is-active i { animation: sc-fill 2s linear forwards; }
.showcase.is-paused .sc-dot.is-active i { animation-play-state: paused; }
.showcase.is-stopped .sc-dot.is-active i { animation: none; width: 100%; }
@keyframes sc-fill { from { width: 0; } to { width: 100%; } }
.sc-play { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #ffffff; transition: background-color .25s; }
.sc-play:hover { background: #e5262f; }
.sc-play .ic { width: 18px; height: 18px; }
.sc-i-play { display: none; }
.showcase.is-stopped .sc-i-play { display: block; }
.showcase.is-stopped .sc-i-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sc-slide, .sc-bg img, .sc-media img, .sc-prod .sc-inner > * { transition: none !important; }
}
@media (max-width: 899px) {
  .sc-prod .sc-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; max-width: 380px; }
  .sc-prod .sc-cta .btn { min-width: 0; padding: 0 10px; gap: 8px; }
}
@media (max-width: 420px) { .sc-brand .sc-cta .btn-red .ic { display: none; } }
.sc-fact { white-space: nowrap; }

/* system slides: prospector photo (no device names on it), system title, short line, count + starting price,
   red "Browse devices" + "Ask an expert"; optional featured device on a small white tech tile */
.sc-sys { background: #000000; color: #ffffff; }
.sc-photo { position: absolute; inset: 0; overflow: hidden; }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.05); transition: transform 2.6s ease-out; }
.sc-sys.is-active .sc-photo img { transform: scale(1); }
.sc-sys::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .72) 40%, rgba(0, 0, 0, .1) 70%, rgba(0, 0, 0, 0) 100%);
}
.sc-sys .sc-inner { position: absolute; z-index: 2; inset-block: auto 0; inset-inline: 0; padding: 22px clamp(20px, 4vw, 72px) clamp(24px, 4vw, 64px); }
.sc-sys .sc-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: #ffffff; font-weight: 800; font-size: max(var(--fs-min), 1rem); }
.sc-num { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 999px; background: #e5262f; color: #ffffff; font: 800 max(var(--fs-min), .95rem)/1 var(--f-disp); }
.sc-sys-title { margin: 0 0 10px; font-size: max(var(--fs-min), clamp(2rem, 6.4vw, 4.4rem)); line-height: 1.14; font-weight: 900; color: #ffffff; letter-spacing: -.01em; }
html[lang="en"] .sc-sys-title { line-height: 1.04; letter-spacing: -.02em; }
.sc-sys .sc-lead { margin-bottom: 10px; }
.sc-meta { margin: 0 0 18px; color: #ffffff; font-weight: 700; font-size: max(var(--fs-min), clamp(1rem, 1.3vw, 1.12rem)); }
.sc-meta .sc-sep { color: #ff3b3b; }
.sc-dev {
  position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-end: 14px;
  width: clamp(112px, 30cqw, 300px); aspect-ratio: 1 / 1; border-radius: clamp(16px, 2vw, 26px); overflow: hidden;
  background: #ffffff url("../img/tech-bg.svg") center / cover no-repeat; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .75);
  transform: translateY(-10px) scale(.94); opacity: 0; transition: transform .7s .15s cubic-bezier(.2, .8, .2, 1), opacity .5s .15s;
}
.sc-sys.is-active .sc-dev { transform: none; opacity: 1; }
.sc-dev img { width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 8%; }
.sc-sys .sc-inner > * { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.sc-sys.is-active .sc-inner > * { opacity: 1; transform: none; }
.sc-sys.is-active .sc-inner > :nth-child(2) { transition-delay: .05s; }
.sc-sys.is-active .sc-inner > :nth-child(3) { transition-delay: .1s; }
.sc-sys.is-active .sc-inner > :nth-child(4) { transition-delay: .15s; }
.sc-sys.is-active .sc-inner > :nth-child(5) { transition-delay: .2s; }
@media (max-width: 767px) {
  .sc-sys .sc-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sc-sys .sc-cta .btn { --h: 50px; min-width: 0; padding: 0 10px; gap: 8px; white-space: normal; text-align: center; line-height: 1.15; }
}
@media (max-width: 420px) { .sc-sys .sc-cta .btn-red .ic { display: none; } }
@media (min-width: 900px) {
  /* desktop: the photo fills the end side (no upscaling), the text sits on black on the start side */
  .sc-sys .sc-photo { inset-inline-start: auto; width: 58%; }
  .sc-sys::after { background: linear-gradient(to left, #000000 0%, #000000 42%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, 0) 64%); }
  [dir="ltr"] .sc-sys::after { background: linear-gradient(to right, #000000 0%, #000000 42%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, 0) 64%); }
  .sc-sys .sc-inner { inset-block: 0; display: flex; flex-direction: column; justify-content: center; max-width: 52%; padding: 40px clamp(40px, 5vw, 96px); }
  .sc-dev { inset-block: auto 28px; inset-inline-end: 28px; width: clamp(200px, 20cqw, 290px); }
}
@media (prefers-reduced-motion: reduce) { .sc-photo img, .sc-dev, .sc-sys .sc-inner > * { transition: none !important; } }

/* "Ask an expert" = blue button, white text (everywhere it appears) */
.btn-blue {
  background: linear-gradient(135deg, #2f6bff 0%, #1d4ed8 55%, #1739a6 100%); background-size: 170% 100%; background-position: 0 0;
  color: #ffffff; border: 0; box-shadow: 0 14px 30px -14px rgba(29, 78, 216, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-blue:hover { background-position: 100% 0; color: #ffffff; }
.btn-blue .ic { color: #ffffff; }

/* 3D slide: real screens of the 3D analysis software (beside the photo on desktop, under the facts on phones) */
.sc-ana { margin: 0 0 16px; }
.sc-ana figcaption { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #ffffff; font-weight: 700; font-size: max(var(--fs-min), 1rem); }
.sc-ana figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 4px rgba(229, 38, 47, .25); flex: none; }
.sc-ana-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sc-ana-row img {
  display: block; width: 100%; height: auto; aspect-ratio: 987 / 872; object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .9); background: #000000;
}
@media (max-width: 767px) { .sc-sys.has-ana .sc-lead { display: none; } }
@media (min-width: 900px) {
  .sc-sys .sc-ana {
    position: absolute; z-index: 3; inset-block-end: 28px; inset-inline-start: calc(100% + 28px);
    width: min(540px, 40cqw); margin: 0; padding: 12px; border-radius: 20px;
    background: rgba(0, 0, 0, .58); border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .sc-ana-row { gap: 10px; }
}

/* analysis shapes: no frame, no box, no background - only the 3D shapes, floating */
.sc-ana-row { display: flex; align-items: flex-end; justify-content: flex-start; gap: clamp(6px, 1.4cqw, 18px); }
.sc-ana-row img {
  width: auto; height: clamp(74px, 9.5cqw, 150px); max-width: 33%; aspect-ratio: auto; object-fit: contain;
  border: 0; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55));
}
@media (min-width: 900px) {
  .sc-sys .sc-ana { padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; width: min(560px, 42cqw); }
  .sc-sys .sc-ana-row { justify-content: center; }
}
@media (max-width: 899px) { .sc-ana-row img { height: 92px; } }

/* slide titles: balanced, at most two lines (site.js steps the size down when a title would need a third line) */
.sc-h1, .sc-sys-title { text-wrap: balance; }
.sc-sys-title { font-size: max(var(--fs-min), clamp(1.7rem, 5.6vw, 3.7rem)); }
.sc-h1 { font-size: max(var(--fs-min), clamp(2rem, 6.6vw, 4.4rem)); }

/* language switch: white text, white globe, black inside (button and list) */
.lang-btn, .lang-btn:hover, .lang-dd[open] > .lang-btn { border: 1px solid #ffffff; background: #000000; color: #ffffff; }
.lang-btn .ic { color: #ffffff; }
.lang-list { background: #000000; border: 1px solid rgba(255, 255, 255, .35); }
.lang-opt { color: #ffffff; }
a.lang-opt:hover, a.lang-opt:focus-visible { background: rgba(255, 255, 255, .14); color: #ffffff; }
.lang-opt.is-current { color: #ffffff; background: rgba(255, 255, 255, .1); }

/* "Best seller" / "New" badge on the device photo: bigger */
.badge { inset-inline-start: 14px; bottom: 14px; padding: 8px 16px; font-size: max(var(--fs-min), 1.05rem); font-weight: 800; }

/* "Details" = blue button, white text (cards everywhere) */
.card-foot .btn.btn-blue { border: 0; }

/* device cards: price + WhatsApp on one line, then "Buy now" and "Details" side by side (same on every card) */
.card { container-type: inline-size; }
.card-foot { flex-wrap: nowrap; row-gap: 0; }
.card-foot .price { flex: 1 1 auto; min-width: 0; }
.card-act { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.card-act .btn, .card .card-act .btn-buy { --h: 50px; width: 100%; min-width: 0; margin: 0; padding: 0 10px; gap: 8px; font-size: max(var(--fs-min), 1rem); }
.card-act .btn:only-child { grid-column: 1 / -1; }
@container (max-width: 290px) {
  .card-act .btn .ic { display: none; }
  .card-act .btn { padding: 0 6px; letter-spacing: 0; }
}

/* less space between the systems tiles and the brands strip */
.sec-more { padding-bottom: clamp(10px, 2vw, 22px); }
.sec-brands { padding-top: clamp(10px, 2vw, 22px); }

/* section labels such as "New arrivals": bigger */
.eyebrow.eyebrow-lg, .sec-head .eyebrow { font-size: max(var(--fs-min), clamp(1.15rem, 2.2vw, 1.45rem)); font-weight: 800; }
.sec-head .eyebrow::before { width: 40px; height: 3px; }

/* tighter spacing between sections (home page and every other page, both languages) */
.section { padding-block: clamp(30px, 5vw, 60px); }
.sys-intro { padding-top: clamp(20px, 3.5vw, 40px); padding-bottom: clamp(18px, 3vw, 36px); }
#best { padding-bottom: clamp(14px, 2.5vw, 28px); }
.showcase + .section { padding-top: clamp(26px, 4vw, 48px); }
.sec-more { padding-bottom: clamp(8px, 1.6vw, 18px); }
.sec-brands { padding-top: clamp(8px, 1.6vw, 18px); }
#contact { padding-block: clamp(30px, 5vw, 60px); }
.cta-band { padding-bottom: clamp(30px, 5vw, 60px); }

/* header (top) and footer (bottom of every page): the owner's dark blue gradient wallpaper */
.site-header { background: #000000 url("../img/header-bg.avif") center / 100% 100% no-repeat; }
.site-footer, footer.site-footer.dark { background: #000000 url("../img/header-bg.avif") center / 100% 100% no-repeat; }

/* English text everywhere = Garrett's typeface (Oxanium): English pages, and English names inside Arabic pages */
:root { --f-en: "Oxanium", "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }
html[lang="en"], [lang="en"] { --f-body: var(--f-en); --f-disp: var(--f-en); font-family: var(--f-en); }
html[lang="en"] :is(input, select, textarea, button, option) { font-family: var(--f-en); }

/* spec table on small phones: label above value, long words may wrap (wider English typeface) */
.spec-table th, .spec-table td { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding-bottom: 2px; border-bottom: 0; }
  .spec-table td { padding-top: 2px; }
}
.spec-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-chips li > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 359px) { .spec-chips { grid-template-columns: minmax(0, 1fr); } }

/* footer brands: one flowing line (wraps when needed), brands separated by a dash - both languages */
.ft-brands ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.ft-brands li { display: inline-flex; align-items: center; white-space: nowrap; }
.ft-brands li + li::before { content: "\2013"; margin-inline: 10px; color: #ffffff; font-weight: 700; }

/* brand logos used as icons/tiles (brands strip, menu, brand pages, device pages): one colour, white on the dark tiles - never gold */
.logo-tile img, .logo-tile img.inv, .mb-logo img, .mb-logo img.inv, .brand-logo-big img, .brand-logo-big img.inv { filter: brightness(0) invert(1); }
/* dash only BETWEEN brands: every item carries a leading dash, and the one at the start of each line is clipped away */
.ft-brands { overflow: hidden; }
.ft-brands ul { margin-inline-start: -28px; }
.ft-brands li::before, .ft-brands li + li::before { content: "\2013"; display: inline-block; width: 28px; margin: 0; text-align: center; color: #ffffff; font-weight: 700; }

/* footer brands: a full-width horizontal row (red title, then the brands side by side), not a narrow column */
.ft-top .ft-brands {
  grid-column: 1 / -1; order: 10; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; row-gap: 6px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); overflow: hidden;
}
.ft-top .ft-brands .ft-h { margin: 0; flex: none; margin-inline: 5px !important;}
.ft-top .ft-brands ul { flex: 1 1 0; min-width: 0; }

/* the Orient watermark behind device photos and tiles: neutral grey, no gold tint (both languages) */
.card-media::after, .pdp-media::after, .mini-media::after, .duo::after, .tile::before { filter: grayscale(1); }
@media (max-width: 719px) { .ft-top .ft-brands { flex-direction: column; align-items: stretch; } .ft-top .ft-brands ul { flex: none; width: 100%; } }

/* Preserve the original section spacing inside WPBakery rows. */
.ot-builder-home .ot-home-row.vc_row { margin-inline: 0; }
.ot-builder-home .ot-home-row > .vc_column_container > .vc_column-inner { padding-inline: 0; }
.docs-sec .docs-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}

.docs-sec .docs-list > li {
  display: flex;
  min-width: 0;
}

.docs-sec .doc-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 12px 16px;
  width: 100%;
  padding: 16px;
}

.docs-sec .doc-txt {
  align-content: start;
  overflow-wrap: anywhere;
}

.docs-sec .doc-dl {
  grid-column: 2;
  justify-self: start;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  gap: 6px;
  font-size: max(var(--fs-min, 0px), 0.875rem);
}
.docs-sec .docs-list > li:only-child {
  inline-size: 100%;
  max-inline-size: 30rem;
  justify-self: start;
}
