/* GMS refined leaf/moss design: exact user supplied 2026 palette.
   Load last. Non-destructive overrides for both language versions. */
:root {
  --gms-leaf:#588157; --gms-moss:#3A5A40; --gms-beige:#A3B18A;
  --gms-cream:#DAD7CD; --gms-white:#F5F5F5;
  --green:#588157; --deep:#3A5A40; --green-2:#A3B18A;
  --orange:#3A5A40; --gold:#A3B18A;
  --gms-orange:#3A5A40; --gms-forest:#3A5A40; --gms-nav-forest:#3A5A40;
  --gms-nav-accent:#588157; --ink:#213C2A; --muted:#526554;
  --soft:#F5F5F5; --line:#DAD7CD;
}
html {scroll-padding-top:82px}
body {color:var(--ink);background:#F5F5F5}
:focus-visible {outline:3px solid var(--gms-beige)!important;outline-offset:3px}
/* Cream utility bar: high-contrast dark moss text, including Arabic navigation. */
body .gms-topbar {
  background:#DAD7CD!important;color:#3A5A40!important;
  border:0!important;border-bottom:1px solid #A3B18A!important;
}
body .gms-topbar .container {
  min-height:40px!important;height:auto!important;
  width:min(1750px,calc(100% - 48px))!important;max-width:1750px!important;
  gap:15px!important;
}
body .gms-topbar .topbar-items {gap:19px!important;color:#3A5A40!important;font-size:12px!important;line-height:1.4}
body .gms-topbar .topbar-items a,
body .gms-topbar .top-links>a,
body.gms-static-ar .gms-topbar .top-links>a,
body.gms-static-ar .gms-topbar .topbar-items a {
  color:#3A5A40!important;font-size:12px!important;font-weight:600!important;
  text-decoration:none!important;
}
body .gms-topbar .top-links {gap:22px!important}
body .gms-topbar .topbar-items a:hover,
body .gms-topbar .top-links>a:hover {color:#588157!important;text-decoration:underline!important}
body .gms-topbar .language-trigger,
body .gms-topbar .gms-language-direct,
body.gms-static-ar .gms-topbar .top-links .gms-language-direct {
  background:#F5F5F5!important;color:#3A5A40!important;
  border:1px solid #A3B18A!important;min-width:90px!important;
  padding:7px 11px!important;height:34px!important;
  display:inline-flex!important;align-items:center!important;justify-content:space-between!important;
  font-size:12px!important;font-weight:650!important;opacity:1!important;
}
body .gms-topbar .language-options,
body .gms-topbar .language-options[hidden] {border-color:#A3B18A!important}
body .gms-topbar .language-options:not([hidden]) {background:#F5F5F5!important}
body .gms-topbar .language-options a,
body .gms-topbar .language-options button {color:#3A5A40!important}
body .gms-topbar .language-options a:hover,
body .gms-topbar .language-options button:hover {background:#DAD7CD!important;color:#3A5A40!important}
/* Slender moss header with centered navigation and unobstructed logo. */
body .site-header.gms-site-header,
body .site-header.gms-site-header .container.nav {
  background:#3A5A40!important;background-image:none!important;
}
body .gms-site-header .container.nav {
  height:76px!important;max-width:1750px!important;
  width:min(1750px,calc(100% - 48px))!important;
  gap:16px!important;justify-content:space-between!important;
}
body .gms-site-header .brand {
  width:205px!important;min-width:205px!important;flex:0 0 205px!important;
  height:auto!important;margin:0!important;align-self:center!important;
}
body .gms-site-header .brand img,
body .site-header.gms-site-header .brand img {
  width:205px!important;max-width:205px!important;max-height:62px!important;
  height:auto!important;object-fit:contain!important;
}
body .gms-site-header .nav-menu {
  align-items:center!important;justify-content:center!important;
  gap:clamp(7px,.68vw,14px)!important;margin-inline-start:auto!important;
}
body .gms-site-header .nav-menu>a:not(.nav-cta):not(.nav-phone):not(.nav-cart-link),
body .gms-site-header .nav-item>button {
  color:#F5F5F5!important;font-size:clamp(10px,.68vw,12px)!important;
  padding:12px 0!important;line-height:1.25!important;font-weight:700!important;
}
body .gms-site-header .nav-menu>a:hover,
body .gms-site-header .nav-item>button:hover,
body .gms-site-header .nav-menu>a:focus-visible,
body .gms-site-header .nav-item>button:focus-visible {
  color:#DAD7CD!important;text-decoration:underline!important;text-underline-offset:6px!important;
}
body .site-header.gms-site-header .nav-menu .nav-cta {
  background:#588157!important;color:#fff!important;
  border:1px solid #A3B18A!important;
  height:42px!important;min-height:42px!important;padding:9px 12px!important;
  font-size:clamp(10px,.67vw,12px)!important;font-weight:750!important;
}
body .site-header.gms-site-header .nav-menu .nav-cta:hover {background:#3A5A40!important;border-color:#DAD7CD!important}
body .gms-site-header .nav-phone {
  background:#F5F5F5!important;color:#3A5A40!important;
  border:1px solid #DAD7CD!important;height:42px!important;min-height:42px!important;
  padding:10px 12px!important;font-size:clamp(10px,.67vw,12px)!important;
}
body .gms-site-header .nav-phone:hover {background:#DAD7CD!important;color:#3A5A40!important;padding:10px 12px!important}
/* The old "QUOTE BASKET" text is replaced with a real vector shopping cart. */
body .gms-site-header .nav-cart-link {
  position:relative!important;display:inline-flex!important;flex:0 0 45px!important;
  justify-content:center!important;align-items:center!important;
  width:45px!important;min-width:45px!important;height:42px!important;
  padding:7px!important;margin:0 2px!important;
  border:1px solid rgba(245,245,245,.38)!important;
  background:transparent!important;color:#F5F5F5!important;
}
body .gms-site-header .nav-cart-link:hover {background:#588157!important;border-color:#DAD7CD!important;text-decoration:none!important}
body .gms-site-header .nav-cart-link .gms-cart-name {display:none!important}
.gms-cart-icon {display:inline-flex!important;align-items:center;justify-content:center;color:inherit;flex-shrink:0}
.gms-cart-icon svg {display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body .gms-site-header .nav-cart-link .cart-count {
  position:absolute!important;top:-7px!important;inset-inline-end:-8px!important;
  width:22px!important;height:22px!important;min-width:22px!important;
  border-radius:50%!important;background:#DAD7CD!important;color:#3A5A40!important;
  border:2px solid #3A5A40!important;font-size:11px!important;font-weight:800!important;
  display:grid!important;place-items:center!important;line-height:1!important;
}
/* Both mega menus appear centered below the header, not stuck at the left edge. */
body .gms-site-header .gms-mega {
  position:absolute!important;left:50%!important;right:auto!important;top:100%!important;
  transform:translate(-50%,8px)!important;
  width:min(980px,calc(100vw - 56px))!important;
  max-width:calc(100vw - 56px)!important;
  max-height:calc(100dvh - 122px)!important;
  padding:20px 24px!important;
  background:#F5F5F5!important;color:#3A5A40!important;
  border:1px solid #A3B18A!important;border-top:3px solid #588157!important;
  border-radius:0 0 6px 6px!important;
  box-shadow:0 20px 45px rgba(32,54,35,.24)!important;
  text-align:start!important;direction:inherit;
}
body .gms-site-header .gms-mega-construction {width:min(760px,calc(100vw - 56px))!important}
body .gms-site-header .gms-nav-item:is(:hover,:focus-within,.open) .gms-mega {
  transform:translate(-50%,0)!important;visibility:visible!important;opacity:1!important;
}
.gms-mega .mega-section h3 {
  color:#3A5A40!important;border-bottom:1px solid #A3B18A!important;
  font-size:13px!important;letter-spacing:.08em!important;
  margin-bottom:8px!important;padding-bottom:9px!important;
}
.gms-mega .mega-section {margin-bottom:13px!important}
body .gms-site-header .gms-mega .mega-links a {
  background:transparent!important;color:#284832!important;
  padding:10px 9px!important;min-height:36px!important;
  font-size:13px!important;line-height:1.3!important;
}
body .gms-site-header .gms-mega .mega-links a:hover,
body .gms-site-header .gms-mega .mega-links a:focus-visible {
  background:#DAD7CD!important;color:#3A5A40!important;text-decoration:none!important;
}
body.gms-static-ar .gms-site-header .gms-mega,
body.gms-static-ar .gms-site-header .gms-mega .mega-links a {direction:rtl!important;text-align:right!important}
body.gms-static-ar .gms-site-header .nav-menu {margin-inline-start:auto!important;margin-inline-end:0!important}
/* Consistent site-wide palette: no bright orange controls. */
.btn-primary,.btn-call,.sticky-call,.gms-contact-rail .gms-rail-call {
  background:#3A5A40!important;color:#F5F5F5!important;border-color:#3A5A40!important;
}
.btn-primary:hover,.btn-call:hover,.sticky-call:hover {background:#588157!important;border-color:#588157!important;color:white!important}
.btn-green,.sticky-quote {background:#588157;color:#fff}
.btn-green:hover,.sticky-quote:hover {background:#3A5A40!important;color:#fff!important}
.hero h1 span,.hero-copy h1 span,.hero-accent,
.process-copy h2 span,.about-quality-title h2 span,
.hero-rating-stars,.cta-copy h2 span {color:#DAD7CD!important}
.hero-rating-stars {letter-spacing:.09em}
.hero h1:before,.cta-copy h2:after,.eyebrow:before {background:#A3B18A!important}
.hero-form,.gms-inner-hero-form {
  background:rgba(58,90,64,.92)!important;color:#F5F5F5!important;
  border-color:rgba(218,215,205,.55)!important;
}
.hero-form p,.hero-form label,.gms-inner-hero-form p,.gms-inner-hero-form label {color:#F5F5F5!important}
.hero-form input,.hero-form select,.hero-form textarea,
.gms-inner-hero-form input,.gms-inner-hero-form select,.gms-inner-hero-form textarea {
  background:#F5F5F5!important;color:#213C2A!important;border-color:#A3B18A!important;
}
.hero-form input::placeholder,.hero-form textarea::placeholder,
.gms-inner-hero-form input::placeholder,.gms-inner-hero-form textarea::placeholder {color:#566a5c!important}
.footer,.process {background-color:#3A5A40!important}.gms-project-proof {background-color:var(--soft)!important;color:var(--ink)!important}
.footer a:hover,.footer-links a:hover {color:#DAD7CD!important}
.gms-contact-rail .gms-rail-whatsapp {background:#588157!important}
.gms-contact-rail .gms-rail-form {background:#3A5A40!important}
.gms-contact-rail .gms-rail-call {background:#3A5A40!important}
.gms-contact-rail a:hover {filter:brightness(1.1)}
.logo-pill {color:#3A5A40!important;border-color:#DAD7CD!important}
.logo-pill:hover {border-color:#588157!important}
.gms-projects-notice {background:#F5F5F5!important;border-left-color:#588157!important;color:#3A5A40!important}
.process .process-steps .step,.catalog-card,.feature-card,.faq-item {border-color:#DAD7CD!important}
.catalog-filter.active,.catalog-filter:hover {background:#3A5A40!important;color:#fff!important}
.gms-chem-number,.gms-checklist li:before,.service-stage-number {color:#588157!important}
.product-section-tabs {border-bottom-color:#588157!important}
.gms-partners-cta {background:#3A5A40!important}
.gms-partners-cta .btn {background:#588157!important;color:#fff!important}
/* Keep Arabic topbar controls readable even when old RTL CSS sets white links. */
body.gms-static-ar .topbar.gms-topbar .top-links a,
body.gms-static-ar .topbar.gms-topbar .topbar-items a,
body.gms-static-ar .topbar.gms-topbar .topbar-items span {color:#3A5A40!important}
body.gms-static-ar .topbar.gms-topbar .top-links .gms-language-direct {
  color:#3A5A40!important;background:#F5F5F5!important;
  border:1px solid #A3B18A!important;
}
@media (max-width:1550px){
  body .gms-site-header .brand {width:176px!important;min-width:176px!important;flex-basis:176px!important}
  body .gms-site-header .brand img,body .site-header.gms-site-header .brand img {width:176px!important;max-width:176px!important}
  body .gms-site-header .container.nav {gap:12px!important}
  body .gms-site-header .nav-menu {gap:clamp(6px,.49vw,10px)!important}
  body .gms-site-header .nav-phone {padding:8px 10px!important}
  body .gms-site-header .nav-cta {padding:8px 10px!important}
}
@media (max-width:1230px){
  body .gms-site-header .container.nav {height:72px!important}
  body .gms-site-header .nav-menu {
    position:absolute!important;top:100%!important;left:-24px!important;right:-24px!important;
    display:none!important;width:calc(100% + 48px)!important;max-height:calc(100dvh - 72px)!important;
    overflow-y:auto!important;background:#3A5A40!important;
    flex-direction:column!important;align-items:stretch!important;
    gap:0!important;padding:12px 22px 24px!important;
    margin:0!important;justify-content:flex-start!important;
  }
  body .gms-site-header .nav-menu.open {display:flex!important}
  body .gms-site-header .menu-toggle {display:block!important;color:#F5F5F5!important;margin-inline-start:auto!important}
  body .gms-site-header .nav-menu>a:not(.nav-cta):not(.nav-phone):not(.nav-cart-link),
  body .gms-site-header .nav-item>button {width:100%!important;text-align:start!important;font-size:14px!important;padding:12px 8px!important}
  body .gms-site-header .gms-nav-item {width:100%!important;position:relative!important}
  body .gms-site-header .gms-mega {
    display:none!important;position:static!important;transform:none!important;
    width:100%!important;max-width:100%!important;max-height:none!important;
    overflow:visible!important;padding:14px!important;box-shadow:none!important;
    border-radius:4px!important;visibility:visible!important;opacity:1!important;
  }
  body .gms-site-header .gms-nav-item.open .gms-mega,
  body .gms-site-header .gms-nav-item.open:hover .gms-mega {display:block!important;transform:none!important}
  body .gms-site-header .nav-cta,
  body .gms-site-header .nav-phone {
    display:flex!important;width:100%!important;height:auto!important;min-height:42px!important;
    margin:4px 0!important;justify-content:flex-start!important;padding:12px!important;
    font-size:13px!important;
  }
  body .gms-site-header .nav-cart-link {
    display:flex!important;width:52px!important;min-width:52px!important;flex:0 0 42px!important;
    height:42px!important;margin:10px 5px!important;
  }
}
@media(max-width:820px){
  body .gms-topbar .container {flex-direction:column!important;min-height:0!important;padding:6px 0!important;gap:5px!important}
  body .gms-topbar .topbar-items {justify-content:center!important;gap:5px 13px!important}
  body .gms-topbar .top-links {justify-content:center!important;gap:18px!important}
  body .gms-site-header .container.nav {height:70px!important}
  body .gms-site-header .gms-mega .mega-links {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
  body .gms-topbar .topbar-items {display:none!important}
  body .gms-topbar .container {padding:4px 0!important}
  body .gms-topbar .top-links {display:flex!important;gap:14px!important}
  body .gms-topbar .top-links>a {display:inline!important;font-size:11px!important}
  body .gms-site-header .brand {width:156px!important;min-width:156px!important;flex-basis:156px!important}
  body .gms-site-header .brand img,body .site-header.gms-site-header .brand img {width:156px!important;max-width:156px!important}
  body .gms-site-header .gms-mega .mega-links {grid-template-columns:1fr!important}
  body .gms-site-header .container.nav {width:calc(100% - 30px)!important}
  body .gms-site-header .nav-menu {left:-15px!important;right:-15px!important;width:calc(100% + 30px)!important}
}
@media (prefers-reduced-motion:reduce) {
 body .gms-site-header .gms-mega {transition:none!important}
}
