/* BazEx Digi-inspired seller theme. Visual-only; preserves existing PHP links/actions. */
body.seller-view{--bx-red:#e83d24!important;background:#f6f6f6!important}
body.seller-view .header{background:#e83d24!important;border:0!important;box-shadow:none!important}
body.seller-view .header .nav{background:transparent!important}
body.seller-view .header .logo img{max-width:175px!important;max-height:52px!important;object-fit:contain!important;filter:brightness(0) invert(1)!important}
body.seller-view .portal .btn,body.seller-view .portal button.btn{background:#e83d24!important;border-color:#e83d24!important}
/* Always override legacy white watermark menu, including on mobile */
html body.seller-view aside#v6Sidebar{background:#e83d24!important;background-image:none!important;color:white!important;box-shadow:8px 0 30px #0003!important;isolation:auto!important}
html body.seller-view aside#v6Sidebar::before{display:none!important;content:none!important}
html body.seller-view aside#v6Sidebar .v6-side-title{background:#e83d24!important;background-image:none!important;border-radius:0!important;border:0!important;min-height:94px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:14px!important}
html body.seller-view aside#v6Sidebar .v6-side-title img{filter:brightness(0) invert(1)!important;width:165px!important;max-width:165px!important;height:65px!important;object-fit:contain!important}
html body.seller-view aside#v6Sidebar #v6Close{color:white!important;background:#ffffff25!important;border:1px solid #ffffff55!important;border-radius:9px!important;min-width:38px!important;min-height:38px!important;font-size:26px!important;cursor:pointer!important}
html body.seller-view aside#v6Sidebar>a,html body.seller-view aside#v6Sidebar>a span{background:transparent!important;background-image:none!important;color:#fff!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;font-weight:600!important;font-size:15px!important;border-radius:9px!important;padding:13px 16px!important;margin:2px 9px!important;display:block!important;text-decoration:none!important}
html body.seller-view aside#v6Sidebar>a:hover,html body.seller-view aside#v6Sidebar>a[aria-current=page]{background:#ffffff32!important;color:#fff!important}
html body.seller-view aside#v6Sidebar hr{border-color:#ffffff4a!important}
html body.seller-view aside#v6Sidebar .bazex-side-logout button{background:#ff6b00!important;border-color:#ff6b00!important;color:#fff!important}
@media(min-width:1050px){
 html body.seller-view aside#v6Sidebar{top:0!important;left:0!important;width:270px!important;max-width:270px!important;height:100dvh!important;bottom:0!important;visibility:visible!important;transform:none!important;display:block!important;overflow-y:auto!important;z-index:800!important;padding:0 0 22px!important}
 body.seller-view .header{margin-left:270px!important}
 body.seller-view .portal.container{margin-left:270px!important}
 body.seller-view .bx-app-bottom,body.seller-view .bx-floating-book{display:none!important}
}
@media(max-width:1049px){
 body.seller-view .header{position:sticky!important;top:0!important;z-index:900!important}
 body.seller-view .header .nav{height:68px!important;min-height:68px!important;flex-direction:row!important;justify-content:space-between!important;padding:0 16px!important}
 body.seller-view .header .logo{margin:0!important;order:2!important;flex:1!important;justify-content:center!important}
 body.seller-view #hamburger{order:1!important;display:flex!important;flex-direction:column!important;gap:5px!important;align-items:center!important;justify-content:center!important;width:46px!important;height:44px!important;background:#ffffff25!important;border:1px solid #ffffff60!important;border-radius:9px!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:1400!important}
 body.seller-view #hamburger span{display:block!important;width:22px!important;height:2px!important;min-height:2px!important;background:#fff!important;border-radius:2px!important;transform:none!important}
 html body.seller-view aside#v6Sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:min(82vw,320px)!important;max-width:min(82vw,320px)!important;height:100dvh!important;overflow-y:auto!important;padding:0 0 20px!important;z-index:1601!important;transition:transform .25s ease,visibility .25s ease!important;transform:translateX(-105%)!important;visibility:hidden!important;display:block!important}
 html body.seller-view aside#v6Sidebar.open{transform:translateX(0)!important;visibility:visible!important}
 html body.seller-view #v6Shade.open{display:block!important;position:fixed!important;inset:0!important;background:#0009!important;z-index:1600!important}
 body.seller-view .portal.container{margin:0!important;padding:20px 14px 150px!important;width:100%!important;max-width:100%!important}
 body.seller-view .bx-app-bottom{display:flex!important;position:fixed!important;left:12px!important;right:100px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;height:69px!important;padding:5px 9px!important;border-radius:38px!important;background:#fff!important;box-shadow:0 5px 22px #0002!important;border:0!important;z-index:1150!important;align-items:center!important;justify-content:space-around!important}
 body.seller-view .bx-app-bottom a{flex:1!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;color:#85858a!important;background:transparent!important;gap:3px!important;padding:5px 1px!important;font-size:10px!important;line-height:1.1!important;text-decoration:none!important}
 body.seller-view .bx-app-bottom a svg{width:22px!important;height:22px!important}
 body.seller-view .bx-app-bottom a.active{color:#e83d24!important;background:transparent!important}
 body.seller-view .bx-floating-book{display:flex!important;position:fixed!important;right:14px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;width:66px!important;height:66px!important;border-radius:50%!important;background:#e83d24!important;color:#fff!important;border:0!important;box-shadow:0 5px 18px #0003!important;align-items:center!important;justify-content:center!important;z-index:1151!important}
 body.seller-view .bx-floating-book svg{width:32px!important;height:32px!important;stroke:#fff!important}
 body.seller-view .v6-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.seller-view .v6-stats>*{min-width:0!important}
}
@media(max-width:370px){body.seller-view .bx-app-bottom{left:8px!important;right:84px!important}body.seller-view .bx-floating-book{width:58px!important;height:58px!important;right:10px!important}}

/* v4: Red seller theme, text-only branding. */
html body.seller-view{--bx-red:#e83b25!important;--primary:#e83b25!important;--accent:#e83b25!important}
html body.seller-view .header,html body.seller-view aside#v6Sidebar,html body.seller-view aside#v6Sidebar .v6-side-title{background:#e83b25!important;background-image:none!important}
html body.seller-view .header .logo{display:flex!important;align-items:center!important;text-decoration:none!important}
html body.seller-view .header .bx-text-brand{display:inline-block!important;color:#fff!important;font-weight:850!important;font-size:27px!important;letter-spacing:-1px!important;white-space:nowrap!important;line-height:1.2!important}
html body.seller-view .header .bazex-brand-logo{display:none!important}
html body.seller-view aside#v6Sidebar .bx-sidebar-wordmark{color:white!important;font-size:27px!important;font-weight:800!important;line-height:1.1!important;white-space:nowrap!important}
html body.seller-view aside#v6Sidebar .bx-sidebar-wordmark small{display:block!important;font-size:10px!important;letter-spacing:2px!important;font-weight:500!important;margin-top:7px!important}
html body.seller-view aside#v6Sidebar .bazex-side-logout button{background:#c82e1c!important;border-color:#c82e1c!important}
html body.seller-view .portal .btn,html body.seller-view .portal button.btn,html body.seller-view .bx-floating-book{background:#e83b25!important;border-color:#e83b25!important}
html body.seller-view .bx-app-bottom a.active{color:#e83b25!important}
@media(max-width:1049px){
html body.seller-view .header .nav{display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;align-items:center!important}
html body.seller-view .header .logo{grid-column:2!important;grid-row:1!important;justify-self:center!important;order:initial!important;margin:0!important;width:auto!important;height:auto!important;max-width:100%!important}
html body.seller-view #hamburger{grid-column:1!important;grid-row:1!important;order:initial!important}
html body.seller-view .header .bx-text-brand{font-size:25px!important}
html body.seller-view .bx-app-bottom{right:92px!important}
}

/* Desktop burger repair: match mobile drawer interaction, no permanently reserved sidebar */
@media (min-width:1050px){
 html body.seller-view .header{margin-left:0!important;width:100%!important}
 html body.seller-view .portal.container{margin-left:auto!important;margin-right:auto!important}
 html body.seller-view .header .nav{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 24px!important;min-height:72px!important}
 html body.seller-view .header #hamburger{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:relative!important;order:0!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:46px!important;height:44px!important;margin:0 auto 0 0!important;background:#ffffff22!important;border:1px solid #ffffff70!important;border-radius:9px!important;z-index:2147482999!important}
 html body.seller-view .header #hamburger span{display:block!important;visibility:visible!important;width:24px!important;height:3px!important;min-height:3px!important;background:#fff!important;opacity:1!important;border-radius:2px!important}
 html body.seller-view .header .logo{order:2!important;margin-left:auto!important}
 html body.seller-view aside#v6Sidebar{position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:min(330px,88vw)!important;max-width:330px!important;height:100dvh!important;display:block!important;transform:translateX(-105%)!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;z-index:2147483001!important;transition:transform .2s ease!important}
 html body.seller-view aside#v6Sidebar.open{transform:translateX(0)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
 html body.seller-view #v6Shade.open{display:block!important;z-index:2147483000!important}
}


/* BazEx footer + bottom navigation icon repair | visual-only override */
html body footer.bazex-footer,
html body .bazex-footer,
html body footer.footer.bazex-footer {
  background:#ffffff!important;
  background-image:none!important;
  color:#334155!important;
  border-top:1px solid #e2e8f0!important;
  box-shadow:none!important;
}
html body .bazex-footer h1,html body .bazex-footer h2,
html body .bazex-footer h3,html body .bazex-footer h4,
html body .bazex-footer strong {color:#0f172a!important;}
html body .bazex-footer a,html body .bazex-footer p,
html body .bazex-footer li,html body .bazex-footer small,
html body .bazex-footer span {color:#64748b!important;}
html body .bazex-footer a:hover {color:#2563eb!important;}
html body .bazex-footer hr {border-color:#e2e8f0!important;}
html body.seller-view .bx-app-bottom a svg {
  display:block!important;
  width:22px!important;
  height:22px!important;
  color:inherit!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
  filter:none!important;
}
html body.seller-view .bx-app-bottom a svg :is(path,rect,circle,line,polyline,polygon,ellipse) {
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
  filter:none!important;
}
html body.seller-view .bx-app-bottom a.active {color:#e83b25!important;}
/* ========================================================
   1. BOTTOM NAVIGATION ICONS FIX (NO BLACK BLOCKS)
======================================================== */
body.seller-view .bx-app-bottom {
  background: #ffffff !important;
}

body.seller-view .bx-app-bottom a {
  background: transparent !important;
  color: #64748b !important;
}

/* Reset SVGs completely so icons appear crisp and normal */
body.seller-view .bx-app-bottom a svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  stroke: #64748b !important;
  fill: none !important;
  background: transparent !important;
  border: 0 !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.seller-view .bx-app-bottom a.active {
  color: #e83d24 !important;
}

body.seller-view .bx-app-bottom a.active svg {
  stroke: #e83d24 !important;
  fill: none !important;
}

/* Red Plus Floating Button Reset */
body.seller-view .bx-floating-book {
  background: #e83d24 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(232, 61, 36, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.seller-view .bx-floating-book svg {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  stroke: #ffffff !important;
  fill: none !important;
  stroke-width: 2.5 !important;
}

body.seller-view .bx-floating-book::before {
  display: none !important;
  content: none !important;
}

/* ========================================================
   2. PUBLIC LANDING PAGE: BLACK FOOTER TO CLEAN WHITE
======================================================== */
footer.footer,
.bazex-footer,
.footer,
.bazex-footer-logo-band {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #334155 !important;
  border-top: 1px solid #e2e8f0 !important;
}

/* Footer Tagline (Orange to Clean Slate) */
.bazex-footer p,
.footer p,
.bazex-footer .footer-grid p {
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Footer Column Headings */
.footer .footer-grid b,
.bazex-footer b {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* Footer Navigation Links */
.footer .footer-grid a,
.bazex-footer a {
  color: #64748b !important;
  text-decoration: none !important;
}

.footer .footer-grid a:hover,
.bazex-footer a:hover {
  color: #0f172a !important;
}

/* Copyright Row */
.footer .copyright,
.bazex-footer .copyright {
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
}
/* PC / Laptop Screen par Floating Plus Button aur Bottom Bar Hide */
@media (min-width: 1024px) {
  body.seller-view .bx-floating-book,
  body.seller-view .bx-app-bottom {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}