/* Commerce-only appearance. No form/payment or event behavior is modified. */
:root{--ov-buy-bg:#ff9900;--ov-buy-text:#171717;--ov-buy-hover:#e68a00;--ov-buy-active:#cc7a00;}
body .ov-cart-shell .ov-cart-link--primary:not(.ov-cart-link--disabled),
body .ov-right-column .ov-mini-cart-cta,
body.ov-product-detail-page .ov-test-buybox__cta .ov-cart-link:not(.ov-cart-link--disabled),
body .ov-checkout-redesign .ov-primary-link,
body .ov-checkout-redesign .ov-buy-button,
body .ov-checkout-redesign input[type=submit].ov-inline-button {
  background:var(--ov-buy-bg)!important;color:var(--ov-buy-text)!important;
  border:1px solid #b56d00!important;border-radius:8px!important;
  box-shadow:0 2px 5px rgba(0,0,0,.15)!important;
  min-height:50px;font-size:16px;font-weight:700;
  padding:12px 20px;line-height:1.4;text-align:center;
  white-space:normal;overflow-wrap:break-word;
}
body .ov-checkout-redesign .ov-primary-link svg,
body .ov-checkout-redesign .ov-buy-button svg,
body .ov-cart-shell .ov-cart-link--primary svg,
body.ov-product-detail-page .ov-test-buybox__cta .ov-cart-link svg {color:inherit!important;}
@media(hover:hover){
 body .ov-cart-shell .ov-cart-link--primary:not(.ov-cart-link--disabled):not(:disabled):hover,
 body .ov-right-column .ov-mini-cart-cta:hover,
 body.ov-product-detail-page .ov-test-buybox__cta .ov-cart-link:not(.ov-cart-link--disabled):hover,
 body .ov-checkout-redesign .ov-primary-link:not(:disabled):hover,
 body .ov-checkout-redesign .ov-buy-button:not(:disabled):hover,
 body .ov-checkout-redesign input[type=submit].ov-inline-button:not(:disabled):hover{background:var(--ov-buy-hover)!important;}
}
body .ov-cart-shell .ov-cart-link--primary:not(.ov-cart-link--disabled):active,
body.ov-product-detail-page .ov-test-buybox__cta .ov-cart-link:not(.ov-cart-link--disabled):active,
body .ov-checkout-redesign .ov-primary-link:active,
body .ov-checkout-redesign .ov-buy-button:active{background:var(--ov-buy-active)!important;}
body .ov-cart-shell .ov-cart-link--primary:focus-visible,
body .ov-right-column .ov-mini-cart-cta:focus-visible,
body.ov-product-detail-page .ov-test-buybox__cta .ov-cart-link:focus-visible,
body .ov-checkout-redesign .ov-primary-link:focus-visible,
body .ov-checkout-redesign .ov-buy-button:focus-visible,
body .ov-checkout-redesign input[type=submit].ov-inline-button:focus-visible{outline:3px solid #153f7a!important;outline-offset:3px!important;}
body .ov-cart-shell .ov-cart-link--primary.ov-cart-link--disabled,
body.ov-product-detail-page .ov-test-buybox__cta .ov-cart-link.ov-cart-link--disabled,
body .ov-checkout-redesign .ov-primary-link:disabled,
body .ov-checkout-redesign .ov-buy-button:disabled,
body .ov-checkout-redesign input[type=submit].ov-inline-button:disabled{
 background:#e5e7eb!important;color:#52525b!important;box-shadow:none!important;
 cursor:not-allowed!important;border-color:#d1d5db!important;
}
@media(max-width:600px){
 body .ov-cart-shell .ov-cart-link--primary,
 body.ov-product-detail-page .ov-test-buybox__cta .ov-cart-link,
 body .ov-checkout-redesign .ov-primary-link,
 body .ov-checkout-redesign .ov-buy-button{min-height:54px;}
}
@media(prefers-reduced-motion:reduce){
 body .ov-cart-shell .ov-cart-link--primary,
 body.ov-product-detail-page .ov-test-buybox__cta .ov-cart-link,
 body .ov-checkout-redesign .ov-primary-link,
 body .ov-checkout-redesign .ov-buy-button{transition:none!important;}
}

/* Final order review is a standalone PHP page with a separate frame. */
.ov-review-wrap.ov-checkout-redesign .ov-buy-button:not(:disabled){
 background:#ff9900!important;color:#171717!important;border:1px solid #b56d00!important;
 border-radius:8px!important;box-shadow:0 2px 5px rgba(0,0,0,.15)!important;
 min-height:54px;font-size:16px;font-weight:700;white-space:normal;
}
@media(hover:hover){.ov-review-wrap.ov-checkout-redesign .ov-buy-button:not(:disabled):hover{background:#e68a00!important;}}
.ov-review-wrap.ov-checkout-redesign .ov-buy-button:not(:disabled):active{background:#cc7a00!important;}
.ov-review-wrap.ov-checkout-redesign .ov-buy-button:focus-visible{outline:3px solid #153f7a!important;outline-offset:3px!important;}
.ov-review-wrap.ov-checkout-redesign .ov-buy-button:disabled{background:#e5e7eb!important;color:#52525b!important;box-shadow:none!important;cursor:not-allowed!important;}

/* Actual public product CTA markup (button, not the buybox anchor). */
body.ov-product-detail-page button.ov-cart-link[onclick*="addToCartDirect"]:not(:disabled){
 background:#ff9900!important;color:#171717!important;border:1px solid #b56d00!important;
 border-radius:8px!important;box-shadow:0 2px 5px rgba(0,0,0,.15)!important;
 min-height:54px;font-size:16px!important;font-weight:700!important;
 padding:12px 20px!important;white-space:normal!important;
}
body.ov-product-detail-page button.ov-cart-link[onclick*="addToCartDirect"] svg{stroke:#171717!important;color:#171717!important;}
@media(hover:hover){body.ov-product-detail-page button.ov-cart-link[onclick*="addToCartDirect"]:not(:disabled):hover{background:#e68a00!important;}}
body.ov-product-detail-page button.ov-cart-link[onclick*="addToCartDirect"]:not(:disabled):active{background:#cc7a00!important;}
body.ov-product-detail-page button.ov-cart-link[onclick*="addToCartDirect"]:focus-visible{outline:3px solid #153f7a!important;outline-offset:3px!important;}
body.ov-product-detail-page button.ov-cart-link[onclick*="addToCartDirect"]:disabled{background:#e5e7eb!important;color:#52525b!important;box-shadow:none!important;cursor:not-allowed!important;}

/* Preserve the visual distinction of disabled checkout actions. */
body .ov-cart-shell .ov-cart-link--primary[aria-disabled="true"],
body .ov-cart-shell .ov-cart-link--primary.ov-cart-link--disabled {
 background:#e5e7eb!important;color:#52525b!important;
 border-color:#d1d5db!important;box-shadow:none!important;
 cursor:not-allowed!important;
}
/* Browsing the catalog from an empty cart isn't a purchase submission. */
body .ov-cart-shell .ov-cart-empty__actions .ov-cart-link--primary{
 background:#ffffff!important;color:#171717!important;border-color:#b9b9b9!important;box-shadow:none!important;
}
