[v-cloak] {
    display: none;
}

/* 去掉默认样式 */
.page_inner {
    background: none !important;
    border    : none !important;
    box-shadow: none !important;
}

/* ---------------回到顶部--------------- */
.back-top {
    position     : fixed;
    right        : 0;
    bottom       : 70px;
    width        : 68px;
    height       : 58px;
    border-radius: 8px 0 0 8px;
    background   : #31353b;
    color        : #fff;
    text-align   : center;
    font-size    : 12px;
    box-sizing   : border-box;
    padding      : 10px 0;
    cursor       : pointer;
    z-index      : 2000;
    display      : none;
}

.back-top img {
    width        : 20px;
    margin-bottom: 5px;
}

/* ---------------回到顶部end--------------- */

/* ---------------商品列表--------------- */
.loading-wrapper {
    display        : flex;
    justify-content: center;
}

.product-grid {
    padding      : 28px 33px;
    background   : #fff;
    border-radius: 10px;
}

.product-wrapper {
    display  : flex;
    flex-wrap: wrap;
    gap      : calc((100% - 5 * 270px) / 4);
}

.product-item {
    width: 270px;
}

.product-item .image_container {
    height: 270px;
}

@media (min-resolution: 110dpi),
screen and (max-width: 1680px) {
    .product_pod .price_color {
        font-size: 18px !important;
    }

    .product-grid {
        padding: 21px 23px;
    }

    .product-wrapper {
        gap: calc((100% - 5 * 230px) / 4);
    }

    .product-item {
        width: 230px;
    }

    .product-item .image_container {
        height: 230px;
    }
}

/* ---------------商品列表end--------------- */

/* ---------------合作厂商--------------- */
.partner-factory {
    margin: 10px 0 32px;
    width : 100%;
}

.partner-factory__title {
    font-weight: 500;
    font-size  : 24px;
    color      : #000;
    text-align : center;
    padding    : 26px 0;
}

.partner-factory__body {
    overflow     : hidden;
    width        : 100%;
    border-radius: 10px;
    background   : #fff;
}

.partner-factory__body .marquee-wrapper {
    display: flex;
    width  : 200%;
}

.partner-factory__body .marquee-block {
    width                : 100%;
    display              : grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows   : 90px;
    padding              : 10px 0;
    transform            : translateX(0);
    will-change          : transform;
}

.partner-factory__body .marquee-block>div {
    display        : flex;
    align-items    : center;
    justify-content: center;
}

.partner-factory__body img {
    width: 50%;
}

/* ---------------合作厂商end--------------- */

/* ---------------精品分类--------------- */
.good-category__title {
    font-size  : 23px;
    margin-left: 20px;
    margin-top : 25px;
    font-weight: 500;
}

.good-category__body {
    display        : flex;
    justify-content: space-between;
    margin         : 15px 0 30px;
}

.category-item {
    width        : 290px;
    height       : 180px;
    border-radius: 15px;
    overflow     : hidden;
    position     : relative;
    cursor       : pointer;
}

.category-item img {
    width : 100%;
    height: 100%;
}

@media (min-resolution: 110dpi),
screen and (max-width: 1680px) {
    .category-item {
        width : 251px;
        height: 154px;
    }
}

.hover-cover {
    position       : absolute;
    left           : 0;
    top            : 0;
    width          : 100%;
    height         : 100%;
    background     : rgba(0, 0, 0, .8);
    color          : #fff;
    box-sizing     : border-box;
    opacity        : 0;
    transition     : opacity .2s;
    display        : flex;
    flex-direction : column;
    justify-content: space-around;
    padding        : 5% 0;
}

.hover-cover.show {
    opacity: 1;
}

.hover-cover__title {
    font-size  : 17px;
    font-weight: 600;
    text-align : center;
}

.hover-cover__body {
    display              : grid;
    padding              : 0 25px;
    grid-template-columns: repeat(2, 1fr);
    gap                  : 10px;
}

.hover-cover__body .cate-item {
    text-align: center;
    border    : .5px solid #fff;
    font-size : 14px;
}

.hover-cover__body .cate-item a {
    color: inherit;
}

.hover-cover__body .cate-item:hover {
    color     : #000;
    background: #fff;
}

.category-item-desc {
    font-size  : 18px;
    font-weight: bold;
    position   : absolute;
    left       : 30px;
    top        : 10px;
    color      : #333;
}

.category-item-desc>span:nth-child(2) {
    font-weight: normal;
    font-size  : 16px;
}

.category-item .img {
    position : absolute;
    bottom   : 10px;
    left     : 50%;
    transform: translateX(-50%);
    width    : 55%;
}

.category-item .img img {
    width: 100%;
}

/* ---------------精品分类end--------------- */

/* ---------------工作台--------------- */
#__drawer__ {
    position: fixed;
    right   : 0;
    top     : 0;
    width   : 400px;
    height  : 100vh;
    z-index : 2000;
}

.drawer-container {
    position   : absolute;
    width      : 400px;
    height     : 100%;
    right      : 0;
    top        : 0;
    transform  : translateX(0);
    display    : flex;
    align-items: center;
    transition : all 0.2s ease-in;
}

.drawer-container.drawer--close {
    transform: translateX(400px);
}

.drawer-list {
    width                    : 68px;
    background               : #31353b;
    border-top-left-radius   : 8px;
    border-bottom-left-radius: 8px;
    overflow                 : hidden;
    position: fixed;
    right: 0px;
    top: 50%;
    margin-top: -62px;
    z-index: 2001
}

.drawer-list .drawer-item {
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    font-size      : 12px;
    height         : 62px;
    cursor         : pointer;
    transition     : all 0.1s;
    color          : #fff;
}

.drawer-list .drawer-item:hover {
    background: #ef251b;
}

.drawer-list .drawer-item img {
    width        : 16px;
    margin-bottom: 5px;
}

.drawer-container .drawer-content {
    width     : 400px;
    height    : 100%;
    overflow-y: auto;
    background: #fff;
    box-shadow: -5px 4px 6px rgba(0, 0, 0, .11);
}

.drawer-container .workbench-title {
    padding        : 0 17px;
    background     : #f1f2f4;
    width          : 100%;
    height         : 52px;
    font-size      : 15px;
    color          : #333;
    font-weight    : 600;
    letter-spacing : .32px;
    display        : flex;
    align-items    : center;
    justify-content: space-between;
}

.workbench-close-btn {
    width         : 24px;
    height        : 24px;
    border        : none;
    background    : transparent;
    cursor        : pointer;
    color         : #999;
    border-radius : 50%;
    display       : flex;
    align-items   : center;
    justify-content: center;
    padding       : 0;
    font-size     : 18px;
    line-height   : 1;
}

.workbench-close-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color     : #333;
}

.workbench-body {
    padding: 0 17px;
}

.workbench-body .workbench-block {
    padding      : 15px 0;
    border-bottom: 1px solid #f4f4f6;
}

.workbench-body .workbench-block .block-title {
    font-size    : 14px;
    margin-bottom: 7px;
    font-weight  : 500;
}

.workbench-body .workbench-block .block-list {
    margin-left: -10px;
    display    : flex;
}

.workbench-block .workbench-item {
    font-size     : 12px;
    color         : #333;
    display       : flex;
    flex-direction: column;
    align-items   : center;
    cursor        : pointer;
    transition    : all 0.1s;
    padding       : 8px 12px;
}

.workbench-item:hover {
    background: #f7f8f9;
}

.workbench-block .workbench-item img {
    width        : 40px;
    margin-bottom: 5px;
}

/* ---------------工作台end--------------- */

/* ---------------商品分类(由于前期服务端接口无法提供，导致无法重写，通过强写CSS生成现有的效果)--------------- */
.category-container {
    position       : relative;
    width          : 100%;
    height         : 500px;
    margin         : 0 auto 15px;
    background     : #fff;
    padding        : 20px;
    display        : flex;
    justify-content: space-between;
    border-radius  : 15px;
    gap            : 16px;
}

.list-group-item {
    background-color: transparent;
    color           : #1A1A1A;
    border          : none;
    position        : static;
}

.list-group-item[data-level="0"] {
    font-size: 14px;
}

.list-group-item[data-level="0"]>a>.category-name {
    display      : inline-block;
    max-width    : 80%;
    overflow     : hidden;
    text-overflow: ellipsis;
    white-space  : nowrap;
}

.list-group-item[data-level="0"]:hover {
    background-color: #eee;
}

.list-group-item:not([data-level="0"]) span:hover {
    color: var(--primary) !important;
}

.list-group-item[data-level="0"]>.show-children-level {
    position        : absolute;
    left            : 320px;
    top             : 20px;
    width           : 62%;
    min-height      : 460px;
    display         : none;
    padding         : 15px;
    background-color: #fff;
    border          : 1px solid var(--primary);
    border-radius   : 8px;
    z-index         : 999;
    overflow        : hidden;
}

.list-group-item[data-level="1"],
.list-group-item[data-level="1"] .list-group-item {
    display: flex;
    padding: 0;
}

.list-group-item[data-level="1"] {
    margin-bottom: 10px;
}

.list-group-item[data-level="1"]>a {
    margin-right: 10px;
}

.list-group-item[data-level="1"]:not(:has(i)) {
    display: inline-block;
}

.list-group-item[data-level="1"]:not(:has(i)) a {
    min-width: unset;
}

.list-group-item[data-level="1"]:not(:has(i))>a>span {
    font-weight: 400 !important;
}

.list-group-item[data-level="1"]>a {
    display  : block;
    min-width: 60px;
}

.list-group-item[data-level="1"]>a>span {
    margin-right: 10px;
    font-weight : bold;
}

.list-group-item[data-level="1"] .show-children-level {
    display: block !important;
    padding: 0;
}

.list-group-item[data-level="1"] .show-children-level .show-children-level {
    padding: 0;
}

.list-group-item.active:not([data-level="0"]) a {
    color          : var(--primary) !important;
    text-decoration: underline;
    font-weight    : 600 !important;
}

.list-group-item.all {
    font-size: 16px;
}

.list-group-item[data-level="0"].active {
    background: var(--primary);
    color     : #fff;
}

.list-group-item[data-level="0"].active>a,
.list-group-item[data-level="0"].active i {
    color: #fff !important;
}

.list-group-item.all a {
    color: #333;
}

.list-group-item:nth-of-type(10)~* {
    display: none;
}

.list-group.list-group-flush {
    width        : 300px;
    background   : #F7F8FC;
    border-radius: 8px;
    font-size    : 14px;
    list-style   : none;
}

@media (min-resolution: 110dpi),
screen and (max-width: 1680px) {
    .list-group.list-group-flush {
        width: 250px;
    }

    .list-group-item[data-level="0"]>.show-children-level {
        left : 270px;
        width: 790px;
    }
}

/* ---------------商品分类end--------------- */

/* ---------------轮播图--------------- */
.swiper {
    flex            : 1;
    border-radius   : 8px;
    overflow        : hidden;
    background-color: #fff;
    position        : relative;
}

.swiper-wrapper {
    height    : 100%;
    display   : flex;
    transition: transform 0.5s ease;
}

.swiper-item {
    flex  : 0 0 100%;
    height: 100%;
}

.swiper-item img {
    width : 100%;
    height: 100%;
}

.swiper-pagination {
    position : absolute;
    bottom   : 20px;
    left     : 50%;
    transform: translateX(-50%);
    display  : flex;
    gap      : 8px;
}

.swiper-pagination-bullet {
    width        : 12px;
    height       : 12px;
    border-radius: 50%;
    background   : rgba(255, 255, 255, 0.5);
    cursor       : pointer;
}

.swiper-pagination-bullet.active {
    background: #fff;
}

/* 轮播左右按钮 */
.swiper-button-prev,
.swiper-button-next {
    position       : absolute;
    top            : 50%;
    transform      : translateY(-50%);
    width          : 32px;
    height         : 32px;
    border         : none;
    border-radius  : 50%;
    background     : rgba(0, 0, 0, 0.1);
    color          : #fff;
    display        : flex;
    align-items    : center;
    justify-content: center;
    cursor         : pointer;
    transition     : background 0.2s ease, color 0.2s ease;
    z-index        : 2;
}

.swiper-button-prev {
    left: 12px;
}

.swiper-button-next {
    right: 12px;
}

.swiper-button-prev span,
.swiper-button-next span {
    font-size  : 18px;
    line-height: 1;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* ---------------轮播图end--------------- */

/* ---------------轮播图上侧、右侧--------------- */
.category-center {
    flex          : 1;
    display       : flex;
    flex-direction: column;
}

.commonly-handle {
    padding      : 9px 16px;
    background   : #F7F8FC;
    border-radius: 8px 8px 8px 8px;
    margin-bottom: 16px;
    display      : flex;
}

.action {
    color       : #333;
    font-size   : 16px;
    font-weight : bold;
    margin-right: 17px;
    display     : flex;
    align-items : center;
}

.action.disabled {
    cursor: no-drop !important;
}

.action i {
    margin-right: 3px;
}

.action:hover {
    cursor: pointer;
    color : var(--primary);
}

.category-right {
    width          : 240px;
    display        : flex;
    flex-direction : column;
    /* 原来使用 space-between，公告会被挤到最下方，去掉中间空白 */
    justify-content: flex-start;
    /* 让右侧整体高度充满分类容器，便于公告块与左侧轮播底部对齐 */
    height         : 100%;
    gap            : 12px;
}

.user-profile {
    padding      : 13px 16px;
    background   : linear-gradient(180deg, rgba(220, 36, 42, 0.06) 0%, rgba(220, 36, 42, 0.02) 100%);
    border-radius: 8px 8px 8px 8px;
}

.user-profile__top {
    display    : flex;
    align-items: center;
}

.user-profile .user-photo {
    width        : 48px;
    height       : 48px;
    background   : #FFFFFF;
    border-radius: 50%;
    margin-right : 10px;
}

.user-info>div:nth-child(1) {
    font-weight  : 600;
    font-size    : 14px;
    color        : #333333;
    margin-bottom: 3px;
}

.user-info>div:nth-child(2) {
    font-weight: 400;
    font-size  : 12px;
    color      : #666666;
}

.user-profile__middle .order-status {
    display        : flex;
    justify-content: space-between;
    padding        : 18px 13px;
}

.user-profile__middle .butler {
    display        : flex;
    flex-direction : column;
    justify-content: center;
}

.butler-qrcode {
    text-align: center;
    font-size : 14px;
    color     : #DC242A;
}

.butler-qrcode .qrcode {
    width     : 116px;
    height    : 116px;
    background: #fff;
    padding   : 8px;
    margin    : 11px auto;
    position  : relative;
}

.butler-qrcode .qrcode .center-flag {
    display      : block;
    position     : absolute;
    left         : 50%;
    top          : 50%;
    transform    : translate(-50%, -50%);
    width        : 20px;
    height       : 20px;
    background   : #fff url(/static/oscar/img/hc-logo.png) no-repeat center / 70% 70%;
    border-radius: 5px;
}

.butler-qrcode .qrcode img {
    width : 100%;
    height: 100%;
}

.butler-header {
    padding      : 8px 13px;
    background   : #fff;
    border-radius: 6px;
    font-size    : 12px;
    color        : #666;
}

.order-view {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    font-size     : 12px;
    color         : #666666;
}

.order-view .nums {
    font-weight: 500;
    font-size  : 18px;
    color      : var(--primary);
}

.user-profile .user-photo img {
    width : 100%;
    height: 100%;
}

.news-block {
    background   : #F7F8FC;
    border-radius: 8px;
    padding      : 5px 0;
    /* 占据用户信息卡片以下的剩余高度 */
    flex         : 1;
    display      : flex;
    flex-direction: column;
}

.news-header {
    font-weight  : 500;
    font-size    : 14px;
    color        : #333;
    padding      : 0 11px 2px 11px;
    display      : flex;
    justify-content: space-between;
    align-items  : center;
}

.news-more-btn {
    font-size    : 12px;
    color        : var(--primary);
    text-decoration: none;
    font-weight  : normal;
    margin-left  : auto;
    flex-shrink  : 0;
}

.news-more-btn:hover {
    color        : #0056b3;
    text-decoration: underline;
}

.news-loading {
    font-size    : 12px;
    color        : #999;
    padding      : 10px 17px;
    text-align   : center;
}

.news-empty {
    font-size    : 12px;
    color        : #999;
    padding      : 10px 17px;
    text-align   : center;
}

/* 新闻滚动容器 */
.news-scroll-wrapper {
    /* 占据公告块内除标题外的全部高度，使底部与左侧轮播图底部更齐平 */
    flex         : 1;
    height       : auto;
    overflow     : hidden;
    position     : relative;
}

.news-scroll-content {
    /* 取消自动上下滚动动画，改为静止列表展示 */
    animation    : none;
}

.news-scroll-wrapper:hover .news-scroll-content {
    /* 悬停时不再需要控制动画状态 */
    animation-play-state: initial;
}

@keyframes newsScrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.new-item {
    font-size    : 12px;
    padding      : 5px 17px;
    position     : relative;
    max-width    : 100%;
    overflow     : hidden;
    white-space  : nowrap;
    text-overflow: ellipsis;
}

.new-item a {
    color: #888;
}

.new-item a:hover {
    color: var(--primary);
}

.new-item::before {
    content      : '';
    background   : var(--primary);
    width        : 4px;
    height       : 4px;
    border-radius: 50%;
    position     : absolute;
    left         : 7px;
    top          : 50%;
    transform    : translateY(-50%);
}

/* ---------------商品分类end--------------- */

/* ---------------产品与服务--------------- */
.product-service {
    width        : 100%;
    background   : #fff;
    padding      : 30px 0;
    border-radius: 10px;
    margin-top   : 30px;
}

.product-service .title-block {
    font-size    : 24px;
    color        : #333;
    text-align   : center;
    margin-bottom: 20px;
}

.product-service .ps-list-item {
    width     : 268px;
    height    : 100%;
    background: #f7f7f7;
    box-sizing: border-box;
    position  : relative;
}

.product-service .ps-list-item::after {
    content   : '';
    display   : block;
    height    : 100%;
    width     : 1px;
    background: #e4e5e5;
    position  : absolute;
    right     : 0;
    top       : 0;
}

.marquee-wrapper {
    position       : relative;
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    padding        : 0 100px;
}

.marquee-wrapper .arrow-btn {
    position     : absolute;
    width        : 70px;
    height       : 70px;
    border-radius: 50%;
    cursor       : pointer;
}

.arrow-btn.arrow-left {
    left            : 20px;
    background-image: url(../img/productService/arrow-left.png);
    background-size : 100% 100%;
}

.arrow-btn.arrow-left:hover {
    background-image: url(../img/productService/arrow-left-active.png);
}

.arrow-btn.arrow-right {
    right           : 20px;
    background-image: url(../img/productService/arrow-right.png);
    background-size : 100% 100%;
}

.arrow-btn.arrow-right:hover {
    background-image: url(../img/productService/arrow-right-active.png);
}

.product-service .marquee-viewport {
    width   : 1340px;
    overflow: hidden;
}

.product-service .transform-list-wrapper {
    height     : 340px;
    display    : flex;
    overflow   : visible;
    padding-top: 30px;
}

@media (min-resolution: 110dpi),
screen and (max-width: 1680px) {
    .marquee-wrapper {
        padding: 0 50px;
    }

    .product-service .marquee-viewport {
        width: 1220px;
    }

    .product-service .ps-list-item {
        width: 244px;
    }

    .marquee-wrapper .arrow-btn {
        width : 45px;
        height: 45px;
    }

    .arrow-btn.arrow-left {
        left: 2px;
    }

    .arrow-btn.arrow-right {
        right: 2px;
    }
}

.product-service .transform-list {
    display  : flex;
    flex-wrap: nowrap;
}

.product-service .ps-list-item,
.product-service .ps-content {
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
}

.ps-list-item .image-wrapper {
    padding: 20px 0;
}

.ps-list-item.active {
    padding        : 0;
    justify-content: space-between;
    background     : #fff;
}

.ps-list-item.active .image-wrapper {
    padding     : 0;
    background  : var(--primary);
    width       : 100%;
    height      : 80px;
    position    : absolute;
    top         : -30px;
    text-align  : center;
    border-right: 1px solid #e4e5e5;
    box-sizing  : border-box;
}

.ps-list-item.active .ps-image-icon,
.ps-list-item .ps-image-active {
    display: none;
}

.ps-list-item.active .ps-image-active {
    display: inline-block;
}

.product-service .ps-content .zh-desc {
    font-size: 18px;
    color    : #333;
}

.product-service .ps-content .en-desc {
    max-width : 80%;
    font-size : 16px;
    color     : #666;
    position  : relative;
    margin-top: 5px;
    text-align: center;
    word-break: break-word;
}

.product-service .ps-content .content {
    text-align: center;
    display   : none;
    color     : #939393;
    font-size : 16px;
    padding   : 0 15px;
    margin-top: 15px;
}

.ps-list-item.active .ps-content {
    padding-top: 60px;
}

.ps-list-item.active .ps-content .content {
    display: block;
}

.product-service .ps-content .en-desc::after {
    display   : block;
    content   : '';
    width     : 72px;
    height    : 2px;
    background: #cf0808;
    margin    : 10px auto 0;
}

.product-service .ps-detail {
    display    : none;
    height     : 46px;
    width      : 100%;
    line-height: 46px;
    background : var(--primary);
    text-align : center;
}

.ps-list-item.active .ps-detail {
    display: block;
}

.product-service .ps-detail a {
    color    : #fff;
    font-size: 17px;
}

/* ---------------产品与服务end--------------- */
