/* B2B Gratuités — styles panier front-end */

.b2bg-block {
    background: #f9f9f9;
    border: 2px dashed #c3c4c7;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.b2bg-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 14px 0;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 8px;
}

.b2bg-icon {
    font-size: 18px;
}

.b2bg-rate-info {
    background: #e8f4fd;
    border-left: 4px solid #0073aa;
    padding: 8px 12px;
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #0a4b78;
    border-radius: 0 4px 4px 0;
}

.b2bg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 16px;
}

.b2bg-table th {
    background: #f0f0f1;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #dcdcde;
}

.b2bg-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
}

.b2bg-table tr:last-child td {
    border-bottom: none;
}

.b2bg-product-name {
    font-weight: 500;
}

.b2bg-variation {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.b2bg-qty-ordered {
    text-align: center;
    color: #555;
}

.b2bg-qty-free {
    text-align: center;
}

.b2bg-input {
    width: 80px;
    text-align: center;
    padding: 6px 8px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 14px;
}

.b2bg-input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.b2bg-suggested {
    display: block;
    font-size: 11px;
    color: #27ae60;
    margin-top: 4px;
    font-style: italic;
}

.b2bg-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.b2bg-submit {
    background-color: #27ae60 !important;
    border-color: #229954 !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
}

.b2bg-submit:hover {
    background-color: #1e8449 !important;
}

.b2bg-clear {
    background-color: #fff !important;
    border-color: #c3c4c7 !important;
    color: #d63638 !important;
}

.b2bg-clear:hover {
    border-color: #d63638 !important;
    background-color: #fdf2f2 !important;
}

/* Badge dans le panier */
.b2bg-badge {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
}
