.wnypress-services-price-term {
    font-size: .78em;
    font-weight: 500;
    white-space: nowrap;
}

.wnypress-project-estimate {
    border: 1px solid currentColor;
    border-radius: 8px;
    margin: 0 0 1.5rem;
    padding: 1.1rem;
}

.wnypress-project-estimate h2 {
    font-size: 1.35rem;
    margin: 0 0 1rem;
}

.wnypress-project-estimate__bucket + .wnypress-project-estimate__bucket {
    border-top: 1px solid rgba(0, 0, 0, .16);
    margin-top: 1rem;
    padding-top: 1rem;
}

.wnypress-project-estimate__bucket h3 {
    font-size: 1.05rem;
    margin: 0 0 .25rem;
}

.wnypress-project-estimate__bucket-description,
.wnypress-project-estimate__empty,
.wnypress-project-estimate__notice {
    font-size: .9rem;
    margin: .25rem 0 .75rem;
}

.wnypress-project-estimate__items {
    list-style: none;
    margin: .75rem 0;
    padding: 0;
}

.wnypress-project-estimate__items li {
    display: grid;
    gap: .2rem .75rem;
    grid-template-columns: 1fr auto;
    padding: .45rem 0;
}

.wnypress-project-estimate__item-price {
    font-weight: 600;
    text-align: right;
}

.wnypress-project-estimate__purchase-at {
    grid-column: 1 / -1;
    opacity: .78;
}

.wnypress-project-estimate__totals {
    border-top: 1px solid rgba(0, 0, 0, .12);
    margin: .75rem 0 0;
    padding-top: .5rem;
}

.wnypress-project-estimate__totals > div {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .2rem 0;
}

.wnypress-project-estimate__totals dt,
.wnypress-project-estimate__totals dd {
    margin: 0;
}

.wnypress-project-estimate__totals dd {
    font-weight: 700;
}

.wnypress-project-estimate__notice {
    border-top: 1px solid rgba(0, 0, 0, .16);
    margin-bottom: 0;
    margin-top: 1rem;
    padding-top: .8rem;
}

/* The custom panel is the financial summary on the project-selection cart. */
.woocommerce-cart .cart_totals > h2,
.woocommerce-cart .cart_totals > table.shop_table,
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-cart .wp-block-woocommerce-cart-order-summary-subtotal-block,
.wc-block-cart .wc-block-components-totals-footer-item,
.wc-block-cart .wp-block-woocommerce-cart-express-payment-block,
.wc-block-cart .wp-block-woocommerce-cart-accepted-payment-methods-block,
.wc-block-cart .wc-block-components-express-payment {
    display: none !important;
}

/* Avoid duplicate estimate output when a theme happens to combine classic hooks with Cart Blocks. */
.wc-block-cart .cart_totals .wnypress-project-estimate {
    display: none;
}
