/* HL pack auto — do not edit; rebuild from sources */
/* === hl-category-view-a.css === */
/* part A */
/* HL category GRID/LIST â€” scoped to category listing only */

.hl-list-desc { display: none !important; }
.product-miniature .hl-list-qty[hidden] { display: none !important; }
.hl-list-flags { display: none; }
.hl-list-oos { display: none; }

/* Toolbar */
body#category .products-selection,
body#category .products__selection,
body#category .hl-category-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  justify-content: space-between;
}

body#category .hl-view-switch { display: inline-flex; gap: 6px; }

body#category .hl-view-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #30343b;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

body#category .hl-view-switch__btn .material-icons { font-size: 20px; line-height: 1; }
body#category .hl-view-switch__btn:hover {
  border-color: #c5cad1;
  color: #1f2328;
  background: #f0f1f3;
}
body#category .hl-view-switch__btn.is-active {
  border-color: #b8bec6;
  color: #1a1d21;
  background: #e8eaed;
  box-shadow: inset 0 0 0 1px #c5cad1;
}
body#category .hl-view-switch__text { font-size: 12px; font-weight: 700; }

@media (max-width: 575.98px) {
  body#category .hl-view-switch__text { display: none; }
  body#category .hl-view-switch__btn { width: 38px; padding: 0; }
}

/* No image zoom/crop on category listing */
body#category #js-product-list .product-miniature img,
body#category #js-product-list .product-miniature__image,
body#category #js-product-list .product-miniature:hover img,
body#category #js-product-list .product-miniature:hover .product-miniature__image {
  transform: none !important;
}

/* GRID: hide list-only UI */
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-list-desc,
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-list-qty,
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-list-flags,
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-list-viewlink__arrow,
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-list-meta,
body#category #js-product-list .products.hl-view-grid .hl-list-desc,
body#category #js-product-list .products.hl-view-grid .hl-list-qty,
body#category #js-product-list .products.hl-view-grid .hl-list-flags,
body#category #js-product-list .products.hl-view-grid .hl-list-viewlink__arrow,
body#category #js-product-list .products.hl-view-grid .hl-list-meta {
  display: none !important;
}

/* Grid: OOS text visible; list-flags/image flags off */
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-flags-on-image,
body#category #js-product-list .products.hl-view-grid .hl-flags-on-image {
  display: none !important;
}

html[data-hl-cat-view="grid"] body#category #js-product-list .hl-pc-status,
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-pc-discount,
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-pc-oos,
body#category #js-product-list .products.hl-view-grid .hl-pc-status,
body#category #js-product-list .products.hl-view-grid .hl-pc-discount,
body#category #js-product-list .products.hl-view-grid .hl-pc-oos {
  display: flex !important;
}
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-pc-oos,
body#category #js-product-list .products.hl-view-grid .hl-pc-oos {
  display: block !important;
}

/* ===== LIST ===== */
/* LIST row geometry — desktop only; mobile uses single-card (view-mobile) */
@media (min-width: 768px) {
html[data-hl-cat-view="list"] body#category #js-product-list .products,
body#category #js-product-list .products.hl-view-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature,
body#category #js-product-list .products.hl-view-list .product-miniature,
body#category #js-product-list .products.hl-view-list article.product-miniature {
  width: 100% !important;
  max-width: 100% !important;
  height: 125px !important;
  min-height: 125px !important;
  max-height: 125px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
  box-sizing: border-box !important;
}

/* List: UUS stays in .hl-list-flags; -xx% moves to .hl-pc-discount by price. */
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags,
body#category #js-product-list .products.hl-view-list .hl-list-flags {
  display: flex !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .product-flag.discount,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .badge.discount,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .product-flag.on-sale,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .badge.on-sale,
body#category #js-product-list .products.hl-view-list .hl-list-flags .product-flag.discount,
body#category #js-product-list .products.hl-view-list .hl-list-flags .badge.discount,
body#category #js-product-list .products.hl-view-list .hl-list-flags .product-flag.on-sale,
body#category #js-product-list .products.hl-view-list .hl-list-flags .badge.on-sale {
  display: none !important;
}

/* Avoid double UUS (status + list-flags) */
html[data-hl-cat-view="list"] body#category #js-product-list .hl-pc-status,
body#category #js-product-list .products.hl-view-list .hl-pc-status {
  display: none !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-pc-discount,
body#category #js-product-list .products.hl-view-list .hl-pc-discount {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 10px !important;
  padding: 2px 5px !important;
  flex: 0 0 auto !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__price-row,
body#category #js-product-list .products.hl-view-list .product-miniature__price-row {
  /* keep as flex row in purchase column â€” do not flatten */
  display: flex !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature:hover,
body#category #js-product-list .products.hl-view-list .product-miniature:hover {
  transform: none !important;
  box-shadow: none !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__inner,
body#category #js-product-list .products.hl-view-list .product-miniature__inner {
  display: grid !important;
  grid-template-columns: 110px minmax(0, 1fr) 200px;
  gap: 0 20px;
  align-items: center;
  position: relative;
  background: #fff;
  border: 0 !important;
  border-bottom: 1px solid #edf0f3 !important;
  border-radius: 0 !important;
  padding: 10px 4px;
  min-height: 125px;
  height: 125px !important;
  max-height: 125px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background .15s ease;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__inner:hover,
body#category #js-product-list .products.hl-view-list .product-miniature__inner:hover {
  background: #fafbfc;
  box-shadow: none !important;
  border-color: #edf0f3 !important;
}

/* Image â€” no overlay badges */
html[data-hl-cat-view="list"] body#category #js-product-list .hl-flags-on-image,
body#category #js-product-list .products.hl-view-list .hl-flags-on-image {
  display: none !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__top,
body#category #js-product-list .products.hl-view-list .product-miniature__top {
  position: relative;
  width: 110px;
  margin: 0 !important;
  align-self: center;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-container,
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-link,
html[data-hl-cat-view="list"] body#category #js-product-list .thumbnail-container,
body#category #js-product-list .products.hl-view-list .product-miniature__image-container,
body#category #js-product-list .products.hl-view-list .product-miniature__image-link,
body#category #js-product-list .products.hl-view-list .thumbnail-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90px !important;
  max-height: 90px !important;
  min-height: 90px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  flex: none !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image,
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-container img,
body#category #js-product-list .products.hl-view-list .product-miniature__image,
body#category #js-product-list .products.hl-view-list .product-miniature__image-container img {
  max-width: 84px !important;
  max-height: 84px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
}

/* Content column */
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__bottom,
body#category #js-product-list .products.hl-view-list .product-miniature__bottom {
  display: contents !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__infos,
body#category #js-product-list .products.hl-view-list .product-miniature__infos {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "flags title"
    "flags desc";
  column-gap: 10px;
  row-gap: 4px;
  justify-content: flex-start !important;
  align-items: start;
  min-width: 0;
  margin: 0 !important;
  padding: 2px 0 0 !important;
  grid-column: 2;
}
} /* end desktop list */

/* === hl-category-view-b.css === */
/* part B */

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags,
body#category #js-product-list .products.hl-view-list .hl-list-flags {
  grid-area: flags;
  align-self: start;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__title,
body#category #js-product-list .products.hl-view-list .product-miniature__title {
  grid-area: title;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-desc,
body#category #js-product-list .products.hl-view-list .hl-list-desc {
  grid-area: desc;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .product-flags,
body#category #js-product-list .products.hl-view-list .hl-list-flags .product-flags {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .badge,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .product-flag,
body#category #js-product-list .products.hl-view-list .hl-list-flags .badge,
body#category #js-product-list .products.hl-view-list .hl-list-flags .product-flag {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  padding: 3px 7px !important;
  border-radius: 4px !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-transform: uppercase;
}

/* UUS solid red — @layer vendors beats BS badge primary */
@layer vendors {
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .product-flag.new,
  body#category #js-product-list .products.hl-view-list .hl-list-flags .product-flag.new,
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .badge.new,
  body#category #js-product-list .products.hl-view-list .hl-list-flags .badge.new,
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .product-flags .badge.new:not(.discount),
  body#category #js-product-list .products.hl-view-list .hl-list-flags .product-flags .badge.new:not(.discount) {
    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #fff !important;
    border: 1px solid #d71920 !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
    padding: 2px 6px !important;
  }
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__title,
body#category #js-product-list .products.hl-view-list .product-miniature__title {
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #1a1d21 !important;
  text-align: left !important;
  text-transform: none !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  position: static;
  z-index: 1;
}

/* Whole LIST row opens product (except qty / ATC / details) */
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__title::after,
body#category #js-product-list .products.hl-view-list .product-miniature__title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-buy,
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__actions,
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__form,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-qty,
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__add,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-viewlink,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-oos,
body#category #js-product-list .products.hl-view-list .hl-list-buy,
body#category #js-product-list .products.hl-view-list .product-miniature__actions,
body#category #js-product-list .products.hl-view-list .product-miniature__form,
body#category #js-product-list .products.hl-view-list .hl-list-qty,
body#category #js-product-list .products.hl-view-list .product-miniature__add,
body#category #js-product-list .products.hl-view-list .hl-list-viewlink,
body#category #js-product-list .products.hl-view-list .hl-list-oos {
  position: relative;
  z-index: 2;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__title:hover,
body#category #js-product-list .products.hl-view-list .product-miniature__title:hover {
  color: #d71920 !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-desc,
body#category #js-product-list .products.hl-view-list .hl-list-desc {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0 !important;
  max-width: 100%;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b7280;
}

/* Action / purchase column â€” one visual cluster */
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-buy,
body#category #js-product-list .products.hl-view-list .hl-list-buy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 212px !important;
  min-width: 212px !important;
  max-width: 220px !important;
  grid-column: 3;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
  height: auto !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__prices,
body#category #js-product-list .products.hl-view-list .product-miniature__prices {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  gap: 1px !important;
  margin: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  text-align: right !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__price-row,
body#category #js-product-list .products.hl-view-list .product-miniature__price-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  min-height: 0 !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__price,
body#category #js-product-list .products.hl-view-list .product-miniature__price {
  color: #d71920 !important;
  font-size: 17.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: right !important;
  width: auto !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__regular-price,
body#category #js-product-list .products.hl-view-list .product-miniature__regular-price {
  color: #9ca3af !important;
  text-decoration: line-through;
  font-size: 12px !important;
  font-weight: 500 !important;
  max-height: none !important;
  text-align: right !important;
  width: 100% !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__actions,
body#category #js-product-list .products.hl-view-list .product-miniature__actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 6px !important;
  flex: none !important;
  justify-content: flex-end !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-pc-avail,
body#category #js-product-list .products.hl-view-list .hl-pc-avail {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  width: 100%;
  text-align: right;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-pc-avail:empty,
body#category #js-product-list .products.hl-view-list .hl-pc-avail:empty {
  display: none !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__form,
body#category #js-product-list .products.hl-view-list .product-miniature__form {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  margin: 0 !important;
}

/* Qty â€” quieter than CTA */
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-qty,
body#category #js-product-list .products.hl-view-list .hl-list-qty {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  height: 36px;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-qty__btn,
body#category #js-product-list .products.hl-view-list .hl-list-qty__btn {
  width: 30px;
  height: 36px;
  border: 0;
  background: #f7f8fa;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-qty__btn:hover,
body#category #js-product-list .products.hl-view-list .hl-list-qty__btn:hover {
  background: #eef0f3;
  color: #d71920;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-qty__input,
body#category #js-product-list .products.hl-view-list .hl-list-qty__input {
  width: 34px;
  height: 36px;
  border: 0;
  border-left: 1px solid #e2e6eb;
  border-right: 1px solid #e2e6eb;
  background: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  color: #1a1d21;
  -moz-appearance: textfield;
  appearance: textfield;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-qty__input::-webkit-outer-spin-button,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* === hl-category-view-c.css === */
/* part C */

/* Primary ATC */
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__add.hl-list-atc,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-atc.btn-primary,
body#category #js-product-list .products.hl-view-list .product-miniature__add.hl-list-atc,
body#category #js-product-list .products.hl-view-list .hl-list-atc.btn-primary {
  flex: 0 0 110px !important;
  width: 110px !important;
  max-width: 110px !important;
  min-width: 110px !important;
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  border: 0 !important;
  background: #d71920 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  justify-content: center !important;
  gap: 4px !important;
  white-space: nowrap;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-atc .material-icons,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-atc .product-miniature__add-text,
body#category #js-product-list .products.hl-view-list .hl-list-atc .material-icons,
body#category #js-product-list .products.hl-view-list .hl-list-atc .product-miniature__add-text {
  color: #fff !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-atc .material-icons,
body#category #js-product-list .products.hl-view-list .hl-list-atc .material-icons {
  font-size: 16px !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-atc:hover,
body#category #js-product-list .products.hl-view-list .hl-list-atc:hover {
  background: #b9141a !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Secondary: Vaata toodet — never use flex-basis 110px (column parent → square) */
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-viewlink,
html[data-hl-cat-view="list"] body#category #js-product-list a.hl-pc-view,
body#category #js-product-list .products.hl-view-list .hl-list-viewlink,
body#category #js-product-list .products.hl-view-list a.hl-pc-view {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 128px !important;
  max-width: 160px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid #dfe3e8 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #333 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: border-color .15s ease, color .15s ease;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-viewlink:hover,
body#category #js-product-list .products.hl-view-list .hl-list-viewlink:hover {
  border-color: #d71920;
  color: #d71920 !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-oos,
body#category #js-product-list .products.hl-view-list .hl-list-oos {
  display: block !important;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #8b929a;
  text-align: right;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-unavailable .product-miniature__inner,
body#category #js-product-list .products.hl-view-list .hl-list-unavailable .product-miniature__inner {
  background: #fbfbfb;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-unavailable .product-miniature__inner:hover,
body#category #js-product-list .products.hl-view-list .hl-list-unavailable .product-miniature__inner:hover {
  background: #f7f8f9;
}

/* GRID reset â€” shared card chrome comes from hl-product-card-*.css */
html[data-hl-cat-view="grid"] body#category #js-product-list .products,
body#category #js-product-list .products.hl-view-grid {
  display: grid !important;
}

html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__inner,
body#category #js-product-list .products.hl-view-grid .product-miniature__inner {
  /* keep flex column; padding from .hl-pc */
  display: flex !important;
  flex-direction: column !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  grid-template-columns: none !important;
  min-height: 0;
  height: 100% !important;
}

html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__bottom,
body#category #js-product-list .products.hl-view-grid .product-miniature__bottom,
html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__infos,
body#category #js-product-list .products.hl-view-grid .product-miniature__infos,
html[data-hl-cat-view="grid"] body#category #js-product-list .hl-list-buy,
body#category #js-product-list .products.hl-view-grid .hl-list-buy {
  display: flex !important;
  flex-direction: column !important;
  width: auto;
  min-width: 0;
}

html[data-hl-cat-view="grid"] body#category #js-product-list .hl-list-buy,
body#category #js-product-list .products.hl-view-grid .hl-list-buy {
  margin-top: auto !important;
}

html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__title,
body#category #js-product-list .products.hl-view-grid .product-miniature__title {
  /* clamp from shared card */
}

@media (max-width: 991.98px) {
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__inner,
  body#category #js-product-list .products.hl-view-list .product-miniature__inner {
    grid-template-columns: 96px minmax(0, 1fr) 170px;
    gap: 0 14px;
    padding: 10px 2px;
    min-height: 96px;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__top,
  body#category #js-product-list .products.hl-view-list .product-miniature__top { width: 96px; }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-container,
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-link,
  html[data-hl-cat-view="list"] body#category #js-product-list .thumbnail-container,
  body#category #js-product-list .products.hl-view-list .product-miniature__image-container,
  body#category #js-product-list .products.hl-view-list .product-miniature__image-link,
  body#category #js-product-list .products.hl-view-list .thumbnail-container {
    height: 84px !important;
    max-height: 84px !important;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image,
  body#category #js-product-list .products.hl-view-list .product-miniature__image {
    max-width: 84px !important;
    max-height: 84px !important;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-buy,
  body#category #js-product-list .products.hl-view-list .hl-list-buy {
    width: 170px;
    min-width: 170px;
  }
}

@media (max-width: 767.98px) {
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__inner,
  body#category #js-product-list .products.hl-view-list .product-miniature__inner {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
      "img info"
      "buy buy";
    gap: 8px 12px;
    padding: 12px 2px;
    align-items: start;
    min-height: 0;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__top,
  body#category #js-product-list .products.hl-view-list .product-miniature__top {
    width: 76px;
    grid-area: img;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__infos,
  body#category #js-product-list .products.hl-view-list .product-miniature__infos {
    grid-area: info;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-buy,
  body#category #js-product-list .products.hl-view-list .hl-list-buy {
    grid-area: buy;
    width: 100%;
    min-width: 0;
    align-items: stretch;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__prices,
  body#category #js-product-list .products.hl-view-list .product-miniature__prices {
    align-items: flex-start;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__actions,
  body#category #js-product-list .products.hl-view-list .product-miniature__actions {
    align-items: stretch;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__form,
  body#category #js-product-list .products.hl-view-list .product-miniature__form {
    justify-content: flex-start;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-atc,
  body#category #js-product-list .products.hl-view-list .hl-list-atc {
    max-width: none !important;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-oos,
  body#category #js-product-list .products.hl-view-list .hl-list-oos {
    text-align: left;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-container,
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-link,
  html[data-hl-cat-view="list"] body#category #js-product-list .thumbnail-container,
  body#category #js-product-list .products.hl-view-list .product-miniature__image-container,
  body#category #js-product-list .products.hl-view-list .product-miniature__image-link,
  body#category #js-product-list .products.hl-view-list .thumbnail-container {
    height: 72px !important;
    max-height: 72px !important;
  }
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image,
  body#category #js-product-list .products.hl-view-list .product-miniature__image {
    max-width: 72px !important;
    max-height: 72px !important;
  }
}

/* === hl-category-list-mobile.css === */
/* Mobile single-card (list) only: large sharp image + price left above qty.
   Desktop list/grid untouched. Keep this file small for Zone FTP. */
@media (max-width: 767.98px) {
  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-container,
  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .thumbnail-container,
  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-link,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image-container,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .thumbnail-container,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image-link {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    padding: 8px !important;
  }

  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image,
  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-container img,
  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc picture,
  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc picture img,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc picture,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc picture img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__prices,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__prices {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 8px !important;
  }

  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__price-row,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__price-row {
    justify-content: flex-start !important;
  }

  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__price,
  html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__regular-price,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__price,
  body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__regular-price {
    text-align: left !important;
    align-self: flex-start !important;
  }

  html[data-hl-cat-view="list"] body#category #js-product-list .hl-pc-avail,
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-oos,
  body#category #js-product-list .products.hl-view-list .hl-pc-avail,
  body#category #js-product-list .products.hl-view-list .hl-list-oos {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* Grid after list-switch: fill the image stage (do not keep list srcset/src reset) */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc picture,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc picture {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image,
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc picture img,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__image,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc picture img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

/* === hl-category-compact.css === */
/* HL category compact catalog chrome — body#category only */

/* Kill parent Hummingbird breadcrumb band (~40px) */
body#category .breadcrumb__wrapper {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0;
}

body#category .breadcrumb {
  margin: 0;
  padding: 4px 0;
}

/* custom.css hides first+last breadcrumb items globally — restore trail on category */
body#category .breadcrumb li:first-child,
body#category .breadcrumb li:last-child,
body#product .breadcrumb li:first-child {
  display: list-item !important;
}

/* Current page crumb stays non-clickable but visible */
body#category .breadcrumb li:last-child,
body#product .breadcrumb li:last-child {
  display: list-item !important;
}

body#category .hl-category-header {
  margin: 0 0 6px;
  padding: 0;
}

body#category .hl-category-header__title .h1,
body#category .hl-category-header__title h1,
body#category .hl-category-header .page-title-section .h1,
body#category .hl-category-header .page-title-section h1 {
  margin: 0 0 4px !important;
  font-size: clamp(1.55rem, 1.35rem + .45vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
}

/* Top intro: exactly 2 lines + Loe edasi on the same block */
body#category .hl-category-intro {
  position: relative;
  margin: 0 0 6px !important;
  max-width: 1050px;
}

body#category .hl-category-intro__text {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13.5px;
  line-height: 1.45;
  color: #6b7280;
}

body#category .hl-category-intro--more .hl-category-intro__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding-right: 5.5rem;
}

body#category .hl-category-intro__more {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 0 0 0 1.75rem;
  border: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 28%);
  color: #d71920;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  white-space: nowrap;
}

body#category .hl-category-intro__more:hover {
  text-decoration: underline;
}

/* Quicknav chips */
body#category .hl-category-quicknav,
body#category .hl-catintro__chips {
  margin: 0 0 12px !important;
}

/* Kill Hummingbird default header→products gap (was ~25px) */
body#category #js-product-list-header {
  margin-bottom: 4px !important;
}

body#category .hl-category-header,
body#category .hl-catintro {
  margin-bottom: 0 !important;
}

body#category .hl-category-quicknav__list,
body#category .subcategory__list--with-images {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  margin: 0 !important;
  align-items: center;
}

body#category .subcategory__link--with-image {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  height: auto !important;
  max-width: 100%;
  padding: 5px 12px 5px 8px !important;
  border: 1px solid #edf0f3 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: #1a1d21 !important;
}

body#category .subcategory__link--with-image:hover {
  border-color: #d0d5dd !important;
  background: #fafbfc !important;
  box-shadow: none !important;
  color: #d71920 !important;
}

body#category .subcategory__thumbnail {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  object-fit: contain !important;
}

body#category .subcategory__name {
  flex: 0 1 auto !important;
  max-width: 14rem;
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body#category .hl-category-quicknav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px dashed #cfd5dc;
  border-radius: 8px;
  background: #fff;
  color: #4b5563;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

body#category .hl-category-quicknav__toggle:hover {
  border-color: #d71920;
  color: #d71920;
  background: #fff8f8;
}

body#category .hl-category-quicknav__list.is-expanded .hl-category-quicknav__extra {
  display: inline-flex !important;
}

/* Toolbar */
body#category #js-product-list-top.hl-category-toolbar,
body#category .hl-category-toolbar {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body#category .hl-category-toolbar__row,
body#category #js-product-list-top .products__selection {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between !important;
  gap: 8px 12px;
  width: 100%;
  min-height: 40px;
  margin: 0 !important;
}

body#category .hl-category-toolbar__count,
body#category #js-product-list-top .products__count {
  margin: 0 !important;
  font-size: 13.5px;
  color: #6b7280;
  flex: 0 1 auto;
}

body#category .hl-category-toolbar__actions,
body#category #js-product-list-top .products__sort {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 0 auto !important;
}

body#category .hl-view-switch__btn {
  height: 36px;
  min-width: 36px;
}

body#category #js-product-list-top .products-sort-order,
body#category #js-product-list-top .sort-by-row,
body#category #js-product-list-top select {
  min-height: 36px;
}

/* Pull products up — kill leftover intro/media gaps */
body#category .hl-catintro__main {
  display: block !important;
  margin: 0 !important;
  gap: 0 !important;
}

body#category .hl-catintro__media,
body#category .category__cover {
  display: none !important;
}

body#category .btn-read-more-cat {
  display: none !important;
}

body#category #products {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#category #js-product-list {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#category #js-product-list .products,
body#category #js-product-list .products.hl-category-products,
body#category #js-product-list .products.hl-view-list,
body#category #js-product-list .products.hl-view-grid {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Bottom SEO description — full HTML always in DOM; collapse is visual only */
body#category .hl-category-seo {
  border-top: 1px solid #e8e8e8;
  margin: 36px 0 0;
  padding: 24px 0 16px;
  max-width: 1100px;
}

body#category .hl-category-description-bottom,
body#category #hl-category-seo-description {
  position: relative;
  max-height: none !important;
  overflow: visible !important;
  color: #30343b;
}

body#category .hl-category-description-bottom:not(.is-expanded),
body#category #hl-category-seo-description:not(.is-expanded) {
  max-height: 4.95em !important; /* ~3 lines preview; full HTML still in DOM for SEO */
  overflow: hidden !important;
}

body#category .hl-category-description-bottom:not(.is-expanded)::after,
body#category #hl-category-seo-description:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}

body#category .hl-category-description-bottom.is-expanded,
body#category #hl-category-seo-description.is-expanded {
  max-height: none !important;
  overflow: visible !important;
}

body#category .hl-category-description-bottom.is-expanded::after,
body#category #hl-category-seo-description.is-expanded::after {
  display: none;
}

body#category .hl-category-description-bottom p {
  margin: 0 0 1rem;
  font-size: 14.5px;
  line-height: 1.65;
}

body#category .hl-category-description-bottom h2 {
  margin: 1.5rem 0 .75rem;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

body#category .hl-category-description-bottom h3 {
  margin: 1.25rem 0 .55rem;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}

body#category .hl-category-description-bottom ul,
body#category .hl-category-description-bottom ol {
  margin: 0 0 1rem 1.15rem;
  padding: 0;
}

body#category .hl-category-description-bottom li {
  margin: 0 0 .35rem;
  font-size: 14.5px;
  line-height: 1.55;
}

body#category .hl-category-description-bottom img {
  max-width: 100%;
  height: auto;
}

body#category .hl-category-seo__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 12px auto 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

body#category .hl-category-seo__toggle:hover {
  color: #d71920;
}

body#category .hl-category-seo__toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

body#category .hl-category-seo__toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
  margin-top: 2px;
  margin-bottom: 4px;
}

body#category .category__additional-description {
  margin-top: 24px;
  max-width: 1100px;
}

/* LIST density polish — desktop only (mobile single-card owns layout) */
@media (min-width: 768px) {
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__inner,
body#category #js-product-list .products.hl-view-list .product-miniature__inner {
  padding: 10px 4px !important;
  min-height: 125px !important;
  height: 125px !important;
  max-height: 125px !important;
  overflow: hidden !important;
  gap: 0 16px !important;
  grid-template-columns: 84px minmax(0, 1fr) 212px !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__top,
body#category #js-product-list .products.hl-view-list .product-miniature__top {
  width: 84px !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-container,
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-link,
html[data-hl-cat-view="list"] body#category #js-product-list .thumbnail-container,
body#category #js-product-list .products.hl-view-list .product-miniature__image-container,
body#category #js-product-list .products.hl-view-list .product-miniature__image-link,
body#category #js-product-list .products.hl-view-list .thumbnail-container {
  width: 84px !important;
  height: 84px !important;
  max-height: 84px !important;
  aspect-ratio: 1 / 1;
}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image,
body#category #js-product-list .products.hl-view-list .product-miniature__image {
  max-width: 84px !important;
  max-height: 84px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-buy,
body#category #js-product-list .products.hl-view-list .hl-list-buy {
  width: 212px !important;
  min-width: 212px !important;
}
}

@media (max-width: 991.98px) {
  body#category .hl-category-toolbar__row {
    align-items: flex-start;
  }

  body#category .hl-category-toolbar__actions {
    width: 100%;
    margin-left: 0 !important;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  body#category .hl-category-quicknav,
  body#category .hl-catintro__chips {
    margin-bottom: 8px !important;
  }

  body#category #js-product-list-top.hl-category-toolbar,
  body#category .hl-category-toolbar {
    margin-bottom: 12px !important;
  }

  body#category .hl-category-intro {
    font-size: 13px;
  }

  body#category .hl-category-intro--more .hl-category-intro__text {
    padding-right: 4.75rem;
  }

  body#category .hl-category-seo {
    margin-top: 28px;
    padding-top: 20px;
  }

  body#category .hl-category-quicknav__list {
    flex-wrap: wrap !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: auto;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  body#category .subcategory__link--with-image {
    flex: 1 1 calc(50% - 4px) !important;
    white-space: normal;
  }

  body#category .subcategory__name {
    max-width: none;
  }

  body#category .hl-category-description-bottom {
    margin-top: 32px;
    padding-top: 24px;
  }

  /* Do NOT force desktop list thumb/grid here — mobile single-card CSS owns layout */
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-buy,
  body#category #js-product-list .products.hl-view-list .hl-list-buy {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* === hl-category-chips.css === */
/* Category quicknav chips only — 2-line names, equal height, compact row.
   Scoped to body#category .hl-category-quicknav. Does not touch mega-menu or products. */

body#category .hl-category-quicknav .hl-category-quicknav__list,
body#category .hl-category-quicknav .subcategory__list--with-images {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin: 0 !important;
}

body#category .hl-category-quicknav .subcategory__link--with-image {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 210px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 4px 8px 4px 6px !important;
  white-space: normal !important;
  overflow: hidden !important;
}

/* Beat .hl-catintro__chips .subcategory__name { display:inline-flex } */
body#category .hl-category-quicknav .subcategory__link--with-image .subcategory__thumbnail,
body#category .hl-category-quicknav a.subcategory__link--with-image > img.subcategory__thumbnail {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  object-fit: contain !important;
  align-self: center !important;
}

body#category .hl-category-quicknav .subcategory__link--with-image .subcategory__name,
body#category .hl-catintro__chips.hl-category-quicknav .subcategory__link--with-image .subcategory__name {
  flex: 1 1 auto !important;
  align-self: center !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
  text-align: left !important;
  color: inherit !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: manual !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

body#category .hl-category-quicknav .hl-category-quicknav__toggle {
  box-sizing: border-box !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 4px 8px !important;
  margin: 0 !important;
  border: 1px dashed #cfd5dc !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #4b5563 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

body#category .hl-category-quicknav .hl-category-quicknav__toggle[hidden] {
  display: none !important;
}

body#category .hl-category-quicknav a.subcategory__link--with-image[hidden],
body#category .hl-category-quicknav .hl-category-quicknav__extra[hidden] {
  display: none !important;
}

/* Desktop / tablet: mega-L2 style equal fill. Max 6/row; 7+ → ceil(n/2) capped at 6
   (7→4+3, 10→5+5, 11→6+5). Incomplete last row stretches via flex-grow. Mobile untouched. */
@media (min-width: 768px) {
  body#category .hl-category-quicknav .hl-category-quicknav__list,
  body#category .hl-category-quicknav .subcategory__list--with-images {
    --hl-qn-gap: 8px;
    --hl-qn-cols: 6;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: var(--hl-qn-gap) !important;
    grid-template-columns: none !important;
  }

  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="1"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="1"] { --hl-qn-cols: 1; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="2"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="2"] { --hl-qn-cols: 2; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="3"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="3"] { --hl-qn-cols: 3; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="4"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="4"] { --hl-qn-cols: 4; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="5"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="5"] { --hl-qn-cols: 5; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="6"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="6"] { --hl-qn-cols: 6; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="7"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="7"] { --hl-qn-cols: 4; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="8"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="8"] { --hl-qn-cols: 4; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="9"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="9"] { --hl-qn-cols: 5; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="10"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="10"] { --hl-qn-cols: 5; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="11"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="11"] { --hl-qn-cols: 6; }
  body#category .hl-category-quicknav .hl-category-quicknav__list[data-count="12"],
  body#category .hl-category-quicknav .subcategory__list--with-images[data-count="12"] { --hl-qn-cols: 6; }

  body#category .hl-category-quicknav .subcategory__link--with-image,
  body#category .hl-category-quicknav .hl-category-quicknav__toggle {
    flex: 1 1 calc((100% - (var(--hl-qn-cols, 6) - 1) * var(--hl-qn-gap, 8px)) / var(--hl-qn-cols, 6)) !important;
    width: auto !important;
    max-width: none !important;
    min-width: calc((100% - (var(--hl-qn-cols, 6) - 1) * var(--hl-qn-gap, 8px)) / var(--hl-qn-cols, 6) - 0.25px) !important;
  }

  body#category .hl-category-quicknav .hl-category-quicknav__list:not(.is-expanded):has(> a.subcategory__link--with-image:nth-child(13)) {
    max-height: calc(48px * 2 + 8px);
    min-height: calc(48px * 2 + 8px);
    height: calc(48px * 2 + 8px);
    overflow: hidden;
  }
}

@media (max-width: 767.98px) {
  /* Kill Hummingbird .subcategory { margin-inline: calc(gutter * -.5) } — causes page X-scroll */
  body#category .hl-category-quicknav__wrap.subcategory,
  body#category .subcategory.hl-category-quicknav__wrap,
  body#category .hl-category-quicknav .subcategory {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body#category .hl-category-quicknav .hl-category-quicknav__list,
  body#category .hl-category-quicknav .subcategory__list--with-images {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    grid-template-columns: none !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body#category .hl-category-quicknav .subcategory__link--with-image {
    flex: 1 1 calc(50% - 4px) !important;
    max-width: none !important;
    width: auto !important;
  }

  body#category .hl-category-quicknav .hl-category-quicknav__toggle {
    flex: 1 1 calc(50% - 4px) !important;
  }

  /* Soft clamp — keep height AFTER JS ready too (ready used to drop max-height → CLS) */
  body#category .hl-category-quicknav .hl-category-quicknav__list:not(.is-expanded):has(> a.subcategory__link--with-image:nth-child(9)) {
    max-height: calc(48px * 4 + 8px * 3 + 4px);
    min-height: calc(48px * 4 + 8px * 3 + 4px);
    height: calc(48px * 4 + 8px * 3 + 4px);
    overflow: hidden;
    padding-bottom: 2px !important;
    box-sizing: border-box !important;
  }
}

/* === hl-category-view-mobile.css === */
/* Mobile 2/1 switch + single premium card. Desktop untouched. */
body#category .hl-view-switch__ico--mob,
body#category .hl-view-switch__text--mob{display:none}

@media (max-width:767.98px){
body#category .hl-view-switch__ico--desk,
body#category .hl-view-switch__text--desk{display:none!important}
body#category .hl-view-switch__ico--mob{display:inline-flex!important;font-size:20px;line-height:1}
body#category .hl-view-switch__text--mob{display:inline!important;font-size:13px;font-weight:800;letter-spacing:.02em}
body#category .hl-view-switch__btn{width:auto!important;min-width:44px;padding:0 10px!important;gap:4px}

/* Single card — override category-view + compact list grid */
html[data-hl-cat-view="list"] body#category #js-product-list .products,
body#category #js-product-list .products.hl-view-list{
display:flex!important;flex-direction:column!important;gap:14px!important;
max-width:400px!important;margin-left:auto!important;margin-right:auto!important;width:100%!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc,
body#category #js-product-list .products.hl-view-list article.product-miniature,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc{
display:block!important;width:100%!important;max-width:100%!important;border:0!important;
border-radius:16px!important;background:#fff!important;box-shadow:0 10px 28px rgba(20,30,40,.07)!important;
overflow:visible!important;transform:none!important;margin:0!important;padding:0!important;
height:auto!important;min-height:0!important;max-height:none!important}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__inner,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__inner,
body#category #js-product-list .products.hl-view-list .product-miniature__inner,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__inner{
display:flex!important;flex-direction:column!important;grid-template-columns:none!important;
grid-template-rows:none!important;grid-template-areas:none!important;gap:0!important;
align-items:stretch!important;justify-content:flex-start!important;position:relative!important;
width:100%!important;min-height:0!important;height:auto!important;padding:0 0 14px!important;
margin:0!important;background:transparent!important;border:0!important;border-bottom:0!important;
border-radius:0!important;box-shadow:none!important;cursor:default!important}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__inner:hover,
body#category #js-product-list .products.hl-view-list .product-miniature__inner:hover{
background:transparent!important;box-shadow:none!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__top,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__top{
width:100%!important;max-width:none!important;grid-area:auto!important;margin:0!important;padding:0!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-container,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .thumbnail-container,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-link,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image-container,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .thumbnail-container,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image-link{
width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;
aspect-ratio:1/1!important;display:flex!important;align-items:center!important;justify-content:center!important;
padding:16px!important;margin:0!important;background:#fff!important;border:0!important;border-radius:0!important;
outline:none!important;box-shadow:none!important;overflow:hidden!important;grid-area:auto!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-link.outline,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-link.outline--rounded,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image-link.outline,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image-link.outline--rounded{
outline:none!important;box-shadow:none!important;border:0!important;border-radius:0!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-container img,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .thumbnail-container img,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__image-container img,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .thumbnail-container img{
width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;margin:0!important;
padding:0!important;object-fit:contain!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc:hover .product-miniature__image,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc:hover .product-miniature__image{transform:none!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__bottom,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__infos,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-buy,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__bottom,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__infos,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-list-buy{
display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;
max-width:none!important;min-width:0!important;grid-area:auto!important;grid-column:auto!important;margin:0!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__bottom,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__bottom{gap:10px!important;padding:4px 16px 0!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__infos,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__infos{gap:6px!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-buy,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-list-buy{gap:10px!important;justify-content:flex-start!important;padding:0!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-status,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-pc-status,
html[data-hl-cat-view="list"] body#category #js-product-list .hl-pc-status{
display:flex!important;align-items:center!important;height:auto!important;min-height:0!important;
position:absolute!important;top:8px!important;left:8px!important;z-index:5!important;
width:auto!important;max-width:calc(100% - 16px)!important;margin:0!important;overflow:visible!important;
pointer-events:none}
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc{
position:relative!important;overflow:visible!important}
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags,
body#category #js-product-list .products.hl-view-list .hl-list-flags{display:none!important}
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-status__new,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-pc-status__new{
display:inline-flex!important;background:#d71920!important;color:#fff!important;border:1px solid #d71920!important;
font-weight:700!important;box-shadow:0 1px 3px rgba(20,30,40,.14)}
html[data-hl-cat-view="list"] body#category #js-product-list .hl-pc-discount,
body#category #js-product-list .products.hl-view-list .hl-pc-discount{display:inline-flex!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__title,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__title{
display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;line-clamp:4!important;
overflow:hidden!important;font-size:15px!important;line-height:1.35!important;font-weight:700!important;color:#1a1d21!important;
text-align:left!important;margin:0!important;width:100%!important;max-width:none!important;height:auto!important;
min-height:0!important;max-height:calc(1.35em * 4)!important}
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__title::after,
body#category #js-product-list .products.hl-view-list .product-miniature__title::after{display:none!important}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-desc,
body#category #js-product-list .products.hl-view-list .hl-list-desc{
display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important;
overflow:hidden!important;margin:0!important;font-size:13px!important;line-height:1.4!important;color:#6b7280!important;text-align:left!important}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__prices,
body#category #js-product-list .products.hl-view-list .product-miniature__prices{align-items:center!important;justify-content:flex-start!important;text-align:center!important;width:100%!important}
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__price-row,
body#category #js-product-list .products.hl-view-list .product-miniature__price-row{justify-content:center!important}
html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__price,
body#category #js-product-list .products.hl-view-list .product-miniature__price{font-size:22px!important;text-align:center!important}
html[data-hl-cat-view="list"] body#category #js-product-list .hl-pc-avail,
body#category #js-product-list .products.hl-view-list .hl-pc-avail{justify-content:center!important;text-align:center!important}
html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-oos,
body#category #js-product-list .products.hl-view-list .hl-list-oos{display:block!important;text-align:center!important}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__actions,
body#category #js-product-list .products.hl-view-list .product-miniature__actions{align-items:stretch!important;width:100%!important}

html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__form,
body#category #js-product-list .products.hl-view-list .product-miniature__form{
display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
gap:10px!important;width:100%!important;justify-content:flex-start!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-qty,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-list-qty{
display:inline-flex!important;height:40px!important;border-radius:10px!important;overflow:hidden!important;
border:0!important;background:#f3f5f7!important;box-shadow:none!important;flex:0 0 auto!important}
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-qty__btn,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-list-qty__btn{
width:36px!important;height:40px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:17px!important}
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-qty__input,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-list-qty__input{
width:38px!important;height:40px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important}

html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-atc,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-atc,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__add.hl-list-atc,
html[data-hl-cat-view="list"] body#category #js-product-list article.product-miniature.hl-pc a.hl-pc-view,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-pc-atc,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .hl-list-atc,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc .product-miniature__add.hl-list-atc,
body#category #js-product-list .products.hl-view-list article.product-miniature.hl-pc a.hl-pc-view{
flex:1 1 auto!important;width:auto!important;max-width:none!important;min-width:0!important;height:40px!important;
min-height:40px!important;border:0!important;border-radius:10px!important;box-shadow:0 1px 3px rgba(215,25,32,.12)!important;
font-size:13px!important;font-weight:700!important;padding:0 12px!important}

html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-oos,
body#category #js-product-list .products.hl-view-list .hl-list-oos{display:block!important;text-align:center!important}
}

@media (min-width:768px){
body#category .hl-view-switch__ico--mob,
body#category .hl-view-switch__text--mob{display:none!important}
}

