:root{--bg:#f3f4f6;--card:#fff;--ink:#111214;--mut:#93979c;--line:#e7e8ea;--orange:#ff6a13;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);font-family:Manrope,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg)}button,input,textarea{font:inherit}button{border:0;color:inherit;cursor:pointer}#app{max-width:520px;min-height:100vh;margin:auto;padding-bottom:calc(118px + var(--safe-bottom));overflow:hidden}
.splash{position:fixed;inset:0;z-index:100;background:#0d0d0e;display:grid;place-items:center;color:white;transition:opacity .65s ease,visibility .65s ease}.splash.out{opacity:0;visibility:hidden;pointer-events:none}.splash-inner{width:min(88vw,590px);text-align:center}.splash-logo{display:block;width:100%;overflow:visible}.splash-logo text{font-family:'Great Vibes','Snell Roundhand',cursive;font-size:150px;fill:transparent;stroke:white;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;animation:logo-fill .55s 2.1s forwards}.splash-logo tspan{stroke-dasharray:500;stroke-dashoffset:500;animation:letter 1s cubic-bezier(.5,0,.3,1) forwards;animation-delay:calc(var(--i)*.18s)}@keyframes letter{to{stroke-dashoffset:0}}@keyframes logo-fill{to{fill:white;stroke-width:0}}.splash-tag{font-size:11px;letter-spacing:.32em;color:#9b9b9b;opacity:0;animation:tag-in .6s 1.9s forwards}@keyframes tag-in{to{opacity:1}}
.hero{position:relative;background:#0d0d0e;color:#fff;padding:calc(12px + var(--safe-top)) 0 30px;border-radius:0 0 38px 38px}.topbar{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;padding:6px 18px 16px}.avatar{width:48px;height:48px;border-radius:50%;background:#fff;color:#111;display:grid;place-items:center}.avatar svg{width:23px;height:23px}.brand{text-align:center;line-height:1}.brand-name{font:34px/1 'Great Vibes',cursive}.brand-city{display:block;font-size:12px;color:#a5a6a8;letter-spacing:.06em;margin-top:5px}.mode{display:block;margin:15px auto 0;background:#222426;color:#c8c9cb;border-radius:24px;padding:4px;width:max-content;font-size:12px}.mode button{background:none;color:#a8a9aa;padding:9px 14px;border-radius:20px}.mode button.active{color:#111;background:white;font-weight:700}.stories{display:flex;gap:13px;padding:25px 18px 0;overflow-x:auto;scrollbar-width:none}.stories::-webkit-scrollbar,.chips::-webkit-scrollbar{display:none}.story{position:relative;flex:0 0 132px;height:156px;border:2px solid #fff;border-radius:38px 38px 32px 32px;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;padding:13px 8px;color:#fff;font-size:15px;font-weight:800;background:linear-gradient(150deg,#414141,#191919)}.story img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.82}.story span{position:relative;text-shadow:0 1px 6px #000}.story.orange{border-color:#f87525;background:linear-gradient(#5a2b17,#ea5c0b)}
.content{position:relative;margin-top:-16px;padding:27px 16px 30px;background:var(--bg);border-radius:38px 38px 0 0;min-height:50vh}.greeting{font-size:18px;color:var(--mut);margin:2px 0 0}.headline{font-size:clamp(30px,8vw,42px);letter-spacing:-.05em;line-height:1.08;margin:3px 0 16px;font-weight:800}.restaurant-note{background:var(--card);border-radius:24px;padding:15px 17px;margin:16px 0 20px}.restaurant-note strong{display:block;font-size:16px}.restaurant-note span{display:block;font-size:13px;line-height:1.5;color:var(--mut);margin-top:4px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:21px 2px 12px}.section-head h2{font-size:27px;letter-spacing:-.04em;margin:0;font-weight:800}.section-head button{color:var(--mut);background:none;font-size:13px;font-weight:700}.bar{position:sticky;top:var(--safe-top);z-index:5;background:var(--bg);padding:9px 0 8px}.search{height:53px;border-radius:27px;background:var(--card);display:flex;align-items:center;gap:10px;padding:0 17px;margin:0 0 11px;color:#242528}.search svg{width:21px;flex:none}.search input{border:0;outline:0;background:transparent;min-width:0;flex:1;color:var(--ink);font-size:16px}.search input::placeholder{color:#a5a8ac}.chips{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:1px 0 6px}.chip{flex:none;background:var(--card);border-radius:30px;padding:13px 20px;font-size:15px;font-weight:700;white-space:nowrap}.chip.active{background:#d9dcde}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.product{min-width:0;background:var(--card);border-radius:28px;padding:10px 10px 13px;position:relative;display:flex;flex-direction:column;cursor:pointer;transition:transform .18s ease}.product:active{transform:scale(.985)}.product.wide{grid-column:1/-1;display:grid;grid-template-columns:43% 1fr;gap:12px;align-items:stretch;padding:11px}.photo{width:100%;aspect-ratio:1;border-radius:21px;background:linear-gradient(140deg,#ece9e3,#d8d2c8);overflow:hidden;display:grid;place-items:center;color:#9e9384;font-size:46px}.photo img{width:100%;height:100%;object-fit:cover}.product.wide .photo{height:100%;min-height:140px;aspect-ratio:auto}.product-copy{min-width:0;display:flex;flex-direction:column}.product-name{font-size:16px;line-height:1.22;letter-spacing:-.03em;margin:11px 3px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.product.wide .product-name{font-size:19px;margin-top:3px}.product-description{font-size:12px;line-height:1.35;color:var(--mut);margin:5px 3px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:auto 0 0;padding:13px 2px 0}.price{font-size:17px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}.add{width:43px;height:43px;border-radius:50%;background:#f3f4f6;display:grid;place-items:center;flex:none}.add svg{width:20px;height:20px}.heart{position:absolute;right:16px;top:16px;width:33px;height:33px;border-radius:50%;background:#ffffffdf;display:grid;place-items:center;z-index:1}.heart svg{width:17px;height:17px}.heart.active{color:#dc3b33}.empty{padding:28px 14px;text-align:center;color:var(--mut);line-height:1.55}
.nav{position:fixed;z-index:30;left:50%;transform:translateX(-50%);bottom:calc(10px + var(--safe-bottom));width:min(calc(100% - 20px),490px);height:72px;border-radius:38px;background:#111213;box-shadow:0 12px 35px #0003;display:grid;grid-template-columns:1fr 1fr 1.24fr 1fr 1fr;align-items:center;padding:0 7px}.nav button{background:none;color:#999da2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:700;position:relative;min-width:0}.nav button.active{color:white}.nav svg{width:23px;height:23px}.nav .qr-tab{color:white;margin-top:-29px}.qr-orb{width:69px;height:69px;border:5px solid #111;background:radial-gradient(circle at 32% 25%,#ffae68,#ff751f 56%,#dc4d05);border-radius:50%;display:grid;place-items:center;box-shadow:0 0 18px #ff741d99,0 0 40px #ff741d55;animation:qr-glow 2s ease-in-out infinite}.qr-orb svg{width:31px;height:31px}.nav .qr-tab span{color:#ffb785;margin-top:2px}@keyframes qr-glow{50%{box-shadow:0 0 30px 8px #ff741dcc,0 0 65px 16px #ff741d66}}.badge{position:absolute;top:-5px;right:4px;background:var(--orange);color:white;border-radius:9px;padding:2px 5px;font-size:10px}.cart-pill{position:fixed;z-index:20;left:50%;transform:translateX(-50%);bottom:calc(92px + var(--safe-bottom));height:58px;width:min(calc(100% - 32px),455px);border-radius:32px;background:#111;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:15px;font-weight:800;box-shadow:0 8px 26px #0004;cursor:pointer}.cart-pill span:first-child{display:flex;align-items:center;gap:8px}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:24px 4px 14px}.cart-head h1{font-size:32px;letter-spacing:-.04em;margin:0}.cart-row{background:var(--card);border-radius:24px;padding:11px;margin:0 0 9px;display:flex;align-items:center;gap:11px}.cart-row .photo{width:70px;height:70px;aspect-ratio:1;flex:none;border-radius:18px}.cart-row .product-name{margin:0;font-size:15px}.cart-row .product-description{margin-left:0}.cart-row .product-copy{flex:1}.quantity{display:flex;align-items:center;gap:10px;flex:none}.quantity button{width:32px;height:32px;border-radius:50%;background:var(--bg);font-size:19px}.info-card{background:var(--card);border-radius:24px;padding:17px;margin:14px 0}.info-card strong{display:block;font-size:17px}.info-card span{font-size:13px;color:var(--mut);line-height:1.5}.primary{height:58px;border-radius:31px;background:#111;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-size:17px;font-weight:800;width:100%;margin:12px 0 0}.profile-card{background:var(--card);border-radius:26px;padding:18px;margin:10px 0}.field{width:100%;border:0;background:var(--bg);border-radius:17px;padding:14px 16px;margin:5px 0;outline:0;color:var(--ink);resize:vertical}.field:focus{box-shadow:0 0 0 2px #aaa}.segment{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:28px;background:#d9dcde;margin:10px 0}.segment button{height:44px;border-radius:24px;background:transparent;font-weight:700}.segment button.active{background:white}.qr-page{text-align:center;padding:38px 12px}.qr-page h1{font-size:31px;margin:0}.qr-page p{color:var(--mut);margin:8px 0}.qr-frame{width:min(76vw,310px);aspect-ratio:1;background:white;border-radius:34px;margin:28px auto 20px;display:grid;place-items:center;padding:18px;box-shadow:0 12px 35px #0000000a}.qr-frame img{width:100%;height:100%;image-rendering:pixelated}
.overlay{position:fixed;z-index:50;inset:0;background:#0007;display:flex;align-items:flex-end;justify-content:center}.overlay[hidden]{display:none}.sheet{position:relative;width:min(100%,520px);max-height:92dvh;overflow:auto;background:var(--bg);border-radius:36px 36px 0 0;padding:14px 16px calc(22px + var(--safe-bottom));animation:sheet-up .28s ease-out}.sheet:before{content:'';display:block;width:42px;height:5px;border-radius:4px;background:#a2a5a7;margin:0 auto 18px}.sheet-close{position:absolute;right:17px;top:17px;width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:24px;z-index:2}.sheet .photo{aspect-ratio:1.18;border-radius:25px}.sheet h2{font-size:27px;line-height:1.1;margin:16px 3px 8px;letter-spacing:-.04em}.sheet .product-description{font-size:15px;line-height:1.55;margin:6px 3px 14px;-webkit-line-clamp:unset}.sheet-price{font-size:21px;font-weight:800;margin:10px 4px}.sheet .field{background:#fff}.sheet-qty{display:flex;align-items:center;justify-content:center;gap:19px;margin:11px 0}.sheet-qty button{width:38px;height:38px;border-radius:50%;background:#fff;font-size:23px}.toast{position:fixed;z-index:80;left:50%;top:calc(16px + var(--safe-top));transform:translate(-50%,-150%);background:#111;color:white;border-radius:24px;padding:13px 19px;font-size:14px;max-width:calc(100% - 32px);transition:transform .25s;white-space:nowrap}.toast.on{transform:translate(-50%,0)}.about{color:var(--mut);font-size:12px;line-height:1.5;text-align:center;padding:16px 10px}.promo{background:linear-gradient(125deg,#ff8b42,#f25310);color:white;border-radius:24px;padding:17px;margin:15px 0;cursor:pointer}.promo strong{display:block;font-size:20px}.promo span{font-size:13px;opacity:.9}.no-photo{font-size:43px;filter:saturate(.8)}@keyframes sheet-up{from{transform:translateY(60%)}}@media(max-width:380px){.grid{gap:8px}.product{padding:8px;border-radius:23px}.product-name{font-size:14px}.product-bottom{padding-top:9px}.price{font-size:15px}.add{width:38px;height:38px}.story{flex-basis:118px;height:144px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}


/* Liquid-glass refresh: iOS-inspired translucent surfaces with Milatte warmth. */
:root{--bg:#f3f3f7;--card:rgba(255,255,255,.88);--ink:#171719;--mut:#898b91;--line:rgba(255,255,255,.76);--glass:rgba(255,255,255,.72)}
body{background:radial-gradient(ellipse at 8% 4%,#fff 0,transparent 32%),radial-gradient(ellipse at 92% 27%,#f5e9df 0,transparent 26%),#f3f3f7}
.hero{box-shadow:0 18px 46px #00000012}
.content{animation:page-in .34s cubic-bezier(.2,.75,.25,1) both}
@keyframes page-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.restaurant-note,.product,.info-card,.cart-row,.profile-card,.account-card,.qr-frame,.search,.chip,.mode,.promo{border:1px solid #ffffffc9;box-shadow:0 8px 24px #20202b0a}
.restaurant-note,.product,.info-card,.cart-row,.profile-card,.account-card,.qr-frame,.search{background:var(--glass);backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25)}
.product{transition:transform .25s cubic-bezier(.2,.75,.25,1),box-shadow .25s,background .25s;animation:card-in .4s cubic-bezier(.2,.75,.25,1) both}
.grid .product:nth-child(2){animation-delay:.035s}.grid .product:nth-child(3){animation-delay:.07s}.grid .product:nth-child(4){animation-delay:.105s}.grid .product:nth-child(5){animation-delay:.14s}.grid .product:nth-child(6){animation-delay:.175s}
@keyframes card-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.product:active{transform:scale(.975);box-shadow:0 2px 10px #20202b12}
.photo{background:linear-gradient(145deg,#f0efed,#e5e2de)}
.chip{transition:transform .2s,background .2s}.chip:active,.mode button:active{transform:scale(.96)}
.chip.active{background:#19191b;color:#fff;box-shadow:0 5px 14px #0002}
.nav{height:78px;width:min(calc(100% - 20px),490px);background:rgba(250,250,252,.78);border:1px solid #ffffffd9;backdrop-filter:blur(26px) saturate(1.55);-webkit-backdrop-filter:blur(26px) saturate(1.55);box-shadow:0 10px 34px #17171d20,inset 0 1px 0 #fff}
.nav button{color:#8a8b91;transition:color .2s,transform .2s}.nav button.active{color:#171719}.nav button:active{transform:scale(.92)}
.nav .qr-tab{color:#171719}.qr-orb{border-color:#f7f7fa;background:radial-gradient(circle at 32% 20%,#ffd29a,#ff8a43 54%,#ee5e1a 100%);box-shadow:0 7px 20px #ff7a354d,0 0 0 1px #ffffffc9;animation:qr-glow 2.8s ease-in-out infinite}.nav .qr-tab span{color:#cb5c24}
.cart-pill{background:rgba(20,20,22,.93);border:1px solid #ffffff33;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 12px 28px #0003;transition:transform .2s}.cart-pill:active{transform:translateX(-50%) scale(.98)}
.overlay{background:rgba(20,20,24,.34);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.sheet{background:rgba(246,246,249,.94);border:1px solid #ffffffcc;box-shadow:0 -10px 48px #0002;animation:sheet-up .34s cubic-bezier(.2,.75,.25,1)}
.primary,.instagram-button{transition:transform .2s,box-shadow .2s}.primary:active,.instagram-button:active{transform:scale(.985)}
.profile-screen .cart-head{align-items:center}.profile-screen .cart-head h1{font-size:34px}.profile-avatar{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.76);border:1px solid #ffffff;box-shadow:0 8px 22px #0000000d;color:#242426}
.account-card{display:flex;align-items:center;gap:14px;padding:18px;border-radius:26px;margin:16px 0 12px}.account-mark,.instagram-mark{display:grid;place-items:center;border-radius:50%;font-size:32px;line-height:1;background:linear-gradient(135deg,#7c3aed,#ef3985 58%,#ff9d36);color:white;box-shadow:0 6px 16px #d94b8a3b}.account-mark{width:54px;height:54px}.account-copy{display:flex;flex-direction:column;gap:4px}.account-copy strong{font-size:16px}.account-copy span,.profile-hint{font-size:13px;color:var(--mut)}
.instagram-button{width:100%;min-height:58px;border-radius:22px;display:flex;align-items:center;justify-content:center;gap:11px;background:linear-gradient(110deg,#8134af,#dd2a7b 55%,#f58529);color:white;font-size:16px;font-weight:800;box-shadow:0 9px 22px #d84c8b30}.instagram-mark{width:29px;height:29px;font-size:22px;background:transparent;box-shadow:none}.instagram-logout{background:rgba(255,255,255,.75);color:#262629;border:1px solid white;box-shadow:none}.profile-hint{text-align:center;line-height:1.5;margin:11px 18px 26px}
@media(max-width:380px){.nav{height:74px}.nav .qr-tab{margin-top:-27px}.qr-orb{width:65px;height:65px}}

/* Milatte editorial surfaces */
.hero{min-height:365px;padding-bottom:24px;background:linear-gradient(180deg,#17120db3 0%,#17120d36 42%,#17120ddd 100%),url("assets/images/milatte-interior.png") center 48%/cover no-repeat}
.topbar{grid-template-columns:58px 1fr 48px}.language-button{min-width:48px;height:44px;padding:0 10px;border-radius:24px;background:#ffffffcf;color:#181615;font-size:12px;font-weight:800;box-shadow:0 5px 18px #0002;backdrop-filter:blur(14px)}
.hero-copy{padding:26px 25px 5px;text-shadow:0 2px 16px #0008}.hero-copy>span{font-size:15px;color:#fffC}.hero-copy h1{font-size:clamp(34px,9vw,48px);line-height:1.02;letter-spacing:-.055em;margin:8px 0;font-weight:800}.hero-copy p{font-size:14px;color:#fffc;margin:0}.hero .mode{margin-top:22px;background:#ffffff36;backdrop-filter:blur(18px)}.hero .mode button{color:white}.hero .mode button.active{color:#171719}
#app{position:relative}.content{background:var(--bg)}
#app[data-page="menu"] .content,#app[data-page="cart"] .content,#app[data-page="qr"] .content,#app[data-page="profile"] .content{background:linear-gradient(180deg,#f3f3f7ed 0%,#f3f3f7fa 240px,var(--bg) 100%),url("assets/images/milatte-menu.png") center top/100% 260px no-repeat;}
#app[data-page="cart"] .content{background-image:linear-gradient(180deg,#f3f3f7dc 0%,#f3f3f7f5 260px,var(--bg) 100%),url("assets/images/milatte-cafe.png")}
#app[data-page="qr"] .content{background-image:linear-gradient(180deg,#f3f3f7bc 0%,#f3f3f7f2 280px,var(--bg) 100%),url("assets/images/milatte-guest.png")}
#app[data-page="profile"] .content{background-image:linear-gradient(180deg,#f3f3f7bd 0%,#f3f3f7f5 260px,var(--bg) 100%),url("assets/images/milatte-interior.png")}
.restaurant-note,.about{display:none}.section-head h2{font-size:24px}.grid{grid-template-columns:1fr;gap:12px}.product,.product.wide{grid-column:auto;display:grid;grid-template-columns:minmax(112px,35%) 1fr;gap:12px;align-items:stretch;padding:10px;border-radius:24px}.product .photo,.product.wide .photo{height:auto;min-height:112px;aspect-ratio:1.22/1;border-radius:18px}.product-copy{min-height:112px}.product-name,.product.wide .product-name{font-size:17px;line-height:1.25;margin:3px 34px 0 0}.product-description{font-size:12px;line-height:1.42;-webkit-line-clamp:3}.product-bottom{padding-top:8px}.price{font-size:17px}.add{background:#f0eeeb}.heart{right:11px;top:11px}.product:active{transform:scale(.99)}
.sheet{max-height:94dvh;padding:12px 18px calc(22px + var(--safe-bottom));border-radius:32px 32px 0 0}.sheet .photo{aspect-ratio:1.5/1;max-height:290px;border-radius:24px}.sheet h2{margin-top:20px}.sheet .product-description{color:#686b70}.sheet-qty{background:#fff;border-radius:28px;width:max-content;padding:5px 12px;margin:14px auto}.sheet .primary{margin-top:14px}
.language-option{display:block;width:100%;text-align:left;background:#ffffffcc;border-radius:18px;padding:16px;margin:8px 0;font-size:16px;font-weight:700}.language-option.selected{background:#202020;color:white}
.face-id{position:relative;overflow:hidden;background:linear-gradient(145deg,#f9e4d4,#c39170 55%,#3e3029);border:2px solid #ffffffc9;box-shadow:0 9px 24px #52382724}.face-id:before{content:"";position:absolute;inset:8px;border:1px solid #ffffffa8;border-radius:50%;background:radial-gradient(ellipse at 50% 37%,#f6dcc9 0 18%,transparent 19%),radial-gradient(ellipse at 50% 83%,#332a27 0 28%,transparent 29%)}.face-id:after{content:"";position:absolute;inset:15px;border:1px solid #ffffffaa;border-radius:50%;clip-path:polygon(0 0,100% 0,100% 20%,0 20%,0 80%,100% 80%,100% 100%,0 100%)}.face-id span{position:absolute;z-index:1;left:50%;top:51%;width:26px;height:11px;transform:translate(-50%,-50%);border-top:1px solid #ffffffde;border-bottom:1px solid #ffffffde;border-radius:50%;box-shadow:0 0 0 8px #fff2}.account-mark.face-id{width:56px;height:56px;font-size:0}.profile-avatar.face-id{width:60px;height:60px}.unavailable{background:linear-gradient(110deg,#776c64,#413a36);color:#fff;opacity:.72;cursor:not-allowed;box-shadow:none}
.qr-page{min-height:calc(100vh - 170px)}.qr-frame{background:#fffffff2}.nav{background:rgba(250,250,252,.87)}
@media(max-width:380px){.product,.product.wide{grid-template-columns:108px 1fr}.product .photo,.product.wide .photo{min-height:108px}.hero{min-height:345px}}

/* Refined responsive cafe layout */
#app{max-width:920px;padding-bottom:calc(126px + var(--safe-bottom));overflow:visible}
body{background:#efeee9}
.hero{height:430px;min-height:430px;position:relative;overflow:hidden;border-radius:0 0 34px 34px;padding:calc(10px + var(--safe-top)) 0 0;background:linear-gradient(180deg,#17120d9c 0%,#17120d16 42%,#17120db8 100%),url("assets/images/milatte-interior.png") center 48%/cover no-repeat}
.topbar{width:min(100%,920px);margin:0 auto;grid-template-columns:1fr auto 1fr;padding:8px 24px}.topbar .language-button{justify-self:start}.topbar .avatar{justify-self:end}.brand-name{font-size:38px}.brand-city{color:#fffC}
.hero-copy{position:absolute;left:0;right:0;bottom:34px;padding:0 34px;text-align:left;text-shadow:0 2px 20px #000a}.hero-copy>span{font-size:14px;letter-spacing:.03em}.hero-copy h1{font-size:clamp(36px,6vw,58px);line-height:.98;max-width:650px;margin:8px 0 10px}.hero-copy p{font-size:15px}
.hero .mode{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;width:max-content;padding:6px;border:1px solid #ffffff9c;background:#ffffff42;box-shadow:0 8px 25px #0002;backdrop-filter:blur(20px) saturate(1.35)}.hero .mode button{min-width:118px;padding:12px 18px;color:white;font-size:14px}.hero .mode button.active{background:#fff;color:#171719;box-shadow:0 3px 12px #0002}
.content{max-width:900px;margin:0 auto;padding:30px clamp(16px,3vw,34px) 42px;border-radius:32px 32px 0 0;min-height:50vh;background:var(--bg)}.hero+.content{margin-top:0}.section-head{margin-top:8px;margin-bottom:16px}.section-head h2{font-size:clamp(25px,3vw,32px)}
.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product,.product.wide{grid-column:auto;display:flex;flex-direction:column;gap:0;padding:9px;border-radius:26px;background:#fff;overflow:hidden;box-shadow:0 8px 25px #28251f0a;transition:transform .2s,box-shadow .2s}.product:hover{transform:translateY(-3px);box-shadow:0 14px 35px #28251f15}.product .photo,.product.wide .photo{width:100%;height:auto;min-height:0;aspect-ratio:1.42/1;border-radius:19px;overflow:hidden}.product .photo img{transform:scale(1.65);transition:transform .45s cubic-bezier(.2,.75,.25,1)}.product:hover .photo img{transform:scale(1.75)}.product-copy{min-height:145px;padding:2px 5px 4px}.product-name,.product.wide .product-name{font-size:clamp(15px,1.7vw,19px);line-height:1.22;margin:9px 36px 0 0;-webkit-line-clamp:2}.product-description{font-size:13px;line-height:1.4;margin:5px 0 0;-webkit-line-clamp:2}.product-bottom{padding:10px 0 0}.price{font-size:18px}.add{width:42px;height:42px;color:#fff;background:#20201f}.heart{right:16px;top:16px;background:#ffffffe8;box-shadow:0 4px 12px #0002}
.nav{width:min(calc(100% - 32px),720px);height:82px;bottom:calc(14px + var(--safe-bottom));padding:0 16px}.nav .qr-tab{margin-top:-27px}.qr-orb{width:72px;height:72px}.cart-pill{width:min(calc(100% - 40px),650px);bottom:calc(108px + var(--safe-bottom));height:64px;font-size:16px}.sheet{width:min(100%,640px);max-height:92dvh;border-radius:34px 34px 0 0;padding-left:24px;padding-right:24px}.sheet .photo{aspect-ratio:1.7/1;max-height:340px}.sheet h2{font-size:30px}.sheet .primary{height:62px}
#app[data-page="menu"] .content,#app[data-page="cart"] .content,#app[data-page="qr"] .content,#app[data-page="profile"] .content{max-width:920px;padding-top:34px;border-radius:30px 30px 0 0;background-size:cover,100% 340px}
#app[data-page="cart"] .content{background-size:cover,100% 360px}#app[data-page="qr"] .content{background-size:cover,100% 390px}#app[data-page="profile"] .content{background-size:cover,100% 360px}
@media(max-width:600px){#app{max-width:100%;padding-bottom:calc(122px + var(--safe-bottom))}.hero{height:410px;min-height:410px;border-radius:0 0 30px 30px}.topbar{padding:8px 17px}.hero-copy{bottom:29px;padding:0 23px}.hero-copy h1{font-size:38px}.hero .mode{top:51%}.hero .mode button{min-width:108px;padding:11px 15px}.content{padding:24px 16px 32px;border-radius:27px 27px 0 0}.grid{gap:11px}.product,.product.wide{padding:7px;border-radius:21px}.product .photo,.product.wide .photo{aspect-ratio:1.17/1;border-radius:16px}.product-copy{min-height:138px;padding:1px 3px 3px}.product-name,.product.wide .product-name{font-size:15px;margin-top:8px}.product-description{font-size:11px;-webkit-line-clamp:2}.product-bottom{padding-top:8px}.price{font-size:15px}.add{width:37px;height:37px}.heart{right:12px;top:12px;width:30px;height:30px}.nav{width:calc(100% - 20px);height:74px;padding:0 6px}.nav .qr-tab{margin-top:-25px}.qr-orb{width:64px;height:64px}.cart-pill{width:calc(100% - 28px);bottom:calc(94px + var(--safe-bottom));height:56px;font-size:14px}.sheet{padding-left:16px;padding-right:16px}.sheet .photo{aspect-ratio:1.38/1;max-height:250px}}
@media(min-width:760px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-copy{min-height:150px}.product-name,.product.wide .product-name{font-size:18px}.hero-copy{padding-left:max(34px,calc((100% - 850px)/2))}}
@media(max-width:370px){.grid{grid-template-columns:1fr}.product .photo,.product.wide .photo{aspect-ratio:1.55/1}.product-copy{min-height:118px}}
.sheet .photo{aspect-ratio:1.75/1;max-height:250px}.sheet .photo img{transform:scale(1.65)}
@media(max-width:600px){.sheet .photo{aspect-ratio:1.42/1;max-height:230px}}

/* Phone-first premium cafe redesign */
:root{--bg:#f4f1eb;--ink:#1d1b18;--mut:#888078;--safe-bottom:env(safe-area-inset-bottom,0px)}
html{background:#e9e4dc}
body{min-width:320px;margin:0;background:#e9e4dc;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#app{width:100%;max-width:430px;min-height:100vh;margin:0 auto;padding:0 0 calc(126px + var(--safe-bottom));overflow:hidden;background:var(--bg);box-shadow:0 0 70px #31251c17}
.hero{height:590px;min-height:590px;position:relative;overflow:hidden;border-radius:0 0 34px 34px;padding:calc(12px + env(safe-area-inset-top,0px)) 0 0;background:linear-gradient(180deg,#17110d8a 0%,#17110d0d 36%,#17110d18 52%,#17110dd9 100%),url("assets/images/milatte-interior.png") center 48%/cover no-repeat;box-shadow:none}
.topbar{grid-template-columns:1fr auto 1fr;padding:8px 20px}.topbar .language-button{justify-self:start;background:#f6f0e8e8;color:#241d17;border:1px solid #ffffffaa;box-shadow:0 5px 20px #0002}.brand-name{font-size:37px;color:white}.brand-city{color:#ffffffbf}.topbar .avatar{justify-self:end;width:44px;height:44px;background:#ffffffdb;color:#211c18}
.hero-copy{position:absolute;left:0;right:0;bottom:43px;padding:0 25px;text-align:left;text-shadow:0 2px 22px #0008}.hero-copy>span{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#fffbdc}.hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-weight:600;font-size:clamp(39px,10vw,49px);line-height:1.02;letter-spacing:-.04em;margin:10px 0 12px;max-width:350px}.hero-copy p{font-size:14px;line-height:1.5;color:#fffD;max-width:315px}
.hero .mode{position:absolute;top:53%;left:50%;transform:translate(-50%,-50%);margin:0;width:max-content;max-width:calc(100% - 36px);padding:5px;border:1px solid #ffffffa6;background:#ffffff3d;box-shadow:0 8px 25px #0002;backdrop-filter:blur(22px) saturate(1.35)}.hero .mode button{min-width:116px;padding:12px 18px;color:#fff;font-size:13px}.hero .mode button.active{background:#fff;color:#201a15;box-shadow:0 3px 12px #0002}
.content{max-width:none;margin:0;padding:27px 17px 40px;border-radius:0;min-height:54vh;background:var(--bg)}.hero+.content{margin-top:0}.section-head{margin:0 2px 17px;align-items:end}.section-head h2{font-family:Georgia,"Times New Roman",serif;font-size:28px;letter-spacing:-.035em;color:#29221c}.section-head button{color:#8b6b4d}
.page-topline{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;margin:-6px 0 13px}.page-topline .language-button{grid-column:1;grid-row:1;justify-self:start;min-width:50px;height:40px;border:1px solid #fff;background:#fffc;color:#30261d;border-radius:24px;padding:0 11px;font-size:12px;font-weight:800;box-shadow:0 5px 18px #34271d16;backdrop-filter:blur(16px)}.page-brand{grid-column:2;grid-row:1;background:transparent;padding:0 5px;color:#34271d}.page-brand-name{font:32px/1 'Great Vibes',cursive;color:#584735}
.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product,.product.wide{position:relative;display:block;min-width:0;aspect-ratio:.76/1;padding:0;overflow:hidden;border:0;border-radius:25px;background:#d9d0c5;box-shadow:0 8px 24px #34271d16;isolation:isolate}.product:hover{transform:translateY(-2px)}.product>.photo{position:absolute;z-index:-2;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;border-radius:inherit;background:#d9d0c5}.product>.photo img{width:100%;height:100%;object-fit:cover;transform:none;transition:transform .6s cubic-bezier(.2,.75,.25,1)}.product:hover>.photo img{transform:scale(1.045)}.photo-shade{position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#17120b26 0%,transparent 32%,#17120b14 46%,#17120bbd 100%)}
.product-copy{position:absolute;inset:auto 13px 12px;display:flex;min-height:0;padding:0;color:#fff;flex-direction:column;align-items:stretch;justify-content:flex-end;text-shadow:0 1px 8px #0006}.product-name,.product.wide .product-name{font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.12;letter-spacing:-.02em;margin:0 36px 4px 0;color:#fff;-webkit-line-clamp:2}.product-description{display:-webkit-box;font-size:11px;line-height:1.35;color:#fffD;margin:0 0 8px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-bottom{display:flex;align-items:center;justify-content:space-between;padding:0}.price{font-size:14px;font-weight:750;color:#fff}.add{width:36px;height:36px;flex:0 0 36px;border:1px solid #ffffffa8;border-radius:50%;background:#fff;color:#211b16;box-shadow:0 4px 14px #0002;text-shadow:none}.heart{right:10px;top:10px;width:33px;height:33px;background:#fffD;color:#28211b;box-shadow:0 4px 13px #0002;backdrop-filter:blur(12px)}.heart.active{color:#a34c36}.product:active{transform:scale(.98)}
.nav{width:min(calc(100% - 26px),400px);height:73px;bottom:calc(11px + var(--safe-bottom));padding:0 7px;background:#f8f5f0e8;border:1px solid #ffffffd9;backdrop-filter:blur(26px) saturate(1.4);box-shadow:0 8px 30px #21170f26,inset 0 1px 0 #fff}.nav button{color:#898076}.nav button.active{color:#201a15}.nav .qr-tab{margin-top:-24px;color:#fff}.qr-orb{width:67px;height:67px;border:4px solid #f8f5f0;background:radial-gradient(circle at 32% 20%,#d8c1a4,#98704f 55%,#58402d);box-shadow:0 7px 20px #60452d55,0 0 0 1px #fff;animation:qr-glow 2.8s ease-in-out infinite}.nav .qr-tab span{color:#654b35}.cart-pill{width:min(calc(100% - 42px),360px);height:54px;bottom:calc(96px + var(--safe-bottom));font-size:14px;background:#211c17ed;border:1px solid #ffffff2e;box-shadow:0 10px 28px #21170f38}
.overlay{z-index:50}.sheet{width:min(100%,430px);max-height:92dvh;margin:0 auto;border-radius:30px 30px 0 0;background:#f7f4ef;overflow:auto}.sheet .photo{aspect-ratio:1.2/1;max-height:300px}.sheet .photo img{transform:none}.sheet h2{font-family:Georgia,"Times New Roman",serif;font-size:26px}.sheet .primary{background:#211c17;border-radius:30px}.language-option{color:#211c17}.profile-screen .content{background-color:var(--bg)}
@media(min-width:700px){body{padding:24px 0}#app{min-height:calc(100vh - 48px);border-radius:38px;overflow:hidden}.hero{border-radius:38px 38px 30px 30px}.nav{position:fixed;width:400px;bottom:35px}.cart-pill{position:fixed;width:360px;bottom:118px}.overlay{position:fixed}.sheet{margin:0 auto}}
@media(max-width:370px){.hero{height:540px;min-height:540px}.hero-copy{padding-left:21px;padding-right:21px}.hero-copy h1{font-size:36px}.content{padding-left:13px;padding-right:13px}.grid{gap:9px}.product{border-radius:21px}.product-copy{inset:auto 10px 10px}.product-name,.product.wide .product-name{font-size:15px}.product-description{font-size:10px}.add{width:33px;height:33px;flex-basis:33px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
