html,
body,
#app,
.wrapper {
    width: 100%;
    height: 100%;
}

body {
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}

body,
input,
textarea,
select {
    font-family: Arial, "microsoft yahei", 微软雅黑, SimHei, 中易黑体,
        sans-serif;
    color: #000;
}

p,
label {
    font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    line-height: 1.5em;
    margin-bottom: 0.8em;
    color: inherit;
}

p {
    font-family: Arial, "microsoft yahei", 微软雅黑, SimHei, 中易黑体,
        sans-serif;
    line-height: 1.5em;
    font-size: 0.875rem;
}

.text-t {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5em;
}

.text-p {
    font-size: 0.875rem;
    line-height: 1.5em;
}

/*img {*/
/*    display: block;*/
/*    border: 0;*/
/*    width: 100%;*/
/*    height: auto;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/

.coverImg,
.productDetail .productImage-main img,
.productDetail .productImage-thumb img,
.tryOn .tryImage-main img {
    -moz-object-fit: cover;
    -webkit-object-fit: cover;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: auto;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    /* overflow: hidden; */
    position: relative;
}

.page-content {
    flex: 1;
    /* overflow: hidden; */
    position: relative;
}

.page-content.withnav {
    padding-bottom: 65px;
}

.page-content > div {
    opacity: 0;
    filter: alpha(opacity=0);
}

.loaded .page-content > div {
    -webkit-transition: all 0.25s ease-in;
    -moz-transition: all 0.25s ease-in;
    -ms-transition: all 0.25s ease-in;
    -o-transition: all 0.25s ease-in;
    transition: all 0.25s ease-in;
    opacity: 1;
    filter: alpha(opacity=100);
}

.loaded .page-content > div:nth-child(1) {
    transition-delay: 0.5s;
}

.loaded .page-content > div:nth-child(2) {
    transition-delay: 1s;
}

.loaded .page-content > div:nth-child(3) {
    transition-delay: 1.5s;
}

.loaded .page-content > div:nth-child(4) {
    transition-delay: 2s;
}

.loaded .page-content > div:nth-child(5) {
    transition-delay: 2.5s;
}

.loaded .page-content > div:nth-child(6) {
    transition-delay: 3s;
}

.loaded .page-content > div:nth-child(7) {
    transition-delay: 3.5s;
}

.loaded .page-content > div:nth-child(8) {
    transition-delay: 4s;
}

.productDetail {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.productDetail .section-t {
    margin: 0;
    padding: 30px 15px;
}

.productDetail .text-t {
    margin: 0;
    padding: 15px;
}

.productDetail .text-p {
    line-height: 1.75em;
    margin: 0;
    padding: 15px;
}

.productDetail .text-tag {
    color: #ceba9a;
    padding-bottom: 0;
}

.productDetail .productImage-main {
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.productDetail .productImage-main:before {
    content: "";
    display: block;
    padding-top: 133.333333%;
}

.productDetail .productImage-main .productImage-title {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    font-size: 1.25rem;
    text-align: center;
}

.productDetail .productImage-main .productImage-colourlist {
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    position: absolute;
    top: 50%;
    right: 15px;
    font-size: 0.6875rem;
    text-align: right;
}

.productDetail .productImage-main .productImage-colourlist .colour-block {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    margin: 5px 0;
}

.productDetail
    .productImage-main
    .productImage-colourlist
    .colour-block
    .colour-point {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    position: relative;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    z-index: 3;
}

.productDetail .productImage-main .productImage-colourlist .colour-block span {
    display: block;
    text-indent: -1000px;
    overflow: hidden;
}

.productDetail
    .productImage-main
    .productImage-colourlist
    .colour-block.active
    .colour-point:before {
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    border: 3px solid #fff;
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    top: 50%;
    left: 50%;
}

.productDetail
    .productImage-main
    .productImage-colourlist
    .colour-block.active
    span {
    text-indent: 0;
}

.productDetail .productImage-list {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 15px 0;
}

.productDetail .productImage-thumb {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    width: 50px;
    margin: 5px;
}

.productDetail .productImage-thumb:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.makeup {
    position: relative;
    text-align: center;
}

.makeup .makeup-img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 2px #979797;
    -moz-box-shadow: 0 0 2px #979797;
    -ms-box-shadow: 0 0 2px #979797;
    box-shadow: 0 0 2px #979797;
    border: 2px solid #fff;
    position: relative;
    overflow: hidden;
    width: 19.2%;
    margin: 0 auto;
}

.makeup .makeup-inner {
    background-color: #f8f8f8;
    margin-top: -9.6%;
    padding: 9.6% 15px 0;
}

.makeup .text-t {
    font-size: 1.125rem;
    padding-top: 35px;
    margin: 0;
}

.makeup .text-p {
    margin: 0;
    padding: 20px 0;
}

.makeup .makeupPlayer {
    margin: 15px 0 30px;
}
.makeupAudio {
    padding: 0 15px;
}

.makeup .makeup-list {
    padding-bottom: 40px;
}

.makeup .makeupAudio {
    margin: 20px 0;
}

.authorization-guide {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    z-index: 9999;
    color: rgba(255, 255, 255, 0.5);
    gap: 18px;
}
.authorization-guide-logo {
    width: 80px;
    height: 128px;
}

.productDetail .section-t + .text-p,
.productDetail .text-t + .text-p,
.productDetail .text-p + .text-p {
    padding-top: 0;
}

.productDetail .productImage-main:before {
    content: none;
}

.footer-social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f3f3;
    border-bottom: 1px solid #eee;
    img {
        width: 60px;
        height: 60px;
        margin: 30px 15px;
    }
}

.wosh {
    position: relative;
    text-align: center;
    padding: 30px 40px 40px;
}
.wosh p {
    padding: 30px 0 35px;
    margin: 0;
}
.wosh .wosh-qr {
    max-width: 400px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.wosh .wosh-qr img {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}
.makeup .makeup-by {
    margin: 20px 0;
}
.top {
    margin: 10px 0;
}
.top .logo {
    width: 40px;
    margin: 0 auto;
}
.bottom-logo {
    margin: 0 auto;
    width: 60px;
}
.icp {
    margin-top: 35px;
}
.icp-link {
    color: black;
    text-decoration: none;
    font-size: 12px;
}

.makeup-avatar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 15px;
}
.makeup-avatar .avatar-nickname {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.makeup-avatar .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 12px;
}
.makeup-avatar .nickname {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}
.nickname-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}
.nickname-wrapper .social-media {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
}
.nickname-wrapper .social-media img {
    width: 20px;
    height: 20px;
    filter: grayscale(1);
}
.nickname-wrapper .social-media img[src*="xiaohongshu"] {
    width: 30px;
    height: 30px;
}
.nickname-wrapper .social-media img[src*="wechat"] {
    width: 20px;
    height: 20px;
}
[class*="social_media_img"] {
    display: none;
}
.makeup-avatar .avatar-product-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: contain;
}

.nfc-content {
    padding: 35px 20px;
    margin: 0 15px;
    font-weight: 300;
    font-size: 15px;
    line-height: 26px;
    color: #333;
    background-color: #f8f8f8;
    margin-bottom: 32px;
}

.video-wrapper {
    margin-bottom: 32px;
    padding: 0 15px;
}

.splide .splide__slide {
    height: 80vw;
    width: 80vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.splide .splide__slide img {
    width: 70vw;
    height: 70vw;
    max-width: 100%;
    /* object-fit: cover; */
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    object-fit: cover;
}
.splide .splide__slide.is-active img {
    transform: scale(1.1);
    transition: all 0.3s linear;
}
.splide .close-icon {
    display: none;
}

#splide {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    outline: none;
    display: none;
}
@keyframes scaleUp {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes scaleDown {
    from {
        z-index: 11;
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0);
        z-index: -11;
        opacity: 0;
    }
}

#splide.show {
    z-index: 11;
    opacity: 1;
    animation: scaleUp 0.5s ease-in-out;
}

#splide.slide-hide {
    z-index: -11;
    opacity: 0;
    animation: scaleDown 0.5s ease-in-out;
}

#splide .splide__list {
    display: flex;
    overflow-x: hidden;
}
#splide .fullscreen-icon {
    display: none;
}
#splide .share-img {
    height: 100vh;
    width: 100vw;
    object-fit: contain;
}
#splide .splide__slide {
    height: 100vh !important;
}

#video-item {
    border-radius: 10px;
}
video {
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
}

.bottom-area {
    background-color: #f3f3f3;
}
/*
@media only screenmakeupVideo and (max-width: 350px) {
    .splide__slide {
        height: 70vw;
    }
    .splide__slide img {
        width: 60vw;
        height: 60vw;
    }
    .splide__slide.is-active img {
        width: 65vw;
        height: 65vw;
    }
} */
.hide {
    display: none;
}
.cta-icon {
    position: absolute;
    width: 30px !important;
    height: 30px !important;
    border-radius: 0 !important;
    transition: none !important;
    box-shadow: none !important;
    bottom: 20px;
    right: 20px;
    z-index: 1;
}
.splide__list {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    display: flex;
    width: -webkit-max-content;
    width: max-content;
    will-change: transform;
}
.splide--fade > .splide__track > .splide__list {
    transform: translate3d(0px, 0, 0);
    width: 100%;
    will-change: inherit;
}
.splide--fade > .splide__track > .splide__list > .splide__slide {
    pointer-events: none;
}
.splide__list > .splide__slide:first-child {
    z-index: 2;
}
.prev-btn-wrapper svg {
    transform: scaleX(-1);
}
.prev-btn-wrapper,
.next-btn-wrapper {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    background: #ccc;
}
.carousel-control-next,
.carousel-control-prev {
    opacity: 0.7;
}
.prev-btn-wrapper svg,
.next-btn-wrapper svg {
    width: 25px;
    height: 25px;
}

.swiper-container {
    height: 100vh;
    width: 100vw;
}
.swiper-slide {
    background-color: black;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}

/**
 * Buttons
 */
/* .button {
    width: 186px;
    height: 50px;
    padding: 0;
    border: 1px solid #000;
    cursor: pointer;
    color: #000;
    text-align: center;
    background: transparent;
    border-radius: 9999px;
}

.button:focus {
    outline: none;
} */

/**
 * Configuration.
 */
/**
 * Buttons.
 */
/* .button {
    margin: 0 1em 0;
    padding: 8px 12px;
    border: 1px solid #75b9e1;
    border-radius: 10px;
    background: #4fa0d0;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    color: #fff;
}

.button--success {
    border: 1px solid #71e6ab;
    background: #4ad890;
} */

.popup-h1 {
    padding: 75px 0 30px 0;
    text-align: center;
    font-size: 30px;
    line-height: 30px;
}

/**
 * Popups.
 */
.popup {
    visibility: hidden;
    transition: visibility 0ms linear 0.3s;
}

.popup--visible {
    visibility: visible;
    transition: visibility 0ms;
}

.popup--visible .popup__background {
    opacity: 1;
}

.popup__background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.popup__content {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10001;
    padding: 62px 55px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    animation: hide-popup 0.3s forwards;
}

.popup--visible .popup__content {
    animation: show-popup 0.3s forwards;
}

/* .popup--icon .popup__content { */
/* padding-top: 130px; */
/**
     * Animations on opened popups.
     *
     * We need to prepend ".popup--visible" with no space to "&" to match the
     * an opened popup: ".popup--visible.popup--icon".
     *
     * Therefore we need the "at-root" function to break out of nesting as well as the
     * "selector-append" function to append parent selectors without space.
     *
     * Details:
     *  - https://css-tricks.com/the-sass-ampersand/
     *  - http://sass-lang.com/documentation/Sass/Script/Functions.html#selector_append-instance_method
     */
/**
     * Different popup icon styles
     *
     * E.g. selector for type question: ".popup--icon.-question" to match class="popup--icon -question"
     *
     * To have an easier selector in SCSS we use a little workaround and rearrange the selectors:
     *  ".-question.popup--icon" is also matching class="popup--icon -question"
     */
/* } */
/* .popup--icon .popup__content:before,
.popup--icon .popup__content:after {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    height: 90px;
    width: 90px;
}
.popup--icon .popup__content:before {
    content: "";
    border: 3px solid currentColor;
    border-radius: 50%;
    transform: translateX(-50%) scale(1, 0);
    opacity: 0;
}
.popup--icon .popup__content:after {
    content: "✓";
    line-height: 90px;
    font-size: 45px;
    transform: translateX(-50%) scale(0);
    opacity: 0;
} */
/* .popup--visible.popup--icon .popup__content:before {
    animation: show-icon-cirlce 0.3s forwards 0.15s;
}
.popup--visible.popup--icon .popup__content:after {
    animation: show-icon 0.3s forwards 0.3s;
}
.-success.popup--icon .popup__content:before {
    border-color: #4ad890;
}
.-success.popup--icon .popup__content:after {
    content: "✓";
    color: #4ad890;
} */

.popup__content__title {
    margin: 30px 0 0 0;
    color: #333;
    font-size: 16px;
    font-family: PingFang SC;
    font-weight: 500;
    white-space: nowrap;
}

.popup__content__title .party-popper {
    margin-left: 6px;
}

.popup-p {
    width: 186px;
    height: 50px;
    margin-top: 40px;
    margin-bottom: 0;
}

.popup_btn {
    width: 186px;
    height: 50px;
    padding: 0;
    border: 1px solid #000;
    cursor: pointer;
    color: #000;
    text-align: center;
    background: transparent;
    border-radius: 9999px;
}
.popup_btn:focus {
    outline: none;
}

/**
 * Popup animations.
 * Based on Sweet Alert: "https://t4t5.github.io/sweetalert/"
 */
@keyframes show-popup {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0;
    }
    45% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes hide-popup {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}
/**
 * Icon animations.
 */
@keyframes show-icon {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}
@keyframes show-icon-cirlce {
    0% {
        transform: translateX(-50%) scale(1, 0);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) scale(1, 1);
        opacity: 1;
    }
}

.setting {
    position: fixed;
    right: 27px;
    bottom: 36px;
}
.setting .icon_setting {
    box-shadow: 0px 4px 5px 4px rgba(0, 0, 0, 0.25);
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}
.setting .icon_setting img {
    width: 28px;
    height: 28px;
}
.setting .options .option {
    z-index: -1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}
.setting .options .option img {
    width: 18px;
    height: 18px;
}
.setting .options .option img[src*="xiaohongshu"] {
    width: 30px;
    height: 30px;
}
.setting .options .option img[src*="wechat"] {
    width: 20px;
    height: 20px;
}
/* &:empty {
        display: none;
    } */
.setting .options .option:nth-child(1) {
    left: 40px;
    top: -59px;
    right: unset;
    bottom: unset;
}
.setting .options .option:nth-child(2) {
    right: 47px;
    top: -49px;
    left: unset;
    bottom: unset;
}
.setting .options .option:nth-child(3) {
    left: -45px;
    bottom: 48px;
    right: unset;
    top: unset;
}
.setting .options .option:nth-child(4) {
    left: -57px;
    top: 35px;
    right: unset;
    bottom: unset;
}
.setting .options.option-show .option {
    animation: show-option-icon 0.3s forwards;
}
.setting .options.option-hide .option {
    animation: hide-option-icon 0.3s forwards;
}
.setting .options:not(.option-show, .option-hide) .option {
    left: 15px;
    top: 15px;
}

@keyframes show-option-icon {
    0% {
        left: 15px;
        top: 15px;
    }
    100% {
    }
}
@keyframes hide-option-icon {
    0% {
    }
    100% {
        left: 15px;
        top: 15px;
    }
}
