/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.field-newsletter label{
    cursor: pointer;
}

#product .product-variants select option.out-of-stock{
    color: #b3b3b3;
}

/* ICC Digital - Modifications Click&Collect */
.product-actions .control-label {
    min-width: 60px;
}
.product-additional-info .estimateddelivery .ed_stock {
    display: inline-block;
}
#blockcart-modal p {
    font-size: 18px;
}
#cart .cart-item {
    border: 0;
    border-bottom: 1px solid #d5d3d3;
    padding-top: 0;
    margin-bottom: 15px;
}
#cart ul.cart-items li:last-child {
    border: 0 !important;
}
.cart-grid-body .card-block h1 {
    text-align: center;
    color: var(--raf-noir-les-raffineurs, #26221e);
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid #D5D3D3;
    padding-bottom: 15px;
}
#cart .cart-line-product-actions .remove-from-cart {
    margin-top: 5px !important;
}
.ptm_blockcart_body {
    border-color: #01423b;
    width: 350px;
    border-radius: 5px;
}
.ptm_blockcart_list {
    overflow-x: hidden;
}
.ptm_blockcart li {
    padding-bottom: 0;
}
.ptm_blockcart .cart-info .quantity-formated {
    position: absolute;
    left: 70px;
    bottom: -6px;
    background: white;
    padding: 3px 5px;
    border-radius: 50%;
    font-weight: 600;
}
.ptm_blockcart .cart-info>.price {
    float: none;
    position: absolute;
    right: 10px;
    top: 48px;
}
.ptm_blockcart li.cart_divider {
    display: none;
}
.product-additional-info .psemailalert_notconnected .form-control {
    height: 2.75rem;
}
@media (max-width: 767px) {
    #cart .cart-item {
        position: relative;
    }
    #cart .cart-items li.cart-item .product-line-actions,
    #cart .cart-items li.cart-item .product-line-actions .row .col-md-10.col-xs-6,
    #cart .cart-items li.cart-item .product-line-actions .row .col-md-2.col-xs-2 {
        position: unset;
    }
    #cart .cart-items li.cart-item .product-line-actions .row .col-md-10.col-xs-6 {
        width: 66%;
    }
    #cart .product-line-actions .qty {
        position: absolute;
        left: 0;
    }
    #cart .product-line-actions .cart-line-product-actions {
        position: absolute;
        top: -15px;
        right: 0;
    }
    #cart .product-line-actions .price {
        width: 100%;
        padding-right: 0;
        text-align: right;
    }
    .store-details-cart .col-lg-4 {
        padding: 10px;
    }
    .text-address-clickandcollect {
        font-size: 13px;
        padding: 10px;
        margin-top: 0;
    }
    .transfert-product-delivery {
        width: 50%;
        font-size: 12px;
        margin-top: 0;
    }
    .transfert-product-delivery.confirmation {
        width: 100%;
    }
    .transfert-product-delivery.confirmation .transfert-question {
        max-width: 50%;
        display: block;
    }
    .transfert-product-delivery.confirmation .confirmation-transfert {
        font-size: 14px;
    }
}
.ptm_blockcart .ptm_blockcart_list .remove_link a svg {
    transform: scale(.8);
}
.product-additional-info.hide-delivery #estimateddelivery {
    display: none;
}
/* Bloc SSR livraison — masqué visuellement, indexable par les crawlers IA */
.delivery-static-summary {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.product-line-grid-body>.product-line-info>.label, .product-line-grid-body>.product-line-info>.value {
    font-size: 12px;
    line-height: 14.65px;
    font-weight: 600;
    text-transform: none;
}
.ptm_blockcart_body .product-line-info>.label, .ptm_blockcart_body .product-line-info>.value {
    font-size: 12px;
    line-height: 14.65px;
    font-weight: 600;
    text-transform: none;
    color: #828282;
}
@media (max-width: 991px) {
    #blockcart-modal .cart-content .btn {
        width: 100%;
    }
}
#product .col-product-img #product-availability-image.product-availability-shown {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9;
    border: 0;
    color: #231f20;
    background: white;
    border-radius: 50px;
    font-style: normal;
    padding: 10px 20px;
    font-size: 14px;
}
#product .product-add-to-cart #product-availability.product-availability-shown {
    display: none;
}
.preorder-container-add-to-cart {
    width: 100%;
    padding: 10px 0;
}
#product #smarttraffik-btn, #product .product-online-only-hidden {
    display: none !important;
}
#product-availability-image.product-availability-shown.hidden-availability {
    display: none;
}

.inputNew {
    .round {
        max-width: 20px;
        max-height: 20px;
        min-width: 20px;
        min-height: 20px;
        position: relative;
        width: 20px;
        height: 20px;
        border: 2px solid #00524a;
        display: block;
        border-radius: 50%;
        .fond {
            background: transparent;
            position: absolute;
            max-width: 12px;
            max-height: 12px;
            left: 2px;
            top: 2px;
            min-width: 12px;
            min-height: 12px;
            width: 12px;
            height: 12px;
            display: block;
            border-radius: 50%;
        }
    }
}
.checkedRetrait .inputNew {
    .round {
        .fond {
            background: #00524a;
        }
    }
}

/* ============================================================
   BARRE UTILITAIRE MOBILE — Compte / Wishlist / Le Journal
   Visible uniquement ≤ 989px (même breakpoint que le menu mobile)
   ============================================================ */
@media (max-width: 989px) {
    /* Menu mobile : hauteur de ligne des liens principaux (cible tactile) */
    .menu-extanded-list li a {
        font-size: 16px;
        height: 44px;
    }

    /* Conteneur de la barre */
    .raf-mobile-utility-bar {
        display: flex;
        align-items: stretch;
        background: #fff;
        border-top: 1px solid #e8e4df;
        width: 100%;
    }

    /* Neutralise les marges héritées du thème sur le li wrapper */
    .menu-extanded-container .menu-extanded-list li.nav-mobile-close-container {
        margin-bottom: 0 !important;
    }
    .menu-extanded-container .menu-extanded-list .raf-mub-li {
        margin: 0 0 25px 0 !important;
        padding: 0 !important;
        list-style: none;
        overflow: visible !important;
        height: 60px !important;
    }
    .raf-mobile-utility-bar {
        overflow: visible !important;
    }

    /* Chaque colonne — part égale, hauteur min 44px (taille cible tactile) */
    .raf-mub-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 4px;
        position: relative;
    }

    /* Séparateurs verticaux entre colonnes (uniquement à gauche du 2e et 3e item) */
    .raf-mub-item + .raf-mub-item {
        border-left: 1px solid #e8e4df;
        border-right: none;
    }

    /* Dernière colonne : pas de trait sur le bord droit de la barre */
    .raf-mub-item.raf-mub-lejournal {
        border-right: none !important;
    }

    /* ---- COLONNE COMPTE + LE JOURNAL + WISHLIST : bloc interne icône + label (colonne) ---- */
    .raf-mub-compte-toggle,
    .raf-mub-lejournal-inner,
    .raf-mub-wishlist-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .raf-mub-compte-toggle {
        cursor: pointer;
        background: none;
        border: none;
    }

    .raf-mub-lejournal-toggle {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: inherit;
        box-sizing: border-box;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
    }

    /* Protection fill SVG (la barre est dans .menu-extanded-container, hors #header) */
    .raf-mobile-utility-bar svg circle {
        fill: #00524a !important;
    }

    .raf-mobile-utility-bar svg path {
        fill: #fff !important;
    }

    /* ---- COLONNE WISHLIST ---- */
    /* Icône + label : .raf-mub-wishlist-inner (flex colonne, voir bloc commun plus haut) */

    /* Override display:none du front.css (nécessaire pour que les transitions CSS fonctionnent) */
    .raf-mobile-utility-bar .block_wishlist_top {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Reset chaîne advansedwishlist (front.css / .wish_link) + centrage du wrapper */
    .raf-mobile-utility-bar .block_wishlist_top .wish_link.wish_link_17 {
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        top: 0 !important;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    /* Pastille verte — flex centre la boîte du SVG (pas de marges arbitraires sur l’icône) */
    .raf-mobile-utility-bar .block_wishlist_top .wishlist_link {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background-color: #00524a !important;
        box-sizing: border-box;
        overflow: visible;
        flex-shrink: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    .raf-mobile-utility-bar .block_wishlist_top .wishlist_link svg.wishlist_tag {
        width: 16px;
        height: 16px;
        display: block;
        flex-shrink: 0;
        margin: 0;
    }

    /* Compteur wishlist — menu mobile (barre utilitaire + liste) + header */
    .menu-extanded-list .wishlist_count,
    #header .block_wishlist_top .wish_link_17 .wishlist_count {
        color: #fff;
        background-color: #932b16 !important;
        font-family: Montserrat, sans-serif !important;
        font-size: 8px !important;
        font-weight: 500 !important;
        height: 18px !important;
        left: 18px !important;
        line-height: 20px !important;
        top: -6px !important;
        width: 18px !important;
        padding: 0;
        text-align: center;
        position: absolute;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #header .block_wishlist_top .wish_link_17 .wishlist_count {
        top: -8px !important;
    }

    .raf-mobile-utility-bar .block_wishlist_top .wishlist_count {
        right: auto;
    }

    /* Masque le panel allert_note dans le contexte du menu hamburger
       (le clic ouvre directement le slider via JS) */
    .raf-mobile-utility-bar .block_wishlist_top .allert_note {
        display: none !important;
    }

    /* Labels texte communs aux 3 colonnes */
    .raf-mub-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 500;
        color: #00524a;
        line-height: 1;
        display: block;
        text-align: center;
    }

    /* Annule tout positionnement absolu parasite sur le libellé (aligné comme Compte / Wishlist) */
    .raf-mub-lejournal-inner .raf-mub-label {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    /* Label Wishlist sous le hook, dans .raf-mub-wishlist-inner */
    .raf-mub-wishlist-inner > .raf-mub-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 500;
        color: #00524a;
        line-height: 1;
        display: block;
        text-align: center;
    }
}

/* Sur desktop, masquer la barre mobile */
@media (min-width: 990px) {
    .raf-mobile-utility-bar {
        display: none !important;
    }
}

/* ============================================================
   ACCOUNT DRAWER — comportement MOBILE
   Rendu dans .raf-mobile-account-holder à l'intérieur de
   .menu-extanded-container. Couvre toute la surface du menu
   (y compris nav-mobile-close-container) : top:0 + z-index au-dessus
   de la barre close (99999999 dans mobile_menu_extended).
   Le menu hamburger reste ouvert ; le panel recouvre la liste
   de gauche à droite. Retour via .raf-drawer-mobile-back.
   ============================================================ */
@media (max-width: 989px) {
    /* Slot injecté par JS en bas de .menu-extanded-container */
    .raf-mobile-account-holder {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        /* Au-dessus de .nav-mobile-close-container (z-index: 99999999) */
        z-index: 100000000;
        pointer-events: none;
    }

    /* .account-header déplacé dans le slot doit occuper 100% */
    .raf-mobile-account-holder .account-header {
        height: 100%;
    }

    /*
     * Le trigger desktop .toggleCompte (icône + pastille cagnotte) reste dans le DOM
     * au-dessus du wrapper drawer. Sur mobile il doublonne avec .raf-mub-compte-toggle
     * (même pastille) et, hors #header, les règles #header .account-header … ne ciblent
     * plus la pastille → flash / disparition. On masque le toggle tant que le bloc
     * est dans le slot hamburger.
     */
    .raf-mobile-account-holder .account-header > .toggleCompte {
        display: none !important;
    }

    /* Wrapper remplit le slot — transitions opacity/visibility désactivées
       (seule la transition transform du panel compte sur mobile) */
    .raf-mobile-account-holder .rafAccountDrawerWrapper {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
    }

    /* Masquer l'overlay dans ce contexte (pas besoin d'obscurcir le fond) */
    .raf-mobile-account-holder .rafAccountDrawerOverlay {
        display: none !important;
    }

    /* Panel : pleine surface du slot, slide depuis la gauche.
       left+right à 0 (au lieu de width:100%) garantit la largeur complète
       même si account-drawer.css impose width:95% !important sur ≤600px.
       Aligné sur .menu-extanded-container (translate3d + 0.35s ease-in-out).
       overflow:hidden sur le panneau (scroll délégué à .rafAccountDrawerInner) +
       box-shadow:none : overflow-y:auto + ombre pendant le transform = saccades mobile. */
    .raf-mobile-account-holder .account-header .CompteSousMenu.rafAccountDrawerPanel {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        max-width: none !important;
        height: 100% !important;
        background: #fff !important;
        border-left: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        transform: translate3d(-100%, 0, 0) !important;
        transition: transform 0.35s ease-in-out !important;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Note : flex/overflow de .rafAccountDrawerInner déjà géré par account-drawer.css
       (règle de base + media query mobile ≤989px) — pas de redéclaration ici, cf.
       CHECKLIST-REVIEW-CURSOR.md « modifier l'existant, ne pas empiler ». */

    /* Pointer-events actifs quand le drawer est ouvert */
    .raf-mobile-account-holder .rafAccountDrawerWrapper.rafAccountDrawerOpen {
        pointer-events: auto;
    }

    /* Panel visible : slide in (même courbe que le menu hamburger) */
    .raf-mobile-account-holder .rafAccountDrawerWrapper.rafAccountDrawerOpen .CompteSousMenu.rafAccountDrawerPanel {
        transform: translate3d(0, 0, 0) !important;
    }

    /* Bouton Retour — visible uniquement sur mobile */
    .raf-drawer-mobile-back {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        font-family: 'Nacelle', sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: var(--raf-noir-les-raffineurs, #26221e);
        -webkit-tap-highlight-color: transparent;
    }
    .raf-drawer-mobile-back .text_submenu {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: var(--raf-noir-les-raffineurs, #26221e);
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    /* Croix de fermeture : masquée sur mobile (remplacée par le bouton Retour) */
    .raf-mobile-account-holder .closeCompte.rafAccountDrawerClose {
        display: none !important;
    }

    /* Header drawer mobile : « Retour » puis titre aligné à gauche en dessous (cf. menu idées cadeaux) */
    .raf-mobile-account-holder .rafAccountDrawerHeader {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .raf-mobile-account-holder .rafAccountDrawerHeader .rafAccountDrawerTitle {
        position: static;
        left: auto;
        transform: none;
        white-space: normal;
        width: 100%;
        text-align: left;
        margin: 0;
    }

    /* Variante BelowPromo (dans rafAccountDrawerInner) : ne doit PAS être en absolu */
    .raf-mobile-account-holder .rafAccountDrawerTitleBelowPromo {
        position: static !important;
        left: auto !important;
        transform: none !important;
        white-space: normal;
    }
}

/* Sur desktop : masquer le bouton Retour */
@media (min-width: 990px) {
    .raf-drawer-mobile-back {
        display: none !important;
    }
}

/* ============================================================
   BARRE UTILITAIRE DESKTOP — dans le sous-menu navigation
   Visible uniquement ≥ 990px, quand l'utilisateur est connecté
   ============================================================ */
@media (min-width: 990px) {
    .raf-desktop-utility-bar {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-top: 1px solid #e8e4df;
        background: #fff;
        flex-wrap: wrap;
    }

    .raf-dub-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.06em;
        color: var(--raf-noir-les-raffineurs, #26221e);
        cursor: pointer;
        border-radius: 4px;
        transition: background 0.15s ease, color 0.15s ease;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .raf-dub-item:hover {
        background: #f4f0ea;
        color: #00524a;
    }

    .raf-dub-item svg circle { fill: #00524a !important; }
    .raf-dub-item svg path  { fill: #fff !important; }

    .raf-dub-wishlist .block_wishlist_top {
        display: inline-flex !important;
        align-items: center;
    }

    .raf-dub-wishlist .wish_link_17 {
        display: inline-flex;
        align-items: center;
        position: relative;
    }

    .raf-dub-wishlist .wishlist_link {
        display: inline-flex;
        align-items: center;
        position: static;
        height: auto;
    }

    .raf-dub-wishlist .wishlist_link svg.wishlist_tag {
        width: 18px;
        height: 18px;
    }

    /* Compteur produits wishlist */
    .raf-dub-wishlist .wishlist_count {
        position: absolute;
        top: -4px;
        right: -6px;
        background-color: #e59654 !important;
        color: #fff;
        font-size: 9px;
        min-width: 14px;
        height: 14px;
        line-height: 14px;
        border-radius: 50%;
        text-align: center;
        padding: 0 2px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Masque le panel allert_note — le clic ouvre le slider */
    .raf-dub-wishlist .allert_note {
        display: none !important;
    }

    .raf-dub-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.06em;
        color: inherit;
        white-space: nowrap;
    }
}

/* Page parrainage (module allinone_rewards) : « Ma cagnotte » à gauche / en premier, partage à droite / en second */
body#module-allinone_rewards-sponsorship.programme-de-parrainage .content-split.classique {
    display: flex;
}
body#module-allinone_rewards-sponsorship.programme-de-parrainage .content-split.classique .rewards-infos {
    order: 1;
}
body#module-allinone_rewards-sponsorship.programme-de-parrainage .content-split.classique .sharing {
    order: 2;
}
@media screen and (max-width: 600px) {
    body#module-allinone_rewards-sponsorship.programme-de-parrainage .content-split.classique .rewards-infos {
        margin-top: 0;
    }
    body#module-allinone_rewards-sponsorship.programme-de-parrainage .content-split.classique .sharing {
        margin-top: 30px;
    }
}

/* Confirmation commande : paliers fidélité — même largeur max que rappel cadeau / Trustpilot */
body#order-confirmation .fidelite2024 {
    max-width: 900px;
}

/* --- Bloc rappel avis Trustpilot (review reward reminder) — page /confirmation-commande --- */
.raf-review-reward-block {
    max-width: 900px;
    margin: 0 auto 20px;
    background: #00524a;
    border-radius: 5px;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.raf-review-reward-block .raf-rrb-pill {
    color: rgb(231, 181, 101);
    background: rgb(0, 82, 74);
    display: inline-block;
    width: 100%;
}
.raf-review-reward-block .raf-rrb-pill .raf-rrb-pill-text {
    font-family: 'newnord', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 30px;
    line-height: 36px;
    text-transform: uppercase;
}
.raf-review-reward-block .raf-rrb-content {
    width: 100%;
}
.raf-review-reward-block .raf-rrb-text {
    font-family: 'Nacelle', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0;
    color: #fff;
    margin: 0 0 10px;
}
.raf-review-reward-block .raf-rrb-amount-line {
    font-family: 'Nacelle', sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 19px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 2px;
}
.raf-review-reward-block .raf-rrb-amount-value-br {
    display: none;
}
.raf-review-reward-block .raf-rrb-amount-value {
    font-size: 18px;
    font-weight: 800;
}
.raf-review-reward-block .raf-rrb-asterix {
    font-family: 'Nacelle', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin: 10px 0 0;
}
@media screen and (max-width: 600px) {
    .raf-review-reward-block {
        padding: 18px 20px;
    }
    .raf-review-reward-block .raf-rrb-text {
        font-size: 16px;
        line-height: 22px;
    }
    .raf-review-reward-block .raf-rrb-amount-line {
        font-size: 12px;
        line-height: 18px;
        margin: 0 0 10px;
    }
    .raf-review-reward-block .raf-rrb-amount-value-br {
        display: block;
    }
    .raf-review-reward-block .raf-rrb-pill .raf-rrb-pill-text {
        font-size: 24px;
        line-height: 28px;
    }
}

@media (min-width: 990px) {
    #header .header-top .account-header .CompteSousMenu > div .Menu_Mon_compte p .btn-title-connect {
        padding-left: 30px;
    }
}

/* ==========================================================================
   FDM 2025 — Bloc Prix dans le listing cat. 51 (après le 42ᵉ produit)
   Listing : variante module « mobile » (SCSS fdm2025) — règles ci-dessous réservées au variant landing si encore utilisé ailleurs
   ========================================================================== */

/* Contenu BO / champ catégorie (wrapper after-sliders) : masqué — source unique le listing (.fdm2025-bloc-prix-in-listing-col) */
body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-after-sliders {
    display: none !important;
}

body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col > .fdm2025-desktop {
    display: block;
    margin-top: 90px;
    margin-bottom: 90px;
}
body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing .fdm2025-mobile {
    display: none;
}
@media screen and (max-width: 989px) {
    body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col > .fdm2025-desktop {
        display: none;
    }
    body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing .fdm2025-mobile {
        display: block;
    }
}

@media screen and (max-width: 989px) {
    body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col .fdm2025-bloc-prix.fdm2025-bloc-prix--landing .fdm2025-bloc-prix-cell:nth-child(3) {
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        grid-column: 1 / span 2;
    }
}

/* Cellule individuelle (variant landing uniquement — ne pas écraser .fdm2025-bloc-prix--mobile) */
body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col .fdm2025-bloc-prix.fdm2025-bloc-prix--landing .fdm2025-bloc-prix-cell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 12px;
    border-radius: 5px;
    background: var(--FDM26---Beige, #FEF1E2);
    text-decoration: none;
    -webkit-transition: -webkit-transform 0.18s ease, background 0.18s ease;
    transition: transform 0.18s ease, background 0.18s ease;
    text-align: center;
    cursor: pointer;
}
body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col .fdm2025-bloc-prix.fdm2025-bloc-prix--landing .fdm2025-bloc-prix-cell:hover {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    background: #f9e0c6;
    text-decoration: none;
}

/* Texte dans la cellule */
body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col .fdm2025-bloc-prix.fdm2025-bloc-prix--landing .fdm2025-bloc-prix-cell-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2px;
}
body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col .fdm2025-bloc-prix.fdm2025-bloc-prix--landing .fdm2025-bloc-prix-line1 {
    font-family: 'Nacelle', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 13px;
    color: #0029FF;
    opacity: 0.65;
    display: block;
    white-space: nowrap;
}
body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col .fdm2025-bloc-prix.fdm2025-bloc-prix--landing .fdm2025-bloc-prix-line2 {
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #0029FF;
    display: block;
    white-space: nowrap;
}
body.fdm2025-categ.raf-evenement-body .fdm2025-bloc-prix-in-listing-col .fdm2025-bloc-prix.fdm2025-bloc-prix--landing .fdm2025-bloc-prix-cta {
    display: none;
}

/* ============================================================
   LCP/CLS — Page produit mobile (≤600px)
   Avant l'init Slick, .img-content empile verticalement N slides
   (1 vidéo + 8-12 images) sur 5000-7000px de hauteur, puis Slick
   collapse à ~430px = CLS énorme sur le contenu sous le bloc.
   On masque toutes les slides sauf la 1ère tant que Slick n'a
   pas pris le relais → réserve la hauteur d'une seule slide,
   identique au rendu post-Slick.
   ============================================================ */
@media screen and (max-width: 600px) {
    #product #wrapper #main_new #contenu_new #left_block .show-more .img-content:not(.slick-initialized) {
        opacity: 1;
    }
    /* ~ plutôt que :not(:first-child) : évite le cas où un nœud texte (whitespace
       Smarty) est le premier enfant et ferait masquer toutes les slides */
    #product #wrapper #main_new #contenu_new #left_block .show-more .img-content:not(.slick-initialized) .img-content-item ~ .img-content-item {
        display: none !important;
    }
}

