/* Contrat visuel public. Seuls des jetons préfixés sont déclarés globalement. */
:root {
    --fc-ui-text: var(--theme-text-color, var(--wp--preset--color--contrast, CanvasText));
    --fc-ui-link: var(--theme-link-initial-color, var(--wp--preset--color--primary, LinkText));
    --fc-ui-surface: var(--theme-palette-color-8, var(--wp--preset--color--base, Canvas));
    --fc-ui-muted: var(--theme-palette-color-7, var(--wp--preset--color--tertiary, #f3f4f5));
    --fc-ui-border: var(--theme-border-color, #d9dde1);
    --fc-ui-button-bg: var(--theme-button-background-initial-color, var(--wp--preset--color--contrast, ButtonFace));
    --fc-ui-button-text: var(--theme-button-text-initial-color, var(--wp--preset--color--base, ButtonText));
    --fc-ui-button-hover: var(--theme-button-background-hover-color, var(--fc-ui-button-bg));
    --fc-ui-focus: var(--theme-link-hover-color, var(--fc-ui-link));
    --fc-ui-budget-bg: #fbfbfc;
    --fc-ui-close-bg: #000;
    --fc-ui-close-ink: #fff;
    --fc-ui-heart: #c8102e;
    --fc-ui-icon-frame: #fff;
    --fc-ui-action-ink: #20212a;
    --fc-ui-precautions: #f7f0e3;
    --fc-ui-radius: 10px;
    --fc-ui-shadow: 0 5px 22px rgb(0 0 0 / 9%);
    --fc-ui-space-1: 8px;
    --fc-ui-space-2: 12px;
    --fc-ui-space-3: 16px;
    --fc-ui-space-4: 24px;
    --fc-ui-space-5: 32px;
    --fc-ui-block-gap: 50px;
    --fc-ui-padding: var(--fc-ui-space-4);
    --fc-ui-control: 44px;
    --fc-ui-transition: 160ms ease;
    --fc-ui-action-lift: -2px;
    --fc-ui-arrow-travel: 3px;
    --fc-ui-anchor-offset: calc(var(--theme-header-sticky-height, 80px) + 24px);
    --fc-card-background: var(--fc-section-white-bg, var(--fc-ui-surface));
    --fc-shadow-zoom-control: var(--fc-ui-shadow);
    --fc-shadow-status-badge: var(--fc-ui-shadow);
    --fc-shadow-favorite-corner: var(--fc-ui-shadow);
    --fc-shadow-taxonomy-tag: var(--fc-ui-shadow);
    --fc-card-radius: var(--fc-ui-radius);
    --fc-card-shadow: var(--fc-ui-shadow);
    --fc-card-shadow-hover: var(--fc-ui-shadow);
}
@media (max-width: 700px) { :root { --fc-ui-padding: var(--fc-ui-space-3); } }
:where(.fc-page-container, .fc-catalogue, .fc-favorites-featured, .fc-featured, .fc-deals, .fc-editorial-section, .fc-quick-view, .fc-product-drawer, .fc-category-carousel, .fc-gift-idea-modal) { color: var(--fc-ui-text); }
:where(.fc-page-container, .fc-catalogue, .fc-favorites-featured, .fc-featured, .fc-deals, .fc-editorial-section, .fc-quick-view, .fc-product-drawer, .fc-category-carousel, .fc-gift-idea-modal) :where(p, .fc-faq-answer, .fc-offer__details, .fc-deals__richtext) {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: anywhere;
}
:where(.fc-page-container, .fc-catalogue, .fc-featured, .fc-deals, .fc-quick-view, .fc-category-carousel, .fc-filter-drawer, .fc-editorial-section) :where(button, input:not([type=checkbox]):not([type=radio]), select, .button, .fc-toc-renderer__link) { min-height: var(--fc-ui-control); border-radius: var(--fc-ui-radius); }
:where(.fc-page-container, .fc-catalogue, .fc-featured, .fc-deals, .fc-quick-view, .fc-category-carousel, .fc-filter-drawer, .fc-editorial-section) :where(a, button, input, select, summary):focus-visible { outline: 2px solid var(--fc-ui-focus); outline-offset: 3px; }
:where(.fc-page-container, .fc-catalogue, .fc-featured, .fc-deals, .fc-quick-view, .fc-category-carousel) [id] { scroll-margin-top: var(--fc-ui-anchor-offset); }
.fc-component-heading { margin: 0 0 var(--fc-ui-space-4); text-align: center; }
.fc-component-heading > :first-child { margin-top: 0; }
.fc-component-heading > h2 { margin-bottom: 0; }
.fc-component-heading > p { margin: var(--fc-ui-space-2) 0 0; text-align: justify; }
@media (prefers-reduced-motion: reduce) {
    :where(.fc-page-container, .fc-catalogue, .fc-featured, .fc-deals, .fc-quick-view, .fc-category-carousel, .fc-filter-drawer, .fc-editorial-section) *,
    :where(.fc-page-container, .fc-catalogue, .fc-featured, .fc-deals, .fc-quick-view, .fc-category-carousel, .fc-filter-drawer, .fc-editorial-section) *::before,
    :where(.fc-page-container, .fc-catalogue, .fc-featured, .fc-deals, .fc-quick-view, .fc-category-carousel, .fc-filter-drawer, .fc-editorial-section) *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Libellé accessible commun aux contrôles dont le nom est masqué visuellement. */
.fc-screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0; }

/* Surface commune des barres de filtres ; le panneau conserve sa géométrie propre. */
.fc-filter-surface { box-sizing:border-box; padding:var(--fc-ui-padding); border-radius:var(--fc-ui-radius); background:var(--fc-filter-background,var(--fc-ui-surface)); }

/* Interactions communes : indépendantes de la forme et des couleurs du composant. */
.fc-ui-action:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) { transform:var(--fc-ui-action-base-transform,none); translate:0 0; transition:translate var(--fc-ui-transition),background-color var(--fc-ui-transition),color var(--fc-ui-transition),border-color var(--fc-ui-transition),filter var(--fc-ui-transition),box-shadow var(--fc-ui-transition); }
.fc-ui-action:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):is(:hover,:focus-visible) { translate:0 var(--fc-ui-action-lift); }
.fc-ui-action:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):active { translate:0 0; }
.fc-ui-action:is(:disabled,[aria-disabled="true"],[aria-busy="true"]) { transform:var(--fc-ui-action-base-transform,none); translate:0 0; transition:none; }
.fc-ui-action--external:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) { column-gap:0; }
.fc-ui-action__arrow { display:inline-block; flex-shrink:0; margin-inline-start:var(--fc-ui-space-1); line-height:1; translate:0 0; transition:translate var(--fc-ui-transition); }
.fc-ui-action:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):is(:hover,:focus-visible) .fc-ui-action__arrow { translate:var(--fc-ui-arrow-travel) 0; }
@media(prefers-reduced-motion:reduce) {
 .fc-ui-action,.fc-ui-action .fc-ui-action__arrow { translate:0 0!important; transition:none!important; }
}
