/* WW Back In Stock — Frontend styles v1.1 */

.wwbis-wrap {
    margin: 20px 0;
}

.wwbis-divider {
    border-top: 1px solid #e0e0e0;
    margin-bottom: 16px;
}

.wwbis-label {
    font-size: 14px;
    color: #555;
    margin: 0 0 12px;
}

.wwbis-form {
    margin: 0;
}

.wwbis-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Row with two equal fields */
.wwbis-row-two {
    display: flex;
    gap: 8px;
}

.wwbis-row-two input {
    flex: 1 1 0;
    min-width: 0;
}

/* Row with email + button */
.wwbis-row-submit {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.wwbis-row-submit .wwbis-email {
    flex: 1 1 180px;
    min-width: 0;
}

/* Shared input styles */
.wwbis-name,
.wwbis-phone,
.wwbis-email {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
    transition: border-color .15s;
    box-sizing: border-box;
    width: 100%;
}

.wwbis-name:focus,
.wwbis-phone:focus,
.wwbis-email:focus {
    border-color: #1a1a1a;
}

.wwbis-btn {
    flex: 0 0 auto;
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: background .15s, opacity .15s;
    white-space: nowrap;
}

.wwbis-btn:hover {
    background: #333;
}

.wwbis-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.wwbis-message {
    margin-top: 10px;
    font-size: 13px;
    min-height: 1em;
    line-height: 1.5;
}

.wwbis-message.wwbis-success {
    color: #2d7a2d;
}

.wwbis-message.wwbis-error {
    color: #c0392b;
}

@media (max-width: 520px) {
    .wwbis-row-two,
    .wwbis-row-submit {
        flex-direction: column;
    }
    .wwbis-btn {
        width: 100%;
        text-align: center;
    }
}
