.ftx-catalog-engine-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important}
.ftx-catalog-engine-grid.is-ftx-loading{min-height:520px;opacity:.45;pointer-events:none}
html.ftx-catalog-engine-booting .jet-listing-grid__items:not(.ftx-catalog-engine-grid){min-height:520px!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;background:linear-gradient(100deg,#f5f2eb 20%,#fff 38%,#f5f2eb 56%)!important;background-size:220% 100%!important;animation:ftx-ce-loading 1.15s ease-in-out infinite!important}
html.ftx-catalog-engine-booting body.tax-product_brand ul.products{min-height:520px!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.ftx-brand-catalog-engine-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;width:100%!important}
.ftx-ce-skeleton{min-height:520px;border:1px solid rgba(8,41,68,.08);border-radius:24px 7px 24px 7px;background:linear-gradient(100deg,#f5f2eb 20%,#fff 38%,#f5f2eb 56%);background-size:220% 100%;animation:ftx-ce-loading 1.15s ease-in-out infinite}
@keyframes ftx-ce-loading{to{background-position:-220% 0}}
.ftx-catalog-engine-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid rgba(8,41,68,.1);border-radius:24px 7px 24px 7px;background:#fff;box-shadow:0 14px 34px rgba(8,41,68,.08);transition:transform .2s ease,box-shadow .2s ease}
.ftx-catalog-engine-card:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(8,41,68,.13)}
.ftx-catalog-engine-card__image{display:flex;aspect-ratio:1/1;align-items:center;justify-content:center;padding:20px;background:linear-gradient(145deg,#fff,#f5f1e8)}
.ftx-catalog-engine-card__body{display:flex;flex:1;flex-direction:column;padding:20px}
.ftx-catalog-engine-card__meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;margin-bottom:8px;color:#647787;font-size:11px;line-height:1.25}
.ftx-catalog-engine-card__meta span{padding:0;background:none;text-transform:none}.ftx-card-brand{font-weight:850;letter-spacing:.06em;text-transform:uppercase!important}.ftx-card-reference{font-weight:750}.ftx-card-reference:before{content:'·';margin-right:9px;color:#d3aa0a}
.ftx-catalog-engine-card h3{margin:0 0 12px;color:#082944;font-size:19px;line-height:1.2}.ftx-catalog-engine-card h3 a{color:inherit;text-decoration:none}
.ftx-card-swatches{display:flex;align-items:center;gap:6px;min-height:30px;margin:0 0 12px}.ftx-card-swatch{display:grid;place-items:center;width:28px;height:28px;padding:2px;border:1px solid #c8d1d8;border-radius:50%;background:#fff;overflow:hidden;cursor:pointer}.ftx-card-swatch img,.ftx-card-swatch__colour{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.ftx-card-swatch__colour{background:var(--ftx-swatch);box-shadow:inset 0 0 0 1px rgba(8,41,68,.16)}.ftx-card-swatch.is-active{border-color:#082944;box-shadow:0 0 0 2px #f7c531}.ftx-card-swatches>span{color:#647787;font-size:11px;font-weight:800}
.ftx-catalog-engine-card__foot{display:grid;gap:13px;margin-top:auto}.ftx-catalog-engine-card__foot strong{color:#a77a00;font-size:20px}.ftx-catalog-engine-card__foot small{font-size:11px;color:#637585}
.ftx-catalog-engine-card__foot>a{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-radius:11px 4px 11px 4px;background:#082944;color:#fff!important;font-size:13px;font-weight:850;text-decoration:none}.ftx-catalog-engine-card__foot>a span{color:#ffd21c}
.ftx-catalog-engine-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:32px 0}.ftx-catalog-engine-pagination button{width:42px;height:42px;border:1px solid rgba(8,41,68,.15);border-radius:10px 3px 10px 3px;background:#fff;color:#082944;font-weight:850}.ftx-catalog-engine-pagination button.is-active{background:#082944;color:#fff}
.ftx-catalog-engine-empty{grid-column:1/-1;display:grid;gap:8px;padding:54px;text-align:center;border-radius:24px 7px 24px 7px;background:#f6f3eb;color:#536778}.ftx-catalog-engine-empty strong{color:#082944;font-size:23px}
.ftx-catalog-engine-error{margin:16px 0;padding:14px;border-left:4px solid #c4473a;background:#fff3f1;color:#7f261f}
@media(max-width:1024px){.ftx-catalog-engine-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1024px){.ftx-catalog-engine-grid.is-ftx-loading>.ftx-ce-skeleton:nth-child(n+3){display:none!important}}
@media(max-width:1024px){.ftx-brand-catalog-engine-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.ftx-catalog-engine-grid{grid-template-columns:1fr!important;gap:16px!important}.ftx-catalog-engine-card{border-radius:19px 6px 19px 6px}.ftx-catalog-engine-card__image{aspect-ratio:4/3}}
@media(max-width:620px){.ftx-catalog-engine-grid.is-ftx-loading>.ftx-ce-skeleton:nth-child(n+2){display:none!important}}
@media(max-width:620px){.ftx-brand-catalog-engine-grid{grid-template-columns:1fr!important;gap:13px!important}}
@media(max-width:620px){body.search-results .ftx-catalog-engine-grid{grid-template-columns:1fr!important;min-height:360px!important}.ftx-ce-skeleton{min-height:360px}}
@media(max-width:620px){html.ftx-catalog-engine-booting .jet-listing-grid__items:not(.ftx-catalog-engine-grid){min-height:360px!important}}

/* 1.0.9 — moteur autonome : barre de filtrage, panneau lisible et cartes mobiles. */
.ftx-ce-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;margin:0 0 22px;padding:14px 16px;border:1px solid rgba(8,41,68,.12);border-radius:16px 5px 16px 5px;background:#fff;box-shadow:0 10px 28px rgba(8,41,68,.07)}
.ftx-ce-open{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 20px;border:0;border-radius:12px 4px 12px 4px;background:#082944;color:#fff;font-size:15px;font-weight:850;cursor:pointer}.ftx-ce-open span{color:#ffd21c}.ftx-ce-summary{color:#617485;font-size:14px;font-weight:650}
.ftx-ce-dialog{width:min(680px,calc(100vw - 32px));max-width:680px;margin:auto;padding:0;overflow:hidden;border:0;border-radius:24px 8px 24px 8px;background:#f8f6f1;color:#082944;box-shadow:0 28px 90px rgba(3,25,44,.32)}.ftx-ce-dialog::backdrop{background:rgba(3,25,44,.62);backdrop-filter:blur(3px)}
.ftx-ce-dialog form{display:flex;flex-direction:column;margin:0}.ftx-ce-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px 18px;border-bottom:3px solid #f7c531;background:#082944;color:#fff}.ftx-ce-dialog__head small{display:block;margin-bottom:3px;color:#ffd21c;font-size:10px;font-weight:900;letter-spacing:.18em}.ftx-ce-dialog__head h2{margin:0;color:#fff;font-size:24px;line-height:1.1}.ftx-ce-close{width:42px;height:42px;flex:0 0 42px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:10px 3px 10px 3px;background:rgba(255,255,255,.08);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.ftx-ce-filter-body{display:grid;gap:10px;overflow-y:auto;padding:18px 20px 26px}.ftx-ce-search{display:grid;gap:7px}.ftx-ce-search>span{font-size:13px;font-weight:850}.ftx-ce-search input,.ftx-ce-select select{width:100%;min-height:48px;padding:11px 13px;border:1px solid #ccd5db;border-radius:11px 4px 11px 4px;background:#fff;color:#082944;font:inherit}.ftx-ce-dialog details{border:1px solid #d9dfe2;border-radius:13px 4px 13px 4px;background:#fff}.ftx-ce-dialog summary{padding:14px 15px;cursor:pointer;font-size:14px;font-weight:850;list-style:none}.ftx-ce-dialog summary::-webkit-details-marker{display:none}.ftx-ce-dialog summary::after{content:'+';float:right;color:#a77a00;font-size:18px}.ftx-ce-dialog details[open] summary::after{content:'−'}.ftx-ce-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 13px}.ftx-ce-options--categories{grid-template-columns:repeat(2,minmax(0,1fr))}.ftx-ce-choice{position:relative;display:flex;min-width:0;cursor:pointer}.ftx-ce-choice input{position:absolute;opacity:0;pointer-events:none}.ftx-ce-choice span{display:flex;align-items:center;width:100%;min-height:41px;padding:8px 10px;border:1px solid #d9dfe2;border-radius:9px 3px 9px 3px;background:#f8fafb;color:#29465b;font-size:12px;font-weight:750;line-height:1.15}.ftx-ce-choice input:checked+span{border-color:#082944;background:#082944;color:#fff;box-shadow:inset 3px 0 0 #f7c531}.ftx-ce-choice--colour span::before{content:'';width:16px;height:16px;flex:0 0 16px;margin-right:8px;border:1px solid rgba(8,41,68,.22);border-radius:50%;background:var(--ftx-colour)}.ftx-ce-select{display:block;padding:0 12px 13px}.ftx-ce-dialog__foot{display:grid;grid-template-columns:auto minmax(180px,1fr);gap:10px;padding:13px 18px 16px;border-top:1px solid #d9dfe2;background:#fff}.ftx-ce-dialog__foot button{min-height:48px;padding:10px 17px;border-radius:11px 4px 11px 4px;font-weight:850;cursor:pointer}.ftx-ce-reset{border:1px solid #ccd5db;background:#fff;color:#536778}.ftx-dialog-results{border:0;background:#f7c531;color:#082944;font-size:15px}.ftx-filter-open{overflow:hidden}

@media(min-width:1025px){html body.post-type-archive-product .ftx-catalog-engine-grid,html body.tax-product_cat .ftx-catalog-engine-grid,html body.tax-product_brand .ftx-catalog-engine-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:620px){
  .ftx-ce-toolbar{display:grid;gap:7px;margin:0 0 16px;padding:0;border:0;background:transparent;box-shadow:none}.ftx-ce-open{width:100%;min-height:52px;font-size:15px}.ftx-ce-summary{padding:0 3px;font-size:12px;line-height:1.35}
  .ftx-ce-dialog{max-width:none;border-radius:21px 6px 21px 6px}.ftx-ce-dialog__head{padding:17px 17px 15px}.ftx-ce-dialog__head h2{font-size:21px}.ftx-ce-filter-body{padding:14px 13px 22px}.ftx-ce-options,.ftx-ce-options--categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 9px 10px}.ftx-ce-choice span{min-height:40px;padding:8px;font-size:11px}.ftx-ce-dialog__foot{grid-template-columns:1fr 1.35fr;padding:11px 12px 12px}.ftx-ce-dialog__foot button{padding:8px 10px;font-size:12px}
  html body.post-type-archive-product .ftx-catalog-engine-grid.jet-listing-grid__items,html body.tax-product_cat .ftx-catalog-engine-grid.jet-listing-grid__items,html body.tax-product_brand .ftx-catalog-engine-grid.jet-listing-grid__items{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important;width:100%!important;padding:0!important;overflow:visible!important}
  html body .ftx-catalog-engine-grid>.ftx-catalog-engine-card{display:grid!important;grid-template-columns:128px minmax(0,1fr)!important;width:100%!important;max-width:none!important;min-height:184px!important;margin:0!important;border-radius:18px 5px 18px 5px!important}
  html body .ftx-catalog-engine-card__image{width:128px!important;height:100%!important;min-height:184px!important;aspect-ratio:auto!important;padding:11px!important;overflow:hidden!important;background:#f7f4ed!important}
  html body .ftx-catalog-engine-card__image img{max-width:106px!important;max-height:170px!important}
  html body .ftx-catalog-engine-card__body{min-width:0!important;padding:13px 12px 12px!important}
  html body .ftx-catalog-engine-card__meta{display:block!important;margin-bottom:5px!important;font-size:9px!important;line-height:1.25!important}.ftx-catalog-engine-card__meta span{display:block;max-width:100%;padding:0!important;overflow-wrap:anywhere}.ftx-card-reference:before{display:none}.ftx-card-reference{margin-top:2px;color:#3f586b;font-size:10px;font-weight:800}
  html body .ftx-catalog-engine-card h3{margin:0 0 9px!important;font-size:15px!important;line-height:1.18!important;overflow-wrap:anywhere!important}
  html body .ftx-card-swatches{gap:5px;min-height:25px;margin:0 0 8px}.ftx-card-swatch{width:23px;height:23px;padding:1px}.ftx-card-swatches>span{font-size:9px}
  html body .ftx-catalog-engine-card__foot{gap:8px!important}.ftx-catalog-engine-card__foot strong{font-size:17px}.ftx-catalog-engine-card__foot>a{min-height:38px;padding:8px 9px;font-size:11px}
}

/* 1.0.27 — les styles globaux des boutons ne doivent jamais écraser les
 * dimensions des pastilles. Le cercle intérieur avait une largeur calculée à
 * zéro sur ordinateur alors que le coloris restait cliquable. */
html body .ftx-card-swatches{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;overflow:visible!important}
html body .ftx-card-swatches .ftx-card-swatch{display:grid!important;place-items:center!important;flex:0 0 28px!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important;margin:0!important;padding:2px!important;border:1px solid #c8d1d8!important;border-radius:50%!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important}
html body .ftx-card-swatches .ftx-card-swatch img,html body .ftx-card-swatches .ftx-card-swatch__colour{display:block!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;margin:0!important;padding:0!important;border-radius:50%!important;object-fit:cover!important;box-sizing:border-box!important}
html body .ftx-card-swatches .ftx-card-swatch.is-active{border-color:#082944!important;box-shadow:0 0 0 2px #f7c531!important}

/* 1.0.28 — la catégorie courante n'est pas un filtre et les visuels restent
 * entièrement cadrés, y compris les casquettes et bonnets. */
html body .ftx-catalog-toolbar{display:none!important}
html body .ftx-catalog-engine-card__image{overflow:hidden!important;background:#f8f6f1!important}
html body .ftx-catalog-engine-card__image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:auto!important;object-fit:contain!important;object-position:center!important;transform:none!important;mix-blend-mode:multiply}
@media(min-width:621px){html body .ftx-catalog-engine-card__image{padding:18px!important}}

/* 1.0.30 — le bandeau garde un titre lisible et nomme la catégorie imposée
 * au lieu de la présenter comme un filtre actif. */
html body.post-type-archive-product .elementor-element-39298eb h1.elementor-heading-title,
html body.tax-product_cat .elementor-element-39298eb h1.elementor-heading-title{max-width:100%!important;font-size:clamp(38px,4.4vw,56px)!important;line-height:1.02!important;overflow-wrap:anywhere!important}

/* 1.0.33 — contrat unique du panneau de filtres. Les trois anciens blocs
 * WebKit concurrents ont été supprimés : un seul conteneur a une hauteur
 * réelle et seule sa zone centrale défile. */
html body .ftx-ce-dialog{height:min(900px,calc(100dvh - 32px))!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box!important}
html body #ftx-native-dialog>form.ftx-universe-filter-form{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;overflow:hidden!important;box-sizing:border-box!important}
html body .ftx-ce-dialog__head,html body .ftx-ce-dialog__foot{flex:0 0 auto!important}
html body .ftx-ce-dialog .ftx-ce-filter-body{display:grid!important;flex:1 1 0%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;-webkit-overflow-scrolling:touch!important}
@media(max-width:620px){
  html body .ftx-ce-dialog{inset:max(6px,env(safe-area-inset-top)) 6px auto!important;width:calc(100vw - 12px)!important;height:calc(100dvh - max(12px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;max-height:calc(100dvh - max(12px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;margin:0 auto!important}
  html body #ftx-native-dialog>form.ftx-universe-filter-form{padding:0!important}
  html body .ftx-ce-dialog .ftx-ce-filter-body{padding-bottom:22px!important}
  html body .ftx-ce-dialog__foot{position:relative!important;z-index:3!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important;box-shadow:0 -10px 24px rgba(8,41,68,.08)!important}
  html body .ftx-card-swatches{gap:4px!important;width:100%!important;min-height:22px!important;height:auto!important;margin:0 0 8px!important}
  html body .ftx-card-swatches .ftx-card-swatch{flex-basis:22px!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;padding:1px!important}
  html body .ftx-card-swatches .ftx-card-swatch img,html body .ftx-card-swatches .ftx-card-swatch__colour{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important}
  html body .ftx-card-swatches>span{flex:1 0 100%!important;width:100%!important;margin-top:1px!important;color:#526979!important;font-size:9px!important;font-weight:800!important;line-height:1.15!important}
  html body .ftx-catalog-engine-card__meta .ftx-card-brand,html body .ftx-catalog-engine-card__meta .ftx-card-reference{display:block!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#526979!important;font-size:9px!important;letter-spacing:.025em!important;line-height:1.25!important;text-transform:none!important;white-space:normal!important}
  html body .ftx-catalog-engine-card__meta .ftx-card-brand{font-weight:850!important;text-transform:uppercase!important}
  html body .ftx-catalog-engine-card__meta .ftx-card-reference{margin-top:3px!important;color:#17324d!important;font-size:10px!important;font-weight:850!important}
}

/* 1.0.32 — résultats de recherche stables : deux cartes centrées, sans badge
 * beige hérité du thème. Ce bloc final écrase les règles d'archives. */
html body.search-results.post-type-archive-product .ftx-catalog-engine-grid,
html body.search-results .ftx-catalog-engine-grid{grid-template-columns:repeat(2,minmax(0,360px))!important;justify-content:center!important;max-width:820px!important;min-height:520px!important;margin-inline:auto!important}
html body.search-results .ftx-catalog-engine-card__image{aspect-ratio:4/3!important}
html body.search-results .ftx-catalog-engine-card__meta span{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.search-results .ftx-catalog-engine-card__meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:3px 8px!important}
html body.search-results .ftx-catalog-engine-card__meta .ftx-card-reference:before{display:inline!important;content:'·';margin-right:8px;color:#d3aa0a}
html body.search-results .ftx-catalog-engine-card__meta .ftx-card-brand,
html body.search-results .ftx-catalog-engine-card__meta .ftx-card-reference{display:inline-flex!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#526979!important}
@media(max-width:620px){
  html body.search-results.post-type-archive-product .ftx-catalog-engine-grid,html body.search-results .ftx-catalog-engine-grid{grid-template-columns:1fr!important;max-width:none!important;min-height:524px!important}
  html body.search-results .ftx-ce-skeleton{min-height:254px!important}
  html.ftx-catalog-engine-booting body.search-results .jet-listing-grid__items:not(.ftx-catalog-engine-grid){min-height:524px!important}
}

