/* Catalogue browsing like enpro.me: menu + filters left, product cards right. */
.shop-layout { display:grid; grid-template-columns:270px minmax(0,1fr); gap:22px; align-items:start; margin-bottom:22px; }
.shop-side { position:sticky; top:16px; display:flex; flex-direction:column; gap:16px; max-height:calc(100vh - 32px); overflow:auto; background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:16px; }
.shop-side h3 { font-size:var(--fs-sm); text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin:0 0 8px; }
.shop-nav ul { list-style:none; margin:0; padding:0; }
.shop-nav ul ul { margin:2px 0 6px 12px; border-left:1px solid var(--line); padding-left:6px; }
.shop-nav a { display:flex; justify-content:space-between; gap:8px; padding:6px 8px; border-radius:8px; font-size:var(--fs-sm); color:var(--text); }
.shop-nav a:hover { background:var(--panel-2); }
.shop-nav a.is-active { background:rgba(0,166,200,.14); color:var(--accent-2); font-weight:600; }
.shop-nav-count { color:var(--muted); font-variant-numeric:tabular-nums; }
.shop-filter { padding:10px 0; border-top:1px solid var(--line); }
.shop-filter:first-child { border-top:0; padding-top:0; }
.shop-filter-title { font-size:var(--fs-sm); font-weight:600; margin-bottom:8px; }
.shop-filter.is-active .shop-filter-title { color:var(--accent-2); }
.shop-range { position:relative; height:22px; --a:0%; --b:100%; }
.shop-range::before { content:""; position:absolute; left:0; right:0; top:9px; height:4px; border-radius:4px; background:linear-gradient(to right, var(--line) var(--a), var(--accent) var(--a), var(--accent) var(--b), var(--line) var(--b)); }
.shop-range input[type=range] { position:absolute; inset:0; width:100%; margin:0; background:none; pointer-events:none; -webkit-appearance:none; appearance:none; height:22px; }
.shop-range input[type=range]::-webkit-slider-thumb { pointer-events:auto; -webkit-appearance:none; width:16px; height:16px; border-radius:50%; background:var(--accent); border:2px solid var(--panel); cursor:pointer; }
.shop-range input[type=range]::-moz-range-thumb { pointer-events:auto; width:14px; height:14px; border-radius:50%; background:var(--accent); border:2px solid var(--panel); cursor:pointer; }
.shop-range input[type=range]::-moz-range-track { background:none; }
.shop-range-values { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:6px; }
.shop-range-values label { display:flex; flex-direction:column; gap:2px; font-size:var(--fs-xs); color:var(--muted); }
.shop-range-values input { width:100%; padding:5px 8px; font-size:var(--fs-sm); }
.shop-check { display:flex; align-items:center; gap:8px; padding:3px 0; font-size:var(--fs-sm); cursor:pointer; }
.shop-check .muted { margin-left:auto; font-variant-numeric:tabular-nums; }
.shop-reset { width:100%; }
.shop-main { min-width:0; }
.shop-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; }
.shop-toolbar h2 { margin:0; }
.shop-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:14px; margin-bottom:18px; }
.shop-card { display:flex; flex-direction:column; gap:6px; color:var(--text); background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:12px; text-decoration:none; transition:border-color .15s, transform .15s; }
.shop-card[hidden] { display:none; }
.shop-card:hover, .shop-card.is-selected { border-color:var(--accent); }
.shop-card.is-selected { background:rgba(0,166,200,.08); }
.shop-card:focus-visible { outline:3px solid var(--accent-2); outline-offset:2px; }
.shop-card-image { height:140px; display:flex; align-items:center; justify-content:center; background:#fff; border-radius:10px; overflow:hidden; }
.shop-card-image img { max-width:100%; max-height:100%; object-fit:contain; }
.shop-card-image .catalog-image-placeholder { color:#667; font-size:var(--fs-xs); }
.shop-card strong { font-size:16px; line-height:1.3; color:var(--accent-2); overflow-wrap:anywhere; }
.shop-card .shop-card-family { font-size:var(--fs-xs); color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }
.shop-specs { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; font-size:var(--fs-xs); color:var(--muted); }
.shop-specs b { color:var(--text); font-weight:600; font-variant-numeric:tabular-nums; }
.shop-section h3 { margin:6px 0 10px; }
.shop-section[hidden] { display:none; }
.shop-empty { padding:24px; text-align:center; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns:1fr; }
  .shop-side { position:static; max-height:none; }
}
html[data-theme="light"] .shop-nav a.is-active { color:var(--accent); }
html[data-theme="light"] .shop-card strong { color:var(--accent); }
/* Overrides of the global form styles inside the filter panel. */
.shop-side label.shop-check { flex-direction:row; gap:8px; color:var(--text); font-size:var(--fs-sm); }
.shop-side .shop-check input[type=checkbox] { width:16px; height:16px; min-height:0; padding:0; margin:0; flex:0 0 auto; accent-color:var(--accent); border-radius:4px; }
.shop-side .shop-range input[type=range] { width:100%; min-height:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.shop-side .shop-range-values input { min-height:34px; padding:5px 8px; border-radius:8px; }
.shop-side .shop-range-values label { gap:2px; font-size:var(--fs-xs); }
.shop-side [hidden] { display:none !important; }
.shop-filters > summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; }
.shop-filters > summary::-webkit-details-marker { display:none; }
.shop-filters > summary::after { content:"▾"; color:var(--muted); font-size:12px; }
.shop-filters:not([open]) > summary::after { content:"▸"; }
.shop-filters > summary h3 { margin:0; }
.shop-filters[open] > summary { margin-bottom:8px; }
.grille-filters { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:6px 22px; align-items:center; border:1px solid var(--line); border-radius:12px; padding:10px 14px; margin:0; } .grille-filters .hint { flex-basis:100%; margin:4px 0 0; font-size:var(--fs-xs); } .grille-filters legend { font-size:var(--fs-sm); color:var(--muted); padding:0 6px; } .grille-filters .checkbox-line { flex-direction:row; align-items:center; gap:8px; }

.shop-check.is-empty{opacity:.5;cursor:default}
