/* ====================================================================
   LCDP - ldn-pages.css - Styles des pages front du module Liste de
   cadeaux (blockgiftlistproplus). Charge uniquement sur les controleurs
   front de ce module (voir hookDisplayHeader, marqueur LCDP 2026-07-30).
   Chaque regle est scopee par body id (body#module-blockgiftlistproplus-*),
   migre depuis la fenetre BO Custom CSS and JS le 2026-07-30.
   ==================================================================== */

/* ================================================================
   LCDP - Pages du module Liste de cadeaux (blockgiftlistproplus)
   Overrides par page, scopes par body id - ajoutes le 2026-07-30.
   Blocs independants : view, mywishlist, manage, addproducts,
   authentification, searchlist2. Ne pas fusionner avec le reste.
   ================================================================ */

/* LCDP - GLP view - debut */
/* == Page publique "voir une liste" (module blockgiftlistproplus) ==
   Harmonisation avec le design searchlist/cms12 : fond creme, hero vert,
   cartes blanches arrondies a contour beige #d3bfb3, boutons verts #6E8B74.
   Affichage force en liste 1 colonne ; produits integralement offerts
   (classe .already_offered posee par le module quand quantity_left = 0)
   regroupes en bas sous un titre "Deja offerts" (100 % CSS via :has + order). */

/* ---- Fond de page et conteneur ---- */
body#module-blockgiftlistproplus-view #content.page-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center {
  /* LCDP 2026-07-31 : pleine largeur comme la page manage (ancien plafond 1100px retire) */
  max-width: none;
  margin: 0 auto !important;
  float: none !important;
}

/* ---- Hero : titre + beneficiaire (degrade horizontal continu h1/h2) ---- */
body#module-blockgiftlistproplus-view #view-producs_block_center > h1 {
  margin: 8px 0 0 !important;
  padding: 46px 24px 6px !important;
  background: linear-gradient(90deg, #87a08d 0%, #b9c9bb 100%) !important;
  border-radius: 20px 20px 0 0 !important;
  color: #ffffff !important;
  text-align: center !important;
  font-family: var(--tv-theme-title-font, inherit);
  font-size: 34px !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center > h2 {
  margin: 0 0 28px !important;
  padding: 4px 24px 40px !important;
  background: linear-gradient(90deg, #87a08d 0%, #b9c9bb 100%) !important;
  border-radius: 0 0 20px 20px !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

/* ---- Message de bienvenue du beneficiaire : carte centree ---- */
body#module-blockgiftlistproplus-view #welcome_msg {
  background: #ffffff !important;
  border: 1.5px solid #d3bfb3 !important;
  border-radius: 20px !important;
  box-shadow: 0 6px 18px rgba(110, 139, 116, 0.10) !important;
  padding: 28px 32px !important;
  margin: 20px auto !important;
  max-width: 760px;
  text-align: center !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #3e3e3e !important;
}

/* Phrase "Le bebe sera..." et autres <p> directs : centres */
body#module-blockgiftlistproplus-view #view-producs_block_center > p:not(.clear) {
  text-align: center !important;
  color: #6E8B74 !important;
  font-weight: 600 !important;
  font-size: 17px !important;
}

/* Separateurs de haut de page : discrets */
body#module-blockgiftlistproplus-view #view-producs_block_center > hr.separationd {
  border: 0 !important;
  border-top: 1.5px solid #eee5df !important;
  margin: 24px auto !important;
  max-width: 420px;
}

/* ---- Alerte panier mixte (conditionnelle) : carte douce ---- */
body#module-blockgiftlistproplus-view #view-producs_block_center > .alert.alert-warning {
  background: #fdf6e8 !important;
  border: 1.5px solid #d3bfb3 !important;
  border-radius: 20px !important;
  color: #5a4a33 !important;
  padding: 20px 24px !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center > .alert.alert-warning .btn {
  white-space: normal !important;
  max-width: 100% !important;
  border-radius: 18px !important;
}

/* ---- Panneau "Don en magasin" : carte blanche ---- */
body#module-blockgiftlistproplus-view #ldn-donation-panel {
  background: #ffffff !important;
  border: 1.5px solid #d3bfb3 !important;
  border-radius: 20px !important;
  box-shadow: 0 6px 18px rgba(110, 139, 116, 0.10) !important;
  padding: 26px 30px !important;
  color: #3e3e3e !important;
}

body#module-blockgiftlistproplus-view #ldn-donation-panel h3 {
  text-align: center !important;
  color: #6E8B74 !important;
  font-size: 24px !important;
  padding-bottom: 10px !important;
}

body#module-blockgiftlistproplus-view #ldn-donation-panel .form-control {
  border: 1.5px solid #e4d8cf !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body#module-blockgiftlistproplus-view #ldn-donation-panel .form-control:focus {
  border-color: #d3bfb3 !important;
}

/* ---- Onglets (message personnel / adresse) : pastilles ---- */
body#module-blockgiftlistproplus-view #anchor_tabs .tab_aw .sous_block {
  background: #ffffff !important;
  border: 1.5px solid #d3bfb3 !important;
  border-radius: 999px !important;
  color: #5a5a5a !important;
  text-align: center !important;
  padding: 10px 18px !important;
  transition: background-color 0.2s ease;
}

body#module-blockgiftlistproplus-view #anchor_tabs .tab_aw .sous_block:hover {
  background: #f3ede7 !important;
}

/* Panneaux de contenu des onglets : carte discrete au lieu du bloc gris a barre */
body#module-blockgiftlistproplus-view #view-producs_block_center .border_left4_v {
  border-left: 0 !important;
  background: transparent !important;
  padding-left: 0 !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center .aw_tab_content {
  background: #ffffff !important;
  border: 1.5px solid #d3bfb3 !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  margin-top: 10px;
}

/* ---- Commutateur grille/liste : supprime (affichage liste impose) ---- */
body#module-blockgiftlistproplus-view .content_sortPagiBar ul.display {
  display: none !important;
}

/* ---- Liste des produits : 1 colonne forcee, offerts en bas ---- */
body#module-blockgiftlistproplus-view ul.product_list_aw {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  list-style: none !important;
}

body#module-blockgiftlistproplus-view ul.product_list_aw > li.item {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  float: none !important;
  order: 0;
}

/* Produit integralement offert : envoye en bas et attenue */
body#module-blockgiftlistproplus-view ul.product_list_aw > li.item:has(> .already_offered) {
  order: 20;
  opacity: 0.72;
  filter: grayscale(0.35);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

body#module-blockgiftlistproplus-view ul.product_list_aw > li.item:has(> .already_offered):hover {
  opacity: 1;
  filter: none;
}

/* Titre de separation "Deja offerts", uniquement s'il y a des offerts */
body#module-blockgiftlistproplus-view ul.product_list_aw:has(> li.item > .already_offered)::after {
  content: "D\00e9j\00e0  offerts \002665 ";
  order: 10;
  display: block;
  text-align: center;
  font-family: var(--tv-theme-title-font, inherit);
  font-size: 26px;
  font-weight: 700;
  color: #6E8B74;
  margin: 36px 0 10px;
  padding-top: 26px;
  border-top: 1.5px solid #d3bfb3;
}

/* ---- Carte produit ---- */
body#module-blockgiftlistproplus-view .container_aw {
  background: #ffffff !important;
  border: 1.5px solid #d3bfb3 !important;
  border-radius: 20px !important;
  box-shadow: 0 6px 18px rgba(110, 139, 116, 0.08) !important;
  padding: 18px 22px !important;
  overflow: hidden;
}

/* Titre du produit */
body#module-blockgiftlistproplus-view .container_aw .address_titled {
  border-top: 0 !important;
  text-align: center !important;
  margin-bottom: 10px !important;
}

body#module-blockgiftlistproplus-view .container_aw .address_titled a {
  color: #6E8B74 !important;
  font-family: var(--tv-theme-title-font, inherit);
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

body#module-blockgiftlistproplus-view .container_aw .address_titled a:hover {
  color: #58705d !important;
}

/* Image produit */
body#module-blockgiftlistproplus-view .container_aw .product_image img {
  border-radius: 14px !important;
  border: 1.5px solid #f0e8e2 !important;
}

/* Separateurs internes des cartes : masques */
body#module-blockgiftlistproplus-view .container_aw hr.separationd,
body#module-blockgiftlistproplus-view .container_aw .view_align_dd hr {
  display: none !important;
}

/* Descriptions */
body#module-blockgiftlistproplus-view .container_aw .description_short_dd a {
  color: #3e3e3e !important;
  font-weight: 600 !important;
}

body#module-blockgiftlistproplus-view .container_aw .description_dd a {
  color: #7a7a7a !important;
}

/* Colonne droite : prix, statut, quantite */
body#module-blockgiftlistproplus-view .container_aw .price {
  color: #6E8B74 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  float: none !important;
  display: block !important;
  text-align: center !important;
  margin-bottom: 8px !important;
}

body#module-blockgiftlistproplus-view .container_aw .giftlist-product-status {
  display: block !important;
  width: fit-content;
  margin: 0 auto 10px !important;
  padding: 4px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  float: none !important;
}

body#module-blockgiftlistproplus-view .container_aw .giftlist-product-status--available {
  background: #eef4ef !important;
  color: #4c6b53 !important;
  border: 1px solid #b9ccbd !important;
}

body#module-blockgiftlistproplus-view .container_aw .giftlist-product-status--preorder {
  background: #fdf6e8 !important;
  color: #8a6d3b !important;
  border: 1px solid #e4d0a7 !important;
}

body#module-blockgiftlistproplus-view .container_aw .form_view_qty_left {
  text-align: center !important;
}

body#module-blockgiftlistproplus-view .container_aw .form_view_qty_left p {
  color: #7a7a7a !important;
  font-size: 14px !important;
  padding-bottom: 0 !important;
}

body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd {
  text-align: center !important;
}

/* Boutons Offrir / ajouter au panier */
body#module-blockgiftlistproplus-view .container_aw .add-to-cart,
body#module-blockgiftlistproplus-view .container_aw button[name="mx_remove_cart"] {
  background: #6E8B74 !important;
  border: 1.5px solid #6E8B74 !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  padding: 10px 26px !important;
  float: none !important;
  font-weight: 700 !important;
  transition: background-color 0.2s ease;
}

body#module-blockgiftlistproplus-view .container_aw .add-to-cart:hover,
body#module-blockgiftlistproplus-view .container_aw .add-to-cart:focus-visible {
  background: #58705d !important;
  border-color: #58705d !important;
  color: #ffffff !important;
}

/* Bouton "deja offert" (produit epuise) : neutre */
body#module-blockgiftlistproplus-view .already_offered .add-to-cart {
  background: #cfc7c0 !important;
  border-color: #cfc7c0 !important;
  color: #ffffff !important;
  cursor: default !important;
}

/* Lien "Resoudre !" (conflit panier) : pastille rouge douce */
body#module-blockgiftlistproplus-view .container_aw a.border1_red {
  border: 1.5px solid #d9a0a0 !important;
  border-radius: 999px !important;
  color: #a05252 !important;
  background: #fdf3f3 !important;
  padding: 6px 16px !important;
  float: none !important;
  display: inline-block !important;
  margin: 6px auto !important;
}

body#module-blockgiftlistproplus-view .container_aw .no_stock {
  float: none !important;
  width: auto !important;
  max-width: 100% !important;
  text-align: center !important;
  color: #a05252 !important;
  font-size: 13px !important;
}

/* Icones de priorite (coeurs) centrees */
body#module-blockgiftlistproplus-view .container_aw .priority_icon {
  float: none !important;
  display: flex !important;
  justify-content: center !important;
  position: static !important;
  margin-top: 8px !important;
}

/* ---- Bas de page module dans la carte : boutons generiques verts ---- */
body#module-blockgiftlistproplus-view #view-producs_block_center .btn-primary {
  background: #6E8B74 !important;
  border-color: #6E8B74 !important;
  border-radius: 999px !important;
  color: #fff !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center .btn-primary:hover {
  background: #58705d !important;
  border-color: #58705d !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center .btn-default {
  border: 1.5px solid #d3bfb3 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #5a5a5a !important;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  body#module-blockgiftlistproplus-view #view-producs_block_center > h1 {
    font-size: 24px !important;
    padding: 30px 16px 4px !important;
  }

  body#module-blockgiftlistproplus-view #view-producs_block_center > h2 {
    font-size: 16px !important;
    padding-bottom: 26px !important;
  }

  body#module-blockgiftlistproplus-view #welcome_msg {
    padding: 20px 18px !important;
  }

  body#module-blockgiftlistproplus-view .container_aw {
    padding: 14px 14px !important;
  }
}
/* LCDP - GLP view - fin */


/* LCDP - GLP mywishlist - debut */
/* Page « Mes listes de cadeaux » : harmonisation avec le design searchlist/cms12
   (carte blanche arrondie, contours beige #d3bfb3, boutons verts #6E8B74). */

/* Carte principale */
body#module-blockgiftlistproplus-mywishlist #content.page-content {
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 18px rgba(110, 139, 116, 0.12) !important;
    padding: 30px !important;
    background: #fff !important;
}

/* Titre de page centre */
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro > h2:first-of-type {
    text-align: center !important;
    color: #3E351F !important;
    font-size: 28px !important;
    margin-bottom: 24px !important;
}

/* Onglets en pastilles */
body#module-blockgiftlistproplus-mywishlist ul.nav_tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
    padding: 0 !important;
    margin-bottom: 26px !important;
}

body#module-blockgiftlistproplus-mywishlist ul.nav_tabs li.tab_aw {
    background: #fff !important;
    background-image: none !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 999px !important;
    color: #3E351F !important;
    padding: 9px 22px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

body#module-blockgiftlistproplus-mywishlist ul.nav_tabs li.tab_aw:hover,
body#module-blockgiftlistproplus-mywishlist ul.nav_tabs li.tab_aw:focus-visible {
    background: #f6efe9 !important;
    color: #3E351F !important;
}

body#module-blockgiftlistproplus-mywishlist ul.nav_tabs li.tab_aw.active {
    background: #6E8B74 !important;
    border-color: #6E8B74 !important;
    color: #fff !important;
}

body#module-blockgiftlistproplus-mywishlist ul.nav_tabs li.tab_aw.active * {
    color: #fff !important;
}

/* Tableau des listes */
body#module-blockgiftlistproplus-mywishlist table#display_list {
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

body#module-blockgiftlistproplus-mywishlist table#display_list thead tr:first-child th {
    background: #d3bfb3 !important;
    color: #3E351F !important;
    font-weight: 700 !important;
    border: 0 !important;
    padding: 12px 10px !important;
}

body#module-blockgiftlistproplus-mywishlist table#display_list thead tr + tr th {
    background: #f6efe9 !important;
    border: 0 !important;
    padding: 6px 10px !important;
}

body#module-blockgiftlistproplus-mywishlist table#display_list tbody tr,
body#module-blockgiftlistproplus-mywishlist table#display_list tbody tr.bkg_f8 {
    background: #fff !important;
}

body#module-blockgiftlistproplus-mywishlist table#display_list tbody tr:hover {
    background: #fdfaf5 !important;
}

body#module-blockgiftlistproplus-mywishlist table#display_list tbody td {
    border: 0 !important;
    border-top: 1px solid #eee2d7 !important;
    padding: 14px 10px !important;
    vertical-align: middle !important;
}

/* Le tableau defile horizontalement sur petit ecran */
body#module-blockgiftlistproplus-mywishlist #lists_table {
    overflow-x: auto !important;
}

/* Formulaires : champs arrondis a contour beige */
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro input.form-control,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro select,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro textarea {
    background: #fff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    color: #3E351F !important;
    box-shadow: none !important;
}

body#module-blockgiftlistproplus-mywishlist #mywishlist_pro input.form-control:focus,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro select:focus,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro textarea:focus {
    border-color: #6E8B74 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(110, 139, 116, 0.15) !important;
}

body#module-blockgiftlistproplus-mywishlist #mywishlist_pro label.form-control-label {
    color: #3E351F !important;
    font-weight: 600 !important;
}

/* Titres de sections d'onglet */
body#module-blockgiftlistproplus-mywishlist .aw_tab_content h2 {
    color: #3E351F !important;
    font-size: 22px !important;
}

/* Boutons : primaire vert arrondi */
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-primary,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro button[type="submit"].btn:not(.btn-default):not(.btn-secondary) {
    background: #6E8B74 !important;
    background-image: none !important;
    border: 1.5px solid #6E8B74 !important;
    border-radius: 999px !important;
    color: #fff !important;
    padding: 10px 28px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease !important;
}

body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-primary:hover,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-primary:focus-visible,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro button[type="submit"].btn:not(.btn-default):not(.btn-secondary):hover {
    background: #5d7862 !important;
    border-color: #5d7862 !important;
    color: #fff !important;
}

body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-primary * ,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro button[type="submit"].btn:not(.btn-default):not(.btn-secondary) * {
    color: #fff !important;
}

/* Boutons secondaires : clairs a contour beige */
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-default,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-secondary:not(.tab_aw),
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-tertiary:not(.tab_aw) {
    background: #fff !important;
    background-image: none !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 999px !important;
    color: #3E351F !important;
    padding: 9px 22px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-default:hover,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-secondary:not(.tab_aw):hover,
body#module-blockgiftlistproplus-mywishlist #mywishlist_pro .btn-tertiary:not(.tab_aw):hover {
    background: #f6efe9 !important;
    color: #3E351F !important;
}

/* Mobile : onglets et paddings */
@media (max-width: 767px) {
    body#module-blockgiftlistproplus-mywishlist #content.page-content {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }

    body#module-blockgiftlistproplus-mywishlist #mywishlist_pro > h2:first-of-type {
        font-size: 22px !important;
    }

    body#module-blockgiftlistproplus-mywishlist ul.nav_tabs li.tab_aw {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
}

/* -- Consentements et choix (2026-07-30 soir) : pilules et pastilles --
   L'input natif reste l'element interactif (appearance:none, jamais
   display:none) pour conserver la validation navigateur du required CGV. */

/* neutralise l'icone material du theme et les colonnes bootstrap parasites */
body#module-blockgiftlistproplus-mywishlist .custom-checkbox .checkbox-checked {
    display: none !important;
}
body#module-blockgiftlistproplus-mywishlist .custom-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    float: none !important;
}
body#module-blockgiftlistproplus-mywishlist .custom-checkbox > span.col-md-1 {
    float: none !important;
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 2px 0 0 !important;
    display: inline-flex !important;
}
body#module-blockgiftlistproplus-mywishlist .custom-checkbox > label {
    float: none !important;
    width: auto !important;
    flex: 1 1 auto !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.55 !important;
    color: #3E351F !important;
}

/* interrupteurs pilule : CGV (obligatoire), SMS (facultatif), adresse publique */
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_cgv,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_sms,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ad_public {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 44px !important;
    height: 24px !important;
    min-width: 44px !important;
    border-radius: 999px !important;
    background: #f6efe9 !important;
    border: 1.5px solid #d3bfb3 !important;
    position: relative !important;
    cursor: pointer !important;
    outline: none !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: background-color 160ms ease, border-color 160ms ease !important;
}
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_cgv::before,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_sms::before,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ad_public::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #b9a294;
    transition: left 160ms ease, background-color 160ms ease;
}
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_cgv:checked,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_sms:checked,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ad_public:checked {
    background: #6E8B74 !important;
    border-color: #6E8B74 !important;
}
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_cgv:checked::before,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_sms:checked::before,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ad_public:checked::before {
    left: 21px;
    background: #ffffff;
}
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_cgv:focus-visible,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ok_sms:focus-visible,
body#module-blockgiftlistproplus-mywishlist input[type="checkbox"]#ad_public:focus-visible {
    box-shadow: 0 0 0 3px rgba(110, 139, 116, 0.25) !important;
}

/* parametres generaux : la ligne adresse publique en flex propre */
body#module-blockgiftlistproplus-mywishlist #setup div:has(> input#ad_public) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}
body#module-blockgiftlistproplus-mywishlist #setup input#ad_public + label {
    margin: 0 !important;
    line-height: 1.55 !important;
    color: #3E351F !important;
    cursor: pointer;
}

/* type de liste (et genre) : pastilles selectionnables */
body#module-blockgiftlistproplus-mywishlist #creator_choose_name label.radio-inline {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 18px !important;
    margin: 4px 10px 4px 0 !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #3E351F !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease !important;
}
body#module-blockgiftlistproplus-mywishlist #creator_choose_name label.radio-inline:hover {
    background: #f6efe9 !important;
}
body#module-blockgiftlistproplus-mywishlist #creator_choose_name label.radio-inline:has(input:checked) {
    background: #6E8B74 !important;
    border-color: #6E8B74 !important;
    color: #ffffff !important;
}
body#module-blockgiftlistproplus-mywishlist #creator_choose_name label.radio-inline .custom-radio {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
}
body#module-blockgiftlistproplus-mywishlist #creator_choose_name label.radio-inline .custom-radio input[type="radio"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}
body#module-blockgiftlistproplus-mywishlist #creator_choose_name label.radio-inline .custom-radio > span {
    display: none !important;
}

/* le theme dessine .custom-radio en cercle blanc 20px : on l'etale invisible sur toute la pastille */
body#module-blockgiftlistproplus-mywishlist #creator_choose_name label.radio-inline .custom-radio {
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px !important;
    top: 0 !important;
    left: 0 !important;
}

/* le theme deguise les spans de .custom-checkbox en cases : retablir le span « facultatif » du label */
/* le theme force em en display:block : la mention « facultatif » reste dans la phrase */
body#module-blockgiftlistproplus-mywishlist .custom-checkbox > label em {
    display: inline !important;
    margin: 0 !important;
    color: #8a7f6f !important;
}
body#module-blockgiftlistproplus-mywishlist .custom-checkbox > label span {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    display: inline !important;
    margin: 0 4px 0 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
}

/* LCDP - GLP mywishlist - fin */


/* LCDP - GLP manage - debut */
/* Page « Gérer ma liste » (module blockgiftlistproplus) : conteneur et
   contenus d'onglets en cartes arrondies à contour beige, onglets en
   pastilles, tableaux adoucis, boutons harmonisés au thème. */

/* Conteneur principal en carte arrondie */
body#module-blockgiftlistproplus-manage #content.page-content {
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 2px 14px rgba(110, 139, 116, 0.10) !important;
    padding: 30px !important;
}

/* Titre de page */
body#module-blockgiftlistproplus-manage #mywishlist_pro h1 {
    color: var(--tv-theme-primary, #6E8B74);
    margin-bottom: 18px;
}

/* Lien « Mes listes » en pastille secondaire */
body#module-blockgiftlistproplus-manage #mywishlist_pro a.underline {
    display: inline-block;
    border: 1.5px solid #d3bfb3;
    border-radius: 999px;
    padding: 6px 18px;
    background: #fff;
    color: #3E351F !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

body#module-blockgiftlistproplus-manage #mywishlist_pro a.underline:hover,
body#module-blockgiftlistproplus-manage #mywishlist_pro a.underline:focus-visible {
    background: #d3bfb3;
}

/* Tableaux : synthèse de liste et blocs d'infos */
body#module-blockgiftlistproplus-manage #mywishlist_pro table.std,
body#module-blockgiftlistproplus-manage #mywishlist_pro #display_list {
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 12px;
    border-collapse: separate !important;
    overflow: hidden;
    background: #fff;
}

body#module-blockgiftlistproplus-manage #mywishlist_pro #display_list thead tr:nth-child(1) {
    background-color: #d3bfb3 !important;
}

body#module-blockgiftlistproplus-manage #mywishlist_pro #display_list th {
    color: #3E351F !important;
}

/* Fonds gris clair -> crème du thème */
body#module-blockgiftlistproplus-manage #mywishlist_pro .bkg_fe,
body#module-blockgiftlistproplus-manage #mywishlist_pro .bkg_eee,
body#module-blockgiftlistproplus-manage #mywishlist_pro .bkg_e1 {
    background: #fffef6 !important;
}

/* Filets de tableaux adoucis */
body#module-blockgiftlistproplus-manage #mywishlist_pro table.std td,
body#module-blockgiftlistproplus-manage #mywishlist_pro table.std th,
body#module-blockgiftlistproplus-manage #mywishlist_pro #display_list td {
    border-color: rgba(211, 191, 179, 0.55) !important;
}

body#module-blockgiftlistproplus-manage #mywishlist_pro table.table td {
    padding: 10px 12px !important;
    border-top: 1px solid rgba(211, 191, 179, 0.45) !important;
}

/* Bordures grises génériques du module -> beige */
body#module-blockgiftlistproplus-manage #mywishlist_pro .border1_ccc {
    border-color: #d3bfb3 !important;
}

/* Onglets en pastilles */
body#module-blockgiftlistproplus-manage #anchor_tabs.nav_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 0;
    border-bottom: 0 !important;
}

body#module-blockgiftlistproplus-manage #anchor_tabs .separationd {
    display: none; /* trait décoratif inutile avec les pastilles */
}

body#module-blockgiftlistproplus-manage #block-manage-aw .tab_aw {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 20px !important;
    background: #fff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 999px !important;
    transition: background-color 0.2s ease;
}

body#module-blockgiftlistproplus-manage #block-manage-aw .tab_aw:hover {
    border: 1.5px solid #d3bfb3 !important;
    background: #d3bfb3 !important;
}

body#module-blockgiftlistproplus-manage #block-manage-aw .tab_aw .text_wl {
    color: #3E351F !important;
}

body#module-blockgiftlistproplus-manage #block-manage-aw .tab_aw.active {
    background: var(--tv-theme-primary, #6E8B74) !important;
    border: 1.5px solid var(--tv-theme-primary, #6E8B74) !important;
}

body#module-blockgiftlistproplus-manage #block-manage-aw .tab_aw.active .text_wl {
    color: #fff !important;
}

/* Contenus d'onglets en carte (le display reste géré par le JS du module) */
body#module-blockgiftlistproplus-manage #mywishlist_pro .aw_tab_content {
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 16px;
    background: #fff;
    padding: 24px !important;
    margin-top: 18px !important;
}

/* Titres de sections */
body#module-blockgiftlistproplus-manage #mywishlist_pro h4 {
    color: var(--tv-theme-primary, #6E8B74);
    font-weight: 700;
}

/* Alerte de clôture harmonisée */
body#module-blockgiftlistproplus-manage #mywishlist_pro .alert-warning {
    background: #fffef6 !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 16px !important;
    color: #3E351F !important;
    padding: 18px !important;
}

/* Accordéons (visuel uniquement, ouverture gérée par le JS du module) */
body#module-blockgiftlistproplus-manage #mywishlist_pro .accordion_aw {
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 12px;
    background: #fffef6;
    margin-bottom: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Boutons : primaires et « clôturer » en vert du thème */
body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-primary,
body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-warning {
    background: var(--tv-theme-primary, #6E8B74) !important;
    border: 1.5px solid var(--tv-theme-primary, #6E8B74) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 8px 22px !important;
    transition: background-color 0.2s ease;
}

body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-primary:hover,
body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-primary:focus-visible,
body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-warning:hover,
body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-warning:focus-visible {
    background: #5a7560 !important;
    border-color: #5a7560 !important;
}

/* Boutons secondaires en pastille claire */
body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-default {
    background: #fff !important;
    border: 1.5px solid #d3bfb3 !important;
    color: #3E351F !important;
    border-radius: 999px !important;
    padding: 8px 22px !important;
    transition: background-color 0.2s ease;
}

body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-default:hover,
body#module-blockgiftlistproplus-manage #mywishlist_pro .btn-default:focus-visible {
    background: #d3bfb3 !important;
}

/* Champs de saisie */
body#module-blockgiftlistproplus-manage #mywishlist_pro input[type="text"],
body#module-blockgiftlistproplus-manage #mywishlist_pro input[type="password"],
body#module-blockgiftlistproplus-manage #mywishlist_pro input[type="email"],
body#module-blockgiftlistproplus-manage #mywishlist_pro select,
body#module-blockgiftlistproplus-manage #mywishlist_pro textarea {
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 6px 12px !important;
}

body#module-blockgiftlistproplus-manage #mywishlist_pro input[type="text"]:focus,
body#module-blockgiftlistproplus-manage #mywishlist_pro input[type="password"]:focus,
body#module-blockgiftlistproplus-manage #mywishlist_pro input[type="email"]:focus,
body#module-blockgiftlistproplus-manage #mywishlist_pro select:focus,
body#module-blockgiftlistproplus-manage #mywishlist_pro textarea:focus {
    border-color: var(--tv-theme-primary, #6E8B74) !important;
    outline: none;
}

/* Mobile */
@media (max-width: 767px) {
    body#module-blockgiftlistproplus-manage #content.page-content {
        padding: 16px !important;
    }

    body#module-blockgiftlistproplus-manage #block-manage-aw .tab_aw {
        padding: 0 14px !important;
    }

    body#module-blockgiftlistproplus-manage #mywishlist_pro .aw_tab_content {
        padding: 14px !important;
    }

    body#module-blockgiftlistproplus-manage #mywishlist_pro a.underline {
        padding: 5px 12px;
        font-size: 13px;
    }
}

/* --- Refonte 2026-07-30 : interrupteurs pilule, produits en lignes, actions en ligne --- */

/* Interrupteurs pilule (Publier, SMS, Affichage don) — piste creme/beige, curseur taupe, vert quand coche */
body#module-blockgiftlistproplus-manage input[type="checkbox"][id^="checkbox_"],
body#module-blockgiftlistproplus-manage input[type="checkbox"]#ok_sms,
body#module-blockgiftlistproplus-manage input[type="checkbox"][id^="display_"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 44px !important;
    height: 24px !important;
    min-width: 44px !important;
    border-radius: 999px !important;
    background: #f6efe9 !important;
    border: 1.5px solid #d3bfb3 !important;
    position: relative !important;
    cursor: pointer !important;
    outline: none !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: background-color 160ms ease, border-color 160ms ease !important;
}
body#module-blockgiftlistproplus-manage input[type="checkbox"][id^="checkbox_"]::before,
body#module-blockgiftlistproplus-manage input[type="checkbox"]#ok_sms::before,
body#module-blockgiftlistproplus-manage input[type="checkbox"][id^="display_"]::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #b9a294;
    transition: left 160ms ease, background-color 160ms ease;
}
body#module-blockgiftlistproplus-manage input[type="checkbox"][id^="checkbox_"]:checked,
body#module-blockgiftlistproplus-manage input[type="checkbox"]#ok_sms:checked,
body#module-blockgiftlistproplus-manage input[type="checkbox"][id^="display_"]:checked {
    background: #6E8B74 !important;
    border-color: #6E8B74 !important;
}
body#module-blockgiftlistproplus-manage input[type="checkbox"][id^="checkbox_"]:checked::before,
body#module-blockgiftlistproplus-manage input[type="checkbox"]#ok_sms:checked::before,
body#module-blockgiftlistproplus-manage input[type="checkbox"][id^="display_"]:checked::before {
    left: 21px;
    background: #ffffff;
}

/* Ligne SMS (custom-checkbox du theme) : neutraliser l icone material et realigner */
body#module-blockgiftlistproplus-manage #wlp_params .custom-checkbox .checkbox-checked {
    display: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_params .custom-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}
body#module-blockgiftlistproplus-manage #wlp_params .custom-checkbox > span.col-md-1,
body#module-blockgiftlistproplus-manage #wlp_params .custom-checkbox > label.col-md-11 {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_params .custom-checkbox > label.col-md-11 {
    flex: 1 1 auto !important;
    line-height: 1.5 !important;
}

/* Onglet Produits : une carte par ligne, non modifiable */
body#module-blockgiftlistproplus-manage #wlp_bought ul[class*="wlp_bought"] > li,
body#module-blockgiftlistproplus-manage #wlp_bought li.address_pdt {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .container_aw {
    background: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(110, 139, 116, 0.08) !important;
    padding: 18px 20px !important;
    margin: 0 0 16px !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .container_aw hr.separationd,
body#module-blockgiftlistproplus-manage #wlp_bought > hr.separationd,
body#module-blockgiftlistproplus-manage #wlp_bought ul[class*="wlp_bought"] hr.separationd {
    display: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .address_pict img {
    border-radius: 12px !important;
    max-width: 100% !important;
    height: auto !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought a.pdtName {
    color: #3E351F !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .price.bold {
    color: #6E8B74 !important;
    font-size: 20px !important;
    margin: 6px 0 10px !important;
}

/* Boutons Sauvegarder / Supprimer sur la meme ligne */
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row a[rel="delet"] {
    background: #ffffff !important;
    border: 1.5px solid #d9776f !important;
    color: #b3564f !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row a[rel="delet"]:hover {
    background: #fdf0ee !important;
    color: #a03c34 !important;
}


/* Produits : commutateur grille/liste masque + lignes forcees quelle que soit la classe JS */
body#module-blockgiftlistproplus-manage ul.display {
    display: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought ul.product_list_aw {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought ul.product_list_aw > li {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}
/* LCDP - GLP manage - fin */


/* LCDP - GLP addproducts - debut */
/* == Page « Ajouter des produits a votre liste » (module blockgiftlistproplus) ==
   Harmonisation avec searchlist / cms12 / mywishlist / manage :
   fond creme, cartes blanches arrondies a contour beige #d3bfb3,
   boutons pilule verts #6E8B74, titres centres. */

/* -- En-tete : titre et sous-titre centres -- */
body#module-blockgiftlistproplus-addproducts #main > .col-md-12 h2 {
    text-align: center !important;
    color: #3E351F !important;
    font-size: 28px !important;
    margin: 18px 0 6px !important;
}
body#module-blockgiftlistproplus-addproducts #main > .col-md-12 h4,
body#module-blockgiftlistproplus-addproducts #main > .col-md-12 h4 p {
    text-align: center !important;
    color: #6b6156 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}
body#module-blockgiftlistproplus-addproducts #main > .col-md-12 h4 a {
    color: #6E8B74 !important;
    font-weight: 700 !important;
}

/* -- Fil de navigation categorie (chevron + lien) -- */
body#module-blockgiftlistproplus-addproducts #main > .col-xs-12.clearboth {
    text-align: center !important;
    padding: 4px 0 !important;
}
body#module-blockgiftlistproplus-addproducts #main > .col-xs-12.clearboth a {
    color: #6E8B74 !important;
    font-weight: 700 !important;
}
body#module-blockgiftlistproplus-addproducts #main > .col-xs-12.clearboth svg.iconaw {
    fill: #6E8B74 !important;
}

/* -- Barre d'actions : bouton Annuler + recherche produit -- */
body#module-blockgiftlistproplus-addproducts .product_list_aw > .pg_top_12 {
    display: block !important;
}
body#module-blockgiftlistproplus-addproducts .product_list_aw > .pg_top_12:last-of-type {
    text-align: right !important;
}
body#module-blockgiftlistproplus-addproducts .pg_top_6.searchInCat_aw {
    margin-top: 8px !important;
    text-align: right !important;
}
body#module-blockgiftlistproplus-addproducts .pg_top_6.searchInCat_aw form[name="reinitPdtsCat"] {
    display: inline-block !important;
    float: none !important;
    background: transparent !important;
    border: 0 !important;
}
body#module-blockgiftlistproplus-addproducts .pg_top_6.searchInCat_aw button.reinitPdtsCat {
    background: transparent !important;
    border: 0 !important;
    color: #6E8B74 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 2px 0 !important;
}
body#module-blockgiftlistproplus-addproducts .pg_top_6.searchInCat_aw button.reinitPdtsCat em {
    font-style: normal !important;
    text-decoration: underline !important;
}
body#module-blockgiftlistproplus-addproducts .pg_top_6.searchInCat_aw button.reinitPdtsCat svg {
    fill: #6E8B74 !important;
    width: 12px !important;
    height: 12px !important;
}
body#module-blockgiftlistproplus-addproducts .product_list_aw a.btn.btn-default {
    background: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 999px !important;
    color: #3E351F !important;
    padding: 8px 22px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    transition: background-color 0.2s ease !important;
}
body#module-blockgiftlistproplus-addproducts .product_list_aw a.btn.btn-default:hover,
body#module-blockgiftlistproplus-addproducts .product_list_aw a.btn.btn-default:focus-visible {
    background: #f6efe9 !important;
    color: #3E351F !important;
}
body#module-blockgiftlistproplus-addproducts .searchInCat_aw form[name="submitPdtsCat"] {
    display: flex !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    max-width: 480px !important;
    margin-left: auto !important;
}
body#module-blockgiftlistproplus-addproducts .searchInCat_aw form[name="submitPdtsCat"] input[type="text"] {
    border: 0 !important;
    background: transparent !important;
    padding: 10px 18px !important;
    flex: 1 1 auto !important;
    outline: none !important;
    box-shadow: none !important;
}
body#module-blockgiftlistproplus-addproducts .searchInCat_aw form[name="submitPdtsCat"] button {
    background: #6E8B74 !important;
    border: 0 !important;
    padding: 0 18px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}
body#module-blockgiftlistproplus-addproducts .searchInCat_aw form[name="submitPdtsCat"] button:hover {
    background: #5d7862 !important;
}
body#module-blockgiftlistproplus-addproducts .searchInCat_aw form[name="submitPdtsCat"] button svg {
    fill: #ffffff !important;
    width: 18px !important;
    height: 18px !important;
}

/* -- Separateurs decoratifs supprimes -- */
body#module-blockgiftlistproplus-addproducts hr.separationd {
    display: none !important;
}

/* -- Zone resultats : carte blanche arrondie -- */
body#module-blockgiftlistproplus-addproducts section#products {
    background: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 18px rgba(110, 139, 116, 0.10) !important;
    padding: 18px !important;
    margin-bottom: 30px !important;
}

/* -- Barre d'outils du listing (compteur, vues, tri) -- */
body#module-blockgiftlistproplus-addproducts #js-product-list-top.products-selection {
    background: #fffef6 !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 10px 14px !important;
}
body#module-blockgiftlistproplus-addproducts .tv-total-product-number {
    color: #3E351F !important;
    font-weight: 700 !important;
}
body#module-blockgiftlistproplus-addproducts .products-selection select,
body#module-blockgiftlistproplus-addproducts .products-sort-order .select-title {
    background-color: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 10px !important;
    color: #3E351F !important;
}

/* -- Vignettes produit : cartes contour beige, contenus centres -- */
body#module-blockgiftlistproplus-addproducts article.product-miniature {
    background: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    margin-bottom: 20px !important;
    transition: box-shadow 0.2s ease !important;
}
body#module-blockgiftlistproplus-addproducts article.product-miniature:hover {
    box-shadow: 0 6px 16px rgba(110, 139, 116, 0.18) !important;
}
body#module-blockgiftlistproplus-addproducts article.product-miniature,
body#module-blockgiftlistproplus-addproducts article.product-miniature .product-description {
    text-align: center !important;
}
body#module-blockgiftlistproplus-addproducts article.product-miniature h3.product-title,
body#module-blockgiftlistproplus-addproducts article.product-miniature h3.product-title a {
    color: #3E351F !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}
body#module-blockgiftlistproplus-addproducts article.product-miniature .price {
    color: #3E351F !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

/* -- Bouton « ajouter a la liste » sur la vignette : pilule verte -- */
body#module-blockgiftlistproplus-addproducts article.product-miniature .buttons_bottom_block button.btn {
    background: #6E8B74 !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    transition: background-color 0.2s ease !important;
}
body#module-blockgiftlistproplus-addproducts article.product-miniature .buttons_bottom_block button.btn:hover {
    background: #5d7862 !important;
}
body#module-blockgiftlistproplus-addproducts article.product-miniature .notifQtyInList {
    background: #d3bfb3 !important;
    color: #3E351F !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}

/* -- Etat vide « Aucun produit trouve » : carte creme centree -- */
body#module-blockgiftlistproplus-addproducts #products #content.page-content.page-not-found {
    background: #fffef6 !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    text-align: center !important;
    padding: 40px 20px !important;
}
body#module-blockgiftlistproplus-addproducts #products #content.page-content.page-not-found h4 {
    color: #3E351F !important;
    font-weight: 700 !important;
}

/* -- Lien « Gerer mes listes » et lien retour bas de page -- */
body#module-blockgiftlistproplus-addproducts #main a.underline {
    color: #6E8B74 !important;
    font-weight: 700 !important;
}

/* -- Mobile -- */
@media (max-width: 767px) {
    body#module-blockgiftlistproplus-addproducts #main > .col-md-12 h2 {
        font-size: 22px !important;
    }
    body#module-blockgiftlistproplus-addproducts .product_list_aw > .pg_top_12,
    body#module-blockgiftlistproplus-addproducts .product_list_aw > .pg_top_12:last-of-type {
        justify-content: center !important;
    }
    body#module-blockgiftlistproplus-addproducts .searchInCat_aw form[name="submitPdtsCat"] {
        max-width: 100% !important;
        margin: 0 !important;
    }
    body#module-blockgiftlistproplus-addproducts section#products {
        padding: 10px !important;
    }
}
/* LCDP - GLP addproducts - fin */


/* LCDP - GLP authentification - debut */
/* Page d'acces donateur a une liste (saisie du mot de passe).
   Carte compacte centree, style searchlist/cms12. */

body#module-blockgiftlistproplus-authentification #content.page-content {
    max-width: 640px !important;
    margin: 40px auto !important;
    padding: 40px 32px !important;
    background: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(110, 139, 116, 0.12) !important;
}

/* Pastille cadeau en tete de carte, echo du rond du hero searchlist */
body#module-blockgiftlistproplus-authentification #searchdivd::before {
    content: "\1F381";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: #faf6ee;
    border: 1.5px solid #d3bfb3;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

body#module-blockgiftlistproplus-authentification #searchformd {
    text-align: center !important;
}

body#module-blockgiftlistproplus-authentification #searchformd p {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    color: #3E351F !important;
    font-size: 15px;
    line-height: 1.5;
}

/* « liste : NOM » devient le titre de la carte */
body#module-blockgiftlistproplus-authentification #searchformd p:first-of-type {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

body#module-blockgiftlistproplus-authentification #searchformd p:first-of-type strong {
    color: #6E8B74 !important;
}

/* « Créateur : X » en sous-titre discret */
body#module-blockgiftlistproplus-authentification #searchformd p:nth-of-type(2) {
    font-size: 14px;
    color: #8a7f6f !important;
}

body#module-blockgiftlistproplus-authentification #searchformd p:nth-of-type(2) strong {
    color: #8a7f6f !important;
    font-weight: 600;
}

body#module-blockgiftlistproplus-authentification #searchformd p:nth-of-type(3) {
    margin-top: 18px !important;
}

/* Champ mot de passe */
body#module-blockgiftlistproplus-authentification #pwd_check {
    width: min(260px, 70vw) !important;
    height: 46px !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 12px !important;
    color: #3E351F !important;
    font-size: 16px !important;
    text-align: center;
    letter-spacing: 2px;
    vertical-align: middle;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body#module-blockgiftlistproplus-authentification #pwd_check:focus {
    border-color: #6E8B74 !important;
    box-shadow: 0 0 0 3px rgba(110, 139, 116, 0.15) !important;
}

/* Bouton rond vert avec chevron blanc */
body#module-blockgiftlistproplus-authentification #pwd_check_submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    margin-left: 10px !important;
    background: #6E8B74 !important;
    border: 1.5px solid #6E8B74 !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    vertical-align: middle;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

body#module-blockgiftlistproplus-authentification #pwd_check_submit:hover,
body#module-blockgiftlistproplus-authentification #pwd_check_submit:focus-visible {
    background: #5d7862 !important;
    border-color: #5d7862 !important;
}

body#module-blockgiftlistproplus-authentification #pwd_check_submit .iconaw {
    width: 18px;
    height: 18px;
    fill: #ffffff !important;
    color: #ffffff !important;
}

/* Bloc d'erreurs (mauvais mot de passe, tentatives) */
body#module-blockgiftlistproplus-authentification #container #error {
    max-width: 480px;
    margin: 0 auto 20px !important;
    padding: 16px 20px !important;
    background: #fdf3f2 !important;
    border: 1.5px solid #e4b7b2 !important;
    border-radius: 14px !important;
    text-align: left;
}

body#module-blockgiftlistproplus-authentification #container #error h3 {
    margin: 0 0 8px !important;
    padding-bottom: 0 !important;
    color: #b3564f !important;
    font-size: 16px;
    text-transform: capitalize;
}

body#module-blockgiftlistproplus-authentification #container #error ul,
body#module-blockgiftlistproplus-authentification #container #error ul li {
    color: #b3564f !important;
    padding-bottom: 0 !important;
}

@media (max-width: 767px) {
    body#module-blockgiftlistproplus-authentification #content.page-content {
        margin: 16px 12px !important;
        padding: 28px 18px !important;
    }

    body#module-blockgiftlistproplus-authentification #searchformd p:first-of-type {
        font-size: 20px;
    }
}
/* LCDP - GLP authentification - fin */


/* LCDP - GLP searchlist2 - debut */
/* Reproduit sur searchlist2 (template brut du module) le design de la page
   searchlist (refaite au niveau template + searchlist.css, charge uniquement
   sur searchlist). Scope strict : body#module-blockgiftlistproplus-searchlist2. */

/* -- Fond de page et neutralisation du cadre blanc du gabarit -- */
body#module-blockgiftlistproplus-searchlist2 #wrapper {
    background: #f5f1e8 !important;
}

body#module-blockgiftlistproplus-searchlist2 #content.page-content {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 {
    float: none !important;
    width: 100% !important;
    padding: 0 0 4rem !important;
    font-family: var(--tv-theme-body-font, inherit);
}

/* -- Hero : bandeau degrade vert arrondi, icone cadeau en pastille, titre blanc centre -- */
body#module-blockgiftlistproplus-searchlist2 #header_searchlist {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 5.5rem !important;
    border-radius: 18px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 26%),
        linear-gradient(135deg, var(--tv-theme-primary, #6e8b74) 0%, var(--tv-theme-secondary, #6e8b74) 100%) !important;
    color: var(--tv-theme-primary-contrast, #fff);
    text-align: center !important;
}

body#module-blockgiftlistproplus-searchlist2 #header_searchlist::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -85px;
    width: 260px;
    height: 260px;
    border: 45px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
}

body#module-blockgiftlistproplus-searchlist2 #header_searchlist .header_search {
    width: 68px;
    height: 68px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.25rem !important;
    border-radius: 50%;
    background: var(--tv-theme-primary-contrast, #fff) !important;
    color: var(--tv-theme-primary, #6e8b74) !important;
    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.2);
}

body#module-blockgiftlistproplus-searchlist2 #header_searchlist .header_search .iconaw {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    fill: currentColor;
}

body#module-blockgiftlistproplus-searchlist2 #header_searchlist h2 {
    max-width: 780px;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--tv-theme-primary-contrast, #fff) !important;
    font-family: var(--tv-theme-title-font, inherit);
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1.08 !important;
    text-transform: none !important;
    text-align: center !important;
}

/* -- Carte blanche flottante du formulaire -- */
body#module-blockgiftlistproplus-searchlist2 #searchdivd {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 2rem)) !important;
    margin: -3.5rem auto 2.5rem !important;
    padding: 2rem !important;
    border: 1px solid rgba(0, 21, 34, 0.08) !important;
    border-radius: 16px;
    background: #fff !important;
    box-shadow: 0 18px 50px rgba(0, 21, 34, 0.14);
    text-align: left;
}

body#module-blockgiftlistproplus-searchlist2 #searchdivd > p:first-child {
    margin: 0 0 1rem !important;
    color: #63717a !important;
    font-size: 0.95rem !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left !important;
}

/* -- Formulaire : champ et bouton cote a cote -- */
body#module-blockgiftlistproplus-searchlist2 #searchform {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

body#module-blockgiftlistproplus-searchlist2 #searchform p {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
}

/* tooltip duplique colle au champ : redondant avec celui de l'intro */
body#module-blockgiftlistproplus-searchlist2 #searchform p .pos_relat {
    display: none !important;
}

body#module-blockgiftlistproplus-searchlist2 #searchform #searchname {
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 1rem !important;
    border: 1px solid #cfd5d8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #101820 !important;
    font: inherit !important;
    box-shadow: none !important;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

body#module-blockgiftlistproplus-searchlist2 #searchform #searchname:focus {
    border-color: var(--tv-theme-primary, #6e8b74) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 4px rgba(110, 139, 116, 0.18) !important;
}

body#module-blockgiftlistproplus-searchlist2 #searchform button[name="searchsubmit"] {
    min-width: 170px;
    height: 52px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 !important;
    padding: 0 1.5rem !important;
    border: 2px solid var(--tv-theme-primary, #6e8b74) !important;
    border-radius: 8px !important;
    background: var(--tv-theme-primary, #6e8b74) !important;
    color: var(--tv-theme-primary-contrast, #fff) !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

body#module-blockgiftlistproplus-searchlist2 #searchform button[name="searchsubmit"]:hover,
body#module-blockgiftlistproplus-searchlist2 #searchform button[name="searchsubmit"]:focus {
    background: var(--tv-theme-primary-contrast, #fff) !important;
    color: var(--tv-theme-primary, #6e8b74) !important;
    transform: translateY(-1px);
}

body#module-blockgiftlistproplus-searchlist2 #searchform button[name="searchsubmit"] .iconaw {
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
    fill: currentColor;
}

/* -- Alerte (aucun resultat / erreur) -- */
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .alert-warning {
    width: min(760px, calc(100% - 2rem)) !important;
    margin: 1.5rem auto !important;
    padding: 1rem 1.25rem !important;
    border: 1px solid #e7cb50 !important;
    border-radius: 10px !important;
    background: #fff9d7 !important;
    color: #564700 !important;
    text-align: left;
}

/* -- Resultats : lignes transformees en cartes -- */
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul {
    width: min(920px, calc(100% - 2rem));
    display: grid;
    gap: 0.65rem;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search {
    float: none !important;
    width: 100% !important;
    min-height: 100px;
    display: flex !important;
    align-items: center;
    gap: 0.9rem;
    margin: 0 !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #e5e1d8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(0, 21, 34, 0.07);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search:hover {
    border-color: rgba(0, 21, 34, 0.22) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 21, 34, 0.11);
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search.odd {
    background: #fff !important;
}

/* colonnes d'espacement bootstrap vides + filet de separation : inutiles en carte */
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search > div:not(.wlcm_pict_search):not(.infos_search),
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search hr.separationd {
    display: none !important;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .wlcm_pict_search {
    float: none !important;
    flex: 0 0 72px;
    width: 72px !important;
    height: 72px;
    overflow: hidden;
    padding: 0 !important;
    border-radius: 10px;
    background: #f5f1e8;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .wlcm_pict_search img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    margin: 0 !important;
    object-fit: cover;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .infos_search {
    float: none !important;
    flex: 1 1 auto;
    width: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0 !important;
    text-align: left !important;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .infos_search > span,
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .infos_search > a {
    margin: 0 !important;
    align-self: flex-start !important;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .infos_search > span {
    width: auto !important;
    color: #63717a !important;
    font-size: 0.85rem !important;
    text-align: left !important;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .infos_search a.underline {
    color: #101820 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .infos_search a.underline:hover {
    color: var(--tv-theme-primary, #6e8b74) !important;
    text-decoration: underline !important;
}

/* -- Mobile -- */
@media (max-width: 767px) {
    body#module-blockgiftlistproplus-searchlist2 #header_searchlist {
        min-height: 200px;
        padding: 2.25rem 1rem 4.5rem !important;
        border-radius: 14px;
    }

    body#module-blockgiftlistproplus-searchlist2 #searchdivd {
        margin: -3rem auto 1.75rem !important;
        padding: 1.25rem !important;
    }

    body#module-blockgiftlistproplus-searchlist2 #searchform {
        grid-template-columns: 1fr;
    }

    body#module-blockgiftlistproplus-searchlist2 #searchform button[name="searchsubmit"] {
        width: 100%;
    }

    body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search {
        min-height: 0;
    }

    body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 .wlcm_pict_search {
        flex-basis: 56px;
        width: 56px !important;
        height: 56px;
    }
}
/* LCDP - GLP searchlist2 - fin */



/* LCDP - GLP searchlist cartes cliquables - debut */
/* Recherche de liste (searchlist et searchlist2) : carte entiere cliquable
   (le lien du nom est etendu sur toute la carte) + couleur au survol. */
body#module-blockgiftlistproplus-searchlist .giftlist-result-card,
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search {
    position: relative !important;
    cursor: pointer !important;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

body#module-blockgiftlistproplus-searchlist .giftlist-result-card a.giftlist-result-card__link::after,
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search .infos_search > a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

body#module-blockgiftlistproplus-searchlist .giftlist-result-card:hover,
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search:hover {
    background-color: #f6efe9 !important;
    border-color: #d3bfb3 !important;
}

body#module-blockgiftlistproplus-searchlist .giftlist-result-card:hover a.giftlist-result-card__link,
body#module-blockgiftlistproplus-searchlist2 #results_searchlist2 ul li.li_search:hover .infos_search > a {
    color: #6E8B74 !important;
}
/* LCDP - GLP searchlist cartes cliquables - fin */


/* LCDP - mention facultatif de la ligne SMS : le theme lui applique une ombre portee qui la fait passer pour une case
   a cocher au milieu de la phrase — on la remet en simple mention discrete. */
body#module-blockgiftlistproplus-mywishlist label[for="ok_sms"] span.mg_right_6,
body#module-blockgiftlistproplus-mywishlist label[for="ok_sms"] span.mg_right_6 em {
    box-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
    color: #8a7f6f !important;
    font-style: italic !important;
    white-space: nowrap;
}


/* LCDP - GLP mywishlist finitions - debut */
/* 1. Restes visuels de cases a cocher du theme autour des interrupteurs
      (le theme peint les spans de .custom-checkbox comme des cases) */
body#module-blockgiftlistproplus-mywishlist .custom-checkbox span.col-md-1,
body#module-blockgiftlistproplus-mywishlist .custom-checkbox > span {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* 1 bis (5.4.0). Le porte-icone est un PETIT-ENFANT (.custom-checkbox > span.col-md-1 > span)
   que la regle ci-dessus (enfants directs) ne touche pas : le theme le peint en case 17x17
   (custom.css .custom-checkbox span) et sa bordure suit l'etat de l'input voisin
   (input:checked + span), d'ou une fausse case qui reagit a la pilule. Meme correctif que
   sur manage : on masque le porte-icone et l'icone, jamais l'input (required CGV) ni les
   spans du label. */
body#module-blockgiftlistproplus-mywishlist .custom-checkbox > span.col-md-1 > span,
body#module-blockgiftlistproplus-mywishlist .custom-checkbox > span.col-md-1 > span > i.material-icons {
    display: none !important;
}

/* 2. Publier (tableau des listes) : interrupteur pilule identique a manage,
      l'input reste l'element interactif (AJAX WishlistPublish conserve) */
body#module-blockgiftlistproplus-mywishlist table input[type="checkbox"][id^="checkbox_"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 44px !important;
    height: 24px !important;
    min-width: 44px !important;
    border-radius: 999px !important;
    background: #f6efe9 !important;
    border: 1.5px solid #d3bfb3 !important;
    position: relative !important;
    cursor: pointer !important;
    margin: 0 !important;
    vertical-align: middle !important;
}
body#module-blockgiftlistproplus-mywishlist table input[type="checkbox"][id^="checkbox_"]::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #b9a294;
    transition: left 160ms ease, background-color 160ms ease;
}
body#module-blockgiftlistproplus-mywishlist table input[type="checkbox"][id^="checkbox_"]:checked {
    background: #6E8B74 !important;
    border-color: #6E8B74 !important;
}
body#module-blockgiftlistproplus-mywishlist table input[type="checkbox"][id^="checkbox_"]:checked::before {
    left: 21px;
    background: #ffffff;
}
body#module-blockgiftlistproplus-mywishlist table input[type="checkbox"][id^="checkbox_"]:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(110, 139, 116, 0.35) !important;
}

/* 3. Cadre d'avertissement (parametres generaux) : adapte au cadre,
      fini le jaune a bordure bleue qui detonne */
body#module-blockgiftlistproplus-mywishlist .info_orange {
    background: #fdf6e8 !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 12px !important;
    color: #3E351F !important;
    padding: 12px 16px !important;
    margin: 10px 0 16px !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
body#module-blockgiftlistproplus-mywishlist .info_orange,
body#module-blockgiftlistproplus-mywishlist .info_orange a,
body#module-blockgiftlistproplus-mywishlist .info_orange span {
    color: #3E351F !important;
}

/* 4. Sauvegarder / Annuler : memes dimensions (seule la couleur change),
      alignes sur la meme ligne, plus de marges parasites du theme */
body#module-blockgiftlistproplus-mywishlist #creator_choose_name button.btn,
body#module-blockgiftlistproplus-mywishlist #setup button.btn,
body#module-blockgiftlistproplus-mywishlist #setup input.btn {
    /* pas de display force : le JS du module cache/affiche certains boutons
       (ex. #submitPublicAdr) via style inline, qui doit garder la main */
    padding: 10px 28px !important;
    margin: 0 !important;
    min-height: 42px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    float: none !important;
    width: auto !important;
    vertical-align: middle !important;
}
body#module-blockgiftlistproplus-mywishlist #creator_choose_name button.btn + button.btn,
body#module-blockgiftlistproplus-mywishlist #setup button.btn + button.btn,
body#module-blockgiftlistproplus-mywishlist #setup button.btn + input.btn {
    margin-left: 14px !important;
}
/* le Annuler du haut de l'onglet parametres ne s'etire plus sur sa colonne */
body#module-blockgiftlistproplus-mywishlist #setup button.col-xs-3 {
    width: auto !important;
    max-width: none !important;
}
/* LCDP - GLP mywishlist finitions - fin */

/* LCDP - GLP manage parasites consentements - debut */
/* Parametres principaux : le theme habille chaque span des .custom-checkbox
   (ombre portee + bordure + fond bleute) et y glisse une icone material,
   ce qui fait apparaitre de fausses cases autour de la pilule et en fin
   de texte SMS. On retire les decorations, jamais les inputs. */
body#module-blockgiftlistproplus-manage .custom-checkbox > span.col-md-1 {
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* le porte-icone (span anonyme) et son icone material : purement decoratifs */
body#module-blockgiftlistproplus-manage .custom-checkbox > span.col-md-1 > span,
body#module-blockgiftlistproplus-manage .custom-checkbox i.material-icons {
    display: none !important;
}

/* mention facultatif en fin de texte SMS : simple mention, pas une case */
body#module-blockgiftlistproplus-manage .custom-checkbox span.mg_right_6,
body#module-blockgiftlistproplus-manage .custom-checkbox span.mg_right_6 em {
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    color: #8a7f6f !important;
    font-style: italic !important;
    white-space: nowrap;
}

/* ligne du consentement : pilule et texte alignes proprement */
body#module-blockgiftlistproplus-manage #block-manage-aw .custom-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    float: none !important;
}
body#module-blockgiftlistproplus-manage #block-manage-aw .custom-checkbox > label {
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}
/* LCDP - GLP manage parasites consentements - fin */

/* LCDP - GLP manage cards compactes - debut */
/* Onglet Produits : chaque produit devient une rangee horizontale dense —
   image a gauche, infos et actions calees sur la hauteur de l'image. */
body#module-blockgiftlistproplus-manage #wlp_bought ul.product_list_aw > li {
    padding: 8px 16px !important;
    margin-bottom: 10px !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .container_aw {
    padding: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .container_aw > ul {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
}

/* colonne image */
body#module-blockgiftlistproplus-manage #wlp_bought li.address_name {
    flex: 0 0 110px !important;
    width: 110px !important;
    max-width: 110px !important;
    padding: 0 !important;
    float: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_name img {
    max-width: 110px !important;
    max-height: 110px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 10px !important;
    margin: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_name a {
    margin: 0 !important;
}

/* colonne nom / prix / quantites constatees */
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    float: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title a.pdtName {
    font-size: 15px !important;
    line-height: 1.25 !important;
    display: block !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title .price {
    font-size: 18px !important;
    color: #6E8B74 !important;
    margin: 4px 0 6px !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title ul.tableaw[rel="info_bought_left"] {
    display: flex !important;
    gap: 16px !important;
    margin: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title ul.tableaw[rel="info_bought_left"] .rowaw {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    font-size: 12px !important;
    color: #6b6156 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title ul.tableaw[rel="info_bought_left"] .cellaw {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title ul.tableaw[rel="info_bought_left"] input {
    width: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
}

/* colonne parametres + actions */
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    background: transparent !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param .wishlist_product_detail_dd {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    font-size: 12.5px !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param .cellaw {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param input[type="text"],
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param select {
    padding: 3px 6px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    border: 1px solid #d3bfb3 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param input[type="text"] {
    width: 44px !important;
}

/* le bloc "reserve pour vous" vide ne doit plus occuper une ligne */
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param > .wishlist_product_detail_dd > ul:not(.tableaw):not(.ldn-actions-row) {
    margin: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param .cellaw.booked {
    font-size: 11px !important;
    min-height: 0 !important;
    padding: 0 !important;
}

/* boutons empiles a droite, compacts et identiques */
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row > li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    margin: 0 !important;
}

/* mobile : image + infos serrees, parametres en dessous */
@media (max-width: 767px) {
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw > ul {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name {
        flex: 0 0 84px !important;
        width: 84px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name img {
        max-width: 84px !important;
        max-height: 84px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_title {
        flex: 1 1 55% !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_title ul.tableaw[rel="info_bought_left"] {
        flex-wrap: wrap !important;
        gap: 4px 14px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_title ul.tableaw[rel="info_bought_left"] .rowaw {
        white-space: nowrap !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param .wishlist_product_detail_dd {
        flex: 1 1 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw {
        width: 100% !important;
        gap: 8px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw {
        justify-content: space-between !important;
        width: 100% !important;
        white-space: nowrap !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw > .cellaw:first-child {
        margin-right: auto !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param select {
        min-width: 110px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row {
        flex-direction: row !important;
        width: 100% !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row > li {
        flex: 1 !important;
    }
}
/* LCDP - GLP manage cards compactes - fin */


/* LCDP - GLP view etats produits - debut */
/* Produits desactives : section dediee tout en bas, apres les offerts,
   via la classe ldn-produit-desactive posee par le template (exclusive
   de already_offered). Renforce par le tri serveur (tabDisabled). */
body#module-blockgiftlistproplus-view ul.product_list_aw > li.item:has(> .ldn-produit-desactive) {
    order: 30 !important;
    opacity: 0.62;
    filter: grayscale(0.6);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

body#module-blockgiftlistproplus-view ul.product_list_aw > li.item:has(> .ldn-produit-desactive):hover {
    opacity: 1;
    filter: none;
}

/* Titre de la section, uniquement si un produit desactive est present */
body#module-blockgiftlistproplus-view ul.product_list_aw:has(> li.item > .ldn-produit-desactive)::before {
    content: "Produits d\00e9sactiv\00e9s";
    order: 25;
    display: block;
    text-align: center;
    font-family: var(--tv-theme-title-font, inherit);
    font-size: 26px;
    font-weight: 700;
    color: #8a7f6f;
    margin: 28px 0 6px;
}

/* Bouton neutre et mention rouge douce sur les desactives */
body#module-blockgiftlistproplus-view .ldn-produit-desactive .add-to-cart {
    background: #cfc7c0 !important;
    border-color: #cfc7c0 !important;
    color: #ffffff !important;
    cursor: default !important;
}

body#module-blockgiftlistproplus-view .ldn-produit-desactive .no_stock {
    color: #b3564f;
    font-weight: 700;
}

/* Promo : prix barre discret + badge pourcentage en pilule */
body#module-blockgiftlistproplus-view .wishlist_product_detail_dd .ldn-prix-barre {
    display: inline-block;
    text-decoration: line-through;
    color: #8a7f6f;
    font-size: 16px;
    margin-right: 8px;
}

body#module-blockgiftlistproplus-view .wishlist_product_detail_dd .ldn-badge-promo {
    display: inline-block;
    background: #b3564f;
    color: #ffffff;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 13px;
    font-weight: 700;
    vertical-align: 2px;
}

/* Badge Prix Metropole : la classe globale prix-metropole-badge est en
   position absolute — ancrage sur le bloc image de la card */
body#module-blockgiftlistproplus-view .address_name {
    position: relative;
}
/* LCDP - GLP view etats produits - fin */


/* LCDP - GLP manage curseur priorite + cards v2 - debut */
/* Curseur de priorite (3 crans : Importante / Moyenne / Basse) */
body#module-blockgiftlistproplus-manage .ldn-priority-slider {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}
body#module-blockgiftlistproplus-manage .ldn-priority-slider input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 110px !important;
    height: 20px !important;
    margin: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
}
body#module-blockgiftlistproplus-manage .ldn-priority-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 6px !important;
    border-radius: 999px !important;
    background: #d3bfb3 !important;
}
body#module-blockgiftlistproplus-manage .ldn-priority-slider input[type="range"]::-moz-range-track {
    height: 6px !important;
    border-radius: 999px !important;
    background: #d3bfb3 !important;
}
body#module-blockgiftlistproplus-manage .ldn-priority-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: -6px !important;
    border-radius: 50% !important;
    background: #6E8B74 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 1px 3px rgba(62, 53, 31, 0.35) !important;
}
body#module-blockgiftlistproplus-manage .ldn-priority-slider input[type="range"]::-moz-range-thumb {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #6E8B74 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 1px 3px rgba(62, 53, 31, 0.35) !important;
}
body#module-blockgiftlistproplus-manage .ldn-priority-slider input[type="range"]:focus-visible {
    outline: 2px solid rgba(110, 139, 116, 0.5) !important;
    outline-offset: 2px !important;
}
body#module-blockgiftlistproplus-manage .ldn-priority-value {
    min-width: 78px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #3E351F !important;
    white-space: nowrap !important;
}

/* Cards : +15 % de hauteur en aerant (152 -> ~175 px) */
body#module-blockgiftlistproplus-manage #wlp_bought ul.product_list_aw > li {
    min-height: 175px !important;
    padding: 14px 18px !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .container_aw > ul {
    gap: 24px !important;
}

/* Titre du produit cale a gauche, comme le prix */
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title,
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title a.pdtName,
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title .align_dd,
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title .align_dd.center {
    text-align: left !important;
}

/* Bandeau d'etat (produit desactive, etc.) : contenu DANS la vignette,
   fini le chevauchement de l'arc de contour de la card */
body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .align_dd {
    position: relative !important;
    display: inline-block !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .warn_on_pict {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 110px !important;
    margin: 0 !important;
    z-index: 2 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .warn_on_pict .attr_nok {
    display: block !important;
    margin: 0 !important;
    padding: 4px 5px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    border-radius: 0 0 10px 10px !important;
    background: rgba(198, 61, 61, 0.92) !important;
    color: #fff !important;
}
/* LCDP - GLP manage curseur priorite + cards v2 - fin */


/* LCDP - GLP mywishlist ajustements - debut */
/* Nouvelle liste : colonne des libelles resserree pour rapprocher les champs
   (desktop uniquement — en mobile bootstrap empile deja les colonnes). */
@media (min-width: 768px) {
    body#module-blockgiftlistproplus-mywishlist #creator_choose_name .form-group.row > .form-control-label {
        flex: 0 0 190px !important;
        max-width: 190px !important;
    }
}

/* Nouvelle liste : le titre seul occupe la ligne d'en-tete (bouton Annuler du haut retire au template) */
body#module-blockgiftlistproplus-mywishlist #newlist .awfxjct h2 {
    width: 100% !important;
}

/* Parametres generaux : le cadre englobant du bloc adresse disparait,
   le contenu s'integre directement dans la carte de page. */
body#module-blockgiftlistproplus-mywishlist #setup .card.card-block {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}
/* LCDP - GLP mywishlist ajustements - fin */

/* Nouvelle liste : formulaire centre dans la carte (resserrage libelles/champs conserve).
   Le titre suit la meme largeur pour rester aligne au bloc. */
@media (min-width: 768px) {
    body#module-blockgiftlistproplus-mywishlist #creator_choose_name,
    body#module-blockgiftlistproplus-mywishlist #newlist .awfxjct {
        max-width: 980px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* LCDP - GLP manage cards v2 (arc, alignements, stepper) - debut */
/* CAUSE RACINE de l'arc coupe : la carte visible est .container_aw (arrondi 16px)
   mais elle n'avait AUCUN padding interne — l'image et le bandeau d'etat, colles
   au bord, recouvraient l'arc du coin. On rend l'espace a l'interieur de la carte
   (et +10px vers le bas sur le contour, demande utilisateur). */
body#module-blockgiftlistproplus-manage #wlp_bought ul.product_list_aw > li {
    padding: 6px 16px !important;
    min-height: 0 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .container_aw {
    padding: 14px 18px 24px !important;
}

/* Alignement des colonnes : titre du produit sur la meme ligne que
   « Quantite de la liste » ; photo centree verticalement dans la carte. */
body#module-blockgiftlistproplus-manage #wlp_bought .container_aw > ul {
    align-items: flex-start !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_name {
    align-self: center !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title,
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param {
    align-self: flex-start !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_title a.pdtName {
    margin-top: 0 !important;
    line-height: 1.3 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw:first-child {
    margin-top: 0 !important;
}
/* les boutons restent centres verticalement dans la rangee de droite */
body#module-blockgiftlistproplus-manage #wlp_bought li.address_param .wishlist_product_detail_dd {
    align-items: flex-start !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row {
    margin-top: 14px !important;
}

/* Stepper quantite : deux fleches collees, empilees, a droite du champ */
body#module-blockgiftlistproplus-manage #wlp_bought .ldn-qty-stepper {
    display: inline-flex !important;
    flex-direction: column !important;
    margin-left: 4px !important;
    border: 1px solid #d3bfb3 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    vertical-align: middle !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .ldn-qty-btn {
    display: block !important;
    width: 20px !important;
    height: 13px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #fff !important;
    color: #6E8B74 !important;
    font-size: 8px !important;
    line-height: 13px !important;
    cursor: pointer !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .ldn-qty-btn:first-child {
    border-bottom: 1px solid #eee2d7 !important;
}
body#module-blockgiftlistproplus-manage #wlp_bought .ldn-qty-btn:hover {
    background: #f6efe9 !important;
}

/* Ligne SMS des Parametres principaux : « facultatif » remis dans le flux du texte */
body#module-blockgiftlistproplus-manage label[for="ok_sms"] span.mg_right_6,
body#module-blockgiftlistproplus-manage label[for="ok_sms"] span.mg_right_6 em {
    display: inline !important;
    vertical-align: baseline !important;
    box-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    color: #8a7f6f !important;
    font-style: italic !important;
}

/* Mobile : carte empilee, paddings reduits, arc preserve */
@media (max-width: 767px) {
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw {
        padding: 12px 12px 20px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_title,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param {
        align-self: stretch !important;
    }
}
/* LCDP - GLP manage cards v2 - fin */

/* compensation du padding bas asymetrique (+10px) : photo recentree sur la carte entiere */
@media (min-width: 768px) {
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name {
        transform: translateY(5px) !important;
    }
}


/* LCDP - GLP petites corrections (titre centre, sens curseur) - debut */
/* mywishlist : titre de l'onglet Nouvelle liste centre */
body#module-blockgiftlistproplus-mywishlist #newlist .awfxjct,
body#module-blockgiftlistproplus-mywishlist #newlist h3.page-subheading,
body#module-blockgiftlistproplus-mywishlist #newlist .s_title_block {
    text-align: center !important;
}

/* manage : curseur de priorite inverse — Importante (1) a droite, Basse (5) a gauche.
   direction:rtl inverse le sens visuel du range sans toucher aux valeurs envoyees. */
body#module-blockgiftlistproplus-manage input[type="range"][id^="priority"] {
    direction: rtl;
}
/* LCDP - GLP petites corrections - fin */


/* LCDP - GLP manage grisage cards (offerts / desactives) - debut */
/* Hierarchie : disponibles nets > tout offert grise > desactive tres grise. Hover ravive pour lire. */
body#module-blockgiftlistproplus-manage ul.product_list_aw .container_aw.bkg_grey {
    filter: grayscale(0.55);
    opacity: 0.62;
    transition: filter 0.2s ease, opacity 0.2s ease;
}
body#module-blockgiftlistproplus-manage ul.product_list_aw .container_aw.bkg_grey:hover {
    filter: grayscale(0.15);
    opacity: 0.9;
}
body#module-blockgiftlistproplus-manage ul.product_list_aw .container_aw:has(.attr_nok) {
    filter: grayscale(1) !important;
    opacity: 0.45 !important;
    transition: filter 0.2s ease, opacity 0.2s ease;
}
body#module-blockgiftlistproplus-manage ul.product_list_aw .container_aw:has(.attr_nok):hover {
    opacity: 0.7 !important;
    filter: grayscale(0.5) !important;
}
/* LCDP - GLP manage grisage cards - fin */


/* LCDP - GLP manage ordre des cards (dispos > offerts > desactives) - debut */
/* La liste est deja en flex column : on ordonne sans toucher au serveur. */
body#module-blockgiftlistproplus-manage ul.product_list_aw > li:has(.container_aw.bkg_grey):not(:has(.attr_nok)) {
    order: 10;
}
body#module-blockgiftlistproplus-manage ul.product_list_aw > li:has(.attr_nok) {
    order: 20;
}
/* LCDP - GLP manage ordre des cards - fin */


/* LCDP - GLP view refonte v4 - debut */
/* Passe complete demandee le 2026-07-30 : alerte panier mixte en carte,
   sous-texte dans le bouton, date dans le hero, onglets message/adresse
   centres, produits en rangees compactes facon manage, hierarchie de
   grisage disponibles > offerts > desactives. */

/* ---- 1. Alerte panier mixte : carte creme centree, choix en pilules ---- */
body#module-blockgiftlistproplus-view .ldn-alerte-mixte {
    background: #fdf6e8 !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 16px !important;
    color: #3E351F !important;
    text-align: center !important;
    padding: 26px 30px 30px !important;
    max-width: 860px;
    margin: 0 auto 26px !important;
    box-shadow: none !important;
    float: none !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte span {
    color: #3E351F !important;
    display: block;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte a {
    color: #6E8B74 !important;
    text-decoration: underline;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte label {
    display: block !important;
    text-align: center !important;
    font-weight: 700 !important;
    color: #6E8B74 !important;
    margin: 12px 0 6px !important;
    float: none !important;
    width: auto !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte form,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte fieldset,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .form-group,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .lnk {
    float: none !important;
    display: block;
    margin: 0 !important;
    text-align: center !important;
}
body#module-blockgiftlistproplus-view #view-producs_block_center .ldn-alerte-mixte .ldn-btn-vider {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: #6E8B74 !important;
    border: 1.5px solid #6E8B74 !important;
    border-radius: 999px !important;
    padding: 10px 28px !important;
    line-height: 1.25 !important;
    box-shadow: none !important;
    float: none !important;
    text-transform: none !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .ldn-btn-vider:hover {
    background: #5d7862 !important;
    border-color: #5d7862 !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .ldn-btn-vider span {
    color: #ffffff !important;
    display: block;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .ldn-btn-sous-texte {
    font-size: 11px !important;
    font-weight: 400 !important;
    opacity: 0.85;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .lnk a {
    display: inline-block !important;
    background: #ffffff !important;
    border: 1.5px solid #d3bfb3 !important;
    color: #3E351F !important;
    border-radius: 999px !important;
    padding: 10px 28px !important;
    margin-top: 4px;
    box-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
    float: none !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .lnk a:hover {
    background: #f6efe9 !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .lnk a span {
    color: #3E351F !important;
    display: inline;
}

/* ---- 3. Date de l'evenement dans le hero ---- */
body#module-blockgiftlistproplus-view #view-producs_block_center > h2:has(+ h2.ldn-hero-date) {
    margin: 0 !important;
    padding: 4px 24px 2px !important;
    border-radius: 0 !important;
}
body#module-blockgiftlistproplus-view #view-producs_block_center > h2.ldn-hero-date {
    font-size: 15px !important;
    padding: 2px 24px 42px !important;
}

/* ---- 4. Onglets Message personnel / Adresse de remerciement ---- */
body#module-blockgiftlistproplus-view #anchor_tabs {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 16px;
    float: none !important;
    margin: 28px auto 20px !important;
    padding: 0 !important;
    width: 100% !important;
}
/* Le gabarit pose un pseudo-element de clearfix sur la liste. Devenu element flex,
   il occupe une place et consomme un intervalle : le groupe de pilules se retrouvait
   decale vers la gauche (8 px en mobile, une vingtaine en desktop). */
body#module-blockgiftlistproplus-view #anchor_tabs::before,
body#module-blockgiftlistproplus-view #anchor_tabs::after {
    content: none !important;
    display: none !important;
}
body#module-blockgiftlistproplus-view #anchor_tabs li.tab_aw {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
body#module-blockgiftlistproplus-view #anchor_tabs li.tab_aw > span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    width: auto !important;
    border-radius: 999px !important;
    border: 1.5px solid #d3bfb3 !important;
    padding: 11px 26px !important;
    font-weight: 700 !important;
    color: #3E351F !important;
    background: #f6efe9 !important;
    box-shadow: none !important;
    transition: filter 150ms ease;
}
body#module-blockgiftlistproplus-view #anchor_tabs li#allow_address > span {
    background: #d3bfb3 !important;
}
body#module-blockgiftlistproplus-view #anchor_tabs li.tab_aw > span:hover {
    filter: brightness(0.96);
}
body#module-blockgiftlistproplus-view #anchor_tabs li.tab_aw svg {
    color: #6E8B74 !important;
    fill: #6E8B74 !important;
}
/* la ligne collee sous les deux boutons : barre laterale + fonds + bordures */
body#module-blockgiftlistproplus-view #anchor_tabs + div,
body#module-blockgiftlistproplus-view .border_left4_v {
    border-left: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
}
body#module-blockgiftlistproplus-view .aw_tab_content {
    border-bottom: 0 !important;
    border-top: 0 !important;
}

/* ---- 5. Produits en rangees compactes facon manage ---- */
@media (min-width: 768px) {
    body#module-blockgiftlistproplus-view ul.product_list_aw > li .container_aw {
        display: grid !important;
        grid-template-columns: 130px minmax(0, 1fr) 300px;
        grid-template-areas:
            "img titre actions"
            "img desc actions";
        column-gap: 24px;
        align-items: center;
        /* lecon manage : jamais padding 0, l'image ne doit pas recouvrir l'arc */
        padding: 16px 20px 24px !important;
        min-height: 170px;
    }
    body#module-blockgiftlistproplus-view .container_aw > .blk_left {
        display: contents !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .address_titled {
        grid-area: titre;
        align-self: end;
        width: auto !important;
        float: none !important;
        text-align: left !important;
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .address_titled a {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .address_name {
        grid-area: img;
        align-self: center;
        justify-self: center;
        width: 130px !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .address_name img {
        max-height: 122px !important;
        max-width: 130px !important;
        width: auto !important;
        object-fit: contain;
        display: block;
        margin: 0 auto !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .view_align_dd {
        grid-area: desc;
        align-self: start;
        width: auto !important;
        float: none !important;
        margin: 4px 0 0 !important;
        padding: 0 !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .description_short_dd a {
        /* LCDP 2026-07-31 : clamp -webkit-box retire (hauteur nulle sur certains moteurs) —
           la troncature serveur a 160 caracteres limite deja la longueur */
        display: block;
        overflow: visible;
    }
    /* description longue : accessible via la modale du titre, masquee dans la rangee */
    body#module-blockgiftlistproplus-view .container_aw .description_dd {
        display: none !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd {
        grid-area: actions;
        align-self: center;
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: right !important;
    }
    /* Un libelle long (par exemple la reservation dans le panier d'un autre
       donateur) ne doit pas imposer sa largeur intrinseque a la grille. */
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd .add-to-cart.disabled {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd .add-to-cart.disabled > span {
        white-space: normal !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd .price {
        margin: 0 !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .form_view_qty_offer {
        margin: 2px 0 0 !important;
        height: auto !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .form_view_qty_left,
    body#module-blockgiftlistproplus-view .container_aw .form_view_qty_left p,
    body#module-blockgiftlistproplus-view .container_aw .priority_icon {
        margin: 0 !important;
    }
    body#module-blockgiftlistproplus-view .container_aw > hr,
    body#module-blockgiftlistproplus-view .container_aw .blk_left > hr {
        display: none !important;
    }
}

/* ---- Hierarchie de grisage : disponibles > offerts > desactives ---- */
body#module-blockgiftlistproplus-view ul.product_list_aw > li.item:has(> .already_offered) {
    opacity: 0.6 !important;
    filter: grayscale(0.55) !important;
    transition: opacity 0.25s ease, filter 0.25s ease !important;
}
body#module-blockgiftlistproplus-view ul.product_list_aw > li.item:has(> .already_offered):hover {
    opacity: 0.85 !important;
    filter: grayscale(0.25) !important;
}
body#module-blockgiftlistproplus-view ul.product_list_aw > li.item:has(> .ldn-produit-desactive) {
    opacity: 0.45 !important;
    filter: grayscale(1) !important;
    transition: opacity 0.25s ease, filter 0.25s ease !important;
}
body#module-blockgiftlistproplus-view ul.product_list_aw > li.item:has(> .ldn-produit-desactive):hover {
    opacity: 0.6 !important;
    filter: grayscale(1) !important;
}
/* LCDP - GLP view refonte v4 - fin */

/* ---- Compression verticale de la colonne actions (rangee <= ~195px) ---- */
@media (min-width: 768px) {
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd hr {
        display: none !important;
    }
    /* le detail d'aide du statut est deja porte par l'infobulle du badge */
    body#module-blockgiftlistproplus-view .container_aw .giftlist-product-status-help {
        display: none !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .form_view_qty_offer p {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin: 0 !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .form_view_qty_offer label {
        margin: 0 !important;
        font-size: 12px !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .add-to-cart {
        margin-top: 2px !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .priority_icon {
        line-height: 1 !important;
    }
}

/* ---- Message de conflit panier repete sur chaque card : compact ---- */
@media (min-width: 768px) {
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd p.no_stock {
        font-size: 12px !important;
        font-style: italic;
        line-height: 1.35 !important;
        max-width: 280px !important;
        width: auto !important;
        margin: 2px 0 !important;
        float: none !important;
        color: #b3564f !important;
    }
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd a.border1_red {
        display: inline-block !important;
        float: none !important;
        clear: none !important;
        margin: 2px 0 0 !important;
        padding: 6px 18px !important;
        border: 1.5px solid #d98a84 !important;
        border-radius: 999px !important;
        color: #b3564f !important;
        font-weight: 700;
    }
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd a.border1_red:hover {
        background: #fdf0ef !important;
    }
}

/* Le paragraphe de conflit est deja porte par l'alerte du haut : on ne le
   repete pas sur chaque card (la pilule Resoudre y renvoie). Le selecteur
   .width220px distingue ce texte des mentions Plus disponible/desactive. */
@media (min-width: 768px) {
    body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd p.no_stock.width220px {
        display: none !important;
    }
}


/* LCDP - GLP view resserrage v5 - debut */
/* Hero compact, espacements <= 50px entre blocs, badge de dispo a gauche,
   badge "reserve en magasin", modale sans le bouton de fermeture parasite. */

/* ---- 1. Hero compact ---- */
body#module-blockgiftlistproplus-view #view-producs_block_center > h1 {
    padding: 20px 24px 2px !important;
    font-size: 30px !important;
}
body#module-blockgiftlistproplus-view #view-producs_block_center > h2 {
    padding: 2px 24px 22px !important;
    margin: 0 0 24px !important;
    font-size: 17px !important;
}
body#module-blockgiftlistproplus-view #view-producs_block_center > h2:has(+ h2.ldn-hero-date) {
    padding: 2px 24px 0 !important;
    margin: 0 !important;
}
body#module-blockgiftlistproplus-view #view-producs_block_center > h2.ldn-hero-date {
    padding: 2px 24px 20px !important;
    font-size: 14px !important;
}

/* ---- 2. Espacements entre blocs (<= 50px) ---- */
body#module-blockgiftlistproplus-view #view-producs_block_center > br {
    display: none !important;
}
body#module-blockgiftlistproplus-view #view-producs_block_center > p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body#module-blockgiftlistproplus-view #view-producs_block_center > p {
    margin: 0 0 12px !important;
}
body#module-blockgiftlistproplus-view #welcome_msg {
    margin: 0 0 14px !important;
}
body#module-blockgiftlistproplus-view .ldn-donation-panel {
    margin-top: 16px !important;
}
body#module-blockgiftlistproplus-view #anchor_tabs {
    margin: 24px auto 10px !important;
}
body#module-blockgiftlistproplus-view ul.product_list_aw {
    margin-top: 0 !important;
    padding-top: 4px !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte {
    margin: 0 auto 24px !important;
}

/* ---- 5. Badges de disponibilite alignes a gauche dans leur colonne ---- */
body#module-blockgiftlistproplus-view .container_aw .giftlist-product-status {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

/* ---- 6. Etat reserve en magasin ---- */
body#module-blockgiftlistproplus-view .container_aw .giftlist-product-status--booked {
    background: #eef1f6 !important;
    color: #4a5a74 !important;
    border: 1px solid #c3cede !important;
}

/* ---- 4. Modale description : bouton de fermeture parasite du header ---- */
/* La modale reste fermable par le bouton "Fermer" du pied et le mecanisme
   closepopup du module. */
body#module-blockgiftlistproplus-view .popup_block .modal-header .btn-close {
    display: none !important;
}
body#module-blockgiftlistproplus-view .popup_block .modal-header {
    border-bottom: 1px solid #eee2d7 !important;
}
body#module-blockgiftlistproplus-view .popup_block .modal-footer .closepopup {
    border-radius: 999px !important;
    border: 1.5px solid #d3bfb3 !important;
    background: #ffffff !important;
    color: #3E351F !important;
    padding: 8px 24px !important;
}
body#module-blockgiftlistproplus-view .popup_block .modal-footer .closepopup:hover {
    background: #f6efe9 !important;
}
/* LCDP - GLP view resserrage v5 - fin */


/* LCDP - GLP view corrections v6 - debut */

/* ---- 1. Alerte panier mixte : compacte et proportionnee ---- */
body#module-blockgiftlistproplus-view .ldn-alerte-mixte {
    padding: 20px 26px 22px !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte > span {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin: 0 0 4px !important;
}
/* les libelles "Votre choix / soit / soit" n'apportent rien : la hierarchie
   des deux boutons suffit */
body#module-blockgiftlistproplus-view .ldn-alerte-mixte label {
    display: none !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px;
    margin-top: 14px !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix form,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix fieldset,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix .form-group,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix .lnk {
    display: inline-flex !important;
    margin: 0 !important;
    width: auto !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .ldn-btn-vider {
    padding: 9px 24px !important;
}
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .lnk a {
    padding: 9px 24px !important;
    margin: 0 !important;
}

/* ---- 2. Trait sous les boutons Message/Adresse : hr imbrique ---- */
body#module-blockgiftlistproplus-view #view-producs_block_center hr.separationd {
    display: none !important;
    border: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

/* ---- 3. Description courte : lisibilite renforcee ---- */
body#module-blockgiftlistproplus-view .container_aw .description_short_dd a {
    /* LCDP 2026-07-31 : affichage simple compatible tous moteurs (clamp retire) */
    display: block !important;
    overflow: visible !important;
    color: #6b6257 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* ---- 4. Badges d'etat regroupes a DROITE avec prix/quantite (contre-ordre v5) ---- */
body#module-blockgiftlistproplus-view .container_aw .giftlist-product-status {
    align-self: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
}

/* ---- 5. "Plus disponible" / "Produit desactive" en pilule rouge douce ---- */
body#module-blockgiftlistproplus-view .container_aw .wishlist_product_detail_dd p.no_stock {
    display: inline-block !important;
    align-self: flex-end !important;
    background: #fdecea !important;
    color: #b3564f !important;
    border: 1px solid #eec5c0 !important;
    border-radius: 999px !important;
    padding: 4px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.3 !important;
    margin: 2px 0 !important;
    width: auto !important;
    max-width: none !important;
}

/* ---- 6. Modale : croix sobre en haut a droite + Fermer centre ---- */
/* On reutilise le bouton closepopup natif du header (deja cable au JS de
   fermeture) en le transformant en X propre — il etait masque en v5. */
body#module-blockgiftlistproplus-view .popup_block .modal-header {
    position: relative !important;
}
body#module-blockgiftlistproplus-view .popup_block .modal-header .btn-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1.5px solid #d3bfb3 !important;
    background: #ffffff !important;
    cursor: pointer !important;
    padding: 0 !important;
    opacity: 1 !important;
}
body#module-blockgiftlistproplus-view .popup_block .modal-header .btn-close::before {
    content: "\2715";
    font-size: 14px;
    color: #3E351F;
    line-height: 1;
}
body#module-blockgiftlistproplus-view .popup_block .modal-header .btn-close:hover {
    background: #f6efe9 !important;
}
body#module-blockgiftlistproplus-view .popup_block .modal-footer {
    display: flex !important;
    justify-content: center !important;
}
body#module-blockgiftlistproplus-view .popup_block .modal-footer .closepopup {
    float: none !important;
    margin: 0 !important;
}
/* LCDP - GLP view corrections v6 - fin */


/* LCDP - GLP view fond commun (cadre blanc retire) - debut */
/* Seules les cards ressortent sur le fond commun de la boutique. */
body#module-blockgiftlistproplus-view #content.page-content,
body#module-blockgiftlistproplus-view #content-wrapper #content {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* LCDP - GLP view fond commun - fin */


/* LCDP - GLP view bouton offrir cale a droite - debut */
/* La colonne droite s'aligne au meme bord pour tous les etats (bouton compris). */
body#module-blockgiftlistproplus-view ul.product_list_aw .wishlist_product_detail_dd {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}
body#module-blockgiftlistproplus-view ul.product_list_aw .wishlist_product_detail_dd form,
body#module-blockgiftlistproplus-view ul.product_list_aw .wishlist_product_detail_dd .btn,
body#module-blockgiftlistproplus-view ul.product_list_aw .wishlist_product_detail_dd button {
    margin-right: 0 !important;
}
/* LCDP - GLP view bouton offrir cale a droite - fin */

/* Fond commun beige/creme du site (le theme laissait un gris) */
body#module-blockgiftlistproplus-view #wrapper {
    background: #f5f1e8 !important;
}


/* LCDP - GLP view fond blanc residuel - debut */
/* Le conteneur des rangees peignait un blanc plein derriere et entre les cards. */
body#module-blockgiftlistproplus-view #view-producs_block_center,
body#module-blockgiftlistproplus-view #view-producs_block_center.addresses {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* manage : description courte sous le titre (meme style que view) */
body#module-blockgiftlistproplus-manage .address_title .description_short_dd {
    color: #6b6257 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin: 2px 0 6px !important;
    text-align: left !important;
}
/* LCDP - GLP view fond blanc residuel - fin */


/* LCDP - GLP view description visible quel que soit le mode memorise - debut */
/* Le CSS du module masque les descriptions en mode grid (#view_wishlist ul.grid .description_short_dd
   { display:none }) et le mode choisi jadis par le visiteur survit dans son stockage local,
   meme commutateur masque. La disposition etant forcee en lignes, on garde la description partout. */
body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd {
    display: block !important;
}
body#module-blockgiftlistproplus-view ul.product_list_aw .description_dd {
    display: none !important; /* la longue reste dans la modale, comme concu */
}
/* LCDP - GLP view description visible - fin */


/* LCDP - GLP view textes a gauche quel que soit le mode - debut */
/* En mode grid memorise, le module centre les textes : on fixe l'alignement du design en lignes. */
body#module-blockgiftlistproplus-view ul.product_list_aw .address_titled,
body#module-blockgiftlistproplus-view ul.product_list_aw .address_titled a,
body#module-blockgiftlistproplus-view ul.product_list_aw .blk_left,
body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd,
body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd a {
    text-align: left !important;
}
/* LCDP - GLP view textes a gauche - fin */


/* LCDP - GLP view stepper de quantite (identique a la page de gestion) - debut */
body#module-blockgiftlistproplus-view .ldn-qty-stepper {
    display: inline-flex !important;
    flex-direction: column !important;
    margin-left: 4px !important;
    border: 1px solid #d3bfb3 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    vertical-align: middle !important;
}
body#module-blockgiftlistproplus-view .ldn-qty-btn {
    display: block !important;
    width: 20px !important;
    height: 13px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #fff !important;
    color: #6E8B74 !important;
    font-size: 8px !important;
    line-height: 13px !important;
    cursor: pointer !important;
}
body#module-blockgiftlistproplus-view .ldn-qty-btn:first-child {
    border-bottom: 1px solid #e8dcd3 !important;
}
body#module-blockgiftlistproplus-view .ldn-qty-btn:hover {
    background: #f6efe9 !important;
}
body#module-blockgiftlistproplus-view .form_view_qty_offer input[id^="enter_"] {
    width: 46px !important;
    border-radius: 6px !important;
    border: 1px solid #d3bfb3 !important;
    padding: 3px 4px !important;
}
/* LCDP - GLP view stepper de quantite - fin */


/* LCDP - GLP manage badge reserve - debut */
body#module-blockgiftlistproplus-manage .ldn-badge-booked {
    display: inline-block !important;
    margin: 0 !important;
    padding: 3px 12px !important;
    width: fit-content !important;
    border: 1px solid #c9d4e4 !important;
    border-radius: 999px !important;
    background: #eef1f6 !important;
    color: #4a5a74 !important;
    font-size: 12px !important;
    font-style: italic !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: nowrap !important;
}
/* LCDP - GLP manage badge reserve - fin */


/* LCDP - GLP badge reserve sur sa ligne + prix promo sur une ligne - debut */
/* manage : le badge occupe toute la largeur de la colonne pour passer SOUS les boutons */

/* view : prix barre + remise + prix final alignes sur une meme ligne */
body#module-blockgiftlistproplus-view .wishlist_product_detail_dd {
    flex-wrap: wrap !important;
}
body#module-blockgiftlistproplus-view .wishlist_product_detail_dd .regular-price,
body#module-blockgiftlistproplus-view .wishlist_product_detail_dd .discount-percentage,
body#module-blockgiftlistproplus-view .wishlist_product_detail_dd .price {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin: 0 0 0 8px !important;
}
body#module-blockgiftlistproplus-view .wishlist_product_detail_dd .ldn-ligne-prix {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    width: 100% !important;
}
/* LCDP - GLP badge reserve sur sa ligne + prix promo - fin */


/* LCDP - GLP manage ligne bon d'achat - debut */
body#module-blockgiftlistproplus-manage table.std tr.ldn-ligne-bon td {
    border-top: 1px solid #e8dcd3 !important;
    font-weight: 700 !important;
    color: #4a6b52 !important;
}
/* LCDP - GLP manage ligne bon d'achat - fin */
/* LCDP - GLP manage mobile (debordements des cards) - debut */
@media (max-width: 767px) {
    /* 1. Rien ne peut depasser sa boite : les colonnes bootstrap gardaient
       leurs paddings lateraux hors du calcul de largeur (+24 px hors card). */
    body#module-blockgiftlistproplus-manage #mywishlist_pro *,
    body#module-blockgiftlistproplus-manage #mywishlist_pro *::before,
    body#module-blockgiftlistproplus-manage #mywishlist_pro *::after {
        box-sizing: border-box !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw *,
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    /* 2. Recuperer de la largeur utile : paddings desktop trop genereux */
    body#module-blockgiftlistproplus-manage #wlp_bought,
    body#module-blockgiftlistproplus-manage .aw_tab_content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought ul.product_list_aw > li {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw {
        padding: 12px !important;
        width: 100% !important;
    }

    /* 3. Colonnes de la card : pleine largeur, sans padding bootstrap */
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw > ul > li,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_title,
    body#module-blockgiftlistproplus-manage #wlp_bought .wishlist_product_detail_dd {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        flex-basis: 100% !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 4. Lignes libelle / valeur : libelle qui peut passer a la ligne,
       valeur compacte a droite, jamais de chevauchement. */
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        white-space: normal !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw > .cellaw {
        flex: 0 1 auto !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw > .cellaw:first-child {
        flex: 0 1 auto !important;
        margin-right: auto !important;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: keep-all !important;
    }
    /* le curseur de priorite ne doit pas pousser la ligne */
    body#module-blockgiftlistproplus-manage #wlp_bought input[type="range"][id^="priority"] {
        flex: 1 1 60px !important;
        min-width: 56px !important;
        max-width: 130px !important;
    }
    /* stepper et champ quantite : utilisables au doigt, sans debordement */
    body#module-blockgiftlistproplus-manage #wlp_bought .ldn-qty-stepper {
        flex: 0 0 auto !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought .ldn-qty-btn {
        width: 26px !important;
        height: 18px !important;
        line-height: 18px !important;
        font-size: 10px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought input[id^="quantity_"] {
        width: 46px !important;
        max-width: 46px !important;
    }

    /* 5. Actions : boutons et pastille contenus, sur une ou deux lignes */
    body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row {
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row > li {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row .btn,
    body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row a {
        width: 100% !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    body#module-blockgiftlistproplus-manage .ldn-badge-booked {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        white-space: normal !important;
    }

    /* 6. Tableaux (totaux, cloture) : scroll interne plutot que debordement */
    body#module-blockgiftlistproplus-manage #mywishlist_pro table.std,
    body#module-blockgiftlistproplus-manage #wl_cloture table {
        width: 100% !important;
        table-layout: auto !important;
    }
    body#module-blockgiftlistproplus-manage #mywishlist_pro table.std td,
    body#module-blockgiftlistproplus-manage #wl_cloture table td {
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    /* 7. Lien « Mes listes » : debordait de 39 px de son bloc a 320 px */
    body#module-blockgiftlistproplus-manage #mywishlist_pro a.underline {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}
/* LCDP - GLP manage mobile - fin */


/* LCDP - GLP manage mobile bouton Mes listes - debut */
/* Le lien est enferme dans une colonne col-xs-3 (25 % = 82 px sur mobile) : le texte
   s'y empilait lettre par lettre. La colonne passe pleine largeur sous le titre. */
@media (max-width: 767px) {
    body#module-blockgiftlistproplus-manage .awflx.awfxjct {
        flex-wrap: wrap !important;
    }
    body#module-blockgiftlistproplus-manage .awflx.awfxjct > .align_right.col-xs-3 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
    }
    body#module-blockgiftlistproplus-manage .align_right.col-xs-3 > a {
        display: inline-block !important;
        width: auto !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        margin: 4px 0 10px !important;
        float: none !important;
    }
}
/* LCDP - GLP manage mobile bouton Mes listes - fin */


/* LCDP - GLP view mobile (cards centrees, photo agrandie) - debut */
@media (max-width: 767px) {
    /* --- 1. Largeur utile : les cards occupaient 292 px sur 390 --- */
    body#module-blockgiftlistproplus-view #content.page-content,
    body#module-blockgiftlistproplus-view #view-producs_block_center {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw > li {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 8px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw > li > .container_aw {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 12px 12px 16px !important;
        box-sizing: border-box !important;
    }

    /* --- 2. Garde-fous anti-debordement (cause classique : enfants flex/grid sans min-width) --- */
    body#module-blockgiftlistproplus-view ul.product_list_aw > li *,
    body#module-blockgiftlistproplus-view .ldn-alerte-mixte * {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .address_titled,
    body#module-blockgiftlistproplus-view ul.product_list_aw .address_titled a,
    body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd,
    body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd a {
        overflow-wrap: break-word !important;
        word-break: normal !important;
        hyphens: manual !important;
    }

    /* --- 3. Tout centre dans les cards : titre, description, prix, badges, actions --- */
    body#module-blockgiftlistproplus-view ul.product_list_aw > li,
    body#module-blockgiftlistproplus-view ul.product_list_aw > li > .container_aw,
    body#module-blockgiftlistproplus-view ul.product_list_aw .blk_left,
    body#module-blockgiftlistproplus-view ul.product_list_aw .address_titled,
    body#module-blockgiftlistproplus-view ul.product_list_aw .address_titled a,
    body#module-blockgiftlistproplus-view ul.product_list_aw .view_align_dd,
    body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd,
    body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd a,
    body#module-blockgiftlistproplus-view ul.product_list_aw .wishlist_product_detail_dd,
    body#module-blockgiftlistproplus-view ul.product_list_aw .form_view_qty_offer p,
    body#module-blockgiftlistproplus-view ul.product_list_aw .form_view_qty_left,
    body#module-blockgiftlistproplus-view ul.product_list_aw .form_view_qty_left p,
    body#module-blockgiftlistproplus-view ul.product_list_aw .priority_icon {
        text-align: center !important;
    }
    /* les conteneurs en flex ne suivent pas text-align : on recentre leurs axes */
    body#module-blockgiftlistproplus-view ul.product_list_aw .wishlist_product_detail_dd {
        align-items: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .ldn-ligne-prix,
    body#module-blockgiftlistproplus-view ul.product_list_aw .form_view_qty_offer {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .giftlist-product-status,
    body#module-blockgiftlistproplus-view ul.product_list_aw .ldn-badge-booked {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        white-space: normal !important;
    }

    /* --- 4. Photo agrandie et centree ; textes resserres pour lui laisser la place --- */
    body#module-blockgiftlistproplus-view ul.product_list_aw .address_name {
        width: 200px !important;
        max-width: 68% !important;
        margin: 2px auto 8px !important;
        padding: 0 !important;
        float: none !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .address_name img {
        width: 100% !important;
        height: auto !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .address_titled {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding-bottom: 0 !important;
        line-height: 1.25 !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .address_titled a {
        font-size: 16px !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .view_align_dd {
        margin-top: 0 !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd {
        margin: 0 auto 2px !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .description_short_dd a {
        font-size: 12.5px !important;
        line-height: 1.3 !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .ldn-ligne-prix {
        margin: 6px 0 4px !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .form_view_qty_offer {
        margin-top: 10px !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .form_view_qty_offer p {
        margin-bottom: 0 !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .form_view_qty_left {
        margin-top: 6px !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw .form_view_qty_left p {
        margin-bottom: 4px !important;
    }
    /* traits de separation invisibles du module : ils ne servent qu'a occuper de la hauteur */
    body#module-blockgiftlistproplus-view ul.product_list_aw hr.separationd {
        margin: 6px 0 !important;
    }

    /* --- 5. Message de conflit duplique sur chaque card : masque comme en desktop
           (l'alerte du haut le porte deja, la pilule Resoudre y renvoie) --- */
    body#module-blockgiftlistproplus-view ul.product_list_aw li p.no_stock.width220px,
    body#module-blockgiftlistproplus-view ul.product_list_aw .wishlist_product_detail_dd p.width220px,
    body#module-blockgiftlistproplus-view ul.product_list_aw .width220px {
        display: none !important;
    }

    /* --- 6. Actions confortables au doigt --- */
    body#module-blockgiftlistproplus-view ul.product_list_aw .btn,
    body#module-blockgiftlistproplus-view ul.product_list_aw button[type="submit"],
    body#module-blockgiftlistproplus-view ul.product_list_aw a.btn {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        white-space: normal !important;
        text-align: center !important;
    }
    body#module-blockgiftlistproplus-view ul.product_list_aw form {
        width: 100% !important;
    }
    body#module-blockgiftlistproplus-view .form_view_qty_offer {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
    body#module-blockgiftlistproplus-view .ldn-qty-btn {
        width: 26px !important;
        height: 18px !important;
        line-height: 18px !important;
        font-size: 10px !important;
    }

    /* --- 7. Alerte panier et hero : marges laterales coherentes --- */
    body#module-blockgiftlistproplus-view .ldn-alerte-mixte {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }

    /* --- 8. Remerciements et adresse : pilules et panneaux centres.
           La neutralisation du clearfix qui les decalait vaut pour toutes les
           largeurs : elle est posee plus haut, hors media query. --- */
    body#module-blockgiftlistproplus-view #anchor_tabs {
        align-items: center !important;
        text-align: center !important;
    }
    body#module-blockgiftlistproplus-view #anchor_tabs li.tab_aw {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }
    body#module-blockgiftlistproplus-view #anchor_tabs li.tab_aw > span {
        justify-content: center !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    body#module-blockgiftlistproplus-view #welcome_msg,
    body#module-blockgiftlistproplus-view #welcome_msg * {
        text-align: center !important;
    }
    /* contenu deplie des onglets : titre, case a cocher, libelles et boutons empiles au centre */
    body#module-blockgiftlistproplus-view .aw_tab_content,
    body#module-blockgiftlistproplus-view .aw_tab_content > div,
    body#module-blockgiftlistproplus-view .aw_tab_content p,
    body#module-blockgiftlistproplus-view .aw_tab_content label,
    body#module-blockgiftlistproplus-view .aw_tab_content strong {
        text-align: center !important;
    }
    body#module-blockgiftlistproplus-view .aw_tab_content > div[class*="col-xs-"] {
        float: none !important;
        width: 100% !important;
    }
    body#module-blockgiftlistproplus-view .aw_tab_content .col-xs-2,
    body#module-blockgiftlistproplus-view .aw_tab_content .col-xs-10 {
        float: none !important;
        width: 100% !important;
    }
    /* la saisie reste alignee a gauche : centrer le texte tape serait illisible */
    body#module-blockgiftlistproplus-view .aw_tab_content textarea,
    body#module-blockgiftlistproplus-view .aw_tab_content input[type="text"],
    body#module-blockgiftlistproplus-view .aw_tab_content input[type="email"] {
        text-align: left !important;
    }
}
/* LCDP - GLP view mobile - fin */


/* LCDP - GLP manage cadre du bloc d'informations retire - debut */
/* Les deux tableaux (type de liste, totaux) portent chacun leur propre contour :
   le cadre qui les enveloppait faisait doublon. */
body#module-blockgiftlistproplus-manage #wlp_infos .global_info {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
/* LCDP - GLP manage cadre du bloc d'informations retire - fin */


/* LCDP - GLP manage mobile tout centre - debut */
@media (max-width: 767px) {
    /* --- 1. En-tete : titre de la liste, lien de retour, intitules de section --- */
    body#module-blockgiftlistproplus-manage #block-manage-aw h1,
    body#module-blockgiftlistproplus-manage #mywishlist_pro h2,
    body#module-blockgiftlistproplus-manage #mywishlist_pro h3,
    body#module-blockgiftlistproplus-manage #mywishlist_pro h4 {
        text-align: center !important;
    }
    body#module-blockgiftlistproplus-manage .awflx.awfxjct > .align_right.col-xs-3 {
        text-align: center !important;
    }

    /* --- 2. Onglets en pastilles --- */
    body#module-blockgiftlistproplus-manage #anchor_tabs.nav_tabs {
        justify-content: center !important;
    }

    /* --- 3. Tableaux d'informations et de totaux --- */
    body#module-blockgiftlistproplus-manage #wlp_infos table.std td,
    body#module-blockgiftlistproplus-manage #wlp_infos table.std th {
        text-align: center !important;
    }

    /* --- 4. Cards produit : image, titre, prix, lignes de reglage --- */
    /* la liste des cards portait une marge negative de 15 px heritee de la grille
       bootstrap : elle decalait toutes les cards vers la gauche dans leur panneau */
    body#module-blockgiftlistproplus-manage #wlp_bought ul.product_list_aw {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* les trois colonnes de la card s'empilent au centre : photo, titre, reglages */
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw > ul {
        flex-direction: column !important;
        align-items: center !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw > ul > li {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .align_dd,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_title,
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param,
    body#module-blockgiftlistproplus-manage #wlp_bought .wishlist_product_detail_dd,
    body#module-blockgiftlistproplus-manage #wlp_bought ul.tableaw,
    body#module-blockgiftlistproplus-manage #wlp_bought ul.tableaw > li.rowaw,
    body#module-blockgiftlistproplus-manage #wlp_bought ul.tableaw .cellaw {
        text-align: center !important;
    }
    /* le petit tableau achete / restant est un conteneur flex : ses lignes se
       recentrent par l'axe principal, text-align n'y suffit pas */
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_title > ul.tableaw {
        justify-content: center !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* les lignes libelle / valeur sont en flex : on recentre l'axe principal et
       on annule la marge automatique qui plaquait la valeur contre le bord droit */
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw {
        justify-content: center !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_param ul.tableaw > li.rowaw > .cellaw:first-child {
        margin-right: 0 !important;
    }

    /* --- 5. Actions : boutons dimensionnes a leur texte et centres --- */
    body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row {
        justify-content: center !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row > li {
        flex: 0 1 auto !important;
    }
}
/* LCDP - GLP manage mobile tout centre - fin */


/* LCDP - GLP manage mobile largeurs et cadres - debut */
@media (max-width: 767px) {
    /* --- 1. Nom de la liste et titre du produit centres --- */
    body#module-blockgiftlistproplus-manage #display_list tbody td,
    body#module-blockgiftlistproplus-manage #display_list thead th {
        text-align: center !important;
    }
    /* le lien porte son propre alignement : le centrage du parent ne l'atteint pas */
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_title a.pdtName {
        display: block !important;
        text-align: center !important;
    }

    /* --- 2. Tableaux « type de liste » et « totaux » a la largeur du tableau
           des listes : les colonnes bootstrap qui les portent gardaient 15 px
           de padding lateral, soit 30 px de moins que le reste. --- */
    body#module-blockgiftlistproplus-manage #wlp_infos .global_info > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* --- 3. Panneau de l'onglet Produits sans cadre : sa bordure dessinait une
           troisieme ligne verticale entre celle de la page et celle des cards.
           Les cards recuperent la largeur ainsi liberee. --- */
    body#module-blockgiftlistproplus-manage #mywishlist_pro #wlp_bought.aw_tab_content {
        border: 0 !important;
        background: transparent !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* --- 4. Bandeau « produit desactive » : plaque en absolu dans une vignette
           de 84 px, son texte tenait sur quatre lignes et venait mordre le titre
           juste en dessous. Il reprend sa place dans le flux, sous la photo. --- */
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .align_dd {
        display: block !important;
        width: 100% !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .warn_on_pict {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 8px 0 0 !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .warn_on_pict .attr_nok {
        display: inline-block !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 5px 14px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        border-radius: 999px !important;
    }
}
/* LCDP - GLP manage mobile largeurs et cadres - fin */


/* LCDP - GLP manage hauteur commune des actions - debut */
/* « Sauvegarder », « Supprimer » et la pastille « Reserve pour vous ! » portaient
   chacun leurs propres paddings : 30, 34 et 25 px de haut cote a cote. Hauteur
   fixe, contenu centre par le flex plutot que par le remplissage vertical, et
   meme respiration laterale pour les trois.
   Le bouton Supprimer est vise par son attribut rel : sa regle d'origine
   ([rel="delet"]) est plus specifique que le simple .btn et gardait sinon ses
   8 px 18 px, ce qui le faisait 0,3 px plus haut et 17 px plus large. */
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row .btn,
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row a[rel="delet"],
body#module-blockgiftlistproplus-manage #wlp_bought ul.ldn-actions-row .ldn-badge-booked {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    border-width: 1px !important;
}
/* LCDP - GLP manage hauteur commune des actions - fin */

/* LCDP - GLP manage mobile titre de liste et photo - debut */
@media (max-width: 767px) {
    /* --- 1. Titre de la liste : il etait bien centre, mais dans une colonne
           bootstrap de 75 % elle-meme calee a gauche, soit 41 px hors de l'axe
           de la page. La colonne passe pleine largeur. --- */
    body#module-blockgiftlistproplus-manage .awflx.awfxjct > .col-xs-9 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* --- 2. Photo agrandie a hauteur de card constante. Les pixels viennent des
           intervalles de la card (24 px entre chacun de ses trois blocs), de la
           marge haute du lien et de l'interligne parasite de son inline-block. --- */
    body#module-blockgiftlistproplus-manage #wlp_bought .container_aw > ul {
        gap: 10px !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .align_dd {
        line-height: 0 !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .align_dd > a {
        margin-top: 0 !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name .warn_on_pict {
        line-height: normal !important;
    }
    body#module-blockgiftlistproplus-manage #wlp_bought li.address_name img {
        max-width: 126px !important;
        max-height: 126px !important;
    }
}
/* LCDP - GLP manage mobile titre de liste et photo - fin */


/* LCDP - GLP cloture valeur du bon en vert - debut */
/* Meme traitement que la ligne « Bon d'achat cloture de liste » du tableau des
   totaux : c'est le meme montant, il doit se reconnaitre d'un onglet a l'autre. */
body#module-blockgiftlistproplus-manage #wl_cloture tr.success td,
body#module-blockgiftlistproplus-manage #wl_cloture tr.success th {
    color: #4a6b52 !important;
    font-weight: 700 !important;
}
/* LCDP - GLP cloture valeur du bon en vert - fin */


/* LCDP - GLP remerciements mobile en cards - debut */
/* Le tableau a cinq colonnes (date, donateur, produit, quantite, total) etait
   illisible sous 768 px : le nom du produit s'y ecrivait un mot par ligne.
   Chaque commande a desormais son propre tbody dans le gabarit ; en mobile il
   devient une card ou l'on lit, dans l'ordre : qui a offert, quand, quoi,
   combien, son message, puis les moyens de le remercier. */
@media (max-width: 767px) {
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1,
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 tbody,
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 tr,
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 thead {
        display: none !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 {
        border: 0 !important;
        background: transparent !important;
        margin: 0 !important;
    }
    /* les bordures de cellules dessineraient des traits orphelins hors tableau */
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td {
        border: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 tbody.ldn-remerciement-groupe {
        border: 1px solid #d3bfb3 !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        padding: 14px !important;
        margin: 0 0 16px !important;
    }

    /* --- Ligne cadeau : donateur, date, puis produit / quantite / total --- */
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 tr.ldn-ligne-cadeau {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        row-gap: 2px !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-donateur {
        order: 1 !important;
        flex: 0 0 100% !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #4a6b52 !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-date {
        order: 2 !important;
        flex: 0 0 100% !important;
        font-size: 12px !important;
        color: #8a7f6d !important;
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #f0e6dc !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-produit {
        order: 3 !important;
        flex: 1 1 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 4px !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-produit > div {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* certaines commandes n'ont pas de vignette enregistree : la case vide
       decalait le nom du produit de 52 px pour rien */
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-produit > div:has(img[src=""]) {
        display: none !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-produit img {
        width: 52px !important;
        height: auto !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-produit > span {
        float: none !important;
        flex: 1 1 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }
    /* quantite et total sur la ligne suivante, calees sous le nom du produit */
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-qte {
        width: auto !important;
        order: 4 !important;
        flex: 0 0 auto !important;
        margin-left: 0 !important;
        font-size: 13px !important;
        color: #6b6153 !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-qte:not(:empty)::before {
        content: "\00d7\00a0";
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-total {
        width: auto !important;
        order: 5 !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
        text-align: right !important;
        font-weight: 700 !important;
    }

    /* --- Total de la commande --- */
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 tr.ldn-ligne-paye {
        display: flex !important;
        align-items: center !important;
        margin-top: 10px !important;
        padding-top: 8px !important;
        border-top: 1px solid #f0e6dc !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-vide {
        display: none !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-paye {
        flex: 1 1 auto !important;
        text-align: right !important;
        font-weight: 700 !important;
        color: #4a6b52 !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-paye::before {
        content: "Total";
        float: left;
        margin-right: 8px;
        font-weight: 600;
        color: #6b6153;
    }

    /* --- Message du donateur, puis boutons de remerciement --- */
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid #f0e6dc !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-actions > div {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* le message passe avant les boutons : on lit d'abord, on repond ensuite */
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-actions > div:nth-of-type(1) {
        order: 2 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-actions > div:nth-of-type(2) {
        order: 1 !important;
        padding: 10px 12px !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-actions > div:nth-of-type(1) > div {
        float: none !important;
        flex: 1 1 120px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-actions > div:nth-of-type(1) br {
        display: none !important;
    }
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-actions .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 34px !important;
        padding: 0 14px !important;
        white-space: nowrap !important;
    }
    /* l'adresse depliee reprend toute la largeur de la card */
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 td.ldn-c-actions .content_less {
        margin: 8px 0 0 !important;
    }

    /* --- En-tete de l'onglet --- */
    body#module-blockgiftlistproplus-manage #wl_thank > div > h4,
    body#module-blockgiftlistproplus-manage #wl_thank > div > p {
        text-align: center !important;
    }
}

/* En desktop le tableau reste un tableau : la ligne decorative qui separait deux
   commandes a ete retiree du gabarit, la bordure de tbody prend le relais. */
@media (min-width: 768px) {
    body#module-blockgiftlistproplus-manage #wl_thank table#offer_bought_infos1 tbody.ldn-remerciement-groupe + tbody.ldn-remerciement-groupe {
        border-top: 3px solid #f0e6dc !important;
    }
}
/* LCDP - GLP remerciements mobile en cards - fin */

/* LCDP - GLP mywishlist aide rapide - debut */
/* Onglet « Aide rapide » : parcours en 4 etapes puis encarts caution et cloture.
   Palette du theme : creme #f6efe9, beige #d3bfb3, vert #6E8B74, texte #3E351F. */

body#module-blockgiftlistproplus-mywishlist #help .ldn-help {
    max-width: 900px !important;
    margin: 0 auto !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-titre {
    text-align: center !important;
    color: #3E351F !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-chapo {
    text-align: center !important;
    color: #6b6152 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 620px !important;
    margin: 0 auto 26px !important;
    padding: 0 !important;
}

/* Les quatre etapes, deux par ligne sur grand ecran */
body#module-blockgiftlistproplus-mywishlist #help .ldn-help-etapes {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    list-style: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-etape {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    list-style: none !important;
    background: #fff !important;
    border: 1.5px solid #d3bfb3 !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-num {
    flex: 0 0 auto !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #6E8B74 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-txt {
    min-width: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-txt h3 {
    color: #3E351F !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 3px 0 7px !important;
    padding: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-txt p {
    color: #4a4335 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-txt p:last-child {
    margin-bottom: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-astuce {
    color: #6b6152 !important;
    font-size: 13px !important;
}

/* Encarts : la caution d'abord, la cloture ensuite */
body#module-blockgiftlistproplus-mywishlist #help .ldn-help-encart {
    border-radius: 16px !important;
    padding: 18px 22px !important;
    margin: 0 0 16px !important;
    box-sizing: border-box !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-encart--caution {
    background: #fdf6e8 !important;
    border: 1.5px solid #d3bfb3 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-encart--cloture {
    background: #f4f7f4 !important;
    border: 1.5px solid #cfdcd2 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-encart h3 {
    color: #3E351F !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 0 10px !important;
    padding: 0 0 0 14px !important;
    border-left: 4px solid #6E8B74 !important;
    line-height: 1.3 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-encart-chapo {
    color: #4a4335 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-liste {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-liste li {
    position: relative !important;
    color: #4a4335 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 8px !important;
    padding: 0 0 0 20px !important;
    list-style: none !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-liste li:last-child {
    margin-bottom: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-liste li::before {
    content: "" !important;
    position: absolute !important;
    top: 8px !important;
    left: 2px !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #6E8B74 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-liste strong {
    color: #3E351F !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-note {
    color: #7a7160 !important;
    font-size: 13px !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-pied {
    text-align: center !important;
    color: #6b6152 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-pied a {
    color: #6E8B74 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

body#module-blockgiftlistproplus-mywishlist #help .ldn-help-pied a:hover,
body#module-blockgiftlistproplus-mywishlist #help .ldn-help-pied a:focus-visible {
    color: #55704f !important;
}

@media (max-width: 767px) {
    body#module-blockgiftlistproplus-mywishlist #help .ldn-help-etapes {
        grid-template-columns: 1fr !important;
    }

    body#module-blockgiftlistproplus-mywishlist #help .ldn-help-etape,
    body#module-blockgiftlistproplus-mywishlist #help .ldn-help-encart {
        padding: 14px 16px !important;
    }

    body#module-blockgiftlistproplus-mywishlist #help .ldn-help-titre {
        font-size: 21px !important;
    }
}
/* LCDP - GLP mywishlist aide rapide - fin */

/* LCDP - GLP mywishlist croix de fermeture du renommage - debut */
/* Le champ de renommage s'ouvre en surimpression du crayon : sans le bouton
   Annuler (retire a la demande de l'utilisateur), il lui faut une croix. */
body#module-blockgiftlistproplus-mywishlist div[id^="div_name_change_fl_"] {
    padding-right: 34px !important;
    border-radius: 12px !important;
    border: 1.5px solid #d3bfb3 !important;
    background: #fff !important;
}

body#module-blockgiftlistproplus-mywishlist .ldn-rename-close {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d3bfb3 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #3E351F !important;
    font-size: 16px !important;
    line-height: 22px !important;
    text-align: center !important;
    cursor: pointer !important;
}

body#module-blockgiftlistproplus-mywishlist .ldn-rename-close:hover,
body#module-blockgiftlistproplus-mywishlist .ldn-rename-close:focus-visible {
    background: #f6efe9 !important;
}
/* LCDP - GLP mywishlist croix de fermeture du renommage - fin */

/* LCDP - GLP 5.3.8 alerte panier mixte centree - debut */
/* Cette alerte n'apparait que si le panier contient des articles qui ne
   proviennent pas de la liste courante. Tous ses choix restent explicites. */
body#module-blockgiftlistproplus-view .ldn-alerte-mixte {
    background: #fdf3f3 !important;
    border-color: #d9a0a0 !important;
    color: #8b4141 !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view .ldn-alerte-mixte > span,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte > span a {
    color: #8b4141 !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view .ldn-alerte-mixte label {
    display: block !important;
    width: auto !important;
    margin: 2px auto !important;
    color: #8b4141 !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix > br {
    display: none !important;
}

body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix form,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix fieldset,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix .form-group,
body#module-blockgiftlistproplus-view .ldn-alerte-mixte .clearfix .lnk {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view .ldn-alerte-mixte .ldn-btn-vider {
    max-width: 100% !important;
    background: #a05252 !important;
    border-color: #a05252 !important;
    color: #ffffff !important;
    white-space: normal !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center .ldn-alerte-mixte .ldn-btn-vider:hover,
body#module-blockgiftlistproplus-view #view-producs_block_center .ldn-alerte-mixte .ldn-btn-vider:focus-visible {
    background: #874343 !important;
    border-color: #874343 !important;
}

body#module-blockgiftlistproplus-view .ldn-alerte-mixte .ldn-btn-sous-texte {
    margin-top: 4px !important;
    color: #8b4141 !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center .ldn-alerte-mixte .lnk a {
    max-width: 100% !important;
    background: #fffafa !important;
    border-color: #d9a0a0 !important;
    color: #8b4141 !important;
    white-space: normal !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view #view-producs_block_center .ldn-alerte-mixte .lnk a:hover,
body#module-blockgiftlistproplus-view #view-producs_block_center .ldn-alerte-mixte .lnk a:focus-visible {
    background: #f8e7e7 !important;
}

body#module-blockgiftlistproplus-view .ldn-alerte-mixte .lnk a span {
    color: #8b4141 !important;
}
/* LCDP - GLP 5.3.8 alerte panier mixte centree - fin */

/* LCDP - GLP 5.3.10 modales statiques isolees - debut */
body.ldn-static-modal-open {
    overflow: hidden !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal[hidden] {
    display: none !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 12000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(28, 23, 20, .62) !important;
    cursor: default !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal__panel {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: min(100%, 600px) !important;
    max-height: calc(100vh - 32px) !important;
    margin: 0 !important;
    overflow: auto !important;
    color: #3E351F !important;
    background: #ffffff !important;
    border: 1px solid #d3bfb3 !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .28) !important;
    box-sizing: border-box !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal__header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 58px !important;
    padding: 14px 56px !important;
    border-bottom: 1px solid #eadfd8 !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal__header h2 {
    margin: 0 !important;
    color: #3E351F !important;
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal__close {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #3E351F !important;
    background: transparent !important;
    font-size: 28px !important;
    line-height: 36px !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal__body {
    padding: 24px !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view .ldn-static-modal__body > p {
    text-align: center !important;
}

body#module-blockgiftlistproplus-view .ldn-gift-added-actions,
body#module-blockgiftlistproplus-view .ldn-address-confirmation-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 18px 0 0 !important;
}

body#module-blockgiftlistproplus-view .ldn-gift-added-actions .btn,
body#module-blockgiftlistproplus-view .ldn-address-confirmation-actions .btn {
    float: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
    text-align: center !important;
}

body#module-blockgiftlistproplus-view #giftlist_address_confirmation [data-giftlist-address-choice="yes"] {
    background: #6E8B74 !important;
    border-color: #6E8B74 !important;
    color: #ffffff !important;
}

body#module-blockgiftlistproplus-view #giftlist_address_confirmation [data-giftlist-address-choice="no"]:not(.ldn-static-modal__backdrop):not(.ldn-static-modal__close) {
    background: #ffffff !important;
    border-color: #d3bfb3 !important;
    color: #3E351F !important;
}

@media (max-width: 575px) {
    body#module-blockgiftlistproplus-view .ldn-static-modal {
        padding: 12px !important;
    }

    body#module-blockgiftlistproplus-view .ldn-static-modal__panel {
        max-height: calc(100vh - 24px) !important;
    }

    body#module-blockgiftlistproplus-view .ldn-static-modal__body {
        padding: 20px 16px !important;
    }

    body#module-blockgiftlistproplus-view .ldn-gift-added-actions,
    body#module-blockgiftlistproplus-view .ldn-address-confirmation-actions {
        flex-direction: column !important;
    }

    body#module-blockgiftlistproplus-view .ldn-gift-added-actions .btn,
    body#module-blockgiftlistproplus-view .ldn-address-confirmation-actions .btn {
        width: 100% !important;
    }
}
/* LCDP - GLP 5.3.10 modales statiques isolees - fin */
