.windscreen-calc {
    margin: 0 0 1.5em;
    padding: 1em 1.25em;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fafafa;
}

.windscreen-calc__intro {
    margin: 0 0 0.75em;
    font-size: 0.95em;
}

.windscreen-calc__dimensions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5em 1em;
}

.windscreen-calc__field {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.windscreen-calc__label {
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.windscreen-calc__inputs {
    display: flex;
    gap: 0.5em;
}

.windscreen-calc__inputs label {
    display: flex;
    align-items: center;
    gap: 0.25em;
    margin: 0;
}

.windscreen-calc__input {
    width: 4.5em;
    text-align: right;
}

.windscreen-calc__unit {
    font-size: 0.85em;
    color: #666;
}

.windscreen-calc__times {
    font-size: 1.25em;
    line-height: 1;
    padding-bottom: 0.4em;
    color: #999;
}

.windscreen-calc__max {
    margin: 0.6em 0 0;
    font-size: 0.85em;
    color: #666;
}

.windscreen-calc__preview {
    margin-top: 0.9em;
    min-height: 1.5em;
    font-size: 1.05em;
}

.windscreen-calc__preview-area {
    color: #555;
}

.windscreen-calc__preview-area:not(:empty)::after {
    content: " = ";
    color: #999;
}

.windscreen-calc__preview-price {
    font-weight: 700;
}

.windscreen-calc__preview-min {
    display: block;
    margin-top: 0.15em;
    font-size: 0.85em;
    color: #b26a00;
}

.windscreen-calc__qty-label {
    margin: 0.25em 0 0;
    font-size: 0.85em;
    color: #666;
    flex-basis: 100%;
}

.windscreen-calc__price-suffix {
    font-size: 0.7em;
    font-weight: 400;
    color: #666;
}

/* backstop hide for the old "enter total square footage" label (also killed server-side) */
.woocommerce div.product form.cart .quantity_label-text {
    display: none !important;
}

/* add to cart on its own line */
.woocommerce div.product form.cart .quantity {
    float: none;
    display: inline-block;
    vertical-align: middle;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    display: block;
    clear: both;
    margin-top: 1em;
}
