[hidden] { display:none !important; }
.shop { padding-block:clamp(2rem,5vw,5rem); min-height:65vh; }
.shop h1 { font-size:clamp(2.5rem,6vw,5rem); }
.shop h2 { font-size:clamp(1.7rem,4vw,2.8rem); margin-bottom:1.2rem; }
.toolbar, #account, .toolbar nav { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem 1rem; }
.toolbar { margin:2rem 0; padding-block:1rem; justify-content:space-between; border-block:1px solid var(--rule); }
.toolbar nav a[aria-current="page"] { color:#97401d; text-decoration:underline; }
.shop button,.shop select,.shop input,.shop textarea { font:inherit; }
.shop select,.shop input,.shop textarea { padding:.55rem .8rem; background:white; border:1px solid #aaa39c; border-radius:.7rem; max-width:100%; }
.shop select { margin-left:.4rem; }
.shop .action { display:inline-flex; align-items:center; justify-content:center; min-height:44px; cursor:pointer; border:0; border-radius:2rem; padding:.5rem 1.2rem; background:var(--ink); color:white; text-decoration:none; }
.shop .action:hover { background:#753a25; }
.shop button:disabled { opacity:.65; cursor:wait; }
.products { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:1rem; margin-top:1.25rem; }
.shop article, #product-form { padding:1.35rem; border:1px solid var(--rule); border-radius:1.4rem; background:#fffcf8; overflow-wrap:anywhere; }
.shop article { display:grid; align-content:start; justify-items:start; gap:.6rem; }
.shop article p { white-space:pre-line; }
.products article img { display:block; width:100%; aspect-ratio:1.5; object-fit:cover; border-radius:1rem; }
.shop .price { font-weight:750; color:#924020; }
#history,#inventory,#sales { display:grid; gap:.75rem; margin-block:1rem; }
#product-form { max-width:38rem; display:grid; gap:1rem; }
#product-form label { display:grid; gap:.25rem; }
#product-form select { margin:0; }
#product-form button { justify-self:start; }
#notice:not(:empty) { padding:.75rem 1rem; background:#f4dfd0; border-radius:.8rem; margin:1rem 0; }
#account { overflow-wrap:anywhere; }
#checkout-dialog { width:min(36rem,94vw); max-height:90dvh; padding:1.5rem; border:0; border-radius:1.5rem; background:var(--paper); color:var(--ink); }
#checkout-dialog::backdrop { background:#202125aa; }
.checkout-heading { display:flex; justify-content:space-between; align-items:center; }
.checkout-heading h2 { font-size:2rem; }
.checkout-heading button { min-height:44px; padding:0 1rem; background:var(--ink); border:0; color:white; border-radius:2rem; cursor:pointer; }
#checkout-summary { margin:1rem 0; font-weight:650; }
