/* ============================================================
   SWPM WooCommerce — Frontend
   ============================================================ */

/* Badges produto */
.swpm-woo-membership-badge {
    display: inline-flex;
    align-items: center;
    background: #f0f6ff;
    border: 1px solid #0073aa;
    border-radius: 4px;
    padding: 8px 14px;
    margin: 10px 0;
    font-size: 14px;
}
.swpm-woo-already-member {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 10px 16px;
    margin: 10px 0;
    color: #155724;
}
.swpm-woo-access-list { list-style: none; padding: 0; }
.swpm-woo-access-list li { padding: 8px 0; border-bottom: 1px solid #eee; }
.swpm-woo-access-list li::before { content: "✓ "; color: #0073aa; font-weight: bold; }

/* Botão guardar (fixo no ecrã) */
#swpmSaveBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}
#swpmSaveBtnInner {
    background: #fff;
    color: #333;
    border: 2px solid #0073aa;
    border-radius: 30px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    transition: all .2s;
}
#swpmSaveBtnInner.is-saved {
    background: #0073aa;
    color: #fff;
}
#swpmSaveBtnInner:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }

/* Botões de pagamento */
.swpm-woo-payment-button-wrap { padding: 8px 0; }
.swpm-woo-buy-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.swpm-woo-buy-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    text-decoration: none !important;
}
.swpm-woo-login-link {
    display: inline-block;
    padding: 8px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
.swpm-woo-not-logged {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 12px 16px;
    color: #856404;
}