/* TV SOLD 2026 full UI redesign - visual layer only. No routes/backend logic changed. */
:root{--ui-red:#e52b38;--ui-red2:#ff4653;--ui-orange:#ff7a1a;--ui-purple:#8b45e6;--ui-blue:#3387f4;--ui-green:#24b47e;--ui-ink:#172033;--ui-muted:#748096;--ui-bg:#f4f7fb;--ui-card:#fff;--ui-line:#e6ebf2;--ui-side:#060914;--ui-side2:#0b1020;--ui-radius:18px;--ui-shadow:0 12px 34px rgba(25,39,72,.08)} 
html,body{background:var(--ui-bg)!important;color:var(--ui-ink);font-family:'Public Sans',sans-serif}.layout-wrapper,.layout-container,.layout-page,.content-wrapper{background:var(--ui-bg)!important}.layout-page{min-height:100vh}.content-wrapper>.container-xxl,.content-wrapper>.container-fluid{max-width:1680px!important;padding:28px 30px!important}.container-p-y{padding-top:28px!important;padding-bottom:28px!important}
/* sidebar */
#layout-menu{width:310px!important;background:linear-gradient(180deg,var(--ui-side),var(--ui-side2))!important;border-right:1px solid rgba(255,255,255,.06)!important;box-shadow:18px 0 50px rgba(5,10,24,.13)!important;color:#fff}.layout-menu-fixed .layout-page{padding-left:310px!important}.layout-menu-fixed .layout-menu{transform:translate3d(0,0,0)!important}.app-brand.demo{height:150px!important;justify-content:center!important;padding:18px 20px!important}.app-brand-link{justify-content:center;width:100%}.app-brand-logo.demo{margin:0!important}.app-brand-logo.demo img,.app-brand-logo.demo svg{object-fit:contain}.menu-inner-shadow{display:none!important}.menu-inner{padding:5px 18px 30px!important}.menu-vertical .menu-item{margin:3px 0!important}.menu-vertical .menu-link{min-height:48px!important;padding:10px 13px!important;margin:0!important;border-radius:12px!important;color:#dce3ef!important;font-size:14px!important;font-weight:500!important;transition:.18s ease!important}.menu-vertical .menu-link:hover{background:rgba(255,255,255,.055)!important;color:#fff!important;transform:translateX(2px)}.menu-vertical .menu-link img{width:25px!important;height:25px!important;object-fit:contain!important;margin-right:12px!important;filter:saturate(1.15)}.menu-vertical .menu-item.active>.menu-link:not(.menu-toggle){background:linear-gradient(135deg,rgba(229,43,56,.23),rgba(229,43,56,.08))!important;color:#fff!important;box-shadow:inset 3px 0 var(--ui-red)!important}.menu-vertical .menu-item.active>.menu-link:not(.menu-toggle):before{display:none!important}.menu-vertical .menu-item.open>.menu-link.menu-toggle{background:rgba(229,43,56,.10)!important;color:#ff6570!important;border:1px solid rgba(229,43,56,.42)!important}.menu-vertical .menu-sub{margin:6px 0 10px 17px!important;padding:5px 0 5px 14px!important;border-left:1px solid rgba(229,43,56,.38)!important}.menu-vertical .menu-sub .menu-link{min-height:42px!important;padding:8px 10px!important;font-size:13.5px!important}.menu-vertical .menu-sub .menu-link:before{width:7px!important;height:7px!important;left:-18px!important;background:var(--ui-red)!important;border:0!important;box-shadow:0 0 0 3px rgba(229,43,56,.13)}.menu-toggle:after{border-color:#8d99aa!important;right:15px!important}.menu-item.open>.menu-link.menu-toggle:after{border-color:#ff5965!important}.layout-menu-toggle{border:1px solid rgba(229,43,56,.55)!important;border-radius:50%!important;background:#0c1020!important;color:#fff!important}
/* navbar */
#layout-navbar{margin:18px 30px 0!important;min-height:74px!important;border-radius:18px!important;background:rgba(255,255,255,.94)!important;border:1px solid var(--ui-line)!important;box-shadow:0 8px 30px rgba(28,42,73,.07)!important;backdrop-filter:blur(12px);padding:0 18px!important}.navbar-nav-right{min-height:72px}.navbar .nav-link{color:#526078!important}.navbar .dropdown-toggle{font-weight:600}.badge-notifications{box-shadow:0 0 0 3px #fff}.navbar .dropdown-menu{border:1px solid var(--ui-line)!important;border-radius:16px!important;box-shadow:0 18px 55px rgba(28,42,73,.16)!important;overflow:hidden}.navbar .border-primary,.navbar .border-danger{border:0!important;background:#f6f8fc!important;border-radius:14px!important;padding:9px 12px!important}.navbar .avatar img{border-radius:12px!important}
/* universal cards / page surfaces */
.card{border:1px solid var(--ui-line)!important;border-radius:var(--ui-radius)!important;background:var(--ui-card)!important;box-shadow:var(--ui-shadow)!important;overflow:hidden}.card-header{background:#fff!important;border-bottom:1px solid #edf0f5!important;padding:18px 20px!important}.card-body{padding:20px!important}.card-title,h4,h5,h6{color:var(--ui-ink)}.text-muted{color:var(--ui-muted)!important}.row>*{--bs-gutter-x:1.5rem}.alert{border:0!important;border-radius:14px!important}.modal-content{border:0!important;border-radius:22px!important;box-shadow:0 25px 80px rgba(17,30,57,.24)!important}.modal-header{border-bottom:1px solid var(--ui-line)!important}.modal-footer{border-top:1px solid var(--ui-line)!important}
/* buttons */
.btn{border-radius:11px!important;font-weight:600!important;box-shadow:none!important;padding:.62rem 1rem!important;transition:.18s ease!important}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,var(--ui-red),var(--ui-red2))!important;border-color:transparent!important;box-shadow:0 8px 18px rgba(229,43,56,.20)!important}.btn-outline-primary{color:var(--ui-red)!important;border-color:#f2a1a8!important}.btn-outline-primary:hover{background:var(--ui-red)!important;color:#fff!important}.bg-primary{background-color:var(--ui-red)!important}.text-primary{color:var(--ui-red)!important}.border-primary{border-color:#ef6a74!important}
/* forms */
.form-control,.form-select,.select2-container--default .select2-selection--single,.select2-container--default .select2-selection--multiple{border:1px solid #dfe5ee!important;border-radius:11px!important;background:#fbfcfe!important;min-height:43px!important;color:var(--ui-ink)!important;box-shadow:none!important}.form-control:focus,.form-select:focus{border-color:#ef7b84!important;background:#fff!important;box-shadow:0 0 0 3px rgba(229,43,56,.08)!important}.form-label{font-size:12px!important;text-transform:uppercase;letter-spacing:.035em;font-weight:700!important;color:#647087!important}.input-group-text{border-color:#dfe5ee!important;background:#f6f8fb!important}.form-check-input:checked{background-color:var(--ui-red)!important;border-color:var(--ui-red)!important}
/* tables / datatables */
.table-responsive{border-radius:14px}.table{--bs-table-bg:transparent;margin-bottom:0!important}.table thead th{background:#f7f9fc!important;color:#69758a!important;text-transform:uppercase;font-size:11px!important;letter-spacing:.055em;border-bottom:1px solid #e7ebf2!important;padding:13px 15px!important}.table tbody td{padding:14px 15px!important;border-color:#eef1f5!important;color:#39445a;vertical-align:middle}.table tbody tr:hover{background:#fafbfe!important}.dataTables_wrapper .dataTables_filter input,.dataTables_wrapper .dataTables_length select{border:1px solid #dfe5ee!important;border-radius:10px!important;padding:7px 10px!important}.page-item .page-link{border:0!important;border-radius:9px!important;margin:0 2px;color:#59667b}.page-item.active .page-link{background:var(--ui-red)!important;color:#fff!important}
/* footer */
.content-footer{background:transparent!important;color:#8791a3!important}.footer-container{border-top:1px solid #e6eaf0!important;padding-top:18px!important}
/* login/auth pages */
/* dashboard polish */
.content-wrapper .card .avatar-initial{border-radius:12px!important}.apexcharts-canvas{margin:auto}.progress{height:8px!important;border-radius:10px!important;background:#edf1f6!important}.progress-bar{border-radius:10px!important}.dropdown-menu{border-radius:14px!important}.dropdown-item{padding:10px 14px!important}.dropdown-item:hover{background:#f7f8fb!important;color:var(--ui-red)!important}
@media(max-width:1199.98px){#layout-menu{width:300px!important}.layout-menu-fixed .layout-page{padding-left:0!important}#layout-navbar{margin:12px 15px 0!important}.content-wrapper>.container-xxl,.content-wrapper>.container-fluid{padding:20px 15px!important}.layout-menu-expanded .layout-menu{transform:translate3d(0,0,0)!important}.app-brand.demo{height:125px!important}}
@media(max-width:767.98px){#layout-navbar{border-radius:14px!important;min-height:62px!important}.navbar-nav-right{min-height:60px}.content-wrapper>.container-xxl,.content-wrapper>.container-fluid{padding:16px 12px!important}.card{border-radius:15px!important}.card-body{padding:16px!important}.navbar .nav-item.me-2,.navbar .nav-item.me-xl-5{margin-right:5px!important}.navbar .dropdown-notifications>a{font-size:0}.navbar .dropdown-notifications>a i{font-size:22px!important}.authentication-inner{padding:16px!important}.authentication-inner .card-body{padding:24px!important}}


/* 2026-09-30 refinement: logo, dashboard admin stats and category sizing */
.app-brand.demo .app-brand-link{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
.app-brand.demo .app-brand-logo.demo{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;width:100%!important}
.app-brand.demo .app-brand-logo.demo img,.app-brand.demo .app-brand-logo.demo svg{display:block!important;margin:0 auto!important}

/* Preserve the dashboard's meaningful colored status cards (global card skin must not erase them). */
.dashboard-admin-stats .card[style*="coral"]{background:linear-gradient(135deg,#ff8a45,#ff6537)!important;border-color:transparent!important}
.dashboard-admin-stats .card[style*="#5689db"]{background:linear-gradient(135deg,#5689db,#3971cb)!important;border-color:transparent!important}
.dashboard-admin-stats .card[style*="#f72f2f"]{background:linear-gradient(135deg,#f84a4a,#e92d38)!important;border-color:transparent!important}
.dashboard-admin-stats .card[style*="113, 221, 55"]{background:linear-gradient(135deg,#71dd37,#45bd27)!important;border-color:transparent!important}
.dashboard-admin-stats .card{min-height:128px;box-shadow:0 12px 26px rgba(35,48,75,.12)!important}
.dashboard-admin-stats .card .card-body{display:flex;flex-direction:column;justify-content:center}
.dashboard-admin-stats .card span,.dashboard-admin-stats .card h3{color:#fff!important}

/* Product/category page: slightly more compact on desktop. */
.category-list-shell{padding:12px!important}
.category-grid{--bs-gutter-x:1rem;--bs-gutter-y:1rem}
.category-product-card .category-product-image{width:100%!important;height:210px!important;object-fit:cover!important}
.category-product-card .card-body{padding:14px 16px!important}
.category-product-card .featured-date{transform:scale(.88);transform-origin:left center;margin-top:-30px!important}

@media (max-width:767.98px){
  .category-list-shell{padding:8px!important}
  .category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0!important}
  .category-grid>.category-grid-item{width:auto!important;max-width:none!important;padding:0!important;margin:0!important}
  .category-product-card{border-radius:12px!important;box-shadow:0 6px 16px rgba(25,39,72,.08)!important}
  .category-product-card .category-product-image{height:105px!important;object-fit:cover!important}
  .category-product-card .featured-date{width:58px!important;margin-left:8px!important;margin-top:-22px!important;padding:2px!important;transform:none!important}
  .category-product-card .featured-date h5{font-size:13px!important;line-height:1.1!important}
  .category-product-card .featured-date span{font-size:9px!important}
  .category-product-card .card-body{padding:8px 10px 10px!important}
  .category-product-card .card-body h5{font-size:12px!important;margin:0!important;line-height:1.25!important}
  .dashboard-admin-stats .card{min-height:105px!important}
  .dashboard-admin-stats .card .card-body{padding:12px!important}
  .dashboard-admin-stats .card span{font-size:11px!important;line-height:1.25!important}
  .dashboard-admin-stats .card h3{font-size:22px!important;margin-top:5px!important}
}
@media (max-width:390px){
  .category-product-card .category-product-image{height:92px!important}
}

/* ===== PREMIUM DASHBOARD V3 ===== */
.premium-dashboard-head{position:relative}.premium-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:24px;background:linear-gradient(120deg,#10172a 0%,#171d31 58%,#35151d 100%);box-shadow:0 18px 42px rgba(18,27,48,.16);color:#fff}.premium-welcome:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:23%;top:-175px;background:rgba(255,50,67,.16);box-shadow:0 0 80px rgba(255,50,67,.2)}.premium-welcome:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.06);border-radius:50%;right:-50px;bottom:-100px}.premium-welcome>div{position:relative;z-index:1}.premium-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.11em;color:#ff7781;margin-bottom:8px}.premium-welcome h1{margin:0!important;color:#fff!important;font-size:30px;font-weight:750;letter-spacing:-.02em}.premium-welcome p{margin:7px 0 0;color:#aeb8cb;font-size:14px}.premium-head-balance{min-width:245px;padding:15px 18px;border:1px solid rgba(255,255,255,.11);border-radius:17px;background:rgba(255,255,255,.06);backdrop-filter:blur(10px)}.premium-head-balance small,.premium-head-balance span{display:block;color:#aeb8cb}.premium-head-balance strong{display:block;color:#fff;font-size:25px;margin:2px 0 5px}.premium-head-balance span{font-size:11px}.premium-head-balance i{color:#ff4653;margin-right:4px}.premium-kpis{margin-top:2px}.premium-kpi{height:136px;position:relative;display:flex;align-items:center;gap:15px;padding:20px;border-radius:20px;color:#fff!important;overflow:hidden;box-shadow:0 13px 28px rgba(28,38,61,.12);transition:.2s ease}.premium-kpi:hover{transform:translateY(-3px);color:#fff!important;box-shadow:0 17px 34px rgba(28,38,61,.18)}.premium-kpi:before{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-35px;top:-38px;background:rgba(255,255,255,.12)}.premium-kpi-orange{background:linear-gradient(135deg,#ff8a32,#f45b38)}.premium-kpi-blue{background:linear-gradient(135deg,#4b8ff2,#315fc7)}.premium-kpi-red{background:linear-gradient(135deg,#fa4d5b,#d9273a)}.premium-kpi-green{background:linear-gradient(135deg,#3ac47d,#1e9d63)}.premium-kpi-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:15px;background:rgba(255,255,255,.16);font-size:25px}.premium-kpi-copy{display:flex;min-width:0;flex-direction:column}.premium-kpi-copy small{font-size:12px;color:rgba(255,255,255,.82);font-weight:650}.premium-kpi-copy strong{font-size:29px;line-height:1.05;margin:3px 0;color:#fff}.premium-kpi-copy em{font-style:normal;font-size:10px;color:rgba(255,255,255,.72);white-space:nowrap}.premium-kpi-arrow{position:absolute;right:15px;bottom:14px;font-size:19px;color:rgba(255,255,255,.72)}.premium-quickbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;background:#fff;border:1px solid var(--ui-line);border-radius:18px;box-shadow:0 10px 25px rgba(25,39,72,.06)}.premium-quick-title{display:flex;align-items:center;gap:10px}.premium-quick-title>i{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#fff0f1;color:#e52b38;font-size:21px}.premium-quick-title span{display:flex;flex-direction:column}.premium-quick-title b{font-size:13px;color:#172033}.premium-quick-title small{font-size:10px;color:#8a95a8}.premium-quick-actions{display:flex;gap:8px;flex-wrap:wrap}.premium-quick-actions a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:10px;background:#f5f7fb;color:#536078;font-size:12px;font-weight:650}.premium-quick-actions a:hover{background:#fff0f1;color:#e52b38}
/* Mobile sidebar: explicit open/close behavior independent of template JS */
.mobile-sidebar-button{display:none!important}
@media(max-width:1199.98px){body:not(.mobile-sidebar-open) #layout-menu{transform:translate3d(-105%,0,0)!important;visibility:hidden!important}body.mobile-sidebar-open #layout-menu{transform:translate3d(0,0,0)!important;visibility:visible!important;z-index:1100!important}body.mobile-sidebar-open .layout-overlay{display:block!important;position:fixed!important;inset:0!important;background:rgba(7,11,22,.58)!important;z-index:1090!important}.mobile-sidebar-button{display:flex!important;align-items:center;justify-content:center;width:39px;height:39px;border:0;border-radius:11px;background:#f4f6fa;color:#172033;font-size:24px;margin-right:8px}.premium-welcome{padding:22px;align-items:flex-start}.premium-welcome h1{font-size:25px}.premium-head-balance{min-width:210px}.premium-kpi{height:124px;padding:16px}.premium-kpi-copy strong{font-size:25px}}
@media(max-width:767.98px){.premium-welcome{display:block;border-radius:19px;padding:20px}.premium-welcome h1{font-size:22px}.premium-welcome p{font-size:12px}.premium-head-balance{margin-top:17px;min-width:0;width:100%;padding:12px 14px}.premium-head-balance strong{font-size:21px}.premium-kpis{--bs-gutter-x:.65rem}.premium-kpi{height:112px;border-radius:16px;padding:12px;gap:9px}.premium-kpi-icon{width:38px;height:38px;flex-basis:38px;border-radius:11px;font-size:20px}.premium-kpi-copy small{font-size:10px}.premium-kpi-copy strong{font-size:22px}.premium-kpi-copy em{font-size:8px}.premium-kpi-arrow{display:none}.premium-quickbar{align-items:flex-start;flex-direction:column}.premium-quick-actions{width:100%}.premium-quick-actions a{flex:1;justify-content:center;font-size:10px;padding:8px}.premium-quick-title small{display:none}}
\n\n/* ===== V4 MOBILE FIXES ===== */
@media(max-width:1199.98px){
  .layout-overlay{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;background:transparent!important}
  body.mobile-sidebar-open .layout-overlay{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;background:rgba(7,11,22,.58)!important}
}
@media(max-width:767.98px){
  .product-mobile-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0!important}
  .product-mobile-grid>.product-mobile-item{width:auto!important;max-width:none!important;padding:0!important;margin:0!important;min-width:0!important}
  .product-mobile-card{border-radius:12px!important;min-width:0!important;overflow:hidden!important}
  .product-mobile-card .product-mobile-image{width:100%!important;height:105px!important;object-fit:cover!important}
  .product-mobile-card .card-body{padding:8px!important;min-height:105px!important}
  .product-mobile-card h5{font-size:12px!important;line-height:1.15!important;margin-bottom:3px!important}
  .product-mobile-card p{font-size:9px!important;line-height:1.2!important;margin:3px 0!important;overflow-wrap:anywhere!important}
  .product-mobile-card .card-body img[width="45"]{width:27px!important;height:27px!important;margin-top:-32px!important}
  .product-mobile-card .featured-date{right:5px!important;top:5px!important;padding:5px!important;transform:scale(.72)!important;transform-origin:top right!important}
}
@media(max-width:390px){.product-mobile-card .product-mobile-image{height:92px!important}}
