@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--navy:#071f30;--cream:#fff6e8;--gold:#ffca3a;--orange:#f97332;--muted:#b9c4c8}*{box-sizing:border-box}body{margin:0;background:var(--navy);color:var(--cream);font-family:'DM Sans',sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button{border:0}#app{height:100svh;min-height:550px;overflow:hidden;position:relative;isolation:isolate}#media,.shade{position:absolute;inset:0;z-index:-2;overflow:hidden}#media img,#media video{width:100%;height:100%;object-fit:cover}#media img{animation:photo-life 9s ease-in-out infinite alternate;transform-origin:50% 44%}#media .placeholder{height:100%;background:radial-gradient(ellipse at 70% 40%,#2b5162,#071f30 70%);display:grid;place-items:center}#media .placeholder img{width:min(60%,360px);height:auto;object-fit:contain}.shade{z-index:-1;background:linear-gradient(180deg,#031725e6 0%,#04192950 26%,#03162518 41%,#041725b5 59%,#041725f5 82%,#041725 100%)}header{display:flex;align-items:center;gap:15px;padding:calc(env(safe-area-inset-top) + 19px) 22px 13px}.brand img{width:94px;height:auto;display:block}.store-info{flex:1}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--gold)}.status{display:block;background:none;padding:6px 0 0;font-size:11px;color:var(--muted);text-align:left}.status.open{color:#b2ecb1}.status.closed{color:#ffb0a0}.icon-button{display:grid;place-items:center;background:#ffffff13;border:1px solid #ffffff25;border-radius:50%;width:39px;height:39px;font-size:22px;flex-shrink:0}nav{display:flex;gap:7px;padding:5px 22px 12px;overflow-x:auto;scrollbar-width:none}nav button{white-space:nowrap;background:#071f3070;backdrop-filter:blur(16px);border:1px solid #ffffff40;border-radius:99px;padding:9px 16px;font-size:12px}nav button.active{background:var(--cream);color:var(--navy);border-color:var(--cream);font-weight:700}#product{position:absolute;inset:155px 22px 140px;touch-action:none;display:flex;flex-direction:column;justify-content:flex-end}#product[hidden]{display:none}.product-position{position:absolute;top:6px;width:100%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:#fff9}.product-copy{max-width:550px;animation:copy-in .45s ease-out}.product-copy h1{font-family:'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;font-size:clamp(44px,12vw,77px);font-weight:800;line-height:.94;letter-spacing:-.5px;margin:11px 0 13px;text-wrap:balance;text-shadow:0 2px 20px #0005}.product-copy p{max-width:400px;font-size:13px;line-height:1.55;color:#e7e9e9;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.price-row{display:flex;align-items:center;gap:15px;margin-bottom:20px}.price-row>span:first-child{font-size:30px;font-weight:700}.small-label{font-size:8px;letter-spacing:1.5px;color:var(--muted)}.primary{width:100%;background:var(--orange);color:#081e2b;border-radius:16px;padding:17px 21px;font-weight:800;display:flex;justify-content:space-between;align-items:center;min-height:56px;font-size:16px}.primary span{font-size:20px}.gesture-help{display:flex;align-items:center;justify-content:space-between;padding-top:13px;color:#d0d4d5;font-size:10px;letter-spacing:1px}.gesture-help button{background:none;font-size:23px;width:38px;height:30px}.gesture-help i{font-style:normal;margin:0 10px;color:var(--orange)}footer{position:absolute;bottom:0;left:0;right:0;padding:0 22px calc(15px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#071f30 45%)}.location{display:block;background:none;width:100%;font-size:11px;padding:9px;color:#d1dbdf}.cart-button{width:100%;border:1px solid #ffffff30;background:#ffffff09;border-radius:16px;padding:16px 18px;display:flex;justify-content:space-between;font-size:13px}.cart-button b{background:var(--gold);color:var(--navy);border-radius:7px;padding:2px 6px;margin-left:7px}.cart-button strong{color:var(--gold)}#state{position:absolute;top:35%;left:10%;right:10%;text-align:center}#state h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:40px;margin:15px 0}#state p{color:var(--muted);font-size:14px}.loader{display:inline-block;border:2px solid #fff2;border-top-color:var(--orange);border-radius:50%;width:28px;height:28px;animation:spin 1s linear infinite}dialog{background:#092538;color:var(--cream);border:1px solid #ffffff25;border-radius:28px 28px 0 0;padding:0;width:min(100%,600px);max-width:600px;max-height:94svh;position:fixed;inset:auto 0 0;margin:auto;box-shadow:0 -30px 90px #0008}dialog::backdrop{background:#00101aa8;backdrop-filter:blur(9px)}.sheet-top{padding:17px 23px 7px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#092538f5;z-index:2}#sheet-content{padding:4px 23px calc(25px + env(safe-area-inset-bottom))}h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:38px;line-height:1;margin:10px 0 14px;text-transform:uppercase}h3{font-size:16px;margin:24px 0 6px}.caption{font-size:12px;color:var(--muted);line-height:1.5}.options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.option{background:#ffffff08;border:1px solid #ffffff24;border-radius:13px;text-align:left;padding:12px;font-size:13px;min-height:58px}.option.selected{border-color:var(--gold);background:#ffca3a13}.option small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.ingredient{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #ffffff10;font-size:13px}.ingredient input{accent-color:var(--gold);width:18px;height:18px}.ingredient span{flex:1}.ingredient small{color:var(--muted);font-size:10px}.input{display:block;width:100%;background:#ffffff09;color:var(--cream);border:1px solid #ffffff30;border-radius:12px;padding:13px;margin:9px 0;min-height:46px}textarea.input{resize:vertical;min-height:75px}.quantity{display:flex;align-items:center;gap:20px;margin:20px 0}.quantity button{background:#ffffff12;border-radius:10px;width:39px;height:39px;font-size:22px}.sheet-bottom{position:sticky;bottom:0;background:linear-gradient(#092538e0,#092538 20%);padding-top:15px;margin-top:16px}.error{color:#ffc1ac;font-size:13px;line-height:1.5}.cart-row{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-bottom:1px solid #ffffff20}.cart-row img{width:65px;height:65px;object-fit:cover;border-radius:12px}.cart-row .grow{flex:1}.cart-row h3{margin:1px 0 7px;font-size:15px}.cart-row small{font-size:11px;line-height:1.4;color:var(--muted);display:block}.text-button{background:none;color:var(--gold);font-size:12px;padding:10px 9px 0 0}.total-row{display:flex;justify-content:space-between;margin:12px 0;font-size:14px}.total-row.final{font-size:22px;font-weight:700;margin:20px 0}.outline{width:100%;background:none;border:1px solid #ffffff30;border-radius:14px;padding:13px;margin:10px 0;font-weight:600}.order-card{border:1px solid #ffffff25;border-radius:18px;padding:18px;margin:14px 0;background:#ffffff05}.order-card h3{margin:0 0 8px}.order-number{font-family:'Barlow Condensed',Impact,sans-serif;font-size:72px;color:var(--gold);line-height:1.1}.order-state{display:inline-block;border-radius:20px;background:#ffca3a18;color:var(--gold);padding:6px 12px;font-size:12px}.order-state.ready{background:#a5e58b20;color:#b7f3a9}.order-state.cancelled{color:#ffc1ac;background:#f9733218}#toast{position:fixed;z-index:10;left:22px;right:22px;bottom:135px;margin:auto;max-width:450px;padding:15px 20px;background:var(--cream);color:var(--navy);border-radius:15px;box-shadow:0 10px 50px #0009;font-size:13px;text-align:center}.preview-photo{width:100%;height:130px;object-fit:cover;border-radius:18px;opacity:.85}.empty{padding:35px 0;text-align:center}.success-icon{font-size:40px;color:var(--gold)}@keyframes photo-life{from{transform:scale(1.25) translateX(-7%)}to{transform:scale(1.25) translateX(7%)}}@keyframes copy-in{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:800px){header{padding:25px 5vw}.brand img{width:120px}nav{padding-left:5vw}#product{left:5vw;right:5vw;bottom:140px;top:160px}.product-copy{width:450px}.product-copy h1{font-size:85px}.gesture-help{max-width:450px}footer{left:auto;width:380px;right:4vw;bottom:12px}#media img,#media video{object-position:65% 50%}.shade{background:linear-gradient(90deg,#031725ef,#03172570 50%,#03172520),linear-gradient(0deg,#031725d0,transparent 40%,#03172580)}dialog{bottom:20px;max-height:92svh;border-radius:28px}.product-position{max-width:450px}}@media(max-height:700px) and (max-width:799px){header{padding-top:10px;padding-bottom:5px}.brand img{width:75px}nav{padding-bottom:5px}#product{top:125px;bottom:125px}.product-copy h1{font-size:43px}.product-copy p{font-size:12px;margin-bottom:8px;-webkit-line-clamp:2}.price-row{margin-bottom:10px}.primary{padding:13px 18px;min-height:48px}footer{padding-bottom:10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}

/* Casa 1.0.1: o produto ocupa o centro; controles ficam na base. */
#app{min-height:0;height:100svh;height:100dvh}
.shade{background:linear-gradient(180deg,#031725d9 0%,#03172538 18%,transparent 33%,transparent 48%,#03172535 60%,#031725d9 85%,#031725f5 100%)}
nav{gap:23px;padding-top:0;padding-bottom:6px}
nav button{position:relative;background:transparent;backdrop-filter:none;border:0;border-radius:0;padding:10px 0 12px;color:#e3e9edb3;font-weight:500;font-size:13px;letter-spacing:.3px}
nav button.active{background:transparent;color:var(--cream);border:0;font-weight:700}
nav button.active::after{content:"";position:absolute;bottom:3px;left:0;right:0;height:2px;border-radius:3px;background:var(--gold)}
#product{bottom:calc(112px + env(safe-area-inset-bottom));top:145px}
.product-copy h1{font-size:clamp(34px,9vw,56px);margin:8px 0;line-height:.98}
.product-copy p{font-size:12px;line-height:1.4;margin:0 0 10px;-webkit-line-clamp:2;max-width:350px}
.price-row{gap:14px;margin:0;justify-content:flex-start}
.price-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
#price{font-size:22px;font-weight:700;line-height:1.15}
.small-label{font-size:7px;letter-spacing:1.2px}
.order-icon{width:46px;height:46px;border-radius:50%;background:var(--orange);color:var(--navy);display:grid;place-items:center;flex-shrink:0;box-shadow:0 4px 20px #0003}
.order-icon svg,.install-float svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gesture-help{padding-top:4px;font-size:9px}.gesture-help button{height:26px;font-size:20px}
footer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.location{padding:7px;font-size:10px}.cart-button{padding:13px 16px;border-radius:13px}
.install-float{position:absolute;right:18px;top:calc(175px + env(safe-area-inset-top));display:flex;align-items:center;gap:5px;padding:9px 11px;border:1px solid #ffffff40;border-radius:24px;background:#071f3080;backdrop-filter:blur(12px);box-shadow:0 3px 18px #0002;font-size:10px;z-index:2}
.install-float[hidden]{display:none}.install-float svg{width:18px;height:18px}
@media(min-width:800px){#product{bottom:48px;top:160px}.product-copy h1{font-size:64px}.product-copy p{font-size:13px}.shade{background:linear-gradient(90deg,#031725c9,transparent 65%),linear-gradient(0deg,#031725a0,transparent 45%,#03172580)}.install-float{right:4vw;top:150px}}
@media(max-height:700px) and (max-width:799px){#product{top:120px;bottom:calc(100px + env(safe-area-inset-bottom))}.product-copy h1{font-size:32px}.product-copy p{font-size:11px;margin-bottom:7px}#price{font-size:20px}.order-icon{width:44px;height:44px}.install-float{top:145px}.gesture-help{padding-top:0}.cart-button{padding:11px 15px}}

.order-icon:disabled,.cart-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}

/* Casa 1.0.2: orientação junto às categorias, conteúdo perto da sacola. */
#categories{padding-bottom:0}
.gesture-help{position:relative;max-width:none;margin:0 22px;padding:0;justify-content:flex-start;gap:8px;color:#d0d4d5b3;line-height:1}
.gesture-help button{width:32px;height:32px;padding:0;flex-shrink:0;font-size:19px;background:none}
.gesture-help i{margin:0 6px}.gesture-help small{font-size:8px;margin-left:9px;color:#ffffff80;letter-spacing:1px}
#product{bottom:calc(99px + env(safe-area-inset-bottom))}
@media(max-height:700px) and (max-width:799px){#product{bottom:calc(91px + env(safe-area-inset-bottom))}}
@media(min-width:800px){.gesture-help{margin-left:5vw;max-width:450px}#product{bottom:26px}}
