/* Approved Hayes commerce colours and spacing applied to native Woo controls. */
.rp .hayes-commerce .wphead{background:var(--cream);padding:36px 0 40px;border-bottom:6px solid var(--green)}
.rp .hayes-commerce .wphead h1{font:700 clamp(2rem,3.6vw,2.9rem)/1.1 'Libre Baskerville',Georgia,serif;color:var(--navy);margin:16px 0 0}
.rp .hayes-commerce .wbody{padding:48px 0 84px;min-height:50vh}
.rp .hayes-commerce .woocommerce{color:var(--ink)}
.rp .hayes-commerce h2,.rp .hayes-commerce h3{font-family:'Libre Baskerville',Georgia,serif;color:var(--navy);line-height:1.3}
.rp .hayes-commerce :is(.woocommerce-MyAccount-content,.woocommerce form.login,.woocommerce form.register,.woocommerce-ResetPassword,.wc-block-cart__sidebar,.wc-block-checkout__sidebar){background:#fff;border-top:5px solid var(--green);padding:24px;box-shadow:0 18px 32px -28px rgba(28,43,74,.5)}
.rp .hayes-commerce .wc-block-components-sidebar{border-top-color:var(--blue)}
.rp .hayes-commerce :is(input.input-text,select,textarea){padding:13px 14px;border:1.5px solid var(--grey);border-radius:3px;font:inherit;font-size:16px;background:#fff;color:var(--ink);max-width:100%;box-sizing:border-box}
.rp .hayes-commerce :is(input,select,textarea,button,a):focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.rp .hayes-commerce :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button:not(.is-link)){background:var(--navy);color:#fff;border:0;border-radius:3px;padding:14px 24px;font:600 15px Inter,system-ui,sans-serif;text-decoration:none;box-sizing:border-box}
.rp .hayes-commerce :is(button:disabled,.button.disabled){opacity:.55;cursor:not-allowed}
.rp .hayes-commerce .woocommerce-MyAccount-navigation{background:#fff;border-top:5px solid var(--navy);box-shadow:0 18px 32px -28px rgba(28,43,74,.5)}
.rp .hayes-commerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.rp .hayes-commerce .woocommerce-MyAccount-navigation li{margin:0}
.rp .hayes-commerce .woocommerce-MyAccount-navigation a{display:block;padding:15px 20px;border-bottom:1px solid var(--grey);border-left:4px solid transparent;color:var(--navy);font-weight:600;text-decoration:none}
.rp .hayes-commerce .woocommerce-MyAccount-navigation .is-active a{background:#eef3fe;border-left-color:var(--blue)}
.rp .hayes-commerce :is(.shop_table,.woocommerce-table){border-collapse:collapse;width:100%;background:#fff}
.rp .hayes-commerce .shop_table th{background:#f1efec;border-bottom:2px solid var(--navy);text-align:left}
.rp .hayes-commerce :is(.shop_table th,.shop_table td){padding:14px;border:0;border-bottom:1px solid var(--grey)}
.rp .hayes-commerce .woocommerce-MyAccount-content{min-width:0}
.rp .hayes-commerce .woocommerce-MyAccount-content p{margin-bottom:18px}
.rp .hayes-commerce .woocommerce form .form-row label{font-weight:600;color:var(--navy)}
.rp .hayes-commerce .woocommerce form .form-row input.input-text{width:100%}
.rp .hayes-commerce .woocommerce-info,.rp .hayes-commerce .woocommerce-message{border-top-color:var(--green)}
@media(max-width:768px){.rp .hayes-commerce .wbody{padding:32px 0 56px}.rp .hayes-commerce .woocommerce-MyAccount-navigation{margin-bottom:24px}.rp .hayes-commerce :is(.woocommerce-MyAccount-content,.woocommerce form.login,.woocommerce form.register){padding:22px 18px}.rp .hayes-commerce .woocommerce-table--order-downloads{display:block;overflow-x:auto}.rp .hayes-commerce .wc-block-components-sidebar{box-sizing:border-box}}

/* Approved compositions mapped to live Woo blocks/shortcodes; no duplicate forms or payment UI. */
.rp .hayes-commerce .commerce-content a:not(.button):not(.wc-block-components-button){text-decoration:none}
.rp .hayes-commerce .wp-block-woocommerce-cart,.rp .hayes-commerce .wp-block-woocommerce-checkout{max-width:none;margin:0}
.rp .hayes-commerce :is(.wc-block-cart,.wc-block-checkout){--wp--preset--font-size--small:14px;font-family:Inter,system-ui,sans-serif;font-size:16px;gap:48px;align-items:start}
.rp .hayes-commerce :is(.wc-block-cart__main,.wc-block-checkout__main){flex-basis:58%;min-width:0}
.rp .hayes-commerce :is(.wc-block-cart__sidebar,.wc-block-checkout__sidebar){flex-basis:38%;min-width:0;padding:28px 30px;background:#fff;border-top:5px solid var(--blue);box-shadow:0 18px 32px -28px rgba(28,43,74,.5)}
.rp .hayes-commerce .wc-block-components-checkout-step{background:#fff;border-top:5px solid var(--green);padding:28px 30px;margin:0 0 22px;box-shadow:0 18px 32px -28px rgba(28,43,74,.5)}
.rp .hayes-commerce .wc-block-components-checkout-step__heading{margin:0 0 18px}
.rp .hayes-commerce .wc-block-components-checkout-step__title{font:700 1.35rem/1.3 'Libre Baskerville',serif}
.rp .hayes-commerce .wc-block-components-checkout-step__content{padding:0}
.rp .hayes-commerce .wc-block-components-checkout-step__container:after{display:none}
.rp .hayes-commerce .wc-block-components-product-name{font:700 1.1rem/1.35 'Libre Baskerville',serif;color:var(--navy)}
.rp .hayes-commerce .wc-block-cart-items__header th{font-size:12px;letter-spacing:.14em;text-transform:uppercase;border-bottom:2px solid var(--navy);padding-bottom:12px}
.rp .hayes-commerce .wc-block-cart-item__image img{width:84px;height:auto;aspect-ratio:1785/2526;object-fit:contain;box-shadow:0 10px 16px -8px rgba(28,43,74,.45)}
.rp .hayes-commerce .wc-block-cart-item__remove-link{font-size:13.5px;text-decoration:underline}
.rp .hayes-commerce .wc-block-components-totals-footer-item{border-top:2px solid var(--navy);font-weight:700}
.rp .hayes-commerce .wp-block-woocommerce-empty-cart-block{background:#fff;border:2px dashed var(--grey);padding:44px 30px;text-align:center}
.rp .hayes-commerce .woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:260px minmax(0,1fr);gap:44px;align-items:start}
.rp .hayes-commerce .woocommerce:has(>.woocommerce-MyAccount-navigation)::before,.rp .hayes-commerce .woocommerce:has(>.woocommerce-MyAccount-navigation)::after{display:none}
.rp .hayes-commerce .woocommerce .woocommerce-MyAccount-navigation,.rp .hayes-commerce .woocommerce .woocommerce-MyAccount-content{float:none;width:auto;margin:0}
.rp .hayes-commerce .woocommerce .woocommerce-MyAccount-content{border:0;box-shadow:none;padding:0;background:transparent}
.rp .hayes-commerce #customer_login{display:grid;grid-template-columns:1fr 1fr;gap:44px}
.rp .hayes-commerce #customer_login::before,.rp .hayes-commerce #customer_login::after{display:none}
.rp .hayes-commerce #customer_login>.u-column1,.rp .hayes-commerce #customer_login>.u-column2{float:none;width:auto;min-width:0}
.rp .hayes-commerce :is(form.login,form.register){margin-top:20px}
.rp .hayes-commerce .woocommerce-table :is(th,td){padding:18px}
.rp .hayes-commerce .woocommerce-table th{font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.rp .hayes-commerce .woocommerce-order-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#fff;border-top:5px solid var(--green);margin:22px 0 32px;padding:0;box-shadow:0 18px 32px -28px rgba(28,43,74,.5)}
.rp .hayes-commerce .woocommerce-order-overview li{float:none;margin:0;padding:18px 20px;border:0;border-left:1px solid #e7e4df;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.rp .hayes-commerce .woocommerce-order-overview strong{display:block;font-size:16px;letter-spacing:0;text-transform:none;margin-top:4px}
.rp .hayes-commerce .woocommerce-order-details{margin-top:32px}
@media(max-width:1020px){.rp .hayes-commerce :is(.wc-block-cart,.wc-block-checkout){flex-direction:column;gap:28px}.rp .hayes-commerce :is(.wc-block-cart__main,.wc-block-checkout__main,.wc-block-cart__sidebar,.wc-block-checkout__sidebar){width:100%;flex-basis:auto}.rp .hayes-commerce .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:1fr}.rp .hayes-commerce .woocommerce-order-overview{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.rp .hayes-commerce #customer_login{grid-template-columns:1fr;gap:28px}.rp .hayes-commerce :is(.wc-block-components-checkout-step,.wc-block-cart__sidebar,.wc-block-checkout__sidebar){padding:22px 18px}.rp .hayes-commerce .woocommerce-order-overview{grid-template-columns:1fr}.rp .hayes-commerce .shop_table{font-size:14px}}
.rp .hayes-commerce .wc-block-checkout__main{counter-reset:checkout-step}
.rp .hayes-commerce .wc-block-components-checkout-step{counter-increment:checkout-step}
.rp .hayes-commerce .wc-block-components-checkout-step__title{display:flex;gap:12px;align-items:center}
.rp .hayes-commerce .wc-block-components-checkout-step__title:before{content:counter(checkout-step);display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--green);color:var(--ink);font:700 1rem 'Libre Baskerville',serif}
.rp .hayes-commerce .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title:before{content:none}

/* Native commerce owns its internal spacing and tables, without editorial prose rules. */
.rp .hayes-commerce :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button:not(.is-link)):not(:disabled):not(.disabled):not([aria-disabled=true]):is(:hover,:focus-visible){background:var(--green);color:var(--ink)}
.rp .hayes-commerce .woocommerce-form :is(.password-input,input){min-width:0}
/* Woo notices place their action before the text in markup and float it right.
   On phones, flex ordering keeps that native action below the message instead. */
@media(max-width:768px){
.rp .hayes-commerce.commerce-account :is(.woocommerce-info,.woocommerce-message):has(.button){display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.rp .hayes-commerce.commerce-account :is(.woocommerce-info,.woocommerce-message) .button{float:none;clear:both;order:1;display:block;margin:0;max-width:100%;white-space:normal;line-height:1.4;text-align:center}
}
