/* Store widget, order + admin pages — built on the Hi Dood tokens in styles.css */
.store { margin-top: 22px; max-width: 560px; }
.store-demo { display: inline-block; margin: 0 0 12px; padding: 8px 14px; background: var(--sun); border: var(--line); border-radius: 12px; font-weight: 800; color: var(--ink); }
.store-count { font: 700 1.15rem/1.3 var(--body); color: var(--ink); margin: 0 0 12px; }
.store-count strong { font: 700 1.6rem/1 var(--display); }
.store-form { display: grid; gap: 12px; background: var(--white); border: var(--line); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--pop); }
.store-form label { font-weight: 800; color: var(--ink); }
.store-form input[type="email"], .store-form select { font: 700 1rem/1.2 var(--body); color: var(--ink); background: var(--cream); border: var(--line); border-radius: 12px; padding: 10px 12px; min-height: 44px; }
.store-form input:focus-visible, .store-form select:focus-visible, .store-form button:focus-visible { outline: 4px solid #1f5fbf; outline-offset: 2px; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.store-check { display: flex; align-items: flex-start; gap: 10px; }
.store-check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: #D63A6E; flex: none; }
.store-check label { font-weight: 700; }
.store-price { margin: 0; font: 700 1.05rem/1.4 var(--body); color: var(--ink); }
.store-note, .store-fine { margin: 0; font-size: .92rem; font-weight: 700; color: var(--ink-soft); }
.store-status { min-height: 1.4em; margin: 10px 0 0; font-weight: 800; color: var(--ink); }
.store-status.is-error { color: #9b1c3a; }
.store-status.is-ok { color: #1d5e2b; }
.store-soldout { font: 700 1.2rem/1.4 var(--display); }
.store-form button[disabled] { opacity: .6; cursor: progress; }

/* order + admin pages */
.page { min-height: 100vh; background: var(--sky); padding: 32px 16px 64px; }
.card { max-width: 720px; margin: 0 auto; background: var(--white); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--pop); padding: 28px; }
.card h1 { font: 700 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--display); color: var(--ink); margin: 0 0 12px; }
.card p, .card li, .card td, .card th { color: var(--ink); font-weight: 700; }
.plates { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; padding: 0; list-style: none; }
.plates li { font: 700 1.4rem/1 var(--display); background: var(--sun); border: var(--line); border-radius: 14px; padding: 12px 16px; }
.admin table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.admin th, .admin td { border-bottom: 2px solid var(--butter); padding: 8px 6px; text-align: left; vertical-align: top; }
.admin input { font: 700 .95rem/1.2 var(--body); border: 2px solid var(--ink); border-radius: 8px; padding: 6px 8px; min-height: 36px; }
.admin button { font: 800 .95rem/1 var(--body); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; background: var(--sun); cursor: pointer; min-height: 36px; }
.admin .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 18px; }
.summary dt { font-weight: 800; color: var(--ink); } .summary dd { margin: 0; font-weight: 700; color: var(--ink); }
.store-form fieldset { border: 2px solid var(--butter); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; }
.store-form legend { font: 700 1.05rem/1 var(--display); color: var(--ink); padding: 0 6px; }
.store-form input:not([type=checkbox]) { font: 700 1rem/1.2 var(--body); color: var(--ink); background: var(--cream); border: var(--line); border-radius: 12px; padding: 10px 12px; min-height: 44px; width: 100%; box-sizing: border-box; }
.pay-card iframe { border: 0; width: 100%; min-height: 110px; background: transparent; }
