/* Qwart Restock Notifier – Front-end styles */

#qrn-form-wrapper {
    margin-top: 16px;
}

.qrn-form {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #1a1a1a;
    padding: 20px 22px;
    border-radius: 2px;
}

.qrn-label {
    font-size: 13.5px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 14px;
}

.qrn-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#qrn-email {
    flex: 1;
    min-width: 180px;
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid #d0d0d0;
    border-radius: 2px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    transition: border-color .2s;
}

#qrn-email:focus {
    border-color: #1a1a1a;
}

#qrn-submit {
    height: 42px;
    padding: 0 20px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .1s;
    white-space: nowrap;
}

#qrn-submit:hover {
    background: #333;
}

#qrn-submit:active {
    transform: scale(.98);
}

#qrn-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.qrn-message {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    min-height: 18px;
}

.qrn-message.qrn-success { color: #0a7c4e; }
.qrn-message.qrn-error   { color: #c0392b; }
.qrn-message.qrn-info    { color: #555; }

/* Swatch désactivé sélectionné pour notif */
.variations_form .swatch.qrn-swatch-selected {
    outline: 2px solid #1a1a1a !important;
    outline-offset: 2px !important;
}
