/* ============================================================
   LinFini Catalogue Manager – Front CSS
   Compatible tous thèmes, responsive, sans dépendance externe.
   ============================================================ */

/* ── Variables ── */
.lfcm-front {
    --lfcm-gap     : 32px;
    --lfcm-radius  : 12px;
    --lfcm-text    : #333;
    --lfcm-muted   : #666;
    --lfcm-border  : #e5e5e5;
    font-family    : inherit;
    color          : var(--lfcm-text);
    line-height    : 1.65;
}

/* ════════════════════════════════════════════════════════════
   HEADER BANNIÈRE
   ════════════════════════════════════════════════════════════ */
.lfcm-header {
    position      : relative;
    overflow      : hidden;
    border-radius : var(--lfcm-radius);
    margin-bottom : var(--lfcm-gap);
}
.lfcm-header img {
    width      : 100%;
    height     : auto;
    display    : block;
    max-height : 500px;
    object-fit : cover;
}
/* Transition douce lors du changement d'image (clic couleur) */
.lfcm-header-page .lfcm-header-img {
    transition : opacity 0.35s ease;
}
/* Header sans image initiale : fond sombre en attendant l'AJAX */
.lfcm-header-empty {
    background  : #1c1c1c;
    min-height  : 200px;
}
.lfcm-header-title {
    position        : absolute;
    inset           : 0;
    display         : flex;
    flex-direction  : column;
    align-items     : center;
    justify-content : center;
    /* background : rgba(0,0,0,.30); */
}
.lfcm-header-title h1 {
    margin         : 0;
    text-align     : center;
    text-shadow: 1px 1px 0 rgba(0,0,0,.2);
    color: #fff;
    padding-top: 10px;
    font-family: 'Vollkorn', Roboto, sans-serif !important;
    font-size: 2.5rem;
}
.lfcm-header-color {
    margin         : 3px 0 0;
    text-align     : center;
    font-size      : 1.2rem;
    letter-spacing : .2em;
    text-transform : uppercase;
    color          : rgba(255,255,255,.75);
    text-shadow    : 0 1px 2px rgba(0,0,0,.3);
    min-height     : 1em;
}
/* Header sans image → texte sombre */
.lfcm-header-empty .lfcm-header-color {
    color       : rgba(0,0,0,.55);
    text-shadow : none;
}
.lfcm-title-plain {
    font-size      : 2rem;
    margin-bottom  : var(--lfcm-gap);
}
.hcolor *{
    text-align: left;
    ;
}

 
.hcolor h2 {
    font-family: 'Vollkorn', serif !important;
    color: #000 !important;
    font-size: 28px !important;
    text-transform: uppercase !important;
    letter-spacing: 3px;
    margin: 0 !important;
    padding-bottom: 0 !important;
    font-weight: 500;
}

.hcolor h3 {
    font-family: 'Vollkorn', serif !important;
    color: #000 !important;
    font-size: 20px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
      font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   BLOC INTRO (image gauche + texte + couleurs droite)
   ════════════════════════════════════════════════════════════ */
.lfcm-intro-block {
    display               : grid;
    grid-template-columns : 1fr 1fr;
    gap                   : var(--lfcm-gap);
    margin-bottom         : var(--lfcm-gap);
    align-items           : start;
}
.lfcm-intro-full {
    grid-column : 1 / -1;
}
.lfcm-intro-image img {
    width         : 100%;
    height        : auto;
    display       : block;
    border-radius : var(--lfcm-radius);
    object-fit    : cover;
}

/* ── Couleurs ── */
.lfcm-colors-section { margin-top: 12px; }
.lfcm-colors-label {
    font-size      : .85rem;
    text-transform : uppercase;
    letter-spacing : .08em;
    color          : var(--lfcm-muted);
    margin-bottom  : 12px;
    font-weight    : 600;
}
.lfcm-colors-list {
    display   : grid;
    grid-template-columns: repeat(10, 28px);
    gap       : 10px;
}

.lfcm-color-btn {
    display       : block;
    width         : 28px;
    height        : 28px;
    border-radius : 50%; 
    padding       : 0;
    cursor        : pointer;
    overflow      : hidden;
    position      : relative;
    transition    : transform .15s, border-color .15s, box-shadow .15s;
    box-shadow    : 0 1px 3px rgba(0,0,0,.18);
    flex-shrink   : 0;
    background    : #e0e0e0;
}
.lfcm-color-btn img {
    width      : 100%;
    height     : 100%;
    object-fit : cover;
    display    : block;
}
.lfcm-color-btn:hover,
.lfcm-color-btn:focus {
    transform    : scale(1.18);
    border-color : #222;
    box-shadow   : 0 3px 10px rgba(0,0,0,.25);
    outline      : none;
}

/* ════════════════════════════════════════════════════════════
   TOOLTIP COULEUR
   Appendé au <body> via JS (évite le clipping overflow:hidden)
   ════════════════════════════════════════════════════════════ */
.lfcm-tooltip {
    position      : absolute;
    background    : #2c2b3e;
    color         : #fff;
    font-size     : .73rem;
    font-family   : inherit;
    letter-spacing: .05em;
    padding       : 5px 11px;
    border-radius : 7px;
    white-space   : nowrap;
    pointer-events: none;
    z-index       : 9999;
    animation     : lfcmTipIn .15s ease forwards;
}
/* Flèche pointant vers le bas (vers la pastille) */
.lfcm-tooltip::after {
    content   : '';
    position  : absolute;
    top       : 100%;
    left      : 50%;
    transform : translateX(-50%);
    border    : 5px solid transparent;
    border-top: 5px solid #2c2b3e;
}
@keyframes lfcmTipIn {
    from { opacity: 0; transform: translateY(3px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* ════════════════════════════════════════════════════════════
   GALERIE INSPIRATIONS
   ════════════════════════════════════════════════════════════ */
.lfcm-gallery-section {
    margin-top : var(--lfcm-gap);
}
.lfcm-gallery-section h3 {
    font-size      : 1.1rem;
    letter-spacing : .06em;
    text-transform : uppercase;
    margin-bottom  : 16px;
}
.lfcm-gallery-grid {
    display               : grid;
    grid-template-columns : repeat(3, 1fr);
    gap                   : 20px;
    max-width: 1100px;
    margin-left: auto; margin-right: auto; 
}
.lfcm-gallery-item {
    overflow      : hidden;
    border-radius : var(--lfcm-radius);
   aspect-ratio: 1 / 1;
}
.lfcm-gallery-item img {
    width      : 100%;
    height     : 100%;
    object-fit : cover;
    display    : block;
    transition : transform .3s;
}
.lfcm-gallery-item:hover img { transform: scale(1.04); }

/* ════════════════════════════════════════════════════════════
   DRAWER COULEUR
   ════════════════════════════════════════════════════════════ */
.lfcm-drawer {
    position    : fixed;
    inset       : 0;
    z-index     : 99999;
    visibility  : hidden;
    pointer-events: none;
}
.lfcm-drawer.lfcm-drawer-open {
    visibility     : visible;
    pointer-events : auto;
}

/* Overlay */
.lfcm-drawer-overlay {
    position   : fixed;
    inset      : 0;
    background : rgba(0,0,0,.45);
    opacity    : 0;
    transition : opacity .3s ease;
}
.lfcm-drawer-open .lfcm-drawer-overlay {
    opacity : 1;
}
.lfcm-drawer-closing .lfcm-drawer-overlay {
    opacity : 0;
}

/* Panneau */
.lfcm-drawer-panel {
    position    : fixed;
    top         : 0;
    right       : 0;
    bottom      : 0;
    width       : min(480px, 100vw);
    background  : #fff;
    box-shadow  : -4px 0 30px rgba(0,0,0,.20);
    display     : flex;
    flex-direction: column;
    transform   : translateX(100%);
    transition  : transform .3s cubic-bezier(.4,0,.2,1);
    overflow    : hidden;
}
.lfcm-drawer-open .lfcm-drawer-panel {
    transform : translateX(0);
}
.lfcm-drawer-closing .lfcm-drawer-panel {
    transform : translateX(100%);
}

/* Bouton fermer */
.lfcm-drawer-close {
    position   : absolute;
    top        : 12px;
    right      : 14px;
    background : none;
    border     : none;
    font-size  : 28px;
    cursor     : pointer;
    color      : #555;
    line-height: 1;
    padding    : 4px 8px;
    border-radius: 6px;
    transition : background .15s;
    z-index    : 1;
}
.lfcm-drawer-close:hover {
    background : rgba(0,0,0,.07);
    color      : #111;
}

/* Corps du drawer */
.lfcm-drawer-body {
    flex       : 1;
    overflow-y : auto;
    padding    : 56px 24px 32px;
}

.lfcm-drawer-loading {
    text-align  : center;
    color       : #888;
    margin-top  : 60px;
    font-size   : 1rem;
}

/* Contenu généré */
.lfcm-drawer-header {
    display     : flex;
    align-items : center;
    gap         : 14px;
    margin-bottom: 20px;
}
.lfcm-drawer-header h2 {
    margin   : 0;
    font-size: 1.4rem;
}
.lfcm-drawer-swatch {
    width        : 32px;
    height       : 32px;
    border-radius: 50%;
    border       : 2px solid rgba(0,0,0,.12);
    flex-shrink  : 0;
    display      : inline-block;
}

.lfcm-drawer-main-img {
    margin-bottom : 20px;
    border-radius : 10px;
    overflow      : hidden;
}
.lfcm-drawer-main-img img {
    width      : 100%;
    height     : auto;
    display    : block;
    object-fit : cover;
    max-height : 340px;
}

.lfcm-drawer-gallery {
    display               : grid;
    grid-template-columns : repeat(2, 1fr);
    gap                   : 10px;
}
.lfcm-drawer-gitem {
    overflow      : hidden;
    border-radius : 8px;
    aspect-ratio  : 1;
}
.lfcm-drawer-gitem img {
    width      : 100%;
    height     : 100%;
    object-fit : cover;
    display    : block;
    transition : transform .25s;
}
.lfcm-drawer-gitem:hover img { transform: scale(1.06); }

.lfcm-error {
    color : #c00;
}

/* ════════════════════════════════════════════════════════════
   COULEURS – swatches avec / sans lien
   ════════════════════════════════════════════════════════════ */

/* Swatch avec lien → page propre */
.lfcm-color-link {
    text-decoration : none;
    display         : block;
}
.lfcm-color-link:hover,
.lfcm-color-link:focus {
    transform    : scale(1.18);
    border-color : #222;
    box-shadow   : 0 3px 10px rgba(0,0,0,.25);
    outline      : none;
}

/* Swatch sans lien → met à jour les blocs de la page */
.lfcm-color-noop {
    cursor : pointer;
}

/* ════════════════════════════════════════════════════════════
   BLOCS DYNAMIQUES (mis à jour via AJAX au clic couleur)
   ════════════════════════════════════════════════════════════ */

/* État de chargement (pendant la requête AJAX) */
.lfcm-block-loading {
    opacity        : .4;
    pointer-events : none;
    transition     : opacity .2s;
}

/* Pastille couleur active (celle qui est sélectionnée) */
.lfcm-color-btn.lfcm-color-active {
    transform    : scale(1.18);
}

/* Image intro cliquable → ouvre le carousel en plein écran */
[data-lfcm-block="intro"] img {
    cursor : zoom-in;
}

/* ════════════════════════════════════════════════════════════
   PAGE COULEUR
   ════════════════════════════════════════════════════════════ */

/* Header avec back-link + titre sur 2 lignes */
.lfcm-header-couleur {
    flex-direction : column;
    gap            : 8px;
}
.lfcm-header-couleur h1 {
    margin : 0;
}

/* Pastille hexadécimale dans le header */
.lfcm-header-swatch {
    display       : inline-block;
    width         : 28px;
    height        : 28px;
    border-radius : 50%;
    border        : 2px solid rgba(255,255,255,.6);
    box-shadow    : 0 1px 4px rgba(0,0,0,.3);
    flex-shrink   : 0;
}

/* Lien retour (dans header + footer) */
.lfcm-back-link {
    color           : rgba(255,255,255,.90);
    text-decoration : none;
    font-size       : .85rem;
    letter-spacing  : .05em;
    transition      : color .15s;
}
.lfcm-back-link:hover { color: #fff; text-decoration: underline; }

/* Header sans image (version plain) */
.lfcm-couleur-header-plain {
    margin-bottom : 24px;
}
.lfcm-couleur-header-plain .lfcm-back-link {
    color      : #555;
    display    : block;
    margin-bottom: 8px;
    font-size  : .9rem;
}
.lfcm-couleur-header-plain .lfcm-back-link:hover { color: #111; }

/* Bloc intro couleur */
.lfcm-color-intro-wrap,
.lfcm-color-main-wrap {
    margin-bottom : 32px;
    border-radius : var(--lfcm-radius);
    overflow      : hidden;
}
.lfcm-color-intro-img,
.lfcm-color-main-img {
    width      : 100%;
    height     : auto;
    display    : block;
    object-fit : cover;
    max-height : 560px;
}

/* Lien retour en bas de page */
.lfcm-back-wrap {
    margin-top  : 40px;
    padding-top : 20px;
    border-top  : 1px solid var(--lfcm-border);
}
.lfcm-back-footer {
    color      : var(--lfcm-text) !important;
    font-size  : .9rem;
}
.lfcm-back-footer:hover { color: #000 !important; }

/* ════════════════════════════════════════════════════════════
   CAROUSEL COULEUR
   ════════════════════════════════════════════════════════════ */
.lfcm-carousel-modal {
    position        : fixed;
    inset           : 0;
    z-index         : 999999;
    display         : flex;
    align-items     : center;
    justify-content : center;
    opacity         : 0;
    pointer-events  : none;
    transition      : opacity .25s;
}
.lfcm-carousel-modal.lfcm-carousel-open {
    opacity        : 1;
    pointer-events : auto;
}
.lfcm-carousel-overlay {
    position   : fixed;
    inset      : 0;
    background : rgba(0,0,0,.85);
}
.lfcm-carousel-box {
    position        : relative;
    background      : #fff;
    border-radius   : 4px;
    width           : min(900px, 95vw);
    max-height      : 92vh;
    display         : flex;
    flex-direction  : column;
    overflow        : hidden;
    box-shadow      : 0 24px 60px rgba(0,0,0,.5);
}
.lfcm-carousel-close {
    position      : absolute;
    top           : 10px;
    right         : 14px;
    background    : none;
    border        : none;
    font-size     : 28px;
    cursor        : pointer;
    color         : #666;
    z-index       : 2;
    line-height   : 1;
    padding       : 4px 8px;
    border-radius : 4px;
    transition    : color .15s;
}
.lfcm-carousel-close:hover { color: #000; }

.lfcm-carousel-header {
    display         : flex;
    align-items     : center;
    gap             : 12px;
    padding         : 16px 56px 12px 20px;
    border-bottom   : 1px solid #eee;
    flex-shrink     : 0;
}
.lfcm-carousel-swatch-dot {
    display       : none;
    width         : 22px;
    height        : 22px;
    border-radius : 50%;
    border        : 1px solid rgba(0,0,0,.15);
    flex-shrink   : 0;
}
.lfcm-carousel-title {
    margin         : 0;
    font-size      : 1rem;
    letter-spacing : .06em;
    text-transform : uppercase;
    font-weight    : 500;
    color          : #111;
}

.lfcm-carousel-stage {
    flex       : 1;
    display    : flex;
    align-items: center;
    min-height : 280px;
    overflow   : hidden;
    position   : relative;
}
.lfcm-carousel-img-wrap {
    flex            : 1;
    display         : flex;
    align-items     : center;
    justify-content : center;
    max-height      : 68vh;
    overflow        : hidden;
}
.lfcm-carousel-img {
    max-width  : 100%;
    max-height : 68vh;
    object-fit : contain;
    display    : block;
}
.lfcm-carousel-prev,
.lfcm-carousel-next {
    position      : absolute;
    top           : 50%;
    transform     : translateY(-50%);
    background    : rgba(255,255,255,.92);
    border        : none;
    font-size     : 2.6rem;
    line-height   : 1;
    cursor        : pointer;
    padding       : 6px 14px;
    color         : #333;
    border-radius : 4px;
    z-index       : 1;
    transition    : background .15s, color .15s;
}
.lfcm-carousel-prev { left  : 8px; }
.lfcm-carousel-next { right : 8px; }
.lfcm-carousel-prev:hover,
.lfcm-carousel-next:hover { background: #111; color: #fff; }

.lfcm-carousel-dots {
    display         : flex;
    justify-content : center;
    gap             : 8px;
    padding         : 14px 0 12px;
    flex-shrink     : 0;
}
.lfcm-carousel-dot {
    width         : 8px;
    height        : 8px;
    border-radius : 50%;
    background    : #ccc;
    border        : none;
    cursor        : pointer;
    padding       : 0;
    transition    : background .15s;
}
.lfcm-carousel-dot.lfcm-carousel-dot-active { background: #222; }

.lfcm-carousel-loading,
.lfcm-carousel-empty {
    text-align : center;
    color      : #888;
    padding    : 40px;
    font-size  : .95rem;
}

body.lfcm-noscroll { overflow: hidden; }

/* ════════════════════════════════════════════════════════════
   COLLECTION (vue accordéon)
   ════════════════════════════════════════════════════════════ */
.lfcm-collection {
    max-width   : 860px;
    margin      : 0 auto;
    font-family : inherit;
    color       : #222;
    line-height : 1.6; 
        width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.lfcm-collection-header { padding: 16px 0 20px; }

.lfcm-block.lfcm-block-texte p {
    display: none;
}

.lfcm-collection-section {    
    margin         : 0 0 4px 0 !important;
    font-family: 'Vollkorn', serif !important;
    color: #000 !important;
    font-size: 20px !important;
    text-transform: uppercase !important; 
}
.lfcm-collection-gamme {
    font-size      : clamp(1.8rem, 5vw, 2.8rem);
    letter-spacing : .06em;
    text-transform : uppercase;
    margin         : 0;
    font-weight    : 700;
    line-height    : 1.1;
}
.lfcm-collection-attr {
    font-size      : .78rem;
    letter-spacing : .18em;
    text-transform : uppercase;
    color          : #888;
    margin         : 6px 0 0;
}
.lfcm-collection-sep {
    border     : none;
    border-top : 1px solid #111;
    margin     : 0;
}

.lfcm-acc-item.lfcm-acc-open .lfcm-acc-trigger {
    border-bottom: 1px solid #384154;
    margin-bottom: 15px;
}

.lfcm-acc-item.lfcm-acc-open{
     border-bottom: 0px !important;
}

/* ── Accordéon items ── */
.lfcm-acc-list  { margin: 0; }
.lfcm-acc-item  { border-bottom: 1px solid #384154 }

.lfcm-acc-trigger {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    width           : 100%;
    background      : none;
    border          : none;
    padding         : 15px 4px 10px 4px;
    cursor          : pointer;
    text-align      : left;
    gap             : 12px;
}
.lfcm-acc-trigger:hover .lfcm-acc-name { opacity: .75; }

.lfcm-acc-name {  
    font-weight    : 400; 
    transition     : opacity .15s;
     text-transform: uppercase;
    font-size: 20px; 
    color: #2f3439 !important;
        font-family: 'Vollkorn', Roboto, sans-serif !important;
}
.lfcm-acc-icon {
    font-size   : 1.2rem;
    font-weight : 400;
    color       : #333;
    line-height : 1;
    flex-shrink : 0;
    transition  : transform .25s;
}

.lfcm-acc-body {
    padding    : 0 0 24px;
}

/* ── Sous-accordéon catégories (structure COTON : attribut → catégorie → couleur) ── */
.lfcm-acc-sub-list {
    margin  : 0 0 8px;
    padding : 0;
}
.lfcm-acc-sub-list .lfcm-acc-item {
    border-bottom : 1px solid rgba(56,65,84,.35);
}
.lfcm-acc-sub-list .lfcm-acc-item:last-child {
    border-bottom : none;
}
.lfcm-acc-sub-list .lfcm-acc-trigger {
    padding        : 10px 0;
    font-size      : .82rem;
    letter-spacing : .12em;
}
.lfcm-acc-sub-list .lfcm-acc-body {
    padding : 0 4px 16px;
}

.lfcm-acc-text {
    font-size     : .88rem;
    color         : #555;
    margin        : 0 0 16px;
    letter-spacing: .01em;
}

.lfcm-collection-cta {
  font-size: 16px;
    line-height: 20px;
    max-width: 300px !important;
    margin-top: 15px;
        font-family: 'Vollkorn', Roboto, sans-serif !important;
        text-align: left;
}

/* Pied de collection : une seule colonne — CTA puis icônes de partage en dessous */
.lfcm-collection-foot {
    display         : flex;
    flex-direction  : column;
    align-items     : flex-start;
    gap             : 14px;
    margin-top      : 18px;
}
.lfcm-collection-foot .lfcm-collection-cta {
    margin : 0;
}
.lfcm-collection-foot .lfcm-share-bar {
    margin          : 0;
    justify-content : flex-start;
}
.lfcm-collection-foot .lfcm-share-title {
    text-align : left;
}

/* ════════════════════════════════════════════════════════════
   PAGE COMPLÈTE  [linfini_page id="X"]
   ════════════════════════════════════════════════════════════ */

/* Wrapper racine */
.lfcm-page {
    font-family : inherit;
    color       : #222;
    line-height : 1.65;
}

/* Petit texte parent dans le header banner (ex: "NAPPES") */
.lfcm-header-parent {
    font-size      : 2.5rem; 
    text-transform : uppercase;
    color          : rgba(255,255,255,.75);
    margin         : 0 0 4px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
    color: #fff;
    padding-right: 15px;
    font-family: 'Vollkorn', Roboto, sans-serif !important;
}

.lfcm-header-gamme{
    font-size      : 2.5rem; 
    text-transform : uppercase;
    color          : rgba(255,255,255,.75);
    margin         : 0 0 4px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
    color: #fff;
    padding-right: 15px;
    font-family: 'Vollkorn', Roboto, sans-serif !important;
}

/* Corps 2 colonnes : intro gauche | collection droite */
.lfcm-page-body {
    display               : grid;
    grid-template-columns : 1fr 1fr;
    gap                   : 48px;
    margin                : 40px 0;
    align-items           : start;
        max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Image intro dans la colonne gauche – recadrée en portrait */
.lfcm-page-body .lfcm-intro-image {
    overflow      : hidden;
    border-radius : 4px;
}
.lfcm-page-body .lfcm-intro-image img {
    width          : 100%;
    aspect-ratio   : 3 / 4;
    display        : block;
    border-radius  : 4px;
    object-fit     : cover;
    object-position: center top;
}

/* Colonne droite : accordéon / couleurs */
.lfcm-page-collection {
    display : flex;
    flex-direction: column;
}
/* La collection dans la colonne droite ne prend pas de max-width */
.lfcm-page-collection .lfcm-collection {
    max-width : none;
}

/* ── Barre de partage : icônes réseaux (haut à droite de la collection) ── */
.lfcm-share-bar {
    display         : flex;
    align-items     : center;
    justify-content : flex-end;
    flex-wrap       : wrap;
    gap             : 8px;
    margin          : 0 0 22px;
}
/* Libellé "Follow us" : sur sa propre ligne, au-dessus des icônes */
.lfcm-share-title {
    flex           : 0 0 100%;
    text-align     : right;
    font-family    : 'Vollkorn', Roboto, sans-serif;
    font-size      : 13px;
    letter-spacing : .1em;
    text-transform : uppercase;
    color          : #999;
    margin         : 0 0 8px;
    white-space    : nowrap;
}
.lfcm-share-link {
    display         : inline-flex;
    align-items     : center;
    justify-content : center;
    width           : 32px;
    height          : 32px;
    border-radius   : 50%;
    color           : #888;
    background      : #fff;
    border          : 1px solid var(--lfcm-border, #e5e5e5);
    text-decoration : none !important;
    box-shadow      : none !important;
    transition      : color .25s ease, border-color .25s ease,
                      background .25s ease, box-shadow .25s ease, transform .2s ease;
}
.lfcm-share-link svg {
    display    : block;
    width      : 15px;
    height     : 15px;
    transition : transform .25s ease;
}
.lfcm-share-link:hover {
    transform  : translateY(-2px);
    color      : #fff;
    box-shadow : 0 6px 16px rgba(0,0,0,.14) !important;
}
.lfcm-share-link:hover svg {
    transform : scale(1.06);
}
.lfcm-share-link:focus-visible {
    outline    : none;
    box-shadow : 0 0 0 3px rgba(0,0,0,.10) !important;
}
/* Couleurs de marque au survol */
.lfcm-share-whatsapp:hover  { background: #25D366; border-color: #25D366; }
.lfcm-share-facebook:hover  { background: #1877F2; border-color: #1877F2; }
.lfcm-share-instagram:hover {
    border-color : transparent;
    background   : radial-gradient(circle at 30% 107%,
                   #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.lfcm-share-copy:hover     { background: #1c1c1c; border-color: #1c1c1c; }

/* Toast de confirmation (Instagram / copie) */
.lfcm-share-toast {
    position      : fixed;
    left          : 50%;
    bottom        : 32px;
    transform     : translateX(-50%) translateY(16px);
    background    : #1c1c1c;
    color         : #fff;
    padding       : 12px 22px;
    border-radius : 999px;
    font-size     : .9rem;
    letter-spacing: .02em;
    box-shadow    : 0 8px 28px rgba(0,0,0,.25);
    opacity       : 0;
    pointer-events: none;
    z-index       : 100000;
    transition    : opacity .3s ease, transform .3s ease;
}
.lfcm-share-toast-show {
    opacity   : 1;
    transform : translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .lfcm-share-bar {
        justify-content : flex-end;
    }
}

/* Texte de niveau nœud (si présent) */
.lfcm-page-text {
    margin : 0 0 32px;
}

/* Section galerie avec libellé */
.lfcm-gallery-page {
    margin-top : 0;
}
.lfcm-gallery-label {   
    color          : #999999!important; 
    font-weight    : 500;
           margin-bottom: 25px;
           margin-top: 30px;
               text-align: left !important;
font-size: 1.75rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
             font-family: 'Vollkorn',Roboto,sans-serif!important;
             max-width: 1100px;
             margin-left: auto;
             margin-right: auto;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .lfcm-intro-block,
    .lfcm-page-body {
        grid-template-columns : 1fr;
    }
    .lfcm-gallery-grid {
        grid-template-columns : repeat(2, 1fr);
     
    }
    .lfcm-drawer-gallery {
        grid-template-columns : 1fr;
    }
}

@media (max-width: 480px) {
    .lfcm-gallery-grid {
        grid-template-columns : 1fr;
    }
    .lfcm-header img { max-height: 220px; }
}

/* ════════════════════════════════════════════════════════════
   GRILLE PRODUITS — [linfini_nouveautes] / [linfini_saison]
   ════════════════════════════════════════════════════════════ */
.lfcm-product-grid {
    display               : grid;
    grid-template-columns : repeat(auto-fill, minmax(240px, 1fr));
    gap                   : 2px;
    margin                : 24px 0;
}

/* Carte = lien ou div, même style */
a.lfcm-product-card,
div.lfcm-product-card {
    display         : flex;
    flex-direction  : column;
    text-decoration : none;
    color           : inherit;
    background      : #fff;
    overflow        : hidden;
    cursor          : pointer;
    position        : relative;
}

.lfcm-product-img-wrap {
    display      : block;
    overflow     : hidden;
    aspect-ratio : 3 / 4;
    position     : relative;
}
.lfcm-product-img {
    width           : 100%;
    height          : 100%;
    object-fit      : cover;
    object-position : center top;
    display         : block;
    transition      : transform .5s ease;
}
a.lfcm-product-card:hover .lfcm-product-img {
    transform : scale(1.05);
}

/* Overlay sombre au hover */
.lfcm-product-img-wrap::after {
    content    : '';
    position   : absolute;
    inset      : 0;
    background : rgba(0,0,0,0);
    transition : background .35s;
    pointer-events: none;
}
a.lfcm-product-card:hover .lfcm-product-img-wrap::after {
    background : rgba(0,0,0,.08);
}

/* Info texte sous l'image */
.lfcm-product-info {
    padding    : 14px 12px 28px;
    display    : flex;
    flex-direction : column;
    gap        : 0;
    align-items: center;
    text-align : center;
}

/* Ligne gamme · section sur une seule ligne */
.lfcm-product-meta {
    display        : block;
    font-size      : .68rem;
    letter-spacing : .14em;
    text-transform : uppercase;
    color          : #aaa;
    margin         : 0 0 5px;
    white-space    : nowrap;
    overflow       : hidden;
    text-overflow  : ellipsis;
}
.lfcm-product-sep {
    color : #ccc;
}
.lfcm-product-gamme,
.lfcm-product-section {
    /* inline spans dans .lfcm-product-meta */
    font-size  : inherit;
    color      : inherit;
}

.lfcm-product-title {
    font-size      : .88rem;
    font-weight    : 500;
    letter-spacing : .08em;
    text-transform : uppercase;
    color          : #1a1a1a;
    margin         : 0;
    line-height    : 1.3;
    transition     : opacity .2s;
}
a.lfcm-product-card:hover .lfcm-product-title {
    opacity : .65;
}

@media (max-width: 768px) {
    .lfcm-product-grid {
        grid-template-columns : repeat(2, 1fr);
        gap : 2px;
    }
}
@media (max-width: 420px) {
    .lfcm-product-grid {
        grid-template-columns : 1fr;
    }
}
