@font-face{font-family:DM Sans;src:url('assets/dm-sans-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Fraunces;src:url('assets/fraunces-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--paper:#fbf9f4;--surface:#fff;--ink:#302b27;--muted:#73685f;--line:#e9e2d8;--brand:#a63821;--brand-dark:#812916;--tint:#f5e9df;--green:#30634a;--serif:'Fraunces',Georgia,serif;--sans:'DM Sans',sans-serif;--radius:14px;--shadow:0 18px 60px #33211624}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.55 var(--sans);-webkit-font-smoothing:antialiased}::selection{background:#f0c4ad;color:#482c1e}*{scrollbar-width:thin;scrollbar-color:#cbbfb1 transparent}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c56c42;outline-offset:3px}input,textarea{caret-color:var(--brand)}img{display:block;max-width:100%;object-fit:cover}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.2;text-wrap:balance}h1{letter-spacing:-.035em}p{color:var(--muted)}small{font-size:12px}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.wrap{width:min(1280px,calc(100% - 88px));margin-inline:auto}.primary,.secondary,.text-button,.row-action{display:inline-flex;justify-content:center;align-items:center;gap:10px;font-weight:650;border:0;transition:background .18s,color .18s}.primary{min-height:48px;background:var(--brand);color:white;border-radius:9px;padding:12px 20px}.primary:hover:not(:disabled){background:var(--brand-dark)}.secondary{min-height:42px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:10px 15px}.secondary:hover{background:var(--tint)}.text-button{background:none;padding:8px 0}.text-button:hover,.row-action:hover{color:var(--brand)}.full{width:100%}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:var(--paper)}.icon-button:hover{background:var(--tint)}.skip{position:fixed;left:10px;top:-60px;z-index:100;background:var(--ink);color:white;padding:12px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.demo-bar{height:42px;background:#342a24;color:#f7eee3;display:flex;justify-content:space-between;align-items:center;padding:0 44px;font-size:11px;letter-spacing:.01em}.demo-bar>span{display:flex;align-items:center;gap:12px}.demo-bar b{font-size:13px}.demo-label{border:1px solid #8e7765;border-radius:4px;padding:1px 5px;font-size:9px;letter-spacing:.07em}.demo-text{color:#d1bfb1}.demo-bar a{display:flex;align-items:center;gap:9px;font-weight:600}.demo-bar a .icon{width:16px;height:16px}.store-header{display:flex;justify-content:space-between;align-items:center;padding-block:24px 25px}.store-brand{display:flex;gap:13px;align-items:center}.brand-mark{width:54px;height:54px;border-radius:13px;background:var(--brand);color:#fff6e8;font:bold 37px/1 var(--serif);display:flex;justify-content:center;align-items:center;letter-spacing:-.05em}.brand-mark>span{color:#efbd6b;font-size:22px;align-self:flex-end;padding-bottom:11px}.store-brand strong{display:block;font-size:21px;letter-spacing:-.025em}.store-brand small{color:var(--muted);font-size:12px}.header-right{display:flex;align-items:center;gap:25px}.status{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:5px;font-size:11px;line-height:1.4;font-weight:650;white-space:nowrap}.status i{width:6px;height:6px;border-radius:50%;background:currentColor}.green{color:#285d40;background:#e8f1e9}.red{color:#9e352e;background:#f7e9e5}.amber{color:#825713;background:#fcf0d7}.blue{color:#3b5e7c;background:#e8eff5}.store-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}.menu-content{min-width:0}.hero{position:relative;isolation:isolate;height:337px;border-radius:var(--radius);overflow:hidden;color:#fff7e9;background:#38251a}.hero>img{position:absolute;width:100%;height:100%;object-position:70% 52%;z-index:-3}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#261a13e8 0%,#261a1380 44%,#261a1300 72%);z-index:-2}.hero-content{padding:34px}.hero h1{font-family:var(--serif);font-size:65px;line-height:.99;letter-spacing:-.035em;font-weight:600}.hero h1 em{font-style:normal;color:#edbc74}.hero p{color:#e9dfd3;margin-top:18px;font-size:13px;line-height:1.55}.hero-link{display:flex;width:fit-content;gap:18px;align-items:center;margin-top:25px;border-bottom:1px solid #cebba6;padding-bottom:5px;font-size:12px;font-weight:650}.hero-stamp{position:absolute;bottom:25px;right:22px;width:92px;height:92px;border-radius:50%;background:#efdcb7;color:#5b3924;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;line-height:1.45;transform:rotate(8deg);outline:1px solid #5b39244d;outline-offset:-6px}.hero-stamp b{font-family:var(--serif);font-size:14px}.store-meta{display:flex;align-items:center;gap:22px;padding:18px 0;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.store-meta span{display:flex;align-items:center;gap:7px}.store-meta .icon{width:16px;height:16px}.menu-heading{display:flex;justify-content:space-between;align-items:center;margin:31px 0 20px;gap:15px}.menu-heading h2{font:600 27px/1.15 var(--serif);letter-spacing:-.025em}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:8px;padding:9px 12px;min-width:0;color:var(--muted);font-size:12px}.search-box .icon{width:17px;height:17px}.search-box input{border:0;outline:0;width:145px;padding:0;margin:0;background:none;min-height:22px}.categories{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;scrollbar-width:none}.categories button{white-space:nowrap;border:1px solid var(--line);border-radius:7px;background:transparent;padding:9px 15px;font-size:12px;font-weight:550}.categories button:hover{border-color:#b9977b}.categories button.selected{background:var(--brand);border-color:var(--brand);color:white}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 16px}.section-heading h3{font-size:16px;letter-spacing:-.02em}.section-heading>span{font-size:11px;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.product{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:white;display:flex;flex-direction:column}.product-photo{position:relative;width:100%;height:174px;padding:0;border:0;overflow:hidden;background:#e9e1d6;display:block}.product-photo img{width:100%;height:100%;transition:transform .4s cubic-bezier(.2,.7,.2,1)}.product-photo:hover img{transform:scale(1.045)}.food-tag{position:absolute;left:12px;top:12px;padding:4px 8px;border-radius:4px;background:#fff7ea;color:#634127;font-size:10px;font-weight:650}.sold-out{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#31291e80;color:white;font-weight:700}.product-body{padding:17px 18px 14px;flex:1;display:flex;flex-direction:column}.product h4{font-size:16px;letter-spacing:-.015em;margin-bottom:7px}.product p{font-size:12px;line-height:1.6;margin-bottom:15px;min-height:38px}.product-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:auto}.product-bottom strong{font-size:18px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.product-bottom strong small{font-weight:400;font-size:10px}.add-button{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;border:1px solid #e7cfc0;background:#fbf2eb;color:var(--brand)}.add-button:hover:not(:disabled){background:var(--brand);color:white}.unavailable{opacity:.65}.menu-note{display:flex;align-items:center;justify-content:center;gap:10px;padding:28px 10px 22px;margin-top:20px;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px}footer{text-align:center;padding:25px 0 35px;font-size:11px;color:var(--muted)}footer b{color:var(--brand)}footer small{display:block;margin-top:8px;font-size:10px}.cart-panel{position:sticky;top:24px;border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:white}.cart-top{display:flex;align-items:center;gap:10px;margin-bottom:20px}.cart-top h2{font-size:20px;letter-spacing:-.025em}.count{display:grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:var(--tint);color:var(--brand);font-size:11px;font-weight:700}.segmented{display:flex;border:1px solid var(--line);background:#f5f2ec;border-radius:8px;padding:4px}.segmented button{flex:1;border:0;background:none;border-radius:5px;padding:8px 10px;font-size:11px;font-weight:600;white-space:nowrap}.segmented .selected{background:white;color:var(--brand);box-shadow:0 2px 4px #4630200c}.zone-label{font-size:10px;color:var(--muted);margin-top:15px}.zone-label select{margin-top:5px;font-size:11px;min-height:37px}.cart-empty{text-align:center;padding:39px 0 34px}.cart-empty>.icon{width:45px;height:45px;color:#b8a087;margin-bottom:17px}.cart-empty h3{font:550 19px/1.2 var(--serif);margin-bottom:10px}.cart-empty p{font-size:12px;line-height:1.7}.cart-hint{text-align:center;font-size:10px;line-height:1.8;margin-top:14px}.cart-hint .icon{width:14px;height:14px;margin-right:3px;color:var(--green)}.cart-foot{display:flex;align-items:center;gap:7px;padding-top:17px;margin-top:19px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.cart-foot .icon{width:15px;height:15px}.cart-items{max-height:340px;overflow:auto;margin:15px 0}.cart-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 0;border-bottom:1px solid var(--line)}.cart-item b{font-size:12px;line-height:1.4;display:block}.cart-item small{display:block;color:var(--muted);font-size:10px}.cart-item strong{display:block;font-size:12px;margin-top:5px}.quantity{display:flex;align-items:center;gap:7px;background:var(--paper);border:1px solid var(--line);border-radius:7px;flex-shrink:0}.quantity button{border:0;background:none;width:25px;height:29px;display:grid;place-items:center}.quantity button .icon{width:13px;height:13px}.quantity span{font-size:11px;font-weight:600}.cart-totals{margin:18px 0}.cart-totals>span{display:flex;justify-content:space-between;margin:7px 0;font-size:12px}.cart-totals>span:not(.total){color:var(--muted)}.cart-totals b{font-weight:550}.cart-totals .total{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;font-size:18px}.cart-totals .total b{font-weight:700}.pickup-note{font-size:11px;margin-top:14px}.mobile-cart,.mobile-close{display:none}label{display:block;font-size:12px;font-weight:550;color:var(--ink)}label small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:4px}input:not([type=checkbox]),textarea,select{width:100%;min-height:43px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);margin-top:6px}textarea{resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#8b7d70}fieldset{border:0;padding:0;margin:22px 0}legend{font-weight:650;margin-bottom:10px}legend small{font-weight:400;color:var(--muted);margin-left:6px}.check-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-weight:400}.check-row b{margin-left:auto;font-size:11px}.check-row input{accent-color:var(--brand);width:17px;height:17px;flex-shrink:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.fine{font-size:11px;line-height:1.65;margin-top:16px}.quiet{color:var(--muted);font-size:11px}.notice{padding:14px;border-radius:8px;background:#f7eddc;font-size:12px;line-height:1.6;color:#70502a;margin:15px 0}.empty{padding:45px 20px;text-align:center}.empty h3{margin-bottom:8px}.empty p{margin-bottom:18px}.empty .secondary{font-size:12px}dialog{border:0;padding:0;border-radius:16px;width:min(520px,calc(100% - 30px));max-height:90dvh;box-shadow:var(--shadow);color:var(--ink);background:var(--paper)}dialog::backdrop{background:#261e18a3}dialog[open]{animation:dialog-in .23s cubic-bezier(.16,1,.3,1)}.dialog-close{position:absolute;right:13px;top:13px;z-index:2;box-shadow:0 3px 12px #34211222}.dialog-food{height:200px;width:100%}.dialog-content{padding:32px}.dialog-content h2{font:600 29px/1.15 var(--serif);letter-spacing:-.025em;padding-right:18px}.dialog-content>p{margin:12px 0 20px;font-size:13px}.dialog-content form>label,.dialog-content form>.form-grid{margin:16px 0}.dialog-content .primary{margin-top:12px}.dialog-content .secondary{margin-top:10px}.dialog-content>label{margin:20px 0 12px}.dialog-content #wa-message{font-size:12px}.add-footer{display:flex;align-items:flex-end;gap:20px;margin-top:23px}.add-footer label{width:78px}.add-footer .primary{flex:1}.checkout-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;border-block:1px solid var(--line);padding:17px 0;margin-top:20px}.checkout-summary span{font-size:12px}.checkout-summary b{font-size:21px;font-variant-numeric:tabular-nums}.success-mark{display:grid;place-items:center;width:49px;height:49px;background:#e6f0e7;color:var(--green);border-radius:50%;margin-bottom:18px}.dialog-link{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:23px;font-size:12px;color:var(--brand);font-weight:650}.order-lines{border-top:1px solid var(--line);margin-top:20px}.order-lines>div,.settlement-lines>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.order-lines small,.settlement-lines small{display:block;color:var(--muted);font-size:10px}.order-lines b{white-space:nowrap}.order-lines .total{font-size:18px}.settlement-lines{max-height:300px;overflow:auto;margin-top:20px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,10px);background:#302b27;color:white;padding:13px 22px;border-radius:10px;box-shadow:0 8px 30px #33211624;max-width:calc(100% - 32px);width:max-content;z-index:100;opacity:0;pointer-events:none;font-size:12px;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}
/* Administration */
.admin-layout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:calc(100dvh - 42px)}.admin-sidebar{padding:30px 20px 20px;background:#f2ede4;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:calc(100dvh - 42px)}.admin-logo{position:relative;font-size:21px;font-weight:750;letter-spacing:-.04em;line-height:1.2;padding-left:42px;min-height:38px}.admin-logo img{width:32px;height:32px;position:absolute;left:0;top:0}.admin-logo span{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:4px}.business-pill{display:flex;gap:10px;align-items:center;border-block:1px solid #dfd7ca;margin-top:30px;padding:20px 0}.mini-mark{width:33px;height:33px;display:grid;place-items:center;background:#e6d8c6;color:var(--brand);border-radius:7px;font:600 22px var(--serif)}.business-pill strong{font-size:12px}.business-pill small{display:block;font-size:10px;color:var(--muted)}.admin-sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:22px}.admin-sidebar nav>a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;font-size:12px;color:#685b4d;font-weight:550}.admin-sidebar nav>a:hover{background:#e9dfd0}.admin-sidebar nav>a.active{background:#a63821;color:white}.admin-sidebar nav .icon{width:18px;height:18px}.nav-badge{margin-left:auto;font-size:10px;background:#ffffff24;padding:0 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:35px}.sidebar-bottom .status{padding:0;background:none;font-size:10px}.sidebar-bottom p{font-size:10px;line-height:1.7;margin:10px 0 20px;max-width:165px}.sidebar-bottom>.secondary{font-size:11px;width:100%;background:none;border-color:#d9cebd;justify-content:flex-start}.sidebar-bottom .secondary>.icon:last-child{margin-left:auto;width:15px}.admin-main{min-width:0}.admin-top{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;font-size:11px}.admin-top>span>span{padding:0 9px;color:#aa9a88}.admin-top>div{display:flex;align-items:center;gap:20px}.admin-date{color:var(--muted)}.avatar{width:31px;height:31px;display:grid;place-items:center;border:1px solid #e1cbb7;background:#f4e7d6;color:#8d5a35;border-radius:50%;font-size:10px;font-weight:650}.admin-content{padding:34px 35px 45px;max-width:1550px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:29px}.page-heading h1{font:600 32px/1.18 var(--serif);letter-spacing:-.03em}.page-heading p{font-size:12px;margin-top:9px}.page-heading>.secondary,.page-heading>.primary{font-size:11px;flex-shrink:0;min-height:41px}.page-heading .icon{width:16px;height:16px}.overview-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:14px}.period{width:fit-content}.period button{padding:7px 15px}.stats{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:white;margin-bottom:24px}.stat{padding:22px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat>span{display:block;font-size:11px;color:var(--muted)}.stat>strong{display:block;font-size:28px;line-height:1.3;letter-spacing:-.035em;margin:10px 0 7px;font-weight:600;font-variant-numeric:tabular-nums}.stat>small{font-size:10px;color:var(--muted)}.stat.featured{background:#f2e4d5}.stat.featured>strong{color:#8b351f}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:23px;margin-bottom:24px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 22px 18px}.panel-heading h2{font-size:15px;font-weight:650;letter-spacing:-.02em}.panel-heading p{font-size:10px;margin-top:5px}.panel-heading .text-button{font-size:11px;color:var(--brand)}.panel-heading .text-button .icon{width:15px;height:15px}.chart-key{font-size:10px;display:flex;align-items:center;gap:6px;color:var(--muted)}.chart-key i{width:7px;height:7px;border-radius:2px;background:#bb7153}.chart{height:195px;margin:12px 23px 32px 17px;display:flex;gap:14px}.chart-labels{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;font-size:9px;color:#8f8176;padding-bottom:18px;min-width:54px}.chart-bars{position:relative;display:flex;justify-content:space-around;align-items:flex-end;gap:9px;flex:1;border-bottom:1px solid var(--line);margin-bottom:18px;background:linear-gradient(to top,transparent calc(50% - 1px),#eee8df 50%,transparent calc(50% + 1px));border-top:1px solid #eee8df}.chart-column{position:relative;flex:1;max-width:39px;height:100%;display:flex;align-items:flex-end;justify-content:center}.bar{width:100%;background:#d9b49b;border-radius:4px 4px 0 0;min-width:3px}.bar.last{background:var(--brand)}.chart-column>span{position:absolute;top:calc(100% + 7px);font-size:9px;color:var(--muted);white-space:nowrap}.bestsellers{padding-bottom:10px}.bestseller{display:flex;align-items:center;gap:10px;margin:0 22px;padding:13px 0;border-bottom:1px solid var(--line)}.bestseller:last-child{border-bottom:0}.rank{width:20px;font:500 18px var(--serif);color:#ac927c;flex-shrink:0}.bestseller>div{flex:1;min-width:0}.bestseller b{font-size:11px;display:block;line-height:1.3}.bestseller small{font-size:9px;color:var(--muted)}.micro-bar{width:38px;flex-shrink:0;height:4px;background:#efe5d8;border-radius:3px}.micro-bar:after{display:block;content:'';width:var(--amount);height:100%;background:#b88561;border-radius:3px}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:11px;white-space:nowrap}th{font-size:10px;color:var(--muted);font-weight:500;background:#fcfaf7;padding:12px 20px;border-block:1px solid var(--line)}td{padding:15px 20px;border-bottom:1px solid #f0eae2}tr:last-child td{border-bottom:0}td>b{font-weight:600}td small{display:block;color:#8b7b6b;font-size:9px;margin-top:3px}td.numeric{font-variant-numeric:tabular-nums}.row-action{background:none;color:var(--brand);font-size:11px;gap:6px;padding:7px 0}.row-action .icon{width:14px;height:14px}.payment-state{font-size:10px;color:#8a682d}.payment-state.paid{color:var(--green)}.filter-tabs{display:flex;gap:7px;margin:0 0 20px;overflow-x:auto}.filter-tabs button{padding:8px 12px;white-space:nowrap;border:1px solid var(--line);border-radius:6px;background:none;font-size:11px}.filter-tabs .selected{background:var(--tint);color:var(--brand);border-color:#d8b9a6}.product-name{display:flex;gap:12px;align-items:center}.product-name img{width:44px;height:44px;border-radius:7px}.switch{width:36px;height:21px;border:0;border-radius:15px;background:#c4b9ab;padding:3px}.switch span{display:block;width:15px;height:15px;background:white;border-radius:50%;transition:transform .2s}.switch.on{background:#53795d}.switch.on span{transform:translateX(15px)}.delivery-summary{background:#f0e3d3;border-radius:12px;padding:22px 25px;display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.delivery-summary span{font-size:12px;color:#715943}.delivery-summary strong{display:block;font-size:32px;font-weight:600;letter-spacing:-.03em;color:#7b3823}.delivery-summary p{font-size:12px;text-align:right}.driver-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:28px}.driver{padding:23px}.driver-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--tint);font-size:20px;color:var(--brand);font-family:var(--serif);margin-bottom:15px}.driver h2{font-size:19px}.driver p{font-size:11px;margin-top:8px}.driver dl{margin:22px 0}.driver dl>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-top:10px}.driver dt{color:var(--muted)}.driver dd{margin:0;font-weight:650}.driver dl>div:first-child dd{font-size:21px;color:var(--brand)}.driver .primary{font-size:11px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;max-width:1050px}.form-panel{padding:25px}.form-panel h2{font-size:19px;margin-bottom:23px}.form-panel>label{margin:17px 0}.form-panel>.check-row{border:0}.settings-save{margin-top:20px}.backup-panel{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:25px;margin-top:25px;max-width:1050px}.backup-panel h2{font-size:17px}.backup-panel p{font-size:12px;margin-top:7px}.backup-panel .secondary{flex-shrink:0;font-size:12px}
@keyframes dialog-in{from{transform:translateY(12px);filter:blur(2px)}to{transform:translateY(0);filter:blur(0)}}
@media(min-width:1450px){.hero{height:365px}.hero-content{padding:40px}.hero h1{font-size:74px}.product-photo{height:205px}}
@media(max-width:1150px){.wrap{width:calc(100% - 48px)}.store-layout{grid-template-columns:minmax(0,1fr) 295px;gap:24px}.demo-bar{padding-inline:24px}.hero{height:305px}.hero h1{font-size:58px}.hero-content{padding:29px}.hero-stamp{width:76px;height:76px}.store-meta{gap:12px;font-size:10px}.store-meta span:last-child{display:none}.menu-heading{align-items:flex-start;flex-direction:column;gap:13px}.menu-heading .search-box{width:100%}.menu-heading .search-box input{width:100%}.product-photo{height:155px}.product-body{padding:14px}.product h4{font-size:14px}.product p{font-size:11px}.admin-layout{grid-template-columns:205px minmax(0,1fr)}.admin-sidebar{padding-inline:16px}.admin-logo{font-size:19px}.admin-content{padding:28px 24px}.admin-top{padding-inline:24px}.page-heading h1{font-size:27px}.stat{padding:18px 15px}.stat>strong{font-size:24px}.dashboard-grid{grid-template-columns:1.4fr 1fr;gap:18px}.panel-heading{padding:18px 17px 14px}.bestseller{margin-inline:17px}.driver-grid{grid-template-columns:repeat(2,minmax(0,1fr))}th,td{padding-inline:15px}}
@media(max-width:850px){.store-layout{display:block}.store-header{padding-block:20px}.cart-panel{display:none}.cart-panel.mobile-open{display:block;position:fixed;z-index:20;top:auto;bottom:0;left:0;right:0;max-height:90dvh;overflow-y:auto;border-radius:18px 18px 0 0;box-shadow:0 -20px 80px #30201055;padding-bottom:30px}.mobile-close{display:grid;margin-left:auto}.mobile-cart{display:flex;align-items:center;gap:10px;position:fixed;z-index:10;bottom:16px;left:24px;right:24px;width:calc(100% - 48px);background:var(--brand);color:white;padding:15px 18px;border:0;border-radius:12px;box-shadow:0 7px 24px #49271930;font-size:13px;font-weight:600;min-height:52px}.mobile-cart b{margin-left:auto;font-size:12px}.hero{height:325px}.hero h1{font-size:65px}.menu-heading{flex-direction:row;align-items:center}.menu-heading .search-box{width:200px}.product-photo{height:205px}.product h4{font-size:17px}.product p{font-size:12px}.store-meta span:last-child{display:flex}footer{padding-bottom:100px}.admin-sidebar{position:static;height:auto;padding:16px 20px;grid-column:1/-1;border-right:0;border-bottom:1px solid var(--line)}.admin-logo,.business-pill,.sidebar-bottom{display:none}.admin-sidebar nav{flex-direction:row;justify-content:space-between;margin:0;gap:5px;overflow-x:auto}.admin-sidebar nav>a{padding:9px 12px;white-space:nowrap;font-size:11px;gap:7px}.admin-sidebar nav>a .icon{width:17px;height:17px}.nav-badge{display:none}.admin-layout{display:block}.admin-top{height:58px}.admin-content{padding:26px 24px}.stats{grid-template-columns:1.3fr 1fr 1fr 1fr}.dashboard-grid{grid-template-columns:1.5fr 1fr}.page-heading h1{font-size:29px}.header-right{gap:16px}.settings-grid{gap:18px}}
@media(max-width:580px){.wrap{width:calc(100% - 32px)}.demo-bar{height:37px;padding-inline:16px;font-size:10px}.demo-text{display:none}.demo-bar b{font-size:11px}.demo-bar>span{gap:7px}.demo-bar a{gap:4px;font-size:10px}.demo-bar a .icon{width:13px}.store-header{padding-block:18px}.brand-mark{width:44px;height:44px;font-size:31px;border-radius:11px}.brand-mark>span{padding-bottom:8px}.store-brand{gap:10px}.store-brand strong{font-size:18px}.store-brand small{font-size:10px}.header-right>.text-button{display:none}.header-right>.status{font-size:9px;padding:4px 6px}.hero{height:278px;border-radius:12px}.hero>img{object-position:64% 50%}.hero-content{padding:27px 23px}.hero h1{font-size:56px}.hero p{font-size:11px;margin-top:16px}.hero-link{font-size:11px;margin-top:18px}.hero-stamp{right:13px;bottom:15px;width:69px;height:69px;font-size:9px}.hero-stamp b{font-size:11px}.store-meta{padding-block:14px;gap:14px;font-size:9px;justify-content:space-between}.store-meta .icon{width:13px;height:13px}.store-meta span:last-child{display:none}.menu-heading{flex-direction:column;align-items:stretch;margin-top:25px;gap:15px;margin-bottom:17px}.menu-heading h2{font-size:26px}.menu-heading .search-box{width:100%}.search-box{padding:10px 12px}.categories{gap:6px;margin-right:-16px;padding-right:16px}.categories button{font-size:11px;padding:8px 12px;min-height:37px}.section-heading{margin-top:13px}.section-heading h3{font-size:15px}.section-heading>span{font-size:10px}.product-grid{gap:12px}.product-photo{height:135px}.food-tag{left:7px;top:7px;font-size:8px;padding:3px 5px}.product-body{padding:12px 11px}.product h4{font-size:14px;line-height:1.25}.product p{font-size:10px;line-height:1.5;margin-bottom:12px;min-height:60px}.product-bottom strong{font-size:15px}.product-bottom strong small{display:block;font-size:8px}.add-button{width:32px;height:32px;border-radius:8px}.add-button .icon{width:17px;height:17px}.menu-note{align-items:flex-start;font-size:10px;line-height:1.7}.menu-note .icon{width:18px;height:18px}.mobile-cart{left:16px;right:16px;width:calc(100% - 32px);bottom:12px}.cart-panel.mobile-open{padding:24px}.cart-items{max-height:35dvh}.cart-empty{padding:28px 0}.dialog-content{padding:27px 23px}.dialog-content h2{font-size:26px}.dialog-food{height:180px}.dialog-content>p{font-size:12px}.form-grid{grid-template-columns:1fr;gap:15px}.add-footer{gap:15px}.add-footer .primary{font-size:12px;padding-inline:10px}.checkout-summary{gap:10px}.checkout-summary b{font-size:19px}.checkout-summary span{font-size:11px}.admin-sidebar{padding:10px 10px}.admin-sidebar nav{gap:3px}.admin-sidebar nav>a{flex-direction:column;gap:5px;flex:1;padding:8px 6px;font-size:9px}.admin-top{padding:0 16px;font-size:10px;height:52px}.admin-top>div{gap:10px}.avatar{width:27px;height:27px;font-size:9px}.admin-content{padding:24px 16px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:23px}.page-heading h1{font-size:29px;max-width:320px}.page-heading p{font-size:11px;max-width:310px}.page-heading>.primary,.page-heading>.secondary{font-size:11px}.overview-toolbar{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:18px}.overview-toolbar>.quiet{font-size:10px}.period button{padding:7px 13px;font-size:10px}.stats{grid-template-columns:1fr 1fr;margin-bottom:20px}.stat{padding:19px 16px;border-bottom:1px solid var(--line)}.stat:nth-child(2){border-right:0}.stat:nth-child(3){border-bottom:0}.stat>strong{font-size:27px}.stat>span{font-size:10px}.stat>small{font-size:9px}.dashboard-grid{grid-template-columns:1fr;gap:20px;margin-bottom:20px}.chart{height:175px}.panel-heading{padding:20px 17px 16px}.panel-heading h2{font-size:15px}.chart-labels{font-size:8px;min-width:48px}.chart-bars{gap:9px}.bestseller{padding:14px 0}.bestseller b{font-size:12px}.bestseller small{font-size:10px}.bestsellers{padding-bottom:12px}.panel-heading>.quiet{display:none}.table-scroll table{font-size:10px}td,th{padding:13px 14px}td small{font-size:9px}.filter-tabs{margin-bottom:15px}.filter-tabs button{font-size:10px}.overview-toolbar>.search-box{width:100%}.overview-toolbar>.search-box input{width:100%}.delivery-summary{padding:20px;align-items:flex-start;gap:18px}.delivery-summary strong{font-size:28px}.delivery-summary span{font-size:10px}.delivery-summary p{font-size:10px}.driver-grid{grid-template-columns:1fr}.driver{padding:22px}.driver-avatar{float:left;margin:0 13px 15px 0}.driver h2{padding-top:3px;font-size:19px}.driver p{font-size:10px}.driver dl{clear:both}.driver dl>div{font-size:12px}.settings-grid{grid-template-columns:1fr;gap:20px}.form-panel{padding:23px 20px}.backup-panel{align-items:flex-start;flex-direction:column;padding:22px;gap:18px}.backup-panel p{font-size:11px}.fine{font-size:10px}#toast{bottom:80px;font-size:11px;text-align:center}.product-table .panel-heading h2{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.search-box input:not([type=checkbox]){border:0;background:none;padding:0;margin:0;min-height:22px;border-radius:0}footer a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:580px){.hero h1{font-size:46px}.hero-content{padding-top:29px}.hero-link{margin-top:22px}}
.search-box:focus-within{outline:3px solid #c56c42;outline-offset:3px}input::placeholder,textarea::placeholder{color:var(--muted)}.chart-labels,td small{color:var(--muted)}.dialog-feedback{position:sticky;bottom:0;background:#fbe5dc;color:#7b2c17;padding:14px 22px;border-top:1px solid #dba58a;font-size:12px;line-height:1.5}
.table-scroll{position:relative}.sr-only{left:0;top:0}
/* Contraste WCAG AA: etiqueta sobre la tarjeta destacada, rango de "más pedidos" y separador del breadcrumb. */
.stat.featured>span,.stat.featured>small{color:#675c54}
.rank{color:#8a6a52}
.admin-top>span>span{color:#7f6e5c}
.delivery-summary p{color:#6a5f56}
/* Tap targets: todo botón táctil llega a 44px (add-button, categorías, segmentado, editar, iconos, switch, cantidad). */
.add-button{width:44px;height:44px}
.categories button{min-height:44px}
.segmented button{min-height:44px}
.row-action{min-height:44px}
.icon-button{width:44px;height:44px}
.quantity{min-height:44px}
.quantity button{width:34px;height:42px}
.switch{width:44px;height:26px}
.switch span{width:20px;height:20px}
.switch.on span{transform:translateX(18px)}
/* Motion mínima: el backdrop del diálogo se funde al entrar (el contenido ya tiene dialog-in y el toast su transición). */
dialog[open]::backdrop{animation:backdrop-in .23s ease-out}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
/* Tema oscuro: variables primero, después cada color hardcodeado de superficies, estados y texto. */
[data-theme=dark]{color-scheme:dark;--paper:#161210;--surface:#211b17;--ink:#f0e8de;--muted:#b0a293;--line:#3a322b;--brand:#d9714d;--brand-dark:#e58a63;--tint:#2e231c;--green:#7cc29b;--shadow:0 18px 60px #0009}
[data-theme=dark] ::selection{background:#d9714d;color:#241109}
[data-theme=dark] *{scrollbar-color:#58493d transparent}
[data-theme=dark] button:focus-visible,[data-theme=dark] a:focus-visible,[data-theme=dark] input:focus-visible,[data-theme=dark] select:focus-visible,[data-theme=dark] textarea:focus-visible,[data-theme=dark] .search-box:focus-within{outline-color:#e08a5f}
[data-theme=dark] .skip{color:var(--paper)}
[data-theme=dark] .brand-mark>span{color:#43260f}
[data-theme=dark] .green{color:#8fd0a8;background:#1d3226}
[data-theme=dark] .red{color:#e5938a;background:#3a211d}
[data-theme=dark] .amber{color:#e0b76d;background:#362a14}
[data-theme=dark] .blue{color:#93b8d6;background:#1e2a36}
[data-theme=dark] .search-box{background:var(--surface)}
[data-theme=dark] .product{background:var(--surface)}
[data-theme=dark] .product-photo{background:#2a221b}
[data-theme=dark] .food-tag{background:#2f2419;color:#ecc79a}
[data-theme=dark] .add-button{border-color:var(--line);background:#2a211b}
[data-theme=dark] .add-button:hover:not(:disabled){background:var(--brand);color:#241109}
[data-theme=dark] .primary{color:#241109}
[data-theme=dark] .cart-panel{background:var(--surface)}
[data-theme=dark] .segmented{background:#241d18}
[data-theme=dark] .categories button.selected{color:#241109}
[data-theme=dark] .segmented .selected{background:#332921;color:#e68a63;box-shadow:none}
[data-theme=dark] .mobile-cart{color:#241109}
[data-theme=dark] input:not([type=checkbox]),[data-theme=dark] textarea,[data-theme=dark] select{background:var(--surface)}
[data-theme=dark] .notice{background:#2f2517;color:#e3c391}
[data-theme=dark] .success-mark{background:#1d3226}
[data-theme=dark] dialog::backdrop{background:#0a0705bf}
[data-theme=dark] .dialog-feedback{background:#3a1f16;color:#f0a687;border-top-color:#6b3a26}
[data-theme=dark] #toast{background:#efe6da;color:#2a211a}
[data-theme=dark] .admin-sidebar{background:#1c1713}
[data-theme=dark] .business-pill{border-color:var(--line)}
[data-theme=dark] .mini-mark{background:#33281f;color:#e68a63}
[data-theme=dark] .admin-sidebar nav>a{color:#c9b8a6}
[data-theme=dark] .admin-sidebar nav>a:hover{background:#2a221b}
[data-theme=dark] .admin-sidebar nav>a.active{background:var(--brand);color:#241109}
[data-theme=dark] .sidebar-bottom .secondary{border-color:var(--line)}
[data-theme=dark] .avatar{border-color:var(--line);background:#33281f;color:#e0b08a}
[data-theme=dark] .admin-top>span>span{color:#9c8b7a}
[data-theme=dark] .stats{background:var(--surface)}
[data-theme=dark] .stat.featured{background:#35261d}
[data-theme=dark] .stat.featured>strong{color:#e8926d}
[data-theme=dark] .stat.featured>span,[data-theme=dark] .stat.featured>small{color:#b9a897}
[data-theme=dark] .panel{background:var(--surface)}
[data-theme=dark] .chart-bars{background:linear-gradient(to top,transparent calc(50% - 1px),#3a322b 50%,transparent calc(50% + 1px));border-top-color:#3a322b}
[data-theme=dark] .bar{background:#c47a55}
[data-theme=dark] .rank{color:#c99f78}
[data-theme=dark] .micro-bar{background:#3a322b}
[data-theme=dark] .micro-bar:after{background:#c9925f}
[data-theme=dark] th{background:#241d18}
[data-theme=dark] td{border-bottom-color:#2e2620}
[data-theme=dark] .payment-state{color:#d4a95f}
[data-theme=dark] .filter-tabs .selected{border-color:var(--line)}
[data-theme=dark] .switch{background:#4d433a}
[data-theme=dark] .switch.on{background:#6fae84}
[data-theme=dark] .delivery-summary{background:#2e2318}
[data-theme=dark] .delivery-summary span,[data-theme=dark] .delivery-summary p{color:#d9c3a8}
[data-theme=dark] .delivery-summary strong{color:#e8996f}
