/* Waffle V3 visual layer */
.side-close{display:none;margin-left:auto;width:34px;height:34px;border:0;border-radius:10px;background:color-mix(in srgb,var(--primary) 10%,white);color:var(--primary);font-size:24px;line-height:1;cursor:pointer}
.navicon{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important}
.menu-cell{display:flex;align-items:center;gap:11px}.menu-thumb,.menu-placeholder{width:48px;height:48px;flex:0 0 48px;border-radius:12px}.menu-thumb{display:block;object-fit:cover;box-shadow:0 5px 13px #28182c1c}.menu-placeholder{display:grid!important;place-items:center!important;padding:0!important;background:color-mix(in srgb,var(--primary) 10%,white)!important;font-size:20px}
.product-card{overflow:hidden;padding-top:112px!important;min-height:190px!important;box-shadow:0 9px 21px rgba(45,31,55,.07);transition:transform .18s,box-shadow .18s}.product-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(45,31,55,.12)}.product-photo,.product-photo-empty{position:absolute;inset:0 0 auto;width:100%;height:98px}.product-photo{object-fit:cover}.product-photo-empty{display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--primary) 8%,white),color-mix(in srgb,var(--primary) 22%,white));font-size:38px}.product-card input[type=number]{top:113px!important;z-index:2}.image-field small{font-size:8px;color:var(--muted);font-weight:400}.menu-visibility{padding:14px}.menu-visibility legend{padding:0 6px;font-size:10px;font-weight:800}.menu-visibility .check{min-height:32px;padding:5px 7px;border-radius:8px;background:#faf9fc}

/* Soft: pastel, rounded and gentle */
.theme-soft{--bg:color-mix(in srgb,var(--primary) 3%,#fffdfb);--radius:18px;--shadow:0 10px 30px rgba(51,34,58,.07)}
.theme-soft .card,.theme-soft .stats>*{border-color:color-mix(in srgb,var(--primary) 11%,#eee)}

/* Clean: square, flat and spacious */
.theme-clean{--bg:#f3f5f8;--surface:#fff;--radius:8px;--shadow:none}
.theme-clean .card,.theme-clean .stats>*,.theme-clean .hero,.theme-clean .product-card{border-radius:8px;box-shadow:none;background:#fff}.theme-clean .side nav a.active{background:var(--primary);box-shadow:none}.theme-clean .primary,.theme-clean .pagehead>button,.theme-clean .hero>a{background:var(--primary);box-shadow:none}

/* Cute 3D: bubbly cards and lifted buttons */
.theme-cute{--bg:color-mix(in srgb,var(--primary) 5%,#fff8fb);--radius:26px;--shadow:0 12px 0 color-mix(in srgb,var(--primary) 9%,#e7dce8),0 20px 38px rgba(47,28,55,.09)}
.theme-cute .card,.theme-cute .stats>*,.theme-cute dialog{border:2px solid color-mix(in srgb,var(--primary) 17%,white);box-shadow:var(--shadow)}.theme-cute .primary,.theme-cute .pagehead>button,.theme-cute .hero>a{border-radius:16px;box-shadow:0 6px 0 color-mix(in srgb,var(--primary) 68%,#874d75),0 11px 20px color-mix(in srgb,var(--primary) 18%,transparent)}.theme-cute .primary:active,.theme-cute .pagehead>button:active{transform:translateY(4px);box-shadow:0 2px 0 color-mix(in srgb,var(--primary) 68%,#874d75)}.theme-cute .side nav a{border-radius:16px}.theme-cute .product-card{border-radius:21px;border-width:2px}

/* Modern: crisp dashboard with dark sidebar */
.theme-modern{--bg:#f2f4f8;--surface:#fff;--radius:14px;--shadow:0 8px 24px rgba(25,35,55,.07)}
.theme-modern .side{background:#20232b;border:0}.theme-modern .brand strong{color:#fff}.theme-modern .brand small,.theme-modern .side nav a{color:#aeb3c0}.theme-modern .side nav a.active{color:#fff}.theme-modern .account{background:#2a2e38;border-color:#363b48}.theme-modern .account b{color:#fff}.theme-modern .card,.theme-modern .stats>*{border:0}.theme-modern .hero{background:linear-gradient(125deg,#fff,color-mix(in srgb,var(--primary) 14%,white));border:0}

/* Elegant: warm premium surfaces and fine borders */
.theme-elegant{--bg:#f7f3ed;--surface:#fffdfa;--text:#29231e;--muted:#8a7c70;--line:#e8ded3;--radius:12px;--shadow:0 14px 36px rgba(66,46,29,.08)}
.theme-elegant .side{background:#24201d;border:0}.theme-elegant .brand strong{color:#fff}.theme-elegant .brand small,.theme-elegant .side nav a{color:#c7baad}.theme-elegant .side nav a.active{color:#fff;background:linear-gradient(135deg,var(--primary),#b68b58)}.theme-elegant .hero{background:linear-gradient(120deg,#fffdfa,#f0e2d0);border-color:#e3d0ba}.theme-elegant .card,.theme-elegant .stats>*{border-color:#e8ded3}

@media(max-width:760px){
 html{font-size:16px}.side{width:min(330px,88vw);padding:20px 14px}.side-close{display:grid;place-items:center}.side nav a{min-height:48px;font-size:14px}.navicon{width:21px!important;height:21px!important;min-width:21px!important;max-width:21px!important}.shell main>header h1{font-size:18px}.shell main>header small{font-size:11px}.content{padding:18px 14px 44px}.pagehead h2{font-size:24px}.pagehead p,.hero p{font-size:12px}.stats small{font-size:9px}.stats b{font-size:19px}.stats span{font-size:10px}.card{padding:16px}.product-card{min-height:195px!important;padding-top:114px!important}.form label,.orderopts label{font-size:11px}.form input,.form select,.orderopts input,.orderopts select{height:46px;font-size:15px}td{font-size:12px}th{font-size:9px}.mini,.danger{font-size:11px;padding:8px 10px}
}
