:root{--coffee:#875536;--coffee-dark:#56351f;--cream:#f8f5f0;--ink:#2e2925;--gold:#d5b48a;--border:#eee5dc}
*{box-sizing:border-box}body{background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.topbar{background:var(--coffee-dark);box-shadow:0 2px 12px #00000012}.navbar-brand{letter-spacing:.5px}.navbar-brand span,.brand-mark span{color:var(--gold)}.navbar .nav-link{color:#ffffffbd}.navbar .nav-link.active,.navbar .nav-link:hover{color:#fff}.eyebrow{font-size:.72rem;letter-spacing:1.5px;font-weight:800;color:var(--coffee)}.panel,.stat-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:21px;box-shadow:0 4px 18px #56351f08}.stat-card{height:100%;padding:19px}.stat-icon{font-size:1.5rem;margin-bottom:9px}.stat-value{font-size:1.65rem;font-weight:750;letter-spacing:-.5px;margin-top:4px}.btn-coffee{background:var(--coffee);color:#fff;border:0;border-radius:9px;padding:.65rem 1rem}.btn-coffee:hover{background:var(--coffee-dark);color:#fff}.quick-link{height:100%;min-height:145px;display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid var(--border);border-radius:13px;text-decoration:none;color:inherit}.quick-link span{font-size:1.5rem}.quick-link small{color:#81766e}.quick-link:hover{border-color:#c7a98f;transform:translateY(-1px)}.stock-alert{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid #f0ebe6}.stock-alert:last-child{border-bottom:0}.stock-alert strong,.stock-alert small{display:block}.stock-alert small{color:#81766e}.product-card{overflow:hidden;border:1px solid var(--border);border-radius:13px;background:#fff}.product-photo,.product-placeholder{width:100%;height:145px;object-fit:cover}.product-placeholder{display:grid;place-items:center;background:#f2e9df;font-size:2.6rem}.price{color:var(--coffee)}.sale-product{width:100%;height:100%;padding:0 0 13px;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column;text-align:left}.sale-product img{width:100%;height:105px;object-fit:cover}.sale-product .product-placeholder{height:105px}.sale-product strong,.sale-product span{margin:7px 12px 0}.sale-product span{color:var(--coffee);font-weight:700}.sale-product:hover{border-color:var(--coffee);box-shadow:0 5px 14px #56351f12}.cart-items{max-height:450px;overflow:auto}.cart-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #f0ebe6}.cart-row small{color:#81766e}.change-box{background:#f8f2eb;padding:12px;border-radius:9px;display:flex;justify-content:space-between}.empty-state{padding:30px 15px;text-align:center;color:#877b72;background:#fbfaf8;border:1px dashed #dfd1c4;border-radius:12px}.state-pendiente{background:#fff0c2;color:#765400}.state-preparando{background:#dcecff;color:#174f89}.state-lista{background:#d9f4e2;color:#176a39}.state-entregada{background:#e8e4df;color:#50483f}.state-anulada{background:#ffe0e0;color:#9a2020}.order-number{font-size:2rem;font-weight:800;color:var(--coffee)}.kitchen-card{height:100%;border-top:4px solid var(--gold)}.receipt{max-width:520px;margin:0 auto}.brand-mark{font-size:1.8rem;font-weight:900;letter-spacing:1px;color:var(--coffee-dark)}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#f8f5f0,#ead8c7)}.login-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:36px;width:min(100%,420px);box-shadow:0 20px 60px #56351f18;text-align:center}.login-card form{text-align:left}.login-card .brand-mark{font-size:2.2rem}.form-control,.form-select{border-color:#e2d8cf;padding:.62rem .75rem}.form-control:focus,.form-select:focus{border-color:#b99170;box-shadow:0 0 0 .2rem #8755361a}summary{cursor:pointer;color:var(--coffee)}footer{color:#897e75!important}
@media(max-width:575px){.panel{padding:15px}.stat-card{padding:14px}.stat-value{font-size:1.25rem}.product-photo,.product-placeholder{height:115px}.login-card{padding:26px 20px}.navbar .small{display:none}}
@media print{body{background:#fff}.topbar,footer,.no-print,.alert{display:none!important}.receipt{border:0;box-shadow:none}.panel{padding:0}.container-fluid{padding:0!important}}

.nav-logo{width:36px;height:36px;object-fit:contain;border-radius:50%;background:#fff}.receipt-logo{display:block;max-width:210px;max-height:135px;object-fit:contain;margin:0 auto 8px}.public-board{min-height:75vh;text-align:center;padding:2rem}.public-board img{width:min(220px,60vw);height:auto;border-radius:50%;margin-bottom:1rem}.public-board h1{font-size:clamp(1.6rem,4vw,3rem);font-weight:800}.public-orders{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem;margin-top:2rem}.public-order{font-size:clamp(2.5rem,7vw,5rem);font-weight:900;color:#fff;background:var(--coffee);border-radius:18px;min-width:140px;padding:1rem 1.5rem}.receipt .d-flex.justify-content-between{gap:12px}.receipt .d-flex.justify-content-between strong:last-child{white-space:nowrap}.receipt .d-flex.justify-content-between span:first-child{overflow-wrap:anywhere}

/* Ajustes de marca para FE&CAFÉ V3.3 */
.login-logo{display:block;width:min(230px,70%);height:auto;max-height:190px;object-fit:contain;margin:0 auto 16px;border-radius:50%;}
.receipt-brand{font-size:1.65rem;font-weight:900;letter-spacing:.5px;color:#563014;line-height:1.2;padding:8px 0;}
@media print{.receipt-brand{color:#000!important}}
