/* NEXUS SYSTEM V25 - clean UI layer */
.nx-quickbar{max-width:1280px;margin:0 auto;padding:8px 14px;display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:none;background:rgba(9,18,31,.94);border:1px solid rgba(80,160,255,.14);border-top:0;border-radius:0 0 16px 16px;position:sticky;top:0;z-index:60;backdrop-filter:blur(12px)}
.nx-quickbar::-webkit-scrollbar{display:none}.nx-quickbar a{position:relative;min-height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;color:#eef7ff;text-decoration:none;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:linear-gradient(135deg,rgba(22,135,255,.09),rgba(124,58,237,.08));touch-action:manipulation}.nx-quickbar a:hover{border-color:rgba(56,189,248,.4);transform:translateY(-1px)}.nx-quick-badge{position:absolute;top:-5px;left:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:#087cff;color:#fff;font:700 10px/1 sans-serif;border:2px solid #09121f}.nx-notification-link{margin-right:auto}.nx-notification-link .nx-icon,.nx-quickbar .nx-icon{color:#fff;stroke:#fff}
/* classic, stable product/ad cards */
.products{align-items:stretch}.products .product{overflow:hidden;min-width:0;border:1px solid rgba(100,150,200,.16);border-radius:16px;background:linear-gradient(180deg,#101b2a,#0b1320);box-shadow:0 10px 28px rgba(0,0,0,.16);display:flex;flex-direction:column;padding:0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.products .product:hover{transform:translateY(-3px);border-color:rgba(56,189,248,.35);box-shadow:0 16px 35px rgba(0,0,0,.24)}.nx-product-media{display:flex;width:100%;aspect-ratio:4/3;align-items:center;justify-content:center;overflow:hidden;background:#111b29;border-bottom:1px solid rgba(255,255,255,.06)}.nx-product-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:14px;box-sizing:border-box}.nx-product-media.no-image{color:#7f92aa;font-size:13px}.products .product>a{display:block;text-decoration:none;color:inherit}.products .product>a h3{padding:0 16px;margin:14px 0 6px;line-height:1.65}.products .product>p,.products .product>b,.products .product>.product-card-meta,.products .product>.add-cart-form{margin-left:16px;margin-right:16px}.products .product>p{min-height:42px;color:#91a2b8;line-height:1.7}.products .product>b{font-size:16px;color:#fff}.products .product .btn{min-height:44px;border-radius:11px;touch-action:manipulation}
/* big category icons */
.cats a{min-height:165px;padding:22px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;border-radius:18px!important;background:linear-gradient(145deg,#0e2238,#15142a)!important;border:1px solid rgba(56,189,248,.16)!important}.category-icon{width:82px!important;height:82px!important;border-radius:22px!important;display:grid!important;place-items:center!important;color:#fff!important;background:linear-gradient(135deg,rgba(8,124,255,.2),rgba(124,58,237,.2));border:1px solid rgba(100,190,255,.2);box-shadow:0 12px 28px rgba(8,124,255,.12)}.category-icon svg{width:46px!important;height:46px!important;stroke:#fff!important}.cats a b{font-size:15px;color:#fff}.cats a small{color:#7f95ae}
/* mobile touch + no drifting controls */
button,a,input,select,textarea{touch-action:manipulation}.btn,.btn-outline,.filter-bar a{min-height:44px;box-sizing:border-box}.filter-bar{overflow-x:auto;flex-wrap:nowrap}.filter-bar a{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
@media(max-width:760px){.nx-quickbar{margin:0 8px;padding:7px;border-radius:12px}.nx-quickbar a{flex:0 0 auto;min-height:44px;padding:0 12px}.nx-quickbar a span{font-size:12px}.nx-notification-link{margin-right:0}.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.nx-product-media{aspect-ratio:1/1}.products .product>p{min-height:0;font-size:12px}.products .product>a h3{font-size:14px;padding-inline:12px;margin-top:11px}.products .product>p,.products .product>b,.products .product>.product-card-meta,.products .product>.add-cart-form{margin-left:12px;margin-right:12px}.products .product .btn{font-size:12px}.cats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.cats a{min-height:150px!important;padding:16px!important}.category-icon{width:70px!important;height:70px!important}.category-icon svg{width:40px!important;height:40px!important}}
@media(max-width:430px){.products{grid-template-columns:1fr!important}.cats{grid-template-columns:1fr 1fr!important}.nx-quickbar a{padding:0 10px}.nx-quickbar a span{font-size:11px}}

/* NEXUS 2026 FIX PACK */
.nx-quickbar{justify-content:center;}
.nx-quickbar .nx-notification-link{margin-right:0;}
.category-icon img{width:58px!important;height:58px!important;object-fit:contain;display:block;}
.hero-reference{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;}
.nx-gradient-title{background:linear-gradient(90deg,#55c7ff 0%,#6d8cff 45%,#a855f7 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;text-shadow:none;}
@media(max-width:760px){
 body{padding-bottom:78px;}
 .nx-quickbar{position:fixed;left:10px;right:10px;bottom:10px;top:auto;margin:0!important;padding:8px!important;border:1px solid rgba(80,160,255,.2);border-radius:18px!important;background:rgba(5,12,24,.96);box-shadow:0 18px 50px rgba(0,0,0,.45);z-index:9998;overflow-x:auto;justify-content:flex-start;}
 .nx-quickbar a{flex:1 0 70px;min-height:50px;flex-direction:column;gap:3px;padding:4px 8px;border:0;background:transparent;}
 .nx-quickbar a span{font-size:10px;}
 .nx-quickbar .nx-icon{width:22px;height:22px;}
 .nx-quick-badge{top:1px;left:calc(50% + 8px);}
 .category-icon img{width:52px!important;height:52px!important;}
}


/* ===== NEXUS FINAL FIX: stable header/nav + product video ===== */
.product-video{margin-top:34px;padding:20px}.product-video-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:#020712;border:1px solid rgba(67,215,255,.16)}.product-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.site-header{position:sticky!important;top:0!important;z-index:10010!important;transform:none!important;opacity:1!important}
@media(min-width:701px){
  .nx-quickbar{position:sticky!important;top:72px!important;z-index:10009!important;justify-content:center!important;transform:none!important;opacity:1!important}
}
@media(max-width:700px){
  body{padding-bottom:88px!important}
  .site-header{position:sticky!important;top:0!important;z-index:10010!important;background:rgba(5,12,24,.98)!important;backdrop-filter:blur(14px)!important}
  .nx-quickbar{position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;top:auto!important;width:auto!important;max-width:none!important;min-height:58px!important;height:58px!important;margin:0!important;padding:4px!important;box-sizing:border-box!important;border:1px solid rgba(80,160,255,.22)!important;border-radius:16px!important;background:rgba(5,12,24,.98)!important;box-shadow:0 10px 30px rgba(0,0,0,.42)!important;z-index:10020!important;overflow-x:auto!important;overflow-y:hidden!important;justify-content:space-around!important;align-items:stretch!important;gap:2px!important;transform:none!important;opacity:1!important}
  .nx-quickbar a{flex:1 1 0!important;min-width:58px!important;max-width:none!important;height:48px!important;min-height:48px!important;padding:2px 4px!important;box-sizing:border-box!important;border:0!important;border-radius:12px!important;background:transparent!important;transform:none!important;gap:2px!important}
  .nx-quickbar a span{font-size:9px!important;line-height:1.15!important;white-space:nowrap!important}
  .nx-quickbar .nx-icon{width:20px!important;height:20px!important}
  .nx-quick-badge{top:0!important;left:50%!important;margin-left:7px!important}
  .support-widget{left:10px!important;bottom:78px!important;z-index:10015!important}
  .support-panel{bottom:55px!important;max-height:calc(100vh - 150px)!important;overflow:auto!important}
  .product-video{margin-top:24px;padding:13px;border-radius:16px}
}
@media(max-width:380px){
  body{padding-bottom:84px!important}
  .nx-quickbar{left:6px!important;right:6px!important;bottom:6px!important;height:56px!important;min-height:56px!important}
  .nx-quickbar a{min-width:52px!important;height:46px!important;min-height:46px!important}
  .nx-quickbar a span{font-size:8px!important}
  .nx-quickbar .nx-icon{width:19px!important;height:19px!important}
}

/* NEXUS FINAL UI FIX — 2026-09-01 */
html,body{overflow-x:hidden!important}
.site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:10050!important;opacity:1!important;visibility:visible!important;transform:none!important}
.site-header .header-inner{min-height:72px}
body{padding-top:72px!important}
.nx-quickbar{box-sizing:border-box!important;justify-content:center!important}
@media(min-width:701px){
  .nx-quickbar{position:fixed!important;top:72px!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;border-radius:0 0 14px 14px!important;z-index:10040!important;opacity:1!important;visibility:visible!important;transform:none!important}
  body{padding-top:128px!important}
}
@media(max-width:700px){
  body{padding-top:72px!important;padding-bottom:82px!important}
  .site-header{height:72px!important}
  .site-header .header-inner{height:72px!important;min-height:72px!important}
  .nx-quickbar{position:fixed!important;left:6px!important;right:6px!important;bottom:6px!important;top:auto!important;width:auto!important;max-width:none!important;height:58px!important;min-height:58px!important;margin:0!important;padding:5px!important;display:flex!important;align-items:center!important;justify-content:space-around!important;gap:2px!important;overflow:hidden!important;border-radius:16px!important;z-index:10040!important;box-sizing:border-box!important}
  .nx-quickbar a{flex:1 1 0!important;min-width:0!important;width:auto!important;height:48px!important;min-height:48px!important;padding:3px 4px!important;gap:2px!important;flex-direction:column!important;border:0!important;border-radius:11px!important;box-sizing:border-box!important}
  .nx-quickbar a span{font-size:10px!important;line-height:1.1!important}
  .nx-quickbar .nx-icon{width:19px!important;height:19px!important;flex:none!important}
  .nx-quick-badge{top:1px!important;left:50%!important;margin-left:5px!important}
  /* Floating support must sit above, not behind/inside, the bottom nav. */
  .support-widget{left:12px!important;right:auto!important;bottom:76px!important;z-index:10030!important}
  .support-fab{width:48px!important;height:48px!important}
  .support-panel{bottom:54px!important;max-height:calc(100vh - 155px)!important;overflow:auto!important}
}
@media(max-width:380px){
  body{padding-bottom:78px!important}
  .nx-quickbar{left:5px!important;right:5px!important;bottom:5px!important;height:56px!important;min-height:56px!important}
  .nx-quickbar a{height:46px!important;min-height:46px!important}
  .nx-quickbar a span{font-size:9px!important}
}
.nx-gradient-title{
  background:linear-gradient(90deg,#38bdf8 0%,#60a5fa 42%,#a78bfa 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;color:transparent!important;
}
.hero.hero-reference{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.product-video{display:block!important;margin-top:28px!important}
.product-video-frame{position:relative!important;width:100%!important;aspect-ratio:16/9!important;overflow:hidden!important;border-radius:16px!important;background:#020712!important}
.product-video-frame iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important}


/* NEXUS SUPPORT MOBILE TEXT FIX */
.support-fab{direction:rtl;white-space:nowrap;justify-content:center;box-sizing:border-box;}
.support-fab>span:not(.support-pulse){white-space:nowrap;display:block;line-height:1.2;}
@media(max-width:700px){
  .support-widget{left:10px!important;right:auto!important;bottom:76px!important;}
  .support-fab{width:auto!important;min-width:112px!important;height:48px!important;padding:0 12px!important;gap:8px!important;}
  .support-fab b{flex:0 0 25px!important;}
  .support-pulse{flex:0 0 7px!important;}
}
@media(max-width:380px){
  .support-fab{min-width:106px!important;height:46px!important;padding:0 10px!important;font-size:12px!important;}
}


/* NEXUS V27.6 FINAL UI OVERRIDES */
html,body{max-width:100%;overflow-x:hidden}
.site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:72px!important;z-index:10050!important;opacity:1!important;visibility:visible!important;transform:none!important;background:rgba(5,12,24,.98)!important;backdrop-filter:blur(14px)!important}
body{padding-top:72px!important}
.nx-quickbar{position:fixed!important;top:72px!important;bottom:auto!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;border-radius:0 0 14px 14px!important;z-index:10040!important;opacity:1!important;visibility:visible!important;transform:none!important;box-sizing:border-box!important}
.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.products .product{min-width:0!important}
.products .product>a h3{font-size:15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.products .product>p{font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card-meta{display:block!important;font-size:11px;color:#7f96b2;margin-top:7px!important}
.support-widget{position:fixed!important;right:20px!important;left:auto!important;bottom:20px!important;z-index:10060!important}
.support-panel{right:0!important;left:auto!important}
@media(max-width:1100px){.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){
 body{padding-top:66px!important;padding-bottom:76px!important}
 .site-header{height:66px!important}
 .nx-quickbar{top:auto!important;bottom:7px!important;left:7px!important;right:7px!important;width:auto!important;height:58px!important;min-height:58px!important;border-radius:16px!important;justify-content:space-around!important;padding:5px!important;overflow:hidden!important}
 .nx-quickbar a{min-width:0!important;flex:1 1 0!important;height:48px!important;min-height:48px!important;padding:3px 3px!important}
 .nx-quickbar a span{font-size:10px!important}
 .products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .products .product{border-radius:13px!important}
 .nx-product-media{aspect-ratio:1/1!important}
 .products .product>a h3{font-size:13px!important;padding-inline:9px!important;margin:9px 0 4px!important}
 .products .product>p{font-size:11px!important;margin-inline:9px!important;line-height:1.55!important}
 .products .product>b{font-size:13px!important;margin-inline:9px!important}
 .products .product>.product-card-meta{margin-inline:9px!important}
 .products .product>.add-cart-form{margin-inline:9px!important}
 .products .product .btn{font-size:11px!important;min-height:38px!important;padding:7px 6px!important}
 .support-widget{right:12px!important;left:auto!important;bottom:76px!important}
 .support-panel{right:0!important;left:auto!important;width:min(340px,calc(100vw - 24px))!important;bottom:58px!important}
}
@media(max-width:430px){
 .products{gap:8px!important}
 .products .product>a h3{font-size:12px!important}
 .products .product>p{display:none!important}
 .products .product>b{font-size:12px!important}
 .support-widget{right:10px!important}
}
@media(min-width:761px){.support-widget{right:20px!important;left:auto!important}.nx-quickbar{justify-content:center!important}}

.password-wrap{position:relative;display:flex;align-items:center}.password-wrap input{padding-left:72px!important;width:100%}.password-toggle{position:absolute;left:7px;top:50%;transform:translateY(-50%);border:1px solid #234566;background:#0a1b2d;color:#9ccfff;border-radius:8px;padding:5px 9px;cursor:pointer;font-size:11px}.product-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.product-trust-item{padding:12px;border:1px solid rgba(80,150,220,.14);border-radius:12px;background:rgba(255,255,255,.025);text-align:center}.product-trust-item b{display:block;font-size:12px}.product-trust-item small{display:block;color:#8094ad;margin-top:4px}@media(max-width:760px){.product-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* V27.7 final UX fixes */
.site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:10050!important;backdrop-filter:blur(var(--nx-header-blur,14px));background:rgba(4,10,18,.92)!important}
body{padding-top:70px!important}
.hero-reference{border-radius:0 0 28px 28px!important;overflow:hidden!important;box-shadow:0 18px 55px rgba(0,0,0,.22)}
.product-specs{margin-top:20px;padding:18px!important}.spec-list{display:grid;gap:8px}.spec-row{display:grid;grid-template-columns:minmax(110px,.4fr) 1fr;gap:12px;padding:10px 12px;border:1px solid rgba(80,150,220,.12);border-radius:10px;background:rgba(255,255,255,.025)}.spec-row b{color:#8fc9ff}.spec-row span{color:#d4deea;overflow-wrap:anywhere}
.password-wrap{position:relative!important;width:100%!important}.password-wrap input{padding-left:82px!important;box-sizing:border-box!important}.password-toggle{left:8px!important;right:auto!important;z-index:3!important;white-space:nowrap!important;min-width:58px!important;line-height:1.2!important}
.support-widget{right:16px!important;left:auto!important}.support-panel{right:0!important;left:auto!important}.support-fab{max-width:calc(100vw - 32px)!important}
.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}.products .product{min-width:0!important}.products .product h3{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.products .product>p{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@media(max-width:1000px){.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body{padding-top:122px!important;padding-bottom:78px!important}.site-header{height:66px!important}.support-widget{right:10px!important;left:auto!important;bottom:76px!important}.support-panel{right:0!important;left:auto!important;width:min(330px,calc(100vw - 20px))!important}.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.products .product{border-radius:12px!important}.products .product .nx-product-media{aspect-ratio:1/1!important}.products .product>a h3{font-size:13px!important;padding-inline:9px!important}.products .product>p,.products .product>b,.products .product>.product-card-meta,.products .product>.add-cart-form{margin-inline:9px!important}.products .product .btn{min-height:40px!important;padding:8px 7px!important}.product-specs{padding:12px!important}.spec-row{grid-template-columns:1fr;gap:4px}.hero-reference{border-radius:0 0 20px 20px!important}}
@media(max-width:400px){.products{gap:7px!important}.products .product .btn{font-size:11px!important}.password-toggle{min-width:54px!important;padding:5px 7px!important}}

/* V27.8 backend/UI hardening */
.hero-reference{margin-top:var(--hero-margin-top,18px)!important;border-radius:var(--hero-radius,28px)!important;overflow:hidden!important}
.gallery-specs{margin-top:14px!important;padding:16px!important}.gallery-specs h2{font-size:18px;margin:0 0 12px}.gallery-specs .spec-row{grid-template-columns:minmax(100px,.7fr) 1.3fr}
.support-widget[data-side="left"]{left:16px!important;right:auto!important}.support-widget[data-side="left"] .support-panel{left:0!important;right:auto!important}
.support-widget[data-side="right"]{right:16px!important;left:auto!important}.support-widget[data-side="right"] .support-panel{right:0!important;left:auto!important}
@media(max-width:760px){.hero-reference{margin-top:12px!important;border-radius:20px!important}.gallery-specs{margin-top:10px!important}.gallery-specs .spec-row{grid-template-columns:1fr}.support-widget[data-side="right"]{right:10px!important}.support-widget[data-side="left"]{left:10px!important}}
/* keep password controls inside their fields */
.password-wrap{min-width:0!important}.password-wrap input{padding-inline-start:78px!important;max-width:100%!important}.password-toggle{max-width:64px!important;overflow:hidden!important}

/* V27.8 configurable product columns */
@media(min-width:1001px){.products{grid-template-columns:repeat(var(--nx-products-cols,4),minmax(0,1fr))!important}}

/* V27.9 stability + responsive admin */
.admin-nav-badge{display:inline-flex;min-width:20px;height:20px;padding:0 6px;align-items:center;justify-content:center;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;margin-inline-start:7px}
.admin-alert-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}.admin-alert-card{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid rgba(90,176,255,.18);border-radius:14px;background:#071426;color:#dbeafe;text-decoration:none}.admin-alert-card b{font-size:20px}.admin-alert-card span{font-size:12px;color:#8fa2bd}
.message-thread{display:flex;flex-direction:column;gap:10px;min-height:320px;max-height:520px;overflow:auto;padding:16px;border-radius:18px;background:radial-gradient(circle at top,#0b1b30,#040a12);border:1px solid rgba(100,160,220,.12)}.support-message{max-width:78%;padding:11px 14px;border-radius:16px;box-shadow:0 5px 18px rgba(0,0,0,.12)}.support-message.customer-message{align-self:flex-start;background:#101c2c;border-top-right-radius:5px}.support-message.admin-message{align-self:flex-end;background:#0d4b72;border-top-left-radius:5px}.support-message p{margin:5px 0;line-height:1.8;white-space:pre-wrap}.support-message small{opacity:.65}.ticket-reply{display:flex;gap:10px;align-items:flex-end;margin-top:12px}.ticket-reply textarea{flex:1;resize:vertical}.admin-alert-card:hover{border-color:rgba(90,176,255,.4);transform:translateY(-1px)}
@media(max-width:760px){
 .admin-alert-strip{grid-template-columns:1fr}.admin-alert-card{min-height:54px}.support-message{max-width:88%}.ticket-reply{flex-direction:column;align-items:stretch}.ticket-reply .btn{width:100%}.admin-menu a{position:relative;padding-inline-end:18px}.admin-nav-badge{float:left;margin-inline-start:0}.admin-main{min-width:0}.admin-table{min-width:720px}
 .form-grid,.admin-form-grid{grid-template-columns:1fr!important}.btn,.btn-outline,button,input,select,textarea{max-width:100%;box-sizing:border-box}.support-admin-grid{grid-template-columns:1fr!important}.message-thread{max-height:55vh}
}

/* V27.9 settings are live, not decorative */
:root{--nx-button-radius:var(--nx-button-radius,12px);--nx-card-radius:var(--nx-card-radius,16px)}
.btn,.btn-outline,.favorite-btn,.share-btn{border-radius:var(--nx-button-radius)!important}.products .product,.panel,.mini-card,.admin-card{border-radius:var(--nx-card-radius)!important}
.hero-reference{margin-top:var(--hero-margin-top,18px)!important;min-height:var(--hero-min-height,500px)!important;border-radius:var(--hero-radius,28px)!important;box-shadow:var(--hero-shadow,1) 0 22px 60px rgba(0,0,0,.25)}
@media(max-width:760px){.hero-reference{margin-top:var(--hero-margin-top,12px)!important;min-height:360px!important;border-radius:20px!important}.site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1000!important}.nx-quickbar{z-index:1100!important}.support-widget{z-index:1200!important}.support-panel{z-index:1201!important;max-width:calc(100vw - 20px)!important}}

/* NEXUS V28 — Telegram-like support + stable mobile navigation */
.support-layout{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.8fr);gap:18px;align-items:start}
.support-tickets{min-height:560px}.ticket-conversation{display:flex;flex-direction:column;min-height:520px}
.ticket-conversation .message-thread{flex:1;max-height:480px;overflow:auto;padding:18px 8px;display:flex;flex-direction:column;gap:10px;background:rgba(8,18,34,.32);border-radius:18px}
.message-thread{scrollbar-width:thin}
.support-message{max-width:min(78%,620px);padding:11px 14px;border-radius:18px;box-shadow:0 4px 16px rgba(0,0,0,.12);position:relative}
.support-message p{margin:5px 0 4px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.support-message small{opacity:.62;font-size:11px}
.customer-message{align-self:flex-end;background:linear-gradient(135deg,rgba(8,124,255,.22),rgba(56,189,248,.12));border-bottom-right-radius:5px}
.admin-message{align-self:flex-start;background:rgba(255,255,255,.07);border-bottom-left-radius:5px}
.ticket-reply{display:flex;gap:10px;align-items:flex-end;margin-top:12px;position:sticky;bottom:0;padding-top:8px;background:linear-gradient(transparent,var(--bg,#07111f) 22%)}
.ticket-reply textarea{flex:1;resize:none;min-height:48px;max-height:130px;border-radius:16px}
.ticket-reply .btn{white-space:nowrap;height:48px}
.notification-row{border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:12px;margin:8px 0;display:flex;flex-direction:column;gap:5px}
.notification-row.unread{border-color:rgba(8,124,255,.45);background:rgba(8,124,255,.07)}
.nx-quick-badge{min-width:19px;height:19px;padding:0 5px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#ef4444;color:#fff;font-size:11px;font-weight:900}
.admin-alert-card{position:relative}
@media(max-width:800px){
 .support-layout{grid-template-columns:1fr}
 .support-compose{order:2}.support-tickets{order:1}
 .ticket-conversation .message-thread{max-height:58vh}
 .support-message{max-width:88%}
 .ticket-reply{gap:7px}.ticket-reply .btn{padding-inline:13px}
 .main-nav{width:100%;left:0;right:0}
 .header-inner{flex-wrap:wrap}
}
@media(min-width:801px){.main-nav{justify-content:center;flex:1}.header-search{min-width:250px}}


/* V28.1 — Fullscreen Telegram/WhatsApp-style support messenger */
.support-body{padding-bottom:0!important;overflow:hidden!important;background:#06101d!important}
.support-body>footer{display:none!important}
.support-body .nx-quickbar{display:none!important}
.support-body .support-widget{display:none!important}
.support-app{height:calc(100vh - 70px);min-height:620px;width:100%;max-width:none;margin:0;padding:0;display:grid;grid-template-columns:360px minmax(0,1fr);direction:rtl;background:#07111f;border-top:1px solid rgba(255,255,255,.06)}
.support-sidebar{min-width:0;display:flex;flex-direction:column;background:#091523;border-left:1px solid rgba(255,255,255,.08);overflow:hidden}
.support-sidebar-head{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.07)}
.support-sidebar-head h1{margin:0;font-size:21px}.support-sidebar-head .eyebrow{font-size:9px}.support-new-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--nx-primary),var(--nx-secondary));color:#fff;font-size:25px;box-shadow:0 8px 22px rgba(0,0,0,.25)}
.support-profile-mini{display:flex;align-items:center;gap:10px;padding:12px 15px;background:rgba(255,255,255,.025);border-bottom:1px solid rgba(255,255,255,.05)}
.support-profile-mini small,.support-ticket small,.support-notif small{display:block;color:#7890aa;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-avatar,.support-ticket-avatar{flex:0 0 auto;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--nx-primary),var(--nx-secondary));color:#fff;font-weight:900}.support-ticket-avatar{width:42px;height:42px;font-size:13px}
.support-ticket-list{flex:1;overflow:auto;padding:7px}.support-ticket{display:flex;align-items:center;gap:10px;padding:11px;border-radius:12px;color:#dce8f6;transition:.15s}.support-ticket:hover{background:rgba(255,255,255,.045)}.support-ticket.active{background:linear-gradient(90deg,rgba(8,124,255,.18),rgba(124,58,237,.10));box-shadow:inset -3px 0 var(--nx-primary)}.support-ticket-main{min-width:0;flex:1}.support-ticket-main b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.support-status-dot{width:8px;height:8px;border-radius:50%;background:#64748b}.support-status-dot.open,.support-status-dot.answered{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.08)}
.support-sidebar-bottom{max-height:235px;border-top:1px solid rgba(255,255,255,.07);padding:12px;overflow:auto}.support-notif-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.support-notif-head span{font-size:10px;min-width:20px;height:20px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:#10253b;color:#8dc7ff}.support-notif{padding:9px;border-radius:10px;background:rgba(255,255,255,.025);margin-top:6px}.support-notif b{font-size:11px;display:block}.support-notif time{font-size:9px;color:#5f7690}.support-notif.unread{border-right:2px solid var(--nx-accent);background:rgba(8,124,255,.06)}
.support-chat{min-width:0;display:flex;flex-direction:column;position:relative;background:radial-gradient(circle at 50% 0,rgba(18,79,125,.16),transparent 35%),#06101c;background-image:radial-gradient(circle at 50% 0,rgba(18,79,125,.16),transparent 35%),linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);background-size:auto,42px 42px,42px 42px}
.support-chat-head{height:76px;flex:0 0 76px;display:flex;align-items:center;gap:11px;padding:0 22px;background:rgba(7,18,31,.94);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);z-index:2}.support-chat-head h2{font-size:15px;margin:0}.support-chat-head small{color:#7890aa;font-size:10px}.support-online{margin-right:auto;font-size:10px;color:#7ce3a4;display:flex;align-items:center;gap:6px}.support-online i{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 10px #22c55e}
.support-messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:24px clamp(16px,5vw,80px) 18px;display:flex;flex-direction:column;gap:8px}.support-day{align-self:center;margin:3px 0 10px}.support-day span{font-size:10px;color:#7e93aa;background:rgba(9,24,40,.8);padding:5px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.05)}
.support-message{position:relative;max-width:min(68%,650px);padding:8px 11px 19px;border-radius:14px;box-shadow:0 3px 12px rgba(0,0,0,.18)}.support-message.customer-message{align-self:flex-end;background:linear-gradient(135deg,#0d5f9a,#0a4774);border-bottom-right-radius:4px}.support-message.admin-message{align-self:flex-start;background:#172535;border-bottom-left-radius:4px}.support-message-name{font-size:9px;font-weight:800;opacity:.72;margin-bottom:2px}.support-message-body{font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.support-message-time{position:absolute;left:9px;bottom:4px;font-size:8px;opacity:.55;direction:ltr}
.support-composer{display:flex;align-items:flex-end;gap:8px;padding:10px max(14px,4vw) 13px;background:rgba(6,16,28,.95);border-top:1px solid rgba(255,255,255,.07);z-index:3}.support-composer textarea{flex:1;min-width:0;min-height:48px;max-height:130px;resize:none;border-radius:24px!important;padding:12px 17px!important;background:#0d1b2b!important;border:1px solid #1b3854!important;line-height:1.6}.support-composer button{width:48px;height:48px;flex:0 0 48px;border:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--nx-primary),var(--nx-secondary));color:#fff;cursor:pointer;box-shadow:0 7px 20px rgba(0,0,0,.25)}
.support-welcome{margin:auto;text-align:center;max-width:430px;padding:35px}.support-welcome-icon{width:90px;height:90px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;font-size:38px;background:linear-gradient(135deg,rgba(8,124,255,.2),rgba(124,58,237,.2));border:1px solid rgba(56,189,248,.18)}.support-welcome h2{margin:0 0 7px}.support-welcome p{color:#8195ac;font-size:13px;margin:0 0 20px}
.support-empty{text-align:center;padding:25px 12px;color:#8094ab;font-size:12px}.support-empty.small{padding:10px}
.support-toast{position:fixed;top:84px;left:50%;transform:translateX(-50%);z-index:99999;padding:10px 18px;border-radius:999px;box-shadow:0 10px 35px rgba(0,0,0,.3);font-size:12px}.support-toast.success{background:#0b5d43;color:#d9fff1}.support-toast.error{background:#6b2029;color:#ffe5e8}
.support-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.68);backdrop-filter:blur(7px);z-index:100000}.support-modal:target{display:flex}.support-modal-card{position:relative;width:min(520px,100%);padding:26px;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:linear-gradient(145deg,#0b1828,#0a1120);box-shadow:0 30px 100px rgba(0,0,0,.55)}.support-modal-card h2{margin:7px 0}.support-modal-card>p{color:#8194ab;font-size:12px}.support-modal-card form{display:grid;gap:12px;margin-top:18px}.support-modal-card label{display:grid;gap:6px;font-size:12px;color:#a9bdd3}.support-modal-card input,.support-modal-card textarea{width:100%;box-sizing:border-box}.support-modal-card textarea{resize:vertical}.support-modal-close{position:absolute;top:12px;left:15px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#15263a;color:#fff;font-size:23px}
@media(max-width:800px){.support-body{overflow:auto!important}.support-app{height:calc(100vh - 122px);min-height:560px;grid-template-columns:1fr}.support-sidebar{display:none}.support-chat{min-height:calc(100vh - 122px)}.support-chat-head{height:64px;flex-basis:64px;padding:0 13px}.support-chat-head .support-avatar{width:36px;height:36px}.support-messages{padding:18px 10px 12px}.support-message{max-width:88%;font-size:12px}.support-composer{padding:8px 8px 10px}.support-composer button{width:46px;height:46px;flex-basis:46px}.support-welcome{padding:25px}.support-toast{top:132px;max-width:90%;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-body .nx-quickbar{display:none!important}}
@media(min-width:801px){.support-body .site-header{height:70px!important}.support-body .site-header .header-inner{min-height:70px}.support-body .main-nav{justify-content:center!important}.support-body .header-search{max-width:390px}.support-body .support-modal{display:none}}


/* ===== NEXUS V29 — iOS 26 Glass UI / Telegram polish ===== */
:root{
  --nx-glass-bg:rgba(12,24,42,.58);
  --nx-glass-bg-strong:rgba(10,20,35,.76);
  --nx-glass-border:rgba(255,255,255,.12);
  --nx-glass-highlight:rgba(255,255,255,.07);
  --nx-glass-shadow:0 20px 60px rgba(0,0,0,.28);
  --nx-radius-xl:28px;
  --nx-radius-lg:22px;
  --nx-radius-md:16px;
}

/* Glass surfaces across the storefront */
.site-header,
.nx-quickbar,
.panel,
.product,
.cats>* ,
.ad,
.gallery-main,
.review-composer,
.review-card,
.article-card,
.article-hero,
.admin-card,
.admin-table,
.support-compose,
.support-tickets,
.admin-notify,
.media-manager-card,
.support-panel{
  background:var(--nx-glass-bg)!important;
  border-color:var(--nx-glass-border)!important;
  box-shadow:var(--nx-glass-shadow);
  backdrop-filter:blur(24px) saturate(140%);
  -webkit-backdrop-filter:blur(24px) saturate(140%);
}

.site-header{border-bottom-color:rgba(255,255,255,.10)!important}
.nx-quickbar{border-color:var(--nx-glass-border)!important}
.logo-slot,.nav-toggle,.main-nav a,.btn-outline,.filter-pill,.support-ticket,
.support-modal-close,.support-notif,.support-day span{border-color:var(--nx-glass-border)!important}

.btn,
.btn-outline,
.support-new-btn,
.support-composer button,
.support-modal-card .btn{
  border-radius:999px!important;
}

.btn-outline,
.btn,
input,textarea,select,
.panel input,.panel textarea,.panel select,
.support-composer textarea,
.support-modal-card input,.support-modal-card textarea{
  border-radius:16px!important;
}

input,textarea,select{
  background:rgba(5,14,28,.52)!important;
  border-color:rgba(255,255,255,.11)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 30px rgba(0,0,0,.08);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

/* More consistent rounded corners */
.product img,.ad img,.gallery-thumbs img,.article-cover,.comment-item,.ticket-item,
.trust-item,.service-card,.service-icon,.category-icon,.review-action,.support-avatar,
.support-ticket-avatar,.support-message,.support-welcome-icon,.support-toast{
  border-radius:18px!important;
}

/* Hero sits below the sticky header instead of touching/interfering with it */
.hero-reference{margin-top:28px!important;border-radius:var(--nx-radius-xl)!important;overflow:hidden!important}
.hero{border-radius:var(--nx-radius-xl);}
@media(max-width:900px){.hero-reference{margin-top:20px!important}}
@media(max-width:560px){.hero-reference{margin-top:14px!important;border-radius:20px!important}}

/* Full-page Telegram-like support window */
.support-app{height:calc(100vh - 76px)!important;min-height:calc(100vh - 76px)!important;border-radius:0!important}
.support-sidebar,.support-chat{background:rgba(7,16,29,.54)!important;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%)}
.support-sidebar-head,.support-profile-mini,.support-chat-head,.support-composer{background:rgba(7,17,30,.55)!important;backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%)}
.support-ticket{border:1px solid transparent;border-radius:18px!important}
.support-ticket.active{border-color:rgba(56,189,248,.20)!important}
.support-message{border:1px solid rgba(255,255,255,.10)!important;border-radius:20px!important}
.support-message.customer-message{border-bottom-right-radius:7px!important}
.support-message.admin-message{border-bottom-left-radius:7px!important}
.support-composer{border-top-color:rgba(255,255,255,.10)!important}
.support-composer textarea{background:rgba(10,26,43,.68)!important;border-color:rgba(255,255,255,.11)!important}

/* FIX: new-ticket modal was accidentally disabled on desktop in V28 */
.support-modal:target{display:flex!important}
.support-modal-card{background:rgba(10,21,36,.78)!important;border-color:rgba(255,255,255,.14)!important;backdrop-filter:blur(30px) saturate(145%);-webkit-backdrop-filter:blur(30px) saturate(145%);border-radius:28px!important}
@media(min-width:801px){.support-modal{display:none}.support-modal:target{display:flex!important}}

/* Remove visual duplication from the desktop header: quick-nav owns cart/account/support */
@media(min-width:801px){
  .main-nav{gap:6px!important}
  .main-nav a{border-radius:14px!important}
}

/* Soft iOS-style separators and highlights */
.card,.panel,.product,.ad,.review-card,.article-card,.admin-card{box-shadow:inset 0 1px 0 var(--nx-glass-highlight),var(--nx-glass-shadow)}

@media(max-width:800px){
  .support-app{height:calc(100vh - 122px)!important;min-height:calc(100vh - 122px)!important}
  .support-modal{padding:12px!important}
  .support-modal-card{padding:22px 18px!important}
}


/* ================================================================
   NEXUS V30 — COMPLETE GLASS REDESIGN / iOS 26 INSPIRED
   ================================================================ */
:root{
  --nx-glass:rgba(18,30,50,.52);
  --nx-glass-strong:rgba(12,22,39,.72);
  --nx-glass-soft:rgba(255,255,255,.055);
  --nx-line:rgba(255,255,255,.12);
  --nx-line-soft:rgba(255,255,255,.075);
  --nx-shadow:0 24px 80px rgba(0,0,0,.28);
  --nx-radius:22px;
  --nx-radius-sm:16px;
}
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(900px 500px at 8% -5%,rgba(8,124,255,.16),transparent 65%),
    radial-gradient(800px 500px at 95% 12%,rgba(124,58,237,.12),transparent 62%),
    #050b15!important;
}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(120deg,rgba(255,255,255,.018),transparent 35%,rgba(255,255,255,.012));}

/* Header / navigation */
.site-header{
  background:rgba(7,14,26,.64)!important;
  border-bottom:1px solid var(--nx-line)!important;
  box-shadow:0 10px 45px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(28px) saturate(160%)!important;
  -webkit-backdrop-filter:blur(28px) saturate(160%)!important;
}
.header-inner{gap:18px!important}
.brand,.header-search,.nav-toggle{border:1px solid var(--nx-line-soft);background:rgba(255,255,255,.035);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.brand{padding:6px 10px 6px 8px;border-radius:18px!important}
.logo-slot{border-radius:14px!important;border-color:var(--nx-line)!important;background:rgba(255,255,255,.05)!important}
.header-search{border-radius:18px!important;padding:3px 6px}
.header-search form{background:transparent!important}
.header-search input{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:14px!important}
@media(max-width:800px){.main-nav{display:none!important}.nav-toggle{display:none!important}}
.nx-quickbar{
  max-width:1180px!important;
  margin:10px auto 0!important;
  padding:7px!important;
  border:1px solid var(--nx-line)!important;
  border-radius:20px!important;
  background:rgba(10,19,34,.58)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(26px) saturate(150%)!important;
  -webkit-backdrop-filter:blur(26px) saturate(150%)!important;
}
.nx-quickbar a{border:1px solid transparent!important;border-radius:15px!important;background:rgba(255,255,255,.035)!important;transition:.2s ease!important}
.nx-quickbar a:hover,.nx-quickbar a:focus-visible{background:rgba(255,255,255,.085)!important;border-color:var(--nx-line)!important;transform:none!important}
.nx-quick-badge{border-color:#0a1423!important}

/* Global glass surfaces */
.panel,.product,.ad,.article-card,.article-hero,.gallery-main,.review-card,.review-composer,
.service-card,.feature,.mini-card,.account-notifications,.track-result,.cart-table-wrap,
.admin-card,.admin-table,.filter-bar a,.cats>*{
  background:var(--nx-glass)!important;
  border:1px solid var(--nx-line-soft)!important;
  border-radius:var(--nx-radius)!important;
  box-shadow:var(--nx-shadow),inset 0 1px 0 rgba(255,255,255,.055)!important;
  backdrop-filter:blur(24px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(145%)!important;
}
.product,.ad,.article-card,.review-card,.mini-card{overflow:hidden}
.product:hover,.ad:hover,.article-card:hover,.cats>*:hover{border-color:rgba(90,176,255,.24)!important;transform:translateY(-2px)}
.product img,.ad img,.gallery-main img,.gallery-thumbs img,.article-cover,.category-icon,.service-icon{border-radius:18px!important}

/* Inputs: never black text on dark glass */
input,textarea,select,.panel input,.panel textarea,.panel select,
.support-modal-card input,.support-modal-card textarea,.support-composer textarea{
  color:#f4f8ff!important;
  caret-color:#fff!important;
  background:rgba(4,12,23,.55)!important;
  border:1px solid var(--nx-line)!important;
  border-radius:17px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 30px rgba(0,0,0,.08)!important;
}
input::placeholder,textarea::placeholder{color:#8da1bb!important;opacity:1!important}
input:focus,textarea:focus,select:focus{outline:none!important;border-color:rgba(56,189,248,.48)!important;box-shadow:0 0 0 4px rgba(56,189,248,.08),inset 0 1px 0 rgba(255,255,255,.05)!important}

/* Buttons */
.btn,.btn-outline,button.btn,.support-new-btn,.support-composer button{border-radius:16px!important}
.btn{border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 12px 32px rgba(8,124,255,.18),inset 0 1px 0 rgba(255,255,255,.18)!important}
.btn-outline{background:rgba(255,255,255,.045)!important;border-color:var(--nx-line)!important}

/* Hero spacing and glass frame */
.hero{margin-top:26px!important;border:1px solid var(--nx-line-soft);border-radius:30px!important;overflow:hidden;background:linear-gradient(135deg,rgba(9,28,51,.62),rgba(10,14,28,.34))!important;box-shadow:var(--nx-shadow),inset 0 1px 0 rgba(255,255,255,.05)!important;backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important}
.hero-reference{margin-top:26px!important;border-radius:30px!important;overflow:hidden!important}
.orb{border-radius:30px!important;border-color:var(--nx-line)!important;background:radial-gradient(circle at 50% 45%,rgba(20,94,166,.32),rgba(4,10,20,.52) 68%)!important;box-shadow:inset 0 0 80px rgba(8,124,255,.08),0 25px 70px rgba(0,0,0,.22)!important}

/* Support: true messenger app */
.support-body{background:#050c17!important}
.support-app{margin-top:14px!important;border:1px solid var(--nx-line)!important;border-radius:28px!important;overflow:hidden!important;box-shadow:0 30px 100px rgba(0,0,0,.32)!important;background:rgba(6,14,26,.55)!important;backdrop-filter:blur(28px)!important;-webkit-backdrop-filter:blur(28px)!important}
.support-sidebar,.support-chat{background:rgba(8,17,30,.52)!important}
.support-sidebar{border-left:1px solid var(--nx-line-soft)!important}
.support-sidebar-head,.support-profile-mini,.support-chat-head,.support-composer{background:rgba(9,19,33,.54)!important;backdrop-filter:blur(26px)!important;-webkit-backdrop-filter:blur(26px)!important}
.support-sidebar-head{padding:18px!important}
.support-profile-mini{margin:10px 12px!important;border:1px solid var(--nx-line-soft)!important;border-radius:18px!important;padding:11px!important}
.support-ticket{margin:5px 9px!important;border:1px solid transparent!important;border-radius:17px!important;background:rgba(255,255,255,.025)!important}
.support-ticket:hover{background:rgba(255,255,255,.06)!important}
.support-ticket.active{background:rgba(56,189,248,.09)!important;border-color:rgba(56,189,248,.24)!important}
.support-notif{border:1px solid var(--nx-line-soft)!important;border-radius:16px!important;background:rgba(255,255,255,.03)!important}
.support-messages{background:radial-gradient(circle at 50% 0,rgba(14,73,125,.13),transparent 40%)!important}
.support-message{border:1px solid rgba(255,255,255,.10)!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(0,0,0,.16)!important}
.support-message.customer-message{background:linear-gradient(145deg,rgba(11,103,169,.88),rgba(8,69,115,.82))!important}
.support-message.admin-message{background:rgba(28,43,61,.82)!important}
.support-composer{padding:12px 18px 15px!important}
.support-composer textarea{background:rgba(7,18,32,.72)!important}

/* Reliable create-ticket modal */
body.modal-open{overflow:hidden!important}
.support-modal{display:none!important;visibility:hidden;opacity:0;pointer-events:none;background:rgba(0,0,0,.56)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
.support-modal.is-open{display:flex!important;visibility:visible;opacity:1;pointer-events:auto}
.support-modal-card{background:rgba(14,25,42,.78)!important;border:1px solid var(--nx-line)!important;border-radius:28px!important;box-shadow:0 35px 100px rgba(0,0,0,.48)!important;backdrop-filter:blur(34px) saturate(155%)!important;-webkit-backdrop-filter:blur(34px) saturate(155%)!important}
.support-modal-card label{color:#c5d2e2!important}
.support-modal-card input,.support-modal-card textarea{color:#f7fbff!important}
.support-modal-close{border:1px solid var(--nx-line)!important;background:rgba(255,255,255,.06)!important;border-radius:50%!important}

/* Tables/cards on smaller screens */
.admin-table{overflow:auto}

@media(min-width:801px){
  .site-header .header-inner{max-width:1180px!important}
  .header-search{order:1;flex:1;max-width:430px}
  .brand{order:2}
  .nav-toggle{display:none!important}
  .support-app{height:calc(100vh - 118px)!important;min-height:650px!important}
}
@media(max-width:800px){
  body{padding-top:78px!important;padding-bottom:76px!important}
  .site-header{height:66px!important}
  .site-header .header-inner{height:66px!important;min-height:66px!important;padding:0 9px!important}
  .brand{padding:4px 8px!important;border-radius:16px!important}
  .brand-text{font-size:14px!important}
  .logo-slot{width:38px!important;height:38px!important}
  .header-search{flex:1;max-width:none!important;border-radius:15px!important}
  .header-search input{font-size:11px!important}
  .nx-quickbar{left:8px!important;right:8px!important;bottom:8px!important;top:auto!important;width:auto!important;height:60px!important;min-height:60px!important;margin:0!important;border-radius:20px!important;padding:5px!important;z-index:10040!important;background:rgba(8,17,30,.68)!important}
  .nx-quickbar a{height:48px!important;min-height:48px!important;border-radius:15px!important;background:rgba(255,255,255,.035)!important}
  .nx-quickbar a:active{background:rgba(56,189,248,.12)!important}
  .hero{margin-top:18px!important;border-radius:24px!important;min-height:0!important;padding:44px 22px!important}
  .hero-reference{margin-top:18px!important;border-radius:24px!important}
  .cats>*{border-radius:19px!important}
  .products .product{border-radius:20px!important}
  .support-body{padding-top:78px!important;padding-bottom:0!important;overflow:hidden!important}
  .support-app{margin:8px 8px 0!important;height:calc(100vh - 92px)!important;min-height:0!important;border-radius:24px!important}
  .support-chat{min-height:0!important;height:100%!important}
  .support-chat-head{height:64px!important;flex-basis:64px!important}
  .support-messages{padding:16px 9px 12px!important}
  .support-message{max-width:90%!important}
  .support-composer{padding:8px!important}
  .support-modal{padding:12px!important}
  .support-modal-card{width:100%!important;padding:22px 17px!important;border-radius:24px!important}
  .support-modal-card textarea{min-height:120px!important}
}
@media(max-width:430px){
  .brand-text{display:none!important}
  .header-search input::placeholder{font-size:10px!important}
  .nx-quickbar{left:5px!important;right:5px!important;bottom:5px!important}
  .nx-quickbar a span{font-size:9px!important}
  .support-app{margin:5px!important;border-radius:20px!important;height:calc(100vh - 87px)!important}
}

/* ================================================================
   NEXUS V32 — TRUE iOS 26 "LIQUID GLASS" (final, authoritative layer)
   Loaded last on purpose: supersedes V24-V31 dark-glass rules below.
   ================================================================ */
:root{
  --ios-glass:rgba(255,255,255,.055);
  --ios-glass-strong:rgba(255,255,255,.09);
  --ios-glass-soft:rgba(255,255,255,.025);
  --ios-line:rgba(255,255,255,.16);
  --ios-line-soft:rgba(255,255,255,.10);
  --ios-shadow:0 20px 55px rgba(0,0,0,.40);
  --ios-highlight:inset 0 1px 0 rgba(255,255,255,.16);
  --ios-radius-xl:30px;
  --ios-radius-lg:24px;
  --ios-radius-md:18px;
  --ios-radius-sm:14px;
}

/* Colorful, layered background so the glass has something to refract */
html,body{background-attachment:fixed!important}
body{
  background:
    radial-gradient(1100px 650px at 6% -8%,rgba(0,110,255,.24),transparent 55%),
    radial-gradient(950px 700px at 96% 4%,rgba(150,60,230,.20),transparent 52%),
    radial-gradient(900px 620px at 30% 105%,rgba(0,180,160,.15),transparent 58%),
    radial-gradient(800px 560px at 88% 100%,rgba(230,70,120,.13),transparent 55%),
    linear-gradient(150deg,#050b18 0%,#0a1430 40%,#170f2e 75%,#0b1526 100%)
  !important;
}

/* Generic glass-surface mixin, applied to every card/panel-like element.
   Kept subtle on purpose: the colored gradient above must stay visible
   through the glass, not get washed into white. */
.site-header .header-inner,.nx-quickbar,
.panel,.card,.product,.ad,.cats>*,.mini-card,.filter-bar a,
.article-card,.article-hero,.gallery-main,.review-card,.review-composer,
.service-card,.feature,.account-notifications,.track-result,.cart-table-wrap,
.admin-card,.admin-table,.admin-notify,.media-manager-card,
.support-app,.support-sidebar,.support-chat,.support-modal-card,
.notifications-head,.notifications-list,.notification-card,
.support-ticket,.support-notif,.support-message,.support-composer,
.hero,.hero-reference,.orb,.trust-item,.product-trust-item,.spec-row,
.product-specs,.gallery-specs,.product-video-frame,.comment-item,
.ticket-item,.checkout-summary,.coupon-box,.payment-box{
  background:linear-gradient(150deg,var(--ios-glass-strong),var(--ios-glass-soft))!important;
  border:1px solid var(--ios-line-soft)!important;
  box-shadow:var(--ios-shadow),var(--ios-highlight)!important;
  backdrop-filter:blur(20px) saturate(130%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(130%)!important;
}

.panel,.card,.article-card,.review-card,.mini-card,.service-card,.admin-card,
.notifications-head,.notification-card,.support-modal-card,.checkout-summary,
.coupon-box,.payment-box,.product-specs,.gallery-specs{border-radius:var(--ios-radius-lg)!important}
.product,.ad,.cats>*,.support-ticket,.support-message,.ticket-item,.comment-item,.spec-row{border-radius:var(--ios-radius-md)!important}
.support-app,.notifications-list,.gallery-main,.hero,.hero-reference,.orb{border-radius:var(--ios-radius-xl)!important;overflow:hidden}
.product:hover,.ad:hover,.article-card:hover,.cats>*:hover,.service-card:hover{
  border-color:rgba(255,255,255,.32)!important;transform:translateY(-3px);
}
.product img,.ad img,.gallery-main img,.gallery-thumbs img,.article-cover,
.category-icon,.service-icon,.notification-icon{border-radius:var(--ios-radius-sm)!important}

/* Header — floating glass bar, not an opaque strip */
.site-header{background:transparent!important;border-bottom:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding-top:8px!important}
.site-header .header-inner{padding:8px 16px!important}
.brand,.header-search,.nav-toggle,.logo-slot{
  border:1px solid var(--ios-line-soft)!important;
  background:var(--ios-glass)!important;
  backdrop-filter:blur(16px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(120%)!important;
}
.header-search form{background:transparent!important}
.main-nav a{border:1px solid transparent!important;border-radius:var(--ios-radius-sm)!important}
.main-nav a:hover{background:var(--ios-glass)!important;border-color:var(--ios-line-soft)!important}

/* Quick nav bar */
.nx-quickbar{
  background:linear-gradient(150deg,var(--ios-glass-strong),var(--ios-glass-soft))!important;
  border:1px solid var(--ios-line-soft)!important;
  box-shadow:var(--ios-shadow),var(--ios-highlight)!important;
  backdrop-filter:blur(18px) saturate(130%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(130%)!important;
  border-radius:var(--ios-radius-lg)!important;
}
.nx-quickbar a{background:rgba(255,255,255,.03)!important;border:1px solid transparent!important;border-radius:var(--ios-radius-sm)!important}
.nx-quickbar a:hover,.nx-quickbar a:active{background:var(--ios-glass-strong)!important;border-color:var(--ios-line-soft)!important}

/* Inputs & buttons — frosted, not flat-dark */
input,textarea,select,
.panel input,.panel textarea,.panel select,
.support-modal-card input,.support-modal-card textarea,.support-composer textarea{
  background:rgba(255,255,255,.045)!important;
  border:1px solid var(--ios-line-soft)!important;
  color:#f8fbff!important;
  border-radius:var(--ios-radius-sm)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}
input::placeholder,textarea::placeholder{color:rgba(240,246,255,.55)!important}
input:focus,textarea:focus,select:focus{
  outline:none!important;border-color:rgba(120,200,255,.65)!important;
  box-shadow:0 0 0 4px rgba(120,200,255,.16),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
.btn,.btn-outline,button.btn,.support-new-btn,.support-composer button{
  border-radius:999px!important;border:1px solid var(--ios-line-soft)!important;
}
.btn{
  background:linear-gradient(135deg,rgba(0,140,255,.85),rgba(124,58,237,.85))!important;
  box-shadow:0 14px 34px rgba(0,120,255,.30),inset 0 1px 0 rgba(255,255,255,.35)!important;
}
.btn-outline{background:var(--ios-glass)!important;backdrop-filter:blur(14px)!important}

/* Hero: bright glass frame, sits clearly below sticky header/navbar */
.hero,.hero-reference{margin-top:32px!important}
.hero{background:linear-gradient(150deg,rgba(255,255,255,.07),rgba(255,255,255,.015))!important}
@media(max-width:800px){.hero,.hero-reference{margin-top:20px!important}}

/* Support messenger — light glass instead of dark-navy panels */
.support-body{background:transparent!important}
.support-sidebar{border-left:1px solid var(--ios-line-soft)!important}
.support-sidebar-head,.support-profile-mini,.support-chat-head,.support-composer{
  background:rgba(255,255,255,.045)!important;
  backdrop-filter:blur(18px) saturate(130%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(130%)!important;
}
.support-ticket:hover{background:var(--ios-glass)!important}
.support-ticket.active{background:rgba(120,200,255,.16)!important;border-color:rgba(120,200,255,.35)!important}
.customer-message,.support-message.customer-message{
  background:linear-gradient(135deg,rgba(0,140,255,.55),rgba(0,90,200,.35))!important;
}
.admin-message,.support-message.admin-message{
  background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.025))!important;
}

/* Ticket / create modal */
.support-modal{background:rgba(5,10,20,.55)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important}
.support-modal-close{background:var(--ios-glass)!important;border:1px solid var(--ios-line-soft)!important}

/* Notifications page */
.notification-card:hover{background:var(--ios-glass-strong)!important;transform:translateY(-2px)}
.notification-icon{background:linear-gradient(135deg,rgba(0,140,255,.45),rgba(168,85,247,.35))!important}

/* ================================================================
   NEXUS V33 — spacing fix (header/quickbar/hero no longer touch)
   + desktop header nav restored with glass pills
   + product card polish (stock badges, hover zoom, richer meta)
   ================================================================ */
@media(min-width:801px){
  .site-header{height:76px!important}
  .site-header .header-inner{min-height:76px!important}
  body{padding-top:76px!important}
  .main-nav{display:flex!important;gap:6px!important}
  .main-nav a{
    display:inline-flex!important;align-items:center;gap:6px;
    background:rgba(255,255,255,.04)!important;
    border:1px solid var(--ios-line-soft,rgba(255,255,255,.10))!important;
    border-radius:14px!important;padding:9px 14px!important;
    color:#eef5ff!important;font-size:13px!important;white-space:nowrap;
  }
  .main-nav a:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.22)!important}
  .nx-quickbar{
    position:fixed!important;
    top:calc(76px + 16px)!important;
    margin:0 auto!important;
  }
  body{padding-top:calc(76px + 16px + 66px + 14px)!important}
  .hero,.hero-reference{margin-top:36px!important}
}
@media(max-width:800px){
  .hero,.hero-reference{margin-top:22px!important}
}

/* Product cards: stock badge + gentle hover zoom + tidier meta row */
.nx-product-media{position:relative!important}
.nx-product-media img{transition:transform .35s ease!important}
.product:hover .nx-product-media img{transform:scale(1.05)}
.nx-stock-badge{
  position:absolute;top:10px;inset-inline-start:10px;z-index:2;
  padding:4px 10px;border-radius:999px;font-size:10px;font-weight:800;
  border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);
}
.nx-stock-badge.out{background:rgba(220,38,38,.65);color:#fff}
.nx-stock-badge.low{background:rgba(234,179,8,.55);color:#1a1200}
.product-card-meta{
  display:inline-flex!important;align-items:center;gap:8px;
  padding:4px 10px;margin-top:6px!important;border-radius:999px;
  background:rgba(255,255,255,.05);border:1px solid var(--ios-line-soft,rgba(255,255,255,.10));
  font-size:11px!important;color:#cfe0f2!important;
}
.products .product{display:flex;flex-direction:column}
.products .product .add-cart-form{margin-top:auto!important;padding-top:10px}
