/* Update 26: header search, categories menu, quote list, add-to-quote toast, BOQ page, brands grid, hero city, WhatsApp */
:root{--sg-ease:cubic-bezier(.2,.7,.2,1);--sg-ok:#1d7a46}
html{scroll-padding-top:calc(var(--sg-hdr,100px) + var(--sg-cart-height,0px) + 14px)}
.sg-sticky-cart{top:var(--sg-hdr,var(--sg-header-height,84px))!important;transition:top .3s var(--sg-ease)}
.sg-sticky-cart .sg-cart-link{display:none}
.sg-hsearch,.sg-cats,.sg-quote,.sg-cicons,.sg-mrow,.sg-mcancel,.sg-hline{display:none}
.sg-badge{min-width:20px;height:20px;border-radius:10px;background:var(--live);color:var(--navy-deep);font-size:.75rem;font-weight:800;display:inline-grid;place-items:center;padding:0 5px;line-height:1;font-family:"Barlow",Arial,sans-serif}
.sg-badge:not([data-n]),.sg-badge[data-n="0"]{display:none}
@media (min-width:981px){.sg-macc{display:none}}
.sg-h svg{display:block;flex-shrink:0}
.sg-h form.sg-hsearch,.sg-h form.sg-mform{padding:0;margin:0}
.sg-h form.sg-mform{padding-inline:12px 4px}

/* ---------- desktop: two rows ---------- */
@media (min-width:981px){
  .sg-h .nav-wrap{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:80px 50px;grid-template-areas:"logo search actions" "cats nav nav";column-gap:26px;min-height:0;align-items:center}
  .sg-h .logo{grid-area:logo}
  .sg-h .sg-hsearch{grid-area:search;display:flex;position:relative;justify-self:stretch;max-width:660px;width:100%;height:46px;border:1.5px solid var(--blue);border-radius:6px;background:#fff;transition:box-shadow .2s}
  .sg-h .sg-hsearch:focus-within{box-shadow:0 0 0 3px #2f348a26}
  .sg-h .sg-hsearch input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;padding:0 16px;font:inherit;font-size:.95rem;color:var(--dark);border-radius:6px 0 0 6px;-webkit-appearance:none;appearance:none}
  html[dir=rtl] .sg-h .sg-hsearch input{border-radius:0 6px 6px 0}
  .sg-h .sg-hsearch input::placeholder{color:#8a8ea8}
  .sg-h .sg-hsearch input::-webkit-search-cancel-button{-webkit-appearance:none}
  .sg-h .sg-hsearch button{flex:0 0 54px;border:0;margin:3px;border-radius:4px;background:var(--blue);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .18s}
  .sg-h .sg-hsearch button:hover{background:var(--navy-deep)}
  .sg-h .nav-actions{grid-area:actions}
  .sg-h .sg-quote{position:relative;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:1px solid #dfe2ee;border-radius:3px;color:var(--blue);font-weight:700;font-size:.86rem;background:#fff;white-space:nowrap;transition:border-color .18s}
  .sg-h .sg-quote:hover{border-color:var(--blue)}
  .sg-h .sg-quote .sg-badge{position:absolute;top:-9px;inset-inline-end:-9px;box-shadow:0 0 0 2px #fff}
  .sg-h .sg-cats{grid-area:cats;display:inline-flex;align-items:center;gap:9px;height:38px;padding:0 14px;border:0;border-radius:4px;background:var(--blue);color:#fff;font:inherit;font-weight:700;font-size:.9rem;cursor:pointer;white-space:nowrap;transition:background .18s}
  .sg-h .sg-cats:hover,.sg-h .sg-cats[aria-expanded=true]{background:var(--navy-deep)}
  .sg-h .sg-caret{transition:transform .2s var(--sg-ease)}
  .sg-h .sg-cats[aria-expanded=true] .sg-caret{transform:rotate(180deg)}
  .sg-h nav#navigation{grid-area:nav;justify-self:start;gap:26px}
  .sg-h .sg-hline{display:block;position:absolute;inset-inline:0;top:80px;border-top:1px solid #e6e8f2;pointer-events:none}
}
@media (min-width:981px) and (max-width:1150px){
  .sg-h .nav-wrap{column-gap:18px}
  .sg-h .sg-quote>span:not(.sg-badge){display:none}
  .sg-h .sg-quote{width:44px;padding:0;justify-content:center}
}

/* ---------- categories mega menu (desktop) ---------- */
.sg-mega{position:absolute;inset-inline:0;top:100%;margin-top:2px;background:#fff;border-top:1px solid #e6e8f2;box-shadow:0 24px 40px #17233a24;z-index:40;opacity:0;transform:translateY(-6px);transition:opacity .18s,transform .22s var(--sg-ease);pointer-events:none}
.sg-mega.open{opacity:1;transform:none;pointer-events:auto}
.sg-mega .container{display:grid;grid-template-columns:300px minmax(0,1fr)}
.sg-mega-list{border-inline-end:1px solid #e6e8f2;padding:12px 0}
.sg-mega-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;font-weight:600;color:var(--dark);font-size:.94rem;border-radius:4px;margin-inline-end:12px;transition:background .15s,color .15s}
.sg-mega-list a.on,.sg-mega-list a:hover{background:var(--light);color:var(--blue)}
.sg-mega-list a span:last-child{color:#9aa0bf;font-size:.9rem}
.sg-mega-panel{padding:22px 0 24px;padding-inline-start:30px;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px}
.sg-mega-panel h4{margin:0 0 14px;font-size:1.12rem;color:var(--dark)}
.sg-mega-groups{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sg-mega-groups a{display:flex;align-items:center;min-height:50px;padding:10px 16px;border:1px solid #e3e6f1;border-radius:6px;font-weight:600;color:var(--dark);font-size:.9rem;line-height:1.45;transition:border-color .15s,color .15s}
.sg-mega-groups a:hover{border-color:var(--blue);color:var(--blue)}
.sg-mega-brands{margin-top:18px}
.sg-mega-brands>.sg-mega-bh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
.sg-mega-bh span{font-size:.78rem;font-weight:700;color:#7d82a1;white-space:nowrap}
.sg-mega-brands .sg-mega-bh a{display:inline;height:auto;border:0;border-radius:0;padding:0;font-size:.78rem;font-weight:700;color:var(--blue);white-space:nowrap}
.sg-mega-brands .sg-mega-bh a:hover{text-decoration:underline}
.sg-mega-brands>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.sg-mega-brands a{height:46px;border:1px solid #e3e6f1;border-radius:6px;display:grid;place-items:center;padding:6px 8px;transition:border-color .15s}
.sg-mega-brands a:hover{border-color:var(--blue)}
.sg-mega-brands img{max-width:100%;max-height:28px;object-fit:contain}
.sg-mega-brands img.brand-logo-on-dark{padding:3px 6px;border-radius:4px}
.sg-mega-all{display:inline-block;margin-top:16px;color:var(--blue);font-weight:700;border-bottom:1px solid currentColor;font-size:.9rem}
.sg-mega-img{border-radius:8px;background:#f3f5f9;overflow:hidden;align-self:start;aspect-ratio:3/2}
.sg-mega-img img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- search suggestions ---------- */
.sg-suggest{position:absolute;top:calc(100% + 6px);inset-inline:-1.5px;background:#fff;border:1px solid #dfe2ee;border-radius:8px;box-shadow:0 22px 40px #17233a2b;z-index:45;overflow:hidden;max-height:min(70vh,640px);overflow-y:auto;text-align:start}
.sg-sg-head{display:flex;justify-content:space-between;gap:10px;padding:10px 14px 6px;font-size:.75rem;font-weight:700;color:#7d82a1}
.sg-sg-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 14px 10px}
.sg-sg-chips a{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border:1px solid #e0e3ef;border-radius:999px;font-size:.84rem;color:var(--dark);background:#fafbfd;transition:border-color .15s}
.sg-sg-chips a:hover{border-color:var(--blue)}
.sg-sg-chips a b{color:var(--blue);font-weight:700}
.sg-sg-chips .sg-k{font-size:.72rem;color:#8a8ea8}
.sg-sg-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 14px;border-top:1px solid #f0f1f6;color:inherit;cursor:pointer}
.sg-sg-item.on,.sg-sg-item:hover{background:#f4f5fb}
.sg-sg-item img,.sg-sg-item .sg-noimg{width:48px;height:48px;object-fit:contain;background:#f3f5f9;border-radius:4px;display:block}
.sg-sg-item .sg-t{font-size:.86rem;color:var(--dark);line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
.sg-sg-item .sg-m{display:block;font-size:.8rem;color:var(--muted);margin-top:2px}
.sg-sg-item .sg-m bdi{font-weight:700;color:var(--blue)}
.sg-sg-item mark{background:#fdf1c4;color:inherit;padding:0 1px;border-radius:2px}
.sg-sg-add{font:inherit;font-size:.75rem;font-weight:700;color:var(--blue);background:#fff;border:1px solid #cfd2e6;border-radius:4px;padding:5px 9px;white-space:nowrap;cursor:pointer;transition:border-color .15s,background .15s}
.sg-sg-add:hover{border-color:var(--blue)}
.sg-sg-add.done{color:var(--sg-ok);border-color:#b7dcc5;background:#eef7f1}
.sg-sg-foot{display:block;padding:12px 14px;border-top:1px solid #e6e8f2;background:#fafbfd;font-weight:700;color:var(--blue);font-size:.88rem}
.sg-sg-empty{padding:16px 14px;color:var(--muted);font-size:.88rem;line-height:1.7}
.sg-sg-empty a{color:var(--blue);font-weight:700}

/* ---------- mobile and tablet header ---------- */
@media (max-width:980px){
  .sg-h{margin-bottom:58px;transition:border-color .3s}
  .sg-h:not(.sg-compact):not(.sg-menu-open){border-bottom-color:#e6e8f2}
  .sg-mrow{display:block;position:absolute;inset-inline:0;top:calc(100% + 2px);height:58px;overflow:hidden;pointer-events:none}
  .sg-mrow:before{content:"";position:absolute;inset:0;background:#fff;border-bottom:2px solid var(--blue);transition:transform .32s var(--sg-ease)}
  .sg-mrow .container{position:relative;display:flex;gap:8px;padding:8px 0;align-items:center;pointer-events:auto;transition:transform .32s var(--sg-ease),opacity .25s}
  .sg-h.sg-compact .sg-mrow:before,.sg-h.sg-compact .sg-mrow .container,.sg-h.sg-menu-open .sg-mrow:before,.sg-h.sg-menu-open .sg-mrow .container{transform:translateY(-102%)}
  .sg-h.sg-compact .sg-mrow .container,.sg-h.sg-menu-open .sg-mrow .container{opacity:0;pointer-events:none}
  .sg-mform{flex:1;display:flex;align-items:center;gap:8px;height:40px;padding-inline:12px 4px;border:1px solid #cfd2e6;border-radius:6px;background:#f7f8fc;min-width:0;transition:border-color .2s,background .2s,box-shadow .2s}
  .sg-mform svg{color:var(--blue)}
  .sg-mform input{flex:1;min-width:0;height:38px;border:0;background:transparent;outline:0;padding:0;margin:0;font:inherit;font-size:16px;color:var(--dark);-webkit-appearance:none;appearance:none}
  .sg-mform input::placeholder{color:#7d82a1;font-size:.88rem}
  .sg-mform input::-webkit-search-cancel-button{-webkit-appearance:none}
  .sg-mclear{display:none;flex:0 0 30px;width:30px;height:30px;border:0;border-radius:50%;background:#e6e8f2;color:#4a4f70;font-size:1.1rem;line-height:1;padding:0;cursor:pointer}
  .sg-mquote{position:relative;display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 12px;border:1px solid #dfe2ee;border-radius:6px;color:var(--blue);font-weight:700;font-size:.84rem;white-space:nowrap;background:#fff}
  .sg-mquote .sg-badge{margin-inline-start:2px}
  .sg-cicons{display:inline-flex;gap:8px;overflow:hidden;max-width:0;opacity:0;margin-inline-end:-8px;transition:max-width .32s var(--sg-ease),opacity .2s,margin .32s var(--sg-ease)}
  .sg-h.sg-compact:not(.sg-menu-open) .sg-cicons{max-width:100px;opacity:1;margin-inline-end:0;overflow:visible;transition:max-width .32s var(--sg-ease),opacity .2s,margin .32s var(--sg-ease),overflow 0s .32s}
  .sg-cbtn{position:relative;flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #dfe2ee;border-radius:4px;background:#fff;color:var(--blue);padding:0;cursor:pointer}
  .sg-cbtn .sg-badge{position:absolute;top:-7px;inset-inline-end:-7px;min-width:18px;height:18px;font-size:.68rem;box-shadow:0 0 0 2px #fff}
  .sg-h.sg-searching .sg-mform{border-color:var(--blue);background:#fff;box-shadow:0 0 0 3px #2f348a22}
  .sg-h.sg-searching .sg-mclear.on{display:grid;place-items:center}
  .sg-h.sg-searching .sg-mquote{display:none}
  .sg-h.sg-searching .sg-mcancel{display:block;border:0;background:none;color:var(--blue);font:inherit;font-weight:700;font-size:.9rem;padding:0 2px;white-space:nowrap;cursor:pointer}
  .sg-msuggest{position:fixed;top:var(--sg-hdr,129px);inset-inline:0;bottom:0;border:0;border-radius:0;box-shadow:0 -1px 0 #e6e8f2;max-height:none;overflow-y:auto;overscroll-behavior:contain;z-index:29;padding-bottom:calc(80px + env(safe-area-inset-bottom));animation:sgDrop .22s var(--sg-ease)}
  body.sg-lock{overflow:hidden}
  .sg-sg-item .sg-t{-webkit-line-clamp:2}
  .sg-h nav.open{max-height:calc(100dvh - var(--sg-hdr,71px));overflow-y:auto}
  .sg-macc{border-bottom:1px solid #eceef5;padding:2px 0 10px;margin-bottom:6px}
  .sg-macc>b{display:block;padding:10px 4px;font-size:1rem;color:var(--blue)}
  .sg-macc button{display:flex;width:100%;justify-content:space-between;align-items:center;padding:12px 4px;font:inherit;font-size:.96rem;color:var(--dark);border:0;border-top:1px solid #f2f3f8;background:none;text-align:start;cursor:pointer}
  .sg-macc button span:last-child{color:#9aa0bf;font-size:1.1rem;width:20px;text-align:center}
  .sg-macc .sg-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s var(--sg-ease)}
  .sg-macc .sg-sub.open{grid-template-rows:1fr}
  .sg-macc .sg-sub>div{overflow:hidden}
  .sg-macc .sg-sub>div>div{background:var(--light);border-radius:6px;padding:4px 12px;margin:4px 0 8px}
  .sg-h .sg-macc .sg-sub a{display:flex;justify-content:space-between;padding:11px 4px;font-size:.92rem;border:0;border-top:1px solid #e6e8f2;white-space:normal}
  .sg-h .sg-macc .sg-sub a:first-child{border-top:0}
  .sg-h .sg-macc .sg-sub a span:last-child{color:#9aa0bf}
  .floating-wa{width:44px!important;height:44px!important;inset-inline-end:12px!important;bottom:calc(63px + 26px + env(safe-area-inset-bottom))!important}
}
@media (min-width:561px) and (max-width:980px){
  .sg-cbtn{flex-basis:44px;width:44px;height:44px}
  .sg-h.sg-compact:not(.sg-menu-open) .sg-cicons{max-width:96px}
  .sg-msuggest{bottom:auto;max-height:calc(100dvh - var(--sg-hdr,129px) - 24px);box-shadow:0 22px 40px #17233a2b;border-bottom:1px solid #dfe2ee;padding-bottom:0}
  .floating-wa{bottom:24px!important}
}
@media (max-width:560px){
  /* phones: the language box gives its place to the lens while scrolled; the quote list stays in the bottom bar */
  .sg-h.sg-compact:not(.sg-menu-open) .sg-cicons{max-width:42px}
  .sg-h.sg-compact .sg-cquote{display:none}
  .sg-h.sg-compact:not(.sg-menu-open) .lang-button{display:none!important}
  .mobile-contact a .sg-badge{margin-inline-start:8px}
}
@media (min-width:981px){.floating-wa{width:52px!important;height:52px!important;bottom:28px!important;inset-inline-end:28px!important}}
@keyframes sgDrop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* ---------- add-to-quote toast ---------- */
.sg-toast{position:fixed;z-index:60;inset-inline-end:24px;top:calc(var(--sg-hdr,130px) + 16px);width:360px;max-width:calc(100vw - 24px);background:#fff;border:1px solid #dfe2ee;border-radius:10px;box-shadow:0 22px 40px #17233a33;padding:16px;opacity:0;transform:translateY(-8px);transition:opacity .2s,transform .25s var(--sg-ease);pointer-events:none}
.sg-toast.show{opacity:1;transform:none;pointer-events:auto}
.sg-toast-ok{display:flex;gap:10px;align-items:center;font-weight:700;color:var(--sg-ok);font-size:.92rem;padding-inline-end:28px}
.sg-toast-ok i{width:22px;height:22px;border-radius:50%;background:var(--sg-ok);color:#fff;display:grid;place-items:center;font-style:normal;font-size:.8rem;flex-shrink:0}
.sg-toast-x{position:absolute;top:10px;inset-inline-end:10px;width:30px;height:30px;border:0;background:none;color:#7d82a1;font-size:1.3rem;line-height:1;cursor:pointer;border-radius:4px}
.sg-toast-p{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;margin:12px 0;align-items:center}
.sg-toast-p img,.sg-toast-p .sg-noimg{width:56px;height:56px;object-fit:contain;background:#f3f5f9;border-radius:4px;display:block}
.sg-toast-p div{font-size:.84rem;line-height:1.5;color:var(--dark);overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.sg-toast-q{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:.85rem;color:var(--muted)}
.sg-step{display:inline-flex;border:1px solid #d7d9e8;border-radius:5px;overflow:hidden;direction:ltr}
.sg-step button{width:34px;height:34px;border:0;background:#fff;font:inherit;font-weight:700;color:var(--blue);cursor:pointer}
.sg-step button:disabled{color:#c3c6d8;cursor:default}
.sg-step input{width:56px;height:34px;border:0;border-inline:1px solid #d7d9e8;text-align:center;font:inherit;font-size:.9rem;color:var(--dark);-moz-appearance:textfield;appearance:textfield;padding:0}
.sg-step input::-webkit-outer-spin-button,.sg-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sg-toast-b{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sg-toast-b a,.sg-toast-b button{height:42px;display:flex;align-items:center;justify-content:center;gap:3px;padding:0 8px;white-space:nowrap;border-radius:5px;font:inherit;font-weight:700;font-size:.86rem;cursor:pointer}
.sg-toast-b a{background:var(--blue);color:#fff;border:1px solid var(--blue)}
.sg-toast-b button{border:1px solid var(--blue);color:var(--blue);background:#fff}
.sg-added,.sg-added:hover{background:#eef7f1!important;border-color:var(--sg-ok)!important;color:var(--sg-ok)!important}
.sg-toast-on .sg-add-feedback.sg-success{display:none}
@media (max-width:980px){.sg-toast{top:auto;inset-inline:12px;width:auto;max-width:none;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateY(12px)}}
@media (min-width:561px) and (max-width:980px){.sg-toast{inset-inline:auto 20px;width:380px;bottom:24px}html[dir=rtl] .sg-toast{inset-inline:auto 20px}}

/* ---------- BOQ page ---------- */
.sg-boq{padding:40px 0 70px;background:#fff}
.sg-boq-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:28px;align-items:start}
.sg-boq .sg-card{border:1px solid #dfe2ee;border-radius:10px;padding:26px;background:#fff}
.sg-boq .sg-card h2{margin:0 0 6px;font-size:1.3rem}
.sg-boq .sg-card .sg-sub{margin:0 0 18px;color:var(--muted);font-size:.92rem;line-height:1.7}
.sg-boq .sg-card h2+.sg-sub+.sg-drop{margin-top:0}
.sg-drop{position:relative;border:2px dashed #b9bde0;border-radius:10px;background:#f7f8fc;padding:28px 20px;text-align:center;transition:border-color .2s,background .2s}
.sg-drop.over{border-color:var(--blue);background:#eef0fa}
.sg-drop svg{width:44px;height:44px;color:var(--blue);display:inline-block}
.sg-drop b{display:block;margin:10px 0 4px;font-size:1.02rem}
.sg-drop span{color:var(--muted);font-size:.86rem}
.sg-drop label{display:inline-block;margin-top:14px;padding:10px 18px;border:1px solid var(--blue);border-radius:5px;color:var(--blue);font-weight:700;font-size:.9rem;background:#fff;cursor:pointer}
.sg-drop input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.sg-drop label:focus-within{box-shadow:0 0 0 3px #2f348a33}
.sg-files{margin-top:14px;display:grid;gap:8px}
.sg-file{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #e3e6f1;border-radius:6px;padding:10px 12px}
.sg-file .ic{width:40px;height:40px;border-radius:5px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:.7rem;font-family:"Barlow",Arial,sans-serif}
.sg-file b{display:block;font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-file span{font-size:.78rem;color:var(--muted)}
.sg-file span.bad{color:#b42318}
.sg-file button{width:32px;height:32px;border:0;background:none;color:#8a8ea8;font-size:1.2rem;cursor:pointer;border-radius:4px}
.sg-file button:hover{color:#b42318;background:#fdf0ef}
.sg-boq-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sg-boq-form label{display:grid;gap:6px;font-size:.86rem;font-weight:600;color:var(--dark)}
.sg-boq-form label.full,.sg-boq-form .full{grid-column:1/-1}
.sg-boq-form input,.sg-boq-form textarea{width:100%;border:1px solid #cfd2e6;border-radius:5px;padding:11px 12px;font:inherit;font-size:.92rem;background:#fff;color:var(--dark)}
.sg-boq-form input:focus,.sg-boq-form textarea:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px #2f348a1f}
.sg-boq-form textarea{min-height:96px;resize:vertical}
.sg-boq-form .sg-consent{display:flex;gap:10px;font-weight:400;font-size:.85rem;color:var(--muted);align-items:flex-start;line-height:1.7}
.sg-boq-form .sg-consent input{width:18px;height:18px;margin-top:3px;flex-shrink:0;accent-color:var(--blue)}
.sg-boq-form .sg-send{height:50px;border:0;border-radius:6px;background:var(--blue);color:#fff;font:inherit;font-weight:700;font-size:1rem;cursor:pointer;transition:background .18s}
.sg-boq-form .sg-send:hover:not(:disabled){background:var(--navy-deep)}
.sg-boq-form .sg-send:disabled{opacity:.55;cursor:not-allowed}
.sg-boq-status{margin:0;font-size:.88rem;line-height:1.7;color:var(--muted)}
.sg-boq-status.sg-error{color:#b42318}
.sg-boq-status.sg-success{color:var(--sg-ok);font-weight:700}
.sg-steps{display:grid;gap:14px;margin-top:20px}
.sg-steps div{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;font-size:.88rem;line-height:1.6;color:var(--muted)}
.sg-steps b{display:block;color:var(--dark);font-size:.92rem}
.sg-steps i{width:34px;height:34px;border-radius:50%;background:var(--light);color:var(--blue);font-style:normal;font-weight:800;display:grid;place-items:center}
.sg-or{margin-top:18px;padding:14px 16px;border-radius:8px;background:var(--light);font-size:.86rem;color:var(--muted);line-height:1.8}
.sg-or a{color:var(--blue);font-weight:700;border-bottom:1px solid currentColor}
@media (max-width:980px){.sg-boq-grid{grid-template-columns:1fr}.sg-boq-form{grid-template-columns:1fr}.sg-boq .sg-card{padding:18px}.sg-boq{padding:24px 0 110px}}

/* ---------- brands page: one grid ordered by activity ---------- */
.directory-grid.sg-bgrid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
.sg-bgrid .directory-entry{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:14px 8px 12px;text-align:center;min-height:0;border-radius:8px;transition:border-color .2s,box-shadow .2s,transform .2s var(--sg-ease)}
.sg-bgrid .directory-entry:hover{border-color:var(--blue);box-shadow:0 8px 20px #17233a14;transform:translateY(-2px)}
.sg-bgrid .directory-entry[hidden]{display:none}
.sg-bgrid .directory-entry>p,.sg-bgrid .directory-entry>a:not(.sg-cover),.sg-bgrid .directory-entry>.directory-links{display:none}
.sg-bgrid .sg-cover{position:absolute;inset:0;z-index:1;border-radius:8px}
.sg-bgrid .sg-cover:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.sg-bgrid .directory-brand-logo{width:100%;height:40px;object-fit:contain;margin:0 0 2px;max-width:118px}
.sg-bgrid .directory-entry h2{margin:0;font-size:.8rem;line-height:1.3;min-height:2.6em;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}
.sg-tag{display:inline-block;font-size:.66rem;font-weight:700;padding:2px 8px;border-radius:999px;line-height:1.5;white-space:nowrap}
.sg-tag.p{background:#e8f3ec;color:var(--sg-ok)}
.sg-tag.r{background:#fdf3d7;color:#8a6200}
@media (max-width:1150px){.directory-grid.sg-bgrid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (max-width:560px){
  .directory-grid.sg-bgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .sg-bgrid .directory-entry{padding:10px 4px 8px;gap:4px;border-radius:6px}
  .sg-bgrid .directory-brand-logo{height:28px}
  .sg-bgrid .directory-entry h2{font-size:.68rem}
  .sg-tag{font-size:.58rem;padding:1px 6px}
}

/* ---------- hero: lit city, flowing background ---------- */
.engineering-art svg{width:100%;height:auto;display:block;aspect-ratio:90/19}
.sg-city .w{stroke:#d5daf1}
.sg-city .pulse{stroke:#f5cf54;stroke-width:3;stroke-dasharray:60 900;stroke-dashoffset:0;opacity:0}
.sg-city .lamp{stroke:#d5daf1}
.sg-city .cone{opacity:0}
.sg-city.run .pulse{animation:sgPulse 2.6s linear forwards}
.sg-city.run .w{animation:sgLight .5s ease-out forwards;animation-delay:var(--d)}
.sg-city.run .lamp{animation:sgLamp .6s ease-out forwards;animation-delay:var(--d)}
.sg-city.run .cone{animation:sgCone 1.2s ease-out forwards;animation-delay:calc(var(--d) + .25s)}
@keyframes sgPulse{0%{opacity:1;stroke-dashoffset:60}92%{opacity:1}100%{opacity:0;stroke-dashoffset:-900}}
@keyframes sgLight{0%{stroke:#d5daf1;filter:none}40%{stroke:#fdf1c8;filter:drop-shadow(0 0 3px #f8dc80)}100%{stroke:#f8dc80;filter:drop-shadow(0 0 2px #f8dc8066)}}
@keyframes sgLamp{0%{stroke:#d5daf1}50%{stroke:#fffbe6;filter:drop-shadow(0 0 6px #f8dc80)}100%{stroke:#fbe7a6;filter:drop-shadow(0 0 4px #f8dc80)}}
@keyframes sgCone{to{opacity:1}}
.sg-pulses{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.sg-pulses svg{display:block;fill:none;stroke:#dfe2f2;stroke-width:1.6;stroke-linecap:round;opacity:.75;filter:drop-shadow(0 0 3px #dfe2f2)}
@media (prefers-reduced-motion:reduce){
  .sg-pulses{display:none}
  .sg-city.run .w,.sg-city.run .pulse,.sg-city.run .lamp,.sg-city.run .cone{animation:none}
  .sg-city .w{stroke:#f8dc80;filter:drop-shadow(0 0 2px #f8dc8066)}.sg-city .lamp{stroke:#fbe7a6;filter:drop-shadow(0 0 4px #f8dc80)}.sg-city .cone{opacity:1}
  .sg-mrow .container,.sg-mrow:before,.sg-cicons,.sg-msuggest,.sg-mega,.sg-toast,.sg-macc .sg-sub{transition:none!important;animation:none!important}
}
@media print{.sg-mrow,.sg-toast,.sg-mega,.sg-suggest{display:none!important}}

/* ---------- brand model list: category and range filter ---------- */
.catalog-app form.sg-bfilter{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 18px;padding:0;border:0;background:none;border-radius:0}
.sg-bfilter .sg-field{display:grid;gap:6px;flex:1 1 260px;max-width:420px;margin:0;font-size:.86rem;font-weight:700;color:var(--dark)}
.sg-bfilter select{width:100%;height:46px;border:1px solid #cfd2e6;border-radius:6px;background:#fff;padding:0 12px;font:inherit;font-weight:500;font-size:.95rem;color:var(--dark);cursor:pointer}
.sg-bfilter select:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px #2f348a1f}
@media (max-width:560px){.sg-bfilter .sg-field{flex-basis:100%;max-width:none}}

/* ---------- update 28: lighter header on desktop and tablet ---------- */
@media (min-width:981px){
  .sg-h .nav-wrap{grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-rows:70px 48px;grid-template-areas:"logo logo search actions" "cats nav nav nav";row-gap:0;column-gap:24px}
  .sg-h .sg-hline{top:70px}
  .sg-h .sg-hsearch{justify-self:end;height:42px;max-width:min(520px,calc(100% - 40px));border:1px solid #cfd2e6;background:#f7f8fc;transition:border-color .2s,background .2s,box-shadow .2s}
  .sg-h form.sg-hsearch{margin-inline-end:-8px}
  .sg-h .sg-hsearch:hover{border-color:#aeb3d6}
  .sg-h .sg-hsearch:focus-within{border-color:var(--blue);background:#fff;box-shadow:0 0 0 3px #2f348a1f}
  .sg-h .sg-hsearch input{padding-inline:14px 6px;font-size:.92rem}
  .sg-h .sg-hsearch button{flex:0 0 42px;margin:0;border-radius:0 5px 5px 0;background:transparent;color:var(--blue)}
  html[dir=rtl] .sg-h .sg-hsearch button{border-radius:5px 0 0 5px}
  .sg-h .sg-hsearch button:hover{background:#2f348a12}
  .sg-h .nav-actions{gap:10px}
  .sg-h .sg-quote{width:42px;height:42px;padding:0;justify-content:center;border:0;border-radius:6px;background:transparent;transition:background .18s}
  .sg-h .sg-quote:hover{background:#2f348a12}
  .sg-h .sg-quote svg{width:24px;height:24px}
  .sg-h .sg-quote>span:not(.sg-badge){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .sg-h .sg-quote .sg-badge{top:-2px;inset-inline-end:-3px;min-width:18px;height:18px;font-size:.68rem}
  .header.sg-h .nav-quote{display:inline-flex;align-items:center;height:42px;min-height:42px;padding:0 16px}
  .header.sg-h .nav-actions .lang-button{width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border:1px solid #dfe2ee;border-radius:6px;color:var(--blue);line-height:1;transition:border-color .18s}
  .header.sg-h .nav-actions .lang-button:hover{border-color:var(--blue)}
  .sg-h .lang-full{display:none}
  .sg-h .lang-short{display:block}
  html[lang=ar] .sg-h .lang-short{letter-spacing:.6px;font-size:.86rem;font-weight:600;font-family:"Barlow",Arial,sans-serif;transform:translate(.45px,-.55px)}
  html[lang=en] .sg-h .lang-short{font-size:.84rem;font-weight:700;font-family:"Tajawal",Tahoma,sans-serif;transform:translate(-.1px,-.5px)}
  .sg-h .sg-cats{justify-self:start;height:34px;gap:8px;padding:0 12px;border-radius:5px;background:#eef0f8;color:var(--blue);font-size:.88rem}
  .sg-h .sg-cats:hover,.sg-h .sg-cats[aria-expanded=true]{background:#e2e5f3}
}
/* tablets in landscape and small screens: a shorter search keeps one row */
@media (min-width:981px) and (max-width:1199px){
  .sg-h .nav-wrap{column-gap:16px}
  .sg-h .sg-hsearch{max-width:min(380px,calc(100% - 32px))}
  .sg-h form.sg-hsearch{margin-inline-end:0}
  .sg-h .nav-actions{gap:8px}
  .sg-h .sg-hsearch input{font-size:.86rem;text-overflow:ellipsis}
  .header.sg-h .nav-quote{padding:0 13px}
}

/* v30: home brand groups, "Featured brands" label and "All brands" link */
.brands-section .brand-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:-6px 0 12px}
.brands-section .brand-group-head span{font-size:.78rem;font-weight:700;color:#7d82a1}
.brands-section .brand-group-head a{font-size:.8rem;white-space:nowrap}
