.bodes-bis-panel {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    max-width: 680px;
    margin: 22px 0 0;
    padding: 22px;
    gap: 16px;
    border: 1px solid #dfe3ea;
    border-bottom: 3px solid #1736c7;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(20, 35, 60, .07);
}

.bodes-bis-panel[hidden] {
    display: none !important;
}

.bodes-bis-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: #1736c7;
}

.bodes-bis-icon svg {
    width: 23px;
    height: 23px;
}

.bodes-bis-content {
    min-width: 0;
    flex: 1 1 auto;
}

.bodes-bis-overline {
    margin: 0 0 5px !important;
    color: #ff4f2f !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .12em;
    line-height: 1 !important;
}

.bodes-bis-title {
    margin: 0 !important;
    color: #202124 !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.bodes-bis-text {
    margin: 9px 0 15px !important;
    color: #676c73 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.bodes-bis-field-row {
    display: flex;
    gap: 9px;
    align-items: stretch;
}

.bodes-bis-email {
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    flex: 1 1 auto;
    padding: 0 13px;
    border: 1px solid #d7dbe3;
    border-radius: 4px;
    background: #fff;
    color: #202124;
    font-size: 14px;
    outline: none;
}

.bodes-bis-email:focus {
    border-color: #1736c7;
    box-shadow: 0 0 0 1px #1736c7;
}

.bodes-bis-submit {
    box-sizing: border-box !important;
    display: inline-flex !important;
    min-height: 44px !important;
    padding: 0 17px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #1736c7 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer;
}

.bodes-bis-submit:hover {
    background: #102ba8 !important;
    color: #fff !important;
}

.bodes-bis-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.bodes-bis-privacy {
    margin: 9px 0 0 !important;
    color: #7a7f87 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

.bodes-bis-message {
    min-height: 18px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.bodes-bis-message.is-success {
    color: #176b3a;
}

.bodes-bis-message.is-error {
    color: #a32121;
}

@media (max-width: 600px) {
    .bodes-bis-panel {
        padding: 17px;
        gap: 12px;
        flex-direction: column;
    }

    .bodes-bis-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .bodes-bis-title {
        font-size: 20px !important;
    }

    .bodes-bis-field-row {
        flex-direction: column;
    }

    .bodes-bis-submit {
        width: 100%;
    }
}


/* Product-page panel should occupy the normal summary width. */
.single-product .bodes-bis-panel {
    max-width: none;
    margin: 16px 0 4px;
}



/* ----------------------------------------------------------
   BODES Back In Stock 1.0.3
   Archive/shop cards intentionally use WooCommerce native
   out-of-stock action (Latvian: "Lasīt vairāk").
   Subscription UI remains on the single product page only.
   ---------------------------------------------------------- */

