/* ===== CPSA Stock Alert — Responsive CSS ===== */

.cpsa-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.cpsa-label {
    color: #dd3333;
    font-size: 12px;
    margin-bottom: 8px;
}

/* Row: flex wrap so it stacks on small screens */
.cpsa-row{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:8px;
    width:100%;
}

.cpsa-email {
    flex:1 1 auto;
    min-width:0;
    width:auto;
    padding:8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.cpsa-submit {
    flex: 0 0 auto;
    width:auto;
    padding: 9px 14px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}

.cpsa-submit:hover {
    background: #cb0201 !important;
    color: #ffffff !important;
}

/* Mobile: full width both */
@media (max-width: 480px) {
   .cpsa-row{
        flex-wrap:nowrap;
        gap:6px;
    }

    .cpsa-email{
        flex:1;
        width:auto;
        padding:8px 10px;
    }

    .cpsa-submit{
        width:auto;
        padding:8px 12px;
        font-size:11px;
        letter-spacing:.5px;
    }
}

.cpsa-message {
    margin-top: 8px;
    font-size: 14px;
    color: #000000;
}

.cpsa-unsubscribe {
    margin-top: 10px;
    background: #000000;
    color: #ffffff;
    padding: 7px 14px;
    font-size: 14px;
    border: 1px solid #fbfbfb;
    border-radius: 2px;
    cursor: pointer;
    display: none;
    width: 100%;
    box-sizing: border-box;
}