/* glow3d account + cart pages (signin, account, reset, cart). Same dark theme, fonts and nav as about.html. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #08080c; color: #f0f0f2; font-family: 'Inter', sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
nav { padding: 1.5rem 3rem; display: flex; justify-content: space-between; align-items: center; background: rgba(8,8,12,0.8); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-logo { font-size: 1.4rem; background: linear-gradient(90deg, #00e5ff, #ff6b4a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
.nav-links a { color: #ccc; text-decoration: none; margin-left: 2rem; }
.nav-links a:hover { color: #00e5ff; }

.page { width: 100%; max-width: 980px; margin: 0 auto; padding: 4.5rem 2rem 5rem; flex: 1; }
.page.narrow { max-width: 480px; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.35em; text-transform: uppercase; color: #888; font-weight: 300; margin-bottom: 0.9rem; }
/* page headings: The Collection gradient (catalog.html .page-wordmark h1) */
h1 { width: fit-content; max-width: 100%; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 300; line-height: 1.15; margin-bottom: 1.6rem; background: linear-gradient(90deg, #00e5ff 0%, #5af0ff 35%, #ffd0b0 65%, #ff6b4a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.page > .page-wordmark.wm-catalog { margin-bottom: 1.6rem; } /* live v151 heading markup: room before the page text */
h2 { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: #888; font-weight: 400; margin-bottom: 1.2rem; }
p { color: #bbb; line-height: 1.7; font-weight: 300; }
a { color: #00e5ff; }
.muted { color: #888; font-size: 0.9rem; }
.hidden, [hidden] { display: none !important; }

.card { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07); border-radius: 18px; padding: 1.8rem; margin-bottom: 1.6rem; }

/* tabs */
.tabs { display: flex; gap: 0.4rem; margin-bottom: 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.tab { background: none; border: 0; color: #888; font: inherit; font-size: 0.95rem; letter-spacing: 0.05em; padding: 0.8rem 1rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: #00e5ff; border-bottom-color: #00e5ff; }

/* forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
form .row.three { grid-template-columns: 2fr 1fr 1fr; }
label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; color: #999; margin-bottom: 1rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea {
  display: block; width: 100%; margin-top: 0.4rem; padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  color: #f0f0f2; font: inherit; font-size: 0.95rem; letter-spacing: normal;
}
select option { background: #101016; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(0,229,255,0.6); box-shadow: 0 0 0 3px rgba(0,229,255,0.12); }
.check { display: flex; align-items: center; gap: 0.6rem; color: #bbb; font-size: 0.9rem; letter-spacing: normal; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: #00e5ff; }

.btn { padding: 0.95rem 2.2rem; border-radius: 50px; text-decoration: none; font-weight: 500; letter-spacing: 0.08em; font-size: 0.85rem; transition: all 0.35s ease; display: inline-block; border: 0; font-family: inherit; cursor: pointer; max-width: 100%; }
.btn-primary { background: linear-gradient(90deg, #00e5ff, #ff6b4a); color: #08080c; box-shadow: 0 0 40px rgba(0,229,255,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 50px rgba(255,107,74,0.4); }
.btn-ghost { background: transparent; color: #ddd; border: 1px solid rgba(255,255,255,0.18); }
.btn-ghost:hover { border-color: #00e5ff; color: #00e5ff; }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.75rem; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn:focus-visible, .tab:focus-visible, .qty button:focus-visible, .link-btn:focus-visible { outline: 2px solid #00e5ff; outline-offset: 3px; }
.link-btn { background: none; border: 0; color: #00e5ff; font: inherit; font-size: 0.85rem; cursor: pointer; padding: 0; text-decoration: underline; }
.link-btn.danger { color: #ff6b4a; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.4rem; }

.msg { font-size: 0.9rem; line-height: 1.5; margin: 0.4rem 0 1rem; min-height: 1.2em; }
.msg.error { color: #ff8a70; }
.msg.ok { color: #6ff0c0; }

/* cart + order lines */
.lines { list-style: none; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.line:last-child { border-bottom: 0; }
.thumb { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: rgba(255,255,255,0.05); display: block; }
.thumb.blank { display: flex; align-items: center; justify-content: center; color: #555; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.line-name { font-size: 1rem; color: #f0f0f2; margin-bottom: 0.3rem; }
.line-opts { color: #999; font-size: 0.85rem; line-height: 1.5; }
.line-error { color: #ff8a70; font-size: 0.85rem; margin-top: 0.3rem; }
.line-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.price { font-size: 1rem; color: #f0f0f2; white-space: nowrap; }
.price small { color: #888; font-size: 0.75rem; display: block; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,0.15); border-radius: 50px; }
.qty button { width: 2rem; height: 2rem; background: none; border: 0; color: #ddd; font-size: 1rem; cursor: pointer; border-radius: 50%; }
.qty button:disabled { color: #555; cursor: default; }
.qty span { min-width: 1.6rem; text-align: center; font-size: 0.9rem; }
.totals { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.2rem; margin-top: 0.4rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 1.1rem; }
.notice { border: 1px solid rgba(0,229,255,0.25); background: rgba(0,229,255,0.05); border-radius: 14px; padding: 1rem 1.2rem; color: #cfefff; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.4rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }

/* account */
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; align-items: baseline; margin-bottom: 0.6rem; }
.order-number { font-size: 1.05rem; color: #f0f0f2; }
.status { display: inline-block; padding: 0.25rem 0.8rem; border-radius: 50px; font-size: 0.75rem; letter-spacing: 0.08em; border: 1px solid rgba(0,229,255,0.4); color: #00e5ff; }
.status.Cancelled { border-color: rgba(255,107,74,0.5); color: #ff8a70; }
.status.Done, .status.Shipped { border-color: rgba(111,240,192,0.5); color: #6ff0c0; }
.addr { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.addr:last-child { border-bottom: 0; }
.addr-text { color: #bbb; font-size: 0.9rem; line-height: 1.6; white-space: pre-line; }
.addr-tools { display: flex; gap: 1rem; align-items: flex-start; }
.badge { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #00e5ff; margin-left: 0.5rem; }
.success { text-align: center; padding: 3rem 1rem; }
.success .order-number { font-size: 1.8rem; margin: 0.6rem 0 1rem; background: linear-gradient(90deg, #00e5ff, #ff6b4a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

footer.site-footer { margin-top: auto; }

@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page { padding: 3rem 1.2rem 4rem; }
  .card { padding: 1.3rem; }
  form .row, form .row.three { grid-template-columns: 1fr; }
  .line { grid-template-columns: 64px 1fr; }
  .thumb { width: 64px; height: 64px; }
  .line-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
fieldset { border: 0; min-width: 0; }
strong { color: #f0f0f2; font-weight: 500; }

/* ===== c2-checkout phase 2 (2026-11-19): checkout steps, field errors, summary, receipts, contact / lookup / pay ===== */
.page.wide { max-width: 1160px; }
.page.mid { max-width: 720px; }
.lead { color: #bbb; margin: -0.6rem 0 1.8rem; font-size: 1.02rem; }

/* progress indicator: 1 Cart, 2 Contact & shipping, 3 Payment, 4 Done */
.steps { list-style: none; display: flex; gap: 0.5rem; margin: 0 0 2rem; padding: 0; }
.steps li { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); color: #888; font-size: 0.9rem; }
.steps .n { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.18); font-size: 0.85rem; color: #ccc; }
.steps .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steps li.current { border-color: rgba(0,229,255,0.5); color: #f0f0f2; background: rgba(0,229,255,0.06); }
.steps li.current .n { background: linear-gradient(90deg, #00e5ff, #ff6b4a); color: #08080c; border: 0; font-weight: 500; }
.steps li.complete { color: #bbb; }
.steps li.complete .n { border-color: rgba(111,240,192,0.6); color: #6ff0c0; }
@media (max-width: 640px) {
  .steps { gap: 0.35rem; }
  .steps li { flex-direction: column; gap: 0.35rem; padding: 0.6rem 0.2rem; text-align: center; font-size: 0.8rem; }
  .steps .t { white-space: normal; line-height: 1.2; overflow-wrap: anywhere; }
  .steps .t { white-space: normal; line-height: 1.25; }
}

/* section headings with a step number */
.sec-title { display: flex; align-items: center; gap: 0.75rem; font-size: 1.2rem; letter-spacing: 0; text-transform: none; color: #f0f0f2; font-weight: 400; margin-bottom: 1.3rem; }
.sec-title .n { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(90deg, #00e5ff, #ff6b4a); color: #08080c; font-size: 0.9rem; font-weight: 500; }
.sub-title { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: #888; margin: 1.2rem 0 1rem; font-weight: 400; }

/* fields */
label .opt { color: #777; font-size: 0.75rem; letter-spacing: 0.04em; }
.field-error { color: #ff8a70; font-size: 0.85rem; letter-spacing: normal; margin-top: 0.4rem; line-height: 1.4; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: rgba(255,120,110,0.8); box-shadow: 0 0 0 3px rgba(255,120,110,0.12); }
.hint { display: block; color: #777; font-size: 0.78rem; letter-spacing: normal; margin-top: 0.35rem; }
.static-field { display: block; margin-top: 0.4rem; padding: 0.8rem 1rem; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.14); color: #ddd; font-size: 0.95rem; letter-spacing: normal; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 4.6rem; }
.pw-toggle { position: absolute; right: 0.45rem; top: 50%; transform: translateY(-50%); margin-top: 0.2rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #ddd; border-radius: 50px; font: inherit; font-size: 0.75rem; letter-spacing: 0.05em; padding: 0.35rem 0.8rem; cursor: pointer; }
.pw-toggle:hover { border-color: #00e5ff; color: #00e5ff; }
.pw-toggle:focus-visible { outline: 2px solid #00e5ff; outline-offset: 2px; }
.check-card { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); color: #ddd; font-size: 0.95rem; letter-spacing: normal; cursor: pointer; margin-bottom: 1rem; }
.check-card input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: #00e5ff; flex: none; }
.check-card small { display: block; color: #888; font-size: 0.82rem; margin-top: 0.2rem; }
.honey { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* error summary at the top of a form */
.err-summary { border: 1px solid rgba(255,120,110,0.55); background: rgba(255,107,74,0.08); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; color: #ffd2c8; font-size: 0.92rem; line-height: 1.5; }
.err-summary:focus { outline: 2px solid rgba(255,120,110,0.8); outline-offset: 2px; }
.err-summary strong { color: #ffb4a2; display: block; margin-bottom: 0.35rem; }
.err-summary ul { margin: 0 0 0 1.1rem; }
.err-summary a { color: #ffd2c8; }

/* checkout layout: steps on the left, sticky order summary on the right; summary first (collapsible) on phones */
.ck-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.8rem; align-items: start; }
.ck-side { position: sticky; top: 1.2rem; }
.ck-sec { scroll-margin-top: 1.2rem; }
.summary > summary { list-style: none; cursor: default; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: #888; margin-bottom: 1.1rem; }
.summary > summary::-webkit-details-marker { display: none; }
.summary .mini { display: none; letter-spacing: normal; text-transform: none; font-size: 1rem; color: #f0f0f2; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; color: #bbb; font-size: 0.95rem; }
.sum-row .free { color: #6ff0c0; font-weight: 500; letter-spacing: 0.08em; }
.sum-row.grand { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 0.5rem; padding-top: 0.9rem; color: #f0f0f2; font-size: 1.2rem; }
.sum-note { color: #9bdcc8; font-size: 0.88rem; margin-top: 0.9rem; display: flex; gap: 0.5rem; align-items: center; }
.sum-lines { list-style: none; margin-bottom: 0.8rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 0.8rem; font-size: 0.88rem; color: #aaa; padding: 0.25rem 0; }
.sum-lines li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) {
  .ck-layout { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .ck-side { position: static; order: -1; }
  .summary > summary { cursor: pointer; margin-bottom: 0; }
  .summary[open] > summary { margin-bottom: 1.1rem; }
  .summary .mini { display: inline; }
  .summary > summary::after { content: '+'; font-size: 1.2rem; letter-spacing: 0; color: #00e5ff; margin-left: 0.4rem; }
  .summary[open] > summary::after { content: '\2212'; }
  .summary > summary .lbl { flex: 1; }
}

/* cart lines: bigger, clickable thumbnails + names (live v151 sizes: 105 px, phone 80 px; custom designs have no link) */
.ck .line { grid-template-columns: 105px minmax(0, 1fr) auto; gap: 1.3rem; overflow-wrap: break-word; }
.ck .thumb { width: 105px; height: 105px; border-radius: 14px; flex-shrink: 0; }
.ck a.thumb-link { display: block; border-radius: 14px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ck a.thumb-link:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,229,255,0.18); }
.ck a.thumb-link:focus-visible, .line-name a:focus-visible { outline: 2px solid #00e5ff; outline-offset: 3px; }
.line-name a { color: #f0f0f2; text-decoration: none; }
.line-name a:hover { color: #00e5ff; }
.ck .line-name { font-size: 1.08rem; }
.ck .qty button { width: 2.4rem; height: 2.4rem; font-size: 1.1rem; }
.ck .qty span { min-width: 2rem; font-size: 1rem; }
@media (max-width: 560px) {
  .ck .line { grid-template-columns: 80px minmax(0, 1fr); gap: 0.9rem; }
  .ck .thumb { width: 80px; height: 80px; }
}

/* card fields (NMI Collect.js iframes) */
.nmi-field { display: block; width: 100%; margin-top: 0.4rem; min-height: 48px; padding: 0.4rem 0.6rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; }
.nmi-field iframe { width: 100% !important; height: 36px !important; border: 0; }
.nmi-field.bad { border-color: rgba(255,120,110,0.8); }
.nmi-field:focus-within { border-color: rgba(0,229,255,0.6); box-shadow: 0 0 0 3px rgba(0,229,255,0.12); }
/* payments off: look-alike card inputs inside the same boxes (never sent; see shop-ui.js cardStandIn). Same size as the iframes. */
.nmi-field > input.cc-standin { display: block; width: 100%; height: 36px; margin: 0; padding: 0 6px; background: transparent; border: 0; border-radius: 0;
  box-shadow: none; color: #f0f0f2; font: inherit; font-size: 16px; letter-spacing: normal; }
.nmi-field > input.cc-standin::placeholder { color: #77777f; }
.nmi-field > input.cc-standin:focus { outline: none; border: 0; box-shadow: none; }
.cc-label-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.card-brands { display: inline-flex; gap: 0.35rem; min-height: 24px; }
.card-brands svg { display: block; width: 38px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1); }
/* small neutral note in the card section (payments off / quote carts) */
#payCardMsg:empty { display: none; }
.pay-note { color: #aab4be; font-size: 0.88rem; line-height: 1.55; margin: 0.2rem 0 0.4rem; }
.secure-note { display: flex; align-items: center; gap: 0.55rem; color: #9bdcc8; font-size: 0.88rem; margin: 0.2rem 0 1.1rem; }
.secure-note svg { flex: none; }
.pay-off { border: 1px solid rgba(0,229,255,0.25); background: rgba(0,229,255,0.05); border-radius: 14px; padding: 1rem 1.2rem; color: #cfefff; font-size: 0.95rem; line-height: 1.6; }

/* big cyan-to-coral place order pill with spinner */
.btn-xl { display: flex; align-items: center; justify-content: center; gap: 0.7rem; width: 100%; padding: 1.15rem 2rem; font-size: 1.05rem; letter-spacing: 0.06em; }
.spinner { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid rgba(8,8,12,0.25); border-top-color: #08080c; animation: g3dspin 0.8s linear infinite; }
.btn:not(.busy) .spinner { display: none; }
.btn.busy { opacity: 0.85; cursor: progress; }
@keyframes g3dspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.place { margin-top: 0.4rem; }
.place .muted { margin-bottom: 0.8rem; }

/* confirmation */
.done-card { text-align: center; padding: 2.6rem 1.8rem; }
.success h1, .done-card h1, .done-card h2.g3d-title { margin-left: auto; margin-right: auto; } /* fit-content headings stay centred */
.done-check { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, #00e5ff, #ff6b4a); color: #08080c; font-size: 1.9rem; }
.big-number { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 400; letter-spacing: 0.04em; margin: 0.4rem 0 0.9rem; background: linear-gradient(90deg, #00e5ff, #ff6b4a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; overflow-wrap: anywhere; }
.next-steps { list-style: none; text-align: left; max-width: 520px; margin: 1.4rem auto 0; }
.next-steps li { display: flex; gap: 0.9rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: #bbb; line-height: 1.5; }
.next-steps li:last-child { border-bottom: 0; }
.next-steps .n { flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(0,229,255,0.5); color: #00e5ff; font-size: 0.85rem; }
.next-steps strong { display: block; }
.done-actions { justify-content: center; margin-top: 1.8rem; }

/* payment badges */
.pay-badge { display: inline-block; padding: 0.25rem 0.8rem; border-radius: 50px; font-size: 0.75rem; letter-spacing: 0.06em; border: 1px solid rgba(255,255,255,0.25); color: #ccc; white-space: nowrap; }
.pay-badge.paid { border-color: rgba(111,240,192,0.55); color: #6ff0c0; }
.pay-badge.awaiting { border-color: rgba(240,196,108,0.55); color: #f0c46c; }
.pay-badge.declined { border-color: rgba(255,107,74,0.55); color: #ff8a70; }
.pay-badge.refunded { border-color: rgba(185,162,255,0.55); color: #c9b8ff; }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }

/* receipt (account, order lookup): print-friendly */
.receipt { color: #ddd; }
.rc-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem; }
.rc-brand { font-size: 1.1rem; color: #f0f0f2; }
.rc-number { font-size: 1.4rem; color: #f0f0f2; margin-top: 0.2rem; }
.rc-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; font-size: 0.9rem; }
.rc-items { list-style: none; border-top: 1px solid rgba(255,255,255,0.1); }
.rc-items li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.92rem; }
.rc-items li > div { min-width: 0; overflow-wrap: anywhere; }
.rc-items .muted { font-size: 0.82rem; }
.rc-price { white-space: nowrap; }
.rc-totals { max-width: 320px; margin: 1rem 0 0 auto; }
.rc-row { display: flex; justify-content: space-between; padding: 0.3rem 0; font-size: 0.92rem; }
.rc-row.grand { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 0.4rem; padding-top: 0.7rem; font-size: 1.1rem; color: #f0f0f2; }
.rc-pay, .rc-ship { margin-top: 1rem; font-size: 0.9rem; white-space: pre-line; color: #ccc; }
.rc-foot { margin-top: 1.2rem; font-size: 0.8rem; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(4,4,8,0.82); display: flex; align-items: flex-start; justify-content: center; padding: 3rem 1rem; overflow-y: auto; }
.modal-box { width: 100%; max-width: 720px; background: #0f0f15; border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 1.8rem; }
.modal-tools { display: flex; justify-content: flex-end; gap: 0.8rem; margin-bottom: 1rem; }
.danger-zone { border-color: rgba(255,107,74,0.25); }
.danger-zone p { font-size: 0.95rem; }
.totals.totals-sub { font-size: 0.95rem; color: #bbb; }
.totals.totals-sub + .totals.totals-sub { border-top: 0; margin-top: 0; padding-top: 0.35rem; }
.btn-danger { background: transparent; color: #ff8a70; border: 1px solid rgba(255,107,74,0.5); }
.btn-danger:hover { background: rgba(255,107,74,0.1); }
.contact-facts { list-style: none; }
.contact-facts li { padding: 0.55rem 0; color: #bbb; border-bottom: 1px solid rgba(255,255,255,0.06); overflow-wrap: anywhere; }
.contact-facts li:last-child { border-bottom: 0; }

/* footer: legal line */
.footer-legal { margin-top: 0.6rem; color: #555; overflow-wrap: anywhere; }
.footer-legal a { color: #8a8a96; }
.lead a, .muted a[data-site-mailto] { overflow-wrap: anywhere; }

@media print {
  body { background: #fff !important; color: #000 !important; }
  nav, footer, .no-print, .modal-tools, .tabs { display: none !important; }
  body.printing-receipt .page > *:not(#receiptModal) { display: none !important; }
  .modal { position: static; background: none; padding: 0; }
  .modal-box { border: 0; background: #fff; padding: 0; max-width: none; }
  .card { border: 0; background: #fff; }
  .receipt, .receipt *, .muted, p, h1, strong { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }
  .pay-badge { border-color: #000 !important; }
}
