.cart_item .cpa_block {
    margin-top: 7px;
    font-weight: bold;
    width: 75%;
    float: right;
}

.cart_item .cpa_block hr {
    margin: 5px 0;
}

.cart_item .cp_name {
    float: left;
}

.cart_item .cpa_block span.cp_delete {
    background: url(../images/remove-from-cart.png) no-repeat;
    background-size: 14px;
    width: 14px;
    height: 14px;
    margin-left: 4px;
    display: inline-block;
    z-index: 1;
    line-height: 1;
    text-indent: 100px;
    position: relative;
    overflow: hidden;
    top: 2px;
    cursor: pointer;
}

.cart_item .cpa_block span.cp_price {
    margin-left: 50px;
}

.exportxml_attachment_label {
    width: 100%;
    border: 2px solid;
    padding: 7px;
    text-align: center;
    font-weight: bold !important;
    margin: 15px 0;
    text-transform: uppercase;
}

.exportxml_file_elm {
    width: 100%;
    overflow: visible;
    background: #fafafa;
    border: 0.5px solid #dcdcdc;
    padding: 3px;
    margin: 5px 0;
    font-family: sans-serif;
    font-size: 12px;
    color: #565656;
    position: relative;
}

.exportxml_file_name {
    position: relative;
    z-index: 1;
}

.exportxml_file_progress {
    background: #f1682685;
    width: 0%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
}

.exportxml_file_progress.complete {
    display: none;
}

.exportxml_file_cancel, .exportxml_file_remove {
    color: #e34444;
    cursor: pointer;
    margin: 0 4px;
}

.wc_export_xml_error {
    color: red;
    font-weight: 500;
}

input#wordpress-exportxml-deliverydatepicker {
    cursor: pointer;
    width: 50%;
    border: 1px solid #f55;
}

input#wordpress-exportxml-datesalondatepicker {
    cursor: pointer;
    width: 50%;
    border: 1px solid #f55;
}

span.delivery-datepicker-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: -21px;
    line-height: 2.5;
    cursor: pointer;
}

span.delivery-datepicker-icon svg path {
    fill: #f55;
}

/* Styles pour le formulaire de remise en pourcentage */
/* OBSOLÈTE - conservé pour compatibilité */
/*
.discount-form {
    margin-top: 10px;
}

.discount-form .icon-button.icon-discount {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.discount-form .icon-button.icon-discount i {
    width: 24px;
    height: 24px;
    background: url(../images/discount-icon.png) no-repeat center;
    background-size: contain;
    margin-right: 10px;
}

.discount-form .title {
    display: flex;
    flex-direction: column;
}

.discount-form .title small {
    font-size: 0.8em;
    color: #666;
}

.discount-form .discount {
    display: none;
    margin-top: 10px;
}

.discount-form.active .discount {
    display: block;
}

.discount-form .checkout_discount {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
}

.discount-form .close-discount {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    text-decoration: none;
    color: #999;
}

.discount-form .close-discount:hover {
    color: #333;
}

.discount-form .form-row {
    margin-bottom: 10px;
}

.discount-form .discount-percent-input {
    width: 80px !important;
    display: inline-block;
}

.discount-form .discount-percent-symbol {
    margin-left: 5px;
    font-weight: bold;
}

.discount-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
*/

/* Largeur colonne produit dans le panier */
.woocommerce-cart-form table.shop_table td.product-name,
.woocommerce-cart-form table.shop_table th.product-name {
    width: 40% !important;
}

/* Style pour le champ pourcentage de remise dans la colonne quantité */
.quantity-price-discount-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: flex-end;
}

.quantity-price-discount-wrapper .price-input-wrapper,
.quantity-price-discount-wrapper .discount-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.quantity-price-discount-wrapper .discount-percent-input {
    text-align: right;
}

/* Style pour le champ N° commande client */
.customer-order-number-form {
    margin-top: 30px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.customer-order-number-form h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.customer-order-number-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.customer-order-number-form input[type="text"] {
    width: 100%;
    max-width: 350px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.customer-order-number-form input[type="text"]:focus {
    border-color: #f55;
    outline: none;
    box-shadow: 0 0 3px rgba(255, 85, 85, 0.3);
}

