/* ============================================================
   MA LITERIE FRANÇAISE — Category page overlay
   Restyles the PrestaShop Warehouse 4.8.1 category page to
   match the editorial maquette (matelas.html).
   Scope: everything under body.page-category only.
   ============================================================ */

body.page-category {
  /* Brand tokens (local so they never leak elsewhere) */
  --mlf-navy:      #212f37;
  --mlf-navy-800:  #1a242b;
  --mlf-navy-700:  #2b3a44;
  --mlf-red:       #e51a26;
  --mlf-red-700:   #c0141f;
  --mlf-blue:      #3065af;
  --mlf-cream:     #ffffff;
  --mlf-cream-2:   #ffffff;
  --mlf-paper:     #ffffff;
  --mlf-ink:       #1a1f24;
  --mlf-ink-soft:  #3a4049;
  --mlf-muted:     #7c8088;
  --mlf-line:      #e9e5dc;
  --mlf-line-2:    #e3dfd5;
  --mlf-grey-50:   #f5f5f5;

  --mlf-ff-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mlf-ff-display: 'Fraunces', 'Inter', serif;

  --mlf-rad:    14px;
  --mlf-rad-lg: 22px;

  --mlf-shadow-md: 0 6px 18px rgba(20,25,30,.08), 0 24px 48px rgba(20,25,30,.06);
  --mlf-ease: cubic-bezier(.2,.7,.2,1);

  --mlf-container: min(1320px, 100% - 56px);

  background: var(--mlf-cream);
  color: var(--mlf-ink);
}

/* ============================================================
   0. RESET BOOTSTRAP CHROME FOR THE CATEGORY MAIN AREA
   ============================================================ */
body.page-category #wrapper {
  background: var(--mlf-cream);
  padding: 0;
}
body.page-category #wrapper > .container,
body.page-category #wrapper > .container-fluid {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
body.page-category #main,
body.page-category #content-wrapper {
  padding: 0;
}

/* Hide the stock breadcrumb — we render our own in the hero */
body.page-category #wrapper > .breadcrumb,
body.page-category #wrapper .breadcrumb.hidden-sm-down,
body.page-category nav.breadcrumb {
  display: none !important;
}

/* ============================================================
   1. HERO — reuse PrestaShop category image + header
   Target: #js-product-list-header (contains h1.page-title)
   The .category-image rendered by category.tpl becomes the bg.
   ============================================================ */
body.page-category #js-product-list-header {
  position: relative;
  min-height: 62vh;
  margin: 0 0 0 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--mlf-navy);
  padding: 32px 28px 52px;
  isolation: isolate;
}

/* If warehouse outputs .category-image as a sibling, pull it into the hero */
body.page-category .category-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0 !important;
  max-width: none !important;
  border-radius: 0 !important;
}
body.page-category .category-image picture,
body.page-category .category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: 0 !important;
}
body.page-category .category-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 30%,
    rgba(33,47,55,.35) 65%,
    rgba(33,47,55,.60) 100%
  );
  pointer-events: none;
}

body.page-category #js-product-list-header .page-title,
body.page-category #js-product-list-header h1 {
  position: relative;
  z-index: 2;
  max-width: var(--mlf-container);
  width: 100%;
  margin: 0 auto;
  font-family: var(--mlf-ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 12vw, 180px);
  line-height: .9;
  letter-spacing: -.02em;
  color: #fff;
  text-align: left;
  padding-bottom: 8px;
}
body.page-category #js-product-list-header .page-title span {
  display: block;
}

/* Render description (if .category-description-top) as editorial subtitle */
body.page-category .category-description-top {
  position: relative;
  z-index: 2;
  max-width: var(--mlf-container);
  margin: -28px auto 0;
  padding: 0 28px 40px;
  font-family: var(--mlf-ff-display);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  color: rgba(255,255,255,.88);
  line-height: 1.3;
  background: var(--mlf-navy);
}
body.page-category .category-description-top .rte-content {
  max-width: 720px;
}

/* Non-hero description (below products) → editorial block on cream */
body.page-category .category-description-bottom {
  max-width: var(--mlf-container);
  margin: 0 auto;
  padding: 60px 28px;
  font-family: var(--mlf-ff-display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--mlf-ink-soft);
}
body.page-category .category-description-bottom hr {
  border: 0;
  border-top: 1px solid var(--mlf-line);
  margin-bottom: 40px;
}

/* ============================================================
   2. FILTER / SORT BAR (products-top)
   Target: #js-product-list-top.products-selection
   ============================================================ */
body.page-category #js-product-list-top.products-selection {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--mlf-cream);
  border-bottom: 1px solid var(--mlf-line);
  margin: 0;
  padding: 0;
}
body.page-category #js-product-list-top.products-selection > .row {
  max-width: var(--mlf-container);
  margin: 0 auto;
  padding: 0 28px;
  min-height: 56px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

/* Filter toggler button → pill */
body.page-category #js-product-list-top .facated-toggler .btn,
body.page-category #search_center_filter_toggler,
body.page-category #search_filter_toggler {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--mlf-navy);
  border-radius: 999px;
  font-family: var(--mlf-ff-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--mlf-navy);
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color .25s var(--mlf-ease), color .25s var(--mlf-ease), background .25s var(--mlf-ease);
}
body.page-category #js-product-list-top .facated-toggler .btn:hover,
body.page-category #search_center_filter_toggler:hover,
body.page-category #search_filter_toggler:hover {
  border-color: var(--mlf-red);
  color: var(--mlf-red);
  background: transparent;
}
body.page-category #js-product-list-top .facated-toggler .btn i,
body.page-category #js-product-list-top .facated-toggler .btn .fa {
  font-size: 12px;
}

/* View switcher (grid/list) */
body.page-category #js-product-list-top .view-switcher {
  display: inline-flex;
  gap: 4px;
  flex: 0 0 auto;
}
body.page-category #js-product-list-top .view-switcher a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--mlf-muted);
  background: transparent;
  transition: background .2s, color .2s;
}
body.page-category #js-product-list-top .view-switcher a.current,
body.page-category #js-product-list-top .view-switcher a:hover {
  background: var(--mlf-navy);
  color: #fff;
}

/* Count label ("Showing 1-12 of 23…") */
body.page-category #js-product-list-top .showing {
  font-family: var(--mlf-ff-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mlf-muted);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

/* Sort-orders dropdown */
body.page-category #js-product-list-top .products-sort-order,
body.page-category #js-product-list-top .sort-by-row,
body.page-category #js-product-list-top .dropdown {
  font-family: var(--mlf-ff-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--mlf-navy);
}
body.page-category #js-product-list-top .dropdown-toggle {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--mlf-line-2);
  background: transparent;
  color: var(--mlf-navy);
}
body.page-category #js-product-list-top .dropdown-toggle:hover {
  border-color: var(--mlf-navy);
}

/* Active filters chips */
body.page-category .active-filter-title,
body.page-category .js-active-filters {
  max-width: var(--mlf-container);
  margin: 12px auto 0;
  padding: 0 28px;
}
body.page-category .filter-block {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(33,47,55,.22);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mlf-navy);
  background: var(--mlf-paper);
  margin: 0 6px 6px 0;
}
body.page-category .filter-block .close {
  color: var(--mlf-red);
  opacity: 1;
  font-size: 14px;
  line-height: 1;
}

/* ============================================================
   3. PRODUCT GRID
   Target: #js-product-list .products.row
   ============================================================ */
body.page-category #js-product-list {
  max-width: var(--mlf-container);
  margin: 0 auto;
  padding: 60px 28px 80px;
}

body.page-category #js-product-list .products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px 24px !important;
  margin: 0 !important;
}

/* Neutralise bootstrap col widths on miniature wrappers inside our grid */
body.page-category #js-product-list .products .js-product-miniature-wrapper {
  flex: initial !important;
  max-width: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.page-category #js-product-list .products .js-product-miniature-wrapper[class*="col-"] {
  flex: initial !important;
  max-width: none !important;
  width: auto !important;
}

/* Card — extends .product-miniature */
body.page-category .product-miniature {
  display: flex;
  flex-direction: column;
  background: var(--mlf-paper);
  border: 0;
  border-radius: var(--mlf-rad-lg);
  overflow: hidden;
  padding: 0;
  margin: 0;
  transition: transform .4s var(--mlf-ease), box-shadow .4s var(--mlf-ease);
}
body.page-category .product-miniature:hover {
  transform: translateY(-4px);
  box-shadow: var(--mlf-shadow-md);
}

/* Card media / thumbnail */
body.page-category .product-miniature .thumbnail-container,
body.page-category .product-miniature .product-thumbnail,
body.page-category .product-miniature .product-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mlf-cream-2);
  border-radius: 0;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}
body.page-category .product-miniature .thumbnail-container img,
body.page-category .product-miniature .product-thumbnail img,
body.page-category .product-miniature .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--mlf-ease);
}
body.page-category .product-miniature:hover .thumbnail-container img,
body.page-category .product-miniature:hover .product-thumbnail img,
body.page-category .product-miniature:hover .product-image img {
  transform: scale(1.05);
}

/* Flags / badges top-left (Nouveau, Promo, etc.) */
body.page-category .product-miniature .product-flags,
body.page-category .product-miniature .product-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--mlf-ff-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--mlf-blue);
  line-height: 1.4;
  box-shadow: none;
  margin: 0;
}
body.page-category .product-miniature .product-flag.new {
  background: var(--mlf-navy);
}
body.page-category .product-miniature .product-flag.discount,
body.page-category .product-miniature .product-flag.on-sale,
body.page-category .product-miniature .product-flag.discount-percentage,
body.page-category .product-miniature .product-flag.discount-amount {
  background: var(--mlf-red);
}
body.page-category .product-miniature .product-flag + .product-flag {
  top: 44px;
  left: 14px;
}

/* Hide warehouse's hover quick-action buttons for cleaner look */
body.page-category .product-miniature .highlighted-informations,
body.page-category .product-miniature .product-functional-buttons,
body.page-category .product-miniature .quick-view,
body.page-category .product-miniature .product-add-cart {
  display: none !important;
}

/* Card body */
body.page-category .product-miniature .product-description {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  background: var(--mlf-paper);
  border: 0;
  text-align: left;
  min-height: auto;
}

/* Category name (eyebrow) */
body.page-category .product-miniature .product-category-name {
  font-family: var(--mlf-ff-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mlf-muted) !important;
  margin: 0;
  order: 1;
}

/* Product title */
body.page-category .product-miniature .product-title {
  font-family: var(--mlf-ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--mlf-navy);
  margin: 0;
  order: 2;
}
body.page-category .product-miniature .product-title a {
  color: var(--mlf-navy);
  transition: color .2s;
}
body.page-category .product-miniature .product-title a:hover {
  color: var(--mlf-red);
}

/* Brand + reference lines */
body.page-category .product-miniature .product-brand,
body.page-category .product-miniature .product-reference {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mlf-muted) !important;
  margin: 0;
  order: 3;
}

/* Reviews / rating */
body.page-category .product-miniature .product-reviews,
body.page-category .product-miniature .star_content,
body.page-category .product-miniature .comments_note {
  order: 5;
  font-size: 12.5px;
  color: var(--mlf-navy);
  margin: 0;
}

/* Short description — subtle */
body.page-category .product-miniature .product-description-short {
  order: 4;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mlf-ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.page-category .product-miniature .product-description-short a {
  color: var(--mlf-ink-soft);
}

/* Price block — bottom row, separated by hairline */
body.page-category .product-miniature .product-price-and-shipping {
  order: 6;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--mlf-line);
  font-family: var(--mlf-ff-sans);
}
body.page-category .product-miniature .product-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--mlf-navy);
  white-space: nowrap;
}
body.page-category .product-miniature .regular-price {
  font-size: 13px;
  color: var(--mlf-muted) !important;
  text-decoration: line-through;
  font-weight: 400;
}
body.page-category .product-miniature .discount,
body.page-category .product-miniature .discount-percentage,
body.page-category .product-miniature .discount-amount {
  font-size: 11px;
  font-weight: 700;
  color: var(--mlf-red);
  background: transparent;
  padding: 0;
}

/* Variant color swatches row */
body.page-category .product-miniature .products-variants,
body.page-category .product-miniature .variant-links {
  order: 7;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ============================================================
   4. FACETED SEARCH (sidebar/center filters)
   Target: #search_filters, .block-categories, #search_center_filter, .facet
   ============================================================ */
body.page-category #search_filters,
body.page-category #search_center_filter,
body.page-category #search_center_filter_dropdown {
  background: var(--mlf-paper);
  border: 1px solid var(--mlf-line);
  border-radius: var(--mlf-rad);
  padding: 20px;
  font-family: var(--mlf-ff-sans);
  font-size: 14px;
  color: var(--mlf-ink);
  box-shadow: none;
}
body.page-category .block-categories,
body.page-category #search_filters .facet {
  border: 0;
  border-bottom: 1px solid var(--mlf-line);
  padding: 14px 0;
  margin: 0;
}
body.page-category .block-categories:last-child,
body.page-category #search_filters .facet:last-child {
  border-bottom: 0;
}
body.page-category .block-categories .h6,
body.page-category #search_filters .facet-title,
body.page-category #search_filters .facet .h6,
body.page-category #search_filters .facet-label {
  font-family: var(--mlf-ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mlf-navy);
  margin: 0 0 12px;
}
body.page-category #search_filters .facet-label a,
body.page-category #search_filters .facet-label label,
body.page-category .block-categories a {
  font-family: var(--mlf-ff-sans);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--mlf-ink-soft);
  letter-spacing: 0;
  text-transform: none;
  transition: color .2s;
}
body.page-category #search_filters .facet-label a:hover,
body.page-category .block-categories a:hover {
  color: var(--mlf-red);
}
body.page-category #search_filters .magnitude,
body.page-category .block-categories .cat-num {
  color: var(--mlf-muted);
  font-size: 11.5px;
}

/* Custom checkbox / radio */
body.page-category #search_filters .custom-checkbox input[type="checkbox"] + span,
body.page-category #search_filters .custom-radio input[type="radio"] + span {
  border: 1px solid var(--mlf-line-2);
  border-radius: 4px;
}
body.page-category #search_filters .custom-checkbox input[type="checkbox"]:checked + span,
body.page-category #search_filters .custom-radio input[type="radio"]:checked + span {
  background: var(--mlf-navy);
  border-color: var(--mlf-navy);
  color: #fff;
}

/* UI range slider */
body.page-category #search_filters .ui-slider {
  background: var(--mlf-line);
  height: 3px;
  border: 0;
}
body.page-category #search_filters .ui-slider-range {
  background: var(--mlf-red);
}
body.page-category #search_filters .ui-slider-handle {
  background: var(--mlf-navy);
  border: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  top: -6px;
}

/* Mobile filter drawer header */
body.page-category #search_filter_controls {
  background: transparent;
  border-top: 1px solid var(--mlf-line);
  padding-top: 14px;
  margin-top: 14px;
}
body.page-category #search_filter_controls .btn {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
}
body.page-category #search_filter_controls .btn-primary,
body.page-category #search_filter_controls .ok {
  background: var(--mlf-navy);
  border-color: var(--mlf-navy);
}
body.page-category #search_filter_controls .btn-primary:hover {
  background: var(--mlf-navy-800);
  border-color: var(--mlf-navy-800);
}

/* ============================================================
   5. PAGINATION
   Target: .pagination, .page-list
   ============================================================ */
body.page-category .pagination-wrapper,
body.page-category .pagination-wrapper-bottom {
  max-width: var(--mlf-container);
  margin: 0 auto;
  padding: 40px 28px 60px;
}
body.page-category .pagination .page-list {
  display: inline-flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.page-category .pagination .page-list li {
  margin: 0;
}
body.page-category .pagination .page-list a,
body.page-category .pagination .page-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--mlf-ff-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--mlf-navy);
  background: transparent;
  border: 1px solid var(--mlf-line);
  transition: background .2s, color .2s, border-color .2s;
}
body.page-category .pagination .page-list a:hover {
  border-color: var(--mlf-navy);
  color: var(--mlf-navy);
  background: var(--mlf-paper);
}
body.page-category .pagination .page-list .current a,
body.page-category .pagination .page-list .current span,
body.page-category .pagination .page-list li.current > * {
  background: var(--mlf-navy);
  border-color: var(--mlf-navy);
  color: #fff;
}
body.page-category .pagination .page-list .disabled a,
body.page-category .pagination .page-list .disabled span {
  opacity: .4;
  pointer-events: none;
}
body.page-category .pagination-wrapper .showing {
  font-family: var(--mlf-ff-sans);
  font-size: 12.5px;
  color: var(--mlf-muted);
}

/* ============================================================
   6. SUBCATEGORIES THUMBS (above the grid)
   Target: #subcategories, .subcategory-image
   ============================================================ */
body.page-category #subcategories {
  max-width: var(--mlf-container);
  margin: 0 auto;
  padding: 40px 28px 0;
}
body.page-category #subcategories .subcategory {
  border-radius: var(--mlf-rad-lg);
  overflow: hidden;
  background: var(--mlf-paper);
  border: 0;
  transition: transform .3s var(--mlf-ease), box-shadow .3s var(--mlf-ease);
}
body.page-category #subcategories .subcategory:hover {
  transform: translateY(-3px);
  box-shadow: var(--mlf-shadow-md);
}
body.page-category #subcategories .subcategory-name {
  font-family: var(--mlf-ff-display);
  font-style: italic;
  font-size: 22px;
  color: var(--mlf-navy);
  padding: 16px;
  margin: 0;
  text-align: center;
}

/* ============================================================
   7. NO PRODUCTS STATE
   ============================================================ */
body.page-category .alert-warning {
  max-width: var(--mlf-container);
  margin: 60px auto;
  padding: 24px 28px;
  background: var(--mlf-paper);
  border: 1px solid var(--mlf-line);
  border-left: 3px solid var(--mlf-red);
  border-radius: var(--mlf-rad);
  color: var(--mlf-ink);
  font-family: var(--mlf-ff-sans);
  font-size: 15px;
}

/* ============================================================
   8. RESPONSIVE — < 1100px
   ============================================================ */
@media (max-width: 1100px) {
  body.page-category #js-product-list .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  body.page-category #js-product-list-header .page-title,
  body.page-category #js-product-list-header h1 {
    font-size: clamp(48px, 11vw, 120px);
  }
}

/* MLF premium mobile filter controls - 2026-06-09 */
@media (max-width: 768px) {
  html body.page-category .cat-filter-modal__panel {
    height: min(70dvh, 760px) !important;
    max-height: min(70dvh, 760px) !important;
    padding: 15px 22px 0 !important;
    border-radius: 23px 23px 0 0 !important;
  }

  html body.page-category .cat-filter-modal__body {
    height: calc(min(70dvh, 760px) - 146px) !important;
    max-height: calc(min(70dvh, 760px) - 146px) !important;
    padding-bottom: 98px !important;
  }

  html body.page-category .cat-filter-modal__handle {
    width: 76px !important;
    height: 6px !important;
    margin: 3px auto 23px !important;
    background: rgba(16, 34, 50, .14) !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__title {
    font-size: 28px !important;
    font-weight: 900 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__close {
    font-size: 42px !important;
    transform: translateY(-1px) !important;
  }

  html body.page-category .cat-advanced-search {
    display: none !important;
  }

  html body.page-category .cat-filter-modal__body .mlf-mobile-filters {
    display: block !important;
    color: #14191f !important;
    font-family: Inter, system-ui, sans-serif !important;
  }

  html body.page-category .mlf-mobile-filter-group {
    margin: 0 !important;
    padding: 19px 0 22px !important;
    border-bottom: 1px solid rgba(16, 34, 50, .10) !important;
  }

  html body.page-category .mlf-mobile-filter-price {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
  }

  html body.page-category .mlf-mobile-filter-group__title {
    margin: 0 0 14px !important;
    color: #14191f !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
  }

  html body.page-category .mlf-mobile-filter-price__head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 18px !important;
  }

  html body.page-category .mlf-mobile-filter-price__head .mlf-mobile-filter-group__title {
    margin: 0 !important;
  }

  html body.page-category .mlf-mobile-filter-price__head span {
    color: rgba(20, 25, 31, .68) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  html body.page-category .mlf-mobile-filter-price__track {
    position: relative !important;
    height: 24px !important;
    margin: 0 11px 4px !important;
  }

  html body.page-category .mlf-mobile-filter-price__track::before,
  html body.page-category .mlf-mobile-filter-price__track span {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 10px !important;
    height: 4px !important;
    border-radius: 999px !important;
  }

  html body.page-category .mlf-mobile-filter-price__track::before {
    background: #e8e9e9 !important;
  }

  html body.page-category .mlf-mobile-filter-price__track span {
    left: 11% !important;
    right: 17% !important;
    background: #102232 !important;
  }

  html body.page-category .mlf-mobile-filter-price__track i {
    position: absolute !important;
    top: 1px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    background: #102232 !important;
    box-shadow: 0 3px 10px rgba(16, 34, 50, .26) !important;
  }

  html body.page-category .mlf-mobile-filter-price__track i:first-of-type {
    left: 11% !important;
  }

  html body.page-category .mlf-mobile-filter-price__track i:last-of-type {
    right: 17% !important;
  }

  html body.page-category .mlf-mobile-filter-price__labels {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: rgba(20, 25, 31, .58) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
  }

  html body.page-category .mlf-mobile-filter-group__chips {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px 14px !important;
  }

  html body.page-category .mlf-mobile-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    max-width: 100% !important;
    padding: 0 17px !important;
    border: 1px solid rgba(16, 34, 50, .16) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: rgba(20, 25, 31, .68) !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 650 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 1px 2px rgba(16, 34, 50, .04) !important;
  }

  html body.page-category .mlf-mobile-chip.is-selected {
    border-color: #102232 !important;
    background: #102232 !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(16, 34, 50, .18) !important;
  }

  html body.page-category .mlf-mobile-chip__check {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #102232 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.page-category .mlf-mobile-chip.is-selected .mlf-mobile-chip__check {
    display: inline-flex !important;
  }
}

/* ============================================================
   9. RESPONSIVE — < 768px (tablet / mobile)
   ============================================================ */
@media (max-width: 768px) {
  body.page-category .cat-hero {
    min-height: 520px !important;
    padding-top: 0 !important;
  }

  body.page-category .cat-hero__inner {
    width: min(100% - 40px, 560px) !important;
    min-height: 520px !important;
    padding: 30px 0 44px !important;
  }

  body.page-category .cat-hero__title {
    font-size: clamp(54px, 18vw, 78px) !important;
    line-height: .9 !important;
    letter-spacing: 0 !important;
  }

  body.page-category .cat-hero__subtitle {
    font-size: 17px !important;
    line-height: 1.35 !important;
  }

  body.page-category .cat-grid-section {
    padding: 28px 0 48px;
  }

  body.page-category .cat-grid {
    width: min(100% - 28px, 560px) !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin: 0 auto !important;
  }

  body.page-category .cat-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }

  body.page-category .cat-card__media,
  body.page-category .cat-card--featured .cat-card__media {
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
  }

  body.page-category .cat-card__body,
  body.page-category .cat-card--featured .cat-card__body {
    padding: 18px 18px 20px !important;
    gap: 8px !important;
  }

  body.page-category .cat-card__name,
  body.page-category .cat-card--featured .cat-card__name {
    line-height: 1.08 !important;
    min-height: 0 !important;
    margin-bottom: 10px !important;
  }

  body.page-category .cat-card__specs {
    min-height: 0 !important;
    gap: 7px !important;
    margin-bottom: 14px !important;
  }

  body.page-category .cat-card__spec {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  body.page-category .cat-card__fav {
    width: 44px !important;
    height: 44px !important;
  }

  body.page-category .cat-card__price {
    white-space: normal !important;
  }

  body.page-category #js-product-list-header {
    min-height: 52vh;
    padding: 24px 20px 36px;
  }
  body.page-category #js-product-list-header .page-title,
  body.page-category #js-product-list-header h1 {
    font-size: clamp(44px, 14vw, 88px);
  }
  body.page-category .category-description-top {
    padding: 0 20px 32px;
    font-size: 16px;
  }

  body.page-category #js-product-list-top.products-selection > .row {
    padding: 0 16px;
    gap: 8px;
  }
  body.page-category #js-product-list-top .view-switcher,
  body.page-category #js-product-list-top .showing {
    display: none !important;
  }

  body.page-category #js-product-list {
    padding: 32px 16px 52px;
  }
  body.page-category #js-product-list .products {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body.page-category .product-miniature .product-title {
    font-size: 22px;
  }
  body.page-category .product-miniature .product-description {
    padding: 16px 16px 18px;
    gap: 8px;
  }

  body.page-category #search_filters,
  body.page-category #search_center_filter {
    padding: 16px;
    border-radius: var(--mlf-rad);
  }

  body.page-category .pagination-wrapper,
  body.page-category .pagination-wrapper-bottom {
    padding: 28px 16px 40px;
  }
  body.page-category .pagination .page-list a,
  body.page-category .pagination .page-list span {
    min-width: 32px;
    height: 32px;
    font-size: 12.5px;
  }

  body.page-category .category-description-bottom {
    padding: 40px 20px;
    font-size: 16px;
  }
}

/* ============================================================
   10. Small phones — < 480px
   ============================================================ */
@media (max-width: 480px) {
  body.page-category .cat-grid {
    width: min(100% - 22px, 420px) !important;
  }

  body.page-category #js-product-list-header {
    min-height: 44vh;
  }
  body.page-category #js-product-list-header .page-title,
  body.page-category #js-product-list-header h1 {
    font-size: clamp(40px, 16vw, 72px);
  }
}

/* ============================================================
   11. Rhythm pass — homogeneous category spacing
   ============================================================ */
@media (min-width: 769px) {
  body.page-category {
    --cat-rhythm-section: clamp(64px, 5.5vw, 92px);
    --cat-rhythm-block: clamp(34px, 3vw, 48px);
  }

  body.page-category .cat-filter,
  body.page-category .cat-advanced-search {
    margin: 0 !important;
  }

  body.page-category .cat-grid-section {
    padding-top: var(--cat-rhythm-block) !important;
    padding-bottom: var(--cat-rhythm-section) !important;
  }

  body.page-category .pagination-wrapper,
  body.page-category .pagination-wrapper-bottom,
  body.page-category .category-description-bottom {
    padding-top: var(--cat-rhythm-block) !important;
    padding-bottom: var(--cat-rhythm-block) !important;
  }
}

@media (max-width: 768px) {
  body.page-category {
    --cat-rhythm-section: 52px;
    --cat-rhythm-block: 24px;
  }

  body.page-category .cat-filter,
  body.page-category .cat-advanced-search {
    margin: 0 !important;
  }

  body.page-category .cat-grid-section {
    padding-top: var(--cat-rhythm-block) !important;
    padding-bottom: var(--cat-rhythm-section) !important;
  }

  body.page-category .pagination-wrapper,
  body.page-category .pagination-wrapper-bottom,
  body.page-category .category-description-bottom {
    padding-top: var(--cat-rhythm-block) !important;
    padding-bottom: var(--cat-rhythm-section) !important;
  }
}

/* Mobile PM filters bottom sheet. */
.cat-filter__modal-open,
.cat-filter-modal {
  display: none;
}

@media (max-width: 768px) {
  html body.page-category .cat-filter .cat-filter__pills .cat-filter__pill-wrap {
    display: none !important;
  }

  html body.page-category .cat-filter .cat-filter__pills {
    display: none !important;
  }

  body.page-category .cat-filter__right {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body.page-category .cat-filter__modal-open {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 22px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #1d2c35 0%, #121d24 100%) !important;
    color: #fff !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    box-shadow: 0 8px 18px rgba(18, 29, 36, .18) !important;
  }

  body.page-category .cat-filter__count {
    justify-self: end !important;
  }

  body.page-category .cat-filter__reset {
    display: none !important;
  }

  body.page-category .cat-filter-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: block !important;
    pointer-events: none !important;
  }

  body.page-category .cat-filter-modal[hidden] {
    display: none !important;
  }

  body.page-category .cat-filter-modal__overlay {
    position: absolute !important;
    inset: 0 !important;
    border: 0 !important;
    background: rgba(10, 15, 19, .58) !important;
    backdrop-filter: blur(3px) !important;
    opacity: 0 !important;
    transition: opacity .28s ease !important;
    pointer-events: auto !important;
  }

  body.page-category .cat-filter-modal__panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: min(88dvh, 760px) !important;
    max-height: min(88dvh, 760px) !important;
    padding: 16px 22px 0 !important;
    border-radius: 24px 24px 0 0 !important;
    background: #fff !important;
    box-shadow: 0 -26px 64px rgba(10, 15, 19, .30) !important;
    transform: translateY(104%) !important;
    transition: transform .30s cubic-bezier(.16, 1, .3, 1) !important;
    pointer-events: auto !important;
    overflow: hidden !important;
  }

  body.page-category.mlf-filter-sheet-open .cat-filter-modal__overlay {
    opacity: 1 !important;
  }

  body.page-category.mlf-filter-sheet-open .cat-filter-modal__panel {
    transform: translateY(0) !important;
  }

  body.page-category.mlf-filter-sheet-open {
    overflow: hidden !important;
  }

  body.page-category .cat-filter-modal__handle {
    width: 68px !important;
    height: 6px !important;
    margin: 4px auto 22px !important;
    border-radius: 999px !important;
    background: rgba(33, 47, 55, .20) !important;
  }

  body.page-category .cat-filter-modal__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    min-height: 48px !important;
    padding: 0 0 18px !important;
    border-bottom: 0 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__title {
    margin: 0 !important;
    color: #212f37 !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    letter-spacing: -.025em !important;
    line-height: 1 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__close {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(33, 47, 55, .10) !important;
    border-radius: 999px !important;
    background: #f2efe8 !important;
    color: #212f37 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .80) !important;
  }

  body.page-category .cat-filter-modal__body {
    height: calc(min(88dvh, 760px) - 148px) !important;
    max-height: calc(min(88dvh, 760px) - 148px) !important;
    overflow: auto !important;
    padding: 0 0 24px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.page-category.mlf-filter-sheet-ready .cat-filter-modal__body .cat-advanced-search {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  body.page-category.mlf-filter-sheet-ready .cat-filter-modal__body .cat-advanced-search #PM_ASBlockOutput_1,
  body.page-category.mlf-filter-sheet-ready .cat-filter-modal__body .cat-advanced-search .PM_ASBlockOutput {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search #PM_ASBlock_1.card,
  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASBlockOutput > .card {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .card-header {
    display: none !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search #PM_ASBlock_1 .card-block,
  body.page-category .cat-filter-modal__body .cat-advanced-search .card-block {
    padding: 0 !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASResetSearch {
    display: none !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupList {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 20px 0 22px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(33, 47, 55, .11) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterions,
  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionStepEnable {
    display: block !important;
    width: 100% !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupTitle,
  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupName {
    display: none !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCriterionsGroupTitle,
  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCriterionsGroupName {
    display: block !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCriterionsGroupTitle {
    margin: 0 0 14px !important;
    color: #17242c !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCriterionsGroupOuter {
    width: 100% !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCriterionStepEnable {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCritRange {
    order: 2 !important;
    width: calc(100% - 40px) !important;
    height: 4px !important;
    margin: 4px 20px 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e7e8e8 !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .ui-slider-range {
    height: 4px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #102232 !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .ui-slider-handle {
    top: -10px !important;
    width: 24px !important;
    height: 24px !important;
    margin-left: -12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #102232 !important;
    box-shadow: 0 4px 10px rgba(16, 34, 50, .24) !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCritRangeValue {
    order: 1 !important;
    display: block !important;
    margin: -30px 0 2px !important;
    color: rgba(23, 36, 44, .72) !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    text-align: right !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionGroupCheckbox {
    display: none !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-pm-chip-ui__title {
    margin: 0 0 12px !important;
    color: #17242c !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupOuter,
  body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionStepEnable,
  body.page-category .cat-filter-modal__body .cat-advanced-search select.form-control {
    width: 100% !important;
  }

  body.page-category .cat-filter-modal__body .cat-advanced-search select.form-control {
    display: none !important;
  }

  body.page-category .cat-filter-modal__footer {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1.55fr !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 16px 22px calc(18px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(33, 47, 55, .10) !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 -10px 24px rgba(33, 47, 55, .08) !important;
  }

  body.page-category .cat-filter-modal__reset,
  body.page-category .cat-filter-modal__apply {
    min-height: 56px !important;
    border-radius: 999px !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 850 !important;
  }

  body.page-category .cat-filter-modal__reset {
    border: 0 !important;
    background: transparent !important;
    color: #17242c !important;
    text-align: left !important;
  }

  body.page-category .cat-filter-modal__apply {
    border: 0 !important;
    background: #102232 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(16, 34, 50, .20) !important;
  }

  body.page-category .mlf-pm-chip-ui {
    margin-top: 2px !important;
  }

  body.page-category .mlf-pm-chip-ui__list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 14px !important;
  }

  body.page-category .mlf-pm-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 42px !important;
    min-width: 112px !important;
    max-width: 100% !important;
    padding: 0 18px !important;
    border: 1px solid rgba(33, 47, 55, .16) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: rgba(23, 36, 44, .72) !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .90) !important;
  }

  body.page-category .mlf-pm-chip.is-selected {
    border-color: #102232 !important;
    background: #102232 !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(16, 34, 50, .18) !important;
  }

  body.page-category .mlf-pm-chip__check {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #102232 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  body.page-category .mlf-pm-chip.is-selected .mlf-pm-chip__check {
    display: inline-flex !important;
  }

  @media (prefers-reduced-motion: reduce) {
    body.page-category .cat-filter-modal__overlay,
    body.page-category .cat-filter-modal__panel {
      transition: none !important;
    }
  }
}


/* Mobile filter modal: near full-screen premium sheet. */
@media (max-width: 768px) {
  html body.page-category .cat-filter-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: block !important;
    pointer-events: none !important;
  }

  html body.page-category .cat-filter-modal[hidden] {
    display: none !important;
  }

  html body.page-category .cat-filter-modal__overlay {
    position: absolute !important;
    inset: 0 !important;
    border: 0 !important;
    background: rgba(9, 12, 15, .42) !important;
    backdrop-filter: blur(7px) !important;
    opacity: 0 !important;
    transition: opacity .26s ease !important;
    pointer-events: auto !important;
  }

  html body.page-category .cat-filter-modal__panel {
    position: absolute !important;
    inset: max(10px, env(safe-area-inset-top)) 0 0 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    padding: 10px 0 0 !important;
    border-radius: 30px 30px 0 0 !important;
    background: #f5f1ea !important;
    box-shadow: 0 -30px 80px rgba(7, 10, 13, .32) !important;
    transform: translateY(102%) !important;
    transition: transform .34s cubic-bezier(.16, 1, .3, 1) !important;
    pointer-events: auto !important;
    overflow: hidden !important;
  }

  html body.page-category.mlf-filter-sheet-open .cat-filter-modal__overlay {
    opacity: 1 !important;
  }

  html body.page-category.mlf-filter-sheet-open .cat-filter-modal__panel {
    transform: translateY(0) !important;
  }

  html body.page-category.mlf-filter-sheet-open {
    overflow: hidden !important;
  }

  html body.page-category .cat-filter-modal__handle {
    width: 44px !important;
    height: 5px !important;
    margin: 0 auto 8px !important;
    border-radius: 999px !important;
    background: rgba(19, 31, 39, .18) !important;
  }

  html body.page-category .cat-filter-modal__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    min-height: 66px !important;
    padding: 4px 20px 16px !important;
    border-bottom: 1px solid rgba(19, 31, 39, .08) !important;
    background: #f5f1ea !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__title {
    margin: 0 !important;
    color: #111820 !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(30px, 8.6vw, 38px) !important;
    font-weight: 900 !important;
    letter-spacing: -.045em !important;
    line-height: .95 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid rgba(19, 31, 39, .10) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111820 !important;
    font-size: 34px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(19, 31, 39, .08) !important;
  }

  html body.page-category .cat-filter-modal__body {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: auto !important;
    padding: 18px 16px 22px !important;
    background: #f5f1ea !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body.page-category .cat-filter-modal__body .mlf-mobile-filters {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    color: #111820 !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  html body.page-category .mlf-mobile-filter-group {
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid rgba(19, 31, 39, .08) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 16px 36px rgba(19, 31, 39, .07) !important;
  }

  html body.page-category .mlf-mobile-filter-price {
    padding: 20px 18px 18px !important;
    background: #fffaf2 !important;
  }

  html body.page-category .mlf-mobile-filter-group__title {
    margin: 0 0 14px !important;
    color: #111820 !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 18px !important;
    font-weight: 850 !important;
    letter-spacing: -.02em !important;
    line-height: 1.12 !important;
  }

  html body.page-category .mlf-mobile-filter-price__head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
  }

  html body.page-category .mlf-mobile-filter-price__head .mlf-mobile-filter-group__title {
    margin: 0 !important;
  }

  html body.page-category .mlf-mobile-filter-price__head span {
    color: rgba(17, 24, 32, .64) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: right !important;
  }

  html body.page-category .mlf-mobile-filter-price__track {
    position: relative !important;
    height: 30px !important;
    margin: 0 13px 2px !important;
  }

  html body.page-category .mlf-mobile-filter-price__track::before,
  html body.page-category .mlf-mobile-filter-price__track span {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 13px !important;
    height: 5px !important;
    border-radius: 999px !important;
  }

  html body.page-category .mlf-mobile-filter-price__track::before {
    background: #e2ddd3 !important;
  }

  html body.page-category .mlf-mobile-filter-price__track span {
    left: 10% !important;
    right: 18% !important;
    background: #111820 !important;
  }

  html body.page-category .mlf-mobile-filter-price__track i {
    position: absolute !important;
    top: 3px !important;
    width: 25px !important;
    height: 25px !important;
    border: 3px solid #fff !important;
    border-radius: 999px !important;
    background: #111820 !important;
    box-shadow: 0 8px 18px rgba(17, 24, 32, .22) !important;
  }

  html body.page-category .mlf-mobile-filter-price__track i:first-of-type {
    left: 10% !important;
  }

  html body.page-category .mlf-mobile-filter-price__track i:last-of-type {
    right: 18% !important;
  }

  html body.page-category .mlf-mobile-filter-price__labels {
    display: flex !important;
    justify-content: space-between !important;
    color: rgba(17, 24, 32, .54) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
  }

  html body.page-category .mlf-mobile-filter-group__chips {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  html body.page-category .mlf-mobile-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(17, 24, 32, .10) !important;
    border-radius: 16px !important;
    background: #f8f6f1 !important;
    color: rgba(17, 24, 32, .72) !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    letter-spacing: -.01em !important;
    line-height: 1.12 !important;
    text-align: left !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9) !important;
  }

  html body.page-category .mlf-mobile-chip span:first-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body.page-category .mlf-mobile-chip.is-selected {
    border-color: #111820 !important;
    background: #111820 !important;
    color: #fff !important;
    box-shadow: 0 12px 22px rgba(17, 24, 32, .20) !important;
  }

  html body.page-category .mlf-mobile-chip__check {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    border-radius: 999px !important;
    background: rgba(17, 24, 32, .10) !important;
    color: transparent !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.page-category .mlf-mobile-chip.is-selected .mlf-mobile-chip__check {
    background: #fff !important;
    color: #111820 !important;
  }

  html body.page-category .cat-filter-modal__footer {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: grid !important;
    grid-template-columns: minmax(104px, .82fr) minmax(0, 1.4fr) !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(17, 24, 32, .08) !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 -18px 36px rgba(17, 24, 32, .10) !important;
  }

  html body.page-category .cat-filter-modal__reset,
  html body.page-category .cat-filter-modal__apply {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    border-radius: 18px !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    letter-spacing: -.01em !important;
  }

  html body.page-category .cat-filter-modal__reset {
    border: 1px solid rgba(17, 24, 32, .10) !important;
    background: #f4f1eb !important;
    color: #111820 !important;
    text-align: center !important;
  }

  html body.page-category .cat-filter-modal__apply {
    border: 0 !important;
    background: #111820 !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(17, 24, 32, .22) !important;
  }

  @media (prefers-reduced-motion: reduce) {
    html body.page-category .cat-filter-modal__overlay,
    html body.page-category .cat-filter-modal__panel {
      transition: none !important;
    }
  }
}
/* Cat hero height cap - 2026-05-09 */
body.page-category .cat-hero {
  height: 380px !important;
  min-height: 0 !important;
  max-height: 380px !important;
}

body.page-category .cat-hero__inner {
  height: 100% !important;
  min-height: 0 !important;
}

/* ============================================
   Category cards: prix promo comme PDP — 2 lignes
     ligne 1 : (i)  prix public           (colles, vers la gauche)
     ligne 2 : Notre tarif : prix remise  (colles, vers la gauche)
     (i) 649,00 €
     Notre tarif : 415,36 €
   2026-05-28
   ============================================ */
body.page-category .cat-card__price--specific {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}
/* chaque ligne : items colles a gauche — match homepage showcase (gap 10px) */
body.page-category .cat-card__price-line {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
/* le rond (i) — match homepage .mlf-omnibus-icon: 18px, border-radius pill */
body.page-category .cat-card__price-info {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  border: 1.6px solid #9aa3ad !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6b7480 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: Inter, system-ui, sans-serif !important;
  line-height: 1 !important;
}
/* prix public, colle a cote du (i) — match homepage strong: 14px/700/#1a2332 */
body.page-category .cat-card__regular-price {
  color: #1a2332 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
/* "Notre tarif :" — match homepage .mtss-card__price-label: 0.8rem/500/#212f37 */
body.page-category .cat-card__specific-label {
  color: #212f37 !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}
/* prix remise — match homepage .mtss-card__price-amount: 21px/700/#cc1f43 */
body.page-category .cat-card__specific-price {
  color: #cc1f43 !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
@media (max-width: 767px) {
  body.page-category .cat-card__regular-price { font-size: 13px !important; }
  body.page-category .cat-card__specific-label { font-size: 0.78rem !important; }
  body.page-category .cat-card__specific-price { font-size: 19px !important; }
}

/* MLF mobile filter sheet - reference design - 2026-06-09 */
@media (max-width: 768px) {
  html body.page-category.mlf-filter-sheet-open {
    overflow: hidden !important;
    touch-action: none !important;
  }

  html body.page-category .cat-filter {
    background: #fdfcf9 !important;
    border: 0 !important;
  }

  html body.page-category .cat-filter__inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 76px !important;
    padding: 0 22px 18px !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  html body.page-category .cat-filter__pills,
  html body.page-category .cat-filter__count,
  html body.page-category .cat-filter__reset {
    display: none !important;
  }

  html body.page-category .cat-filter__right {
    width: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  html body.page-category .cat-filter__modal-open {
    min-width: 116px !important;
    min-height: 54px !important;
    padding: 0 26px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #102232 !important;
    color: #fff !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 14px 28px rgba(16, 34, 50, .24), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  }

  html body.page-category .cat-filter-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: block !important;
    pointer-events: none !important;
  }

  html body.page-category .cat-filter-modal[hidden] {
    display: none !important;
  }

  html body.page-category .cat-filter-modal__overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: rgba(10, 15, 19, .58) !important;
    backdrop-filter: blur(2px) !important;
    opacity: 0 !important;
    transition: opacity .26s ease !important;
    pointer-events: auto !important;
  }

  html body.page-category .cat-filter-modal__panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: min(64dvh, 680px) !important;
    max-height: min(64dvh, 680px) !important;
    padding: 16px 22px 0 !important;
    border-radius: 22px 22px 0 0 !important;
    background: #fff !important;
    box-shadow: 0 -28px 70px rgba(10, 15, 19, .28) !important;
    transform: translateY(104%) !important;
    transition: transform .30s cubic-bezier(.16, 1, .3, 1) !important;
    pointer-events: auto !important;
    overflow: hidden !important;
  }

  html body.page-category.mlf-filter-sheet-open .cat-filter-modal__overlay {
    opacity: 1 !important;
  }

  html body.page-category.mlf-filter-sheet-open .cat-filter-modal__panel {
    transform: translateY(0) !important;
  }

  html body.page-category .cat-filter-modal__handle {
    width: 68px !important;
    height: 6px !important;
    margin: 4px auto 22px !important;
    border-radius: 999px !important;
    background: rgba(16, 34, 50, .15) !important;
  }

  html body.page-category .cat-filter-modal__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__title {
    margin: 0 !important;
    color: #14191f !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__close {
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #08131b !important;
    font-family: Arial, sans-serif !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  html body.page-category .cat-filter-modal__body {
    height: calc(min(64dvh, 680px) - 146px) !important;
    max-height: calc(min(64dvh, 680px) - 146px) !important;
    padding: 0 0 104px !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body.page-category.mlf-filter-sheet-ready .cat-filter-modal__body .cat-advanced-search {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search #PM_ASBlock_1.card,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASBlockOutput > .card {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search #PM_ASBlock_1 .card-block {
    padding: 0 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASBlockTitle,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .card-header,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASSelectionsResults,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASResetSearch {
    display: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupList.row {
    display: block !important;
    margin: 0 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(16, 34, 50, .10) !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice {
    padding: 2px 0 24px !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup:not(.PM_ASCriterionsGroupPrice) {
    padding: 20px 0 24px !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterions,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsOutput {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupTitle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 16px !important;
    color: #14191f !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCritRangeValue {
    margin-left: auto !important;
    color: rgba(20, 25, 31, .68) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCriterionsGroupOuter {
    margin: 10px 0 0 !important;
    padding: 0 14px !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCritRange {
    width: 100% !important;
    height: 4px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e8e9e9 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .ui-slider-range {
    background: #102232 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .ui-slider-handle {
    top: -9px !important;
    width: 22px !important;
    height: 22px !important;
    margin-left: -11px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #102232 !important;
    box-shadow: 0 3px 10px rgba(16, 34, 50, .26) !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup:not(.PM_ASCriterionsGroupPrice) .PM_ASCriterionsGroupOuter,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup:not(.PM_ASCriterionsGroupPrice) .PM_ASCriterionStepEnable,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup:not(.PM_ASCriterionsGroupPrice) select,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup:not(.PM_ASCriterionsGroupPrice) input,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup:not(.PM_ASCriterionsGroupPrice) label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  html body.page-category .mlf-pm-chip-ui {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    clip: auto !important;
    overflow: visible !important;
  }

  html body.page-category .mlf-pm-chip-ui__title {
    display: none !important;
  }

  html body.page-category .mlf-pm-chip-ui__list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 14px !important;
  }

  html body.page-category .mlf-pm-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-width: 112px !important;
    min-height: 42px !important;
    padding: 0 17px !important;
    border: 1px solid rgba(16, 34, 50, .16) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: rgba(20, 25, 31, .68) !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 1px 2px rgba(16, 34, 50, .04) !important;
  }

  html body.page-category .mlf-pm-chip.is-selected {
    border-color: #102232 !important;
    background: #102232 !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(16, 34, 50, .18) !important;
  }

  html body.page-category .mlf-pm-chip__check {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #102232 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.page-category .mlf-pm-chip.is-selected .mlf-pm-chip__check {
    display: inline-flex !important;
  }

  html body.page-category .cat-filter-modal__footer {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(112px, .9fr) minmax(0, 1.75fr) !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 16px 22px calc(18px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(16, 34, 50, .10) !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 -10px 24px rgba(16, 34, 50, .08) !important;
  }

  html body.page-category .cat-filter-modal__reset,
  html body.page-category .cat-filter-modal__apply {
    min-height: 56px !important;
    border-radius: 999px !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
  }

  html body.page-category .cat-filter-modal__reset {
    justify-content: flex-start !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #14191f !important;
    text-align: left !important;
  }

  html body.page-category .cat-filter-modal__apply {
    border: 0 !important;
    background: #102232 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(16, 34, 50, .22) !important;
  }

  @media (prefers-reduced-motion: reduce) {
    html body.page-category .cat-filter-modal__overlay,
    html body.page-category .cat-filter-modal__panel {
      transition: none !important;
    }
  }
}

/* Category 7 mobile header: compact rhythm, less empty space. */
@media (max-width: 767px) {
  body.page-category.category-id-7 .cat-hero {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 10px 12px 8px !important;
  }

  body.page-category.category-id-7 .cat-hero__inner {
    width: min(100%, 380px) !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 12px 14px 14px !important;
  }

  body.page-category.category-id-7 .cat-hero__breadcrumb {
    margin-bottom: 8px !important;
    gap: 8px !important;
    justify-content: center !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  body.page-category.category-id-7 .cat-hero__copy {
    gap: 8px !important;
    align-items: center !important;
    text-align: center !important;
  }

  body.page-category.category-id-7 .cat-hero__title {
    width: 100% !important;
    max-width: 330px !important;
    margin: 0 auto !important;
    font-size: clamp(31px, 9.6vw, 38px) !important;
    line-height: .93 !important;
    letter-spacing: -.01em !important;
  }

  body.page-category.category-id-7 .cat-hero__description {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    max-height: 2.65em !important;
    margin: 2px auto 0 !important;
    font-size: 12.5px !important;
    line-height: 1.32 !important;
  }

  body.page-category.category-id-7 .cat-hero__readmore {
    min-height: 28px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.15 !important;
  }

  body.page-category.category-id-7 .cat-filter {
    min-height: 0 !important;
  }

  body.page-category.category-id-7 .cat-filter__inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 18px 8px !important;
  }

  body.page-category.category-id-7 .cat-filter__pills {
    width: 100% !important;
    gap: 14px !important;
    justify-content: space-between !important;
  }

  body.page-category.category-id-7 .cat-filter__pill,
  body.page-category.category-id-7 .cat-filter__sort--inline select {
    min-height: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 13px !important;
  }

  body.page-category.category-id-7 .cat-grid-section {
    padding-top: 10px !important;
  }
}

/* Final mobile filter sheet polish: keep PM Advanced Search data, enforce mockup rhythm. */
@media (max-width: 768px) {
  html body.page-category .cat-filter-modal__overlay {
    background: rgba(5, 5, 5, .30) !important;
    backdrop-filter: blur(10px) !important;
  }

  html body.page-category .cat-filter-modal__panel {
    inset: max(10px, env(safe-area-inset-top)) 0 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    padding: 10px 0 0 !important;
    border: 0 !important;
    border-radius: 34px 34px 0 0 !important;
    background: #f7f7f4 !important;
    box-shadow: 0 -28px 80px rgba(5, 5, 5, .25) !important;
  }

  html body.page-category .cat-filter-modal__handle {
    width: 48px !important;
    height: 5px !important;
    margin: 0 auto 16px !important;
    border-radius: 999px !important;
    background: rgba(5, 5, 5, .18) !important;
  }

  html body.page-category .cat-filter-modal__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 74px !important;
    padding: 0 22px 18px !important;
    border-bottom: 0 !important;
    background: #f7f7f4 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__title {
    margin: 0 !important;
    color: #050505 !important;
    font-family: "Outfit", "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(42px, 12vw, 50px) !important;
    font-weight: 900 !important;
    letter-spacing: -.07em !important;
    line-height: .84 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid rgba(5, 5, 5, .12) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #050505 !important;
    font-size: 32px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(5, 5, 5, .08) !important;
  }

  html body.page-category .cat-filter-modal__body {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: auto !important;
    padding: 2px 16px 20px !important;
    background: #f7f7f4 !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body.page-category .cat-filter-modal__body .mlf-mobile-filters {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    color: #050505 !important;
    font-family: "Outfit", "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  html body.page-category .mlf-mobile-filter-group {
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid rgba(5, 5, 5, .08) !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(5, 5, 5, .065) !important;
  }

  html body.page-category .mlf-mobile-filter-price {
    background: #ffffff !important;
  }

  html body.page-category .mlf-mobile-filter-group__title {
    margin: 0 0 16px !important;
    color: #050505 !important;
    font-family: "Outfit", "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 18px !important;
    font-weight: 850 !important;
    letter-spacing: -.035em !important;
    line-height: 1 !important;
  }

  html body.page-category .mlf-mobile-filter-price__head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
  }

  html body.page-category .mlf-mobile-filter-price__head span,
  html body.page-category .mlf-mobile-filter-price__labels {
    color: rgba(5, 5, 5, .52) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  html body.page-category .mlf-mobile-filter-price__track {
    margin: 0 14px 4px !important;
  }

  html body.page-category .mlf-mobile-filter-price__track::before {
    background: rgba(5, 5, 5, .12) !important;
  }

  html body.page-category .mlf-mobile-filter-price__track span {
    background: #050505 !important;
  }

  html body.page-category .mlf-mobile-filter-price__track i {
    border-color: #ffffff !important;
    background: #050505 !important;
    box-shadow: 0 8px 20px rgba(5, 5, 5, .24) !important;
  }

  html body.page-category .mlf-mobile-filter-group__chips {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  html body.page-category .mlf-mobile-chip {
    height: auto !important;
    max-height: none !important;
    min-height: 52px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(5, 5, 5, .08) !important;
    border-radius: 18px !important;
    background: #f1f1ee !important;
    color: rgba(5, 5, 5, .72) !important;
    font-family: "Outfit", "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    letter-spacing: -.018em !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    box-shadow: none !important;
  }

  html body.page-category .mlf-mobile-chip > span:first-child {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body.page-category .mlf-mobile-chip__check {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    border-radius: 999px !important;
    background: rgba(5, 5, 5, .08) !important;
    color: transparent !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  html body.page-category .mlf-mobile-chip.is-selected {
    border-color: #050505 !important;
    background: #050505 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 26px rgba(5, 5, 5, .20) !important;
  }

  html body.page-category .mlf-mobile-chip.is-selected .mlf-mobile-chip__check {
    background: #ffffff !important;
    color: #050505 !important;
  }

  html body.page-category .cat-filter-modal__footer {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: grid !important;
    grid-template-columns: minmax(108px, .78fr) minmax(0, 1.45fr) !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(5, 5, 5, .08) !important;
    background: #f7f7f4 !important;
    box-shadow: 0 -18px 34px rgba(5, 5, 5, .09) !important;
  }

  html body.page-category .cat-filter-modal__reset,
  html body.page-category .cat-filter-modal__apply {
    min-height: 58px !important;
    border-radius: 19px !important;
    font-family: "Outfit", "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    letter-spacing: -.015em !important;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), opacity .22s cubic-bezier(.16, 1, .3, 1) !important;
  }

  html body.page-category .cat-filter-modal__reset {
    border: 1px solid rgba(5, 5, 5, .10) !important;
    background: #ffffff !important;
    color: rgba(5, 5, 5, .78) !important;
    text-align: center !important;
  }

  html body.page-category .cat-filter-modal__apply {
    border: 0 !important;
    background: #050505 !important;
    color: #ffffff !important;
    box-shadow: 0 16px 34px rgba(5, 5, 5, .24) !important;
  }

  html body.page-category .cat-filter-modal__reset:active,
  html body.page-category .cat-filter-modal__apply:active,
  html body.page-category .mlf-mobile-chip:active {
    transform: translateY(1px) scale(.985) !important;
  }

}

/* ============================================================
   MLF MOBILE FILTER SHEET — maquette finale 2026-06-09 v3
   (le bloc .cat-advanced-search est déplacé dans
   .cat-filter-modal__body par le JS de category.tpl)
   ============================================================ */
@media (max-width: 768px) {
  /* ---- Panel ---- */
  html body.page-category .cat-filter-modal__panel {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: min(88dvh, 860px) !important;
    padding: 10px 20px 0 !important;
    border-radius: 26px 26px 0 0 !important;
    background: #fff !important;
  }

  html body.page-category .cat-filter-modal__handle {
    flex: 0 0 auto !important;
    width: 48px !important;
    height: 5px !important;
    margin: 4px auto 16px !important;
    border-radius: 999px !important;
    background: #d9dde3 !important;
  }

  html body.page-category .cat-filter-modal__header {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 0 !important;
    padding: 0 0 10px !important;
    border-bottom: 0 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__title {
    margin: 0 !important;
    color: #14191f !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    font-style: normal !important;
    letter-spacing: -.01em !important;
    line-height: 1.1 !important;
  }

  html body.page-category .cat-filter-modal .cat-filter-modal__close {
    flex: 0 0 auto !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    padding: 2px 4px !important;
    color: #14191f !important;
    font-size: 30px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    transform: none !important;
  }

  html body.page-category .cat-filter-modal__body {
    flex: 1 1 auto !important;
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 0 16px !important;
  }

  /* ---- Advanced search visible UNIQUEMENT dans la sheet ---- */
  html body.page-category .cat-filter-modal__body .cat-advanced-search {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Neutralise le chrome du module (cards, ombres, header toggle) */
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASBlockOutput,
  html body.page-category .cat-filter-modal__body .cat-advanced-search #PM_ASBlockOutput_1 {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .card,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .card-block {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .card-header,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASBlockTitle,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASearchTitle,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASResetSearch,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASSubmitSearch,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionNbProduct {
    display: none !important;
  }

  /* ---- Groupes => sections épurées ---- */
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupList {
    display: block !important;
    margin: 0 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 18px 0 20px !important;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid #e9ecf0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup:last-child {
    border-bottom: 0 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsOutput,
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterions {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupTitle {
    display: block !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #14191f !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupName {
    color: inherit !important;
    font: inherit !important;
  }

  /* Cache les listes natives (checkbox/radio/select) hors prix */
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroup:not(.PM_ASCriterionsGroupPrice) .PM_ASCriterionsGroupOuter {
    display: none !important;
  }

  /* ---- Chips (UI générée par le JS) ---- */
  html body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-pm-chip-ui {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-pm-chip-ui__title {
    display: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-pm-chip-ui__list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-pm-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 1px solid #d6dbe1 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #1d2632 !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
    transition: background .18s ease, border-color .18s ease, color .18s ease !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-pm-chip__check {
    display: none !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #122438 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 17px !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-pm-chip.is-selected {
    background: #122438 !important;
    border-color: #122438 !important;
    color: #fff !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-pm-chip.is-selected .mlf-pm-chip__check {
    display: inline-flex !important;
  }

  /* ---- Prix : titre à gauche, valeur à droite, slider, échelle ---- */
  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCriterionsGroupOuter {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCriterionStepEnable {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupPrice .PM_ASCritRangeValue {
    position: absolute !important;
    top: 18px !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #14191f !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCritRange {
    position: relative !important;
    height: 4px !important;
    margin: 22px 9px 12px !important;
    background: #e6e9ed !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCritRange .ui-slider-range {
    height: 4px !important;
    background: #122438 !important;
    border: 0 !important;
    border-radius: 999px !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCritRange .ui-slider-handle {
    top: -8px !important;
    width: 19px !important;
    height: 19px !important;
    margin-left: -10px !important;
    background: #122438 !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 4px rgba(10, 15, 19, .25) !important;
    cursor: pointer !important;
    outline: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .mlf-price-scale {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #79828c !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  /* ---- Footer : Réinitialiser + Voir N produits ---- */
  html body.page-category .cat-filter-modal__footer {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 -20px !important;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    border-top: 1px solid #e9ecf0 !important;
    box-shadow: 0 -8px 24px rgba(10, 15, 19, .04) !important;
  }

  html body.page-category .cat-filter-modal__reset {
    flex: 0 0 auto !important;
    min-height: 52px !important;
    padding: 0 6px !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #14191f !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  html body.page-category .cat-filter-modal__apply {
    flex: 1 1 auto !important;
    min-height: 52px !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #122438 !important;
    box-shadow: 0 10px 22px rgba(18, 36, 56, .22) !important;
    color: #fff !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
  }
}

/* Sécurité : la sheet reste DANS le panel, jamais en fixed plein écran */
@media (max-width: 768px) {
  html body.page-category.mlf-filter-sheet-ready .cat-filter-modal__body .cat-advanced-search,
  html body.page-category.mlf-filter-sheet-open .cat-filter-modal__body .cat-advanced-search {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body.page-category.mlf-filter-sheet-open .cat-filter-modal__body .cat-advanced-search::before {
    display: none !important;
    content: none !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupTitle {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
  }

  html body.page-category .cat-filter-modal__body .cat-advanced-search .PM_ASCriterionsGroupName {
    display: inline !important;
    visibility: visible !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #14191f !important;
  }
}

/* Finitions maquette : titre sans-serif + fond blanc */
@media (max-width: 768px) {
  html body.page-category #cat-filter-modal-title,
  html body.page-category #cat-filter-modal .cat-filter-modal__title {
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    font-style: normal !important;
    letter-spacing: -.01em !important;
    color: #14191f !important;
  }

  html body.page-category #cat-filter-modal-body,
  html body.page-category #cat-filter-modal .cat-filter-modal__body {
    background: #fff !important;
  }

  html body.page-category #cat-filter-modal .cat-filter-modal__panel {
    background: #fff !important;
  }
}

/* Header blanc + pas de débordement horizontal */
@media (max-width: 768px) {
  html body.page-category #cat-filter-modal .cat-filter-modal__header {
    background: #fff !important;
    margin: 0 !important;
  }

  html body.page-category #cat-filter-modal .cat-filter-modal__body {
    overflow-x: hidden !important;
  }

  html body.page-category #cat-filter-modal .cat-filter-modal__body .PM_ASCriterionsGroupList.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ============================================================
   MLF — Bottom sheet : ancrage bottom 0 + hauteur au contenu
   2026-06-12
   ============================================================ */
@media (max-width: 768px) {
  html body.page-category .cat-filter-modal {
    position: fixed !important;
    inset: 0 !important;
  }
  html body.page-category .cat-filter-modal__panel {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    max-height: min(86vh, 760px) !important;
    max-height: min(86dvh, 760px) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 15px 22px 0 !important;
  }
  html body.page-category .cat-filter-modal__handle,
  html body.page-category .cat-filter-modal__header {
    flex: 0 0 auto !important;
  }
  html body.page-category .cat-filter-modal__body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: auto !important;
    padding: 0 0 18px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  html body.page-category .cat-filter-modal__footer {
    position: static !important;
    flex: 0 0 auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 -22px 0 !important;
    padding: 14px 22px calc(16px + env(safe-area-inset-bottom)) !important;
  }
}

/* Calque de gel : clone fige du contenu pendant le re-rendu AJAX AS5,
   aucun clignotement visible pendant le remplacement du DOM */
@media (max-width: 768px) {
  html body.page-category .cat-filter-modal__body {
    position: relative !important;
  }
  html body.page-category .cat-filter-modal__body .mlf-pm-freeze {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100%;
    background: #fff;
    z-index: 5;
    pointer-events: none;
    opacity: 1;
    transition: opacity .12s ease;
  }
  html body.page-category .cat-filter-modal__body .mlf-pm-freeze.is-leaving {
    opacity: 0;
  }
}
