/* Vezolira international wholesale marketplace — screenshot-aligned v5 presentation */
:root{--v5-navy:#052551;--v5-deep:#021a3d;--v5-blue:#075ab3;--v5-orange:#ff7300;--v5-border:#e5eaf2}
.header .header-main{gap:16px;min-height:92px;align-items:center}
.brand.brand-v5{display:flex;align-items:center;flex:0 0 252px;min-width:0;margin:0;padding:0}
.brand.brand-v5 img{width:100%;max-width:252px;height:81px;object-fit:contain;object-position:left center}
.header-search-block{min-width:0;position:relative;flex:1 1 420px}
.header-search-block .searchbar{width:100%;margin:0}
.v5-image-search{display:flex;align-items:center;gap:6px;margin:4px 0 0;padding:0;min-height:24px;font-size:12px;color:#215899}
.v5-image-search label{display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap;font-weight:700}
.v5-image-search input[type=file]{max-width:150px;font-size:10px;width:100%;border:none;padding:0;margin:0;min-height:unset}
.v5-photo-submit{background:#f3f6fc;color:#084c94;border:1px solid #cbdcf3;border-radius:6px;padding:4px 9px;font-size:11px;cursor:pointer;font-weight:700}
.v5-photo-submit:hover{background:#dfeeff}
.search-trends{margin-top:5px}
.header .nav{background:#f7f9fc;border-top:1px solid #e9eef6;border-bottom:1px solid #dce6f2}
.header .navlinks{display:flex;align-items:stretch;gap:2px;min-height:44px}
.header .navlinks>a{color:#0d3764!important;font-size:13px;font-weight:650;white-space:nowrap;padding:0 13px;display:flex;align-items:center;border-radius:0}
.header .navlinks>a:hover,.header .navlinks>a:focus-visible{color:#004b9b!important;background:#e9f2fe}
.header .navlinks>a.nav-right{background:#ff7300!important;color:white!important;border-radius:5px;padding:0 15px;margin-left:auto}
.v5-mega-wrapper{position:relative;flex:0 0 auto;display:flex;align-items:stretch}
.v5-mega-trigger{background:#0953a1;border:0;color:white;padding:0 20px;font-weight:750;white-space:nowrap;border-radius:5px 5px 0 0;cursor:pointer;min-width:190px;font-size:15px}
.v5-mega-trigger:hover,.v5-mega-trigger[aria-expanded=true]{background:#063e83}
.v5-mega-panel{display:none;position:absolute;left:0;top:100%;width:min(980px,calc(100vw - 55px));background:white;box-shadow:0 14px 35px rgba(4,23,54,.25);border:1px solid #e5eaf2;border-radius:0 0 12px 12px;padding:22px;z-index:200}
.v5-mega-wrapper:focus-within>.v5-mega-panel,.v5-mega-wrapper:hover>.v5-mega-panel,.v5-mega-wrapper.v5-open>.v5-mega-panel{display:block}
.v5-mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px}
.v5-mega-group h3{font-size:14px;margin:0 0 8px;color:#06336a;line-height:1.4}
.v5-mega-group h3 a{font-weight:750!important;font-size:14px!important}
.v5-mega-group>a{display:block;color:#405978;padding:5px 0;font-size:12px;text-decoration:none}
.v5-mega-group>a:hover{color:#ff7300;text-decoration:underline}
.v5-mega-footer{display:flex;gap:24px;justify-content:flex-end;border-top:1px solid #e8eaf1;margin-top:19px;padding-top:14px;font-size:13px}
.v5-mega-footer a{color:#00479c;text-decoration:none;font-weight:700}
.v5-footer{background:#05224a;color:white;padding-top:0;margin-top:35px}
.v5-footer-countries{padding:28px 0 31px;border-bottom:1px solid rgba(255,255,255,.17)}
.v5-footer-countries h2{color:white;font-size:21px;margin:0 0 15px;font-weight:750}
.v5-countries-grid{display:grid;grid-template-columns:repeat(8, minmax(0,1fr));gap:12px}
.v5-countries-grid a{display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.14);border-radius:11px;padding:11px 7px;color:#eaf2ff;text-decoration:none;font-size:11px;text-align:center;background:rgba(255,255,255,.04);min-height:85px}
.v5-countries-grid a:hover{background:rgba(255,255,255,.11)}
.v5-flag{font-size:32px;line-height:1.2}.v5-flag img{width:45px;height:30px;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.15);display:block;object-fit:cover}
.v5-footer .footer-grid{padding-top:33px;padding-bottom:28px}
.v5-footer .footer-grid h3,.v5-footer .footer-brand{color:#fff}
.v5-footer .footer-grid a{color:#cbdaf1}
.v5-footer .footer-bottom{border-top:1px solid rgba(255,255,255,.13);padding:17px 0;color:#aebfd8}
.v5-company-link{display:inline-flex;margin:8px 0 10px;background:white;border-radius:7px;color:#0755a8;padding:8px 14px;text-decoration:none;font-weight:750}
.v5-product-rich{line-height:1.72}.v5-product-rich h2,.v5-product-rich h3{margin:19px 0 9px}.v5-product-rich p{margin:8px 0}.v5-product-rich table{width:100%;border-collapse:collapse}.v5-product-rich td,.v5-product-rich th{border:1px solid #d9e4ef;padding:10px}.v5-product-rich a{color:#0764b3}
.v5-variants{background:#f6f9fe;padding:16px 18px;border:1px solid #dbe8f7;border-radius:10px;margin-bottom:21px}
.v5-variants h3{margin:0 0 9px}.v5-variants label{display:block;font-size:12px;color:#40577c;margin-bottom:6px}
.v5-variant-select{width:100%;padding:11px;border:1px solid #d0dcec;border-radius:7px;background:white}
.v5-image-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.v5-match{display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid var(--v5-border);border-radius:12px;overflow:hidden;padding:10px;text-decoration:none;color:#082954}
.v5-match img{width:100%;height:170px;object-fit:contain;background:#f6f8fc;border-radius:8px}.v5-match span,.v5-match small{color:#697a91}
.v5-html-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}.v5-html-toolbar button{background:#edf3fb;border:1px solid #d4dff0;border-radius:5px;padding:6px 9px;color:#07346c;cursor:pointer;font-size:12px;font-weight:700}
.v5-html-toolbar button:hover{background:#dbeaff}
/* guard against the older navigation link color collision */
.header nav.nav .navlinks>a:not(.nav-right){color:#10385e!important}
@media(max-width:1250px){.header .header-main{flex-wrap:wrap}.brand.brand-v5{flex-basis:220px}.header-search-block{flex:1 1 380px}.v5-mega-panel{width:min(780px,calc(100vw - 45px))}.v5-mega-grid{grid-template-columns:repeat(3,1fr)}.v5-countries-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:820px){.header .navlinks{overflow-x:auto;overflow-y:visible;max-width:100%;gap:0}.v5-mega-panel{position:fixed;top:155px;left:4vw;width:92vw;max-height:65vh;overflow-y:auto}.v5-mega-grid{grid-template-columns:repeat(2,1fr)}.v5-image-results{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.brand.brand-v5{flex-basis:175px}.brand.brand-v5 img{height:57px}.v5-mega-grid{grid-template-columns:1fr}.v5-countries-grid{grid-template-columns:repeat(2,1fr)}.v5-image-results{grid-template-columns:1fr}.v5-image-search{flex-wrap:wrap}}


/* Vezolira 10.0.39: category mega menu accessibility and viewport containment.
   Scopes exclusively to the mega menu and navigation header; does not change dashboards. */
@media(min-width:821px){
  .header .navlinks{overflow:visible!important}
  .header .nav{overflow:visible!important}
  .header{z-index:1000}
  .header .v5-mega-wrapper{position:relative;z-index:1001}
  .header .v5-mega-panel{
     left:0;top:100%;position:absolute;
     width:min(1200px,calc(100vw - 42px));
     max-width:none;max-height:calc(100dvh - 145px);
     overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
     scrollbar-width:thin;scrollbar-color:#91a6be #f3f7fc;
     padding:22px 22px 14px;border-radius:0 0 16px 16px;
     box-shadow:0 18px 45px rgba(5,25,60,.20);z-index:1002;
  }
  .header .v5-mega-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:23px 25px;align-items:start}
  .header .v5-mega-group{min-width:0;break-inside:avoid}
  .header .v5-mega-group>a{line-height:1.5;padding:5px 0;overflow-wrap:anywhere}
  .header .v5-mega-footer{position:sticky;bottom:-14px;background:#fff;z-index:2;padding:14px 4px 12px}
}
@media(min-width:821px) and (max-width:1000px){
 .header .v5-mega-panel{width:calc(100vw - 28px);max-height:calc(100dvh - 155px);padding:17px}
 .header .v5-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
}
@media(max-width:820px){
 .header .v5-mega-panel{position:fixed;left:3vw;right:3vw;top:var(--v5-menu-top,150px);width:94vw;max-height:calc(100dvh - var(--v5-menu-top,150px) - 12px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;z-index:1100;padding:15px;box-sizing:border-box}
 .header .v5-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .header .v5-mega-group{min-width:0}
 .header .v5-mega-footer{position:sticky;bottom:-15px;background:#fff;padding:12px 0;flex-wrap:wrap}
}
@media(max-width:520px){
 .header .v5-mega-grid{grid-template-columns:1fr}
 .header .v5-mega-panel{left:2vw;right:2vw;width:96vw}
}

/* v10.0.40: all-category mega menu panel layout */
.header .v5-mega-panel{background:#fff!important;color:#16355c!important}
.header .v5-mega-menu-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 2px 14px;margin-bottom:16px;border-bottom:1px solid #e4eaf4}
.header .v5-mega-menu-intro strong{font-size:16px;color:#0c3568}
.header .v5-mega-menu-intro span{font-size:12px;color:#667a95}
.header .v5-mega-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px 24px!important;align-items:start!important}
.header .v5-mega-group{display:block!important;min-width:0!important;height:auto!important;overflow:visible!important;opacity:1!important;visibility:visible!important}
.header .v5-mega-group h3{margin:0 0 6px;font-size:14px}
.header .v5-mega-group a{display:block;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.header .v5-mega-panel{max-height:min(76vh,850px)!important;overflow-y:auto!important;overflow-x:hidden!important}
@media(max-width:1000px){.header .v5-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.header .v5-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.header .v5-mega-grid{grid-template-columns:1fr!important}}

/* v10.0.41 standalone mega menu. Scoped to .v41-mega to avoid homepage/dashboard collisions. */
.v41-mega{position:relative!important;z-index:201;align-items:stretch}
.v41-mega>.v41-panel{display:none!important;position:fixed!important;top:var(--v41-top,140px)!important;left:50%!important;transform:translateX(-50%)!important;width:min(1200px,calc(100vw - 32px))!important;height:min(70vh,700px)!important;max-height:calc(100dvh - var(--v41-top,140px) - 14px)!important;padding:0!important;background:#fff!important;border:1px solid #dbe6f2!important;border-radius:0 0 17px 17px!important;box-shadow:0 24px 55px #0b23443b!important;overflow:hidden!important;z-index:9999!important;color:#12375e!important}
.v41-mega.v5-open>.v41-panel:not([hidden]){display:flex!important;flex-direction:column!important}
.v41-mega:not(.v5-open)>.v41-panel{display:none!important}
.v41-panel .v41-top{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:18px 22px;background:#f5f8fd;border-bottom:1px solid #e4ebf5;flex:none}
.v41-top strong{display:block;font-size:21px;color:#10345f}.v41-top span{display:block;font-size:12px;color:#687d97;margin-top:4px}
.v41-close{border:1px solid #d6e3f1;background:#fff;color:#183d69;width:36px;height:36px;border-radius:9px;cursor:pointer;font-size:25px;line-height:1}
.v41-search-wrap{display:flex;align-items:center;gap:12px;padding:13px 22px;border-bottom:1px solid #e4ebf5;flex:none;background:white}
.v41-search-wrap .v41-search{width:100%;min-width:0;border:1px solid #cfdded;border-radius:10px;padding:12px 15px;font-size:14px;color:#143760;background:white;outline-offset:2px}
.v41-count{color:#647994;font-size:12px;white-space:nowrap}
.v41-body{display:grid;grid-template-columns:30% minmax(0,1fr);min-height:0;flex:1;overflow:hidden}
.v41-left{background:#f6f9fd;border-right:1px solid #e2eaf5;overflow-y:auto;overscroll-behavior:contain;padding:10px}
.v41-category{display:flex;align-items:center;justify-content:space-between;gap:12px;background:transparent;border:0;border-radius:9px;width:100%;color:#254463;text-align:left;cursor:pointer;font:700 13px/1.5 inherit;padding:12px 13px;margin:1px 0}
.v41-category:hover,.v41-category.is-active{background:#e5f0ff;color:#0753a7}.v41-category.is-active{box-shadow:inset 3px 0 #fb841c}
.v41-category span{font-size:18px}.v41-category[hidden]{display:none!important}
.v41-right{overflow-y:auto;overscroll-behavior:contain;padding:22px 25px;min-width:0;background:white}
.v41-group[hidden],.v41-no-results[hidden]{display:none!important}
.v41-group-title{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e7edf6;padding-bottom:14px;margin-bottom:16px}
.v41-group-title h3{font-size:20px;margin:0;color:#102f58}.v41-group-title a{font-size:12px;font-weight:800;color:#065caf}
.v41-subgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v41-sub{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #e4ebf5;border-radius:10px;padding:13px 12px;color:#24466f!important;font-size:13px;font-weight:650;line-height:1.35;min-width:0;background:#fff;text-decoration:none!important}
.v41-sub:hover{border-color:#9ec4ee;background:#f4f9ff;color:#0956a0!important}.v41-sub span{opacity:.55}
.v41-sub[hidden]{display:none!important}.v41-no-results,.v41-empty-group{color:#75859a;font-size:14px}
.v41-footer{display:flex;gap:25px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #e4ebf5;padding:13px 22px;background:#f8fbff;flex:none}
.v41-footer a{font-size:12px;font-weight:800;color:#065caf!important}
@media(max-width:850px){.v41-mega>.v41-panel{top:12px!important;max-height:calc(100dvh - 24px)!important;height:calc(100dvh - 24px)!important;width:calc(100vw - 24px)!important;border-radius:14px!important}.v41-body{grid-template-columns:38% minmax(0,1fr)}.v41-subgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.v41-body{grid-template-columns:42% minmax(0,1fr)}.v41-left{padding:5px}.v41-category{font-size:11px;padding:10px 7px}.v41-right{padding:14px 11px}.v41-subgrid{grid-template-columns:1fr}.v41-group-title{display:block}.v41-group-title h3{font-size:16px;margin-bottom:8px}.v41-search-wrap{padding:10px}.v41-top{padding:12px!important}.v41-footer{gap:10px;padding:10px}}
