*{box-sizing:border-box}body{margin:0;background:#f3f1ec;color:#191919;font-family:system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.45}button,input,select,textarea{font:inherit}button,input,select,textarea{border:1px solid #aba39a;border-radius:9px}button{min-height:44px;padding:.55rem .85rem;background:#fff;color:#24211f;font-weight:650;cursor:pointer}button:hover:not(:disabled){border-color:#a83229;background:#fff5e4}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #974314;outline-offset:2px}.primary{background:#ffcf00;color:#191919;border-color:#906f00}.primary:hover:not(:disabled){background:#ffe16a}.danger{color:#8a2525;border-color:#d8a4a1}a{color:#9b221d}input,select,textarea{width:100%;min-height:44px;background:#fff;color:#191919;padding:.45rem .6rem}textarea{min-height:70px}label{display:grid;gap:.25rem;font-size:.9rem;font-weight:650}h1,h2,p,dl{margin:0}h1{font-size:clamp(1.75rem,4vw,2.6rem);line-height:1.03;letter-spacing:-.055em}h2{font-size:1.15rem;letter-spacing:-.02em}small{display:block;color:#605752;font-size:.82rem}hr{border:0;border-top:1px solid #e4dcd3}.top{background:#191919;color:#fff}.top-inner{display:flex;justify-content:space-between;align-items:center;gap:.7rem;padding:.8rem 1rem;max-width:1150px;margin:auto}.brand{display:flex;gap:.65rem;align-items:center;font-weight:800;font-size:clamp(1rem,4vw,1.25rem);line-height:1.1}.brand>span{display:grid;place-items:center;background:#ffcf00;color:#191919;border-radius:10px;width:42px;height:42px;flex:none}.brand small,.top small{color:#eee8e0;margin-top:.2rem}.account{text-align:right;flex:none}.quiet{min-height:34px;background:none;color:#fff;border-color:#78716a;font-size:.85rem;margin-top:.35rem;padding:.25rem .55rem}.quiet:hover:not(:disabled){color:#191919}.connection{display:inline-block;color:#ffdd9b;font-size:.85rem;font-weight:700}.connection.connected{color:#c0f3ca}.shell{max-width:1150px;margin:auto;padding:0 1rem 1.5rem}nav{display:flex;gap:.4rem;overflow:auto;padding:.75rem 0;border-bottom:1px solid #ded5ca;margin-bottom:1rem}nav button{white-space:nowrap;background:transparent;border-color:transparent}nav button.active{background:#fff0c2;border-color:#c59d24}.heading,.linehead,.actions,.formrow{display:flex;justify-content:space-between;align-items:center;gap:.7rem}.heading{margin-bottom:1rem}.eyebrow{color:#9a3029;font-weight:750;font-size:.83rem;margin-bottom:.35rem}.panel{background:#fff;border:1px solid #e2d9ce;border-radius:14px;padding:1rem;margin-bottom:.8rem}.stack{display:grid;align-content:start;gap:.65rem}.stack>.panel{margin-bottom:0}.cart-list{display:grid;gap:.6rem}.cart-row,.product{text-align:left;display:flex;align-items:center;justify-content:space-between;gap:.7rem;width:100%;border-color:#e2d9ce}.cart-row{padding:.8rem}.right{text-align:right}.badge{display:inline-block;border-radius:20px;background:#e5eee6;color:#214b36;padding:.16rem .55rem;font-size:.79rem;font-weight:700}.badge.pending{background:#fff1c7;color:#664505}.badge.checkout{background:#deebfe;color:#173b74}.badge.cancelled{background:#f6e3e2;color:#842b28}.notice{background:#e2f0df;border:1px solid #b9d7b5;padding:.65rem .8rem;border-radius:9px;margin-bottom:.75rem}.notice.error{background:#fbe9e8;border-color:#e6b8b4;color:#761d18}.grid{display:grid;gap:.8rem}.cart-detail{padding-bottom:5rem}.cart-detail>.grid{margin-bottom:.8rem}.back{margin-bottom:.8rem}.search{margin-bottom:.85rem}.product-list{max-height:19rem;overflow:auto;display:grid;gap:.35rem}.product{justify-content:flex-start}.product>div{flex:1;min-width:0}.product>span{flex:none}.product img{width:36px;height:36px;object-fit:contain}.item{padding-top:.7rem;border-top:1px solid #e4dcd3}.manual{color:#815310}.line-controls{display:flex;flex-wrap:wrap;gap:.4rem;margin:.5rem 0}.line-controls>form,.line-controls>details{width:100%}.line-controls form,.discount{display:flex;align-items:end;gap:.5rem;flex-wrap:wrap}.line-controls form label,.formrow label{flex:1;min-width:110px}summary{cursor:pointer;font-weight:700;padding:.55rem 0;color:#783029}.discount{margin-top:.4rem}.transfer{text-align:center}.transfer img{display:block;max-width:min(100%,430px);margin:.65rem auto;image-rendering:pixelated}dl{display:grid;grid-template-columns:1fr auto;gap:.3rem .5rem}dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.total{position:fixed;bottom:0;left:0;right:0;z-index:2;background:#191919;color:#fff;padding:.65rem max(1rem,calc((100vw - 1118px)/2)) max(.65rem,env(safe-area-inset-bottom));display:flex;gap:.75rem;align-items:center;justify-content:space-between}.total strong{font-size:1.45rem}.total small{color:#eee8e0}.empty{color:#605752}.login{max-width:470px;margin:10vh auto;padding:0 1rem}.login .panel{margin-top:1.25rem}.checkboxes{display:flex;gap:.65rem;flex-wrap:wrap}.checkboxes label{display:flex;align-items:center}.checkboxes input{width:18px;min-height:18px}.member+.member,.history-summary+.history-summary{border-top:1px solid #e4dcd3;padding-top:.5rem}.history-summary{display:flex;gap:.3rem 1rem;flex-wrap:wrap}video{max-width:520px;width:100%;max-height:55vh;background:#15251c;border-radius:10px}@media(min-width:780px){.grid{grid-template-columns:1.35fr 1fr}.cart-list{grid-template-columns:1fr 1fr}}@media(max-width:390px){.linehead,.heading{flex-wrap:wrap}.account small{max-width:110px}.heading .primary{width:100%}}.roles{min-width:0;border:1px solid #e2d9ce;border-radius:9px;padding:.55rem .65rem}.roles legend{font-weight:650}.member h3{margin:.2rem 0}.member>form,.member>button{margin-top:.6rem}.top{border-bottom:3px solid #ff3131}.top-inner{min-height:76px}.brand{min-width:0;color:#fff}.brand-logo{display:block;width:clamp(120px,35vw,180px);height:auto;flex:none}.login .brand{background:#191919;border-radius:14px;padding:1rem;border-bottom:3px solid #ff3131}.login .brand-logo{width:clamp(120px,38vw,184px)}.product-list{max-height:min(30rem,56dvh);gap:.5rem}.product-row{display:grid;grid-template-columns:var(--catalog-photo-size) minmax(0,1fr);gap:.55rem;align-items:stretch;--catalog-photo-size:64px}.product{min-height:var(--catalog-photo-size)}.product strong,.line-product strong{overflow-wrap:anywhere}.photo-thumb,.photo-placeholder{display:grid;place-items:center;width:var(--catalog-photo-size,64px);height:var(--catalog-photo-size,64px);flex:none;background:#f6f3ee;border:1px solid #e2d9ce;border-radius:9px;padding:4px;overflow:hidden}.photo-thumb{cursor:zoom-in}.photo-thumb img{display:block;width:100%;height:100%;object-fit:contain}.line-product{display:flex;align-items:center;min-width:0;gap:.65rem;--catalog-photo-size:60px}.photo-dialog{width:min(92vw,680px);max-height:90dvh;padding:1rem;border:1px solid #e2d9ce;border-radius:14px;background:#fff;color:#191919}.photo-dialog::backdrop{background:#191919b8}.photo-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.8rem}.photo-dialog img{display:block;width:100%;max-height:calc(90dvh - 7rem);object-fit:contain}@media(min-width:700px){.product-row{--catalog-photo-size:80px}.line-product{--catalog-photo-size:72px}}@media(max-width:370px){.top-inner .brand{gap:.4rem}.top-inner .brand-logo{width:120px}}.recall-cart{margin-bottom:.8rem}.archive-toggle{margin-bottom:.7rem}.swipe-area{position:relative;touch-action:pan-y;overflow:hidden;border-radius:9px;min-width:0}.swipe-preview{position:absolute;inset-block:0;display:grid;place-items:center;overflow:hidden;pointer-events:none;background:#fff0b9;color:#815700}.swipe-from-left{left:0}.swipe-from-right{right:0}.swipe-preview[data-swipe=removed]{background:#fbe2df;color:#ab261e}.send-dialog{width:min(94vw,450px);border:1px solid #e2d9ce;border-radius:14px;padding:1.2rem;color:#191919}.send-dialog::backdrop{background:#191919b8}.send-dialog p{margin:.7rem 0 1rem;overflow-wrap:anywhere}.send-dialog .actions{flex-wrap:wrap}
