/* Cartes d'articles panier — tiroir + page panier complète (cart.php).
   Fond teinté, pas de bordure/ombre : une seule colonne (nom, puis
   quantité + prix), retirer en rond discret dans le coin. */
.oms-cart-card {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 12px;
  padding-right: 34px;
  margin-bottom: 10px;
  background: var(--surface, #f4f2ef);
  border-radius: 16px;
}

.oms-cart-card:last-child {
  margin-bottom: 0;
}

.oms-cart-card__img {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  background: #fff;
}

.oms-cart-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oms-cart-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.oms-cart-card__name a {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.oms-cart-card__name a:hover {
  text-decoration: underline;
}

.oms-cart-card__attrs {
  margin-top: 2px;
  font-size: 11.5px;
  color: #6b7280;
  text-transform: capitalize;
}

.oms-cart-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.oms-cart-card__stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.oms-cart-card__step {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.oms-cart-card__step:hover {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.14);
}

.oms-cart-card__qty {
  min-width: 14px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.oms-cart-card__price {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.oms-cart-card__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: none;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
}

.oms-cart-card__remove:hover {
  color: #b91c1c;
}
