[hidden]{display:none!important}
.menu-product{display:flex;align-items:center;gap:.85rem;min-width:0}
.menu-product img{width:3.75rem;height:3.75rem;object-fit:cover;border-radius:.65rem}
.order-dialog{box-sizing:border-box;width:min(550px,calc(100vw - 24px));max-height:85dvh;overflow:auto;color:#fff4e5;background:#211d17}
.demo-tag{font-size:.85rem;letter-spacing:.08em;color:#ffc045;margin:.65rem 0}
.order-dialog label,.admin-page label{display:grid;gap:.35rem;align-content:start;font-size:.9rem;font-weight:650}
#checkout{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:1rem}
.order-dialog :is(input,select),.admin-page :is(input,select){min-width:0;width:100%;min-height:44px;border:1px solid #6c5e48;background:#14120e;color:#fff4e5;border-radius:.65rem;padding:.55rem .65rem;font:inherit;font-size:1rem;color-scheme:dark}
.order-dialog select,.admin-page select{appearance:none;padding-right:2.1rem;background:#14120e no-repeat right .7rem center / .9rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='m1 2 6 6 6-6' fill='none' stroke='%23ffc045' stroke-width='2'/%3E%3C/svg%3E")}
.order-dialog :is([aria-invalid=true],#order-error,#delivery-warning){color:#ffb39e}
.order-dialog [aria-invalid=true]{border-color:#ffb39e}
.order-dialog :is(.order-totals,#delivery-warning,#order-hint,#order-error,#place-order){grid-column:1/-1;margin:0}
.order-totals{display:grid;gap:.35rem;border-top:1px solid #64533c;padding-top:.65rem;font-variant-numeric:tabular-nums}
.order-totals div{display:flex;justify-content:space-between;gap:1rem}
.order-totals div:last-child{font-weight:800;color:#ffc045}
.order-totals dd{margin:0}
.order-dialog .qty{display:flex;align-items:center;gap:.4rem}
.order-dialog .qty button{min-height:44px}
.order-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:.8rem;background:#15100d;border-radius:.6rem}
#message-preview,#new-order{margin-top:.75rem}
.admin-page{min-height:100vh;background:#14120e;color:#fff4e5}
.admin-shell{max-width:960px;padding:2rem 0 3rem}
.admin-page .admin-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.admin-page .admin-head h1{font-size:clamp(2rem,7vw,3.25rem);letter-spacing:-.04em;line-height:1.05}
.admin-page .admin-head h2,.admin-panel h2{font-size:clamp(1.3rem,4vw,2rem);margin:0 0 .4rem}
.admin-page #admin-status{position:sticky;top:0;z-index:2;padding:.7rem .9rem;background:#2d2417;border:1px solid #5f4a28;border-radius:.7rem;margin:1rem 0}
.admin-panel{padding:clamp(.8rem,3vw,1.4rem);margin:1rem 0;border:1px solid #5c4d38;border-radius:1rem;background:#1e1913}
.admin-row{display:grid;grid-template-columns:1fr 1.45fr .63fr;gap:.7rem;align-items:center;padding:.8rem 0;border-top:1px solid #534631}
.admin-row img{max-width:90px;max-height:70px;object-fit:contain}
.admin-page label [type=checkbox]{width:1.35rem;min-height:1.35rem;accent-color:#ffc045}
.admin-page .admin-panel button{min-height:44px;border:1px solid #8b724e;background:#2c2214;color:#ffe4ac;border-radius:.6rem;padding:.45rem .75rem}
.admin-save{margin-top:1rem}
@media(max-width:560px){.admin-row{grid-template-columns:1fr 1fr}.item-edit label:nth-child(2){grid-column:1/-1}.menu-product{gap:.4rem}.menu-product img{width:2.25rem;height:2.25rem}}
@media(max-width:400px){#checkout{grid-template-columns:1fr}}
.admin-links{display:flex;flex-wrap:wrap;gap:.8rem}
.phone-preview{display:block;width:min(100%,390px);height:min(720px,78dvh);min-height:380px;border:0;border-radius:1.15rem;margin:1rem auto;background:#14120e;box-shadow:0 0 0 1px #5c4d38}
.order-dialog{max-width:none}
#checkout{grid-template-columns:repeat(2,minmax(0,1fr))}
.order-dialog .dialog-head h2,.order-dialog .item>span:first-child{min-width:0;overflow-wrap:anywhere}
.order-dialog .dialog-head form{flex:none}
.order-dialog .dialog-head button{padding-inline:.55rem}
.order-dialog .order-totals dt,.order-dialog .order-totals dd{min-width:0;overflow-wrap:anywhere}
.order-dialog .qty{flex:none}
.phone-preview{width:390px;max-width:100%}
@media(max-width:400px){
 #checkout{grid-template-columns:minmax(0,1fr)}
 .order-dialog{padding:.85rem}
 .order-dialog .dialog-head{align-items:start}
 .order-dialog .dialog-head h2{font-size:1.35rem}
}
