
.rs-compact-calc{
    width:100%;
    margin:14px 0 16px;
    padding:12px 14px;
    border:1px solid #e6e6e6;
    border-radius:6px;
    background:#fff;
    box-sizing:border-box;
}
.rs-compact-calc *{box-sizing:border-box}

.rs-compact-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:6px;
}
.rs-compact-top label{
    margin:0!important;
    font-size:14px;
    font-weight:600;
}
.rs-compact-number{
    width:72px!important;
    min-width:72px!important;
    height:34px!important;
    padding:4px 7px!important;
    margin:0!important;
    text-align:center;
    font-size:14px!important;
    border:1px solid #cfcfcf!important;
    border-radius:4px!important;
    background:#fff!important;
}

.rs-compact-range{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:18px!important;
    margin:2px 0 7px!important;
    padding:0!important;
}

.rs-compact-prices{
    display:flex;
    align-items:center;
    gap:24px;
    flex-wrap:wrap;
    margin-top:3px;
}
.rs-compact-price{
    display:flex;
    align-items:baseline;
    gap:5px;
    white-space:nowrap;
}
.rs-compact-price span{
    font-size:12px;
    opacity:.7;
}
.rs-compact-price strong{
    font-size:17px;
    line-height:1.1;
}

/* Slider is the only quantity control customers use */
body.single-product form.cart .quantity,
body.single-product form.variations_form .woocommerce-variation-add-to-cart .quantity{
    display:none!important;
}

/* Hide default Woo variation price; calculator shows live price */
body.single-product form.variations_form .woocommerce-variation-price{
    display:none!important;
}

@media(max-width:520px){
    .rs-compact-calc{padding:10px 12px}
    .rs-compact-prices{gap:14px}
    .rs-compact-price strong{font-size:16px}
}
