/* ==========================================================================
   Newsletter Form — high-specificity overrides for Woodmart theme
   ========================================================================== */

.wc-newsletter-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.wc-newsletter-form {
    width: 100%;
    max-width: 480px;
}

/* Pill outer container */
.wc-newsletter-form .wc-newsletter-field {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #000 !important;
    border-radius: 100px !important;
    background: #fff !important;
    padding: 0px 0px 0px 22px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

/* Email input */
.wc-newsletter-form .wc-newsletter-input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #111 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    min-width: 0 !important;
    height: 38px !important;
    line-height: 38px !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    width: auto !important;
}

.wc-newsletter-form .wc-newsletter-input::placeholder {
    color: #999 !important;
    font-weight: 400 !important;
}

/* JOIN button — solid black pill */
.wc-newsletter-form .wc-newsletter-btn,
.wc-newsletter-form .wc-newsletter-btn:not(.added),
body .wc-newsletter-form .wc-newsletter-btn {
    flex-shrink: 0 !important;
    background: #111 !important;
    background-color: #111 !important;
    color: #fff !important;
    border: none !important;
    border-bottom-right-radius: 100px !important;
    border-top-right-radius: 100px !important;

    padding: 0 28px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    font-family: inherit !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background-color 0.2s ease !important;
    margin: 0 !important;
    width: auto !important;
    min-width: 0 !important;
}

.wc-newsletter-form .wc-newsletter-btn:hover,
body .wc-newsletter-form .wc-newsletter-btn:hover {
    background: #2c2c2c !important;
    background-color: #2c2c2c !important;
    color: #fff !important;
}

.wc-newsletter-form .wc-newsletter-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Messages */
.wc-newsletter-msg {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
    min-height: 1.4em;
    padding: 0 4px;
}

.wc-newsletter-msg.success {
    color: #2d7a2d;
}

.wc-newsletter-msg.error {
    color: #c0392b;
}
