:root{--blue:#0067b9;--deep:#123a66;--navy:#122f50;--sky:#e6f4ff;--bg:#f6f9fd;--white:#fff;--line:#dce7f1;--text:#203750;--muted:#657b92;--danger:#bc3b39;--shadow:0 5px 20px rgba(18,61,102,.065)}
*{box-sizing:border-box}html{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;scroll-behavior:smooth}body{background:var(--bg);color:var(--text);margin:0;line-height:1.5}a{text-decoration:none;color:var(--blue)}a:hover{color:#004b88}h1{font-size:29px;letter-spacing:-.5px;color:var(--navy);margin:.2rem 0 1.1rem}h2{font-size:22px;color:var(--navy)}h3{font-size:18px;color:var(--navy);margin:0 0 15px}p{line-height:1.65}.shell{width:min(1360px,calc(100% - 44px));margin:0 auto}.top{background:white;border-bottom:1px solid var(--line);box-shadow:0 3px 16px #1d426710}.top-inner{display:flex;align-items:center;gap:28px;min-height:95px}.logo{display:flex;align-items:center;gap:10px;min-width:225px;color:var(--deep);font-size:23px;font-weight:850;line-height:1.05;letter-spacing:-1px}.logo small{display:block;font-size:10px;letter-spacing:.25px;font-weight:600;color:#6c8399;margin-top:6px}.logo-icon{display:grid;place-items:center;border-radius:13px;width:43px;height:43px;color:white;background:linear-gradient(140deg,#0b8ddc,#0c407d);font-size:26px}.global-search{display:flex;flex:1;min-width:120px;min-height:46px;border:2px solid var(--blue);border-radius:9px;overflow:hidden;background:white}.global-search input{border:0;outline:0;flex:1;width:100%;min-width:0;padding:0 16px;font:inherit}.global-search button{border:0;background:var(--blue);color:white;padding:0 27px;font-weight:700;font-size:14px;cursor:pointer}.global-search button:hover{background:#034f90}.header-nav{display:flex;align-items:center;gap:17px;white-space:nowrap}.header-nav a{color:var(--deep);font-weight:650;font-size:13px}.subnav{background:#163c69;color:white}.subnav .shell{display:flex;gap:32px;align-items:center;min-height:43px}.subnav a{color:white;font-size:13px;font-weight:600;opacity:.95}.breadcrumbs{font-size:12px;color:#7b8da1;display:flex;align-items:center;gap:10px;margin:23px 0 17px}.breadcrumbs a{color:#71869d}.alert{padding:12px 17px;border-radius:9px;border-left:4px solid var(--blue);background:#e8f4ff;margin:13px 0 25px;font-weight:600}.hero{background:linear-gradient(105deg,#143961,#0b568c 70%,#0b7ab6);color:#fff;padding:58px 62px;border-radius:16px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;overflow:hidden}.hero h1{color:white;font-size:37px;line-height:1.2}.hero p{color:#dceeff;max-width:630px}.hero .btn{margin-top:10px;background:#fff;color:#084f8c}.eyebrow{color:#2996da;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.9px}.hero .eyebrow{color:#80d9ff}.hero-art{align-self:center;text-align:center;border:2px solid #ffffff30;border-radius:19px;padding:25px;color:#a4deff;transform:rotate(-5deg)}.hero-art div{font-size:100px;line-height:1.3}.hero-art span{font-weight:700;letter-spacing:8px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:33px 0 17px}.section-heading h1,.section-heading h2{margin:0}.section-heading p{margin:5px 0}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.category-box{display:flex;align-items:center;gap:16px;padding:20px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-height:96px}.category-box strong{color:var(--deep);font-size:15px;flex:1}.category-box span:last-child{color:var(--blue);font-size:12px}.cat-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;background:var(--sky);color:#0b72be;border-radius:10px;font-size:25px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product-card{background:white;border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0;min-height:345px;display:flex;flex-direction:column;gap:7px;box-shadow:var(--shadow)}.product-img{height:118px;border-radius:9px;background:#f5faff;display:flex;justify-content:center;align-items:center;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:contain}.chip-icon{font-size:65px;color:#76b5df}.product-title{font-weight:750;line-height:1.3;color:var(--deep);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}.spacer{flex:1}.stock{font-size:12px;color:#2b8c84}.price{font-size:22px;line-height:1.25;font-weight:850;color:var(--navy)}.muted{color:var(--muted)}.tiny{font-size:12px}.btn{appearance:none;background:var(--blue);border:1px solid var(--blue);color:white;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:11px 17px;font:inherit;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap}.btn:hover{background:#065294;color:white}.btn-ghost{background:white;color:var(--blue);border-color:#a7cdec}.btn-ghost:hover{background:var(--sky);color:#124878}.btn-small{padding:7px 10px}.wide{width:100%}.empty{padding:40px;background:white;border:1px dashed #afc7dc;border-radius:12px;color:var(--muted);text-align:center}.panel{background:white;border:1px solid var(--line);padding:22px;border-radius:12px;box-shadow:var(--shadow);margin-bottom:16px}.catalog-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px}.filters,.admin-sidebar{background:white;border:1px solid var(--line);border-radius:12px;padding:19px;height:max-content}.side-link{display:block;padding:10px 12px;border-radius:7px;color:#36546c;font-size:13px;font-weight:600}.side-link:hover,.side-link.active{background:#e7f3ff;color:#075991}.filters hr,.panel hr{border:0;border-top:1px solid var(--line);margin:18px 0}.filters form{display:grid;gap:11px}.crumb-inline{display:flex;flex-wrap:wrap;gap:9px;font-size:12px;margin:12px 0 22px;color:var(--muted)}.detail-layout{display:grid;grid-template-columns:38% 1fr;gap:40px;margin:18px 0 37px}.detail-image{border:1px solid var(--line);background:white;border-radius:14px;min-height:340px;display:grid;place-items:center;overflow:hidden}.detail-image img{max-width:95%;max-height:340px;object-fit:contain}.big-chip{color:#80c0e4;font-size:170px}.detail-content h1{margin:10px 0}.detail-price{border:1px solid #d5e9f7;background:#f1f9ff;padding:20px;border-radius:12px;margin:19px 0}.big-price{font-size:30px;font-weight:850;color:var(--navy);margin:5px 0}.add-to-cart{display:flex;align-items:end;gap:15px;margin-top:14px}.add-to-cart label{max-width:130px}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{padding:13px;background:#eef5fb;text-align:left;color:#294f71;font-weight:750}.data-table td{padding:13px;border-bottom:1px solid var(--line);vertical-align:middle}.data-table tr:last-child td{border:0}.data-table tr:hover td{background:#fafcff}.table-scroll{overflow-x:auto}.cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:19px}.cart-grid .panel{height:max-content}.qty{max-width:86px}.link-danger{border:0;background:none;color:var(--danger);cursor:pointer}.summary{position:sticky;top:15px}.sum-row{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin:10px 0}.sum-row.big{font-size:18px;color:var(--navy)}.warning{padding:12px 15px;background:#fff8e9;border:1px solid #ecd7a0;border-radius:8px;color:#7d560a;font-size:13px;margin:14px 0}label{display:block;font-size:12px;font-weight:700;color:#344d66}input:not([type=checkbox]),select,textarea{display:block;border:1px solid #c7d7e4;border-radius:7px;padding:10px 12px;min-height:41px;max-width:100%;width:100%;font:inherit;color:#16354d;background:white;margin-top:6px}input:focus,textarea:focus,select:focus{outline:2px solid #9bd6ff;border-color:#2494cd}textarea{resize:vertical;min-height:85px}input[type=checkbox]{width:auto;min-height:auto;display:inline-block;margin:0 6px 0 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:5px 0 21px}.wide-col{grid-column:1/-1}.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:970px;margin:38px auto}.account-grid form{display:grid;gap:15px}.admin-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:25px;align-items:start}.admin-sidebar{position:sticky;top:18px}.admin-main{min-width:0}.admin-form{margin:0 0 20px}.admin-form .actions{margin-top:16px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column}.stat b{font-size:30px;color:var(--deep)}.check{padding:10px;border:1px solid var(--line);border-radius:7px;align-self:end}.inline-form{display:flex;align-items:end;gap:14px}.inline-form label{flex:1}.pagination{display:flex;gap:6px;margin:25px 0}.page{border:1px solid var(--line);background:white;padding:7px 12px;border-radius:7px}.page.on{background:var(--blue);color:white}.footer{margin-top:70px;background:#163958;color:#bed2e5}.footer>.shell{padding:28px 0;display:flex;justify-content:space-between;gap:16px;font-size:12px}.footer strong{color:white}
@media(max-width:1120px){.top-inner{gap:16px;flex-wrap:wrap;padding:17px 0}.global-search{order:3;flex-basis:100%}.header-nav{margin-left:auto}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr 190px;padding:35px}.hero-art div{font-size:70px}}
@media(max-width:800px){.shell{width:min(100% - 26px,1360px)}.category-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.catalog-layout,.cart-grid,.checkout-grid,.admin-layout{grid-template-columns:1fr}.filters,.admin-sidebar{position:static}.admin-sidebar{display:flex;overflow-x:auto;gap:6px;white-space:nowrap}.admin-sidebar .side-link{flex:none}.hero{grid-template-columns:1fr}.hero-art{display:none}.detail-layout{grid-template-columns:1fr}.detail-image{min-height:240px}.footer .shell{flex-direction:column}}
@media(max-width:520px){.logo{min-width:0;font-size:20px}.logo-icon{width:37px;height:37px}.header-nav{gap:9px}.header-nav a{font-size:12px}.header-nav span{display:none}.subnav .shell{gap:14px;overflow-x:auto;white-space:nowrap}.hero{padding:25px}.hero h1{font-size:29px}.category-grid,.product-grid,.form-grid,.account-grid,.stats{grid-template-columns:1fr}.category-box{min-height:75px}.product-card{min-height:270px}.detail-content h1{font-size:24px}.wide-col{grid-column:auto}.panel{padding:15px}}
/* ---- ElectroMarket v0.2: clean technical-commerce interface ---- */
:root{--blue:#0866c4;--deep:#0b315c;--navy:#142e4b;--sky:#e9f5ff;--line:#dce6f0;--muted:#688098;--shadow:0 8px 24px rgba(12,51,98,.055)}
*{box-sizing:border-box}body{background:#f9fbfd;color:#152f48}a,button{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}a:hover{color:#0471d9}.shell{width:min(1500px,calc(100% - 56px))}
.top{position:relative;z-index:120;background:#fff;border-bottom:1px solid #e4edf6;box-shadow:0 2px 10px #1c3b6010}.top-inner{min-height:82px;gap:18px;flex-wrap:nowrap}.logo{min-width:215px;max-width:280px;font-size:21px;gap:9px;letter-spacing:-.7px;flex-shrink:0}.brand-title{overflow:hidden;text-overflow:ellipsis}.logo small{letter-spacing:0;font-size:10px;font-weight:600;color:#7990a6}.brand-upload{max-width:240px;max-height:64px;object-fit:contain}.logo-icon{background:linear-gradient(145deg,#0786e4,#083a72);border-radius:12px;width:42px;height:42px}.catalog-trigger-wrap{flex:none;position:relative}.catalog-trigger{height:46px;display:flex;align-items:center;gap:9px;border:1px solid #0872cf;background:#0d6bc4;color:#fff;padding:0 17px;border-radius:9px;font:inherit;font-size:14px;font-weight:750;cursor:pointer}.catalog-trigger:hover,.catalog-trigger-wrap.mega-open .catalog-trigger{background:#084d9a;box-shadow:0 4px 15px #0b68c52f}.catalog-trigger svg:last-child{margin-left:2px}.global-search{border:1px solid #c7d7e9;background:#f9fcff;box-shadow:inset 0 1px 2px #00000006;min-height:46px;border-radius:9px;display:flex;align-items:center;margin:0}.global-search:focus-within{border-color:#0870cc;box-shadow:0 0 0 3px #d8ebff}.global-search .search-icon{padding-left:15px;color:#7994ab;display:flex;align-items:center}.global-search input:not([type=checkbox]){border:0!important;outline:0!important;box-shadow:none!important;margin:0!important;padding:0 13px!important;display:block;flex:1;width:100%;background:transparent;min-height:42px;border-radius:0}.global-search button{align-self:stretch;border-radius:0 8px 8px 0;padding:0 23px;background:#0b68bf}.header-nav{gap:4px}.header-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:68px;gap:5px;padding:9px 7px;border-radius:9px;color:#27445e;font-size:11px;font-weight:650}.header-nav a:hover{background:#eaf5ff;color:#0866c4}.header-nav a svg{stroke-width:1.7}.cart-count{background:#dbefff;color:#0659a9;padding:1px 4px;border-radius:9px}.subnav{display:none}.breadcrumbs{margin:20px 0 18px;font-size:12px}.breadcrumbs span{color:#9fb0c3}
.mega-menu{display:none;position:absolute;top:calc(100% + 10px);left:0;width:min(850px,calc(100vw - 60px));background:white;border:1px solid #d8e5f0;border-radius:12px;box-shadow:0 24px 60px #0a2f5860;z-index:200;overflow:hidden}.mega-open .mega-menu,.catalog-trigger-wrap:hover .mega-menu{display:block}.mega-head{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid var(--line);font-size:15px}.mega-head a{font-size:12px}.mega-columns{display:grid;grid-template-columns:1fr 1fr 1fr;height:410px}.mega-column{min-width:0;overflow-y:auto;border-right:1px solid #ecf1f6}.mega-column:first-child{background:#f5faff}.mega-column:last-child{border:0}.mega-list{padding:8px}.mega-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#294561;padding:11px 10px;font-size:13px;border-radius:7px;text-decoration:none}.mega-list a:hover,.mega-list a.active{background:#e1f0ff;color:#07599e}.mega-list a svg,.mega-list .menu-arrow{color:#85a0bb}.mega-placeholder{padding:20px 15px;font-size:13px;color:#8196a9}.mega-list .mega-all{color:#0875cd;border-bottom:1px solid #dfe8f1;font-weight:650}
.section-overline{font-size:11px;letter-spacing:1.2px;font-weight:850;color:#2381ca;display:block;margin-bottom:11px}.section-heading h2{font-size:27px;letter-spacing:-.7px}.section-heading p{font-size:13px}.text-link{font-weight:700;font-size:13px}.hero-slider{position:relative;margin:0 0 35px;border-radius:15px;overflow:hidden;background:#e9f5ff;min-height:328px;box-shadow:0 10px 35px #234e7b10}.hero-slide{min-height:328px;display:grid;grid-template-columns:minmax(0,1fr) 40%;align-items:center;padding:37px 64px 50px;background:linear-gradient(120deg,#0c3e73,#086eaf);color:#fff}.hero-slide[hidden]{display:none}.hero-slide.theme-sky{background:linear-gradient(110deg,#0868c3,#2b9fd2)}.hero-slide.theme-navy{background:linear-gradient(120deg,#09284c,#23557d)}.hero-copy{position:relative;z-index:1}.hero-copy .eyebrow{color:#91dcff;font-size:11px;letter-spacing:1.5px}.hero-copy h1{font-size:clamp(26px,3vw,42px);color:#fff;line-height:1.16;max-width:710px;margin:15px 0}.hero-copy p{color:#dfedfc;max-width:625px;font-size:15px}.hero-link{display:inline-flex;gap:30px;align-items:center;background:#fff;color:#0a5ea8;padding:12px 17px;border-radius:8px;font-weight:750;font-size:13px;margin-top:10px}.hero-link:hover{background:#d7f0ff;color:#063e73;transform:translateY(-2px)}.hero-visual{height:240px;display:flex;justify-content:center;align-items:center;position:relative}.hero-visual img{max-width:100%;max-height:230px;object-fit:contain}.hero-pattern{width:230px;height:200px;position:relative;display:grid;place-items:center;border:1px solid #ffffff28;border-radius:24px;transform:rotate(-7deg);background:repeating-linear-gradient(90deg,#ffffff06 0 1px,transparent 1px 28px),repeating-linear-gradient(#ffffff06 0 1px,transparent 1px 28px)}.pattern-chip{display:grid;place-items:center;background:#ffffff17;border:1px solid #ffffff4a;border-radius:20px;width:137px;height:137px;color:#e6f7ff;box-shadow:0 18px 50px #00000024}.hero-controls{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center}.hero-controls button{border:1px solid #ffffff66;background:#ffffff20;color:white;border-radius:50%;width:26px;height:26px;cursor:pointer}.hero-controls button:hover{background:#ffffff44}.hero-dots{display:flex;gap:7px}.hero-dots button{width:7px;height:7px;border:0;background:#ffffff70;padding:0;box-shadow:none}.hero-dots button.active{background:white;width:22px;border-radius:7px}
.home-categories{margin:10px 0 45px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.cat-tile{display:flex;align-items:center;gap:14px;min-height:95px;padding:17px;background:white;border:1px solid #e0eaf4;border-radius:11px;box-shadow:0 4px 18px #123d6a08;min-width:0}.cat-tile:hover{border-color:#9dcafa;box-shadow:0 10px 28px #1272c71b;transform:translateY(-2px)}.cat-tile-symbol{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;background:#edf6ff;border:1px solid #dcedfb;color:#1580c5;border-radius:10px}.cat-tile-text{flex:1;min-width:0}.cat-tile-text strong{font-size:14px;color:#163c63;display:block;line-height:1.35}.cat-tile-text small{display:block;margin-top:5px;color:#8399aa;font-size:11px}.cat-arrow{color:#8aacca}.home-about{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;border-top:1px solid #e2ebf4;padding:42px 0 15px}.about-intro h2{font-size:27px;margin:0}.about-intro p{color:#526c85;max-width:720px}.about-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.about-facts>div{background:white;border:1px solid var(--line);border-radius:11px;padding:19px 14px;color:#0a74c3}.about-facts strong{display:block;color:#244967;font-size:13px;margin:10px 0 6px}.about-facts small{color:#7a90a5;line-height:1.5}.footer{margin-top:70px;background:#102d49}.footer-main{padding:38px 0;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px}.footer-brand-title{color:white;display:flex;gap:10px;align-items:center;font-size:18px;font-weight:800}.footer-main h4{color:white;margin:0 0 13px}.footer-main p{color:#b1c9df;font-size:13px;max-width:340px;margin-top:12px}.footer-main a,.footer-main span{display:block;color:#c8d8ea;font-size:13px;margin:9px 0}.footer-main a:hover{color:white}.footer-bottom{border-top:1px solid #ffffff25;padding:18px 0;display:flex;justify-content:space-between;gap:30px;color:#a9c0d8;font-size:12px}
.catalog-category-header{padding:16px 0 17px}.catalog-category-header h1{font-size:32px;margin:5px 0 8px;letter-spacing:-.5px}.catalog-category-header p{color:#74899e;font-size:14px;margin:5px 0}.category-grid-lg{grid-template-columns:repeat(3,1fr);margin-top:18px}.browse-all{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#eef7ff;border:1px solid #d4e8f6;padding:20px 26px;border-radius:12px;margin-top:25px}.browse-all p{font-size:13px;margin:5px 0;color:#687d92}.crumb-inline{padding:0 0 9px;border-bottom:1px solid #edf0f5}.catalog-children{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:8px 0 20px}.catalog-children a{display:flex;justify-content:space-between;gap:10px;padding:14px 12px;background:white;border:1px solid var(--line);border-radius:8px;font-size:13px;font-weight:650}.catalog-children a:hover{background:#f0f8ff;border-color:#a3cff2}.filterbar{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin:20px 0;box-shadow:var(--shadow)}.filterbar-head{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2f7}.filterbar-head strong{display:flex;gap:8px;align-items:center;font-size:15px}.filterbar-head span{font-size:12px;color:#8599ac}.filterbar-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:0;max-height:360px;overflow:auto}.filter-item{min-width:0;padding:15px;border-right:1px solid #e7eef5;border-bottom:1px solid #e7eef5}.filter-title{min-height:35px;font-size:12px;font-weight:750;color:#355b78}.filter-title small{font-size:11px;color:#90a3b7}.filterbar input,.filterbar select{font-size:12px;min-height:35px;padding:8px 10px;margin:0}.filter-range{display:flex;align-items:center;gap:4px}.filter-range input{min-width:0}.filter-range span{color:#7a92a8}.filterbar-bottom{display:flex;gap:10px;align-items:center;padding:12px 16px;background:#f7fbff}.results-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#f5f9fd;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0}.results-head form label{display:flex;align-items:center;gap:10px}.results-head select{margin:0;width:180px;min-height:34px;font-size:12px}.product-list-table{background:#fff;border:1px solid var(--line);border-radius:0 0 10px 10px;overflow-x:auto}.product-list-table table{width:100%;border-collapse:collapse;min-width:940px;font-size:13px}.product-list-table th{background:#e9f2fb;text-align:left;padding:13px 15px;border-bottom:1px solid #d9e5f0;color:#294f6e;white-space:nowrap;font-size:12px}.product-list-table td{border-bottom:1px solid #edf0f5;padding:15px;vertical-align:middle}.product-list-table tr:hover td{background:#f9fcff}.product-list-table tr:last-child td{border-bottom:0}.table-product{display:flex;align-items:center;gap:13px;min-width:255px}.table-product-image{width:57px;height:57px;border:1px solid #e2eaf3;background:#f5f9fd;border-radius:8px;display:grid;place-items:center;flex:none;color:#6c9ac6}.table-product-image img{width:100%;height:100%;object-fit:contain}.table-mpn{font-weight:800;font-size:13px}.table-product small,.product-list-table td>small{display:block;font-size:11px;line-height:1.5;color:#7e91a3;margin-top:4px}.table-price{color:#123b63;font-size:15px;white-space:nowrap}.stock-status{color:#17806f;font-size:12px;font-weight:650}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.product-main{display:grid;grid-template-columns:30% minmax(0,1fr) 290px;gap:23px;align-items:start;margin:20px 0 36px}.product-gallery,.product-overview,.purchase-panel{background:white;border:1px solid var(--line);border-radius:11px;padding:20px;min-width:0}.product-big-img{min-height:260px;display:grid;place-items:center;color:#a3bed7}.product-big-img img{max-height:260px;max-width:100%;object-fit:contain}.product-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.product-thumbs button{width:58px;height:58px;background:white;border:1px solid #d8e5f0;border-radius:8px;padding:3px;cursor:pointer}.product-thumbs button:hover,.product-thumbs button.is-selected{border-color:#0b76d5;box-shadow:0 0 0 2px #cfe8ff}.product-thumbs img{width:100%;height:100%;object-fit:contain}.product-overview h1{font-size:24px;line-height:1.2;margin:9px 0 16px}.mpn-highlight{padding:10px 12px;background:#eef7ff;border-radius:7px;color:#426681;margin-bottom:17px;font-size:13px}.mpn-highlight strong{color:#0c5799}.fact{display:grid;grid-template-columns:140px 1fr;gap:10px;align-items:baseline;padding:11px 0;border-bottom:1px solid #f0f3f8;font-size:12px}.fact span{color:#8396aa}.fact b{color:#28455e;font-weight:700}.product-description{color:#506c86;font-size:13px}.product-documents{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.product-documents a{display:flex;gap:6px;align-items:center;border:1px solid #b7d7ef;padding:9px 12px;border-radius:7px;background:#eff8ff;font-size:12px;font-weight:700}.purchase-panel{position:sticky;top:20px;border-color:#bcdcf7}.purchase-caption{font-size:12px;color:#7891a6}.purchase-panel .big-price{font-size:25px;margin:12px 0}.purchase-panel .add-to-cart{display:grid;gap:12px;margin-top:23px}.purchase-panel .add-to-cart input{width:100%}.purchase-help{display:flex;gap:8px;background:#f1f7fc;padding:12px;border-radius:7px;color:#6d88a0;font-size:11px;margin-top:15px;line-height:1.5}.product-section{margin:26px 0}.spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden}.spec{display:grid;grid-template-columns:45% 1fr;border-bottom:1px solid #eef2f7;font-size:13px}.spec span{background:#f5f8fc;color:#637f97;padding:14px 16px}.spec strong{font-weight:600;padding:14px;color:#203f5b}.product-compact{grid-template-columns:25% 1fr 290px}
.admin-layout{grid-template-columns:250px minmax(0,1fr)}.admin-sidebar{background:#fff;box-shadow:var(--shadow)}.admin-sidebar a{border-radius:8px}.admin-main .panel{box-shadow:none}.admin-main .section-heading{margin-top:0}.admin-main h2{letter-spacing:-.45px}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.tree-editor{display:grid;grid-template-columns:42% minmax(0,1fr);gap:20px}.tree-panel,.editor-panel{border:1px solid var(--line);background:white;border-radius:12px;min-width:0;padding:20px}.tree-panel{max-height:760px;overflow:auto}.tree-node{margin:4px 0}.tree-row{display:flex;align-items:center;gap:7px;padding:7px 8px;border-radius:7px}.tree-row:hover{background:#edf7ff}.tree-row .tree-label{flex:1;min-width:0;font-size:13px;color:#315370;font-weight:650}.tree-row .tree-action{color:#0869bd;font-size:12px;padding:4px 7px;border-radius:6px;white-space:nowrap}.tree-row .tree-action:hover{background:#dbecff}.tree-indent{margin-left:19px;padding-left:12px;border-left:1px solid #dce9f4}.tree-node summary{cursor:pointer}.tree-hidden{display:none}.tree-search{position:sticky;top:0;z-index:1;background:white;padding-bottom:12px}.tree-editor .editor-panel .form-grid{grid-template-columns:1fr 1fr}.form-help{font-size:12px;color:#7c91a6;margin:7px 0}.field-meta{font-size:11px;color:#9badba}.admin-product-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:18px}.admin-product-browser{border:1px solid var(--line);border-radius:11px;padding:18px;background:white;max-height:780px;overflow:auto}.admin-product-browser a{font-size:12px;display:block;padding:9px;border-radius:7px}.admin-product-browser a:hover{background:#eaf5ff}.admin-product-browser a.active{background:#e3f2ff;color:#005aab}.admin-product-browser .folder-link{font-weight:750}.admin-product-editor .admin-form{padding:0;border:0}.admin-edit-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.admin-edit-tabs a{padding:8px 12px;background:#eff6fd;color:#255679;border-radius:7px;font-size:12px}.admin-edit-tabs a:hover{background:#dcefff}.admin-details,.admin-details summary{border-radius:9px}.admin-details{background:#fff;border:1px solid var(--line);padding:18px;margin:15px 0}.admin-details summary{font-weight:800;cursor:pointer}.fieldgroup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:17px}.admin-field-desc{color:#8a9daf;font-size:11px;display:block;margin-top:5px}.inline-save{display:flex;align-items:end;gap:12px}.inline-save label{flex:1}.admin-card-editor{display:grid;grid-template-columns:1fr 330px;gap:18px}.template-preview{border:1px solid #d5e4f1;border-radius:11px;padding:16px;background:#fafcff}.template-preview.compact{font-size:11px}.template-preview h3{font-size:17px}.template-preview .sample-media{height:115px;background:#e6f2ff;display:grid;place-items:center;border-radius:8px;margin:12px 0;color:#3283c2}.template-preview [hidden]{display:none}.form-check-row{display:flex;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf3f8}.form-check-row input{width:16px;height:16px}.form-check-row label{font-size:13px}.slide-admin-row{padding:18px;border:1px solid var(--line);border-radius:10px;background:#f9fcff;margin-bottom:16px}.slide-admin-row h3{font-size:15px}.img-preview{width:150px;height:80px;object-fit:contain;background:#f2f7fc;border:1px solid #dce8f4;border-radius:8px}.site-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.site-content-grid .panel{min-width:0}.site-content-grid textarea{min-height:135px}.admin-table-select{width:170px!important}.admin-path{font-size:12px;color:#6d90aa}.admin-path a{color:#147ac5}.media-warning{font-size:12px;color:#738c9f;padding:10px 12px;background:#eff6fd;border-radius:7px}
@media(max-width:1320px){.top-inner{gap:10px}.logo{min-width:175px;font-size:18px}.header-nav a{min-width:58px;padding:8px 3px}.header-nav a span{font-size:10px}.category-grid{grid-template-columns:repeat(3,1fr)}.footer-main{grid-template-columns:1.6fr 1fr 1fr 1fr}.product-main{grid-template-columns:29% minmax(0,1fr) 270px;gap:15px}}
@media(max-width:1050px){.top-inner{flex-wrap:wrap;padding:13px 0}.global-search{order:4;flex:1 0 100%}.header-nav{margin-left:auto}.mega-menu{left:-160px}.category-grid{grid-template-columns:repeat(2,1fr)}.home-about{grid-template-columns:1fr}.product-main,.product-compact{grid-template-columns:40% minmax(0,1fr)}.purchase-panel{grid-column:1/-1;position:static}.site-content-grid{grid-template-columns:1fr}.admin-card-editor{grid-template-columns:1fr}}
@media(max-width:760px){.shell{width:calc(100% - 28px)}.top-inner{gap:9px}.logo{max-width:175px;min-width:0}.brand-upload{max-width:170px}.catalog-trigger{height:41px;padding:0 10px;font-size:12px}.global-search{height:43px}.header-nav{gap:0}.header-nav a{min-width:40px}.header-nav a span{display:none}.mega-menu{left:-190px;width:calc(100vw - 28px)}.mega-columns{grid-template-columns:1fr 1fr 1fr;height:350px}.mega-list a{font-size:11px;padding:10px 6px}.hero-slide{padding:30px 24px 55px;grid-template-columns:1fr;min-height:275px}.hero-visual{display:none}.hero-copy h1{font-size:27px}.category-grid,.category-grid-lg{grid-template-columns:1fr 1fr}.cat-tile{min-height:80px;padding:13px}.cat-tile-symbol{width:36px;height:36px}.cat-tile-text strong{font-size:12px}.about-facts{grid-template-columns:1fr 1fr 1fr}.footer-main{grid-template-columns:1fr 1fr;gap:20px}.footer-bottom{flex-direction:column;gap:5px}.catalog-children{grid-template-columns:1fr 1fr}.product-main,.product-compact{grid-template-columns:1fr}.tree-editor,.admin-product-layout,.admin-card-editor{grid-template-columns:1fr}.tree-panel{max-height:410px}.filterbar-head span{display:none}.results-head{flex-wrap:wrap;gap:10px}}
@media(max-width:480px){.logo small{display:none}.logo{font-size:17px}.category-grid,.category-grid-lg{grid-template-columns:1fr}.about-facts,.footer-main{grid-template-columns:1fr}.mega-menu{left:-120px}.mega-columns{grid-template-columns:1fr 1fr 1fr}.browse-all{flex-direction:column;align-items:stretch}.spec-grid{grid-template-columns:1fr}.form-grid,.fieldgroup-grid,.tree-editor .editor-panel .form-grid{grid-template-columns:1fr}.admin-sidebar{max-width:100vw}.admin-card-editor{grid-template-columns:1fr}}

.mega-menu{top:100%} .tree-node summary .tree-action{cursor:pointer}

/* ===== ElectroMarket v0.3.0: compact engineering catalog and visual admin ===== */
:root{--v3-blue:#0867c4;--v3-navy:#102d4b;--v3-border:#e1e8f1;--v3-muted:#6a7e96}
body{background:#f8fafc;color:#172c45}.shell{width:min(1580px,calc(100% - 48px))}
/* LCSC-style hover menu: only existing branches, clean links and underlines. */
.catalog-trigger-wrap{position:relative}.mega-menu{top:100%;left:0;min-width:250px;width:max-content;max-width:min(1080px,calc(100vw - 36px));padding:0;border:1px solid #e5e9f0;border-radius:3px;box-shadow:0 16px 42px rgba(15,41,67,.16);background:#fff;overflow:hidden}
.mega-track{display:flex;align-items:stretch;overflow-x:auto;max-width:min(1080px,calc(100vw - 36px));max-height:590px;scrollbar-width:thin;scrollbar-color:#b9d0e5 transparent}
.mega-column{background:#fff;width:243px;min-width:243px;flex:0 0 243px;max-height:565px;overflow-y:auto;border-right:1px solid #e6edf3;scrollbar-width:thin}.mega-column:last-child{border-right:0}
.mega-list{display:flex;flex-direction:column;padding:8px 0}.mega-list a{padding:7px 16px;color:#2d3b4c;font-size:12px;line-height:1.35;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:0;background:none;font-weight:500;min-height:30px;position:relative;text-decoration:none}
.mega-list a:hover,.mega-list a.active{color:#056bd3;text-decoration:underline;text-underline-offset:3px;background:none!important;font-weight:650}
.mega-list a.active::before{content:'';position:absolute;left:0;top:5px;bottom:5px;width:2px;background:#0872d6}
.mega-list .menu-arrow{color:#7e90a5;font-size:22px;font-weight:300;line-height:1;transition:transform .16s}
.mega-list a:hover .menu-arrow,.mega-list a.active .menu-arrow{color:#0875db;transform:translateX(2px)}
.mega-list .mega-all-link{font-size:12px;color:#0672c8;margin-top:7px;border-top:1px solid #edf2f8;padding-top:12px}
/* Category pages: full category at root and collapsible tree */
.catalog-folder-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.9fr);gap:22px;margin-bottom:54px;align-items:start}
.catalog-folder-list,.catalog-tree-panel{padding:20px 24px;background:#fff;border:1px solid var(--v3-border);border-radius:9px}
.folder-heading{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e9eef4;padding-bottom:12px;margin-bottom:14px}.folder-heading h2{font-size:18px;margin:0;color:#0f355e}.folder-heading span{color:#8193a8}.folder-heading button{margin-left:auto;background:none;border:0;color:#0872cc;cursor:pointer}
.catalog-folder{display:flex;justify-content:space-between;align-items:center;min-height:52px;border-bottom:1px solid #eef3f8}.catalog-folder:last-child{border-bottom:0}.catalog-folder>a{color:#204465;font-weight:650;font-size:14px;flex:1;padding:13px 4px}.catalog-folder:hover>a{text-decoration:underline;text-underline-offset:3px;color:#066bd0}.folder-arrow{color:#7297b9}
.catalog-all-link{display:inline-block;margin-top:16px;font-weight:700;color:#0872ca}
.category-tree{font-size:13px;max-height:560px;overflow:auto}.category-branch{display:flex;flex-wrap:wrap;align-items:center;min-height:31px}.category-branch>.branch-name{display:inline-block;padding:6px 3px;color:#365571;min-width:0;flex:1}.category-branch>.branch-name:hover{color:#0871d6;text-decoration:underline;text-underline-offset:3px}.branch-toggle,.branch-space{width:25px;flex:0 0 25px;height:24px}.branch-toggle{border:0;background:transparent;color:#6b91b6;display:flex;align-items:center;justify-content:center;cursor:pointer;transform:rotate(0deg)}.branch-toggle[aria-expanded="true"] svg{transform:rotate(90deg)}.branch-children{width:100%;margin-left:14px;border-left:1px solid #dfe9f5;padding-left:6px}.branch-children[hidden]{display:none}
.home-root-list{display:grid;gap:11px}.home-root-group{border:1px solid #dfebf7;border-radius:10px;background:#fff;overflow:hidden}.home-root-group>summary{cursor:pointer;min-height:86px;display:flex;align-items:center;gap:20px;padding:14px 25px;list-style:none}.home-root-group summary::-webkit-details-marker{display:none}.home-root-group>summary:hover{background:#f9fcff}.home-root-icon{display:grid;place-items:center;width:48px;height:48px;background:#edf7ff;border-radius:9px;color:#0869c9}.home-root-group strong{font-size:17px;color:#153d65}.home-root-count{font-size:13px;color:#6a8196;margin-left:auto}.home-root-expand{color:#0b72cf}.home-root-group[open] .home-root-expand svg{transform:rotate(180deg)}.home-subgroups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 22px 22px;gap:5px 16px;border-top:1px solid #ecf1f7}.home-subgroups a{color:#264d73;padding:8px 4px;font-size:13px;display:flex;justify-content:space-between}.home-subgroups a:hover{color:#076ace;text-decoration:underline;text-underline-offset:3px}.home-view-all{font-weight:700}
/* Filters: horizontally scrollable continuous field grid */
.tech-heading{padding:9px 0 15px}.tech-heading h1{font-size:27px}.tech-filters{background:#fff;border:1px solid #dce5f0;border-radius:8px;margin:13px 0 17px;overflow:hidden}.tech-filters-top{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 17px;background:#f8fbff;border-bottom:1px solid #e1eaf3}.tech-filters-top>div:first-child{display:grid;gap:1px}.tech-filters-top strong{font-size:14px}.tech-filters-top span{font-size:12px;color:#71869b}.filter-global{display:flex;gap:12px;align-items:center}.filter-stock{font-size:12px;white-space:nowrap;display:flex;gap:6px;align-items:center}.filter-clear{font-size:12px;color:#47799f;white-space:nowrap}
.tech-filter-scroller{width:100%;overflow-x:auto;scrollbar-color:#a3c4e5 #eef5fc;scrollbar-width:thin}.tech-filter-cards{display:flex;width:max-content;align-items:stretch;min-width:100%}.tech-filter-card{flex:0 0 210px;width:210px;min-height:204px;padding:13px 12px 12px;border-right:1px solid #e5eaf0;display:flex;flex-direction:column;gap:8px}.tech-filter-label{font-size:12px;font-weight:780;color:#2a3d52;min-height:20px}.tech-filter-card input[type=search],.tech-filter-card input[type=number]{width:100%;border:1px solid #dce5f0;padding:6px 9px;border-radius:4px;min-height:29px;font-size:12px;outline:0}.tech-filter-card input:focus{border-color:#0879d9;box-shadow:0 0 0 2px #0879d912}.tech-filter-options{display:flex;flex-direction:column;gap:5px;max-height:127px;overflow-y:auto;scrollbar-width:thin}.tech-filter-options label{display:flex;gap:7px;align-items:flex-start;font-size:11px;color:#476077;cursor:pointer;word-break:break-word}.tech-filter-options label[hidden]{display:none}.tech-filter-options input{margin:2px 0 0;accent-color:#0870d7}.tech-filter-number{display:flex;gap:5px}.tech-filter-number input{min-width:0}.tech-filter-card small{font-size:11px;color:#7d90a3}
.tech-results-actions{display:flex;align-items:center;justify-content:space-between;margin:12px 0;padding:9px 0}.tech-results-actions strong{font-size:14px}.tech-results-actions label{display:flex;align-items:center;gap:9px;font-size:12px;color:#58748e}.tech-results-actions select{min-width:160px;border:1px solid #dbe5ee;padding:7px 9px;border-radius:4px;background:#fff}
.tech-table-viewport{overflow:auto;background:#fff;border:1px solid #d9e3ed;max-width:100%;scrollbar-color:#bfd1e6 #f2f6fb;scrollbar-width:thin}.tech-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap;min-width:900px}.tech-table th{padding:11px 13px;background:#1e2938!important;color:#fff!important;font-size:11px;font-weight:700;text-align:left;border-right:1px solid #536070;position:sticky;top:0;z-index:1}.tech-table td{padding:11px 13px;border-right:1px solid #e3e9f0;border-bottom:1px solid #e3e9f0;vertical-align:middle;white-space:normal;min-width:95px}.tech-table tbody tr:hover{background:#f6faff}.tech-table tbody tr:nth-child(even){background:#fbfcfe}.tech-table tbody tr:nth-child(even):hover{background:#f2f8fe}.tech-table td small{display:block;max-width:230px;color:#8193a3;font-size:11px;white-space:normal;margin-top:4px}.tech-table .col-item{min-width:270px}.tech-product-cell{display:flex;gap:10px;align-items:center}.tech-product-pic{flex:0 0 54px;width:54px;height:54px;border:1px solid #e1e7ed;border-radius:5px;display:grid;place-items:center;color:#8ab2d8}.tech-product-pic img{width:100%;height:100%;object-fit:contain}.table-mpn{font-size:12px;font-weight:750;color:#066bc8}.stock-ok{color:#1c8062;font-weight:700}.stock-unknown{color:#8996a4}.table-add-form{display:flex;gap:3px;align-items:center}.table-add-form input{width:58px;padding:6px;border:1px solid #e0e6ee;border-radius:4px;font-size:12px}.table-add-form button{padding:6px 11px}
/* LCSC-like product detail, fixed CSS width classes (CSP-compatible) */
.v3-product-primary{display:grid;grid-template-columns:var(--gallery) minmax(0,1fr) var(--purchase);gap:18px;align-items:start;margin:15px 0 30px}
.v3-product-block{min-width:0}.v3-overview,.v3-buybox,.v3-gallery{background:#fff;border:1px solid #e1e8f0;border-radius:8px;padding:19px}.v3-overview h1{font-size:22px;line-height:1.23;margin:0 0 10px;color:#142e49;overflow-wrap:anywhere}.v3-product-subtitle{font-size:15px;color:#1174d0;font-weight:720;margin-bottom:18px;overflow-wrap:anywhere}.v3-facts{display:grid;grid-template-columns:132px minmax(0,1fr);gap:11px 10px;margin:0;font-size:12px}.v3-facts dt{color:#718497}.v3-facts dd{margin:0;color:#253a51;font-weight:650;overflow-wrap:anywhere}.v3-buybox{border-color:#d2e4f7}.v3-buybox .big-price{font-size:25px;line-height:1.2;margin:16px 0}.v3-buybox .stock-status{margin:6px 0 12px}.v3-buy-form{display:grid;gap:11px;margin:17px 0}.v3-buy-form label{display:grid;gap:6px;font-size:12px}.v3-buy-form input{width:100%;padding:9px;border:1px solid #cfdae7;border-radius:5px}.buy-supplier{padding-top:12px;border-top:1px solid #edf1f6;font-size:12px;color:#74899d}
.v3-big-photo{height:290px;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;cursor:zoom-in;position:relative;color:#8baecf}.v3-big-photo img{max-height:100%;max-width:100%;object-fit:contain}.v3-big-photo>span:not(.photo-zoom){font-size:12px}.photo-zoom{position:absolute;right:0;bottom:0;display:flex;align-items:center;gap:4px;font-size:10px;color:#49789e;background:#f0f7ff;padding:5px 7px;border-radius:4px}.v3-gallery-thumbs{display:flex;gap:7px;border-top:1px solid #eaf0f5;padding-top:12px;overflow-x:auto}.v3-gallery-thumbs button{border:1px solid #dbe5ed;border-radius:5px;background:#fff;width:57px;height:52px;padding:3px;flex-shrink:0;cursor:pointer}.v3-gallery-thumbs button.active,.v3-gallery-thumbs button:hover{border-color:#0975dd}.v3-gallery-thumbs img{width:100%;height:100%;object-fit:contain}
.v3-lightbox{border:0;border-radius:12px;padding:30px 18px;background:white;max-width:94vw;width:950px;max-height:93vh;box-shadow:0 20px 70px #0004}.v3-lightbox::backdrop{background:#071a2dcc}.v3-lightbox[open]{display:flex;align-items:center;gap:15px}.v3-lightbox>img{object-fit:contain;max-width:calc(100% - 105px);max-height:77vh;margin:auto}.v3-lightbox>button{border:0;background:#edf5ff;color:#12599d;border-radius:6px;font-size:30px;min-width:40px;cursor:pointer}.v3-lightbox .lightbox-close{position:absolute;right:14px;top:9px;font-size:24px}.lightbox-counter{position:absolute;bottom:4px;left:50%;color:#7292ab;font-size:12px}
.v3-product-layout>.product-section{background:#fff;border:1px solid #e0e8f2;border-radius:7px;padding:21px 25px;margin:20px 0}.v3-product-layout .product-section h2{font-size:20px;margin:0 0 15px;color:#193b5c}.v3-section-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:13px}.v3-section-header p{color:#748ba0;margin:3px 0;font-size:12px}.v3-spec-table{width:100%;overflow-x:auto;margin-bottom:15px}.v3-spec-table table{width:100%;border-collapse:collapse;font-size:13px}.v3-spec-table th{text-align:left;padding:11px 15px;background:#f1f5fa;color:#536c83;border:1px solid #dde5ee}.v3-spec-table td{padding:10px 15px;border:1px solid #e2e8f0}.v3-spec-table td:first-child{width:78px;text-align:center}.v3-spec-table td:nth-child(2){width:48%}.v3-spec-table tr:nth-child(even){background:#fafcff}.v3-spec-table input{accent-color:#086acc}.v3-article{line-height:1.8;color:#344e65;font-size:14px;white-space:normal}.doc-links{display:flex;flex-wrap:wrap;gap:12px}.doc-links a{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #dbe8f4;border-radius:6px;font-weight:650}.pdf-preview{margin-top:16px}.pdf-preview summary{color:#046bca;cursor:pointer;font-weight:650}.pdf-preview iframe{width:100%;height:700px;max-height:75vh;border:1px solid #d9e3ed;margin-top:10px}.admin-only{font-size:11px;font-weight:650;color:#97632f;background:#fff6e5;padding:4px 7px;border-radius:5px}.v3-alternatives{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v3-alternatives a{border:1px solid #e2e9f2;border-radius:7px;padding:14px;display:grid;gap:6px}.v3-alternatives a:hover{border-color:#8dc0f4;background:#f8fbff}.v3-alternatives small{color:#788b9f}
/* Visual admin category tree */
.v3-tree-editor{display:grid;grid-template-columns:minmax(380px,1.45fr) minmax(310px,1fr);gap:19px;align-items:start}.v3-tree-editor .panel{padding:20px}.v3-tree-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:14px}.v3-tree-toolbar input{flex:1;min-width:0}.v3-tree-toolbar button{font-size:12px;border:1px solid #dce7f2;background:#fff;border-radius:5px;padding:8px;cursor:pointer;color:#356b9e}.v3-tree-root{max-height:680px;overflow:auto;border:1px solid #edf1f5;border-radius:6px;padding:8px 9px}.v3-admin-node{position:relative}.v3-admin-tree-row{display:flex;gap:7px;align-items:center;min-height:35px;padding:4px 7px;border-bottom:1px solid #f1f4f8;border-radius:4px}.v3-admin-tree-row:hover,.v3-admin-tree-row.selected{background:#f1f8ff}.v3-admin-kids{margin-left:21px;padding-left:11px;border-left:1px solid #dae8f5}.v3-admin-kids[hidden]{display:none}.node-expand{border:0;background:none;color:#728fa9;display:grid;place-items:center;cursor:pointer;min-width:21px;height:25px;padding:0}.node-drag{cursor:grab;color:#9cafc0;font-size:18px}.node-name{flex:1;font-weight:550;font-size:13px;min-width:0;word-break:break-word;padding:3px 2px;border-radius:3px}.node-name[contenteditable="true"]{outline:2px solid #5b9fe5;background:#fff}.node-actions{display:flex;gap:8px;visibility:hidden}.v3-admin-tree-row:hover .node-actions,.v3-admin-tree-row.selected .node-actions{visibility:visible}.node-actions a{font-size:11px;white-space:nowrap}.v3-admin-node.dragging{opacity:.42}.v3-admin-tree-row.drop-target{outline:2px dashed #0874d0;background:#e9f4ff}.v3-tree-status{margin-top:10px;min-height:18px;color:#267e57;font-size:12px}.v3-tree-status.is-error{color:#b64145}.v3-admin-links{margin-top:18px;display:flex;gap:15px;flex-wrap:wrap;font-size:13px}.tree-hidden{display:none!important}.v3-category-details .admin-form label{margin-bottom:12px}
/* Full-width admin product editor and catalog table */
.v3-admin-search{display:grid;grid-template-columns:minmax(250px,1.3fr) minmax(250px,1fr) 120px;align-items:end;gap:13px}.v3-admin-search>label{min-width:0}.v3-admin-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.v3-admin-cats a{background:white;border:1px solid #dce7f1;border-radius:7px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;color:#365879;font-size:12px;font-weight:650}.v3-admin-cats a:hover{border-color:#9dccf5;background:#f6fbff}.v3-admin-product-list{padding:20px 0}.v3-admin-product-list h3{padding:0 20px}.v3-admin-product-list .tech-table-viewport{border:0}.v3-back{display:inline-block;margin-bottom:7px;font-size:12px}
.v3-edit-primary{display:grid;grid-template-columns:minmax(215px,.88fr) minmax(330px,1.5fr) minmax(260px,.95fr);gap:17px;align-items:start}.v3-edit-primary>.panel{padding:21px}.v3-edit-primary h3{font-size:16px;border-bottom:1px solid #e4edf5;padding-bottom:13px;margin:0 0 15px}.v3-edit-primary label,.v3-edit-attributes label{font-size:12px}.v3-edit-primary input,.v3-edit-primary select,.v3-edit-primary textarea,.v3-edit-attributes input,.v3-edit-attributes select{width:100%;max-width:100%}.v3-edit-image{min-height:220px;border:1px dashed #cfdfe9;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9ab5ca;margin-bottom:15px}.v3-edit-image img{width:100%;height:220px;object-fit:contain}.v3-edit-image small{margin-top:12px}.v3-edit-attributes{margin-top:17px}.v3-attributes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.v3-editor-save{display:flex;align-items:center;gap:19px;padding:20px 0}.v3-editor-save span{font-size:12px;color:#7590a4}.v3-media-below{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:25px}.v3-uploaded-docs{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.v3-uploaded-docs a{padding:7px 12px;border:1px solid #e3ebf3;border-radius:6px}
/* Template preview with sortable blocks */
.v3-template-editor{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;align-items:start}.v3-template-editor>.panel{padding:22px}.v3-draggable-list{display:grid;gap:5px;margin-bottom:18px}.v3-sortable-block{display:flex;gap:12px;align-items:center;padding:10px 11px;border:1px solid #dce7f0;border-radius:5px;background:#fbfdff;cursor:grab;font-size:12px}.v3-sortable-block.dragging{opacity:.45}.v3-sortable-block>span:first-child{color:#96acc1;font-size:18px}.v3-sortable-block>span:last-of-type{margin-left:auto}.v3-layout-controls{display:grid;gap:10px;margin:15px 0}.v3-layout-controls label{font-size:12px}.v3-layout-controls input{width:100%;margin-top:8px}.v3-preview-grid{display:grid;grid-template-columns:var(--gallery) minmax(0,1fr) var(--purchase);gap:10px;min-height:275px}.v3-preview-grid>div{min-width:0;border:1px solid #e0eaf3;border-radius:5px;padding:12px}.v3-preview-photo{display:flex;flex-direction:column;justify-content:center;align-items:center;color:#9ebbd5;gap:12px;background:white}.v3-preview-overview h3{font-size:16px;margin:0 0 15px}.v3-preview-overview .v3-facts{grid-template-columns:90px 1fr;font-size:11px;gap:7px}.v3-preview-buy{background:#f9fcff;display:flex;flex-direction:column;gap:15px}.v3-preview-buy span{font-size:10px;color:#657f94}.v3-preview-buy h3{font-size:15px}.v3-template-skeleton{margin-top:12px;border:1px solid #e1e8f1;padding:13px 18px;border-radius:6px;background:#fbfdff;color:#7890a5;font-size:12px}
@media(max-width:1300px){.v3-product-primary{grid-template-columns:29% 1fr 26%}.v3-edit-primary{grid-template-columns:1fr 1.4fr}.v3-edit-commerce{grid-column:1/-1}.v3-tree-editor{grid-template-columns:1fr 1fr}.home-subgroups{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){.catalog-folder-layout,.v3-tree-editor,.v3-template-editor{grid-template-columns:1fr}.v3-product-primary{grid-template-columns:38% 1fr}.v3-buybox{grid-column:1/-1}.v3-admin-search{grid-template-columns:1fr 1fr}.v3-admin-search .btn{grid-column:1/-1}.v3-admin-cats{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-attributes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-alternatives{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.shell{width:calc(100% - 26px)}.mega-menu{max-width:calc(100vw - 18px)}.mega-column{min-width:180px;width:180px;flex-basis:180px}.home-subgroups,.v3-admin-cats{grid-template-columns:1fr}.home-root-group>summary{padding:12px;gap:9px}.home-root-icon{width:38px;height:38px}.home-root-group strong{font-size:14px}.home-root-count{font-size:11px}.catalog-folder-list,.catalog-tree-panel{padding:15px}.tech-filters-top,.tech-results-actions{flex-wrap:wrap}.tech-filter-card{flex-basis:170px;width:170px;min-height:195px}.v3-product-primary,.v3-edit-primary,.v3-media-below{grid-template-columns:1fr}.v3-buybox{grid-column:auto}.v3-product-layout>.product-section{padding:14px}.v3-facts{grid-template-columns:115px 1fr}.v3-admin-search,.v3-attributes-grid{grid-template-columns:1fr}.v3-preview-grid{grid-template-columns:1fr}.v3-preview-photo{min-height:140px}.v3-template-live{overflow:auto}.v3-editor-save{flex-direction:column;align-items:start}}

.gallery-width-18{--gallery:18%;}
.gallery-width-19{--gallery:19%;}
.gallery-width-20{--gallery:20%;}
.gallery-width-21{--gallery:21%;}
.gallery-width-22{--gallery:22%;}
.gallery-width-23{--gallery:23%;}
.gallery-width-24{--gallery:24%;}
.gallery-width-25{--gallery:25%;}
.gallery-width-26{--gallery:26%;}
.gallery-width-27{--gallery:27%;}
.gallery-width-28{--gallery:28%;}
.gallery-width-29{--gallery:29%;}
.gallery-width-30{--gallery:30%;}
.gallery-width-31{--gallery:31%;}
.gallery-width-32{--gallery:32%;}
.gallery-width-33{--gallery:33%;}
.gallery-width-34{--gallery:34%;}
.gallery-width-35{--gallery:35%;}
.gallery-width-36{--gallery:36%;}
.gallery-width-37{--gallery:37%;}
.gallery-width-38{--gallery:38%;}
.gallery-width-39{--gallery:39%;}
.gallery-width-40{--gallery:40%;}
.gallery-width-41{--gallery:41%;}
.gallery-width-42{--gallery:42%;}
.gallery-width-43{--gallery:43%;}
.gallery-width-44{--gallery:44%;}
.gallery-width-45{--gallery:45%;}
.gallery-width-46{--gallery:46%;}
.gallery-width-47{--gallery:47%;}
.gallery-width-48{--gallery:48%;}
.gallery-width-49{--gallery:49%;}
.gallery-width-50{--gallery:50%;}
.buy-width-18{--purchase:18%;}
.buy-width-19{--purchase:19%;}
.buy-width-20{--purchase:20%;}
.buy-width-21{--purchase:21%;}
.buy-width-22{--purchase:22%;}
.buy-width-23{--purchase:23%;}
.buy-width-24{--purchase:24%;}
.buy-width-25{--purchase:25%;}
.buy-width-26{--purchase:26%;}
.buy-width-27{--purchase:27%;}
.buy-width-28{--purchase:28%;}
.buy-width-29{--purchase:29%;}
.buy-width-30{--purchase:30%;}
.buy-width-31{--purchase:31%;}
.buy-width-32{--purchase:32%;}
.buy-width-33{--purchase:33%;}
.buy-width-34{--purchase:34%;}
.buy-width-35{--purchase:35%;}
.buy-width-36{--purchase:36%;}
.buy-width-37{--purchase:37%;}
.buy-width-38{--purchase:38%;}/* Category-aware visual filter configuration */
.v3-help-strip{padding:13px 16px;background:#edf7ff;border:1px solid #d5e8fb;border-radius:7px;color:#315777;font-size:13px;margin-bottom:15px}
.v3-filter-editor-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;align-items:start}.v3-filter-tree-panel{position:sticky;top:20px;padding:17px}.v3-filter-tree-panel h3{font-size:15px}.v3-filter-tree-panel input{width:100%;border-radius:5px;padding:8px;border:1px solid #d6e2ee}.v3-filter-tree-scroll{max-height:660px;overflow:auto;margin-top:12px}.v3-filter-tree-row{display:flex;align-items:center;gap:4px;font-size:12px;min-height:32px}.v3-filter-tree-row a{padding:6px;color:#3d607f;flex:1}.v3-filter-tree-row a.selected{color:#0a6fc8;background:#e8f5ff;font-weight:800;border-radius:5px}.v3-filter-tree-row a:hover{text-decoration:underline;text-underline-offset:3px;color:#0872d6}.v3-filter-tree-children{padding-left:15px;border-left:1px solid #dfeaf5;margin-left:10px}.v3-filter-tree-children[hidden]{display:none}.v3-add-attribute{margin:8px 0 22px;padding:19px}.v3-add-attribute>summary{cursor:pointer;font-weight:750;color:#166caf}.v3-add-attribute>.admin-form{margin-top:15px}
@media(max-width:950px){.v3-filter-editor-layout{grid-template-columns:1fr}.v3-filter-tree-panel{position:static}.v3-filter-tree-scroll{max-height:250px}}

/* ElectroMarket v0.4.0 — calmer catalog navigation and spacious technical listings */
.top{z-index:200}.top-inner{position:relative}.catalog-trigger-wrap{z-index:220;position:static}
.mega-menu{display:none;position:absolute;left:0;top:100%;width:max-content;min-width:235px;max-width:min(1120px,calc(100vw - 28px));border:1px solid #dce6f0;border-radius:0 0 9px 9px;box-shadow:0 18px 40px rgba(22,48,76,.18);background:#fff;overflow:hidden;z-index:500}
.catalog-trigger-wrap.mega-open .mega-menu{display:block}
.mega-track{display:flex;align-items:stretch;max-width:min(1120px,calc(100vw - 28px));overflow-x:auto;min-height:0;max-height:520px;background:#fff;scrollbar-width:thin}
.mega-column{width:230px;min-width:230px;flex:0 0 230px;max-height:520px;overflow-y:auto;border-right:1px solid #e4ebf3;background:#fff}
.mega-column:first-child{background:#fafcff}.mega-column:last-child{border-right:0}
.mega-list{padding:7px 0}.mega-list a{border:0!important;border-radius:0!important;background:transparent!important;font-size:13px;padding:8px 14px;line-height:1.3;min-height:34px;color:#284862;font-weight:500;text-decoration:none}
.mega-list a:hover,.mega-list a.active{color:#0965bf;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;background:transparent!important}
.mega-list a.active::before{width:2px;background:#0d78cc}.mega-list .menu-arrow{font-size:19px;font-weight:400;color:#6687a8}
.mega-list .mega-all-link{margin-top:6px;padding:12px 14px;border-top:1px solid #edf1f8!important;color:#0b6cc8}
.top-inner,.header-nav,.global-search{min-width:0}.top .shell{overflow:visible}
.v4-bread{font-size:12px;color:#718ba5;margin:22px 0 14px}.v4-bread a{color:#3275b1}.v4-bread a:hover{text-decoration:underline}
.v4-categories-title{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:12px 0 22px}.v4-categories-title h1{font-size:28px;margin-bottom:5px}.v4-categories-title p{margin:0;color:#7890a6;font-size:13px}
.v4-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.v4-category-card{background:#fff;border:1px solid #dfe9f3;border-radius:10px;padding:16px 16px 19px;box-shadow:0 4px 14px rgba(22,61,103,.035);transition:border-color .17s,box-shadow .17s}
.v4-category-card:hover{border-color:#91c6ef;box-shadow:0 9px 23px #0c6dc016}
.v4-category-title{display:flex;align-items:center;gap:14px;min-height:76px;font-size:15px;line-height:1.25;color:#0e355c}
.v4-category-title img{width:76px;height:66px;object-fit:cover;border-radius:8px;background:#edf6fd;flex:none}
.v4-category-title strong{flex:1}.v4-category-title>span{font-size:23px;font-weight:300;color:#8baac6}
.v4-category-sublinks{display:grid;gap:5px;border-top:1px solid #edf2f8;padding:12px 0 0 89px}.v4-category-sublinks a{color:#547089;font-size:12px;line-height:1.4;display:block;padding:3px 0}
.v4-category-sublinks a:hover{color:#056cc8;text-decoration:underline}.v4-more-link{font-size:12px;font-weight:650;color:#086cc6;display:inline-block;margin-top:11px}
.v4-results-heading{display:flex;align-items:baseline;gap:20px;margin:6px 0 17px}.v4-results-heading h1{font-size:24px;margin:0}.v4-results-heading span{font-size:12px;color:#7290a8}
.v4-filters{border-radius:8px;background:#fff;margin:0 0 18px}.v4-filter-top{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f8fbff;padding:14px 18px;border-bottom:1px solid #e1eaf3}.v4-filter-top b{font-size:14px}.v4-filter-top small{display:block;font-size:11px;color:#7e92a8;margin-top:3px}
.v4-filter-mode{display:inline-flex;border:1px solid #d6e5f3;border-radius:6px;overflow:hidden;background:#fff;flex:none}
.v4-filter-mode button{border:0;border-right:1px solid #d6e5f3;padding:8px 14px;background:#fff;color:#466782;font-size:12px;cursor:pointer}.v4-filter-mode button:last-child{border:0}.v4-filter-mode button.active{background:#126bc4;color:white}
.v4-local-search{padding:13px 18px 10px}.v4-local-search label{display:flex;gap:15px;align-items:center;font-size:12px}.v4-local-search input:not([type=checkbox]){margin:0;max-width:480px;border-radius:6px;min-height:35px;font-size:13px}
.v4-filters .tech-filter-scroller{overflow-x:auto}.v4-filters .tech-filter-cards{display:flex;width:max-content;min-width:100%}.v4-filters .tech-filter-card{min-height:195px;flex:0 0 215px;width:215px;max-width:215px}
.v4-filters[data-filter-layout=stacked] .tech-filter-scroller{overflow:visible}.v4-filters[data-filter-layout=stacked] .tech-filter-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(196px,1fr));width:100%}
.v4-filters[data-filter-layout=stacked] .tech-filter-card{width:auto;max-width:none;min-height:165px;border-bottom:1px solid #e8eff6}
.v4-filter-bottom{padding:12px 18px;display:flex;align-items:center;gap:16px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #e1eaf3;background:#fbfdff}
.v4-filter-bottom .filter-stock{margin-right:auto}.v4-filter-bottom>label:not(.filter-stock){display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.v4-filter-bottom select{margin:0;min-height:34px;font-size:12px;min-width:190px;padding:6px 10px}
.v4-filter-bottom .btn{padding:9px 15px;border-radius:6px}.v4-filter-bottom .filter-clear{font-size:12px}
.v4-table-bar{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0 10px}.v4-table-bar strong{font-size:14px}.v4-table-bar small{font-size:11px;color:#8a9bad}
.v4-product-table .col-item{min-width:330px}.v4-product-table .table-mpn{font-size:13px;line-height:1.3;display:inline-block;max-width:280px}
.v4-offers-expand{display:inline-flex;gap:8px;align-items:center;border:0;background:none;color:#0767be;font-weight:650;font-size:11px;padding:6px 0;cursor:pointer;white-space:nowrap}
.v4-offers-expand:hover{text-decoration:underline}.v4-product-table td{font-size:12px}.v4-product-table .v4-offer-detail-row td{padding:0;border-bottom:2px solid #dae5ee;background:#f7fbff}
.v4-offer-detail-row[hidden]{display:none!important}
.v4-offers-grid{padding:16px 20px;background:#f8fbff;display:grid;gap:8px}.v4-offer-title{font-weight:740;color:#2e4d6b;font-size:13px;margin-bottom:1px}
.v4-offer-line{display:grid;grid-template-columns:1.15fr 1fr 1fr auto;gap:14px;align-items:center;border:1px solid #dbe8f4;background:#fff;border-radius:7px;padding:11px 13px;font-size:12px}
.v4-offer-line small{display:block;color:#8195a8;font-size:11px;margin-top:4px}.v4-quick-order{display:flex;align-items:center;gap:5px}
.v4-quick-order input[type=number]{min-width:0;width:60px;max-width:60px;min-height:31px;padding:5px 6px;margin:0}.v4-quick-order .btn{padding:6px 10px;font-size:11px}
.v3-buybox select{font-size:12px;margin:6px 0 15px;white-space:normal}.v3-product-layout .v4-offers-grid{padding:0;background:transparent}.v3-product-layout .v4-offer-line{grid-template-columns:1fr 1fr 1fr 150px auto}
.v3-product-layout .v4-quick-order{margin:0}.v3-product-layout .v4-offer-line>span{font-size:12px}
.v3-admin-tree-row.drop-before{box-shadow:inset 0 4px 0 #0d80df;background:#eef7ff}.v3-admin-tree-row.drop-after{box-shadow:inset 0 -4px 0 #0d80df;background:#eef7ff}.v3-admin-tree-row.drop-target{outline:2px dashed #1185d8;background:#e6f4ff}
.v3-preview-grid>div{position:relative}.v4-split-handle{position:absolute;z-index:6;right:-11px;top:0;bottom:0;margin:auto;touch-action:none;cursor:col-resize!important;width:20px;height:57px;border:1px solid #8cbce2;border-radius:7px;background:#fff;color:#0a71c4;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 10px #13436b20}.v4-split-handle:hover,.v4-split-handle.resizing{background:#e0f3ff;border-color:#0c7dd3}.v4-left-handle{left:-11px;right:auto}
.v3-preview-grid>div{cursor:grab}.v3-preview-grid .v4-split-handle{cursor:col-resize}.v4-real-preview{margin-top:18px}.v4-real-preview h3{font-size:14px;margin:0}.v4-real-preview iframe,.v4-editor-preview iframe{display:block;background:white;width:100%;height:720px;border:1px solid #dce6ee;border-radius:8px;margin-top:10px}.v4-real-preview p{font-size:12px;margin:4px 0}
.v4-editor-preview summary{cursor:pointer;font-weight:750;color:#185182}.preview-only .top,.preview-only .footer,.preview-only .crumb-inline,.preview-only .v4-bread{display:none!important}.preview-only .shell{width:calc(100% - 28px);max-width:none}.preview-only .product-section{padding:15px}
.v3-product-primary .v3-product-block{min-width:0}.v4-category-title img{object-fit:cover}
@media(max-width:1150px){.v4-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mega-menu{left:0;max-width:calc(100vw - 28px)}}
@media(max-width:700px){.v4-category-grid{grid-template-columns:1fr}.v4-category-title img{width:67px;height:59px}.v4-category-sublinks{padding-left:81px}.v4-results-heading,.v4-categories-title{flex-direction:column;align-items:flex-start;gap:6px}.v4-local-search label{flex-direction:column;align-items:flex-start;gap:5px}.v4-local-search input:not([type=checkbox]){width:100%}.v4-filter-top{flex-wrap:wrap}.v4-offer-line,.v3-product-layout .v4-offer-line{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v4-offer-line .v4-quick-order{grid-column:1/-1}.v4-filters[data-filter-layout=stacked] .tech-filter-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.mega-column{width:205px;min-width:205px;flex-basis:205px}.v4-real-preview iframe,.v4-editor-preview iframe{height:590px}}

/* === ElectroMarket v0.5.0 enhancements === */
.top{position:relative;z-index:500}.catalog-trigger-wrap{position:relative;isolation:isolate}.mega-menu{position:absolute!important;left:0!important;right:auto!important;top:calc(100% + 1px)!important;transform:none!important;width:243px;min-width:243px;max-width:calc(100vw - 24px);overflow:hidden;z-index:900;transition:none}.mega-track{overflow-x:auto;overscroll-behavior-x:contain;max-height:min(620px,calc(100vh - 100px));scroll-behavior:auto}.mega-list a{white-space:normal}.mega-column{flex:0 0 243px;min-width:243px;width:243px}.mega-open .mega-menu{display:block}.mega-menu:not(.v5-ready){width:243px}.hero-slider{margin-top:27px}.v5-vertical-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v5-category-entry{display:grid;grid-template-columns:1fr;align-content:start}.v5-category-entry .v4-category-title{border-bottom:1px solid #edf3f9}.v5-category-entry .v4-category-sublinks{display:flex;flex-direction:column;gap:0}.v5-category-entry .v4-category-sublinks a{padding:8px 4px;border-bottom:1px solid #f0f4f8}.v5-home-groups{display:grid;grid-template-columns:1fr;gap:0;padding:6px 24px 18px}.v5-home-groups a{padding:9px 6px;display:flex;align-items:center;gap:13px;min-height:58px;border-bottom:1px solid #eef3f8;font-size:14px}.v5-home-groups a:hover{background:#f3f9ff;text-decoration:none}.v5-home-groups a img{width:48px;height:42px;object-fit:contain;background:#f2f8ff;border-radius:7px;padding:4px;flex:0 0 48px}.v5-home-arrow{margin-left:auto;color:#5496cb}.v5-category-narrow{display:flex;gap:13px;align-items:flex-end;flex-wrap:wrap;padding:16px 17px;border-bottom:1px solid #e4eef8;background:#f8fbff}.v5-category-narrow-label{min-width:175px;display:flex;flex-direction:column;gap:1px}.v5-category-narrow-label strong{font-size:12px;color:#24496d}.v5-category-narrow-label small{font-size:11px;color:#6d879e}.v5-category-levels{display:flex;align-items:center;flex:1;gap:7px;flex-wrap:wrap}.v5-category-levels select{min-height:36px;min-width:148px;max-width:250px;margin:0;padding:7px 24px 7px 9px;font-size:12px}.v5-category-narrow .btn{font-size:12px;padding:9px 11px;min-height:36px;white-space:nowrap}.v4-product-table .table-mpn{font-size:14px;font-weight:800}.v4-product-table .tech-product-cell small{display:block;max-width:300px;line-height:1.45;color:#7891a5}.v5-category-quicklink{color:#0d70c0;font-size:12px;font-weight:700}.v5-category-quicklink:hover{text-decoration:underline}
@media(max-width:800px){.v5-vertical-categories{grid-template-columns:1fr}.mega-column{flex-basis:215px;min-width:215px;width:215px}.v5-category-narrow-label{flex:1 0 100%}.v5-category-levels select{min-width:120px;flex:1}.v5-home-groups{padding:3px 12px 12px}.hero-slider{margin-top:16px}}

/* ===== ElectroMarket v0.5.0: navigation, technical filters, authentication, layout builder ===== */
.catalog-trigger-wrap{flex-shrink:0}
.catalog-trigger-wrap .mega-menu{top:100%!important;left:0!important;right:auto!important;max-width:calc(100vw - 20px)!important;width:246px;min-width:246px!important;transform:none!important;border-radius:0 0 10px 10px;box-shadow:0 22px 55px rgba(22,52,87,.21)}
.catalog-trigger-wrap .mega-track{display:flex;max-width:100%;overflow-x:auto;scroll-behavior:auto;scrollbar-width:thin;max-height:min(610px,calc(100vh - 90px));align-items:stretch}
.catalog-trigger-wrap .mega-column{flex:0 0 246px;width:246px;min-width:246px;overflow-y:auto;max-height:min(610px,calc(100vh - 90px))}
.catalog-trigger-wrap .mega-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;min-height:37px;line-height:1.35;border-radius:0;background:#fff!important;color:#183755;font-size:12px;text-decoration:none!important}
.catalog-trigger-wrap .mega-list a:hover,.catalog-trigger-wrap .mega-list a.active{color:#0069c8!important;background:#f3f9ff!important;text-decoration:underline!important;text-underline-offset:4px}
.catalog-trigger-wrap .mega-list a .menu-arrow{color:#87a1b8;font-size:17px}
.hero-slider{margin-top:27px!important}
.v5-category-entry .v4-category-sublinks{display:flex!important;flex-direction:column!important;align-items:stretch;gap:0!important}
.v5-category-entry .v4-category-sublinks a{display:block;white-space:normal;line-height:1.4}
.v5-home-groups{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:0!important}
.v5-home-groups>a{width:100%;min-height:59px;display:flex;align-items:center;gap:13px}
.v5-home-groups>a img{width:46px;height:42px;object-fit:contain}
.v5-home-arrow{margin-left:auto}
.v5-category-narrow .v5-category-levels select{border:1px solid #cadbed;background:white;border-radius:6px;color:#244462}
.v5-category-narrow [data-category-go]:disabled{opacity:.5;cursor:default}
.v5-num-filter{display:flex;flex-direction:column;gap:8px}
.v5-num-filter>select{height:33px;width:100%;padding:5px 8px;border:1px solid #d3e2ef;background:#f9fcff;border-radius:5px;color:#214260;font-size:12px}
.v5-num-range{display:flex;flex-direction:column;gap:2px;padding:0 4px}
.v5-num-range input{accent-color:#0878dc;width:100%;margin:0;cursor:pointer;height:17px}
.v5-demo-label{display:inline-block;max-width:max-content;margin-top:4px;padding:2px 6px;border-radius:3px;background:#fff3da;color:#966114;font-size:10px;font-weight:750;letter-spacing:.04em}
.v5-demo-warning{background:#fff5db;color:#735319;border:1px solid #f1d999;border-radius:6px;padding:10px 12px;font-size:12px;margin:9px 0}
/* Full 12-column product arrangement shared by the public card and the admin editor. */
.v5-layout-grid,.v5-public-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:start}
.v5-public-grid>.v3-product-primary{display:contents!important}
.v5-public-grid [data-block]{min-width:0;max-width:100%;margin:0!important;grid-column:span 12;align-self:stretch}
.v5-public-grid .v3-product-block{min-width:0}
.v5-public-grid .v3-product-block .v3-gallery,.v5-public-grid .v3-product-block.v3-overview,.v5-public-grid .v3-product-block.v3-buybox{height:100%;box-sizing:border-box}
.v5-public-grid>.product-section{margin:0!important;padding:20px!important}
.v5-public-grid .v3-product-block.v3-overview,.v5-public-grid .v3-product-block.v3-buybox{padding:20px;border:1px solid #e0e8f2;border-radius:8px;background:white}
.v5-public-grid .v3-product-primary{margin:0!important}
.v5-layout-grid .v5-span-1,.v5-public-grid .v5-span-1{grid-column:span 1!important}
.v5-layout-grid .v5-span-2,.v5-public-grid .v5-span-2{grid-column:span 2!important}
.v5-layout-grid .v5-span-3,.v5-public-grid .v5-span-3{grid-column:span 3!important}
.v5-layout-grid .v5-span-4,.v5-public-grid .v5-span-4{grid-column:span 4!important}
.v5-layout-grid .v5-span-5,.v5-public-grid .v5-span-5{grid-column:span 5!important}
.v5-layout-grid .v5-span-6,.v5-public-grid .v5-span-6{grid-column:span 6!important}
.v5-layout-grid .v5-span-7,.v5-public-grid .v5-span-7{grid-column:span 7!important}
.v5-layout-grid .v5-span-8,.v5-public-grid .v5-span-8{grid-column:span 8!important}
.v5-layout-grid .v5-span-9,.v5-public-grid .v5-span-9{grid-column:span 9!important}
.v5-layout-grid .v5-span-10,.v5-public-grid .v5-span-10{grid-column:span 10!important}
.v5-layout-grid .v5-span-11,.v5-public-grid .v5-span-11{grid-column:span 11!important}
.v5-layout-grid .v5-span-12,.v5-public-grid .v5-span-12{grid-column:span 12!important}
.v5-public-grid .v5-order-0{order:0}
.v5-public-grid .v5-order-1{order:1}
.v5-public-grid .v5-order-2{order:2}
.v5-public-grid .v5-order-3{order:3}
.v5-public-grid .v5-order-4{order:4}
.v5-public-grid .v5-order-5{order:5}
.v5-public-grid .v5-order-6{order:6}
.v5-public-grid .v5-order-7{order:7}
.v5-public-grid .v5-order-8{order:8}
.v5-public-grid .v5-order-9{order:9}
.v5-public-grid .v5-order-10{order:10}
.v5-public-grid .v5-order-11{order:11}
.v5-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.v5-builder-head h2{font-size:25px;color:#173b60;margin:5px 0}
.v5-builder-head p{margin:0;color:#67819a;max-width:690px;line-height:1.5}
.v5-builder{border:1px solid #d8e5f0;border-radius:11px;background:#fff;box-shadow:0 5px 20px rgba(27,66,110,.04);overflow:hidden}
.v5-builder-form{margin:0}
.v5-builder-toolbar{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:16px 20px;background:#f7fbff;border-bottom:1px solid #e0edf8;flex-wrap:wrap}
.v5-builder-tip{display:flex;flex-direction:column;gap:3px}.v5-builder-tip strong{font-size:15px;color:#163c62}.v5-builder-tip small{font-size:12px;color:#65829d}
.v5-grid-switch{font-size:12px;color:#285575;display:flex;align-items:center;gap:5px}
.v5-builder-canvas{margin:18px;padding:15px;border:1px solid #e0e9f1;border-radius:8px;background:#f8fbff;min-height:400px;user-select:none}
.v5-builder-canvas.show-guides{background-color:#f7fbff;background-image:repeating-linear-gradient(to right,transparent,transparent calc(8.3333% - 1px),rgba(20,113,193,.11) calc(8.3333% - 1px),rgba(20,113,193,.11) 8.3333%)}
.v5-builder-block{position:relative;min-width:0;box-sizing:border-box;overflow:hidden;background:#fff;border:1px solid #cbddec;border-radius:8px;box-shadow:0 2px 8px rgba(25,56,93,.06);transition:border-color .13s,box-shadow .13s}
.v5-builder-block:hover,.v5-builder-block.v5-drag-over{border-color:#2588d9;box-shadow:0 6px 20px rgba(10,115,210,.13)}
.v5-builder-block.is-dragging{opacity:.48}.v5-builder-block.is-resizing{border-color:#0969bf}
.v5-builder-block-head{padding:9px 29px 9px 10px;background:#eaf4ff;display:flex;align-items:center;gap:8px;min-height:36px;cursor:grab;color:#17416d}
.v5-builder-block-head:active{cursor:grabbing}.v5-drag-grip{font-size:20px;color:#448fcb;line-height:1}
.v5-builder-block-head strong{font-size:12px;font-weight:780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v5-block-width{margin-left:auto;font-size:10px;font-weight:700;color:#6388ab}
.v5-builder-content{padding:12px 14px;min-height:75px;font-size:12px;color:#455d74}
.v5-builder-content p{font-size:12px;margin:4px 0;color:#516e86;line-height:1.5}
.v5-builder-image{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:145px;background:#f4f8fc;border-radius:6px}.v5-builder-image img{max-height:130px;max-width:95%;object-fit:contain}.v5-builder-image small{color:#718da8}
.v5-builder-title{font-size:17px;line-height:1.3;color:#0d477d;overflow-wrap:anywhere}.v5-builder-content dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0 0}.v5-builder-content dt{color:#728ba1}.v5-builder-content dd{font-weight:650;color:#24435c;margin:0;overflow-wrap:anywhere}
.v5-builder-buy-price{font-size:18px;font-weight:800;color:#0d416d;margin-bottom:10px}.v5-builder-input-demo{padding:9px;border:1px solid #dce5f1;border-radius:5px;background:#f8fbff}.v5-builder-button-demo{padding:11px;background:#0874d2;color:white;border-radius:6px;text-align:center;font-weight:750;margin-top:9px}
.v5-builder-spec-preview{display:grid;gap:1px;background:#e6eef6;border:1px solid #e1eaf4}.v5-builder-spec-preview>div{display:flex;justify-content:space-between;gap:15px;background:white;padding:6px 9px;flex-wrap:wrap}.v5-builder-spec-preview b{color:#1a507e}
.v5-builder-resize{position:absolute;right:0;top:37px;bottom:0;width:12px;border:0;border-left:2px dashed #97b4cf;background:#eff8ff;color:#3d8ed0;font-size:17px;cursor:ew-resize;touch-action:none;z-index:3}
.v5-builder-resize:hover{background:#d1eaff}
.v5-builder-settings{margin:0 18px 20px;padding:15px;border:1px solid #e1eaf4;background:#fff;border-radius:8px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px}
.v5-builder-settings h3{margin:0 0 3px;font-size:14px}.v5-builder-settings p{margin:0;color:#7890a6;font-size:11px}.v5-builder-settings label{display:flex;align-items:center;gap:4px;color:#38546f}
.v5-builder-live{margin:20px 0}.v5-builder-live iframe{border:1px solid #d9e5f0;border-radius:8px;width:100%;height:680px;background:white}
/* Separate professional auth and registration, no inactive social-login controls. */
.v5-auth-page{background:linear-gradient(118deg,#f8fbff 0%,#f0f6fe 65%,#e6f3ff 100%);min-height:100vh;margin:0}
.v5-auth-layout{width:min(1120px,calc(100% - 48px));margin:0 auto;min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,490px);gap:74px;align-items:center;padding:46px 0;box-sizing:border-box}
.v5-auth-intro{min-height:565px;display:flex;flex-direction:column;gap:48px}
.v5-auth-logo{text-decoration:none!important;display:flex;align-items:center;gap:12px;font-size:21px;font-weight:850;color:#0c3c70}.v5-auth-logo small{display:block;font-size:11px;color:#7492b0;font-weight:550;margin-top:2px}
.v5-auth-mark{display:grid;place-items:center;width:50px;height:50px;background:linear-gradient(145deg,#047ad8,#164b91);color:#fff;border-radius:12px}
.v5-auth-content{margin:auto 0}.v5-auth-content h1{font-size:clamp(25px,3vw,41px);line-height:1.17;letter-spacing:-.035em;color:#153c61;margin:12px 0 17px}.v5-auth-content p{font-size:15px;max-width:520px;color:#617d96;line-height:1.75}
.v5-auth-benefits{margin-top:30px;display:grid;gap:14px}.v5-auth-benefits div{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:650;color:#315676}.v5-auth-benefits svg{color:#007bd8}
.v5-auth-back{color:#177acb;font-size:13px;text-decoration:none;font-weight:650}.v5-auth-back:hover{text-decoration:underline}
.v5-auth-card{border-radius:12px;background:#fff;box-shadow:0 18px 68px rgba(22,60,111,.08);border:1px solid #edf3fa}.v5-auth-card-inner{padding:46px 49px}
.v5-auth-kicker{font-size:10px;color:#077bd5;font-weight:850;letter-spacing:.11em}.v5-auth-card h2{font-size:28px;color:#183c60;margin:12px 0 8px}.v5-auth-card p{font-size:12px;color:#8399ab;margin:0 0 23px}
.v5-auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e3ecf6;margin:5px 0 26px}.v5-auth-tabs a{text-align:center;text-decoration:none;color:#7d92a4;font-size:14px;font-weight:700;padding:13px 8px;border-bottom:2px solid transparent}.v5-auth-tabs a.active{color:#0b75d2;border-bottom-color:#0b75d2}.v5-auth-tabs a:hover{color:#0b75d2}
.v5-auth-form{display:flex;flex-direction:column;gap:17px}.v5-auth-form>label{display:flex;flex-direction:column;gap:7px;color:#365671;font-size:12px;font-weight:650}.v5-auth-form>label>span:not(.v5-auth-password){color:#df5c5c}.v5-auth-form input[type=email],.v5-auth-form input[type=password],.v5-auth-form input[type=text]{box-sizing:border-box;border:1px solid #d9e5ef;background:#fff;border-radius:5px;height:43px;padding:0 13px;font-size:14px;color:#254761;width:100%}.v5-auth-form input:focus{border-color:#298de3;outline:2px solid #cbe7ff}
.v5-auth-password{display:flex;position:relative;align-items:center}.v5-auth-password input{padding-right:93px!important}.v5-auth-password button{position:absolute;right:7px;padding:7px;color:#0874c9;border:0;background:white;font-size:11px;cursor:pointer}
.v5-auth-submit{margin-top:4px;min-height:45px;font-size:14px;font-weight:750}.v5-auth-footnote{border-top:1px solid #eef3f9;color:#7b92a6;font-size:11px;line-height:1.65;margin-top:26px;padding-top:17px}
.v5-terms{display:flex!important;align-items:flex-start!important;flex-direction:row!important;font-size:11px!important;color:#687f93!important;font-weight:500!important;line-height:1.55}.v5-terms input{margin-top:2px;accent-color:#087bd4}
.v5-auth-alert{margin-bottom:18px;border:1px solid #f4d0bd;background:#fff8f4;padding:11px;border-radius:6px;color:#8b4b21;font-size:12px}
@media(max-width:960px){.v5-auth-layout{gap:28px;grid-template-columns:1fr 1fr}.v5-auth-card-inner{padding:30px}.v5-auth-intro{min-height:480px}}
@media(max-width:720px){.v5-auth-layout{width:calc(100% - 28px);grid-template-columns:1fr;gap:22px;min-height:auto;padding:25px 0 45px}.v5-auth-intro{min-height:0;gap:15px}.v5-auth-content{margin:12px 0}.v5-auth-content h1{font-size:24px}.v5-auth-benefits{display:none}.v5-auth-card-inner{padding:26px 22px}.v5-auth-back{margin-bottom:5px}}
@media(max-width:860px){.v5-public-grid [data-block]{grid-column:span 12!important}.v5-builder-canvas{margin:8px;padding:9px}.v5-builder-block{grid-column:span 12!important}.v5-builder-toolbar{padding:12px}.v5-builder-content{min-height:60px}}

/* Keep required field indicator on the same line as its field name. */
.v5-auth-form>label>.v5-field-title{display:inline-flex;align-items:center;gap:4px;color:#365671}
.v5-auth-form>label>.v5-field-title em{font-style:normal;color:#de4f5b}

/* v0.6 home banner, mega-menu and product list refinements */
.mega-backdrop{position:fixed;inset:0;background:rgba(14,25,43,.42);backdrop-filter:blur(1px);z-index:45}
.catalog-trigger-wrap,.mega-menu{position:relative;z-index:60}
.catalog-trigger{text-decoration:none}
.mega-track{scrollbar-width:none;overflow-x:hidden}
.mega-track::-webkit-scrollbar{display:none}
.mega-list a,.mega-all-link{display:flex;align-items:center;gap:10px;min-height:52px}
.mega-item-media{width:34px;height:34px;border-radius:10px;background:#eef5ff;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;overflow:hidden}
.mega-item-media img{width:100%;height:100%;object-fit:cover}
.mega-item-text{flex:1 1 auto;white-space:normal;line-height:1.25}
.menu-arrow{flex:0 0 auto;color:#93a4bb;text-decoration:none !important}
.mega-list a.active .menu-arrow,.mega-list a:hover .menu-arrow,.mega-all-link:hover .menu-arrow{color:var(--primary,#1677d8)}
.hero-banner-only{display:block;position:relative;overflow:hidden;padding:0;min-height:340px;border-radius:28px;background:linear-gradient(120deg,#0f5fb8,#38a7e5)}
.hero-banner-image{display:block;width:100%;height:100%;min-height:340px;object-fit:cover}
.hero-banner-fallback{min-height:340px;display:grid;place-items:center}
.home-root-group summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:16px;align-items:center}
.home-root-meta{display:flex;flex-direction:column;gap:4px;min-width:0}
.home-root-icon-image{padding:0;background:#eef5ff;overflow:hidden}
.home-root-icon-image img{width:100%;height:100%;object-fit:cover;border-radius:14px}
.home-root-link-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:12px;background:#1677d8;color:#fff;text-decoration:none;font-weight:700;white-space:nowrap}
.home-root-link-btn:hover{background:#0f65ba}
.home-root-count{font-size:.95rem;color:#68809a}
.v5-home-groups a img{width:44px;height:44px;object-fit:cover;border-radius:10px;background:#f3f7fb;padding:4px}
.v6-category-narrow .v5-category-levels{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}
.v6-category-select{display:flex;flex-direction:column;gap:6px}
.v6-category-caption{font-size:.82rem;font-weight:700;color:#68809a;text-transform:uppercase;letter-spacing:.04em}
.v6-filter-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:18px 0}
.v6-filter-toolbar .v4-local-search{margin:0;flex:1 1 auto}
.v6-filter-toolbar .v4-local-search label{display:block}
.v6-filter-toolbar .v4-local-search input{width:100%}
.col-check{width:44px;text-align:center}
.v6-bulk-form{display:block}
.v6-batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;margin-bottom:12px;border:1px solid #dbe4ef;border-radius:16px;background:#fff}
.v6-batch-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.v6-order-cell{display:flex;align-items:center;gap:8px}
.v6-order-cell input{width:84px}
.v6-pagination-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:16px}
.v6-per-page label{display:flex;align-items:center;gap:10px;font-weight:600}
.pagination .dots{pointer-events:none;background:#fff;border:1px dashed #d7e0ec;color:#8ba0b9}
@media (max-width:900px){
 .hero-banner-only,.hero-banner-image,.hero-banner-fallback{min-height:240px}
 .home-root-group summary{grid-template-columns:auto 1fr auto;grid-template-areas:'icon meta expand' 'btn btn btn'}
 .home-root-icon-image{grid-area:icon}.home-root-meta{grid-area:meta}.home-root-expand{grid-area:expand}.home-root-link-btn{grid-area:btn}
 .v6-batch-toolbar,.v6-filter-toolbar{flex-direction:column;align-items:stretch}
}

/* Release v0.6.0: navigation, compact full-width catalogue and sectioned administration. */
.page-catalog main.shell{width:min(1940px,calc(100% - 30px));max-width:none}
.page-catalog .tech-table-viewport{width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.page-catalog .tech-table{min-width:1180px}
.catalog-trigger-wrap .mega-menu{max-width:calc(100vw - 18px)!important}
.catalog-trigger-wrap .mega-track{max-width:100%;scrollbar-width:none;overscroll-behavior-x:contain;overflow-x:hidden}
.catalog-trigger-wrap .mega-track::-webkit-scrollbar{display:none}
.catalog-trigger-wrap .mega-column{min-width:0!important;width:auto;flex:1 1 auto}
.catalog-trigger-wrap .mega-list a{padding:9px 11px;line-height:1.35;align-items:center;word-break:normal;text-align:left;text-decoration:none!important}
.catalog-trigger-wrap .mega-list a .mega-item-text{font-size:12px;min-width:0;overflow-wrap:break-word;flex:1;text-align:left}
.catalog-trigger-wrap .mega-list a:hover .mega-item-text,.catalog-trigger-wrap .mega-list a.active .mega-item-text{text-decoration:underline;text-underline-offset:3px}
.catalog-trigger-wrap .mega-list a:hover .menu-arrow,.catalog-trigger-wrap .mega-list a.active .menu-arrow{text-decoration:none!important;color:#0b75d8!important}
.catalog-trigger-wrap .mega-list a.mega-all-link{background:#f5faff!important;border-top:1px solid #e6eef7!important}
.catalog-trigger-wrap .mega-list a.mega-all-link .mega-item-text{color:#0067b9;font-weight:750}
.catalog-trigger-wrap .mega-list a.mega-all-link.active,.catalog-trigger-wrap .mega-list a.mega-all-link:hover{background:#e7f3ff!important}
.hero-slider{margin-top:28px!important}
.hero-slider .hero-banner-only{width:100%;height:auto;min-height:0!important;aspect-ratio:40/9;background:#105aa6;display:block;padding:0;border-radius:15px}
.hero-slider .hero-banner-image{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.hero-slider .hero-banner-fallback{min-height:0;height:100%}
.hero-slider .hero-slide[hidden]{display:none!important}
.hero-slider .hero-controls{z-index:2;bottom:9px}
.hero-slider .hero-prev,.hero-slider .hero-next{width:29px;height:29px}
.home-root-group>summary .home-root-link-btn{margin-left:auto}
.v6-admin-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 20px}
.v6-admin-heading h1{margin:0}
.v6-admin-heading p{margin:.3rem 0 0}
.v6-admin-nav{padding:13px;display:flex;flex-direction:column;gap:3px;max-height:calc(100vh - 38px);overflow-y:auto}
.v6-admin-nav .side-link{padding:10px 12px;border-radius:9px;margin:1px 0;line-height:1.35;font-size:13px}
.v6-admin-nav .side-link.active{border-left:3px solid #086bbd;background:#eaf4ff}
.v6-admin-nav-separator{color:#8c9cad;font-size:10px;font-weight:800;letter-spacing:1.1px;padding:14px 12px 4px}
.v6-admin-group{border:0;background:transparent;margin:1px 0}
.v6-admin-group>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;border-radius:9px;color:#274867;font-size:13px;font-weight:700;cursor:pointer}
.v6-admin-group>summary::-webkit-details-marker{display:none}
.v6-admin-group[open]>summary,.v6-admin-group>summary:hover{background:#f0f7ff;color:#075fae}
.v6-admin-group>summary span{color:#83a2bb;transition:transform .17s}
.v6-admin-group[open]>summary span{transform:rotate(180deg)}
.v6-admin-group>div{padding:3px 0 7px 13px;border-left:2px solid #e6eff8;margin-left:13px}
.v6-admin-group>div .side-link{font-size:12px}
.v6-admin-welcome{margin:0 0 20px}
.v6-admin-welcome h2{margin:0 0 5px}
.v6-admin-welcome p{color:#667f95;margin:0}
.v6-admin-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.v6-admin-dashboard-card{border:1px solid #dbe7f2;border-radius:13px;background:#fff;padding:19px 16px;min-height:108px;display:flex;flex-direction:column;gap:8px;position:relative;box-shadow:0 4px 15px rgba(15,70,120,.04)}
.v6-admin-dashboard-card:hover{border-color:#90bdf3;box-shadow:0 7px 18px rgba(12,91,166,.11)}
.v6-admin-dashboard-card strong{font-size:14px;color:#184368;max-width:90%}
.v6-admin-dashboard-card small{font-size:12px;color:#7190a6;line-height:1.45}
.v6-admin-dashboard-card>span{position:absolute;right:17px;top:17px;font-size:23px;color:#2184d5}
.v6-slide-preview{max-width:100%;width:100%;max-height:245px;object-fit:contain;background:#e6f2ff;border-radius:12px;margin:10px 0 16px;border:1px solid #dfebf9}
.v6-batch-toolbar{position:relative}
.v6-batch-toolbar label{display:flex;align-items:center;font-size:13px}
.v6-order-cell{gap:4px}
.v6-order-cell input{min-width:58px;width:68px;padding:7px}
.v6-inline-offer{font-size:11px!important;padding:6px 24px 6px 7px!important;min-height:30px!important;max-width:200px;margin-top:6px!important}
.v6-sort-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#fff;text-decoration:none;font-size:inherit;font-weight:inherit}
.v6-sort-head:hover{color:#c6e7ff}
.v6-sort-head span{color:#a7bdd4;font-weight:400;font-size:15px}
.v6-pagination-row .pagination{margin:10px 0}
.v6-per-page{display:flex;align-items:center;gap:12px}
.v6-per-page select{min-width:90px;margin:0}
button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:1000px){.v6-admin-nav{max-height:none}.v6-admin-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.v6-admin-heading{flex-direction:column;align-items:flex-start}.v6-admin-dashboard-grid{grid-template-columns:1fr}.hero-slider .hero-banner-only{aspect-ratio:16/6}.hero-slider .hero-banner-image{object-fit:cover}}

/* v0.7.0: catalog / storefront polish */
.hero-controls .hero-prev,.hero-controls .hero-next{display:none!important}
.hero-controls{bottom:13px;gap:0}
.hero-dots button{min-width:10px;min-height:10px}
.catalog-trigger-wrap{margin-right:-15px}
.catalog-trigger{border-radius:4px 0 0 4px!important;transition:background-color .15s,box-shadow .15s}
.catalog-trigger:hover,.catalog-trigger-wrap.mega-open .catalog-trigger{background:#258ce4!important;color:white!important;box-shadow:none!important}
.global-search{border-radius:0 7px 7px 0;margin-left:0}
.mega-list a:hover,.mega-list a.active,.mega-list a:hover .mega-item-text,.mega-list a.active .mega-item-text{text-decoration:none!important}
.mega-list a .menu-arrow{margin-left:auto;align-self:center;text-decoration:none!important}
.mega-list a:not(:has(.menu-arrow)) .mega-item-text{padding-right:24px}
.mega-item-media{margin-left:7px}
.mega-list a{padding-left:7px!important}
.mega-all-link{padding-left:15px!important}
.home-root-list{gap:0!important;display:flex!important;flex-direction:column}
.home-root-group{border-radius:0!important;border-bottom:0!important}
.home-root-group:first-child{border-radius:12px 12px 0 0!important}
.home-root-group:last-child{border-bottom:1px solid #dfebf7!important;border-radius:0 0 12px 12px!important}
.home-root-group:only-child{border-radius:12px!important}
.home-root-group>summary{display:flex;gap:18px;align-items:center}
.home-root-group .home-root-meta{flex:1 1 auto;min-width:0}
.home-root-group .home-root-count{margin-left:auto;flex:0 0 auto;white-space:nowrap}
.home-root-link-btn{background:#1175ce!important;color:white!important;transition:background .15s ease,box-shadow .15s ease!important}
.home-root-link-btn:hover,.home-root-link-btn:focus-visible{background:#3295eb!important;color:white!important;box-shadow:0 4px 13px #1677ce28!important}
.v6-category-narrow{display:block!important;padding:18px 20px}
.v6-category-narrow .v5-category-narrow-label{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:4px;width:100%;margin:0 0 12px}
.v6-category-narrow .v5-category-narrow-label strong{font-size:14px}
.v6-category-narrow .v5-category-narrow-label small{white-space:normal;text-align:left;line-height:1.45}
.v6-category-narrow .v5-category-levels{display:flex!important;justify-content:flex-start!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important;width:100%}
.v6-category-narrow .v6-category-select{flex:0 1 255px!important;min-width:195px;max-width:320px;display:flex;flex-direction:column;gap:6px}
.v6-category-caption{line-height:1.35;min-height:20px;overflow-wrap:anywhere;text-transform:none!important;letter-spacing:0!important}
.v6-filter-toolbar{display:flex!important;align-items:center!important;gap:16px!important;justify-content:space-between!important;padding:14px 18px;margin:0!important;border-top:1px solid #e8eff6}
.v6-filter-toolbar .v4-local-search{display:flex!important;flex:1;min-width:200px;max-width:650px}
.v6-filter-toolbar .v4-local-search label{display:flex!important;align-items:center!important;gap:12px;width:100%;font-size:12px;white-space:nowrap;margin:0}
.v6-filter-toolbar .v4-local-search input{width:100%;min-width:120px;margin:0}
.v6-filter-toolbar .v4-filter-mode{display:flex!important;flex:0 0 auto;align-items:center!important;margin:0!important}
.v6-filter-toolbar .v4-filter-mode button{min-height:42px;padding:10px 16px;white-space:nowrap}
.v7-category-tree{display:flex;flex-direction:column;gap:0;margin:16px 0 30px;border:1px solid #dbe8f4;background:white;border-radius:12px;overflow:hidden}
.v7-category-node,.v7-category-leaf{border-bottom:1px solid #eaf1f7}
.v7-category-node:last-child,.v7-category-leaf:last-child{border-bottom:0}
.v7-category-node>summary,.v7-category-leaf{display:flex;align-items:center;gap:16px;padding:12px 17px;min-height:62px;color:#17466f;cursor:pointer;list-style:none;text-decoration:none}
.v7-category-node>summary:hover,.v7-category-leaf:hover{background:#f5faff;color:#0874ce;text-decoration:none}
.v7-category-node summary::-webkit-details-marker{display:none}
.v7-category-node img,.v7-category-leaf img{width:42px;height:42px;object-fit:contain;border-radius:9px;background:#eef6ff}
.v7-category-name,.v7-category-leaf span:not(.v7-cat-chevron){flex:1;font-weight:650}
.v7-category-count{color:#8295ac;font-size:12px}
.v7-cat-chevron{color:#0878d8;font-size:19px}
.v7-category-node[open]>summary .v7-cat-chevron{transform:rotate(180deg)}
.v7-category-children{padding:0 0 0 25px;border-top:1px solid #e5edf6}
.v7-category-actions{padding:12px 20px;display:flex;gap:20px;flex-wrap:wrap;background:#f7fbff;border-bottom:1px solid #e5edf6;font-size:13px;font-weight:650}
.v7-category-actions a{text-decoration:none}
.v7-sort-asc,.v7-sort-desc{color:#61c6ff!important;background:#1c3148}
.v7-sort-off{color:#fff}
.v7-sort-asc span,.v7-sort-desc span{color:#4ed5ff;font-weight:800}
.v7-jump-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.v7-jump-form label{font-size:12px;font-weight:650;color:#28435c}
.v7-jump-form input{width:73px;height:35px;margin:0 0 0 5px;text-align:center}
@media(max-width:800px){.v6-filter-toolbar{flex-wrap:wrap}.v6-filter-toolbar .v4-local-search label{flex-wrap:wrap;white-space:normal}.v6-category-narrow .v6-category-select{flex:1 1 100%}.catalog-trigger-wrap{margin-right:0}}

/* v0.7 Account, page jump and image handling */
.hero-slider .hero-banner-image{object-fit:cover!important;object-position:center!important}
.hero-slider .hero-banner-only{min-height:0;aspect-ratio:40/9}
.hero-controls .hero-prev,.hero-controls .hero-next{display:none!important}
.v7-account-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:22px 0 23px}
.v7-account-header h1{margin:4px 0 5px;font-size:30px}
.v7-account-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start;margin-bottom:36px}
.v7-account-sidebar{background:white;border:1px solid #dbe6f2;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px;position:sticky;top:95px}
.v7-account-sidebar a{padding:12px 13px;font-weight:650;color:#335577;border-radius:9px;text-decoration:none;font-size:13px}
.v7-account-sidebar a:hover{background:#eaf5ff;text-decoration:none;color:#096cbf}
.v7-account-sidebar a.selected{background:#e0f0ff;color:#096bbd}
.v7-account-main{min-width:0;display:flex;flex-direction:column;gap:17px}
.v7-account-main .panel{margin:0;padding:24px}
.v7-account-main h2{font-size:23px;letter-spacing:-.4px;margin:0 0 14px}
.v7-account-main h3{font-size:16px;margin:6px 0 9px}
.v7-account-main .form-grid{gap:15px}
.v7-account-main input,.v7-account-main select,.v7-account-main textarea{max-width:100%}
.v7-account-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v7-account-cards a{display:grid;grid-template-columns:1fr auto;gap:6px 10px;border:1px solid #dae6f2;background:#fff;padding:20px;border-radius:13px;color:#143e65;text-decoration:none}
.v7-account-cards a:hover{border-color:#8ebcf0;background:#f5faff;box-shadow:0 4px 14px #2c79ad14;text-decoration:none}
.v7-account-cards a strong{font-size:16px}
.v7-account-cards a small{grid-column:1;line-height:1.5;color:#8193a7}
.v7-account-cards a span{grid-column:2;grid-row:1/3;align-self:center;font-size:24px;color:#1273cb}
.v7-org-grid,.v7-address-grid{display:flex;flex-direction:column;gap:10px}
.v7-org-grid>a,.v7-org-grid>article,.v7-address-grid>article{border:1px solid #e2eaf4;border-radius:11px;padding:14px 16px;background:#fbfdff;display:flex;flex-direction:column;gap:6px;text-decoration:none;color:#17436b}
.v7-org-grid>a:hover{background:#eef7ff;border-color:#a6cbea}
.v7-org-grid small,.v7-address-grid small{font-size:12px;color:#6c849d}
.v7-table-scroll{overflow:auto}
.v7-table-scroll .data-table{min-width:590px;width:100%;font-size:13px}
.v7-inn-lookup{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:6px}
.v7-inn-lookup button{width:100%;min-height:42px}
.v7-inn-lookup small{font-size:12px;color:#587c9b;white-space:normal}
.v7-bom-upload{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px}
.v7-bom-upload input[type=file]{flex:1 1 160px;max-width:350px}
.v7-forgot-link{margin:0 0 12px 0;align-self:flex-end;font-size:12px;font-weight:700}
.v7-price-tiers{display:grid;gap:4px;margin:6px 0 0}
.v7-price-tiers small{font-size:11px;white-space:nowrap}
.v7-account-main .panel .admin-form{margin-top:12px}
@media(max-width:920px){.v7-account-layout{grid-template-columns:1fr}.v7-account-sidebar{position:static;display:flex;flex-direction:row;flex-wrap:wrap}.v7-account-sidebar a{padding:9px 12px}}
@media(max-width:600px){.v7-account-cards{grid-template-columns:1fr}.v7-account-header{flex-direction:column;align-items:start}.v7-account-main .panel{padding:16px}.v7-jump-form{width:100%}}
.v7-order-terms{display:flex;align-items:flex-start;gap:9px;margin:18px 0;line-height:1.5;font-size:13px}
.v7-order-terms input{margin-top:4px}
.v5-auth-form label{line-height:1.5}
.v7-category-leaf .v7-cat-chevron{margin-left:auto}
.mega-item-media img,.v5-home-groups a img{object-fit:contain!important}
