.gw-stock-notify-cart-active { display:inline-flex !important; align-items:center; justify-content:center; width:calc(50% - 6px) !important; vertical-align:top; }
#gw-stock-notify { display:inline-flex; width:calc(50% - 6px); min-width:0; max-width:100%; margin-inline-start:8px; vertical-align:top; box-sizing:border-box; }
#gw-stock-notify[hidden], #gw-stock-notify-message[hidden] { display:none !important; }
#gw-stock-notify > .gw-stock-notify-button { display:block; width:100%; height:var(--gw-stock-notify-height,45px); min-height:42px; min-width:0; margin:0; padding:0 14px; box-sizing:border-box; border:1px solid var(--gw-stock-notify-accent,#333); border-radius:var(--gw-stock-notify-radius,3px); color:#fff; background:var(--gw-stock-notify-accent,#333); box-shadow:0 2px 5px rgba(0,0,0,.14); font-family:inherit; font-size:var(--gw-stock-notify-font-size,14px); font-weight:600; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:center; cursor:pointer; }
#gw-stock-notify > .gw-stock-notify-button::before { content:'\2709'; display:inline; margin-inline-end:7px; font-family:Arial,sans-serif; }
#gw-stock-notify > .gw-stock-notify-button:hover { filter:brightness(1.12); }
#gw-stock-notify > .gw-stock-notify-button:focus-visible { outline:2px solid var(--gw-stock-notify-accent,#333); outline-offset:3px; }
#gw-stock-notify > .gw-stock-notify-button:disabled { opacity:.6; cursor:default; }
#gw-stock-notify-message { display:block; width:100%; flex:0 0 100%; clear:both; margin-top:8px; color:#666; font-size:13px; line-height:1.6; overflow-wrap:anywhere; box-sizing:border-box; }
#gw-stock-notify.gw-stock-notify-registered > .gw-stock-notify-button { background:#28613e; border-color:#28613e; }
#gw-stock-notify-message[data-kind="success"] { background:#edf8f1; color:#235335; border-inline-start:3px solid #34804f; padding:8px 10px; border-radius:3px; }
#gw-stock-notify-message[data-kind="error"] { background:#fff1f0; color:#9b2923; border-inline-start:3px solid #bd3d36; padding:8px 10px; border-radius:3px; }
.gw-stock-notify-option-required { outline:2px solid #bd3d36; outline-offset:5px; }
/* Journal3's fixed-width extra buttons must have their own row while the alert is visible. */
.stepper-group.cart-group.gw-stock-notify-journal-layout { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch !important; column-gap:10px; row-gap:10px; width:100%; min-width:0; }
.stepper-group.cart-group.gw-stock-notify-journal-layout.gw-stock-notify-has-stepper { grid-template-columns:60px minmax(0,1fr) minmax(0,1fr); }
.stepper-group.cart-group.gw-stock-notify-journal-layout > .stepper { width:60px; min-width:0; max-width:60px; margin:0; }
.stepper-group.cart-group.gw-stock-notify-journal-layout > .gw-stock-notify-cart-active { display:flex !important; width:100% !important; min-width:0; margin:0; }
.stepper-group.cart-group.gw-stock-notify-journal-layout > #gw-stock-notify { display:flex; width:auto; min-width:0; margin:0; }
.stepper-group.cart-group.gw-stock-notify-journal-layout > .extra-group { grid-column:1 / -1; width:100%; min-width:0; max-width:100%; margin:0; }
.stepper-group.cart-group.gw-stock-notify-journal-layout > .extra-group > .btn { flex:1 1 0; width:auto; min-width:0; max-width:100%; }
.stepper-group.cart-group.gw-stock-notify-journal-layout > #gw-stock-notify-message { grid-column:1 / -1; width:100%; min-width:0; margin:0; }
@media (max-width:360px) {
 .stepper-group.cart-group.gw-stock-notify-journal-layout { column-gap:8px; }
 .stepper-group.cart-group.gw-stock-notify-journal-layout.gw-stock-notify-has-stepper { grid-template-columns:52px minmax(0,1fr) minmax(0,1fr); }
 .stepper-group.cart-group.gw-stock-notify-journal-layout > .stepper { width:52px; max-width:52px; }
 .stepper-group.cart-group.gw-stock-notify-journal-layout > .gw-stock-notify-cart-active { padding-inline:6px; }
 #gw-stock-notify > .gw-stock-notify-button { padding-inline:6px; }
 #gw-stock-notify > .gw-stock-notify-button::before { font-size:12px; margin-inline-end:5px; }
}
