@font-face{font-family:Poppins;src:url('assets/fonts/Poppins-Regular.woff2')}@font-face{font-family:Quiche;src:url('assets/fonts/QuicheDisplay-Medium.woff2')}
:root{--bg:#faf7f2;--paper:#fffdfa;--ink:#34271f;--muted:#94867b;--line:#eae3da;--brown:#633319;--dark:#2c1a12;--gold:#c49a6c;--green:#378763;--red:#bf534d;--radius:12px;--shadow:0 4px 18px #3b241204}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:13px Poppins,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}button,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--gold)}h1,h2,h3,p{margin:0}h1{font-family:Quiche,Georgia,serif;font-size:34px;font-weight:500;line-height:1.25}h2{font-size:17px;font-weight:600}h3{font-size:14px;font-weight:600}small,.muted{color:var(--muted)}small{font-size:11px}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{border:0;background:none}img{max-width:100%;display:block}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:7px;padding:11px 17px;background:var(--paper);font-size:12px;transition:.18s;white-space:nowrap}.btn:hover{background:#f2e9de;border-color:#cfb69d}.btn.primary{color:#fff8f0;background:var(--brown);border-color:var(--brown)}.btn.primary:hover{background:#482511}.btn.dark{background:var(--dark);color:#fff}.btn.ghost{background:transparent}.btn.small{padding:7px 10px;font-size:11px}.btn.danger{color:var(--red)}.btn.wide{width:100%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;width:36px;height:36px;background:var(--paper)}.icon-btn:hover{background:#f0e5d9}.row{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:15px}.stack{display:grid;gap:18px}.eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:2.4px;color:#a17251;font-weight:600}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 8px;font-size:10px;background:#f1e9dd;color:#9a7445;white-space:nowrap}.badge.green{background:#edf5ef;color:var(--green)}.badge.red{background:#fbeeed;color:var(--red)}.badge.blue{background:#eef2f9;color:#607da5}.dot{display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.card-head h2{font-size:14px}.text-link{color:#986e4b;font-size:11px;display:inline-flex;gap:8px;align-items:center}.text-link:hover{color:var(--brown)}.text-link .icon{width:15px}.field{display:grid;gap:8px;text-align:left}.field label{font-size:12px}.field input,.field select,.field textarea,input.input,select.input{width:100%;border:1px solid var(--line);background:white;border-radius:7px;padding:11px 13px;color:var(--ink);min-height:42px}.field textarea{min-height:90px;resize:vertical}.field input:focus,.input:focus{border-color:var(--gold)}.input-icon{position:relative}.input-icon .icon{position:absolute;left:14px;top:13px;color:var(--muted);width:17px}.input-icon input{padding-left:41px}.input-icon button{position:absolute;right:10px;top:8px}.input-icon button .icon{position:static}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.span2{grid-column:1/-1}.empty{padding:55px 20px;text-align:center;color:var(--muted)}.empty .icon{width:35px;height:35px;margin-bottom:15px}.empty p{margin:10px 0 18px}
/* Entry */
.login{min-height:100vh;display:grid;grid-template-columns:55% 45%}.login-story{position:relative;overflow:hidden;background:var(--dark);color:#fffbf4;padding:42px 7%;display:flex;flex-direction:column;min-height:900px}.login-story:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#28170eed 0%,#28170ea3 50%,#28170e10 100%),linear-gradient(0deg,#28170e 0%,transparent 65%),url('assets/video/poster_preparo_chocolate.jpg') center/cover;opacity:.95}.login-story>*{position:relative}.brand-logo{width:108px;height:70px;object-fit:contain}.login-story .brand-logo{width:125px;height:82px}.login-story-top{display:flex;align-items:center;justify-content:space-between}.login-story-top span{font-size:8px;letter-spacing:2px;color:#ddc6ad}.login-copy{margin:auto 0;padding:64px 0 32px;max-width:510px}.login-copy h1{font-size:clamp(42px,4vw,65px);line-height:1.15;letter-spacing:-1px}.login-copy h1 em{font-style:normal;color:#dfb78b}.login-copy>p{font-size:14px;line-height:1.9;max-width:365px;color:#e3d3c4;margin-top:25px}.story-benefits{display:flex;gap:30px;margin-top:42px}.story-benefits>div{flex:1}.story-benefits .icon{width:24px;height:24px;color:#d4b18a;margin-bottom:13px}.story-benefits strong{font-size:11px;display:block;margin-bottom:6px}.story-benefits small{font-size:10px;color:#c9b6a4}.story-foot{padding-top:25px;border-top:1px solid #ffffff20;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#dbc3aa}.login-panel{display:flex;flex-direction:column;padding:25px 10%;justify-content:center;position:relative;background:radial-gradient(ellipse at right bottom,#eadbc54d,transparent 60%),var(--bg)}.login-language{position:absolute;top:26px;right:35px;font-size:10px;color:var(--muted)}.login-box{max-width:390px;width:100%;margin:35px auto}.login-box>.brand-logo{width:115px;height:74px;margin:0 auto 17px}.login-box>.eyebrow{text-align:center;font-size:8px}.login-heading{margin:29px 0 24px;text-align:center}.login-heading h1{font-size:27px}.login-heading p{font-size:11px;color:var(--muted);margin-top:8px}.login-form{display:grid;gap:17px}.login-options{font-size:10px;display:flex;justify-content:space-between;align-items:center}.login-options label{display:flex;align-items:center;gap:6px}input[type=checkbox]{accent-color:var(--brown)}.login-form .primary{height:45px}.demo-heading{margin:28px 0 12px;display:flex;align-items:center;gap:10px;font-size:9px;text-transform:uppercase;letter-spacing:1.6px;color:var(--muted)}.demo-heading:before,.demo-heading:after{content:'';height:1px;background:var(--line);flex:1}.demo-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.demo-role{display:flex;gap:10px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:8px;text-align:left;background:#fffdf9}.demo-role:hover{border-color:var(--gold);background:#f6ede3}.demo-role .icon{color:#9b7450;width:18px}.demo-role strong{font-size:10px;display:block}.demo-role small{font-size:8px}.demo-note{font-size:9px;text-align:center;color:var(--muted);margin-top:12px}.login-footer{font-size:8px;color:var(--muted);text-align:center;line-height:2}.error-text{color:var(--red);font-size:11px}
/* Workspace */
.shell{min-height:100vh;padding-left:226px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:226px;background:var(--dark);color:#dccfc0;z-index:30;display:flex;flex-direction:column;padding:22px 14px 16px}.sidebar-brand{display:flex;justify-content:center;align-items:center;height:95px;margin-bottom:14px;border-bottom:1px solid #ffffff10;padding-bottom:19px}.sidebar-brand .brand-logo{height:75px;width:121px}.nav-section{font-size:8px;letter-spacing:1.8px;color:#9b8674;padding:15px 16px 8px}.sidebar nav{overflow:auto;scrollbar-width:thin;scrollbar-color:#6b4831 transparent;flex:1}.nav-link{display:flex;align-items:center;gap:12px;padding:11px 15px;border-radius:7px;font-size:11px;margin:2px 0;transition:.15s;position:relative}.nav-link .icon{width:17px;height:17px;color:#c2a482}.nav-link:hover{background:#ffffff09;color:white}.nav-link.active{background:color-mix(in srgb,var(--brown) 82%,#fff);color:#fff3df}.nav-link.active:before{content:'';position:absolute;left:-14px;height:18px;width:3px;background:var(--gold);border-radius:0 3px 3px 0}.nav-link .nav-count{margin-left:auto;border-radius:4px;background:#c1956525;padding:1px 6px;font-size:9px;color:#e4c29b}.sidebar-bottom{border-top:1px solid #ffffff10;padding:14px 12px 0;margin-top:10px}.sidebar-bottom .label{font-size:9px;line-height:1.8}.sidebar-bottom small{font-size:8px;color:#998574}.sidebar-bottom .icon-btn{background:#ffffff08;color:#ceb99f;border-color:#ffffff10}.topbar{height:78px;display:flex;align-items:center;gap:22px;padding:0 32px;background:#fffdf9cc;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.global-search{display:flex;align-items:center;gap:10px;flex:1;max-width:470px;color:#ac9e92}.global-search input{border:0;outline:0;background:none;width:100%;font-size:10px;color:var(--ink)}.global-search .icon{width:16px}.key{font:9px Arial;padding:4px 5px;border:1px solid var(--line);border-radius:3px;white-space:nowrap}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:20px}.scope-select{border:1px solid var(--line);border-radius:6px;background:transparent;padding:9px 12px;font-size:10px;max-width:190px}.notification{position:relative;display:flex;padding:4px}.notification:after{content:'';position:absolute;right:4px;top:3px;background:#be6752;width:5px;height:5px;border:2px solid var(--paper);border-radius:50%}.profile{display:flex;align-items:center;gap:10px;padding-left:19px;border-left:1px solid var(--line);text-align:left}.avatar{height:33px;width:33px;border-radius:50%;background:#e9d8c6;display:grid;place-items:center;font-family:Georgia;font-size:14px;color:#6b4327}.profile strong{font-size:10px;display:block}.profile small{font-size:9px}.mobile-menu{display:none}.workspace{padding:30px 32px 18px;max-width:1800px;margin:auto;animation:appear .22s ease}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:18px}.page-heading h1{margin-top:6px}.page-heading p{font-size:11px;color:var(--muted);margin-top:8px}.page-actions{display:flex;align-items:center;gap:8px}.date-btn{font-size:10px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat{padding:20px 20px 16px;background:var(--paper);border:1px solid var(--line);border-radius:10px;position:relative}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#998679;font-size:10px;margin-bottom:17px}.stat-top .icon{width:18px;color:#b68e65}.stat-value{font-size:27px;letter-spacing:-.9px;font-family:Georgia,serif;font-weight:500;white-space:nowrap}.stat-bottom{margin-top:15px;display:flex;gap:7px;font-size:9px;align-items:center;color:var(--muted)}.stat-bottom .up{color:var(--green);font-size:9px}.stat.featured{background:var(--brown);color:#fff4e5;border-color:var(--brown);overflow:hidden}.stat.featured:after{content:'';position:absolute;width:140px;height:140px;border:1px solid #ffffff0a;border-radius:50%;right:-55px;bottom:-70px;box-shadow:0 0 0 20px #ffffff03,0 0 0 40px #ffffff03}.stat.featured .stat-top,.stat.featured .stat-bottom{color:#dfc7ae}.stat.featured .up{color:#b9dac0}.stat.featured .icon{color:#e4c19c}.dashboard-top{display:grid;grid-template-columns:1.75fr 1fr;gap:20px;margin-bottom:20px}.chart-total{display:flex;align-items:center;gap:12px}.chart-total strong{font:26px Georgia}.chart-meta{margin-top:6px;color:var(--muted);font-size:9px}.chart-wrap{position:relative;height:214px;margin-top:20px;padding-left:42px}.chart-wrap svg{width:100%;height:180px;overflow:visible}.chart-axis{position:absolute;left:0;top:0;bottom:30px;display:flex;flex-direction:column;justify-content:space-between;font-size:8px;color:#a29488}.chart-labels{display:flex;justify-content:space-between;font-size:8px;color:#a29488;margin-top:9px}.chart-legend{display:flex;gap:17px;margin-top:9px;justify-content:center;font-size:9px;color:var(--muted)}.chart-legend i{display:inline-block;width:7px;height:7px;background:var(--brown);border-radius:50%;margin-right:5px}.chart-legend i.light{background:#d3bfaa}.segmented{display:flex;gap:2px;background:#f4eee6;padding:3px;border-radius:6px}.segmented button{font-size:9px;padding:5px 9px;border-radius:4px;color:#9a897a}.segmented button.active{background:white;color:var(--brown);box-shadow:0 1px 4px #00000008}.rank-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #eee7df}.rank-row:last-child{border:0}.rank-index{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#f4eee6;color:#a0805e;font-size:10px}.rank-row:first-child .rank-index{background:#f5e8d2;color:#aa7b31}.rank-name{flex:1;font-size:11px}.rank-name small{display:block;font-size:8px;margin-top:3px}.rank-row strong{font-size:11px}.rank-change{font-size:8px;color:var(--green)}.dashboard-bottom{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px}.donut-section{display:flex;align-items:center;gap:20px;padding:10px 0 12px}.donut{width:125px;height:125px;flex-shrink:0;border-radius:50%;background:conic-gradient(var(--brown) 0 42%,#a87d55 42% 70%,#d0af87 70% 86%,#e9d8c0 86%);display:grid;place-items:center}.donut-center{width:91px;height:91px;background:var(--paper);border-radius:50%;display:grid;place-content:center;text-align:center}.donut-center strong{font:22px Georgia}.donut-center small{font-size:8px}.legend-list{flex:1;display:grid;gap:13px}.legend-item{display:flex;align-items:center;gap:7px;font-size:9px}.legend-item strong{margin-left:auto;font-size:9px}.legend-item i{width:7px;height:7px;border-radius:2px}.stock-mini{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #eee7df}.stock-mini:last-child{border:0}.stock-mini .product-photo{width:35px;height:35px;border-radius:6px}.stock-mini .stock-name{flex:1;font-size:10px}.stock-mini small{display:block;font-size:8px;margin-top:3px}.stock-mini strong{font-size:10px;color:var(--red)}.promo-card{background:#eadfcf;position:relative;min-height:265px;overflow:hidden;padding:24px;display:flex;flex-direction:column;justify-content:space-between;border:0}.promo-card:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#e9dbc6 0%,#eadfcfe0 38%,#eadfcf00 90%),url('assets/card_copo_recheado.jpg') center right/cover}.promo-card>*{position:relative}.promo-card h2{font:28px Quiche,Georgia;max-width:165px;line-height:1.16;margin-top:14px}.promo-card p{font-size:9px;max-width:150px;line-height:1.8;margin-top:12px;color:#8c6e54}.promo-card .btn{align-self:flex-start;margin-top:20px}.activity-bar{margin-top:21px;padding:15px 19px;display:flex;justify-content:space-between;align-items:center;gap:15px}.activity-bar>div{display:flex;align-items:center;gap:10px;font-size:10px}.activity-bar .icon{color:var(--green);width:16px}.workspace-footer{display:flex;justify-content:space-between;color:#a99a8b;font-size:8px;padding-top:25px}.workspace-footer span:last-child{letter-spacing:1.7px;font-size:7px}
/* Data screens */
.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:20px;flex-wrap:wrap}.toolbar .searchbox{flex:1;min-width:180px;position:relative}.searchbox .icon{position:absolute;left:12px;top:12px;width:16px;color:var(--muted)}.searchbox input{padding-left:38px;font-size:11px}.toolbar select{width:auto;min-width:130px;font-size:11px}.table-card{padding:0;overflow:hidden}.table-scroll{overflow:auto}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:11px}.data-table th{font-size:9px;font-weight:400;color:#978879;background:#f9f5ef;padding:15px 18px;border-bottom:1px solid var(--line)}.data-table td{padding:16px 18px;border-bottom:1px solid #f0eae3}.data-table tr:last-child td{border:0}.data-table tbody tr:hover{background:#fcf8f2}.data-table .main-cell{font-weight:500;color:#543b28}.data-table .main-cell small{display:block;font-weight:400;font-size:9px;margin-top:4px}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.table-footer .btn{padding:5px 9px}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.mini-stats .card{display:flex;align-items:center;gap:15px;padding:18px}.mini-stats .icon{color:#ac825b}.mini-stats strong{display:block;font:24px Georgia;margin-top:5px}.tabs{display:flex;gap:23px;border-bottom:1px solid var(--line);margin-bottom:23px;overflow:auto;white-space:nowrap}.tabs button{font-size:11px;padding:14px 0;color:var(--muted);border-bottom:2px solid transparent}.tabs button.active{border-bottom-color:var(--brown);color:var(--brown)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{padding:0;overflow:hidden;border-radius:11px;background:var(--paper);border:1px solid var(--line);transition:transform .18s,box-shadow .18s}.product-card:hover{transform:translateY(-3px);box-shadow:0 7px 20px #4727110b}.product-photo{background:#f0e4d6 center/cover;position:relative;overflow:hidden;display:block;flex-shrink:0}.product-card>.product-photo{width:100%;height:175px}.product-photo img{width:100%;height:100%;object-fit:cover}.product-photo.sprite{background-image:url('assets/products-reference.png');background-size:1130% auto}.product-info{padding:14px}.product-info h3{font-size:12px;margin:6px 0}.product-info p{font-size:9px;color:var(--muted);margin:5px 0 12px}.product-price{font-family:Georgia;font-size:20px;color:var(--brown)}.product-info .between{margin-top:12px}.product-info .icon-btn{width:29px;height:29px}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.cards-grid .card p{font-size:11px;color:var(--muted);margin:12px 0 20px;line-height:1.8}.cards-grid .card>.icon{color:var(--gold);width:27px;height:27px;margin-bottom:17px}.detail-hero{background:linear-gradient(115deg,var(--brown),var(--dark));color:#fff4e3;border-radius:12px;padding:28px;margin-bottom:22px}.detail-hero h1{font-size:29px}.detail-hero p{font-size:11px;color:#ccb6a0;margin-top:9px}.detail-hero .btn{background:#ffffff10;border-color:#ffffff25;color:#fff}.split{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.info-list{display:grid;gap:0}.info-list>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);font-size:11px}.info-list>div span{color:var(--muted)}.permission-table td,.permission-table th{text-align:center}.permission-table td:first-child,.permission-table th:first-child{text-align:left}.permission-table .icon{width:17px;color:var(--green)}.permission-table .locked{color:#bcafa2}.settings-layout{display:grid;grid-template-columns:190px 1fr;gap:22px}.settings-nav{display:flex;flex-direction:column;align-items:stretch;gap:6px}.settings-nav button{text-align:left;padding:13px 17px;font-size:11px;border-radius:7px}.settings-nav button.active{background:#efe3d4;color:var(--brown)}.settings-content{max-width:780px}.switch-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line)}.switch-row strong{font-size:12px}.switch-row small{display:block;margin-top:5px}.switch{width:35px;height:20px;accent-color:var(--brown)}.map-panel{display:flex;align-items:center;gap:30px}.map-panel svg{width:240px;max-width:50%;height:240px}.kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.kanban-col{background:#f0eae2;padding:15px;border-radius:12px}.kanban-title{display:flex;justify-content:space-between;font-size:12px;margin-bottom:18px}.order-card{background:var(--paper);padding:20px;border-radius:9px;margin-bottom:13px;border:1px solid var(--line)}.order-card h2{font:22px Georgia}.order-card p{font-size:11px;line-height:1.8;margin:15px 0}.order-card .btn{margin-top:14px}.order-card small{font-size:9px}.production-clock{font:25px Georgia}.device{border:1px solid var(--line);border-radius:9px;padding:20px;background:var(--paper)}.device .icon{width:35px;height:35px;color:#9d744e}.device h3{margin:20px 0 10px}.device p{font-size:10px;color:var(--muted);margin-bottom:20px}.device .between{margin-top:15px}
/* Commerce */
.commerce{min-height:100vh;background:var(--bg)}.commerce-top{height:78px;padding:12px 28px;border-bottom:1px solid var(--line);background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:20px}.commerce-top .brand-logo{height:52px;width:85px}.commerce-title{border-left:1px solid var(--line);padding-left:22px;font:24px Quiche,Georgia}.commerce-meta{font-size:10px;color:var(--muted);gap:25px}.commerce-content{display:grid;grid-template-columns:160px 1fr 350px;gap:0;min-height:calc(100vh - 78px)}.category-rail{padding:22px 12px;border-right:1px solid var(--line);background:#f4eee5;display:flex;flex-direction:column;gap:7px}.category-btn{display:flex;align-items:center;gap:10px;padding:11px;border-radius:8px;font-size:10px;text-align:left}.category-btn.active{background:var(--brown);color:#fff3e3}.category-btn:hover{box-shadow:inset 0 0 0 1px var(--gold)}.category-btn .product-photo{width:32px;height:32px;border-radius:6px}.sale-products{padding:23px;min-width:0}.sale-products .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sale-products .product-card>.product-photo{height:142px}.sale-products .product-info{padding:11px}.sale-products .product-info h3{font-size:10px;min-height:29px}.sale-products .product-price{font-size:18px}.sale-products .product-info p{font-size:9px;min-height:13px}.sale-products .card-head{margin:22px 0 17px}.sale-products .card-head h2{font:21px Quiche,Georgia}.order-panel{border-left:1px solid var(--line);padding:23px 21px;background:var(--paper);display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 78px);overflow:auto}.order-panel h2{font:23px Quiche,Georgia}.order-panel .segmented{margin:20px 0}.order-panel .segmented button{flex:1;padding:9px 5px}.cart-items{flex:1;min-height:120px}.cart-item{display:flex;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);align-items:flex-start}.cart-item>.product-photo{width:51px;height:60px;border-radius:6px}.cart-item-content{flex:1;min-width:0}.cart-item-content h3{font-size:10px}.cart-item-content p{font-size:9px;color:var(--muted);margin-top:5px;line-height:1.7}.cart-item-content .between{margin-top:9px;gap:5px}.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:5px;background:#fffdfa}.qty button{width:27px;height:26px;display:grid;place-items:center}.qty span{min-width:20px;text-align:center;font-size:11px}.qty .icon{width:12px}.cart-item-price{font-size:11px;color:var(--brown)}.remove-item{padding:2px;color:#b29681}.remove-item .icon{width:13px;height:13px}.cart-summary{padding:15px 0}.cart-summary>div{display:flex;justify-content:space-between;font-size:11px;margin:9px 0}.cart-summary .total{border-top:1px solid var(--line);padding-top:17px;margin-top:16px;font-size:14px}.cart-summary .total strong{font:27px Georgia;color:var(--brown)}.pay-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0 15px}.pay-choices button{border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;padding:12px 3px;font-size:9px;gap:5px}.pay-choices button.active{background:var(--brown);color:white;border-color:var(--brown)}.coupon{display:flex;gap:6px;margin-top:15px}.coupon input{min-width:0;font-size:10px}.commerce-bottom{font-size:8px;color:var(--muted);margin-top:14px;text-align:center}.tablet .commerce-content{grid-template-columns:130px 1fr}.tablet .order-panel{display:none}.tablet .sale-products .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tablet .product-card>.product-photo{height:200px}.floating-cart{position:fixed;right:30px;bottom:25px;z-index:15;box-shadow:0 7px 30px #63331930;padding:17px 25px!important}.commerce-top .scope-select{max-width:160px}
/* Kiosk */
.kiosk-stage{background:#e9e1d5;min-height:100vh;padding:25px;display:flex;justify-content:center}.kiosk{width:100%;max-width:720px;min-height:calc(100vh - 50px);background:var(--paper);border-radius:20px;overflow:hidden;position:relative;display:flex;flex-direction:column;box-shadow:0 15px 60px #3b23111a}.kiosk-header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:1px solid var(--line);min-height:91px}.kiosk-header .brand-logo{width:85px;height:56px}.kiosk-header .text-link{font-size:11px}.kiosk-header>.btn{padding:9px}.kiosk-home{flex:1;min-height:780px;position:relative;background:#3a2317;color:#fff6e5;display:flex;flex-direction:column;align-items:center;text-align:center;padding:38px}.kiosk-home:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#2d1b13 0%,#2d1b1300 60%),url('assets/video/poster_preparo_chocolate.jpg') center/cover}.kiosk-home>*{position:relative}.kiosk-home .brand-logo{width:135px;height:95px}.kiosk-home .eyebrow{color:#d1af87;margin-top:13px;font-size:8px}.kiosk-home h1{font-size:48px;margin-top:auto;max-width:460px;padding-top:280px}.kiosk-home p{font-size:13px;color:#d4c0ac;margin:19px 0 28px}.kiosk-home .btn{padding:20px 38px;background:#f8ead5;color:var(--brown);border-radius:40px;font-size:16px}.kiosk-home .story-foot{margin-top:40px;width:100%;font-size:8px}.kiosk-exit{position:absolute;top:22px;right:22px;color:#d7c2ab;z-index:5;font-size:10px}.kiosk-catalog{display:grid;grid-template-columns:100px 1fr;flex:1}.kiosk .category-rail{padding:14px 7px;gap:8px}.kiosk .category-btn{display:flex;flex-direction:column;gap:7px;padding:10px 4px;font-size:9px;text-align:center}.kiosk .category-btn .product-photo{width:43px;height:43px}.kiosk-products{padding:24px 20px 30px}.kiosk-products h1{font-size:31px}.kiosk-products>p{font-size:10px;color:var(--muted);margin:9px 0 23px}.kiosk .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.kiosk .product-card>.product-photo{height:175px}.kiosk .product-info h3{font-size:12px}.kiosk .product-info p{font-size:9px}.kiosk .product-info .btn{font-size:10px;padding:9px 11px}.cart-bottom{position:sticky;bottom:0;background:#fffdf9f5;border-top:1px solid var(--line);display:flex;align-items:center;gap:15px;padding:19px 25px;z-index:10;backdrop-filter:blur(12px)}.cart-bottom .btn{margin-left:auto;min-width:165px;padding:15px 22px}.cart-bottom strong{font:23px Georgia}.cart-bottom small{display:block;font-size:10px;margin-bottom:4px}.custom-content{padding:27px 30px;flex:1}.custom-content h1{font-size:31px}.custom-content>p{font-size:11px;color:var(--muted);margin:9px 0 28px}.stepper{display:flex;justify-content:space-between;position:relative;margin:28px 0 35px}.stepper:before{content:'';height:1px;background:var(--line);position:absolute;top:15px;left:12%;right:12%}.step{display:grid;justify-items:center;gap:8px;position:relative;width:25%;font-size:10px;color:var(--muted)}.step span{width:30px;height:30px;border:1px solid #d9c5af;border-radius:50%;display:grid;place-items:center;background:var(--paper);color:#97704b}.step.active span,.step.done span{background:var(--brown);color:white;border-color:var(--brown)}.step.active{color:var(--brown)}.custom-body{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}.custom-preview{position:relative;background:#f6eee5;border-radius:13px;overflow:hidden;aspect-ratio:.72;min-height:300px}.custom-preview>.product-photo{position:absolute;inset:0;width:100%;height:100%;transition:filter .4s}.custom-preview .preview-label{position:absolute;bottom:13px;left:0;right:0;text-align:center;font-size:8px;background:#fff9efcc;padding:8px}.topping-layer{position:absolute;left:25%;top:21%;width:50%;height:30%;pointer-events:none;opacity:.88;transition:.3s}.extra-layer{position:absolute;left:20%;top:15%;width:60%;height:40%;pointer-events:none;display:flex;flex-wrap:wrap;align-content:space-around;justify-content:space-around}.extra-layer span{font-size:22px;filter:drop-shadow(1px 3px 2px #2d190740)}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.option-grid.sizes{grid-template-columns:1fr}.custom-option{border:1px solid var(--line);border-radius:8px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;min-height:83px}.custom-option.active{border-color:var(--brown);background:#f5eadc;box-shadow:inset 0 0 0 1px var(--brown)}.custom-option .product-photo{width:50px;height:48px;border-radius:6px}.custom-option small{font-size:9px}.custom-choice h3{font-size:13px}.custom-total{background:#f5eee4;padding:13px;margin-top:22px;border-radius:7px;font-size:10px;line-height:1.8}.review{padding:30px;flex:1}.review h1{font-size:33px}.review>p{font-size:11px;color:var(--muted);margin:10px 0 22px}.review .cart-item{padding:22px 0}.review .cart-item>.product-photo{width:85px;height:105px}.review .cart-item-content h3{font-size:13px}.review .cart-item-content p{font-size:11px}.review .cart-item-price{font-size:15px}.review .qty button{width:35px;height:33px}.review .cart-item-content .between{margin-top:14px}.checkout{padding:30px;flex:1}.checkout h1{font-size:30px}.checkout h2{margin:25px 0 16px;font-size:16px}.receive-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.receive-option{border:1px solid var(--line);border-radius:9px;min-height:105px;display:grid;place-content:center;justify-items:center;gap:12px;font-size:12px}.receive-option.active{background:var(--brown);color:#fff5e5;border-color:var(--brown)}.receive-option .icon{width:30px;height:30px}.payment-options{display:grid;gap:10px}.payment-option{border:1px solid var(--line);border-radius:8px;padding:16px;display:flex;align-items:center;gap:16px;text-align:left}.payment-option .icon{color:var(--brown);width:26px;height:26px}.payment-option small{display:block;font-size:10px;margin-top:4px}.payment-option.active{border-color:var(--brown);background:#f8eee2;box-shadow:inset 0 0 0 1px var(--brown)}.payment-option.active:after{content:'✓';margin-left:auto;color:var(--brown)}.success{padding:55px 30px;text-align:center;display:flex;flex-direction:column;align-items:center;flex:1}.success-mark{width:85px;height:85px;border-radius:50%;background:#e8f3e9;color:var(--green);display:grid;place-items:center;margin-bottom:28px}.success-mark .icon{width:42px;height:42px;stroke-width:2.5}.success h1{font-size:34px;max-width:420px}.success p{font-size:12px;line-height:1.9;color:var(--muted);margin:20px 0}.order-number{background:#f5eee5;padding:20px 45px;border-radius:11px;margin:10px 0 25px}.order-number small{display:block;margin-bottom:7px}.order-number strong{font:38px Georgia;color:var(--brown)}.success .btn{max-width:340px;margin-bottom:11px;padding:15px 25px}.success-signature{font:27px Quiche,Georgia;color:#b28a62;margin-top:32px}.payment-simulation{text-align:center;padding:15px 10px}.payment-simulation h2{margin:14px 0}.payment-simulation p{font-size:11px;color:var(--muted);margin:12px 0 20px}.qr-demo{display:grid;grid-template-columns:repeat(21,1fr);width:160px;height:160px;padding:9px;background:white;margin:20px auto;border:1px solid var(--line)}.qr-demo i{background:#fff}.qr-demo i.on{background:var(--brown)}.spinner{width:46px;height:46px;border-radius:50%;border:3px solid #e9dece;border-top-color:var(--brown);animation:spin 1s linear infinite;margin:24px auto}.numeric-keyboard{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.numeric-keyboard button{padding:15px;border:1px solid var(--line);border-radius:6px;background:#faf6f0;font-size:18px}
/* Overlays */
.modal-overlay{position:fixed;inset:0;background:#21130970;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;animation:appear .15s}.modal{width:100%;max-width:590px;max-height:90vh;overflow:auto;background:var(--paper);border-radius:15px;box-shadow:0 20px 80px #0002;padding:28px}.modal.wide{max-width:850px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.modal-header h2{font:26px Quiche,Georgia}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.modal-copy{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:18px}.notification-item{padding:16px 0;border-bottom:1px solid var(--line);display:flex;gap:13px}.notification-item>.icon{color:var(--gold)}.notification-item p{font-size:11px;margin-bottom:6px}.notification-item small{font-size:9px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:var(--dark);color:#fff7ed;padding:13px 22px;border-radius:8px;font-size:11px;z-index:200;box-shadow:0 5px 20px #0002;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.search-results{display:grid;gap:8px}.search-result{padding:13px;background:#f7f0e6;border-radius:7px;text-align:left;display:flex;align-items:center;justify-content:space-between;font-size:12px}.no-scroll{overflow:hidden}.login-error{min-height:0}.demo-ribbon{font-size:8px;border:1px solid #d6c4ad;padding:3px 6px;border-radius:4px;color:#a08060;letter-spacing:1px}.alert-box{padding:14px 17px;background:#f6ecdc;color:#987041;border-radius:8px;font-size:11px;line-height:1.8;margin-bottom:20px}.inline-options{display:flex;gap:10px;flex-wrap:wrap}.inline-options label{font-size:11px;display:flex;gap:6px;align-items:center}.receipt{text-align:center;padding:18px;background:#fff;border:1px dashed #d5c4af;font:12px monospace;line-height:2}.receipt hr{border:0;border-top:1px dashed #d5c4af;margin:15px 0}.receipt .brand-logo{margin:0 auto 15px;width:95px}.loading-button{pointer-events:none;opacity:.7}@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1600px){.workspace{padding:35px 42px}.dashboard-bottom{grid-template-columns:1.25fr 1fr 1.1fr}.chart-wrap{height:250px}.chart-wrap svg{height:216px}.rank-row{padding:17px 0}.stat{padding:25px}.stat-value{font-size:32px}.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.sale-products .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.commerce-content{grid-template-columns:170px 1fr 420px}.sale-products .product-card>.product-photo{height:170px}}
@media(max-width:1200px){.shell{padding-left:200px}.sidebar{width:200px}.workspace{padding:25px 23px}.topbar{padding:0 23px;gap:12px}.topbar-right{gap:12px}.profile{padding-left:12px}.global-search{max-width:330px}.stats-grid{gap:12px}.stat{padding:17px 14px}.stat-value{font-size:24px}.dashboard-top{grid-template-columns:1.4fr 1fr}.dashboard-bottom{grid-template-columns:1fr 1fr}.dashboard-bottom .promo-card{grid-column:1/-1;min-height:165px}.promo-card:before{background-size:auto,auto 150%;background-repeat:no-repeat;background-color:#eadfcf}.promo-card h2{max-width:350px}.promo-card p{max-width:300px}.promo-card .btn{position:absolute;right:30px;bottom:30px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-content{grid-template-columns:120px 1fr 320px}.sale-products{padding:16px}.sale-products .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-btn{font-size:9px;padding:9px 4px;gap:7px}.commerce-meta{gap:12px}.login-story{min-height:850px}.login-panel{padding-left:9%;padding-right:9%}.cards-grid{grid-template-columns:repeat(2,1fr)}.donut-section{gap:12px}.kanban{gap:13px}}
@media(max-width:900px){.sidebar{width:185px}.shell{padding-left:185px}.nav-link{padding:10px;font-size:10px}.topbar{height:69px}.global-search input{font-size:9px}.key,.profile small,.topbar .profile .icon{display:none}.profile strong{font-size:9px}.scope-select{max-width:135px;font-size:9px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-top{grid-template-columns:1fr}.dashboard-bottom{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.page-heading h1{font-size:29px}.page-actions .btn{font-size:9px;padding:9px}.date-btn{display:none}.donut-section{flex-direction:column}.legend-list{width:100%}.split{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-stats{gap:10px}.mini-stats .card{padding:12px;gap:9px}.mini-stats strong{font-size:21px}.login{grid-template-columns:48% 52%}.login-story{padding:35px 9%}.login-story-top span{display:none}.login-copy h1{font-size:42px}.login-copy>p{font-size:12px}.story-benefits{flex-direction:column;gap:18px}.story-benefits>div{display:grid;grid-template-columns:25px 1fr;column-gap:12px}.story-benefits .icon{grid-row:span 2}.story-benefits small{font-size:9px}.story-foot{font-size:7px;gap:15px}.commerce-content{grid-template-columns:95px 1fr 290px}.commerce-meta .optional{display:none}.sale-products .product-card>.product-photo{height:120px}.order-panel{padding:18px 15px}.category-btn{flex-direction:column;gap:6px;text-align:center}.tablet .sale-products .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tablet .product-card>.product-photo{height:160px}.kanban{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr}.settings-nav{flex-direction:row;overflow:auto}.settings-nav button{white-space:nowrap}.workspace-footer span:last-child{display:none}.activity-bar{flex-wrap:wrap}}
@media(max-width:650px){.login{display:block}.login-story{display:none}.login-panel{min-height:100vh;padding:40px 27px 24px}.login-box{margin:30px auto}.login-language{font-size:9px;right:25px;top:20px}.login-box>.brand-logo{width:115px;height:80px}.login-heading{margin:23px 0}.demo-grid{gap:9px}.demo-role{padding:13px 11px}.demo-role strong{font-size:11px}.demo-role small{font-size:9px}.login-footer{margin-top:auto}.shell{padding-left:0}.sidebar{transform:translateX(-100%);width:235px;transition:.2s}.shell.menu-open .sidebar{transform:translateX(0)}.shell.menu-open:after{content:'';position:fixed;inset:0;background:#0005;z-index:25}.mobile-menu{display:flex;flex-shrink:0}.topbar{padding:0 16px;height:65px;gap:10px}.global-search{flex:0;margin-left:0}.global-search input,.global-search .key{display:none}.topbar-right{gap:12px}.topbar .scope-select{max-width:135px;font-size:9px;padding:8px}.profile{padding-left:10px}.profile>div:not(.avatar){display:none}.avatar{width:29px;height:29px;font-size:12px}.notification .icon{width:18px}.workspace{padding:23px 16px 18px}.page-heading{gap:10px;margin-bottom:22px}.page-heading h1{font-size:28px}.page-heading p{font-size:10px;max-width:260px;line-height:1.7}.page-heading .eyebrow{font-size:8px}.page-actions .btn{padding:9px;font-size:9px}.page-actions .btn .icon{width:14px}.stats-grid{gap:10px;margin-bottom:16px}.stat{padding:15px 12px}.stat-top{font-size:9px;gap:5px;margin-bottom:14px}.stat-top .icon{width:16px}.stat-value{font-size:24px}.stat-bottom{font-size:8px;gap:4px;flex-wrap:wrap;margin-top:11px}.stat-bottom .up{font-size:8px}.dashboard-top{gap:16px;margin-bottom:16px}.card{padding:18px}.card-head{gap:8px;margin-bottom:17px}.card-head h2{font-size:12px}.card-head .text-link{font-size:9px}.segmented button{font-size:8px;padding:5px 8px}.chart-total strong{font-size:24px}.chart-total .badge{font-size:8px}.chart-wrap{padding-left:37px;height:195px}.chart-wrap svg{height:165px}.chart-labels{font-size:7px}.chart-axis{font-size:7px}.dashboard-bottom{grid-template-columns:1fr;gap:16px}.dashboard-bottom .promo-card{grid-column:auto;min-height:215px}.donut-section{flex-direction:row;gap:25px}.donut{width:115px;height:115px}.donut-center{width:83px;height:83px}.legend-list{gap:14px}.promo-card h2{max-width:210px}.promo-card p{max-width:170px}.promo-card .btn{position:static}.activity-bar{gap:14px;padding:16px}.activity-bar>div{font-size:9px}.workspace-footer{font-size:7px}.toolbar{gap:8px}.toolbar select{min-width:100px;flex:1;font-size:10px}.toolbar .searchbox{flex-basis:100%}.table-card{padding:0}.data-table td{padding:14px}.data-table th{padding:13px}.mini-stats{grid-template-columns:1fr 1fr}.mini-stats .card:last-child{grid-column:1/-1}.mini-stats .card{padding:15px}.cards-grid{grid-template-columns:1fr;gap:14px}.product-grid{gap:11px}.product-card>.product-photo{height:145px}.product-info{padding:11px}.product-info h3{font-size:11px}.product-price{font-size:18px}.product-info .between{gap:5px}.detail-hero{padding:23px}.detail-hero h1{font-size:24px}.detail-hero .between{align-items:flex-start}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.modal{padding:22px;max-height:92vh}.modal-header h2{font-size:24px}.modal-overlay{padding:13px}.settings-nav button{padding:10px}.commerce-top{height:70px;padding:9px 14px;gap:10px}.commerce-top .brand-logo{width:66px;height:45px}.commerce-title{font-size:20px;padding-left:12px}.commerce-meta>span{display:none}.commerce-meta{gap:8px}.commerce-top .scope-select{max-width:95px;font-size:8px}.commerce-content,.tablet .commerce-content{grid-template-columns:78px 1fr;min-height:calc(100vh - 70px)}.category-rail{padding:12px 5px;gap:5px}.category-btn{font-size:8px;padding:9px 3px}.category-btn .product-photo{width:30px;height:30px}.sale-products{padding:15px 11px}.sale-products .product-grid,.tablet .sale-products .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sale-products .product-card>.product-photo,.tablet .product-card>.product-photo{height:105px}.sale-products .product-info{padding:8px}.sale-products .product-info h3{font-size:9px}.sale-products .product-info p{display:none}.sale-products .product-price{font-size:15px}.sale-products .product-info .btn{padding:6px;font-size:9px}.sale-products .product-info .btn .icon{width:13px}.sale-products .card-head h2{font-size:18px}.sale-products .card-head .text-link{display:none}.sale-products .searchbox input{font-size:9px}.order-panel{display:none}.floating-cart{display:flex;right:16px;bottom:16px;font-size:11px;padding:14px 20px!important}.kiosk-stage{padding:0;background:var(--paper)}.kiosk{border-radius:0;min-height:100vh;box-shadow:none}.kiosk-header{padding:13px 17px;min-height:79px}.kiosk-header .brand-logo{width:72px;height:49px}.kiosk-header .text-link{font-size:9px}.kiosk-home{min-height:100vh;padding:35px 25px}.kiosk-home h1{font-size:40px;padding-top:230px}.kiosk-home p{font-size:11px}.kiosk-home .btn{font-size:14px;padding:19px 30px}.kiosk-home .story-foot{font-size:7px}.kiosk-catalog{grid-template-columns:77px 1fr}.kiosk .category-rail{padding:12px 4px}.kiosk .category-btn{font-size:8px}.kiosk .category-btn .product-photo{width:37px;height:37px}.kiosk-products{padding:22px 12px}.kiosk-products h1{font-size:28px}.kiosk-products>p{font-size:9px;line-height:1.7}.kiosk .product-grid{gap:10px}.kiosk .product-card>.product-photo{height:120px}.kiosk .product-info{padding:10px 8px}.kiosk .product-info h3{font-size:10px}.kiosk .product-info p{font-size:8px;line-height:1.6}.kiosk .product-info .between{flex-wrap:wrap;gap:7px}.kiosk .product-info .btn{padding:7px 8px;font-size:9px;width:100%}.kiosk .product-price{font-size:18px}.cart-bottom{padding:15px 17px;gap:11px}.cart-bottom .btn{min-width:130px;font-size:11px;padding:15px}.cart-bottom strong{font-size:20px}.cart-bottom small{font-size:9px}.cart-bottom>.icon{width:20px}.custom-content{padding:24px 18px}.custom-content h1{font-size:29px}.custom-content>p{font-size:10px}.custom-body{gap:14px;grid-template-columns:.9fr 1fr}.custom-preview{min-height:300px}.custom-choice h3{font-size:11px}.option-grid{gap:7px;margin-top:13px}.custom-option{font-size:9px;min-height:77px;padding:9px 5px}.custom-option .product-photo{width:40px;height:40px}.custom-option small{font-size:8px}.custom-total{font-size:9px;padding:10px}.step{font-size:9px}.review,.checkout{padding:25px 19px}.review h1,.checkout h1{font-size:29px}.review .cart-item>.product-photo{width:66px;height:85px}.review .cart-item-content h3{font-size:11px}.review .cart-item-content p{font-size:9px}.review .cart-item-price{font-size:13px}.success{padding:45px 25px}.success h1{font-size:32px}.receive-option{min-height:98px;font-size:11px}.payment-option{padding:15px;font-size:12px}.kiosk-exit{top:15px;right:15px}.production-clock{font-size:18px}.map-panel{gap:14px}.map-panel svg{height:200px}.table-footer{font-size:9px;gap:8px}}
@media(min-width:651px){.commerce:not(.tablet) .floating-cart{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.page-actions,.toolbar,.workspace-footer,.modal-footer,.modal-header button{display:none!important}.shell{padding:0}.modal-overlay{position:static;background:white}.modal{box-shadow:none}.no-scroll{overflow:auto}body:has(.modal-overlay) #app{display:none}}

/* ==========================================================================
   LUCKAU SOFT · PATCH v2 — responsividade, totem 9:16, tela cheia e PWA
   ========================================================================== */

/* --- 1. Base: nada pode vazar horizontalmente ---------------------------- */
html,body{max-width:100%;overflow-x:clip}
.row,.between{min-width:0}
.row>*,.between>*{min-width:0}
.btn{max-width:100%}
.stat-value{white-space:normal;overflow-wrap:anywhere}
.stat-bottom,.stat-top{min-width:0}
.stat-top span{overflow-wrap:anywhere}

/* --- 2. Sidebar: menu inteiro acessível em telas baixas ------------------ */
.sidebar nav{min-height:0;overscroll-behavior:contain;padding-right:2px;
  -webkit-mask-image:linear-gradient(#000 0,#000 calc(100% - 18px),transparent 100%);
  mask-image:linear-gradient(#000 0,#000 calc(100% - 18px),transparent 100%)}
.sidebar nav::-webkit-scrollbar{width:5px}
.sidebar nav::-webkit-scrollbar-thumb{background:#6b4831;border-radius:5px}
.sidebar-bottom .label{overflow-wrap:anywhere}
@media(max-height:860px){
  .sidebar{padding:14px 12px 12px}
  .sidebar-brand{height:64px;padding-bottom:12px;margin-bottom:8px}
  .sidebar-brand .brand-logo{height:50px;width:82px}
  .nav-section{padding:10px 15px 5px;font-size:9px}
  .nav-link{padding:9px 14px;margin:1px 0}
  .sidebar-bottom{padding:10px 10px 0;margin-top:6px}
  .sidebar-bottom .label{font-size:10px;line-height:1.5}
}
@media(max-height:720px){
  .sidebar-brand{height:52px}
  .sidebar-brand .brand-logo{height:40px;width:66px}
  .sidebar-bottom .label,.sidebar-bottom small{display:none}
}

/* --- 3. Topbar / busca: sem texto espremido ------------------------------ */
.topbar{gap:16px}
.global-search input{font-size:12px}
.global-search input::placeholder{color:#b3a598}
.scope-select{font-size:11px}
.profile strong{font-size:11px}
.profile small{font-size:10px}
.nav-section{letter-spacing:1.4px}

/* --- 4. PDV / Tablet: cupom e painel do pedido sem corte ----------------- */
.order-panel{min-width:0}
.coupon{flex-wrap:nowrap;align-items:stretch}
.coupon input{flex:1 1 auto;min-width:0;width:100%}
.coupon .btn{flex:0 0 auto;white-space:nowrap;padding:10px 14px}
.cart-summary>div{gap:12px}
.cart-summary>div span,.cart-summary>div strong{min-width:0;overflow-wrap:anywhere}
.pay-choices button{font-size:10px;padding:12px 4px;min-width:0}
.pay-choices button span,.pay-choices button small{overflow-wrap:anywhere;text-align:center}
.commerce-bottom{font-size:10px;line-height:1.6}
.commerce-title{white-space:nowrap}
.commerce-meta{flex-wrap:wrap;justify-content:flex-end;row-gap:8px}
.commerce-meta>*{min-width:0}
.category-btn{min-width:0;text-align:left}
.category-btn span,.category-btn{overflow-wrap:anywhere;hyphens:auto}
.sale-products .product-info h3{overflow-wrap:anywhere}
.sale-products .product-info .between{gap:10px;flex-wrap:wrap}
.sale-products .product-info .btn{white-space:nowrap}

/* O contexto do PDV acompanha o escopo real da rede e permanece legível. */
.commerce-top .scope-select{width:auto;min-width:150px;max-width:210px;padding:9px 34px 9px 12px}

/* Painel do pedido: ações não espremem o cupom e a lista usa o espaço disponível. */
.order-panel>.between:first-child{flex:0 0 auto}
.order-panel>.btn[data-action="customer"]{width:100%;justify-content:center;flex:0 0 auto}
.order-panel .coupon{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
.order-panel .coupon .input{grid-column:1/-1}
.order-panel .coupon .btn{min-width:0}
.order-panel .coupon .btn:last-child{justify-self:stretch}
@media(max-width:1440px){
  .order-panel{padding-inline:16px}
  .order-panel .coupon{grid-template-columns:1fr 1fr}
  .order-panel .coupon .btn{width:100%}
}
@media(max-height:720px) and (min-width:821px){
  .order-panel{padding-block:14px}
  .order-panel h2{font-size:20px}
  .order-panel .segmented{margin:10px 0}
  .order-panel .cart-items{min-height:92px}
  .order-panel .empty{padding:18px 8px}
  .order-panel .empty .icon{width:27px;height:27px;margin-bottom:8px}
  .order-panel .empty p{margin:6px 0 0}
  .order-panel .coupon{margin-top:9px}
  .order-panel .cart-summary{padding:8px 0}
  .order-panel .cart-summary>div{margin:5px 0}
  .order-panel .cart-summary .total{padding-top:9px;margin-top:8px}
  .order-panel .cart-summary .total strong{font-size:22px}
  .order-panel .pay-choices{margin:5px 0 9px}
  .order-panel .pay-choices button{padding:8px 2px}
  .order-panel .commerce-bottom{margin-top:7px}
}

/* --- 5. Tablet real (1024/768) e telas menores -------------------------- */
@media(max-width:1100px){
  .tablet .commerce-content{grid-template-columns:118px 1fr}
  .tablet .sale-products .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* === TABLET / PDV — categorias SEMPRE na coluna lateral esquerda =========
   Largura da trilha e nº de colunas se adaptam à largura útil e à orientação
   (deitado ou em pé), sem nunca virar barra horizontal. */
.commerce-content{grid-template-columns:var(--rail) 1fr var(--panel)}
.tablet .commerce-content{grid-template-columns:var(--rail) 1fr}
.commerce{--rail:138px;--cols:4;--photo:190px;--panel:350px}
.sale-products .product-grid,
.tablet .sale-products .product-grid{grid-template-columns:repeat(var(--cols),minmax(0,1fr))}
.sale-products .product-card>.product-photo,
.tablet .product-card>.product-photo{height:var(--photo)}
.category-rail{flex-direction:column;overflow-y:auto;overflow-x:hidden;
  border-right:1px solid var(--line);border-bottom:0;scrollbar-width:none}
.category-rail::-webkit-scrollbar{width:0}
.category-btn{flex:0 0 auto;width:100%}

/* Deitado: mais colunas, foto mais baixa (a altura é o recurso escasso) */
@media(orientation:landscape){
  .commerce{--photo:170px}
}
@media(orientation:landscape) and (max-height:820px){
  .commerce{--photo:132px}
  .sale-products .product-info{padding:12px 12px 14px}
  .sale-products .product-price{font-size:17px;margin-top:8px}
  .sale-products .product-info .between{gap:8px}
}
@media(orientation:landscape) and (max-height:700px){
  .commerce{--photo:112px}
  .sale-products .product-info p{display:none}
}
/* Em pé: menos colunas, foto mais alta (a largura é o recurso escasso) */
@media(orientation:portrait){
  .commerce{--photo:210px}
}

@media(max-width:1440px){.commerce{--panel:330px}}
@media(max-width:1280px){.commerce{--rail:130px;--cols:4;--panel:310px}}
@media(max-width:1180px){.commerce{--cols:3;--panel:300px}}
@media(max-width:1080px){.commerce{--rail:122px;--cols:4}}
@media(max-width:900px){.commerce{--rail:112px;--cols:3}}
@media(max-width:760px){.commerce{--rail:104px;--cols:3}}
@media(max-width:640px){.commerce{--rail:96px;--cols:2}}
@media(max-width:460px){.commerce{--rail:84px;--cols:1;--photo:190px}}
/* Colunas do PDV: o painel do pedido ocupa espaço, então cabem menos cards */
.commerce:not(.tablet){--cols:3}
@media(min-width:1500px){.commerce:not(.tablet){--cols:4}}
@media(max-width:1080px){.commerce:not(.tablet){--cols:2}}
@media(max-width:820px){
  .commerce:not(.tablet) .commerce-content{grid-template-columns:var(--rail) 1fr}
  .commerce:not(.tablet) .order-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}
}

@media(max-width:900px){
  .commerce-top{padding:12px 16px;gap:12px}
  .commerce-meta{gap:12px;flex-wrap:nowrap}
  .commerce-meta .optional{display:none}
  .sale-products{padding:16px}
  .category-rail{padding:14px 8px;gap:6px}
  .category-btn{font-size:10.5px;gap:8px;padding:8px 7px;flex-direction:column;
    align-items:center;text-align:center}
  .category-btn .product-photo{width:42px;height:42px}
}
@media(max-width:600px){
  .commerce-top .commerce-title{font-size:16px}
  .commerce-top .brand-logo{width:74px;height:46px}
  .commerce-top .demo-ribbon{display:none}
  .sale-products .product-info .between{flex-direction:column;align-items:stretch;gap:8px}
  .sale-products .product-info .btn{width:100%;justify-content:center}
  .category-btn{font-size:9.5px;padding:7px 4px}
  .category-btn .product-photo{width:38px;height:38px}
}
/* O carrinho flutuante nunca cobre o último card */
.sale-products{padding-bottom:104px}
@media(max-width:600px){
  .floating-cart{right:12px;left:12px;bottom:12px;justify-content:center;padding:15px 18px!important}
  .sale-products{padding-bottom:96px}
}

/* --- 6. Tabelas: rolagem horizontal explícita, sem corte silencioso ------ */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.table-scroll::-webkit-scrollbar{height:7px}
.table-scroll::-webkit-scrollbar-thumb{background:#d8c9b9;border-radius:7px}
.data-table .main-cell small{white-space:normal}

/* --- 7. Login: rodapé nunca cortado -------------------------------------- */
.login-story{overflow:auto}
.login-story .story-foot{flex-wrap:wrap;row-gap:8px}
@media(max-height:820px){
  .login-copy h1{font-size:40px}
  .login-story{padding-block:34px}
}

/* ==========================================================================
   8. TOTEM — palco fixo 1080x1920 com escala automática (9:16 em qualquer tela)
   ========================================================================== */
body.kiosk-mode{overflow:hidden}
body.kiosk-mode #app{height:100dvh}
/* O modal ocupa uma camada própria acima do palco fixo e escalado do totem. */
body.kiosk-mode #modal-root{position:fixed;inset:0;z-index:10000;pointer-events:none}
body.kiosk-mode #modal-root .modal-overlay{position:absolute;pointer-events:auto;backdrop-filter:none;animation:none}

.kiosk-stage{
  position:fixed;inset:0;
  display:block;
  padding:0;margin:0;min-height:100dvh;
  overflow:hidden;
  background:
    radial-gradient(120% 80% at 50% 0%,#f3ece1 0%,#e2d7c8 55%,#d3c5b3 100%);
}
.kiosk-stage:before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(60% 40% at 50% 105%,#00000018,transparent 70%)
}
.kiosk{
  width:1080px;height:1920px;
  max-width:none;min-height:0;flex:none;
  border-radius:38px;
  position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%) scale(var(--kiosk-scale,1));
  transform-origin:center center;
  box-shadow:0 40px 120px #2f1c0f38,0 0 0 12px #ffffff70;
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--paper)
}
/* Em telas verticais reais (totem/celular) o palco é o próprio dispositivo */
@media(max-aspect-ratio:10/16){
  .kiosk{border-radius:0;box-shadow:none}
  .kiosk-stage{background:var(--paper)}
}

/* Cabeçalho do totem */
.kiosk-header{padding:30px 44px;min-height:150px;gap:20px}
.kiosk-header .brand-logo{width:158px;height:104px}
.kiosk-header .text-link{font-size:22px;gap:10px}
.kiosk-header .text-link .icon{width:24px;height:24px}
.kiosk-header>.btn{padding:16px 22px;font-size:20px}

/* Home */
.kiosk-home{min-height:0;flex:1;padding:70px 64px 56px}
.kiosk-home:before{
  background:linear-gradient(180deg,#2d1b13cc 0%,#2d1b1355 26%,#2d1b1300 46%,#2d1b13d9 78%,#241209 100%),
  url('assets/video/poster_preparo_chocolate.jpg') center/cover
}
.kiosk-home .brand-logo{width:270px;height:186px}
.kiosk-home .eyebrow{font-size:19px;letter-spacing:5px;margin-top:22px;color:#e6c9a4;
  text-shadow:0 2px 14px #1c0e07aa}
.kiosk-home h1{font-size:88px;line-height:1.06;max-width:840px;padding-top:0;margin-top:auto;
  text-shadow:0 6px 30px #1c0e0780}
.kiosk-home p{font-size:29px;margin:26px 0 46px;color:#e8d6c4;max-width:720px;
  text-shadow:0 2px 14px #1c0e0788}
.kiosk-home .btn{padding:36px 68px;font-size:34px;border-radius:70px;gap:18px;
  box-shadow:0 18px 50px #00000045;position:relative;isolation:isolate}
.kiosk-home .btn:after{content:'';position:absolute;inset:-6px;border-radius:80px;
  border:3px solid #f8ead5;opacity:.45;z-index:-1;pointer-events:none;
  animation:kioskPulse 2.8s ease-out infinite}
.kiosk-home .btn .icon{width:34px;height:34px}
.kiosk-home .story-foot{margin-top:54px;font-size:17px;letter-spacing:2.4px;color:#e0c8ad}
.kiosk-exit{top:34px;right:34px;font-size:18px}
@keyframes kioskPulse{0%{transform:scale(1);opacity:.5}70%{transform:scale(1.09);opacity:0}100%{transform:scale(1.09);opacity:0}}

/* Catálogo */
.kiosk-catalog{grid-template-columns:224px 1fr;min-height:0;overflow:hidden}
.kiosk .category-rail{padding:26px 12px;gap:12px;overflow-y:auto;scrollbar-width:none;
  border-right:1px solid var(--line)}
.kiosk .category-rail::-webkit-scrollbar{display:none}
.kiosk .category-btn{font-size:17px;padding:18px 8px;gap:12px;border-radius:16px;line-height:1.35}
.kiosk .category-btn .product-photo{width:82px;height:82px;border-radius:14px}
.kiosk-products{padding:44px 42px 52px;overflow-y:auto;min-height:0;scrollbar-width:thin}
.kiosk-products .eyebrow{font-size:17px;letter-spacing:4px}
.kiosk-products h1{font-size:62px;line-height:1.08}
.kiosk-products>p{font-size:23px;margin:16px 0 34px}
.kiosk .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.kiosk .product-card{border-radius:22px}
.kiosk .product-card>.product-photo{height:330px}
.kiosk .product-info{padding:24px 22px 26px}
.kiosk .product-info h3{font-size:26px;line-height:1.25}
.kiosk .product-info p{font-size:18px;margin-top:8px;line-height:1.5}
.kiosk .product-price{font-size:34px;margin-top:14px}
.kiosk .product-info .between{margin-top:16px;gap:12px}
.kiosk .product-info .btn{font-size:21px;padding:18px 24px;border-radius:14px}
.kiosk .product-info .btn .icon{width:22px;height:22px}

/* Barra inferior do totem */
.kiosk .cart-bottom{padding:30px 44px;gap:24px;min-height:150px}
.kiosk .cart-bottom>.icon{width:44px;height:44px;color:var(--brown)}
.kiosk .cart-bottom small{font-size:19px;margin-bottom:6px}
.kiosk .cart-bottom strong{font:44px Georgia;color:var(--brown)}
.kiosk .cart-bottom .btn{min-width:340px;padding:28px 40px;font-size:26px;border-radius:18px;gap:14px}
.kiosk .cart-bottom .btn .icon{width:26px;height:26px}
.kiosk .cart-bottom .icon-btn{width:74px;height:74px;border-radius:20px}
.kiosk .cart-bottom .icon-btn .icon{width:30px;height:30px}

/* ==========================================================================
   9. PERSONALIZAÇÃO — efeitos de tamanho, base, cobertura e extras
   ========================================================================== */
.custom-content{padding:40px 42px 46px;overflow-y:auto;min-height:0;display:flex;flex-direction:column}
.custom-content h1{font-size:60px}
.custom-content>p{font-size:22px;margin:14px 0 30px}

.stepper{margin:34px 0 42px}
.stepper:before{top:29px;height:2px}
.step{font-size:19px;gap:12px}
.step span{width:58px;height:58px;font-size:22px;border-width:2px;transition:.28s cubic-bezier(.34,1.4,.5,1)}
.step.active span{transform:scale(1.1);box-shadow:0 0 0 8px #6333190f}
.step.active{font-weight:600}

.custom-body{grid-template-columns:1fr 1fr;gap:34px;flex:1;min-height:0;align-items:stretch}
.custom-choice{display:flex;flex-direction:column;min-height:0}
.custom-choice .option-grid{align-content:start}
.custom-total{margin-top:auto}
.custom-choice>.btn.wide{margin-top:18px}
.custom-preview{min-height:560px;border-radius:26px;aspect-ratio:auto;align-self:stretch}
.custom-preview>.product-photo{
  transition:transform .45s cubic-bezier(.34,1.3,.5,1),filter .4s ease}
.custom-preview[data-size="Pequeno"]>.product-photo{transform:scale(.68)}
.custom-preview[data-size="Médio"]>.product-photo{transform:scale(.85)}
.custom-preview[data-size="Grande"]>.product-photo{transform:scale(1.04)}
.custom-preview .preview-label{font-size:17px;padding:14px;bottom:20px;left:20px;right:20px;
  border-radius:12px;letter-spacing:2px;background:#fff9efe6;backdrop-filter:blur(6px)}
.custom-preview .size-tag{
  position:absolute;top:20px;left:20px;z-index:4;
  background:var(--brown);color:#fff3e2;border-radius:999px;
  padding:10px 20px;font-size:18px;letter-spacing:1px;
  box-shadow:0 8px 22px #63331940;animation:popIn .35s cubic-bezier(.34,1.5,.5,1)}
@keyframes popIn{from{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}
.topping-layer{transition:opacity .45s ease,transform .45s ease;animation:fadeLayer .45s ease}
@keyframes fadeLayer{from{opacity:0;transform:translateY(-12px)}to{opacity:.88;transform:none}}
.extra-layer span{font-size:40px;animation:dropIn .4s cubic-bezier(.34,1.5,.5,1)}
@keyframes dropIn{from{transform:translateY(-18px) scale(.5);opacity:0}to{transform:none;opacity:1}}

.custom-choice h3{font-size:28px;margin-bottom:6px}
.option-grid{grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}
.custom-option{
  border-width:2px;border-radius:18px;padding:20px 14px;gap:12px;font-size:20px;min-height:150px;
  transition:transform .22s cubic-bezier(.34,1.4,.5,1),border-color .2s,background .2s,box-shadow .22s;
  position:relative;overflow:hidden}
.custom-option:hover{transform:translateY(-3px);border-color:#d3b18d}
.custom-option:active{transform:scale(.97)}
.custom-option .product-photo{width:96px;height:92px;border-radius:14px;
  transition:transform .3s cubic-bezier(.34,1.4,.5,1)}
.custom-option small{font-size:17px;color:var(--muted)}
.custom-option.active{background:#f7ecdd;box-shadow:inset 0 0 0 3px var(--brown),0 10px 26px #63331921}
.custom-option.active .product-photo{transform:scale(1.08)}
.custom-option.active:after{
  content:'✓';position:absolute;top:12px;right:14px;
  width:34px;height:34px;border-radius:50%;background:var(--brown);color:#fff;
  display:grid;place-items:center;font-size:19px;animation:popIn .3s cubic-bezier(.34,1.5,.5,1)}

/* Tamanhos: 3 colunas com escala real Pequeno < Médio < Grande */
.option-grid.sizes{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:18px}
.option-grid.sizes .custom-option{min-height:0;padding:22px 12px 20px;justify-content:flex-end}
.option-grid.sizes .custom-option[data-custom="Pequeno"] .product-photo{width:74px;height:74px}
.option-grid.sizes .custom-option[data-custom="Médio"] .product-photo{width:100px;height:100px}
.option-grid.sizes .custom-option[data-custom="Grande"] .product-photo{width:126px;height:126px}
.option-grid.sizes .custom-option[data-custom="Pequeno"]{padding-top:52px}
.option-grid.sizes .custom-option[data-custom="Médio"]{padding-top:36px}
.option-grid.sizes .size-name{font-size:22px;font-weight:600}
.option-grid.sizes .custom-option small{font-size:19px;color:var(--brown)}
.option-grid.sizes .custom-option.active{transform:translateY(-4px)}

/* Extras com stepper */
.custom-option.extra{flex-direction:row;align-items:center;text-align:left;min-height:112px;
  gap:16px;padding:16px 18px}
.custom-option.extra .product-photo{width:74px;height:74px;flex:none}
.custom-option.extra .extra-info{flex:1;min-width:0;display:grid;gap:4px}
.custom-option.extra .extra-info strong{font-size:21px;overflow-wrap:anywhere}
.custom-option.extra .extra-qty{
  display:flex;align-items:center;gap:12px;flex:none;
  background:#fffdfa;border:2px solid var(--line);border-radius:14px;padding:6px}
.custom-option.extra .extra-qty span{min-width:34px;text-align:center;font-size:22px;font-weight:600}
.custom-option.extra .extra-qty .icon{width:22px;height:22px}
.custom-option.extra.active:after{display:none}
.custom-option.extra.active{box-shadow:inset 0 0 0 3px var(--brown)}

.custom-total{font-size:21px;padding:24px;border-radius:16px;margin-top:30px;line-height:1.9}
.custom-total .between strong{font-size:28px}
.custom-total .between strong:last-child{font-family:Georgia;color:var(--brown);font-size:36px}

/* ==========================================================================
   10. REVISÃO / EDIÇÃO DE ITENS — visual novo
   ========================================================================== */
.cart-item{
  gap:14px;padding:16px;border-bottom:0;margin-bottom:10px;
  border:1px solid var(--line);border-radius:16px;background:var(--paper);
  transition:border-color .2s,box-shadow .2s,transform .2s}
.cart-item:hover{border-color:#dcc7ad;box-shadow:0 8px 22px #63331912}
.cart-item>.product-photo{width:70px;height:78px;border-radius:12px;flex:none}
.cart-item-content h3{font-size:14px;line-height:1.35}
.cart-item-content p{font-size:11px;line-height:1.65}
.cart-item-price{font-size:15px;font-weight:600}
.cart-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cart-actions .btn.small{padding:7px 12px;font-size:10px;border-radius:9px}
.cart-actions .btn.small .icon{width:13px;height:13px}
.qty{border-radius:10px;overflow:hidden}
.qty button{width:32px;height:32px;transition:background .16s}
.qty button:hover{background:#f4e9dc}
.qty button:active{background:#e8d7c4}
.remove-item{border-radius:9px;padding:7px;transition:.16s}
.remove-item:hover{background:#f9e9e6;color:var(--red)}
.item-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.item-chip{background:#f6efe6;border:1px solid var(--line);border-radius:999px;
  padding:4px 10px;font-size:10px;color:#7a5a41;white-space:nowrap}
.item-chip.b{background:#f0e2d1;color:#633319}

/* Revisão dentro do totem */
.review{padding:44px 42px 40px;overflow-y:auto;min-height:0}
.review h1{font-size:60px}
.review .eyebrow{font-size:17px;letter-spacing:4px}
.review>p{font-size:22px;margin:14px 0 32px}
.review .cart-item{padding:26px;border-radius:24px;gap:24px;margin-bottom:18px;border-width:2px}
.review .cart-item>.product-photo{width:150px;height:170px;border-radius:18px}
.review .cart-item-content h3{font-size:30px}
.review .cart-item-content p{font-size:19px;margin-top:10px}
.review .item-chip{font-size:17px;padding:8px 16px;border-radius:999px}
.review .cart-item-price{font-size:32px;font-family:Georgia}
.review .cart-actions .btn.small{padding:14px 22px;font-size:19px;border-radius:14px}
.review .cart-actions .btn.small .icon{width:20px;height:20px}
.review .qty button{width:56px;height:56px}
.review .qty span{font-size:24px;min-width:44px}
.review .qty .icon{width:22px;height:22px}
.review .remove-item{padding:14px}
.review .remove-item .icon{width:24px;height:24px}
.review .btn.wide{padding:26px;font-size:23px;border-radius:18px}
.review .cart-summary>div{font-size:23px;margin:16px 0}
.review .cart-summary .total{font-size:28px;padding-top:26px;margin-top:24px}
.review .cart-summary .total strong{font-size:52px}

/* ==========================================================================
   11. CHECKOUT / PAGAMENTO / SUCESSO no totem
   ========================================================================== */
.checkout{padding:44px 42px;overflow-y:auto;min-height:0}
.checkout .eyebrow{font-size:17px;letter-spacing:4px}
.checkout h1{font-size:60px}
.checkout h2{font-size:30px;margin:32px 0 18px}
.checkout .between small{font-size:19px}
.receive-options{gap:22px}
.receive-option{padding:44px 20px;border-radius:24px;font-size:28px;gap:18px;border-width:2px;
  transition:transform .2s cubic-bezier(.34,1.4,.5,1),box-shadow .2s,background .2s}
.receive-option:hover{transform:translateY(-3px)}
.receive-option .icon{width:66px;height:66px}
.receive-option.active{box-shadow:inset 0 0 0 3px var(--brown),0 12px 30px #63331921}
.payment-options{gap:18px}
.payment-option{padding:28px 24px;border-radius:20px;font-size:26px;gap:20px;border-width:2px}
.payment-option .icon{width:48px;height:48px}
.payment-option small{font-size:18px;margin-top:6px}
.payment-option.active{box-shadow:inset 0 0 0 3px var(--brown)}
.payment-option.active:after{font-size:26px;right:26px}
.checkout .demo-note{font-size:18px}
.checkout .btn{font-size:22px;padding:20px 28px;border-radius:14px}

.success{padding:60px 48px;overflow-y:auto;min-height:0}
.success-mark{width:190px;height:190px}
.success-mark .icon{width:96px;height:96px}
.success h1{font-size:62px;line-height:1.12}
.success p{font-size:24px;line-height:1.7}
.order-number{padding:30px;border-radius:22px;margin:34px 0}
.order-number small{font-size:19px}
.order-number strong{font-size:66px}
.success .btn{padding:26px 34px;font-size:24px;border-radius:18px;margin-top:14px}
.success .btn .icon{width:26px;height:26px}
.success-signature{font-size:24px;margin-top:34px}

/* Teclado numérico maior no totem */
.kiosk .numeric-keyboard button{padding:22px;font-size:26px;border-radius:14px}

/* ==========================================================================
   12. BOTÃO DE TELA CHEIA — some quando já está em tela cheia
   ========================================================================== */
.fs-btn{
  position:fixed;right:18px;top:18px;z-index:60;
  width:46px;height:46px;border-radius:14px;
  display:grid;place-items:center;
  background:#fffdfaee;border:1px solid var(--line);color:var(--brown);
  box-shadow:0 8px 26px #3b241220;backdrop-filter:blur(10px);
  transition:transform .18s,background .18s,opacity .25s}
.fs-btn:hover{transform:translateY(-2px);background:#fff}
.fs-btn .icon{width:21px;height:21px}
.fs-btn .fs-label{display:none}
.kiosk-stage .fs-btn{right:22px;top:22px}
body.is-fullscreen .fs-btn,
body.is-standalone .fs-btn{display:none!important}
@media(max-width:520px){.fs-btn{width:42px;height:42px;right:12px;top:12px}}
@media print{.fs-btn,.install-banner{display:none!important}}

/* ==========================================================================
   13. INSTALAR COMO APP (PWA)
   ========================================================================== */
.install-banner{
  position:fixed;left:50%;bottom:22px;pointer-events:auto;transform:translateX(-50%) translateY(140%);
  z-index:70;width:min(560px,calc(100vw - 28px));
  display:flex;align-items:center;gap:16px;
  background:var(--dark);color:#f6e9d8;
  border-radius:20px;padding:18px 20px;
  box-shadow:0 22px 60px #2c1a1250;
  transition:transform .45s cubic-bezier(.2,1,.3,1),opacity .3s;opacity:0}
.install-banner.show{transform:translateX(-50%) translateY(0);opacity:1}
#install-root{position:fixed;inset:auto 0 0 0;z-index:70;pointer-events:none}
#install-root>*{pointer-events:auto}
.install-banner .install-icon{
  width:52px;height:52px;border-radius:14px;flex:none;
  background:#3c261a;display:grid;place-items:center;color:#e0bd93}
.install-banner .install-icon .icon{width:26px;height:26px}
.install-banner .install-copy{flex:1;min-width:0}
.install-banner strong{display:block;font-size:13px;margin-bottom:3px}
.install-banner small{font-size:11px;color:#c3ac95;line-height:1.5;display:block}
.install-banner .btn{flex:none;background:#f6e9d8;color:var(--dark);border:0;
  padding:12px 18px;font-size:12px;white-space:nowrap}
.install-banner .btn:hover{background:#fff}
.install-banner .install-close{
  flex:none;background:none;border:0;color:#a08d7c;padding:6px;border-radius:8px}
.install-banner .install-close:hover{color:#f6e9d8;background:#ffffff12}
.install-banner .install-close .icon{width:16px;height:16px}
@media(max-width:520px){
  .install-banner{flex-wrap:wrap;row-gap:12px;bottom:14px;padding:16px}
  .install-banner .install-copy{flex:1 1 60%}
  .install-banner .btn{flex:1 1 100%;justify-content:center}
}

/* --- 14. Ajustes finos de legibilidade ---------------------------------- */
.eyebrow{letter-spacing:2.6px}
.commerce-bottom,.sidebar-bottom small,.nav-section{font-size:10px}
.workspace-footer{font-size:10px;flex-wrap:wrap;row-gap:6px}
.chart-labels{font-size:10px}
.legend-item{font-size:11px}
.stock-mini small{font-size:10px}
.option-grid.extras{grid-template-columns:1fr;gap:14px}

/* --- 15. Peças da personalização (swatches e emojis) --------------------- */
.opt-swatch{width:96px;height:92px;border-radius:16px;
  background:radial-gradient(120% 120% at 30% 25%,#ffffff55,transparent 55%),var(--c,#6b4023);
  box-shadow:inset 0 -8px 18px #00000024,0 4px 12px #3b241218;
  transition:transform .3s cubic-bezier(.34,1.4,.5,1)}
.custom-option.active .opt-swatch{transform:scale(1.08)}
.opt-emoji{width:74px;height:74px;border-radius:16px;background:#f6efe6;
  display:grid;place-items:center;font-size:38px;line-height:1;flex:none}
.choice-hint{display:block;color:var(--muted);font-size:18px;margin-top:8px}
.custom-total .item-chips{gap:10px}
.custom-total .item-chip{font-size:18px;padding:8px 16px}

/* --- 16. Prévia em tempo real: camada de sabor sobre a foto real -------- */
.custom-preview>.product-photo{z-index:1}
.base-tint{position:absolute;inset:0;pointer-events:none;z-index:2;
  mix-blend-mode:color;opacity:.92;transition:background .45s ease;
  background:radial-gradient(62% 46% at 50% 36%,var(--c) 0%,var(--c) 52%,transparent 80%)}
.custom-preview .topping-layer{z-index:3}
.custom-preview .extra-layer{z-index:4}
.custom-preview .preview-label,.custom-preview .size-tag{z-index:5}
.opt-cup{position:relative;width:100%;display:block;overflow:hidden;border-radius:14px}
.opt-cup .product-photo{width:100%;height:100%;border-radius:14px}
.opt-cup .base-tint{border-radius:14px;opacity:.85}
.option-grid.sizes .opt-cup{margin-inline:auto}
.option-grid.sizes .custom-option[data-custom="Pequeno"] .opt-cup{width:78px;height:78px}
.option-grid.sizes .custom-option[data-custom="Médio"] .opt-cup{width:106px;height:106px}
.option-grid.sizes .custom-option[data-custom="Grande"] .opt-cup{width:134px;height:134px}
.custom-choice>.btn.wide{padding:18px;font-size:19px;border-radius:14px}
.custom-choice>.btn.wide .icon{width:20px;height:20px}

/* --- 17. Calibragem da prévia (foto card_soft_baunilha.jpg) -------------- */
.base-tint{mix-blend-mode:multiply;opacity:.88;
  background:radial-gradient(52% 30% at 50% 45%,var(--c) 0%,var(--c) 58%,transparent 86%)}
.opt-cup .base-tint{mix-blend-mode:multiply;opacity:.9;
  background:radial-gradient(70% 46% at 50% 46%,var(--c) 0%,var(--c) 62%,transparent 92%)}
.custom-preview .topping-layer{left:26%;top:33%;width:48%;height:22%;opacity:.92}
.custom-preview .extra-layer{left:24%;top:31%;width:52%;height:22%}
.base-tint{background:radial-gradient(46% 25% at 50% 44%,var(--c) 0%,var(--c) 46%,transparent 74%)}

/* --- 18. Equilíbrio vertical do personalizador --------------------------- */
.custom-choice .custom-total{margin-top:auto}
.custom-preview{background:linear-gradient(180deg,#f8f1e8 0%,#efe3d4 100%)}
.custom-preview>.product-photo{border-radius:26px;
  filter:drop-shadow(0 22px 34px #3b241226)}
.option-grid.sizes .custom-option{background:var(--paper)}

/* --- 19. Toast acima da barra do totem ----------------------------------- */
body.kiosk-mode #toast{bottom:calc(20px + 12vh);z-index:80}

/* --- 20. Menu lateral: compactação progressiva + rolagem clara ----------- */
.sidebar-brand{height:82px;padding-bottom:14px;margin-bottom:10px}
.sidebar-brand .brand-logo{height:62px;width:100px}
.nav-link{padding:8px 15px;margin:1px 0;font-size:11.5px}
.nav-section{padding:11px 16px 5px}
@media(max-height:960px){
  .sidebar-brand{height:62px;padding-bottom:10px;margin-bottom:6px}
  .sidebar-brand .brand-logo{height:46px;width:75px}
  .nav-link{padding:7px 14px;font-size:11px}
  .nav-section{padding:9px 15px 4px;font-size:9px}
}
@media(max-height:780px){
  .nav-link{padding:6px 14px}
  .nav-section{padding:7px 15px 3px}
  .sidebar-bottom{padding:8px 10px 0;margin-top:4px}
}
@media(max-height:960px){.nav-link{line-height:1.3}}
@media(max-height:900px){
  .nav-link{padding:6px 14px;line-height:1.25}
  .nav-section{padding:7px 15px 3px;letter-spacing:1.2px}
  .sidebar-bottom .label,.sidebar-bottom small{display:none}
  .sidebar-bottom{display:flex;justify-content:center}
}
@media(max-height:820px){
  .sidebar{padding:10px 10px 10px}
  .sidebar-brand{height:48px;padding-bottom:8px;margin-bottom:4px}
  .sidebar-brand .brand-logo{height:36px;width:58px}
  .nav-link{padding:5px 13px;gap:10px;line-height:1.22}
  .nav-link .icon{width:15px;height:15px}
  .nav-section{padding:6px 14px 2px;font-size:8.5px}
}
@media(max-height:700px){
  .nav-link{padding:4px 12px;font-size:10.5px}
  .nav-section{padding:5px 13px 2px}
  .sidebar-brand{height:40px}
  .sidebar-brand .brand-logo{height:30px;width:48px}
}
@media(max-height:820px){.sidebar-brand{height:56px}.sidebar-brand .brand-logo{height:42px;width:68px}}
@media(max-height:700px){.sidebar-brand{height:46px}.sidebar-brand .brand-logo{height:34px;width:55px}}

/* --- 21. Trilha de categorias do totem: rótulos sem aperto --------------- */
.kiosk-catalog{grid-template-columns:238px 1fr}
.kiosk .category-rail{padding:26px 14px}
.kiosk .category-btn{padding:18px 12px;font-size:16.5px;word-break:normal;hyphens:none}

/* --- 22. Tela de sucesso: botões e títulos sem corte --------------------- */
.success{justify-content:center}
.success h1{max-width:880px}
.success p{max-width:760px}
.success .btn{max-width:660px;width:100%;justify-content:center}
.success .order-number{min-width:420px}
.checkout{display:flex;flex-direction:column}
.checkout .demo-note{margin-top:auto!important;padding-top:28px}

/* Prévia do chocolate: mancha de sabor mais suave e centrada no produto */
.custom-preview[data-choc="1"] .base-tint{opacity:.62;
  background:radial-gradient(52% 34% at 50% 42%,var(--c) 0%,var(--c) 40%,transparent 82%)}

/* --- 23. Trilha horizontal de categorias: pista de rolagem visível ------- */
@media(max-width:820px){
  .commerce-content>.category-rail{position:relative;
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 26px),transparent 100%);
    mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 26px),transparent 100%)}
}

/* --- 24. Ícone da busca preso ao próprio campo (estava solto na página) -- */
.searchbox{position:relative}
.sale-products .searchbox{margin-bottom:16px}
.sale-products .searchbox input{padding-left:40px;font-size:12px;width:100%}
.sale-products .searchbox .icon{top:50%;transform:translateY(-50%)}
@media(max-width:820px){
  .category-btn{min-height:86px;justify-content:center}
}

/* --- 25. Botão de tela cheia integrado ao cabeçalho ---------------------- */
.fs-btn.fs-inline{position:static;transform:none;box-shadow:none;backdrop-filter:none;
  width:38px;height:38px;border-radius:10px;background:transparent;color:var(--brown)}
.fs-btn.fs-inline:hover{transform:none;background:#f4e9dc}
.fs-btn.fs-inline .icon{width:18px;height:18px}
.kiosk .fs-btn.fs-inline{width:64px;height:64px;border-radius:18px;border-color:var(--line)}
.kiosk .fs-btn.fs-inline .icon{width:28px;height:28px}
.kiosk-exit{display:flex;align-items:center;gap:16px}
.kiosk-exit a{color:inherit}
.kiosk-home .fs-btn.fs-inline{background:#ffffff1f;border-color:#ffffff33;color:#f3e2cd;
  width:60px;height:60px;border-radius:16px}
.kiosk-home .fs-btn.fs-inline:hover{background:#ffffff33}
.kiosk-home .fs-btn.fs-inline .icon{width:26px;height:26px}

/* --- 26. Rótulos das categorias: quebra por palavra, nunca no meio ------- */
.category-btn{overflow-wrap:normal;word-break:keep-all;hyphens:none;line-height:1.3}
.category-btn span{overflow-wrap:normal}
.category-rail{min-width:0}


/* === Cards do tablet/PDV com altura igual e ação sempre alinhada ========= */
.sale-products .product-card{display:flex;flex-direction:column}
.sale-products .product-info{flex:1;display:flex;flex-direction:column;min-width:0}
.sale-products .product-info .between{margin-top:auto}
.sale-products .product-price{margin-top:10px}
@media(max-width:1100px){
  .sale-products .product-info .between{flex-direction:column;align-items:stretch;gap:10px}
  .sale-products .product-info .btn{width:100%;justify-content:center}
}

/* ==========================================================================
   PRÉVIA EM TEMPO REAL — camadas de foto real (sabor + calda + extras)
   ========================================================================== */
.custom-preview .pv-stage{
  position:absolute;inset:0;border-radius:26px;overflow:hidden;z-index:1;
  transform:scale(var(--pv-scale,1));
  transition:transform .45s cubic-bezier(.34,1.3,.5,1);
  filter:drop-shadow(0 22px 36px #3b241230)}
.pv-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%}
.pv-calda,.pv-extra{animation:pvIn .42s ease both}
@keyframes pvIn{from{opacity:0}to{opacity:1}}
.pv-extra-1{transform:rotate(7deg) scale(.93)}
.pv-extra-2{transform:rotate(-9deg) scale(.88)}
.custom-preview[data-size="Pequeno"]{--pv-scale:.72}
.custom-preview[data-size="Médio"]{--pv-scale:.87}
.custom-preview[data-size="Grande"]{--pv-scale:1.02}
.custom-preview[data-choc="1"]{--pv-scale:1}
.custom-preview .size-tag,.custom-preview .preview-label{z-index:4}

/* Miniaturas reais nas opções (mostram exatamente o que você vai receber) */
.opt-thumb{width:100%;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#f3ece2;
  transition:transform .3s cubic-bezier(.34,1.4,.5,1);flex:none}
.opt-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.custom-option.active .opt-thumb{transform:scale(1.06)}
.custom-option.extra .opt-thumb{width:84px;height:84px}
.option-grid.sizes .opt-thumb{margin-inline:auto}
.option-grid.sizes .custom-option[data-custom="Pequeno"] .opt-thumb{width:82px}
.option-grid.sizes .custom-option[data-custom="Médio"] .opt-thumb{width:112px}
.option-grid.sizes .custom-option[data-custom="Grande"] .opt-thumb{width:142px}
.custom-preview[data-choc="1"] .pv-layer{object-position:center 52%}

.totem-watermark{position:absolute;right:28px;bottom:24px;background:rgba(20,11,7,.72);color:#fff8f0;border-radius:999px;padding:10px 18px;font:500 22px Poppins,Arial,sans-serif;letter-spacing:.02em}
