/* Match the space around the notice to the product section. */
html body.single-product { background: #0b2342; }
/* Native product success messages, including dynamically inserted cart notices. */
html body.single-product .woocommerce-notices-wrapper:has(> .woocommerce-message) {
 box-sizing: border-box; width: calc(100% - var(--dl-content-inset, 24px) - var(--dl-content-inset, 24px));
 max-width: none; margin: 24px auto 0; padding: 0;
}
html body.single-product .woocommerce-notices-wrapper .woocommerce-message {
 position: relative; display: flex; align-items: center; gap: 20px; box-sizing: border-box;
 min-height: 76px; margin: 0 0 16px; padding: 18px 20px 18px 54px;
 border: 1px solid #155680; border-top: 3px solid #00d9ff; border-radius: 8px;
 background: linear-gradient(125deg, #062344, #053365); color: #eaf2ff;
 font: 400 16px/1.6 Play, sans-serif; box-shadow: none; overflow-wrap: anywhere;
}
html body.single-product .woocommerce-notices-wrapper .woocommerce-message:focus {
 outline: 2px solid #00d9ff; outline-offset: 3px;
}
html body.single-product .woocommerce-notices-wrapper .woocommerce-message::before {
 content: '\2713'; position: absolute; top: 23px; left: 20px;
 width: 20px; height: 20px; border-radius: 50%; background: #00d9ff; color: #062344;
 font: 700 14px/20px Play, sans-serif; text-align: center;
}
html body.single-product .woocommerce-notices-wrapper .woocommerce-message::after { display: none; }
html body.single-product .woocommerce-notices-wrapper .woocommerce-message a { color: #00d9ff; }
html body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button {
 box-sizing: border-box; max-width: 100%; order: 2; flex: 0 0 auto; float: none; display: inline-flex; align-items: center; justify-content: center;
 min-height: 44px; margin: 0 0 0 auto; padding: 11px 22px; border: 1px solid #00d9ff;
 border-radius: 5px; background: #087cff; color: #fff; font: 700 15px/1.4 Play, sans-serif;
 text-decoration: none; text-align: center; white-space: normal; box-shadow: none;
}
html body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button:hover { background: #0065d9; color: #fff; }
html body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button:focus-visible { outline: 2px solid #00d9ff; outline-offset: 3px; }
@media (max-width: 600px) {
 html body.single-product .woocommerce-notices-wrapper:has(> .woocommerce-message) { margin-top: 16px; }
 html body.single-product .woocommerce-notices-wrapper .woocommerce-message {
  flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 16px 16px 46px; font-size: 14px;
 }
 html body.single-product .woocommerce-notices-wrapper .woocommerce-message::before { top: 18px; left: 15px; }
 html body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button { width: 100%; margin: 0; }
}
/* Allow focused AJAX feedback to clear the sticky product header. */
html body.single-product .woocommerce-notices-wrapper .woocommerce-message { scroll-margin-top: 150px; }
