/**
 * Listing pages (category, manufacturer, search…): header, sub-categories, top sellers, filters,
 * product grid, pagination, selection block, buying guide text, FAQ.
 * Product cards themselves: modules/kixcategorycustomize/views/css/mh-product-cards.css (mh-pcard).
 * Loaded last in <head> (stylesheets.tpl). Bump ?v= on every change (static files cached a year).
 */

:root {
  --mh-navy: #0c193a;
  --mh-orange: #e65021;
  --mh-orange-dark: #cf4419;
  --mh-line: #e8ebf0;
  --mh-text: #4b5568;
  --mh-muted: #8a93a3;
  --mh-soft: #f6f7fa;
}

/* ------------------------------------------------------------------ */
/* Breadcrumb + header                                                 */
/* ------------------------------------------------------------------ */
.page-prices-drop .breadcrumb,
.page-new-products .breadcrumb,
.page-best-sales .breadcrumb,
.page-search .breadcrumb,
.page-category .breadcrumb,
.page-manufacturer .breadcrumb {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  font-size: 13px;
  background: none !important;
}

.page-category .breadcrumb a,
.page-category .breadcrumb li,
.page-category .breadcrumb span,
.page-prices-drop .breadcrumb a,
.page-prices-drop .breadcrumb li,
.page-prices-drop .breadcrumb span,
.page-new-products .breadcrumb a,
.page-new-products .breadcrumb li,
.page-new-products .breadcrumb span,
.page-best-sales .breadcrumb a,
.page-best-sales .breadcrumb li,
.page-best-sales .breadcrumb span,
.page-search .breadcrumb a,
.page-search .breadcrumb li,
.page-search .breadcrumb span,
.page-manufacturer .breadcrumb a,
.page-manufacturer .breadcrumb li,
.page-manufacturer .breadcrumb span {
  color: var(--mh-muted) !important;
}

.page-category .breadcrumb a:hover,
.page-manufacturer .breadcrumb a:hover {
  color: var(--mh-orange) !important;
}

#_desktop_category_header {
  margin: 14px 0 28px;
  padding: 0;
}

#_desktop_category_header h1.h1,
#_desktop_category_header .h1 {
  max-width: 900px;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

#_desktop_category_header h1.h1::after,
#_desktop_category_header .h1::after {
  content: none !important;
  display: none !important;
}

#_desktop_category_header .category-intro {
  max-width: 860px;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: var(--mh-text) !important;
}

/* ------------------------------------------------------------------ */
/* Sub-categories: compact tiles                                       */
/* ------------------------------------------------------------------ */
.page-category .sub_cat {
  margin: 0 0 32px !important;
  padding: 0 !important;
}

.page-category .sub_cat .subcategories-modern {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-category .sub_cat .subcategory-card {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid var(--mh-line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-category .sub_cat .subcategory-card:hover {
  border-color: rgba(230, 80, 33, 0.45) !important;
  box-shadow: 0 8px 20px rgba(12, 25, 58, 0.07) !important;
}

.page-category .sub_cat .subcategory-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 64px;
  padding: 8px 14px 8px 8px !important;
  text-decoration: none !important;
}

.page-category .sub_cat .subcategory-image {
  flex: 0 0 auto;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  border-radius: 8px;
}

.page-category .sub_cat .subcategory-image picture,
.page-category .sub_cat .subcategory-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.page-category .sub_cat .subcategory-content {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.page-category .sub_cat .subcategory-name {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.page-category .sub_cat .subcategory-card:hover .subcategory-name {
  color: var(--mh-orange) !important;
}

.page-category .sub_cat .subcategory-card.no-image .subcategory-link {
  padding-left: 16px !important;
}

/* ------------------------------------------------------------------ */
/* Top sellers (products_promo.tpl)                                    */
/* ------------------------------------------------------------------ */
.mh-top {
  margin: 0 0 36px;
}

.mh-top .mh-top__title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mh-orange);
}

.mh-top .mh-pgrid {
  margin: 0;
  gap: 14px;
}

/* Compact horizontal cards: quick picks that do not push the listing down. */
.mh-top .mh-pcard {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    'media body'
    'media foot';
}

.mh-top .mh-pcard .mh-pcard__media {
  grid-area: media;
  height: 100%;
  min-height: 156px;
  padding: 30px 12px 12px;
  border-right: 1px solid #f0f2f5;
  border-bottom: 0;
}

.mh-top .mh-pcard__badge {
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  height: 20px;
  padding: 0 7px 0 6px;
  font-size: 10.5px;
  line-height: 20px;
}

.mh-top .mh-pcard__discount {
  top: auto;
  right: 8px;
  bottom: 8px;
  height: 20px;
  padding: 0 6px;
  font-size: 10.5px;
  line-height: 20px;
}

.mh-top .mh-pcard .mh-pcard__energy,
.mh-top .mh-pcard__reviews {
  display: none;
}

.mh-top .mh-pcard__body {
  grid-area: body;
  padding: 12px 14px 0;
}

.mh-top .mh-pcard__foot {
  grid-area: foot;
  padding: 8px 14px 12px;
}

.mh-top .mh-pcard__price {
  font-size: 18px;
}

.mh-top .mh-pcard .mh-pcard__btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

@media (max-width: 991.98px) and (min-width: 576px) {
  /* Three horizontal cards stacked: no orphan on a two-column grid. */
  .mh-top .mh-pgrid--3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 575.98px) {
  .mh-top .mh-pgrid--3 {
    grid-auto-columns: 88%;
  }

  .mh-top .mh-pcard {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .mh-top .mh-pcard .mh-pcard__media {
    min-height: 140px;
  }
}

/* Brand pages: intro paragraph in the header, rest of the text under the products */
.mh-brand-intro p {
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

.mh-brand-intro--clamp,
.mh-brand-intro--clamp p {
  display: -webkit-box !important;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.mh-brand-more {
  display: inline-flex;
  align-items: center;
  margin: 6px 0 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-orange);
  background: none;
  border: 0;
  cursor: pointer;
}

.mh-brand-more::after {
  content: '';
  width: 7px;
  height: 7px;
  margin: -3px 0 0 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.mh-brand-more:hover {
  color: var(--mh-orange-dark);
}

.mh-brand-desc {
  max-width: 860px;
  margin: 56px 0 24px;
  padding-top: 40px;
  border-top: 1px solid var(--mh-line);
}

.mh-brand-desc #category-description p + p {
  margin-top: 14px;
}

/* ------------------------------------------------------------------ */
/* List bar above the grid: product count (follows the filters) + sort */
/* ------------------------------------------------------------------ */
#js-product-list .mh-listbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}

#js-product-list .mh-listbar__count {
  margin: 0 !important;
  white-space: nowrap;
  font-size: 14px;
  color: var(--mh-text);
}

#js-product-list .mh-listbar__count strong {
  font-weight: 700;
  color: var(--mh-navy);
}

#js-product-list .mh-listbar__filter {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin: 0 0 0 auto;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--mh-navy);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.has-compact-filter #js-product-list .mh-listbar__filter {
  display: inline-flex;
}

/* The module's vertical side tab is replaced by the button above. */
.has-compact-filter #amazzing_filter .compact-toggle {
  display: none !important;
}

/* Compact filter panel (Amazzing Filter, phones): full-height sheet from the right */
#amazzing_filter .mh-af-close {
  display: none;
}

body.has-compact-filter #amazzing_filter {
  right: 0 !important;
  left: auto !important;
  width: min(100%, 420px) !important;
  padding: 0 !important;
}

body.has-compact-filter.show-filter #amazzing_filter {
  transform: none !important;
  box-shadow: -16px 0 40px rgba(12, 25, 58, 0.18) !important;
}

body.has-compact-filter #amazzing_filter .title_block {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  margin: 0 !important;
  padding: 0 10px 0 20px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
  background: #fff;
  border-bottom: 1px solid var(--mh-line);
}

body.has-compact-filter #amazzing_filter .mh-af-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--mh-navy);
  background: var(--mh-soft);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

body.has-compact-filter #amazzing_filter .block_content {
  height: calc(100% - 60px);
  max-height: calc(100% - 60px) !important;
}

body.has-compact-filter #amazzing_filter .btn-holder {
  right: 0 !important;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
  background: #fff !important;
  border-top: 1px solid var(--mh-line);
  box-shadow: 0 -8px 24px rgba(12, 25, 58, 0.06);
}

body.has-compact-filter #amazzing_filter .btn-holder .btn {
  width: 100%;
  height: 48px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  border-radius: 12px;
}

/* Sub-category expander in the category filter */
#amazzing_filter .af-toggle-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--mh-navy) !important;
  text-decoration: none !important;
  vertical-align: middle;
  background: var(--mh-soft);
  border-radius: 6px;
}

#js-product-list .mh-listbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mh-muted);
  cursor: pointer;
}

#js-product-list select.mh-sort {
  height: 40px;
  padding: 0 38px 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--mh-navy);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230c193a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--mh-line);
  border-radius: 10px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease;
}

#js-product-list select.mh-sort:hover,
#js-product-list select.mh-sort:focus {
  border-color: var(--mh-navy);
  outline: none;
}

@media (max-width: 575.98px) {
  #js-product-list .mh-listbar__sort > span {
    display: none;
  }

  #js-product-list .mh-listbar {
    gap: 8px;
  }

  #js-product-list .mh-listbar__count {
    font-size: 13px;
  }

  #js-product-list .mh-listbar__sort {
    flex: 0 1 auto;
    min-width: 0;
  }

  #js-product-list select.mh-sort {
    max-width: 136px;
    padding-right: 30px !important;
    background-position: right 10px center !important;
    text-overflow: ellipsis;
  }

  #js-product-list .mh-listbar__filter {
    height: 38px;
    padding: 0 12px;
    font-size: 13.5px;
  }

  #js-product-list select.mh-sort {
    height: 38px;
    font-size: 13.5px;
  }
}

/* ------------------------------------------------------------------ */
/* Filters (Amazzing Filter, horizontal layout)                        */
/* ------------------------------------------------------------------ */
.page-category #amazzing_filter.horizontal-layout,
.page-manufacturer #amazzing_filter.horizontal-layout {
  margin: 0 0 20px !important;
  padding: 12px 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mh-line) !important;
  box-shadow: none !important;
}

#amazzing_filter.horizontal-layout .af_filter {
  margin: 0 8px 8px 0 !important;
}

#amazzing_filter.horizontal-layout .af_subtitle_heading {
  display: flex !important;
  align-items: center;
  height: 40px;
  padding: 0 14px !important;
  background: #fff !important;
  border: 1px solid #dfe3ea !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

#amazzing_filter.horizontal-layout .af_subtitle_heading:hover,
#amazzing_filter.horizontal-layout .af_filter:not(.closed) .af_subtitle_heading {
  border-color: var(--mh-navy) !important;
}

#amazzing_filter.horizontal-layout .af_subtitle {
  margin: 0 !important;
  padding: 0 22px 0 0 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

#amazzing_filter.horizontal-layout .af_subtitle {
  position: relative;
  /* the module draws its own box around the label: the pill is the heading */
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Active filter: orange pill */
#amazzing_filter.horizontal-layout .has-selection .af_subtitle_heading {
  border-color: var(--mh-orange) !important;
  background: #fff6f2 !important;
}

#amazzing_filter.horizontal-layout .has-selection .af_subtitle {
  color: var(--mh-orange) !important;
}

/* "Tous les filtres": same pill as the filters */
#amazzing_filter.horizontal-layout #all_filters {
  display: inline-block;
  margin: 0 8px 8px 0;
}

#amazzing_filter.horizontal-layout #all_filters p.k_subtitle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin: 0 !important;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #fff !important;
  background: var(--mh-navy) !important;
  border: 1px solid var(--mh-navy) !important;
  border-radius: 10px !important;
  cursor: pointer;
}

#amazzing_filter.horizontal-layout #all_filters p.k_subtitle::before {
  content: '' !important;
  display: block !important;
  position: static !important;
  width: 14px;
  height: 12px;
  margin: 0 !important;
  border: 0 !important;
  background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 5px / 70% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 10px / 35% 2px no-repeat !important;
  transform: none !important;
}

#amazzing_filter.horizontal-layout #all_filters p.k_subtitle:hover {
  background: #1b2a52 !important;
}

/* Chevron drawn by the module: it had both left and right set and sat on the label. */
#amazzing_filter.horizontal-layout .af_subtitle::before {
  top: 50% !important;
  right: 2px !important;
  left: auto !important;
  margin: -6px 0 0 !important;
  border-color: #8a93a3 !important;
}

#amazzing_filter.horizontal-layout .af_filter_content {
  border: 1px solid var(--mh-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(12, 25, 58, 0.14) !important;
}

/* ------------------------------------------------------------------ */
/* Product grid                                                        */
/* ------------------------------------------------------------------ */
#js-product-list .products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 !important;
}

#js-product-list .products > .product-miniature {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Guide card inside the grid (article_1_listing.tpl) */
#js-product-list .mh-listing-guide {
  display: flex;
  border: 0 !important;
  background: none !important;
}

#js-product-list .mh-listing-guide .mh-guide__card {
  width: 100%;
}

#js-product-list .mh-listing-guide h3.mh-guide__name {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  color: #fff;
}

/* Pagination */
#js-product-list .u-a-i-c {
  margin: 36px 0 24px !important;
}

#js-product-list .u-a-i-c > .small {
  margin: 0 0 12px;
  font-size: 13px !important;
  color: var(--mh-muted) !important;
}

#js-product-list .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
}

#js-product-list .pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 0 !important;
  padding: 0 12px !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--mh-navy) !important;
  background: #fff !important;
  border: 1px solid #dfe3ea !important;
  border-radius: 10px !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

#js-product-list .pagination .page-item .page-link:hover {
  border-color: var(--mh-navy) !important;
}

#js-product-list .pagination .page-item.active .page-link {
  color: #fff !important;
  background: var(--mh-navy) !important;
  border-color: var(--mh-navy) !important;
}

#js-product-list .pagination .page-item.disabled .page-link {
  border-color: transparent !important;
  background: transparent !important;
}

/* ------------------------------------------------------------------ */
/* Selection block on category pages (products_selection.tpl)         */
/* ------------------------------------------------------------------ */
.page-category .fd-pushs-b.mh-selection {
  gap: 24px;
  margin: 24px 0 56px !important;
  padding: 40px !important;
  background: var(--mh-soft) !important;
  border-radius: 24px;
}

.page-category .fd-pushs-b.mh-selection .fd-b-l,
.page-category .fd-pushs-b.mh-selection .fd-b-r {
  width: auto !important;
  flex: 1 1 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.page-category div.fd-pushs-b.mh-selection h2.mh-title {
  margin: 0 0 20px !important;
  font-size: 24px;
}

.page-category .fd-pushs-b.mh-selection .mh-pgrid {
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Buying guide text (category description) + image                    */
/* ------------------------------------------------------------------ */
:is(.page-category, .page-manufacturer) #category-description {
  font-size: 16px;
  line-height: 1.75;
  color: #3d4656;
}

:is(.page-category, .page-manufacturer) #category-description h2 {
  margin: 40px 0 14px !important;
  padding: 0 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

:is(.page-category, .page-manufacturer) #category-description h2:first-child {
  margin-top: 0 !important;
}

:is(.page-category, .page-manufacturer) #category-description h3 {
  margin: 28px 0 10px !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

:is(.page-category, .page-manufacturer) #category-description h2::after,
:is(.page-category, .page-manufacturer) #category-description h3::after {
  content: none !important;
}

:is(.page-category, .page-manufacturer) #category-description p,
:is(.page-category, .page-manufacturer) #category-description li {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #3d4656 !important;
}

:is(.page-category, .page-manufacturer) #category-description a {
  font-weight: 600;
  color: var(--mh-navy) !important;
  text-decoration: underline;
  text-decoration-color: rgba(230, 80, 33, 0.5);
  text-underline-offset: 3px;
}

:is(.page-category, .page-manufacturer) #category-description a:hover {
  color: var(--mh-orange) !important;
}

:is(.page-category, .page-manufacturer) #category-description table {
  width: 100%;
  margin: 18px 0 24px !important;
  overflow: hidden;
  font-size: 14.5px;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--mh-line) !important;
  border-radius: 14px;
}

:is(.page-category, .page-manufacturer) #category-description th {
  padding: 12px 16px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  color: var(--mh-navy) !important;
  background: var(--mh-soft) !important;
  border: 0 !important;
}

:is(.page-category, .page-manufacturer) #category-description td {
  padding: 12px 16px !important;
  vertical-align: top;
  line-height: 1.55 !important;
  border: 0 !important;
  border-top: 1px solid var(--mh-line) !important;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */
.page-category section#faq {
  max-width: 900px;
  margin: 0 auto 64px !important;
  padding: 0 !important;
  background: none !important;
}

.page-category section#faq h2.tt {
  margin: 0 0 20px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.page-category section#faq h2.tt::after {
  content: none !important;
}

.page-category section#faq .faq-q {
  position: relative;
  margin: 0 !important;
  padding: 18px 48px 18px 20px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
  background: #fff !important;
  border: 1px solid var(--mh-line) !important;
  border-radius: 14px !important;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.page-category section#faq .faq-q + .faq-a + .faq-q,
.page-category section#faq .faq-q + .faq-q {
  margin-top: 10px !important;
}

.page-category section#faq .faq-q:hover {
  border-color: #cfd5df !important;
}

.page-category section#faq .faq-q span {
  position: absolute;
  top: 50%;
  right: 18px;
  display: flex;
  margin: 0 !important;
  transform: translateY(-50%);
}

.page-category section#faq .faq-q span svg {
  width: 14px;
  height: 14px;
}

.page-category section#faq .faq-q span svg path {
  fill: var(--mh-orange) !important;
}

.page-category section#faq .faq-a {
  margin: 0 !important;
  padding: 14px 20px 6px !important;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3d4656;
  background: none !important;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1199.98px) {
  #js-product-list .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 991.98px) {
  #_desktop_category_header h1.h1,
  #_desktop_category_header .h1 {
    font-size: 28px !important;
  }

  #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-category .fd-pushs-b.mh-selection {
    flex-direction: column;
    padding: 28px 20px !important;
  }
}

@media (max-width: 575.98px) {
  .page-category #wrapper > .container,
  .page-category #content-wrapper > .container,
  .page-category section#main.container,
  .page-prices-drop section#main.container,
  .page-new-products section#main.container,
  .page-best-sales section#main.container,
  .page-search section#main.container {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  #_desktop_category_header {
    margin: 8px 0 20px;
  }

  #_desktop_category_header h1.h1,
  #_desktop_category_header .h1 {
    font-size: 25px !important;
  }

  #_desktop_category_header .category-intro {
    font-size: 15px !important;
  }

  .page-category .sub_cat .subcategories-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  .page-category .sub_cat .subcategory-link {
    min-height: 56px;
    gap: 8px;
  }

  .page-category .sub_cat .subcategory-image {
    width: 40px !important;
    height: 40px !important;
  }

  .page-category .sub_cat .subcategory-name {
    font-size: 13px !important;
  }

  /* Two compact cards per row on phones */
  #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #js-product-list .mh-pcard .mh-pcard__media {
    height: 150px;
    padding: 30px 10px 10px;
  }

  #js-product-list .mh-pcard__body {
    padding: 10px 10px 0;
  }

  #js-product-list .mh-pcard__meta .mh-pcard__ref {
    display: none;
  }

  #js-product-list article.mh-pcard h3.mh-pcard__name {
    height: 54px;
    font-size: 13px;
    line-height: 18px;
    -webkit-line-clamp: 3;
  }

  #js-product-list .mh-pcard__delivery {
    font-size: 11px;
  }

  #js-product-list .mh-pcard__foot {
    padding: 8px 10px 10px;
  }

  /* Tax label under the price: "excl. btw" no longer gets cut on narrow cards */
  #js-product-list .mh-pcard__prices {
    grid-template-rows: 13px 34px;
  }

  #js-product-list .mh-pcard__old {
    font-size: 11px;
    line-height: 13px;
  }

  #js-product-list .mh-pcard__price {
    font-size: 16px;
    line-height: 20px;
  }

  #js-product-list .mh-pcard__price small {
    display: block;
    margin: 0;
    font-size: 10.5px;
    line-height: 14px;
  }

  #js-product-list .mh-pcard .mh-pcard__btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  #js-product-list .mh-pcard .mh-pcard__btn svg {
    width: 17px;
    height: 17px;
  }

  #js-product-list .mh-pcard__badge,
  #js-product-list .mh-pcard__discount,
  #js-product-list .mh-pcard__flag {
    height: 20px;
    padding: 0 6px;
    font-size: 10px;
    line-height: 20px;
  }

  #js-product-list .mh-pcard__flags {
    top: 8px;
    left: 8px;
  }

  #js-product-list .mh-pcard__discount {
    top: 8px;
    right: 8px;
  }

  /* The guide spans the row: keep it after the 4th product so no row is left half empty. */
  #js-product-list .products > * {
    order: 2;
  }

  #js-product-list .products > :nth-child(-n + 5):not(.mh-listing-guide) {
    order: 0;
  }

  #js-product-list .mh-listing-guide {
    order: 1;
    grid-column: 1 / -1;
  }

  :is(.page-category, .page-manufacturer) #category-description h2 {
    font-size: 22px !important;
  }

  .page-category section#faq h2.tt {
    font-size: 23px !important;
  }
}

/* ------------------------------------------------------------------ */
/* Brands list (catalog/brands.tpl)                                    */
/* ------------------------------------------------------------------ */
.mh-brands {
  padding-bottom: 56px;
}

.mh-brands__head {
  margin: 14px 0 28px;
}

.mh-brands .mh-brands__title {
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-brands .mh-brands__title::after {
  content: none !important;
  display: none !important;
}

.mh-brands__intro {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mh-text);
}

.mh-brands .mh-brands__h2 {
  margin: 0 0 14px !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-brands__featured {
  margin: 0 0 32px;
}

.mh-brands__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mh-brands__grid > li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.mh-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 14px 10px 12px;
  text-align: center;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mh-brand:hover {
  border-color: #d5dae3;
  box-shadow: 0 10px 24px rgba(12, 25, 58, 0.08);
  transform: translateY(-2px);
}

/* Logos are padded squares (medium_default): a 2:1 window crops the blank top and bottom. */
.mh-brand__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 2 / 1;
  margin-bottom: 4px;
  overflow: hidden;
}

.mh-brand__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.mh-brand__mono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--mh-navy);
  background: var(--mh-soft);
  border-radius: 12px;
}

.mh-brand__name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mh-navy);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.mh-brand__count {
  font-size: 12.5px;
  color: var(--mh-muted);
}

/* A-Z index */
.mh-brands__az {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px;
  padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid var(--mh-line);
}

.mh-brands__az a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-navy);
  text-decoration: none !important;
  background: var(--mh-soft);
  border-radius: 10px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mh-brands__az a:hover {
  color: #fff;
  background: var(--mh-navy);
}

.mh-brands__letter {
  margin: 0 0 28px;
  scroll-margin-top: 80px;
}

.mh-brands .mh-brands__letter-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--mh-orange) !important;
}

.mh-brands .mh-brands__letter-h::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--mh-line);
}

@media (max-width: 1199.98px) {
  .mh-brands__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .mh-brands__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mh-brands .mh-brands__title {
    font-size: 28px !important;
  }

  /* below the pinned search row of the mobile header */
  .mh-brands__az {
    position: sticky;
    top: 60px;
    z-index: 5;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -16px;
    margin-left: -16px;
    padding: 8px 16px;
    scrollbar-width: none;
  }

  .mh-brands__az::-webkit-scrollbar {
    display: none;
  }

  .mh-brands__az a {
    flex: 0 0 auto;
  }

  .mh-brands__letter {
    scroll-margin-top: 120px;
  }
}

@media (max-width: 575.98px) {
  .page-manufacturer section#main.container.mh-brands {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .mh-brands__head {
    margin: 8px 0 20px;
  }

  .mh-brands .mh-brands__title {
    font-size: 25px !important;
  }

  .mh-brands__intro {
    font-size: 15px;
  }

  .mh-brands__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mh-brand {
    padding: 10px 6px;
    border-radius: 12px;
  }

  .mh-brand__mono {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .mh-brand__name {
    font-size: 12.5px;
  }

  .mh-brand__count {
    font-size: 11.5px;
  }

}

/* ================================================================== */
/* Category page v2 (2026-10): hero, sub-categories, guide, neighbours */
/* ================================================================== */

/* Hero */
#_desktop_category_header.mh-cathero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 14px 0 26px;
  padding: 30px 34px;
  background: linear-gradient(135deg, #f4f6fa 0%, #fbfcfd 60%, #fff4ef 100%);
  border: 1px solid var(--mh-line);
  border-radius: 24px;
}

#_desktop_category_header.mh-cathero--img {
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
}

#_desktop_category_header.mh-cathero h1.h1 {
  margin: 0 0 12px !important;
  font-size: 38px !important;
}

.mh-cathero__page {
  font-weight: 600;
  color: var(--mh-muted);
}

#_desktop_category_header.mh-cathero .category-intro {
  max-width: 720px;
  margin: 0 0 18px !important;
}

.mh-cathero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mh-cathero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  margin: 0;
  padding: 0 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mh-navy);
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 999px;
}

.mh-cathero__facts li strong {
  font-weight: 800;
  color: var(--mh-orange);
}

.mh-cathero__facts svg {
  flex: 0 0 auto;
  color: var(--mh-orange);
}

.mh-cathero__media {
  overflow: hidden;
  aspect-ratio: 500 / 280;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(12, 25, 58, 0.12);
}

.mh-cathero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sub-categories */
.mh-subcats {
  margin: 0 0 34px;
}

.page-category .mh-subcats .mh-subcats__h,
.mh-catrel .mh-catrel__h {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-subcats__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mh-subcats__list > li {
  min-width: 0;
  margin: 0;
}

.mh-subcat {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 12px 10px 14px;
  text-align: center;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mh-subcat:hover {
  border-color: #d5dae3;
  box-shadow: 0 12px 28px rgba(12, 25, 58, 0.09);
  transform: translateY(-2px);
}

.mh-subcat__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 120px;
  margin: 0 0 10px;
  overflow: hidden;
  background: var(--mh-soft);
  border-radius: 12px;
}

.mh-subcat__img picture,
.mh-subcat__img img {
  display: block;
  width: 100%;
  height: 100%;
}

.mh-subcat__img img {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.mh-subcat__mono {
  font-size: 22px;
  font-weight: 800;
  color: var(--mh-navy);
  opacity: 0.6;
}

.mh-subcat__name {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mh-navy);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mh-subcat__count {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--mh-muted);
}

.mh-subcat:hover .mh-subcat__name {
  color: var(--mh-orange);
}

/* Guide text (category description) */
.mh-catseo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin: 56px 0 0;
  padding: 40px 44px;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 24px;
}

.mh-catseo--video {
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: start;
}

.mh-catseo__body {
  position: relative;
  max-height: 380px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mh-text);
}

.mh-catseo__body::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 110px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.mh-catseo__body.is-open {
  max-height: none;
}

.mh-catseo__body.is-open::after {
  content: none;
}

.mh-catseo__body h2 {
  margin: 0 0 14px !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-catseo__body h3 {
  margin: 26px 0 10px !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-catseo__body p {
  margin: 0 0 14px !important;
  text-align: left !important;
}

.mh-catseo__body strong,
.mh-catseo__body b {
  font-weight: 700;
  color: var(--mh-navy);
}

.mh-catseo__body a {
  font-weight: 600;
  color: var(--mh-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mh-catseo__body ul,
.mh-catseo__body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.mh-catseo__body li {
  margin: 0 0 6px;
}

.mh-catseo__body li::marker {
  color: var(--mh-orange);
}

.mh-catseo__body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.mh-catseo__body table {
  width: 100%;
  margin: 0 0 18px;
  font-size: 14.5px;
  border-collapse: collapse;
}

.mh-catseo__body th,
.mh-catseo__body td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--mh-line);
}

.mh-catseo__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--mh-orange);
  background: none;
  border: 0;
  cursor: pointer;
}

.mh-catseo__more[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.mh-catseo__media iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
}

/* FAQ + extra info spacing */
.mh-catfaq:empty {
  display: none;
}

/* FAQ (kixfaqld): aligned with the guide card instead of a centred narrow column */
.mh-catfaq > section {
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.mh-catfaq,
.mh-catmore {
  margin-top: 32px;
}

/* Neighbouring categories */
.mh-catrel {
  margin: 40px 0 56px;
}

.mh-catrel__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mh-catrel__list li {
  margin: 0;
}

.mh-catrel__list a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mh-navy);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.mh-catrel__list a:hover {
  color: var(--mh-orange);
  border-color: var(--mh-orange);
}

@media (max-width: 1199.98px) {
  #_desktop_category_header.mh-cathero--img {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  }
}

@media (max-width: 991.98px) {
  #_desktop_category_header.mh-cathero,
  #_desktop_category_header.mh-cathero--img {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .mh-cathero__media {
    display: none;
  }

  #_desktop_category_header.mh-cathero h1.h1 {
    font-size: 28px !important;
  }

  .mh-catseo,
  .mh-catseo--video {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 24px;
  }
}

@media (max-width: 575.98px) {
  #_desktop_category_header.mh-cathero {
    margin: 6px 0 20px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }

  #_desktop_category_header.mh-cathero h1.h1 {
    margin-bottom: 8px !important;
    font-size: 25px !important;
  }

  .mh-cathero__facts {
    flex-wrap: nowrap;
    margin: 14px -16px 0;
    padding: 0 16px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mh-cathero__facts::-webkit-scrollbar,
  .mh-subcats__list::-webkit-scrollbar {
    display: none;
  }

  .mh-cathero__facts li {
    flex: 0 0 auto;
    height: 32px;
    font-size: 13px;
    background: var(--mh-soft);
    border-color: transparent;
  }

  .mh-subcats {
    margin-bottom: 26px;
  }

  .page-category .mh-subcats .mh-subcats__h,
  .mh-catrel .mh-catrel__h {
    font-size: 18px !important;
  }

  /* one swipeable row: products stay close to the top */
  .mh-subcats__list {
    display: flex;
    gap: 10px;
    margin: 0 -16px;
    padding: 2px 16px 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .mh-subcats__list > li {
    flex: 0 0 116px;
    scroll-snap-align: start;
  }

  .mh-subcat {
    padding: 8px 8px 10px;
    border-radius: 14px;
  }

  .mh-subcat__img {
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .mh-subcat__name {
    font-size: 13px;
  }

  .mh-subcat__count {
    font-size: 11.5px;
  }

  .mh-catseo,
  .mh-catseo--video {
    margin-top: 40px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .mh-catseo__body {
    max-height: 320px;
    font-size: 15.5px;
  }

  .mh-catseo__body h2 {
    font-size: 22px !important;
  }
}

/* ================================================================== */
/* Search results page (catalog/listing/search.tpl + js/mh-search.js)  */
/* ================================================================== */
.mh-srp {
  padding-bottom: 64px;
}

.mh-srp__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 18px 0 18px;
}

.mh-srp .mh-srp__title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-srp .mh-srp__title::after {
  content: none !important;
}

.mh-srp__q {
  color: var(--mh-orange);
}

.mh-srp__count {
  margin: 0 !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--mh-muted);
}

/* Matching categories */
.mh-srp__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.mh-srp__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-navy) !important;
  text-decoration: none !important;
  background: var(--mh-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mh-srp__cat small {
  font-size: 12px;
  font-weight: 600;
  color: var(--mh-muted);
}

.mh-srp__cat:hover {
  background: #fff;
  border-color: var(--mh-navy);
}

/* Filters */
.mh-srp__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--mh-line);
}

.mh-srp__bar[hidden] {
  display: none;
}

.mh-srp__select {
  margin: 0;
}

.mh-srp__select select {
  height: 42px;
  max-width: 280px;
  padding: 0 38px 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--mh-navy);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230c193a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
}

.mh-srp__select select:focus {
  border-color: var(--mh-navy);
  outline: none;
}

.mh-srp__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  margin: 0;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mh-navy);
  background: #fff;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  cursor: pointer;
}

.mh-srp__toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--mh-navy);
}

.mh-srp__reset {
  height: 42px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-orange);
  background: none;
  border: 0;
  cursor: pointer;
}

/* Grid (same columns as the category grid) */
.mh-srp__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mh-srp__grid[hidden] {
  display: none;
}

.mh-srp__grid > article.mh-pcard {
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mh-srp.is-loading .mh-srp__grid > article {
  opacity: 0.45;
  transition: opacity 0.15s ease;
}

.mh-srp__skel {
  height: 420px;
  background: linear-gradient(100deg, #f3f5f8 30%, #fafbfc 50%, #f3f5f8 70%) 0 0 / 300% 100%;
  border-radius: 16px;
  animation: mh-srp-shimmer 1.4s linear infinite;
}

@keyframes mh-srp-shimmer {
  to {
    background-position: -150% 0;
  }
}

/* Empty state */
.mh-srp__empty {
  max-width: 560px;
  margin: 24px auto;
  padding: 36px 28px;
  text-align: center;
  background: var(--mh-soft);
  border-radius: 20px;
}

.mh-srp__empty p {
  margin: 0 0 8px !important;
  font-size: 15px;
  color: var(--mh-text);
}

.mh-srp__empty .mh-srp__empty-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--mh-navy);
}

.mh-srp__empty a {
  font-weight: 700;
  color: var(--mh-orange);
}

/* Pagination */
.mh-srp__pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 36px 0 0;
}

.mh-srp__pager[hidden] {
  display: none;
}

.mh-srp__pg {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--mh-navy);
  background: #fff;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  cursor: pointer;
}

.mh-srp__pg:hover {
  border-color: var(--mh-navy);
}

.mh-srp__pg.is-current {
  color: #fff;
  background: var(--mh-navy);
  border-color: var(--mh-navy);
}

.mh-srp__pg--nav {
  font-size: 20px;
  line-height: 1;
}

.mh-srp__pg-gap {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: var(--mh-muted);
}

@media (max-width: 1199.98px) {
  .mh-srp__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 991.98px) {
  .mh-srp__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mh-srp .mh-srp__title {
    font-size: 26px !important;
  }
}

@media (max-width: 575.98px) {
  .page-search section#main.container.mh-srp {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .mh-srp__head {
    margin: 10px 0 14px;
  }

  .mh-srp .mh-srp__title {
    font-size: 23px !important;
  }

  .mh-srp__cats {
    flex-wrap: nowrap;
    margin: 0 -16px 16px;
    padding: 0 16px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mh-srp__cats::-webkit-scrollbar {
    display: none;
  }

  .mh-srp__cat {
    flex: 0 0 auto;
    height: 36px;
    font-size: 13.5px;
  }

  .mh-srp__bar {
    gap: 8px;
  }

  .mh-srp__select {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .mh-srp__select select {
    width: 100%;
    max-width: none;
    font-size: 13.5px;
  }

  .mh-srp__grid {
    gap: 10px;
  }

  .mh-srp__skel {
    height: 340px;
  }
}

/* Wide screens: 5 products per row (categories, brands, promotions, search) */
@media (min-width: 1300px) {
  #js-product-list .products,
  .mh-srp__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ------------------------------------------------------------------ */
/* Horizontal filters: whole pill clickable, roomy dropdowns           */
/* ------------------------------------------------------------------ */
#amazzing_filter.horizontal-layout .af_filter {
  position: relative;
}

/* The module listens on the label (.af_subtitle): it now fills the pill */
#amazzing_filter.horizontal-layout .af_subtitle_heading {
  padding: 0 !important;
}

#amazzing_filter.horizontal-layout .af_subtitle {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  align-self: stretch;
  padding: 0 36px 0 14px !important;
  white-space: nowrap;
  cursor: pointer;
}

#amazzing_filter.horizontal-layout .af_subtitle::before {
  right: 14px !important;
}

#amazzing_filter.horizontal-layout .af_filter_content {
  top: calc(100% + 6px) !important;
  right: auto !important;
  left: 0 !important;
  width: max-content !important;
  min-width: 280px !important;
  max-width: 360px !important;
  max-height: 400px !important;
  margin: 0 !important;
  padding: 8px !important;
  background: #fff !important;
  border-top-width: 1px !important;
  border-radius: 14px !important;
}

/* dropdowns that would leave the screen open towards the left (class set in product-list.tpl) */
#amazzing_filter.horizontal-layout .af_filter_content.mh-af-right {
  right: 0 !important;
  left: auto !important;
}

#amazzing_filter.horizontal-layout .af_filter_content ul {
  margin: 0 !important;
  padding: 0 !important;
}

#amazzing_filter.horizontal-layout .af_filter_content li {
  margin: 0 !important;
  padding: 0 !important;
}

#amazzing_filter.horizontal-layout .af_filter_content label.af-checkbox-label,
#amazzing_filter.horizontal-layout .af_filter_content label.af-radio-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 9px 10px !important;
  font-size: 14.5px !important;
  font-weight: 500;
  line-height: 1.3;
  color: var(--mh-navy) !important;
  border-radius: 8px;
  cursor: pointer;
}

#amazzing_filter.horizontal-layout .af_filter_content label:hover {
  background: var(--mh-soft);
}

#amazzing_filter.horizontal-layout .af_filter_content label input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  accent-color: var(--mh-navy);
}

#amazzing_filter.horizontal-layout .af_filter_content label .name {
  flex: 1 1 auto;
}

#amazzing_filter.horizontal-layout .af_filter_content label .count {
  flex: 0 0 auto;
  min-width: 26px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--mh-muted);
  background: var(--mh-soft);
  border-radius: 999px;
}

#amazzing_filter.horizontal-layout .af_filter_content select.af-select {
  width: 100%;
  min-width: 260px;
  height: 44px;
  padding: 0 12px;
  font-size: 14.5px;
  color: var(--mh-navy);
  border: 1px solid #dfe3ea;
  border-radius: 10px;
}

#amazzing_filter.horizontal-layout .has-slider .af_filter_content {
  min-width: 320px !important;
  padding: 16px 18px 12px !important;
}

/* ================================================================== */
/* Iris « aide au choix » sous l'intro de la catégorie (2026-10-13)    */
/* catalog/_partials/mh-iris-cat.tpl, branché par conseil-loader.js    */
/* ================================================================== */
.mh-iris {
  position: relative;
  max-width: 720px;
  margin: 0;
  padding: 16px 18px 14px;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(12, 25, 58, 0.07);
}

.mh-iris[hidden] {
  display: none;
}

/* liseré orange en haut à gauche */
.mh-iris::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  width: 64px;
  height: 3px;
  background: var(--mh-orange);
  border-radius: 0 0 3px 3px;
}

.mh-iris__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mh-iris__av {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: var(--mh-orange);
  border-radius: 50%;
}

.mh-iris__av img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.mh-iris__av i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2.5px #fff;
}

.mh-iris__t {
  margin: 0 !important;
  font-size: 16.5px !important;
  font-weight: 800;
  line-height: 1.25;
  color: var(--mh-navy);
}

.mh-iris__s {
  margin: 3px 0 0 !important;
  font-size: 13.5px !important;
  line-height: 1.45;
  color: var(--mh-text);
}

.mh-iris__s b {
  color: var(--mh-navy);
}

.mh-iris__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  white-space: nowrap;
}

.mh-iris__live .mh-online {
  width: 7px;
  height: 7px;
  box-shadow: none;
}

.mh-iris__form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px;
  background: #f4f6fa;
  border: 1.5px solid transparent;
  border-radius: 14px;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.mh-iris__form:hover {
  border-color: #d9dee7;
}

.mh-iris__form:focus-within {
  background: #fff;
  border-color: var(--mh-orange);
  box-shadow: 0 0 0 4px rgba(230, 80, 33, 0.12);
}

.mh-iris__form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0 10px 0 12px;
  font-size: 15px;
  color: var(--mh-navy);
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
}

.mh-iris__form input::placeholder {
  color: #8a93a3;
  opacity: 1;
}

.mh-iris__form button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  height: 42px;
  margin: 0;
  padding: 0 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  background: var(--mh-orange);
  border: 0;
  border-radius: 10px;
  transition: background-color 0.15s;
}

.mh-iris__form button:hover,
.mh-iris__form button:focus-visible {
  background: var(--mh-orange-dark);
}

.mh-iris__form button svg {
  transition: transform 0.15s;
}

.mh-iris__form button:hover svg {
  transform: translateX(2px);
}

.mh-iris__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mh-iris__chips button {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin: 0;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mh-navy);
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 999px;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.mh-iris__chips button:hover,
.mh-iris__chips button:focus-visible {
  color: var(--mh-orange-dark);
  background: #fff4ef;
  border-color: rgba(230, 80, 33, 0.45);
  outline: 0;
}

.mh-iris__foot {
  margin: 10px 0 0 !important;
  font-size: 12px !important;
  color: #8a93a3;
}

@media (max-width: 575.98px) {
  .mh-iris {
    padding: 14px 14px 12px;
    border-radius: 16px;
  }

  .mh-iris__head {
    align-items: flex-start;
  }

  .mh-iris__t {
    font-size: 15.5px !important;
  }

  .mh-iris__form button {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .mh-iris__lbl {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .mh-iris__form input {
    font-size: 16px; /* pas de zoom iOS au focus */
  }

  .mh-iris__chips {
    flex-wrap: nowrap;
    margin: 10px -14px 0;
    padding: 0 14px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mh-iris__chips::-webkit-scrollbar {
    display: none;
  }

  .mh-iris__chips button {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-iris__form,
  .mh-iris__form button,
  .mh-iris__form button svg,
  .mh-iris__chips button {
    transition: none;
  }
}

/* En-tête de catégorie : image + bouton « source préférée sur Google » dessous (2026-10-21) */
.mh-cathero__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mh-cathero__side .mh-cathero__media {
  width: 100%;
}

.mh-gsource--cat .mh-gsource__btn {
  font-size: 13.5px;
}

.mh-cathero__text .mh-gsource--cat {
  margin-top: 16px;
}

@media (max-width: 991.98px) {
  .mh-cathero__side {
    align-items: flex-start;
  }
}
