/**
 * DJ Refresh — Products archive "Power Catalog" (Option D) + off-canvas filter drawer.
 *
 * Loaded on the products post-type archive (see chauvetdj_enqueue_djr_chrome). Layout: dark hero
 * band → category tiles (djr-categories.css) → toolbar (search + Filters button + chips + sort +
 * count) → 5-up grid → load more, plus a left off-canvas filter drawer. Scoped under .djr-page.
 *
 * @package chauvetdj
 */

/* ------------------------------------------------------------------ layout shell */
/* Legacy style.css floats #main (float:left), which collapses it out of the .djr-shell flow and
   drops the footer out of view. Force it back to a normal block so the footer sits below. */
.djr-page #main.djr-catalog {
  float: none !important;
  width: 100% !important;
  background: var(--djr-white);
}
.djr-page .djr-catalog .djr-container {
  max-width: var(--djr-max);
  margin: 0 auto;
  padding-left: var(--djr-gutter);
  padding-right: var(--djr-gutter);
  width: 100%;
}

/* ------------------------------------------------------------------ hero band */
.djr-page .djr-catalog__hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 490px;
  /* Photo is the poster/fallback behind the video. */
  background: var(--djr-dark) center / cover no-repeat url("../images/djr/catalog/hero.jpg");
  color: var(--djr-white);
}
.djr-page .djr-catalog__hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.djr-page .djr-catalog__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.6) 42%, rgba(10, 10, 10, 0.15) 100%);
}
.djr-page .djr-catalog__hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 48px;
  width: 100%;
}
.djr-page .djr-catalog__title {
  margin: 0 0 14px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--djr-white);
}
.djr-page .djr-catalog__subtitle {
  margin: 0;
  max-width: 441px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

/* ------------------------------------------------------------------ category tiles spacing */
.djr-page .djr-catalog__categories {
  padding: 34px 0 20px;
  border-bottom: 1px solid var(--djr-line);
}
/* Scroller controls (viewport + hover arrows + progress bar). Mirrored from djr-new-arrivals.css,
   which isn't loaded on the archive, so the category row scrolls + shows a bar just like the home. */
.djr-page .djr-scroller__viewport { position: relative; }
.djr-page .djr-catalog__categories .djr-scroller__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--djr-white); color: var(--djr-ink);
  box-shadow: 0 6px 18px rgba(12, 16, 22, 0.18); cursor: pointer; opacity: 0;
  transition: opacity .18s ease, background-color .18s ease, color .18s ease;
}
.djr-page .djr-catalog__categories .djr-scroller__arrow--prev { left: 8px; }
.djr-page .djr-catalog__categories .djr-scroller__arrow--next { right: 8px; }
.djr-page .djr-catalog__categories .djr-scroller__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.djr-page .djr-catalog__categories .djr-scroller__arrow:hover { background: var(--djr-red); color: #fff; }
.djr-page .djr-catalog__categories .djr-scroller__arrow:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .djr-page .djr-catalog__categories .djr-scroller.is-scrollable:hover .djr-scroller__arrow { display: inline-flex; opacity: 1; }
}
.djr-page .djr-catalog__categories .djr-scroller__bar {
  position: relative; height: 10px; margin-top: 22px;
  border-radius: var(--djr-radius-pill); background: #d9d9d9; overflow: hidden;
}
.djr-page .djr-catalog__categories .djr-scroller__thumb {
  display: block; height: 100%; width: 20%;
  border-radius: var(--djr-radius-pill); background: var(--djr-red); transition: transform .08s linear;
}

/* ------------------------------------------------------------------ toolbar */
.djr-page .djr-catalog__inner {
  padding-top: 24px;
  padding-bottom: 72px;
}
.djr-page .djr-catalog__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* Single row: the search flexes to absorb slack so count+sort never wrap to an awkward 2nd row.
     Below 820px the whole toolbar switches to a stacked column (mobile Option 2) instead. */
  flex-wrap: nowrap;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--djr-line);
}
.djr-page .djr-catalog__toolbar-left,
.djr-page .djr-catalog__toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.djr-page .djr-catalog__toolbar-left {
  flex: 1 1 auto;
}
.djr-page .djr-catalog__toolbar-right {
  flex: 0 0 auto; /* count + sort keep their size; the search gives up space instead */
}

/* search */
.djr-page .djr-catalog__search { position: relative; flex: 1 1 auto; min-width: 0; }
.djr-page #search-container { position: relative; margin-bottom: 0!important; }
.djr-page #search-submit { z-index: unset!important; }
.djr-page #product-search.uk-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--djr-line);
  border-radius: var(--djr-radius);
  background: var(--djr-surface);
  padding: 0 42px 0 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--djr-ink);
}
.djr-page #product-search.uk-input:focus { outline: none; border-color: var(--djr-red); }
.djr-page #search-container #search-submit {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; margin: 0; padding: 0; border: 0; cursor: pointer;
  background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='%23a91d22' stroke-width='2'/%3E%3Cpath d='M13 13l4.5 4.5' fill='none' stroke='%23a91d22' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.djr-page #autocomplete-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40;
  max-height: 320px; overflow-y: auto; background: var(--djr-white);
  border: 1px solid var(--djr-line); border-radius: var(--djr-radius); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.djr-page #autocomplete-results:empty { display: none; }
.djr-page #autocomplete-results .autocomplete-item {
  padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--djr-body);
  cursor: pointer; border-bottom: 1px solid var(--djr-line); transition: background-color .12s ease, color .12s ease;
}
.djr-page #autocomplete-results .autocomplete-item:last-child { border-bottom: 0; }
.djr-page #autocomplete-results .autocomplete-item:hover { background: var(--djr-surface); color: var(--djr-ink); }

/* Filters button */
.djr-page .djr-filter-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 44px; padding: 0 18px; border: 0; border-radius: var(--djr-radius);
  background: var(--djr-ink); color: var(--djr-white);
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .15s ease;
  white-space: nowrap;
}
.djr-page .djr-filter-btn:hover { background: #000; }
.djr-page .djr-filter-btn__icon { display: inline-flex; }
.djr-page .djr-filter-btn__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px;
  background: var(--djr-red); color: #fff; font-size: 12px; font-weight: 600;
}

/* toolbar chips (applied filters, compact) */
.djr-page .djr-catalog__chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.djr-page .djr-catalog__chips:empty { display: none; }

/* count + sort */
.djr-page .djr-catalog__count { font-size: 14px; font-weight: 500; color: var(--djr-body); white-space: nowrap; }
.djr-page .djr-catalog__count strong { color: var(--djr-ink); font-weight: 700; }
.djr-page .djr-catalog__sort { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.djr-page .djr-catalog__sort-label { font-size: 13px; font-weight: 600; color: var(--djr-body); white-space: nowrap; }
.djr-page #product-sort {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--djr-line); border-radius: var(--djr-radius); background-color: var(--djr-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 10px;
  padding: 10px 34px 10px 14px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--djr-ink); cursor: pointer;
  /* Never let the long option labels push the control past the viewport (the mobile-overflow bug). */
  max-width: 100%; min-width: 0; text-overflow: ellipsis;
}
.djr-page #product-sort:focus { outline: none; border-color: var(--djr-red); }

/* ------------------------------------------------------------------ mobile toolbar (Option 2) */
/* Segmented "Filter | Sort" bar — hidden on desktop, shown ≤600px in place of the Filters button,
   count and sort <select>. */
.djr-page .djr-catalog__mbar { display: none; }
.djr-page .djr-catalog__mbar {
  align-items: stretch; width: 100%;
  border: 1px solid var(--djr-line); border-radius: 8px; overflow: hidden; background: var(--djr-white);
}
.djr-page .djr-catalog__mbar-btn {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; border: 0; background: var(--djr-white); color: var(--djr-ink);
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.djr-page .djr-catalog__mbar-btn:active { background: var(--djr-surface); }
.djr-page .djr-catalog__mbar-ico { display: inline-flex; }
.djr-page .djr-catalog__mbar-sep { flex: 0 0 1px; background: var(--djr-line); }
.djr-page .djr-catalog__mbar-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--djr-red); color: #fff; font-size: 12px; font-weight: 700;
}
.djr-page .djr-catalog__mbar-badge[hidden] { display: none; }

/* Sort bottom sheet */
.djr-page .djr-sortsheet[hidden] { display: none; }
.djr-sortsheet { position: fixed; inset: 0; z-index: 1000; }
.djr-sortsheet__backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity .25s ease;
}
.djr-sortsheet.is-open .djr-sortsheet__backdrop { opacity: 1; }
.djr-sortsheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--djr-white);
  border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
  padding: 6px 0 calc(14px + env(safe-area-inset-bottom, 0px));
  max-height: 82vh; overflow-y: auto;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  font-family: "Poppins", sans-serif;
}
.djr-sortsheet.is-open .djr-sortsheet__panel { transform: translateY(0); }
.djr-sortsheet__grip { width: 40px; height: 4px; border-radius: 999px; background: var(--djr-line); margin: 8px auto 2px; }
.djr-sortsheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; }
.djr-sortsheet__title { font-size: 17px; font-weight: 700; color: var(--djr-ink); margin: 0; }
.djr-sortsheet__close { border: 0; background: none; font-size: 24px; line-height: 1; color: var(--djr-body); cursor: pointer; padding: 2px 6px; }
.djr-sortsheet__list { list-style: none; margin: 0; padding: 0; }
.djr-sortsheet__opt { display: flex; align-items: center; gap: 13px; padding: 14px 18px; border-top: 1px solid var(--djr-line); cursor: pointer; }
.djr-sortsheet__opt:first-child { border-top: 0; }
.djr-sortsheet__opt:active { background: var(--djr-surface); }
.djr-sortsheet__opt:focus-visible { outline: 2px solid var(--djr-red); outline-offset: -2px; }
.djr-sortsheet__radio { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid var(--djr-muted); position: relative; }
.djr-sortsheet__opt.is-selected .djr-sortsheet__radio { border-color: var(--djr-red); }
.djr-sortsheet__opt.is-selected .djr-sortsheet__radio::after { content: ""; position: absolute; inset: 4px; border-radius: 999px; background: var(--djr-red); }
.djr-sortsheet__label { font-size: 15px; font-weight: 500; color: var(--djr-body); }
.djr-sortsheet__opt.is-selected .djr-sortsheet__label { color: var(--djr-ink); font-weight: 600; }
body.djr-sheet-open { overflow: hidden; }

/* ------------------------------------------------------------------ shared chip pill (toolbar + drawer) */
.djr-page .filter-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--djr-surface); border-radius: var(--djr-radius-pill);
  padding: 6px 6px 6px 12px; font-size: 13px; font-weight: 600; color: var(--djr-ink);
}
.djr-page .filter-pill p { margin: 0; }
.djr-page .filter-pill .dismiss-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%;
  background: var(--djr-white); color: var(--djr-body); font-size: 14px; line-height: 1; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.djr-page .filter-pill .dismiss-pill:hover { background: var(--djr-red); color: #fff; }

/* ------------------------------------------------------------------ results grid (5-up) */
.djr-page .djr-catalog__results { padding-top: 30px; display: block; width: 100%; }
/* #results jump target for deep links (?series=ils#results): offset the scroll so the toolbar clears
   the sticky header instead of hiding beneath it. Anchor sits just above the toolbar. */
.djr-page .djr-catalog__anchor { display: block; position: relative; top: 0; height: 0; scroll-margin-top: 110px; }
/* Override the legacy #posts float + fixed .product widths from style.css so the grid governs. */
.djr-page .djr-catalog__grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 44px 20px;
  float: none !important;
  width: 100% !important;
  clear: both;
  border: 0 !important; /* kill the legacy border-right:3px on #posts */
}
.djr-page .djr-catalog__grid > .product {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Card: product on a light rounded tile, title + badges beneath (matches the DJ Refresh cards). */
.djr-page .djr-catalog__grid .product > a { position: relative; display: block; text-decoration: none !important; }
/* Legacy `.product a` reserves 40px of top padding for the old centre-top badge; drop it here so the
   image sits flush at the top of the link and the overlaid NEW badge lands inside the tile. */
.djr-page .djr-catalog__grid .product > a { padding-top: 0 !important; }
/* NEW badge overlaid on the image top-left (not stacked below the title). Market badges (US Only)
   stay in the meta beneath the title. */
.djr-page .djr-catalog__grid .product .new {
  position: absolute !important; top: 12px !important; left: 12px !important; transform: none !important;
  z-index: 2; margin: 0;
  width: auto !important; height: auto !important;
  padding: 5px 11px !important; font-size: 12px !important; line-height: 1 !important;
}
/* FEATURED badge — the product pinned first by its category/series (djr_pin_product). Ink pill with
   a gold star, so it reads distinctly from the red NEW tag. Top-left, above NEW (z-index). When a
   card is BOTH new and featured, the NEW tag drops below the Featured pill (sibling selector). */
.djr-page .djr-catalog__grid .product .djr-featured-badge {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  display: inline-flex; align-items: center; gap: 5px;
  margin: 0; padding: 5px 11px; border-radius: 999px;
  background: var(--djr-ink); color: var(--djr-white);
  font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: 0.03em;
  text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.djr-page .djr-catalog__grid .product .djr-featured-badge__star { font-size: 13px; line-height: 1; color: #f5b301; }
.djr-page .djr-catalog__grid .product .djr-featured-badge ~ .header .new { top: 46px !important; }

.djr-page .djr-catalog__grid .product .image {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  margin: 0 0 14px;
  padding: 20px;
  background: var(--djr-surface);
  border-radius: 14px;
  overflow: hidden;
}
.djr-page .djr-catalog__grid .product .image img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1);
  /* Blend any solid-white gallery backgrounds into the grey tile (transparent shots unaffected). */
  mix-blend-mode: multiply;
  transition: filter 0.35s ease;
}
/* Full colour on hover/focus. */
.djr-page .djr-catalog__grid .product:hover .image img,
.djr-page .djr-catalog__grid .product:focus-within .image img {
  filter: grayscale(0);
}
.djr-page .djr-catalog__empty { grid-column: 1 / -1; color: var(--djr-body); }
.djr-page .djr-catalog__loadmore { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 48px; }
/* Override legacy #load-more { width:100% } so it's an auto-width centred pill. */
.djr-page .djr-catalog__loadmore #load-more { width: auto !important; min-width: 260px; }
.djr-page .djr-catalog__progress {
  width: 100%; max-width: 260px; height: 8px; border-radius: 999px; background: #d9d9d9; overflow: hidden;
}
.djr-page .djr-catalog__progress-fill {
  display: block; height: 100%; min-width: 8px; background: var(--djr-red); border-radius: 999px; transition: width .35s ease;
}
.djr-page .djr-catalog__loaded { font-size: 15px; font-weight: 500; color: var(--djr-body); }
.djr-page .djr-catalog__loaded strong { color: var(--djr-ink); font-weight: 700; }

/* buttons (scoped to the catalog so they don't clobber the mega-menu's shared .djr-btn classes) */
.djr-page .djr-catalog .djr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--djr-radius-pill); font-family: inherit; font-weight: 600; cursor: pointer;
}
.djr-page .djr-catalog .djr-btn--primary {
  padding: 15px 34px; background: var(--djr-red); color: #fff; font-size: 15px;
  transition: background-color .15s ease;
}
.djr-page .djr-catalog .djr-btn--primary:hover { background: var(--djr-red-dark); }

/* ================================================================== FILTER DRAWER */
.djr-page .djr-drawer-scrim {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.djr-page.djr-drawer-open .djr-drawer-scrim { opacity: 1; visibility: visible; }
body.djr-drawer-open { overflow: hidden; }

.djr-page .djr-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1210;
  width: 430px; max-width: 90vw;
  display: flex; flex-direction: column;
  background: var(--djr-white);
  box-shadow: 14px 0 40px rgba(0, 0, 0, 0.28);
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.djr-page.djr-drawer-open .djr-drawer { transform: translateX(0); }

/* header (black) */
.djr-page .djr-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 22px 22px 28px; background: #000; color: #fff; flex: 0 0 auto;
}
.djr-page .djr-drawer__title { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; }
.djr-page .djr-drawer__badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: 20px;
  background: var(--djr-red); color: #fff; font-size: 12px; font-weight: 600;
}
.djr-page .djr-drawer__close {
  display: inline-flex; padding: 6px; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 6px;
}
.djr-page .djr-drawer__close:hover { background: rgba(255, 255, 255, 0.12); }

/* applied section */
.djr-page .djr-drawer__applied { padding: 16px 28px; background: var(--djr-surface); flex: 0 0 auto; }
.djr-page .djr-drawer__applied-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 600; color: var(--djr-body); text-transform: none;
}
.djr-page .djr-drawer__clear-link { border: 0; background: none; padding: 0; color: var(--djr-red); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.djr-page .djr-drawer__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.djr-page .djr-drawer__chips:empty { display: none; }
.djr-page .djr-drawer__applied:not(.is-active) { display: none; }

/* body (scroll) */
.djr-page .djr-drawer__body { flex: 1 1 auto; overflow-y: auto; }

/* facet groups */
.djr-page .djr-facet { padding: 0 28px; border-bottom: 1px solid var(--djr-line); }
.djr-page .djr-facet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0; cursor: pointer;
}
.djr-page .djr-facet .filter-name { margin: 0; font-size: 15px; font-weight: 600; color: var(--djr-ink); }
.djr-page .djr-facet__chevron { width: 10px; height: 10px; position: relative; flex: 0 0 auto; }
.djr-page .djr-facet__chevron::before {
  content: ""; position: absolute; left: 1px; top: 1px; width: 7px; height: 7px;
  border-right: 1.6px solid #8a8a8a; border-bottom: 1.6px solid #8a8a8a;
  transform: translateY(-1px) rotate(45deg); transition: transform .2s ease;
}
.djr-page .djr-facet.is-open .djr-facet__chevron::before { transform: translateY(2px) rotate(-135deg); }
/* Reuse the theme's toggle glyph slot but hide the +/- text (we draw a chevron). */
.djr-page .djr-facet .filter-toggle { font-size: 0; }

.djr-page .djr-facet__body { padding-bottom: 12px; }
.djr-page .djr-facet:not(.is-open) .djr-facet__body { display: none; }
.djr-page .djr-facet .filter-list { list-style: none; margin: 0; padding: 0; }
.djr-page .djr-facet li.filter-item { display: block; }

/* footer */
.djr-page .djr-drawer__footer {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 24px 20px; background: var(--djr-white); border-top: 1px solid var(--djr-line); flex: 0 0 auto;
}
.djr-page .djr-drawer__clear { border: 0; background: none; padding: 6px 4px; color: var(--djr-body); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.djr-page .djr-drawer__clear:hover { color: var(--djr-ink); }
.djr-page .djr-drawer__apply { flex: 1 1 auto; padding: 14px; }

/* ------------------------------------------------------------------ custom checkbox rows (facets) */
.djr-page .filter-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.djr-page .filter-item-label {
  display: flex; align-items: center; gap: 11px; padding: 9px 0; cursor: pointer;
  color: var(--djr-body); font-size: 14px; font-weight: 500; line-height: 1.3; transition: color .15s ease;
}
.djr-page .filter-item-label::before {
  content: ""; flex: 0 0 auto; width: 18px; height: 18px;
  border: 1.5px solid var(--djr-muted); border-radius: 5px; background-color: var(--djr-white);
  background-repeat: no-repeat; background-position: center; background-size: 11px;
  transition: border-color .15s ease, background-color .15s ease;
}
.djr-page .filter-item-name { flex: 1 1 auto; }
.djr-page .filter-item-label:hover { color: var(--djr-ink); }
.djr-page .filter-item-label:hover::before { border-color: var(--djr-red); }
.djr-page .filter-input:checked + .filter-item-label { color: var(--djr-ink); font-weight: 600; }
.djr-page .filter-input:checked + .filter-item-label::before {
  border-color: var(--djr-red); background-color: var(--djr-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.djr-page .filter-input:focus-visible + .filter-item-label::before { outline: 2px solid var(--djr-red); outline-offset: 2px; }

/* Conditional facets (shown/hidden by product_type selection via JS) start hidden. */
.djr-page .djr-facet.conditional-filter { display: none; }
.djr-page .djr-facet.conditional-filter.is-visible { display: block; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1200px) {
  .djr-page .djr-catalog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .djr-page .djr-catalog .djr-container { padding-left: 24px; padding-right: 24px; }
  .djr-page .djr-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Option 2 toolbar: stack search → segmented bar → count caption. Applies to phones AND portrait
   tablets — the desktop search + count + sort <select> row gets cramped/awkward below ~820px. */
@media (max-width: 820px) {
  .djr-page .djr-catalog__toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .djr-page .djr-catalog__toolbar-left { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .djr-page .djr-catalog__search { width: 100%; }
  .djr-page #product-search.uk-input { width: 100%; max-width: none; }
  .djr-page #filters-open { display: none; }        /* replaced by the segmented Filter button */
  .djr-page .djr-catalog__chips { display: none; }   /* applied chips live in the drawer on mobile */

  .djr-page .djr-catalog__mbar { display: flex; }

  .djr-page .djr-catalog__toolbar-right { width: 100%; justify-content: space-between; align-items: center; gap: 12px; }
  .djr-page .djr-catalog__sort { display: none; }    /* replaced by the sort bottom sheet */
  .djr-page .djr-catalog__count { font-size: 13px; white-space: normal; }
}

@media (max-width: 600px) {
  .djr-page .djr-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .djr-page .djr-catalog__title { font-size: 34px; }
}

/* ------------------------------------------------------------------ compare (Figma COMPARE A) */
/* Chip renders in every product card but only shows inside the catalog grid. Hidden until card
   hover; persistent red once added; dimmed+blocked when another category is being compared. */
.djr-compare-chip { display: none; }
.djr-catalog__grid .product .djr-compare-chip {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 0; border-radius: var(--djr-radius-pill);
  background: var(--djr-white); color: var(--djr-ink);
  font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.djr-catalog__grid .product:hover .djr-compare-chip,
.djr-catalog__grid .product:focus-within .djr-compare-chip,
.djr-catalog__grid .product .djr-compare-chip.is-added {
  opacity: 1; transform: none; pointer-events: auto;
}
.djr-compare-chip__icon { width: 12px; height: 12px; position: relative; }
.djr-compare-chip__icon::before, .djr-compare-chip__icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
/* plus icon */
.djr-compare-chip__icon::before { left: 5px; top: 0; width: 2.4px; height: 12px; }
.djr-compare-chip__icon::after  { top: 5px; left: 0; width: 12px; height: 2.4px; }
/* added: checkmark-ish (rotate the plus into an ×?) — swap to a check via borders instead */
.djr-compare-chip.is-added { background: var(--djr-red); color: var(--djr-white); }
.djr-compare-chip.is-added .djr-compare-chip__icon::before {
  left: 4px; top: 1px; width: 2.4px; height: 10px; transform: rotate(40deg);
}
.djr-compare-chip.is-added .djr-compare-chip__icon::after {
  left: -1px; top: 6px; width: 2.4px; height: 6px; transform: rotate(-50deg);
}
.djr-compare-chip.is-blocked { opacity: 0.45 !important; cursor: not-allowed; }
/* hover ring on the tile while the chip is showing (matches the Figma hover state) */
.djr-catalog__grid .product:hover .image { box-shadow: inset 0 0 0 2px var(--djr-red); }
/* Touch / mobile: no hover to reveal chips, so compare is OFF by default — clean cards and no
   collision with the top-left NEW badge. The toolbar "Compare" toggle sets body.djr-compare-on to
   reveal the chips, and each chip goes icon-only so it stays clear of the NEW badge on narrow cards. */
@media (hover: none), (max-width: 820px) {
  .djr-catalog__grid .product .djr-compare-chip { opacity: 0; transform: none; pointer-events: none; }
  body.djr-compare-on .djr-catalog__grid .product .djr-compare-chip { opacity: 1; pointer-events: auto; }
  .djr-catalog__grid .product .djr-compare-chip__text { display: none; }
  .djr-catalog__grid .product .djr-compare-chip { padding: 8px; gap: 0; }
  .djr-catalog__grid .product:hover .image { box-shadow: none; }

  /* Compare toggle is only offered where hover isn't available. Extra specificity so it beats the
     base display:none rule below regardless of source order. */
  .djr-page .djr-catalog__toolbar-right .djr-catalog__compare-toggle { display: inline-flex; }
}

/* Compare mode toggle (hidden on hover-capable desktop, shown on touch/mobile above). */
.djr-page .djr-catalog__compare-toggle {
  display: none; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px; border: 1px solid var(--djr-line); border-radius: 999px;
  background: var(--djr-white); color: var(--djr-ink);
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.djr-page .djr-catalog__compare-toggle-ico { display: inline-flex; }
.djr-page .djr-catalog__compare-toggle.is-on { background: var(--djr-red); border-color: var(--djr-red); color: #fff; }

/* ---- floating tray ---- */
.djr-compare-tray {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1055;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 14px 12px 22px; border-radius: 16px;
  background: var(--djr-ink); color: var(--djr-white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  max-width: calc(100vw - 32px);
}
.djr-compare-tray[hidden] { display: none; }
.djr-compare-tray__meta { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.djr-compare-tray__title { font-size: 15px; font-weight: 700; }
.djr-compare-tray__sub { font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, 0.72); }
.djr-compare-tray__slots { display: flex; gap: 10px; }
.djr-compare-slot {
  position: relative; width: 56px; height: 56px; border-radius: 10px;
  border: 1.4px dashed rgba(255, 255, 255, 0.35);
}
.djr-compare-slot.is-filled { border: 0; background: #f0f0f0; }
.djr-compare-slot.is-filled img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.djr-compare-slot__remove {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; padding: 0;
  border: 0; border-radius: 999px; background: var(--djr-red); color: #fff;
  font-size: 12px; line-height: 1; cursor: pointer;
}
.djr-compare-tray__clear {
  border: 0; background: none; padding: 0; font-family: inherit;
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.72); cursor: pointer;
}
.djr-compare-tray__clear:hover { color: #fff; }
.djr-compare-tray__go {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px 13px 22px; border-radius: var(--djr-radius-pill);
  background: var(--djr-red); color: var(--djr-white);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color 0.15s ease;
}
.djr-compare-tray__go:hover { background: var(--djr-red-dark); color: var(--djr-white); }
.djr-compare-tray__go.is-disabled { opacity: 0.45; pointer-events: none; }
@media (max-width: 700px) {
  .djr-compare-tray { gap: 10px; padding-left: 14px; }
  .djr-compare-tray__meta { display: none; }
  .djr-compare-slot { width: 44px; height: 44px; }
}

/* ---------- scoped-archive additions (category / series pages) ---------- */
/* Hero eyebrow above the term name. */
.djr-page .djr-catalog__eyebrow {
  margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #fff; opacity: .85;
}

/* "Popular filters" — auto-suggested facet shortcuts above the grid, on large categories. */
.djr-page .djr-catalog__suggested {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 1rem 0 0 0;
}
.djr-page .djr-catalog__suggested-label {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--djr-muted); flex: 0 0 auto;
}
.djr-page .djr-catalog__suggested-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.djr-page .djr-catalog__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--djr-radius-pill);
  border: 1.5px solid var(--djr-line); background: #fff;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--djr-ink);
  cursor: pointer; transition: border-color .12s ease, background-color .12s ease, color .12s ease;
}
.djr-page .djr-catalog__chip:hover { border-color: var(--djr-ink); }
.djr-page .djr-catalog__chip::before {
  content: "+"; font-size: 15px; line-height: 1; font-weight: 700; color: var(--djr-red);
  transition: transform .12s ease;
}
.djr-page .djr-catalog__chip.is-active {
  background: var(--djr-red); border-color: var(--djr-red); color: #fff;
}
.djr-page .djr-catalog__chip.is-active::before { content: "\00d7"; color: #fff; } /* × when applied */

/* ---------- bottom cross-links: Other Categories / Other Series ---------- */
.djr-page .djr-related { padding: 56px 0 72px; border-top: 1px solid var(--djr-line); margin-top: 40px; }
.djr-page .djr-related__heading {
  margin: 0 0 26px; font-size: 24px; font-weight: 700; color: var(--djr-ink);
}

/* Other Categories — one scrollable row of tiles (same scroller component + hover as the top
   "Shop by Category" row), but real links to the category pages. */
.djr-page .djr-related__cat-grid {
  list-style: none; margin: 0; padding: 0 0 4px;
  display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
}
.djr-page .djr-related__cat-grid::-webkit-scrollbar { display: none; }
.djr-page .djr-related__cat { flex: 0 0 200px; }
.djr-page .djr-related__cat-tile { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.djr-page .djr-related__cat-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 3; padding: 18px;
  background: var(--djr-surface); border-radius: var(--djr-radius);
  overflow: hidden; transition: background-color .2s ease;
}
.djr-page .djr-related__cat-tile:hover .djr-related__cat-media { background: #e9e9e9; }
.djr-page .djr-related__cat-image {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  transition: transform .25s ease;
}
.djr-page .djr-related__cat-tile:hover .djr-related__cat-image { transform: scale(1.06); }
/* Lifestyle photo revealed on hover — fills the box, fades over the product-on-grey. */
.djr-page .djr-related__cat-hover {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .25s ease;
}
.djr-page .djr-related__cat-tile:hover .djr-related__cat-hover { opacity: 1; }
.djr-page .djr-related__cat-label {
  text-align: center; font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--djr-ink);
}
.djr-page .djr-related__cat-tile:hover .djr-related__cat-label { color: var(--djr-red); }

/* Other Series — provisional card (lifestyle bg + featured product + logo/name). Refine to Figma. */
.djr-page .djr-related__scroller { position: relative; }
/* Custom scrollbar (same component as the top category row). Hidden until the JS detects overflow
   and adds .is-scrollable; the red thumb width/position is driven by djr-scroller.js. */
.djr-page .djr-related__scroller .djr-scroller__bar {
  display: none; position: relative; height: 10px; margin-top: 22px;
  border-radius: var(--djr-radius-pill); background: #d9d9d9; overflow: hidden;
}
.djr-page .djr-related__scroller.is-scrollable .djr-scroller__bar { display: block; }
.djr-page .djr-related__scroller .djr-scroller__thumb {
  display: block; height: 100%; width: 20%;
  border-radius: var(--djr-radius-pill); background: var(--djr-red); transition: transform .08s linear;
}
/* Hover scroll arrows — mirrored from the category scroller so the "Other Series" row behaves the
   same as the homepage/category rows: circular white arrows that fade in on hover when scrollable. */
.djr-page .djr-related__scroller .djr-scroller__viewport { position: relative; }
.djr-page .djr-related__scroller .djr-scroller__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--djr-white); color: var(--djr-ink);
  box-shadow: 0 6px 18px rgba(12, 16, 22, 0.18); cursor: pointer; opacity: 0;
  transition: opacity .18s ease, background-color .18s ease, color .18s ease;
}
.djr-page .djr-related__scroller .djr-scroller__arrow--prev { left: 8px; }
.djr-page .djr-related__scroller .djr-scroller__arrow--next { right: 8px; }
.djr-page .djr-related__scroller .djr-scroller__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.djr-page .djr-related__scroller .djr-scroller__arrow:hover { background: var(--djr-red); color: #fff; }
.djr-page .djr-related__scroller .djr-scroller__arrow:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .djr-page .djr-related__scroller.is-scrollable:hover .djr-scroller__arrow { display: inline-flex; opacity: 1; }
}
/* One scrollable row (like the top category scroller); cards are fixed-width so they don't squash. */
.djr-page .djr-related__series-grid {
  display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px; 
}
.djr-page .djr-related__series-grid::-webkit-scrollbar { display: none; }
.djr-page .djr-related__series { flex: 0 0 clamp(220px, 24vw, 280px); }
.djr-page .djr-related__series { display: block; text-decoration: none; border-radius: 14px; overflow: hidden; background: var(--djr-surface); border: 1px solid var(--djr-line); }
.djr-page .djr-related__series-media {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #14161a;
}
.djr-page .djr-related__series-life { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .3s ease; }
.djr-page .djr-related__series:hover .djr-related__series-life { transform: scale(1.04); }
.djr-page .djr-related__series-product {
  position: absolute; right: 12px; bottom: 12px; width: 42%; max-height: 70%;
  object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.djr-page .djr-related__series-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: #fff;
}
.djr-page .djr-related__series-logo { max-height: 26px; max-width: 60%; width: auto; object-fit: contain; }
.djr-page .djr-related__series-name { font-size: 17px; font-weight: 700; color: var(--djr-ink); }
.djr-page .djr-related__series-count { font-size: 12.5px; color: var(--djr-muted); white-space: nowrap; }

/* Other Series — clean fallback while imagery is still being uploaded (no big black voids). */
.djr-page .djr-related__series.is-plain { background: #fff; border: 1px solid var(--djr-line); }
.djr-page .djr-related__series.is-plain .djr-related__series-media {
  background: var(--djr-surface); display: flex; align-items: center; justify-content: center; padding: 20px;
}
.djr-page .djr-related__series-logo-lg { max-width: 70%; max-height: 60%; object-fit: contain; }
.djr-page .djr-related__series-plainname { font-size: 22px; font-weight: 700; color: var(--djr-ink); letter-spacing: -.01em; }

/* About this series / category — the full term description, below the products. Two-column
   editorial (Option A): a context eyebrow + the series/category name on the left, the description
   on the right. Uses only existing data — no per-series copy to author. */
.djr-page .djr-catalog__about { margin-top: 48px; padding: 72px 0; background: var(--djr-surface); }
.djr-page .djr-catalog__about-grid {
  display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 72px; align-items: start;
}
.djr-page .djr-catalog__about-eyebrow {
  display: block; margin-bottom: 12px; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--djr-red);
}
.djr-page .djr-catalog__about-title {
  margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700;
  letter-spacing: -.01em; color: var(--djr-ink);
}
.djr-page .djr-catalog__about-body {
  font-size: 16px; line-height: 1.8; color: var(--djr-body);
}
@media (max-width: 900px) {
  .djr-page .djr-catalog__about-grid { grid-template-columns: 1fr; gap: 20px; }
}
.djr-page .djr-catalog__about-body p { margin: 0 0 16px; }
.djr-page .djr-catalog__about-body p:last-child { margin-bottom: 0; }
.djr-page .djr-catalog__about-body a { color: var(--djr-red); text-decoration: underline; text-underline-offset: 2px; }
.djr-page .djr-catalog__about-body a:hover { color: var(--djr-red-dark); }
/* On the About band the Other Series section reads cleaner without its own top rule. */
.djr-page .djr-catalog__about + .djr-related { margin-top: 0; border-top: 0; padding-top: 64px; }

/* ---------- series videos (from the Video Library) ---------- */
.djr-page .djr-catalog__videos { padding: 56px 0 8px; }
.djr-page .djr-catalog__videos-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.djr-page .djr-catalog__videos-heading { margin: 0; font-size: 24px; font-weight: 700; color: var(--djr-ink); }
.djr-page .djr-catalog__videos-scroller { position: relative; }
.djr-page .djr-catalog__videos-row {
  display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px;
}
.djr-page .djr-catalog__videos-row::-webkit-scrollbar { display: none; }
.djr-page .djr-catalog__video { flex: 0 0 clamp(240px, 26vw, 300px); text-decoration: none; }
.djr-page .djr-catalog__video-media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; background: #14161a;
}
.djr-page .djr-catalog__video-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.djr-page .djr-catalog__video:hover .djr-catalog__video-thumb { transform: scale(1.05); }
.djr-page .djr-catalog__video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(169, 29, 34, 0.92); color: #fff;
  transition: transform .15s ease, background-color .15s ease;
}
.djr-page .djr-catalog__video:hover .djr-catalog__video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--djr-red); }
.djr-page .djr-catalog__video-play svg { width: 26px; height: 26px; margin-left: 2px; }
.djr-page .djr-catalog__video-dur {
  position: absolute; right: 8px; bottom: 8px;
  padding: 2px 7px; border-radius: 4px; background: rgba(0, 0, 0, 0.82);
  font-size: 12px; font-weight: 600; color: #fff; letter-spacing: .02em;
}
.djr-page .djr-catalog__video-title {
  display: block; margin-top: 11px; font-size: 14.5px; font-weight: 600; line-height: 1.35;
  color: var(--djr-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.djr-page .djr-catalog__video:hover .djr-catalog__video-title { color: var(--djr-red); }
/* Custom scrollbar + hover arrows (same component as the other rows). */
.djr-page .djr-catalog__videos-scroller .djr-scroller__bar {
  display: none; position: relative; height: 10px; margin-top: 22px;
  border-radius: var(--djr-radius-pill); background: #d9d9d9; overflow: hidden;
}
.djr-page .djr-catalog__videos-scroller.is-scrollable .djr-scroller__bar { display: block; }
.djr-page .djr-catalog__videos-scroller .djr-scroller__thumb {
  display: block; height: 100%; width: 20%;
  border-radius: var(--djr-radius-pill); background: var(--djr-red); transition: transform .08s linear;
}
.djr-page .djr-catalog__videos-scroller .djr-scroller__viewport { position: relative; }
.djr-page .djr-catalog__videos-scroller .djr-scroller__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--djr-white); color: var(--djr-ink);
  box-shadow: 0 6px 18px rgba(12, 16, 22, 0.18); cursor: pointer; opacity: 0;
  transition: opacity .18s ease, background-color .18s ease, color .18s ease;
}
.djr-page .djr-catalog__videos-scroller .djr-scroller__arrow--prev { left: 8px; }
.djr-page .djr-catalog__videos-scroller .djr-scroller__arrow--next { right: 8px; }
.djr-page .djr-catalog__videos-scroller .djr-scroller__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.djr-page .djr-catalog__videos-scroller .djr-scroller__arrow:hover { background: var(--djr-red); color: #fff; }
.djr-page .djr-catalog__videos-scroller .djr-scroller__arrow:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .djr-page .djr-catalog__videos-scroller.is-scrollable:hover .djr-scroller__arrow { display: inline-flex; opacity: 1; }
}

/* product_subtype is rendered hidden so its "Popular filters" chips keep a checkbox to toggle
   (js/product-filter.js matches by data-group-name); it is not a visible drawer facet. */
.djr-facet--hidden { display: none !important; }
