/* ==========================================================================
   Karawia Pack — base styles (mobile first)
   Wider-screen layouts live in responsive.css
   ========================================================================== */

:root {
  /* Navy one grade lighter than the first palette (#0D1B2A): Sherif tried two grades, then asked
     for one grade darker (2026-09-29) */
  --navy: #142B42;
  --navy-rgb: 20, 43, 66; /* the same navy, for see-through shades */
  --navy-2: #1A3551;
  --navy-3: #25415B;
  --navy-line: #2B475F;
  --navy-border: #3A576E;
  --teal: #25516A;
  --teal-dark: #1C4155;
  --teal-tint: #E6EEF3;
  --teal-light: #8FC1D9;
  --amber: #F5A623;
  --amber-dark: #E0931A;
  --mist: #F4F6F8;
  --line: #D9E1E7;
  --line-soft: #E3E9EE;
  --field-border: #8497A6;
  --slate: #4A5968;
  --text: #1F2D3A;
  --white: #FFFFFF;
  --on-dark: #AFC0CF;
  --on-dark-strong: #D6E3EA;
  --on-teal-border: #7FA3B8;
  --dark-border: #6A87A0;
  --warn-bg: #FFF4DD;
  --warn-text: #8A6100;
  --danger: #B42318;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;

  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 16px;
  --container: 1200px;
  --gutter: 16px;
  --shadow-card: 0 1px 2px rgba(var(--navy-rgb), 0.06), 0 16px 40px rgba(var(--navy-rgb), 0.08);

  --ring-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320' fill='none' stroke-width='1.5'%3E%3Ccircle cx='160' cy='160' r='150' stroke='%23C3D3DD'/%3E%3Ccircle cx='160' cy='160' r='120' stroke='%23B7CAD6'/%3E%3Ccircle cx='160' cy='160' r='90' stroke='%239DB6C6'/%3E%3Ccircle cx='160' cy='160' r='60' stroke='%239DB6C6'/%3E%3Ccircle cx='160' cy='160' r='30' stroke='%2325516A'/%3E%3C/svg%3E");
  --ring-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 720' fill='none' stroke-width='1.5'%3E%3Ccircle cx='360' cy='360' r='340' stroke='%231F3F55'/%3E%3Ccircle cx='360' cy='360' r='300' stroke='%2325516A'/%3E%3Ccircle cx='360' cy='360' r='260' stroke='%2325516A'/%3E%3Ccircle cx='360' cy='360' r='220' stroke='%232E6380'/%3E%3Ccircle cx='360' cy='360' r='180' stroke='%232E6380'/%3E%3Ccircle cx='360' cy='360' r='140' stroke='%233A7595'/%3E%3Ccircle cx='360' cy='360' r='100' stroke='%233A7595'/%3E%3Ccircle cx='360' cy='360' r='56' stroke='%23F5A623' stroke-width='2'/%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.8;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.on-teal :focus-visible { outline-color: var(--teal-light); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.nums { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-6 { display: flex; flex-direction: column; gap: 6px; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; min-width: 0; }

.label-caps {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.on-dark .label-caps { color: var(--white); }
html[lang="ar"] .label-caps { letter-spacing: 0; text-transform: none; font-size: 14px; }
.on-dark .small { color: var(--on-dark); }

/* ---------- Typography ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.on-dark .eyebrow { color: var(--amber); }

.h1 {
  font-size: 34px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}
.lead { font-size: 16px; line-height: 1.6; color: var(--slate); }
.small { font-size: 13px; color: var(--slate); }

.on-dark h1, .on-dark h2, .on-dark h3,
.on-teal h1, .on-teal h2, .on-teal h3 { color: var(--white); }
.on-dark .lead { color: var(--on-dark); }
.on-teal .lead { color: var(--on-dark-strong); }

html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
html[lang="ar"] .h1,
html[lang="ar"] .h2,
html[lang="ar"] .h3 { letter-spacing: 0; line-height: 1.4; }

/* ---------- Icons ---------- */

.icon { width: 18px; height: 18px; }
.icon--m { width: 24px; height: 24px; }
.icon--l { width: 28px; height: 28px; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-s);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--primary { background: var(--amber); color: var(--navy); }
.btn--primary:hover { background: var(--amber-dark); color: var(--navy); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); color: var(--white); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal-tint); color: var(--teal-dark); }
.btn--ghost-light { border: 1px solid var(--dark-border); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn--on-teal { border: 1px solid var(--on-teal-border); color: var(--white); background: transparent; }
.btn--on-teal:hover { border-color: var(--white); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-stack { display: flex; flex-direction: column; gap: 12px; }
/* "WhatsApp +20 …" always on one line */
.btn--whatsapp { white-space: nowrap; }
.box .btn--whatsapp { gap: 8px; padding-inline: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
}
.link-underline { text-decoration: underline; text-underline-offset: 3px; }
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: start;
  cursor: pointer;
}

/* [VERIFY] marker: facts still to be confirmed before launch */
.verify {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 0 6px;
  border: 1px dashed var(--warn-text);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.04em;
  color: var(--warn-text);
  white-space: nowrap;
  vertical-align: middle;
  text-transform: none;
}
.on-dark .verify { border-color: var(--amber); color: var(--amber); }
.on-teal .verify { border-color: var(--white); color: var(--white); }

/* ---------- Image placeholders ([IMAGE] slots) ---------- */

.img-ph {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: var(--radius-l);
  background: var(--teal-tint) var(--ring-light) no-repeat;
  background-size: 300px 300px;
  background-position: right -80px top -80px;
}
[dir="rtl"] .img-ph { background-position: left -80px top -80px; }
.img-ph--dark {
  background-color: var(--navy-2);
  background-image: var(--ring-dark);
  background-size: 560px 560px;
  background-position: right -160px top -140px;
}
[dir="rtl"] .img-ph--dark { background-position: left -160px top -140px; }
.img-ph__label {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  border: 1px dashed #9DB3C2;
  background: var(--white);
  font-size: 12px;
  line-height: 1.45;
  color: var(--slate);
}
.img-ph__label strong { display: block; font-weight: 600; color: var(--navy); }
.img-ph--dark .img-ph__label { background: var(--navy); border-color: var(--dark-border); color: var(--on-dark); }
.img-ph--dark .img-ph__label strong { color: var(--white); }

/* ---------- Prototype bar & toast (removed at launch) ---------- */

.proto-bar {
  background: var(--warn-bg);
  color: var(--warn-text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid #F0DDB0;
}
.proto-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  padding-block: 6px;
}
.proto-bar strong { font-weight: 700; }
.proto-bar__note { display: none; }
@media (min-width: 640px) { .proto-bar__note { display: inline; } }
.proto-bar a { color: var(--warn-text); text-decoration: underline; text-underline-offset: 2px; }
.proto-bar a[aria-current="page"] { font-weight: 700; text-decoration: none; }

.toast {
  position: fixed;
  inset-inline: 16px;
  bottom: 96px;
  z-index: 90;
  max-width: 420px;
  margin-inline: auto;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */

.lang-ar { font-family: var(--font-ar); }

/* One navy header on every page (white logo and links). On the home page it starts
   transparent over the photo (.site-header--overlay, below). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  color: var(--teal);
}
.brand:hover { color: var(--teal); }
.brand__logo { display: block; width: auto; height: 36px; }
.footer-brand .brand__logo { height: 64px; }
.app-bar__title .brand__logo { height: 28px; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }

html.no-scroll { overflow: hidden; }

/* Main menu. Phones: a full-height menu under the header with expandable groups.
   Large screens (responsive.css): drop-down panels. */
.site-nav { display: none; }
.site-header.is-open .site-nav {
  display: block;
  position: fixed;
  inset-inline: 0;
  top: 64px; /* the script sets the exact position under the header */
  bottom: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px var(--gutter) 32px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.site-nav__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: start;
  color: var(--navy);
  cursor: pointer;
}
.site-nav__link:hover { color: var(--teal); }
.site-nav__link[aria-current="page"],
.site-nav__link.is-current { color: var(--teal); }
.nav-trigger__icon { flex-shrink: 0; width: 18px; height: 18px; transition: transform 0.15s; }
.nav-item.is-open > .nav-trigger .nav-trigger__icon { transform: rotate(180deg); }

.nav-panel { display: none; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.nav-item.is-open > .nav-panel { display: block; }
.nav-item.is-open > .nav-trigger { border-bottom-color: transparent; }
.nav-panel .container { padding-inline: 0; }

.mega__head,
.mega__note { display: none; }
.mega__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 4px 0 12px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: start;
  color: var(--teal);
  cursor: pointer;
}
.mega__toggle .icon { width: 18px; height: 18px; transition: transform 0.15s; }
.mega__col.is-open .mega__toggle .icon { transform: rotate(180deg); }
.mega__list { display: none; margin: 0; padding: 0 0 8px 12px; list-style: none; }
.mega__col.is-open .mega__list { display: block; }
.mega__list a { display: block; padding: 9px 8px; font-weight: 500; color: var(--navy); }
.mega__list a:hover { color: var(--teal); }
.mega__all a { font-weight: 600; color: var(--teal); }
.mega__cta { display: flex; flex-direction: column; align-items: flex-start; padding: 4px 12px 0; }
.mega__cta-title,
.mega__cta-text,
.mega__cta .btn { display: none; }

.drop-list { margin: 0; padding: 0 0 4px 12px; list-style: none; }
.drop-list a { display: flex; flex-direction: column; padding: 9px 8px; color: var(--navy); }

/* The section's own page, as the first line of its menu */
.mega__top { padding: 2px 0 2px 12px; }
.mega__top-title,
.mega__help { display: none; }
.mega__top-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; color: var(--teal); }
/* Split items: the word goes to the page, the arrow beside it opens the menu */
.nav-item--split { display: flex; flex-wrap: wrap; align-items: center; }
.nav-item--split > .site-nav__link { flex: 1; width: auto; }
.nav-item--split > .nav-panel { flex-basis: 100%; }
.nav-item--split.is-open > .site-nav__link { border-bottom-color: transparent; }
.nav-trigger--arrow {
  display: inline-grid;
  place-items: center end;
  width: 52px;
  min-height: 52px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-inline-start: 1px solid var(--line-soft);
  background: none;
  color: var(--navy);
  cursor: pointer;
}
.drop-list strong { font-size: 16px; font-weight: 500; }
.drop-list span { font-size: 13px; color: var(--slate); }
.drop-list a:hover strong,
.drop-list a[aria-current="page"] strong { color: var(--teal); }
.site-nav__extra { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.site-nav__langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-nav__langs a,
.site-nav__langs span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.site-nav__langs [aria-current="true"] { border: 1.5px solid var(--teal); color: var(--teal); }
.site-nav__langs .is-soon { color: var(--slate); cursor: help; }

/* ---------- Sections ---------- */

.section { padding-block: 48px; }
.section--tight { padding-block: 40px; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--navy); color: var(--white); }
.section--teal { background: var(--teal); color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.section-head .lead { max-width: 560px; }

/* ---------- Home: hero ---------- */

.hero { padding-block: 32px 40px; background: var(--navy); color: var(--white); }
.hero__grid { display: grid; gap: 28px; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.hero .lead { color: var(--on-dark); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__media { min-height: 220px; }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--on-dark);
}
.checklist li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.checklist .icon { color: var(--amber); }

/* ---------- Home: key facts ---------- */

.facts { padding-block: 32px; border-bottom: 1px solid var(--line); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin-block: 0; /* keeps the container's centering */
}
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: 8px; text-align: center; }
.fact:last-child { grid-column: span 2; }
.fact dt { font-size: 13px; line-height: 1.4; color: var(--slate); }
.fact dd {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

/* ---------- Product cards ---------- */

.cards { display: grid; gap: 16px; }
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}
.card__media { height: 150px; min-height: 0; border-radius: 0; }
.card__body { display: flex; flex-grow: 1; flex-direction: column; gap: 12px; padding: 20px; }
.card__title { display: flex; align-items: center; gap: 10px; color: var(--teal); }
.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: auto;
  font-size: 13px;
  color: var(--slate);
}

.spec-list { margin: 0; padding: 0; list-style: none; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list__name { font-weight: 500; color: var(--navy); }
a.spec-list__name { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.spec-list__value { text-align: end; color: var(--slate); font-variant-numeric: tabular-nums; }

/* ---------- Industries tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--teal);
}
.tile span { font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--navy); }

/* ---------- Quality & lab ---------- */

.split { display: grid; gap: 32px; }
.split__copy { display: flex; flex-direction: column; gap: 20px; }

.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cert {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--teal);
  font-size: 12px;
}
.cert strong { font-size: 13px; font-weight: 600; color: var(--navy); }
.cert span { color: var(--slate); }

.sheet {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
.sheet__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sheet__title { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--navy); }
.sheet__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 13px; color: var(--slate); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Data tables. Base (mobile): stacked rows; responsive.css restores the table from 640px */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.data-table th {
  padding-block: 10px;
  padding-inline: 0 12px;
  border-bottom: 1.5px solid var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: start;
  text-transform: uppercase;
  color: var(--slate);
}
html[lang="ar"] .data-table th { letter-spacing: 0; text-transform: none; font-size: 13px; }
.data-table td {
  padding-block: 12px;
  padding-inline: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--slate);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table .prop { font-weight: 500; color: var(--navy); }
.data-table .val { font-weight: 600; color: var(--navy); }
/* Sizing and selection guides on product pages: the first column names the row */
.guide-table tbody th { padding-block: 12px; padding-inline: 0 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; font-weight: 600; letter-spacing: 0; text-align: start; text-transform: none; vertical-align: top; color: var(--navy); }
.guide-table tr:last-child th { border-bottom: 0; }
.guide-table td { font-variant-numeric: tabular-nums; }
.guide-table td:not(:last-child) { white-space: nowrap; }
.guide-note { max-width: 760px; margin-top: 16px; color: var(--slate); }
.table-scroll > .guide-table { min-width: 0; } /* three short columns fit a phone screen */

.data-table--stack,
.data-table--stack tbody { display: block; width: 100%; }
.data-table--stack thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.data-table--stack tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.data-table--stack tr:last-child { border-bottom: 0; }
.data-table--stack td { display: block; padding: 0; border: 0; }
.data-table--stack .unit { display: none; }
.data-table--stack .val { text-align: end; }
.data-table--stack .method { grid-column: 1 / -1; font-size: 12px; }
.data-table--stack .method:empty,
.data-table--stack .method.is-empty { display: none; }
.data-table--stack .method::before { content: attr(data-label) ": "; }
.unit-inline { font-weight: 600; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 560px; }

/* ---------- Export & logistics ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.chip--dark { background: transparent; border-color: var(--navy-border); color: var(--on-dark-strong); font-weight: 400; }

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="ar"] .list-head { letter-spacing: 0; text-transform: none; font-size: 14px; }
.on-dark .list-head { border-bottom: 1.5px solid var(--white); color: var(--white); }

.transit { margin: 0; }
/* On the export page the table runs full width under the terms, in columns from 768px */
.transit-block { margin-top: 48px; }
.transit-block .transit__row { break-inside: avoid; }
@media (min-width: 768px) {
  .transit-block { margin-top: 64px; }
  .transit-block .transit { columns: 2; column-gap: 48px; }
}
@media (min-width: 1024px) {
  .transit-block .transit { columns: 3; }
}
.transit__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--navy-line);
  font-size: 15px;
}
.transit__row dt { color: var(--white); }
.transit__from { display: block; margin-top: 2px; font-size: 13px; color: var(--on-dark); }
.transit__row dd { margin: 0; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.transit__more { margin: 16px 0 0; font-size: 14px; color: var(--on-dark); }

.refs { display: grid; gap: 12px; }
.ref {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--navy-2);
}
.ref__who { font-size: 13px; font-weight: 600; color: var(--amber); }
.ref__what { font-size: 15px; color: var(--white); }
.ref__how { font-size: 13px; color: var(--on-dark); }

/* ---------- Portal teaser ---------- */

.teaser {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-l);
  background: var(--teal-tint);
}
.teaser__main { display: flex; flex-direction: column; gap: 16px; }
.teaser__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--white);
  color: var(--teal);
}
.teaser p { color: var(--slate); }

/* ---------- Quote band ---------- */

.rfq { padding-block: 40px; }
.rfq__grid { display: grid; gap: 24px; }
.rfq__copy { display: flex; flex-direction: column; gap: 14px; }
.rfq__copy p { color: var(--on-dark-strong); }
.rfq__langs { font-size: 14px; color: var(--on-dark-strong); }

/* ---------- Footer ---------- */

.site-footer { padding-block: 40px 28px; background: var(--navy); color: var(--on-dark); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; grid-column: 1 / -1; }
.footer-brand .brand,
.footer-brand .brand:hover { color: var(--white); }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-col h2 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
html[lang="ar"] .footer-col h2 { letter-spacing: 0; text-transform: none; font-size: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-line);
  font-size: 13px;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }

/* ---------- Product page ---------- */

.breadcrumb { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--slate); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb ol.container { margin-inline: auto; padding-inline: var(--gutter); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: var(--slate); }
.breadcrumb [aria-current="page"] { font-weight: 500; color: var(--navy); }

.p-hero { padding-block: 28px 36px; background: var(--mist); }
.p-hero__grid { display: grid; gap: 24px; }
.p-hero__copy { display: flex; flex-direction: column; gap: 16px; }
.p-hero__media { min-height: 220px; }

.benefits { display: grid; gap: 12px; }
.benefit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--teal);
}
.benefit h2,
.benefit h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
.benefit p { font-size: 15px; line-height: 1.55; color: var(--slate); }

.spec-layout { display: grid; gap: 24px; align-items: start; }
.spec-table-wrap {
  padding: 4px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}
.side-card__title { font-size: 16px; font-weight: 600; color: var(--navy); }
.doc-head { display: flex; align-items: center; gap: 12px; }
.pdf-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--teal-tint);
  color: var(--teal);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lang-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}
.lang-grid a[aria-current="true"] { border: 1.5px solid var(--teal); }
.lang-grid a:hover { background: var(--teal-tint); }
.row-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.row-line strong { font-weight: 500; color: var(--navy); }
.row-line span { color: var(--slate); }

.ship-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ship-tile {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ship-tile dt { font-size: 13px; color: var(--slate); }
.ship-tile dd { margin: 0; font-size: 20px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

.related { display: grid; gap: 12px; }
.related a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.related a:hover { border-color: var(--teal); }
.related__name { font-size: 19px; font-weight: 600; color: var(--navy); }
.related__spec { font-size: 15px; color: var(--slate); font-variant-numeric: tabular-nums; }

.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(var(--navy-rgb), 0.08);
}
.sticky-cta .btn--primary { flex-grow: 1; }
.sticky-cta .btn--outline { width: 52px; padding: 0; }
body.has-sticky-cta { padding-bottom: 80px; }

/* ---------- Quote form page ---------- */

.page-intro { padding-block: 28px; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-intro__inner { display: flex; flex-direction: column; gap: 12px; }
.page-intro .breadcrumb { padding: 0; border: 0; }

.quote-layout { display: grid; gap: 32px; padding-block: 32px 56px; }
.form { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.fieldset { display: flex; flex-direction: column; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fieldset__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
}
.field-row { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label,
.field > label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field__hint { font-size: 13px; color: var(--slate); }
.req { color: var(--danger); }
.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-s);
  background: var(--white);
  font: inherit;
  font-size: 16px;
  color: var(--navy);
}
.textarea { min-height: 120px; padding-block: 12px; line-height: 1.5; resize: vertical; }
.input::placeholder,
.textarea::placeholder { color: #5F6E7C; }
.input:user-invalid,
.select:user-invalid,
.textarea:user-invalid { border-color: var(--danger); }

.radio-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.radio-group legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.radio-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-s);
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
}
.radio-chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.radio-chip:has(input:checked) { border: 1.5px solid var(--teal); background: var(--teal-tint); }
.radio-chip:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Several choices at once (products in the quote form) */
.check-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.check-group legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.check-group__hint { font-weight: 400; color: var(--slate); }
.check-group__options { display: flex; flex-wrap: wrap; gap: 8px; }
.check-group__label { flex-basis: 100%; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--slate); }
.check-group__label:first-child { margin-top: 0; }
.check-group__break { flex-basis: 100%; height: 0; }
.check-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-s);
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
}
.check-chip input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.check-chip:has(input:checked) { border: 1.5px solid var(--teal); background: var(--teal-tint); }
.check-chip:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  padding: 16px;
  border: 1.5px dashed var(--field-border);
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--teal);
  text-align: center;
  cursor: pointer;
}
.dropzone:hover { border-color: var(--teal); }
.dropzone:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__main { font-size: 15px; color: var(--navy); }
.dropzone__main span { font-weight: 600; color: var(--teal); text-decoration: underline; }
.dropzone__file { font-size: 14px; font-weight: 600; color: var(--teal); }
.dropzone--sm { flex-direction: row; min-height: 64px; gap: 8px; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--text); }
.consent input { width: 20px; height: 20px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--teal); }
.consent a { text-decoration: underline; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.success {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-l);
  background: var(--teal-tint);
}
.success:focus { outline: none; }
.success__ref {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  background: var(--white);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.demo-note {
  padding: 10px 12px;
  border-radius: var(--radius-s);
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: 13px;
}

.aside { display: flex; flex-direction: column; gap: 20px; }
.box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}
.box--tint { background: var(--teal-tint); border-color: transparent; }
.box h2 { font-size: 18px; font-weight: 600; }
.steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.steps__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
}
.box--tint .steps__n { background: var(--white); }

/* ---------- Customer portal & admin (app screens) ---------- */

.app { display: flex; min-height: 100vh; flex-direction: column; background: var(--mist); }
.app-bar { background: var(--navy); color: var(--on-dark); font-size: 14px; }
.app-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 60px;
  padding: 8px var(--gutter);
}
.app-bar__title { display: flex; align-items: center; gap: 12px; }
.app-bar__divider { width: 1px; height: 22px; background: var(--navy-border); }
.app-bar__label { font-size: 15px; font-weight: 500; color: var(--on-dark-strong); }
.app-bar__user { display: none; align-items: center; gap: 20px; }
.app-bar__end { display: flex; align-items: center; gap: 20px; }
.app-bar__signout {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--on-dark);
  cursor: pointer;
}
.app-bar__signout:hover { color: var(--white); }
.app-bar a { color: var(--on-dark); }
.app-bar a:hover { color: var(--white); }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.app-body { display: flex; flex-grow: 1; flex-direction: column; }
.app-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.app-nav a {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.app-nav a:hover { background: var(--mist); color: var(--text); }
.app-nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal); font-weight: 600; }
.app-nav__help { display: none; }

.app-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; flex-grow: 1; padding: 20px var(--gutter) 48px; }
.app-main .breadcrumb { padding: 0; border: 0; font-size: 14px; }

.panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}
.panel__title { font-size: 18px; font-weight: 600; color: var(--navy); }
.panel__title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }

.order-head { display: flex; flex-direction: column; gap: 14px; }
.order-head__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.order-head h1 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.status--neutral { background: var(--mist); border: 1px solid var(--line); color: var(--slate); font-size: 12px; padding: 4px 10px; }
.status--neutral::before { display: none; }
.badge-manual {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: 13px;
  font-weight: 600;
}
.badge-ops {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
}

.meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0; font-size: 14px; }
.meta div { display: flex; flex-direction: column; gap: 2px; }
.meta dt { color: var(--slate); }
.meta dd { margin: 0; font-weight: 600; color: var(--navy); }

/* Order progress: vertical on mobile, horizontal from 900px (responsive.css) */
.timeline { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 12px;
  padding-bottom: 18px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: 15px;
  top: 32px;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline li.is-done::before { background: var(--teal); }
.tl-dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--field-border);
  border-radius: 999px;
  background: var(--white);
  color: var(--white);
}
.tl-dot .icon { display: none; width: 16px; height: 16px; }
.is-done .tl-dot { background: var(--teal); border-color: var(--teal); }
.is-done .tl-dot .icon { display: block; }
.is-current .tl-dot { border: 3px solid var(--teal); }
.is-current .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--teal); }
.tl-text { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.tl-label { font-size: 14px; font-weight: 500; color: var(--slate); }
.is-done .tl-label,
.is-current .tl-label { font-weight: 600; color: var(--navy); }
.is-current .tl-label { font-weight: 700; }
.tl-date { font-size: 12px; color: var(--slate); }

.app-grid { display: grid; gap: 18px; align-items: start; }
.app-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.doc-row:last-child { border-bottom: 0; }
.doc-row strong { font-weight: 600; color: var(--navy); }
.doc-row small { display: block; font-size: 12px; color: var(--slate); }
.doc-row__state { font-size: 13px; color: var(--slate); text-align: end; }

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--teal-tint);
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
}
.status-big { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.status-big strong { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; line-height: 1.5; }
.status-line .icon { color: var(--teal); }
.status-line span { color: var(--text); }
.status-line .muted { color: var(--slate); }
.divider { height: 1px; background: var(--line-soft); }
.admin-form { display: grid; gap: 12px; align-items: end; }

.activity { margin: 0; padding: 0; list-style: none; }
.activity li {
  display: grid;
  gap: 2px 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.5;
}
.activity li:last-child { border-bottom: 0; }
.activity time { color: var(--slate); font-variant-numeric: tabular-nums; }
.activity .src-manual { font-weight: 600; color: var(--warn-text); }
.activity .src-ops { font-weight: 600; color: var(--teal); }

/* Live portal screens (js/portal.js draws them) */
.app-loading { font-size: 15px; color: var(--slate); }
/* Each new screen moves the focus to its heading (for screen readers); no ring on a heading */
.app-main [tabindex="-1"]:focus { outline: none; }
.empty { font-size: 15px; color: var(--slate); }
.muted { color: var(--slate); }
.panel--note { gap: 12px; }
.panel--form { max-width: 880px; }
.panel__sub { margin-top: 6px; font-size: 16px; font-weight: 600; color: var(--navy); }
.order-head__title a.small { text-decoration: underline; text-underline-offset: 3px; }

.auth { display: flex; justify-content: center; padding-block: 8px 24px; }
.auth__panel { width: 100%; max-width: 440px; gap: 18px; }
.auth__title { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.auth__lead { font-size: 15px; line-height: 1.55; color: var(--slate); }
.auth__links { font-size: 15px; font-weight: 600; }

.form-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form-note {
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--teal-tint);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.5;
}
.optional { font-weight: 400; color: var(--slate); }
.field-row .field--wide { grid-column: 1 / -1; }
.textarea--short { min-height: 88px; }
.input[readonly] { background: var(--mist); color: var(--slate); }
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}
.check-line input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); }
.check-line:has(input:disabled) { color: var(--slate); cursor: default; }

.order-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.order-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.order-card:hover { border-color: var(--teal); box-shadow: var(--shadow-card); color: var(--text); }
.order-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.order-card__num { font-size: 18px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.order-card__customer { font-size: 14px; font-weight: 600; color: var(--teal); }
.order-card__products { font-size: 15px; color: var(--navy); }
.order-card__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--slate); }

.info-box .icon { flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.info-box a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.info-box--message { background: var(--white); border: 1px solid var(--line); border-inline-start: 4px solid var(--amber); }
.meta--stack { grid-template-columns: minmax(0, 1fr); }
.meta dd.is-pending { font-weight: 500; color: var(--slate); }
/* Lists in the narrow side column: time and label on one line, the text below */
.activity.activity--stack li { grid-template-columns: minmax(0, 1fr) auto; }
.activity--stack li > :nth-child(2) { text-align: end; }
.activity--stack li > :last-child { grid-column: 1 / -1; }

.filter-bar { display: grid; gap: 12px 16px; align-items: end; }
.data-table--orders td { white-space: nowrap; }
.data-table a,
.prop-link { font-weight: 600; }
.doc-row__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 16px; }
.link-danger,
.link-action { min-height: 44px; font-size: 14px; font-weight: 600; }
.link-danger { color: var(--danger); }
.link-danger:hover { text-decoration: underline; }
.link-action { color: var(--teal); }
.link-action:hover { color: var(--teal-dark); text-decoration: underline; }
.link-button[disabled] { opacity: 0.5; cursor: default; }

.items-editor { display: flex; flex-direction: column; gap: 12px; }
.item-head { display: none; }
.item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.item-row .field > label { font-size: 13px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--slate);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--danger); color: var(--danger); }

.user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: start;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.user-row:last-child { border-bottom: 0; }
.user-row__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.user-row__who strong { font-size: 15px; font-weight: 600; color: var(--navy); }
.user-row__who small { font-size: 13px; color: var(--slate); }
.user-row__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 18px; }
.state {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.state--active { background: var(--teal-tint); color: var(--teal); }
.state--invited { background: var(--warn-bg); color: var(--warn-text); }
.state--inactive { border: 1px solid var(--line); background: var(--mist); color: var(--slate); }

/* ---------- Content pages ---------- */

.page-intro__lead { max-width: 720px; }
.link-arrow--light { color: var(--teal-light); }
.link-arrow--light:hover { color: var(--white); }

.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--teal-tint);
  color: var(--teal);
}
.section--mist .cat-icon { background: var(--white); }

.tiles > li { display: flex; }
.tiles .tile { flex: 1; }
a.tile:hover { border-color: var(--teal); color: var(--teal); }

/* Product tiles (products overview and product families) */
.p-grid { display: grid; gap: 12px; }
.p-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--slate);
}
.p-tile:hover { border-color: var(--teal); color: var(--slate); }
.p-tile__name { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.p-tile__short { font-size: 15px; line-height: 1.5; }
.p-tile__spec { font-size: 14px; font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums; }
.p-tile .link-arrow { margin-top: auto; }

.glance-table a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.benefit--white { background: var(--white); }
.prose-block { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.prose-block p { font-size: 16px; line-height: 1.7; color: var(--slate); }
.section--flush-top { padding-top: 0; }

.chips--lg .chip { gap: 8px; padding: 9px 14px; font-size: 14px; }
.chips--lg .chip .icon { width: 16px; height: 16px; color: var(--teal); }
.chip--link { color: var(--teal); }
.chip--link:hover { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-dark); }

/* Industries */
.ind-list { display: grid; gap: 16px; }
.ind {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  scroll-margin-top: 100px;
}
.ind:target { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.ind__head { display: flex; align-items: center; gap: 12px; color: var(--teal); }
.ind__text { font-size: 15px; line-height: 1.6; color: var(--slate); }

/* Numbered steps (quality process, ordering) */
.process { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.process__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.process__step p { font-size: 15px; line-height: 1.55; color: var(--slate); }

/* Certificates and datasheets */
.cert-grid--big { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cert-grid--big .cert { gap: 8px; padding: 20px; font-size: 14px; }
.cert-grid--big .cert strong { font-size: 16px; }
.cert .link-arrow { min-height: 36px; font-size: 14px; }

.ds-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ds-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
}
[dir="rtl"] .ds-item { padding: 10px 10px 10px 16px; }
.ds-item:hover { border-color: var(--teal); color: var(--navy); }
.ds-item strong { font-weight: 600; }
.ds-item .pdf-badge { width: 40px; height: 46px; }

.prose-dark .lead { color: var(--on-dark-strong); }

/* Export terms */
.terms-list { display: grid; margin: 0; }
.terms-list div { display: flex; flex-direction: column; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--navy-line); }
.terms-list dt { font-size: 13px; color: var(--on-dark); }
.terms-list dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--white); }

/* About */
.history { display: grid; margin: 0; padding: 0; list-style: none; max-width: 820px; }
.history li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.history li:last-child { border-bottom: 0; }
.history__year { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--teal); font-variant-numeric: tabular-nums; }
.history p { font-size: 15px; line-height: 1.6; color: var(--slate); }

.cap-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cap-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--teal); }
.cap-list div { display: flex; flex-direction: column; gap: 2px; }
.cap-list strong { font-size: 16px; font-weight: 600; color: var(--navy); }
.cap-list span { font-size: 15px; line-height: 1.5; color: var(--slate); }
.facility-img { min-height: 200px; }

.mv { margin-bottom: 24px; }
.values { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.values li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-inline-start: 3px solid var(--amber);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--mist);
}
[dir="rtl"] .values li { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.values strong { font-size: 16px; color: var(--navy); }
.values span { font-size: 15px; line-height: 1.5; color: var(--slate); }

/* Narrow columns and legal text */
.container.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.container.prose { max-width: calc(760px + 2 * var(--gutter)); }
.prose h2 { margin: 32px 0 10px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.prose p { margin-bottom: 12px; font-size: 16px; line-height: 1.7; }
.prose ul { margin: 0 0 12px; padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; line-height: 1.6; }

/* Form states */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-error {
  padding: 12px 14px;
  border: 1px solid var(--danger);
  border-radius: var(--radius-s);
  background: #FDECEA;
  color: var(--danger);
  font-size: 14px;
  font-weight: 500;
}
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.radio-chip:has(input[aria-invalid="true"]),
.check-group[data-invalid] .check-chip,
.dropzone:has(input[aria-invalid="true"]) { border-color: var(--danger); }
.consent:has(input[aria-invalid="true"]) { color: var(--danger); }

/* ---------- Photos, export numbers, preview helpers ---------- */

.media { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--teal-tint); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media.media { background: var(--navy-2); }
.card__media.media { border-radius: 0; }

.refs.refs--stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.refs--stats .ref { flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 16px; }
.ref__value { margin: 0; font-size: 28px; font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }

.pending-note {
  max-width: 760px;
  padding: 14px 16px;
  border: 1.5px dashed var(--warn-text);
  border-radius: var(--radius);
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: 14px;
}
.proto-bar__toggle {
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.proto-bar__toggle[aria-pressed="true"] { background: var(--warn-text); color: var(--warn-bg); }
.hide-verify .verify,
.hide-verify .pending-note { display: none !important; }

.page-intro__grid { display: grid; gap: 24px; }
.page-intro__media { min-height: 220px; }

/* About: a word from the General Manager */
.gm-note { display: flex; flex-direction: column; gap: 16px; margin: 0; padding-inline-start: 20px; border-inline-start: 3px solid var(--amber); }
.gm-note blockquote { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.gm-note blockquote p { font-size: 17px; line-height: 1.7; color: var(--text); }
.gm-note figcaption { display: flex; flex-direction: column; gap: 2px; }
.gm-note figcaption strong { font-size: 16px; color: var(--navy); }
.gm-note figcaption span { font-size: 14px; color: var(--slate); }

.cert__meta { font-size: 13px; color: var(--slate); }

/* ---------- Products catalog: search, filters, cards or table, one quote ---------- */

/* "New" marks products that are sampling now */
.new-tag { display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px; background: var(--amber); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: 0.02em; text-transform: none; vertical-align: 2px; color: var(--navy); }
.new-pill { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--amber); font-size: 13px; font-weight: 700; color: var(--navy); }
.spec-list__more a { font-size: 14px; font-weight: 600; color: var(--teal); }


.catalog { padding-block: 24px 48px; }
.catalog__toolbar { display: grid; gap: 12px; margin-bottom: 20px; }
.catalog__search { position: relative; display: block; }
.catalog__search .icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 14px;
  width: 20px;
  height: 20px;
  color: var(--slate);
  transform: translateY(-50%);
  pointer-events: none;
}
.catalog__search input {
  width: 100%;
  min-height: 48px;
  padding-block: 0;
  padding-inline: 44px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 16px;
  color: var(--navy);
}
.catalog__search input:focus { border-color: var(--teal); outline: 2px solid var(--teal); outline-offset: 1px; }
.catalog__row { display: flex; align-items: center; gap: 10px; }
.catalog__filter-btn { gap: 8px; }
.catalog__filter-btn .icon { width: 18px; height: 18px; }
.catalog__badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--teal);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}
.catalog__count { margin: 0; margin-inline-end: auto; font-size: 15px; color: var(--slate); }
.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 40px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
}
.view-toggle button[aria-pressed="true"] { background: var(--teal); color: var(--white); }
.view-toggle .icon { width: 18px; height: 18px; }
.view-toggle span { display: none; }
.catalog__active { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog__active:empty { display: none; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding-block: 0;
  padding-inline: 12px 8px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--teal-tint);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  cursor: pointer;
}
.filter-chip .icon { width: 16px; height: 16px; }
.filter-chip--clear { padding-inline: 8px; border-color: transparent; background: none; text-decoration: underline; }

.catalog__group + .catalog__group { margin-top: 36px; }
.catalog__group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-bottom: 12px; }
.catalog__group-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.catalog__group-title .icon { width: 22px; height: 22px; color: var(--teal); }
.catalog__group-title span { font-size: 14px; font-weight: 600; color: var(--slate); }
.catalog__grid { display: grid; gap: 14px; }

.p-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); }
.p-card__media { height: 170px; }
.p-card__media.media { border-radius: 0; }
.p-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.p-card__app { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
html[lang="ar"] .p-card__app { letter-spacing: 0; text-transform: none; }
.p-card__name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.p-card__name a { color: var(--navy); }
.p-card__name a:hover { color: var(--teal); }
.p-card__short { font-size: 14px; line-height: 1.5; color: var(--slate); }
.p-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.p-card__specs li { padding: 4px 10px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.p-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: auto; padding-top: 8px; }

.add-quote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-s);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--teal);
  cursor: pointer;
}
.add-quote .icon { width: 18px; height: 18px; }
.add-quote__check,
.add-quote[aria-pressed="true"] .add-quote__plus { display: none; }
.add-quote[aria-pressed="true"] .add-quote__check { display: block; }
.add-quote:hover { background: var(--teal-tint); }
.add-quote[aria-pressed="true"] { background: var(--teal); color: var(--white); }
.add-quote[aria-pressed="true"]:hover { background: var(--teal-dark); }

/* Table view. Phones: a compact list; tablets and up: a real table (responsive.css) */
.catalog__table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.catalog-table thead { display: none; }
.catalog-table,
.catalog-table tbody { display: block; }
.catalog-table tr { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.catalog-table tr:last-child { border-bottom: 0; }
.catalog-table td { display: none; padding: 0; border: 0; }
.catalog-table td.catalog-table__name { display: block; flex: 1; min-width: 0; }
.catalog-table td.catalog-table__add { display: block; }
.catalog-table__name a { font-size: 15px; font-weight: 600; color: var(--navy); }
.catalog-table__name a:hover { color: var(--teal); }
.catalog-table__spec { display: block; font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.catalog-table .add-quote { min-height: 40px; padding: 0 12px; }

.catalog__empty { padding: 20px; border: 1px dashed var(--line); border-radius: var(--radius); font-size: 15px; }
.catalog__empty button,
.catalog__empty a { padding: 0; border: 0; background: none; font-family: inherit; font-size: inherit; font-weight: 600; color: var(--teal); text-decoration: underline; cursor: pointer; }
.catalog__note { margin-top: 20px; color: var(--slate); }

/* Phones: filters open as a sheet from the bottom of the screen */
.catalog__filters {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  border-radius: 16px 16px 0 0;
  background: var(--white);
  box-shadow: 0 -12px 40px rgba(var(--navy-rgb), 0.25);
  transform: translateY(105%);
  visibility: hidden;
  transition: transform 0.22s ease, visibility 0s linear 0.22s;
}
.catalog__filters.is-open { transform: none; visibility: visible; transition: transform 0.22s ease; }
.catalog__filters-head { display: flex; align-items: center; justify-content: space-between; padding-block: 8px; padding-inline: 16px 8px; border-bottom: 1px solid var(--line); }
.catalog__filters-head h2 { font-size: 18px; font-weight: 700; color: var(--navy); }
.catalog__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; }
.catalog__filters-body { overflow-y: auto; padding: 4px 16px 12px; }
.catalog__filters-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.filter-group { margin: 0; padding: 12px 0 8px; border: 0; border-bottom: 1px solid var(--line-soft); }
.filter-group:last-child { border-bottom: 0; }
.filter-group legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
html[lang="ar"] .filter-group legend { letter-spacing: 0; text-transform: none; }
.filter-check { clear: both; display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--navy); cursor: pointer; }
.filter-check input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--teal); }
.filter-check span { flex: 1; }
.filter-check small { font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.catalog-scrim { position: fixed; inset: 0; z-index: 79; background: rgba(var(--navy-rgb), 0.45); }

/* Without JavaScript the catalog is a plain list of every product */
html:not(.js) .catalog__toolbar,
html:not(.js) .catalog__filters,
html:not(.js) .add-quote { display: none; }

/* "2 products in your quote": replaces the phone bar while products are picked */
.quote-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; background: var(--navy); color: var(--white); box-shadow: 0 -8px 24px rgba(var(--navy-rgb), 0.2); }
.quote-bar__inner { display: flex; align-items: center; gap: 12px; min-height: 68px; padding-block: 10px calc(10px + env(safe-area-inset-bottom)); }
.quote-bar__text { flex: 1; min-width: 0; }
.quote-bar__text strong { display: block; font-size: 15px; }
.quote-bar__suffix,
.quote-bar__names { display: none; }
.quote-bar__names { overflow: hidden; font-size: 14px; color: var(--on-dark); white-space: nowrap; text-overflow: ellipsis; }
.quote-bar__clear { padding: 2px 0; border: 0; background: none; font-family: inherit; font-size: 14px; color: var(--on-dark-strong); text-decoration: underline; cursor: pointer; }
.quote-bar .btn { flex-shrink: 0; min-height: 48px; }
body.has-quote .sticky-cta { display: none; }
body.has-quote { padding-bottom: 88px; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; gap: 16px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); }
.contact-card--main { border-color: transparent; background: var(--teal-tint); }
.contact-card h2 { font-size: 20px; font-weight: 700; color: var(--navy); }
.contact-card p,
.contact-card address { font-size: 15px; font-style: normal; line-height: 1.6; color: var(--slate); }
.contact-card p a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); }
.contact-card .btn { align-self: stretch; }
.contact-card__person strong { color: var(--navy); }
.contact-card .btn--whatsapp { gap: 8px; padding-inline: 16px; }
.contact-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

/* ---------- Transparent header over the home page photo ---------- */

.site-header--overlay { background: transparent; border-bottom-color: transparent; transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.site-header--overlay.is-solid { background: var(--navy); border-bottom-color: var(--navy-line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.header-login,
.header-divider { display: none; }

/* Full-width photo under the transparent header, with the text in front of it. A navy tint,
   deepest behind the text, turns the photo into a backdrop so the headline leads and the
   Karawia signs in the photo stay in the background. On phones the text sits low, under the sky. */
.hero--full { position: relative; display: flex; align-items: flex-end; min-height: 640px; overflow: hidden; margin-top: -65px; padding: 128px 0 48px; }
.hero--full .hero__bg { position: absolute; inset: 0; }
.hero--full .hero__bg .media { position: absolute; inset: 0; border-radius: 0; }
/* The blown-film tower stands right of centre in the photo */
.hero--full .hero__bg .media img { object-position: 64% 50%; }
.hero--full .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--navy-rgb), 0.72) 0, rgba(var(--navy-rgb), 0.62) 65px, rgba(var(--navy-rgb), 0.32) 26%, rgba(var(--navy-rgb), 0.78) 52%, rgba(var(--navy-rgb), 0.88) 100%); }
.hero--full .hero__grid { position: relative; z-index: 1; width: 100%; }
/* A soft navy fill so the lettering on the building never shows through the button */
.hero--full .btn--ghost-light { border-color: rgba(255, 255, 255, 0.6); background: rgba(var(--navy-rgb), 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero--full .h1 { max-width: 9em; font-size: 40px; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.hero--full .lead strong { font-weight: 700; }
/* "fill, wrap, pack and grow": bold links to the catalogue, filtered */
/* skip-ink: none keeps the line whole under p and g (browsers break it around descenders by default) */
.hero__use { font-weight: 700; color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 255, 255, 0.5); text-decoration-skip-ink: none; text-underline-offset: 5px; }
.hero__use:hover { color: var(--white); text-decoration-color: var(--amber); }
/* The closing "made to your spec" sentence gets its own line */
.hero__origin { display: block; margin-top: 8px; font-size: 0.8em; opacity: 0.92; }
.hero--full .lead { max-width: 34em; font-size: 19px; font-weight: 500; color: var(--white); }
/* A soft shadow keeps white text crisp where the photo is bright */
.hero--full .h1,
.hero--full .lead { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 24px rgba(0, 0, 0, 0.35); }

/* ---------- Home page: big titles, one short section per part of the site ---------- */

.page-home .h2 { font-size: 34px; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
/* Section labels: larger, with a short rule, but still labels under the big titles */
.page-home .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; }
.page-home .eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.home-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
.home-head .h2 { max-width: 16em; }

/* Product structure: an exploded view of the layers, our film highlighted in teal */
.structure { display: grid; gap: 24px; align-items: center; }
.structure__copy { display: flex; flex-direction: column; gap: 12px; max-width: 62ch; }
.structure__copy p { color: var(--slate); }
.layers { margin: 0; padding: 24px; background: var(--mist); border-radius: var(--radius-l); }
.layers__list { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.layers__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 20px; font-size: 15px; color: var(--slate); }
.layers__band { display: block; border-radius: 3px; }
.layers__row--skin .layers__band { height: 14px; background: linear-gradient(180deg, #EEF2F5 0%, #B9C4CD 100%); border: 1px solid #A7B3BD; }
.layers__row--film .layers__band { height: 8px; background: var(--teal); box-shadow: 0 0 0 3px rgba(37, 81, 106, 0.16); }
.layers__row--film .layers__label { font-weight: 700; color: var(--teal); }
.layers__row--print .layers__band { height: 14px; background: linear-gradient(90deg, #E9573F 0%, #F5A623 22%, #3FA56B 48%, #2F72B8 74%, #7B5BB5 100%); opacity: 0.85; box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.55); }
.layers__row--adhesive .layers__band { height: 6px; background: #EFD27A; }
.layers__row--core .layers__band { height: 52px; background: repeating-linear-gradient(135deg, #FFFFFF 0 6px, #F1F4F6 6px 12px); border: 1px solid var(--line); }
.layers .small { color: var(--slate); }
/* Photo version. Phones: the image full width, each label a small pill on the image at its layer.
   From 480px: the image on the left, a label beside each layer with a short leader line. */
.layers--photo .layers__stage { position: relative; margin-bottom: 14px; }
.layers--photo .layers__img { width: 100%; aspect-ratio: 1600 / 1196; border-radius: var(--radius); }
.layers__tags { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.layers__tag { position: absolute; top: var(--y); right: 5%; transform: translateY(-50%); padding: 2px 8px; font-size: 12px; line-height: 1.2; white-space: nowrap; color: var(--text); background: rgba(255, 255, 255, 0.9); border-radius: 999px; box-shadow: 0 1px 3px rgba(20, 43, 66, 0.12); }
.layers__tag--film { font-weight: 700; color: var(--teal); }
@media (min-width: 480px) {
  .layers--photo .layers__img { width: 62%; }
  .layers__tags { left: 62%; }
  .layers__tag { right: auto; left: 20px; padding: 0; font-size: 14px; color: var(--slate); background: none; box-shadow: none; }
  .layers__tag--film { color: var(--teal); }
  .layers__tag::before { content: ""; position: absolute; top: 50%; right: calc(100% + 4px); width: 26px; border-top: 1px solid #9AA8B3; }
  .layers__tag--film::before { border-top: 2px solid var(--teal); }
}

.fam-cards { display: grid; gap: 16px; }
.fam-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); transition: box-shadow 0.2s ease; }
.fam-card:hover { box-shadow: var(--shadow-card); }
.fam-card__media { height: 220px; border-radius: 0; }
.fam-card__media img { transition: transform 0.4s ease; }
.fam-card:hover .fam-card__media img { transform: scale(1.04); }
.fam-card__body { display: flex; flex-grow: 1; flex-direction: column; gap: 8px; padding: 20px 20px 24px; }
.fam-card__title a { color: var(--navy); }
/* The whole card opens the family page; the focus ring goes round the card */
.fam-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-l); }
.fam-card__title a:focus-visible { outline: none; }
.fam-card__title a:focus-visible::after { outline: 3px solid var(--teal); outline-offset: 2px; }
.fam-card__text { flex-grow: 1; color: var(--slate); }
.fam-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--teal); }

.home-split { display: grid; gap: 32px; }
.home-split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.home-split__media { min-height: 260px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--navy); }
.badges .icon { width: 16px; height: 16px; color: var(--teal); }

.home-cta { padding-block: 64px; }
.home-cta__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.home-cta__title { font-size: 44px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; color: var(--white); text-wrap: balance; }
.home-cta__text { max-width: 36em; font-size: 17px; color: var(--on-dark-strong); }

/* ---------- Export map (export page) ---------- */

.map-split { display: grid; gap: 28px; }
.map-split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--slate); }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.map-legend li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; }
.map-legend__market::before { background: var(--teal); }
.map-legend__origin::before { background: var(--amber); }
.export-map { width: 100%; max-width: 560px; margin: 0; justify-self: center; }
.export-map svg { display: block; width: 100%; height: auto; }
.map-land path { fill: #E1E8EE; stroke: var(--white); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.map-highlight path { stroke: var(--white); stroke-width: 1px; vector-effect: non-scaling-stroke; transition: fill 0.15s ease; }
.map-market { fill: var(--teal); }
.map-market:hover { fill: var(--navy); }
.map-origin { fill: var(--amber); }
.map-port__halo { fill: rgba(var(--navy-rgb), 0.2); }
.map-port__dot { fill: var(--navy); stroke: var(--white); stroke-width: 3; }
.map-port text { font: 700 26px var(--font); fill: var(--navy); paint-order: stroke; stroke: var(--white); stroke-width: 6px; stroke-linejoin: round; }

/* The same map on a navy section: land a shade lighter than the background, markets in light teal */
.export-map--dark .map-land path { fill: var(--navy-line); stroke: var(--navy); }
.export-map--dark .map-highlight path { stroke: var(--navy); }
.export-map--dark .map-market { fill: var(--line); } /* grey on the navy home section (Sherif, 2026-09-30) */
.export-map--dark .map-market:hover { fill: var(--white); }
.export-map--dark .map-port__halo { fill: rgba(255, 255, 255, 0.25); }
.export-map--dark .map-port__dot { fill: var(--white); stroke: var(--navy); }
.export-map--dark .map-port text { fill: var(--white); stroke: var(--navy); }
.map-legend--dark { color: var(--on-dark-strong); }
.map-legend--dark .map-legend__market::before { background: var(--line); }
.home-split--map .export-map { max-width: 460px; }

/* ---------- Language menu: a globe that opens the list of languages ---------- */

.header-lang { position: relative; }
.header-lang__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-s); background: none; color: var(--white); cursor: pointer; }
.header-lang__btn:hover,
.header-lang.is-open .header-lang__btn { background: rgba(255, 255, 255, 0.14); }
.header-lang .header-lang__panel { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 5; min-width: 210px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(var(--navy-rgb), 0.16); }
.header-lang .drop-list { padding: 0; }
.header-lang .drop-list a { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: var(--radius-s); font-weight: 500; color: var(--navy); }
.header-lang .drop-list a:hover { background: var(--mist); }
.header-lang .drop-list [aria-current="true"] { font-weight: 700; }
.header-lang .drop-list [aria-current="true"]::after { content: "✓"; color: var(--teal); }
.header-lang .drop-list [data-soon]::after { content: "Soon"; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }

/* Product groups inside a family (family page and menu) */
.p-group + .p-group { margin-top: 40px; }
.p-group__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.p-group__title span { font-size: 14px; font-weight: 500; color: var(--slate); }
/* Products menu subsections: a heading with an amber bar, its products indented under it */
.mega__group { margin: 14px 0 2px 8px; padding: 1px 0 1px 10px; border-inline-start: 3px solid var(--amber); font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.mega__group:first-child { margin-top: 4px; }
.mega__list li:not([class]) a { padding-inline-start: 21px; font-weight: 400; }
.mega__all { margin-top: 10px; }
/* Industries menu: the subsection heading is the link to that industry */
.mega__list .mega__group a { display: inline; margin: 0; padding: 0; background: none; font-weight: inherit; color: inherit; }
.mega__list .mega__group a:hover { background: none; color: var(--teal); }
.mega__head { margin: 0; }
.mega__group .mega__head-arrow { display: none; }
