.sp-stock-alert {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(254, 94, 34, .24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 247, 242, .96), rgba(255,255,255,.98));
    box-shadow: 0 14px 34px rgba(35, 37, 78, .05);
    direction: rtl;
    scroll-margin-top: 120px;
}

.sp-stock-alert::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(254, 94, 34, .06);
    transform: translate(-45%, -45%);
    pointer-events: none;
}

.sp-stock-alert__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff;
    color: var(--color-primary, #fe5e22);
    border: 1px solid rgba(254, 94, 34, .18);
    box-shadow: 0 8px 20px rgba(254, 94, 34, .10);
}

.sp-stock-alert__icon svg,
.sp-stock-alert__field button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sp-stock-alert__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-stock-alert__eyebrow {
    color: var(--color-primary, #fe5e22);
    font-size: 11px;
    font-weight: 800;
}

.sp-stock-alert__copy strong {
    color: #23254e;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.6;
}

.sp-stock-alert__copy p {
    margin: 0;
    color: #777d89;
    font-size: 11px;
    line-height: 1.9;
}

.sp-stock-alert__form {
    grid-column: 1 / -1;
    margin-top: 2px;
}

.sp-stock-alert__field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 8px;
}

.sp-stock-alert__field input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #e2e5ea;
    border-radius: 13px;
    background: #fff;
    color: #23254e;
    font: inherit;
    font-size: 13px;
    outline: 0;
    direction: ltr;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sp-stock-alert__field input:focus {
    border-color: rgba(254, 94, 34, .58);
    box-shadow: 0 0 0 4px rgba(254, 94, 34, .08);
}

.sp-stock-alert__field button {
    height: 48px;
    border: 0;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    background: var(--color-primary, #fe5e22);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(254, 94, 34, .18);
}

.sp-stock-alert__field button svg {
    width: 18px;
    height: 18px;
}

.sp-stock-alert__field button:disabled {
    opacity: .68;
    cursor: wait;
}

.sp-stock-alert__feedback {
    min-height: 18px;
    margin: 7px 2px 0;
    color: #727886;
    font-size: 10px;
    line-height: 1.7;
}

.sp-stock-alert__feedback.is-success {
    color: #159a63;
    font-weight: 800;
}

.sp-stock-alert__feedback.is-error {
    color: #d84a4a;
    font-weight: 800;
}

.sp-stock-alert.is-subscribed {
    border-color: rgba(21, 154, 99, .30);
    background: linear-gradient(135deg, rgba(244, 253, 249, .98), #fff);
}

@media (max-width: 520px) {
    .sp-stock-alert {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
        border-radius: 17px;
    }

    .sp-stock-alert__icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .sp-stock-alert__copy strong {
        font-size: 14px;
    }

    .sp-stock-alert__field {
        grid-template-columns: 1fr;
    }

    .sp-stock-alert__field button,
    .sp-stock-alert__field input {
        height: 46px;
    }
}
