:root{
  --roxo:#5B0F6E;--roxo-2:#46095A;--roxo-3:#2C0637;--lima:#A6C80F;--lima-2:#8BA80A;--lilas:#EC8DF7;--lilas-2:#F8DDFB;
  --bg:#FBF4FC;--surface:#FFFFFF;--surface-2:#F4E8F7;--text:#2A0A33;--text-2:#6E5577;--line:#EADBEF;--accent:#6A1480;--price:#5B0F6E;
  --map-bg:#EFE2F3;--map-road:#FFFFFF;--map-block:#E4D2EA;
  --shadow:0 1px 2px rgba(58,8,72,.06),0 10px 28px -14px rgba(58,8,72,.28);
  --display:'Lilita One','Arial Rounded MT Bold','Trebuchet MS',system-ui,sans-serif;
  --body:'Nunito',ui-rounded,'Segoe UI',system-ui,-apple-system,sans-serif;
  --wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M0 40C40 0 40 80 80 40S120 0 160 40M0 120C40 80 40 160 80 120S120 80 160 120' fill='none' stroke='%23EC8DF7' stroke-opacity='.12' stroke-width='16' stroke-linecap='round'/%3E%3C/svg%3E");
  --top:calc(env(safe-area-inset-top,0px) + 64px);
  color-scheme:light;box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#140319;--surface:#20072A;--surface-2:#2B0D37;--text:#F9ECFC;--text-2:#C7AECF;--line:#3A1646;--accent:#F0A5F9;--price:#F3B9FA;
  --map-bg:#2A0D35;--map-road:#43204F;--map-block:#331140;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 12px 30px -16px rgba(0,0,0,.7);color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#140319;--surface:#20072A;--surface-2:#2B0D37;--text:#F9ECFC;--text-2:#C7AECF;--line:#3A1646;--accent:#F0A5F9;--price:#F3B9FA;
  --map-bg:#2A0D35;--map-road:#43204F;--map-block:#331140;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 12px 30px -16px rgba(0,0,0,.7);color-scheme:dark}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:calc(var(--top) + 64px);scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html.lock{overflow:hidden}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:70;background:var(--roxo-3)}
[hidden]{display:none!important}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;cursor:pointer}
a{color:inherit}
:focus-visible{outline:3px solid var(--lima);outline-offset:2px;border-radius:10px}
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.05;margin:0;letter-spacing:.005em}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:999px;border:0;font-weight:900;font-size:16px;text-decoration:none;transition:transform .12s ease,filter .12s ease;white-space:nowrap}
.btn:active{transform:scale(.97)}
.btn.lime{background:var(--lima);color:#22052B;box-shadow:0 6px 0 -1px #6F8705}
.btn.lime:hover{filter:brightness(1.06)}
.btn.ghost-light{background:rgba(255,255,255,.1);color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.btn.ghost{background:transparent;color:var(--text);box-shadow:inset 0 0 0 2px var(--line)}
.btn.wa{background:#128A43;color:#fff;width:100%;min-height:56px;font-size:17px}
.btn.lg{min-height:54px;padding:0 26px;font-size:17px}
.btn[disabled]{opacity:.45;pointer-events:none}
.icon-btn{width:44px;height:44px;border-radius:50%;border:0;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#fff;flex:none}
.icon-btn svg{width:22px;height:22px}

/* topbar */
.topbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;height:64px;display:flex;align-items:center;gap:12px;padding:0 max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px));background:var(--roxo-3);color:#fff}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:var(--display);font-size:21px;margin-right:auto;white-space:nowrap;min-width:0}
.brand img{width:40px;height:40px;border-radius:50%}
.status{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.1);white-space:nowrap}
.status i{width:8px;height:8px;border-radius:50%;background:#9AA0A6}
.status.open i{background:var(--lima);box-shadow:0 0 0 4px rgba(166,200,15,.25)}
.bag-btn{position:relative;width:46px;height:46px;border-radius:14px;border:0;background:var(--lima);color:#22052B;display:grid;place-items:center}
.bag-btn svg{width:22px;height:22px}
.bag-count{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--lilas);color:#2C0637;font-size:12px;font-weight:900;display:grid;place-items:center;border:2px solid var(--roxo-3)}
@media (max-width:420px){.st-x{display:none}}@media (max-width:340px){.brand span{display:none}}

/* hero */
.hero{background:var(--roxo) var(--wave);background-size:180px;color:#fff;overflow:hidden;position:relative}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:90px;background:linear-gradient(transparent,rgba(44,6,55,.35));pointer-events:none}
.hero-in{max-width:1120px;margin:0 auto;padding:22px 20px 64px;display:grid;gap:4px;position:relative;z-index:1}
.hero-copy{max-width:560px}
.hero-logo{width:64px;height:64px;border-radius:50%;box-shadow:0 0 0 3px var(--lima);margin-bottom:14px}
.hero h1{font-size:clamp(40px,10.6vw,78px);color:var(--lilas-2);text-wrap:balance;text-shadow:0 4px 0 rgba(44,6,55,.45)}
.hero p{font-size:17px;line-height:1.5;color:#F3DDF7;margin:12px 0 20px;max-width:42ch}
.hero-cta{display:flex;gap:10px}.hero-cta .btn{padding:0 20px}
.hero-stage{position:relative;height:320px;margin:4px -20px 0}
.hero-stage canvas{width:100%;height:100%;display:block;touch-action:pan-y;cursor:grab}
.hero-stage::before{content:"";position:absolute;left:50%;top:50%;width:300px;height:300px;transform:translate(-50%,-52%);border-radius:50%;background:radial-gradient(circle,rgba(236,141,247,.38),rgba(236,141,247,0) 70%)}
.drag-hint{position:absolute;left:50%;bottom:0;transform:translateX(-50%);margin:0;font-size:13px;font-weight:800;color:#F3DDF7;display:flex;align-items:center;gap:6px;white-space:nowrap;opacity:.9}
.drag-hint svg{width:18px;height:18px}
@media (min-width:900px){
  .hero-in{grid-template-columns:1.05fr 1fr;align-items:center;padding:56px 32px 90px}
  .hero-logo{width:96px;height:96px;box-shadow:0 0 0 4px var(--lima);margin-bottom:22px}
  .hero p{font-size:19px;margin:18px 0 28px}
  .hero-cta .btn{padding:0 28px}
  .hero-stage{height:500px;margin:0}
  .hero-stage::before{width:440px;height:440px}
}

/* info */
.info{max-width:1120px;margin:-46px auto 0;padding:0 16px;position:relative;z-index:2}
.info-card{background:var(--surface);border-radius:22px;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr;padding:6px 6px}
.info-item{display:flex;align-items:center;gap:14px;padding:12px 14px;text-decoration:none;border-radius:16px}
.info-item+.info-item{border-top:1px solid var(--line)}
.info-item svg{width:40px;height:40px;flex:none;padding:9px;border-radius:12px;background:var(--surface-2);color:var(--accent)}
.info-item b{display:block;font-weight:900;font-size:15px}
.info-item span{display:block;font-size:14px;color:var(--text-2)}
#infoStatus.open{color:#3F8F1F}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) #infoStatus.open{color:var(--lima)}}:root[data-theme="dark"] #infoStatus.open{color:var(--lima)}
@media (min-width:760px){.info-card{grid-template-columns:repeat(3,1fr)}.info-item+.info-item{border-top:0;border-left:1px solid var(--line);border-radius:0}}

/* menu */
.menu{max-width:1120px;margin:0 auto;padding:36px 16px 20px}
.menu-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:14px;margin-bottom:6px}
.menu-head h2{font-size:38px;color:var(--accent)}
.search{display:flex;align-items:center;gap:8px;flex:1 1 260px;max-width:380px;height:48px;padding:0 16px;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line)}
.search svg{width:20px;height:20px;color:var(--text-2);flex:none}
.search input{border:0;background:transparent;outline:0;font:inherit;color:var(--text);width:100%;font-weight:700}
.search:focus-within{box-shadow:inset 0 0 0 2px var(--accent)}
.cats{position:sticky;top:var(--top);z-index:20;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:12px 16px;margin:0 -16px;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.cats::-webkit-scrollbar{display:none}
.cat{flex:none;border:0;height:40px;padding:0 16px;border-radius:999px;background:var(--surface-2);font-weight:800;font-size:15px;color:var(--text)}
.cat.on{background:var(--roxo);color:#fff}
.cat-sec{padding-top:18px}
.cat-sec>h3{font-size:26px;margin:4px 0 14px;color:var(--text)}
.items{display:grid;gap:12px}
@media (min-width:760px){.items{grid-template-columns:1fr 1fr}}
.item{display:flex;align-items:stretch;gap:14px;text-align:left;width:100%;padding:14px;border:0;border-radius:20px;background:var(--surface);box-shadow:var(--shadow)}
.item:hover .thumb{transform:rotate(-2deg) scale(1.03)}
.item-t{flex:1;display:flex;flex-direction:column;min-width:0}
.item-t b{font-size:17px;font-weight:900;line-height:1.25}
.item-t small{font-size:14px;color:var(--text-2);margin-top:4px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.item-t em{font-style:normal;font-family:var(--display);font-size:20px;color:var(--price);margin-top:auto;padding-top:10px}
.item-t em small{font-family:var(--body);font-weight:800;font-size:13px;display:inline;color:var(--text-2);-webkit-line-clamp:unset}
.thumb{flex:none;width:108px;height:108px;border-radius:18px;background:var(--roxo) var(--wave);background-size:120px;overflow:hidden;display:grid;place-items:center;transition:transform .2s ease}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb svg{width:92%;height:92%}
.tag{display:inline-flex;align-self:flex-start;margin-top:8px;font-size:12px;font-weight:900;padding:3px 10px;border-radius:999px;background:var(--surface-2);color:var(--accent)}

/* feature */
.feature{display:grid;border-radius:26px;overflow:hidden;background:var(--roxo) var(--wave);background-size:180px;color:#fff;box-shadow:var(--shadow);position:relative}
.feature-t{padding:24px 22px 22px;position:relative;z-index:1}
.feature h3{font-size:34px;color:var(--lilas-2)}
.feature p{margin:10px 0 18px;color:#F3DDF7;max-width:40ch}
.feature .from{font-weight:800;color:#F3DDF7;margin:0 0 16px}
.feature .from b{font-family:var(--display);font-weight:400;font-size:24px;color:var(--lima)}
.feature-img{min-height:190px;background-size:cover;background-position:center 30%;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 35%);mask-image:linear-gradient(to bottom,transparent,#000 35%)}
.steps-mini{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;padding:0;list-style:none}
.steps-mini li{font-size:13px;font-weight:800;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.12)}
@media (min-width:760px){.feature{grid-template-columns:1.1fr 1fr}.feature-img{-webkit-mask-image:linear-gradient(to right,transparent,#000 40%);mask-image:linear-gradient(to right,transparent,#000 40%);min-height:100%}.feature-t{padding:34px}}
.empty{text-align:center;color:var(--text-2);font-weight:700;padding:30px 10px}

/* where */
.where{max-width:1120px;margin:0 auto;padding:30px 16px 40px}
.where h2{font-size:38px;color:var(--accent);margin-bottom:16px}
.where-grid{display:grid;gap:16px}
@media (min-width:900px){.where-grid{grid-template-columns:1.5fr 1fr}}
.map{position:relative;border-radius:24px;overflow:hidden;min-height:300px;background:var(--map-bg);box-shadow:var(--shadow)}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:2}
.map-fallback{position:absolute;inset:0;display:block;text-decoration:none}
.map-fallback svg{width:100%;height:100%}
.map-fallback span{position:absolute;left:12px;bottom:12px;font-size:13px;font-weight:800;padding:6px 12px;border-radius:999px;background:var(--surface);box-shadow:var(--shadow)}
.where-card{background:var(--surface);border-radius:24px;padding:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px}
.where-card h3{font-size:24px}
.where-card p{margin:0;color:var(--text-2);font-weight:600}
.where-card .row{display:flex;gap:12px;align-items:flex-start}
.where-card .row svg{width:22px;height:22px;flex:none;color:var(--accent);margin-top:2px}
.where-card .row b{color:var(--text);display:block}
.where-actions{display:grid;gap:10px;margin-top:auto}
.where-actions .btn{width:100%}
.where-actions .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}

footer{background:var(--roxo-3) var(--wave);background-size:180px;color:#F3DDF7;padding:36px 20px calc(110px + env(safe-area-inset-bottom,0px))}
.foot-in{max-width:1120px;margin:0 auto;display:grid;gap:18px}
.foot-brand{display:flex;align-items:center;gap:14px}
.foot-brand img{width:60px;height:60px;border-radius:50%}
.foot-brand b{font-family:var(--display);font-weight:400;font-size:26px;color:#fff;display:block}
.foot-links{display:flex;flex-wrap:wrap;gap:10px}
.foot-links a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:800;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.1)}
.foot-links svg{width:18px;height:18px}
.credit{font-size:13px;opacity:.7;margin:0}

/* cart bar */
.cartbar{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:0 12px calc(12px + env(safe-area-inset-bottom,0px));pointer-events:none}
.cartbar button{pointer-events:auto;max-width:560px;margin:0 auto;width:100%;display:flex;align-items:center;gap:12px;min-height:60px;padding:0 10px 0 18px;border:0;border-radius:20px;background:var(--roxo-3);color:#fff;box-shadow:0 14px 34px -10px rgba(44,6,55,.6);font-weight:900;animation:rise .35s cubic-bezier(.2,1.4,.4,1)}
.cartbar .cnt{min-width:30px;height:30px;border-radius:10px;background:var(--lima);color:#22052B;display:grid;place-items:center;font-size:15px}
.cartbar .tot{margin-left:auto;font-family:var(--display);font-weight:400;font-size:20px;background:rgba(255,255,255,.12);padding:8px 14px;border-radius:14px}
@keyframes rise{from{transform:translateY(30px);opacity:0}}

/* overlays */
.backdrop{position:fixed;inset:0;z-index:80;background:rgba(20,3,25,.55);display:flex;align-items:flex-end;justify-content:center;animation:fade .2s ease}
@keyframes fade{from{opacity:0}}
.sheet{width:100%;max-width:560px;max-height:calc(100% - env(safe-area-inset-top,0px) - 24px);background:var(--bg);border-radius:26px 26px 0 0;display:flex;flex-direction:column;overflow:hidden;animation:up .3s cubic-bezier(.2,.9,.3,1);padding-bottom:env(safe-area-inset-bottom,0px)}
@keyframes up{from{transform:translateY(40px);opacity:.4}}
@media (min-width:760px){.backdrop{align-items:center;padding:24px}.sheet{border-radius:26px;max-height:min(860px,calc(100% - 48px))}.backdrop.right{justify-content:flex-end;align-items:stretch;padding:0}.backdrop.right .sheet{border-radius:26px 0 0 26px;max-height:none;height:100%;max-width:480px}}
.sheet-head{display:flex;align-items:center;gap:12px;padding:16px 16px 12px;border-bottom:1px solid var(--line)}
.sheet-head h2{font-size:26px;margin-right:auto}
.sheet-head .icon-btn{background:var(--surface-2);color:var(--text)}
.sheet-body{overflow-y:auto;padding:16px;flex:1;overscroll-behavior:contain}
.sheet-foot{padding:12px 16px 16px;border-top:1px solid var(--line);background:var(--surface)}
.p-hero{height:200px;border-radius:20px;background:var(--roxo) var(--wave);background-size:140px;display:grid;place-items:center;overflow:hidden;margin-bottom:16px}
.p-hero svg{height:90%}
.p-hero img{width:100%;height:100%;object-fit:cover}
.p-name{font-size:28px}
.p-desc{color:var(--text-2);margin:6px 0 4px}
.p-price{font-family:var(--display);font-size:24px;color:var(--price)}

.ghead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:22px 0 10px}
.ghead h3{font-family:var(--body);font-weight:900;font-size:17px}
.ghead p{margin:0;font-size:13px;font-weight:800;color:var(--text-2)}
.ghead .req{background:var(--roxo);color:#fff;padding:2px 10px;border-radius:999px}
.opts{display:grid;gap:8px}
.opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:58px;padding:10px 14px;border:0;border-radius:16px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line)}
.opt[aria-checked="true"],.opt[aria-pressed="true"]{box-shadow:inset 0 0 0 2.5px var(--accent);background:color-mix(in srgb,var(--surface) 88%,var(--lilas))}
.opt.dim{opacity:.45}
.sw{width:28px;height:28px;border-radius:50%;flex:none;background:var(--c);box-shadow:inset 0 -4px 0 rgba(0,0,0,.15),0 0 0 2px var(--surface),0 0 0 3.5px var(--line)}
.opt-t{flex:1;min-width:0}
.opt-t b{display:block;font-weight:800;font-size:15px}
.opt-t small{display:block;font-size:13px;color:var(--text-2);font-weight:700}
.tick{width:26px;height:26px;flex:none;border-radius:8px;box-shadow:inset 0 0 0 2px var(--line);display:grid;place-items:center}
.radio .tick{border-radius:50%}
.opt[aria-checked="true"] .tick{background:var(--accent);box-shadow:none}
.opt[aria-checked="true"] .tick::after{content:"";width:11px;height:6px;border:solid var(--surface);border-width:0 0 3px 3px;transform:translateY(-2px) rotate(-45deg)}
textarea,.field input{width:100%;font:inherit;font-weight:600;color:var(--text);background:var(--surface);border:0;border-radius:14px;padding:12px 14px;box-shadow:inset 0 0 0 1.5px var(--line);resize:vertical}
textarea:focus,.field input:focus{outline:0;box-shadow:inset 0 0 0 2px var(--accent)}
.field{display:block;margin-bottom:12px}
.field>span{display:block;font-weight:800;font-size:14px;margin-bottom:6px}
.field.err input{box-shadow:inset 0 0 0 2px #D3173F}
.field .msg{color:#D3173F;font-size:13px;font-weight:800;margin-top:4px}
.qty{display:inline-flex;align-items:center;gap:4px;background:var(--surface);border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--line);padding:4px}
.qty button{width:38px;height:38px;border-radius:50%;border:0;background:var(--surface-2);font-size:20px;font-weight:900;display:grid;place-items:center}
.qty span{min-width:30px;text-align:center;font-weight:900}
.foot-row{display:flex;gap:12px;align-items:center}
.foot-row .btn{flex:1;justify-content:space-between}
.foot-row .btn span:last-child{font-family:var(--display);font-weight:400;font-size:19px}

/* cart */
.citem{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:14px 0;border-bottom:1px solid var(--line)}
.citem b{font-weight:900}
.citem ul{grid-column:1/-1;margin:0;padding:0 0 0 2px;list-style:none;font-size:13px;color:var(--text-2);font-weight:700}
.citem ul li{padding-left:14px;position:relative}
.citem ul li::before{content:"";position:absolute;left:2px;top:8px;width:5px;height:5px;border-radius:50%;background:var(--lilas)}
.citem .cp{font-family:var(--display);font-size:18px;color:var(--price);text-align:right}
.citem .qty{grid-column:1/-1;justify-self:start}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.seg.three{grid-template-columns:repeat(3,1fr)}
.seg button{min-height:52px;border:0;border-radius:14px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line);font-weight:900;font-size:14px;padding:6px}
.seg button[aria-pressed="true"]{box-shadow:inset 0 0 0 2.5px var(--accent);background:color-mix(in srgb,var(--surface) 85%,var(--lilas))}
.sum{display:grid;gap:6px;margin:6px 0 12px;font-weight:700}
.sum div{display:flex;justify-content:space-between}
.sum .t{font-weight:900;font-size:18px}
.sum .t span:last-child{font-family:var(--display);font-weight:400;font-size:24px;color:var(--price)}
.note{font-size:13px;font-weight:700;color:var(--text-2);background:var(--surface-2);border-radius:14px;padding:10px 12px;margin:0 0 12px}
.cart-empty{text-align:center;padding:30px 10px}
.cart-empty svg{width:90px;height:90px;margin:0 auto 10px;color:var(--lilas)}
.cart-empty p{color:var(--text-2);font-weight:700;margin:6px 0 18px}
.done{text-align:center;padding:24px 8px}
.done .ok{width:76px;height:76px;margin:0 auto 14px;border-radius:50%;background:var(--lima);display:grid;place-items:center;color:#22052B}
.done .ok svg{width:38px;height:38px}
.done h3{font-size:28px;margin-bottom:8px}
.done p{color:var(--text-2);font-weight:700;margin:0 0 20px}
.done .btn{width:100%;margin-bottom:10px}

/* builder */
.builder{position:fixed;inset:0;z-index:90;display:flex;flex-direction:column;background:var(--bg);animation:fade .2s ease}
.b-stage{position:relative;flex:none;height:44%;min-height:270px;background:radial-gradient(60% 55% at 50% 52%,rgba(236,141,247,.42),rgba(236,141,247,0) 70%),var(--roxo) var(--wave);background-size:auto,170px;color:#fff;padding-top:env(safe-area-inset-top,0px)}
.b-stage canvas{position:absolute;inset:env(safe-area-inset-top,0px) 0 0 0;width:100%;height:calc(100% - env(safe-area-inset-top,0px));touch-action:pan-y;cursor:grab}
.b-top{position:relative;z-index:2;display:flex;align-items:center;gap:12px;padding:12px 14px}
.b-top h2{font-size:24px;color:#fff;margin-right:auto;text-shadow:0 2px 0 rgba(44,6,55,.4)}
.b-size{font-family:var(--display);font-size:18px;background:var(--lima);color:#22052B;padding:4px 12px;border-radius:999px}
.b-stage .drag-hint{bottom:10px;z-index:2}
.b-panel{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--bg)}
.b-steps{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:12px 14px;border-bottom:1px solid var(--line);flex:none}
.b-steps::-webkit-scrollbar{display:none}
.bstep{flex:none;display:flex;align-items:center;gap:7px;height:40px;padding:0 14px 0 6px;border:0;border-radius:999px;background:var(--surface-2);font-weight:800;font-size:14px}
.bstep .bn{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--surface);font-size:13px;font-weight:900}
.bstep small{font-size:12px;font-weight:900;color:var(--accent)}
.bstep.done .bn{background:var(--lima);color:#22052B}
.bstep.on{background:var(--roxo);color:#fff}
.bstep.on .bn{background:#fff;color:var(--roxo)}
.bstep.on small{color:var(--lilas-2)}
.b-body{flex:1;overflow-y:auto;padding:4px 16px 20px;overscroll-behavior:contain}
.b-body .ghead{margin-top:14px}
.b-body .ghead h3{font-family:var(--display);font-weight:400;font-size:26px}
.sizes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.size-card{border:0;border-radius:18px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line);padding:14px 10px 12px;display:flex;flex-direction:column;align-items:center;gap:2px}
.size-card svg{height:58px;margin-bottom:6px}
.size-card b{font-family:var(--display);font-weight:400;font-size:22px}
.size-card span{font-weight:800;color:var(--text-2);font-size:14px}
.size-card[aria-pressed="true"]{box-shadow:inset 0 0 0 2.5px var(--accent);background:color-mix(in srgb,var(--surface) 85%,var(--lilas))}
.resumo{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px}
.resumo li{display:flex;gap:12px;padding:12px 14px;border-radius:16px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line)}
.resumo li b{min-width:104px;font-weight:900;font-size:14px}
.resumo li span{font-weight:700;font-size:14px;color:var(--text-2)}
.resumo li button{margin-left:auto;border:0;background:none;color:var(--accent);font-weight:900;font-size:13px;padding:0 0 0 8px;align-self:center}
.b-foot{flex:none;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--surface);display:flex;gap:10px}
.b-foot .btn.lime{flex:1;justify-content:space-between;min-height:56px;padding:0 20px}.b-foot .back{width:56px;min-height:56px;padding:0;flex:none}
.b-foot .btn.lime span:last-child{font-family:var(--display);font-weight:400;font-size:20px}
@media (min-width:900px){
  .builder{flex-direction:row}
  .b-stage{height:auto;flex:1.15}
  .b-panel{flex:1;max-width:560px;border-left:1px solid var(--line)}
  .b-top h2{font-size:30px}
}
.toast{position:fixed;left:50%;top:calc(76px + env(safe-area-inset-top,0px));transform:translate(-50%,-14px);z-index:120;background:var(--text);color:var(--bg);font-weight:800;padding:12px 18px;border-radius:14px;opacity:0;pointer-events:none;transition:.25s ease;max-width:calc(100% - 32px);text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ===== complementos do site ===== */
.aviso-topo{background:var(--lima);color:#22052B;font-weight:800;font-size:14px;text-align:center;padding:9px 16px}
.aviso-topo.pausa{background:#D3173F;color:#fff}
.item[aria-disabled="true"]{opacity:.55}
.item[aria-disabled="true"] .thumb img{filter:grayscale(1)}
.item-t em s{font-family:var(--body);font-weight:800;font-size:14px;color:var(--text-2);margin-left:6px}
.item-t em .de{font-family:var(--body);font-weight:800;font-size:13px;color:var(--text-2);margin-right:4px}
.tag.promo{background:var(--lima);color:#22052B}
.tag.off{background:var(--line);color:var(--text-2)}
.tag.top{background:var(--roxo);color:#fff}
.item .tags{display:flex;flex-wrap:wrap;gap:6px}
.item .tags .tag{margin-top:8px}
.thumb{background:var(--surface-2)}
.p-hero{background:var(--surface-2)}
.p-price s{font-family:var(--body);font-weight:800;font-size:15px;color:var(--text-2);margin-left:8px}
.sw.none{background:var(--surface-2)}
.opt[disabled]{opacity:.45;cursor:not-allowed}
.opt .qty{padding:3px;flex:none}
.opt .qty button{width:34px;height:34px;font-size:18px}
.opt .qty span{min-width:22px}
.opt-t small.pr{color:var(--accent)}
.size-card[disabled]{opacity:.4;cursor:not-allowed}
.size-card s{font-size:12px;font-weight:800;color:var(--text-2)}
.size-card small{font-size:12px;font-weight:900;color:var(--accent)}
.field select{width:100%;font:inherit;font-weight:600;color:var(--text);background:var(--surface);border:0;border-radius:14px;padding:12px 40px 12px 14px;box-shadow:inset 0 0 0 1.5px var(--line);-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E5577' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.field select:focus{outline:0;box-shadow:inset 0 0 0 2px var(--accent)}
.field.err select{box-shadow:inset 0 0 0 2px #D3173F}
.cupom-row{display:flex;gap:8px}
.cupom-row input{flex:1;text-transform:uppercase}
.cupom-row button{flex:none;min-height:48px;padding:0 16px;border:0;border-radius:14px;background:var(--surface-2);font-weight:900;color:var(--text)}
.cupom-ok{display:flex;justify-content:space-between;align-items:center;gap:10px;background:color-mix(in srgb,var(--lima) 22%,var(--surface));border-radius:14px;padding:10px 14px;font-weight:800;font-size:14px}
.cupom-ok button{border:0;background:none;color:var(--accent);font-weight:900;font-size:13px;text-decoration:underline}
.sum .desc{color:#3F8F1F}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .sum .desc{color:var(--lima)}}:root[data-theme="dark"] .sum .desc{color:var(--lima)}
.btn.wa[aria-disabled="true"]{opacity:.5}
.erro-envio{color:#D3173F;font-size:13px;font-weight:800;margin:0 0 10px;min-height:0}
.hours-wrap{flex:1;min-width:0}
.hours-wrap>b{display:block;color:var(--text)}
.hours{width:100%;border-collapse:collapse;margin-top:6px;font-size:14px;font-weight:700;color:var(--text-2)}
.hours td{padding:4px 0;border-bottom:1px dashed var(--line)}
.hours td:last-child{text-align:right;white-space:nowrap}
.hours tr.hoje td{color:var(--accent);font-weight:900}
.where-card .row p span{display:block}
.foot-base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
.adm-link{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border-radius:999px;border:1.5px solid rgba(255,255,255,.32);color:#fff;text-decoration:none;font-size:13px;font-weight:800;opacity:.92;transition:background .2s,border-color .2s,opacity .2s}
.adm-link svg{flex:none;opacity:.9}
.adm-link:hover,.adm-link:focus-visible{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.6);opacity:1}
.adm-link:focus-visible{outline:2px solid var(--lima);outline-offset:3px}

/* ===== painel do dono ===== */
.admz{font-family:var(--body);color:var(--text)}
#admin{min-height:100vh;background:var(--bg)}
.admz h1,.admz h2{font-family:var(--display);font-weight:400;line-height:1.05;margin:0}
.admz p{margin:0}
.admz .btn{min-height:44px;font-size:15px}
.admz .btn.roxo{background:var(--roxo);color:#fff}
.admz .btn.roxo:hover{filter:brightness(1.12)}
.admz .btn-p{min-height:42px;padding:0 18px;font-size:14px}
.admz .btn svg{width:18px;height:18px;flex:none}
.admz .login{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--roxo) var(--wave);background-size:180px}
.admz .login form{width:100%;max-width:400px;background:var(--surface);border-radius:26px;padding:30px;display:grid;gap:16px;box-shadow:var(--shadow)}
.admz .login h1{font-size:30px;text-align:center;color:var(--accent)}
.admz .login .dica{font-size:13px;color:var(--text-2);text-align:center;font-weight:700}
.admz .marca{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:var(--display);font-size:21px;color:inherit}
.admz .marca img{width:42px;height:42px;border-radius:50%;flex:none}
.admz .login .marca{justify-content:center;font-size:24px}
.adm{display:grid;grid-template-columns:1fr;min-height:100vh}
.lateral{background:var(--roxo-3);color:#fff;padding:18px 14px;display:flex;flex-direction:column;gap:6px}
.lateral .marca{padding:4px 8px 18px}
.navadm{display:flex;flex-direction:column;gap:4px}
.navadm button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 12px;border-radius:12px;border:0;background:transparent;color:#E9D3EF;font:800 14.5px var(--body);text-align:left}
.navadm button svg{width:20px;height:20px;flex:none}
.navadm button:hover{background:rgba(255,255,255,.08);color:#fff}
.navadm button[aria-current="page"]{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 3px 0 0 var(--lima)}
.navadm .cont{margin-left:auto;background:var(--lima);color:#22052B;font-size:11.5px;border-radius:999px;padding:1px 8px;font-weight:900}
.lateral .pe{margin-top:auto;display:grid;gap:4px;padding-top:16px;border-top:1px solid rgba(255,255,255,.14)}
.conteudo{min-width:0;padding:22px 16px 60px}
.cab{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:20px}
.cab h1{font-size:clamp(30px,4vw,40px);color:var(--accent)}
.cab .sub{color:var(--text-2);font-size:14px;font-weight:700;margin-top:4px}
.cab .acoes-cab{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.faixa-demo{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;background:color-mix(in srgb,var(--lima) 18%,var(--surface));border-radius:14px;padding:10px 14px;font-size:13.5px;font-weight:700;margin-bottom:16px}
.faixa-demo button{background:none;border:0;color:var(--accent);font:900 13px var(--body);text-decoration:underline}
.aseg{display:inline-flex;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line);border-radius:12px;padding:3px}
.aseg button{min-height:36px;padding:0 14px;border-radius:9px;border:0;background:transparent;color:var(--text-2);font:800 13.5px var(--body)}
.aseg button[aria-pressed="true"]{background:var(--roxo);color:#fff}
.cartao{background:var(--surface);border-radius:20px;padding:20px;min-width:0;box-shadow:var(--shadow)}
.cartao h2{font-size:23px;margin-bottom:4px}
.cartao .leg{font-size:13px;color:var(--text-2);font-weight:700;margin-bottom:14px}
.kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:12px}
@media (min-width:1100px){.kpis{grid-template-columns:repeat(4,1fr)}}
@media (max-width:520px){.kpi b{font-size:21px!important}.kpis>.kpi:first-child{grid-column:1/-1}}
.kpi{background:var(--surface);border-radius:20px;padding:18px;display:grid;gap:6px;min-width:0;box-shadow:var(--shadow)}
.kpi span{font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--text-2)}
.kpi b{font-family:var(--display);font-weight:400;font-size:clamp(22px,1.9vw,30px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
.kpi small{font-size:12.5px;font-weight:800;color:var(--text-2)}
.kpi small.up{color:#2E8A3A}
.kpi small.down{color:#D3173F}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .kpi small.up{color:var(--lima)}}:root[data-theme="dark"] .kpi small.up{color:var(--lima)}
.dash{display:grid;gap:12px}
@media (min-width:1100px){.dash{grid-template-columns:1.6fr 1fr}}
.grafico svg{width:100%;height:auto;display:block}
.barras{display:grid;gap:12px}
.barra-h .top{display:flex;justify-content:space-between;gap:10px;font-size:14px;margin-bottom:6px}
.barra-h .top b{font-weight:800}
.barra-h .top span{color:var(--text-2);font-weight:700;white-space:nowrap}
.barra-h .trilho{height:10px;border-radius:6px;background:var(--surface-2);overflow:hidden}
.barra-h .trilho i{display:block;height:100%;border-radius:6px;background:var(--roxo)}
.empilhada{display:flex;height:14px;border-radius:8px;overflow:hidden;background:var(--surface-2);margin:6px 0 12px}
.empilhada i{display:block;height:100%}
.legenda{display:grid;gap:8px;font-size:14px;font-weight:700}
.legenda div{display:flex;align-items:center;gap:10px}
.legenda i{width:12px;height:12px;border-radius:4px;flex:none}
.legenda span{margin-left:auto;color:var(--text-2)}
.lista-ped{display:grid;gap:8px}
.ped{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;background:var(--bg);border:0;box-shadow:inset 0 0 0 1.5px var(--line);border-radius:14px;padding:12px 14px;text-align:left;color:var(--text);font:inherit;width:100%}
.ped:hover{box-shadow:inset 0 0 0 2px var(--accent)}
.ped .num{font-weight:900;font-size:14px}
.ped .num small{display:block;font-weight:700;color:var(--text-2);font-size:12px}
.ped .meio{min-width:0}
.ped .meio b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ped .meio span{display:block;font-size:13px;color:var(--text-2);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ped .dir{text-align:right;display:grid;gap:4px;justify-items:end}
.ped .dir b{font-size:15px}
.st{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:900;border-radius:999px;padding:3px 10px;white-space:nowrap}
.st:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.st.novo{background:#FFF3C4;color:#8A6500}
.st.preparo{background:#F8DDFB;color:#7A1C8F}
.st.saiu{background:#DCEBFF;color:#1F5FB8}
.st.concluido{background:#E2F5D0;color:#2E7A12}
.st.cancelado{background:var(--surface-2);color:var(--text-2)}
.filtros{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px;scrollbar-width:none}
.filtros::-webkit-scrollbar{display:none}
.aba{flex:none;min-height:40px;padding:0 16px;border-radius:999px;border:0;background:var(--surface-2);color:var(--text);font:800 14px var(--body)}
.aba[aria-pressed="true"]{background:var(--roxo);color:#fff}
.busca{min-height:44px;padding:0 16px;border-radius:999px;border:0;box-shadow:inset 0 0 0 1.5px var(--line);background:var(--surface);color:var(--text);font:700 14px var(--body);min-width:220px}
.busca:focus{outline:0;box-shadow:inset 0 0 0 2px var(--accent)}
.tabela{width:100%;border-collapse:collapse;font-size:14px}
.tabela th{text-align:left;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-2);font-weight:900;padding:10px 12px;border-bottom:1.5px solid var(--line);white-space:nowrap}
.tabela td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle;font-weight:600}
.tabela td.num,.tabela th.num{text-align:right;white-space:nowrap}
.tabela tr.clica{cursor:pointer}
.tabela tr.clica:hover td{background:var(--surface-2)}
.rolar-x{overflow-x:auto}
.lista-adm{display:grid;gap:10px}
.linha-adm{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:center;background:var(--surface);border-radius:18px;padding:12px;box-shadow:var(--shadow)}
.linha-adm img{width:64px;height:64px;border-radius:14px;object-fit:cover;background:var(--surface-2)}
.linha-adm .ainfo{min-width:0;display:grid;gap:2px}
.linha-adm .ainfo b{font-size:16px;font-weight:900}
.linha-adm .ainfo span{font-size:13px;color:var(--text-2);font-weight:700}
.linha-adm .ainfo .pr{font-weight:900;color:var(--price);font-size:15px}
.linha-adm .ctrl{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
@media (min-width:900px){.linha-adm{grid-template-columns:64px 1fr auto}.linha-adm .ctrl{grid-column:auto;justify-content:flex-end}}
.linha-adm.off{opacity:.55}
.chave{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:var(--text-2);cursor:pointer;user-select:none;min-height:36px}
.chave input{-webkit-appearance:none;appearance:none;width:40px;height:24px;border-radius:999px;background:var(--surface-2);box-shadow:inset 0 0 0 1.5px var(--line);position:relative;cursor:pointer;margin:0;flex:none;transition:background .2s}
.chave input:before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--text-2);transition:transform .2s,background .2s}
.chave input:checked{background:var(--roxo);box-shadow:none}
.chave input:checked:before{transform:translateX(16px);background:#fff}
.ic-btn{width:38px;height:38px;border-radius:10px;border:0;box-shadow:inset 0 0 0 1.5px var(--line);background:var(--surface);color:var(--text-2);display:inline-grid;place-items:center}
.ic-btn:hover{color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent)}
.ic-btn svg{width:18px;height:18px}
.ic-btn[disabled]{opacity:.35;pointer-events:none}
.btn-sec{min-height:38px;padding:0 14px;border-radius:10px;border:0;box-shadow:inset 0 0 0 1.5px var(--line);background:var(--surface);color:var(--text);font:800 13.5px var(--body);display:inline-flex;align-items:center;gap:8px}
.btn-sec:hover{box-shadow:inset 0 0 0 2px var(--accent)}
.btn-sec.perigo{color:#D3173F}
.btn-sec svg{width:16px;height:16px}
.acats{display:flex;flex-wrap:wrap;gap:8px}
.acat-chip{display:inline-flex;align-items:center;gap:4px;background:var(--surface-2);border-radius:999px;padding:4px 6px 4px 14px;font-size:13.5px;font-weight:800}
.acat-chip small{color:var(--text-2);font-weight:700;margin-right:2px}
.acat-chip button{width:28px;height:28px;border-radius:50%;border:0;background:transparent;color:var(--text-2);display:grid;place-items:center}
.acat-chip button:hover{color:var(--accent);background:var(--surface)}
.acat-chip button svg{width:14px;height:14px}
.acat-chip button[disabled]{opacity:.3;pointer-events:none}
.grupo-adm{margin-bottom:14px}
.grupo-adm .topo-g{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}
.grupo-adm .usado{font-size:13px;color:var(--text-2);font-weight:700;margin-top:4px}
.ops-adm{display:grid;gap:6px}
.op-adm{display:grid;grid-template-columns:26px 1fr auto;gap:12px;align-items:center;padding:8px 10px;border-radius:12px;background:var(--bg)}
.op-adm .sw{width:24px;height:24px}
.op-adm b{font-size:14.5px;font-weight:800;display:block}
.op-adm small{font-size:12.5px;color:var(--text-2);font-weight:700}
.op-adm .ctrl{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.op-adm.off b{opacity:.55;text-decoration:line-through}
@media (max-width:640px){.op-adm{grid-template-columns:26px 1fr}.op-adm .ctrl{grid-column:1/-1;justify-content:flex-start}}
.cupons{display:grid;gap:12px}
@media (min-width:800px){.cupons{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1300px){.cupons{grid-template-columns:repeat(3,1fr)}}
.cupom{background:var(--surface);border:2px dashed var(--lilas);border-radius:20px;padding:18px;display:grid;gap:10px}
.cupom .cod{font-weight:900;font-size:22px;letter-spacing:.08em}
.cupom .val{font-family:var(--display);font-size:26px;color:var(--accent)}
.cupom .det{font-size:13px;color:var(--text-2);font-weight:700;display:grid;gap:2px}
.cupom .rod{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.cupom.inativo{opacity:.55}
.form-grade{display:grid;gap:14px}
@media (min-width:700px){.form-grade.duas{grid-template-columns:1fr 1fr}}
.cfg{display:grid;gap:12px}
@media (min-width:1100px){.cfg{grid-template-columns:1fr 1fr}}
.hor-linha{display:grid;grid-template-columns:96px auto 1fr 1fr;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
.hor-linha b{font-weight:900}
.taxa-linha{display:grid;grid-template-columns:1fr 110px auto auto;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}
.taxas-box{max-height:420px;overflow-y:auto;padding-right:4px;margin:10px 0}
.salvar-linha{display:flex;justify-content:flex-end;gap:10px;margin-top:12px;flex-wrap:wrap}
.campo{display:grid;gap:6px;min-width:0}
.campo>label{font-size:13px;font-weight:800;color:var(--text-2)}
.admz input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),.admz select,.admz textarea{width:100%;min-height:44px;padding:10px 14px;border-radius:12px;border:0;box-shadow:inset 0 0 0 1.5px var(--line);background:var(--surface);color:var(--text);font:600 15px var(--body)}
.admz textarea{min-height:76px;resize:vertical}
.admz input:focus,.admz select:focus,.admz textarea:focus{outline:0;box-shadow:inset 0 0 0 2px var(--accent)}
.admz input:disabled{opacity:.45}
.admz input[type=color]{width:52px;height:44px;border:0;border-radius:12px;padding:3px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line);cursor:pointer}
.opcoes{display:flex;flex-wrap:wrap;gap:8px}
.opcoes label{position:relative}
.opcoes input{position:absolute;opacity:0;width:1px;height:1px}
.opcoes span{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--line);font-size:14px;font-weight:800;cursor:pointer}
.opcoes input:checked+span{background:var(--roxo);color:#fff;box-shadow:none}
.opcoes input:focus-visible+span{outline:3px solid var(--lima);outline-offset:2px}
.admz fieldset{border:0;margin:0;padding:0;display:grid;gap:8px;min-width:0}
.admz legend{font-weight:900;font-size:13px;color:var(--text-2);margin-bottom:6px;padding:0}
.erro{color:#D3173F;font-size:13px;font-weight:800;min-height:1em}
.vazio-adm{color:var(--text-2);font-weight:700;text-align:center;padding:40px 10px;border:2px dashed var(--line);border-radius:18px}
.grp-link{display:grid;grid-template-columns:auto 1fr 74px 74px;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.grp-link b{font-size:14px;font-weight:900}
.grp-link small{display:block;font-size:12px;color:var(--text-2);font-weight:700}
.grp-link input[type=checkbox]{width:22px;height:22px;accent-color:var(--roxo)}
.grp-link .mm{display:grid;gap:2px;font-size:11px;font-weight:900;color:var(--text-2);text-align:center}
.grp-link .mm input{min-height:38px!important;padding:6px 8px!important;text-align:center}
.modal-fundo{position:fixed;inset:0;z-index:130;background:rgba(20,3,25,.6);display:grid;place-items:center;padding:16px}
.modal{width:100%;max-width:640px;max-height:92vh;overflow-y:auto;background:var(--bg);border-radius:24px;box-shadow:0 30px 100px rgba(20,3,25,.5)}
.modal>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:1}
.modal>header h2{font-size:26px}
.modal .fechar{width:42px;height:42px;border-radius:50%;border:0;background:var(--surface-2);color:var(--text);font-size:22px;flex:none}
.modal .corpo-m{padding:18px 20px;display:grid;gap:16px}
.modal>footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid var(--line);flex-wrap:wrap;position:sticky;bottom:0;background:var(--bg)}
.modal.peq{max-width:440px}
.foto-edit{display:flex;gap:14px;align-items:center}
.foto-edit img{width:120px;height:90px;border-radius:14px;object-fit:cover;background:var(--surface-2);flex:none}
.foto-edit label.btn-sec{position:relative;overflow:hidden;cursor:pointer}
.foto-edit input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
.det-ped{display:grid;gap:10px;font-size:14.5px}
.det-ped .lin{display:flex;justify-content:space-between;gap:12px}
.det-ped .lin span{color:var(--text-2);font-weight:700}
.det-ped .lin b{font-weight:800}
.det-ped .sub-l{margin:-4px 0 0 0;padding:0 0 0 14px;list-style:none;font-size:13px;color:var(--text-2);font-weight:700}
.det-ped hr{border:0;border-top:1px solid var(--line);margin:2px 0}
.status-btns{display:flex;flex-wrap:wrap;gap:8px}
.status-btns button[aria-pressed="true"]{background:var(--roxo);color:#fff;box-shadow:none}
.vis-linha{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
@media (max-width:899px){
  .lateral{position:sticky;top:0;z-index:30;flex-direction:row;align-items:center;gap:8px;padding:10px 12px;overflow-x:auto;scrollbar-width:none}
  .lateral::-webkit-scrollbar{display:none}
  .lateral .marca{padding:0 6px 0 0;flex:none}
  .lateral .marca span{display:none}
  .navadm{flex-direction:row}
  .navadm button{white-space:nowrap;min-height:40px;width:auto}
  .navadm button[aria-current="page"]{box-shadow:inset 0 -3px 0 var(--lima)}
  .lateral .pe{margin:0;padding:0;border:0;display:flex}
  .lateral .pe button{white-space:nowrap;width:auto}
  .hor-linha{grid-template-columns:1fr auto}
  .taxa-linha{grid-template-columns:1fr 90px auto auto}
}
@media (min-width:900px){.adm{grid-template-columns:250px 1fr}.lateral{position:sticky;top:0;height:100vh}.conteudo{padding:30px 34px 60px}}
.toast{z-index:200}
.pulos{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 16px}
.pulos button small{font-weight:700;opacity:.75;margin-left:4px}
html:has(#admin:not([hidden])){scroll-padding-top:16px}
@media (max-width:899px){html:has(#admin:not([hidden])){scroll-padding-top:80px}}
/* taxa por distância */
.linha2{display:grid;grid-template-columns:1fr 110px;gap:10px}
.field small.opc{font-weight:700;color:var(--text-2);font-size:12px}
.geo-box{border-radius:16px;padding:12px 14px;margin:-2px 0 12px;background:var(--surface-2);display:grid;gap:8px}
.geo-box .geo-t{margin:0;font-weight:700;font-size:14px;color:var(--text-2)}
.geo-box .geo-t b{color:var(--text);font-weight:900}
.geo-box.ok{background:color-mix(in srgb,var(--lima) 20%,var(--surface));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--lima) 60%,transparent)}
.geo-box.ok .geo-t b{color:var(--text)}
.geo-box.fora,.geo-box.erro{background:color-mix(in srgb,#F5A524 16%,var(--surface));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,#F5A524 55%,transparent)}
.geo-box .geo-s{margin:0;font-size:13px;font-weight:700;color:var(--text-2)}
.geo-box .geo-s a{color:var(--accent);font-weight:900}
.geo-gps{justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:0;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line);font-weight:900;font-size:13.5px;color:var(--accent)}
.geo-gps svg{width:18px;height:18px}
.geo-sel{width:100%;font:inherit;font-weight:700;color:var(--text);background:var(--surface);border:0;border-radius:12px;padding:10px 12px;box-shadow:inset 0 0 0 1.5px var(--line)}
.geo-spin{display:inline-block;vertical-align:-3px;margin-right:8px;width:16px;height:16px;border-radius:50%;border:2.5px solid var(--line);border-top-color:var(--accent);animation:giro .8s linear infinite;flex:none}
@keyframes giro{to{transform:rotate(360deg)}}
.faixa-linha{display:grid;grid-template-columns:auto 90px auto auto 110px auto;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line);font-weight:800;font-size:14px;color:var(--text-2)}
.coord-linha{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}
.sub-cfg{font-family:var(--body);font-weight:900;font-size:16px;margin:18px 0 6px}

/* usuários e atividade */
.lateral .quem{display:grid;gap:1px;padding:8px 10px 10px;font-size:13px;line-height:1.25;min-width:0}
.lateral .quem b{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lateral .quem span{opacity:.7;font-weight:700;font-size:12px}
@media (max-width:899px){.lateral .quem{display:none}}
.aviso-senha{background:color-mix(in srgb,#F5B14C 24%,var(--surface))}
.log{display:grid;gap:2px}
.log-dia{margin:14px 0 6px;font-weight:900;font-size:13px;color:var(--text-2);text-transform:uppercase;letter-spacing:.04em}
.log-dia:first-child{margin-top:0}
.log-item{display:grid;grid-template-columns:52px 1fr;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px;font-weight:700;color:var(--text-2)}
.log-item:last-child{border-bottom:0}
.log-item b{color:var(--text);font-weight:900}
.log-h{font-variant-numeric:tabular-nums;color:var(--text-2);font-weight:800}
.admz .login .dica{margin:-4px 0 4px;text-align:center}@media (max-width:699px){.vazio-grade{display:none}}
.admz .login .erro{margin:-4px 0;min-height:0}.admz .login .erro:empty{display:none}

/* resumo dentro da ficha do cliente: sempre 2 colunas, sem cortar o valor */
.admz .kpis.kpis-m{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.admz .kpis.kpis-m>.kpi:first-child{grid-column:auto}
