.fp { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; margin-top: 18px; }
@media (max-width: 960px) { .fp { grid-template-columns: 1fr; } .fp .buy { order: -1; position: static; } }
.fh h1 { margin: 8px 0; font-size: clamp(22px, 3.2vw, 34px); word-break: break-word; }
.fh h1 .r { display: block; margin-top: 6px; font-size: .62em; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); }
@media (max-width: 640px) { .crumbs { margin: 14px 0 6px; } .fh h1 { font-size: 22px; margin: 4px 0; } .fh h1 .r { font-size: 16px; margin-top: 3px; line-height: 1.25; } }
.facts { margin-top: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 13.5px; font-weight: 600; } .facts dd { margin: 0; font-weight: 600; word-break: break-word; }
.facts dd.mono { font-size: 15px; } .facts dd a { text-decoration-color: var(--accent); text-underline-offset: 2px; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.buy { position: sticky; top: 84px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  box-shadow: 0 24px 50px -36px rgba(14,17,22,.5); }
.opt { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; margin-bottom: 10px; }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.opt b { display: block; } .opt span { color: var(--muted); font-size: 13.5px; }
.opt .p { margin-left: auto; font: 700 24px var(--display); white-space: nowrap; color: var(--ink); }
.opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 50%, var(--surface)); box-shadow: 0 0 0 3px var(--accent-soft); }
.opt .p small { display: block; font: 600 12.5px Inter, sans-serif; color: var(--muted); text-align: right; }
.optnote { margin: -2px 2px 10px; font-size: 12.5px; line-height: 1.4; color: var(--muted); } .optnote a { font-weight: 600; color: var(--ink-2); white-space: nowrap; }
/* phones: Buy stays on the first screen. The last crumb is the H1 again */
@media (max-width: 640px) { .opt { padding: 9px 12px; margin-bottom: 8px; } .opt .p { font-size: 21px; } .deliv { padding: 8px 12px; margin-bottom: 10px; } .nofund { margin-bottom: 8px; }
  .crumbs > span:last-child, .crumbs > .sep:nth-last-child(2) { display: none; } }
.buy .btn { width: 100%; padding: 15px; font-size: 17px; }
.nofund { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--accent-dark); }
.pays { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.pays span { font: 600 11px Inter; padding: 4px 8px; border-radius: 6px; background: var(--chip); color: var(--muted); }
.deliv { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--chip); margin-bottom: 12px; font-size: 13.5px; }
.secure { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.secure a { color: var(--ink-2); }
.gets { margin-top: 24px; } .gets ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); } .gets li { margin: 4px 0; }
.packbox { margin-top: 20px; padding: 18px; border-radius: var(--radius); background: var(--ink); color: #fff; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.packbox b { font-family: var(--display); font-size: 18px; } .packbox span { color: #B9BEC9; font-size: 14px; }

dialog.bs { width: min(560px, 100vw); max-width: 100vw; max-height: min(92vh, 900px); margin: auto; padding: 0; border: 0; border-radius: 20px;
  background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.55); overflow: auto; overscroll-behavior: contain; }
dialog.bs::backdrop { background: rgba(10,12,16,.6); backdrop-filter: blur(3px); }
@media (max-width: 640px) { dialog.bs { margin: auto 0 0; width: 100vw; border-radius: 20px 20px 0 0; max-height: 94vh; } }
.bs-h { position: sticky; top: 0; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--hero); color: #fff; }
.bs-h .w { min-width: 0; flex: 1; } .bs-h b { display: block; font: 700 16px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-h small { display: block; color: #B9BEC9; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-h .p { font: 700 24px var(--display); color: var(--hi); white-space: nowrap; }
.bs-x { border: 0; background: rgba(255,255,255,.1); color: #fff; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 20px; line-height: 1; flex: none; }
.bs-x:hover { background: rgba(255,255,255,.2); }
.bs-b { padding: 18px; }
.bs-steps { display: flex; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font: 600 12px Inter; color: var(--muted); }
.bs-steps li { flex: 1; padding-top: 7px; border-top: 3px solid var(--line); } .bs-steps li.on { color: var(--ink); border-color: var(--accent); } .bs-steps li.done { border-color: var(--accent); }
.bs label.f { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.bs input[type=email] { width: 100%; padding: 13px 14px; border-radius: 11px; border: 1.5px solid var(--line); font: 500 16px Inter; color: var(--ink); background: var(--surface); margin-bottom: 4px; }
.bs input[type=email]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bs input[aria-invalid=true] { border-color: var(--accent); }
.bs .err { color: var(--accent-dark); font-size: 13px; font-weight: 600; margin: 2px 0 8px; }
.bs .fld { margin-bottom: 10px; }
.chk { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin: 0 0 8px; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.chk input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.chk:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }
.chk.bad { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chk b { font-weight: 700; }
/* what the buyer must see at any scroll: pinned to the sheet's lower edge */
.bs-pin { position: sticky; bottom: 0; z-index: 1; margin: 6px -18px 0; padding: 8px 18px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -10px 18px -14px rgba(0,0,0,.35); }
.final { display: flex; gap: 8px; align-items: center; color: var(--accent-dark); font-size: 13.5px; font-weight: 700; margin: 0 0 6px; }
.bs .btn.go { width: 100%; padding: 13px; font-size: 16px; }
.bs .btn.go[disabled] { opacity: .6; cursor: wait; transform: none; }
.bs .note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 8px 0 0; line-height: 1.5; }
.bs .note a { color: var(--ink-2); }
.bs .cardhelp { text-align: left; margin-top: 12px; }
.lnk { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; cursor: pointer; }
.typo { font-size: 13.5px; color: var(--ink-2); margin: 2px 0 6px; }
.bs .msg { margin: 10px 0 0; padding: 11px 12px; border-radius: 10px; background: #FFF7E6; color: var(--warn); font-size: 13.5px; font-weight: 600; }
.bs .msg.info { background: var(--chip); color: var(--ink-2); }
.bs .closed { padding: 16px; border-radius: 14px; background: var(--chip); }
.bs .closed b { display: block; font: 700 17px var(--display); margin-bottom: 4px; }
.bs .avail { font-size: 13px; color: var(--muted); margin: 0 0 12px; display: flex; gap: 8px; align-items: center; }
.bs .avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.bs .avail.ok::before { background: var(--ok); } .bs .avail.no::before { background: var(--accent); }
.ordno { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.ordno code { font: 700 14px var(--mono); color: var(--ink); background: var(--chip); padding: 4px 8px; border-radius: 8px; user-select: all; }
.cpy { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 4px 9px; font: 600 12.5px Inter; cursor: pointer; color: var(--ink-2); }
.cpy.ok { border-color: var(--ok); color: var(--ok); }
#bs-mount { min-height: 120px; }
.bs .back { border: 0; background: none; color: var(--muted); font: 600 13.5px Inter; cursor: pointer; text-decoration: underline; padding: 6px 0; margin-top: 8px; }
.dup { margin-top: 10px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 13.5px; }
.dup .row2 { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .dup .btn { padding: 9px 14px; font-size: 14px; }

/* the numbers under the H1, and "is this my file?" */
.nchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.nchip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 4px 3px 9px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.nchip small { font: 700 11px Inter, sans-serif; color: var(--muted); letter-spacing: .04em; }
.nchip code { font: 600 14px var(--mono); word-break: break-all; }
.nchip .cpy { padding: 2px 6px; font-size: 12px; flex: none; }
@media (max-width: 640px) { .nchips { gap: 5px; margin-top: 6px; } .nchip { gap: 4px; padding-left: 7px; } .nchip code { font-size: 13px; } .nchip small { font-size: 10.5px; } }
.ncheck { margin: 0 0 14px; }
.ncheck label { display: block; font: 700 14px Inter, sans-serif; margin-bottom: 6px; }
.ncheck-r { display: flex; gap: 8px; }
.ncheck-r input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 11px; border: 1.5px solid var(--line); font: 500 16px var(--mono); color: var(--ink); background: var(--surface); }
.ncheck-r input::placeholder { font-family: Inter, sans-serif; font-size: 14.5px; }
.ncheck-r input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ncheck-r .btn { padding: 10px 16px; }
.ncheck-a { margin-top: 8px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; word-break: break-word; }
.ncheck-a.ok { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ink); }
.ncheck-a.no { background: var(--accent-soft); color: var(--accent-dark); }
.ncheck .guide { margin-top: 8px; font-size: 13.5px; }
.ncheck-s { margin: -6px 0 14px; } .ncheck-s .btn { padding: 8px 14px; font-size: 14px; }
.nnote { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }

/* phones: price and Buy once the buy box has scrolled away */
.sbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -12px 26px -18px rgba(0,0,0,.45); }
.sbar[hidden] { display: none; }
.sbar-w { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.sbar code { font: 600 13px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.sbar b { font: 700 20px var(--display); color: var(--ink); }
.sbar .btn { padding: 11px 26px; }
@media (min-width: 961px) { .sbar { display: none !important; } }
@media (max-width: 960px) { body.has-sbar .ftr { padding-bottom: 84px; } }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[disabled]:hover { background: var(--accent); }
.deliv.closed { font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); }
.eur { font-size: 12.5px; color: var(--muted); text-align: center; margin: 8px 0 0; line-height: 1.45; }
