/* -----------------------------------------------
   CF7 Product Repeater PRO – Stylesheet v2.2
----------------------------------------------- */

.cf7-quote-form {
    max-width: 100%;
width:100%;
}

/* Each row */
.product-row {
    display: flex;
    flex-wrap: wrap;          /* FIX: prevents overflow on small screens */
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

/* FIX: let Select2 fill its flex slot naturally instead of fighting !important */
.product-row .select2-container {
    flex: 1 1 220px;
    min-width: 180px;
}

/* Qty controls */
.quantity-box {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.quantity-box input[type="number"] {
    width: 56px;
    height: 53px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius:5px;
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
    font-size: 14px;
    margin:0px 10px;
    padding: 0;
}

/* Hide browser spin buttons */
.quantity-box input[type="number"]::-webkit-inner-spin-button,
.quantity-box input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.quantity-box button {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}

.quantity-box button:hover {
    background: #e0e0e0;
}

.qty-minus { border-radius: 4px 0 0 4px; }
.qty-plus  { border-radius: 0 4px 4px 0; }

/* Remove row button */
.btn-remove-row {
    background: #e53935 !important;
    color: #fff;
    border: none;
    height: 32px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
margin-bottom:0px !important;
}

.btn-remove-row:hover {
    background: #b71c1c !important;
}

/* FIX: Add Product button — was completely unstyled */
#add-product-row {
    margin-top: 8px;
    padding: 0px 18px;
    background: black !important;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}
.qty-minus , .qty-plus{
padding: 0 10px !important; 
border-radius:8px !important;
margin-bottom: 0px !important;
}
#add-product-row:hover {
    background: #1256a0;
}