/* Des etoiles — Complements du panier.
   Couleurs du theme (custom.css) reprises en dur : la fenetre d'ajout au panier
   est injectee hors de .dhl, les variables n'y sont pas toujours definies. */

.dcp{ box-sizing:border-box; margin:0; padding:16px 18px; background:#251846; border-top:1px solid rgba(232,192,97,.25);
  font-family:'Mulish', system-ui, sans-serif; color:#ece6f5; }
.dcp *{ box-sizing:border-box; }
.dcp--cart{ margin-top:18px; border:1px solid rgba(232,192,97,.25); border-radius:16px; }

.dcp-title{ margin:0 0 12px; font-family:'Cormorant Garamond', Georgia, serif; font-size:20px; font-weight:600; line-height:1.2; color:#e8c061; }

.dcp-list{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dcp-item{ display:grid; grid-template-columns:64px 1fr; grid-template-areas:"shot body" "form form"; gap:10px 12px; align-items:center;
  padding:12px; background:rgba(255,255,255,.04); border:1px solid rgba(232,192,97,.18); border-radius:14px; }

.dcp-shot{ grid-area:shot; display:block; width:64px; height:64px; overflow:hidden; border-radius:10px; background:rgba(255,255,255,.06); }
.dcp-shot img{ display:block; width:100%; height:100%; object-fit:cover; }

.dcp-body{ grid-area:body; min-width:0; }
.dcp-name{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  font-size:14px; font-weight:600; line-height:1.3; color:#ece6f5 !important; text-decoration:none; }
.dcp-name:hover{ color:#f3d98c !important; }
.dcp-meta{ display:flex; flex-wrap:wrap; gap:2px 10px; margin-top:4px; font-size:13px; color:#b6aacb; }
.dcp-price{ font-weight:700; color:#e8c061; }

.dcp-form{ grid-area:form; margin:0; }
.dcp-add{ width:100%; min-height:44px; padding:10px 14px; border:1px solid #e8c061; border-radius:999px; background:#e8c061;
  font:700 14px/1 'Mulish', system-ui, sans-serif; color:#1a1130; cursor:pointer; transition:background .2s, transform .2s; }
.dcp-add:hover{ background:#f3d98c; }
.dcp-add:active{ transform:scale(.98); }
.dcp-add:focus-visible{ outline:2px solid #9fe4e6; outline-offset:2px; }
.dcp-add[disabled]{ opacity:.6; cursor:default; }

.dcp-free{ margin:0 0 14px; padding:10px 14px; border:1px dashed rgba(232,192,97,.45); border-radius:12px;
  background:rgba(232,192,97,.08); font:14px/1.4 'Mulish', system-ui, sans-serif; color:#ece6f5; }
.dcp-free strong{ color:#e8c061; white-space:nowrap; }

@media (max-width: 575px){
  .dcp{ padding:14px; }
  /* Une carte par ligne : le nom du produit garde toute la largeur, le bouton passe dessous. */
  .dcp-list{ grid-template-columns:1fr; }
  .dcp-item{ padding:10px; }
}
