/* BarkShop — cart, checkout and customer account (orders, returns). */

/* Checkout legal layer: e-receipt consent, contract notice, document links, order recap. */
.bark-checkout-legal { margin: 1rem 0; }
.bark-checkout-legal .bark-field-hint,
.bark-checkout-documents { display: block; font-size: .85rem; opacity: .85; margin: .3rem 0 .8rem; }
.bark-contract-notice { font-size: .9rem; margin: .8rem 0; padding-left: 1.1rem; }
.bark-contract-notice li { margin: .25rem 0; }

/* Cart: the legal documents and their acceptance, above the proceed button (67-cart-terms.php). */
.bark-cart-terms { margin: 0 0 .8rem; font-size: .9rem; }
.bark-cart-terms .bark-field-hint { display: block; font-size: .85rem; opacity: .85; margin-top: .3rem; }
.bark-cart-terms .bark-field-error { display: block; font-size: .85rem; margin-top: .3rem; color: var(--bark-error, #b32d2e); }
.bark-cart-terms .bark-field-error[hidden] { display: none; }
/* The proceed button is a link, so it cannot carry :disabled — the script sets aria-disabled. */
.wc-proceed-to-checkout .checkout-button.bark-button-blocked { opacity: .55; cursor: not-allowed; }
.bark-checkout-recap { width: 100%; font-size: .9rem; margin: 0 0 1rem; border-collapse: collapse; }
.bark-checkout-recap td,
.bark-checkout-recap th { padding: .35rem 0; border-bottom: 1px solid var(--bark-border); text-align: left; }
.bark-checkout-recap .bark-recap-amount { text-align: right; white-space: nowrap; }
.bark-checkout-recap .bark-recap-total th { border-bottom: 0; padding-top: .6rem; }

/* Return request form (Flexible Refund, My Account): per-item quantity picker revealed and
   constrained by custom/mu-plugins/72-baselinker-returns.php. */
form.refund-front-form td.item-qty label { display: inline-block; margin: 0; }
form.refund-front-form td.item-qty .qty-input { width: 4.5em; padding: .3em .4em; }
form.refund-front-form td.item-qty .product-quantity { display: none; }
form.refund-front-form td.item-qty .fr-qty-max { display: block; font-size: .8em; opacity: .7; }

/* Checkout: dispatch day and delivery window for a payment now (88-delivery-info.php). */
.bark-delivery-estimate-row td { padding-top: 0; }
.bark-delivery-estimate {
    text-align: left;
    background: var(--bark-surface);
    border-left: 4px solid var(--bark-primary);
    border-radius: 6px;
    padding: .7rem .9rem;
    margin: .4rem 0 0;
    font-size: .9rem;
}
.bark-delivery-estimate p { margin: 0 0 .3rem; }
.bark-delivery-estimate .bark-delivery-note { font-size: .82rem; opacity: .85; margin: .4rem 0 0; }
/* The delivery-step copy is for phones; from Fluid Checkout's two-column breakpoint the summary shows it. */
@media (min-width: 1000px) {
    .bark-delivery-estimate--step { display: none; }
}
