/* Paper Boy Biz theme: WooCommerce output that the hand-off CSS does not cover.
   Loaded after footer.css on every page. Keep this file to what WooCommerce
   itself emits; the hand-off sheets are copied unchanged. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price .woocommerce-Price-amount, .price .woocommerce-Price-currencySymbol { font: inherit; color: inherit; }

/* WooCommerce notices in the hand-off .notice shape */
.woocommerce-message, .woocommerce-error, .woocommerce-info { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border: var(--border-width) solid; border-radius: var(--radius-sm); font-size: 0.9375rem; margin: 0 0 var(--space-5); list-style: none; }
.woocommerce-message { background: var(--color-success-bg); border-color: var(--color-success); }
.woocommerce-error { background: var(--color-error-bg); border-color: var(--color-error); }
.woocommerce-info { background: var(--color-info-bg); border-color: var(--color-primary); }
.woocommerce-message .button, .woocommerce-error .button, .woocommerce-info .button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--fw-bold); font-size: var(--fs-small); text-decoration: none; order: 2; margin-left: auto; }

/* WooCommerce reviews in the hand-off form shape */
#reviews .commentlist { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
#reviews .comment_container { display: flex; gap: var(--space-3); padding: var(--space-4) 0; border-bottom: var(--border-width) solid var(--color-border); }
#reviews .avatar { width: 44px; height: 44px; border-radius: 50%; }
#reviews .star-rating { color: #B38600; }
#review_form_wrapper { max-width: 640px; margin-top: var(--space-5); }
#review_form .comment-form-rating label, #review_form label { display: block; font-size: var(--fs-small); font-weight: var(--fw-semibold); margin-bottom: var(--space-2); }
#review_form p { margin: 0 0 var(--space-4); }
#review_form input[type="text"], #review_form input[type="email"], #review_form textarea { width: 100%; min-height: var(--tap-target); padding: var(--space-2) var(--space-3); border: var(--border-width) solid var(--color-border-strong); border-radius: var(--radius-sm); background: var(--color-bg); font-size: 1rem; }
#review_form textarea { min-height: 140px; }
#review_form .submit { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-6); border: var(--border-width) solid var(--color-primary); border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--fw-bold); cursor: pointer; }
#review_form .stars a { color: var(--color-border-strong); text-decoration: none; }
#review_form .stars a.active, #review_form .stars:hover a { color: #B38600; }

/* WooCommerce form fields (woocommerce_form_field) in the hand-off .field shape.
   p.form-row stays for checkout.js validation; form-row-half / form-row-wide
   place the field in .form-grid--2 (set in inc/woo-templates.php). */
.form-row { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; }
.form-row label { font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.form-row .required { color: var(--color-error); text-decoration: none; }
.form-row .optional { font-weight: var(--fw-regular); color: var(--color-text-muted); }
.form-row .woocommerce-input-wrapper { display: flex; flex-direction: column; gap: var(--space-2); }
.form-row .woocommerce-input-wrapper > strong { min-height: var(--tap-target); display: flex; align-items: center; font-weight: var(--fw-semibold); }
.form-grid--2 .form-row-wide, .form-grid--2 .woocommerce-account-fields, .form-grid--2 .create-account { grid-column: 1 / -1; }
.form-row.woocommerce-invalid .input, .form-row.woocommerce-invalid .select, .form-row.woocommerce-invalid .textarea { border-color: var(--color-error); }
.checkout-inline-error-message, .form-row .error { font-size: 0.8125rem; font-weight: var(--fw-medium); color: var(--color-error); margin: 0; }
.form-row .checkbox, .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 0.9375rem; font-weight: var(--fw-regular); cursor: pointer; }
.form-row .input-checkbox, .woocommerce-form__input-checkbox { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-primary); flex: none; }
.woocommerce-account-fields { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-4); }
.woocommerce-privacy-policy-text, .woocommerce-privacy-policy-text p { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0; }
.woocommerce-terms-and-conditions-wrapper { display: flex; flex-direction: column; gap: var(--space-3); }
.woocommerce-terms-and-conditions { max-height: 200px; overflow: auto; padding: var(--space-3); border: var(--border-width) solid var(--color-border); border-radius: var(--radius-sm); font-size: var(--fs-small); }
.place-order { gap: var(--space-4); }
.blockUI.blockOverlay { border-radius: var(--radius-md); }
.woocommerce-NoticeGroup { grid-column: 1 / -1; }
.wc-block-components-notice-banner, .woocommerce-notices-wrapper:empty { margin: 0; }
.checkout-notices > *:empty { display: none; }

/* WooCommerce shipping rows (cart/cart-shipping.php) inside the review table */
.review-table #shipping_method { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); text-align: left; }
.review-table #shipping_method li { display: flex; gap: var(--space-2); align-items: flex-start; }
.review-table #shipping_method input { margin-top: 3px; accent-color: var(--color-primary); }
.review-table #shipping_method label { font-size: var(--fs-small); }
.review-table .woocommerce-shipping-destination { margin: var(--space-2) 0 0; font-size: var(--fs-small); color: var(--color-text-muted); }

/* Account endpoints that keep WooCommerce's own markup (view order, downloads,
   payment methods, lost password) */
.woocommerce-MyAccount-content .woocommerce-table, .woocommerce-MyAccount-content .shop_table { width: 100%; font-size: 0.9375rem; }
.woocommerce-MyAccount-content .shop_table th, .woocommerce-MyAccount-content .shop_table td { padding: var(--space-3); border-bottom: var(--border-width) solid var(--color-border); text-align: left; vertical-align: middle; }
.woocommerce-MyAccount-content .shop_table thead th { font-size: var(--fs-small); font-weight: var(--fw-bold); background: var(--color-bg-light); }
.woocommerce-MyAccount-content .shop_table tfoot th { font-weight: var(--fw-semibold); }
.woocommerce-MyAccount-content .shop_table .product-total, .woocommerce-MyAccount-content .shop_table tfoot td { text-align: right; font-variant-numeric: tabular-nums; }
.woocommerce-MyAccount-content .woocommerce-button, .woocommerce-ResetPassword .button, .woocommerce-form-track-order .button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 var(--space-4); border: var(--border-width) solid var(--color-primary); border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--fw-bold); font-size: var(--fs-small); text-decoration: none; cursor: pointer; }
.woocommerce-ResetPassword { max-width: 480px; display: flex; flex-direction: column; gap: var(--space-4); }
.woocommerce-ResetPassword .input-text { width: 100%; min-height: var(--tap-target); padding: var(--space-2) var(--space-3); border: var(--border-width) solid var(--color-border-strong); border-radius: var(--radius-sm); font-size: 1rem; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.7; }
.woocommerce-column--billing-address, .woocommerce-column--shipping-address { margin-top: var(--space-5); }
