/* Rochester Cards v1.3: visual presentation only for Woo cart, checkout & account.
   Never hide payment methods, messages, legal consent or alter transactions. */
/* v1.3.1: Centre the WooCommerce page content within its existing Blocksy layout.
   The previous max-width rule constrained width but did not centre the element.
   Do not alter checkout forms, payment methods, totals or transactional markup. */
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}
body.woocommerce-cart .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-account .entry-content > .woocommerce {
  max-width: 100%;
  margin-inline: auto;
}

body.woocommerce-cart :is(.cart_totals,.woocommerce-cart-form),
body.woocommerce-checkout :is(#customer_details,#order_review),
body.woocommerce-account .woocommerce-MyAccount-content { min-width:0; }
body.woocommerce-cart :is(.cart_totals h2,.woocommerce-cart-form h2),
body.woocommerce-checkout :is(h2,h3),
body.woocommerce-account .entry-content h2 {font-family:Georgia,'Times New Roman',serif; font-weight:400; color:#292823; line-height:1.25;}
body.woocommerce-cart :is(table.shop_table,.wc-block-cart-items),
body.woocommerce-checkout :is(table.shop_table,.wc-block-components-order-summary) { border-color:#e9dfc9; }
body.woocommerce-cart :is(input[type=text],input[type=number],input[type=email]),
body.woocommerce-checkout :is(input[type=text],input[type=email],input[type=tel],select,textarea),
body.woocommerce-account :is(input[type=text],input[type=email],input[type=password]) {
  border:1px solid #d9cfbe; border-radius:3px; background:#fffdf8; color:#292823; min-height:44px;
}
body.woocommerce-cart :is(.checkout-button,.button:not(.wc-forward)),
body.woocommerce-checkout :is(.button,.woocommerce-button),
body.woocommerce-account :is(.button,.woocommerce-button) {border-radius:3px; min-height:44px;}
body.woocommerce-cart :is(.wc-block-components-button,.wc-block-cart__submit-button),
body.woocommerce-checkout .wc-block-components-button {border-radius:3px;}
body.woocommerce-cart :is(a,button,input):focus-visible,
body.woocommerce-checkout :is(a,button,input,select):focus-visible,
body.woocommerce-account :is(a,button,input):focus-visible {outline:3px solid #a35c53;outline-offset:3px;}
/* Retain standard WC validation and notice colours so customers can recognise errors. */
@media(max-width:768px){body.woocommerce-cart .woocommerce,body.woocommerce-checkout .woocommerce,body.woocommerce-account .woocommerce {max-width:100%;}}
