.pay-box {
    overflow: hidden;
    padding: 2px;
}
.pay-box .head {
    background: url("https://static.ppkao.com/www/images/bg-pay.png") no-repeat;
    width: 100%;
    height: 100px;
    background-size: 100% 100%;
    position: relative;
}
.pay-box .head img {
    position: absolute;
    top: 10px;
    left: 2px;
}
.pay-box .qrcode-box {
    transition: all 0.4s;
    background: var(--bg-color);
    border: 1px solid var(--border-2-color);
    box-shadow: 0 2px 6px 0 rgba(228, 215, 215, 0);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pay-box .pay-box {

}
.pay-box .head .discount_time {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: flex-end;
    position: absolute;
    left: 10px;
    bottom: 10px;
}
.pay-box .head .discount_time span {
    display: block;
    color: #f5e507;
    font-size: 24px;
    text-shadow: 1px 1px 8px #f54340;
}
.pay-box .tips {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
}
.pay-box .tips .p1 {
    color: var(--p1-color);
    font-size: 16px;
}
.pay-box .tips .price {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pay-box .tips .price .original-price {
    color: var(--title-color);
    font-size: 20px;
    font-weight: 600;
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: inline-block;
    opacity: 1;
}
.pay-box .tips .price .discount-price {
    color: var(--title-color);
    font-size: 24px;
    font-weight: 600;
    transform: scale(0.1);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
    transition-delay: 0.3s;
    display: inline-block;
    position: absolute;
}
.pay-box .tips .show-discount .original-price {
    color: var(--orig-color);
    font-size: 14px;
    transform: translate(-84px, 3px) scale(0.8);
    opacity: 0.6;
}
.pay-box .tips .show-discount .original-price span:last-child {
    text-decoration: line-through;
}
.pay-box .tips .show-discount .discount-price {
    opacity: 1;
    transform: scale(1);
}
.pay-box .tips .p3 {
    color: #a5a5a5;
    font-size: 14px;
}
.pay-box .body {
    border-radius: 10px;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}
.pay-box .body .description {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.pay-box .body .description .circle {
    padding: 6px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: moveLeftRight 1.5s infinite alternate;
}
.pay-box .body .description .triangle {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 7px solid #ff5655;
}
.pay-box .body .description span {
    writing-mode: vertical-rl;
    color: #ff5655;
    font-size: 14px;
    font-weight: 600;
    padding: 0 6px;
}
.pay-box .body .qrcode-pay-box {
    transition: all .4s;
    background: var(--bg-color);
    border: 1px solid var(--border-2-color);
    pay-box-shadow: 0 2px 6px 0 rgba(228, 215, 215, 0);
    font-size: 14px;
}
.pay-box .body .qrcode-pay-box .qrcode-img {
    width: 200px;
    height: 200px;
    transition: all .4s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pay-box .body .qrcode-pay-box .qrcode-img .qrcode {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}
.pay-box .body .qrcode-pay-box .qrcode-img .icon {
    width: 32px;
    position: absolute;
    z-index: 2;
    transition: all .4s;
}
.pay-box .body .qrcode-pay-box .pay-footer {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 6px;
    justify-content: center;
}
.pay-box .body .qrcode-pay-box .pay-footer img {
    width: 30px;
    transition: all .4s;
}
.pay-box .body .qrcode-pay-box .pay-footer p {
    color: var(--primary-text-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    margin-left: 12px;
    transition: all .4s;
}
.btn {
    padding: 10px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.btn button {
    border: 1px solid #ff5655;
    font-weight: 600;
    background: #fff3f3;
    border-radius: 5px;
    color: #ff5655;
    font-size: 16px;
    padding: 10px;
    width: 100%;
    height: 50px;
}
.btn button span {
    margin-left: 10px;
}
.btn .kf-btn {
    cursor: pointer;
    color: var(--primary-text-color);
    font-size: 14px;
    text-decoration-line: underline;
    margin-top: 10px;
}
@keyframes swing {
    20% {
        transform: rotate(4deg);
    }
    40% {
        transform: rotate(-2deg);
    }
    60% {
        transform: rotate(0deg);
    }
    80% {
        transform: rotate(-2deg);
    }
    to {
        transform: rotate(0deg);
    }
}
.animated {
    transform-origin: top center;
    animation: swing 1s infinite;
}
@keyframes moveLeftRight {
    0% {
        transform: translateX(4px);
    }
    100% {
        transform: translateX(-2px);
    }
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.show-desc .qrcode-img {
    width: 150px !important;
    height: 150px !important;
}
.show-desc .icon {
    width: 26px !important;
}
.show-desc .pay-footer img {
    width: 26px !important;
}
.show-desc .pay-footer p {
    font-size: 12px !important;
    margin-left: 8px !important;
}
.hide-table {
    max-width: 0 !important;
}
.desc-table {
    align-self: flex-start;
    max-width: 50%;
    transition: max-width .3s;
    overflow: hidden;
    max-height: 250px;
}
.desc-table .table-pay-box {
    display: flex;
    flex-direction: column;
    padding: 0 14px;
    text-align: justify;
    color: #657180;
    font-size: 12px;
    line-height: 16px;
}
.desc-table .table-pay-box p {
    padding: 6px 0;
    font-size: 12px;
}
.desc-table .table-pay-box p:nth-child(1) {
    padding-top: 0;
}
.desc-table .table-pay-box table {
    width: 100%;
    border: 1px solid #C7C7C7;
    border-top: 0;
    border-right: 0;
}
.desc-table .table-pay-box table th {
    vertical-align: middle;
    background-color: #9AA7B8;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid #C7C7C7;
    border-right: 1px solid #C7C7C7;
    padding: 2px 0;
}
.desc-table .table-pay-box table td {
    text-align: center;
    color: var(--primary-text-color);
    font-size: 12px;
    border-right: 1px solid #C7C7C7;
    border-bottom: 1px solid #C7C7C7;
    padding: 4px;
}
.kf-pay-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.kf-pay-box img {
    width: 120px;
}
.kf-pay-box span {
    text-align: center;
    margin-top: 6px;
    color: var(--title-color);
}
.timeout-pay-box {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    backdrop-filter: blur(4px);
    filter: blur(.6);
    text-align: center;
    color: var(--primary-text-color);
    font-size: 16px;
    font-weight: 600;
    background: hsla(0, 0%, 100%, .6);
}
.timeout-pay-box svg {
    background-color: #fff;
    width: 2em;
    fill: #ff5655;
    border-radius: 50%;
    overflow: hidden;
}
.table-box {
    display: flex;
    flex-direction: column;
    padding: 0 14px;
    text-align: justify;
    color: #657180;
    font-size: 12px;
    line-height: 16px;
}

.table-box p {
    padding: 6px 0;
    font-size: 12px;
}

.table-box p:nth-child(1) {
    padding-top: 0;
}

.table-box table {
    width: 100%;
    border: 1px solid #C7C7C7;
    border-top: 0;
    border-right: 0;
}

.table-box th {
    vertical-align: middle;
    background-color: #9AA7B8;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid #C7C7C7;
    border-right: 1px solid #C7C7C7;
    padding: 2px 0;
}

.table-box td {
    text-align: center;
    color: var(--primary-text-color);
    font-size: 12px;
    border-right: 1px solid #C7C7C7;
    border-bottom: 1px solid #C7C7C7;
    padding: 4px;
}
.query-pay-loading {
    cursor: not-allowed;
}
.query-pay-loading img {
    animation: rotate 0.6s linear infinite;
}
