/* ==========================================================================
   T03 SINGLE HARDWARE — canonical v4.2 composition + density
   Visual authority: final_design/T03_Single_Hardware.html. Every rule in this
   layer is scoped to the single-hardware template so no shared surface moves.
   ========================================================================== */
main.site-main[data-hq-template="single-hardware"]{
  overflow:visible;
  overflow-x:clip;
  padding-top:8rem !important;
  padding-bottom:6rem !important;
}
main.site-main[data-hq-template="single-hardware"] #template-single-hardware{
  width:100%;
  min-height:100vh;
}
[data-hq-template="single-hardware"] .hq-single-hero > .hq-content-surface{
  background:rgba(255,255,255,.80) !important;
  border:1px solid rgba(228,228,231,.80) !important;
  border-radius:32px !important;
  box-shadow:0 24px 60px -24px rgba(15,23,42,.35),inset 0 1px 0 rgba(255,255,255,.72) !important;
  -webkit-backdrop-filter:blur(24px) saturate(180%) !important;
  backdrop-filter:blur(24px) saturate(180%) !important;
}
html.dark [data-hq-template="single-hardware"] .hq-single-hero > .hq-content-surface{
  background:rgba(6,12,10,.90) !important;
  border-color:rgba(255,255,255,.10) !important;
  box-shadow:0 30px 72px -30px rgba(0,0,0,.88),inset 0 1px 0 rgba(255,255,255,.12) !important;
}
[data-hq-template="single-hardware"] .hq-t03-hero-grid{display:flex;flex-direction:column}
[data-hq-template="single-hardware"] .hq-t03-details{order:2;width:100%}
[data-hq-template="single-hardware"] .hq-t03-gallery{order:1;width:100%}
[data-hq-template="single-hardware"] #hq-gallery{aspect-ratio:1 / 1 !important}
[data-hq-template="single-hardware"] [data-hq-product-title]{font-weight:900!important;line-height:1.26!important;letter-spacing:-0.02em!important;word-break:break-word!important}
[data-hq-template="single-hardware"] .hq-single-actionbar{margin-top:2rem}
[data-hq-template="single-hardware"] .hq-secondary-action{white-space:nowrap}
[data-hq-template="single-hardware"] .hq-single-tabs__list{scrollbar-width:none;-ms-overflow-style:none}
[data-hq-template="single-hardware"] .hq-single-tabs__list::-webkit-scrollbar{display:none}
[data-hq-template="single-hardware"] .hq-toc-link.is-active,
[data-hq-template="single-hardware"] [data-hq-single-toc] .hq-toc-link[aria-current="location"]{
  background:var(--theme-500-10,rgba(16,185,129,.10));
  color:var(--theme-700,#047857);
}
[data-hq-template="single-hardware"] .hq-gallery-empty{padding:2rem}
[data-hq-template="single-hardware"] .hq-t03-brand-mark{display:block;width:auto;max-width:10rem;max-height:3rem;object-fit:contain}
[data-hq-template="single-hardware"] .hq-identity-meta{display:inline-flex;align-items:center;min-height:2rem;border:1px solid rgba(148,163,184,.3);border-radius:999px;padding:.25rem .75rem;color:#64748b;font:700 11px/1.2 'Space Grotesk',monospace}
[data-hq-template="single-hardware"] .hq-no-offers{display:flex;min-height:44px;flex-direction:column;justify-content:center;border:1px solid rgba(148,163,184,.3);border-radius:999px;padding:.4rem 1rem;color:#64748b;font-size:12px}
[data-hq-template="single-hardware"] .hq-no-offers strong{color:#334155}
html.dark [data-hq-template="single-hardware"] .hq-no-offers strong{color:#e2e8f0}
[data-hq-template="single-hardware"] .hq-chart-state[hidden]{display:none}
[data-hq-template="single-hardware"] .hq-chart-state[data-hq-chart-state="error"]{min-height:8rem;align-items:center;justify-content:center;flex-direction:column;gap:.35rem;text-align:center;color:#64748b}
[data-hq-template="single-hardware"] .hq-related-fallback{display:grid;height:100%;width:100%;place-items:center;border-radius:.5rem;background:rgba(16,185,129,.1);color:#047857;font:800 11px/1 'Space Grotesk',monospace}
[data-hq-template="single-hardware"] .hq-lifecycle-chip{display:inline-flex;margin-top:.75rem;border:1px solid rgba(148,163,184,.3);border-radius:.75rem;padding:.35rem .75rem;font-size:.875rem;font-weight:700}
[data-hq-template="single-hardware"] .hq-lifecycle-chip.is-emerald{color:#047857;background:rgba(16,185,129,.1)}
[data-hq-template="single-hardware"] .hq-lifecycle-chip.is-amber{color:#b45309;background:rgba(245,158,11,.1)}
[data-hq-template="single-hardware"] .hq-lifecycle-chip.is-slate{color:#475569;background:rgba(100,116,139,.1)}
[data-hq-template="single-hardware"] .hq-gallery-error{position:absolute;inset:0;display:grid;place-items:center;padding:2rem;background:#fff;color:#71717a}
[data-hq-template="single-hardware"] .hq-gal-dot{display:block;width:6px;height:6px;border-radius:999px;background:#d4d4d8;transition:width .2s ease,background-color .2s ease}
[data-hq-template="single-hardware"] .hq-gal-dot.is-active{width:16px;background:var(--theme-500,#10b981)}
html.dark [data-hq-template="single-hardware"] .hq-gal-dot{background:rgba(255,255,255,.20)}
html.dark [data-hq-template="single-hardware"] .hq-gal-dot.is-active{background:var(--theme-400,#34d399)}
#hq-zoom-modal #hq-zoom-img{transform:translate(0,0) scale(1);transition:transform .18s var(--hq-ease-apple,cubic-bezier(.25,1,.5,1))}

@media (min-width: 1024px){
  [data-hq-template="single-hardware"] .hq-t03-hero-grid{flex-direction:row;align-items:stretch}
  [data-hq-template="single-hardware"] .hq-t03-details{order:1;width:58.333333%}
  [data-hq-template="single-hardware"] .hq-t03-gallery{order:2;width:41.666667%;margin-top:0}
  [data-hq-template="single-hardware"] .hq-single-grid{grid-template-columns:minmax(0,2fr) minmax(17rem,.72fr) !important}
  [data-hq-template="single-hardware"] .hq-side-rail{position:sticky !important;top:96px;align-self:start;height:max-content}
  [data-hq-template="single-hardware"] .hq-spec-row{grid-template-columns:minmax(180px,36%) minmax(0,1fr)}
}
[data-hq-template="single-hardware"] [data-spec-value]>.inline-flex{white-space:nowrap;overflow-wrap:normal}
[data-hq-template="single-hardware"] .hq-specs-disclosure{margin-top:.75rem}
[data-hq-template="single-hardware"] .hq-specs-disclosure>summary::-webkit-details-marker{display:none}
[data-hq-template="single-hardware"] .hq-specs-disclosure>summary::marker{content:""}
[data-hq-template="single-hardware"] .hq-specs-summary{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:.75rem;color:#64748b;font-size:.75rem}
[data-hq-template="single-hardware"] .hq-specs-summary p{font-family:'Space Grotesk',monospace;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#475569}
html.dark [data-hq-template="single-hardware"] .hq-specs-summary,html.dark [data-hq-template="single-hardware"] .hq-specs-summary p{color:#a1a1aa}
[data-hq-template="single-hardware"] .hq-t03-spec-groups{display:block;width:100%}
[data-hq-template="single-hardware"] .hq-t03-spec-group{display:inline-block;width:100%;margin:0 0 1.5rem;overflow:hidden;break-inside:avoid;border:1px solid rgba(148,163,184,.3);border-radius:18px;background:rgba(255,255,255,.62);box-shadow:0 14px 35px -28px rgba(15,23,42,.4)}
html.dark [data-hq-template="single-hardware"] .hq-t03-spec-group{border-color:rgba(255,255,255,.1);background:rgba(0,0,0,.56)}
[data-hq-template="single-hardware"] .hq-t03-spec-group__header{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid rgba(148,163,184,.24);border-left:4px solid var(--theme-700,#047857);background:rgba(255,255,255,.86)}
html.dark [data-hq-template="single-hardware"] .hq-t03-spec-group__header{border-bottom-color:rgba(255,255,255,.1);background:rgba(0,0,0,.72)}
[data-hq-template="single-hardware"] .hq-t03-spec-group__header h3{margin:0;color:#18181b}
html.dark [data-hq-template="single-hardware"] .hq-t03-spec-group__header h3{color:#f4f4f5}
[data-hq-template="single-hardware"] .hq-t03-spec-group__icon{display:grid;width:2rem;height:2rem;flex:none;place-items:center;border-radius:.5rem;background:rgba(16,185,129,.1);color:#047857}
[data-hq-template="single-hardware"] .hq-t03-spec-group__icon svg{width:1rem;height:1rem}
[data-hq-template="single-hardware"] .hq-t03-spec-group__count{margin-left:auto;border:1px solid rgba(148,163,184,.25);border-radius:999px;padding:.15rem .55rem;color:#64748b;font:700 clamp(0.75rem, 0.725rem + 0.20vw, 0.875rem)/1.4 'Space Grotesk',monospace}
[data-hq-template="single-hardware"] .hq-t03-spec-group__rows .hq-spec-row{border-right:0}
[data-hq-template="single-hardware"] .hq-t03-spec-group__rows .hq-spec-row:last-child{border-bottom:0}
[data-hq-template="single-hardware"] .hq-specs-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid rgba(148,163,184,.28);border-radius:18px;background:rgba(255,255,255,.65);box-shadow:0 10px 30px -15px rgba(0,0,0,.08);backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%)}
html.dark [data-hq-template="single-hardware"] .hq-specs-table{border-color:rgba(255,255,255,.08);background:rgba(12,13,16,.85);box-shadow:0 12px 40px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.05)}
[data-hq-template="single-hardware"] .hq-spec-row{display:grid;grid-template-columns:minmax(130px,42%) minmax(0,1fr);align-items:center;min-height:42px;padding:.5rem .875rem;border-bottom:1px solid rgba(148,163,184,.2);gap:.75rem;border-radius:0!important;margin:0!important;box-shadow:none!important}
[data-hq-template="single-hardware"] .hq-spec-row:nth-child(odd){border-right:1px solid rgba(148,163,184,.2)}
[data-hq-template="single-hardware"] .hq-spec-row:nth-last-child(-n+2){border-bottom:0}
[data-hq-template="single-hardware"] .hq-spec-row:nth-last-child(2):nth-child(even){border-bottom:1px solid rgba(148,163,184,.2)}
[data-hq-template="single-hardware"] .hq-spec-row:last-child:nth-child(odd){grid-column:1/-1;border-right:0}
html.dark [data-hq-template="single-hardware"] .hq-spec-row{border-color:rgba(255,255,255,.07)}
[data-hq-template="single-hardware"] .hq-spec-row__label,[data-hq-template="single-hardware"] .hq-spec-row__value{min-width:0;line-height:1.5}
[data-hq-template="single-hardware"] .hq-spec-row__label{display:flex;align-items:center;color:#475569;font-family:var(--font-sans,'Plus Jakarta Sans',system-ui,sans-serif);font-weight:600;font-size:clamp(0.875rem, 0.82rem + 0.35vw, 1.0625rem)}
[data-hq-template="single-hardware"] .hq-spec-row__value{color:#0f172a;font-family:'Space Grotesk',monospace;font-weight:700;overflow-wrap:anywhere;font-size:clamp(0.9375rem, 0.875rem + 0.35vw, 1.125rem)}
html.dark [data-hq-template="single-hardware"] .hq-spec-row__label{color:#94a3b8}
html.dark [data-hq-template="single-hardware"] .hq-spec-row__value{color:#f8fafc}
[data-hq-template="single-hardware"] .hq-spec-row__unit{color:#64748b;font-weight:500;font-size:clamp(0.8125rem, 0.775rem + 0.25vw, 0.9375rem)}
html.dark [data-hq-template="single-hardware"] .hq-spec-row__unit{color:#94a3b8}
[data-hq-template="single-hardware"] .hq-spec-bool{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.15rem .5rem;font-size:clamp(0.75rem, 0.700rem + 0.25vw, 0.875rem);font-weight:700;text-transform:uppercase;letter-spacing:.06em;background:#f4f4f5;color:#52525b}
[data-hq-template="single-hardware"] .hq-spec-bool span{width:5px;height:5px;border-radius:999px;background:#a1a1aa}
[data-hq-template="single-hardware"] .hq-spec-bool.is-yes{background:rgba(16,185,129,.1);color:#047857}
[data-hq-template="single-hardware"] .hq-spec-bool.is-yes span{background:#10b981}
html.dark [data-hq-template="single-hardware"] .hq-spec-bool.is-yes{background:#064e3b;color:#d1fae5}
html.dark [data-hq-template="single-hardware"] .hq-spec-bool.is-yes span{background:#6ee7b7}
[data-hq-template="single-hardware"] .hq-specs-secondary{margin-top:.75rem}
[data-hq-template="single-hardware"] .hq-specs-toggle{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:44px;margin-bottom:.75rem;border:1px solid rgba(16,185,129,.3);border-radius:14px;background:rgba(16,185,129,.08);color:#047857;font-family:'Space Grotesk',monospace;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;transition:background-color .15s,border-color .15s;cursor:pointer;list-style:none}
[data-hq-template="single-hardware"] .hq-specs-toggle:hover{background:rgba(16,185,129,.14);border-color:rgba(16,185,129,.48)}
html.dark [data-hq-template="single-hardware"] .hq-specs-toggle{background:#064e3b;border-color:#10b981;color:#d1fae5}
html.dark [data-hq-template="single-hardware"] .hq-specs-toggle:hover{background:#065f46;border-color:#34d399}
[data-hq-template="single-hardware"] .hq-specs-toggle:focus-visible{outline:2px solid var(--theme-500,#10b981);outline-offset:2px}
[data-hq-template="single-hardware"] .hq-specs-toggle svg{width:16px;height:16px;transition:transform .2s ease}
[data-hq-template="single-hardware"] .hq-specs-disclosure[open] .hq-specs-toggle svg{transform:rotate(180deg)}
[data-hq-template="single-hardware"] .hq-spec-row:has(.hq-spec-callout){display:flex!important;flex-wrap:wrap!important;align-items:baseline!important}
[data-hq-template="single-hardware"] .hq-spec-row:has(.hq-spec-callout) .hq-spec-row__label{flex:0 0 auto!important;max-width:55%!important}
[data-hq-template="single-hardware"] .hq-spec-row:has(.hq-spec-callout) .hq-spec-row__value{flex:1 1 auto!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;text-align:right!important}
[data-hq-template="single-hardware"] .hq-spec-row:has(.hq-spec-callout) .hq-spec-callout{flex:0 0 100%!important;width:100%!important;text-align:left!important;margin-top:.375rem!important}
[data-hq-template="single-hardware"] .hq-spec-callout{display:block;margin-top:.375rem;font-family:initial;font-size:initial;font-weight:400;color:initial}
[data-hq-template="single-hardware"] .hq-spec-callout__panel{display:flex;gap:.5rem;padding:.5rem .75rem;border:1px solid rgba(148,163,184,.28);border-radius:.625rem;background:#f8fafc}
html.dark [data-hq-template="single-hardware"] .hq-spec-callout__panel{border-color:rgba(255,255,255,.1);background:#111827}
[data-hq-template="single-hardware"] .hq-spec-callout__icon{flex:none;margin-top:.125rem;color:#047857}
html.dark [data-hq-template="single-hardware"] .hq-spec-callout__icon{color:#6ee7b7}
[data-hq-template="single-hardware"] .hq-spec-callout__icon svg{width:.875rem;height:.875rem}
[data-hq-template="single-hardware"] .hq-spec-callout__content{min-width:0;flex:1 1 auto}
[data-hq-template="single-hardware"] .hq-spec-callout__label{display:block;margin-bottom:.125rem;font-family:'Space Grotesk',monospace;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#475569}
html.dark [data-hq-template="single-hardware"] .hq-spec-callout__label{color:#cbd5e1}
[data-hq-template="single-hardware"] .hq-spec-callout__text{margin:0;font-family:inherit;font-size:12px;font-weight:400;line-height:1.45;color:#334155}
html.dark [data-hq-template="single-hardware"] .hq-spec-callout__text{color:#e2e8f0}
@media (max-width: 640px){
  [data-hq-template="single-hardware"] .hq-single-hero{padding-inline:0.5rem!important;margin-bottom:1.25rem}
  [data-hq-template="single-hardware"] .hq-single-hero > .hq-content-surface{padding:1rem 0.75rem !important;border-radius:20px !important}
  [data-hq-template="single-hardware"] .hq-t03-brand-mark{max-width:8rem!important;max-height:2.25rem!important;transform:none!important}
  [data-hq-template="single-hardware"] #hq-brand-row{margin-bottom:.375rem!important;gap:.375rem!important}
  [data-hq-template="single-hardware"] #hq-brand-row > *{min-height:32px!important;padding-block:.25rem!important}
  [data-hq-template="single-hardware"] .hq-t03-title-block{margin-bottom:.75rem!important}
  [data-hq-template="single-hardware"] .hq-t03-hero-grid{gap:.75rem!important}
  [data-hq-template="single-hardware"] .hq-t03-gallery{max-width:100%!important;margin-inline:auto!important}
  [data-hq-template="single-hardware"] #hq-gallery{max-height:220px!important;aspect-ratio:16/10!important;padding:4px!important}
  [data-hq-template="single-hardware"] #hq-gallery img{max-height:200px!important;object-fit:contain!important}
  [data-hq-template="single-hardware"] #hq-gallery-thumbs{margin-top:.375rem!important;gap:.25rem!important;justify-content:flex-start}
  [data-hq-template="single-hardware"] #hq-gallery-thumbs button{width:48px!important;height:48px!important;border-radius:12px!important}
  [data-hq-template="single-hardware"] .hq-single-actionbar{margin-top:1rem}
  [data-hq-template="single-hardware"] .hq-single-actionbar > div{padding-inline:.75rem}
  [data-hq-template="single-hardware"] .hq-single-actionbar #buy{border-radius:20px !important;padding:.75rem !important}
  [data-hq-template="single-hardware"] .hq-single-actionbar .hq-secondary-action{flex:1 1 calc(50% - .25rem);padding-inline:.75rem}
  [data-hq-template="single-hardware"] .hq-single-actionbar .hq-amazon-button{order:3;flex:1 1 100% !important}
  [data-hq-template="single-hardware"] .hq-single-tabs--mobile{position:relative !important;top:auto;z-index:30;margin-inline:-.25rem;margin-bottom:1.25rem}
  [data-hq-template="single-hardware"] .hq-single-tabs--mobile + [data-hq-section]{scroll-margin-top:10rem}
  [data-hq-template="single-hardware"] .hq-single-tabs--mobile .hq-single-tabs__list{white-space:nowrap;overscroll-behavior-inline:contain}
  [data-hq-template="single-hardware"] .hq-single-tabs--mobile .hq-toc-link{scroll-margin-inline:1rem}
  [data-hq-template="single-hardware"] #hq-gallery{padding:8px !important}
  [data-hq-template="single-hardware"] #hq-gallery-thumbs{justify-content:flex-start}
  [data-hq-template="single-hardware"] .hq-specs-summary{display:block}
  [data-hq-template="single-hardware"] .hq-specs-summary span{display:block;margin-top:.2rem}
  [data-hq-template="single-hardware"] .hq-t03-spec-groups{display:block;width:100%}
  [data-hq-template="single-hardware"] .hq-t03-spec-group{margin-bottom:1rem;border-radius:16px}
  [data-hq-template="single-hardware"] .hq-t03-spec-group__header{padding:.7rem .875rem}
  [data-hq-template="single-hardware"] .hq-specs-table{grid-template-columns:1fr;border-radius:16px}
  [data-hq-template="single-hardware"] .hq-spec-row{grid-template-columns:minmax(112px,42%) minmax(0,1fr);min-height:40px;padding:.45rem .75rem;gap:.625rem}
  [data-hq-template="single-hardware"] .hq-spec-row:nth-child(odd){border-right:0}
  [data-hq-template="single-hardware"] .hq-spec-row:last-child:nth-child(odd){grid-column:auto}
  [data-hq-template="single-hardware"] .hq-spec-row:nth-last-child(2){border-bottom:1px solid rgba(148,163,184,.2)}
  [data-hq-template="single-hardware"] .hq-spec-row:last-child{border-bottom:0}
  [data-hq-template="single-hardware"] .hq-spec-row__label,[data-hq-template="single-hardware"] .hq-spec-row__value{font-size:clamp(0.875rem, 0.82rem + 0.25vw, 1.0625rem)}
  #hq-zoom-prev{left:.5rem}
  #hq-zoom-next{right:.5rem}
}
@media (min-width: 1920px){
  [data-hq-template="single-hardware"] .hq-spec-row{min-height:48px;padding:.65rem 1rem;gap:1rem}
  [data-hq-template="single-hardware"] .hq-spec-row__label{font-size:clamp(0.875rem,0.82rem + 0.25vw,1rem)}
  [data-hq-template="single-hardware"] .hq-spec-row__value{font-size:clamp(0.9375rem,0.85rem + 0.35vw,1.0625rem)}
  [data-hq-template="single-hardware"] .hq-t03-spec-group__count{font-size:13px;padding:.2rem .65rem}
  [data-hq-template="single-hardware"] .hq-spec-bool{font-size:13px;padding:.2rem .65rem}
}
@media (prefers-reduced-motion: reduce){
  [data-hq-template="single-hardware"] .hq-single-hero *,
  [data-hq-template="single-hardware"] .hq-single-actionbar *,
  [data-hq-template="single-hardware"] .hq-single-tabs *,
  #hq-zoom-modal *{animation-duration:.01ms !important;animation-iteration-count:1 !important;scroll-behavior:auto !important;transition-duration:.01ms !important}
}

/* ============================================================================
   refine-single.css  —  Single-hardware page refinement layer (ported)
   Source of truth: hwq-vps/design/build_refined.py refine-v3 style block.
   Enqueued ONLY on is_singular('hardware') AFTER the theme styles so it wins.
   Legacy .rf-* selectors below are retained for the existing single-product
   modules; the T03 composition rules above are explicitly template-scoped.
   ============================================================================ */

#hq-price-chart{width:100% !important}
.rf-chart-host{min-height:300px !important;position:relative}
/* theme switcher — lives inline in the footer, not floating */
.rf-mode-wrap{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:6px;border-radius:12px;
  background:rgba(15,23,42,.05);border:1px solid rgba(15,23,42,.08)}
html.dark .rf-mode-wrap{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.10)}
.rf-mode-seg{display:inline-flex;border-radius:9px;overflow:hidden}
.rf-mode-seg button{border:0;background:transparent;cursor:pointer;font-family:'Outfit',sans-serif;font-weight:700;
  font-size:12px;color:#64748b;padding:6px 12px;display:inline-flex;align-items:center;gap:5px;transition:all .12s}
.rf-mode-seg button.rf-on{background:#fff;color:#0f172a;box-shadow:0 1px 2px rgba(15,23,42,.12);border-radius:8px}
html.dark .rf-mode-seg button.rf-on{background:rgba(255,255,255,.12);color:#ededf0}
.rf-mode-lbl{font-family:'Plus Jakarta Sans',sans-serif;font-size:11px;color:#94a3b8;padding:0 6px}

/* ===== MLC->TLC forensic note ===== */
.rf-nand-note{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:1px 8px;border-radius:999px;
  font-size:11px;font-weight:700;font-family:'Space Grotesk',monospace;letter-spacing:.01em;
  background:rgba(16,185,129,.10);color:#047857;border:1px solid rgba(16,185,129,.26);cursor:help}
html.dark .rf-nand-note{color:#6ee7b7;background:rgba(16,185,129,.12)}

/* ===== POPUP / MODAL (shared by price-alert + price-guide) ===== */
.rf-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:20px}
.rf-modal.rf-open{display:flex}
.rf-modal-bg{position:absolute;inset:0;background:rgba(10,12,14,.55);backdrop-filter:blur(4px)}
.rf-modal-card{position:relative;width:100%;max-width:440px;border-radius:20px;padding:22px;
  background:rgba(255,255,255,.92);border:1px solid rgba(15,23,42,.10);
  box-shadow:0 30px 80px -20px rgba(15,23,42,.5);backdrop-filter:blur(24px) saturate(1.4);
  font-family:'Plus Jakarta Sans',sans-serif;animation:rf-pop .22s cubic-bezier(.22,1,.36,1)}
html.dark .rf-modal-card{background:rgba(18,20,22,.92);border-color:rgba(255,255,255,.12)}
@keyframes rf-pop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.rf-modal-x{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:9px;border:0;cursor:pointer;
  background:rgba(15,23,42,.06);color:#334155;font-size:16px;display:grid;place-items:center}
html.dark .rf-modal-x{background:rgba(255,255,255,.08);color:#c4c4c8}
.rf-modal-head{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.rf-modal-ico{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;background:linear-gradient(180deg,#10b981,#059669);color:#fff}
.rf-modal-title{font-family:'Outfit',sans-serif;font-weight:800;font-size:16px;color:#0f172a;letter-spacing:-.01em}
html.dark .rf-modal-title{color:#f2ede2}
.rf-modal-sub{font-size:12.5px;color:#5b6b73;margin-bottom:14px}
html.dark .rf-modal-sub{color:#9a9aa0}

/* ===== PRICE-ALERT (inside modal) ===== */
.rf-alert-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.rf-alert-field{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid rgba(15,23,42,.12);
  border-radius:10px;padding:0 10px;height:44px;flex:1;min-width:120px}
html.dark .rf-alert-field{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.12)}
.rf-alert-field span{color:#64748b;font-weight:700;font-size:14px}
.rf-alert-field input{border:0;outline:0;background:transparent;font-family:'Outfit',sans-serif;font-weight:700;font-size:15px;color:#0f172a;width:100%;font-variant-numeric:tabular-nums}
html.dark .rf-alert-field input{color:#ededf0}
.rf-alert-field input::placeholder{color:#94a3b8;font-weight:600}
.rf-alert-btn{height:44px;padding:0 18px;border:0;border-radius:10px;cursor:pointer;flex:none;width:100%;margin-top:10px;
  font-family:'Outfit',sans-serif;font-weight:800;font-size:14px;color:#fff;
  background:linear-gradient(180deg,#10b981,#059669);border:1px solid #047857;
  box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 8px 18px -8px rgba(16,185,129,.6);transition:transform .15s ease}
.rf-alert-btn:hover{transform:translateY(-1px)}
.rf-alert-chips{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}
.rf-alert-chip{font-size:12px;font-weight:700;padding:6px 11px;border-radius:999px;cursor:pointer;
  background:rgba(15,23,42,.05);border:1px solid rgba(15,23,42,.10);color:#334155;font-variant-numeric:tabular-nums;transition:all .12s}
html.dark .rf-alert-chip{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.10);color:#c4c4c8}
.rf-alert-chip:hover{background:rgba(16,185,129,.12);border-color:rgba(16,185,129,.3);color:#047857}
html.dark .rf-alert-chip:hover{color:#6ee7b7}
.rf-alert-ok{display:none;align-items:center;gap:8px;color:#047857;font-weight:700;font-size:13px;margin-top:12px}
html.dark .rf-alert-ok{color:#6ee7b7}

/* header icon button (matches .hq-share-btn) for the price-alert trigger */
.rf-alert-trigger{position:relative}
.rf-alert-trigger .rf-badge{position:absolute;top:-3px;right:-3px;width:9px;height:9px;border-radius:999px;background:#10b981;border:2px solid #fff}
html.dark .rf-alert-trigger .rf-badge{border-color:#121416}

/* ===== PRICE-GUIDE modal chart host ===== */
#rf-guide-chart{width:100%;height:220px;position:relative;margin-top:6px}
.rf-guide-stats{display:flex;gap:16px;margin-top:14px;flex-wrap:wrap;font-size:12.5px;font-family:'Plus Jakarta Sans',sans-serif;color:#5b6b73}
html.dark .rf-guide-stats{color:#9a9aa0}
.rf-guide-stats b{font-family:'Outfit',sans-serif;color:#0f172a}
html.dark .rf-guide-stats b{color:#ededf0}

/* ===== PRICE-HISTORY chart: 50% narrower, sits in the commerce column ===== */
.rf-chart-narrow{ max-width:520px; }
.rf-range-tabs{display:inline-flex;gap:4px;padding:3px;border-radius:10px;background:rgba(15,23,42,.05);margin-bottom:12px}
html.dark .rf-range-tabs{background:rgba(255,255,255,.06)}
.rf-range-tab{border:0;background:transparent;cursor:pointer;font-family:'Outfit',sans-serif;font-weight:700;font-size:12px;color:#64748b;padding:5px 11px;border-radius:8px;transition:all .12s}
.rf-range-tab.rf-on{background:#fff;color:#0f172a;box-shadow:0 1px 2px rgba(15,23,42,.12)}
html.dark .rf-range-tab.rf-on{background:rgba(255,255,255,.12);color:#ededf0}

/* ===== MARKET POINTERS on the price block (per-country filter) ===== */
.rf-markets{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.rf-mkt{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;cursor:pointer;
  font-family:'Outfit',sans-serif;font-weight:700;font-size:12px;border:1px solid rgba(15,23,42,.12);
  background:#fff;color:#334155;transition:all .12s;font-variant-numeric:tabular-nums}
html.dark .rf-mkt{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.12);color:#c4c4c8}
.rf-mkt.rf-on{border-color:rgba(16,185,129,.5);background:rgba(16,185,129,.08);color:#047857}
html.dark .rf-mkt.rf-on{color:#6ee7b7}
.rf-mkt.rf-soon{opacity:.4;cursor:not-allowed;filter:grayscale(.6)}
.rf-mkt.rf-soon:hover{opacity:.4}
.rf-mkt .rf-flag{width:18px;height:12px;border-radius:2px;overflow:hidden;display:inline-block;flex:none}
.rf-mkt .rf-mkt-price{font-weight:800}
.rf-mkt-soon-tag{font-size:9px;text-transform:uppercase;letter-spacing:.04em;opacity:.7}

/* ===== Market Value block: [chart | pulse] row + lifecycle strip beneath ===== */
.rf-mvh-block{margin:0 0 28px}
.rf-chart-life{display:flex;gap:20px;align-items:stretch;flex-wrap:wrap;margin-bottom:14px}
.rf-chart-col{flex:1 1 440px;min-width:0;max-width:100%;margin:0 !important}
.rf-pulse-col{flex:1 1 360px;min-width:0;margin:0 !important;align-self:stretch}
/* lifecycle = compact horizontal strip (trimmed, not a tall card) */
.rf-life-strip{margin:0 !important;padding:12px 20px !important;max-height:none}
.rf-life-strip .hq-eol-inner,.rf-life-strip > div{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px}
.rf-life-strip .hq-eol-note,.rf-life-strip p{margin:0 !important;font-size:12px !important;line-height:1.4 !important}
.rf-life-strip{scroll-margin-top:112px !important}
@media (max-width:980px){ .rf-chart-life{flex-direction:column} .rf-chart-col,.rf-pulse-col{flex:1 1 auto} }

/* Sources moved into the sidebar rail: match the rail card rhythm, reset section spacing */
.rf-rail-sources{scroll-margin-top:0 !important;margin:0 !important}
.rf-rail-sources > div:first-child{margin-bottom:12px !important}
.rf-rail-sources .hq-h2{font-size:15px !important}

/* STICKY FIX: keep overflow visible inside the T03 main wrapper so sticky
   descendants can pin while horizontal overflow remains clipped. */
main.site-main[data-hq-template="single-hardware"]{overflow:visible !important;overflow-x:clip !important}

/* The authoritative T03 keeps the complete right rail sticky on desktop. */
@media (min-width:1024px){
  [data-hq-template="single-hardware"] .hq-side-rail{position:sticky !important;top:96px;align-self:start;height:max-content}
  [data-hq-template="single-hardware"] .hq-side-rail .rf-onpage-sticky{position:static;max-width:100%;overflow:visible}
}
/* collapsible Sources in the rail */
.rf-caret{display:inline-block;margin-left:8px;font-size:11px;transition:transform .2s;opacity:.6}
.rf-collapse-body{margin-top:12px}
.rf-collapsible .flex.items-center{user-select:none}
/* Similar hardware moved under the specs: full-width card, not a narrow rail column */
.rf-similar-under-specs{margin-top:24px !important;width:100% !important;max-width:none !important}
/* richer similar-hardware items: relevance tags, price, match-reason bar */
.rf-sim-sort{margin-left:auto;font-family:'Space Grotesk',monospace;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}
.rf-sim-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:5px}
.rf-sim-tag{font-family:'Space Grotesk',monospace;font-size:10px;font-weight:600;color:#0f766e;background:rgba(16,185,129,.10);padding:2px 7px;border-radius:99px}
html.dark .rf-sim-tag{color:#5eead4;background:rgba(16,185,129,.12)}
.rf-sim-price{margin-left:auto;font-family:'Outfit',sans-serif;font-weight:700;font-size:14px;color:#0f172a}
html.dark .rf-sim-price{color:#e2e8f0}
.rf-sim-reason{display:flex;align-items:center;gap:8px;margin-top:5px}
.rf-sim-bar{flex:0 0 46px;height:4px;border-radius:99px;background:rgba(100,116,139,.18);overflow:hidden}
.rf-sim-bar i{display:block;height:100%;background:linear-gradient(90deg,#10b981,#34d399);border-radius:99px}
.rf-sim-why{font-size:11px;color:#64748b}
html.dark .rf-sim-why{color:#94a3b8}
.rf-sim-all{display:inline-block;margin-top:12px;font-family:'Space Grotesk',monospace;font-size:12px;font-weight:600;color:#059669;text-decoration:none}
.rf-sim-all:hover{text-decoration:underline}

/* Sources as its own block under specs: single column + smaller action buttons */
.rf-sources-block{margin-top:24px !important;width:100% !important;max-width:none !important;scroll-margin-top:112px}
.rf-sources-block .grid{grid-template-columns:1fr !important;gap:10px !important}
.rf-sources-block a,.rf-sources-block button{font-size:13px !important;padding:8px 12px !important;min-height:0 !important}
.rf-sources-block .hq-h2{font-size:18px !important}

/* subtle lifecycle status note at the bottom of the Overview */
.rf-life-note{display:flex;align-items:center;gap:8px;margin-top:16px !important;padding-top:14px;border-top:1px solid rgba(100,116,139,.14);
  font-size:13px;color:#64748b;font-family:'Plus Jakarta Sans',sans-serif}
html.dark .rf-life-note{color:#9a9aa0;border-top-color:rgba(255,255,255,.08)}
.rf-life-note strong{color:#334155;font-weight:700}
html.dark .rf-life-note strong{color:#cbd5e1}
.rf-life-dot{width:8px;height:8px;border-radius:99px;background:#10b981;flex:0 0 auto;box-shadow:0 0 0 3px rgba(16,185,129,.14)}

/* ===== CoinMarketCap-style chart toolbar: current-price pill + range toggles ===== */
.rf-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.rf-price-pill{display:inline-flex;align-items:center;gap:8px}
.rf-pill-dot{width:9px;height:9px;border-radius:99px;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.15);animation:rfpulse 2.4s ease-in-out infinite}
.rf-pill-price{font-family:'Outfit',sans-serif;font-weight:800;font-size:24px;color:#0f172a;letter-spacing:-.01em}
html.dark .rf-pill-price{color:#f1f5f9}
.rf-pill-lbl{font-family:'Space Grotesk',monospace;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}
.rf-range-bar{display:inline-flex;gap:2px;background:rgba(100,116,139,.08);padding:3px;border-radius:10px}
html.dark .rf-range-bar{background:rgba(255,255,255,.05)}
.rf-range-btn{font-family:'Space Grotesk',monospace;font-size:12px;font-weight:600;color:#64748b;padding:5px 11px;border:0;background:transparent;border-radius:8px;cursor:pointer;transition:all .15s}
.rf-range-btn:hover{color:#0f172a}
html.dark .rf-range-btn:hover{color:#f1f5f9}
.rf-range-on{background:#fff;color:#047857 !important;box-shadow:0 1px 3px rgba(15,23,42,.1)}
html.dark .rf-range-on{background:rgba(16,185,129,.16);color:#6ee7b7 !important;box-shadow:none}
.rf-chart-host{min-height:320px !important;position:relative}
@keyframes rfpulse{0%,100%{box-shadow:0 0 0 4px rgba(16,185,129,.15)}50%{box-shadow:0 0 0 7px rgba(16,185,129,.05)}}

/* Pulse: remove empty whitespace at the bottom — tighten the grid + let it fill the column */
.rf-pulse-col{display:flex;flex-direction:column}
.rf-pulse-col .rf-pulse-grid{flex:1;align-content:start}
#rf-pulse{padding-bottom:16px !important}

/* ===== price stats strip: 30d / 90d / 1y avg + range ===== */
.rf-stats-strip{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.rf-stat{display:flex;flex-direction:column;gap:1px;padding:8px 14px;border-radius:12px;background:rgba(100,116,139,.06);flex:1;min-width:92px}
html.dark .rf-stat{background:rgba(255,255,255,.04)}
.rf-stat-lbl{font-family:'Space Grotesk',monospace;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#94a3b8}
.rf-stat-val{font-family:'Outfit',sans-serif;font-weight:700;font-size:16px;color:#0f172a}
html.dark .rf-stat-val{color:#e2e8f0}
.rf-range-val{font-size:13px;font-weight:600}
.rf-stat-delta{font-family:'Space Grotesk',monospace;font-size:11px;font-weight:600}
.rf-stat-delta.rf-up{color:#dc2626}.rf-stat-delta.rf-down{color:#059669}.rf-stat-delta.rf-flat{color:#94a3b8}
html.dark .rf-stat-delta.rf-up{color:#f87171}html.dark .rf-stat-delta.rf-down{color:#34d399}

/* ===== subtle review chip — matches the "Released:" style, sits in that row ===== */
.rf-rev-chip{display:inline-flex;align-items:center;gap:4px;font-family:'Space Grotesk','Plus Jakarta Sans',monospace;
  font-size:12px;font-weight:600;color:#64748b;letter-spacing:.01em;white-space:nowrap}
html.dark .rf-rev-chip{color:#9a9aa0}
.rf-rev-star{color:#f59e0b;font-size:12px;line-height:1}
.rf-rev-cnt{color:#94a3b8;font-weight:500}
html.dark .rf-rev-cnt{color:#7c7c85}
/* Released chip — MUST read identically to the review chip (same font/size/weight/color)
   so the meta row is visually uniform. Overrides the theme's Tailwind text-sm/slate. */
.rf-released-chip, .rf-released-chip *{font-family:'Space Grotesk','Plus Jakarta Sans',monospace !important;font-size:12px !important;font-weight:600 !important;letter-spacing:.01em}
.rf-released-chip{display:inline-flex;align-items:center;gap:5px;color:#64748b !important;white-space:nowrap;text-transform:none !important}
html.dark .rf-released-chip{color:#9a9aa0 !important}
.rf-released-chip .rf-rel-label{color:#94a3b8 !important;text-transform:uppercase;letter-spacing:.03em}
html.dark .rf-released-chip .rf-rel-label{color:#7c7c85 !important}
.rf-released-chip svg{color:rgba(16,185,129,.7) !important;height:14px;width:14px}

/* ===== mobile: put "On this page" nav ABOVE the Overview (sidebar first on small screens) ===== */
.rf-onpage-mobile{display:none}
@media (max-width:1023px){
  .rf-onpage-first{ order:-1 !important; }
  .rf-onpage-mobile{display:block;margin-bottom:20px}
}

/* ===== PULSE — market/sales-signal box (its own card, not crammed in the hero) ===== */
/* Pulse/Price-History = the reference. Its dark base rgba(0,0,0,.6) is the LOVED
   quality; its blur is brought into the unified band (~15-16px) so it MATCHES the
   .rf-glass panels rather than sitting as the single heaviest 40px frost. (It sits
   over the plain dark canvas, not the hero-PCB field, so less blur reads identical
   here while unifying the recipe — 'alle panelen moeten dit matchen'.) */
.rf-pulse{border-radius:24px;padding:22px 24px;margin:0 0 28px;position:relative;overflow:hidden;
  background:rgba(255,255,255,.6);border:1px solid rgba(226,232,240,.5);
  -webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);box-shadow:0 20px 40px -24px rgba(15,23,42,.25)}
html.dark .rf-pulse{background:rgba(0,0,0,.6);border-color:rgba(255,255,255,.10)}
.rf-pulse-head{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.rf-pulse-dot{width:9px;height:9px;border-radius:99px;background:#10b981;box-shadow:0 0 0 0 rgba(16,185,129,.5);animation:rf-pulse-glow 2s infinite}
@keyframes rf-pulse-glow{0%{box-shadow:0 0 0 0 rgba(16,185,129,.5)}70%{box-shadow:0 0 0 8px rgba(16,185,129,0)}100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}}
.rf-pulse-title{font-family:'Outfit',sans-serif;font-weight:800;font-size:16px;color:#0f172a;letter-spacing:-.01em}
html.dark .rf-pulse-title{color:#ededf0}
.rf-pulse-badge{margin-left:auto;font-family:'Space Grotesk',monospace;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:3px 9px;border-radius:99px;background:rgba(16,185,129,.10);color:#047857;border:1px solid rgba(16,185,129,.24)}
html.dark .rf-pulse-badge{color:#6ee7b7}
.rf-pulse-sub{font-family:'Plus Jakarta Sans',sans-serif;font-size:12.5px;color:#64748b;margin-bottom:16px}
html.dark .rf-pulse-sub{color:#9a9aa0}
.rf-pulse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:12px}
.rf-sig{border-radius:14px;padding:12px 14px;background:rgba(15,23,42,.03);border:1px solid rgba(15,23,42,.06)}
html.dark .rf-sig{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08)}
.rf-sig-k{display:flex;align-items:center;gap:6px;font-family:'Plus Jakarta Sans',sans-serif;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em;margin-bottom:6px}
html.dark .rf-sig-k{color:#9a9aa0}
.rf-sig-v{font-family:'Outfit',sans-serif;font-weight:800;font-size:19px;color:#0f172a;line-height:1;font-variant-numeric:tabular-nums}
html.dark .rf-sig-v{color:#ededf0}
.rf-sig-note{font-family:'Plus Jakarta Sans',sans-serif;font-size:11px;color:#94a3b8;margin-top:4px}
.rf-sig-v .up{color:#dc2626}.rf-sig-v .down{color:#059669}
.rf-sig.rf-hot{background:rgba(220,38,38,.06);border-color:rgba(220,38,38,.18)}
.rf-sig.rf-deal{background:rgba(16,185,129,.07);border-color:rgba(16,185,129,.22)}
.rf-pulse-foot{display:flex;align-items:center;gap:8px;margin-top:14px;font-family:'Plus Jakarta Sans',sans-serif;font-size:11.5px;color:#94a3b8}

/* ===== reduce excess padding around the product image (annotation) ===== */
#hq-gallery,.hq-gallery-frame{padding:14px !important}
@media (max-width:1023px){ #hq-gallery,.hq-gallery-frame{padding:10px !important} }

/* reduce the empty space to the LEFT of the hero image: let the image card fill more of its
   column and sit tighter to the content, instead of being pushed hard right with a big gap */
@media (min-width:1024px){
  .hq-scard-riso{width:100% !important;max-width:none !important}
  .hq-scard-riso img{width:100% !important;height:auto !important;object-fit:contain}
}

/* reviews + release row: subtle side inset so it aligns neatly with the padded panels below */
.rf-meta-row{padding-left:6px !important;padding-right:6px !important}

/* Shopping actions bar must NOT be sticky (user request) — neutralize the theme's sticky wrapper */
.rf-buy-static{position:static !important;top:auto !important;z-index:auto !important}

/* ===== brand header: scale the LOGO IMAGE up inside a slightly larger pill (readable) ===== */
.rf-brand-lg{padding:8px 18px !important;min-height:48px !important;display:inline-flex !important;align-items:center !important}
.rf-brand-lg img{height:34px !important;max-width:170px !important;width:auto !important;max-height:none !important;object-fit:contain;transform:scale(1.35);transform-origin:center}
.rf-verified-pill{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:6px 14px;border-radius:99px;
  font-family:'Space Grotesk',monospace;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  background:rgba(16,185,129,.10);color:#047857;border:1px solid rgba(16,185,129,.28)}
html.dark .rf-verified-pill{background:rgba(16,185,129,.12);color:#6ee7b7;border-color:rgba(16,185,129,.24)}

/* ===== kill any dropcap on the Overview prose (belt-and-braces over theme utilities) ===== */
[data-hq-template="single-hardware"] .prose ::first-letter,
[data-hq-template="single-hardware"] .prose p::first-letter,
[data-hq-template="single-hardware"] .prose > p:first-of-type::first-letter,
[data-hq-template="single-hardware"] section .prose p::first-letter{
  float:none !important;font-size:inherit !important;font-weight:inherit !important;line-height:inherit !important;
  padding:0 !important;margin:0 !important;color:inherit !important;text-transform:none !important;
  font-family:inherit !important;font-style:inherit !important;letter-spacing:inherit !important;
  background:none !important;-webkit-text-fill-color:currentColor !important;initial-letter:normal !important;}

/* ===== "View N specifications" link: push it DOWN (more top padding, less bottom) without moving the hero ===== */
.rf-specs-link{padding-top:18px !important;padding-bottom:2px !important;margin-top:4px !important;}

/* ===== verified pill compact: icon-only variant (shown only when Directus flags it) ===== */
.rf-verified-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;padding:0;border-radius:99px;
  background:rgba(16,185,129,.12);color:#047857;border:1px solid rgba(16,185,129,.28)}
html.dark .rf-verified-icon{color:#6ee7b7;border-color:rgba(16,185,129,.24)}

/* ===== price box: original vs current (discount) ===== */
.rf-price-was{font-family:'Plus Jakarta Sans',sans-serif;font-size:15px;font-weight:600;color:#94a3b8;text-decoration:line-through;margin-right:8px}
html.dark .rf-price-was{color:#7c7c85}
.rf-price-save{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 9px;border-radius:99px;
  font-family:'Space Grotesk',monospace;font-size:12px;font-weight:800;background:rgba(16,185,129,.12);color:#047857}
html.dark .rf-price-save{color:#6ee7b7}

/* ===== MSRP (release price) — shown ALWAYS when list_price>0, so buyers can see
   multi-year hardware price movement. When current > release MSRP it is inflation
   CONTEXT (never struck, no fake discount): plain amber MSRP label + amber ▲ pill. ===== */
.rf-price-msrp{font-family:'Plus Jakarta Sans',sans-serif;font-size:14px;font-weight:700;color:#64748b;margin-right:6px;white-space:nowrap}
html.dark .rf-price-msrp{color:#94a3b8}
.rf-price-up{display:inline-flex;align-items:center;gap:4px;margin-left:2px;padding:2px 9px;border-radius:99px;
  font-family:'Space Grotesk',monospace;font-size:12px;font-weight:800;background:rgba(217,119,6,.12);color:#b45309;white-space:nowrap}
html.dark .rf-price-up{background:rgba(251,191,36,.14);color:#fcd34d}

/* ===== consistent placeholders — missing data never leaves a hole, so the
   structured-data skeleton (price / reviews / released) is a predictable pattern ===== */
/* Reviews absent: subtle "No Amazon reviews yet" chip in the SAME meta-row slot. */
.rf-rev-chip.rf-rev-empty{color:#94a3b8;font-weight:500}
html.dark .rf-rev-chip.rf-rev-empty{color:#7c7c85}
.rf-rev-chip.rf-rev-empty .rf-rev-star{color:#cbd5e1}
html.dark .rf-rev-chip.rf-rev-empty .rf-rev-star{color:#4b5563}
/* Release date absent: muted placeholder chip so the right meta-row slot stays occupied. */
.rf-released-chip.rf-released-empty,.rf-released-chip.rf-released-empty *{color:#94a3b8 !important}
html.dark .rf-released-chip.rf-released-empty,html.dark .rf-released-chip.rf-released-empty *{color:#7c7c85 !important}
.rf-released-chip.rf-released-empty svg{color:#cbd5e1 !important}
html.dark .rf-released-chip.rf-released-empty svg{color:#4b5563 !important}
/* Price absent: "Price not yet available (US · Amazon.com)" placeholder in the price slot. */
.rf-price-na{display:inline-flex;align-items:center;gap:8px;font-family:'Plus Jakarta Sans',sans-serif;font-size:15px;font-weight:600;color:#94a3b8}
html.dark .rf-price-na{color:#8a8a92}
.rf-price-na-dot{width:9px;height:9px;border-radius:99px;background:#cbd5e1;flex:0 0 auto}
html.dark .rf-price-na-dot{background:#4b5563}
.rf-price-na-mkt{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:99px;font-family:'Space Grotesk',monospace;
  font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;background:rgba(148,163,184,.14);color:#64748b}
html.dark .rf-price-na-mkt{background:rgba(148,163,184,.12);color:#9a9aa0}
/* Honest reference-source note beside the save pill (e.g. "vs 90-day avg" / "vs list price"). */
.rf-price-refnote{font-family:'Space Grotesk',monospace;font-size:11px;font-weight:600;color:#94a3b8;letter-spacing:.01em;margin-left:6px;white-space:nowrap}
html.dark .rf-price-refnote{color:#7c7c85}
/* Subtle "Updated N ago" price-snapshot freshness stamp — slate text, emerald clock. */
.rf-price-updated{font-family:'Space Grotesk','Plus Jakarta Sans',monospace;font-size:11px;font-weight:600;color:#94a3b8;letter-spacing:.01em;white-space:nowrap;align-self:center}
html.dark .rf-price-updated{color:#7c7c85}
.rf-price-updated svg{color:rgba(16,185,129,.7)}
html.dark .rf-price-updated svg{color:rgba(52,211,153,.7)}

/* ===== Hero reviews bar under price panel ===== */
.hq-hero-reviews-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-radius:16px;padding:10px 16px;background:rgba(255,255,255,.75);border:1px solid rgba(226,232,240,.9);box-shadow:0 1px 3px 0 rgba(0,0,0,.04);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html.dark .hq-hero-reviews-bar{background:rgba(18,20,26,.75);border-color:rgba(255,255,255,.08)}
.hq-reviews-jump-btn{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#059669;text-decoration:none;transition:color .15s ease,transform .15s ease}
.hq-reviews-jump-btn:hover{color:#047857}
html.dark .hq-reviews-jump-btn{color:#34d399}
html.dark .hq-reviews-jump-btn:hover{color:#6ee7b7}

/* ===== CATEGORY RANKING block (hq_render_product_rank_block) =====
   Where THIS product stands in its category. Card chrome + headline use the
   theme's compiled Tailwind (emerald/slate, light+dark); the ONLY bespoke pieces
   are the compact sub-score BARS (Value / Popularity / Reviews) that explain WHY
   it ranks where it does, plus a couple of arbitrary-size safety nets since the
   site ships a PRE-COMPILED Tailwind (some utilities were never emitted). */
.rf-rank-subs{display:block}
.rf-rank-sub{display:block}
/* Sub-score bar: a slim rounded track with an emerald fill scaled to the 0–100 score. */
.rf-rank-bar{position:relative;height:6px;border-radius:999px;overflow:hidden;background:rgba(100,116,139,.16)}
html.dark .rf-rank-bar{background:rgba(255,255,255,.10)}
.rf-rank-bar > i{display:block;height:100%;border-radius:999px;min-width:0;
  background:linear-gradient(90deg,#10b981,#34d399);transition:width .5s cubic-bezier(.22,1,.36,1)}
/* Perfect (100): brighter emerald + a soft glow so a perfect review score is highlighted. */
.rf-rank-bar.is-perfect > i{background:linear-gradient(90deg,#059669,#10b981);box-shadow:0 0 10px -1px rgba(16,185,129,.55)}
/* Zero (e.g. Value 0 = expensive now): show it HONESTLY as an empty slate track,
   with a faint sliver so the bar reads as "measured 0", not "missing data". */
.rf-rank-bar.is-zero{background:rgba(100,116,139,.20)}
html.dark .rf-rank-bar.is-zero{background:rgba(255,255,255,.09)}
.rf-rank-bar.is-zero > i{background:rgba(100,116,139,.45);min-width:3px}
html.dark .rf-rank-bar.is-zero > i{background:rgba(148,163,184,.5)}
/* HEADLINE sub-score (Performance — the metric that DRIVES a perf-ranked rank):
   a slightly taller, brighter emerald bar so it visually leads the breakdown. */
.rf-rank-sub.is-headline{padding:8px 10px;border-radius:12px;background:rgba(16,185,129,.07);border:1px solid rgba(16,185,129,.18)}
html.dark .rf-rank-sub.is-headline{background:rgba(16,185,129,.10);border-color:rgba(16,185,129,.22)}
.rf-rank-bar.is-headline{height:8px}
.rf-rank-bar.is-headline > i{background:linear-gradient(90deg,#059669,#10b981);box-shadow:0 0 10px -2px rgba(16,185,129,.5)}
/* Arbitrary font-size safety nets (pre-compiled Tailwind may not emit these). */
.rf-rank-card .text-\[9px\]{font-size:9px}
.rf-rank-card .text-\[10px\]{font-size:10px}
.rf-rank-card .text-\[11px\]{font-size:11px}
.rf-rank-card .text-\[2\.75rem\]{font-size:2.75rem}

/* ===== MOBILE responsiveness guard (<=640px) =====
   Root cause of the horizontal bleed: hidden-but-laid-out wide elements (e.g. the ~776px
   search modal) extend the PANNABLE area, and per-element max-width can't contain that.
   The canonical fix is overflow-x:hidden on the root + capping the known offenders. */
@media (max-width: 640px){
  main.site-main[data-hq-template="single-hardware"]{max-width:100vw !important}
  [data-hq-template="single-hardware"] .prose,
  [data-hq-template="single-hardware"] section,
  [data-hq-template="single-hardware"] .container,
  [data-hq-template="single-hardware"] .rounded-3xl,
  [data-hq-template="single-hardware"] .rounded-2xl{max-width:100% !important}
  [data-hq-template="single-hardware"] img{max-width:100% !important;height:auto}
  /* stat strip: two per row, wrap */
  .rf-stats-strip{flex-wrap:wrap;gap:8px}
  .rf-stats-strip .rf-stat{min-width:calc(50% - 4px);flex:1 1 calc(50% - 4px)}
  .rf-chart-toolbar{flex-wrap:wrap;gap:8px}
  .rf-range-bar{flex-wrap:wrap}
  /* chart + pulse stack full-width */
  .rf-chart-life{flex-direction:column;gap:14px}
  .rf-chart-col,.rf-pulse-col{width:100% !important;max-width:100% !important;flex:1 1 100% !important}
  #hq-price-chart{max-width:100% !important}
  .rf-similar-under-specs,.rf-sources-block{width:100% !important;max-width:100% !important}
  #rf-pulse .rf-pulse-grid{grid-template-columns:1fr !important}
}

/* =========================================================================
   RANK MEDALLION — the PRIMARY rank surface, a compact award badge that sits
   NEXT TO the MPN pill in the product header. Only renders when the product is
   ranked (CPU/GPU/RAM); unranked products emit nothing at all. The site ships a
   PRE-COMPILED Tailwind, so — like the sub-score bars above — this badge is
   hand-authored here rather than relying on utilities that may never be emitted.
   Emerald/slate theme, gold/silver/bronze podium tiers, FULL light + dark.
   ========================================================================= */
.hq-rank-medal{
  position:relative;display:inline-flex;align-items:center;gap:7px;
  min-height:34px;padding:4px 12px 4px 5px;border-radius:999px;
  text-decoration:none;line-height:1;white-space:nowrap;cursor:pointer;
  background:linear-gradient(180deg,rgba(16,185,129,.10),rgba(16,185,129,.05));
  border:1px solid rgba(16,185,129,.35);
  box-shadow:0 1px 2px rgba(15,23,42,.05);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease;
}
.hq-rank-medal:hover,.hq-rank-medal:focus-visible{
  border-color:rgba(16,185,129,.6);box-shadow:0 4px 12px -3px rgba(16,185,129,.35);
  transform:translateY(-1px);outline:none;
}
.hq-rank-medal:focus-visible{box-shadow:0 0 0 2px #10b981}
html.dark .hq-rank-medal{
  background:linear-gradient(180deg,rgba(16,185,129,.14),rgba(16,185,129,.05));
  border-color:rgba(16,185,129,.32);box-shadow:none;
}
/* The medal DISC — a small gradient coin with a star/medal glyph. */
.hq-rank-medal__disc{
  display:inline-flex;align-items:center;justify-content:center;
  width:24px;height:24px;border-radius:999px;flex:0 0 auto;color:#fff;
  background:linear-gradient(145deg,#10b981,#059669);
  box-shadow:0 1px 3px rgba(5,150,105,.5),inset 0 1px 1px rgba(255,255,255,.45),inset 0 -2px 3px rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.5);
}
.hq-rank-medal__disc svg{width:14px;height:14px;display:block}
/* The "#N" position number. */
.hq-rank-medal__pos{
  font-family:'Space Grotesk','Outfit',ui-sans-serif,system-ui,sans-serif;
  font-weight:800;font-size:14px;letter-spacing:-.01em;
  font-variant-numeric:tabular-nums;color:#047857;
}
html.dark .hq-rank-medal__pos{color:#6ee7b7}

/* ---- Podium tiers: gold (#1) / silver (#2) / bronze (#3) ---- */
.hq-rank-medal.is-gold{background:linear-gradient(180deg,rgba(245,158,11,.14),rgba(245,158,11,.05));border-color:rgba(217,119,6,.45)}
.hq-rank-medal.is-gold:hover,.hq-rank-medal.is-gold:focus-visible{border-color:rgba(217,119,6,.7);box-shadow:0 4px 12px -3px rgba(217,119,6,.4)}
.hq-rank-medal.is-gold .hq-rank-medal__disc{background:linear-gradient(145deg,#fbbf24,#d97706);box-shadow:0 1px 3px rgba(180,83,9,.5),inset 0 1px 1px rgba(255,255,255,.55),inset 0 -2px 3px rgba(0,0,0,.14)}
.hq-rank-medal.is-gold .hq-rank-medal__pos{color:#b45309}
html.dark .hq-rank-medal.is-gold{background:linear-gradient(180deg,rgba(245,158,11,.16),rgba(245,158,11,.05));border-color:rgba(217,119,6,.4)}
html.dark .hq-rank-medal.is-gold .hq-rank-medal__pos{color:#fcd34d}

.hq-rank-medal.is-silver{background:linear-gradient(180deg,rgba(148,163,184,.16),rgba(148,163,184,.05));border-color:rgba(148,163,184,.5)}
.hq-rank-medal.is-silver:hover,.hq-rank-medal.is-silver:focus-visible{border-color:rgba(100,116,139,.7);box-shadow:0 4px 12px -3px rgba(100,116,139,.4)}
.hq-rank-medal.is-silver .hq-rank-medal__disc{background:linear-gradient(145deg,#e2e8f0,#94a3b8);color:#475569;box-shadow:0 1px 3px rgba(100,116,139,.45),inset 0 1px 1px rgba(255,255,255,.6),inset 0 -2px 3px rgba(0,0,0,.1)}
.hq-rank-medal.is-silver .hq-rank-medal__pos{color:#475569}
html.dark .hq-rank-medal.is-silver{background:linear-gradient(180deg,rgba(148,163,184,.18),rgba(148,163,184,.05));border-color:rgba(148,163,184,.4)}
html.dark .hq-rank-medal.is-silver .hq-rank-medal__pos{color:#cbd5e1}

.hq-rank-medal.is-bronze{background:linear-gradient(180deg,rgba(180,83,9,.13),rgba(180,83,9,.05));border-color:rgba(180,83,9,.45)}
.hq-rank-medal.is-bronze:hover,.hq-rank-medal.is-bronze:focus-visible{border-color:rgba(146,64,14,.7);box-shadow:0 4px 12px -3px rgba(146,64,14,.4)}
.hq-rank-medal.is-bronze .hq-rank-medal__disc{background:linear-gradient(145deg,#d99a6c,#b45309);box-shadow:0 1px 3px rgba(120,53,15,.5),inset 0 1px 1px rgba(255,255,255,.45),inset 0 -2px 3px rgba(0,0,0,.14)}
.hq-rank-medal.is-bronze .hq-rank-medal__pos{color:#92400e}
html.dark .hq-rank-medal.is-bronze{background:linear-gradient(180deg,rgba(180,83,9,.18),rgba(180,83,9,.06));border-color:rgba(180,83,9,.42)}
html.dark .hq-rank-medal.is-bronze .hq-rank-medal__pos{color:#fbbf24}

/* ---- Hover/focus POPOVER: category + transparent 0–100 score + CTA ---- */
.hq-rank-medal__pop{
  position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);
  display:flex;flex-direction:column;gap:2px;min-width:150px;max-width:220px;
  padding:9px 12px;border-radius:12px;z-index:40;pointer-events:none;
  opacity:0;visibility:hidden;transition:opacity .16s ease,transform .16s ease;
  background:#0f172a;color:#e2e8f0;text-align:left;white-space:normal;
  box-shadow:0 10px 30px -8px rgba(2,6,23,.55),0 0 0 1px rgba(255,255,255,.06);
}
html.dark .hq-rank-medal__pop{background:#020617;box-shadow:0 10px 30px -8px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.08)}
.hq-rank-medal__pop::after{
  content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);
  border:6px solid transparent;border-top-color:#0f172a;
}
html.dark .hq-rank-medal__pop::after{border-top-color:#020617}
.hq-rank-medal:hover .hq-rank-medal__pop,
.hq-rank-medal:focus-visible .hq-rank-medal__pop{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.hq-rank-medal__pop-rank{font-family:'Space Grotesk','Outfit',ui-sans-serif,sans-serif;font-weight:800;font-size:13px;color:#fff;letter-spacing:-.01em}
.hq-rank-medal__pop-score{font-size:12px;font-weight:600;color:#6ee7b7}
/* Honest headline breakdown line in the tooltip (e.g. "Performance 93 · Value 26") —
   the components that actually drive the rank, not a weightless "Popularity 0". */
.hq-rank-medal__pop-subs{font-size:11px;font-weight:600;color:#cbd5e1;letter-spacing:.01em}
.hq-rank-medal__pop-cta{margin-top:2px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}

/* Mobile: hide the hover popover (no hover on touch) — the badge still links to
   /rankings/<category>/ and its aria-label/title carry the full read. Keeps the
   absolutely-positioned popover from ever inflating the pannable width. */
@media (max-width: 640px){
  .hq-rank-medal__pop{display:none}
  .hq-rank-medal{min-height:32px;padding:3px 11px 3px 5px}
}

/* =========================================================================
   DARK-GREEN GLASS — one reusable recipe, carried across the single-hardware
   template so every translucent panel matches the hero card the user loves.

   REFERENCE = the PULSE card + Price-History section the Founder loves. Their
   dark glass is genuinely DARK: base rgba(0,0,0,.58-.60) + emerald-tinted border
   rgba(255,255,255,.10). The Founder's directive: dark glass with CLARITY, not a
   heavy frost — so the blur is REDUCED to ~blur(15px) saturate(145%) (dark) /
   ~blur(18px) saturate(150%) (light), down from the old blur(28-32px) sat(190-200%)
   that turned the busy hero-PCB field behind these panels into visible frost.
   The GREEN is a faint emerald linear-gradient (rgba(16,185,129,.06 light/.10 dark))
   over that dark base — kept subtle so text stays legible. `.rf-glass` therefore
   carries ONE unified recipe shared by the shopping bar, brand pill, price box,
   spec cards, ranking-detail card AND the Pulse/Price-History reference itself:
     DARK  : rgba(0,0,0,.58) + blur(15px) saturate(145%), border rgba(255,255,255,.10)
     LIGHT : rgba(250,252,252,.60) + blur(18px) saturate(150%), border rgba(148,163,184,.30)
   Compiled Tailwind utilities are !important, so these are too, and load AFTER
   tailwind with html.dark specificity so they win the cascade. ========== */
.rf-glass{
  background:
    linear-gradient(135deg, rgba(16,185,129,.06), transparent 70%),
    rgba(250,252,252,.60) !important;
  border:1px solid rgba(148,163,184,.30) !important;
  -webkit-backdrop-filter:blur(18px) saturate(150%) !important;
  backdrop-filter:blur(18px) saturate(150%) !important;
  box-shadow:0 20px 40px -10px rgba(15,23,42,.16), inset 0 1px 0 0 rgba(255,255,255,.65) !important;
}
html.dark .rf-glass{
  background:
    linear-gradient(135deg, rgba(16,185,129,.10), transparent 70%),
    rgba(255,255,255,.10) !important;
  border-color:rgba(255,255,255,.16) !important;
  -webkit-backdrop-filter:blur(11px) saturate(135%) !important;
  backdrop-filter:blur(11px) saturate(135%) !important;
  box-shadow:0 14px 40px -20px rgba(0,0,0,.7), inset 0 1px 0 0 rgba(255,255,255,.22) !important;
}
/* Spec cards keep their lift-on-hover; only the fill is unified to the glass. */
.rf-glass.rf-glass-cell:hover{
  box-shadow:0 24px 46px -14px rgba(15,23,42,.22), inset 0 1px 0 0 rgba(255,255,255,.65) !important;
}
html.dark .rf-glass.rf-glass-cell:hover{
  box-shadow:0 20px 46px -18px rgba(0,0,0,.8), inset 0 1px 0 0 rgba(255,255,255,.18) !important;
}
/* Brand LOGO note: brand marks are heterogeneous — transparent coloured SVGs (e.g. MSI
   red) and PNGs with a baked light background (e.g. GIGABYTE). Both read fine on the dark
   glass as-is, so NO invert/backing is forced here: an invert turns a light-background PNG
   into a solid white block and recolours coloured marks. Verified legible on both in dark
   mode. (The theme's [&_img]:dark:invert arbitrary utility is purged and never applied.) */

/* =========================================================================
   HERO BACKGROUND EXTENT — a full-bleed PCB/circuit field across the WHOLE
   hero card (not just the cramped halo around the product image on the right).
   `.rf-hero-field` is an absolutely-positioned [data-risograph] host filling the
   card; the shared hq-risograph-hero.js sizes + draws the emerald board into
   its `canvas.hq-riso`. The card is overflow-hidden + rounded-[2rem], so the
   field BLEEDS to the rounded border. The shared draw pools density toward the
   bottom-right; we scaleX(-1) MIRROR the canvas so the dense pool lands on the
   LEFT content column (the side that was previously bare), giving the balanced,
   clearly-visible texture the user asked for. Behind content (z-10), above the
   glass fill; pointer-events:none so it never intercepts clicks. ========== */
.rf-hero-field{position:absolute;inset:0;z-index:0;border-radius:inherit;overflow:hidden;pointer-events:none}
.rf-hero-field .hq-riso{
  position:absolute;inset:0;width:100%;height:100%;
  transform:scaleX(-1);              /* mirror the bottom-right pool onto the LEFT */
  opacity:.5;
  -webkit-filter:blur(1.5px) saturate(118%);filter:blur(1.5px) saturate(118%);
}
html.dark .rf-hero-field .hq-riso{opacity:.62}
/* No-JS fallback: a faint emerald circuit grid so the field is never empty. */
.rf-hero-field .hq-riso:not([width]){
  background:
    repeating-linear-gradient(0deg, rgba(5,150,105,.08) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(5,150,105,.08) 0 1px, transparent 1px 26px);
}
html.dark .rf-hero-field .hq-riso:not([width]){
  background:
    repeating-linear-gradient(0deg, rgba(52,211,153,.10) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(52,211,153,.10) 0 1px, transparent 1px 26px);
}

/* Accessible price guide, calculated only from this product's real prices. */
.hq-price-guide-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px}
.hq-price-guide-modal.hidden,.hq-price-guide-modal[hidden]{display:none}
.hq-price-guide-modal__backdrop{position:absolute;inset:0;border:0;background:rgba(2,6,23,.72);backdrop-filter:blur(6px);cursor:pointer}
.hq-price-guide-modal__panel{position:relative;width:min(100%,480px);max-height:min(720px,calc(100vh - 40px));overflow:auto;border:1px solid rgba(148,163,184,.3);border-radius:24px;background:rgba(255,255,255,.96);padding:22px;box-shadow:0 30px 80px -24px rgba(15,23,42,.65);color:#18181b}
html.dark .hq-price-guide-modal__panel{border-color:rgba(255,255,255,.14);background:rgba(6,12,10,.96);color:#f4f4f5}
.hq-price-guide-modal__header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.hq-price-guide-modal__title{font-family:'Outfit',ui-sans-serif,system-ui,sans-serif;font-size:22px;font-weight:800;letter-spacing:-.02em}
.hq-price-guide-modal__close{min-height:44px;border-radius:999px;border:1px solid rgba(148,163,184,.3);padding:0 15px;background:rgba(148,163,184,.1);font:700 12px/1 'Space Grotesk',monospace;text-transform:uppercase;letter-spacing:.05em}
.hq-price-guide-modal__close:focus-visible,.hq-price-guide-modal__link:focus-visible{outline:2px solid #10b981;outline-offset:2px}
.hq-price-guide-modal__current{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-top:22px;padding:16px;border-radius:16px;background:rgba(16,185,129,.09)}
.hq-price-guide-modal__label{color:#64748b;font-size:13px;font-weight:650}
html.dark .hq-price-guide-modal__label{color:#a1a1aa}
.hq-price-guide-modal__price{font-family:'Outfit',ui-sans-serif,system-ui,sans-serif;font-size:28px;line-height:1;font-weight:850;color:#047857}
html.dark .hq-price-guide-modal__price{color:#6ee7b7}
.hq-price-guide-modal__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.hq-price-guide-modal__stat{min-width:0;border:1px solid rgba(148,163,184,.22);border-radius:14px;padding:12px;background:rgba(148,163,184,.06)}
.hq-price-guide-modal__stat dt{font-size:11px;color:#64748b}
.hq-price-guide-modal__stat dd{margin-top:4px;font:750 14px/1.25 'Space Grotesk',monospace;color:#18181b}
html.dark .hq-price-guide-modal__stat dt{color:#a1a1aa}
html.dark .hq-price-guide-modal__stat dd{color:#f4f4f5}
.hq-price-guide-modal__note{margin-top:14px;color:#64748b;font-size:13px;line-height:1.55}
html.dark .hq-price-guide-modal__note{color:#a1a1aa}
.hq-price-guide-modal__link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:18px;border-radius:999px;background:#059669;padding:0 18px;color:#fff;font-size:14px;font-weight:750;text-decoration:none}
@media (max-width:480px){.hq-price-guide-modal{padding:12px}.hq-price-guide-modal__panel{border-radius:20px;padding:18px}.hq-price-guide-modal__stats{grid-template-columns:1fr}.hq-price-guide-modal__current{align-items:start;flex-direction:column}}


/* =========================================================================
   KEEPA PRICE CHART & MULTI-RETAILER MERCHANT MATRIX — LIQUID GLASS UI
   -------------------------------------------------------------------------
   Strict Dieter Rams typography (Upright Tech Grotesque, tabular numbers),
   charcoal floor (#0c0d10), emerald highlights (#10b981), backdrop-blur-3xl.
   ========================================================================= */

.hq-keepa-card {
  position: relative;
  transition: all 0.25s ease;
}

.hq-range-toggles {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hq-range-btn {
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
}

.hq-range-btn:focus-visible,
.hq-sparkline-toggle:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.hq-sparkline-toggle {
  cursor: pointer;
  user-select: none;
}

.hq-chart-stats-grid > div {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.hq-chart-stats-grid > div:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

/* Multi-merchant rows */
.hq-merchant-row {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s ease, box-shadow 0.15s ease;
}

.hq-merchant-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.12);
}

html.dark .hq-merchant-row:hover {
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45);
}

.hq-merchant-btn {
  text-decoration: none;
}

/* Mobile responsive adjustments */
@media (max-width: 639px) {
  .hq-chart-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hq-chart-toolbar > div:last-child {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
  .hq-range-toggles {
    width: auto;
  }
  .hq-range-btn {
    padding: 0.25rem 0.5rem;
    font-size: 11px;
  }
  .hq-merchant-row {
    padding: 1rem;
    gap: 0.75rem;
  }
}
