:root{--yellow:#f9a800;--yellow-dark:#d98f00;--black:#020000;--text:#1c1917;--muted:#6b6560;--bg:#faf7f2;--surface:#fff;--border:#e7e1d8;--error-bg:#fdecec;--error:#b42318;--success-bg:#ecf8ef;--success:#1a7f37;--info-bg:#fff6dc;--radius:12px;--font-title:"Bebas Neue", Impact, "Arial Narrow", sans-serif;color:var(--text);background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:var(--bg);margin:0;line-height:1.5}h1,h2{font-family:var(--font-title);letter-spacing:.02em;margin:0 0 1rem;font-weight:400;line-height:1.1}h1{font-size:2.2rem}h2{font-size:1.6rem}a{color:var(--black);text-underline-offset:3px}.brand{flex-direction:column;line-height:1;display:flex}.brand-name{font-family:var(--font-title);color:var(--black);font-size:1.8rem}.brand-sub{text-transform:uppercase;letter-spacing:.12em;font-size:.8rem}.auth-page{background:linear-gradient(var(--yellow) 0 14rem, var(--bg) 14rem);flex-direction:column;align-items:center;gap:1.5rem;min-height:100vh;padding:3rem 1rem;display:flex}.auth-page .card{width:100%;max-width:26rem}.topbar{background:var(--yellow);justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex}.topbar-user{flex-direction:column;align-items:flex-end;font-size:.9rem;font-weight:600;display:flex}.content{max-width:960px;margin:0 auto;padding:1.5rem 1rem 3rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:0 2px 10px #0000000a}.loading{text-align:center;color:var(--muted);padding:3rem 1rem}.form{flex-direction:column;gap:1rem;display:flex}.form p{margin:0}.form label{flex-direction:column;gap:.35rem;font-size:.95rem;font-weight:600;display:flex}.form input{font:inherit;border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:.7rem .8rem;font-weight:400}.form input:focus-visible{outline:3px solid var(--yellow);outline-offset:1px;border-color:var(--black)}.form-footer{text-align:center;margin:1.25rem 0 0;font-size:.95rem}.button{font:inherit;text-align:center;color:var(--black);background:var(--yellow);border:2px solid var(--black);cursor:pointer;border-radius:999px;padding:.7rem 1.4rem;font-weight:700;text-decoration:none;display:inline-block}.button:hover:not(:disabled){background:var(--yellow-dark)}.button:disabled{opacity:.5;cursor:not-allowed}.button-link{font:inherit;color:var(--black);text-underline-offset:3px;cursor:pointer;background:0 0;border:none;padding:0;font-weight:400;text-decoration:underline}.alert{border-radius:8px;margin:0;padding:.75rem 1rem}.alert-error{background:var(--error-bg);color:var(--error)}.alert-success{background:var(--success-bg);color:var(--success);margin-bottom:1rem}.muted{color:var(--muted)}.alert-info{background:var(--info-bg);color:var(--text);margin-bottom:1rem;padding-left:2rem}.alert-error{margin-bottom:1rem}.form .alert-error{margin-bottom:0}.brand-link{text-decoration:none}.back-link{margin:0 0 .75rem}.back-link a{font-weight:600;text-decoration:none}.card+.card,.card+section,section+section{margin-top:1rem}.card h2{margin-bottom:.5rem}.actions{flex-wrap:wrap;gap:.75rem;margin-top:1rem;display:flex}.button-secondary{background:var(--surface)}.button-secondary:hover:not(:disabled){background:var(--bg)}.badge{white-space:nowrap;background:var(--border);border-radius:999px;padding:.15rem .6rem;font-size:.8rem;font-weight:700;display:inline-block}.badge-pending,.badge-cancellation_requested{color:#7a4f00;background:#fff3d1}.badge-validated{background:var(--success-bg);color:var(--success)}.badge-delivered{background:var(--black);color:var(--surface)}.badge-refused,.badge-cancelled{background:var(--error-bg);color:var(--error)}.next-delivery p{margin:.25rem 0}.next-delivery-date{font-family:var(--font-title);text-transform:capitalize;font-size:1.6rem;line-height:1.1}.orders{margin-top:2rem}.orders-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.orders-header h2{margin:0}.tabs{border:2px solid var(--black);border-radius:999px;display:flex;overflow:hidden}.tabs button{font:inherit;background:var(--surface);cursor:pointer;border:none;padding:.35rem 1rem;font-size:.9rem;font-weight:600}.tabs button[aria-selected=true]{background:var(--yellow)}.order-list,.product-list,.line-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.order-row{color:inherit;grid-template-columns:1fr auto;align-items:center;gap:.35rem 1rem;padding:1rem;text-decoration:none;display:grid}.order-row:hover{border-color:var(--black)}.order-row-date{text-transform:capitalize;font-weight:700}.order-row-total{font-variant-numeric:tabular-nums}.order-row-action{text-align:right;font-weight:600}.order-form{padding-bottom:6rem}.slot-choices{flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem;display:flex}.slot-choice{border:2px solid var(--border);cursor:pointer;text-transform:capitalize;border-radius:999px;align-items:center;gap:.4rem;padding:.5rem .9rem;display:flex}.slot-choice:has(input:checked){border-color:var(--black);background:var(--yellow);font-weight:700}.slot-choice input{accent-color:var(--black)}.product-group{margin-top:1.5rem}.product-row{grid-template-columns:1fr auto;align-items:center;gap:.5rem 1rem;padding:.9rem 1rem;display:grid}.product-row.has-error{border-color:var(--error)}.product-info{flex-direction:column;gap:.1rem;min-width:0;display:flex}.product-info .muted{font-size:.85rem}.product-name{font-weight:700}.product-price{font-size:.9rem}.product-quantity{flex-direction:column;align-items:flex-end;gap:.25rem;display:flex}.quantity-input{align-items:center;gap:.35rem;display:flex}.quantity-input input{width:5.5rem;font:inherit;text-align:right;border:1px solid var(--border);border-radius:8px;padding:.55rem .6rem;font-size:1.05rem}.quantity-input input:focus-visible{outline:3px solid var(--yellow);outline-offset:1px;border-color:var(--black)}.quantity-input span{width:1.4rem;color:var(--muted);font-size:.9rem}.line-total{font-variant-numeric:tabular-nums;font-weight:600}.field-error{color:var(--error);grid-column:1/-1;margin:0;font-size:.9rem}.order-footer{padding:.75rem max(1rem,50% - 480px + 1rem);padding-bottom:calc(.75rem + env(safe-area-inset-bottom));background:var(--surface);border-top:2px solid var(--black);justify-content:space-between;align-items:center;gap:1rem;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #00000014}.order-footer>div{flex-direction:column;line-height:1.2;display:flex}.order-footer-total{font-family:var(--font-title);font-size:1.7rem}.order-footer .muted{font-size:.8rem}.order-summary p{margin:0 0 .75rem}.line-list li{border-bottom:1px solid var(--border);grid-template-columns:1fr auto;gap:0 1rem;padding:.5rem 0;display:grid}.line-list .muted{font-size:.9rem}.line-list .line-total{grid-area:1/2/span 2;align-self:center}.order-total{justify-content:space-between;margin:1rem 0 0;font-size:1.15rem;display:flex}.order-summary .cancel-action{margin:1rem 0 0}.button-link.danger{color:var(--error)}
