/**
 * B2B-Stammkunden-Matrix – Frontend Styles
 *
 * Apple-Style, BEM naming convention.
 * @package WooReadyDEB2B\Modules\B2BMatrix
 */

/* ── Login Protection Notice ──────────────────────────────────────────────── */

.wooready-b2b-login-notice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F5F5F7;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #86868B;
    line-height: 1.4;
}

.wooready-b2b-login-notice a {
    color: #AF52DE;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wooready-b2b-login-notice a:hover {
    color: #8E44AD;
    text-decoration: underline;
}

/* ── Savings Badge ────────────────────────────────────────────────────────── */

.wooready-b2b-savings {
    display: block;
    margin-top: 4px;
    padding: 4px 10px;
    background: #AF52DE14;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #AF52DE;
    line-height: 1.5;
}

.wooready-b2b-savings__percent {
    font-weight: 400;
    opacity: 0.8;
}

/* ── UVP (dual mode) ─────────────────────────────────────────────────────── */

.wooready-b2b-uvp {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    color: #86868B;
    line-height: 1.4;
}

.wooready-b2b-uvp del {
    opacity: 0.7;
}

.wooready-b2b-uvp__label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

/* ── B2B Price Badge (Elementor Widget) ───────────────────────────────────── */

.wooready-b2b-price-widget {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wooready-b2b-price-widget__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #AF52DE;
}

.wooready-b2b-price-widget__price {
    font-size: 24px;
    font-weight: 700;
    color: #1D1D1F;
    line-height: 1.2;
}

.wooready-b2b-price-widget__regular {
    font-size: 14px;
    color: #86868B;
}

.wooready-b2b-price-widget__regular del {
    opacity: 0.7;
}

.wooready-b2b-price-widget__savings {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #AF52DE14;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #AF52DE;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .wooready-b2b-login-notice {
        padding: 6px 12px;
        font-size: 13px;
    }

    .wooready-b2b-price-widget__price {
        font-size: 20px;
    }
}

/* ── Reduced Motion ───────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .wooready-b2b-login-notice a {
        transition: none;
    }
}
