/* ============================================================
   EnergyX Egypt - MICRO OHM LAYOUT LAYER
   Restructure per microohm-eg.com (Porto/WooCommerce style):
   Topbar -> Header w/ Search -> Dept Nav -> Feature Strip ->
   Category Tiles -> Product Grid w/ Toolbar+Sidebar ->
   Help Strip -> Newsletter -> Mobile Bottom Nav
   ============================================================ */

/* --- 1. Top utility bar --- */
.mx-topbar{background:var(--navy-900);color:#cfe0ef;font-size:.8rem;line-height:1;padding:9px 0}
.mx-topbar .container{display:flex;align-items:center;justify-content:space-between;gap:16px}
.mx-topbar-welcome{display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-topbar-welcome svg{width:14px;height:14px;stroke:var(--green-400);fill:none;stroke-width:2;flex:none}
.mx-topbar-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}
.mx-topbar-links a{color:#cfe0ef;text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:color .15s}
.mx-topbar-links a:hover{color:var(--green-400)}
.mx-topbar-links svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;flex:none}

/* --- 2. Main header: logo | search | quote --- */
.mx-header{background:rgba(255,255,255,.98);border-bottom:1px solid var(--gray-200);position:sticky;top:0;z-index:1200;box-shadow:0 4px 18px rgba(0,26,51,.08);backdrop-filter:saturate(140%) blur(10px)}
.mx-header .container{display:flex;align-items:center;gap:24px;padding-top:10px;padding-bottom:10px}
.mx-logo img{height:43px;width:auto;max-width:285px;display:block;object-fit:contain}
.mx-search{flex:1;max-width:600px;position:relative}
.mx-search-form{display:flex;width:100%}
.mx-search-input{flex:1;min-width:0;height:46px;border:2px solid var(--navy-100);border-right:0;border-radius:8px 0 0 8px;padding:0 16px;font:inherit;font-size:.925rem;color:var(--navy-900);outline:none;transition:border-color .15s;background:#fff}
.mx-search-input:focus{border-color:var(--navy-300)}
.mx-search-btn{height:46px;padding:0 22px;border:0;border-radius:0 8px 8px 0;background:var(--green-600);color:#fff;cursor:pointer;display:flex;align-items:center;gap:8px;font:inherit;font-weight:600;font-size:.9rem;transition:background .15s}
.mx-search-btn:hover{background:var(--green-500)}
.mx-search-btn svg{width:17px;height:17px;stroke:#fff;fill:none;stroke-width:2.4}
.mx-sugg{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--gray-200);border-top:3px solid var(--green-500);border-radius:10px;box-shadow:0 16px 40px rgba(0,26,51,.16);max-height:380px;overflow:auto;display:none;z-index:1300}
.mx-sugg.open{display:block}
.mx-sugg-item{display:flex;align-items:center;gap:12px;padding:10px 14px;text-decoration:none;border-bottom:1px solid var(--gray-100);transition:background .12s}
.mx-sugg-item:last-child{border-bottom:0}
.mx-sugg-item:hover{background:var(--gray-100)}
.mx-sugg-item .thumb{width:44px;height:44px;object-fit:cover;border-radius:6px;background:var(--gray-100);flex:none}
.mx-sugg-item .noimg{width:44px;height:44px;border-radius:6px;background:var(--gray-100);display:flex;align-items:center;justify-content:center;font-size:20px;flex:none}
.mx-sugg-name{font-weight:600;color:var(--navy-900);font-size:.9rem;line-height:1.3}
.mx-sugg-cat{font-size:.75rem;color:var(--gray-600)}
.mx-sugg-empty{padding:16px;text-align:center;color:var(--gray-600);font-size:.875rem}
.mx-header-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.mx-quote-btn{display:inline-flex;align-items:center;gap:9px;background:var(--navy-800);color:#fff;text-decoration:none;font-weight:600;font-size:.9rem;padding:12px 20px;border-radius:8px;transition:background .15s;white-space:nowrap}
.mx-quote-btn:hover{background:var(--navy-700)}
.mx-quote-btn svg{width:17px;height:17px;stroke:var(--green-400);fill:none;stroke-width:2}

/* --- 3. Department nav bar --- */
.mx-nav{background:var(--navy-800);position:sticky;top:68px;z-index:1180;box-shadow:0 8px 24px rgba(0,26,51,.24)}
.mx-nav .container{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}
.mx-nav-links{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.mx-nav-links > li{position:relative}
.mx-nav-links > li > a{display:inline-flex;align-items:center;gap:7px;color:#eef7ff;text-decoration:none;font-weight:700;font-size:.95rem;padding:16px 17px;transition:background .15s,color .15s;border-bottom:3px solid transparent}
.mx-nav-links > li > a:hover,.mx-nav-links > li > a.active{color:#fff;background:rgba(255,255,255,.07);border-bottom-color:var(--green-500)}
.mx-nav-links > li > a svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.mx-nav-links > li.has-drop > a .caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;display:inline-block;margin-top:2px}
.mx-drop{position:absolute;top:100%;left:0;min-width:250px;background:#fff;border-radius:0 0 10px 10px;box-shadow:0 20px 44px rgba(0,26,51,.2);padding:8px 0;list-style:none;margin:0;opacity:0;visibility:hidden;transform:translateY(8px);transition:all .18s ease;z-index:920}
.mx-drop::before{content:"";position:absolute;top:-10px;left:0;right:0;height:10px}
.mx-nav-links > li:hover .mx-drop,.mx-nav-links > li.drop-open .mx-drop{opacity:1;visibility:visible;transform:translateY(0)}
.mx-drop a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 18px;color:var(--navy-800);text-decoration:none;font-size:.875rem;font-weight:500;transition:background .12s,color .12s}
.mx-drop a:hover,.mx-drop a.current{background:var(--gray-100);color:var(--green-600)}
.mx-drop a .cnt{font-size:.72rem;color:var(--gray-500);background:var(--gray-100);border-radius:20px;padding:2px 9px}
.mx-nav-hotline{display:flex;align-items:center;gap:10px;color:#fff;font-size:.85rem;white-space:nowrap}
.mx-nav-hotline svg{width:17px;height:17px;stroke:var(--green-400);fill:none;stroke-width:2}
.mx-nav-hotline a{color:#fff;text-decoration:none;font-weight:700}
.mx-nav-hotline a:hover{color:var(--green-400)}
.mx-nav-toggle{display:none;background:transparent;border:0;cursor:pointer;padding:8px;margin-left:auto}
.mx-nav-toggle span{display:block;width:23px;height:2.5px;background:#fff;margin:5px 0;border-radius:2px;transition:all .2s}

/* --- 4. Hero (premium industrial command banner) --- */
.mx-hero{background:#071a24;position:relative;overflow:hidden;isolation:isolate}
.mx-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(7,26,36,.98) 0%,rgba(10,43,58,.96) 47%,rgba(7,58,86,.88) 100%),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(0deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:auto,72px 72px,72px 72px;pointer-events:none;z-index:-3}
.mx-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(760px 360px at 84% 21%,rgba(55,223,201,.2),transparent 64%),radial-gradient(560px 280px at 14% 78%,rgba(217,239,56,.13),transparent 68%),linear-gradient(125deg,transparent 0 48%,rgba(255,255,255,.055) 48% 49%,transparent 49% 100%);pointer-events:none;z-index:-2}
.mx-hero .container{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:44px;align-items:center;min-height:500px;padding-top:34px;padding-bottom:34px;position:relative;z-index:1}
.mx-hero .container::before{content:"";position:absolute;left:24px;right:24px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(55,223,201,.48),rgba(217,239,56,.34),transparent);pointer-events:none}
.mx-hero-content{width:100%;max-width:560px;text-align:left;min-width:0}
.mx-hero-label{display:inline-flex;align-items:center;gap:8px;background:rgba(0,184,148,.13);border:1px solid rgba(55,223,201,.42);color:#b9fff2;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:7px 12px;border-radius:30px;margin-bottom:12px;box-shadow:0 0 0 4px rgba(55,223,201,.045)}
.mx-hero-label svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}
.mx-hero h1{font-size:clamp(1.65rem,2.55vw,2.45rem);line-height:1.1;color:#fff;margin:0 0 12px;font-weight:800;max-width:455px;text-wrap:balance}
.mx-hero h1 .highlight{color:#37dfc9;text-shadow:0 0 26px rgba(55,223,201,.24)}
.mx-hero-sub{color:#d0e0e6;font-size:.92rem;line-height:1.56;margin:0 0 16px;max-width:430px}
.mx-hero-proof{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.mx-hero-proof span{display:inline-flex;align-items:center;min-height:30px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.065);color:#eef8f6;border-radius:7px;padding:6px 10px;font-size:.72rem;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.mx-hero-btns{display:flex;justify-content:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.mx-hero .btn{min-height:44px;border-radius:8px;padding-top:10px;padding-bottom:10px}
.mx-hero .btn-primary{background:#d9ef38;color:#071a24;box-shadow:0 16px 34px rgba(217,239,56,.2)}
.mx-hero .btn-primary:hover{background:#efff6a;transform:translateY(-2px)}
.mx-hero .btn-secondary{border-color:rgba(255,255,255,.32);color:#fff;background:rgba(255,255,255,.08)}
.mx-hero .btn-secondary:hover{background:rgba(255,255,255,.14);border-color:rgba(55,223,201,.58);color:#fff}
.mx-hero-signal{display:flex;align-items:center;gap:10px;color:#aecad4;font-size:.8rem;font-weight:700;margin-bottom:14px}
.mx-signal-dot{width:9px;height:9px;border-radius:50%;background:#37dfc9;box-shadow:0 0 0 6px rgba(55,223,201,.13),0 0 22px rgba(55,223,201,.8);flex:none}
.mx-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid rgba(255,255,255,.13);padding-top:14px;max-width:455px}
.mx-hero-stats.fade-in{opacity:1;transform:none}
.mx-hero-stat{min-height:78px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:12px 12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.mx-hero-stat + .mx-hero-stat{border-left:1px solid rgba(255,255,255,.12);padding-left:12px}
.mx-hero-stat .number{font-size:clamp(1.28rem,2vw,1.7rem);font-weight:800;color:#fff;line-height:1}
.mx-hero-stat .number span{color:#d9ef38}
.mx-hero-stat .label{font-size:.66rem;color:#cfe0e4;margin-top:7px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;line-height:1.3}
.mx-hero-stat{opacity:1}
.mx-hero-visual{min-width:0}
.mx-hero-visual img{width:100%;height:430px;object-fit:cover;border-radius:14px;box-shadow:0 26px 60px rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.16)}

/* --- 5. Hero image slideshow --- */
.mx-hero-slider{position:relative;width:100%;max-width:100%;min-width:0;border-radius:14px;overflow:hidden;box-shadow:0 26px 60px rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.16);background:var(--navy-800)}
.mx-hero-slider img{position:absolute;inset:0;width:100%;height:430px;object-fit:cover;opacity:0;transition:opacity .9s ease;will-change:opacity}
.mx-hero-slider img.active{position:relative;opacity:1}
.mx-hero-slider .mx-hero-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px;z-index:3}
.mx-hero-slider .mx-hero-dots button{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.45);cursor:pointer;padding:0;transition:background .25s,width .25s}
.mx-hero-slider .mx-hero-dots button.on{background:var(--green-400);width:22px;border-radius:6px}

/* --- 5b. Hero metrics strip --- */
.mx-hero-metrics{background:#071a24;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.mx-hero-metrics .container{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);gap:24px;align-items:center;padding-top:18px;padding-bottom:18px}
.mx-hero-metrics .mx-hero-signal{margin:0;color:#d0e0e6}
.mx-hero-metrics .mx-hero-stats{max-width:none;border-top:0;padding-top:0}
.mx-hero-metrics .mx-hero-stat{min-height:70px}

/* --- 6. Section headers (centered, matching original design) --- */
.mx-sec{padding:74px 0}
.mx-sec.alt{background:var(--gray-100)}
.mx-sec-head{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:30px}
.mx-sec-head .lbl{display:inline-flex;align-items:center;gap:8px;color:var(--green-600);font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}
.mx-sec-head .lbl::before{content:"";width:26px;height:3px;background:var(--green-500);border-radius:2px}
.mx-sec-head h2{font-size:clamp(1.55rem,2.8vw,2.15rem);color:var(--navy-900);margin:0 0 8px;font-weight:800}
.mx-sec-head p{margin:0 auto;color:var(--gray-700);font-size:1rem;max-width:700px}
.mx-sec-head .more{margin-top:16px;display:inline-flex;align-items:center;gap:7px;color:var(--navy-700);font-weight:700;font-size:.875rem;text-decoration:none;border:2px solid var(--navy-100);padding:9px 16px;border-radius:8px;transition:all .15s;white-space:nowrap}
.mx-sec-head .more:hover{border-color:var(--green-500);color:var(--green-600)}
.mx-sec-head .more svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.4}

/* --- 7. Category tiles --- */
.mx-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mx-cat-tile{position:relative;border-radius:12px;overflow:hidden;text-decoration:none;display:block;background:#fff;border:1px solid var(--gray-200);transition:all .2s ease}
.mx-cat-tile:hover{border-color:var(--green-400);box-shadow:0 14px 32px rgba(0,26,51,.12);transform:translateY(-3px)}
.mx-cat-tile img{width:100%;height:132px;object-fit:cover;display:block;transition:transform .3s}
.mx-cat-tile:hover img{transform:scale(1.06)}
.mx-cat-info{padding:13px 15px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.mx-cat-name{font-weight:700;color:var(--navy-900);font-size:.9rem;line-height:1.25}
.mx-cat-count{font-size:.72rem;color:var(--gray-500);margin-top:3px}
.mx-cat-arrow{width:30px;height:30px;border-radius:50%;background:var(--green-100);display:flex;align-items:center;justify-content:center;flex:none;transition:background .15s}
.mx-cat-arrow svg{width:14px;height:14px;stroke:var(--green-600);fill:none;stroke-width:2.4}
.mx-cat-tile:hover .mx-cat-arrow{background:var(--green-500)}
.mx-cat-tile:hover .mx-cat-arrow svg{stroke:#fff}

/* --- 7b. About feature strip --- */
.mx-feats{background:#fff;border-bottom:1px solid var(--gray-200)}
.mx-feats .container{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-top:26px;padding-bottom:26px}
.mx-feat{display:flex;align-items:flex-start;gap:14px;background:var(--gray-100);border:1px solid var(--gray-200);border-radius:10px;padding:18px;min-height:116px;box-shadow:0 8px 22px rgba(0,26,51,.05)}
.mx-feat-ico{width:44px;height:44px;border-radius:10px;background:var(--navy-800);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.mx-feat-ico svg{width:22px;height:22px;stroke:var(--green-400);fill:none;stroke-width:1.9}
.mx-feat h4{margin:0 0 5px;color:var(--navy-900);font-size:.95rem;line-height:1.25}
.mx-feat p{margin:0;color:var(--gray-600);font-size:.82rem;line-height:1.45}

/* --- 8. Product cards (Micro Ohm card, restyles pv-*) --- */
.pv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.pv-card{background:#fff;border:1px solid #dbe3e6;border-top:3px solid var(--navy-800);border-radius:8px;overflow:hidden;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;display:flex;flex-direction:column;position:relative;min-width:0;min-height:100%;box-shadow:0 7px 22px rgba(0,26,51,.07)}
.pv-card:hover{border-color:var(--green-600);box-shadow:0 18px 40px rgba(0,26,51,.14);transform:translateY(-3px)}
.pv-img{position:relative;background:#f4f7f7;height:198px;padding:14px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid #e2e8ea}
.pv-img::after{content:"";position:absolute;inset:auto 22px 13px;height:12px;border-radius:50%;background:rgba(0,26,51,.08);filter:blur(9px);opacity:.55}
.pv-img img{max-width:90%;max-height:90%;object-fit:contain;transition:transform .25s ease;position:relative;z-index:1;mix-blend-mode:multiply}
.catalog-media{background:transparent!important;border-color:transparent!important}
.catalog-media img{mix-blend-mode:multiply}
.pv-card:hover .pv-img img{transform:scale(1.045)}
.pv-noimg{font-size:40px;opacity:.5}
.pv-badge{position:absolute;top:12px;left:12px;background:var(--green-600);color:#fff;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:4px 10px;border-radius:20px}
.pv-body{padding:15px;text-align:left;display:flex;flex-direction:column;flex:1;min-width:0}
.pv-cat{font-size:.68rem;font-weight:800;color:var(--green-600);text-transform:uppercase;letter-spacing:.07em;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv-title{font-size:.98rem;font-weight:800;color:var(--navy-900);margin:0 0 10px;line-height:1.35;min-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pv-product-link{color:inherit;text-decoration:none}.pv-image-link{display:block}
.pv-card:hover .pv-title{color:var(--navy-600)}
.pv-desc{font-size:.8rem;color:var(--gray-600);line-height:1.5;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pv-meta-row{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px;min-height:24px;max-height:24px;overflow:hidden}
.pv-meta-pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#f0f3f4;color:var(--gray-700);font-size:.68rem;font-weight:700;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.pv-foot{margin-top:auto;padding-top:13px;border-top:1px solid #e5eaec;display:grid;grid-template-columns:1fr;gap:12px;align-items:center}
.pv-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.pv-price-label{font-size:.65rem;font-weight:800;text-transform:uppercase;color:var(--gray-500)}
.pv-price{font-size:1.12rem;font-weight:800;color:var(--navy-900)}
.pv-price small{font-size:.72rem;font-weight:600;color:var(--gray-500)}
.pv-price--request{font-size:.82rem;color:var(--copper-500);font-weight:700}
.pv-actions{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;width:100%;min-width:0}
.pv-cta,.pv-more{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0;min-height:44px;font-family:inherit;font-size:.79rem;font-weight:800;line-height:1;text-decoration:none;padding:10px;border-radius:6px;white-space:nowrap;transition:background .15s,border-color .15s,color .15s,transform .15s;cursor:pointer}
.pv-cta{background:var(--navy-800);color:#fff;box-shadow:0 5px 12px rgba(0,51,102,.16)}
.pv-cta:hover{background:var(--green-600);transform:translateY(-1px)}
.pv-more{background:#fff;color:var(--navy-800);border:1px solid #ccd6da;padding:0}
.pv-more:hover{border-color:var(--green-600);color:var(--green-600);background:#f4fbf9}
.pv-cta:focus-visible,.pv-more:focus-visible,.pv-title a:focus-visible{outline:3px solid var(--green-400);outline-offset:2px}
.pv-cta svg,.pv-more svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.2;flex:none}
.pv-label-short{display:none}
.pv-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pv-card[data-static] .pv-desc{display:none}.pv-card[data-static] .pv-foot>.pv-cta{width:100%}
@media(prefers-reduced-motion:reduce){.pv-card,.pv-img img,.pv-cta,.pv-more{transition:none}.pv-card:hover,.pv-cta:hover{transform:none}}

/* --- 9. Shop layout: sidebar + toolbar + grid --- */
.mx-shopwrap{display:grid;grid-template-columns:250px 1fr;gap:28px;align-items:start}
.mx-side{background:#fff;border:1px solid var(--gray-200);border-radius:12px;overflow:hidden;position:sticky;top:84px}
.mx-side-block{padding:18px;border-bottom:1px solid var(--gray-100)}
.mx-side-block:last-child{border-bottom:0}
.mx-side-block h4{margin:0 0 12px;font-size:.82rem;font-weight:800;color:var(--navy-900);text-transform:uppercase;letter-spacing:.06em;display:flex;align-items:center;gap:8px}
.mx-side-block h4 svg{width:15px;height:15px;stroke:var(--green-600);fill:none;stroke-width:2.2}
.mx-side-list{list-style:none;margin:0;padding:0}
.mx-side-list li a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:7px;color:var(--gray-700);text-decoration:none;font-size:.855rem;transition:all .12s}
.mx-side-list li a:hover{background:var(--gray-100);color:var(--navy-800)}
.mx-side-list li a.current{background:var(--green-100);color:var(--green-600);font-weight:700}
.mx-side-list .cnt{font-size:.7rem;color:var(--gray-500);background:var(--gray-100);border-radius:20px;padding:2px 8px}
.mx-side-list li a.current .cnt{background:#fff}
.mx-check{display:flex;align-items:center;gap:9px;padding:6px 2px;font-size:.85rem;color:var(--gray-700);cursor:pointer}
.mx-check input{width:16px;height:16px;accent-color:var(--green-600);cursor:pointer}
.mx-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid var(--gray-200);border-radius:10px;padding:10px 16px;margin-bottom:20px;flex-wrap:wrap}
.mx-toolbar .pv-count{font-size:.85rem;color:var(--gray-600)}
.mx-toolbar .pv-count b{color:var(--navy-900)}
.mx-toolbar-right{display:flex;align-items:center;gap:12px}
.mx-viewtoggle{display:flex;border:1px solid var(--gray-200);border-radius:7px;overflow:hidden}
.mx-viewtoggle button{background:#fff;border:0;padding:7px 11px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .12s}
.mx-viewtoggle button svg{width:15px;height:15px;stroke:var(--gray-500);fill:none;stroke-width:2}
.mx-viewtoggle button.on{background:var(--navy-800)}
.mx-viewtoggle button.on svg{stroke:#fff}
.mx-sort{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--gray-600)}
.mx-sort select{border:1px solid var(--gray-200);border-radius:7px;padding:8px 10px;font:inherit;font-size:.82rem;color:var(--navy-900);background:#fff;cursor:pointer;outline:none}
.mx-shopwrap.list-view .pv-grid{grid-template-columns:1fr}
.mx-shopwrap.list-view .pv-card{flex-direction:row;align-items:stretch}
.mx-shopwrap.list-view .pv-img{width:260px;height:auto;min-height:200px;flex:none;border-bottom:0;border-right:1px solid var(--gray-100)}
.mx-shopwrap.list-view .pv-body{text-align:left;align-items:flex-start;padding:20px 22px}
.mx-shopwrap.list-view .pv-title{min-height:0;-webkit-line-clamp:3}
.mx-shopwrap.list-view .pv-foot{grid-template-columns:auto minmax(230px,360px);width:100%;gap:22px}
.mx-shopwrap.list-view .pv-cta{width:auto;padding:10px 22px}
.mx-shopwrap.list-view .pv-desc{-webkit-line-clamp:3}

/* --- 10. Brands row (colored, large tiles) --- */
.mx-sec.tall{padding:88px 0}
.mx-brands{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.mx-brands.mx-logo-slider,.mx-clients.mx-logo-slider{display:block;overflow:hidden;position:relative;padding:2px 0}
.mx-logo-track{display:flex;gap:18px;width:max-content;animation:mxLogoSlideRight 28s linear infinite}
.mx-logo-slider:hover .mx-logo-track{animation-play-state:paused}
.mx-logo-slider .mx-brand,.mx-logo-slider .mx-client{flex:0 0 260px}
.mx-brand{background:#fff;border:1px solid var(--gray-200);border-radius:12px;padding:34px 24px;min-height:150px;display:flex;align-items:center;justify-content:center;transition:all .18s}
.mx-brand:hover{border-color:var(--navy-200);box-shadow:0 12px 28px rgba(0,26,51,.12)}
.mx-brand img{max-width:100%;max-height:128px;object-fit:contain;transition:transform .2s}
.mx-brand:hover img{transform:scale(1.06)}

/* --- 10b. Clients row (colored, bigger) --- */
.mx-clients{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mx-client{background:#fff;border:1px solid var(--gray-200);border-radius:12px;padding:34px 24px;min-height:138px;display:flex;align-items:center;justify-content:center;transition:all .18s}
.mx-client:hover{box-shadow:0 12px 28px rgba(0,26,51,.12);border-color:var(--navy-200)}
.mx-client img{max-width:100%;max-height:104px;object-fit:contain;transition:transform .2s}
.mx-client:hover img{transform:scale(1.06)}
@keyframes mxLogoSlideRight{from{transform:translateX(-50%)}to{transform:translateX(0)}}

/* --- 11. Testimonials --- */
.mx-testi{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.mx-testi-card{background:#fff;border:1px solid var(--gray-200);border-radius:12px;padding:26px;position:relative;transition:all .2s}
.mx-testi-card:hover{box-shadow:0 14px 32px rgba(0,26,51,.1);border-color:var(--navy-200)}
.mx-testi-card .quote-mark{position:absolute;top:10px;right:20px;font-size:58px;font-family:Georgia,serif;color:var(--green-100);line-height:1;font-style:normal}
.mx-testi-stars{color:#f5a623;font-size:.95rem;letter-spacing:2px;margin-bottom:12px}
.mx-testi-card p{font-size:.9rem;color:var(--gray-700);line-height:1.65;margin:0 0 16px}
.mx-testi-who{display:flex;align-items:center;gap:12px}
.mx-testi-ava{width:42px;height:42px;border-radius:50%;background:var(--navy-800);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;flex:none}
.mx-testi-who b{display:block;font-size:.875rem;color:var(--navy-900)}
.mx-testi-who span{font-size:.75rem;color:var(--gray-500)}

/* --- 12. Inner page header override (compact breadcrumb bar) --- */
.page-header{background:linear-gradient(115deg,var(--navy-900),var(--navy-800));padding:0;position:relative;overflow:visible}
.page-header::before{display:none}
.page-header .container{padding-top:34px;padding-bottom:34px;text-align:center}
.page-header .breadcrumb{font-size:.8rem;color:#9db4ca;margin-bottom:10px;justify-content:center}
.page-header .breadcrumb a{color:#c5d6e6;text-decoration:none;transition:color .12s}
.page-header .breadcrumb a:hover{color:var(--green-400)}
.page-header .breadcrumb .separator{margin:0 8px;opacity:.5}
.page-header .breadcrumb .current{color:var(--green-400);font-weight:600}
.page-header h1{color:#fff;font-size:clamp(1.5rem,2.6vw,2.1rem);margin:0 0 8px;font-weight:800}
.page-header p{color:#a8bfd4;font-size:.95rem;max-width:680px;margin:0 auto}

/* --- 13. Help strip + newsletter + badges --- */
.mx-help{background:var(--navy-800);color:#fff}
.mx-help .container{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-top:30px;padding-bottom:30px}
.mx-help-item{display:flex;align-items:center;gap:15px}
.mx-help-item svg{width:38px;height:38px;stroke:var(--green-400);fill:none;stroke-width:1.8;flex:none}
.mx-help-item h4{margin:0 0 3px;font-size:.95rem;color:#fff}
.mx-help-item p{margin:0;font-size:.83rem;color:#a8bfd4;line-height:1.5}
.mx-help-item a{color:var(--green-400);text-decoration:none;font-weight:700}
.mx-help-item a:hover{text-decoration:underline}
.mx-news{background:#fff;border-bottom:1px solid var(--gray-200)}
.mx-news .container{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:26px;padding-bottom:26px;flex-wrap:wrap}
.mx-news h4{margin:0 0 4px;font-size:1.05rem;color:var(--navy-900)}
.mx-news p{margin:0;font-size:.84rem;color:var(--gray-600)}
.mx-news-form{display:flex;flex:1;max-width:440px;min-width:280px}
.mx-news-input{flex:1;height:46px;border:2px solid var(--gray-200);border-right:0;border-radius:8px 0 0 8px;padding:0 16px;font:inherit;font-size:.9rem;outline:none;transition:border-color .15s}
.mx-news-input:focus{border-color:var(--green-500)}
.mx-news-btn{height:46px;padding:0 24px;border:0;border-radius:0 8px 8px 0;background:var(--navy-800);color:#fff;font:inherit;font-weight:700;font-size:.875rem;cursor:pointer;transition:background .15s}
.mx-news-btn:hover{background:var(--green-600)}

/* --- 14. Mobile bottom navigation --- */
.mx-bottom{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--gray-200);display:none;z-index:1400;box-shadow:0 -6px 20px rgba(0,26,51,.1);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.mx-bottom a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:var(--gray-600);font-size:.62rem;font-weight:600;padding:5px 2px;border-radius:8px}
.mx-bottom a svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}
.mx-bottom a.active{color:var(--green-600)}
.mx-bottom .wa{color:#25d366}
.project-card{text-decoration:none;color:inherit}

/* --- 14b. Generated news detail pages --- */
.news-detail-page{background:#f4f7f6;min-height:100vh;padding:54px 20px}
.news-detail{max-width:920px;margin:0 auto;background:#fff;border:1px solid var(--gray-200);border-radius:8px;padding:38px;box-shadow:0 18px 44px rgba(6,31,39,.1)}
.news-back{display:inline-flex;margin-bottom:24px;color:var(--green-600);font-weight:800;text-decoration:none}
.news-kicker{color:var(--green-600);font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px}
.news-detail h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.08;color:var(--navy-900);margin:0 0 14px;letter-spacing:0}
.news-detail time{display:block;color:var(--gray-600);font-size:.92rem;margin-bottom:22px}
.news-hero-image{width:100%;max-height:430px;object-fit:cover;border-radius:8px;margin:0 0 26px;background:var(--gray-100)}
.news-body{color:var(--gray-700);font-size:1.06rem;line-height:1.82;white-space:pre-wrap;max-width:74ch}
.news-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px;padding-top:24px;border-top:1px solid var(--gray-200)}

/* --- 15. Responsive --- */
@media(max-width:1080px){
  .mx-cats{grid-template-columns:repeat(3,1fr)}
  .pv-grid{grid-template-columns:repeat(3,1fr)}
  .mx-logo-slider .mx-brand,.mx-logo-slider .mx-client{flex-basis:30vw}
  .mx-clients{grid-template-columns:repeat(3,1fr)}
  .mx-feats .container{grid-template-columns:repeat(2,1fr)}
  .mx-nav{top:68px}
  .mx-nav-hotline{display:none}
}
@media(max-width:900px){
  .mx-header .container{flex-wrap:wrap;gap:14px}
  .mx-logo img{height:40px;max-width:265px}
  .mx-search{order:3;flex-basis:100%;max-width:100%}
  .mx-nav{top:120px}
  .mx-nav-toggle{display:block}
  .mx-nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:var(--navy-900);flex-direction:column;align-items:stretch;gap:0;padding:8px 0;box-shadow:0 20px 40px rgba(0,26,51,.35)}
  .mx-nav-links.open{display:flex}
  .mx-nav-links > li > a{padding:13px 22px;border-bottom:0;border-radius:0}
  .mx-drop{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border-radius:0;background:rgba(255,255,255,.05);display:none;padding:0 0 8px}
  .mx-nav-links > li.drop-open .mx-drop{display:block}
  .mx-hero .container{grid-template-columns:1fr;min-height:0;padding-top:44px;padding-bottom:50px;gap:34px}
  .mx-hero-content{text-align:center;margin:0 auto;max-width:calc(100vw - 40px)}
  .mx-hero-sub{margin-left:auto;margin-right:auto}
  .mx-hero-proof,.mx-hero-btns,.mx-hero-signal{justify-content:center}
  .mx-hero-visual{order:-1}
  .mx-hero-visual img{height:230px}
  .mx-hero-slider img{height:230px}
  .mx-hero-metrics .container{grid-template-columns:1fr;text-align:center;gap:16px}
  .mx-hero-metrics .mx-hero-signal{justify-content:center}
  .mx-shopwrap{grid-template-columns:1fr}
  .mx-side{position:static}
  .mx-testi{grid-template-columns:1fr}
  .mx-help .container{grid-template-columns:1fr;gap:16px}
  .mx-bottom{display:flex}
  body{padding-bottom:58px}
  .wa-float,.whatsapp-float{bottom:70px}
  .mx-shopwrap.list-view .pv-card{flex-direction:column}
  .mx-shopwrap.list-view .pv-img{width:100%;height:210px;min-height:0;border-right:0;border-bottom:1px solid var(--gray-100)}
  .mx-shopwrap.list-view .pv-foot{grid-template-columns:1fr;gap:12px}
}
@media(max-width:640px){
  .mx-topbar-links{display:none}
  .mx-topbar .container{justify-content:center}
  .mx-topbar-welcome{max-width:100%}
  .mx-header .container{min-height:64px;flex-wrap:nowrap;padding-left:20px;padding-right:20px}
  .mx-search,.mx-header-actions{display:none}
  .mx-quote-btn .txt{display:none}
  .mx-quote-btn{padding:12px 14px}
  .mx-logo img{height:36px;max-width:220px}
  .mx-nav{top:64px}
  .mx-cats{grid-template-columns:repeat(2,1fr)}
  .mx-feats .container{grid-template-columns:1fr}
  .pv-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .pv-img{height:150px;padding:10px}
  .pv-body{padding:12px}
  .pv-title{font-size:.9rem}
  .pv-actions{grid-template-columns:40px minmax(0,1fr);gap:6px}
  .pv-cta,.pv-more{min-height:42px;padding:8px;font-size:.76rem}
  .pv-label-full{display:none}.pv-label-short{display:inline}
  .mx-brands{grid-template-columns:repeat(2,1fr)}
  .mx-clients{grid-template-columns:repeat(2,1fr)}
  .mx-logo-slider .mx-brand,.mx-logo-slider .mx-client{flex-basis:42vw}
  .mx-hero .container{width:100%;max-width:100%;padding-left:20px;padding-right:20px;overflow:hidden}
  .mx-hero-content,.mx-hero-visual{width:100%;max-width:100%}
  .mx-hero h1{font-size:clamp(1.48rem,6vw,1.64rem);line-height:1.16;max-width:285px;margin-left:auto;margin-right:auto;text-wrap:normal}
  .mx-hero-sub{font-size:.9rem;line-height:1.6;max-width:285px}
  .mx-hero-proof{max-width:310px;margin-left:auto;margin-right:auto}
  .mx-hero-btns{max-width:310px;margin-left:auto;margin-right:auto}
  .mx-hero .btn{width:100%;justify-content:center}
  .mx-hero-proof span{min-height:32px;font-size:.72rem}
  .mx-hero-stats{grid-template-columns:1fr;gap:10px}
  .mx-hero-stat{min-height:auto}
  .mx-hero-stat + .mx-hero-stat{border-left:1px solid rgba(255,255,255,.12);padding-left:14px}
  .mx-hero-metrics .container{padding-left:20px;padding-right:20px;overflow:hidden}
  .mx-hero-metrics .mx-hero-signal{max-width:310px;margin-left:auto;margin-right:auto;line-height:1.45;flex-wrap:wrap}
  .mx-hero-metrics .mx-hero-stats{grid-template-columns:1fr;gap:8px}
  .mx-hero-metrics .mx-hero-stat{padding:10px 8px}
  .mx-sec-head{align-items:center;text-align:center}
  .mx-news .container{flex-direction:column;align-items:stretch}
  .mx-news-form{max-width:100%}
  .news-detail-page{padding:32px 16px}
  .news-detail{padding:24px 20px}
  .news-cta .btn{width:100%;justify-content:center}
}

/* ---------- FAQ accordion ---------- */
.faq-list{display:flex;flex-direction:column;gap:12px}
.faq-item{border:1px solid var(--gray-200,#e5e9f0);border-radius:14px;background:#fff;overflow:hidden;transition:box-shadow .25s,border-color .25s}
.faq-item:hover{border-color:var(--green-400,#22c55e)}
.faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;font-weight:700;font-size:1.02rem;color:var(--navy-900,#0b1f3a)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .faq-chevron{flex:none;width:26px;height:26px;border-radius:50%;background:var(--green-50,#f0fdf4);color:var(--green-600,#16a34a);display:flex;align-items:center;justify-content:center;transition:transform .3s ease,background .3s ease}
.faq-item[open] summary .faq-chevron{transform:rotate(45deg);background:var(--green-400,#22c55e);color:#fff}
.faq-item .faq-a{padding:0 22px 18px;color:var(--gray-600,#5b6472);line-height:1.7}
.faq-item[open]{box-shadow:0 12px 32px rgba(11,31,58,.08)}

/* ---------- EnergyX homepage: immersive industrial direction ---------- */
.home-page{
  --navy-900:#071a24;
  --navy-800:#0b2b3a;
  --green-600:#008f84;
  --green-500:#00b8a9;
  --green-400:#37dfc9;
  --green-300:#8af4e2;
  --copper-500:#d9ef38;
  background:#f6f8f7;
}
.home-page .mx-topbar{background:#06151d;color:#b9cbd1}
.home-page .mx-header{position:relative;top:auto;border:0;box-shadow:none;background:#fff}
.home-page .mx-header .container{min-height:78px}
.home-page .mx-nav{top:0;background:#0a2532;box-shadow:0 12px 30px rgba(2,18,25,.18)}
.home-page .mx-nav-links>li>a{font-size:.9rem;letter-spacing:0;padding-top:15px;padding-bottom:15px}
.home-page .mx-search-input{background:#f4f7f6;border-color:#dbe4e2}
.home-page .mx-search-btn,.home-page .mx-quote-btn{background:#087d75}
.home-page :is(a,button,input,summary):focus-visible{outline:3px solid #d9ef38;outline-offset:3px}

.home-page .mx-sec{padding:96px 0;background:#fff}
.home-page .mx-sec.alt{background:#f2f5f4}
.home-page .mx-sec.tall{padding:58px 0 72px}
.home-page .mx-sec-head{margin-bottom:42px}
.home-page .mx-sec-head .lbl{color:#087d75}
.home-page .mx-sec-head .lbl::before{background:#d0e62e}
.home-page .mx-sec-head h2{font-size:clamp(2rem,3.7vw,3.45rem);line-height:1.08;letter-spacing:0;max-width:900px}
.home-page .mx-sec-head p{max-width:660px;color:#53656c}
.home-page .mx-brand{border:0;border-right:1px solid #e2e8e6;border-radius:0;min-height:110px;padding:22px;background:#fff;box-shadow:none}
.home-page .mx-brand:hover{box-shadow:none;border-color:#c8d2cf;transform:translateY(-3px)}
.home-page .services-grid{gap:18px}
.home-page .service-card{border:0;border-radius:6px;padding:0 0 24px;background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(6,31,39,.08)}
.home-page .service-card::before{display:none}
.home-page .service-card:hover{transform:translateY(-6px);box-shadow:0 18px 44px rgba(6,31,39,.14)}
.home-page .services-grid .card-image{height:230px;margin:0 0 22px;border-radius:0;filter:saturate(.86);transition:transform .45s ease,filter .45s ease}
.home-page .service-card:hover .card-image{transform:scale(1.025);filter:saturate(1)}
.home-page .service-card h3,.home-page .service-card>p,.home-page .service-card .btn-ghost{margin-left:24px;margin-right:24px}
.home-page .service-card h3{font-size:1.16rem}
.home-page .service-card .btn-ghost{color:#087d75}
.home-page .sector-card,.home-page .project-card,.home-page .mx-testi-card{border-radius:6px;border-color:#dfe7e5}
.home-page .sector-card:hover,.home-page .project-card:hover{border-color:#63c7ba;box-shadow:0 18px 40px rgba(6,31,39,.1)}
.home-page #why-energyx{background:#08232e;padding:100px 0}
.home-page #why-energyx .benefit-card{border-radius:4px;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.1)}
.home-page #process{padding:100px 0;background:#edf2f0}
.home-page .process-step{background:transparent}
.home-page .process-step .step-number{color:#087d75}
.home-page .cta-section{background:#0a2834}

@media(max-width:900px){
  .home-page .mx-header{position:sticky;top:0}
  .home-page .mx-nav{top:120px}
}
@media(max-width:640px){
  html,.home-page{max-width:100%;overflow-x:hidden}
  .home-page .mx-header .container{min-height:64px;flex-wrap:nowrap;padding-left:20px;padding-right:20px}
  .home-page .mx-search{display:none}
  .home-page .mx-header-actions{display:none}
  .home-page .mx-logo img{height:38px;max-width:220px}
  .home-page .mx-quote-btn{min-width:44px;min-height:44px}
  .home-page .mx-nav{top:64px}
  .home-page .mx-sec,.home-page #why-energyx,.home-page #process{padding:72px 0}
  .home-page .mx-sec-head{margin-bottom:30px}
  .home-page .services-grid .card-image{height:210px}
}
@media(prefers-reduced-motion:reduce){
  .home-page .mx-logo-track{animation:none}
  .home-page .service-card,.home-page .services-grid .card-image,.mx-hero-slider img,.mx-hero .btn{transition:none}
}

/* Secure form feedback */
.form-hp{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.form-submit-status{width:100%;margin:12px 0 0;font-size:.9rem;line-height:1.5;color:#52606d}
.form-submit-status[data-state="success"]{color:#007a5a}
.form-submit-status[data-state="error"]{color:#b42318}
.form-submit-status[data-state="pending"]{color:#075985}
.mx-news-form{flex-wrap:wrap}
.mx-news-form .form-submit-status{flex-basis:100%}
button:disabled,.btn:disabled{cursor:wait;opacity:.68}
