.tf-pricetable,
.tf-pricetable .header-price,
.tf-pricetable .price-type,
.tf-pricetable .price,
.tf-pricetable .title,
.tf-pricetable .number-order,
.tf-pricetable .wrap-icon svg,
.tf-pricetable .wrap-icon i,
.tf-pricetable .text,
.tf-pricetable .time {
    text-decoration: none;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.tf-pricetable {
    background: #ffffff;
    box-shadow: 0px 10px 70px rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    padding: 60px 50px 50px;
    overflow: hidden;
    position: relative;
}

.tf-pricetable::after {
    position: absolute;
    content: "";
    height: 4px;
    width: 100%;
    background: #010c2a;
    top: 0;
    left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 0;
}

.tf-pricetable.setactive::after,
.tf-pricetable:hover::after {
    height: 100%;
}

.tf-pricetable .content-price {
    position: relative;
    z-index: 1;
    padding-left: 15px;
    margin-bottom: 23px;
}

.tf-pricetable .content-price .price-type {
    position: absolute;
    top: -6px;
    left: 0;
    z-index: 1;
}

.tf-pricetable .content-price .price {
    margin-right: 4px;
}

.tf-pricetable .title {
    margin-bottom: 25px;
}

.tf-pricetable .badge-sale {
    position: absolute;
    top: -8px;
    right: -45px;
    transform: rotate(45deg);
    background: var(--theme-accent-color);
    color: #fff;
    padding: 26px 40px 10px;
    text-align: center;
    font-family: "Roboto Slab";
    font-weight: 500;
    font-size: 14px;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 5;
}

.tf-pricetable.setactive .badge-sale,
.tf-pricetable:hover .badge-sale {
    opacity: 1;
}
.tf-pricetable .content-list,
.tf-pricetable .header-price {
    position: relative;
    z-index: 1;
}

.tf-pricetable .header-price .icon {
    position: relative;
    padding-left: 15px;
    margin-bottom: 25px;
}

.tf-pricetable .header-price .icon .icon-1 i {
    font-size: 50px;
    color: var(--theme-accent-color);
}

.tf-pricetable .header-price .icon .icon-2 i {
    font-size: 60px;
    color: rgba(0, 176, 252, 0.1);
}

.tf-pricetable .header-price .icon .icon-2 {
    position: absolute;
    bottom: 0;
    left: 0;
}

.tf-pricetable .header-price .title {
    position: relative;
    display: inline-block;
    padding-right: 30px;
}

.tf-pricetable .header-price .title:after {
    content: "";
    position: absolute;
    left: 100%;
    width: 130px;
    height: 1px;
    background: #e8e8e9;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.tf-pricetable.setactive .header-price .title:after,
.tf-pricetable:hover .header-price .title:after {
    background: #494a4d;
}

.tf-pricetable .content-list {
    margin-bottom: 21px;
}

.tf-pricetable .wrap-button a {
    display: inline-block;
    padding: 18px 0px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(90deg, var(--theme-accent-color) 0%, var(--theme-secondary-color) 100%);
}

.tf-pricetable .wrap-button a:hover {
    color: #ffffff;
}
.tf-pricetable .wrap-button a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--theme-accent-color);
    clip-path: polygon(0 0, 100% 99%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 99%, 0 100%);
    transform: translateX(-100%);
    z-index: -1;
    transition: 0.3s ease-in-out;
    box-sizing: border-box;
}

.tf-pricetable .wrap-button a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0px;
    background-color: var(--theme-accent-color);
    clip-path: polygon(0 0, 100% 0, 99% 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 99% 100%);
    transform: translateX(100%);
    transition: 0.3s ease-in-out;
    z-index: -1;
    box-sizing: border-box;
}

.tf-pricetable .wrap-button a:hover:before {
    transform: translateX(0%);
    -webkit-transform: scale(2);
    -ms-transform: scale(2);
    transform: scale(2);
}
.tf-pricetable .wrap-button a:hover::after {
    transform: translateX(0%);
    -webkit-transform: scale(2);
    -ms-transform: scale(2);
    transform: scale(2);
}

.tf-pricetable.setactive .time,
.tf-pricetable.setactive .price,
.tf-pricetable.setactive .price-type {
    color: #fff;
}

.tf-pricetable.setactive .text {
    color: #E8E8E9;
}

/* style 2 */
.tf-pricetable.style2 {
    padding: 48px 42px 40px;
}

.tf-pricetable.style2 .header-price .icon {
    margin-bottom: 16px;
}

.tf-pricetable.style2 .content-price .price {
    margin-right: 0px;
}

.tf-pricetable.style2 .wrap-button a {
    padding: 13px 0px;
}

@media only screen and (max-width: 991px) {
    .tf-pricetable.style2,
    .tf-pricetable {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .tf-pricetable.style2,
    .tf-pricetable {
        padding-left: 50px;
        padding-right: 50px;
    }
}
