:root {
  --ink: #11181c;
  --ink-soft: #263239;
  --paper: #ffffff;
  --mist: #f3f5f4;
  --line: #d8dedb;
  --muted: #66736d;
  --signal: #ed5a3a;
  --signal-dark: #c73e22;
  --green: #2d6c60;
  --warm: #f1b83b;
  --radius: 6px;
  --shadow: 0 18px 50px rgba(17, 24, 28, 0.14);
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}
html[lang="ar"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
body.drawer-open { overflow: hidden; }
button, input, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: 0; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { padding: 104px 0; }
.skip-link {
  position: fixed; z-index: 200; inset-block-start: 8px; inset-inline-start: 8px;
  padding: 10px 14px; background: var(--paper); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.eyebrow {
  margin-bottom: 14px; color: var(--green); font-size: 0.72rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0;
}
.eyebrow.light { color: #a9d8ce; }

.utility-bar { background: var(--ink); color: #e7ece9; font-size: 0.76rem; }
.utility-inner { height: 34px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner p { margin: 0; }
.utility-points { display: flex; gap: 24px; color: #bfc8c3; }

.site-header {
  position: sticky; z-index: 80; top: 0; background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.header-inner { min-height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-logo { width: auto; height: 34px; object-fit: contain; }
.brand-mark { width: 30px; height: 30px; display: flex; align-items: end; gap: 3px; }
.brand-mark i { display: block; width: 8px; background: var(--signal); }
.brand-mark i:nth-child(1) { height: 16px; }
.brand-mark i:nth-child(2) { height: 25px; background: var(--warm); }
.brand-mark i:nth-child(3) { height: 20px; background: var(--green); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 0.98rem; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 0.58rem; font-weight: 700; }
.primary-nav { justify-self: center; display: flex; align-items: center; gap: 22px; }
.primary-nav a { position: relative; font-size: 0.84rem; font-weight: 650; }
.primary-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -9px; height: 2px;
  background: var(--signal); transform: scaleX(0); transition: transform 180ms ease;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.currency-control { position: relative; }
.currency-control > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.currency-control select { width: 70px; min-height: 36px; padding: 5px 8px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper); font-size: 0.7rem; font-weight: 750; }
.language-switcher { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.language-button { min-width: 42px; min-height: 34px; padding: 5px 9px; border: 0; background: transparent; font-size: 0.72rem; font-weight: 750; cursor: pointer; }
.language-button.is-active { color: var(--paper); background: var(--ink); }
.quote-button {
  position: relative;
  min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); font-size: 0.78rem; font-weight: 750; cursor: pointer;
}
.quote-button b {
  min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 5px;
  border-radius: 50%; color: var(--paper); background: var(--signal); font-size: 0.68rem;
}
.menu-button, .icon-button {
  width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer;
}
.menu-button { display: none; font-size: 1.2rem; }

.hero { position: relative; min-height: 670px; display: flex; align-items: stretch; overflow: hidden; background: #20282b; color: var(--paper); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(7, 12, 14, 0.62); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: end; gap: 80px; padding-block: 104px 64px; }
.hero-content { max-width: 770px; align-self: center; }
.hero h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(3.2rem, 6vw, 5.9rem); font-weight: 760; }
.hero-lead { max-width: 680px; margin-bottom: 34px; color: #e0e7e4; font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 11px 18px; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 760; font-size: 0.84rem; cursor: pointer; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--paper); background: var(--signal); border-color: var(--signal); }
.button-primary:hover { background: var(--signal-dark); border-color: var(--signal-dark); }
.button-ghost { color: var(--paper); background: transparent; border-color: rgba(255,255,255,0.55); }
.button-ghost:hover { background: rgba(255,255,255,0.1); }
.button-secondary { background: var(--paper); border-color: var(--line); }
.button.large { min-height: 54px; padding-inline: 24px; }
.hero-specs { margin: 0; border-top: 1px solid rgba(255,255,255,0.4); }
.hero-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.25); }
.hero-specs dt { color: #bdc9c4; font-size: 0.75rem; }
.hero-specs dd { margin: 0; font-weight: 800; }

.proof-band { background: var(--mist); border-bottom: 1px solid var(--line); }
.proof-grid { min-height: 118px; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { display: grid; align-content: center; padding: 20px 32px; border-inline-start: 1px solid var(--line); }
.proof-grid > div:last-child { border-inline-end: 1px solid var(--line); }
.proof-grid b { font-size: 1.12rem; }
.proof-grid span { margin-top: 4px; color: var(--muted); font-size: 0.76rem; }

.section-heading { margin-bottom: 42px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); align-items: end; gap: 56px; }
.split-heading > p { margin: 0; color: var(--muted); }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.category-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.category-tab { min-height: 38px; padding: 8px 16px; border: 0; border-radius: 4px; background: transparent; font-size: 0.78rem; font-weight: 750; cursor: pointer; }
.category-tab.is-active { background: var(--paper); box-shadow: 0 1px 4px rgba(17,24,28,0.12); }
.product-search { width: min(320px, 100%); height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--radius); }
.product-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 0.8rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.product-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9edeb; }
.product-visual img { width: 100%; height: 100%; padding: 14px; object-fit: contain; transition: transform 300ms ease; }
.product-card:hover .product-visual img { transform: scale(1.025); }
.product-code { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 5px 8px; border-radius: 3px; background: rgba(17,24,28,0.86); color: var(--paper); font-size: 0.65rem; font-weight: 800; direction: ltr; }
.product-body { padding: 21px; }
.product-badges { min-height: 23px; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.product-badges span { padding: 3px 7px; border: 1px solid #b9cbc4; border-radius: 3px; color: var(--green); font-size: 0.64rem; font-weight: 800; }
.product-card h3 { margin-bottom: 9px; font-size: 1.18rem; }
.product-summary { min-height: 50px; margin-bottom: 17px; color: var(--muted); font-size: 0.78rem; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 18px; padding: 15px 0; border-block: 1px solid var(--line); }
.spec-list div { min-width: 0; }
.spec-list dt { color: var(--muted); font-size: 0.64rem; }
.spec-list dd { margin: 2px 0 0; font-size: 0.75rem; font-weight: 750; direction: ltr; text-align: start; }
[dir="rtl"] .spec-list dd { text-align: end; }
.product-moq { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 16px; font-size: 0.73rem; }
.product-moq span { color: var(--muted); }
.product-actions { display: grid; grid-template-columns: 1fr 46px; gap: 8px; }
.product-actions .button { width: 100%; }
.details-button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 1.1rem; cursor: pointer; }
.empty-state { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }

.dark-section { color: var(--paper); background: var(--ink); }
.capability-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 100px; }
.capability-copy h2 { margin-bottom: 24px; font-size: clamp(2rem, 4vw, 3.25rem); }
.capability-copy > p:not(.eyebrow) { max-width: 500px; color: #b9c5bf; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 0.8rem; font-weight: 750; }
.capability-list { border-top: 1px solid #42504b; }
.capability-list article { display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid #42504b; }
.capability-list article > span { color: var(--warm); font-size: 0.72rem; font-weight: 800; }
.capability-list h3 { margin-bottom: 10px; font-size: 1.2rem; }
.capability-list p { margin: 0; color: #aebbb5; font-size: 0.84rem; }

.compliance { background: var(--mist); }
.compliance-table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.compliance-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: start; }
.compliance-table th, .compliance-table td { padding: 18px 14px; border-bottom: 1px solid var(--line); text-align: start; }
.compliance-table thead th { color: var(--muted); font-size: 0.68rem; text-transform: uppercase; }
.compliance-table tbody th { width: 23%; font-size: 0.84rem; }
.compliance-table tbody td { color: var(--ink-soft); font-size: 0.8rem; }
.compliance-note { margin: 16px 0 0; color: var(--muted); font-size: 0.7rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.process-grid li { min-height: 240px; padding: 26px 28px 24px 0; border-inline-end: 1px solid var(--line); }
.process-grid li:not(:first-child) { padding-inline-start: 28px; }
.process-grid li:last-child { border-inline-end: 0; }
.process-grid span { color: var(--signal); font-size: 0.75rem; font-weight: 800; }
.process-grid h3 { margin: 54px 0 10px; font-size: 1.25rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: 0.8rem; }

.tracking-section { border-top: 1px solid var(--line); background: #eef3f1; }
.tracking-layout { display: grid; grid-template-columns: minmax(250px, 0.7fr) minmax(460px, 1.3fr); gap: 56px 80px; align-items: end; }
.tracking-heading h2 { margin-bottom: 14px; font-size: 2.5rem; }
.tracking-heading p:last-child { max-width: 520px; margin: 0; color: var(--muted); }
.tracking-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.tracking-form label { display: grid; gap: 5px; color: var(--muted); font-size: 0.66rem; font-weight: 750; }
.tracking-form input { width: 100%; height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.tracking-result { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.tracking-result[hidden] { display: none; }
.tracking-result > div { min-height: 86px; padding: 16px; background: var(--paper); }
.tracking-result span { display: block; color: var(--muted); font-size: 0.62rem; }
.tracking-result strong { display: block; margin-top: 9px; font-size: 0.86rem; }
.tracking-result > p { grid-column: 1 / -1; margin: 0; padding: 10px 14px; color: var(--muted); background: var(--paper); font-size: 0.64rem; }

.contact-section { position: relative; min-height: 440px; display: flex; align-items: center; color: var(--paper); overflow: hidden; background: #20282b; }
.contact-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-shade { position: absolute; inset: 0; background: rgba(7,12,14,0.72); }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); align-items: end; gap: 64px; padding-block: 80px; }
.contact-inner h2 { max-width: 790px; margin-bottom: 18px; font-size: clamp(2.2rem, 5vw, 4.2rem); }
.contact-inner p:not(.eyebrow) { max-width: 720px; margin: 0; color: #d4ddda; }
.contact-actions { display: grid; width: 100%; gap: 12px; }
.contact-actions > .button { width: 100%; }
.whatsapp-contact { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px; color: var(--ink); background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.7); border-radius: var(--radius); box-shadow: 0 16px 42px rgba(0,0,0,0.2); transition: transform 160ms ease, background 160ms ease; }
.whatsapp-contact:hover { transform: translateY(-1px); background: var(--paper); }
.whatsapp-qr { width: 112px; height: 112px; padding: 6px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.whatsapp-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 5px; }
.whatsapp-copy > span:not(.whatsapp-label):not(.whatsapp-cta) { color: var(--muted); font-size: 0.65rem; line-height: 1.45; }
.whatsapp-label { color: var(--green); font-size: 0.62rem; font-weight: 850; text-transform: uppercase; }
.whatsapp-number { direction: ltr; unicode-bidi: isolate; font-size: 0.95rem; letter-spacing: 0; }
.whatsapp-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--green); font-size: 0.7rem; font-weight: 850; }

.site-footer { padding: 64px 0 24px; color: #dfe6e2; background: #0c1215; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 54px; padding-bottom: 54px; }
.brand-footer .brand-copy small, .footer-brand p, .footer-grid > div > p { color: #899791; }
.footer-brand p { max-width: 380px; margin: 22px 0 0; font-size: 0.78rem; }
.footer-grid h3 { margin-bottom: 18px; color: #8d9b95; font-size: 0.7rem; text-transform: uppercase; }
.footer-grid > div > a { display: block; width: max-content; max-width: 100%; margin: 10px 0; font-size: 0.78rem; }
.footer-grid > div > p { font-size: 0.72rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid #303a36; color: #7f8d87; font-size: 0.66rem; }
.footer-bottom p { margin: 0; }
.footer-legal-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 18px; text-align: end; }
.footer-legal-links button { padding: 0 0 3px; border: 0; border-bottom: 1px solid #63706b; color: #a6b2ad; background: transparent; font-size: inherit; cursor: pointer; }

.drawer-backdrop { position: fixed; z-index: 120; inset: 0; background: rgba(10,15,17,0.58); }
.quote-drawer {
  position: fixed; z-index: 130; inset-block: 0; inset-inline-end: 0; width: min(560px, 100%);
  background: var(--paper); box-shadow: var(--shadow); transform: translateX(105%); visibility: hidden;
  transition: transform 240ms ease, visibility 240ms; overflow: hidden;
}
[dir="rtl"] .quote-drawer { transform: translateX(-105%); }
.quote-drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-header { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow { margin-bottom: 7px; }
.drawer-header h2 { margin: 0; font-size: 1.55rem; }
.drawer-body { height: calc(100vh - 102px); overflow-y: auto; padding: 24px 26px 48px; }
.quote-items { display: grid; gap: 12px; }
.quote-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.quote-item img { width: 72px; height: 58px; object-fit: cover; border-radius: 4px; }
.quote-item h3 { margin: 0 0 4px; font-size: 0.85rem; }
.quote-item p { margin: 0; color: var(--muted); font-size: 0.66rem; direction: ltr; text-align: start; }
[dir="rtl"] .quote-item p { text-align: end; }
.quantity-control { width: max-content; display: grid; grid-template-columns: 30px 58px 30px; align-items: center; justify-self: start; direction: ltr; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.quantity-control button { height: 32px; padding: 0; border: 0; background: var(--mist); cursor: pointer; }
.quantity-control input { width: 58px; height: 32px; padding: 0 3px; border: 0; border-inline: 1px solid var(--line); text-align: center; outline: 0; font-size: 0.7rem; }
.remove-item { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 1.15rem; cursor: pointer; }
.quote-empty { padding: 56px 20px; text-align: center; color: var(--muted); }
.quote-empty > span { font-size: 2rem; }
.quote-empty h3 { margin: 16px 0 8px; color: var(--ink); }
.quote-empty p { max-width: 320px; margin-inline: auto; font-size: 0.8rem; }
.quote-form { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--ink); }
.quote-form > h3 { margin-bottom: 18px; font-size: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-size: 0.69rem; font-weight: 700; }
.full-field { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 4px; outline: 0; background: var(--paper); font-size: 0.78rem; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,108,96,0.12); }
.form-grid textarea { resize: vertical; }
.consent { display: flex; gap: 9px; align-items: flex-start; margin: 16px 0; color: var(--muted); font-size: 0.69rem; }
.consent input { margin-top: 3px; accent-color: var(--green); }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: 0.65rem; }
.form-error { min-height: 20px; margin: 0 0 8px; color: #b62918; font-size: 0.7rem; }

.product-dialog { width: min(780px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); overflow: auto; }
.product-dialog::backdrop { background: rgba(10,15,17,0.68); }
.dialog-close { position: sticky; z-index: 2; top: 12px; margin-inline-start: auto; margin-inline-end: 12px; }
.dialog-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; margin-top: -40px; }
.dialog-layout > img { width: 100%; height: 100%; min-height: 480px; padding: 24px; object-fit: contain; background: var(--mist); }
.dialog-copy { padding: 58px 34px 34px; }
.dialog-copy h2 { margin-bottom: 12px; font-size: 2rem; }
.dialog-copy > p { color: var(--muted); font-size: 0.82rem; }
.dialog-copy .spec-list { grid-template-columns: 1fr; }
.legal-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 36px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-dialog::backdrop { background: rgba(10,15,17,0.68); }
.legal-close { position: sticky; z-index: 2; top: 12px; margin-inline-start: auto; margin-inline-end: 12px; }
.legal-content { margin-top: -40px; padding: 58px 52px 44px; }
.legal-content h2 { margin-bottom: 18px; font-size: 2.3rem; }
.legal-content h3 { margin: 26px 0 8px; font-size: 1rem; }
.legal-content p { color: var(--muted); font-size: 0.8rem; }
.legal-content .legal-intro { color: var(--ink-soft); font-size: 0.94rem; }
.legal-content a { color: var(--green); font-weight: 750; }
.legal-disclaimer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.toast {
  position: fixed; z-index: 180; inset-inline-start: 50%; bottom: 24px; max-width: min(460px, calc(100% - 30px));
  padding: 12px 16px; border-radius: var(--radius); color: var(--paper); background: var(--ink); box-shadow: var(--shadow);
  font-size: 0.78rem; transform: translate(-50%, 140%); opacity: 0; transition: 220ms ease;
}
[dir="rtl"] .toast { transform: translate(50%, 140%); }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
[dir="rtl"] .toast.is-visible { transform: translate(50%, 0); }

.order-section { background: #eef2f0; border-block: 1px solid var(--line); }
.order-heading { margin-bottom: 30px; }
.order-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 26px; border-block: 1px solid #c9d1cd; }
.order-steps div { min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; color: var(--muted); border-inline-end: 1px solid #c9d1cd; }
.order-steps div:last-child { border-inline-end: 0; }
.order-steps div.is-current { color: var(--ink); background: var(--paper); }
.order-steps span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 0.7rem; font-weight: 800; }
.order-steps .is-current span { color: var(--paper); border-color: var(--green); background: var(--green); }
.order-steps b { font-size: 0.78rem; }
.order-workspace { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(320px, 0.62fr); align-items: start; gap: 26px; }
.order-catalog-panel, .order-summary-panel { background: var(--paper); border: 1px solid var(--line); }
.order-panel-head { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 22px; border-bottom: 1px solid var(--line); }
.order-panel-head h3, .order-summary-panel h3 { margin: 0 0 5px; font-size: 1rem; }
.order-panel-head p { margin: 0; color: var(--muted); font-size: 0.7rem; }
.text-button { padding: 5px 0; border: 0; border-bottom: 1px solid var(--green); color: var(--green); background: transparent; font-size: 0.72rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.order-product-list { display: grid; }
.order-row { display: grid; grid-template-columns: 30px 76px minmax(130px, 1fr) minmax(160px, 1fr) 120px 100px; align-items: center; gap: 13px; min-height: 118px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.order-row:last-child { border-bottom: 0; }
.order-row.is-selected { background: #f6faf8; box-shadow: inset 3px 0 0 var(--green); }
[dir="rtl"] .order-row.is-selected { box-shadow: inset -3px 0 0 var(--green); }
.order-select { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.order-product-thumb { width: 76px; height: 76px; display: grid; place-items: center; overflow: hidden; background: var(--mist); }
.order-product-thumb img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.order-product-info h4 { margin: 0 0 5px; font-size: 0.82rem; }
.order-product-info p { margin: 0 0 6px; color: var(--muted); font-size: 0.64rem; direction: ltr; text-align: start; }
.order-unit-price { color: var(--green); font-size: 0.73rem; font-weight: 800; }
.order-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.order-options label { display: grid; gap: 3px; color: var(--muted); font-size: 0.57rem; }
.order-options select { width: 100%; min-height: 34px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); font-size: 0.66rem; }
.order-quantity { display: grid; grid-template-columns: 28px minmax(58px, 1fr) 28px; direction: ltr; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.order-quantity button { height: 34px; padding: 0; border: 0; background: var(--mist); cursor: pointer; }
.order-quantity input { width: 100%; min-width: 0; height: 34px; padding: 0 3px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-size: 0.67rem; outline: 0; }
.order-line-total { text-align: end; }
.order-line-total span { display: block; color: var(--muted); font-size: 0.59rem; }
.order-line-total b { display: block; margin-top: 4px; font-size: 0.78rem; direction: ltr; }
.order-summary-sticky { position: sticky; top: 110px; padding: 23px; }
.order-summary-panel .eyebrow { margin-bottom: 8px; }
.order-buyer-grid { display: grid; gap: 11px; margin: 22px 0; }
.order-buyer-grid label { display: grid; gap: 5px; color: var(--muted); font-size: 0.65rem; font-weight: 700; }
.order-buyer-grid input, .order-buyer-grid select { width: 100%; height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: var(--paper); outline: 0; }
.order-buyer-grid input:focus, .order-buyer-grid select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,108,96,0.1); }
.order-totals { padding: 17px 0; border-block: 1px solid var(--line); }
.order-totals > div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; font-size: 0.74rem; }
.order-totals > div:nth-child(2) b { color: var(--green); font-size: 1rem; direction: ltr; }
.order-totals p { margin: 12px 0 0; color: var(--muted); font-size: 0.62rem; }
.order-error { min-height: 18px; margin: 12px 0 5px; color: #a72c1c; font-size: 0.68rem; }
.order-review-button { width: 100%; }
.order-security-note { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 0.61rem; }

.order-dialog { width: min(1120px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); overflow: auto; }
.order-dialog::backdrop { background: rgba(8, 13, 15, 0.74); }
.order-dialog-close { position: sticky; z-index: 5; top: 12px; float: inline-end; margin: 12px 12px -52px 0; background: var(--paper); }
[dir="rtl"] .order-dialog-close { margin: 12px 0 -52px 12px; }
.order-dialog-shell { padding: 30px 38px 38px; }
.order-dialog-progress { display: flex; align-items: center; justify-content: center; margin: 4px auto 34px; color: var(--muted); }
.order-dialog-progress span { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; }
.order-dialog-progress span.is-active { color: var(--green); }
.order-dialog-progress i { width: 90px; height: 1px; margin: 0 16px; background: var(--line); }
.pi-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.pi-toolbar h2, .payment-heading h2 { margin: 0; font-size: 2rem; }
.pi-document { padding: 38px; border: 1px solid var(--line); background: var(--paper); }
.pi-header { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 26px; border-bottom: 2px solid var(--ink); }
.pi-brand { display: flex; align-items: center; gap: 12px; }
.pi-brand img { width: auto; height: 52px; object-fit: contain; }
.pi-brand span { display: grid; gap: 3px; color: var(--muted); font-size: 0.68rem; }
.pi-brand strong { color: var(--ink); font-size: 0.82rem; }
.pi-meta { display: grid; grid-template-columns: auto auto; gap: 6px 18px; margin: 0; font-size: 0.69rem; }
.pi-meta dt { color: var(--muted); }
.pi-meta dd { margin: 0; font-weight: 750; direction: ltr; text-align: end; }
.pi-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 26px 0; }
.pi-party h3 { margin: 0 0 10px; color: var(--muted); font-size: 0.64rem; text-transform: uppercase; }
.pi-party p { margin: 3px 0; font-size: 0.76rem; }
.pi-table-wrap { overflow-x: auto; }
.pi-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.pi-table th, .pi-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: start; font-size: 0.68rem; }
.pi-table thead th { color: var(--muted); background: var(--mist); font-size: 0.61rem; text-transform: uppercase; }
.pi-table .number { text-align: end; direction: ltr; }
.pi-table td strong { display: block; margin-bottom: 3px; }
.pi-table td small { color: var(--muted); }
.pi-bottom { display: grid; grid-template-columns: 1fr 300px; gap: 36px; margin-top: 24px; }
.pi-terms h3 { margin: 0 0 8px; font-size: 0.72rem; }
.pi-terms p { margin: 5px 0; color: var(--muted); font-size: 0.65rem; }
.pi-total div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.72rem; }
.pi-total .grand-total { color: var(--green); border-bottom: 2px solid var(--ink); font-size: 1rem; }
.pi-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; font-size: 0.72rem; }
.pi-confirm input { margin-top: 2px; accent-color: var(--green); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.payment-heading { max-width: 760px; margin-bottom: 26px; }
.payment-heading > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; }
.payment-layout { display: grid; grid-template-columns: 330px 1fr; border: 1px solid var(--line); }
.payment-methods { border-inline-end: 1px solid var(--line); }
.payment-method { width: 100%; min-height: 82px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); background: var(--paper); text-align: start; cursor: pointer; }
.payment-method:last-child { border-bottom: 0; }
.payment-method.is-selected { background: #eff7f4; box-shadow: inset 3px 0 0 var(--green); }
[dir="rtl"] .payment-method.is-selected { box-shadow: inset -3px 0 0 var(--green); }
.payment-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); font-size: 0.72rem; font-weight: 850; }
.payment-method strong { display: block; font-size: 0.77rem; }
.payment-method small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.59rem; }
.payment-method > span:last-child { color: var(--muted); }
.payment-detail { min-height: 328px; padding: 30px; background: #fafbfa; }
.payment-detail h3 { margin: 0 0 8px; font-size: 1.1rem; }
.payment-detail > p { margin: 0 0 22px; color: var(--muted); font-size: 0.75rem; }
.payment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-fields div { padding: 12px; border: 1px solid var(--line); background: var(--paper); }
.payment-fields span { display: block; color: var(--muted); font-size: 0.58rem; text-transform: uppercase; }
.payment-fields b { display: block; margin-top: 6px; font-size: 0.75rem; direction: ltr; }
.payment-warning { display: flex; gap: 9px; margin-top: 14px; padding: 12px 14px; border-inline-start: 3px solid var(--warm); background: #fff9e8; font-size: 0.69rem; }
.payment-warning span { color: var(--muted); }

@media print {
  body > * { display: none !important; }
  #order-dialog[open], #order-dialog[open] .order-dialog-shell, #order-dialog[open] #pi-view, #order-dialog[open] .pi-document { display: block !important; position: static; width: 100%; max-height: none; padding: 0; border: 0; box-shadow: none; overflow: visible; }
  #order-dialog::backdrop, .order-dialog-close, .order-dialog-progress, .pi-toolbar, .pi-confirm, #pi-error, .dialog-actions, #payment-view { display: none !important; }
}

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .primary-nav { position: absolute; top: 72px; inset-inline: 20px; display: none; align-items: stretch; padding: 18px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 8px; }
  .header-actions { justify-self: end; }
  .menu-button { display: inline-grid; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-layout { gap: 55px; }
  .order-workspace { grid-template-columns: 1fr; }
  .order-summary-sticky { position: static; }
  .order-row { grid-template-columns: 28px 70px minmax(140px, 1fr) minmax(150px, 1fr) 115px; }
  .order-line-total { grid-column: 3 / -1; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 72px 0; }
  .utility-points span:last-child { display: none; }
  .header-inner { min-height: 64px; gap: 10px; }
  .primary-nav { top: 64px; }
  .brand-copy small { display: none; }
  .language-switcher { order: 2; }
  .language-button { min-width: 36px; padding-inline: 6px; }
  .quote-button { width: 40px; padding: 0; justify-content: center; }
  .quote-button > span:nth-child(2) { display: none; }
  .quote-button b { position: absolute; margin: -30px 0 0 28px; }
  [dir="rtl"] .quote-button b { margin-inline: 28px 0; }
  .hero { min-height: 650px; }
  .hero-inner { grid-template-columns: 1fr; gap: 52px; padding-block: 78px 44px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-lead { font-size: 1rem; }
  .hero-specs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-specs div { display: grid; gap: 8px; }
  .hero-specs dd { font-size: 0.82rem; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { min-height: 96px; padding: 18px; border-bottom: 1px solid var(--line); }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading h2 { font-size: 2.25rem; }
  .catalog-tools { align-items: stretch; flex-direction: column; }
  .category-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .category-tab { padding-inline: 7px; }
  .product-search { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-summary { min-height: auto; }
  .order-steps b { font-size: 0.68rem; }
  .order-row { grid-template-columns: 24px 64px 1fr; gap: 10px; }
  .order-product-thumb { width: 64px; height: 64px; }
  .order-options, .order-quantity, .order-line-total { grid-column: 3 / -1; }
  .order-line-total { text-align: start; }
  .order-dialog-shell { padding: 28px 20px 24px; }
  .pi-document { padding: 22px; }
  .pi-header, .pi-toolbar { align-items: start; flex-direction: column; }
  .pi-parties, .pi-bottom { grid-template-columns: 1fr; gap: 20px; }
  .payment-layout { grid-template-columns: 1fr; }
  .payment-methods { display: grid; grid-template-columns: 1fr 1fr; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .payment-method { grid-template-columns: 38px 1fr; border-inline-end: 1px solid var(--line); }
  .payment-method > span:last-child { display: none; }
  .payment-detail { min-height: 280px; padding: 22px; }
  .capability-layout { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li { min-height: 210px; border-bottom: 1px solid var(--line); }
  .process-grid li:nth-child(odd) { padding-inline-start: 0; }
  .process-grid li:nth-child(even) { border-inline-end: 0; }
  .tracking-layout { grid-template-columns: 1fr; gap: 28px; }
  .tracking-form { grid-template-columns: 1fr 1fr; }
  .tracking-form .button { grid-column: 1 / -1; }
  .contact-inner { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .contact-actions { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .footer-legal-links { justify-content: flex-start; text-align: start; }
  .dialog-layout { grid-template-columns: 1fr; margin-top: -40px; }
  .dialog-layout > img { min-height: 240px; height: 280px; }
  .dialog-copy { padding: 28px 22px; }
  .legal-content { padding: 48px 22px 30px; }
}

@media (max-width: 480px) {
  .utility-inner { font-size: 0.67rem; }
  .utility-points { display: none; }
  .brand { gap: 7px; }
  .brand-logo { height: 28px; }
  .brand-mark { width: 25px; }
  .brand-mark i { width: 6px; }
  .brand-copy strong { font-size: 0.78rem; }
  .header-actions { gap: 6px; }
  .currency-control select { width: 60px; padding-inline: 5px; }
  .language-button { min-width: 32px; font-size: 0.66rem; }
  .language-button[data-lang="ar"] { max-width: 46px; overflow: hidden; }
  .hero h1 { font-size: 2.7rem; }
  .hero-actions .button { width: 100%; }
  .hero-specs { gap: 10px; }
  .hero-specs div { padding-inline-end: 5px; }
  .proof-grid > div { padding: 15px 12px; }
  .proof-grid b { font-size: 0.96rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li:not(:first-child) { min-height: auto; padding: 24px 0; border-inline-end: 0; }
  .process-grid h3 { margin-top: 28px; }
  .tracking-form, .tracking-result { grid-template-columns: 1fr; }
  .tracking-form .button, .tracking-result > p { grid-column: auto; }
  .whatsapp-contact { grid-template-columns: 92px minmax(0, 1fr); padding: 12px; }
  .whatsapp-qr { width: 92px; height: 92px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .drawer-header, .drawer-body { padding-inline: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .quote-item { grid-template-columns: 56px 1fr auto; gap: 10px; }
  .quote-item img { width: 56px; height: 54px; }
  .quantity-control { grid-template-columns: 28px 48px 28px; grid-column: 2 / -1; justify-self: start; }
  .quantity-control input { width: 48px; }
  .form-actions .button { width: 100%; }
  .order-steps { grid-template-columns: 1fr; }
  .order-steps div { min-height: 48px; border-inline-end: 0; border-bottom: 1px solid #c9d1cd; }
  .order-steps div:last-child { border-bottom: 0; }
  .order-panel-head { align-items: flex-start; }
  .order-row { padding-inline: 12px; }
  .order-options { grid-template-columns: 1fr; }
  .order-dialog-progress b { display: none; }
  .payment-methods { grid-template-columns: 1fr; }
  .payment-method { border-inline-end: 0; }
  .payment-fields { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
}

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