
/* 5) Text-link chip strip */
.mh-chiplinks {
  max-width: var(--bz-max);
  margin: 0.5rem auto 2rem;
  padding: 0 var(--bz-pad);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--bz-gap);
}

.mh-chiplinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  border-radius: 2px;
  background: #F4F4F2;
  color: var(--mh-plum);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background-color .15s ease, color .15s ease;
}

.mh-chiplinks a:hover { background: var(--mh-plum); color: #FFFFFF; }

@media (max-width: 1100px) {
.mh-chiplinks { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
.mh-chiplinks { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   BRAND WALL
   ============================================================ */

.mh-brand-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.85rem;
}

.mh-brand-tile {
  background: #FFFFFF;
  border: 1px solid var(--mh-border);
  border-radius: 14px;
  padding: 1.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: 0 1px 0 rgba(31,31,31,0.04);
}

.mh-brand-tile:hover {
  border-color: var(--mh-primary);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(99,99,99,0.14);
  background: var(--mh-rose);
}

.mh-brand-tile__name {
  font-family: var(--mh-font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--mh-plum);
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1;
}

.mh-brand-tile__name--italic { font-style: italic; }

@media (max-width: 1100px) {
.mh-brand-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
.mh-brand-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================================
   Boozt-style category page (Bullbird)
   Used by templates/catalog/listing/category.tpl and partials.
   ============================================================ */

body#category .breadcrumb__wrapper {
  background: transparent ;
  border: 0;
  padding: 0.65rem 0 0;
}

body#category .breadcrumb {
  font-size: 11.5px;
  color: var(--mh-muted);
  letter-spacing: 0;
  text-transform: none;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding-left: 0;
  margin: 0;
  background: transparent;
  line-height: 1.4;
}

body#category .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding-right: 0.3rem;
  color: var(--mh-soft);
}

body#category .breadcrumb-link {
  color: var(--mh-muted);
  text-decoration: none;
}

body#category .breadcrumb-link:hover { color: var(--mh-plum); text-decoration: underline; }

/* Category page sticks to the standard page grid (uses theme's default container).
   bm_filters lives in #left-column via displayLeftColumn — keep it visible on desktop. */

body#category #wrapper .columns-container.container > .row {
  --bs-gutter-x: 1.75rem;
}

@media (min-width: 992px) {
body#category #left-column {
    flex: 0 0 280px;
    max-width: 280px;
    width: 280px;
    padding-top: 0.25rem;
    position: sticky;
    top: 1rem;
    align-self: flex-start;
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }

  body#category #center-column.center-column.page {
    flex: 1 1 0;
    width: auto ;
    max-width: none ;
  }
}


@media (max-width: 991.98px) {
body#category #left-column { display: none; }
  body#category #center-column.center-column.page {
    flex: 0 0 100% ;
    width: 100% ;
    max-width: 100% ;
  }
}


/* ---------- bm_filters / faceted sidebar polish (compact) ---------- */

body#category #left-column #search_filters,
body#category #left-column .bm-filters,
body#category #left-column [id*="filter"] {
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 12.5px;
}

body#category #left-column .h6,
body#category #left-column .facet-title,
body#category #left-column .filter-title {
  font-family: var(--mh-font-heading);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mh-ink);
  margin: 0 0 0.35rem;
}

body#category #left-column .facet {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--mh-line);
}

body#category #left-column .facet:last-child { border-bottom: 0; }

body#category #left-column .facet ul,
body#category #left-column .filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
}

body#category #left-column .facet-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.1rem;
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--mh-plum-soft);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.12s ease, color 0.12s ease;
}

body#category #left-column .facet-label:hover {
  background: var(--mh-rose);
  color: var(--mh-primary-deep);
}

body#category #left-column .facet-label.active {
  color: var(--mh-primary-deep);
  font-weight: 700;
}

/* Smaller custom checkbox/radio in the sidebar */
body#category #left-column .custom-checkbox,
body#category #left-column .custom-radio {
  width: 14px;
  height: 14px;
  min-width: 14px;
}

body#category #left-column .custom-checkbox input[type="checkbox"],
body#category #left-column .custom-radio input[type="radio"] {
  width: 14px;
  height: 14px;
}

body#category #left-column .magnitude {
  margin-left: auto;
  font-size: 11px;
  color: var(--mh-muted);
  font-weight: 500;
}

body#category #left-column .js-search-filters-clear-all,
body#category #left-column .btn-tertiary {
  width: 100%;
  background: var(--mh-ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body#category #left-column .js-search-filters-clear-all:hover { background: var(--mh-primary); }

/* Hide the "Filtre" pill in toolbar on desktop (sidebar is already visible) */
@media (min-width: 992px) {
.mh-cat-toolbar { display: none; }
}


/* ---------- Hero ---------- */

.mh-cat-hero { margin: 0.5rem 0 1.25rem; }

.mh-cat-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mh-cat-hero__banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--mh-rose) 0%, var(--mh-lilac) 100%);
  aspect-ratio: 2.5 / 1;
  min-height: 110px;
  max-height: 220px;
}

@media (min-width: 576px) {
.mh-cat-hero__banner { aspect-ratio: 4 / 1; border-radius: 16px; }
}


@media (min-width: 992px) {
.mh-cat-hero__banner { aspect-ratio: 6 / 1; border-radius: 18px; }
}


.mh-cat-hero__banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mh-cat-hero__head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0.25rem;
}

.mh-cat-hero__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
  font-family: var(--mh-font-heading);
  font-weight: 800;
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--mh-ink);
  margin: 0;
}

.mh-cat-hero__title-name { text-transform: none; }

.mh-cat-hero__title-count {
  font-family: var(--mh-font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--mh-muted);
  letter-spacing: 0;
}

.mh-cat-hero__desc {
  position: relative;
  max-width: 780px;
  font-size: 14.5px;
  color: var(--mh-plum-soft);
  line-height: 1.55;
}

.mh-cat-hero__desc-clip {
  max-height: 3.3em;
  overflow: hidden;
  position: relative;
}

.mh-cat-hero__desc-clip::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1.4em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

body#category .mh-cat-hero__desc-clip::after {
  height: 100% ;
}

.mh-cat-hero__desc.is-open .mh-cat-hero__desc-clip { max-height: none; }
.mh-cat-hero__desc.is-open .mh-cat-hero__desc-clip::after { display: none; }

.mh-cat-hero__desc-toggle {
  margin-top: 0.35rem;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--mh-primary-deep);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Subcategory chips ---------- */

.mh-cat-chips { position: relative; margin-top: 0.25rem; }

.mh-cat-chips__track {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.25rem 0.25rem 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mh-cat-chips__track::-webkit-scrollbar { height: 0; }

.mh-cat-chips__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.35rem 0.5rem 0.5rem;
  background: #fff;
  border: 1.5px solid var(--mh-border);
  border-radius: 999px;
  color: var(--mh-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 15.5px;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: all 0.15s ease;
}

.mh-cat-chips__chip:hover {
  background: var(--mh-rose);
  border-color: var(--mh-primary);
  color: var(--mh-primary-deep);
}

.mh-cat-chips__thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mh-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mh-cat-chips__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mh-cat-chips__label { line-height: 1; }

/* ---------- Toolbar (sticky filter + sort) ---------- */

.mh-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0;
  margin: 0.25rem 0 1.25rem;
  background: #fff;
  border-top: 1px solid var(--mh-line);
  border-bottom: 1px solid var(--mh-line);
}

/* Only sticky on desktop — avoids overlap with mobile floating pill header */
@media (min-width: 992px) {
.mh-cat-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
  }
}


.mh-cat-toolbar__left,
.mh-cat-toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mh-cat-toolbar__filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--mh-ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.mh-cat-toolbar__filter:hover { background: var(--mh-primary); transform: translateY(-1px); }
.mh-cat-toolbar__filter i { font-size: 16px; }

.mh-cat-toolbar__filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--mh-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-left: 0.15rem;
}

.mh-cat-toolbar__count {
  color: var(--mh-muted);
  font-size: 13px;
  font-weight: 500;
}

.mh-cat-toolbar__sort {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mh-cat-toolbar__sort-label {
  color: var(--mh-muted);
  font-size: 13px;
  font-weight: 600;
}

.mh-cat-toolbar__sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mh-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.mh-cat-toolbar__sort-btn:hover {
  border-color: var(--mh-primary);
  color: var(--mh-primary-deep);
}

.mh-cat-toolbar__sort-btn i { font-size: 14px; }

.mh-cat-toolbar__sort-menu {
  border-radius: 14px;
  border: 1px solid var(--mh-border);
  box-shadow: 0 14px 32px rgba(15, 15, 15, 0.08);
  padding: 0.4rem;
  min-width: 220px;
}

.mh-cat-toolbar__sort-menu .dropdown-item {
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mh-ink);
}

.mh-cat-toolbar__sort-menu .dropdown-item:hover {
  background: var(--mh-rose);
  color: var(--mh-primary-deep);
}

.mh-cat-toolbar__sort-menu .dropdown-item.current,
.mh-cat-toolbar__sort-menu .dropdown-item[aria-current="true"] {
  background: var(--mh-ink);
  color: #fff;
}

@media (max-width: 575.98px) {
.mh-cat-toolbar__sort-label { display: none; }
  .mh-cat-toolbar__count { display: none; }
  .mh-cat-toolbar { padding: 0.5rem 0; gap: 0.4rem; }
  .mh-cat-toolbar__left,
.mh-cat-toolbar__right { gap: 0.4rem; min-width: 0; }
  .mh-cat-toolbar__filter,
.mh-cat-toolbar__sort-btn {
    padding: 0.5rem 0.85rem;
    font-size: 12.5px;
  }
  .mh-cat-toolbar__filter { flex: 0 0 auto; }
  .mh-cat-toolbar__sort-btn { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mh-cat-toolbar__sort-btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .mh-cat-toolbar__sort-menu { min-width: min(280px, calc(100vw - 1.5rem)); }
}


/* ---------- Active filters chips ---------- */

body#category .active-filters,
body#category .js-active-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

body#category .active-filter-title { display: none; }

body#category .filter-block {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--mh-rose);
  border: 1px solid var(--mh-primary-soft);
  color: var(--mh-primary-deep);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 12.5px;
  font-weight: 700;
}

body#category .filter-block .close,
body#category .filter-block .js-search-filters-clear {
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Product grid (sized to the center column next to the filter rail) ---------- */

body#category #products .products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
body#category #products .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


@media (min-width: 1200px) {
body#category #products .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1rem; }
}


/* ---------- Pagination Boozt-style ---------- */

body#category .products__pagination {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 1rem;
}

body#category .pagination {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--mh-cream);
  border-radius: 999px;
  border: 1px solid var(--mh-border);
}

body#category .pagination .page-item .page-link,
body#category .pagination a {
  border: 0;
  background: transparent;
  color: var(--mh-ink);
  font-weight: 700;
  font-size: 13.5px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 0.6rem;
}

body#category .pagination .page-item.active .page-link,
body#category .pagination .current .page-link,
body#category .pagination .current a {
  background: var(--mh-ink);
  color: #fff;
}

body#category .pagination .page-link:hover { background: var(--mh-rose); color: var(--mh-primary-deep); }

/* ---------- Category SEO footer ---------- */

.mh-cat-seo {
  margin: 2rem 0 3rem;
  padding: 1.75rem;
  background: var(--mh-cream);
  border: 1px solid var(--mh-border);
  border-radius: 18px;
}

.mh-cat-seo__inner {
  max-width: 920px;
  margin: 0 auto;
  color: var(--mh-plum-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.mh-cat-seo__inner h2,
.mh-cat-seo__inner h3 {
  font-family: var(--mh-font-heading);
  color: var(--mh-ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 1.25rem;
}

.mh-cat-seo__inner h2:first-child,
.mh-cat-seo__inner h3:first-child { margin-top: 0; }

/* ============================================================
   Boozt-style category — tablet + mobile refinements
   ============================================================ */

/* Tablet (768–991px): sidebar is hidden, slight breathing tweak */
@media (min-width: 768px) and (max-width: 991.98px) {
.mh-cat-hero { margin-top: 0.75rem; }
  body#category #products .products { gap: 1rem; }
}


/* Mobile (≤767px): tighten everything */
@media (max-width: 767.98px) {
  body#category .breadcrumb { font-size: 11.5px; }

  .mh-cat-hero { margin: 0.25rem 0 0.85rem; }
  .mh-cat-hero__inner { gap: 0.85rem; }
  .mh-cat-hero__head { padding: 0; gap: 0.35rem; }
  .mh-cat-hero__title { font-size: 1.65rem; gap: 0.35rem 0.5rem; }
  .mh-cat-hero__title-count { font-size: 0.85rem; }
  .mh-cat-hero__desc { font-size: 13.5px; line-height: 1.5; }

  /* Hide native scrollbar on chips track for a cleaner mobile feel */
  .mh-cat-chips__track {
    padding: 0.2rem 0.25rem 0.5rem;
    gap: 0.45rem;
    scrollbar-width: none;
  }
  .mh-cat-chips__track::-webkit-scrollbar { display: none; }
  .mh-cat-chips__chip { font-size: 12.5px; padding: 0.4rem 0.85rem 0.4rem 0.4rem; }
  .mh-cat-chips__thumb { width: 26px; height: 26px; }

  body#category .active-filters,
body#category .js-active-search-filters { margin: 0 0 0.65rem; }

  /* 2-column grid with tighter gap on narrow phones */
  body#category #products .products { gap: 0.65rem; }

  /* Pagination — let it wrap, smaller buttons */
  body#category .products__pagination { margin: 1.75rem 0 0.5rem; }
  body#category .pagination { flex-wrap: wrap; justify-content: center; row-gap: 0.25rem; }
  body#category .pagination .page-item .page-link,
body#category .pagination a {
    min-width: 32px;
    height: 32px;
    font-size: 12.5px;
    padding: 0 0.5rem;
  }

  /* SEO footer */
  .mh-cat-seo { margin: 1.5rem 0 2rem; padding: 1.1rem 1rem; border-radius: 14px; }
  .mh-cat-seo__inner { font-size: 13.5px; }
}


/* Very small phones (≤360px) */
@media (max-width: 360px) {
.mh-cat-hero__title { font-size: 1.45rem; }
  .mh-cat-toolbar__filter span,
.mh-cat-toolbar__sort-btn > span { font-size: 12px; }
}


/* ============================================================
   MOBILE + TABLET RESPONSIVE PASS (frontpage + global)
   ============================================================ */

/* ---------- Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
/* Chiplinks: 3 cols, tighter */
  .mh-chiplinks { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .mh-chiplinks a { height: 56px; font-size: 12.5px; }
}


/* ---------- Mobile (≤640px) ---------- */
@media (max-width: 640px) {
/* Chiplinks: 2 cols */
  .mh-chiplinks { grid-template-columns: repeat(2, 1fr); gap: 0.45rem; padding: 0 0.85rem; }
  .mh-chiplinks a { height: 48px; font-size: 12px; }
}


/* ---------- Small mobile (≤400px) ---------- */
@media (max-width: 400px) {
.mh-chiplinks { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   Boozt-style category — final polish
   ============================================================ */

/* Tighter breadcrumb→hero gap */
body#category .breadcrumb__wrapper { margin-bottom: 0rem; padding: 0.4rem 0 0 ; }
@media (max-width: 767.98px) {
  body#category .breadcrumb__wrapper { margin-bottom: 1rem; padding: 0.25rem 0 0; }
}
body#category .mh-cat-hero { margin-top: 0 ; }
body#category #main-content { display: none; }

/* Title row: H1 left, sort dropdown right */
.mh-cat-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.mh-cat-hero__sort {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
}

.mh-cat-hero__sort .mh-cat-toolbar__sort-btn { padding: 0.45rem 0.9rem; }

@media (max-width: 575.98px) {
/* Keep title left, sort compact on the right (no full-width stretch) */
  .mh-cat-hero__row { gap: 0.4rem 0.6rem; align-items: center; }
  .mh-cat-hero__title { flex: 1 1 auto; min-width: 0; }
  .mh-cat-hero__sort { width: auto; margin-left: auto; flex: 0 0 auto; }
  .mh-cat-hero__sort .mh-cat-toolbar__sort-btn { width: auto; }
}


/* Hide "Viser 1-X af Y element(er)" pagination summary */
body#category .pagination__number { display: none ; }
body#category .pagination__container { justify-content: center; }

/* ---------- Pagination ---------- */

.pagination {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  justify-content: center;
}

.pagination .page-item { display: inline-flex; }

.pagination .page-link,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.85rem;
  border: 1px solid var(--mh-border);
  background: #FFFFFF;
  color: var(--mh-plum);
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.pagination .page-link:hover,
.pagination a:hover { background: var(--mh-cream); border-color: var(--mh-plum); }

.pagination .page-item.active .page-link,
.pagination .current a,
.pagination .active a {
  background: var(--mh-plum);
  color: #FFFFFF;
  border-color: var(--mh-plum);
}

.pagination .disabled a { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   BRANDS A–Z INDEX PAGE (Matas-style alphabetical)
   ============================================================ */
body#manufacturer .breadcrumb__wrapper { display: none ; }

/* Drop the category sidebar on the brands page — full-width index */
body#manufacturer #left-column,
body#manufacturer #right-column,
body#manufacturer .wrapper__left-column { display: none ; }
body#manufacturer #content-wrapper,
body#manufacturer #center-column {
  width: 100% ;
  max-width: 100% ;
  flex: 0 0 100% ;
}

.mh-brands {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}
.mh-brands__hero {
  text-align: center;
  margin-bottom: 1.75rem;
}
.mh-brands__eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mh-plum-soft);
  background: #F2F2F0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.mh-brands__title {
  font-family: var(--mh-font-heading);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.025em;
  color: var(--mh-plum);
  margin: 0 0 0.55rem;
}
.mh-brands__lede {
  font-size: 14.5px;
  color: var(--mh-plum-soft);
  margin: 0;
}

/* Sticky A–Z jump bar */
.mh-brands__az {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--mh-line);
  border-bottom: 1px solid var(--mh-line);
  margin-bottom: 2.5rem;
}
.mh-brands__az-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mh-plum);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.mh-brands__az-link:hover {
  background: var(--mh-plum);
  color: #FFFFFF;
}
.mh-brands__az-link--off {
  color: var(--mh-soft);
  pointer-events: none;
  opacity: 0.4;
}

/* Letter groups */
.mh-brands__groups {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.mh-brands__group {
  scroll-margin-top: 70px;
}
.mh-brands__letter {
  font-family: var(--mh-font-heading);
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--mh-plum);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #DADAD8;
}
.mh-brands__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem 1.25rem;
}
.mh-brands__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s ease;
}
.mh-brands__brand:hover { background: #F4F4F2; }
.mh-brands__brand-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mh-plum);
}
.mh-brands__brand:hover .mh-brands__brand-name { color: var(--mh-plum); }
.mh-brands__brand-count {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mh-muted);
  background: #EFEFED;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
.mh-brands__items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
.mh-brands { padding: 1rem 0.85rem 2.5rem; }
  .mh-brands__items { grid-template-columns: 1fr; }
  .mh-brands__az-link { width: 28px; height: 28px; font-size: 12px; }
  .mh-brands__letter { font-size: 1.5rem; }
}


/* Brand logo in the manufacturer hero (reuses .mh-cat-hero styling) */
.mh-cat-hero__brandlogo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F7F5;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  max-width: 200px;
}
.mh-cat-hero__brandlogo img {
  max-height: 64px;
  width: auto;
  mix-blend-mode: multiply;
}

/* Category content aligns with the rest of the page (match the 1450px header) */
body#category #wrapper .columns-container.container,
body#category .columns-container.container { max-width: 1450px; }

/* Wider category filter sidebar */
@media (min-width: 992px) {
body#category #left-column { flex: 0 0 240px ; max-width: 240px ; width: 240px ; }
}


/* Active filters bar relocated into the hero row, grouped on the right next to sort.
   (moved client-side by category-header.tpl). margin-left:auto groups it with sort;
   when empty it stays display:none (inline style) and sort right-aligns as before. */
@media (min-width: 992px) {
.mh-cat-hero__row > #bm-filters-active {
    order: 2;
    margin: 0 0 0 auto;
    flex-wrap: wrap;
    font-size: 13px;
  }
  .mh-cat-hero__row > .mh-cat-hero__sort { order: 3; margin-left: 0.6rem; }
}

/**
 * Adds 8px of horizontal breathing room to the existing Dahls layout gutters.
 * The rule is intentionally limited to the requested 968–1650px viewport range.
 */
@media (min-width: 968px) and (max-width: 1650px) {
html body#category .breadcrumb__wrapper .container {
    padding-left: 8px ;
    padding-right: 8px ;
  }
}

body#category .mh-cat-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 0;
  align-items: start;
}
body#category .mh-cat-hero__banner {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 684 / 385;
  border-radius: 7px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .02);
  background: #f3ebdb7a;
}
body#category .mh-cat-hero__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken;
  border-radius: 16px;
}
body#category .mh-cat-seo {
  margin-top: 80px;
}
body#category .mh-cat-seo__inner {
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  padding-inline: 30px;
  font: 400 17px/29px 'DM Sans', sans-serif;
}
body#category .mh-cat-seo__inner h2 {
  margin: 0 0 16px;
  font: 500 25px/26px 'DM Sans', sans-serif;
}
body#category .mh-cat-seo__inner h3 {
  margin: 0;
  font: 500 21px/40px 'DM Sans', sans-serif;
}
body#category .mh-cat-seo__inner p {
  margin: 0 0 25px;
  line-height: 29px;
}
body#category .mh-cat-hero__head {
  grid-column: 1;
  grid-row: 1;
  padding: 25px 0 0;
}
body#category .mh-cat-hero__title,
body#category .mh-cat-hero__title-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: normal;
  color: #000;
}
body#category .mh-cat-hero__title { margin-bottom: 8px; }
body#category .mh-cat-hero__desc {
  max-width: 624px;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 29px;
  font-weight: 400;
  color: #232323;
}
body#category .mh-cat-hero__desc-clip {
  position: relative;
  max-height: 100px;
  overflow: hidden;
}
body#category .mh-cat-hero__desc-clip::after {
  position: absolute;
  content: '';
  inset: 0;
  background: linear-gradient(0deg, #fff, transparent);
  pointer-events: none;
}
body#category .mh-cat-hero__desc.is-open .mh-cat-hero__desc-clip { max-height: none; }
body#category .mh-cat-hero__desc.is-open .mh-cat-hero__desc-clip::after { display: none; }
body#category .mh-cat-hero__desc-toggle { margin-top: 12px; }

body#category .dg-cat-video {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
}
body#category .dg-cat-video__ava {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}
body#category .dg-cat-video__text {
  max-width: 32ch;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: #232323;
}
body#category .dg-cat-video__text p { margin: 0; }
body#category .dg-cat-video__text strong { font-weight: 700; }
body#category .dg-cat-video__modal {
  width: min(900px, 90vw);
  border: 0;
  border-radius: 16px;
  padding: 24px;
}
body#category .dg-cat-video__modal iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}
body#category .dg-cat-video__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
}

body#category .dg-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 24px;
}
body#category .dg-cat-toolbar__sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
body#category .dg-cat-toolbar__sort .products__sort-label { margin: 0; }

body#category .mh-cat-chips {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  margin-top: 0;
  padding: 50px 0 30px;
  overflow: hidden;
}
body#category .mh-cat-chips__track {
  --bs-content: 100%;
  --bs-gutter: 0px;
  --bs-gap: 32px;
  padding: 2px 0;
}
body#category .mh-cat-chips__track::-webkit-scrollbar { height: 0; }
body#category .mh-cat-chips__track { scrollbar-width: none; }
body#category .mh-cat-chips__chip {
  flex: 0 0 128px;
  width: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  user-select: none;
  -webkit-user-drag: none;
  outline: 0 ;
}
body#category .mh-cat-chips__chip:hover,
body#category .mh-cat-chips__chip:focus-within {
  color: inherit;
  text-decoration: none;
}
body#category .mh-cat-chips__thumb {
  width: 128px;
  height: 128px;
  aspect-ratio: 1 / 1;
  border-radius: 64% 33% 85% 33% / 46% 50% 54% 69%;
  background: #f3ebdb7a;
  overflow: hidden;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  transition: border 200ms ease, border-radius 200ms ease, translate 200ms ease;
}
body#category .mh-cat-chips__thumb img {
  width: inherit;
  height: inherit;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  mix-blend-mode: darken;
  scale: 2;
  user-select: none;
  -webkit-user-drag: none;
}
body#category .mh-cat-chips__chip:hover .mh-cat-chips__thumb,
body#category .mh-cat-chips__chip:focus-within .mh-cat-chips__thumb {
  border: 4px solid #f3ebdb;
  border-radius: 46% 50% 54% 69% / 64% 33% 85% 33%;
  translate: 0 -1px;
}
body#category .mh-cat-chips__chip:nth-of-type(2n) .mh-cat-chips__thumb {
  border-radius: 36% 65% 60% 35% / 56% 47% 51% 59%;
}
body#category .mh-cat-chips__chip:nth-of-type(2n):hover .mh-cat-chips__thumb,
body#category .mh-cat-chips__chip:nth-of-type(2n):focus-within .mh-cat-chips__thumb {
  border-radius: 56% 47% 51% 59% / 36% 65% 60% 35%;
}
body#category .mh-cat-chips__chip:nth-of-type(3n) .mh-cat-chips__thumb {
  border-radius: 85% 33% 64% 33% / 54% 69% 46% 50%;
}
body#category .mh-cat-chips__chip:nth-of-type(3n):hover .mh-cat-chips__thumb,
body#category .mh-cat-chips__chip:nth-of-type(3n):focus-within .mh-cat-chips__thumb {
  border-radius: 54% 69% 46% 50% / 85% 33% 64% 33%;
}
body#category .mh-cat-chips__label {
  display: block;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.25px;
  color: #211111;
  white-space: normal;
}
body#category #products .products { gap: 45px 20px; }

@media (max-width: 992px) {
body#category .mh-cat-chips__track {
    --bs-gap: 1rem;
  }
  body#category .mh-cat-chips__chip {
    flex: 0 0 96px;
    width: 96px;
    min-width: 96px;
    max-width: 96px;
  }
  body#category .mh-cat-chips__thumb {
    width: 96px;
    height: 96px;
    box-shadow: none;
  }
  body#category .mh-cat-chips__thumb img { width: 96px; height: 96px; }
  body#category .mh-cat-chips__label { overflow: visible; }

  body#category .mh-cat-hero__inner { grid-template-columns: 1fr; }
  body#category.category-id-37 .mh-cat-hero__inner {
    
    row-gap: 10px;
  }
  body#category .mh-cat-hero__inner { row-gap: 10px; }
  body#category .mh-cat-hero__banner { grid-column: 1; grid-row: 1; order: -1; }
  body#category .mh-cat-hero__head { grid-column: 1; grid-row: 2; padding-top: 0; }
  body#category .mh-cat-hero__title { margin: 16px 0 0; flex-grow: 0; }
  body#category .mh-cat-hero__desc { margin-bottom: 20px; }
}




body#category #wrapper .columns-container.container,
body#category .columns-container.container {
  max-width: min(var(--desktop), 100% - 2rem);
}

body#category .columns-container.container {
  padding-inline: 0 ;
  margin-inline: auto;
}

body#category .mh-cat-hero {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

body#category #js-product-list-top {
  width: 100%;
  margin-inline: auto ;
}

body#category #js-product-list .products {
  width: calc(100% + 20px);
  margin-inline: -10px;
  padding-inline: 10px ;
}

body#category.category-id-37 .mh-cat-hero__inner {
  grid-template-columns: 624.39px 624.39px;
}

body#category.category-id-37 .mh-cat-hero__head {
  padding-top: 0;
}

body#category.category-id-37 .mh-cat-hero__banner {
  height: 337px;
  aspect-ratio: auto;
}

body#category .mh-cat-hero__inner,
body#category .mh-cat-hero__banner,
body#category .mh-cat-hero__head,
body#category .mh-cat-chips,
body#category .mh-cat-chips__track {
  min-width: 0;
}

body#category .mh-cat-chips__track {
  width: 100%;
  max-width: 100%;
}

body#category .mh-cat-hero__desc-toggle {
  min-height: 35px;
  padding: 2px 16px;
  color: #232323;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  font: 400 15px/29px 'DM Sans', sans-serif;
}

body#category .desc-link {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block: 16px;
  padding: 1px 0;
  color: #232323;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: 400 17px/29px 'DM Sans', sans-serif;
}

body#category .desc-link > img {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
}

body#category .desc-link .video-text {
  display: block;
  max-width: 30ch;
  font: inherit;
}

body#category .desc-link .video-text p { margin: 0; font-size: 14px; line-height: 21px; }
body#category .desc-link .video-text strong { font-size: 16px; font-weight: 700; }

body#category .bm-video-modal:popover-open {
  display: grid;
  box-sizing: border-box;
  width: 592px;
  max-width: calc(100vw - 15px);
  padding: 8px 16px 16px;
  background: #fff;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .09);
}
body#category .bm-video-modal::backdrop { background: rgba(255, 255, 255, .6); }
body#category .bm-video-modal__content {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body#category .bm-video-modal__close {
  position: static;
  margin-left: auto;
  padding: 0;
  color: #000;
  background: transparent;
  border: 0;
  font: 700 24px/24px 'DM Sans', sans-serif;
  font-family: 'DM Sans', sans-serif ;
}
body#category .bm-video-modal__player {
  width: 560px;
  max-width: 100%;
  height: 315px;
  padding: 0;
  aspect-ratio: auto;
  background: transparent;
}
body#category .bm-video-modal__player iframe,
body#category .bm-video-modal__player video {
  position: static;
  width: 100%;
  height: 100%;
}

body#category #category-modal:popover-open {
  display: grid;
  width: min(900px, calc(100vw - 32px));
  padding: 8px 16px 16px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .09);
}

body#category #category-modal::backdrop { background: rgba(255, 255, 255, .6); }
body#category #category-modal .close { margin-left: auto; }
body#category #category-modal iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }

body:is(#category, #search, #best-sales, #prices-drop, #new-products) #js-product-list-top {
  margin: 30px 0 10px;
}

body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar {
  display: flex ;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 44px;
  margin: 0;
}

body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar__sort .products__sort-label {
  display: none;
}

body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar__filters {
  flex: 1 1 auto;
  min-width: 0;
}

body:is(#category, #search, #best-sales, #prices-drop, #new-products)
  #bm-filters-block.bm-filters--horizontal .bm-filters__group-title {
  font-size: 15px;
}

body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar__sort {
  flex: 0 0 auto;
}

body:is(#category, #search, #best-sales, #prices-drop, #new-products) .products__sort-label {
  color: #232323;
  font: 400 17px/29px 'DM Sans', sans-serif;
}

body:is(#category, #search, #best-sales, #prices-drop, #new-products) .products__sort-dropdown-button {
  min-width: 170px;
  height: 35px;
  padding: 2px 14px;
  color: #000;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  font: 400 17px/29px 'DM Sans', sans-serif;
}

body:is(#category, #search, #best-sales, #prices-drop, #new-products) #products .products {
  box-sizing: border-box;
  padding-inline: 5px;
  column-gap: 20px;
  row-gap: 56px;
}

body#search #js-product-list-header,
body#search #product-list-header {
  margin: 0;
  color: #000;
  font: 600 34px/37.4px 'DM Sans', sans-serif;
  text-transform: none;
}

body#search .columns-container.container {
  padding-inline: 12.5px ;
}

body#search #product-list-header,
body#search #js-product-list-header,
body#search #js-product-list-top {
  width: calc(100% - 35px);
  margin-inline: auto;
}

body#search #js-product-list .products {
  width: calc(100% - 15px);
  margin-inline: auto;
  padding-inline: 10px ;
}

.btm-text {
  padding: 0 0 120px;
  color: #232323;
  background: #fff;
  font: 400 17px/29px 'DM Sans', sans-serif;
}

.btm-text.inner {
  margin-top: 80px;
  padding-bottom: 0;
}

body#category .btm-text.inner .container {
  display: flow-root;
  width: 100% ;
  max-width: 940px ;
  margin-inline: auto;
  padding-inline: 30px;
  color: inherit;
  font: inherit;
}

body#category .btm-text.inner {
  width: calc(100% + 25px);
  margin-left: -12.5px;
}

body#category .btm-text h2 {
  margin: 0 0 16px;
  color: #232323;
  font: 500 25px/26px 'DM Sans', sans-serif;
  font-family: 'DM Sans', sans-serif ;
}

body#category .btm-text h3 {
  margin: 0;
  color: #232323;
  font-family: 'DM Sans', sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 40px;
}

body#category .btm-text p {
  margin-bottom: 25px ;
  color: #000;
}
body#category .btm-text a {
  color: #208094;
  letter-spacing: -.1px;
  line-height: inherit;
}
.btm-text ul,
.btm-text ol { margin-left: 15px; }

@media (max-width: 992px) {
body:is(#category, #search, #best-sales, #prices-drop, #new-products) .columns-container.container {
    padding-inline: 13px;
  }

  body#category #js-product-list-top { width: 100%; }
  body#search .columns-container.container {
    padding-inline: 13px ;
  }
  body#search #product-list-header,
body#search #js-product-list-header,
body#search #js-product-list-top,
body#search #js-product-list .products {
    width: 100%;
  }
  body#search #js-product-list .products { padding-inline: 5px ; }

  body#category .mh-cat-hero__inner,
body#category .mh-cat-hero__banner,
body#category .mh-cat-hero__head {
    width: 100%;
    max-width: 100%;
  }

  body#category .mh-cat-hero__banner {
    aspect-ratio: 20 / 9;
    height: auto;
  }
  body#category.category-id-37 .mh-cat-hero__banner {
    width: 100%;
    height: auto;
    aspect-ratio: 20 / 9;
  }
  body#category.category-id-37 .mh-cat-hero__inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
    padding-bottom: 33.5px;
  }
  body#category.category-id-37 .mh-cat-hero__banner { display: none; }
  body#category.category-id-37 .mh-cat-hero__head { width: 100%; }

  body#category .mh-cat-hero__head { display: block; }

  body#category .mh-cat-hero__title { margin-top: 16px; }

  body#category .mh-cat-hero__desc-clip { max-height: 100px; }

  body#category .mh-cat-chips {
    grid-row: 3;
    margin-top: 25px;
  }

  body#category .mh-cat-chips {
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    padding-block: 10px 30px;
  }

  body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar {
    display: flex ;
    width: calc(100% - 10px);
    min-height: 42px;
    margin-inline: auto;
    flex-direction: row-reverse;
    gap: 10px;
  }

  body#category .dg-cat-toolbar {
    box-sizing: border-box;
    padding-inline: 5px;
  }

  body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar__filters,
body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar__sort {
    
    
    margin: 0;
  }

  body:is(#category, #search, #best-sales, #prices-drop, #new-products) .bm-filters__mobile-toggle,
body:is(#category, #search, #best-sales, #prices-drop, #new-products) .products__sort-dropdown-button {
    
    
    
    
    margin: 0;
    padding: 0 16px;
  }

  body:is(#category, #search, #best-sales, #prices-drop, #new-products) #products .products {
    padding-inline: 5px;
    column-gap: 10px;
    row-gap: 39px;
  }

  body:is(#category, #search, #best-sales, #prices-drop, #new-products) #js-product-list-top {
    margin-block: 16px 22px;
  }

  body#category #js-product-list .products {
    width: calc(100% - 10px);
    margin-inline: auto;
    padding-inline: 5px ;
  }

  .btm-text {
    padding: 10px 0 30px;
    font-size: 14px;
    line-height: 26px;
  }

  body#category .desc-link { font-size: 14px; line-height: 26px; }
  body#category .bm-video-modal__player { width: 100%; }

  .btm-text.inner { margin-top: 80px; }
  body#category .btm-text.inner {
    width: calc(100% + 36px);
    margin-left: -18px;
  }
  body#category .btm-text.inner .container { padding-inline: 15px ; }
  body#category .btm-text h2 { font-size: 20px; line-height: 32px; letter-spacing: -1px; }
  body#category .btm-text h3 { font-size: 17px; line-height: 30px; }
  body#category .btm-text p,
body#category .btm-text li,
body#category .btm-text a { line-height: 26px ; }
}


@media (min-width: 993px) {
.btm-text p,
.btm-text li { line-height: 29px; }
}


/*
 * Keep the mobile category sorting and filter controls geometrically aligned.
 * Production target: themes/dahlbb/assets/css/dahls-catalog.css
 */
@media (max-width: 992px) {
body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar__filters,
body:is(#category, #search, #best-sales, #prices-drop, #new-products) .dg-cat-toolbar__sort {
    flex: 0 0 calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
    min-width: 0;
  }

  body:is(#category, #search, #best-sales, #prices-drop, #new-products) .products__sort-dropdown {
    width: 100%;
    min-width: 0;
  }

  body:is(#category, #search, #best-sales, #prices-drop, #new-products) .bm-filters__mobile-toggle,
body:is(#category, #search, #best-sales, #prices-drop, #new-products) .products__sort-dropdown-button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    border-radius: 999px;
  }
}

/*
 * DAHL-UDV-54 — hide category hero images at the active mobile breakpoint.
 * Production target: themes/dahlbb/assets/css/dahls-catalog.css
 */
@media (max-width: 992px) {
body#category .mh-cat-hero__banner {
    display: none ;
  }
}

/* DAHL-UDV-54 — reduce whitespace above the category title. */
@media (max-width: 992px) {
body#category .mh-cat-hero__title {
    margin-top: 0;
  }
}


@media (min-width: 993px) {
body#category .mh-cat-hero__head {
    padding-top: 16px;
  }
}

@media (max-width: 992px) {
body#category .mh-cat-hero__head {
    grid-row: 1;
  }
}


/* DAHL-UDV-54 — tighter desktop category-title spacing. */
@media (min-width: 993px) {
body#category .mh-cat-hero__head {
    padding-top: 8px;
  }

  /* Keep the embroidery category banner a little calmer on wide screens. */
  body#category .mh-cat-hero__banner {
    width: min(100%, 600px);
    justify-self: end;
  }
}

/* Elementor-toptekst i kategori-heroen: Creative Elements lægger 10px kolonne-gap på den udfyldte kolonne,
   så teksten står 10px længere inde end H1 og logo (fx /10-daabsgaver, ikke /442-modtager der er ren tekst).
   Nulstilles her, så toptekst flugter med resten. (Bullmade 2026-09-09) */
body#category .mh-cat-hero__desc .elementor-column-wrap.elementor-element-populated,
body#category .mh-cat-hero__desc .elementor-widget-wrap,
body#category .mh-cat-hero__desc .elementor-widget-container {
  padding: 0 !important;
}
