.lpd-upsell{clear:both;margin:28px auto;padding:24px;background:#f5f8f5;border:1px solid #dfe8df;border-radius:16px;color:#203124;max-width:1200px;box-sizing:border-box;text-align:left}.lpd-upsell-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.lpd-upsell h2{font-size:21px;line-height:1.3;font-weight:700;margin:0;color:#203124;text-transform:none}.lpd-upsell a{color:#245d36;text-decoration:none}.lpd-upsell-heading>a{font-size:14px;text-decoration:underline}.lpd-upsell-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lpd-upsell-item{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px;background:#fff;border:1px solid #e1e6e0;border-radius:12px;min-width:0}.lpd-upsell-image{flex:0 0 64px}.lpd-upsell img{width:64px;height:64px;object-fit:contain;display:block}.lpd-upsell-detail{flex:1;min-width:110px}.lpd-upsell-detail>a{font-size:14px;line-height:1.4;display:block;font-weight:600}.lpd-upsell-detail strong{display:block;margin-top:8px;font-size:17px}.lpd-upsell-form{width:100%;margin:0}.lpd-upsell-button{display:inline-block;background:#276d3d!important;color:#fff!important;border:0;border-radius:8px;padding:10px 16px;cursor:pointer;font-size:14px;font-weight:600;text-align:center;line-height:1.4}.lpd-upsell-form .lpd-upsell-button{width:100%}.lpd-upsell-button:disabled{opacity:.65;cursor:wait}.lpd-upsell a:focus-visible,.lpd-upsell button:focus-visible{outline:3px solid #e5aa35;outline-offset:3px}.lpd-upsell-status{margin:12px 0 0;font-size:14px}.lpd-upsell-status:empty{display:none}.lpd-upsell-modal{margin:0 20px 20px;padding:18px}.lpd-upsell-modal .lpd-upsell-items{grid-template-columns:repeat(2,minmax(0,1fr))}.lpd-upsell-modal h2{font-size:19px}#blockcart-modal .modal-dialog{max-height:calc(100vh - 24px);overflow-y:auto}#blockcart-modal .modal-content{overflow:visible}@media(max-width:767px){.lpd-upsell{padding:16px;margin:20px 12px}.lpd-upsell-heading{display:block}.lpd-upsell-heading>a{display:inline-block;margin-top:10px}.lpd-upsell h2{font-size:19px}.lpd-upsell-items,.lpd-upsell-modal .lpd-upsell-items{grid-template-columns:1fr}.lpd-upsell-item{padding:12px}.lpd-upsell-form{width:auto;margin-left:auto}.lpd-upsell-modal{margin:0 12px 12px}.lpd-upsell-modal .lpd-upsell-detail{min-width:100px}}

/* Sur ordinateur, les compléments occupent l'espace libre sous l'achat. */
@media(min-width:768px){
  body#product .product-container>.col-md-7>.lpd-upsell-product{
    width:100%;
    max-width:none;
    margin:18px 0 0;
    padding:16px;
    border-radius:14px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-heading{
    margin-bottom:12px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product h2{
    font-size:18px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-heading>a{
    font-size:12px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-items{
    gap:9px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-item{
    display:grid;
    grid-template-columns:52px minmax(0,1fr);
    gap:8px;
    padding:10px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-image{
    grid-row:1 / span 2;
    width:52px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product img{
    width:52px;
    height:52px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-detail{
    min-width:0
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-detail>a{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:12px;
    line-height:1.3
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-detail strong{
    margin-top:4px;
    font-size:15px
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-form,
  body#product .product-container>.col-md-7>.lpd-upsell-product>.lpd-upsell-items .lpd-upsell-button{
    grid-column:1 / -1;
    width:100%
  }
  body#product .product-container>.col-md-7>.lpd-upsell-product .lpd-upsell-button{
    padding:7px 10px;
    font-size:12px
  }
}

/* Confirmation panier : zone complémentaire intégrée à la fenêtre existante. */
#blockcart-modal .lpd-upsell-modal{
  margin:0 24px 24px;
  padding:20px;
  background:#f5f8f0;
  border:1px solid #d9e8c9;
  border-radius:16px;
  max-width:none
}
#blockcart-modal .lpd-upsell-modal .lpd-upsell-heading{
  align-items:baseline;
  margin-bottom:14px
}
#blockcart-modal .lpd-upsell-modal h2{
  color:#4f8f18;
  font-size:20px
}
#blockcart-modal .lpd-upsell-modal .lpd-upsell-items{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
#blockcart-modal .lpd-upsell-modal .lpd-upsell-item{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:12px;
  border-color:#e2eadb
}
#blockcart-modal .lpd-upsell-modal .lpd-upsell-image{grid-row:1 / span 2}
#blockcart-modal .lpd-upsell-modal .lpd-upsell-detail>a{font-size:14px}
#blockcart-modal .lpd-upsell-modal .lpd-upsell-detail strong{font-size:16px;margin-top:5px}
#blockcart-modal .lpd-upsell-modal .lpd-upsell-form,
#blockcart-modal .lpd-upsell-modal .lpd-upsell-item>.lpd-upsell-button{
  grid-column:1 / -1
}
#blockcart-modal .lpd-upsell-modal .lpd-upsell-button{width:100%;padding:9px 12px}
@media(max-width:767px){
  #blockcart-modal .lpd-upsell-modal{margin:0 12px 12px;padding:16px}
  #blockcart-modal .lpd-upsell-modal .lpd-upsell-items{grid-template-columns:1fr}
}
