/* =========================================================
   ELD AWLIA INDUSTRIAL STOREFRONT — mockup-faithful design
   Sections: tokens · topbar/header · hero · trust · categories
   · brands · products · banner · footer · shop · product · responsive
   ========================================================= */
:root{
  --ed-orange:#f58220; --ed-orange-d:#d8660c; --ed-orange-soft:#fff3e8;
  --ed-ink:#172b3d; --ed-dark:#121820; --ed-dark2:#0d1117; --ed-muted:#6b7280;
  --ed-line:#e5e7eb; --ed-paper:#f6f7f9; --ed-white:#fff; --ed-green:#1f9d55;
  --ed-radius:6px; --ed-container:1240px; --ed-shadow:0 4px 18px rgba(16,24,40,.08);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
html{scrollbar-color:var(--ed-orange) var(--ed-paper);scrollbar-width:thin}
@supports not (scrollbar-color: auto){
  html{scrollbar-width:auto}
  html::-webkit-scrollbar{width:12px;height:12px}
  html::-webkit-scrollbar-thumb{background:var(--ed-orange)}
  html::-webkit-scrollbar-track{background:var(--ed-paper)}
}
:where(a:any-link,button,input,select,summary):focus-visible{outline:3px solid var(--ed-orange);outline-offset:3px}
.ed-skip{position:absolute!important;clip-path:inset(50%)!important;overflow:hidden!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;white-space:nowrap!important}
.ed-skip:focus{position:fixed!important;top:8px;inset-inline-start:8px;z-index:200;clip-path:none!important;width:auto!important;height:auto!important;margin:0!important;padding:10px 16px!important;background:var(--ed-orange);color:#fff!important;border-radius:4px}
h1,h2,h3,h4,.ed-sec-title,.ed-hero h1,.ed-banner h2{text-wrap:balance}
p,blockquote,li,.ed-pd__desc,.ed-hero__sub{text-wrap:pretty}
body{margin:0;background:var(--ed-paper);color:var(--ed-ink);font-family:"Inter","Cairo",Arial,sans-serif;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
html{overflow-x:hidden}
html[dir=rtl] body{font-family:"Cairo","Inter",Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select{font:inherit}
.ed-container{width:min(var(--ed-container),calc(100% - 48px));margin-inline:auto}
.ed-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:var(--ed-radius);background:var(--ed-orange);color:#fff;font-weight:700;font-size:14px;padding:12px 22px;min-height:44px;cursor:pointer;transition:.18s ease}
.ed-btn:hover{background:var(--ed-orange-d);transform:translateY(-1px)}
.ed-btn--outline{background:transparent;border:1px solid rgba(255,255,255,.55);color:#fff}
.ed-btn--outline:hover{background:rgba(255,255,255,.12)}
.ed-btn--dark{background:#212b38;border:1px solid #3a4656;color:#fff}
.ed-btn--dark:hover{background:#2b3747}
.ed-btn--sm{padding:9px 15px;min-height:38px;font-size:13px}
.ed-section{padding:48px 0}
.ed-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:22px}
.ed-sec-title{font-size:30px;font-weight:800;margin:0;position:relative;padding-bottom:10px}
.ed-sec-title::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:46px;height:3px;background:var(--ed-orange);border-radius:2px}
.ed-sec-link{color:var(--ed-orange);font-size:13px;font-weight:800}
.ed-sec-link:hover{text-decoration:underline}

/* ---------- TOPBAR + HEADER ---------- */
.ed-topbar{background:var(--ed-dark);color:#cfd5df;font-size:12px;height:36px;display:flex;align-items:center}
.ed-topbar .ed-container{display:flex;align-items:center;justify-content:space-between;gap:20px}
.ed-topbar__left,.ed-topbar__right{display:flex;align-items:center;gap:22px}
.ed-topbar a:hover{color:#fff}
.ed-topbar svg{width:13px;height:13px;stroke:var(--ed-orange);fill:none;stroke-width:2;vertical-align:-2px;margin-inline-end:5px}
.ed-header{background:#fff;position:sticky;top:0;z-index:60;border-bottom:1px solid var(--ed-line)}
.ed-header__in{display:flex;align-items:center;gap:18px;height:76px}
.ed-logo{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.ed-logo img{width:52px;height:52px;object-fit:contain}
.ed-logo__text b{display:block;font-size:19px;line-height:1;font-weight:900;letter-spacing:.2px;color:var(--ed-ink)}
.ed-logo__text b span{color:var(--ed-orange)}
.ed-logo__text small{display:block;font-size:8px;letter-spacing:2.4px;font-weight:800;color:var(--ed-orange);margin-top:5px}
.ed-nav{display:flex;align-items:center;gap:4px;margin-inline:auto}
.ed-nav a{font-size:13px;font-weight:700;padding:26px 13px;position:relative;white-space:nowrap}
.ed-nav a:hover,.ed-nav a.is-active{color:var(--ed-orange)}
.ed-nav a.ed-nav__cat{background:var(--ed-orange);color:#fff;padding:10px 14px;border-radius:3px}
.ed-nav a.ed-nav__cat:hover{background:var(--ed-orange-d);color:#fff}
.ed-search{display:flex;align-items:center;background:#f4f5f7;border:1px solid var(--ed-line);border-radius:20px;padding:5px 6px 5px 14px;min-width:190px}
.ed-search input{border:0;background:transparent;outline:0;font-size:12px;width:100%;min-width:0}
.ed-search button{border:0;background:transparent;color:#8993a0;display:grid;place-items:center;cursor:pointer;padding:4px}
.ed-header__actions{display:flex;align-items:center;gap:14px}
.ed-icon{position:relative;display:grid;place-items:center;color:var(--ed-ink)}
.ed-icon svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8}
.ed-badge{position:absolute;top:-7px;inset-inline-end:-9px;background:var(--ed-orange);color:#fff;border-radius:999px;font-size:10px;font-weight:800;min-width:17px;height:17px;display:grid;place-items:center;padding:0 4px}
.ed-burger{display:none;border:0;background:transparent;cursor:pointer}

/* ---------- HERO ---------- */
.ed-hero{position:relative;min-height:330px;background:#0b1320 url('../images/dawlya-hero.webp') center/cover no-repeat;display:flex;align-items:center;overflow:hidden;color:#fff}
.ed-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.ed-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(9,15,25,.94) 0%,rgba(9,15,25,.72) 42%,rgba(9,15,25,.18) 78%)}
.ed-hero__in{position:relative;z-index:2;padding:52px 0}
.ed-eyebrow{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:800;letter-spacing:1.6px;color:#ffd9b8;margin:0 0 14px}
.ed-eyebrow::before{content:"";width:26px;height:3px;background:var(--ed-orange)}
.ed-hero h1{font-size:46px;line-height:1.05;margin:0 0 12px;font-weight:900;letter-spacing:-.5px}
.ed-hero h1 span{color:var(--ed-orange)}
.ed-hero__lead{font-size:17px;font-weight:700;margin:0 0 8px;letter-spacing:.4px}
.ed-hero__sub{font-size:14px;color:#cfd6df;margin:0 0 22px;max-width:560px}
.ed-hero__ctas{display:flex;gap:12px;flex-wrap:wrap}
.ed-crumb{font-size:12px;color:#c3cbd6;margin-top:24px;display:flex;align-items:center;gap:8px}
.ed-crumb b{color:#fff}
.ed-crumb span{color:var(--ed-orange)}

/* ---------- TRUST STRIP ---------- */
.ed-trust{background:var(--ed-dark);color:#fff;padding:20px 0}
.ed-trust__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.ed-trust__item{display:flex;align-items:center;gap:13px;padding:4px 18px;border-inline-end:1px solid #2b3442}
.ed-trust__item:last-child{border:0}
.ed-trust__item svg{width:34px;height:34px;stroke:var(--ed-orange);fill:none;stroke-width:1.7;flex:0 0 auto}
.ed-trust__item b{display:block;font-size:13px;font-weight:800}
.ed-trust__item small{display:block;font-size:11px;color:#aab3c0}

/* ---------- CATEGORY CARDS ---------- */
.ed-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ed-cat{position:relative;display:block;border-radius:5px;overflow:hidden;aspect-ratio:1.28/1;background:#dfe4ea}
.ed-cat img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.ed-cat:hover img{transform:scale(1.06)}
.ed-cat::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,14,24,.72),rgba(8,14,24,0) 60%)}
.ed-cat__t{position:absolute;inset-inline-start:14px;bottom:14px;z-index:2;color:#fff;font-size:13px;font-weight:800;max-width:70%}
.ed-cat__arrow{position:absolute;inset-inline-end:12px;bottom:12px;z-index:2;width:32px;height:32px;border-radius:50%;background:var(--ed-orange);color:#fff;display:grid;place-items:center;font-size:17px}

/* ---------- BRANDS ---------- */
.ed-section--white{background:#fff}
.ed-brands{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.ed-brand{height:92px;background:#fff;border:1px solid var(--ed-line);border-radius:4px;display:grid;place-items:center;padding:14px;transition:.2s}
.ed-brand:hover{border-color:var(--ed-orange);box-shadow:var(--ed-shadow)}
.ed-brand img{max-height:52px;width:auto;object-fit:contain}

/* ---------- PRODUCT CARDS ---------- */
.ed-products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ed-products--five{grid-template-columns:repeat(5,1fr)}
.ed-card{position:relative;background:#fff;border:1px solid var(--ed-line);border-radius:5px;overflow:hidden;display:flex;flex-direction:column;transition:.2s}
.ed-card:hover{box-shadow:var(--ed-shadow);transform:translateY(-2px)}
.ed-card__heart{position:absolute;top:10px;inset-inline-end:10px;z-index:2;border:0;background:rgba(255,255,255,.9);border-radius:50%;width:28px;height:28px;display:grid;place-items:center;cursor:pointer;color:#8a94a3}
.ed-card__heart svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.ed-card__media{height:170px;display:grid;place-items:center;padding:14px;background:#fff}
.ed-card__media img{max-height:150px;width:auto;object-fit:contain}
.ed-card__body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.ed-card__brand{font-size:11px;font-weight:900;color:#5b6675;text-transform:uppercase;letter-spacing:.3px;min-height:14px}
.ed-card__name{font-size:13px;font-weight:700;line-height:1.35;margin:0;min-height:36px}
.ed-card__price{color:var(--ed-orange);font-weight:900;font-size:16px}
.ed-card__price del{color:#9aa3af;font-weight:600;font-size:12px;margin-inline-start:6px}
.ed-stars{display:flex;align-items:center;gap:4px;color:#f5a623;font-size:11px}
.ed-stars small{color:#8a94a3}
.ed-card__cart{margin-top:auto;width:100%;border:0;border-radius:4px;background:var(--ed-orange);color:#fff;font-weight:800;font-size:12px;padding:10px 8px;min-height:38px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}
.ed-card__cart:hover{background:var(--ed-orange-d)}
.ed-card__cart svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.ed-card__quote{background:#fff;color:var(--ed-ink);border:1px solid var(--ed-line)}

/* ---------- BUILD MORE BANNER ---------- */
.ed-banner{position:relative;background:#101722 url('../images/hero-worker.webp') left center/cover no-repeat;color:#fff;min-height:200px;display:flex;align-items:center;overflow:hidden;margin-top:30px}
.ed-banner::before{content:"";position:absolute;inset:0;background:rgba(9,14,23,.68)}
.ed-banner::after{content:"";position:absolute;inset-inline-end:-60px;top:-40px;width:300px;height:320px;background:repeating-linear-gradient(135deg,var(--ed-orange) 0 18px,transparent 18px 36px);opacity:.9;transform:rotate(18deg)}
.ed-banner__in{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:30px 0}
.ed-banner h2{font-family:Georgia,serif;font-style:italic;font-size:38px;margin:0;line-height:1.1}
.ed-banner h2 span{color:var(--ed-orange)}
.ed-banner p{margin:6px 0 0;color:#d7dee8;font-size:14px}

/* ---------- FOOTER ---------- */
.ed-footer{background:var(--ed-dark);color:#d3d9e2;padding-top:44px}
.ed-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr 1.3fr;gap:28px;padding-bottom:36px}
.ed-footer__logo{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.ed-footer__logo img{width:46px;height:46px;object-fit:contain}
.ed-footer__logo b{font-size:17px;font-weight:900;color:#fff}
.ed-footer__logo b span{color:var(--ed-orange)}
.ed-footer__logo small{display:block;font-size:8px;letter-spacing:2px;color:var(--ed-orange);font-weight:800}
.ed-footer h3,.ed-footer h4{color:#fff;font-size:14px;margin:0 0 16px;font-weight:800}
.ed-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:13px}
.ed-footer a:hover{color:var(--ed-orange)}
.ed-footer__contact li{display:flex;gap:9px;align-items:flex-start}
.ed-footer__contact svg{width:15px;height:15px;stroke:var(--ed-orange);fill:none;stroke-width:2;flex:0 0 auto;margin-top:2px}
.ed-social{display:flex;gap:8px;margin-top:12px}
.ed-social a{width:28px;height:28px;border-radius:3px;background:#222c3a;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:800}
.ed-social a:hover{background:var(--ed-orange)}
.ed-news p{font-size:13px;margin:0 0 12px}
.ed-news__form{display:flex;border:1px solid #3a4656;border-radius:4px;overflow:hidden;background:#1b232f}
.ed-news input{border:0;background:transparent;color:#fff;padding:10px 12px;font-size:12px;min-width:0;flex:1;outline:0}
.ed-news button{border:0;background:var(--ed-orange);color:#fff;width:42px;cursor:pointer}
.ed-footer__bottom{border-top:1px solid #2a3341;padding:14px 0;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#98a2b0}
.ed-pay{display:flex;gap:8px;align-items:center}
.ed-pay span{background:#fff;border-radius:3px;padding:3px 7px;font-size:9px;font-weight:900;color:#1a2b4a}

/* ---------- SHOP / ARCHIVE ---------- */
.ed-shop-wrap{display:grid;grid-template-columns:232px 1fr;gap:22px;align-items:start;padding:30px 0 60px}
.ed-sidebar{display:grid;gap:18px}
.ed-side-card{background:#fff;border:1px solid var(--ed-line);border-radius:5px;overflow:hidden}
.ed-side-card__head{background:var(--ed-dark);color:#fff;font-weight:800;font-size:15px;padding:14px 16px;position:relative}
.ed-side-card__head::after{content:"";position:absolute;bottom:0;inset-inline-start:16px;width:34px;height:3px;background:var(--ed-orange)}
.ed-side-list{list-style:none;margin:0;padding:10px 0}
.ed-side-list a{display:flex;justify-content:space-between;padding:9px 16px;font-size:13px}
.ed-side-list a:hover{background:var(--ed-orange-soft);color:var(--ed-orange)}
.ed-side-list span{color:#98a2b0}
.ed-help{background:var(--ed-dark);color:#fff;border-radius:5px;overflow:hidden;position:relative}
.ed-help img{width:100%;height:150px;object-fit:cover;object-position:center 25%;opacity:.85}
.ed-help__body{padding:16px}
.ed-help h3{margin:0 0 6px;font-size:20px;line-height:1.15}
.ed-help p{margin:0 0 14px;font-size:12px;color:#c8d0db}
.ed-shop-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid var(--ed-line);border-radius:5px;padding:10px 14px;margin-bottom:16px;font-size:13px}
.ed-shop-bar select{border:1px solid var(--ed-line);border-radius:4px;padding:7px 10px;background:#fff;font-size:12px;color:var(--ed-ink)}
.ed-shop-bar label{color:var(--ed-muted);font-size:12px}
.ed-pagination{display:flex;justify-content:center;gap:6px;margin-top:26px}
.ed-pagination a,.ed-pagination span{min-width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--ed-line);border-radius:4px;background:#fff;font-size:12px}
.ed-pagination .current{background:var(--ed-orange);color:#fff;border-color:var(--ed-orange)}

/* ---------- PRODUCT DETAIL ---------- */
.ed-pd{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:30px 0}
.ed-pd__gallery{display:grid;grid-template-columns:76px 1fr;gap:14px}
.ed-thumbs{display:grid;gap:10px;align-content:start}
.ed-thumb{border:1px solid var(--ed-line);border-radius:4px;padding:6px;background:#fff;cursor:pointer;height:76px}
.ed-thumb.is-active{border-color:var(--ed-orange)}
.ed-thumb img{width:100%;height:100%;object-fit:contain}
.ed-pd__mainimg{position:relative;background:#fff;border:1px solid var(--ed-line);border-radius:5px;display:grid;place-items:center;padding:30px;min-height:430px}
.ed-pd__mainimg img{max-height:390px;object-fit:contain}
.ed-zoom{position:absolute;bottom:14px;inset-inline-end:14px;width:34px;height:34px;border-radius:50%;border:1px solid var(--ed-line);background:#fff;display:grid;place-items:center}
.ed-pd__brand{font-weight:900;color:#5b6675;font-size:13px;margin-bottom:8px}
.ed-pd__brand-logo{display:block;max-width:130px;max-height:44px;width:auto;height:auto;object-fit:contain;margin-bottom:10px}
.ed-pd h1{font-size:27px;margin:0 0 12px;line-height:1.2}
.ed-pd__meta{display:flex;align-items:center;gap:14px;font-size:12px;margin-bottom:14px}
.ed-pd__meta .ed-stars{font-size:13px}
.ed-stock{display:flex;align-items:center;gap:6px;color:var(--ed-green);font-weight:700}
.ed-stock::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ed-green)}
.ed-pd__price{font-size:32px;font-weight:900;color:var(--ed-orange);margin:0 0 4px}
.ed-pd__price del{font-size:17px;color:#9aa3af;font-weight:600;margin-inline-start:10px}
.ed-pd__desc{color:#4b5563;font-size:14px;margin:14px 0}
.ed-features{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:8px;font-size:13px}
.ed-features li{display:flex;align-items:center;gap:9px}
.ed-features li::before{content:"✓";color:#fff;background:var(--ed-orange);width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900;flex:0 0 auto}
.ed-pd__buy{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ed-qty{display:flex;align-items:center;border:1px solid var(--ed-line);border-radius:5px;overflow:hidden;background:#fff}
.ed-qty button{width:38px;height:42px;border:0;background:#f4f5f7;cursor:pointer;font-size:16px}
.ed-qty input{width:44px;height:42px;border:0;text-align:center;outline:0}
.ed-pd__actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.ed-pd__actions .ed-btn{flex:1}
.ed-share{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:12px;color:var(--ed-muted)}
.ed-share a{width:27px;height:27px;border-radius:3px;background:#e8ecf1;display:grid;place-items:center;font-weight:800;font-size:11px;color:#334155}
.ed-tabs{background:#fff;border:1px solid var(--ed-line);border-radius:5px;margin-top:30px}
.ed-tabs__nav{display:flex;gap:0;border-bottom:1px solid var(--ed-line)}
.ed-tabs__nav button{border:0;background:transparent;padding:14px 22px;font-weight:800;font-size:13px;color:var(--ed-muted);cursor:pointer;position:relative}
.ed-tabs__nav button.is-active{color:var(--ed-ink)}
.ed-tabs__nav button.is-active::after{content:"";position:absolute;bottom:-1px;inset-inline-start:0;right:0;height:3px;background:var(--ed-orange)}
.ed-tabs__body{padding:22px;font-size:14px;color:#4b5563}

/* ---------- INNER PAGES ---------- */
.ed-page-content{padding:34px 0 64px}
.ed-panel{background:#fff;border:1px solid var(--ed-line);border-radius:5px;padding:28px;margin-bottom:18px}
.ed-panel h2{font-size:22px;margin:0 0 12px}
.ed-panel img{max-width:100%;height:auto}
.ed-posts{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.ed-posts .ed-panel{margin:0}
.ed-single-thumb{margin-bottom:18px}
.ed-single-thumb img{border-radius:5px}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1100px){
  .ed-nav{display:none}
  .ed-search{min-width:150px}
  .ed-products--five{grid-template-columns:repeat(3,1fr)}
  .ed-footer__grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  .ed-container{width:calc(100% - 28px)}
  .ed-topbar__left span:nth-child(2){display:none}
  .ed-burger{display:block}
  .ed-search{display:none}
  .ed-hero{min-height:290px}
  .ed-hero h1{font-size:36px}
  .ed-trust__grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .ed-trust__item{border:0}
  .ed-cats{grid-template-columns:repeat(2,1fr)}
  .ed-brands{grid-template-columns:repeat(3,1fr)}
  .ed-products,.ed-products--five{grid-template-columns:repeat(2,1fr)}
  .ed-shop-wrap{grid-template-columns:1fr}
  .ed-pd{grid-template-columns:1fr}
  .ed-banner h2{font-size:28px}
  .ed-footer__grid{grid-template-columns:repeat(2,1fr)}
  .ed-posts{grid-template-columns:1fr}
  .ed-panel{padding:20px}
}
@media(max-width:520px){
  .ed-products,.ed-products--five{grid-template-columns:1fr 1fr;gap:10px}
  .ed-sec-title{font-size:24px}
  .ed-hero h1{font-size:30px}
  .ed-pd__gallery{grid-template-columns:1fr}
  .ed-thumbs{display:flex;overflow:auto}
  .ed-thumb{flex:0 0 62px;height:62px}
}
