/* ==========================================================
   WC Customer & Business Pricing v2.2.2
   Fully scoped. Does not style WooCommerce/theme globally.
   ========================================================== */

.wccbp-pricing,
.wccbp-pricing * { box-sizing: border-box; }

.wccbp-pricing {
    width: 100%;
    margin: 22px 0 18px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    color: #f5f5f5;
    background:
        radial-gradient(700px 220px at 0% 0%, rgba(238,0,0,.12), transparent 55%),
        radial-gradient(450px 180px at 100% 100%, rgba(238,0,0,.055), transparent 65%),
        linear-gradient(145deg, #121316 0%, #08090b 100%);
    border: 1px solid #2b2d31;
    border-radius: 16px;
    box-shadow:
        0 20px 55px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.025);
}

.wccbp-pricing:before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, transparent, #ee0000 18%, #ee0000 82%, transparent);
    opacity: .9;
}

.wccbp-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 19px;
    border-bottom: 1px solid #24262a;
}

.wccbp-header__title { padding-left: 7px; }

.wccbp-kicker {
    display: block;
    margin-bottom: 6px;
    color: #ff2929;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.wccbp-header h3 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .01em;
}

.wccbp-header p {
    margin: 7px 0 0;
    color: #8e9298;
    font-size: 12px;
    line-height: 1.5;
}

.wccbp-secure {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 11px;
    color: #b8bbc0;
    background: rgba(255,255,255,.025);
    border: 1px solid #292c31;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
}

.wccbp-secure__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ee0000;
    box-shadow: 0 0 10px rgba(238,0,0,.8);
}

.wccbp-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
    margin: 18px 0 12px;
}

.wccbp-tab {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    color: #b9bcc1;
    background: #101114;
    border: 1px solid #292c31;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.wccbp-tab:hover {
    transform: translateY(-1px);
    color: #fff;
    border-color: #4b4e54;
}

.wccbp-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, #f20b0b, #d80000);
    border-color: #ff3030;
    box-shadow: 0 9px 22px rgba(238,0,0,.18);
}

.wccbp-tab__icon {
    font-size: 9px;
    line-height: 1;
    opacity: .95;
}

.wccbp-tiers {
    display: grid;
    gap: 8px;
}

.wccbp-tier-card {
    width: 100%;
    min-height: 67px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    position: relative;
    overflow: hidden;
    color: #f2f2f2;
    text-align: left;
    font-family: inherit;
    background: linear-gradient(90deg, rgba(255,255,255,.018), transparent 55%), #0d0e10;
    border: 1px solid #24262b;
    border-radius: 11px;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.wccbp-tier-card:hover {
    transform: translateY(-1px);
    background: #121316;
    border-color: #484b52;
}

.wccbp-tier-card.is-active {
    background:
        linear-gradient(90deg, rgba(238,0,0,.15), rgba(238,0,0,.025) 62%, transparent),
        #101114;
    border-color: #d90000;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.wccbp-tier-card.is-active:before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    bottom: 13px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: #ee0000;
}

.wccbp-tier-card__left,
.wccbp-tier-card__price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wccbp-tier-card__range {
    color: #f4f4f5;
    font-size: 14px;
    font-weight: 700;
}

.wccbp-tier-card__price {
    align-items: flex-end;
}

.wccbp-tier-card__price strong {
    color: #fff;
    font-size: 17px;
    line-height: 1;
    font-weight: 750;
}

.wccbp-tier-card small {
    color: #858a91;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wccbp-tier-card.is-active .wccbp-tier-card__range,
.wccbp-tier-card.is-active .wccbp-tier-card__price strong {
    color: #fff;
}

.wccbp-summary {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1.25fr;
    align-items: stretch;
    gap: 22px;
    margin-top: 14px;
    padding: 20px 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.025), transparent 55%),
        #111216;
    border: 1px solid #30333a;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.wccbp-summary__item,
.wccbp-summary__total {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.wccbp-summary span {
    color: #8d9197;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.wccbp-summary__item strong {
    color: #f4f4f4;
    font-size: 19px;
    line-height: 1.1;
    font-weight: 750;
    white-space: nowrap;
}

.wccbp-summary__divider {
    width: 1px;
    background: #292b30;
}

.wccbp-summary__total {
    align-items: flex-end;
}

.wccbp-summary__total strong {
    color: #ff3030;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: .005em;
    white-space: nowrap;
}

.wccbp-tier-message {
    margin-top: 10px;
    padding: 10px 12px;
    color: #969aa0;
    background: rgba(255,255,255,.018);
    border: 1px solid #24262a;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.45;
}

.wccbp-tier-message span {
    margin-right: 5px;
    color: #ee0000;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
}

.wccbp-tier-message strong { color: #fff; }

@media (max-width: 680px) {
    .wccbp-pricing {
        padding: 17px;
        border-radius: 13px;
    }

    .wccbp-header {
        display: block;
    }

    .wccbp-secure {
        margin-top: 12px;
    }

    .wccbp-header h3 {
        font-size: 18px;
    }

    .wccbp-tabs {
        gap: 7px;
    }

    .wccbp-tab {
        min-height: 48px;
        padding: 0 8px;
        font-size: 10px;
    }

    .wccbp-summary {
        grid-template-columns: 1fr 1fr;
        gap: 13px;
    }

    .wccbp-summary__divider {
        display: none;
    }

    .wccbp-summary__total {
        grid-column: 1 / -1;
        align-items: flex-start;
        padding-top: 13px;
        border-top: 1px solid #292b30;
    }

    .wccbp-summary__total strong {
        font-size: 23px;
    }
}