/* CakeCanvas staff and Business portals */
:root {
    --cc-ink: #091b3c;
    --cc-sky: #c9effc;
    --cc-cream: #fff7ee;
    --cc-primary: #ce122c;
    --cc-line: #d6e1eb;
}
body { color: var(--cc-ink); background-color: var(--cc-cream); }
.headerWrapper, .header_outer#top-bar, .topbar, .navbar.navbar-default, .navbar.navbar-inverse {
    background-color: var(--cc-sky);
    border-color: var(--cc-line);
    color: var(--cc-ink);
}
.headerWrapper, #top-bar.header_outer { background-image: url('awning.png'); background-position: top left; background-repeat: repeat-x; background-size: auto 6px; }
.header-logo, .logoouter { background-color: transparent; }
.navbar-default .navbar-nav > li > a, .navbar-inverse .navbar-nav > li > a, .navbar-inverse .navbar-brand { color: var(--cc-ink); }
.navbar-default .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:hover { background-color: #e8f8fd; color: var(--cc-ink); }
.btn.btn-primary { background-color: var(--cc-primary); border-color: var(--cc-primary); color: #fff; }
.btn.btn-primary:hover, .btn.btn-primary:focus { background-color: #a41026; border-color: #a41026; }
.panel-default, .modal-content, .dropdown-menu, .form-control { border-color: var(--cc-line); }
.panel-default > .panel-heading, .table > thead > tr > th { background-color: #edf8fc; color: var(--cc-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #08649c; outline-offset: 2px; }
img.cakecanvas-brand-logo { width: 174px; max-width: 100%; height: auto; max-height: 54px; object-fit: contain; }
.navbar-brand img.cakecanvas-brand-logo { max-height: 40px; }
img.cc-login-logo { display: block; margin: 0 auto 16px; }
.form-signin, .login_outer { background-color: #fff; border: 1px solid var(--cc-line); border-radius: 12px; }
.form-signin-heading { color: var(--cc-ink); font-family: Georgia, serif; }

/* ===== Storefront match (27 Nov 2026): same tokens as Migrated_Frontend approved.css. Presentation only. ===== */
@font-face { font-family: Nunito; src: url('Nunito-Regular.woff2') format('woff2'); font-display: swap; }
:root { --cc-primary: #eb1730; --cc-red: #eb1730; --cc-blue: #0b82d8; --cc-muted: #64748b; --cc-line: #dfe7f0; }
body { font-family: Nunito, Arial, sans-serif; }
h1, h2, h3, h4, .panel-title { font-family: Georgia, 'Times New Roman', serif; color: var(--cc-ink); }
.btn { border-radius: 8px; }
.btn.btn-primary, .btn.btn-danger { background-color: var(--cc-red); border-color: var(--cc-red); color: #fff; }
.btn.btn-primary:hover, .btn.btn-danger:hover { background-color: #c8102a; border-color: #c8102a; }
.btn.btn-success { background-color: var(--cc-ink); border-color: var(--cc-ink); color: #fff; }
.btn.btn-default { background-color: #fff; border: 1px solid var(--cc-ink); color: var(--cc-ink); }
.form-control, input[type=text], input[type=password], input[type=email], select, textarea { border-color: #b8c7d6; border-radius: 6px; }
.form-control:focus, input:focus, select:focus, textarea:focus { border-color: var(--cc-blue); box-shadow: 0 0 0 3px #0b82d81a; }
.pagination > .active > a, .pagination > .active > span { background-color: var(--cc-red) !important; border-color: var(--cc-red) !important; }
/* Login page: awning strip, larger logo, sky footer */
body:has(.form-signin)::before { content: ""; display: block; height: 16px; background: radial-gradient(circle at 14px 0, #e0002a 14px, transparent 15px) 0 0/56px 18px repeat-x, radial-gradient(circle at 14px 0, #fff 14px, transparent 15px) 28px 0/56px 18px repeat-x, var(--cc-sky); }
img.cc-login-logo { width: 210px; max-height: 70px; }
.form-signin .btn-primary { font: 700 16px/1.4 Georgia, serif; }
*:has(> p.text-muted.text-center) { background-color: var(--cc-sky) !important; border-top: 1px solid #b9dfed; }
p.text-muted.text-center { color: var(--cc-ink); }
body:has(.form-signin)::before { position: fixed; top: 0; left: 0; right: 0; z-index: 5; }
*:has(> * > p.text-muted.text-center), *:has(> p.text-muted.text-center) { background-color: var(--cc-sky) !important; }

/* ===== Portal theme shared with Migrated_Bakery (same DOM: #top-bar, .innerhead, #main-container) — copied 27 Nov ===== */
:root{--cc-ink:#091b3c;--cc-muted:#64748b;--cc-red:#eb1730;--cc-blue:#0b82d8;--cc-sky:#c9effc;--cc-cream:#fff7ee;--cc-line:#dfe7f0;--cc-soft:#f7fbff}
body{color:var(--cc-ink);background:var(--cc-cream)}
header,.header_outer,#top-bar,.topbar,.TopBg{background-color:var(--cc-sky)!important;color:var(--cc-ink)}
.navbar,.navbar-default,.navbar-inverse{background:var(--cc-sky)!important;border-color:var(--cc-line)!important}
.navbar a,.navbar-default .navbar-nav>li>a{color:var(--cc-ink)}
.btn-primary,.btn-danger,button[type=submit],input[type=submit]{background-color:var(--cc-red);border-color:var(--cc-red);color:#fff}
.btn-primary:focus-visible,button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--cc-blue);outline-offset:3px}
.panel,.card,.modal-content,.dropdown-menu{border-color:var(--cc-line);border-radius:12px;box-shadow:0 2px 8px rgba(7,28,65,.04),0 4px 16px rgba(7,28,65,.03)}
.panel-heading,.table>thead>tr>th{background-color:var(--cc-soft);color:var(--cc-ink)}
img.cakecanvas-brand-logo{width:214px!important;max-width:100%!important;height:auto!important;object-fit:contain}
@media(max-width:480px){img.cakecanvas-brand-logo{width:174px!important}.modal-dialog{max-width:calc(100vw - 16px)}}

/* ===== Storefront match (27 Nov 2026): same tokens as Migrated_Frontend approved.css. Presentation only. ===== */
@font-face{font-family:Nunito;src:url('Nunito-Regular.woff2') format('woff2');font-display:swap}
body{font-family:Nunito,Arial,sans-serif}
h1,h2,h3,h4,.panel-title{font-family:Georgia,'Times New Roman',serif;color:var(--cc-ink)}
#top-bar.header_outer{border-bottom:1px solid #b9dfed;padding-top:16px}
#top-bar.header_outer::before{content:"";position:absolute;top:0;left:0;right:0;height:16px;z-index:2;pointer-events:none;background-image:radial-gradient(circle at 14px 0,#e0002a 14px,transparent 15px),radial-gradient(circle at 14px 0,#fff 14px,transparent 15px);background-position:0 0,28px 0;background-size:56px 18px;background-repeat:repeat-x}
#top-bar .bg-light-grey{background-color:transparent!important}
#top-bar .hide-menu .menu{background:var(--cc-red);color:#fff;border-radius:8px;font:700 12px/1.4 Arial,sans-serif;letter-spacing:.5px}
#top-bar .rightNav .btn.user{background:#fff;border:1px solid var(--cc-line);border-radius:8px;color:var(--cc-ink);font:700 13px/1.3 Georgia,serif;text-align:left}
#top-bar .rightNav .btn.user font{font-family:Arial,sans-serif;font-weight:400;color:var(--cc-red)}
.btn{border-radius:8px}
.form-control,input[type=text],input[type=email],input[type=password],select,textarea{border-color:#b8c7d6;border-radius:6px}
.form-control:focus,input:focus,select:focus,textarea:focus{border-color:var(--cc-blue);box-shadow:0 0 0 3px #0b82d81a}
.cc-portal-footer{background:var(--cc-sky);border-top:1px solid #b9dfed;margin-top:32px;padding:18px 0;color:var(--cc-ink)}
.cc-portal-footer .container{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.cc-portal-footer img{width:170px;height:auto}
.cc-portal-footer-tag{font:15px/1.4 Georgia,serif}
.cc-portal-footer-copy{margin-left:auto;font:12px/1.4 Arial,sans-serif;color:var(--cc-muted)}
@media(max-width:767px){.cc-portal-footer-copy{margin-left:0}}
/* Fixed header was 52px tall with body padding-top 50px; let it grow for the awning + storefront-size logo and reserve the space. */
#top-bar.header_outer{height:auto!important;min-height:0!important;padding-bottom:6px}
#top-bar .logoouter{height:auto!important}
#top-bar img.cakecanvas-brand-logo{max-height:58px!important;width:auto!important}
#top-bar .rightNav,#top-bar .rightNav .btn.user{height:auto!important;line-height:1.3}
body{padding-top:96px!important}
/* Page body: storefront cream instead of grey; keep footer near the bottom on short pages */
body > .container-fluid{background-color:var(--cc-cream)!important;min-height:calc(100vh - 230px)}
/* Section bars (.innerhead in .orderWrappernew): old solid red -> storefront sky band with serif navy title */
.orderWrappernew{border:1px solid var(--cc-line)!important;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(7,28,65,.04)}
.orderWrappernew .innerhead{background-color:var(--cc-sky)!important;color:var(--cc-ink)!important;border-bottom:1px solid #b9dfed}
.orderWrappernew .innerhead,.orderWrappernew .innerhead h1,.orderWrappernew .innerhead h2,.orderWrappernew .innerhead h3,.orderWrappernew .innerhead h4,.orderWrappernew .innerhead span{font-family:Georgia,'Times New Roman',serif;color:var(--cc-ink)!important}
.orderWrappernew .innerhead a{color:var(--cc-ink)!important;font-family:Arial,sans-serif}
.orderWrappernew .innerhead a:hover{color:var(--cc-red)!important}
.orderWrappernew .innerhead label,.orderWrappernew .innerhead input[type=radio]{color:var(--cc-ink)!important;accent-color:var(--cc-red)}
/* Same treatment for every section bar, whatever wrapper it sits in (inventoryWrapper, orderWrappernew, ...) */
.innerhead{background-color:var(--cc-sky)!important;color:var(--cc-ink)!important;border-bottom:1px solid #b9dfed}
.innerhead,.innerhead h1,.innerhead h2,.innerhead h3,.innerhead h4,.innerhead span{font-family:Georgia,'Times New Roman',serif;color:var(--cc-ink)!important}
.innerhead a,.innerhead label{color:var(--cc-ink)!important}
.innerhead a:hover{color:var(--cc-red)!important}
.innerhead input[type=radio]{accent-color:var(--cc-red)}
.inventoryWrapper{border:1px solid var(--cc-line)!important;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(7,28,65,.04)}
.innerhead div,.innerhead ul,.innerhead li{background-color:transparent!important}
.innerhead label,.innerhead .radio,.innerhead li{font-family:Arial,sans-serif}
/* Responsive QA 27 Nov */
/* Phone: the legacy CSS hid the logo; show a compact one between a content-width SHOW MENU button and the user box */
@media(max-width:767px){
#top-bar .hide-menu,#top-bar .hide-menu .menu{width:auto!important;min-width:0!important}
#top-bar .hide-menu .menu{display:inline-block;padding:6px 10px!important;font-size:11px!important}
#top-bar .logoouter{height:auto!important;padding:0 96px 0 92px!important}
#top-bar img.cakecanvas-brand-logo{display:inline-block!important;max-height:30px!important;width:auto!important;margin-top:8px}
}
/* Date pickers: legacy teal block -> same look as the other inputs */
input.order-to,input.hasDatepicker,#txtStartDate{background-color:#fff!important;color:var(--cc-ink)!important;border:1px solid #b8c7d6!important;border-radius:6px!important}
/* Buttons: one height and shape; large CTAs a step bigger; storefront palette */
#main-container .btn,#main-container .btn-sm{min-height:32px;padding:6px 14px;font:600 13px/1.5 Arial,sans-serif;border-radius:8px!important;vertical-align:middle}
#main-container .btn-lg{min-height:38px;padding:8px 18px;font-size:15px}
#main-container .btn-xs{min-height:26px;padding:3px 10px;font-size:12px;border-radius:6px!important}
#main-container .btn-danger,#main-container .btn-primary,#main-container .bg-red{background-color:var(--cc-red)!important;border-color:var(--cc-red)!important;color:#fff}
#main-container .btn-success{background-color:var(--cc-ink)!important;border-color:var(--cc-ink)!important;color:#fff}
#main-container .btn-default,#main-container .black-btn{background-color:#fff!important;border:1px solid var(--cc-ink)!important;color:var(--cc-ink)!important}
#main-container .square{border-radius:8px!important}
/* Tables scroll sideways inside their card on small screens */
@media(max-width:991px){#main-container table.table{display:block;width:100%;overflow-x:auto}}

/* Business: clear every nested background inside section bars; back-to-top as a navy button (its arrow image came from the image CDN as a placeholder) */
.innerhead *:not(input):not(.btn){background-color:transparent!important}
#div_backtotop #back-top-image img{display:none!important}
#div_backtotop #back-top-image{width:44px;height:40px;border-radius:8px;background:var(--cc-ink);position:relative;cursor:pointer}
#div_backtotop #back-top-image::after{content:"\2191";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:700 18px/1 Arial,sans-serif}
/* Edit + dropdown split button: keep on one line, navy outline like other secondary buttons */
.btn-group:has(> .edtBtn){display:inline-flex!important;flex-wrap:nowrap;white-space:nowrap}
.btn-group > .edtBtn,.btn-group > .btnedit{background:#fff!important;border:1px solid var(--cc-ink)!important;color:var(--cc-ink)!important;min-height:32px}
.btn-group > .edtBtn{border-radius:8px 0 0 8px!important}
.btn-group > .btnedit{border-radius:0 8px 8px 0!important;border-left:0!important;padding:6px 8px}
/* Status filter tabs (orders pages: .panel-heading > ul): horizontal pills; active (.stt) storefront red instead of teal */
.panel-default > .panel-heading:not(.day):has(> ul > li > a.stt){background:var(--cc-sky)!important;border-color:#b9dfed!important;padding:8px 10px}
.panel-default > .panel-heading:not(.day) > ul:has(> li > a.stt){display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 4px;padding:0}
.panel-default > .panel-heading:not(.day) > ul:has(> li > a.stt) > li{display:block;float:none;margin:0;padding:0}
.panel-default > .panel-heading:not(.day) > ul:has(> li > a.stt) > li > a{display:inline-block;padding:6px 12px!important;border-radius:999px;background:#fff!important;border:1px solid #b9dfed;color:var(--cc-ink)!important;font:600 13px/1.4 Arial,sans-serif;text-decoration:none}
.panel-default > .panel-heading:not(.day) > ul:has(> li > a.stt) > li > a:hover{border-color:var(--cc-red);color:var(--cc-red)!important}
.panel-default > .panel-heading:not(.day) > ul:has(> li > a.stt) > li > a.stt{background:var(--cc-red)!important;border-color:var(--cc-red);color:#fff!important}
#main-container .btn-info{background:#fff!important;border:1px solid var(--cc-ink)!important;color:var(--cc-ink)!important}
/* Split buttons inside tables (status, edit): keep the caret beside its button */
#main-container td .btn-group{display:inline-flex!important;flex-wrap:nowrap;white-space:nowrap;vertical-align:middle}
#main-container td .btn-group > .btn:first-child:not(:last-child){border-radius:8px 0 0 8px!important}
#main-container td .btn-group > .dropdown-toggle{border-radius:0 8px 8px 0!important;padding:6px 8px;margin-left:-1px}

/* ===== CakeCanvas: EPOS Admin panel (6105) - scoped to pages with #div_sidebar ===== */
body:has(#div_sidebar){padding-top:0!important;background:#fff7ee!important;font-family:Nunito,Arial,sans-serif}
body:has(#div_sidebar) .navbar-static-top{position:relative;padding-top:18px;background:#c9effc!important;border:0!important;border-radius:0!important;margin-bottom:22px!important;min-height:0;box-shadow:0 2px 8px rgba(9,27,60,.08)}
body:has(#div_sidebar) .navbar-static-top::before{content:""!important;display:block!important;position:absolute;left:0;right:0;top:0;width:100%;height:18px;z-index:2;background:radial-gradient(circle at 14px 0,#e0002a 14px,transparent 15px) 0 0/56px 18px repeat-x,radial-gradient(circle at 14px 0,#fff 14px,transparent 15px) 28px 0/56px 18px repeat-x}
body:has(#div_sidebar) .navbar-static-top .container{display:flex;align-items:center;justify-content:space-between;min-height:72px}
body:has(#div_sidebar) .navbar-brand{display:flex!important;align-items:center;gap:12px;height:auto!important;padding:8px 0!important;background:transparent!important;color:#091b3c!important;font-family:Georgia,"Times New Roman",serif;font-size:15px!important;font-weight:700;text-transform:none}
body:has(#div_sidebar) .navbar-brand::before{content:"";display:block;width:190px;height:44px;background:url(/cakecanvas-brand/logo.png) left center/contain no-repeat}
body:has(#div_sidebar) .navbar-brand:hover{color:#eb1730!important}
body:has(#div_sidebar) .navbar-toggle{background:#091b3c!important;border:0!important;border-radius:8px}
body:has(#div_sidebar) .navbar-toggle .icon-bar{background:#fff!important}
/* sidebar */
body:has(#div_sidebar) .div_MenuHeader{background:#091b3c!important;color:#fff!important;border-radius:12px;font-weight:700}
body:has(#div_sidebar) #div_sidebar .mainpanel{border:1px solid #f0dcc6!important;border-radius:14px!important;overflow:hidden;background:#fff!important;box-shadow:0 4px 14px rgba(9,27,60,.06)}
body:has(#div_sidebar) #div_sidebar .mainpanel > li{border-color:#f6ebde!important;background:#fff!important}
body:has(#div_sidebar) #div_sidebar .mainpanel > li > .k-link,body:has(#div_sidebar) #div_sidebar .mainpanel > li > a{background:#fff!important;background-image:none!important;color:#091b3c!important;font-weight:700;font-size:14px;padding:10px 14px!important}
body:has(#div_sidebar) #div_sidebar .mainpanel > li > .k-link:hover,body:has(#div_sidebar) #div_sidebar .mainpanel > li > a:hover,body:has(#div_sidebar) #div_sidebar .mainpanel > li > .k-link.k-state-hover{background:#fff7ee!important;color:#eb1730!important}
body:has(#div_sidebar) #div_sidebar .mainpanel > li.k-state-active > .k-link,body:has(#div_sidebar) #div_sidebar .mainpanel > li > .k-link.k-state-selected{background:#c9effc!important;color:#091b3c!important;box-shadow:inset 4px 0 0 #eb1730}
body:has(#div_sidebar) #div_sidebar .mainpanel ul{background:#fff!important;border:0!important}
body:has(#div_sidebar) #div_sidebar .mainpanel ul li a,body:has(#div_sidebar) #div_sidebar .mainpanel ul li .k-link{background:#fff!important;background-image:none!important;color:#33415c!important;font-size:13px;padding:7px 14px 7px 22px!important}
body:has(#div_sidebar) #div_sidebar .mainpanel ul li a:hover,body:has(#div_sidebar) #div_sidebar .mainpanel ul li .k-link:hover{color:#eb1730!important;background:#fff7ee!important}
body:has(#div_sidebar) #div_sidebar .k-icon{opacity:.6}
/* content */
body:has(#div_sidebar) .maincontainer .jumbotron{background:#fff!important;border:1px solid #f0dcc6;border-radius:18px!important;box-shadow:0 6px 18px rgba(9,27,60,.06)}
body:has(#div_sidebar) .maincontainer .jumbotron h1{font-family:Georgia,"Times New Roman",serif;color:#091b3c;font-size:40px}
body:has(#div_sidebar) .maincontainer .jumbotron h1::after{content:"";display:block;width:72px;height:4px;background:#eb1730;border-radius:4px;margin-top:12px}
body:has(#div_sidebar) .maincontainer .jumbotron p{color:#33415c;font-size:17px}
/* footer */
body:has(#div_sidebar) #footer{background:#c9effc!important;border-top:4px solid #eb1730;margin-top:40px;padding:20px 0}
body:has(#div_sidebar) #footer .container{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
body:has(#div_sidebar) #footer .container::before{content:"";display:block;width:160px;height:38px;background:url(/cakecanvas-brand/logo.png) left center/contain no-repeat}
body:has(#div_sidebar) #footer p{margin:0;color:#091b3c!important;font-size:13px}
@media(max-width:767px){body:has(#div_sidebar) .navbar-brand::before{width:150px;height:36px}body:has(#div_sidebar) .maincontainer .jumbotron h1{font-size:30px}}

body:has(#div_sidebar) .navbar-brand{font-size:0!important}
body:has(#div_sidebar) .navbar-brand::before{flex:0 0 auto;width:230px;height:52px}
body:has(#div_sidebar) .navbar-brand::after{content:'EPOS Admin';font-size:13px;font-family:Nunito,Arial,sans-serif;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#fff;background:#091b3c;border-radius:999px;padding:4px 12px}

/* EPOS Admin inner pages: menu dropdown in header, panels, buttons, tables */
body:has(#div_sidebar) .navbar-brand::after{align-self:center;line-height:1.4;white-space:nowrap}
@media(min-width:768px){body:has(#div_sidebar) #div_sidebar.mc{top:-76px!important;left:auto!important;right:15px!important;width:220px!important;padding:0!important}}
body:has(#div_sidebar) #div_menuheader{cursor:pointer;text-align:center;padding:9px 14px!important;border-radius:999px!important;font-size:14px;box-shadow:0 3px 8px rgba(9,27,60,.18)}
body:has(#div_sidebar) #div_menuheader::before{content:"\2630  "}
body:has(#div_sidebar) #div_sidebar.mc .mainpanel{margin-top:8px}
body:has(#div_sidebar) .maincontainer .panel{border:1px solid #f0dcc6!important;border-radius:16px!important;overflow:hidden;box-shadow:0 6px 18px rgba(9,27,60,.06)}
body:has(#div_sidebar) .maincontainer .panel > .panel-heading{background:#c9effc!important;border:0!important;border-bottom:3px solid #eb1730!important;color:#091b3c!important;font-family:Georgia,"Times New Roman",serif;font-size:18px;font-weight:700;padding:12px 18px}
body:has(#div_sidebar) .maincontainer .panel > .panel-heading *{color:#091b3c!important}
body:has(#div_sidebar) .maincontainer .btn{border-radius:999px!important;font-weight:700;padding:6px 16px;margin:2px 2px 2px 0}
body:has(#div_sidebar) .maincontainer .btn-primary,body:has(#div_sidebar) .maincontainer .btn-default,body:has(#div_sidebar) .maincontainer .btn-info{background:#fff!important;color:#091b3c!important;border:1px solid #091b3c!important}
body:has(#div_sidebar) .maincontainer .btn-primary:hover,body:has(#div_sidebar) .maincontainer .btn-default:hover,body:has(#div_sidebar) .maincontainer .btn-info:hover{background:#091b3c!important;color:#fff!important}
body:has(#div_sidebar) .maincontainer .btn-success,body:has(#div_sidebar) .maincontainer input.btn[id*=btnAdd],body:has(#div_sidebar) .maincontainer input.btn[id*=btnSave],body:has(#div_sidebar) .maincontainer input.btn[id*=btnSubmit],body:has(#div_sidebar) .maincontainer input.btn[id*=btnUpdate]{background:#eb1730!important;border-color:#eb1730!important;color:#fff!important}
body:has(#div_sidebar) .maincontainer .btn-danger,body:has(#div_sidebar) .maincontainer input.btn[id*=btnDelete]{background:#fff!important;color:#eb1730!important;border:1px solid #eb1730!important}
body:has(#div_sidebar) .maincontainer .btn-danger:hover,body:has(#div_sidebar) .maincontainer input.btn[id*=btnDelete]:hover{background:#eb1730!important;color:#fff!important}
body:has(#div_sidebar) .maincontainer .table{background:#fff;border-color:#f0e6da!important}
body:has(#div_sidebar) .maincontainer .table th,body:has(#div_sidebar) .maincontainer .table tr:first-child th{background:#fff7ee!important;color:#091b3c!important;font-weight:800;border-color:#f0e6da!important;border-bottom:2px solid #eb1730!important}
body:has(#div_sidebar) .maincontainer .table td{border-color:#f0e6da!important;color:#33415c}
body:has(#div_sidebar) .maincontainer .table-striped > tbody > tr:nth-of-type(odd){background:#fffaf4}
body:has(#div_sidebar) .maincontainer .table tr:hover td{background:#f2fbff}
body:has(#div_sidebar) .maincontainer .table a{color:#0b82d8}
body:has(#div_sidebar) .maincontainer .form-control{border:1px solid #d9cbb8!important;border-radius:10px!important;box-shadow:none!important}
body:has(#div_sidebar) .maincontainer .form-control:focus{border-color:#0b82d8!important;box-shadow:0 0 0 3px rgba(11,130,216,.15)!important}
body:has(#div_sidebar) .maincontainer input[type=checkbox],body:has(#div_sidebar) .maincontainer input[type=radio]{accent-color:#eb1730}
@media(max-width:991px){body:has(#div_sidebar) .maincontainer{overflow-x:auto}}
@media(max-width:767px){body:has(#div_sidebar) .navbar-brand::after{display:none}body:has(#div_sidebar) #div_menuheader{display:none!important}}

/* EPOS Admin: bootstrap modals */
body:has(#div_sidebar) .modal-content{border:0!important;border-radius:18px!important;overflow:hidden;box-shadow:0 18px 40px rgba(9,27,60,.25)!important}
body:has(#div_sidebar) .modal-header{background:#c9effc!important;border-bottom:3px solid #eb1730!important;padding:12px 18px}
body:has(#div_sidebar) .modal-header .modal-title{color:#091b3c!important;font-family:Georgia,"Times New Roman",serif;font-weight:700}
body:has(#div_sidebar) .modal-header .close{color:#091b3c!important;opacity:.7;text-shadow:none}
body:has(#div_sidebar) .modal-body label,body:has(#div_sidebar) .modal-body .control-label{color:#091b3c}
body:has(#div_sidebar) .modal-body .form-control,body:has(#div_sidebar) .modal .form-control{border:1px solid #d9cbb8!important;border-radius:10px!important;box-shadow:none!important;background-color:#fff}
body:has(#div_sidebar) .modal .btn{border-radius:999px!important;font-weight:700;padding:6px 18px}
body:has(#div_sidebar) .modal .btn-primary,body:has(#div_sidebar) .modal .btn-success,body:has(#div_sidebar) .modal input.btn[id*=Save]{background:#eb1730!important;border-color:#eb1730!important;color:#fff!important}

body:has(#div_sidebar) #div_sidebar:not(.mc){top:0!important}

/* ===== CakeCanvas: button hygiene (all apps, 27 Nov late) ===== */
.btn + .btn,.btn + .btn-group,.btn-group + .btn,.btn-group + .btn-group,a.btn + a.btn,input.btn + input.btn,input.btn + a.btn,a.btn + input.btn{margin-left:8px}
.btn-group{display:inline-flex!important;align-items:stretch;vertical-align:middle;flex-wrap:nowrap}
.btn-group > .btn{float:none!important;margin-top:0!important;margin-bottom:0!important}
.btn-group > .btn + .btn,.btn-group > .btn + .dropdown-toggle{margin-left:-1px!important}
.btn-group > .btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0!important;border-bottom-right-radius:0!important}
.btn-group > .btn + .btn,.btn-group > .btn + .dropdown-toggle{border-top-left-radius:0!important;border-bottom-left-radius:0!important}
.btn-group > .btn:only-child{border-radius:inherit}
td > .btn,td > a.btn,td > input.btn,td > .btn-group{margin-top:4px;margin-bottom:4px}
td > .btn + br + .btn,td > a.btn + br + a.btn{margin-left:0}
.btn.bg-black,.btn.btn-black:not(.btn-searchgo),a.bg-black.btn{background:#091b3c!important;border-color:#091b3c!important;color:#fff!important}
.btn.bg-black:hover,.btn.btn-black:not(.btn-searchgo):hover{background:#13305f!important}
.input-group-btn > .btn + .btn{margin-left:-1px}

/* ===== CakeCanvas: phone button spacing (all apps) ===== */
@media (max-width:767px){
 .btn:not(.btn-group > .btn):not(.btn-searchgo):not(.topbar .btn):not(.navbar .btn):not(#top-bar .btn){margin-bottom:8px}
 .btn.pull-right:not(.btn-searchgo){margin-left:8px}
 .btn-group:has(> .btn:nth-child(3)):not(:has(> .dropdown-toggle)){flex-wrap:wrap;gap:6px}
 .btn-group:has(> .btn:nth-child(3)):not(:has(> .dropdown-toggle)) > .btn{border-radius:999px!important;margin-left:0!important}
 .input-group{flex-wrap:nowrap}
}

@media (max-width:767px){ .btn-group + .btn-group,.btn + .btn-group,.btn-group + .btn{margin-left:0!important} .btn-group:not(.topbar .btn-group):not(.navbar .btn-group){margin:0 8px 8px 0} .btn-group > .btn{white-space:normal} }

.btn.bg-black *,.btn.btn-black:not(.btn-searchgo) *,.btn.black-btn.active *{color:#fff!important}

/* ===== CakeCanvas UNIFIED SIZE SCALE (final layer, identical in all apps, 27 Nov late) =====
   Desktop >1366px unchanged. Tablet/iPad <=1366px or touch: btn 40 / sm 36 / xs 32 / lg 46, fields 40, pills 38.
   Phone <=767px: btn 36 / sm 34 / xs 30 / lg 42, fields 38 (16px text so iPhone does not zoom), pills 32. */
@media (max-width:1366px), (pointer:coarse){
 html body .btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:40px!important;height:auto!important;padding:8px 16px!important;font-size:14.5px!important;line-height:1.4!important}
 html body .btn-lg:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:46px!important;padding:10px 20px!important;font-size:16px!important}
 html body .btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:36px!important;padding:7px 13px!important;font-size:14px!important}
 html body .btn-xs:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:32px!important;min-width:32px!important;padding:5px 10px!important;font-size:13px!important}
 html body .btn-group > .dropdown-toggle:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){padding-left:10px!important;padding-right:10px!important;min-width:0!important}
 html body .btn-group > .btn{align-self:stretch!important}
 html body input.form-control:not(textarea):not(.headerinput):not(.txtSearchbox):not(.topbar *):not(#top-bar *):not(.navbar-static-top *):not([type=checkbox]):not([type=radio]),html body select.form-control:not(textarea):not(.headerinput):not(.txtSearchbox):not(.topbar *):not(#top-bar *):not(.navbar-static-top *):not([type=checkbox]):not([type=radio]),html body .form-control.input-sm:not(textarea):not(.headerinput):not(.txtSearchbox):not(.topbar *):not(#top-bar *):not(.navbar-static-top *):not([type=checkbox]):not([type=radio]){height:40px!important;min-height:40px!important;padding:7px 12px!important;font-size:16px!important;line-height:1.4!important}
 html body a.stt,html body a.stt.active,html body li.active > a.stt,html body .TagCatli li,html body .leftCatli li{min-height:38px!important;padding:8px 16px!important;font-size:14px!important;line-height:1.4!important;margin:3px!important;display:inline-flex!important;align-items:center!important}
 html body .div_buttons_outer,html body .updatesorting_outer{margin-bottom:14px!important}
 html body .pagination > li > a,html body .pagination > li > span{min-width:40px!important;min-height:40px!important;padding:9px 12px!important}
}
@media (max-width:767px){
 html body .btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:36px!important;padding:7px 14px!important;font-size:14px!important}
 html body .btn-lg:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:42px!important;padding:9px 18px!important;font-size:15px!important}
 html body .btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:34px!important;padding:6px 12px!important;font-size:13px!important}
 html body .btn-xs:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:30px!important;min-width:30px!important;padding:4px 9px!important;font-size:12.5px!important}
 html body input.form-control:not(textarea):not(.headerinput):not(.txtSearchbox):not(.topbar *):not(#top-bar *):not(.navbar-static-top *):not([type=checkbox]):not([type=radio]),html body select.form-control:not(textarea):not(.headerinput):not(.txtSearchbox):not(.topbar *):not(#top-bar *):not(.navbar-static-top *):not([type=checkbox]):not([type=radio]),html body .form-control.input-sm:not(textarea):not(.headerinput):not(.txtSearchbox):not(.topbar *):not(#top-bar *):not(.navbar-static-top *):not([type=checkbox]):not([type=radio]){height:38px!important;min-height:38px!important;padding:6px 10px!important}
 html body a.stt,html body a.stt.active,html body li.active > a.stt,html body .TagCatli li,html body .leftCatli li{min-height:32px!important;padding:5px 12px!important;font-size:13px!important;margin:2px!important}
 html body input[type=checkbox],html body input[type=radio]{width:18px!important;height:18px!important}
 html body table td,html body table th{font-size:13.5px!important}
 html body .innerhead h1,html body .innerhead h2,html body .innerhead h3,html body .panel-heading{font-size:18px!important}
 html body .pagination > li > a,html body .pagination > li > span{min-width:36px!important;min-height:36px!important;padding:7px 10px!important}
 /* Start + End date share one row on phones */
 html body .search-field > form > [class*=col-]:has(input.hasDatepicker,input.datepicker,input[type=date],input[placeholder*='Date']),html body .search-field:not(:has(> form)) > [class*=col-]:has(input.hasDatepicker,input.datepicker,input[type=date],input[placeholder*='Date']){flex:1 1 calc(50% - 5px)!important}
}

/* ===== CakeCanvas ALIGNMENT LAYER (final, all apps, 27 Nov 23:10) =====
   One button height = one field height per breakpoint, so buttons and fields line up in every row.
   Tablet/iPad: 40px  |  Phone: 38px  |  icon/extra-small: 32 / 30px. Desktop >1366px unchanged. */
@media (max-width:1366px), (pointer:coarse){
 html body .btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn),html body .btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:40px!important;height:auto!important;padding:4px 16px!important;font-size:14.5px!important;line-height:1.25!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;gap:6px;box-sizing:border-box!important;text-align:center}
 html body input.btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn),html body input.btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){display:inline-block!important;line-height:30px!important;padding-top:0!important;padding-bottom:0!important;height:40px!important}
 html body .btn-xs:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:32px!important;min-width:32px!important;padding:2px 10px!important;font-size:13px!important}
 html body input.btn-xs:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){height:32px!important;line-height:26px!important}
 html body .btn-lg:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:46px!important;padding:6px 20px!important;font-size:16px!important}
 html body .btn-group > .btn{align-self:stretch!important}
 html body .btn-group > .dropdown-toggle:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){padding:0 11px!important;min-width:0!important;border-left:1px solid rgba(255,255,255,.45)!important}
 html body .btn-group > .btn-default.dropdown-toggle,html body .btn-group > .btn-info.dropdown-toggle{border-left-color:rgba(9,27,60,.25)!important}
 html body .btn .caret{margin:0!important}
 html body table td{vertical-align:top!important}
 html body table th{vertical-align:bottom!important}
 html body td > .btn,html body td > a.btn,html body td > .btn-group{margin:0 6px 6px 0!important}
 html body td > br + .btn,html body td > br + a.btn{margin-top:0!important}
}
@media (max-width:767px){
 html body .btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn),html body .btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:38px!important;padding:3px 14px!important;font-size:14px!important}
 html body input.btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn),html body input.btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){height:38px!important;line-height:30px!important}
 html body .btn-xs:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:30px!important;min-width:30px!important;padding:2px 9px!important;font-size:12.5px!important}
 html body input.btn-xs:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){height:30px!important;line-height:24px!important}
 html body .btn-lg:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:42px!important;font-size:15px!important}
}

/* ===== Alignment layer at container strength (html body:has(#div_sidebar) .maincontainer) — keeps sizes identical to the shared scale ===== */
html body:has(#div_sidebar) .maincontainer .btn-group > .btn:not(:last-child):not(.dropdown-toggle),html body:has(#div_sidebar) .maincontainer .btn-group > .btn:not(.dropdown-toggle):has(+ .dropdown-toggle){border-top-right-radius:0!important;border-bottom-right-radius:0!important}
html body:has(#div_sidebar) .maincontainer .btn-group > .btn + .btn,html body:has(#div_sidebar) .maincontainer .btn-group > .btn + .dropdown-toggle{border-top-left-radius:0!important;border-bottom-left-radius:0!important;margin-left:0!important}
@media (max-width:1366px), (pointer:coarse){
 html body:has(#div_sidebar) .maincontainer .btn:not(.btn-searchgo):not(.navbar-toggle),html body:has(#div_sidebar) .maincontainer .btn-sm:not(.btn-searchgo):not(.navbar-toggle){min-height:40px!important;padding:4px 16px!important;font-size:14.5px!important;line-height:1.25!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important}
 html body:has(#div_sidebar) .maincontainer input.btn:not(.btn-searchgo):not(.navbar-toggle),html body:has(#div_sidebar) .maincontainer input.btn-sm:not(.btn-searchgo):not(.navbar-toggle){display:inline-block!important;height:40px!important;line-height:30px!important;padding-top:0!important;padding-bottom:0!important}
 html body:has(#div_sidebar) .maincontainer .btn-xs:not(.btn-searchgo):not(.navbar-toggle){min-height:32px!important;min-width:32px!important;padding:2px 10px!important;font-size:13px!important}
 html body:has(#div_sidebar) .maincontainer .btn-lg:not(.btn-searchgo):not(.navbar-toggle){min-height:46px!important;padding:6px 20px!important;font-size:16px!important}
 html body:has(#div_sidebar) .maincontainer .btn-group > .dropdown-toggle:not(.btn-searchgo):not(.navbar-toggle){padding:0 11px!important;min-width:0!important;border-left:1px solid rgba(255,255,255,.45)!important}
 html body:has(#div_sidebar) .maincontainer input.form-control:not(textarea):not([type=checkbox]):not([type=radio]),html body:has(#div_sidebar) .maincontainer select.form-control,html body:has(#div_sidebar) .maincontainer .form-control.input-sm:not(textarea):not([type=checkbox]):not([type=radio]),html body:has(#div_sidebar) .maincontainer select{height:40px!important;min-height:40px!important;padding:7px 12px!important;font-size:16px!important}
 html body:has(#div_sidebar) .maincontainer table td{vertical-align:top!important}
}
@media (max-width:767px){
 html body:has(#div_sidebar) .maincontainer .btn:not(.btn-searchgo):not(.navbar-toggle),html body:has(#div_sidebar) .maincontainer .btn-sm:not(.btn-searchgo):not(.navbar-toggle){min-height:38px!important;padding:3px 14px!important;font-size:14px!important}
 html body:has(#div_sidebar) .maincontainer input.btn:not(.btn-searchgo):not(.navbar-toggle),html body:has(#div_sidebar) .maincontainer input.btn-sm:not(.btn-searchgo):not(.navbar-toggle){height:38px!important}
 html body:has(#div_sidebar) .maincontainer .btn-xs:not(.btn-searchgo):not(.navbar-toggle){min-height:30px!important;min-width:30px!important;padding:2px 9px!important;font-size:12.5px!important}
 html body:has(#div_sidebar) .maincontainer input.form-control:not(textarea):not([type=checkbox]):not([type=radio]),html body:has(#div_sidebar) .maincontainer select.form-control,html body:has(#div_sidebar) .maincontainer .form-control.input-sm:not(textarea):not([type=checkbox]):not([type=radio]),html body:has(#div_sidebar) .maincontainer select{height:38px!important;min-height:38px!important;padding:6px 10px!important}
}

/* plain text inputs (incl. markup typos like class="form-contro") look and size exactly like .form-control (html body:has(#div_sidebar) .maincontainer) */
html body:has(#div_sidebar) .maincontainer input[type=text]:not(.headerinput):not(.txtSearchbox),html body:has(#div_sidebar) .maincontainer input[type=number],html body:has(#div_sidebar) .maincontainer input[type=email],html body:has(#div_sidebar) .maincontainer input[type=search]:not(.headerinput),html body:has(#div_sidebar) .maincontainer input[type=tel],html body:has(#div_sidebar) .maincontainer input[type=password],html body:has(#div_sidebar) .maincontainer input[type=date],html body:has(#div_sidebar) .maincontainer input:not([type]):not(.headerinput){border:1px solid #d9cbb8!important;border-radius:10px!important;box-shadow:none!important;background-color:#fff;color:#091b3c;outline:none}
html body:has(#div_sidebar) .maincontainer input[type=text]:not(.headerinput):not(.txtSearchbox):focus,html body:has(#div_sidebar) .maincontainer input[type=number]:focus,html body:has(#div_sidebar) .maincontainer input[type=email]:focus,html body:has(#div_sidebar) .maincontainer input[type=search]:not(.headerinput):focus,html body:has(#div_sidebar) .maincontainer input[type=tel]:focus,html body:has(#div_sidebar) .maincontainer input[type=password]:focus,html body:has(#div_sidebar) .maincontainer input[type=date]:focus,html body:has(#div_sidebar) .maincontainer input:not([type]):not(.headerinput):focus{border-color:#0b82d8!important;box-shadow:0 0 0 3px rgba(11,130,216,.15)!important}
@media (max-width:1366px), (pointer:coarse){ html body:has(#div_sidebar) .maincontainer input[type=text]:not(.headerinput):not(.txtSearchbox),html body:has(#div_sidebar) .maincontainer input[type=number],html body:has(#div_sidebar) .maincontainer input[type=email],html body:has(#div_sidebar) .maincontainer input[type=search]:not(.headerinput),html body:has(#div_sidebar) .maincontainer input[type=tel],html body:has(#div_sidebar) .maincontainer input[type=password],html body:has(#div_sidebar) .maincontainer input[type=date],html body:has(#div_sidebar) .maincontainer input:not([type]):not(.headerinput){height:40px!important;min-height:40px!important;padding:7px 12px!important;font-size:16px!important;vertical-align:middle} }
@media (max-width:767px){ html body:has(#div_sidebar) .maincontainer input[type=text]:not(.headerinput):not(.txtSearchbox),html body:has(#div_sidebar) .maincontainer input[type=number],html body:has(#div_sidebar) .maincontainer input[type=email],html body:has(#div_sidebar) .maincontainer input[type=search]:not(.headerinput),html body:has(#div_sidebar) .maincontainer input[type=tel],html body:has(#div_sidebar) .maincontainer input[type=password],html body:has(#div_sidebar) .maincontainer input[type=date],html body:has(#div_sidebar) .maincontainer input:not([type]):not(.headerinput){height:38px!important;min-height:38px!important;padding:6px 10px!important} }

/* fields and buttons share one vertical alignment everywhere */
html body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html body select,html body .btn{vertical-align:middle}
html body #main-container input:not([type=checkbox]):not([type=radio]),html body #main-container select{vertical-align:middle!important}

@media (max-width:767px){ html body .btn:not(.btn-group > .btn):not(.btn-searchgo):not(.topbar .btn):not(.navbar .btn):not(#top-bar .btn){margin-top:4px!important;margin-bottom:4px!important} html body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html body select{margin-top:4px;margin-bottom:4px} }

/* a button never spills out of its column; long labels wrap inside it */
html body [class*=col-] > .btn:not(.btn-group > .btn){max-width:100%;white-space:normal}

/* ===== Phone compact layer v2 + fixed photo boxes (html body) — 27 Nov 23:45 ===== */
html body table td img:not(.glyphicon):not([src*='icon']):not([width='16']):not([height='16']),html body .orderWrappernew img.img,html body td a > img.img{width:72px!important;height:72px!important;min-width:72px;object-fit:cover;border-radius:10px;border:1px solid #f0e6da;background:#fff7ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23e8b7bf' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M13 9v5M20 7v7M27 9v5'/%3E%3Crect x='10' y='14' width='20' height='8' rx='2'/%3E%3Crect x='6' y='22' width='28' height='12' rx='2'/%3E%3C/g%3E%3C/svg%3E") center/44% no-repeat;color:transparent!important;font-size:0!important;overflow:hidden;display:inline-block;vertical-align:top}
@media (max-width:767px){
 html body .btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn),html body .btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:34px!important;padding:2px 12px!important;font-size:13px!important}
 html body input.btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn),html body input.btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){height:34px!important;line-height:28px!important}
 html body .btn-xs:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:28px!important;min-width:28px!important;padding:1px 8px!important;font-size:12px!important}
 html body .btn-lg:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:40px!important;font-size:14px!important}
 html body input.form-control:not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox),html body select.form-control,html body .form-control.input-sm:not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox),html body select,html body input[type=text]:not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox),html body input[type=number],html body input[type=email],html body input[type=search]:not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox),html body input[type=date],html body input[type=password],html body input:not([type]):not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox){height:36px!important;min-height:36px!important;padding:5px 10px!important;font-size:16px!important}
 html body a.stt,html body a.stt.active,html body li.active > a.stt,html body .TagCatli li,html body .leftCatli li{min-height:30px!important;padding:4px 11px!important;font-size:12.5px!important}
 html body table td,html body table th{font-size:13px!important;padding:8px 6px!important}
 html body table td img:not(.glyphicon):not([src*='icon']),html body td a > img.img{width:56px!important;height:56px!important;min-width:56px}
 html body label{font-size:13.5px}
}

/* ===== Phone compact layer v2 + fixed photo boxes (html body:has(#div_sidebar) .maincontainer) — 27 Nov 23:45 ===== */
html body:has(#div_sidebar) .maincontainer table td img:not(.glyphicon):not([src*='icon']):not([width='16']):not([height='16']),html body:has(#div_sidebar) .maincontainer .orderWrappernew img.img,html body:has(#div_sidebar) .maincontainer td a > img.img{width:72px!important;height:72px!important;min-width:72px;object-fit:cover;border-radius:10px;border:1px solid #f0e6da;background:#fff7ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23e8b7bf' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M13 9v5M20 7v7M27 9v5'/%3E%3Crect x='10' y='14' width='20' height='8' rx='2'/%3E%3Crect x='6' y='22' width='28' height='12' rx='2'/%3E%3C/g%3E%3C/svg%3E") center/44% no-repeat;color:transparent!important;font-size:0!important;overflow:hidden;display:inline-block;vertical-align:top}
@media (max-width:767px){
 html body:has(#div_sidebar) .maincontainer .btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn),html body:has(#div_sidebar) .maincontainer .btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:34px!important;padding:2px 12px!important;font-size:13px!important}
 html body:has(#div_sidebar) .maincontainer input.btn:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn),html body:has(#div_sidebar) .maincontainer input.btn-sm:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){height:34px!important;line-height:28px!important}
 html body:has(#div_sidebar) .maincontainer .btn-xs:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:28px!important;min-width:28px!important;padding:1px 8px!important;font-size:12px!important}
 html body:has(#div_sidebar) .maincontainer .btn-lg:not(.btn-searchgo):not(.navbar-toggle):not(.headerbtn):not(.topbar .btn):not(#top-bar .btn):not(.navbar-static-top .btn){min-height:40px!important;font-size:14px!important}
 html body:has(#div_sidebar) .maincontainer input.form-control:not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox),html body:has(#div_sidebar) .maincontainer select.form-control,html body:has(#div_sidebar) .maincontainer .form-control.input-sm:not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox),html body:has(#div_sidebar) .maincontainer select,html body:has(#div_sidebar) .maincontainer input[type=text]:not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox),html body:has(#div_sidebar) .maincontainer input[type=number],html body:has(#div_sidebar) .maincontainer input[type=email],html body:has(#div_sidebar) .maincontainer input[type=search]:not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox),html body:has(#div_sidebar) .maincontainer input[type=date],html body:has(#div_sidebar) .maincontainer input[type=password],html body:has(#div_sidebar) .maincontainer input:not([type]):not(textarea):not([type=checkbox]):not([type=radio]):not(.headerinput):not(.txtSearchbox){height:36px!important;min-height:36px!important;padding:5px 10px!important;font-size:16px!important}
 html body:has(#div_sidebar) .maincontainer a.stt,html body:has(#div_sidebar) .maincontainer a.stt.active,html body:has(#div_sidebar) .maincontainer li.active > a.stt,html body:has(#div_sidebar) .maincontainer .TagCatli li,html body:has(#div_sidebar) .maincontainer .leftCatli li{min-height:30px!important;padding:4px 11px!important;font-size:12.5px!important}
 html body:has(#div_sidebar) .maincontainer table td,html body:has(#div_sidebar) .maincontainer table th{font-size:13px!important;padding:8px 6px!important}
 html body:has(#div_sidebar) .maincontainer table td img:not(.glyphicon):not([src*='icon']),html body:has(#div_sidebar) .maincontainer td a > img.img{width:56px!important;height:56px!important;min-width:56px}
 html body:has(#div_sidebar) .maincontainer label{font-size:13.5px}
}

/* photo boxes: only product photos (img.img); icons and stars back to natural size; photo above the item text */
html body table td img:not(.img),html body #main-container table td img:not(.img),html body:has(#div_sidebar) .maincontainer table td img:not(.img){width:auto!important;height:auto!important;min-width:0!important;background:none!important;border:0!important;border-radius:0!important;font-size:inherit!important;color:inherit!important;object-fit:initial}
html body #main-container .divprddet a > img.img,html body #main-container td a > img.img{position:static!important;display:block!important;width:64px!important;height:64px!important;margin:0 0 8px!important}
html body #main-container .divprddet > br{display:none}
@media (max-width:767px){ html body #main-container .divprddet a > img.img,html body #main-container td a > img.img{width:56px!important;height:56px!important} }

/* only product photos (img.img) get the photo box; every other table image keeps its natural size */
html body table td img:not(.img):not(.glyphicon):not([src*='icon']):not([width='16']):not([height='16']),html body #main-container table td img:not(.img):not(.glyphicon):not([src*='icon']):not([width='16']):not([height='16']),html body:has(#div_sidebar) .maincontainer table td img:not(.img):not(.glyphicon):not([src*='icon']):not([width='16']):not([height='16']){width:auto!important;height:auto!important;min-width:0!important;max-width:100%;background:none!important;border:0!important;border-radius:0!important;font-size:inherit!important;color:inherit!important;object-fit:initial!important;content:normal!important}
html body #main-container table td img.imgstar:not(.img):not(.glyphicon):not([src*='icon']):not([width='16']):not([height='16']),html body table td img.imgstar:not(.img):not(.glyphicon):not([src*='icon']):not([width='16']):not([height='16']){height:14px!important;width:auto!important}
