/* Navigation controls aligned with the shared article design tokens. */
[data-category-finder][hidden], [data-category-grid] > [hidden], .ct-difference-control[hidden], .ct-duel-specs tr[hidden], [data-catalog-search-wrap][hidden], [data-catalog-apply][hidden], .pl-list li[hidden] { display: none !important; }
.ct-category-finder { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) auto; gap: 12px; align-items: end; padding: 18px; margin-bottom: 24px; border: 1px solid var(--ct-line); border-radius: var(--ct-radius); background: var(--ct-soft); }
.ct-category-finder label, .ct-filter-search, .ct-compare-search > label { display: grid; gap: 7px; color: var(--ct-text); font-size: 13px; font-weight: 600; min-width: 0; }
.ct-category-finder :is(input,select), .ct-filter-search input, .ct-compare-search input { min-width: 0; width: 100%; min-height: 44px; padding: 10px 12px; background: var(--ct-surface); color: var(--ct-text); border: 1px solid var(--ct-line); border-radius: 9px; font-size: 14px; font-weight: 400; }
.ct-category-finder button, .ct-compare-search button, .ct-filter-apply { min-height: 44px; padding: 10px 16px; border-radius: 9px; border: 1px solid var(--ct-line); font-size: 13px; font-weight: 600; background: var(--ct-surface); color: var(--ct-text); }
.ct-category-finder button:hover { border-color: var(--ct-accent); }
.ct-category-finder > p { grid-column: 1/-1; color: var(--ct-muted); font-size: 13px; margin: 0; }
.ct-section-jumps, .ct-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.ct-section-jumps a, .ct-active-filters a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--ct-line); border-radius: 999px; font-size: 13px; font-weight: 550; background: var(--ct-surface); }
.ct-section-jumps a:hover, .ct-active-filters a:hover { border-color: var(--ct-accent); color: var(--ct-accent); }
#face-a-face, #categories-comparatifs, #recherche-produits { scroll-margin-top: 150px; }
.ct-compare-search { padding: 18px; border: 1px solid var(--ct-line); background: var(--ct-soft); border-radius: var(--ct-radius); margin: 16px 0 20px; }
.ct-compare-search > div { display: flex; gap: 10px; margin-top: 8px; }
.ct-compare-search button, .ct-filter-apply { background: #d92f4b; border-color: #d92f4b; color: #fff; flex-shrink: 0; }
.ct-compare-search > p { font-size: 12px; color: var(--ct-muted); margin-top: 8px; line-height: 1.5; }
.ct-search-empty { padding: 20px; background: var(--ct-soft); border-radius: 10px; margin-block: 20px; }
.ct-compare-steps > .grid > div { min-width: 0; background: var(--ct-surface); border: 1px solid var(--ct-line); }
.ct-compare-steps a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ct-accent); font-size: 13px; }
.ct-page-duel .redesign-card .line-clamp-2 { display: block; -webkit-line-clamp: unset; }
.ct-duel-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; position: sticky; top: 124px; z-index: 20; padding: 12px 16px; margin-bottom: 24px; background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); box-shadow: 0 4px 12px #1018280a; }
.ct-duel-summary > div { display: grid; gap: 4px; min-width: 0; }
.ct-duel-summary strong { font-size: 13px; line-height: 1.4; overflow-wrap: break-word; }
.ct-duel-summary a { color: var(--ct-accent); font-size: 12px; min-height: 28px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.ct-difference-control { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 12px 16px; background: var(--ct-soft); border-radius: 10px; }
.ct-difference-control label { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ct-difference-control input { width: 18px; height: 18px; accent-color: var(--ct-accent); }
.ct-difference-control p { color: var(--ct-muted); font-size: 12px; line-height: 1.5; }
.ct-page-duel .ct-duel-specs { overflow-x: auto; border-color: var(--ct-line); background: var(--ct-surface); }
.ct-duel-specs table { min-width: 560px; }
.ct-filter-search { padding: 0 16px 14px; }
.ct-filter-apply { display: block; margin: 12px 16px 16px; width: calc(100% - 32px); }
.ct-home-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding-top: 24px; }
.ct-home-shortcuts a { display: grid; gap: 5px; min-height: 70px; align-content: center; padding: 14px 18px; border: 1px solid var(--ct-line); border-radius: var(--ct-radius); background: var(--ct-surface); }
.ct-home-shortcuts strong { font-size: 15px; color: var(--ct-accent); }
.ct-home-shortcuts span { font-size: 12px; color: var(--ct-muted); }
body > header [aria-current="page"] { color: var(--ct-accent); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.ct-home-shortcuts a:hover { border-color: var(--ct-accent); }
@media(max-width:1023px) { .ct-category-finder { grid-template-columns: repeat(2,minmax(0,1fr)); }.ct-category-finder button { justify-self: start; }.ct-category-finder > p { grid-column: 2; grid-row: 2; align-self: center; } }
@media(max-width:767px) {
  #mobile-nav > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding-block: 16px; }
  #mobile-nav > div > a { display: flex; align-items: center; min-height: 44px; padding: 10px; border: 1px solid var(--ct-line); border-radius: 9px; background: var(--ct-surface); }
  #mobile-nav > div > p { grid-column: 1/-1; }
  .ct-duel-summary { top: 80px; }
}
@media(max-width:639px) {
  .ct-category-finder { grid-template-columns: minmax(0,1fr); padding: 14px; }
  .ct-category-finder > p { grid-column: 1; grid-row: auto; }
  .ct-compare-search { padding: 14px; }
  .ct-compare-search > div { flex-wrap: wrap; }
  .ct-compare-search button { width: 100%; }
  .ct-home-shortcuts { gap: 8px; padding-top: 18px; }
  .ct-home-shortcuts a { min-height: 52px; padding: 10px 8px; text-align: center; }
  .ct-home-shortcuts strong { font-size: 12px; }
  .ct-home-shortcuts span { display: none; }
  .ct-duel-summary { gap: 10px; padding: 10px; }
}
