@font-face{font-family:'Noto Sans Thai';src:url('/assets/NotoSansThai.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--green:#174936;--ink:#1d342b;--cream:#f7f5ee;--muted:#737c70;--line:#dddcd0;--gold:#ad7943;--white:#fffefa;font-family:'DM Sans','Noto Sans Thai',sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;padding-bottom:110px}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer}button:disabled{opacity:.4;cursor:default}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #bd8b45;outline-offset:4px}button{border:0}a{color:inherit;text-decoration:none}.demo-strip{background:var(--green);color:#f4ebcf;text-align:center;font-size:11px;letter-spacing:.05em;padding:8px 16px}header{max-width:1120px;margin:auto;padding:25px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-weight:700;letter-spacing:.1em;font-size:17px}.brand small{display:block;font-weight:400;letter-spacing:.08em;font-size:9px;margin-top:5px}.brand-mark{display:grid;place-items:center;border:1px solid var(--green);width:36px;height:43px;border-radius:18px 18px 2px 2px;font:italic 29px Georgia}.language{border:1px solid var(--line);background:transparent;border-radius:24px;padding:10px 14px;font-size:12px;min-width:45px}main{max-width:1120px;margin:auto;padding:28px 24px 35px}.eyebrow{color:var(--gold);font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin:0 0 12px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:center;margin-bottom:32px}.hero h1{font:normal clamp(35px,5vw,58px)/1.15 Georgia,'Noto Sans Thai',serif;letter-spacing:-.025em;margin:0 0 14px}.hero p{color:var(--muted);font-size:14px;line-height:1.7;max-width:390px}.hero-photo{height:260px;width:100%;object-fit:cover;border-radius:120px 120px 8px 8px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--green);color:white;min-height:50px;padding:13px 22px;border-radius:7px;font-weight:600;font-size:14px}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 17px;border:1px solid var(--line);border-radius:7px;background:transparent;font-size:13px}.hero .primary{margin-top:8px}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.steps{display:flex;gap:22px;font-size:11px;align-items:center;color:var(--muted);margin:23px 0 0}.steps b{color:var(--green);font-weight:500;margin-right:5px}.context-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px;padding:12px 15px;background:#edeee4;border:1px solid #e0e3d6;border-radius:7px;font-size:12px}.text-button{background:none;text-decoration:underline;text-underline-offset:3px;color:var(--green);font-size:12px;padding:6px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:20px 0 15px;gap:12px}h2{font:normal 28px Georgia,'Noto Sans Thai',serif;margin:0}.section-head small,.note{font-size:11px;line-height:1.6;color:var(--muted)}.tabs{display:flex;gap:7px;margin:20px 0}.tab{padding:10px 17px;border-radius:25px;background:transparent;color:var(--muted);border:1px solid var(--line);font-size:12px}.tab.active{background:var(--green);border-color:var(--green);color:white}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product-card{position:relative;text-align:left;background:var(--white);border:1px solid #e6e3d8;border-radius:9px;overflow:hidden;transition:transform .15s}.product-card:hover{transform:translateY(-3px)}.product-card .photo{height:210px;width:100%;object-fit:cover;display:block}.product-card .sourdough{object-position:50% 63%}.product-card .card-body{padding:17px}.product-card h3{font-size:16px;font-weight:500;margin:0 0 4px}.product-card small{font-size:10px;color:var(--muted);display:block}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:16px}.add-circle{width:32px;height:32px;border-radius:50%;border:1px solid var(--green);display:grid;place-items:center;font-size:24px;font-weight:400}.drink-art{height:115px;background:#efeee5;display:grid;place-items:center}.drink-art .icon{width:43px;height:43px;color:#54745e}.footer-note{margin-top:28px;text-align:center;color:var(--muted);font-size:11px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fffefaed;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:12px max(20px,calc((100vw - 1072px)/2)) max(12px,env(safe-area-inset-bottom));display:flex;gap:12px;align-items:center}.nav-button{min-width:65px;display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;color:var(--green);font-size:10px;padding:4px 8px}.basket-button{flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--green);color:white;border-radius:7px;padding:14px 20px;min-height:52px;font-size:13px}.basket-count{background:#ffffff25;padding:3px 8px;border-radius:4px;margin-right:8px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.back{background:transparent;color:var(--green);display:flex;align-items:center;gap:6px;padding:8px 0;font-size:13px}.cart-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:30px}.cart-row{padding:20px 0;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line)}.cart-thumb{width:80px;height:80px;object-fit:cover;border-radius:7px;background:#edeee4;display:grid;place-items:center}.cart-thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}.cart-detail{flex:1}.cart-detail h3{font-size:15px;font-weight:500;margin:0 0 5px}.cart-detail p{margin:0;color:var(--muted);font-size:12px}.quantity{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--white);overflow:hidden}.quantity button{width:39px;height:41px;background:transparent;color:var(--green);font-size:22px}.quantity span{min-width:30px;text-align:center;font-size:14px}.summary{background:var(--white);padding:24px;border-radius:9px;border:1px solid var(--line);height:fit-content}.summary h3{font-size:16px;margin:0 0 25px;font-weight:500}.summary-line{display:flex;justify-content:space-between;font-size:13px;margin:14px 0}.summary-line.total{border-top:1px solid var(--line);padding-top:19px;font-size:20px;margin-top:20px}.summary .primary{width:100%;margin-top:14px}.empty{padding:65px 20px;text-align:center}.empty>.icon{width:50px;height:50px;color:#8a9a82}.empty h2{margin:20px 0 10px}.empty p{font-size:14px;color:var(--muted)}.empty .primary{margin-top:15px}.payment{max-width:490px;margin:auto;text-align:center}.payment h1{font:normal 33px Georgia,'Noto Sans Thai',serif;margin:8px 0 12px}.payment-amount{font-size:34px;margin:22px 0 10px}.payment-qr{display:block;width:min(100%,340px);height:auto;margin:20px auto;background:white;border-radius:8px;border:1px solid var(--line)}.warning{background:#efeadb;border:1px solid #e1d7bd;border-radius:7px;padding:13px 16px;color:#77582c;font-size:12px;line-height:1.8;text-align:left}.payment-actions{display:flex;gap:12px;justify-content:center;margin-top:20px}.scanner{max-width:540px;margin:auto}.scanner h1{font:normal 30px Georgia,'Noto Sans Thai',serif}.camera-wrap{position:relative;background:#142019;border-radius:12px;overflow:hidden;aspect-ratio:1/1.1;display:grid;place-items:center}.camera-wrap video{width:100%;height:100%;object-fit:cover;position:absolute}.viewfinder{position:absolute;width:65%;aspect-ratio:1;border:2px solid #f7f5ee;border-radius:18px;box-shadow:0 0 0 100px #0003}.scan-line{position:absolute;left:20%;right:20%;top:50%;height:1px;background:#d0dbac;box-shadow:0 0 8px #d0dbac}.camera-status{position:absolute;bottom:25px;left:20px;right:20px;text-align:center;color:white;font-size:12px;background:#142019bb;border-radius:7px;padding:12px;line-height:1.7}.scan-actions{display:flex;justify-content:center;gap:10px;margin:16px 0;flex-wrap:wrap}.scan-hint{font-size:12px;text-align:center;color:var(--muted);line-height:1.8}dialog{border:0;padding:0;border-radius:13px;max-width:440px;width:calc(100% - 28px);max-height:90dvh;background:var(--cream);color:var(--ink);overflow:auto}dialog::backdrop{background:#12271dcc;backdrop-filter:blur(3px)}.dialog-image{width:100%;height:240px;object-fit:cover;display:block}.dialog-image.sourdough{object-position:50% 63%}.dialog-content{padding:25px}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-top h2{font-size:29px}.dialog-close{height:37px;width:37px;border-radius:50%;background:#ecebdf;font-size:25px;color:var(--green);position:absolute;top:12px;right:12px;box-shadow:0 1px 5px #0001}.dialog-content p{font-size:13px;line-height:1.8;color:var(--muted)}.dialog-price{font-size:22px;margin:15px 0}.dialog-controls{display:flex;align-items:center;justify-content:space-between;margin:24px 0}.dialog-content .primary{width:100%}.dialog-content .note{text-align:center;display:block;margin:13px 0 0}#toast{position:fixed;left:50%;bottom:105px;transform:translateX(-50%);background:#174936;color:white;padding:12px 21px;border-radius:7px;font-size:13px;z-index:20;opacity:0;pointer-events:none;transition:opacity .15s;max-width:90%;text-align:center}#toast.visible{opacity:1}.codes{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.code-card{background:white;border:1px solid var(--line);padding:20px;text-align:center;border-radius:9px}.code-card img{max-width:100%;width:230px;display:block;margin:10px auto}.code-card h3{margin:0}.code-card a{font-size:12px;text-decoration:underline}.demo-links{margin:25px 0;text-align:center}.demo-links a{font-size:12px;text-decoration:underline;color:var(--muted)}
@media(min-width:740px){.product-grid:has(.drink-art){margin-top:20px}.hero-copy{padding:18px 30px 18px 0}.hero-photo{height:315px}.bottom-nav{gap:25px}.basket-button{flex:0 1 420px;margin-left:auto}main{min-height:70vh}}
@media(max-width:739px){header{padding:19px 20px}.brand{font-size:15px}.brand small{font-size:8px}.brand-mark{width:32px;height:39px}main{padding:24px 20px 24px}.hero{grid-template-columns:1fr;position:relative;gap:0;margin-bottom:23px}.hero-copy{max-width:72%;position:relative;z-index:1}.hero h1{font-size:35px;line-height:1.3}.hero p{font-size:12px;max-width:215px;line-height:1.8;margin:10px 0}.hero-photo{position:absolute;right:-20px;top:6px;width:135px;height:175px;border-radius:80px 0 0 80px;opacity:.85}.hero .primary{font-size:13px;padding:12px 15px}.eyebrow{font-size:9px;letter-spacing:.12em}.steps{gap:13px;font-size:10px;margin-top:20px;white-space:nowrap}.context-row{font-size:11px;padding:10px 12px;margin-bottom:23px}.section-head{align-items:center}.section-head h2{font-size:24px}.section-head small{max-width:125px;text-align:right;font-size:9px}.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-card .photo{height:155px}.product-card .card-body{padding:12px}.product-card h3{font-size:14px}.product-card small{font-size:9px}.card-bottom{margin-top:14px;font-size:14px}.add-circle{width:28px;height:28px;font-size:21px}.drink-art{height:100px}.cart-layout{grid-template-columns:1fr;gap:23px}.cart-row{gap:11px}.cart-thumb{width:60px;height:65px}.cart-detail h3{font-size:14px}.quantity button{width:32px;height:37px}.quantity span{min-width:25px}.cart-row>strong{font-size:13px;min-width:45px;text-align:right}.summary{padding:22px}.payment h1{font-size:29px}.codes{grid-template-columns:1fr}.bottom-nav{gap:8px;padding-left:12px;padding-right:16px}.nav-button{min-width:50px}.basket-button{padding:13px;font-size:12px}.dialog-image{height:210px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
body:has(.payment){padding-bottom:25px}body:has(.payment) .bottom-nav{display:none}.payment h1{margin:6px 0 8px}.payment .eyebrow{margin-bottom:7px}.payment-amount{margin:10px 0 5px;font-size:30px}.payment-qr{width:min(100%,280px);margin:13px auto 18px}.payment .warning{margin-bottom:15px}.payment>.note{margin:7px 0}
@media(max-width:739px){.payment-qr{width:min(100%,260px)}.payment h1{font-size:26px}.payment .back{margin-bottom:8px}}
