.product-item-row {
    background: var(--white);
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

/* Stepper ( + / - ) Control */
.stepper-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    padding: 4px;
    border-radius: 12px;
    width: fit-content;
    border: 1px solid var(--border);
}

.stepper-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: var(--white);
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.stepper-btn:active {
    transform: scale(0.9);
    background: var(--primary);
    color: var(--white);
}

.stepper-val {
    min-width: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

/* Compact Refine Footer */
.refine-summary-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 15px;
    border-top: 1px solid var(--border);
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

.summary-details-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 5px;
}

.summary-small-card {
    background: var(--bg);
    padding: 8px 12px;
    border-radius: 12px;
    flex: 0 0 auto;
    min-width: 90px;
    border: 1px solid var(--border);
}

.summary-label {
    color: var(--gray);
    font-weight: 700;
    font-size: 9px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.summary-value {
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
}

.total-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.total-price-label {
    font-weight: 700;
    font-size: 12px;
    color: var(--gray);
}

.total-price-value {
    font-weight: 900;
    font-size: 20px;
    color: var(--success);
}

/* Counter Grid & Buttons */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.counter-btn {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.counter-btn.active {
    border-color: var(--primary);
    background: #f0f3ff;
}

.counter-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
}

.counter-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

/* Input Fields */
.sqm-val {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid var(--border);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    background: var(--white);
    outline: none;
}

.sqm-val:focus {
    border-color: var(--primary);
}

.btn-save-full {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-save-full:active {
    transform: scale(0.98);
}


