:root {
	--wd-hb-opt-h: 40px;
	--wd-text-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(28,97,231);
	--wd-alternative-color: rgba(28,97,231,0.2);
	--btn-default-bgcolor: rgb(225,235,255);
	--btn-default-bgcolor-hover: rgb(219,227,249);
	--btn-default-color: rgb(28,97,231);
	--btn-default-color-hover: rgb(28,97,231);
	--btn-accented-bgcolor: rgb(28,97,231);
	--btn-accented-bgcolor-hover: rgb(28,97,231);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-size: 18px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	background: rgb(107,163,49);
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 1px;
}
.woocommerce-product-gallery.thumbs-position-left {
	--wd-thumbs-width: 100px;
	--wd-thumbs-height: 430px;
}
.wd-builder-off .wd-fbt.wd-design-side {
	--wd-form-width: 358px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 40px;
	--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1700px;
--wd-form-brd-radius: 5px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1700px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

rs-slides :is([data-type=text],[data-type=button]) {
font-family: Open Sans !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: Lexend Deca !important;
}

.wd-page-title {
background-color: rgb(28,97,231);
}

/* ============================================================
   FAYYAZ Electric — Mega Menu Master CSS
   Version: 3.1 | 2026-10-13
   Changes: Hidden scrollbars + image column removed (no gap)
   ============================================================ */

/* ── 1. LEFT NAVIGATION SCROLL — HIDDEN SCROLLBAR ─────────── */
@media (min-width:1025px) {
  .wd-sticky-nav .wd-nav-vertical,
  #menu-sticky-navigation-mega-electronics {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: calc(100vh - 56px) !important;
    padding-bottom: 40px !important;
    scrollbar-width: none !important;
  }
  .admin-bar .wd-sticky-nav .wd-nav-vertical,
  .admin-bar #menu-sticky-navigation-mega-electronics {
    max-height: calc(100vh - 88px) !important;
  }
  .wd-sticky-nav .wd-nav-vertical::-webkit-scrollbar,
  #menu-sticky-navigation-mega-electronics::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }
}

/* ── 2. MEGA MENU PANEL — HIDDEN SCROLLBAR ─────────────────── */
@media (min-width:1025px) {
  #menu-sticky-navigation-mega-electronics > li > .wd-dropdown-menu {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
  }
  #menu-sticky-navigation-mega-electronics > li > .wd-dropdown-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }
}

/* ── 3. REMOVE IMAGE COLUMN + EXPAND CONTENT ──────────────── */
@media (min-width:1025px) {
  /* Hide image/promo pseudo-element completely — no gap left */
  #menu-sticky-navigation-mega-electronics > li > .wd-dropdown-menu > .container:after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    position: static !important;
    pointer-events: none !important;
  }
  /* Remove right padding that was reserved for the image */
  #menu-sticky-navigation-mega-electronics > li > .wd-dropdown-menu > .container {
    padding-right: 0 !important;
  }
  /* Expand sub-menu to use full width */
  #menu-sticky-navigation-mega-electronics > li > .wd-dropdown-menu .wd-sub-menu {
    width: 100% !important;
  }
}

/* ── 4. CATEGORY ICONS (all 25) ───────────────────────────── */
@media (min-width:1025px) {
  #menu-sticky-navigation-mega-electronics > li:nth-child(1) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10M7 12h4M7 16h4'/%3E%3Ccircle cx='17' cy='15' r='1'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(1) > .wd-dropdown-menu > .container:before { content: "PLCs & Automation Controllers"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(2) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3M6 8h12v6H6z'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(2) > .wd-dropdown-menu > .container:before { content: "HMI, SCADA & Industrial PCs"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(3) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M5 13c2-7 4 7 7 0s5-7 7 0M7 18h10'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(3) > .wd-dropdown-menu > .container:before { content: "Variable Frequency Drives (VFDs)"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(4) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10M12 8v8M9 16h6'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(4) > .wd-dropdown-menu > .container:before { content: "Soft Starters & Motor Starters"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(5) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v3M12 20v3M1 12h3M20 12h3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M19.8 4.2l-2.1 2.1M6.3 17.7l-2.1 2.1'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(5) > .wd-dropdown-menu > .container:before { content: "Servo & Motion Control"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(6) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='12' r='7'/%3E%3Ccircle cx='10' cy='12' r='3'/%3E%3Cpath d='M17 9h5v6h-5M2 19h17'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(6) > .wd-dropdown-menu > .container:before { content: "Motors, Pumps & Gearboxes"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(7) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M12 7v5M9 16h6'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(7) > .wd-dropdown-menu > .container:before { content: "Circuit Breakers & Protection"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(8) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 9h4M7 15h4M14 8v8M17 8v8'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(8) > .wd-dropdown-menu > .container:before { content: "Contactors, Relays & Switching"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(9) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M7 7h10M7 12h10M7 17h10M12 7v10'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(9) > .wd-dropdown-menu > .container:before { content: "Power Distribution & Switchgear"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(10) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='1'/%3E%3Cpath d='M8 6h8v10H8zM12 16v3'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(10) > .wd-dropdown-menu > .container:before { content: "Electrical Panels & Enclosures"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(11) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 9h4v6H7zM13 12h5M16 9v6'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(11) > .wd-dropdown-menu > .container:before { content: "Power Supplies & Transformers"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(12) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h7M15 12h6M10 7h5v10h-5zM4 8v8M20 8v8'/%3E%3Ccircle cx='12.5' cy='12' r='1'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(12) > .wd-dropdown-menu > .container:before { content: "Sensors & Encoders"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(13) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 12l5-4M6 16h12M8 6l1 2M16 6l-1 2'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(13) > .wd-dropdown-menu > .container:before { content: "Process Instrumentation"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(14) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3a2 2 0 0 1 4 0v10a5 5 0 1 1-4 0zM12 7v9'/%3E%3Ccircle cx='12' cy='18' r='1'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(14) > .wd-dropdown-menu > .container:before { content: "Temperature & Process Controllers"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(15) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='5' height='6' rx='1'/%3E%3Crect x='16' y='3' width='5' height='6' rx='1'/%3E%3Crect x='16' y='15' width='5' height='6' rx='1'/%3E%3Cpath d='M8 12h4V6h4M12 12v6h4'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(15) > .wd-dropdown-menu > .container:before { content: "Industrial Networks & Communication"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(16) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 4v6c0 5-3 8-8 10-5-2-8-5-8-10V6zM9 12l2 2 4-4'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(16) > .wd-dropdown-menu > .container:before { content: "Machine Safety & Protection"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(17) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M6 15l3-4 3 2 4-5 2 2M7 18h10'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(17) > .wd-dropdown-menu > .container:before { content: "Meters & Power Quality"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(18) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3v16H5zM16 4h3v16h-3zM8 8h8M8 16h8'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(18) > .wd-dropdown-menu > .container:before { content: "Power Factor & Capacitor Banks"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(19) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h7c5 0 3 10 8 10h3M3 12h6M3 17h7'/%3E%3Ccircle cx='21' cy='17' r='1'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(19) > .wd-dropdown-menu > .container:before { content: "Cables & Cable Management"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(20) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M6 5v14M18 5v14M9 9h6M9 15h6'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(20) > .wd-dropdown-menu > .container:before { content: "Terminals, Connectors & Accessories"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(21) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 16h6l1-4a4 4 0 0 0-8 0zM7 20h10M12 2v3M3 6l2 2M21 6l-2 2'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(21) > .wd-dropdown-menu > .container:before { content: "Industrial Lighting & Signaling"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(22) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='12' rx='2'/%3E%3Cpath d='M7 7V5h4v2M8 11v4M6 13h4M14 13h4M16 11v4'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(22) > .wd-dropdown-menu > .container:before { content: "UPS, Batteries & DC Backup"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(23) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 4v16M4 12h16M7 7l10 10M17 7L7 17'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(23) > .wd-dropdown-menu > .container:before { content: "Generators, ATS & AMF Systems"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(24) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h6l3-3 3 3h6v8h-6l-3 3-3-3H3zM8 8v8M16 8v8'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(24) > .wd-dropdown-menu > .container:before { content: "Pneumatics, Valves & Hydraulics"; }
  #menu-sticky-navigation-mega-electronics > li:nth-child(25) > a:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23182532' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M7 7h10v5H7zM8 16h2M14 16h2M10 19h4'/%3E%3C/g%3E%3C/svg%3E"); }
  #menu-sticky-navigation-mega-electronics > li:nth-child(25) > .wd-dropdown-menu > .container:before { content: "Test & Measurement Instruments"; }
}

/* ── 5. MOBILE — Keep WoodMart native accordion ───────────── */
@media (max-width:1024px) {
  .mobile-nav .mobile-categories-menu { display: none !important; }
  .mobile-nav .mobile-pages-menu { display: block !important; }
  .mobile-nav .mobile-pages-title { display: none !important; }
  .mobile-nav .mobile-categories-title {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #menu-sticky-navigation-mega-electronics-1 {
    padding: 8px 9px 16px !important;
    background: transparent !important;
  }
  #menu-sticky-navigation-mega-electronics-1 > li {
    margin: 0 0 5px !important;
    border: 1px solid rgba(145,174,207,.29) !important;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,.67) !important;
  }
  #menu-sticky-navigation-mega-electronics-1 > li > a {
    padding: 9px 13px !important;
    color: #20354d !important;
    font-weight: 600;
  }
  #menu-sticky-navigation-mega-electronics-1 > li:focus-within,
  #menu-sticky-navigation-mega-electronics-1 > li.wd-opened {
    background: rgba(240,247,255,.92) !important;
    border-color: rgba(11,78,162,.34) !important;
  }
}


/* FAYYAZ Mega Menu desktop refinement — 2026-10-13 */
@media (min-width:1025px) {
  .wd-sticky-nav {
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .wd-sticky-nav .wd-sticky-nav-title {
    background:transparent!important;
  }
  #menu-sticky-navigation-mega-electronics {
    box-sizing:border-box!important;
    height:calc(100vh - 60px)!important;
    height:calc(100dvh - 60px)!important;
    max-height:calc(100dvh - 60px)!important;
    padding:2px 7px 32px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
    background:transparent!important;
  }
  .admin-bar #menu-sticky-navigation-mega-electronics {
    height:calc(100vh - 92px)!important;
    height:calc(100dvh - 92px)!important;
    max-height:calc(100dvh - 92px)!important;
  }
  #menu-sticky-navigation-mega-electronics::-webkit-scrollbar,
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu>.container::-webkit-scrollbar {
    display:none!important;
    width:0!important;
    height:0!important;
  }
  #menu-sticky-navigation-mega-electronics>li {
    margin:0 0 4px!important;
    background:transparent!important;
  }
  #menu-sticky-navigation-mega-electronics>li>a {
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding:9px 10px!important;
    border-radius:9px!important;
    background:rgba(245,247,250,.83)!important;
    color:#202B38!important;
    font-weight:600!important;
    line-height:1.3!important;
    -webkit-backdrop-filter:blur(9px);
    backdrop-filter:blur(9px);
    transition:background-color .18s ease,color .18s ease!important;
  }
  #menu-sticky-navigation-mega-electronics>li>a:before {
    content:""!important;
    display:inline-block!important;
    width:24px!important;
    height:24px!important;
    flex:0 0 24px!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-size:contain!important;
  }
  #menu-sticky-navigation-mega-electronics>li:hover>a,
  #menu-sticky-navigation-mega-electronics>li:focus-within>a,
  #menu-sticky-navigation-mega-electronics>li.wd-active>a {
    background:rgba(11,78,162,.14)!important;
    color:#0B4EA2!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu {
    box-sizing:border-box!important;
    position:fixed!important;
    top:0!important;
    left:275px!important;
    width:min(1000px,calc(100vw - 292px))!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:100dvh!important;
    padding:0!important;
    overflow:hidden!important;
    background:#F5F7FA!important;
    color:#202B38!important;
    border:0!important;
    border-radius:0 14px 14px 0!important;
    box-shadow:10px 18px 32px rgba(21,48,77,.12)!important;
  }
  .admin-bar #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu {
    top:32px!important;
    height:calc(100vh - 32px)!important;
    height:calc(100dvh - 32px)!important;
    max-height:calc(100dvh - 32px)!important;
  }
  #menu-sticky-navigation-mega-electronics>li:focus-within>.wd-dropdown-menu {
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu>.container {
    box-sizing:border-box!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    min-height:100%!important;
    padding:0!important;
    margin:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu>.container:after {
    content:none!important;
    display:none!important;
    width:0!important;
    height:0!important;
    background:none!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu>.container:before {
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    min-height:0!important;
    padding:29px 34px 24px!important;
    margin:0!important;
    background:transparent!important;
    color:#15304D!important;
    font-size:24px!important;
    font-weight:700!important;
    line-height:1.25!important;
    border:0!important;
    box-shadow:none!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .wd-sub-menu {
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:0 25px!important;
    width:100%!important;
    padding:0 34px 36px!important;
    margin:0!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .wd-sub-menu>li {
    min-width:0!important;
    padding:15px 0 16px!important;
    margin:0!important;
    border:0!important;
    border-top:1px solid rgba(21,48,77,.15)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    transition:border-color .18s ease!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .wd-sub-menu>li:hover,
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .wd-sub-menu>li:focus-within {
    border-top-color:#0B4EA2!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .wd-sub-menu>li>a {
    display:block!important;
    padding:0 0 8px!important;
    background:transparent!important;
    color:#15304D!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.32!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .wd-sub-menu>li>a:after {
    display:none!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .sub-sub-menu {
    display:block!important;
    position:static!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .sub-sub-menu a {
    display:block!important;
    padding:4px 0!important;
    color:#536577!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.35!important;
    transition:color .18s ease!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu a:hover,
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu a:focus-visible {
    color:#0B4EA2!important;
  }
}
@media (min-width:1025px) and (max-width:1240px) {
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu .wd-sub-menu {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 22px!important;
  }
}


/* Header, readable active item, and precise panel alignment. */
@media (min-width:1025px) {
  .wd-sticky-nav:hover,
  .wd-sticky-nav:focus-within {
    z-index:100001!important;
  }
  .wd-sticky-nav .wd-sticky-nav-title {
    background:#0B4EA2!important;
    color:#fff!important;
    border-radius:999px!important;
  }
  .wd-sticky-nav .wd-sticky-nav-title span {
    color:#fff!important;
  }
  #menu-sticky-navigation-mega-electronics>li>a {
    background:#F5F7FA!important;
  }
  #menu-sticky-navigation-mega-electronics>li:hover>a,
  #menu-sticky-navigation-mega-electronics>li:focus-within>a,
  #menu-sticky-navigation-mega-electronics>li.wd-active>a {
    background:#e3efff!important;
    color:#0B4EA2!important;
  }
  #menu-sticky-navigation-mega-electronics>li>.wd-dropdown-menu {
    transform:none!important;
  }
}

/* Enforce global logo responsiveness */
.wd-logo img {
    width: 100% !important;
    max-width: 275px !important; /* Increased by 10% (250px -> 275px) */
    height: auto !important;
    object-fit: contain;
}

/* Tablet Adjustments */
@media screen and (max-width: 1024px) {
    .wd-logo img {
        max-width: 220px !important; /* Increased by 10% (200px -> 220px) */
    }
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .wd-logo img {
        max-width: 165px !important; /* Increased by 10% (150px -> 165px) */
    }
}

/* Ensure container respects sizing */
.wd-logo {
    display: flex;
    align-items: center;
    max-width: 100% !important;
}

/* FAYYAZ single-product gallery thumbs: rounded squares + wider gaps. Edit the two sizes below freely. */
body.single-product .elementor-29064 .elementor-element-4980e5af .fe8-gallery .wd-thumbs .wd-carousel-item{border-radius:18px !important;}
body.single-product .elementor-29064 .elementor-element-4980e5af .fe8-gallery .wd-thumbs .wd-carousel-item img{margin-bottom:18px !important;border-radius:18px !important;}


/* === FAYYAZ fixes 2026-11-08 (Claude) === */
/* Homepage slider + promo cards: same layout as English in AR/KU */
html[dir="rtl"] .wd-slide .wd-slide-inner,
html[dir="rtl"] .promo-banner .wrapper-content-banner{direction:ltr}
/* Better legibility of slide text over product photos on tablet/mobile */
@media (max-width:1024px){.wd-slide .title,.wd-slide .wd-text-block{text-shadow:0 1px 4px rgba(0,0,0,.85)}.wd-slide .wd-text-block p{display:inline;background:rgba(0,0,0,.55);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:2px 8px;line-height:1.95;border-radius:4px}}
/* Hide floating chat button while the mobile side menu is open */
body:has(.mobile-nav.wd-opened) #fayyaz-customer-care,
body:has(.wd-side-hidden.wd-opened) #fayyaz-customer-care{display:none!important}
/* USD / IQD switcher in header */
.fe-currency-switcher .wcml-horizontal-list ul{display:flex;gap:4px;margin:0;padding:0;list-style:none;direction:ltr}
.fe-currency-switcher .wcml-horizontal-list li{margin:0;padding:0;list-style:none}
.fe-currency-switcher .wcml-horizontal-list a{display:inline-block;padding:3px 8px;border-radius:6px;font-size:13px;font-weight:600;line-height:1.4;color:#333;border:1px solid transparent}
.fe-currency-switcher .wcml-horizontal-list .wcml-cs-active-currency a{background:#1e5bd8;color:#fff}
.fe-currency-switcher .wcml-horizontal-list a:hover{border-color:#1e5bd8}
/* === end FAYYAZ fixes === */

/* === FAYYAZ fixes 2026-11-09 (Claude) === */
/* WCML list is only the engine; the visible switcher is a copy of the language switcher (JS below) */
.fe-currency-switcher{display:none!important}
.fe-cur-item .wd-sub-menu li.fe-cur-active > a{font-weight:600}
/* Product page: no blue box behind the brand logo */
.elementor-element-45948dd1{background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
/* Chat button: right in English, left in Arabic/Kurdish */
html[dir="rtl"] #fayyaz-customer-care{right:auto!important;left:18px!important}
@media (max-width:767px){html[dir="rtl"] #fayyaz-customer-care{left:10px!important}}
/* Slider: Schneider slide text + button left like the other slides */
.wd-slide .elementor-element-0fbad12,.wd-slide .elementor-element-0fbad12>.e-con-inner{align-items:flex-start!important}
.wd-slide .elementor-element-0fbad12 :is(.title-wrapper,.title,.wd-text-block,.wd-text-block p,.wd-button-wrapper){text-align:left!important}
/* Slider: keep text clear of the product photos */
@media (min-width:1025px){.wd-slide :is(.title-wrapper,.wd-text-block){margin-left:0!important;margin-right:auto!important}.wd-slide .title-wrapper{max-width:330px!important}.wd-slide .wd-text-block{max-width:230px!important}.wd-slide .elementor-element-8208481 .title-wrapper{max-width:230px!important}.wd-slide .elementor-element-8208481 .wd-text-block{max-width:200px!important}}
/* Product page key specs */
.fe-keyspecs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0 8px}
.fe-keyspecs .ks{border:1px solid #e3ebf5;border-radius:6px;padding:5px 8px;background:#f7faff;min-width:0}
.fe-keyspecs .k{display:block;font-size:11px;color:#6b7a90;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fe-keyspecs .v{display:block;font-size:13px;font-weight:600;color:#153352;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;unicode-bidi:plaintext}
@media (max-width:767px){.fe-keyspecs{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* === end 2026-11-09 === */

/* === FAYYAZ fixes 2026-11-09b (Claude) === */
/* Brand logo: no blue box (beats the product template rule) */
html body .elementor .elementor-element .fe8-brand-bar,html body .elementor .elementor-element .fe8-brand-bar.fml-has-brand,html body .elementor .elementor-element.fe8-brand-bar{background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html body .elementor .fe8-brand-bar::before,html body .elementor .fe8-brand-bar::after{display:none!important}
/* Buy box: quantity = three equal squares, centred, equal gaps */
html body form.cart{row-gap:8px!important;column-gap:0!important}html body form.cart .quantity{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
html body form.cart .quantity .minus,html body form.cart .quantity .plus,html body form.cart .quantity input.qty{flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;margin:0!important;padding:0!important;border-radius:10px!important;box-sizing:border-box!important;line-height:40px!important}
html body form.cart .quantity input.qty{border:1px solid #d5deea!important;text-align:center!important;font-size:15px!important;-moz-appearance:textfield}
html body form.cart .quantity input.qty::-webkit-inner-spin-button,html body form.cart .quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* Buy box: buttons same width/height, aligned */
html body form.cart .single_add_to_cart_button,html body form.cart .wd-buy-now-btn{flex:0 0 100%!important;width:100%!important;min-width:0!important;height:42px!important;margin:0!important;padding:0 12px!important;border-radius:10px!important;font-size:13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
/* === end 2026-11-09b === */
