/* =====================================================
   TCP Pricing Table
===================================================== */

.tcp-pricing-wrapper{
    width:100%;
}

.tcp-pricing-wrapper .pricing-table{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
}

.tcp-pricing-wrapper .ptable-item{
    flex:1;
    min-width:260px;
    max-width:320px;
}

/* Card */

.tcp-pricing-wrapper .ptable-single{
    background:var(--box-bg);
    box-shadow:var(--shadow);
    overflow:hidden;
    position:relative;
    height:100%;
    transition:.35s ease;
}

/* Header */

.tcp-pricing-wrapper .ptable-header{
    position:relative;
    text-align:center;
    padding:35px 20px 55px;
    color:#fff;

    clip-path:polygon(
        0 0,
        100% 0,
        100% 82%,
        50% 100%,
        0 82%
    );
}

/* Title */

.tcp-pricing-wrapper .ptable-title h2{
    margin:0;
    color:var(--title-color);
    font-size:22px;
    font-weight:600;
}

/* Price */

.tcp-pricing-wrapper .ptable-price{
    margin-top:18px;
}

.tcp-pricing-wrapper .ptable-price h2{
    margin:0;
    color:var(--price-color);
    font-size:42px;
    font-weight:700;
    display: inline-flex;
}

.tcp-pricing-wrapper .ptable-price small{
    font-size:18px;
    vertical-align:top;
    margin-right:3px;
}

.tcp-pricing-wrapper .ptable-price span{
    display:block;
    margin-top:8px;
    font-size:14px;
    font-weight:400;
}

/* Badge */

.tcp-pricing-wrapper .ptable-status{
    position:absolute;
    top:15px;
    right:15px;
}

.tcp-pricing-wrapper .ptable-status span{
    display:inline-block;
    background:var(--badge-bg);
    color:var(--badge-color);
    padding:6px 14px;
    font-size:12px;
    font-weight:600;
    border-radius:30px;
    text-transform:uppercase;
}

/* Body */

.tcp-pricing-wrapper .ptable-body{
    padding:35px 25px 15px;
    background:var(--box-bg);
}

/* Features */

.tcp-pricing-wrapper .ptable-description ul{
    margin:0;
    padding:0;
    list-style:none;
}

.tcp-pricing-wrapper .ptable-description li{
    padding:12px 0;
    text-align:center;
    border-bottom:1px solid rgba(0,0,0,.08);
    color:var(--feature-color);
    font-size:15px;
}

.tcp-pricing-wrapper .ptable-description li:last-child{
    border-bottom:none;
}

/* Footer */

.tcp-pricing-wrapper .ptable-footer{
    background:var(--box-bg);
    padding:25px;
    text-align:center;
}

/* Button */

.tcp-pricing-wrapper .tcp-plan-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:160px;
    padding:12px 30px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

/* Hover */

.tcp-pricing-wrapper .ptable-single:hover{
    transform:translateY(-10px);
}

.tcp-pricing-wrapper .featured-item .ptable-single{
    transform:scale(1.04);
}

.tcp-pricing-wrapper .featured-item .ptable-single:hover{
    transform:scale(1.04) translateY(-10px);
}

/* Mobile */

@media (max-width:768px){

    .tcp-pricing-wrapper .pricing-table{
        flex-direction:column;
        align-items:center;
    }

    .tcp-pricing-wrapper .ptable-item{
        width:100%;
        max-width:360px;
    }

}