.cart-item-row.removing {
    opacity: 0.5;
    pointer-events: none;
}

.add-product-form .form-row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-product-form select {
    flex: 1;
}

#refresh-products-db {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#refresh-products-db:hover {
    background: #e0e0e0;
    border-color: #999;
}

#refresh-products-db:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#refresh-products-db.button-primary {
    background: #0073aa;
    color: white;
    border-color: #005a87;
}

.cart-item-row.updating {
    opacity: 0.7;
    pointer-events: none;
}

.quantity-input {
    width: 60px;
    text-align: center;
    padding: 5px;
}

@keyframes highlightRow {
    0% { background-color: #fff; }
    50% { background-color: #fff3cd; }
    100% { background-color: #fff; }
}

.cart-item-row.highlight {
    animation: highlightRow 2s ease;
}

.discount-section {
    margin: 15px 0;
}

.discount-section label {
    display: block;
    margin-bottom: 5px;
}

.discount-section input {
    width: 80px;
    padding: 5px;
}

.discount-info {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.customer-section {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
}

.customer-section h3 {
    margin-bottom: 15px;
}

.customer-type-selector {
    margin-bottom: 20px;
}

.customer-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.customer-form .full-width {
    grid-column: 1 / -1;
}

.customer-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.customer-form input,
.customer-form select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.customer-form .error {
    border-color: #dc3232;
}

.customer-form-toggle {
    margin-bottom: 15px;
}

.template-selection {
    margin: 20px 0;
}

.template-selection label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.template-selection select {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Ograniczenie szerokości kontenera ofertowania */
.printzilla-checkout-container {
    width: 1100px;
    margin: 0 auto;
}
