/* TASTECH design system v3 — simple, fluide, une seule couleur d'accent (indigo doux). */
:root{
  --bg:#f5f6f8;--surface:#ffffff;--surface-2:#f0f2f5;--text:#111827;--muted:#6b7280;--faint:#8b93a1;--border:#e5e7eb;--border-strong:#d1d5db;
  --brand:#4a5fd0;--brand-hover:#3b4fb8;--brand-soft:#eceffc;--brand-ink:#ffffff;--danger:#dc2626;--danger-soft:#fef2f2;
  --ok:#15803d;--ok-soft:#e7f6ec;--warn:#b45309;--warn-soft:#fdf1e0;
  --radius:12px;--radius-sm:8px;--radius-xs:6px;
  --shadow:0 1px 2px rgba(16,24,40,.04),0 4px 14px rgba(16,24,40,.06);--shadow-lg:0 12px 40px rgba(16,24,40,.14);
  --font:"DM Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  /* aliases used by legacy templates */
  --tt-bg:var(--bg);--tt-surface:var(--surface);--tt-surface-hover:var(--surface-2);--tt-border:var(--border);--tt-border-strong:var(--border-strong);--tt-text:var(--text);--tt-muted:var(--muted);--tt-grad:var(--brand);--tt-grad-soft:var(--brand-soft);--tt-radius:var(--radius);
  --paper:var(--bg);--ink:var(--text);--line:var(--border);--accent:var(--brand);--accent-soft:var(--brand-soft);--dark:#0d1117;
  color-scheme:light;
}
:root.dark{
  --bg:#0d1117;--surface:#161b22;--surface-2:#1f2630;--text:#e6edf3;--muted:#9aa4b2;--faint:#6b7280;--border:#262d37;--border-strong:#3a4350;
  --brand:#8b9cff;--brand-hover:#a3b1ff;--brand-soft:#1f2648;--brand-ink:#0d1117;--danger:#f87171;--danger-soft:#3a1515;
  --ok:#4ade80;--ok-soft:#12301c;--warn:#fbbf24;--warn-soft:#3a2a0c;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 4px 14px rgba(0,0,0,.35);--shadow-lg:0 12px 40px rgba(0,0,0,.6);
  color-scheme:dark;
}
@supports (font-variation-settings:normal){:root{--font:"DM Sans",ui-sans-serif,system-ui,sans-serif}}

/* ---------- base ---------- */
*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%;font-family:var(--font)}body{font-family:var(--font)}
body.tt-body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased;font-feature-settings:"cv11","ss01"}
.dark body.tt-body{background:var(--bg);color:var(--text)}
button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,summary,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button:not(:disabled),summary,[role=button]{cursor:pointer}
a{color:inherit;text-decoration:none}img{max-width:100%;display:inline-block}button:disabled{opacity:.45;cursor:not-allowed}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}::selection{background:var(--brand-soft);color:var(--text)}
h1,h2,h3,h4{color:var(--text);font-weight:700;line-height:1.2;margin:0;letter-spacing:-.02em}h1{font-size:clamp(26px,3.4vw,36px)}h2{font-size:clamp(20px,2.4vw,26px)}h3{font-size:16px}p{margin:0;color:var(--muted)}
.wrap{width:min(1280px,calc(100% - 48px));margin-inline:auto}
.skip-link{position:fixed;top:-100px;left:16px;padding:10px 16px;background:var(--text);color:var(--bg);border-radius:var(--radius-sm);z-index:9999}.skip-link:focus{top:12px}
.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.section{padding-block:40px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head p{margin-top:4px}
.text-link{color:var(--brand);font-weight:600;font-size:13px}.text-link:hover{text-decoration:underline}

/* ---------- buttons ---------- */
.btn,.button,.tt-btn-primary,.tt-btn-ghost,.fx-btn-primary,.fx-btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;border-radius:var(--radius-sm);font-weight:600;font-size:13px;line-height:1;border:1px solid var(--border);background:var(--surface);color:var(--text);transition:background .15s,border-color .15s,color .15s,box-shadow .15s;white-space:nowrap}
.btn:hover,.button:hover,.tt-btn-ghost:hover,.fx-btn-ghost:hover{background:var(--surface-2);border-color:var(--border-strong)}
.btn-primary,.button.orange,.button:not(.outline):not(.btn-secondary),.tt-btn-primary,.fx-btn-primary{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.btn-primary:hover,.button:not(.outline):not(.btn-secondary):hover,.tt-btn-primary:hover,.fx-btn-primary:hover{background:var(--brand-hover);border-color:var(--brand-hover);color:var(--brand-ink)}
.btn-secondary,.button.outline{background:var(--surface);color:var(--text);border-color:var(--border)}
.btn-ghost{background:transparent;border-color:transparent}.btn-ghost:hover{background:var(--surface-2)}
.btn-sm{min-height:32px;padding:0 12px;font-size:12px}.btn-lg{min-height:46px;padding:0 22px;font-size:14px}.btn-block{width:100%}
.btn .badge{background:color-mix(in srgb,currentColor 18%,transparent);padding:1px 7px;border-radius:99px;font-size:11px}

/* ---------- forms ---------- */
.input,.tt-input-wrap{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);min-height:40px;padding:0 12px;transition:border-color .15s,box-shadow .15s}
.input:focus-within,.tt-input-wrap:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.input input,.tt-input-wrap input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:8px 0;color:var(--text)}.input input::placeholder,.tt-body input::placeholder{color:var(--faint)}
.input svg,.input i{color:var(--faint);flex-shrink:0}
.tt-body :is(input,textarea,select){accent-color:var(--brand)}

/* ---------- cards / chips / pills ---------- */
.card,.tt-card,.glass-panel,.fx-panel,.fx-card,.fx-glass,.fx-slot,.fx-modal-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:none}
.card-pad{padding:20px}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border-radius:99px;border:1px solid var(--border);background:var(--surface);font-size:12px;font-weight:600;color:var(--text);transition:all .15s}
.chip:hover{border-color:var(--border-strong);background:var(--surface-2)}.chip.is-active,.chip[aria-current=page],.chip[aria-pressed=true]{background:var(--text);color:var(--bg);border-color:var(--text)}
.pill{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:600;background:var(--surface-2);color:var(--muted)}.pill.ok{background:var(--ok-soft);color:var(--ok)}.pill.brand{background:var(--brand-soft);color:var(--brand)}.pill.warn{background:var(--warn-soft);color:var(--warn)}
.tt-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:var(--muted)}.tt-dot{width:6px;height:6px;background:var(--brand);border-radius:50%}
.tt-divider,.fx-divider{border:0;border-top:1px solid var(--border);height:0;margin:0}
.tt-spinner,.fx-spinner{width:32px;height:32px;border:3px solid var(--border);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}.tt-spinner-wrap{display:inline-block}.tt-spinner-sm{width:20px;height:20px;border-width:2px}
.tt-skeleton,.fx-skeleton{background:linear-gradient(90deg,var(--surface-2),var(--border),var(--surface-2));background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:var(--radius-xs);min-height:20px}
.tt-blob,.tt-scanline:after,.tt-card-glow:before,.fx-hud:before,.fx-hud:after,.fx-card-glow:before,.fx-scanline:after,.fx-slot:before,.fx-icon-tile:before,.fx-blob{display:none!important}
.tt-grad-text,.fx-grad-text,.fx-price-total{background:none;color:var(--brand);-webkit-text-fill-color:currentColor}
.tt-dropdown,.fx-dropdown,.dropdown-menu{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius-sm)!important;box-shadow:var(--shadow-lg)!important}
.hide-scrollbar{scrollbar-width:none}.hide-scrollbar::-webkit-scrollbar{display:none}.custom-scrollbar{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes fade-up{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.fade-up{animation:fade-up .3s ease both}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:80;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--border)}
.header-inner{height:64px;display:flex;align-items:center;gap:18px}
.logo{display:inline-flex;align-items:center;flex-shrink:0}.logo img{height:26px;width:auto;filter:brightness(0);transition:filter .15s}.dark .logo img{filter:none}
.header-search{flex:1;max-width:520px;margin-inline:6px}.header-search .input{min-height:38px;background:var(--surface-2);border-color:transparent}.header-search .input:focus-within{background:var(--surface);border-color:var(--brand)}
.header-search kbd{font:11px var(--font);color:var(--faint);border:1px solid var(--border);border-radius:4px;padding:1px 5px}
.site-nav{display:flex;align-items:center;gap:4px;margin-left:auto;font-size:13px;font-weight:600}
.site-nav>a,.site-nav summary{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:var(--radius-sm);color:var(--muted);transition:background .15s,color .15s;list-style:none}
.site-nav summary::-webkit-details-marker{display:none}.site-nav>a:hover,.site-nav summary:hover,.site-nav>a[aria-current=page]{color:var(--text);background:var(--surface-2)}
.site-nav>a[aria-current=page]{color:var(--brand)}
.nav-catalog{position:relative}.nav-catalog summary:after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:2px}
.nav-popover{position:absolute;top:calc(100% + 8px);left:0;display:grid;grid-template-columns:1fr 1fr;gap:4px;min-width:420px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);animation:fade-up .18s ease}
.nav-popover a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--radius-sm);font-weight:600;color:var(--text)}.nav-popover a:hover{background:var(--surface-2)}
.nav-popover img{width:24px;height:24px;object-fit:contain;filter:brightness(0);opacity:.7}.dark .nav-popover img{filter:brightness(0) invert(1)}
.nav-popover small{display:block;font-weight:500;color:var(--muted);font-size:11px}
.header-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
.theme-button,.menu-button,.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--muted)}
.theme-button:hover,.menu-button:hover,.icon-btn:hover{color:var(--text);background:var(--surface-2)}.theme-button svg,.menu-button svg{width:18px;height:18px}
.theme-button .sun,.dark .theme-button .moon{display:none}.dark .theme-button .sun{display:block}
.menu-button{display:none}.site-nav .nav-cta{display:none}

/* ---------- footer ---------- */
.site-footer{margin-top:56px;border-top:1px solid var(--border);background:var(--surface);padding:40px 0 24px;font-size:13px}
.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px;padding-bottom:32px}
.footer-top .logo img{height:24px}.footer-top p{margin-top:14px;max-width:340px}
.footer-links{display:grid;gap:8px;align-content:start}.footer-links strong{color:var(--text);font-size:12px;margin-bottom:4px}.footer-links a{color:var(--muted)}.footer-links a:hover{color:var(--text)}
.footer-bottom{border-top:1px solid var(--border);padding-top:20px;display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted);flex-wrap:wrap}.footer-bottom a:hover{color:var(--text)}

/* ---------- home ---------- */
.hero{padding:56px 0 24px;text-align:center}
.hero h1{font-size:clamp(30px,4.6vw,48px);letter-spacing:-.03em;margin-bottom:12px}.hero h1 span{color:var(--brand)}
.hero>p{font-size:16px;max-width:620px;margin:0 auto 26px}
.hero-search{max-width:680px;margin:0 auto}.hero-search .input{min-height:52px;padding:0 8px 0 18px;border-radius:14px;box-shadow:var(--shadow)}.hero-search input{font-size:15px}.hero-search .btn{min-height:40px}
.hero-examples{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px;font-size:12px;color:var(--muted)}.hero-examples span{align-self:center}
.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:900px;margin:32px auto 0}
.mode-card{display:flex;align-items:center;gap:16px;padding:20px 22px;text-align:left;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);transition:border-color .15s,transform .15s,box-shadow .15s}
.mode-card:hover{border-color:var(--brand);box-shadow:var(--shadow);transform:translateY(-1px)}
.mode-card .icon{width:46px;height:46px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;flex-shrink:0}.mode-card .icon svg{width:22px;height:22px}
.mode-card strong{display:block;font-size:15px}.mode-card span{font-size:12px;color:var(--muted)}.mode-card .arrow{margin-left:auto;color:var(--faint)}
.stats-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.stat{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font-size:12px;color:var(--muted)}.stat b{color:var(--text);font-size:14px}
.cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cat-tile{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);transition:border-color .15s,box-shadow .15s,transform .15s}
.cat-tile:hover{border-color:var(--brand);box-shadow:var(--shadow);transform:translateY(-1px)}
.cat-tile img{width:34px;height:34px;object-fit:contain;filter:brightness(0);opacity:.75;flex-shrink:0}.dark .cat-tile img{filter:brightness(0) invert(1)}
.cat-tile strong{display:block;font-size:14px}.cat-tile small{color:var(--muted);font-size:12px}
.builds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.build-card{min-width:0;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);display:flex;flex-direction:column;gap:10px;transition:border-color .15s,box-shadow .15s}.build-card:hover{border-color:var(--brand);box-shadow:var(--shadow)}
.build-card .row{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}.build-card h3{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.build-card .price{font-weight:700;color:var(--brand);white-space:nowrap}
.build-parts{display:grid;gap:6px;font-size:12px;color:var(--muted)}.build-parts div{display:flex;gap:8px;align-items:center;overflow:hidden}.build-parts b{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--faint);width:36px;flex-shrink:0}.build-parts span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.deals-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.deal-mini{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);transition:border-color .15s,box-shadow .15s}.deal-mini:hover{border-color:var(--brand);box-shadow:var(--shadow)}
.deal-mini .thumb{height:110px;display:grid;place-items:center;background:#fff;border-radius:var(--radius-sm)}.deal-mini img{max-height:96px;object-fit:contain}
.deal-mini h3{font-size:12px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.deal-mini .row{display:flex;align-items:center;gap:8px;margin-top:auto}.deal-mini .price{font-weight:700;font-size:15px}.deal-mini s{color:var(--faint);font-size:12px}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.feature-card{padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.feature-card .icon{width:40px;height:40px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;margin-bottom:12px}.feature-card .icon svg{width:20px;height:20px}.feature-card h3{margin-bottom:6px}.feature-card p{font-size:13px}
.faq{max-width:760px;margin:0 auto;display:grid;gap:8px}.faq details{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);padding:0 16px}.faq summary{display:flex;justify-content:space-between;align-items:center;padding:14px 0;font-weight:600;list-style:none}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:'+';color:var(--muted);font-size:18px}.faq details[open] summary:after{content:'−'}.faq details>p{padding:0 0 14px;font-size:13px}

/* ---------- page head / catalogue ---------- */
.page-head{padding:26px 0 18px}.breadcrumb{display:flex;gap:6px;font-size:12px;color:var(--muted);margin-bottom:10px}.breadcrumb a:hover{color:var(--text)}.breadcrumb span:before{content:'›';margin-right:6px;color:var(--faint)}
.page-head .row{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.page-head p{margin-top:4px;max-width:640px}
.page-head .count{font-size:13px;color:var(--muted)}.page-head .count b{color:var(--text)}
.category-nav{display:flex;gap:6px;overflow:auto;padding:16px 0 2px;scrollbar-width:none}.category-nav::-webkit-scrollbar{display:none}.category-nav a{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;white-space:nowrap;border:1px solid var(--border);background:var(--surface);font-size:12px;font-weight:600;border-radius:99px;color:var(--muted)}.category-nav a:hover{color:var(--text);border-color:var(--border-strong)}.category-nav a[aria-current=page]{background:var(--text);color:var(--bg);border-color:var(--text)}
.page-heading{padding:26px 0 18px}.page-heading .heading-row{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.page-heading h1{margin:6px 0 4px}.catalog-count{font-size:22px;font-weight:700;color:var(--brand);text-align:right}.catalog-count small{display:block;font-size:10px;letter-spacing:.06em;color:var(--muted);font-weight:600}
.filters-toggle{display:none}.catalog-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.catalog-toolbar .chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.catalog-toolbar .chips .label{font-size:12px;color:var(--muted);margin-right:2px}
.view-toggle{display:inline-flex;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;margin-left:auto;background:var(--surface)}.view-toggle button{width:36px;height:34px;display:grid;place-items:center;color:var(--muted);background:transparent;border:0}.view-toggle button[aria-pressed=true]{background:var(--surface-2);color:var(--text)}.view-toggle svg{width:16px;height:16px}
.tt-app main{min-width:0}.tt-app aside .tt-card{padding:18px}.tt-app aside{width:260px}
#products.grid-view{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}#products.list-view{display:flex;flex-direction:column;gap:10px}
.pcard{position:relative;min-width:0;display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);transition:border-color .15s,box-shadow .15s;cursor:pointer}
.pcard:hover,.pcard:focus-within{border-color:var(--brand);box-shadow:var(--shadow)}.pcard.is-compared{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.pcard .thumb{height:150px;display:grid;place-items:center;background:#fff;border-radius:var(--radius-sm);border:1px solid var(--border);overflow:hidden}.pcard .thumb img{max-width:88%;max-height:128px;width:auto;height:auto;object-fit:contain}
.pcard .brand{font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.pcard h3{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.pcard .specs{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;font-size:12px}.pcard .specs div{min-width:0}.pcard .specs small{display:block;font-size:10px;color:var(--faint);text-transform:uppercase;letter-spacing:.04em}.pcard .specs b{font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.pcard .buy{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid var(--border);margin-top:auto}
.pcard .store{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.pcard .store img{width:18px;height:13px;border-radius:2px;object-fit:cover}
.pcard .price{font-size:17px;font-weight:700;white-space:nowrap}.pcard .price small{font-size:11px;font-weight:500;color:var(--muted);margin-left:4px}
.pcard .actions{display:flex;gap:8px}.pcard .actions .btn{flex:1}.pcard .cmp{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);background:var(--surface);border:1px solid var(--border);padding:3px 8px;border-radius:99px}.pcard .cmp input{margin:0;width:14px;height:14px}
.list-view .pcard{flex-direction:row;align-items:center;gap:16px;padding:12px 14px}.list-view .pcard .thumb{width:84px;height:84px;flex-shrink:0}.list-view .pcard .thumb img{max-height:70px}.list-view .pcard .body{flex:1;min-width:0;display:grid;gap:6px}.list-view .pcard h3{min-height:0;-webkit-line-clamp:1}.list-view .pcard .specs{grid-template-columns:repeat(4,minmax(0,1fr))}.list-view .pcard .buy{border:0;padding:0;margin:0;flex-direction:column;align-items:end;gap:6px;flex-shrink:0}.list-view .pcard .actions{width:auto}.list-view .pcard .cmp{position:static}
.compare-bar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 16px;background:var(--text);color:var(--bg);border-radius:14px;box-shadow:var(--shadow-lg);font-size:13px;animation:fade-up .2s ease}.compare-bar .btn{min-height:34px}.compare-bar .clear{background:transparent;border:0;color:inherit;opacity:.7;text-decoration:underline}
.compare-modal{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.5);display:grid;place-items:center;padding:20px}.compare-modal .panel{background:var(--surface);border-radius:var(--radius);max-width:1000px;width:100%;max-height:90vh;overflow:auto;box-shadow:var(--shadow-lg)}
.compare-modal .panel header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--surface)}
.compare-table{width:100%;border-collapse:collapse;font-size:13px}.compare-table th,.compare-table td{padding:12px 16px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}.compare-table th:first-child,.compare-table td:first-child{color:var(--muted);font-weight:500;width:150px}.compare-table .best{color:var(--ok);font-weight:700}.compare-table img{height:70px;object-fit:contain;background:#fff;border-radius:8px;padding:4px}
.catalog-status{padding:40px 24px;text-align:center;border:1px dashed var(--border);border-radius:var(--radius);background:var(--surface)}.catalog-status h3{margin-bottom:6px}.catalog-status button,.catalog-status .btn{margin-top:14px}
.range-input::-webkit-slider-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:var(--brand);border:2px solid var(--surface);cursor:pointer;-webkit-appearance:none}.range-input::-moz-range-thumb{pointer-events:auto;width:12px;height:12px;border-radius:50%;background:var(--brand);border:2px solid var(--surface);cursor:pointer}.peer:checked~i{opacity:1!important}

/* ---------- search results page ---------- */
.results-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.results-grid .pcard{cursor:default}.results-grid .pcard h3{min-height:0}

/* ---------- content pages ---------- */
.reading-layout{display:grid;grid-template-columns:220px minmax(0,760px);gap:48px;padding-bottom:40px}.reading-layout aside{font-size:13px;position:sticky;top:90px;align-self:start}.reading-layout aside a{display:block;padding:8px 0;color:var(--muted);border-bottom:1px solid var(--border)}.reading-layout aside a:hover{color:var(--text)}.reading-layout article h2{font-size:20px;margin:28px 0 10px}.reading-layout article p{margin-bottom:14px}.reading-layout article ul{padding-left:20px;color:var(--muted)}
.contact-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 10px}.contact-options a{border:1px solid var(--border);padding:20px;background:var(--surface);border-radius:var(--radius);font-size:16px;font-weight:600}.contact-options a:hover{border-color:var(--brand)}.contact-options small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:6px}
.journal-feature{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;padding:8px 0 40px}.journal-feature img{width:100%;aspect-ratio:1.4;object-fit:cover;border-radius:var(--radius);border:1px solid var(--border)}.journal-feature h2{margin:10px 0}.journal-feature:hover h2{color:var(--brand)}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.legal-page .tt-card{padding:24px}.legacy-heading{font-size:clamp(26px,3.4vw,36px)!important}

/* ---------- legacy Tailwind pages (amazon, deals, favoris, blog, légal) ---------- */
.tt-body .text-gray-900,.tt-body .text-gray-800,.tt-body .text-gray-700{color:var(--text)}.tt-body .text-gray-300,.tt-body .text-gray-200,.tt-body .text-slate-300,.tt-body .text-slate-600,.dark .tt-body .dark\:text-slate-600{color:var(--faint)}.tt-body .text-gray-400,.tt-body .text-gray-500,.tt-body .text-gray-600{color:var(--muted)}.tt-body .text-blue-600,.tt-body .text-blue-500{color:var(--brand)}
.tt-body .bg-white{background-color:var(--surface)}.tt-body :is(.bg-blue-500,.bg-blue-600,.bg-cyan-500){background-color:var(--brand);color:var(--brand-ink)}.tt-body :is(.hover\:bg-blue-600,.hover\:bg-blue-700):hover{background-color:var(--brand-hover);color:var(--brand-ink)}.tt-body .bg-\[var\(--accent\)\],.tt-body [style*="var(--tt-grad)"]{color:var(--brand-ink)!important;box-shadow:var(--shadow)!important}.tt-body .bg-gray-50,.tt-body .bg-gray-100{background-color:var(--surface-2)}.tt-body .border-gray-100,.tt-body .border-gray-200{border-color:var(--border)}
.tt-body [class*='rounded-2xl'],.tt-body [class*='rounded-3xl']{border-radius:var(--radius)}.tt-body [class*='rounded-xl']{border-radius:var(--radius-sm)}
.dark .tt-body .dark\:text-white{color:var(--text)}.dark .tt-body .dark\:text-slate-400,.dark .tt-body .dark\:text-slate-500{color:var(--muted)}
.product-card,.product-row,.modal-trigger{border-radius:var(--radius)!important;background:var(--surface)!important;border:1px solid var(--border)!important;box-shadow:none!important}.product-card:hover,.modal-trigger:hover{border-color:var(--brand)!important}
.modal-content{border-radius:var(--radius)!important;background:var(--surface)!important;border-color:var(--border)!important}.spec-label{font-size:10px!important;color:var(--muted)!important}.spec-value{font-size:13px!important;color:var(--text)!important}
.tt-body #search-section{padding:36px 0 28px;min-height:initial}.tt-body #search-section>div{max-width:820px}.tt-body #search-section h1{text-align:center;font-size:clamp(26px,3.6vw,40px)}.tt-body #search-section .tt-input-wrap{padding:6px 6px 6px 8px;min-height:54px;border-radius:14px;box-shadow:var(--shadow)}
.tt-body .product-card h3,.tt-body .modal-trigger h3{font-size:14px;line-height:1.45}#products [role=button]:focus-visible{outline:2px solid var(--brand)}

/* ---------- responsive ---------- */
@media(max-width:1100px){.cat-grid{grid-template-columns:repeat(3,1fr)}.results-grid,.deals-row{grid-template-columns:repeat(3,1fr)}#products.grid-view{grid-template-columns:repeat(2,1fr)}.header-search{max-width:360px}}
@media(max-width:1000px){.wrap{width:calc(100% - 32px)}.tt-app aside{display:none}.tt-app aside.is-open{display:block}.filters-toggle{display:inline-flex}.tt-app aside .tt-card{position:static!important}.header-inner{gap:10px}.site-nav{gap:0}.site-nav>a,.site-nav summary{padding:8px 9px;font-size:12px}.header-actions>.btn{display:none}.site-nav .nav-cta{display:inline-flex}.tt-app aside{width:auto}.reading-layout{grid-template-columns:1fr;gap:20px}.reading-layout aside{position:static;display:flex;gap:14px;flex-wrap:wrap}.reading-layout aside a{border:0;padding:4px 0}}
@media(max-width:760px){.wrap{width:calc(100% - 24px)}.header-inner{height:58px;justify-content:space-between}.logo img{height:22px}.header-search{display:none}.header-actions{margin-left:auto;gap:6px}.menu-button{display:inline-flex}
.site-nav{display:none;position:absolute;top:58px;left:0;right:0;padding:12px 12px 16px;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow-lg);align-items:stretch;gap:2px;max-height:calc(100dvh - 58px);overflow:auto}.site-nav.is-open{display:flex;flex-direction:column}.site-nav>a,.site-nav summary{padding:12px;font-size:14px;color:var(--text)}
.nav-popover{position:static;min-width:0;box-shadow:none;border:0;background:var(--surface-2);grid-template-columns:1fr 1fr;animation:none;margin:4px 0 8px}.nav-cta{margin:10px 12px 0;justify-content:center}
.mobile-search{display:flex;padding:0 12px 8px}.mobile-search .input{width:100%}
.hero{padding:34px 0 16px}.hero>p{font-size:14px}.mode-grid{grid-template-columns:1fr;margin-top:22px}.cat-grid{grid-template-columns:1fr 1fr;gap:10px}.cat-tile{padding:12px;gap:10px}.cat-tile img{width:28px;height:28px}
.builds-grid,.feature-grid,.results-grid{grid-template-columns:1fr}.deals-row{grid-template-columns:1fr 1fr}.section{padding-block:28px}.section-head{flex-direction:column;align-items:start;gap:8px}
#products.grid-view{grid-template-columns:1fr 1fr;gap:10px}.pcard{padding:10px}.pcard .thumb{height:130px}.pcard .thumb img{max-height:110px}.pcard .specs{grid-template-columns:1fr 1fr}.pcard .actions .btn{padding:0 8px;font-size:11px}.list-view .pcard{flex-wrap:wrap}.list-view .pcard .specs{grid-template-columns:1fr 1fr}.list-view .pcard .buy{flex-direction:row;width:100%;justify-content:space-between;align-items:center}
.compare-bar{left:12px;right:12px;transform:none;justify-content:space-between}.contact-options,.journal-feature{grid-template-columns:1fr}.footer-top{grid-template-columns:1fr 1fr;gap:22px}.footer-bottom{flex-direction:column;gap:8px}.catalog-count{font-size:18px}.tt-app aside .tt-card{padding:14px}}
@media(max-width:480px){#products.grid-view{grid-template-columns:1fr}.deals-row{grid-template-columns:1fr}.footer-top{grid-template-columns:1fr}}
@media(min-width:761px){.mobile-search{display:none}}
.suggestions-dropdown{scrollbar-width:none}.suggestions-dropdown::-webkit-scrollbar{display:none}.spinner{border:3px solid var(--border);border-top-color:var(--brand);border-radius:50%;width:32px;height:32px;animation:spin 1s linear infinite}

/* Product details: the legacy inline panel becomes a real centered dialog. */
#product-modal:not(.hidden){position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.5);animation:fade-up .15s ease}
#product-modal.hidden{display:none}
#product-modal [data-modal-backdrop]{display:block!important;position:absolute;inset:0}
#product-modal .modal-content{position:relative;width:min(980px,100%);max-height:90vh;overflow:auto;background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow-lg);opacity:1!important}
#product-modal .merchant-row{background:var(--surface-2)!important;border-color:var(--border)!important;border-radius:var(--radius-sm)!important}
@media(max-width:760px){#product-modal:not(.hidden){padding:0;align-items:end}#product-modal .modal-content{max-height:92vh;border-radius:var(--radius) var(--radius) 0 0!important}}

/* ---------- catalogue de composants (tastech.fr/<famille> et build.tastech.fr/select) ---------- */
.cs{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;align-items:start}
.cs.cs-embedded{padding:14px 16px}
.cs-sidebar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);position:sticky;top:78px;max-height:calc(100vh - 92px);display:flex;flex-direction:column;overflow:hidden}
.cs-embedded .cs-sidebar{position:sticky;top:0;max-height:calc(92vh - 140px)}
.cs-switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border);font-size:13px;cursor:pointer}.cs-switch-row:last-child{border-bottom:0;border-top:1px solid var(--border)}.cs-switch-row b{display:block;font-weight:600}.cs-switch-row small{display:block;color:var(--muted);font-size:11px}
.cs-switch-row input[type=checkbox]{appearance:none;width:38px;height:22px;border-radius:99px;background:var(--border-strong);position:relative;flex-shrink:0;transition:background .15s;cursor:pointer;margin:0}.cs-switch-row input[type=checkbox]:before{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}.cs-switch-row input[type=checkbox]:checked{background:var(--brand)}.cs-switch-row input[type=checkbox]:checked:before{transform:translateX(16px)}
.cs-switch-top{background:var(--surface-2)}
.cs-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-bottom:1px solid var(--border)}.cs-sidebar-head h2{font-size:14px;display:inline-flex;align-items:center;gap:8px}
.cs-link{background:none;border:0;color:var(--brand);font-size:12px;font-weight:600;padding:0;cursor:pointer}.cs-link:hover{text-decoration:underline}
.cs-sidebar-scroll{overflow:auto;flex:1;scrollbar-width:thin}
.cs-group{border-bottom:1px solid var(--border)}.cs-group-head{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 14px;background:transparent;border:0;font-size:13px;font-weight:600;color:var(--text);text-align:left}.cs-group-head:hover{background:var(--surface-2)}.cs-group-head svg{color:var(--faint);transition:transform .15s}.cs-group-head svg.open,.cs-group.is-open>.cs-group-head svg{transform:rotate(180deg)}.cs-group-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:8px;border-radius:99px;background:var(--brand);color:var(--brand-ink);font-size:10px;font-style:normal}
.cs-group-body{padding:4px 14px 14px}.cs-group:not(.is-open)>.cs-group-body{display:none}
.cs-options{display:grid;gap:2px}.cs-option-search{width:100%;margin-bottom:6px;padding:7px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);font-size:12px}
.cs-option{display:flex;align-items:center;gap:8px;padding:5px 6px;border-radius:6px;font-size:13px;cursor:pointer}.cs-option:hover{background:var(--surface-2)}.cs-option input{width:15px;height:15px;margin:0;accent-color:var(--brand);flex-shrink:0}.cs-option-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-option.is-checked .cs-option-label{font-weight:600}.cs-option-count{font-size:11px;color:var(--faint)}
.cs-more{background:none;border:0;color:var(--brand);font-size:12px;font-weight:600;padding:6px;text-align:left;cursor:pointer}
.cs-group-body input[type=range]{accent-color:var(--brand)}.cs-group-body .slider-thumb::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:var(--brand);border:2px solid var(--surface);cursor:pointer;pointer-events:auto}.cs-group-body .slider-thumb::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--brand);border:2px solid var(--surface);cursor:pointer;pointer-events:auto}
.cs-main{min-width:0;display:grid;gap:12px}
.cs-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cs-search{flex:1;min-width:220px}.cs-search input{padding:0}
.cs-select{min-height:36px;padding:0 30px 0 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;font-size:13px;font-weight:600;color:var(--text);appearance:none;cursor:pointer}
.cs-dot{width:8px;height:8px;border-radius:50%;background:var(--faint)}.cs-dot.on{background:var(--ok)}.chip.is-active .cs-dot.on{background:var(--ok)}
.cs-toolbar .view-toggle{margin-left:0}
.cs-quick{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.cs-quick .label{font-size:12px;color:var(--muted);margin-right:4px}
.cs-status{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.cs-status>b{color:var(--text)}.cs-current{margin-left:auto;font-size:12px}.cs-current b{color:var(--text);font-weight:600}
.cs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cs-list{display:grid;gap:8px}
.cs-card{cursor:pointer}.cs-card.is-in-build{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.cs-flag-in-build,.cs-flag-incompat{position:absolute;top:10px;left:10px;z-index:2;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:99px;font-size:11px;font-weight:600}.cs-flag-in-build{background:var(--ok-soft);color:var(--ok)}.cs-flag-incompat{background:var(--warn-soft);color:var(--warn)}
.cs-card .buy:has(.cs-price){justify-content:center}.cs-card .actions .btn{flex:1}.cs-btn-remove{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 40%,transparent);background:var(--danger-soft)}.cs-btn-remove:hover{background:var(--danger);color:#fff;border-color:var(--danger)}
.cs-price{position:relative;display:inline-flex}.cs-price .store-menu{right:auto;left:0;min-width:250px}
.cs-row{display:flex;align-items:center;gap:14px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer;transition:border-color .15s,box-shadow .15s}.cs-row:hover{border-color:var(--brand);box-shadow:var(--shadow)}.cs-row.is-in-build{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.cs-row-thumb{width:52px;height:52px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:8px;padding:3px;flex-shrink:0}.cs-row-body{flex:1;min-width:0;display:grid;gap:4px}.cs-row-body>b{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-row-specs{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}.cs-row-specs small{color:var(--faint)}.cs-row-price{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right}.cs-row-price .store{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap}.cs-row-price .store img{width:18px;height:13px;border-radius:2px;object-fit:cover;flex-shrink:0}.cs-row-price .store .pill{font-size:10px;padding:1px 7px}.cs-row-price .price{font-size:16px;font-weight:700;white-space:nowrap;line-height:1.1}.cs-row-price .price small{color:var(--muted);font-weight:500}.cs-row-actions{display:flex;gap:6px;flex-shrink:0}
.cs-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:6px}.cs-page-size{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.cs-pages{display:flex;gap:4px}.cs-pages .icon-btn{width:34px;height:34px;font-size:12px;font-weight:600}.cs-page.is-active{background:var(--text);color:var(--bg);border-color:var(--text)}
.cs-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:60}
/* fiche produit */
.cs-product-overlay{z-index:1200!important}.cs-product{width:min(960px,100%);max-height:92vh;display:flex}
.cs-product-card{display:flex;flex-direction:column;width:min(1040px,100%);margin:0 auto;background:var(--surface);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden;max-height:92vh}
.cs-product-head{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--border)}.cs-product-head h2{font-size:19px;margin-top:8px;line-height:1.3}.cs-product-head .pill+.pill{margin-left:6px}
.cs-product-body{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;padding:22px;overflow:auto;align-items:start}
.cs-product-media>img{width:100%;height:240px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:14px}.cs-product-thumbs{display:flex;gap:6px;margin-top:8px}.cs-product-thumbs button{width:44px;height:44px;border:1px solid var(--border);border-radius:6px;background:#fff;padding:2px}.cs-product-thumbs button.is-active{border-color:var(--brand)}.cs-product-thumbs img{width:100%;height:100%;object-fit:contain}
.cs-product-specs{margin-top:14px}.cs-product-specs h3,.cs-product-offers h3{font-size:13px;margin-bottom:8px}.cs-product-specs dl{display:grid;grid-template-columns:auto 1fr;gap:0 14px;font-size:12px;margin:0}.cs-product-specs dt{color:var(--muted)}.cs-product-specs dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}.cs-product-specs dt,.cs-product-specs dd{padding:7px 0;border-bottom:1px solid var(--border)}.cs-product-specs dt:nth-last-of-type(1),.cs-product-specs dd:last-child{border-bottom:0}
.cs-offer{display:grid;grid-template-columns:24px 1fr auto auto auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:6px;font-size:13px}.cs-offer.is-best{border-color:var(--brand);background:var(--brand-soft)}.dark .cs-offer.is-best{background:var(--brand-soft)}.cs-offer img{width:20px;height:14px;border-radius:2px;object-fit:cover}.cs-offer span{display:flex;align-items:center;gap:8px;min-width:0}.cs-offer b{font-size:15px}
.cs-sidebar-head>span{display:flex;align-items:center;gap:8px}.cs-sidebar-close,.cs-filters-btn{display:none}
.cs-sort{display:inline-flex;align-items:center;gap:8px}
.cs-range{padding:8px 4px 2px}.cs-range-track{position:relative;height:18px}.cs-range-track:before{content:'';position:absolute;left:0;right:0;top:7px;height:4px;border-radius:99px;background:var(--border-strong)}.cs-range-fill{position:absolute;top:7px;height:4px;border-radius:99px;background:var(--brand)}
.cs-range-track input[type=range]{position:absolute;inset:0;width:100%;margin:0;background:transparent;appearance:none;-webkit-appearance:none;pointer-events:none;height:18px}.cs-range-track input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:var(--brand);border:2px solid var(--surface);box-shadow:0 1px 3px rgba(0,0,0,.25);cursor:pointer;pointer-events:auto}.cs-range-track input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--brand);border:2px solid var(--surface);cursor:pointer;pointer-events:auto}.cs-range-track input[type=range]:focus-visible{outline:0}.cs-range-track input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid var(--brand);outline-offset:2px}
.cs-range-vals{display:flex;align-items:end;gap:8px;margin-top:6px}.cs-range-vals label{flex:1;display:grid;gap:2px;font-size:11px;color:var(--muted)}.cs-range-vals input{width:100%;min-height:32px;padding:0 8px;border:1px solid var(--border);border-radius:var(--radius-xs);background:var(--surface);font-size:12px;font-weight:600;color:var(--text)}.cs-range-unit{font-size:12px;color:var(--muted);padding-bottom:8px}
.cs-row .brand{font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.cs-row.is-compared{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.cs-row .cmp,.cs-table .cmp{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);cursor:pointer}.cs-row .cmp input,.cs-table .cmp input{width:15px;height:15px;margin:0}
.cs-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.cs-table{width:100%;border-collapse:collapse;font-size:13px;min-width:760px}.cs-table th{position:sticky;top:0;background:var(--surface-2);font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap}.cs-table td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:middle;white-space:nowrap}.cs-table td.cs-table-name{white-space:normal}.cs-table tr:last-child td{border-bottom:0}.cs-table tbody tr{cursor:pointer}.cs-table tbody tr:hover{background:var(--surface-2)}.cs-table tbody tr.is-compared,.cs-table tbody tr.is-in-build{background:var(--brand-soft)}
.cs-table .num{text-align:right;white-space:nowrap}.cs-table .num b{display:block;font-size:14px}.cs-table .num small{color:var(--muted);font-size:11px}.cs-table-name{min-width:260px}.cs-table-name img{width:40px;height:40px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:6px;padding:2px;margin-right:10px;vertical-align:middle}.cs-table-name span{display:inline-grid;vertical-align:middle;max-width:calc(100% - 56px)}.cs-table-name small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.cs-table-name b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-table-actions{white-space:nowrap}.cs-table-actions .btn{margin-left:6px}
.cs-table td:not(.cs-table-name):not(.cs-table-actions):not(.num){white-space:normal;word-break:break-word;max-width:200px}
body.cs-lock{overflow:hidden}
.cs-product-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.5);animation:fade-up .15s ease}
.cs-product-main{min-width:0;display:grid;gap:18px;align-content:start}
.cs-product-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 18px;border:1px solid color-mix(in srgb,var(--brand) 25%,var(--border));border-radius:var(--radius);background:linear-gradient(135deg,var(--brand-soft),var(--surface))}.cs-product-price>div{margin-right:auto;display:grid}.cs-product-price small{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.cs-product-price b{font-size:30px;letter-spacing:-.03em;line-height:1.1;color:var(--brand)}.dark .cs-product-price b{color:var(--text)}
.cs-product-offers .pill{margin-left:6px}.cs-product-offers>p{margin-top:8px}
.cs-product-perf{margin-top:16px}.cs-product-perf h3{font-size:13px;margin-bottom:8px}.cs-perf{margin-bottom:10px}.cs-perf>span{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:4px}.cs-perf b{color:var(--text)}.cs-perf-bar{height:8px;border-radius:99px;background:var(--surface-2);border:1px solid var(--border);overflow:hidden}.cs-perf-bar i{display:block;height:100%;background:var(--brand);border-radius:99px}
.cs-product-history{margin-top:18px}.cs-product-main .cs-product-history{margin-top:0}.cs-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.cs-history-head h3{font-size:13px}.cs-history-ctl{display:flex;align-items:center;gap:8px}.cs-history-days{display:flex;gap:4px}.cs-history-days .chip{min-height:28px;padding:0 10px;font-size:11px}
.cs-chart-box{border:1px solid var(--border);border-radius:var(--radius);padding:14px;background:var(--surface)}.cs-chart-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.cs-chart-stats span{display:grid;gap:2px;font-size:12px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface-2);min-width:0}.cs-chart-stats small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.cs-chart-stats b{font-size:16px;letter-spacing:-.01em}.cs-chart-stats b.ok{color:var(--ok)}.cs-chart-stats em{font-style:normal;font-size:11px;color:var(--muted)}.cs-chart-stats em.ok{color:var(--ok)}.cs-chart-stats em.warn{color:var(--warn)}
.cs-chart-wrap{position:relative;width:100%;min-width:0}.cs-chart-tip{position:absolute;z-index:2;pointer-events:none;transform:translate(-50%,-100%);background:var(--text);color:var(--bg);padding:6px 10px;border-radius:8px;font-size:12px;line-height:1.3;white-space:nowrap;display:grid;text-align:center;box-shadow:var(--shadow)}.cs-chart-tip b{font-size:13px}.cs-chart-tip span{opacity:.75;font-size:11px}
.cs-chart{display:block;max-width:100%;color:var(--brand)}.cs-chart .grid line{stroke:var(--border);stroke-width:1;stroke-dasharray:2 4}.cs-chart text{fill:var(--muted);font-size:11px;font-family:var(--font)}.cs-chart .line{fill:none;stroke:var(--brand);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.cs-chart .dot{fill:var(--brand);stroke:var(--surface);stroke-width:2.5}.cs-chart .low circle{fill:var(--ok);stroke:var(--surface);stroke-width:2}.cs-chart .low text{fill:var(--ok);font-weight:600;paint-order:stroke;stroke:var(--surface);stroke-width:3px;stroke-linejoin:round}.cs-chart .hover line{stroke:var(--border-strong);stroke-dasharray:3 3}.cs-chart .hover circle{fill:var(--surface);stroke:var(--brand);stroke-width:2.5}.cs-chart .hit{cursor:crosshair}.cs-chart-empty{padding:34px 10px;text-align:center;color:var(--muted);font-size:13px}
@media(max-width:1100px){.cs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.cs{grid-template-columns:1fr}.cs-sidebar{display:none;position:fixed;inset:0;z-index:1100;max-height:none;border-radius:0;border:0}.cs-sidebar.is-open{display:flex}.cs-sidebar-close,.cs-filters-btn{display:inline-flex}.cs-filters-btn .badge{background:var(--brand);color:var(--brand-ink);padding:1px 7px;border-radius:99px;font-size:11px}.cs-sort>span{display:none}.cs-product-overlay{padding:0;align-items:end}.cs-product-card{border-radius:var(--radius) var(--radius) 0 0;max-height:94vh}.cs-product-body{padding:16px;gap:18px}.cs-product-head{padding:14px 16px}.cs-product-price b{font-size:22px}.cs-chart-stats{grid-template-columns:1fr 1fr}.cs-embedded .cs-sidebar{position:fixed;max-height:none}.cs-product-body{grid-template-columns:1fr}.cs-offer{grid-template-columns:24px 1fr auto;gap:8px}.cs-offer .btn:first-of-type{grid-column:2}.cs-offer .btn-primary{grid-column:3}}
@media(max-width:600px){.cs-grid{grid-template-columns:1fr 1fr;gap:8px}.cs-grid .thumb{height:130px}.cs-card .actions .btn{font-size:11px;padding:0 8px}.cs-toolbar .chip{font-size:11px}.cs-pagination{justify-content:center}}
@media(max-width:420px){.cs-grid{grid-template-columns:1fr}.cs-grid .thumb{height:160px}.cs-grid .thumb img{max-height:138px}}
