/* MyFairBook Noël – WEB OMEGA */

/* ---------- Bandeau « Commandez avant le … » (sous le bandeau gris) ---------- */
.mfbn-bandeau{background:#1d6b3e;color:#fff;text-align:center;font-family:Montserrat,Arial,sans-serif;font-size:14px;line-height:1.35;padding:7px 12px;margin:0}
.mfbn-bandeau a,.mfbn-bandeau span{color:#fff!important;text-decoration:none}
.mfbn-bandeau a:hover,.mfbn-bandeau a:focus-visible{text-decoration:underline}
.mfbn-bandeau a:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (max-width:767px){.mfbn-bandeau{font-size:13px;padding:6px 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
/* 1.3.2 : bandeau de date « sapin et or » : dégradé vert, filet or en bas, date en or, icône cadeau, flocons légers en fond, une ligne */
.mfbn-bandeau.mfbn-bandeau-sapin{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 10px 2px;box-sizing:border-box;white-space:nowrap;overflow:hidden;
  background-color:#1d6b3e;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='36'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='9' cy='7' r='1.2' opacity='.3'/%3E%3Ccircle cx='41' cy='29' r='.9' opacity='.22'/%3E%3Ccircle cx='77' cy='4' r='1.5' opacity='.25'/%3E%3Ccircle cx='113' cy='31' r='1.1' opacity='.3'/%3E%3Ccircle cx='151' cy='16' r='.8' opacity='.2'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(90deg,#14532e,#1d6b3e);
  background-size:170px 36px,100% 100%;background-position:0 0,0 0;border-bottom:2px solid #d9b45a;font-size:14px;line-height:1.2}
.mfbn-bandeau-sapin strong{color:#f3d27a!important;font-weight:700}
.mfbn-bandeau-sapin .mfbn-bandeau-icone{flex:none;width:16px;height:16px;color:#f3d27a}
.mfbn-bandeau-sapin > a,.mfbn-bandeau-sapin > span{overflow:hidden;text-overflow:ellipsis}
.mfbn-bandeau-sapin .mfbn-court{display:none}
@media (max-width:767px){.mfbn-bandeau.mfbn-bandeau-sapin{display:flex;-webkit-line-clamp:unset;font-size:min(13.5px,3.6vw);padding:0 8px 2px;gap:5px}.mfbn-bandeau-sapin .mfbn-bandeau-icone{width:14px;height:14px}}
@media (max-width:480px){.mfbn-bandeau-sapin.mfbn-bandeau-carte .mfbn-long{display:none}.mfbn-bandeau-sapin.mfbn-bandeau-carte .mfbn-court{display:inline}}
@media (max-width:359px){.mfbn-bandeau-sapin .mfbn-long{display:none}.mfbn-bandeau-sapin .mfbn-court{display:inline}}
/* 1.3.1 : page carte cadeau, bandeau rouge (couleur principale du site) sur une ligne, avec une icône cadeau */
.mfbn-bandeau.mfbn-bandeau-rouge{background:#b34a5e;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;overflow:hidden}
.mfbn-bandeau-rouge .mfbn-bandeau-icone{flex:none;width:16px;height:16px}
.mfbn-bandeau-rouge span{overflow:hidden;text-overflow:ellipsis}
@media (max-width:767px){.mfbn-bandeau.mfbn-bandeau-rouge{display:flex;-webkit-line-clamp:unset;font-size:min(13px,2.95vw);letter-spacing:-.01em;padding:7px 6px;gap:5px}.mfbn-bandeau-rouge .mfbn-bandeau-icone{width:14px;height:14px}}

/* ---------- Bannière de Noël (accueil) ---------- */
.mfbn-banniere{position:relative;width:100%;margin:0 auto;background:#fff}
.mfbn-piste{display:block}
.mfbn-diapo{position:relative}
.mfbn-diapo picture,.mfbn-diapo img{display:block;width:100%;height:auto}
.mfbn-d1 img{aspect-ratio:1900/650}
.mfbn-dtel{display:none}
.mfbn-fond{position:absolute;inset:0;z-index:1}
.mfbn-zone{position:absolute;z-index:2;display:block;border-radius:2px;transition:box-shadow .2s,background-color .2s}
.mfbn-zone:hover{background:rgba(255,255,255,.12);box-shadow:0 6px 18px rgba(0,0,0,.25)}
.mfbn-zone:focus-visible,.mfbn-fond:focus-visible{outline:3px solid #b34a5e;outline-offset:2px}
.mfbn-z-tel{display:none}
.mfbn-points{display:none}

@media (max-width:767px){
  .mfbn-piste{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .mfbn-piste::-webkit-scrollbar{display:none}
  .mfbn-diapo{flex:0 0 100%;scroll-snap-align:start}
  .mfbn-d1 img,.mfbn-dtel img{aspect-ratio:1/1}
  .mfbn-dtel{display:block}
  .mfbn-z-ord{display:none}
  .mfbn-z-tel{display:block}
  .mfbn-points{display:flex;justify-content:center;gap:10px;padding:10px 0 4px}
  .mfbn-point{width:10px;height:10px;border-radius:50%;background:#d9c4ca;display:block}
  .mfbn-point.actif{background:#b34a5e}
  .mfbn-point:focus-visible{outline:2px solid #b34a5e;outline-offset:2px}
}

/* ---------- Rappel carte cadeau (fiche et panier) ---------- */
.mfbn-rappel{font-family:Montserrat,Arial,sans-serif;font-size:14px;line-height:1.4;color:#1d1d1b;margin:12px 0 4px}
.mfbn-rappel a{color:#b34a5e!important;text-decoration:underline;font-weight:600}
/* Fiche : le rappel est dans .productButtons (displayMoreButtons), avant le cœur « Coup de cœur » qui est en position absolue :
   hauteur fixe (2 lignes) et cœur décalé d'autant, pour garder l'écart du thème entre le cœur et son libellé. */
.productButtons .mfbn-rappel-fiche{display:block;width:100%;height:40px;margin:12px 0 0;padding:0;font-size:13px;line-height:20px;text-align:center;overflow:hidden}
.productButtons .mfbn-rappel-fiche ~ .favoritesButton{left:50%;transform:translate(calc(-50% - 18px),40px)}
/* Téléphone : la section du bouton a une hauteur fixe (réglage Creative Elements), la section suivante (« Donnez votre avis »)
   descend donc de la hauteur du rappel. */
@media (max-width:767px){
  .elementor-section:has(.mfbn-rappel-fiche) + .elementor-section{margin-top:52px}
  .productButtons .mfbn-rappel-fiche ~ .favoritesButton{transform:translate(calc(-50% - 18px),52px)}
}
.mfbn-rappel-panier{background:#f6eff1;border-radius:8px;padding:10px 14px;margin:0 0 14px}

/* 1.3.2 : repère « Coup de cœur » de la fiche livre (en tête de la colonne à droite de la couverture) */
.wo-fiche-cdc{display:inline-flex;align-items:center;gap:5px;margin:0 0 10px!important;padding:3px 10px;border-radius:14px;background:#f6eff1;color:#b34a5e;font-family:Montserrat,Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.4}
.wo-fiche-cdc span{font-size:14px}
body#product .wo-fiche-cdc span{order:-1}
