/**
 * Folies Secrètes — Pages catégorie premium (tranche 1 + 2)
 * Scope strict : body#category uniquement
 * Chargé via themes/foliessecretes/config/theme.yml (assets.css.category)
 * Ne pas modifier fs-homepage-premium.css
 */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600&display=swap");

/* --- Design tokens (alignés homepage) --- */
body#category {
  --fs-cream: #f5f0ea;
  --fs-ivory: #fdfcfa;
  --fs-blush: #e8d5d0;
  --fs-nude: #c4a99a;
  --fs-gold: #b8956b;
  --fs-ink: #1a1716;
  --fs-ink-soft: #4a4543;
  --fs-line: rgba(26, 23, 22, 0.08);
  --fs-line-strong: rgba(26, 23, 22, 0.14);
  --fs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fs-shadow-soft: 0 10px 28px rgba(26, 23, 22, 0.04);
  --fs-shadow-lift: 0 20px 48px rgba(26, 23, 22, 0.06);
  --fs-font-serif: "Cormorant Garamond", Georgia, serif;
  --fs-font-sans: "Manrope", system-ui, sans-serif;
  --fs-cat-inner: min(96rem, calc(100vw - clamp(1rem, 2.5vw, 2.25rem)));
  --fs-cat-card-pad: clamp(1rem, 1.75vw, 1.4rem);
  --fs-cat-grid-gap: clamp(1.15rem, 2vw, 1.85rem);
}

body#category,
body#category #wrapper,
body#category .columns-container,
body#category #content-wrapper {
  background-color: var(--fs-cream) !important;
}

/* --- Pleine largeur : sidebar masquée visuellement (desktop) --- */
@media (min-width: 992px) {
  body#category #left_column,
  body#category #left-column {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body#category #center_column,
  body#category.show-left-column #center_column,
  body#category #content-wrapper > .row > [class*="col-lg-9"],
  body#category #content-wrapper > .row > .col-lg-9 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

body#category #center_column {
  max-width: var(--fs-cat-inner);
  margin-inline: auto;
  float: none !important;
  padding-inline: clamp(0.85rem, 2vw, 1.5rem);
}

/* Tranche 2 — zone produits : pleine largeur utile */
body#category #products,
body#category section#products,
body#category #js-product-list {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}

/* --- Hero : micro-harmonisation typo --- */
body#category .fs-cat-hero-v2__kicker {
  font-family: var(--fs-font-sans) !important;
  color: var(--fs-gold) !important;
  letter-spacing: 0.22em !important;
}

body#category .fs-cat-hero-v2__title {
  font-family: var(--fs-font-serif) !important;
  color: var(--fs-ink) !important;
  letter-spacing: 0.02em !important;
}

body#category .fs-cat-hero-v2__intro {
  font-family: var(--fs-font-sans) !important;
  color: var(--fs-ink-soft) !important;
}

/* --- Filtres masqués (cohérence étape 2) --- */
body#category #horizontal_filters_wrap,
body#category #horizontal_filters,
body#category #js-active-search-filters:not(.fs-cat-active-filters),
body#category .active_filters_box:not(.fs-cat-active-filters) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* --- Barre tri + filtres (tranche 1A) --- */
body#category #js-product-list-top.products-selection {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 0.55rem clamp(1rem, 1.85vw, 1.45rem) !important;
  margin-bottom: clamp(1.15rem, 2.2vw, 1.65rem) !important;
  padding: 0.7rem 1.05rem !important;
  border-radius: 999px !important;
  border: 1px solid var(--fs-line) !important;
  background: rgba(253, 252, 250, 0.72) !important;
  box-shadow: none !important;
}

body#category #js-product-list-top .products-sort-order.dropdown_wrap {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  margin-left: clamp(0.15rem, 0.45vw, 0.35rem) !important;
}

body#category #js-product-list-top .products-sort-order.dropdown_wrap::before {
  content: none !important;
  display: none !important;
}

body#category #js-product-list-top .flex_child {
  display: none !important;
}

body#category #js-product-list-top .fs-cat-toolbar-filter {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(36rem, calc(100% - 14rem));
  gap: 0.65rem;
  padding-right: clamp(1rem, 1.85vw, 1.45rem) !important;
  border-right: 1px solid var(--fs-line) !important;
  box-sizing: border-box;
}

body#category #js-product-list-top .fs-cat-facets-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  min-height: 2rem;
  padding: 0 0.85rem;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--fs-font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fs-gold);
  cursor: pointer;
  transition: border-color 0.22s var(--fs-ease), background 0.22s var(--fs-ease), box-shadow 0.22s var(--fs-ease);
}

body#category #js-product-list-top .fs-cat-facets-trigger:hover,
body#category #js-product-list-top .fs-cat-facets-trigger[aria-expanded="true"] {
  border-color: rgba(184, 149, 107, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 149, 107, 0.1);
}

body#category #js-product-list-top .fs-cat-facets-trigger__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--fs-gold);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

body#category #js-product-list-top .fs-cat-facets-trigger i {
  font-size: 0.78rem;
  color: var(--fs-ink-soft);
}

body#category #js-product-list-top .fs-cat-facets-trigger--disabled {
  opacity: 0.45;
  pointer-events: none;
}

body#category #js-product-list-top .fs-cat-filter-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
}

body#category #js-product-list-top .fs-cat-filter-search__label {
  font-family: var(--fs-font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(184, 149, 107, 0.72);
  flex-shrink: 0;
}

body#category #js-product-list-top .fs-cat-filter__search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

body#category #js-product-list-top .fs-cat-filter__input {
  width: 100%;
  min-width: 0;
  height: 2rem;
  padding: 0 2.45rem 0 0.85rem;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--fs-font-sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--fs-ink);
  outline: none;
  transition: border-color 0.22s var(--fs-ease), box-shadow 0.22s var(--fs-ease), background 0.22s var(--fs-ease);
}

body#category #js-product-list-top .fs-cat-filter__input::placeholder {
  color: rgba(74, 69, 67, 0.48);
}

body#category #js-product-list-top .fs-cat-filter__input:focus {
  border-color: rgba(184, 149, 107, 0.45);
  box-shadow: 0 0 0 3px rgba(184, 149, 107, 0.12);
  background: #fff;
}

body#category #js-product-list-top .fs-cat-filter__btn,
body#category #js-product-list-top .fs-cat-filter__clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(74, 69, 67, 0.55);
  cursor: pointer;
  transition: color 0.18s var(--fs-ease), background 0.18s var(--fs-ease);
}

body#category #js-product-list-top .fs-cat-filter__btn {
  right: 0.45rem;
  pointer-events: none;
}

body#category #js-product-list-top .fs-cat-filter__clear {
  right: 2.35rem;
}

body#category #js-product-list-top .fs-cat-filter__clear:not(.fs-cat-filter__clear--hidden) {
  pointer-events: auto;
}

body#category #js-product-list-top .fs-cat-filter__clear:hover {
  color: var(--fs-ink);
  background: rgba(245, 240, 234, 0.95);
}

body#category #js-product-list-top .fs-cat-filter__btn i,
body#category #js-product-list-top .fs-cat-filter__clear i {
  font-size: 0.78rem;
  line-height: 1;
}

body#category #js-product-list-top .fs-cat-filter__toggle {
  display: none;
}

body#category .fs-cat-filter__status {
  margin: -0.55rem 0 0.95rem;
  padding: 0 0.35rem;
  font-family: var(--fs-font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(74, 69, 67, 0.62);
}

body#category .fs-cat-filter__status[hidden] {
  display: none !important;
}

body#category.fs-cat-filter-active #js-product-list-top .fs-cat-filter__input {
  padding-right: 4.35rem !important;
}

body#category #js-product-list .product_list_item.fs-cat-filter-hidden,
body#category #js-product-list .ajax_block_product.fs-cat-filter-hidden {
  display: none !important;
}

body#category .fs-cat-chip--text-search {
  border-style: dashed;
}

body#category #js-product-list-top .fs-cat-filter__hint {
  display: none !important;
}

body#category #fs-cat-facets-mount > .fs-cat-filter__hint {
  margin: -0.45rem 0 0.55rem;
  padding: 0 0.35rem 0 clamp(0.85rem, 1.2vw, 1.05rem);
  font-family: var(--fs-font-sans);
  font-size: 0.62rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(74, 69, 67, 0.48);
}

body#category #js-product-list-top .products-sort-order .dropdown_tri {
  font-family: var(--fs-font-sans) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: var(--fs-ink-soft) !important;
  letter-spacing: 0.03em !important;
  opacity: 0.88 !important;
}

body#category #js-product-list .bottom_pagination.only_one_page {
  border: none !important;
  padding-top: 0.35rem !important;
  margin-top: 0.15rem !important;
}

body#category #js-product-list .bottom_pagination .product_count {
  font-family: var(--fs-font-sans) !important;
  font-size: 0.62rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
  color: rgba(74, 69, 67, 0.55) !important;
  line-height: 1.4 !important;
}

/* --- Grille produits (tranche 2 : plus d’impact) --- */
body#category #js-product-list .products.product_list.row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: var(--fs-cat-grid-gap) !important;
  margin: 0 !important;
  width: 100% !important;
  padding: 0 !important;
}

body#category #js-product-list .products.product_list .product_list_item,
body#category #js-product-list .products.product_list > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  flex: none !important;
}

body#category #js-product-list .ajax_block_product {
  height: 100% !important;
  margin-bottom: 0 !important;
}

body#category #js-product-list .pro_outer_box {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  padding: var(--fs-cat-card-pad) !important;
  margin-bottom: 0 !important;
  background: var(--fs-ivory) !important;
  border: 1px solid var(--fs-line) !important;
  border-radius: clamp(10px, 1.2vw, 14px) !important;
  box-shadow: var(--fs-shadow-soft) !important;
  transform: none !important;
  transition: transform 0.4s var(--fs-ease), box-shadow 0.4s var(--fs-ease), border-color 0.35s var(--fs-ease) !important;
}

body#category #js-product-list .ajax_block_product:hover .pro_outer_box,
body#category #js-product-list .pro_outer_box:hover {
  transform: translateY(-3px) !important;
  border-color: var(--fs-line-strong) !important;
  box-shadow: var(--fs-shadow-lift) !important;
}

/* Image (tranche 2 : ratio plus généreux) */
body#category #js-product-list .pro_first_box {
  margin-bottom: clamp(0.75rem, 1.4vw, 1rem) !important;
  background: linear-gradient(165deg, #faf8f5 0%, #f0ebe6 100%) !important;
  border-radius: clamp(8px, 1vw, 12px) !important;
  overflow: hidden !important;
}

body#category #js-product-list .product_img_link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 5 / 6 !important;
  min-height: clamp(220px, 28vw, 320px) !important;
  border-radius: clamp(6px, 0.9vw, 10px) !important;
  overflow: hidden !important;
  background: transparent !important;
}

body#category #js-product-list .product_img_link .front_image_pic,
body#category #js-product-list .product_img_link picture {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

/* Surcharge customer-s1 (width/height auto + max-height fixe sur img) */
body#category #js-product-list .product_img_link img,
body#category #js-product-list img.front-image,
body#category #js-product-list .product_img_link .front-image,
body#category #js-product-list .front_image_pic img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: unset !important;
  object-fit: contain !important;
  object-position: center center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: clamp(0.65rem, 1.25vw, 1.1rem) !important;
  transform: none !important;
}

body#category #js-product-list .ajax_block_product:hover .front-image {
  transform: scale(1.02) !important;
}

/* Masquer éléments catalogue inutiles */
body#category #js-product-list .back_image_pic,
body#category #js-product-list .back_image_pic img,
body#category #js-product-list .back-image,
body#category #js-product-list .hover_fly,
body#category #js-product-list .hover_fly_1,
body#category #js-product-list .product-desc,
body#category #js-product-list .act_box_inner,
body#category #js-product-list .add_to_love,
body#category #js-product-list a.add_to_love,
body#category #js-product-list .pro_right_item,
body#category #js-product-list .wishlist_button,
body#category #js-product-list .pro_list_manufacturer,
body#category #js-product-list .pro_list_reference,
body#category #js-product-list .pro_mini_cate_name,
body#category #js-product-list .compare,
body#category #js-product-list .quick-view,
body#category #js-product-list .stcompare,
body#category #js-product-list .s_quantity_wanted {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Titre produit (tranche 2) */
body#category #js-product-list .pro_second_box {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 clamp(0.25rem, 0.6vw, 0.5rem) !important;
  text-align: center !important;
  background: transparent !important;
  min-height: 0 !important;
}

body#category #js-product-list .mini_name {
  margin-bottom: clamp(0.5rem, 1vw, 0.65rem) !important;
}

body#category #js-product-list .s_title_block,
body#category #js-product-list .s_title_block.flex_child {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
}

body#category #js-product-list .s_title_block a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  white-space: normal !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  text-overflow: ellipsis !important;
  font-family: var(--fs-font-sans) !important;
  font-size: clamp(1rem, 1.35vw, 1.14rem) !important;
  font-weight: 500 !important;
  line-height: 1.34 !important;
  color: var(--fs-ink) !important;
  text-transform: none !important;
  text-decoration: none !important;
}

body#category #js-product-list .s_title_block a:hover {
  color: var(--fs-ink-soft) !important;
  font-weight: 600 !important;
}

/* Prix TTC (tranche 2) */
body#category #js-product-list .product-price-and-shipping {
  margin: clamp(0.45rem, 1vw, 0.6rem) 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body#category #js-product-list .product-price-and-shipping .price {
  font-family: var(--fs-font-sans) !important;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem) !important;
  font-weight: 600 !important;
  color: var(--fs-ink) !important;
  letter-spacing: 0.03em !important;
}

body#category #js-product-list .product-price-and-shipping .tax_label {
  display: inline-block !important;
  margin-left: 0.4rem !important;
  font-family: var(--fs-font-sans) !important;
  font-size: 0.64rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--fs-gold) !important;
  vertical-align: middle !important;
  opacity: 0.9 !important;
}

/* CTA permanent « Découvrir » (tranche 2 : pill plus visible) */
body#category #js-product-list .act_box_cart {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: auto !important;
  padding-top: clamp(0.85rem, 1.5vw, 1.1rem) !important;
  text-align: center !important;
}

body#category #js-product-list .ajax_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  min-width: 9.5rem !important;
  padding: 0 1.65rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(196, 169, 154, 0.55) !important;
  background: linear-gradient(180deg, #efe0db 0%, var(--fs-blush) 100%) !important;
  color: var(--fs-ink) !important;
  font-family: var(--fs-font-sans) !important;
  font-size: 0 !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(26, 23, 22, 0.06) !important;
  transform: none !important;
  transition: background 0.25s var(--fs-ease), border-color 0.25s var(--fs-ease), box-shadow 0.25s var(--fs-ease) !important;
}

body#category #js-product-list .ajax_add_to_cart_button .hover_fly_btn_inner,
body#category #js-product-list .ajax_add_to_cart_button i,
body#category #js-product-list .ajax_add_to_cart_button span {
  display: none !important;
}

body#category #js-product-list .ajax_add_to_cart_button::after {
  content: "Découvrir";
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

body#category #js-product-list .ajax_add_to_cart_button:hover {
  background: #e2d0ca !important;
  border-color: var(--fs-nude) !important;
  color: var(--fs-ink) !important;
  box-shadow: 0 10px 24px rgba(26, 23, 22, 0.08) !important;
}

/* Tablette : 2 colonnes */
@media (max-width: 991px) {
  body#category {
    --fs-cat-grid-gap: clamp(1rem, 2.5vw, 1.35rem);
  }

  body#category #js-product-list .products.product_list.row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body#category #js-product-list .product_img_link {
    min-height: clamp(200px, 36vw, 280px) !important;
  }

  body#category #js-product-list .product_img_link img,
  body#category #js-product-list img.front-image,
  body#category #js-product-list .product_img_link .front-image {
    min-height: 0 !important;
  }

  body#category .fs-cat-hero-v2 {
    margin-bottom: 1.35rem !important;
  }
}

/* Mobile : 1 colonne */
@media (max-width: 767px) {
  body#category {
    --fs-cat-inner: 100%;
    --fs-cat-card-pad: 1.1rem;
    --fs-cat-grid-gap: 1.15rem;
  }

  body#category #js-product-list .products.product_list.row {
    grid-template-columns: 1fr !important;
    gap: var(--fs-cat-grid-gap) !important;
  }

  body#category #js-product-list-top.products-selection {
    border-radius: 18px !important;
    padding: 0.75rem 1rem !important;
  }

  body#category #js-product-list-top::before {
    display: none !important;
    content: none !important;
  }

  body#category #js-product-list .product_img_link {
    aspect-ratio: 4 / 5 !important;
    min-height: clamp(240px, 58vw, 340px) !important;
  }

  body#category #js-product-list .product_img_link img,
  body#category #js-product-list img.front-image,
  body#category #js-product-list .product_img_link .front-image {
    min-height: 0 !important;
    aspect-ratio: unset !important;
  }

  body#category #js-product-list .s_title_block a {
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    font-size: 1.05rem !important;
  }

  body#category #js-product-list .ajax_add_to_cart_button {
    width: 100% !important;
    max-width: 280px !important;
    min-height: 44px !important;
  }

  /* Hover fly désactivé mobile — CTA toujours visible */
  body#category #js-product-list .hover_fly {
    display: none !important;
  }
}

@media (max-width: 575px) {
  body#category #center_column {
    padding-inline: 1rem;
  }

  body#category .fs-cat-hero-v2__title {
    font-size: clamp(1.85rem, 8vw, 2.15rem) !important;
  }
}

/* --- Tranche finale : micro-finition UX (override customer-s1) --- */

/* Espacement header / fil d’Ariane / hero */
body#category #page_banner_container_1.breadcrumb_wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body#category .breadcrumb_spacing {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body#category section#notifications {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

body#category section#notifications .container {
  padding: 0 !important;
  min-height: 0 !important;
}

body#category .full_width_top_container,
body#category .full_width_top2_container,
body#category .wrapper_top_container {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

body#category .breadcrumb_nav {
  font-family: var(--fs-font-sans) !important;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(74, 69, 67, 0.5) !important;
  margin: 0 !important;
  padding: 0.35rem 0 0.15rem !important;
}

body#category .breadcrumb_nav a {
  color: rgba(74, 69, 67, 0.5) !important;
  text-decoration: none !important;
  transition: color 0.2s var(--fs-ease) !important;
}

body#category .breadcrumb_nav a:hover {
  color: var(--fs-gold) !important;
}

body#category .breadcrumb_nav .navigation-pipe {
  margin: 0 0.4em !important;
  opacity: 0.35 !important;
  font-weight: 300 !important;
}

body#category .breadcrumb_nav li:last-child span[itemprop="name"] {
  color: rgba(74, 69, 67, 0.72) !important;
}

body#category .fs-cat-hero-v2 {
  margin-top: clamp(0.35rem, 1vw, 0.65rem) !important;
  margin-bottom: clamp(0.85rem, 1.8vw, 1.35rem) !important;
}

/* Barre tri : libellé premium + style discret */
body#category #js-product-list-top.products-selection,
body#category #js-product-list-top {
  margin: clamp(0.65rem, 1.2vw, 1rem) 0 clamp(1rem, 1.8vw, 1.45rem) !important;
  min-height: 0 !important;
  padding: 0.5rem 0.95rem !important;
  gap: 0.5rem 0.85rem !important;
  background: rgba(253, 252, 250, 0.55) !important;
  border: 1px solid var(--fs-line) !important;
  box-shadow: none !important;
  font-size: inherit !important;
}

body#category #js-product-list-top.products-selection::before,
body#category #js-product-list-top::before {
  content: none !important;
  display: none !important;
}

body#category #js-product-list-top.products-selection::after,
body#category #js-product-list-top::after {
  display: none !important;
  content: none !important;
}

body#category #js-product-list-top .products-sort-order {
  font-size: inherit !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_tri,
body#category #js-product-list-top .products-sort-order .select-title,
body#category #js-product-list-top .products-sort-order .dropdown-toggle {
  min-width: 0 !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 0.85rem !important;
  font-family: var(--fs-font-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  color: var(--fs-ink-soft) !important;
  background: var(--fs-ivory) !important;
  border: 1px solid var(--fs-line) !important;
  box-shadow: none !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_tri:hover,
body#category #js-product-list-top .products-sort-order .select-title:hover,
body#category #js-product-list-top .products-sort-order .dropdown-toggle:hover {
  border-color: var(--fs-line-strong) !important;
  color: var(--fs-ink) !important;
}

/* Compteur PrestaShop masqué */
body#category #js-product-list .bottom_pagination.only_one_page .product_count,
body#category #js-product-list .product_count {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body#category #js-product-list .bottom_pagination.only_one_page {
  justify-content: flex-end !important;
  min-height: 0 !important;
  margin-top: 0.25rem !important;
  padding-top: 0 !important;
}

/* Pagination seule page inutile */
body#category nav.paginaton_sample.only_one_page,
body#category #js-product-list-top nav.paginaton_sample.only_one_page,
body#category #js-product-list .bottom_pagination.only_one_page nav[aria-label="Products pagination"],
body#category #js-product-list .bottom_pagination.only_one_page .pagination {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Mobile : masquer « Colonne gauche » (sidebar déjà masquée) */
body#category #switch_left_column_wrap,
body#category #switch_left_column,
body#category a#switch_left_column[data-name="left_column"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* --- Tranche tri premium (override customer-s1, tri fonctionnel) --- */

body#category #js-product-list-top.general_top_border,
body#category #js-product-list-top.general_bottom_border {
  border-top: none !important;
  border-bottom: none !important;
}

body#category #js-product-list-top.products-selection,
body#category #js-product-list-top {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 0.55rem clamp(1rem, 1.85vw, 1.45rem) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: clamp(0.5rem, 1vw, 0.8rem) 0 clamp(0.85rem, 1.5vw, 1.25rem) !important;
  padding: 0.4rem 0.8rem 0.4rem 0.95rem !important;
  border-radius: 999px !important;
  background: rgba(253, 252, 250, 0.88) !important;
  border: 1px solid var(--fs-line) !important;
  box-shadow: var(--fs-shadow-soft) !important;
  font-size: inherit !important;
  overflow: visible !important;
}

body#category #js-product-list-top.products-selection::before,
body#category #js-product-list-top::before {
  content: none !important;
  display: none !important;
}

body#category #js-product-list-top .products-sort-order.dropdown_wrap::before {
  content: none !important;
  display: none !important;
}

body#category #js-product-list-top nav.paginaton_sample,
body#category #js-product-list-top .paginaton_sample {
  margin-left: auto !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  padding-left: clamp(0.65rem, 1.2vw, 1rem) !important;
  margin-top: -1px !important;
}

body#category #js-product-list-top.products-selection::after,
body#category #js-product-list-top::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#category #js-product-list-top .products-sort-order.dropdown_wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-left: clamp(0.15rem, 0.45vw, 0.35rem) !important;
  font-size: inherit !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_tri,
body#category #js-product-list-top .products-sort-order .select-title,
body#category #js-product-list-top .products-sort-order .dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.4rem !important;
  min-width: clamp(8.25rem, 16vw, 10.25rem) !important;
  max-width: 100% !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 0.7rem 0 0.85rem !important;
  border-radius: 999px !important;
  background: var(--fs-ivory) !important;
  border: 1px solid var(--fs-line) !important;
  color: var(--fs-ink-soft) !important;
  font-family: var(--fs-font-sans) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(26, 23, 22, 0.045) !important;
  transition:
    border-color 0.22s var(--fs-ease),
    color 0.22s var(--fs-ease),
    box-shadow 0.22s var(--fs-ease),
    background 0.22s var(--fs-ease) !important;
  transform: none !important;
}

body#category #js-product-list-top .products-sort-order.open .dropdown_tri,
body#category #js-product-list-top .products-sort-order .dropdown_tri:hover,
body#category #js-product-list-top .products-sort-order .dropdown_tri:focus-visible {
  background: var(--fs-ivory) !important;
  border-color: var(--fs-line-strong) !important;
  color: var(--fs-ink) !important;
  box-shadow: 0 4px 16px rgba(26, 23, 22, 0.07) !important;
  transform: none !important;
}

body#category #js-product-list-top .products-sort-order.open .dropdown_tri {
  border-color: rgba(184, 149, 107, 0.38) !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_tri i,
body#category #js-product-list-top .products-sort-order .dropdown_tri .arrow {
  color: var(--fs-gold) !important;
  font-size: 0.55rem !important;
  margin-left: 0.15rem !important;
  opacity: 0.9 !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_tri .arrow_up {
  display: none !important;
}

body#category #js-product-list-top .products-sort-order.open .dropdown_tri .arrow_down {
  display: none !important;
}

body#category #js-product-list-top .products-sort-order.open .dropdown_tri .arrow_up {
  display: inline-block !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_list,
body#category #js-product-list-top .products-sort-order .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: auto !important;
  z-index: 120 !important;
  min-width: min(16rem, calc(100vw - 2.5rem)) !important;
  max-width: min(17.5rem, calc(100vw - 2rem)) !important;
  margin: 0 !important;
  padding: 0.35rem !important;
  border-radius: 14px !important;
  background: var(--fs-ivory) !important;
  border: 1px solid var(--fs-line-strong) !important;
  box-shadow: var(--fs-shadow-lift) !important;
  overflow: hidden !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_list_ul,
body#category #js-product-list-top .products-sort-order .dropdown_box {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_list_ul > li {
  margin: 0 !important;
  padding: 0 !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_list a,
body#category #js-product-list-top .products-sort-order .dropdown_list_item,
body#category #js-product-list-top .products-sort-order .dropdown-menu a,
body#category #js-product-list-top .products-sort-order .select-list {
  display: flex !important;
  align-items: center !important;
  gap: 0.2rem !important;
  padding: 0.4rem 0.62rem !important;
  margin: 0.08rem 0 !important;
  border-radius: 8px !important;
  color: var(--fs-ink-soft) !important;
  font-family: var(--fs-font-sans) !important;
  font-size: 0.68rem !important;
  font-weight: 450 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  border: none !important;
  background: transparent !important;
  transition: background 0.18s var(--fs-ease), color 0.18s var(--fs-ease) !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_list a:hover,
body#category #js-product-list-top .products-sort-order .dropdown_list_item:hover,
body#category #js-product-list-top .products-sort-order .dropdown-menu a:hover,
body#category #js-product-list-top .products-sort-order .select-list:hover {
  background: rgba(245, 240, 234, 0.95) !important;
  color: var(--fs-ink) !important;
  padding-left: 0.62rem !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_list_item.current,
body#category #js-product-list-top .products-sort-order .dropdown_list a.current {
  background: rgba(184, 149, 107, 0.14) !important;
  color: var(--fs-ink) !important;
  font-weight: 550 !important;
}

body#category #js-product-list-top .products-sort-order .dropdown_list_item i,
body#category #js-product-list-top .products-sort-order .dropdown_list_item .fto-angle-right,
body#category #js-product-list-top .products-sort-order .dropdown_list a i {
  display: none !important;
}

@media (max-width: 767px) {
  body#category #js-product-list-top.products-selection,
  body#category #js-product-list-top {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    border-radius: 16px !important;
    padding: 0.5rem 0.7rem !important;
    gap: 0.4rem !important;
  }

  body#category #js-product-list-top .fs-cat-toolbar-filter {
    order: 1;
    flex: 1 1 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding-right: 0 !important;
    border-right: none !important;
  }

  body#category #js-product-list-top .fs-cat-facets-trigger {
    width: 100%;
    justify-content: space-between;
    min-height: 2.15rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  body#category #js-product-list-top .fs-cat-filter-search {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  body#category #js-product-list-top .fs-cat-filter-search__label {
    display: none;
  }

  body#category #js-product-list-top .products-sort-order.dropdown_wrap {
    order: 2;
    flex: 1 1 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
  }

  body#category #js-product-list-top .products-sort-order.dropdown_wrap::before {
    width: auto !important;
    margin-bottom: 0 !important;
  }

  body#category #js-product-list-top .products-sort-order.dropdown_wrap {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  body#category #js-product-list-top .products-sort-order .dropdown_tri,
  body#category #js-product-list-top .products-sort-order .select-title,
  body#category #js-product-list-top .products-sort-order .dropdown-toggle {
    width: 100% !important;
    min-width: 0 !important;
  }

  body#category #js-product-list-top .products-sort-order .dropdown_list,
  body#category #js-product-list-top .products-sort-order .dropdown-menu {
    left: 0 !important;
    right: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* === GO test — centrage H+V canvas image (sans scale, réversible) === */
body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  text-align: center !important;
  overflow: hidden !important;
}

body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: unset !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: center !important;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
}

body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link .back_image_pic,
body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link picture.back_image_pic {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link .front_image_pic,
body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link picture.front_image_pic {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  flex: 1 1 auto !important;
}

body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link .back_image_pic img,
body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link .back-image {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link img,
body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link img.front-image,
body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link .front-image,
body#category #js-product-list .ajax_block_product .pro_outer_box .pro_first_box .product_img_link .front_image_pic img,
body#category #js-product-list .ajax_block_product img.front-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  margin: auto !important;
  padding: 0 !important;
  float: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: none !important;
  flex: 0 1 auto !important;
  align-self: center !important;
}

body#category #js-product-list .ajax_block_product:hover .pro_outer_box .pro_first_box .product_img_link img,
body#category #js-product-list .ajax_block_product:hover .pro_outer_box .pro_first_box .product_img_link .front-image,
body#category #js-product-list .ajax_block_product:hover img.front-image {
  transform: none !important;
  filter: none !important;
}

/* === GO micro-finition — densité bas carte + hover homepage (réversible) === */
body#category {
  --fs-cat-card-pad-bottom: clamp(0.65rem, 1.1vw, 0.85rem);
}

body#category #js-product-list .pro_outer_box {
  padding: var(--fs-cat-card-pad) var(--fs-cat-card-pad) var(--fs-cat-card-pad-bottom) !important;
}

body#category #js-product-list .pro_second_box {
  flex: 0 1 auto !important;
  padding: 0 clamp(0.15rem, 0.5vw, 0.35rem) clamp(0.2rem, 0.5vw, 0.35rem) !important;
  border-radius: 0 0 clamp(6px, 0.85vw, 10px) clamp(6px, 0.85vw, 10px) !important;
  transition: background-color 0.4s var(--fs-ease) !important;
}

body#category #js-product-list .mini_name {
  margin-bottom: clamp(0.4rem, 0.85vw, 0.55rem) !important;
}

body#category #js-product-list .product-price-and-shipping {
  margin: clamp(0.35rem, 0.75vw, 0.5rem) 0 0 !important;
}

body#category #js-product-list .act_box_cart {
  margin-top: clamp(0.5rem, 0.9vw, 0.65rem) !important;
  padding-top: clamp(0.45rem, 0.8vw, 0.55rem) !important;
  padding-bottom: 0 !important;
}

/* Hover — cohérent Sélection homepage (#easycontent_68) */
body#category #js-product-list .ajax_block_product:hover .pro_outer_box,
body#category #js-product-list .pro_outer_box:hover {
  transform: translateY(-3px) !important;
  border-color: var(--fs-line-strong) !important;
  box-shadow: var(--fs-shadow-lift) !important;
}

body#category #js-product-list .ajax_block_product:hover .pro_second_box,
body#category #js-product-list .pro_outer_box:hover .pro_second_box {
  background: rgba(245, 240, 234, 0.58) !important;
}

body#category #js-product-list .ajax_block_product:hover .s_title_block a,
body#category #js-product-list .pro_outer_box:hover .s_title_block a {
  color: var(--fs-ink-soft) !important;
  font-weight: 600 !important;
}

body#category #js-product-list .ajax_block_product:hover .front-image,
body#category #js-product-list .ajax_block_product:hover img.front-image {
  transform: none !important;
  filter: none !important;
}

@media (max-width: 767px) {
  body#category {
    --fs-cat-card-pad-bottom: 0.75rem;
  }

  body#category #js-product-list .ajax_block_product:hover .pro_outer_box,
  body#category #js-product-list .pro_outer_box:hover {
    transform: none !important;
    box-shadow: var(--fs-shadow-soft) !important;
  }

  body#category #js-product-list .ajax_block_product:hover .pro_second_box,
  body#category #js-product-list .pro_outer_box:hover .pro_second_box {
    background: transparent !important;
  }
}

/* === GO zone info — placement vertical + clic fiche (sans CTA panier, réversible) === */
body#category #js-product-list .act_box_cart,
body#category #js-product-list .act_box_inner {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

body#category #js-product-list .pro_second_box {
  flex: 1 1 auto !important;
  min-height: clamp(5.25rem, 11vw, 6.5rem) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: clamp(0.7rem, 1.25vw, 0.95rem) clamp(0.15rem, 0.5vw, 0.35rem) clamp(1rem, 1.6vw, 1.3rem) !important;
  cursor: pointer !important;
  position: relative !important;
}

body#category #js-product-list .pro_second_box .mini_name,
body#category #js-product-list .pro_second_box .pro_kuan_box {
  width: 100% !important;
  flex: 0 0 auto !important;
}

body#category #js-product-list .pro_second_box .s_title_block a {
  position: relative !important;
  z-index: 1 !important;
}

body#category #js-product-list .pro_second_box .product-price-and-shipping {
  position: relative !important;
  z-index: 1 !important;
  margin: clamp(0.38rem, 0.78vw, 0.52rem) 0 0 !important;
}

body#category #js-product-list .pro_second_box .mini_name {
  margin-bottom: clamp(0.35rem, 0.72vw, 0.48rem) !important;
}

body#category #js-product-list .pro_second_box a.add_to_love,
body#category #js-product-list .pro_second_box .btn_inline,
body#category #js-product-list .pro_second_box .st-wishlist-button {
  position: relative !important;
  z-index: 2 !important;
  cursor: pointer !important;
}

/* --- Tranche 1B : facettes serveur premium --- */

/* Hint sous la toolbar : voir #fs-cat-facets-mount > .fs-cat-filter__hint */

body#category .fs-cat-active-filters-wrap {
  margin: 0 0 0.85rem;
}

body#category .fs-cat-active-filters--empty,
body#category .fs-cat-active-filters-wrap:empty {
  display: none !important;
}

body#category .fs-cat-active-filters-wrap:not(:has(.fs-cat-chip)) {
  margin-bottom: 0;
}

body#category .fs-cat-active-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

body#category .fs-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(184, 149, 107, 0.28);
  border-radius: 999px;
  background: rgba(253, 252, 250, 0.92);
  font-family: var(--fs-font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--fs-ink-soft);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s var(--fs-ease), background 0.18s var(--fs-ease);
}

body#category button.fs-cat-chip {
  appearance: none;
}

body#category .fs-cat-chip:hover {
  border-color: rgba(184, 149, 107, 0.5);
  background: #fff;
  color: var(--fs-ink);
}

body#category .fs-cat-chip__facet {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fs-gold);
}

body#category .fs-cat-chip--clear {
  border-style: dashed;
  background: transparent;
  color: rgba(74, 69, 67, 0.62);
}

body#category .fs-cat-facets-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(26, 23, 22, 0.38);
  backdrop-filter: blur(2px);
}

body#category .fs-cat-facets-backdrop[hidden] {
  display: none !important;
}

body#category #fs-cat-facets-mount {
  position: relative;
  display: flex;
  flex-direction: column;
}

body#category .fs-cat-facets-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: auto;
  z-index: 1050;
  width: min(22rem, calc(100vw - 2rem));
  margin: 0;
  flex-shrink: 0;
}

body#category .fs-cat-facets-panel[hidden] {
  display: none !important;
}

body#category .fs-cat-facets-panel__sheet {
  border: 1px solid var(--fs-line);
  border-radius: 20px;
  background: rgba(253, 252, 250, 0.96);
  box-shadow: var(--fs-shadow-soft);
  overflow: hidden;
}

body#category .fs-cat-facets-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid var(--fs-line);
}

body#category .fs-cat-facets-panel__title {
  margin: 0;
  font-family: var(--fs-font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fs-ink);
}

body#category .fs-cat-facets-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--fs-ink-soft);
  cursor: pointer;
}

body#category .fs-cat-facets-panel__body {
  padding: 0.85rem 1rem 1rem;
}

body#category .fs-cat-facets-panel__footer {
  display: none;
  gap: 0.55rem;
  padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--fs-line);
  background: rgba(245, 240, 234, 0.55);
}

body#category .fs-cat-facets-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--fs-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}

body#category .fs-cat-facets-btn--primary {
  flex: 1 1 auto;
  background: var(--fs-ink);
  color: #fff;
}

body#category .fs-cat-facets-btn--ghost {
  background: transparent;
  border-color: var(--fs-line-strong);
  color: var(--fs-ink-soft);
}

body#category .fs-cat-facets .sticky_facet_title,
body#category .fs-cat-facets .facet-title,
body#category .fs-cat-facets .dropdown_wrap.facet_dropdown_item {
  display: none !important;
}

body#category .fs-cat-facet {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--fs-line);
}

body#category .fs-cat-facet:last-child {
  border-bottom: none;
}

body#category .fs-cat-facet__title {
  margin: 0 0 0.65rem;
  font-family: var(--fs-font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fs-gold);
}

body#category .fs-cat-facet__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
}

body#category .fs-cat-facet__option {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  padding: 0.35rem 0.15rem;
  cursor: pointer;
}

body#category .fs-cat-facet__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body#category .fs-cat-facet__checkbox,
body#category .fs-cat-facet__radio {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  border: 1px solid var(--fs-line-strong);
  border-radius: 0.22rem;
  background: #fff;
  position: relative;
}

body#category .fs-cat-facet__radio {
  border-radius: 50%;
}

body#category .fs-cat-facet__option.is-active .fs-cat-facet__checkbox,
body#category .fs-cat-facet__option.is-active .fs-cat-facet__radio,
body#category .fs-cat-facet__input:checked + .fs-cat-facet__checkbox,
body#category .fs-cat-facet__input:checked + .fs-cat-facet__radio {
  border-color: var(--fs-gold);
  background: rgba(184, 149, 107, 0.14);
}

body#category .fs-cat-facet__text {
  font-family: var(--fs-font-sans);
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--fs-ink-soft);
}

body#category .fs-cat-facet__count {
  color: rgba(74, 69, 67, 0.45);
  font-size: 0.66rem;
}

body#category .fs-cat-facet__range-label {
  margin: 0 0 0.55rem;
  font-family: var(--fs-font-sans);
  font-size: 0.74rem;
  color: var(--fs-ink-soft);
}

body#category .fs-cat-facet--price .fs-cat-facet__slider {
  display: block;
  padding: 0.1rem 0.35rem 0.75rem;
  min-height: 2.35rem;
  overflow: visible;
}

body#category .fs-cat-facet__range-track {
  display: block;
  width: calc(100% - 0.35rem);
  margin: 0.35rem 0.5rem 0.15rem;
  min-height: 6px;
}

body#category .fs-cat-facet__range-track.ui-slider {
  height: 6px;
  min-height: 6px;
  border: none;
  border-radius: 999px;
  background: rgba(184, 149, 107, 0.22);
}

body#category .fs-cat-facet__range-track .ui-slider-range {
  background: var(--fs-gold);
}

body#category .fs-cat-facet__range-track .ui-slider-handle {
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -0.5rem;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--fs-gold);
  box-shadow: 0 2px 8px rgba(26, 23, 22, 0.12);
}

@media (min-width: 768px) {
  body#category .fs-cat-facets-panel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: 1;
    width: 100%;
    max-width: 38rem;
    margin: 0.75rem 0 0.35rem;
  }

  body#category.fs-cat-facets-open .fs-cat-facets-panel {
    display: block !important;
  }

  body#category .fs-cat-facets-panel[hidden] {
    display: none !important;
  }

  body#category.fs-cat-facets-open #fs-cat-facets-mount {
    margin-bottom: 0.25rem;
  }

  body#category.fs-cat-facets-open #js-product-list-top.products-selection {
    margin-bottom: 0.55rem !important;
  }

  body#category .fs-cat-facets-panel__sheet {
    box-shadow: 0 10px 28px rgba(26, 23, 22, 0.07);
  }

  body#category .fs-cat-facets-backdrop {
    display: none !important;
  }

  body#category .fs-cat-facets-panel__close {
    display: none;
  }

}

/* Prix : masqué par défaut — visible uniquement après init visuelle (.fs-cat-facet--price-ready) */
body#category .fs-cat-facet--price {
  display: none !important;
}

body#category .fs-cat-facet--price.fs-cat-facet--price-ready {
  display: block !important;
}

body#category .fs-cat-facet--price.fs-cat-facet--price-empty:not(.fs-cat-facet--price-ready),
body#category .fs-cat-facet--price[hidden]:not(.fs-cat-facet--price-ready) {
  display: none !important;
}

/* Mesure + init jQuery UI hors écran (évite width=0 tant que display:none) */
body#category .fs-cat-facet--price.fs-cat-facet--price-pending {
  display: block !important;
  position: fixed;
  left: -10000px;
  top: 0;
  width: min(38rem, calc(100vw - 2rem));
  visibility: visible;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 767px) {
  body#category #fs-cat-facets-mount > .fs-cat-filter__hint {
    margin: -0.35rem 0 0.45rem;
    padding-left: 0.65rem;
    font-size: 0.58rem;
  }

  body#category .fs-cat-facets-panel {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1050;
    margin: 0;
    pointer-events: none;
  }

  body#category .fs-cat-facets-panel:not([hidden]) {
    pointer-events: auto;
  }

  body#category .fs-cat-facets-panel__sheet {
    border-radius: 20px 20px 0 0;
    max-height: min(82vh, 640px);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.28s var(--fs-ease);
  }

  body#category.fs-cat-facets-open .fs-cat-facets-panel__sheet {
    transform: translateY(0);
  }

  body#category .fs-cat-facets-panel__body {
    overflow: auto;
    flex: 1 1 auto;
  }

  body#category .fs-cat-facets-panel__footer {
    display: flex;
  }

  body#category .fs-cat-facet__list {
    grid-template-columns: 1fr;
  }
}
