/* F2M Recherche : page de résultats, page « aucun résultat » et barre de filtres des catégories.
   Repris de la maquette validée (V4). Les cartes produits restent celles des listings du site (content-product.php). */

.f2m-r {
  --f2m-bg: #fffbf8; --f2m-surface: #fff; --f2m-blush: #fbf0eb; --f2m-blush-2: #f6e3da; --f2m-sand: #f5eee9; --f2m-sand-2: #ede3dc;
  --f2m-cream: #fff4d9; --f2m-mist: #edf2ee; --f2m-fg: #3a2620; --f2m-text: #4a3c37; --f2m-muted: #735f58; --f2m-rose: #bb7874;
  --f2m-rose-ink: #9c524d; --f2m-accent: #ffdb78; --f2m-accent-deep: #f6c443; --f2m-line: rgba(58, 38, 32, 0.1); --f2m-line-strong: rgba(58, 38, 32, 0.18);
  --f2m-display: "Exo", ui-sans-serif, sans-serif; --f2m-text-f: "Quicksand", ui-sans-serif, sans-serif;
  --f2m-ease: cubic-bezier(0.16, 1, 0.3, 1); --f2m-swift: cubic-bezier(0.2, 0, 0, 1); --f2m-soft: cubic-bezier(0.22, 1, 0.36, 1); --f2m-fast: 240ms;
  --f2m-lift: 0 1px 2px rgba(58, 38, 32, 0.05), 0 12px 26px -16px rgba(58, 38, 32, 0.32);
  --f2m-float: 0 2px 6px rgba(58, 38, 32, 0.06), 0 44px 90px -40px rgba(58, 38, 32, 0.55);
  --f2m-wrap: min(100% - 48px, 1600px);
  color: var(--f2m-text); font: 500 15px/1.55 var(--f2m-text-f);
}
.f2m-r *, .f2m-fsheet * { box-sizing: border-box; }
/* Catégories et boutique : la section Elementor des modèles est une boîte de 1 500 px à marges intérieures ; libérée, la barre
   et la grille prennent la même largeur que la bulle d'intro et les sous-catégories (--f2m-wrap, sur toute la page). */
.elementor-top-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-f2m-results) > .elementor-container { max-width: none !important; padding-inline: 0 !important; }
.elementor-top-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-f2m-results) > .elementor-container > .elementor-column > .elementor-widget-wrap { padding-inline: 0 !important; }
.e-con:has(> .e-con-inner > .elementor-widget-f2m-results) > .e-con-inner { max-width: none !important; padding-inline: 0 !important; }
.f2m-r img { display: block; max-width: 100%; }
.f2m-r a { text-decoration: none; }
.f2m-r :is(button, .f2m-btn) { font-family: var(--f2m-text-f) !important; text-transform: none; letter-spacing: normal; }
.f2m-r .f2m-i, .f2m-fsheet .f2m-i { width: 1em; height: 1em; flex: none; display: block; }
.f2m-r .f2m-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.f2m-r .f2m-avatar { width: 40px; height: 40px; border-radius: 999px; overflow: hidden; flex: none; background: var(--f2m-blush-2); }
.f2m-r .f2m-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- En-tête des résultats ---------- */
.f2m-r .f2m-crumbs { display: flex; gap: 8px; font: 600 15px/1.5 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-r .f2m-crumbs a { color: var(--f2m-text); }
.f2m-r .f2m-crumbs a:hover { color: var(--f2m-rose-ink); }
.f2m-r-head { width: var(--f2m-wrap); margin: 20px auto 0; padding: 14px 24px 16px; border-radius: 28px; background: var(--f2m-blush); }
.f2m-r-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 2px; }
.f2m-r-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 6px; }
.f2m-r-title h1 { margin: 0; font: 600 34px/1.15 var(--f2m-display); color: var(--f2m-fg); letter-spacing: -0.01em; text-wrap: balance; }
.f2m-r-q { color: var(--f2m-rose); }
.f2m-r-q::before { content: "«\202F"; }
.f2m-r-q::after { content: "\202F»"; }
.f2m-r-sub { margin: 0; font: 600 15px/1.4 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-r-sub strong { color: var(--f2m-fg); }
.f2m-r-makers { margin-left: auto; display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--f2m-surface); color: var(--f2m-fg); transition: transform 420ms var(--f2m-ease), box-shadow var(--f2m-fast); }
.f2m-r-makers:hover { transform: translateY(-2px); box-shadow: var(--f2m-lift); color: var(--f2m-fg); }
.f2m-stack { display: flex; }
.f2m-r-makers .f2m-avatar { width: 40px; height: 40px; box-shadow: 0 0 0 2.5px var(--f2m-surface); }
.f2m-r-makers .f2m-avatar + .f2m-avatar { margin-left: -12px; }
.f2m-rm-tx { display: grid; gap: 2px; }
.f2m-rm-n { font: 700 15px/1.2 var(--f2m-text-f); color: var(--f2m-fg); }
.f2m-rm-names { font: 600 13px/1.3 var(--f2m-text-f); color: var(--f2m-muted); max-width: 32ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f2m-r-makers > .f2m-i { font-size: 16px; transition: transform var(--f2m-fast) var(--f2m-ease); }
.f2m-r-makers:hover > .f2m-i { transform: translateX(3px); }
.f2m-notice { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--f2m-cream); font: 600 15px/1.3 var(--f2m-text-f); color: var(--f2m-text); }
.f2m-notice strong { color: var(--f2m-fg); }
.f2m-notice a { color: var(--f2m-rose-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Barre de filtres ---------- */
/* Le CSS additionnel du site (html, body { overflow-x: hidden !important; overflow-y: auto }) neutralise position: sticky :
   clip masque le débordement pareil sans créer de zone de défilement. */
html:has(.f2m-r), html:has(.f2m-r) body { overflow-x: clip !important; overflow-y: visible !important; }
.f2m-toolbar-wrap { position: sticky; top: var(--f2m-sticky, 0px); z-index: 30; margin-top: 12px; padding: 10px 0; transition: background-color 300ms var(--f2m-ease), box-shadow 300ms var(--f2m-ease); }
.f2m-toolbar-wrap::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: rgba(255, 251, 248, 0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--f2m-line), 0 14px 26px -22px rgba(58, 38, 32, 0.38); opacity: 0; transition: opacity 320ms var(--f2m-ease); pointer-events: none; }
.f2m-toolbar-wrap.is-stuck::before { opacity: 1; }
.f2m-toolbar { width: var(--f2m-wrap); margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.f2m-pills { display: flex; gap: 8px; min-width: 0; flex-wrap: nowrap; }
.f2m-r .f2m-pill { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 5px; border: 0; border-radius: 999px; background: var(--f2m-surface); white-space: nowrap; font: 700 15px/1 var(--f2m-text-f); color: var(--f2m-fg); box-shadow: inset 0 0 0 1px var(--f2m-line); cursor: pointer; transition: background-color var(--f2m-fast) var(--f2m-ease), transform 380ms var(--f2m-soft), box-shadow var(--f2m-fast) var(--f2m-ease); }
.f2m-r .f2m-pill[data-f2m-extra] { display: none; }
.f2m-r .f2m-pill .f2m-pl { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.f2m-r .f2m-pill .f2m-pt { width: 32px; height: 32px; border-radius: 999px; overflow: hidden; background: var(--f2m-sand); flex: none; }
.f2m-r .f2m-pill .f2m-pt img { width: 100%; height: 100%; object-fit: cover; }
.f2m-r .f2m-pill:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--f2m-line-strong), var(--f2m-lift); color: var(--f2m-fg); }
.f2m-r .f2m-pill:active { transform: translateY(0) scale(0.97); }
.f2m-r .f2m-pill.is-on { background: var(--f2m-fg); color: var(--f2m-bg); box-shadow: none; }
.f2m-r .f2m-pill.f2m-more-pill { padding: 0 16px; background: var(--f2m-sand); box-shadow: none; }
.f2m-sep { width: 1px; height: 26px; background: var(--f2m-line-strong); margin: 0 6px; flex: none; }
.f2m-fwrap { position: relative; flex: none; }
.f2m-r .f2m-fbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 18px; border: 0; border-radius: 999px; background: var(--f2m-sand); font: 700 15px/1 var(--f2m-text-f); color: var(--f2m-fg); cursor: pointer; transition: background-color var(--f2m-fast) var(--f2m-ease), color var(--f2m-fast) var(--f2m-ease); }
.f2m-r .f2m-fbtn .f2m-i { font-size: 13px; color: var(--f2m-muted); transition: transform 380ms var(--f2m-soft), color var(--f2m-fast); }
.f2m-r .f2m-fbtn:hover { background: var(--f2m-sand-2); color: var(--f2m-fg); }
.f2m-r .f2m-fbtn[aria-expanded="true"], .f2m-r .f2m-fbtn.has-value { background: var(--f2m-fg); color: var(--f2m-bg); }
.f2m-r .f2m-fbtn[aria-expanded="true"] .f2m-i, .f2m-r .f2m-fbtn.has-value .f2m-i { color: var(--f2m-bg); }
.f2m-r .f2m-fbtn[aria-expanded="true"] .f2m-i { transform: rotate(180deg); }
.f2m-fbtn .f2m-fn { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--f2m-accent); color: var(--f2m-fg); font-size: 12px; }
.f2m-sorter { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; font: 600 15px/1 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-r .f2m-sorter .f2m-fbtn { gap: 22px; background: var(--f2m-surface); box-shadow: inset 0 0 0 1px var(--f2m-line-strong); }
.f2m-r .f2m-sorter .f2m-fbtn:hover { box-shadow: inset 0 0 0 1px var(--f2m-fg); background: var(--f2m-sand); color: var(--f2m-fg); }
.f2m-r .f2m-sorter .f2m-fbtn[aria-expanded="true"] { background: var(--f2m-fg); }
.f2m-mbtns { display: none; }
.f2m-count-m { display: none; }

.f2m-dd { position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; width: 360px; padding: 8px; border-radius: 22px; background: var(--f2m-surface); box-shadow: var(--f2m-float), 0 0 0 1px var(--f2m-line); opacity: 0; translate: 0 -8px; scale: 0.98; transform-origin: 20% 0; pointer-events: none; visibility: hidden; transition: opacity 240ms var(--f2m-ease), translate 420ms var(--f2m-ease), scale 420ms var(--f2m-ease), visibility 0s linear 420ms; }
.f2m-sorter + .f2m-pp { margin-left: 4px; }
.f2m-r .f2m-pp .f2m-fbtn { gap: 14px; }
.f2m-sorter.f2m-pp .f2m-dd { width: 200px; }
.f2m-sorter .f2m-dd { left: auto; right: 0; width: 260px; transform-origin: 80% 0; }
.f2m-fwrap.is-flip .f2m-dd { left: auto; right: 0; transform-origin: 80% 0; }
.f2m-fbtn[aria-expanded="true"] + .f2m-dd { opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.f2m-dd-search { display: flex; align-items: center; gap: 10px; height: 44px; margin: 2px 2px 6px; padding: 0 14px; border-radius: 999px; background: var(--f2m-sand); color: var(--f2m-muted); transition: box-shadow var(--f2m-fast), background-color var(--f2m-fast); }
.f2m-dd-search:focus-within { background: var(--f2m-surface); box-shadow: inset 0 0 0 2px var(--f2m-rose-ink); }
.f2m-r .f2m-dd-search input { flex: 1; min-width: 0; height: auto; margin: 0; padding: 0 !important; border: 0 !important; outline: 0; background: none !important; box-shadow: none !important; font: 600 15px/1 var(--f2m-text-f); color: var(--f2m-fg); }
.f2m-dd-scroll { max-height: 300px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.f2m-r .f2m-dd-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: none; font: 600 15px/1.2 var(--f2m-text-f); color: var(--f2m-fg); text-align: left; cursor: pointer; transition: background-color var(--f2m-fast); }
/* Ligne écartée par le champ de recherche du menu (attribut hidden) : display: flex ci-dessus l'emporterait sur lui. */
.f2m-r .f2m-dd-row[hidden], .f2m-fsheet .f2m-dd-row[hidden] { display: none; }
.f2m-r .f2m-dd-row:hover, .f2m-r .f2m-dd-row:focus-visible { background: var(--f2m-blush); color: var(--f2m-fg); }
.f2m-dd-row .f2m-dl { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.f2m-dd-row .f2m-dl span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.f2m-dd-row .f2m-box { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--f2m-line-strong); display: grid; place-items: center; color: var(--f2m-bg); font-size: 13px; flex: none; transition: background-color var(--f2m-fast), box-shadow var(--f2m-fast), transform 300ms var(--f2m-soft); }
.f2m-dd-row[aria-checked="true"] .f2m-box, .f2m-dd-row[aria-selected="true"] .f2m-box { background: var(--f2m-fg); box-shadow: none; transform: scale(1.08); }
.f2m-dd-row .f2m-box .f2m-i { opacity: 0; }
.f2m-dd-row[aria-checked="true"] .f2m-box .f2m-i, .f2m-dd-row[aria-selected="true"] .f2m-box .f2m-i { opacity: 1; }
.f2m-dd-row .f2m-n { margin-left: auto; color: var(--f2m-muted); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.f2m-dd-row .f2m-avatar { width: 26px; height: 26px; }
.f2m-sw { width: 18px; height: 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(58, 38, 32, 0.12); flex: none; }
.f2m-price { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; padding: 8px 6px 4px; }
/* Le tiret se centre sur les champs, pas sur « Minimum » + champ. */
:is(.f2m-price, .f2m-fsheet .f2m-price) > span { display: grid; place-items: center; height: 44px; font: 600 15px/1 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-price label { display: grid; gap: 6px; font: 700 13px/1 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-r .f2m-price input { width: 100%; height: 44px; margin: 0; padding: 0 14px !important; border: 0 !important; border-radius: 12px; background: var(--f2m-sand) !important; box-shadow: none !important; font: 700 15px/1 var(--f2m-text-f); color: var(--f2m-fg); }
.f2m-r .f2m-price input:focus { outline: 2px solid var(--f2m-rose-ink); outline-offset: 0; background: var(--f2m-surface) !important; }
.f2m-price input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.f2m-price input[type="number"]::-webkit-inner-spin-button, .f2m-price input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.f2m-price-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px 6px 2px; }
.f2m-r .f2m-price-presets button { width: 100%; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--f2m-sand); font: 700 13px/1 var(--f2m-text-f); color: var(--f2m-fg); cursor: pointer; transition: background-color var(--f2m-fast); }
.f2m-r .f2m-price-presets button:hover { background: var(--f2m-accent); color: var(--f2m-fg); }
.f2m-dd-foot { display: flex; gap: 8px; padding: 10px 2px 2px; border-top: 1px solid var(--f2m-line); margin-top: 6px; }
.f2m-r .f2m-dd-foot button { height: 42px; border-radius: 999px; border: 0; cursor: pointer; font: 700 15px/1 var(--f2m-text-f); transition: background-color var(--f2m-fast); }
.f2m-r .f2m-dd-foot .f2m-ghost-btn { padding: 0 16px; background: none; color: var(--f2m-fg); }
.f2m-r .f2m-dd-foot .f2m-ghost-btn:hover { background: var(--f2m-sand); color: var(--f2m-fg); }
.f2m-r .f2m-dd-foot .f2m-fill-btn { flex: 1; background: var(--f2m-accent); color: var(--f2m-fg); }
.f2m-r .f2m-dd-foot .f2m-fill-btn:hover { background: var(--f2m-accent-deep); color: var(--f2m-fg); }

.f2m-active { width: var(--f2m-wrap); margin: 8px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f2m-active:empty { display: none; }
.f2m-r .f2m-tag { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 14px; border: 0; border-radius: 999px; background: var(--f2m-cream); font: 700 13px/1 var(--f2m-text-f); color: var(--f2m-fg); cursor: pointer; animation: f2m-pop 360ms var(--f2m-soft); }
.f2m-r .f2m-tag .f2m-i { font-size: 12px; }
.f2m-r .f2m-tag:hover { background: var(--f2m-accent); color: var(--f2m-fg); }
.f2m-r .f2m-tag-clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
@keyframes f2m-pop { from { opacity: 0; scale: 0.9; } to { opacity: 1; scale: 1; } }

/* ---------- Grille : les cartes des listings, réglages du widget Produits des catégories (gabarit 304) ---------- */
.f2m-r .f2m-r-products { width: var(--f2m-wrap); margin: 22px auto 0; transition: opacity 260ms var(--f2m-ease), filter 260ms var(--f2m-ease); }
.f2m-r .f2m-r-products.is-loading { opacity: 0.45; filter: saturate(0.7); pointer-events: none; }
.f2m-r .elementor-element.f2m-r-products.elementor-wc-products ul.products { grid-column-gap: 15px; grid-row-gap: 25px; margin: 0; }
.f2m-r .elementor-element.f2m-r-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title { color: var(--e-global-color-accent); font-family: "Exo", Sans-serif; font-size: 0.9em !important; font-weight: 300; padding: 0 !important; }
.f2m-r .elementor-element.f2m-r-products.elementor-wc-products ul.products li.product .button { background-color: var(--e-global-color-beee895); }
.f2m-r .elementor-element.f2m-r-products bdi { color: var(--e-global-color-accent); font-family: "Exo", Sans-serif; font-size: 1.4em; font-weight: 500; }
.f2m-r .elementor-element.f2m-r-products .wcfmmp_sold_by_wrapper a { color: #3E3E3E !important; }
@media (max-width: 1024px) { .f2m-r .elementor-element.f2m-r-products.elementor-wc-products ul.products { grid-column-gap: 20px; grid-row-gap: 40px; } }

/* ---------- Cartes produits : un seul rayon, survol, créateur cliquable, carte entière cliquable, favoris ---------- */
.f2m-r { --f2m-card-r: 12px; --f2m-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 7.9 3.6 4.5 7 4.5c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.4 0 5.6 3.4 4.3 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E"); --f2m-heart-o: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 7.9 3.6 4.5 7 4.5c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.4 0 5.6 3.4 4.3 6.8-1.8 4.6-9.3 9.2-9.3 9.2z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); padding-bottom: 72px; }
.f2m-r ul.products li.product { min-width: 0; transition: transform 560ms var(--f2m-soft); }
.f2m-r ul.products li.product .produit_contenu { position: relative; }
.f2m-r ul.products li.product img.attachment-woocommerce_thumbnail { border-radius: var(--f2m-card-r); transition: box-shadow 480ms var(--f2m-ease); }
.f2m-r .elementor-element.f2m-r-products.elementor-wc-products ul.products li.product .button, .f2m-r ul.products li.product .produit_contenu div.button { border-radius: var(--f2m-card-r) !important; }
.f2m-r ul.products li.product .woocommerce-loop-product__title { transition: color 260ms var(--f2m-ease); }
@media (hover: hover) {
  .f2m-r ul.products li.product:hover { transform: translateY(-4px); }
  .f2m-r ul.products li.product:hover img.attachment-woocommerce_thumbnail { box-shadow: 0 22px 34px -24px rgba(58, 38, 32, 0.45); }
  .f2m-r .elementor-element.f2m-r-products.elementor-wc-products ul.products li.product:hover .woocommerce-loop-product__title { color: var(--f2m-rose-ink); }
}
/* Toute la carte mène à la création ; le bouton, le cœur et le créateur restent cliquables au-dessus. */
.f2m-r ul.products li.product a.woocommerce-LoopProduct-link { position: static; }
.f2m-r ul.products li.product a.woocommerce-LoopProduct-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--f2m-card-r); }
.f2m-r ul.products li.product .produit_contenu > a.button { position: relative; z-index: 2; }
/* Créateur sous le prix (le CSS additionnel du site le masque sur les archives de type produit). */
.f2m-r ul.products li.product .wcfmmp_sold_by_container { display: block !important; order: 99; width: 100%; margin-top: 2px; }
.f2m-r ul.products li.product .wcfmmp_sold_by_wrapper { display: inline-block !important; position: relative; width: auto !important; max-width: 100%; padding: 0 !important; vertical-align: top; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 500 12.5px/24px var(--f2m-text-f) !important; color: var(--f2m-muted) !important; }
.f2m-r ul.products li.product .wcfmmp_sold_by_wrapper::before { content: "par "; font-weight: 400; }
.f2m-r ul.products li.product .wcfmmp_sold_by_wrapper:has(.f2m-by-av) { padding-left: 27px !important; }
/* Photo du créateur, comme dans le panneau de suggestions (.f2m-dot-av) ; nom sur une ligne, coupé au besoin. */
.f2m-r ul.products li.product .f2m-by-av { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 999px; overflow: hidden; background: var(--f2m-sand); box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px rgba(187, 120, 116, 0.55); }
.f2m-r ul.products li.product .f2m-by-av img { display: block; width: 100% !important; height: 100% !important; max-width: none; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; object-fit: cover; }
.f2m-r ul.products li.product .wcfmmp_sold_by_wrapper[data-f2m-store] { position: relative; z-index: 2; cursor: pointer; text-decoration: underline 1px transparent; text-underline-offset: 3px; transition: color 220ms var(--f2m-ease), text-decoration-color 220ms var(--f2m-ease); }
.f2m-r ul.products li.product .wcfmmp_sold_by_wrapper[data-f2m-store]:is(:hover, :focus-visible) { color: var(--f2m-rose-ink) !important; text-decoration-color: currentColor; outline: none; }
/* Favoris : pastille ronde, cœur dessiné, battement et onde à l'ajout. */
.f2m-r ul.products li.product .wlfmc-add-to-wishlist { z-index: 3; top: 10px !important; right: 10px !important; left: auto !important; }
.f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc-custom-btn { position: relative; display: grid !important; place-items: center; width: 38px !important; height: 38px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 999px !important; background: rgba(255, 255, 255, 0.92) !important; color: var(--f2m-rose) !important; box-shadow: 0 6px 16px -8px rgba(58, 38, 32, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform 360ms var(--f2m-soft), background-color 240ms var(--f2m-ease), color 240ms var(--f2m-ease); }
.f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc-custom-btn i { display: none !important; }
.f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc-custom-btn::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--f2m-heart-o) center / contain no-repeat; mask: var(--f2m-heart-o) center / contain no-repeat; transition: transform 360ms var(--f2m-soft); }
.f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc_delete_item { background: var(--f2m-rose) !important; color: #fff !important; }
.f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc_delete_item::before { -webkit-mask-image: var(--f2m-heart); mask-image: var(--f2m-heart); }
@media (hover: hover) { .f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc-custom-btn:hover { transform: scale(1.1); background: #fff !important; } .f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc_delete_item:hover { background: var(--f2m-rose-ink) !important; } }
.f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc-custom-btn:active { transform: scale(0.9); }
.f2m-r .f2m-wish-pop .wlfmc-custom-btn::before { animation: f2m-heart-pop 680ms var(--f2m-soft); }
.f2m-r .f2m-wish-pop .wlfmc-custom-btn::after { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 2px var(--f2m-rose); animation: f2m-heart-ring 760ms var(--f2m-ease) forwards; pointer-events: none; }
.f2m-r .f2m-wish-out .wlfmc-custom-btn::before { animation: f2m-heart-out 420ms var(--f2m-ease); }
@keyframes f2m-heart-pop { 0% { transform: scale(0.6); } 45% { transform: scale(1.3); } 70% { transform: scale(0.92); } 100% { transform: scale(1); } }
@keyframes f2m-heart-ring { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.75); opacity: 0; } }
@keyframes f2m-heart-out { 0% { transform: scale(1); } 40% { transform: scale(0.7); } 100% { transform: scale(1); } }
/* La grande fenêtre de l'extension de favoris laisse place à une notification. */
html:has(.f2m-r) [id^="add_to_wishlist_popup_"][id$="_wrapper"], html:has(.f2m-r) [id^="add_to_wishlist_popup_"][id$="_background"] { display: none !important; }
.f2m-toast { position: fixed; left: 50%; bottom: 24px; z-index: 2147482500; display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(92vw, 480px); padding: 10px 10px 10px 12px; border-radius: 18px; background: #3a2620; color: #fffbf8; box-shadow: 0 22px 44px -20px rgba(58, 38, 32, 0.6); font: 600 14px/1.3 "Quicksand", ui-sans-serif, sans-serif; translate: -50% 160%; opacity: 0; pointer-events: none; transition: translate 560ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms cubic-bezier(0.2, 0, 0, 1); }
.f2m-toast.is-on { translate: -50% 0; opacity: 1; pointer-events: auto; }
.f2m-toast-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 999px; background: #bb7874; color: #fff; }
.f2m-toast-ic svg { width: 18px; height: 18px; }
.f2m-toast.is-on .f2m-toast-ic svg { animation: f2m-heart-pop 720ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both; }
.f2m-toast-tx { display: grid; gap: 2px; min-width: 0; }
.f2m-toast-tx span { overflow: hidden; font-weight: 500; font-size: 13px; opacity: 0.72; white-space: nowrap; text-overflow: ellipsis; }
.f2m-toast a { flex: none; margin-left: 6px; padding: 9px 14px; border-radius: 999px; background: #ffdb78; color: #3a2620 !important; font-weight: 700; font-size: 13px; text-decoration: none; transition: background-color 200ms; }
.f2m-toast a:hover { background: #f6c443; }
/* Page 2 et suivantes d'une catégorie : retour aux créations précédentes. */
.f2m-r .f2m-prev { width: var(--f2m-wrap); margin: 16px auto 0; }
.f2m-r .f2m-prev a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--f2m-sand); color: var(--f2m-fg); font: 700 14px/1 var(--f2m-text-f); transition: background-color var(--f2m-fast) var(--f2m-ease); }
.f2m-r .f2m-prev a:hover { background: var(--f2m-sand-2); color: var(--f2m-fg); }
.f2m-r ul.products li.product.f2m-enter { animation: f2m-card-in 820ms var(--f2m-ease) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }
@keyframes f2m-card-in { from { opacity: 0; translate: 0 18px; filter: blur(4px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
.f2m-skel-card { aspect-ratio: 3 / 4; border-radius: 6px; background: linear-gradient(100deg, var(--f2m-sand) 30%, #fbf7f4 50%, var(--f2m-sand) 70%); background-size: 300% 100%; animation: f2m-shimmer 1.3s linear infinite; list-style: none; }
@keyframes f2m-shimmer { to { background-position: -150% 0; } }

/* ---------- Rencontrez les créateurs ---------- */
.f2m-rail { width: var(--f2m-wrap); margin: 56px auto 0; padding: 40px 36px 38px; border-radius: 28px; background: var(--f2m-mist); scroll-margin-top: 140px; }
.f2m-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.f2m-rail-head h2 { margin: 0; font: 700 28px/1.15 var(--f2m-display); color: var(--f2m-fg); letter-spacing: -0.02em; }
.f2m-rail-head p { margin: 0; font: 600 15px/1.5 var(--f2m-text-f); color: var(--f2m-muted); max-width: 46ch; text-align: right; }
.f2m-rail-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.f2m-vcard a { display: flex; flex-direction: column; height: 100%; padding: 8px 8px 16px; border-radius: 22px; background: var(--f2m-surface); color: var(--f2m-fg); transition: transform 520ms var(--f2m-soft), box-shadow 520ms var(--f2m-ease); }
.f2m-vstrip { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--f2m-sand); }
.f2m-vstrip img { width: 100%; height: 100%; object-fit: cover; }
.f2m-vstrip img:first-child { grid-row: 1 / 3; }
.f2m-vtop { display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-top: 14px; }
.f2m-vtop .f2m-avatar { width: 44px; height: 44px; }
.f2m-vtx { display: grid; gap: 3px; min-width: 0; }
.f2m-vname { font: 700 15px/1.2 var(--f2m-display); color: var(--f2m-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f2m-vmeta { font: 600 13px/1.3 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-vgo { display: inline-flex; align-items: center; gap: 6px; margin: 14px 8px 0; font: 700 15px/1 var(--f2m-text-f); color: var(--f2m-rose-ink); }
.f2m-vgo .f2m-i { transition: transform 380ms var(--f2m-soft); }
.f2m-vcard a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -26px rgba(58, 38, 32, 0.3); color: var(--f2m-fg); }
.f2m-vcard a:hover .f2m-vgo .f2m-i { transform: translateX(5px); }

/* ---------- Voir plus ---------- */
.f2m-more { display: grid; justify-items: center; gap: 14px; margin: 64px auto 16px; }
.f2m-more[hidden] { display: none; }
.f2m-progress { font: 600 15px/1 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-meter { width: 240px; height: 4px; border-radius: 999px; background: var(--f2m-sand-2); position: relative; overflow: hidden; }
.f2m-meter::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: inherit; background: var(--f2m-rose); transition: width 600ms var(--f2m-ease); }
.f2m-r .f2m-btn-outline { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--f2m-surface); color: var(--f2m-fg); box-shadow: inset 0 0 0 1.5px var(--f2m-fg); font: 700 15px/1 var(--f2m-text-f); cursor: pointer; transition: background-color var(--f2m-fast) var(--f2m-ease), color var(--f2m-fast) var(--f2m-ease), transform 380ms var(--f2m-soft); }
.f2m-r .f2m-btn-outline:hover { background: var(--f2m-fg); color: var(--f2m-bg); transform: translateY(-2px); }
.f2m-r .f2m-btn-outline:active { transform: translateY(0) scale(0.97); }
.f2m-r .f2m-btn-outline.is-loading { pointer-events: none; opacity: 0.6; }
.f2m-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font: 700 15px/1 var(--f2m-text-f); }
.f2m-pager a, .f2m-pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; color: var(--f2m-fg); }
.f2m-pager a:hover { background: var(--f2m-sand); color: var(--f2m-fg); }
.f2m-pager .f2m-gap { display: grid; place-items: center; min-width: 24px; height: 40px; color: var(--f2m-muted); }
.f2m-pager .f2m-pg-arrow .f2m-i { font-size: 16px; }
.f2m-pager [aria-current] { background: var(--f2m-fg); color: var(--f2m-bg); }

/* ---------- Aucun résultat ---------- */
.f2m-empty-hero { width: var(--f2m-wrap); margin: 20px auto 0; padding: 30px 40px 36px; border-radius: 28px; background: var(--f2m-blush); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; }
.f2m-e-l, .f2m-e-r { display: grid; gap: 14px; justify-items: start; }
.f2m-empty-hero h1 { margin: 0; font: 600 34px/1.15 var(--f2m-display); color: var(--f2m-fg); letter-spacing: -0.01em; text-wrap: balance; }
.f2m-empty-hero h1 em { font-style: normal; color: var(--f2m-rose); }
.f2m-lede { margin: 0; max-width: 46ch; font: 600 15px/1.55 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-near { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 10px 18px 10px 10px; border-radius: 22px; background: #fff; color: var(--f2m-fg); text-align: left; transition: box-shadow var(--f2m-fast) var(--f2m-ease), transform 420ms var(--f2m-soft); }
.f2m-near:hover { box-shadow: var(--f2m-lift); transform: translateY(-3px); color: var(--f2m-fg); }
.f2m-near .f2m-dimg { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--f2m-sand); }
.f2m-near .f2m-dimg img { width: 100%; height: 100%; object-fit: cover; }
.f2m-near .f2m-dtx { display: grid; gap: 4px; min-width: 0; }
.f2m-near .f2m-dt { font: 700 13px/1 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-near .f2m-dn { font: 700 19px/1.2 var(--f2m-display); color: var(--f2m-fg); }
.f2m-near .f2m-dc { font: 600 13px/1.2 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-near > .f2m-i { font-size: 19px; transition: transform 380ms var(--f2m-soft); }
.f2m-near:hover > .f2m-i { transform: translateX(4px); }
.f2m-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.f2m-try > span { font: 700 13px/1 var(--f2m-text-f); color: var(--f2m-muted); margin-right: 4px; }
.f2m-r .f2m-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--f2m-surface); font: 700 15px/1 var(--f2m-text-f); color: var(--f2m-fg); transition: background-color var(--f2m-fast) var(--f2m-ease), transform 380ms var(--f2m-soft); }
.f2m-r .f2m-chip:hover { background: var(--f2m-accent); transform: translateY(-2px); color: var(--f2m-fg); }
.f2m-sec { width: var(--f2m-wrap); margin: 72px auto 80px; }
.f2m-sec > h2 { margin: 0 0 24px; font: 700 28px/1.15 var(--f2m-display); color: var(--f2m-fg); letter-spacing: -0.02em; }
.f2m-sec .f2m-r-products { width: auto; margin: 0; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1240px) {
  .f2m-empty-hero { grid-template-columns: 1fr; }
  .f2m-rail-head { display: grid; }
  .f2m-rail-head p { text-align: left; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .f2m-r { --f2m-wrap: calc(100% - 20px); }
  .f2m-r-head { margin: 10px auto 0; padding: 16px; border-radius: 22px; }
  .f2m-r-top { display: block; }
  .f2m-r-title h1, .f2m-empty-hero h1 { font-size: 26px; }
  .f2m-r .f2m-crumbs { font-size: 13px; }
  .f2m-r-makers { width: fit-content; max-width: 100%; margin: 12px 0 0; gap: 10px; padding: 8px 14px 8px 8px; }
  .f2m-r-makers .f2m-avatar { width: 32px; height: 32px; }
  .f2m-rm-names { max-width: 24ch; }
  .f2m-notice { border-radius: 16px; font-size: 13px; }
  .f2m-toolbar-wrap { margin-top: 10px; padding: 10px 0; }
  .f2m-toolbar { flex-wrap: wrap; gap: 8px; }
  .f2m-pills { order: 2; width: 100%; overflow-x: auto; margin: 0 -10px; padding: 0 10px 2px; scrollbar-width: none; }
  .f2m-pills::-webkit-scrollbar { display: none; }
  .f2m-r .f2m-pills .f2m-pill[data-f2m-extra] { display: inline-flex; }
  .f2m-r .f2m-pill .f2m-pl { max-width: none; overflow: visible; }
  .f2m-r .f2m-pills .f2m-pill { height: 40px; font-size: 13px; padding-right: 14px; }
  .f2m-r .f2m-pills .f2m-pill .f2m-pt { width: 30px; height: 30px; }
  .f2m-r .f2m-more-pill { display: none !important; }
  .f2m-sep, .f2m-fwrap:not(.f2m-sorter), .f2m-sorter { display: none; }
  .f2m-count-m { display: block; flex: 1; font: 700 15px/1 var(--f2m-text-f); color: var(--f2m-fg); opacity: 0; translate: 0 4px; transition: opacity 240ms var(--f2m-ease), translate 420ms var(--f2m-ease); }
  .f2m-toolbar-wrap.is-stuck .f2m-count-m { opacity: 1; translate: 0 0; }
  .f2m-mbtns { display: flex; gap: 8px; margin-left: auto; }
  .f2m-r .f2m-mbtns .f2m-fbtn { height: 40px; padding: 0 16px; font-size: 15px; }
  .f2m-r .f2m-mbtns .f2m-fbtn .f2m-i { font-size: 16px; color: var(--f2m-fg); }
  .f2m-r .f2m-mbtns .f2m-fbtn.has-value .f2m-i { color: var(--f2m-bg); }
  .f2m-r .f2m-r-products { margin-top: 14px; }
  .f2m-rail { margin: 40px auto 0; padding: 26px 0 26px 16px; border-radius: 0; width: 100%; }
  .f2m-rail-head { display: grid; gap: 6px; padding-right: 16px; }
  .f2m-rail-head h2 { font-size: 19px; }
  .f2m-rail-head p { text-align: left; font-size: 15px; }
  .f2m-rail-list { display: flex; overflow-x: auto; gap: 12px; padding: 0 16px 6px 0; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .f2m-vcard { flex: 0 0 250px; scroll-snap-align: start; }
  .f2m-more { margin: 40px auto 8px; }
  .f2m-r { padding-bottom: 48px; }
  .f2m-r ul.products li.product .wlfmc-add-to-wishlist .wlfmc-custom-btn { width: 34px !important; height: 34px !important; }
  .f2m-toast { bottom: 16px; }
  .f2m-empty-hero { margin: 10px auto 0; padding: 20px 16px 22px; border-radius: 22px; }
  .f2m-lede { font-size: 15px; }
  .f2m-sec { margin: 44px auto 56px; }
  .f2m-sec > h2 { font-size: 19px; margin-bottom: 14px; padding: 0 4px; }
}

/* ---------- Mobile : filtres et tri en panneau du bas ---------- */
.f2m-fsheet {
  --f2m-surface: #fff; --f2m-sand: #f5eee9; --f2m-sand-2: #ede3dc; --f2m-blush: #fbf0eb; --f2m-cream: #fff4d9; --f2m-fg: #3a2620; --f2m-muted: #735f58;
  --f2m-rose-ink: #9c524d; --f2m-accent: #ffdb78; --f2m-accent-deep: #f6c443; --f2m-line: rgba(58, 38, 32, 0.1); --f2m-line-strong: rgba(58, 38, 32, 0.18);
  --f2m-text-f: "Quicksand", ui-sans-serif, sans-serif; --f2m-display: "Exo", ui-sans-serif, sans-serif; --f2m-ease: cubic-bezier(0.16, 1, 0.3, 1); --f2m-fast: 240ms;
  position: fixed; inset: 0; z-index: 2147482003; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; visibility: hidden;
  font: 500 15px/1.5 var(--f2m-text-f); color: var(--f2m-fg); transition: visibility 0s linear 420ms;
}
.f2m-fsheet.is-open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.f2m-fsheet-scrim { position: absolute; inset: 0; background: rgba(46, 28, 22, 0.42); opacity: 0; transition: opacity 320ms var(--f2m-ease); }
.f2m-fsheet.is-open .f2m-fsheet-scrim { opacity: 1; }
.f2m-fsheet-box { position: relative; max-height: 86vh; display: flex; flex-direction: column; border-radius: 22px 22px 0 0; background: var(--f2m-surface); translate: 0 100%; transition: translate 420ms var(--f2m-ease); padding-bottom: env(safe-area-inset-bottom); }
.f2m-fsheet.is-open .f2m-fsheet-box { translate: 0 0; }
.f2m-fsheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 8px 20px; font: 700 19px/1.2 var(--f2m-display); }
.f2m-fsheet .f2m-x { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--f2m-sand); color: var(--f2m-fg); cursor: pointer; font-size: 16px; }
.f2m-fsheet-body { overflow: auto; overscroll-behavior: contain; padding: 0 14px 12px; }
.f2m-fsheet-body h3 { margin: 18px 6px 6px; font: 700 13px/1.2 var(--f2m-text-f); color: var(--f2m-muted); letter-spacing: 0.02em; }
.f2m-fsheet .f2m-dd-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 10px; border: 0; border-radius: 12px; background: none; font: 600 15px/1.2 var(--f2m-text-f) !important; color: var(--f2m-fg); text-align: left; cursor: pointer; }
.f2m-fsheet .f2m-dd-row .f2m-dl { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.f2m-fsheet .f2m-dd-row .f2m-box { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--f2m-line-strong); display: grid; place-items: center; color: #fff; font-size: 13px; flex: none; }
.f2m-fsheet .f2m-dd-row .f2m-box .f2m-i { opacity: 0; }
.f2m-fsheet .f2m-dd-row[aria-checked="true"] .f2m-box, .f2m-fsheet .f2m-dd-row[aria-selected="true"] .f2m-box { background: var(--f2m-fg); box-shadow: none; }
.f2m-fsheet .f2m-dd-row[aria-checked="true"] .f2m-box .f2m-i, .f2m-fsheet .f2m-dd-row[aria-selected="true"] .f2m-box .f2m-i { opacity: 1; }
.f2m-fsheet .f2m-dd-row .f2m-n { margin-left: auto; color: var(--f2m-muted); font-weight: 700; font-size: 13px; }
.f2m-fsheet .f2m-avatar { width: 26px; height: 26px; border-radius: 999px; overflow: hidden; flex: none; }
.f2m-fsheet .f2m-avatar img { width: 100%; height: 100%; object-fit: cover; }
.f2m-fsheet .f2m-price { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; padding: 4px 6px; }
.f2m-fsheet .f2m-price label { display: grid; gap: 6px; font: 700 13px/1 var(--f2m-text-f); color: var(--f2m-muted); }
.f2m-fsheet .f2m-price input { width: 100%; height: 44px; padding: 0 14px !important; border: 0 !important; border-radius: 12px; background: var(--f2m-sand) !important; font: 700 16px/1 var(--f2m-text-f); color: var(--f2m-fg); }
.f2m-fsheet .f2m-sw { width: 18px; height: 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(58, 38, 32, 0.12); flex: none; }
.f2m-fsheet-foot { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--f2m-line); }
.f2m-fsheet-foot button { height: 50px; border: 0; border-radius: 999px; cursor: pointer; font: 700 15px/1 var(--f2m-text-f) !important; }
.f2m-fsheet-foot .f2m-ghost-btn { padding: 0 18px; background: none; color: var(--f2m-fg); }
.f2m-fsheet-foot .f2m-fill-btn { flex: 1; background: var(--f2m-accent); color: var(--f2m-fg); }

/* ---------- Kit Elementor : « .elementor-kit-5 button:hover, button:focus » passe tout bouton en rose ; nos boutons gardent leurs couleurs ---------- */
.f2m-r .f2m-pill:focus:not(:hover) { background: var(--f2m-surface); color: var(--f2m-fg); }
.f2m-r .f2m-pill.f2m-more-pill:focus { background: var(--f2m-sand); }
.f2m-r .f2m-pill.is-on:focus { background: var(--f2m-fg); color: var(--f2m-bg); }
.f2m-r .f2m-fbtn:focus:not(:hover) { background: var(--f2m-sand); color: var(--f2m-fg); }
.f2m-r .f2m-sorter .f2m-fbtn:focus:not(:hover) { background: var(--f2m-surface); }
.f2m-r .f2m-toolbar .f2m-fbtn:is([aria-expanded="true"], .has-value):is(:hover, :focus) { background: var(--f2m-fg); color: var(--f2m-bg); }
.f2m-r .f2m-dd-row:focus:not(:focus-visible):not(:hover) { background: none; color: var(--f2m-fg); }
.f2m-r .f2m-dd-foot .f2m-ghost-btn:focus:not(:hover) { background: none; color: var(--f2m-fg); }
.f2m-r .f2m-dd-foot .f2m-fill-btn:focus:not(:hover) { background: var(--f2m-accent); color: var(--f2m-fg); }
.f2m-r .f2m-price-presets button:focus:not(:hover) { background: var(--f2m-sand); color: var(--f2m-fg); }
.f2m-r .f2m-tag:focus:not(:hover) { background: var(--f2m-cream); color: var(--f2m-fg); }
.f2m-r .f2m-btn-outline:focus:not(:hover) { background: var(--f2m-surface); color: var(--f2m-fg); }
.f2m-fsheet .f2m-x:is(:hover, :focus) { background: var(--f2m-sand-2); color: var(--f2m-fg); }
.f2m-fsheet .f2m-dd-row:is(:hover, :focus-visible) { background: var(--f2m-blush); color: var(--f2m-fg); }
.f2m-fsheet .f2m-dd-row:focus:not(:focus-visible):not(:hover) { background: none; color: var(--f2m-fg); }
.f2m-fsheet-foot .f2m-ghost-btn:is(:hover, :focus) { background: var(--f2m-sand); color: var(--f2m-fg); }
.f2m-fsheet-foot .f2m-fill-btn:is(:hover, :focus) { background: var(--f2m-accent-deep); color: var(--f2m-fg); }
html.f2m-lock, html.f2m-lock body { overflow: hidden; }
.f2m-r .f2m-dd-row.is-zero, .f2m-fsheet .f2m-dd-row.is-zero { opacity: 0.45; }

@media (prefers-reduced-motion: reduce) {
  .f2m-r *, .f2m-fsheet *, .f2m-toast, .f2m-toast * { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-delay: 0ms !important; }
}

/* Changement de catégorie sans rechargement (results.js, nav) : fine barre en haut de l'écran si la page n'est pas déjà préchargée. */
html.f2m-nav-loading::after { content: ""; position: fixed; inset: 0 0 auto; z-index: 2147483000; height: 3px; background: linear-gradient(90deg, transparent, #bb7874 30%, #e6b3a8 70%, transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: f2m-nav-bar 1.1s cubic-bezier(0.65, 0, 0.35, 1) infinite; pointer-events: none; }
/* 1. Départ, au clic : l'ancienne catégorie s'efface en glissant ; le rond cliqué reste net, les autres pâlissent. */
.f2m-pending :is(.f2m-cat-head h1, .f2m-cat-head #breadcrumbs, .f2m-cat-head .elementor-widget-dyncontel-acf) { opacity: 0.15; translate: 0 -6px; filter: blur(3px); transition: opacity 180ms ease, translate 260ms var(--f2m-ease), filter 180ms ease; }
/* La barre de filtres ne bouge pas (mêmes boutons d'une catégorie à l'autre) : seulement inactive le temps du changement. */
.f2m-pending .f2m-toolbar-wrap { pointer-events: none; }
.f2m-pending [data-f2m-more] { opacity: 0.3; pointer-events: none; transition: opacity 180ms ease; }
.f2m-pending [data-f2m-grid] li.product { opacity: 0.2; translate: 0 14px; scale: 0.985; transition: opacity 200ms ease, translate 300ms var(--f2m-ease), scale 300ms var(--f2m-ease); }
.f2m-pending .f2m-subcats li:not(.is-active) { opacity: 0.4; transition: opacity 200ms ease; }
.f2m-subcats li.is-active .f2m-sc-ring { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #bb7874; scale: 1.05; transition: box-shadow 260ms ease, scale 380ms var(--f2m-ease); }
/* 2. Arrivée : titre, fil d'Ariane, chapô et filtres montent en fondu ; les ronds éclosent un à un, puis les cartes (f2m-enter). */
.f2m-arrive :is(.f2m-cat-head h1) { animation: f2m-nav-in 560ms var(--f2m-ease) both; }
.f2m-arrive :is(.f2m-cat-head #breadcrumbs, .f2m-cat-head .elementor-widget-dyncontel-acf) { animation: f2m-nav-in 620ms var(--f2m-ease) 70ms both; }
.f2m-arrive .f2m-subcats li { animation: f2m-nav-pop 560ms var(--f2m-ease) both; animation-delay: calc(var(--i, 0) * 40ms + 100ms); }
/* Un filtre qui n'existait pas dans la catégorie d'avant (Taille…) arrive seul, en douceur. */
.f2m-toolbar .f2m-fwrap.f2m-nav-new { animation: f2m-nav-pop 520ms var(--f2m-ease) 120ms both; }
.f2m-arrive [data-f2m-more] { animation: f2m-nav-fade 460ms ease 360ms both; }
@keyframes f2m-nav-in { from { opacity: 0; translate: 0 14px; filter: blur(4px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes f2m-nav-pop { from { opacity: 0; scale: 0.82; translate: 0 10px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes f2m-nav-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes f2m-nav-bar { from { background-position: -60% 0; } to { background-position: 160% 0; } }
@media (prefers-reduced-motion: reduce) {
  html.f2m-nav-loading::after { animation: none; background: #bb7874; }
  .f2m-pending *, .f2m-arrive * { animation: none !important; transition: none !important; translate: none !important; filter: none !important; }
}
