:root {color-scheme:dark;--bg:#090c13;--surface:#121722;--surface2:#181e2b;--line:#2a3241;--muted:#99a4b7;--text:#f4f6fb;--aqua:#a0f2d0;--aqua2:#5ad7a3;--danger:#fb8b94;--radius:18px;font-synthesis:none}
* {box-sizing:border-box} body{margin:0;background:radial-gradient(ellipse 850px 450px at 70% -150px,#1a3641 0%,transparent 85%),var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--text);min-height:100vh} a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}img{max-width:100%}.shell{max-width:1120px;margin:0 auto;padding-left:24px;padding-right:24px}.topbar{border-bottom:1px solid #242d3b;background:#0c1019cc;backdrop-filter:blur(12px)}.nav{display:flex;justify-content:space-between;align-items:center;height:82px;gap:16px}.logo{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;letter-spacing:-1.4px}.logo-icon{display:flex;align-items:center;justify-content:center;background:var(--aqua);color:#091c19;width:37px;height:37px;border-radius:12px;font-size:27px}.logo-accent{color:var(--aqua)}.logo small{display:block;font-size:9px;letter-spacing:2px;font-weight:700;color:var(--muted);margin-top:-3px}.nav-right{display:flex;gap:28px;align-items:center;color:#c9d1dd;font-weight:600;font-size:13px}.nav-right a:hover,.crumb a:hover,.back-link:hover{color:var(--aqua)}.nav-admin{border:1px solid #344052;padding:9px 14px;border-radius:10px}.page{min-height:calc(100vh - 160px);padding-top:55px;padding-bottom:80px}.intro{text-align:center;margin:8px auto 44px}.intro h1{font-size:clamp(39px,6vw,67px);letter-spacing:-2.4px;line-height:1.09;max-width:720px;margin:21px auto 18px}.intro em,.compact-intro em{color:var(--aqua);font-style:normal}.intro p,.compact-intro p{font-size:16px;color:var(--muted);margin:0}.eyebrow{color:var(--aqua2);font-weight:750;font-size:11px;letter-spacing:2px;text-transform:uppercase}.pulse{display:inline-block;border-radius:50%;width:8px;height:8px;background:var(--aqua2);box-shadow:0 0 15px var(--aqua2);margin-right:7px}.steps{display:flex;justify-content:center;align-items:center;max-width:690px;margin:0 auto 55px;gap:12px;color:#778295}.step{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap;font-weight:650}.step b{font-size:11px;width:24px;height:24px;border:1px solid #3b4351;border-radius:50%;display:flex;align-items:center;justify-content:center}.step.now{color:var(--aqua)}.step.now b{border-color:var(--aqua);background:#173529}.step.done{color:#c2cbd6}.step.done b{background:#24392f;border-color:var(--aqua2);color:var(--aqua)}.step-line{height:1px;width:35px;background:#3b4351}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.section-title h2{font-size:29px;letter-spacing:-.9px;margin:8px 0 6px}.section-title p{color:var(--muted);margin:0;font-size:14px}.count-pill{white-space:nowrap;border:1px solid #334139;border-radius:20px;background:#17251f;color:var(--aqua);padding:8px 14px;font-size:12px;font-weight:700}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.choice-card{display:flex;gap:18px;align-items:center;min-height:134px;padding:27px 24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);transition:.2s}.choice-card:hover,.product-card:hover{border-color:#519678;transform:translateY(-3px);box-shadow:0 15px 45px #0003}.choice-icon,.table-icon{display:grid;place-items:center;width:55px;height:55px;flex:none;border-radius:14px;background:#21382e;color:var(--aqua);font-size:27px}.choice-info{min-width:0;flex:1}.choice-info h3{margin:0 0 7px;font-size:20px;letter-spacing:-.4px}.choice-info p{margin:0;color:var(--muted);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.circle-arrow{display:grid;place-items:center;border:1px solid #445449;border-radius:50%;width:30px;height:30px;color:var(--aqua);flex:none}.empty{text-align:center;padding:65px 25px;border:1px dashed #394354;border-radius:var(--radius);background:#121723}.empty-symbol{font-size:44px;color:var(--aqua)}.empty h3{margin:9px 0 8px;font-size:22px}.empty p{color:var(--muted);margin:0 0 22px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid transparent;border-radius:11px;padding:12px 18px;font-size:13px;font-weight:750;white-space:nowrap;min-height:44px;transition:.15s}.btn.primary{background:var(--aqua);color:#07251a}.btn.primary:hover{background:#c5ffe6}.btn.ghost{background:#161e2a;color:#e5e9f0;border-color:#313b4a}.btn.ghost:hover{border-color:#76988a}.btn.danger{background:#35212b;color:#ffbec4;border-color:#563741}.btn.danger:hover{background:#4d242e}.btn.tiny{min-height:32px;padding:7px 11px;border-radius:8px;font-size:12px}.btn.wide{width:100%}.back-link{display:inline-block;color:var(--muted);margin-top:30px;font-size:13px;font-weight:700}.crumb{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin-bottom:35px;flex-wrap:wrap}.crumb strong{color:var(--text)}.compact-intro{margin-bottom:34px}.compact-intro h1{font-size:clamp(37px,5vw,55px);letter-spacing:-2px;margin:12px 0 12px}.compact-intro.center{text-align:center}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.2s}.product-image{position:relative;height:205px;background:var(--surface2)}.product-image img{width:100%;height:100%;object-fit:cover}.stock-tag{position:absolute;top:12px;left:12px;background:#173f30e8;color:#b2ffce;padding:7px 10px;font-size:11px;font-weight:700;border-radius:7px}.product-card-body{padding:20px}.product-card-body h3{margin:0 0 7px;font-size:18px}.product-card-body p{color:var(--muted);font-size:13px;margin:0 0 17px;line-height:1.4;min-height:37px}.product-meta{display:flex;justify-content:space-between;gap:9px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.product-meta span{display:flex;flex-direction:column;gap:5px}.product-meta small,.detail-specs small{font-size:10px;color:var(--muted);letter-spacing:1px;font-weight:800}.product-meta b{font-size:13px}.card-action{display:flex;justify-content:space-between;align-items:center;color:var(--aqua);font-size:13px;font-weight:750;margin-top:16px}.product-detail{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}.detail-image{background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;min-height:360px}.detail-image img{width:100%;height:410px;object-fit:contain}.detail-content h1{font-size:45px;letter-spacing:-2px;margin:14px 0 18px}.detail-content>p{line-height:1.7;color:var(--muted)}.detail-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:28px 0}.detail-specs>div{display:flex;flex-direction:column;gap:9px;background:var(--surface);padding:15px;border:1px solid var(--line);border-radius:12px}.detail-specs strong{font-size:13px}.subnote{font-size:12px;text-align:center;color:var(--muted)!important}.checkout{display:flex;gap:32px;max-width:850px;margin:0 auto;padding:24px;border:1px solid var(--line);background:var(--surface);border-radius:22px}.checkout>img{width:220px;height:240px;object-fit:cover;border-radius:14px}.checkout-main{flex:1}.checkout-main h2{margin:12px 0 24px}.status-tag{font-size:11px;color:#ffdba0;padding:6px 9px;background:#463523;border-radius:8px}.checkout-row{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.checkout-row span{color:var(--muted)}.notice{padding:15px;border:1px solid #5a4730;background:#2c241b;border-radius:10px;color:#e9c9a5;font-size:12px;line-height:1.6;margin:18px 0}.footer{display:flex;justify-content:space-between;gap:14px;padding-top:22px;padding-bottom:27px;border-top:1px solid #27303d;font-size:11px;color:#69788b}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:30px}.admin-top h1,.form-head h1{font-size:40px;letter-spacing:-1.5px;margin:10px 0 8px}.admin-top p,.form-head p{color:var(--muted);margin:0;font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:48px}.stats>div{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:7px}.stats span{font-size:11px;color:var(--muted);letter-spacing:1.5px;font-weight:750}.stats b{font-size:37px;letter-spacing:-1px}.admin-title{margin-bottom:18px}.admin-table{border:1px solid var(--line);background:var(--surface);border-radius:17px;overflow:hidden}.admin-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 21px;border-bottom:1px solid var(--line)}.admin-row:last-child{border:0}.item-link{display:flex;align-items:center;gap:15px;min-width:0;flex:1}.item-link strong{display:block;margin-bottom:5px;font-size:14px}.item-link small{display:block;color:var(--muted);font-size:12px}.table-icon{width:42px;height:42px;font-size:22px}.table-thumb{width:54px;height:54px;object-fit:cover;border-radius:9px}.row-buttons{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.row-buttons form{margin:0}.table-empty{padding:40px;text-align:center;color:var(--muted)}.admin-footnote{font-size:12px;color:var(--muted);margin-top:15px}.login-wrap{display:grid;place-items:center;min-height:570px}.login-card{width:min(100%,430px);padding:35px;border:1px solid var(--line);background:var(--surface);border-radius:22px;box-shadow:0 20px 100px #0004}.login-badge{height:50px;width:50px;border-radius:15px;background:#20392d;color:var(--aqua);display:grid;place-items:center;font-size:25px;margin-bottom:25px}.login-card h1{margin:9px 0;font-size:33px;letter-spacing:-1px}.login-card p{color:var(--muted);font-size:13px;margin-bottom:28px}.login-card label,.field label{display:block;font-size:13px;font-weight:750;margin-bottom:9px}.login-card input,.field input,.field textarea{display:block;width:100%;border:1px solid #384457;border-radius:10px;background:#0c111b;color:var(--text);padding:13px 14px;outline:0}.login-card input:focus,.field input:focus,.field textarea:focus{border-color:var(--aqua2);box-shadow:0 0 0 3px #6df5b51a}.login-card .btn{margin-top:19px}.form-error{background:#3d1e24;border:1px solid #8f3848;padding:13px;border-radius:9px;font-size:12px;margin-bottom:15px}.form-head{max-width:660px;margin:0 auto 26px}.form-head .back-link{margin:0 0 32px}.edit-form{max-width:660px;margin:auto;background:var(--surface);border:1px solid var(--line);padding:31px;border-radius:20px}.field{margin-bottom:22px}.field small{display:block;margin:9px 0;color:var(--muted);font-size:11px}.field textarea{resize:vertical}.two-col{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.check-row{display:flex;align-items:center;gap:10px;margin:18px 0 25px;color:#d4dce8;font-size:13px}.check-row input{accent-color:#5ad7a3;width:17px;height:17px}.form-actions{display:flex;align-items:center;gap:12px}.edit-preview{display:block;width:150px;max-height:130px;object-fit:cover;border-radius:10px;margin-bottom:10px}
@media(max-width:800px){.choice-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail{grid-template-columns:1fr;gap:22px}.detail-image{min-height:unset}.detail-image img{height:280px}.admin-row{align-items:flex-start;flex-direction:column}.row-buttons{align-self:stretch}.checkout{flex-direction:column}.checkout>img{width:100%;height:210px}.steps{gap:6px}.step-line{width:16px}}
@media(max-width:520px){.shell{padding-left:17px;padding-right:17px}.page{padding-top:35px}.nav{height:67px}.logo{font-size:21px}.nav-right{gap:10px;font-size:11px}.nav-admin{padding:7px 9px}.intro{margin-bottom:30px}.intro h1{letter-spacing:-1.2px}.steps{margin-bottom:36px}.step{gap:4px;font-size:10px}.step b{width:19px;height:19px;font-size:10px}.step-line{width:9px}.section-title h2{font-size:25px}.choice-card{min-height:120px;padding:18px;gap:13px}.choice-icon{width:45px;height:45px}.product-grid{grid-template-columns:1fr}.product-image{height:250px}.compact-intro h1{font-size:39px}.admin-top{align-items:flex-start;flex-direction:column}.admin-top h1,.form-head h1{font-size:34px}.stats{gap:8px;margin-bottom:28px}.stats>div{padding:14px}.stats b{font-size:29px}.stats span{font-size:9px}.two-col{grid-template-columns:1fr;gap:0}.edit-form{padding:22px}.footer{flex-direction:column}.detail-specs{grid-template-columns:repeat(2,1fr)}}
/* Bread-shop-specific screens: text-only customer choices, no storefront images. */
.weight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.weight-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);display:flex;flex-direction:column;gap:12px;padding:28px;transition:transform .2s,border-color .2s}.weight-card:hover{transform:translateY(-3px);border-color:var(--aqua2)}.weight-mark{color:var(--aqua);font-size:28px}.weight-number{font-size:38px;font-weight:800;letter-spacing:-1px}.weight-number small{font-size:15px;font-weight:500;color:var(--muted)}.weight-price{color:var(--aqua);font-weight:700}.weight-action{border-top:1px solid var(--line);padding-top:16px;margin-top:10px;color:#e9eff5;font-size:13px;font-weight:700}.confirm-box{max-width:560px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:36px;margin:0 auto}.confirm-box h2{font-size:32px;margin:14px 0 20px}.confirm-box p{color:var(--muted);line-height:1.6;margin:27px 0 17px}.confirm-box .btn{margin-top:10px}.checkout-preview{max-width:850px;margin:0 auto;display:grid;grid-template-columns:minmax(235px,.9fr) 1.2fr;gap:24px;border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:28px}.checkout-preview-left{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border-radius:14px;background:var(--surface2);padding:22px}.qr-placeholder{min-height:220px;width:100%;border:1px dashed #455365;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;padding:15px}.qr-icon{font-size:48px;color:var(--aqua2)}.qr-placeholder strong{font-size:14px}.qr-placeholder small{font-size:12px;color:var(--muted)}.countdown-label{text-align:center;color:var(--muted);font-size:12px;margin-top:16px}.countdown{font-size:38px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:1px}.checkout-main h2{font-size:27px;margin:16px 0 28px}.checkout-main .notice{margin-top:23px}.checkout-main .btn{margin-top:16px}@media(max-width:720px){.checkout-preview{grid-template-columns:1fr}.weight-grid{grid-template-columns:1fr}.steps{gap:5px}.step{font-size:10px;gap:4px}.step b{width:20px;height:20px}.step-line{width:7px}}
/* Private per-picture stock management, admin only. */
.admin-inventory{max-width:850px;margin:50px auto}.picture-inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:15px}.picture-inventory-card{border:1px solid var(--line);border-radius:13px;background:var(--surface);padding:10px;overflow:hidden}.picture-inventory-card img{width:100%;height:140px;object-fit:cover;border-radius:9px}.picture-inventory-info{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:11px;color:var(--muted);padding-top:10px}.picture-inventory-info span{overflow-wrap:anywhere}.picture-inventory-info form{margin:0}
/* Question 1: available and temporarily reserved locations only. */
.availability-summary{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:19px}
.stock-badge{display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:750;line-height:1.4;padding:5px 10px;border-radius:999px;border:1px solid transparent;margin-top:10px}
.stock-badge.available{color:var(--aqua);border-color:#315d4c;background:#173428}
.stock-badge.reserved{color:#f5cf9e;border-color:#785c36;background:#37291b}
.choice-card-reserved{border-color:#524432;opacity:.82;cursor:default}
.choice-card-reserved:hover{transform:none;box-shadow:none;border-color:#524432}
.reservation-note{font-size:12px!important;color:#dbc39f!important;margin-top:9px!important}
/* Two-choice welcome, simple customer accounts, and short order references. */
.entry-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:940px;margin:30px auto 70px}.entry-choice{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:34px;display:flex;flex-direction:column;gap:17px}.entry-choice h2{font-size:28px;margin:0}.entry-choice p{color:var(--muted);line-height:1.6;flex:1;margin:0}.entry-icon{font-size:38px;color:var(--aqua)}.account-note{font-size:13px;margin-top:17px!important;margin-bottom:0!important}.account-note a{color:var(--aqua)}.order-number-card{background:var(--surface2);border:1px solid var(--line);padding:20px;border-radius:14px;margin-bottom:24px;display:flex;flex-direction:column;gap:6px}.order-number-card small{color:var(--muted);letter-spacing:1.2px;font-weight:750}.order-number-card strong{color:var(--aqua);font-size:27px;letter-spacing:1px}.order-number-card p{color:var(--muted);font-size:12px;margin:0}.order-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0}.order-search label{font-size:13px;font-weight:700}.order-search input,.private-order-url{border:1px solid #384457;background:#0c111b;color:var(--text);padding:12px;border-radius:9px;min-width:240px;max-width:100%}.private-order-url{width:100%;margin:18px 0;min-width:0}.nav-right a{white-space:nowrap}@media(max-width:740px){.entry-options{grid-template-columns:1fr}.entry-choice{padding:24px}.order-search input{width:100%}}

/* Role-aware navigation; keep logout a POST protected by the session CSRF token. */
.nav{min-height:82px;height:auto;padding-top:12px;padding-bottom:12px}
.nav-right{gap:18px;flex-wrap:wrap;justify-content:flex-end}
.nav-logout{display:inline-flex;margin:0}
.nav-logout button{border:1px solid #344052;padding:9px 14px;border-radius:10px;background:transparent;color:#c9d1dd;font:inherit;font-weight:600;cursor:pointer}
.nav-logout button:hover{border-color:var(--aqua);color:var(--aqua)}
@media(max-width:780px){.nav{flex-wrap:wrap}.nav-right{width:100%;justify-content:flex-start;gap:14px}}

/* ==============================================================
   Bread Shops • Responsive design polish (visual-only update)
   Keeps all existing templates, URLs, forms and JS behavior.
   ============================================================== */
:root {
  --bg: #090e16;
  --surface: #131b27;
  --surface2: #1b2634;
  --line: #303d4d;
  --muted: #a6b3c3;
  --text: #f6f9fc;
  --aqua: #a5f3d2;
  --aqua2: #66dbb4;
  --danger: #ffb0b6;
  --radius: 20px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,.13);
  --shadow-raised: 0 18px 42px rgba(0,0,0,.22);
  --focus-ring: 0 0 0 3px rgba(165,243,210,.29);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-size: 15px;
  line-height: 1.58;
  background:
    radial-gradient(ellipse 840px 470px at 50% -230px, rgba(53,139,116,.22), transparent 80%),
    radial-gradient(ellipse 560px 450px at 105% 22%, rgba(43,75,110,.08), transparent 75%),
    var(--bg);
  overflow-wrap: break-word;
}
::selection { background: #448f74; color: #fff; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--aqua2);
  outline-offset: 3px;
}
button:disabled, .btn:disabled { cursor: not-allowed; opacity: .58; }
button, input, textarea, select { font: inherit; }
input, textarea, select { color: var(--text); }
img { max-width: 100%; }
.shell { width: 100%; max-width: 1200px; padding-inline: clamp(16px, 4vw, 42px); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10,15,24,.94);
  border-bottom: 1px solid rgba(148,163,184,.14);
  box-shadow: 0 5px 30px rgba(0,0,0,.08);
}
@supports (backdrop-filter: blur(14px)) {
  .topbar { backdrop-filter: blur(14px); }
}
.nav { gap: 24px; min-height: 76px; padding-block: 12px; }
.logo { flex-shrink: 0; font-size: 24px; line-height: 1.13; letter-spacing: -1.1px; }
.logo-icon { width: 43px; height: 43px; border-radius: 14px; font-size: 28px; }
.logo small { margin-top: 2px; line-height: 1.25; font-size: 9px; letter-spacing: 1.55px; }
.nav-right { gap: clamp(10px, 1.5vw, 22px); font-size: 13px; line-height: 1.2; }
.nav-right > a, .nav-right > form button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  border-radius: 10px;
  transition: color .18s, border-color .18s, background .18s;
}
.nav-right > a:hover { color: var(--aqua); }
.nav-right > a:focus-visible, .nav-right > form button:focus-visible { outline-offset: 1px; }
.nav-right > form button { padding: 10px 14px; }
.page { padding-block: clamp(32px, 4.4vw, 60px) clamp(60px, 7vw, 96px); min-height: calc(100vh - 165px); }
.intro { margin: clamp(0px, 2vw, 14px) auto clamp(26px, 3.2vw, 48px); }
.intro h1 {
  font-size: clamp(40px, 5.1vw, 70px);
  max-width: 920px;
  letter-spacing: -.052em;
  line-height: 1.075;
  text-wrap: balance;
  margin-block: 20px 18px;
}
.intro p { max-width: 720px; margin-inline: auto; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.72; }
.eyebrow { font-size: 11px; letter-spacing: .17em; }
.compact-intro { margin-bottom: 28px; }
.compact-intro h1 { font-size: clamp(34px, 4.4vw, 59px); letter-spacing: -.044em; line-height: 1.1; text-wrap: balance; }
.compact-intro p, .section-title p, .admin-top p, .form-head p { font-size: 14px; line-height: 1.65; }
.compact-intro.center p { max-width: 720px; margin-inline: auto; }
.section-title { align-items: end; margin-bottom: 22px; }
.section-title h2 { font-size: clamp(23px, 2.5vw, 32px); letter-spacing: -.035em; line-height: 1.2; }
.section-title p { max-width: 690px; }
.crumb { margin-bottom: 28px; gap: 12px; line-height: 1.5; }
.count-pill { font-size: 12px; padding: 8px 13px; }
.steps { margin-bottom: clamp(30px, 4.5vw, 58px); flex-wrap: wrap; row-gap: 10px; }
.step { font-size: 12px; }
.step b { width: 28px; height: 28px; }
.step-line { width: clamp(15px, 2.2vw, 36px); }
.choice-grid { gap: 18px; }
.choice-card {
  position: relative;
  min-width: 0;
  min-height: 154px;
  padding: clamp(20px, 2.7vw, 29px);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #19222f 0%, #131b27 95%);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.choice-card:hover, .weight-card:hover { box-shadow: var(--shadow-raised); }
.choice-card:focus-visible, .weight-card:focus-visible, .entry-choice a:focus-visible { box-shadow: var(--focus-ring); }
.choice-info h3 { font-size: clamp(18px, 2vw, 22px); line-height: 1.2; }
.choice-info p { font-size: 13px; line-height: 1.55; }
.choice-icon { border: 1px solid rgba(165,243,210,.09); border-radius: 16px; }
.circle-arrow { width: 34px; height: 34px; transition: transform .2s; }
.choice-card:hover .circle-arrow { transform: translateX(3px); }
.stock-badge { padding: 6px 12px; font-size: 11px; letter-spacing: .01em; }
.choice-card-reserved { box-shadow: none; opacity: .88; }
.availability-summary { margin-bottom: 22px; }
.empty { padding: clamp(48px, 6vw, 78px) 22px; box-shadow: inset 0 2px 40px rgba(0,0,0,.12); }
.empty h3 { font-size: 23px; }
.btn {
  border-radius: 12px;
  min-height: 46px;
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  max-width: 100%;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn.primary { box-shadow: 0 5px 20px rgba(74,190,146,.12); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(74,190,146,.20); }
.btn.ghost { background: #202a38; }
.btn.ghost:hover { background: #263447; }
.btn.tiny { min-height: 38px; padding: 8px 12px; }
.btn:active { transform: translateY(1px); }
/* Landing page: comfortable two-column layout without oversized whitespace. */
.entry-options { max-width: 1060px; gap: 22px; margin: 30px auto 40px; align-items: stretch; }
.entry-choice {
  min-width: 0;
  min-height: 355px;
  padding: clamp(26px, 3.3vw, 42px);
  gap: 16px;
  border-color: #344153;
  border-radius: 24px;
  background: linear-gradient(145deg, #1b2432 0%, #121a26 100%);
  box-shadow: var(--shadow-soft);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.entry-choice:hover { border-color: #527f70; transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.entry-icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 17px;
  font-size: 33px;
  background: #253e36;
  border: 1px solid #355f4f;
}
.entry-choice h2 { font-size: clamp(23px, 2.7vw, 30px); letter-spacing: -.04em; margin: 4px 0 0; }
.entry-choice p { font-size: 14px; line-height: 1.7; }
.entry-choice .btn + .btn { margin-top: -4px; }
/* Selection cards: prices and stock remain text-only on the public store. */
.weight-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.weight-card {
  padding: clamp(23px, 2.8vw, 34px);
  border-radius: 22px;
  gap: 13px;
  min-height: 300px;
  background: linear-gradient(155deg, #1c2634 0%, #121a25 100%);
  box-shadow: var(--shadow-soft);
}
.weight-number { font-size: clamp(34px, 3.1vw, 45px); line-height: 1.18; letter-spacing: -.045em; }
.weight-number small { font-size: 14px; }
.weight-price { font-size: 15px; font-variant-numeric: tabular-nums; }
.weight-action { margin-top: auto; }
.rate-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 20px; }
/* Order confirmation and checkout, including QR and long LTC addresses. */
.confirm-box {
  max-width: 650px;
  padding: clamp(24px, 4vw, 43px);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.confirm-box h2 { font-size: clamp(26px, 3vw, 35px); line-height: 1.2; }
.confirm-box .checkout-row strong, .checkout-preview .checkout-row b { text-align: right; }
.checkout-preview {
  max-width: 1040px;
  grid-template-columns: minmax(255px, .9fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(18px, 3vw, 36px);
  border-radius: 25px;
  box-shadow: var(--shadow-soft);
}
.checkout-preview-left {
  justify-content: flex-start;
  padding: clamp(16px, 2.5vw, 27px);
  background: linear-gradient(170deg, #202e39, #17222f);
  border: 1px solid rgba(165,243,210,.07);
}
.qr-placeholder { min-height: 240px; width: 100%; background: #f8fafc; border: 1px solid #d8e2e9; color: #182333; }
.qr-placeholder img {
  display: block;
  width: min(100%, 250px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
}
.qr-placeholder small { color: #4b5a68; }
.qr-icon { color: #238b68; }
.checkout-main { min-width: 0; }
.checkout-main h2 { font-size: clamp(24px, 2.7vw, 32px); margin-block: 12px 20px; overflow-wrap: anywhere; }
.checkout-main label { display: block; margin: 17px 0 8px; color: var(--muted); font-size: 12px; font-weight: 750; }
.checkout-main input, .form-card input, .form-card textarea, .form-card select,
.order-search input, .private-order-url {
  display: block;
  max-width: 100%;
  border: 1px solid #445268;
  background: #0e1622;
  color: var(--text);
  border-radius: 12px;
  padding: 13px 15px;
  min-height: 46px;
  font-size: 14px;
  outline: none;
}
.checkout-main input { width: 100%; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.checkout-main input:focus, .form-card input:focus, .form-card textarea:focus,
.order-search input:focus { border-color: var(--aqua2); box-shadow: var(--focus-ring); }
.checkout-row { font-size: 14px; gap: 18px; align-items: baseline; line-height: 1.5; }
.checkout-row span { flex-shrink: 0; }
.checkout-row b, .checkout-row strong { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.order-number-card { padding: 18px 22px; margin-block: 17px 21px; border-radius: 15px; }
.order-number-card strong { font-size: clamp(23px, 2.5vw, 30px); letter-spacing: .03em; }
.notice { color: #f5d6ac; line-height: 1.65; padding: 16px 18px; border-radius: 13px; font-size: 13px; }
.countdown { font-size: clamp(36px, 4.4vw, 51px); letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.countdown-label { font-size: 12px; }
/* Admin pages: compact but readable rows, forms and long order identifiers. */
.admin-page .admin-top { margin-bottom: 30px; }
.admin-top h1, .form-head h1 { font-size: clamp(30px, 3.7vw, 46px); letter-spacing: -.045em; line-height: 1.12; }
.admin-top > div:first-child { min-width: 0; }
.admin-top p { max-width: 750px; }
.stats { gap: 16px; margin-bottom: 34px; }
.stats > div {
  min-width: 0;
  padding: clamp(19px, 2.8vw, 28px);
  background: linear-gradient(145deg, #1b2532, #121b26);
  border-radius: 19px;
  box-shadow: var(--shadow-soft);
}
.stats span { font-size: 11px; line-height: 1.55; letter-spacing: .1em; }
.stats b { font-size: clamp(27px, 3.4vw, 41px); line-height: 1.25; font-variant-numeric: tabular-nums; }
.admin-table { border-radius: 19px; box-shadow: var(--shadow-soft); }
.admin-row { padding: clamp(15px, 2vw, 22px); gap: 18px; }
.item-link { min-width: 0; align-items: center; }
.item-link > span:last-child { display: block; min-width: 0; max-width: 100%; }
.item-link strong { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.item-link small { line-height: 1.65; overflow-wrap: anywhere; word-break: break-word; }
.item-link small a { text-decoration: underline; text-decoration-color: #5c897e; text-underline-offset: 3px; }
.table-icon { flex-shrink: 0; min-width: 44px; padding-inline: 8px; width: auto; max-width: 190px; font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
.table-thumb { flex-shrink: 0; width: 58px; height: 58px; }
.row-buttons { justify-content: flex-end; }
.row-buttons .btn { white-space: normal; }
.form-card, .edit-form, .login-card {
  background: linear-gradient(155deg, #1a2430, #121a26);
  border: 1px solid var(--line);
  border-radius: 21px;
  box-shadow: var(--shadow-soft);
}
.form-card { padding: clamp(20px, 3vw, 32px); margin: 0 0 25px; }
.form-card h2 { margin: 0 0 17px; letter-spacing: -.03em; font-size: clamp(21px, 2.4vw, 28px); }
.form-card p { color: var(--muted); line-height: 1.7; }
.form-card label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 9px; }
.form-card textarea { width: 100%; min-height: 135px; resize: vertical; }
.form-card form > button, .form-card form > .btn { margin-top: 12px; }
.form-card code, .admin-table code { overflow-wrap: anywhere; word-break: break-all; }
.edit-form { padding: clamp(21px, 3vw, 37px); }
.field label, .login-card label { font-size: 13px; }
.field input, .field textarea, .login-card input { min-height: 46px; font-size: 14px; }
.field input[type="file"] { padding: 10px; }
.field input[type="file"]::file-selector-button {
  background: #2b3b47; color: var(--text); border: 1px solid #506276;
  border-radius: 8px; padding: 8px 12px; margin-right: 12px; cursor: pointer;
}
.login-wrap { min-height: min(640px, 70vh); padding: 20px 0; }
.login-card { width: min(100%, 480px); padding: clamp(23px, 4vw, 43px); }
.login-card h1 { font-size: clamp(29px, 3vw, 38px); }
.login-card p { line-height: 1.6; }
.login-card .btn { margin-top: 23px; }
.account-note { line-height: 1.6; }
.picture-inventory-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); gap: 16px; }
.picture-inventory-card { padding: 12px; border-radius: 16px; }
.picture-inventory-card img { aspect-ratio: 4 / 3; height: auto; }
.picture-inventory-info { flex-wrap: wrap; gap: 8px; }
.order-search { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 18px; }
.order-search input { flex: 1 1 220px; }
.order-search label { flex: 1 1 100%; }
.order-search .btn { flex-shrink: 0; }
.footer { margin-top: 0; font-size: 12px; color: #a0adbf; align-items: center; }
/* Do not force a horizontal page scrollbar on narrow phones. */
@media (max-width: 920px) {
  .nav { flex-wrap: wrap; row-gap: 3px; }
  .nav-right {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 17px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #435565 transparent;
    padding-bottom: 3px;
  }
  .nav-right > a, .nav-right > form { flex: 0 0 auto; }
  .nav-right > a { padding-inline: 4px; }
  .entry-options { gap: 15px; }
  .admin-top { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .page { padding-top: 31px; padding-bottom: 64px; }
  .entry-options, .choice-grid { grid-template-columns: 1fr; }
  .entry-choice { min-height: unset; padding: 26px; }
  .intro { margin-bottom: 28px; }
  .intro h1 { margin: 17px auto; }
  .checkout-preview { grid-template-columns: 1fr; padding: 17px; gap: 20px; }
  .checkout-preview-left { padding: 22px; }
  .checkout-main { padding: 0 3px 6px; }
  .qr-placeholder { min-height: 200px; }
  .weight-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }
  .weight-card { min-height: 260px; }
  .admin-row { flex-direction: column; align-items: stretch; }
  .row-buttons { justify-content: flex-start; align-self: auto; }
  .form-actions { flex-wrap: wrap; }
  .form-actions > * { flex: 1 1 auto; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stats > div { padding: 15px; }
  .stats span { font-size: 10px; }
  .stats b { font-size: clamp(21px, 5vw, 31px); }
  .steps { justify-content: flex-start; margin-inline: 0; }
  .order-search .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .shell { padding-inline: 16px; }
  .nav { padding-block: 11px; }
  .logo { font-size: 22px; }
  .logo-icon { height: 39px; width: 39px; border-radius: 12px; }
  .logo small { font-size: 8px; }
  .nav-right { gap: 14px; font-size: 12px; }
  .page { padding-top: 25px; }
  .intro h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .compact-intro h1 { font-size: clamp(33px, 9vw, 46px); }
  .choice-card { padding: 18px; gap: 12px; }
  .choice-icon { width: 47px; height: 47px; font-size: 24px; }
  .choice-info h3 { font-size: 19px; }
  .circle-arrow { width: 29px; height: 29px; }
  .steps { gap: 7px; }
  .step { font-size: 10px; gap: 5px; }
  .step b { width: 22px; height: 22px; }
  .step-line { width: 9px; }
  .entry-choice { padding: 22px; border-radius: 18px; }
  .entry-icon { width: 51px; height: 51px; }
  .section-title { align-items: flex-start; flex-wrap: wrap; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 78px; }
  .stats b { font-size: 30px; }
  .checkout-row { gap: 12px; font-size: 13px; }
  .checkout-row span { flex-shrink: 1; }
  .order-number-card { padding: 17px; }
  .order-number-card strong { font-size: 24px; }
  .login-wrap { padding: 0; min-height: auto; }
  .login-card { padding: 23px; }
  .row-buttons .btn { min-height: 40px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; transition-duration: .01ms!important; }
}
