/* 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}
}
