/**
 * Matches the theme's .primary_btn recipe (banner.css:178) using the theme's
 * own CSS variables, without inheriting .cart button float/width !importants.
 */

.stock-alerts-box {
    clear: both;
    width: 100%;
    margin: 18px 0 6px;
}

.stock-alerts-prompt {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.5;
}

.woocommerce button.stock-alerts-btn,
button.stock-alerts-btn {
    min-width: 173px;
    padding: 14px 30px;
    border: 1px solid var(--yellow, #f5e6a8);
    border-radius: 30px;
    background: var(--yellow, #f5e6a8);
    color: var(--black, #000);
    font-family: var(--sen, inherit);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Same hover as the ADD TO CART button it sits beside (banner.css:676). */
.woocommerce button.stock-alerts-btn:hover,
button.stock-alerts-btn:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* Theme strips focus outlines; keep a visible ring for keyboard users. */
button.stock-alerts-btn:focus-visible {
    outline: 2px solid var(--black, #000);
    outline-offset: 2px;
}

button.stock-alerts-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.stock-alerts-msg {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}
