/* osk-list 1.1 (release 38 B) — catalogue listing: left column (categories, search, fold-out filters), right column (sub-category links,
   chips, number of products, product grid, Show more); from 1023 px down the left column opens as full-height panels. Colours and fonts: the
   catalogue's own (catalog.css variables), nothing new is loaded. */

/* ---- categories in the sidebar (all catalogue pages) ---- */
.osk-nav__n { color: var(--osk-muted); font-weight: 400; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.osk-nav__item.is-current > .osk-nav__row .osk-nav__n { color: rgba(255, 255, 255, .78); }

/* the theme switches taps off for a moment after every scroll: the filters and the list must answer at once */
.osk-side--list, .oskl { pointer-events: auto; }
.oskl-grid { overflow-anchor: none; } /* list.js decides where the page stands after a new choice, not the browser */

/* ---- left column ---- */
.oskl-phead, .oskl-pfoot { display: none; }
.oskl-panel + .oskl-panel { margin-top: 30px; }
.oskl-panel[hidden] { display: none; }
.oskl-stitle { display: block; margin: 0 0 10px; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--osk-navy); }
.oskl-stitle--f { margin-top: 28px; }
.oskl-q { display: block; width: 100%; height: 44px; margin: 0; padding: 0 12px; border: 1px solid #c9d1db !important; border-radius: 4px; background: #fff; color: var(--osk-text); font-size: 15px; line-height: 1.3; box-shadow: none; }
.oskl-q::placeholder { color: #6b7685; opacity: 1; font-size: 14px; }
.oskl-q:focus { border-color: var(--osk-navy) !important; outline: 2px solid var(--osk-blue); outline-offset: 1px; }
.oskl-groups { border-top: 1px solid var(--osk-line); }
.oskl-grp { border-bottom: 1px solid var(--osk-line); }
.oskl-gbtn { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: 0; padding: 10px 40px 10px 12px; border: 0; background: none; color: var(--osk-navy); font-size: 14px; line-height: 1.35; font-weight: 600; text-align: left; cursor: pointer; }
.oskl-gbtn::before, .oskl-gbtn::after { content: ""; position: absolute; right: 14px; top: 50%; width: 12px; height: 2px; margin-top: -1px; background: currentColor; }
.oskl-gbtn::after { transform: rotate(90deg); transition: transform .15s; }
.oskl-gbtn[aria-expanded="true"]::after { transform: rotate(0); }
.oskl-gbtn:hover { color: var(--osk-blue); }
.oskl-gbtn:focus-visible, .oskl-opt input:focus-visible, .oskl-chip:focus-visible, .oskl-clear:focus-visible, .oskl-pill:focus-visible, .oskl-morebtn:focus-visible, .oskl-mbtn:focus-visible, .oskl-x:focus-visible, .oskl-show:focus-visible { outline: 2px solid var(--osk-blue); outline-offset: 2px; }
.oskl-gbtn:focus-visible { outline-offset: -2px; }
.oskl-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--osk-blue); color: #fff; font-size: 12px; line-height: 20px; font-weight: 600; text-align: center; }
.oskl-badge[hidden] { display: none; }
.oskl-gbody { padding: 0 0 10px; }
.oskl-gbody[hidden] { display: none; }
.oskl-gbody--size { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; } /* full height: a group folds away, it never gets a scroll bar of its own */
.oskl-gbody--size[hidden] { display: none; }
.oskl-gbody--size .oskl-opt { gap: 6px; padding-left: 8px; padding-right: 4px; font-size: 13px; }
.oskl-gbody--size .oskl-l { white-space: nowrap; }
.oskl-stdg + .oskl-stdg { margin-top: 2px; padding-top: 2px; border-top: 1px solid #edf0f4; }
.oskl-opt { display: flex; align-items: center; gap: 10px; min-height: 36px; margin: 0; padding: 3px 8px 3px 12px; border-radius: 4px; color: var(--osk-text); font-size: 14px; line-height: 1.3; font-weight: 400; cursor: pointer; }
.oskl-opt:hover { background: #f4f6f9; }
/* drawn here: the browsers' own box is hardly visible on iPhones */
.oskl-opt input { -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: 0; padding: 0; border: 1.5px solid #7b8796; border-radius: 3px; background: #fff center / 14px 14px no-repeat; cursor: inherit; }
.oskl-opt input:checked { border-color: var(--osk-navy); background-color: var(--osk-navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); }
.oskl-opt input:disabled { border-color: #cfd6df; background-color: #f4f6f9; }
.oskl-l { flex: 1; min-width: 0; }
.oskl-n { flex: none; color: var(--osk-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.oskl-sub { padding-left: 38px; font-size: 13.5px; }
.oskl-opt.is-off { color: #a7b0bc; cursor: default; }
.oskl-opt.is-off:hover { background: none; }
.oskl-opt.is-off .oskl-n { color: #a7b0bc; }

/* ---- right column ---- */
.oskl-pills ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px !important; padding: 0 !important; list-style: none !important; }
.oskl-pills li { margin: 0; padding: 0; list-style: none !important; }
.oskl-pills li::before { content: none !important; }
.osk-cat .oskl-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid #c9d1db; border-radius: 18px; background: #fff; color: var(--osk-navy); font-size: 14px; line-height: 1.25; text-decoration: none; transition: border-color .15s, color .15s; }
.osk-cat .oskl-pill:hover { border-color: var(--osk-blue); color: var(--osk-blue); }
.oskl-pill span { color: var(--osk-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.oskl-mbtns { display: none; }
.oskl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 20px; padding: 0 0 14px; border-bottom: 1px solid var(--osk-line); }
.oskl-chips { display: flex; flex: 1 1 320px; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.oskl-chips.is-empty { flex-basis: 0; }
.oskl-dyn { display: contents; }
.oskl-chip, .osk-cat a.oskl-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 34px; margin: 0; padding: 4px 12px; border: 1px solid var(--osk-navy); border-radius: 17px; background: #fff; color: var(--osk-navy); font-size: 13.5px; line-height: 1.25; font-weight: 400; text-decoration: none; cursor: pointer; overflow-wrap: anywhere; text-align: left; }
.oskl-chip:hover, .osk-cat a.oskl-chip:hover { background: #eef1f5; color: var(--osk-navy); }
.osk-cat a.oskl-chip--cat { background: var(--osk-navy); color: #fff; }
.osk-cat a.oskl-chip--cat:hover, .osk-cat a.oskl-chip--cat:focus { background: #0f2740; color: #fff; }
.oskl-chip span { flex: none; font-size: 17px; line-height: 1; }
.oskl-clear { min-height: 34px; margin: 0; padding: 0 4px; border: 0; background: none; color: var(--osk-blue); font-size: 13.5px; line-height: 1.25; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.oskl-clear:hover { color: var(--osk-navy); }
.oskl-count { flex: none; margin: 0 0 0 auto !important; color: var(--osk-navy); font-size: 14px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; }

.osk-cat .oskl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 28px !important; padding: 0 !important; list-style: none !important; }
.osk-cat .oskl-grid[hidden], .osk-cat .oskl-grid > li[hidden] { display: none; }
.osk-cat .oskl-grid > li { margin: 0; padding: 0; min-width: 0; list-style: none !important; }
.osk-cat .oskl-grid > li::before { content: none !important; display: none !important; }
.osk-cat .oskl-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--osk-line); border-radius: 6px; background: #fff; color: var(--osk-text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.osk-cat .oskl-card:hover, .osk-cat .oskl-card:focus-visible { border-color: var(--osk-blue); box-shadow: 0 6px 18px rgba(25, 56, 89, .08); color: var(--osk-text); }
.oskl-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 16px; border-bottom: 1px solid #edf0f4; }
.oskl-card__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.oskl-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 14px 16px 16px; }
.oskl-card__code { margin: 0 0 4px; color: var(--osk-blue); font-size: 13px; line-height: 1.3; font-weight: 600; }
.osk-cat .oskl-card__name { margin: 0 0 10px; color: var(--osk-navy); font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.osk-cat .oskl-card__facts { margin: auto 0 0 !important; padding: 0 !important; font-size: 13.5px; line-height: 1.5; list-style: none !important; }
.osk-cat .oskl-card__facts li { margin: 0; padding: 0; list-style: none !important; }
.osk-cat .oskl-card__facts li::before { content: none !important; }
.oskl-card__facts span { color: var(--osk-muted); }
.oskl-card__hit { display: block; margin: 8px 0 0; padding: 4px 8px; border-radius: 4px; background: #eaf2ff; color: var(--osk-navy); font-size: 13px; line-height: 1.35; font-weight: 600; }
.oskl-card__hit[hidden] { display: none; }
.oskl-none { margin: 8px 0 32px; padding: 28px 20px; border: 1px dashed #c9d1db; border-radius: 6px; text-align: center; }
.oskl-none[hidden] { display: none; }
.oskl-none p { margin: 0 0 6px; color: var(--osk-text); font-size: 15px; }
.oskl-more { display: flex; justify-content: center; margin: 0 0 40px; }
.oskl-more[hidden] { display: none; }
.oskl-morebtn { min-height: 46px; margin: 0; padding: 10px 26px; border: 2px solid var(--osk-blue); border-radius: 4px; background: #fff; color: var(--osk-blue); font-size: 15px; line-height: 1.3; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s; }
.oskl-morebtn:hover { background: var(--osk-blue); color: #fff; }

@media (max-width: 899px) { .osk-cat .oskl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* ---- phones and tablets: the left column opens as full-height panels ---- */
@media (max-width: 1023px) {
  .osk-side--list { display: none; }
  .osk-side--list.is-open { display: block; position: fixed; inset: 0; z-index: 100000; background: #fff; }
  .osk-side--list.is-open .oskl-panel { display: none; margin: 0; }
  .osk-side--list[data-open="cats"] .oskl-panel--cats, .osk-side--list[data-open="filters"] .oskl-panel--filters { display: flex; flex-direction: column; height: 100%; height: 100dvh; }
  .oskl-phead { display: flex; flex: none; align-items: center; justify-content: space-between; min-height: 56px; padding: 6px 8px 6px 16px; padding-top: max(6px, env(safe-area-inset-top)); border-bottom: 1px solid var(--osk-line); }
  .oskl-ptitle { margin: 0 !important; color: var(--osk-navy); font-size: 18px; line-height: 1.3; font-weight: 700; }
  .oskl-x { position: relative; flex: none; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: none; color: var(--osk-navy); cursor: pointer; }
  .oskl-x::before, .oskl-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: currentColor; transform: rotate(45deg); }
  .oskl-x::after { transform: rotate(-45deg); }
  .oskl-pbody { flex: 1; min-height: 0; padding: 14px 16px 20px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .oskl-pfoot { display: block; flex: none; padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--osk-line); background: #fff; }
  .oskl-show { display: block; width: 100%; min-height: 48px; margin: 0; padding: 10px 16px; border: 0; border-radius: 4px; background: var(--osk-navy); color: #fff; font-size: 16px; line-height: 1.25; font-weight: 600; cursor: pointer; }
  .oskl-stitle--f { display: none; }
  .oskl-find { margin: 0 0 18px; }
  .oskl-opt { min-height: 44px; }
  .oskl-gbtn { min-height: 48px; }
  .osk-side--list .osk-nav__title, .osk-side--list .osk-nav__all { display: none; }
  .osk-side--list .osk-nav__list { display: block; border-top: 1px solid var(--osk-line); }
  .osk-side--list .osk-nav__row a { min-height: 44px; }
  html.oskl-lock body { position: fixed !important; left: 0; right: 0; width: 100%; overflow: hidden !important; } /* list.js sets top = the place on the page */
  /* the two buttons stay in reach while the visitor scrolls through the list */
  .oskl.is-on .oskl-mbtns { position: sticky; top: var(--osk-top); z-index: 30; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 8px; padding: 8px 0; background: #fff; }
  .oskl-mbtns[hidden] { display: none !important; }
  .oskl-mbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 0; padding: 8px 12px; border: 1px solid var(--osk-navy); border-radius: 4px; background: #fff; color: var(--osk-navy); font-size: 15px; line-height: 1.25; font-weight: 600; cursor: pointer; }
}
@media (max-width: 559px) {
  .oskl-tools { padding-bottom: 12px; }
  .oskl-count { flex-basis: 100%; margin: 0 !important; }
  .oskl-chips, .oskl-chips.is-empty { flex-basis: 100%; }
  .oskl-chips.is-empty { display: none; }
  .osk-cat .oskl-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .osk-cat .oskl-card { flex-direction: row; align-items: stretch; }
  .oskl-card__img { flex: none; width: 112px; aspect-ratio: auto; min-height: 112px; padding: 10px; border-bottom: 0; border-right: 1px solid #edf0f4; }
  .oskl-card__body { padding: 12px 14px; }
  .osk-cat .oskl-card__name { margin-bottom: 6px; font-size: 15px; }
  .oskl-morebtn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .oskl-gbtn::after, .osk-cat .oskl-card, .osk-cat .oskl-pill, .oskl-morebtn { transition: none; } }
