* { box-sizing: border-box; }

body {
    margin: 0;
    color: #202833;
    background: #fff;
    font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.stock-notification { padding: clamp(18px, 6.5vw, 30px); border-top: 4px solid #f37021; }
.stock-notification h1 {
    margin: 12px 0 6px;
    font-size: clamp(23px, 6.2vw, 30px);
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.stock-notification p { margin: 0; color: #506071; overflow-wrap: anywhere; }
.stock-notification__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 100px;
    background: #fff0e4;
    color: #874216;
    font-size: 12px;
    font-weight: 700;
}
.stock-notification__badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.stock-notification__badge--success { background: #e8f5ed; color: #176039; }

.stock-notification__product {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    padding: 10px 12px;
    border: 1px solid #e4e9ee;
    border-radius: 12px;
    background: #f7f9fa;
}
.stock-notification__product img {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid #e6e9ec;
    border-radius: 8px;
    background: #fff;
}
.stock-notification__product div { min-width: 0; overflow-wrap: anywhere; }
.stock-notification__product strong { display: block; font-size: 14px; line-height: 1.35; }
.stock-notification__product small { display: block; margin-top: 3px; color: #506071; font-size: 12px; }

.stock-notification label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 650; }
.stock-notification input[type="email"] {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid #aebbc8;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 16px;
}
.stock-notification input[aria-invalid="true"] { border-color: #9b2e2e; }
.stock-notification .stock-notification__error { margin-top: 5px; color: #9b2e2e; font-size: 13px; }
.stock-notification__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #ab4309;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.stock-notification__button:hover { background: #8f3606; }
.stock-notification :is(input, .stock-notification__button):focus-visible { outline: 2px solid #a2400b; outline-offset: 2px; }
.stock-notification .stock-notification__note { margin-top: 8px; font-size: 12px; }
