@charset "UTF-8";
:root {
    --pc-position-y: 0;
    --pc-position-x: 0;
    --pc-position-z: 99;
    --mobile-position-y: 0;
    --mobile-position-x: 0;
    --mobile-position-z: 99;
}

.floating-button-box {
    position: fixed;
    right: calc(var(--pc-position-x) * 1px);
    bottom: calc(var(--pc-position-y) * 1px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: var(--pc-position-z);
    width: 40px;
    overflow: hidden;
}

.button-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: auto;
    transition: all 0.4s cubic-bezier(0, 0, 0, 1);
    overflow: hidden;
    opacity: 1;
}

.button-box > div,
.fold-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    width: 100%;
    height: 40px;
    min-height: 40px;
    border-radius: 50%;
}

.button-box > div > a {
    display: contents;
}

.floating-button-box img {
    max-width: 100%;
    max-height: 100%;
}

.button-box > div img {
    opacity: 0.9;
}

.cart-btn .cartcoln {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial;
    color: #3200f9;
    font-weight: bold;
    font-style: normal;
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

.floating-button-box a i {
    font-size: 28px;
    color: #ffffff;
}

.change_lang_box {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 21;
}

.change_lang_box > div {
    position: relative;
    background-color: #fff;
    width: 80%;
    max-width: 600px;
    padding: 25px 15px 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 20px;
}

.phone-number-box {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 21;
}

.phone-number-box > div {
    position: relative;
    background-color: #fff;
    width: 80%;
    max-width: 600px;
    padding: 25px 15px 20px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 24px;
}

.chat-type-box {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100vh;
    z-index: 101;
    display: none;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
}

.chat-type,
.close-chat-type-btn {
    display: flex;
    margin: 0 5px 15px 5px;
    width: 96%;
    max-width: 768px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 10px;
    border-radius: 7px;
    cursor: default;
}

.chat-type {
    height: auto;
    max-height: 50vh;
    padding: 15px 10px 5px 10px;
    overflow: auto;
}

.app {
    text-align: center;
    width: calc(25% - 10px);
    margin: 0 5px 10px 5px;
}

.app a {
    display: block;
    max-width: 100%;
}

.app img {
    max-width: 64px;
    width: 100%;
    height: auto;
}

.app > div {
    margin-top: 5px;
    font-size: 14px;
}

.close-btn {
    text-align: center;
    width: 100%;
    font-size: 18px;
}

.hidden-all-btn-animation {
    max-height: 0 !important;
    opacity: 0;
}

/* 图片闪烁 */
/* Firefox */
@-moz-keyframes breath_flash {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

/* Webkit */
@-webkit-keyframes breath_flash {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

/* IE */
@-ms-keyframes breath_flash {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

/* Opera and prob css3 final iteration */
@keyframes breath_flash {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.img-flash {
    -moz-animation: breath_flash normal 1s infinite ease-in-out;
    /* Firefox */
    -webkit-animation: breath_flash normal 1s infinite ease-in-out;
    /* Webkit */
    -ms-animation: breath_flash normal 1s infinite ease-in-out;
    /* IE */
    animation: breath_flash normal 1s infinite ease-in-out;
    /* Opera and prob css3 final iteration */
}

@media screen and (min-width: 768px) {
    .pc-position-left {
        right: auto;
        left: calc(var(--pc-position-x) * 1px);
    }
}

@media screen and (max-width: 768px) {
    .floating-button-box {
        right: calc(var(--mobile-position-x) * 1px);
        bottom: calc(var(--mobile-position-y) * 1px);
        z-index: var(--mobile-position-z);
    }

    .mobile-position-left {
        right: auto;
        left: calc(var(--mobile-position-x) * 1px);
    }
}
