/* ==========================================================================
   Saisons LMDB · Fêtes « La Nuit Magique » — habillage du thème at_movic
   (dérivé de l'habillage Black Friday : même découpage, palette nuit de Noël)
   Tout le site en bleu nuit : barres, header, menu, contenu, fiches, panier, commande,
   pied de page ; rouge de Noël pour les remises et les survols, or pour les détails.
   Chargé par le module seulement pendant les Fêtes, avec ft-core.css.
   ========================================================================== */

body.aesthetic-fetes {
  --ftm-black: #07102A;
  --ftm-ink: #07102A;
  --ftm-red: #C8102E;
  --ftm-grey: #8E9BC0;
  --ftm-mist: #AEBBDD;
  --ftm-paper: #F4F2EE;
  --ftm-text: #EEF2FF;
  --ftm-surface: #101C3E;
  --ftm-surface2: #16264E;
  --ftm-line: #26386A;
  /* variables Bootstrap du thème */
  --bs-body-bg: #07102A;
  --bs-body-color: #EEF2FF;
  --bs-border-color: #26386A;
}

/* 1 · Barres du haut et header ------------------------------------------- */
/* !important : couleurs posées en style en ligne ou en !important par le thème */
body.aesthetic-fetes #lmdb-langbar { background: var(--ftm-black) !important; border-bottom: 1px solid #26386A; }
body.aesthetic-fetes #lmdb-langbar a { color: var(--ftm-mist); }
body.aesthetic-fetes #lmdb-langbar a.is-on { background: #FFFFFF; color: var(--ftm-black); }

body.aesthetic-fetes #header { background: var(--ftm-black); color: var(--ftm-mist); }
body.aesthetic-fetes #header .header-nav .topnav,
body.aesthetic-fetes #header .header-nav .topnav * { color: var(--ftm-mist); }
body.aesthetic-fetes #header .header-nav .topnav strong,
body.aesthetic-fetes #header .header-nav .topnav b,
body.aesthetic-fetes #header .header-nav .topnav a { color: #FFFFFF; }
/* bandeau « WhatsApp » : rouge, texte blanc */
body.aesthetic-fetes #header .bottomnav .wrapper { background: var(--ftm-red) !important; }
body.aesthetic-fetes #header .bottomnav .wrapper,
body.aesthetic-fetes #header .bottomnav .wrapper * { color: #FFFFFF; }

body.aesthetic-fetes #header .header-top { border-bottom: 1px solid #26386A; }
body.aesthetic-fetes #header .header-top,
body.aesthetic-fetes #header .header-top .cus-vogacall,
body.aesthetic-fetes #header .header-top .cus-vogacall * { color: var(--ftm-mist); }
body.aesthetic-fetes #header .header-top .cus-vogacall strong { color: #FFFFFF; }
body.aesthetic-fetes #header .header-top .cus-vogacall span { color: #FFFFFF !important; }
body.aesthetic-fetes #header .header-top .cus-vogacall a { color: #FFFFFF; }

/* Logo des Fêtes : couleurs d'origine sur une plaque de neige, bonnet de père Noël sur la tête de bébé,
   pile de cadeaux au bord et quelques étincelles dorées */
body.aesthetic-fetes #header .h-logo { position: relative; }
body.aesthetic-fetes #header .h-logo > a {
  position: relative;
  display: inline-flex;
  --ftm-pt: 10px;
  --ftm-pl: 26px;
  --ftm-pr: 30px;
  padding: var(--ftm-pt) var(--ftm-pr) var(--ftm-pt) var(--ftm-pl);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 30% 30%, #FFFFFF, #F1F6FF 62%, #DCE8FB);
  box-shadow: 0 0 0 3px #C9A24A, 0 0 0 6px rgba(212, 42, 60, 0.85), 0 0 34px rgba(255, 220, 150, 0.45);
}
body.aesthetic-fetes #header .h-logo img { filter: none; mix-blend-mode: multiply; }
/* bonnet sur la tête de bébé */
body.aesthetic-fetes #header .h-logo > a::after {
  content: "";
  position: absolute;
  /* positions rapportées à l'image du logo (tête de bébé), quel que soit le rembourrage */
  top: calc(var(--ftm-pt) + 0.31 * (100% - 2 * var(--ftm-pt)));
  left: calc(var(--ftm-pl) + 0.25 * (100% - var(--ftm-pl) - var(--ftm-pr)));
  width: calc(0.155 * (100% - var(--ftm-pl) - var(--ftm-pr)));
  aspect-ratio: 1.15;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 40'%3E%3Cpath d='M6 30 C 8 12 20 2 34 6 C 40 8 42 14 40 20 L 34 16 C 30 24 30 28 32 30 Z' fill='%23D42A3C'/%3E%3Cpath d='M12 26 C 14 16 22 9 31 9' stroke='%23F05A6A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Crect x='3' y='28' width='34' height='9' rx='4.5' fill='%23fff'/%3E%3Ccircle cx='40' cy='21' r='5' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
  transform: rotate(-14deg);
  transform-origin: 30% 90%;
  animation: ftm-hat 3.2s ease-in-out infinite;
  pointer-events: none;
}
/* pile de cadeaux posée sur le bord droit de la plaque */
body.aesthetic-fetes #header .h-logo > a::before {
  content: "";
  position: absolute;
  inset-inline-end: -26px;
  bottom: -8px;
  width: 52px;
  height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 46'%3E%3Crect x='2' y='22' width='26' height='22' rx='2' fill='%23D42A3C'/%3E%3Crect x='13' y='22' width='4' height='22' fill='%23F3D27A'/%3E%3Crect x='2' y='30' width='26' height='4' fill='%23F3D27A'/%3E%3Crect x='28' y='28' width='20' height='16' rx='2' fill='%231E7A55'/%3E%3Crect x='36' y='28' width='4' height='16' fill='%23fff'/%3E%3Crect x='10' y='8' width='18' height='14' rx='2' fill='%23F3D27A'/%3E%3Crect x='17' y='8' width='4' height='14' fill='%23D42A3C'/%3E%3Cpath d='M19 8 C 13 1 9 6 19 8 C 29 1 25 6 19 8 Z' fill='%23D42A3C'/%3E%3Cpath d='M15 22 C 9 15 6 20 15 22 C 24 15 21 20 15 22 Z' fill='%23F3D27A'/%3E%3Cpath d='M38 28 C 33 22 30 26 38 28 C 46 22 43 26 38 28 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
  transform-origin: 50% 100%;
  animation: ftm-gifts 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ftm-hat {
  0%, 100% { transform: rotate(-14deg); }
  50% { transform: rotate(-6deg); }
}
@keyframes ftm-gifts {
  0%, 82%, 100% { transform: translateY(0) rotate(0); }
  86% { transform: translateY(-5px) rotate(-4deg); }
  90% { transform: translateY(0) rotate(3deg); }
  94% { transform: translateY(-2px) rotate(-1deg); }
}


body.aesthetic-fetes #header .header-top .popup-title,
body.aesthetic-fetes #header .header-top .popup-title i,
body.aesthetic-fetes #header .header-top .ApHtml a,
body.aesthetic-fetes #header .header-top .ApHtml i,
body.aesthetic-fetes #header #_desktop_cart a,
body.aesthetic-fetes #header #_desktop_cart i,
body.aesthetic-fetes #header .navbar-toggler,
body.aesthetic-fetes #header .navbar-toggler i { color: #FFFFFF; }
body.aesthetic-fetes #header #_desktop_cart .cart-products-count,
body.aesthetic-fetes #header #_desktop_cart [class*="count"] { background: var(--ftm-red); color: #FFFFFF; }
/* menus déroulants de l'en-tête (compte, langues, devises) : fond sombre, texte clair */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .popup-content,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .header-top .dropdown-menu { background: #101C3E !important; border: 1px solid #2A2A2A !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .popup-content *,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .header-top .dropdown-menu * { color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .popup-content a:hover,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .popup-content a:hover * { color: #E9C46A !important; }

/* Méga-menu (ordinateur) : lettres blanches, trait rouge qui se dessine au survol.
   Sur mobile, le panneau clair du thème reste tel quel. */
@media (min-width: 992px) {
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li > a,
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li > a .menu-title,
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li > a .caret,
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li > a i { color: #FFFFFF; }
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li > a { position: relative; }
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li > a::after {
    content: "";
    position: absolute;
    inset-inline: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--ftm-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li:hover > a::after,
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li.open > a::after { transform: none; }
  body.aesthetic-fetes #header .leo-megamenu .megamenu > li.lmdb-i-soldes > a .menu-title { color: #FF8A96; }
  body.aesthetic-fetes #header .leo-megamenu .dropdown-menu { border-top: 3px solid var(--ftm-red); }
}

/* 2 · Fond noir partout ------------------------------------------------------ */
html body.aesthetic-fetes:not(#bf-a):not(#bf-b),
body.aesthetic-fetes:not(#bf-a):not(#bf-b) main,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #content-wrapper,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #main,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer { background: var(--ftm-black) !important; color: var(--ftm-text); }
body.aesthetic-fetes #wrapper :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .page-heading, .title_block, .block-title) { color: #FFFFFF; }
body.aesthetic-fetes #wrapper :is(p, li, dd, dt, label, td, th, .text-muted):not(.bf-hero *, .bf-deals *, .bf-arcade *) { color: inherit; }
body.aesthetic-fetes #wrapper a:not([class*="btn"]):not([class*="button"]):not([class*="bf-"]):not([class*="ft-"]):not([class*="lmdb-pl-"]) { color: #FFFFFF; }
body.aesthetic-fetes #wrapper a:not([class*="btn"]):not([class*="button"]):not([class*="bf-"]):not([class*="ft-"]):not([class*="lmdb-pl-"]):hover { color: #FF8A96; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .breadcrumb,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper > .breadcrumb,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .breadcrumb * { background-color: transparent !important; color: var(--ftm-mist); }

/* Le diaporama d'accueil cède la place à la scène Fêtes et au mur des chocs */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #lmb-hs { display: none !important; }

/* Repérés par le script (fonds clairs du thème posés ailleurs que dans nos règles) */
/* :not(#…) donne le poids de deux id : ces repères passent devant les !important du thème */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-dk { background-color: var(--ftm-surface) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-dk0 { background-color: var(--ftm-black) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-lt { color: var(--ftm-text) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-ln { border-color: var(--ftm-line) !important; }

body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-acc { background-color: var(--ftm-red) !important; border-color: var(--ftm-red) !important; color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-acc :is(span, i, b, strong, small, em) { color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-acc:hover { background-color: #E2475A !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-band { background-color: #101C3E !important; border-top: 3px solid var(--ftm-red) !important; color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-band :is(h1, h2, h3, h4, p, span, .elementor-heading-title) { color: #FFFFFF !important; }
/* Creative Elements : boutons et pastilles « promo » en rouge Fêtes */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .elementor-button { background-color: var(--ftm-red) !important; border-color: var(--ftm-red) !important; color: #FFFFFF !important; border-radius: 0 !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .elementor-button * { color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .elementor-button:hover { background-color: #FFFFFF !important; border-color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .elementor-button:hover * { color: #07102A !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .elementor-badge-sale { background-color: var(--ftm-red) !important; color: #FFFFFF !important; border-radius: 0 !important; }
/* Tri des listes et pastilles du catalogue */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .products-sort-order .select-title { background: var(--ftm-surface2) !important; border: 1px solid #33467E !important; color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .products-sort-order .select-title * { color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-flags .product-flag.out_of_stock { background: #26386A !important; color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-flags .product-flag.new { background: #FFFFFF !important; color: #07102A !important; }
/* Accueil : boutons du bloc lmb26 et pastille du compte à rebours */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .btn-o { background: transparent !important; border: 1px solid #FFFFFF !important; color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .btn-o:hover { background: #FFFFFF !important; color: #07102A !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .btn-p { background: var(--ftm-red) !important; border-color: var(--ftm-red) !important; color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .cdp.bf-cdp { background: #101C3E !important; border: 1px solid var(--ftm-red) !important; color: #AEBBDD !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .cdp.bf-cdp span { color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .cdp.bf-cdp b { color: #FF8A96 !important; }

body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .dt { background: #101C3E !important; border-color: #26386A !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .dt .t { color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 .dt .s { color: #AEBBDD !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .toast { background: #101C3E !important; border: 1px solid #26386A !important; color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .toast * { color: inherit !important; }

/* Accueil (bloc « lmb26 ») et pages catalogue (variables --lm-*) : palette inversée */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .lmb26 {
  --ink: #EEF2FF;
  --ink2: #AEBBDD;
  --teal: #FFFFFF;
  --teal-d: #E2475A;
  --aqua: #101C3E;
  --blush: #13224A;
  --rose: #E2475A;
  --peach: #13224A;
  --sun: #E2475A;
  --lilac: #13224A;
  --sage: #13224A;
  --cream: #0B1636;
  --line: #26386A;
  --sh: 0 18px 40px -22px rgba(212, 42, 60, 0.35);
  background: transparent;
  color: #EEF2FF;
}
body#category.aesthetic-fetes:not(#bf-a),
body#manufacturer.aesthetic-fetes:not(#bf-a),
body#search.aesthetic-fetes:not(#bf-a),
body#prices-drop.aesthetic-fetes:not(#bf-a),
body#new-products.aesthetic-fetes:not(#bf-a),
body#best-sales.aesthetic-fetes:not(#bf-a),
body#product.aesthetic-fetes:not(#bf-a) {
  --lm-ink: #EEF2FF;
  --lm-pink: #E2475A;
  --lm-teal: #FFFFFF;
  --lm-teal2: #E2475A;
  --lm-aqua: #101C3E;
  --lm-rose: #13224A;
  --lm-peach: #13224A;
  --lm-sun: #13224A;
  --lm-lilac: #13224A;
  --lm-cream: #0B1636;
  --lm-line: #26386A;
  --lm-mute: #AEBBDD;
  --lm-hl: #E2475A;
}

/* Colonne latérale, filtres, blocs de contenu */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #left-column .block,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #right-column .block,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #left-column .block-categories,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #search_filters,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #js-product-list-top,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .products-selection,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .card,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .block-category,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #category-description,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .page-content,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .page-content.card,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #manufacturer .brand,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .tabs,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-tabs .tab-content { background: var(--ftm-surface) !important; color: var(--ftm-text); border-color: var(--ftm-line) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .dropdown-menu,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .products-sort-order .dropdown-menu { background: var(--ftm-surface2); border-color: var(--ftm-line); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .dropdown-menu a,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .dropdown-item { color: var(--ftm-text) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .dropdown-item:hover { background: #1C2C58; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .pagination a,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .pagination .current a { color: var(--ftm-text); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .pagination .current a { color: #FFFFFF; border-bottom: 2px solid var(--ftm-red); }

/* Miniatures : cartes sombres, image sur fond blanc (les photos sont détourées) */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .thumbnail-container {
  background: var(--ftm-surface) !important;
  border: 1px solid var(--ftm-line);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .product-image,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .thumbnail-container .product-thumbnail { background: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .thumbnail-container:hover { border-color: var(--ftm-red); box-shadow: 0 22px 40px -22px rgba(212, 42, 60, 0.45); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature :is(.product-meta, .product-description, .product-title, .product-title a, .product-price-and-shipping, .price, .manufacturer-name, .product-reference) { color: #EEF2FF !important; background: transparent; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .discount-amount,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .discount-percentage,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .product-flag.discount,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .product-flag.on-sale { border-radius: 0; background: var(--ftm-red); color: #FFFFFF; font-weight: 700; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .regular-price { position: relative; text-decoration: none; color: #8E9BC0 !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .regular-price::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  top: 52%;
  height: 1.5px;
  background: var(--ftm-red);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .thumbnail-container:hover .regular-price::after { transform: none; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .btn-product.add-to-cart { border-radius: 0; background: #FFFFFF; border-color: #FFFFFF; color: #07102A; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .btn-product.add-to-cart * { color: #07102A; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .btn-product.add-to-cart:hover { background: var(--ftm-red); border-color: var(--ftm-red); color: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .btn-product.add-to-cart:hover * { color: #FFFFFF; }

/* Boutons et champs de formulaire (catalogue, fiche, panier, commande, compte) */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .btn-primary,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .add-to-cart,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .modal .btn-primary { border-radius: 0; background: #FFFFFF; border-color: #FFFFFF; color: #07102A !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .btn-primary *,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .add-to-cart * { color: #07102A !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .btn-primary:hover,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .add-to-cart:hover,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .modal .btn-primary:hover { background: var(--ftm-red); border-color: var(--ftm-red); color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .btn-primary:hover *,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .add-to-cart:hover * { color: #FFFFFF !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .btn-secondary,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .btn-outline-primary { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .form-control,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper select,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper textarea,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .input-group-text,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .modal .form-control {
  background-color: var(--ftm-surface2) !important;
  border-color: #33467E !important;
  color: #FFFFFF !important;
}
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .form-control::placeholder,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper input::placeholder { color: #8E9BC0; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .form-control:focus { border-color: var(--ftm-red) !important; box-shadow: 0 0 0 2px rgba(212, 42, 60, 0.35); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .alert-info,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .alert-warning { background: var(--ftm-surface2); border-color: var(--ftm-line); color: var(--ftm-text); }

/* Fiche produit */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .images-container .product-cover,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .images-container .thumb-container { background: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product :is(.product-prices, .current-price, .current-price-value, .product-information, .product-description, .product-variants, .product-quantity) { color: #EEF2FF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .product-discount .regular-price { color: #8E9BC0; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .current-price .discount,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .discount-percentage,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .discount-amount { border-radius: 0; background: var(--ftm-red); color: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .product-actions .add-to-cart { border-radius: 0; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .nav-tabs { border-color: var(--ftm-line); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .nav-tabs .nav-link { background: transparent; color: var(--ftm-mist); border-color: transparent; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .nav-tabs .nav-link.active { color: #FFFFFF; border-bottom: 2px solid var(--ftm-red); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .input-color + .color,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #product .product-variants .color { box-shadow: 0 0 0 1px #555555; }

/* Panier, fenêtre d'ajout au panier, panier volant, commande */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #cart .cart-grid-body .card,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #cart .cart-summary,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .checkout-step,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .cart-summary,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .card,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #order-confirmation .card,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #blockcart-modal .modal-content,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #blockcart-modal .modal-body,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .leo-fly-cart .leo-dropdown-cart,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .leo-fly-cart .dropdown-menu { background: var(--ftm-surface) !important; color: var(--ftm-text); border-color: var(--ftm-line) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #blockcart-modal .modal-header { background: var(--ftm-red); color: #FFFFFF; border: 0; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #blockcart-modal :is(.product-name, .modal-title, p, strong, span, .cart-content) { color: inherit; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #blockcart-modal .modal-body .divide-right { border-color: var(--ftm-line); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #cart .product-line-grid-left img,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .media-left img,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #blockcart-modal .product-image { background: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .checkout-step .step-title { color: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .checkout-step.-current .step-title { border-inline-start: 3px solid var(--ftm-red); padding-inline-start: 10px; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .delivery-option,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .payment-option,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .address-item { background: var(--ftm-surface2); border-color: var(--ftm-line); color: var(--ftm-text); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #checkout .address-item.selected { border-color: var(--ftm-red); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .cart-summary-line .label,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .cart-summary-line .value,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .cart-total .label,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .cart-total .value { color: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .cart-summary-totals { background: var(--ftm-surface2) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .custom-radio,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .custom-checkbox input[type="checkbox"] + span { border-color: #8E9BC0; background: transparent; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .custom-radio input[type="radio"]:checked + span { background-color: var(--ftm-red); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .custom-checkbox input[type="checkbox"] + span .checkbox-checked { color: #FFFFFF; }

/* Magazine (leoblog), liste de naissance, compte client */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper :is(.blog-item, .blog-container, .leo-blog, .giftlist, .gift-list, #my-account .links a, .account-link, .customer-account, .page-addresses .address, .order-detail) { background: var(--ftm-surface) !important; color: var(--ftm-text); border-color: var(--ftm-line) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #my-account .links a i { color: var(--ftm-red); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .table,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .table th,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .table td { background: transparent; color: var(--ftm-text); border-color: var(--ftm-line); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper .thead-default th { background: var(--ftm-surface2); color: #FFFFFF; }

/* Les logos et les images de marque gardent un fond blanc pour rester lisibles */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #wrapper :is(.brand-img, .manufacturer-logo, .logo-manufacturer, .brand .brand-img) { background: #FFFFFF; }

/* Méga-menu déroulant : panneaux sombres */
@media (min-width: 992px) {
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .dropdown-menu,
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .dropdown-menu .dropdown-menu-inner { background: #101C3E !important; border-color: var(--ftm-red); }
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .dropdown-menu :is(a, span, li, p, .menu-title, .widget-heading, .menu-title a) { color: #EEF2FF !important; }
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .dropdown-menu a:hover,
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .dropdown-menu a:hover * { color: #FF8A96 !important; }
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .dropdown-menu img { background: #FFFFFF; }
}
/* Panneau du menu mobile */
@media (max-width: 991px) {
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .navbar-collapse,
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .megamenu,
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .dropdown-menu { background: #101C3E !important; }
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu :is(a, span, li, .menu-title, .caret) { color: #EEF2FF !important; }
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .megamenu > li { border-color: var(--ftm-line) !important; }
}
/* Fenêtres (Doofinder garde son propre habillage) */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .modal-content { background: var(--ftm-surface); color: var(--ftm-text); border-color: var(--ftm-line); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .modal-content .close { color: #FFFFFF; opacity: 0.8; text-shadow: none; }

/* 5 · Accueil : bannières Fêtes, déstockage, photos éditoriales ---------- */
body.aesthetic-fetes .lmb26 .bs-s.bf-has-slide { display: block; color: #FFFFFF; text-decoration: none; }
body.aesthetic-fetes .lmb26 .bs { background: #07102A; }
body.aesthetic-fetes .lmb26 .ag > .bf-ag-on { box-shadow: inset 0 0 0 2px var(--ftm-red); }
body.aesthetic-fetes .lmb26 .ag > .bf-ag-on i { background: var(--ftm-red) !important; color: #FFFFFF !important; }

/* étiquettes de remise du déstockage en rouge Fêtes */
body.aesthetic-fetes .lmb26 .dt .pct { background: var(--ftm-red) !important; color: #FFFFFF !important; border-radius: 0 !important; }
body.aesthetic-fetes .lmb26 .dt .pct * { color: #FFFFFF !important; }

/* Garde-fou des boutons (lmdb-night.js) : texte lisible quoi qu'impose le thème ou un module */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-fix-dark,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-fix-dark * { color: #0B0B0B !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-fix-light,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) .bf-fix-light * { color: #FFFFFF !important; }

/* 3 · Pied de page noir --------------------------------------------------- */
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-top,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-center,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-bottom { background-color: var(--ftm-black) !important; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-center,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-bottom { border-top: 1px solid #26386A; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-center,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-center p,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-center li,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-center a,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-bottom,
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-bottom * { color: var(--ftm-mist); }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-center :is(h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .title_block, .block-title, .title) { color: #FFFFFF; }
body.aesthetic-fetes:not(#bf-a):not(#bf-b) #footer .footer-center a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--ftm-red); }

/* 4 · Polices de la saison (le thème impose la sienne aux <span>) */
body.aesthetic-fetes :is(.ft-ch, .ft-title, .ft-head__title, .ft-door__num, .ft-slide__name, .ft-slide__from b, .ft-globe__count b, .ft-game__title, .ft-door__inside--locked) { font-family: var(--ft-display); }
body.aesthetic-fetes :is(.ft-hero__kicker, .ft-btn span, .ft-ticker__item, .ft-tab, .ft-gift__name, .ft-gift__price, .ft-door__name, .ft-door__price, .ft-slide__kicker span, .ft-slide__cta, .ft-globe__lead, .ft-globe__unit) { font-family: var(--ft-sans); }
body.aesthetic-fetes .ft-gift__link,
body.aesthetic-fetes .ft-gift__link:hover,
body.aesthetic-fetes .ft-door__inside { color: #EEF2FF !important; text-decoration: none; }

/* 5 · Neige posée : bord du pied de page, cartes produits au survol */
body.aesthetic-fetes #footer { position: relative; }
body.aesthetic-fetes #footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -18px;
  height: 20px;
  background:
    radial-gradient(28px 20px at 20px 20px, #FFFFFF 98%, transparent) 0 0 / 56px 20px repeat-x,
    radial-gradient(18px 14px at 10px 20px, #EAF0FF 98%, transparent) 30px 4px / 44px 20px repeat-x;
  pointer-events: none;
}
body.aesthetic-fetes .product-miniature .thumbnail-container { position: relative; }
body.aesthetic-fetes .product-miniature .thumbnail-container::before {
  content: "";
  position: absolute;
  inset-inline: 8px;
  top: -6px;
  z-index: 3;
  height: 12px;
  border-radius: 12px 12px 6px 6px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(160, 190, 255, 0.5);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
body.aesthetic-fetes .product-miniature .thumbnail-container:hover::before { opacity: 1; transform: none; }


@media (max-width: 991px) {
  body.aesthetic-fetes #header .h-logo > a { --ftm-pt: 6px; --ftm-pl: 14px; --ftm-pr: 18px; }
  body.aesthetic-fetes #header .h-logo > a::before { width: 36px; height: 32px; inset-inline-end: -16px; bottom: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  body.aesthetic-fetes #header .h-logo > a::before,
  body.aesthetic-fetes #header .h-logo > a::after { animation: none; }
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) .product-miniature .regular-price::after { transition: none; transform: none; }
  body.aesthetic-fetes:not(#bf-a):not(#bf-b) #header .leo-megamenu .megamenu > li > a::after { transition: none; }
}
