/* Styles pour la section code promo et le résumé de commande */

/* Styles pour le résumé de commande */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #555;
}

.summary-row .label {
    font-weight: 500;
}

.summary-row .amount {
    font-weight: 500;
}

.cart-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-total .total-value {
    color: var(--primary-color, #E37222);
}
.promo-code-section {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.promo-code-section h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.promo-code-form {
    display: flex;
    gap: 10px;
}

.promo-code-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.promo-code-form input:focus {
    border-color: #f0b95e;
    outline: none;
}

.btn-apply-promo {
    padding: 10px 15px;
    background-color: #f0b95e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.btn-apply-promo:hover {
    background-color: #e5a94a;
}

.btn-apply-promo:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.btn-remove-promo {
    background-color: #e74c3c;
}

.btn-remove-promo:hover {
    background-color: #c0392b;
}

/* Message de statut */
.promo-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: opacity 0.5s;
}

.promo-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.promo-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.promo-message.fade-out {
    opacity: 0;
}

/* Informations sur le code promo appliqué */
.promo-info {
    margin-top: 15px;
}

.promo-applied {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.promo-code-badge {
    background-color: #f0b95e;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.promo-description {
    color: #555;
}

/* Style pour la ligne de remise dans le récapitulatif */
.cart-discount {
    color: #e74c3c;
    font-weight: 600;
}

.discount-amount {
    color: #e74c3c;
}
