/* HL pack auto — do not edit; rebuild from sources */
/* === hl-cls-plist.css === */
/* CLS lock — load LAST after category-view / product-card. Keep <8KB.
   Desktop list: fixed 125px rows. Mobile: reserve list height only — never clip CTAs. */

/* --- Desktop LIST: absolute 125px rows (beats height:auto fights) --- */
@media (min-width: 768px) {
  html[data-hl-cat-view="list"] body#category #js-product-list .products.hl-view-list,
  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 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 {
    height: 125px !important;
    min-height: 125px !important;
    max-height: 125px !important;
    margin: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    box-sizing: border-box !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 {
    height: 125px !important;
    min-height: 125px !important;
    max-height: 125px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body#category #js-product-list {
    min-height: 0 !important; /* was 1250px — short catalogs left huge footer gap */
  }

  /* OOS Vaata toodet: column .actions + flex-basis 110px made a 110×110 square */
  html[data-hl-cat-view="list"] body#category #js-product-list a.hl-pc-view,
  html[data-hl-cat-view="list"] body#category #js-product-list a.hl-list-viewlink,
  body#category #js-product-list .products.hl-view-list a.hl-pc-view,
  body#category #js-product-list .products.hl-view-list a.hl-list-viewlink {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 128px !important;
    max-width: 160px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !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 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* --- Mobile: unlock card chrome; CLS via list min-height + image aspect only --- */
@media (max-width: 767.98px) {
  html[data-hl-cat-view="grid"] body#category #js-product-list .products.hl-view-grid,
  body#category #js-product-list .products.hl-view-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px 4px !important;
  }

  /* Equal-height stretch + denser cards — never max-height/overflow-clip (hid ATC) */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__inner,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 6px 6px 4px !important;
    box-sizing: border-box !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__image-container,
  html[data-hl-cat-view="grid"] body#category #js-product-list .thumbnail-container,
  body#category #js-product-list .products.hl-view-grid .product-miniature__image-container,
  body#category #js-product-list .products.hl-view-grid .thumbnail-container {
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    padding: 2px !important;
    box-sizing: border-box !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__image,
  html[data-hl-cat-view="grid"] body#category #js-product-list picture img,
  body#category #js-product-list .products.hl-view-grid .product-miniature__image,
  body#category #js-product-list .products.hl-view-grid picture img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !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 {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  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;
    flex: 1 1 auto !important;
    margin-top: auto !important;
    padding: 0 !important;
    width: 100% !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__actions,
  html[data-hl-cat-view="grid"] body#category #js-product-list .hl-pc-atc,
  html[data-hl-cat-view="grid"] body#category #js-product-list a.hl-pc-view,
  body#category #js-product-list .products.hl-view-grid .product-miniature__actions,
  body#category #js-product-list .products.hl-view-grid .hl-pc-atc,
  body#category #js-product-list .products.hl-view-grid a.hl-pc-view {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__actions,
  body#category #js-product-list .products.hl-view-grid .product-miniature__actions {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
  }

  /* Single-column: undo desktop 125px row + 72/84px thumb */
  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 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !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;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !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 .thumbnail-container,
  html[data-hl-cat-view="list"] body#category #js-product-list .product-miniature__image-link,
  body#category #js-product-list .products.hl-view-list .product-miniature__image-container,
  body#category #js-product-list .products.hl-view-list .thumbnail-container,
  body#category #js-product-list .products.hl-view-list .product-miniature__image-link {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !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 picture img,
  body#category #js-product-list .products.hl-view-list .product-miniature__image,
  body#category #js-product-list .products.hl-view-list picture img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  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 .hl-pc-atc,
  html[data-hl-cat-view="list"] body#category #js-product-list a.hl-pc-view,
  body#category #js-product-list .products.hl-view-list .product-miniature__actions,
  body#category #js-product-list .products.hl-view-list .hl-pc-atc,
  body#category #js-product-list .products.hl-view-list a.hl-pc-view {
    height: auto !important;
    max-height: none !important;
    min-height: 44px !important;
  }

  /* After cards paint: drop huge CLS reserve so short catalogs don't leave footer gap */
  body#category #js-product-list {
    min-height: 0 !important;
  }
}

/* Quicknav: keep collapsed height stable after JS hides extras */
@media (max-width: 767.98px) {
  body#category .hl-category-quicknav .hl-category-quicknav__list:not(.is-expanded):has(> a.subcategory__link--with-image:nth-child(9)) {
    height: calc(48px * 4 + 8px * 3) !important;
    max-height: calc(48px * 4 + 8px * 3) !important;
    min-height: calc(48px * 4 + 8px * 3) !important;
    overflow: hidden !important;
  }
}

@media (min-width: 768px) {
  body#category .hl-category-quicknav .hl-category-quicknav__list:not(.is-expanded):has(> a.subcategory__link--with-image:nth-child(13)) {
    height: calc(48px * 2 + 8px) !important;
    max-height: calc(48px * 2 + 8px) !important;
    min-height: calc(48px * 2 + 8px) !important;
    overflow: hidden !important;
  }
}

/* LIST UUS solid red: @layer vendors beats Bootstrap badge !important */
@layer vendors {
  html[data-hl-cat-view="list"] body#category #js-product-list .hl-list-flags .product-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,
  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;
  }
}

/* === hl-category-grid-mobile.css === */
/* Category mobile: wider grid cards, less air, equal-height CTAs.
   Loads after hl-cls-plist — match its specificity. Desktop untouched. */
@media (max-width: 767.98px) {
  /* Reclaim edge + column chrome for card width */
  body#category #wrapper > .container,
  body#category .columns-container.container,
  body.page-category #wrapper > .container,
  body.page-category .columns-container.container {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  body#category #center-column,
  body#category #center-column.center-column,
  body.page-category #center-column,
  body.page-category #center-column.center-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* —— GRID (2-up): denser + larger —— */
  html[data-hl-cat-view="grid"] body#category #js-product-list .products.hl-view-grid,
  html[data-hl-cat-view="grid"] body#category #js-product-list .products,
  body#category #js-product-list .products.hl-view-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    column-gap: 8px !important;
    row-gap: 14px !important;
    gap: 14px 8px !important;
    --hl-pc-gap-x: 8px !important;
    --hl-pc-gap-y: 14px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature,
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc,
  body#category #js-product-list .products.hl-view-grid article.product-miniature,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
    --hl-pc-img-h: 168px;
    --hl-pc-pad: 6px;
    --hl-pc-action-h: 36px;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__inner,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    /* Sides + premium bottom air so CTA isn’t flush to card edge */
    padding: 8px 8px 10px !important;
    box-sizing: border-box !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__bottom,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__bottom {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__infos,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__infos {
    margin: 0 !important;
    padding: 0 !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__top,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__top {
    margin: 0 0 4px !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list .product-miniature__image-container,
  html[data-hl-cat-view="grid"] body#category #js-product-list .thumbnail-container,
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__image-container,
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .thumbnail-container,
  body#category #js-product-list .products.hl-view-grid .product-miniature__image-container,
  body#category #js-product-list .products.hl-view-grid .thumbnail-container {
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
    aspect-ratio: auto !important;
    padding: 2px !important;
    box-sizing: border-box !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 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 picture img {
    max-width: 98% !important;
    max-height: 164px !important;
    object-fit: contain !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__title,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important;
    height: 2.44em !important;
    min-height: 2.44em !important;
    max-height: 2.44em !important;
    margin: 0 0 6px !important;
    font-size: 0.8125rem !important;
    line-height: 1.22 !important;
  }

  /* Status is absolute (corner UUS) — don't reserve in-flow height */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-status,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-status {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
  }

  /* Buy row: shared price|cart band for sale AND non-sale */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-buy,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-list-buy {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 60px !important;
    grid-template-rows: 36px !important; /* non-sale: one band only — no empty air above */
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 3px !important;
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding: 10px 0 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }

  /* Sale: meta row (tavahind + −%) + price|cart band */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-buy:has(.product-miniature__regular-price),
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-list-buy:has(.product-miniature__regular-price) {
    grid-template-columns: auto auto minmax(0, 1fr) 60px !important;
    grid-template-rows: auto 36px !important;
  }

  /* Non-sale: whole prices block on the cart band */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__prices,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__prices {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: stretch !important;
    flex: unset !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    gap: 0 !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__regular-price,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__regular-price {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__price-row,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__price-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  /* Main price (black regular / red sale) — same band as cart */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__price,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__price {
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  /* Sale: explode prices into buy-grid cells */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price),
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) {
    display: contents !important;
    height: auto !important;
    min-height: 0 !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) .product-miniature__regular-price,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) .product-miniature__regular-price {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: end !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) .product-miniature__price-row,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) .product-miniature__price-row {
    display: contents !important;
    height: auto !important;
    min-height: 0 !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) .hl-pc-discount,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) .hl-pc-discount {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: end !important;
    margin: 0 0 0 4px !important;
    font-size: 10.5px !important;
    padding: 2px 5px !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) .product-miniature__price,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__prices:has(.product-miniature__regular-price) .product-miniature__price {
    grid-column: 1 / 4 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: center !important;
  }

  /* Actions: always on the price|cart band (last column, last row) */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__actions,
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__actions,
  body#category #js-product-list .products.hl-view-grid .product-miniature__actions,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: stretch !important;
    flex: unset !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 36px !important;
    width: 60px !important;
    max-width: 60px !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-buy:has(.product-miniature__regular-price) .product-miniature__actions,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-list-buy:has(.product-miniature__regular-price) .product-miniature__actions {
    grid-column: 4 !important;
    grid-row: 2 !important;
  }

  /* OOS: room for “Vaata” label button */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__actions:has(a.hl-pc-view),
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__actions:has(a.hl-pc-view) {
    width: auto !important;
    max-width: none !important;
  }

  /* Hide “Hetkel…” on mobile grid — button is the CTA */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-avail,
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-avail:has(.hl-pc-oos),
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-oos,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-avail,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-avail:has(.hl-pc-oos),
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-oos {
    display: none !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__form,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__form {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-list-qty,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-list-qty {
    display: none !important;
  }

  /* Cart: flat rounded rect, icon only */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .product-miniature__actions .btn.hl-pc-atc,
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-atc,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .product-miniature__actions .btn.hl-pc-atc,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-atc {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #fff !important;
    border: 1px solid #c4161c !important;
    box-shadow: 0 1px 4px rgba(180, 20, 28, .18) !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-atc .product-miniature__add-text,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-atc .product-miniature__add-text {
    display: none !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-atc .material-icons,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-atc .material-icons {
    display: block !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  /* OOS “Vaata” — outline pill, readable label (not empty red shell) */
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc a.hl-pc-view,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc a.hl-pc-view {
    width: auto !important;
    min-width: 58px !important;
    max-width: 72px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #d71920 !important;
    border: 1.5px solid #d71920 !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc a.hl-pc-view .hl-pc-view__arrow,
  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc a.hl-pc-view .product-miniature__add-text,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc a.hl-pc-view .hl-pc-view__arrow,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc a.hl-pc-view .product-miniature__add-text {
    display: none !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc a.hl-pc-view::before,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc a.hl-pc-view::before {
    content: "Vaata" !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    color: #d71920 !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-atc:hover,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-atc:hover {
    background: #b9151b !important;
    background-color: #b9151b !important;
    border-color: #b9151b !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(180, 20, 28, .26) !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc .hl-pc-atc:hover .material-icons,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc .hl-pc-atc:hover .material-icons {
    color: #fff !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc a.hl-pc-view:hover,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc a.hl-pc-view:hover {
    background: #d71920 !important;
    background-color: #d71920 !important;
    border-color: #d71920 !important;
    color: #fff !important;
  }

  html[data-hl-cat-view="grid"] body#category #js-product-list article.product-miniature.hl-pc a.hl-pc-view:hover::before,
  body#category #js-product-list .products.hl-view-grid article.product-miniature.hl-pc a.hl-pc-view:hover::before {
    color: #fff !important;
  }

  /* —— LIST (1-up): full bleed, less internal air —— */
  html[data-hl-cat-view="list"] body#category #js-product-list .products.hl-view-list,
  html[data-hl-cat-view="list"] body#category #js-product-list .products,
  body#category #js-product-list .products.hl-view-list {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    gap: 10px !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 {
    padding: 8px !important;
  }

  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 article.product-miniature.hl-pc .product-miniature__inner {
    padding: 0 0 10px !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 {
    padding: 4px 10px 0 !important;
  }
}

