/* Helix Vials extras 2026.10.02.2: blog pages + shopping assistant */

/* Blog */
.post-card { margin-top: 1rem; }
.post-card h2 { margin: 0.2rem 0 0.4rem; font-size: 1.3rem; }
.post-card h2 a { text-decoration: none; }
.post h2 { margin-top: 2rem; font-size: 1.45rem; }
.post h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.post p, .post li { color: #2a3138; }
.post ul, .post ol { padding-left: 1.3rem; }
.post li { margin: 0.3rem 0; }
.post hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0 1rem; }
.post em:only-child { color: var(--muted); }
.post a.link { word-break: break-word; }

/* Pre-order marker */
.pre-tag { display: inline-block; background: #7a4b00; color: #fff7e6; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; border-radius: 999px; padding: 0.1rem 0.5rem; vertical-align: middle; }
.pre-note { border: 1px dashed #b07a1a; background: #fff8ea; border-radius: 10px; padding: 0.6rem 0.75rem; margin-bottom: 0.75rem; }
.pre-note p { margin: 0.35rem 0 0; }

/* Shopping assistant */
#helix-assist { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; pointer-events: none; display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; font-size: 0.92rem; }
#helix-assist > * { pointer-events: auto; }
#helix-assist.ha-dodge .ha-launch, #helix-assist.ha-dodge .ha-tip { opacity: 0; pointer-events: none; }
.ha-launch { transition: opacity 0.15s; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 700; padding: 0.8rem 1.15rem; min-height: 48px; cursor: pointer; box-shadow: 0 8px 24px rgba(20, 24, 28, 0.22); }
.ha-launch.on { background: var(--ink); }
.ha-tip { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0.55rem 0.75rem; max-width: 16rem; box-shadow: 0 6px 18px rgba(20, 24, 28, 0.12); font-size: 0.82rem; }
.ha-panel { width: min(380px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 6.5rem)); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgba(20, 24, 28, 0.25); display: flex; flex-direction: column; overflow: hidden; }
.ha-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.8rem 0.95rem; background: var(--ink); color: #f4f5f2; }
.ha-head .ha-mini { color: #c8cfc9; }
.ha-x { border: 0; background: transparent; color: inherit; font-size: 1.1rem; cursor: pointer; }
.ha-msgs { position: relative; flex: 1; overflow: auto; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.55rem; background: var(--canvas); }
.ha-msg { max-width: 92%; border-radius: 12px; padding: 0.6rem 0.75rem; line-height: 1.4; }
.ha-msg.bot { background: var(--paper); border: 1px solid var(--line); align-self: flex-start; }
.ha-msg.me { background: var(--accent); color: var(--accent-fg); align-self: flex-end; }
.ha-msg p { margin: 0.35rem 0; }
.ha-list { margin: 0.35rem 0 0.6rem; padding-left: 1.1rem; }
.ha-list li { margin: 0.25rem 0; }
.ha-mini { font-size: 0.76rem; color: var(--muted); }
.ha-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.ha-picks { padding: 0.55rem 0.8rem 0; margin: 0; max-height: 5.4rem; overflow: auto; }
.ha-ctx { padding: 0.5rem 0.8rem 0; }
.ha-chip { border: 1px solid rgba(20, 24, 28, 0.15); background: var(--paper); border-radius: 999px; padding: 0.3rem 0.65rem; font-size: 0.8rem; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--ink); }
.ha-chip:hover { border-color: var(--accent); color: var(--accent); }
.ha-chip.strong { background: #e7f2ed; border-color: var(--accent); color: var(--accent); }
.ha-btn { border: 1px solid rgba(20, 24, 28, 0.18); background: var(--paper); border-radius: 999px; padding: 0.38rem 0.75rem; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.ha-btn.solid { background: var(--accent); color: var(--accent-fg); border-color: transparent; }
.ha-form { display: flex; gap: 0.4rem; padding: 0.6rem 0.8rem 0.8rem; }
.ha-form input { flex: 1; min-width: 0; border: 1px solid rgba(20, 24, 28, 0.18); border-radius: 999px; padding: 0.55rem 0.8rem; background: var(--paper); }
.ha-prod { margin-top: 0.55rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ha-prod-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.45rem 0.6rem; background: #f7f8f6; }
.ha-prod-head a { font-weight: 700; text-decoration: none; }
.ha-size { padding: 0.45rem 0.6rem; border-top: 1px solid var(--line); }
.ha-size-top { display: flex; gap: 0.6rem; align-items: center; }
.ha-size-top span:nth-child(2) { font-weight: 700; }
.ha-stock { margin-left: auto; font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 0.08rem 0.5rem; }
.ha-stock.in { background: #e3f3eb; color: #0c6b4d; }
.ha-stock.out { background: #f6ece0; color: #7a4b00; }
.ha-size-act { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.35rem; font-size: 0.8rem; }
.ha-offer { border-left: 3px solid #b07a1a; padding-left: 0.6rem; }
@media (max-width: 700px) {
  #helix-assist { right: 0.6rem; bottom: 0.6rem; left: auto; max-width: calc(100vw - 1.2rem); }
  #helix-assist:has(.ha-panel) { left: 0.6rem; }
  .ha-panel { width: 100%; height: calc(100vh - 5.5rem); }
}
/* Product photo gallery (multi-image products) and accessory details. 2026-10-04 */
.pp-gallery { min-width: 0; }
.pp-thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }
.pp-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; overflow: hidden; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb.on { border-color: var(--accent); }
.pp-list { padding-left: 1.2rem; margin: 0.5rem 0 0.75rem; }
.pp-list li { margin: 0.25rem 0; }
.pp-gallery .shot { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }

/* Card order confirmation 2026.10.06.1: big total, copy buttons, 3 steps, example picture */
.pc { max-width: 58rem; }
.pc h1 { margin-bottom: 0.85rem; }
.pc-top, .pc-how { display: grid; gap: 0.75rem; margin-bottom: 0.75rem; }
.pc-card { text-align: center; padding: 1rem; }
.pc-card p { margin: 0; }
.pc-card .tiny { margin-top: 0.6rem; }
.pc-label { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pc-amt { font-size: clamp(2.6rem, 11vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0.25rem 0 0.7rem !important; -webkit-user-select: all; user-select: all; }
.pc-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.25rem, 5.6vw, 1.6rem); font-weight: 700; background: var(--canvas); border-radius: 10px; padding: 0.4rem 0.75rem; margin: 0.4rem 0 0.7rem !important; display: inline-block; max-width: 100%; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.pc-copy { width: 100%; max-width: 20rem; min-height: 48px; font-size: 1rem; }
.pc-copy.copied { background: var(--accent); color: var(--accent-fg); border-color: transparent; }
.pc-h2 { margin: 0 0 0.75rem; font-size: 1.35rem; }
.pc-steps { list-style: none; counter-reset: pcs; margin: 0; padding: 0; }
.pc-steps li { counter-increment: pcs; position: relative; padding: 0 0 1.1rem 2.9rem; font-size: 1.08rem; }
.pc-steps li:last-child { padding-bottom: 0.2rem; }
.pc-steps li::before { content: counter(pcs); position: absolute; left: 0; top: -0.1rem; width: 2rem; height: 2rem; border-radius: 999px; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 700; font-size: 1rem; }
.pc-steps li > strong, .pc-steps li > .tiny { display: block; }
.pc-steps li > .tiny { margin-top: 0.25rem; font-size: 0.9rem; }
.pc-hl { background: #e9f4ef; color: var(--accent); border-radius: 6px; padding: 0 0.3rem; white-space: nowrap; }
.pc-sq { width: 100%; min-height: 60px; font-size: 1.15rem; margin-top: 0.6rem; }
.pc-fig { margin: 0; text-align: center; }
.pc-art { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto; }
.pc-fig figcaption { margin-top: 0.5rem; }
.pc-qr { margin: 1rem 0; }
.pc-qr .tiny { margin: 0.5rem 0 0; }
@media (min-width: 760px) {
  .pc-top { grid-template-columns: 1fr 1fr; }
  .pc-how { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
