* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul li {
    list-style: none;
}
html,
body {
    width: 100%;
}
.header-top {
    position: relative;
    width: 100%;
    padding-bottom: 20% !important;
    @media screen and (max-width: 824px) {
        min-height: 300px;
    }
}
.swiper-container {
    width: 100%;
    height: 100%;
    position: absolute !important;
    top: 0;
    left: 0;
    /* background: linear-gradient(
        26.16996936842156deg,
        #febf8e 0%,
        #f53c6f 47%,
        #dc74c8 100%
    ); */
}
.swiper-container::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}
.swiper-wrapper,
.swiper-slide,
.swiper-img {
    width: 100%;
    height: 100%;
}
.swiper-img {
    object-fit: contain;
}

.header-box {
    width: 100%;
    height: 88px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition: all 0.3s ease-in-out;
    @media screen and (max-width: 824px) {
        height: 60px;
        padding: 0 12px;
    }
}
.black {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.header-box .header {
    width: 100%;
    height: 100%;
    max-width: 1537px;
    margin: 0 auto;
    gap: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    @media screen and (max-width: 824px) {
        gap: 20px;
    }
    @media screen and (max-width: 1440px) {
        gap: 50px;
        padding: 0 12px;
    }
}

.header > .logo {
    width: auto;
    height: 77px;
    @media screen and (max-width: 824px) {
        height: 44px;
    }
    @media screen and (max-width: 1440px) {
        height: 60px;
    }
}
.header > .mobile-menu {
    display: none;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 99999;
    @media screen and (max-width: 824px) {
        display: block;
    }
}
.header > .mobile-menu::after,
.header > .mobile-menu::before,
.header > .mobile-menu > .middle-line {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 2px;
    background: #999;
    transition: all 0.3s ease-in-out;
}
.header > .mobile-menu::before {
    top: 15%;
}
.header > .mobile-menu::after {
    top: 85%;
}
.header > .open-menu > .middle-line {
    /* display: none !important; */
    background: transparent !important;
}
.header > .open-menu::before {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.header > .open-menu::after {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.nav-user {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 100px;
    transition: all 0.3s ease-in-out;
    @media screen and (max-width: 824px) {
        display: none;
        gap: 20px;
        flex-direction: column-reverse;
        justify-content: start;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background-color: #fff;
        padding: 50px 20px;
    }
    @media screen and (max-width: 1440px) {
        gap: 50px;
    }
}
.nav {
    @media screen and (max-width: 824px) {
        width: 100%;
        padding: 0 20px;
    }
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    @media screen and (max-width: 824px) {
        width: 100%;
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }
}
.nav-list li {
    position: relative;
    color: #666;
    font-size: 21px;
    line-height: 21px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease-in-out;
    @media screen and (max-width: 824px) {
        font-size: 16px;
    }
    @media screen and (max-width: 1440px) {
        font-size: 18px;
    }
}
.nav-list li:hover {
    background: linear-gradient(
        26.16996936842156deg,
        #febf8e 0%,
        #f53c6f 47%,
        #dc74c8 100%
    );
    -webkit-background-clip: text; /* 兼容 Safari/Chrome */
    background-clip: text;
    color: transparent !important;
}
.nav-list li::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(
        116deg,
        #febf8e 0%,
        #f53c6f 47.12%,
        #dc74c8 100%
    );
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}
.nav-list .current-item {
    background: linear-gradient(
        26.16996936842156deg,
        #febf8e 0%,
        #f53c6f 47%,
        #dc74c8 100%
    );
    -webkit-background-clip: text; /* 兼容 Safari/Chrome */
    background-clip: text;
    color: transparent !important;
    position: relative;
}
.nav-list .current-item::before {
    width: 80%;
}
.join-money {
    width: 156px;
    height: 188px;
    display: none;
    padding: 20px;
    position: absolute;
    top: calc(100% + 30px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.join-money::before {
    display: block;
    content: "";
    width: 100%;
    height: 30px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.join-money::after {
    display: block;
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-bottom: 10px solid #fff;
}
.no-click:hover .join-money {
    display: flex;
}

.join-money .qr-code {
    width: 116px;
    height: 116px;
}
.join-money-text {
    color: #000;
    font-size: 18px;
    line-height: 20px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    position: relative;
    @media screen and (max-width: 824px) {
        cursor: none;
        flex-direction: column;
        gap: 0;
    }
    @media screen and (max-width: 1440px) {
        gap: 10px;
    }
}

.user-info .vip {
    width: 34px;
    height: 20px;
    @media screen and (max-width: 824px) {
        width: 100px;
        height: auto;
        position: relative;
        z-index: 9999;
    }
}

.user-info .line {
    width: 2px;
    height: 33px;
    background-color: #979797;
    @media screen and (max-width: 824px) {
        display: none;
    }
}

.user-info .avatar-email {
    display: flex;
    align-items: center;
    gap: 10px;
    @media screen and (max-width: 824px) {
        gap: 5px;
        flex-direction: column;
        transform: translateY(-20px);
    }
}

.avatar-email .avatar {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    @media screen and (max-width: 824px) {
        width: 100px;
        height: 100px;
    }
}

.avatar-email .email {
    color: #fff;
    font-size: 21px;
    line-height: 21px;
    user-select: none;
    @media screen and (max-width: 824px) {
        color: #333 !important;
        font-size: 16px;
    }
    @media screen and (max-width: 1440px) {
        font-size: 18px;
    }
}

.user-info .down {
    width: 20px;
    height: auto;
    @media screen and (max-width: 824px) {
        display: none;
    }
}

.user-info-modal {
    width: 335px;
    height: 188px;
    display: none;
    padding: 20px 16px 25px;
    position: absolute;
    top: calc(100% + 30px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.user-info-modal::before {
    display: block;
    content: "";
    width: 100%;
    height: 30px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.user-info-modal::after {
    display: block;
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-bottom: 10px solid #fff;
}
.scroll-end::after {
    border-bottom: 10px solid #000;
}
.user-info:hover .user-info-modal {
    display: flex;
}
.user-info-modal > .avatar-round-vip-btn {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 14px;
    /* justify-content: space-between; */
}
.avatar-round-vip-btn > .avatar-round {
    width: 44px;
    height: 36px;
    position: relative;
    transform: translateY(-15px);
}

.user-info-modal > .avatar-round-vip-btn > .avatar-round > .avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 10px;
}
.user-info-modal > .avatar-round-vip-btn > .avatar-round > .round {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
.user-info-modal > .avatar-round-vip-btn > .vip-time-email > .email {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}
.user-info-modal > .avatar-round-vip-btn > .vip-time-email > .vip-time {
    color: #838486;
    font-size: 12px;
    margin-top: 4px;
}
.user-info-modal > .avatar-round-vip-btn > .vip-btn {
    width: 80px;
    height: 28px;
    color: #fff;
    font-size: 15px;
    line-height: 28px;
    text-align: center;

    border-radius: 6px;
    user-select: none;
}
.user-info-modal > .edit-pwd-logout {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.user-info-modal > .edit-pwd-logout > .edit-logout {
    width: 239px;
    height: 32px;
    opacity: 0.5;
    color: #fff;
    font-size: 13px;
    line-height: 32px;
    text-align: center;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.29);
}
.nav-user .header-login-btn {
    width: 80px;
    height: 33px;
    color: #fff;
    font-size: 15px;
    line-height: 33px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    border-radius: 6px;
}

.alert {
    width: 100%;
    display: flex;
    align-items: center;
    /*margin: 0 auto;*/
    max-width: 1537px;
    border-radius: 8px;
    padding: 12px 20px;
    background: #fef4f5;
    margin: 24px auto 16px;
    @media screen and (max-width: 824px) {
        width: calc(100% - 24px);
        margin: 24px 12px 16px;
    }
}
.alert > .alert-icon {
    width: 18px;
    height: 18px;
}
.alert > .alert-msg {
    color: #f12b39;
    font-size: 18px;
    line-height: 18px;
    margin-left: 20px;
    @media screen and (max-width: 824px) {
        line-height: 24px;
    }
}

/* 分类-搜索框 ↓ */
.logo-cate-search {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1537px;
    margin: 0 auto;
}
.logo-cate-search > .cate-logo {
    width: auto;
    height: 44px;
    @media screen and (max-width: 824px) {
        display: none;
    }
}
.category-search-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    height: 64px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(151, 151, 151, 0.5);

    @media screen and (max-width: 824px) {
        margin: 0 12px;
        height: auto;
        flex-direction: column;
        gap: 12px;
    }
}
.category-search-box > .placeholder-box {
    height: 100%;
}
.category-search-box > .placeholder-box > .category-box {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    @media screen and (max-width: 824px) {
        width: 100%;
        gap: 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}
.category-search-box > .placeholder-box > .category-box > li {
    height: 100%;
    display: flex;
    align-items: center;
    color: #666;
    font-size: 20px;
    font-weight: bold;
    padding: 0 32px;
    cursor: pointer;
    user-select: none;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    @media screen and (max-width: 824px) {
        font-size: 14px;
        padding: 8px 16px;
        display: flex;
        justify-content: center;
        cursor: none;
    }
}
.category-search-box > .placeholder-box > .category-box > li:hover {
    background: #eeeeee;
    @media screen and (max-width: 824px) {
        background: transparent;
    }
}
.category-search-box > .placeholder-box > .category-box > li:hover > span {
    background: linear-gradient(
        26.16996936842156deg,
        #febf8e 0%,
        #f53c6f 47%,
        #dc74c8 100%
    );
    -webkit-background-clip: text; /* 兼容 Safari/Chrome */
    background-clip: text;
    color: transparent;
}
.category-search-box > .placeholder-box > .category-box > li > span {
    transition: all 0.3s ease-in-out;
}
.category-active {
    background: #eeeeee;
}
.category-search-box > .search-box {
    height: 100%;
    background: #eee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    @media screen and (max-width: 824px) {
        padding: 8px 16px;
        width: 100%;
    }
}
.category-search-box > .search-box > .search-input {
    width: 100%;
    height: 100%;
    color: #333;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: transparent;
    padding: 0 20px;
}
.category-search-box > .search-box > .search-input::placeholder {
    color: #999;
    font-size: 18px;
}
/* 弹窗样式 ↓ */
#swal2-html-container,
.swal2-popup {
    padding: 0;
    background-color: transparent;
    width: auto;
}

.swal2-actions {
    display: none !important;
}

/* 渐变文本、背景样式 ↓ */
.gradient-text {
    background: linear-gradient(
        26.16996936842156deg,
        #febf8e 0%,
        #f53c6f 47%,
        #dc74c8 100%
    );
    -webkit-background-clip: text; /* 兼容 Safari/Chrome */
    background-clip: text;
    color: transparent;
}
.gradient-bg {
    color: #fff;
    background: linear-gradient(
        116deg,
        #febf8e 0%,
        #f53c6f 47.12%,
        #dc74c8 100%
    ) !important;
    transition: all 0.3s ease-in-out;
}
.gradient-bg:hover {
    background: linear-gradient(
        116deg,
        #dc74c8 0%,
        #f53c6f 47.12%,
        #febf8e 100%
    ) !important;
}
.gradient-bg:active {
    background: linear-gradient(
        140deg,
        #dc74c8 0%,
        #f53c6f 47.12%,
        #febf8e 100%
    ) !important;
}
