.alma-payment-wrapper {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 8px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: inline-block;
  max-width: 100%;
}

.alma-payment-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alma-payment-logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

.alma-payment-text {
  flex: 1;
}

.alma-payment-main-text {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2px;
  line-height: 1.3;
}

.alma-payment-installment-text {
  font-size: 12px;
  color: #6c757d;
  font-style: italic;
  line-height: 1.2;
}

/* Styles spécifiques par couleur de logo - RENFORCÉS */
.alma-logo-orange,
.price-alma-unified-card .alma-logo-orange {
  border: 1px solid #ff6900 !important;
  background-color: #fff5f0 !important;
}

.alma-logo-white,
.price-alma-unified-card .alma-logo-white {
  border: 1px solid #dee2e6 !important;
  background-color: #ffffff !important;
}

.alma-logo-black,
.price-alma-unified-card .alma-logo-black {
  border: 1px solid #343a40 !important;
  background-color: #f8f9fa !important;
}

.alma-logo-grey,
.price-alma-unified-card .alma-logo-grey {
  border: 1px solid #6c757d !important;
  background-color: #f8f9fa !important;
}

/* Style responsive */
@media (max-width: 768px) {
  .alma-payment-wrapper {
    padding: 10px 12px;
  }
  
  .alma-payment-content {
    gap: 8px;
  }
  
  .alma-payment-logo {
    height: 28px;
  }
  
  .alma-payment-main-text {
    font-size: 13px;
  }
  
  .alma-payment-installment-text {
    font-size: 11px;
  }

  /* Responsive pour le wrapper unifié */
  .price-alma-unified-card {
    padding: 0;
    margin: 15px 0;
  }

  .price-alma-unified-card .price-section {
    margin-bottom: 10px;
  }

  .price-alma-unified-card .alma-section {
    padding: 0;
    margin-top: 8px;
  }

  /* Badge responsive */
  .price-alma-unified-card .discount-badge {
    margin-left: 8px !important;
    font-size: 0.8em !important;
  }
}

/* ==============================================
   WRAPPER UNIFIÉ PRIX + ALMA - DESIGN MODERNE
   ============================================== */

.price-alma-unified-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 20px 0;
  position: relative;
  transition: all 0.2s ease;
}

.price-alma-unified-card:hover {
  /* Pas d'effet hover sur le wrapper */
}

/* Section Prix - Clean et moderne */
.price-alma-unified-card .price-section {
  margin-bottom: 12px;
  position: relative;
}

.price-alma-unified-card .price-section .product-price-wrap {
  margin-bottom: 0 !important; /* Override pour éviter l'espacement */
}

/* Section Alma - Ultra clean */
.price-alma-unified-card .alma-section {
  border: none;
  padding: 0;
  margin-top: 8px;
}

.price-alma-unified-card .alma-section .alma-payment-wrapper {
  margin: 0 !important;
  /* Restauration du style original avec bordures et fond coloré */
  /* background et border sont gérés par les classes .alma-logo-* */
  padding: 12px 16px !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Ajustements pour les prix promotionnels dans le wrapper */
.price-alma-unified-card .promotion-price-formatter {
  margin: 0 !important;
  position: relative;
}

/* Badge promo - Style moderne inline */
.price-alma-unified-card .discount-badge {
  position: relative !important;
  margin-left: 12px !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Plus d'effets de brillance - Style épuré */

/* Animation hover subtile */
.alma-payment-wrapper:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}
