.custom-order-form {
    direction: rtl;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    max-width: 700px;
    margin: 2rem auto;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-header {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #222;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-grid input,
.form-grid select {
    padding: 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fdfdfd;
    color: #333;
    text-align: right;
    transition: border-color 0.2s;
}

.form-grid input:focus,
.form-grid select:focus {
    border-color: #007cba;
    outline: none;
}

.form-grid input::placeholder {
    font-weight: 500;
    color: #999;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.quantity-input {
    width: 120px;
    padding: 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    text-align: center;
    background-color: #fff;
    color: #333;
}

.cop-form-submit {
    flex: 1;
    background-color: #007cba;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cop-form-submit:hover {
    background-color: #005f95;
}

/* Order Summary */
.order-summary-section {
    background-color: #f7f7f7;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 15px;
    color: #333;
    border-top: 1px solid #ddd;
}

.summary-title {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: right;
}

.summary-item,
.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #ddd;
}

.summary-total {
    font-weight: bold;
    font-size: 16px;
    color: #007cba;
    border-top: 2px solid #ccc;
    border-bottom: none;
    padding-top: 1rem;
}

/* new  */
.quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: transparent;
}

.qty-display {
    min-width: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: inline-block;
}

.qty-btn {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
    color: black;
}

.qty-btn:hover {
    border-color: #999;
    background-color: #f0f0f0;
    color: #999;
}
