:root{font-family:Arial,Helvetica,sans-serif;color:#202020;background:#fff;font-synthesis:none;--red:#ed2028;--line:#e7e7e7;--muted:#656565}*{box-sizing:border-box}body{margin:0;padding-bottom:100px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #66a9d1;outline-offset:3px}h1,h2,h3,p{margin-top:0}.top{max-width:1160px;margin:auto;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.top h1{font-size:24px;margin:0}.data-mode{display:flex;gap:7px;align-items:center;font-size:13px;color:var(--muted)}input[type=checkbox]{accent-color:var(--red);width:18px;height:18px}#categories{position:sticky;top:0;z-index:2;display:flex;gap:24px;padding:0 max(24px,calc((100% - 1112px)/2));overflow-x:auto;border-block:1px solid var(--line);background:#fff;scrollbar-width:none}#categories a{white-space:nowrap;padding:18px 0;color:#555;text-decoration:none;font-size:14px;font-weight:700;border-bottom:3px solid transparent}#categories a:hover,#categories a:focus{color:var(--red);border-color:var(--red)}main{max-width:1160px;margin:auto;padding:28px 24px}section{scroll-margin-top:80px;margin-bottom:38px}section h2{font-size:21px;margin-bottom:8px}.product-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:36px}.product{border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:24px 0;min-width:0}.product-info{flex:1;min-width:0}.product h3{font-size:17px;margin:0 0 9px;font-weight:700}.product p{font-size:14px;color:var(--muted);line-height:1.5;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product strong{font-size:15px}.product-action{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:10px}.product-photo{width:100px;height:86px;object-fit:contain;border-radius:6px}.add{border:1px solid var(--red);color:var(--red);background:#fff;border-radius:6px;padding:8px 16px;min-width:100px;font-size:14px;font-weight:700}.add:hover{background:#fff3f3}.cart-bar{position:fixed;bottom:0;left:0;right:0;z-index:3;padding:12px 20px max(12px,env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--line)}.primary{border:0;background:var(--red);color:#fff;border-radius:7px;min-height:48px;padding:13px 20px;display:block;text-align:center;text-decoration:none;font-weight:700;width:100%}.primary:hover{background:#d81720}#openCart{max-width:580px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:15px}#cartCount{background:#b8161d;border-radius:4px;padding:3px 8px}dialog{padding:0;border:0;border-radius:12px;width:calc(100% - 32px);max-width:560px;max-height:90dvh;overflow:auto;box-shadow:0 12px 80px #0003}dialog::backdrop{background:#0008}body:has(dialog[open]){overflow:hidden}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:0;background:#fff;padding:20px 24px;border-bottom:1px solid var(--line);z-index:2}.dialog-heading h2{font-size:21px;margin:0}.close{width:36px;min-width:36px;height:36px;border:0;border-radius:50%;background:#f4f4f4;color:#303030;font-size:26px}.dialog-content{padding:24px}.muted{color:var(--muted);font-size:14px;line-height:1.6}.detail-photo{display:block;width:100%;height:160px;object-fit:contain;margin-bottom:20px}.detail-photo[hidden]{display:none}label:not(.data-mode){display:block;font-size:14px;font-weight:700;margin-top:24px}textarea,select{width:100%;border:1px solid #d7d7d7;border-radius:6px;padding:12px;background:#fafafa;margin-top:9px;line-height:1.45}textarea{resize:vertical}small{font-weight:400;color:var(--muted);font-size:12px}fieldset{margin:24px 0 0;padding:0;border:0}legend{font-size:14px;font-weight:700;margin-bottom:12px}.ingredients{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ingredients label{display:flex;font-weight:400;align-items:center;gap:7px;margin:0;min-height:35px}.hint{font-size:12px;color:var(--muted);line-height:1.5;margin:10px 0 22px}.quantity-row{display:flex;align-items:center;justify-content:space-between}.quantity-row label{margin:0}.stepper{display:flex;border:1px solid var(--line);border-radius:6px;overflow:hidden}.stepper button{border:0;background:#f7f7f7;width:42px;height:42px;font-size:22px}.stepper input{width:48px;text-align:center;border:0;appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.dialog-footer{position:sticky;bottom:0;padding:16px 24px;background:#fff;border-top:1px solid var(--line)}.cart-line{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--line)}.cart-line h3{font-size:16px;margin-bottom:7px}.cart-line p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 8px;font-size:13px;color:var(--muted);line-height:1.5}.line-actions,.total-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.line-actions button{background:transparent;color:var(--red);border:0;padding:7px 0;margin-right:14px;font-size:13px}.total-row{margin:24px 0 0;font-size:18px}.error{color:#b1121c;background:#fff1f1;padding:12px;line-height:1.5;font-size:14px}.status{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:#242424;color:#fff;border-radius:7px;padding:12px 18px;z-index:10;width:max-content;max-width:90%;font-size:14px}.loading{color:var(--muted)}[hidden]{display:none!important}@media(max-width:680px){.top{height:56px;padding:0 16px}.top h1{font-size:21px}#categories{gap:22px;padding:0 16px}#categories a{padding:15px 0;font-size:13px}main{padding:24px 16px}.product-grid{grid-template-columns:1fr}.product{padding:20px 0;gap:16px}.product p{-webkit-line-clamp:2}.product h3{font-size:16px}section h2{font-size:20px}dialog{max-height:94dvh;width:100%;margin:auto 0 0;border-radius:14px 14px 0 0}.dialog-content{padding:20px}.dialog-heading{padding:16px 20px}.dialog-footer{padding:14px 20px max(14px,env(safe-area-inset-bottom))}.dialog-heading h2{font-size:19px}}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
