.background{
    position:fixed;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    min-width: 1000px;
    z-index:-10;
    zoom: 1;
    background-color: #fff;
    background: url(/assets/luna/img/background.png) no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-position: center 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.noML {
    margin-left: initial !important;
}

.hide {
    display: none;
}

.layui-tab-title .layui-this:after {
    border-radius: 5px 5px 0 0;

}

.layui-tab-title .layui-this {
    color: #737373;
}

.layui-tab-title li {
    color: #737373;
}


/*极验*/
.geetest_holder.geetest_wind {
    display: inline-block;
    vertical-align: middle;
}

.notSelection {
    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    -khtml-user-select: none; /*早期浏览器*/
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*滚动条重置*/
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb { /*border-radius: 10px;*/
    background-color: #AAA;
}

.layui-row {
    margin: 0 10px;
}

.header .header-box {
    padding-top: 15px;
}

.header .header-box img {
    max-width: 150px;
    max-height: 45px;
}

.header .header-box .info {
    font-size: 16px;
    font-weight: 700;
    color: #545454;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.header .header-box .query {
    display: inline-block;
    float: right;
}

.header .header-box .query a {
    color: #fff;
    display: inline-block;
    width: 119px;
    line-height: 35px;
    border-radius: 19px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: 0 5px 6px 0 rgba(73, 105, 230, .22);
    background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
}

.header .header-box .query a svg {
    margin-left: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

.header .header-box .notice {
    margin-top: 20px;
    padding: 0 15px;
}

.header .header-box .notice .tit {
    color: #545454;
    font-size: 14px;
    font-weight: 700;
}

.header .header-box .notice .tips {
    margin-top: 5px;
    color: #515a6e;
    font-size: 12px;
    line-height: 1.5;
}


/*主体*/
.main .main-box {
    margin-top: 20px;
    background: #fff;
    -webkit-box-shadow: 0 7px 29px 0 rgba(18, 52, 91, .11);
    box-shadow: 0 7px 29px 0 rgba(18, 52, 91, .11);
    border-radius: 6px;
    padding-top: 14px;
    padding-bottom: 20px;
}

.main-box:after { /*伪元素是行内元素 正常浏览器清除浮动方法*/
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.main .title, .main .cate, .main .goods {
    margin: 0 20px;
}

.main .title {
    font-size: 18px;
    font-weight: 600;
    color: #545454;
}

.main .title svg, .main .title img {
    vertical-align: middle;
}

.main .cate {
    padding-top: 20px;
    margin: 0 10px;
    font-size: 0;
}

.main .cate .cate-box {
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    min-width: 130px;
    background: #f1f1f1;
    border-radius: 10px;
    height: 67px;
    padding: 0 20px;
    margin: 0 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    margin-bottom: 10px;
}

.main .cate .cate-box-select {
    background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
    -webkit-box-shadow: 0 7px 10px 0 rgba(54, 144, 248, .23);
    box-shadow: 0 7px 10px 0 rgba(54, 144, 248, .23);
}

.main .cate .cate-box-select img {
    position: absolute;
    right: -6px;
    bottom: -19px;
}

.main .cate .cate-box p {
    font-weight: 400;
    font-size: 12px;
    color: #545454;
    margin-top: 12px;
}

.main .cate .cate-box-select p {
    color: #fff;
}

.main .cate .cate-box div {
    opacity: .76;
    color: #999;
    font-size: 12px;
    margin-top: 7px;
}

.main .cate .cate-box-select div {
    color: #fff;
}


.main .goods {
    margin-top: 10px;
    border-top: 1px solid #f7f7f7;
    padding-top: 10px;
}

.main .title-2 {
    margin-bottom: 10px;
    color: #545454;
}

.main .title-2 svg, .main .title-2 span {
    vertical-align: middle;
}

.main .goods .goods-box {
    padding: 18px;
    vertical-align: middle;
    min-width: 185px;
    min-height: 80px;
    background: #fff;
    border: 2px solid #f1f4fb;
    -webkit-box-shadow: 0 4px 10px 0 rgba(135, 142, 154, .14);
    box-shadow: 0 4px 10px 0 rgba(135, 142, 154, .14);
    border-radius: 10px;
    margin-right: 11px;
    margin-bottom: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    display: inline-flex
}

.main .goods .picture {
    vertical-align: top;
    margin-right: 10px;
    display: inline-block;
    min-width: 80px;
    width: 80px;
    height: 80px;

}

.main .goods .picture img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.main .goods .msg {
    vertical-align: top;
    display: inline-block;
}

.main .goods .msg .goods-name {
    margin-bottom: 10px;
    color: #545454;
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
}

.main .goods .msg .goods-price {
    color: #3C8CE7;
    font-size: 14px;
    font-weight: 700;
}

.main .goods .msg .goods-price span {
    font-size: 12px;
    vertical-align: bottom;
}

.main .goods .msg .goods-price div {
    display: inline-block;
    background: #ffebe8;
    color: #fb636b;
    padding: 1px 3px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

.main .goods .msg .goods-num {
    margin-top: 3px;
}

.main .goods .msg .goods-num div {
    display: inline-block;
    width: 53px;
    height: 5px;
    background: #f3f3f3;
    position: relative;
    border-radius: 3px;
}

.main .goods .msg .goods-num div p {
    display: inline-block;
    position: absolute;
    width: 40%;
    height: 100%;
    background: linear-gradient(55deg, #65d69e, #31dd92);
    border-radius: 3px;
}

.main .goods .msg .goods-num span {
    color: #0db26a;
    font-size: 12px;
    margin-left: 10px;
    margin-right: 18px;
}

/*手机端查单*/
.query-m {
    display: none;
    position: fixed;
    width: 60px;
    height: 60px;
    background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
    border-radius: 50%;
    right: 20px;
    bottom: 20%;
    box-shadow: 0 5px 6px 0 rgba(73, 105, 230, .22);
}

.query-m a {
    width: 60px;
    height: 60px;
    display: inline-block;
}

.query-m svg {
    margin-left: 15px;
    margin-top: 6px;
}

.query-m span {
    color: #fff;
    display: block;
    text-align: center;
    margin-top: -5px;
    font-weight: 700;
}


/*扫码下单*/
.order-m {
    cursor: pointer;
    position: fixed;
    width: 70px;
    height: 70px;
    background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
    border-radius: 50%;
    right: 100px;
    bottom: 20%;
    box-shadow: 0 5px 6px 0 rgba(73, 105, 230, .22);
}

.order-m a {
    width: 70px;
    height: 70px;
    display: inline-block;
}

.order-m svg {
    margin-left: 17.5px;
    margin-top: 6px;
}

.order-m span {
    color: #fff;
    display: block;
    text-align: center;
    margin-top: -4px;
    font-weight: 700;
}

.buy {
    text-align: center;
    margin-top: 10px;
}

.buy button {
    border: initial;
    color: #fff;
    display: inline-block;
    width: 170px;
    font-size: 18px;
    font-weight: 700;
    line-height: 45px;
    border-radius: 100px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: 0 5px 6px 0 rgba(73, 105, 230, .22);
    background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
}

.intro {
    padding: 10px 20px;
    color: #444444;
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: .5px;
    font-weight: 700;
}

/*底部*/
.footer {
    margin-top: 50px;
    margin-bottom: 15px;
    text-align: center;
    color: #9a9a9a;
}


/*首页提示框*/
.home-tips {
    border-radius: 12px !important;
}

.home-tips .layui-layer-title {
    background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
    color: #fff !important;
    height: 40px;
    line-height: 40px;
    border-radius: 10px 10px 0 0;
    background-color: initial;
    border-bottom: initial;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: initial;
    overflow: hidden;

}

.home-tips .layui-layer-setwin {
    color: #fff;
    position: absolute;
    top: initial;
    bottom: -50px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 30px;
    height: 30px;
}

.home-tips .layui-layer-setwin a {
    position: initial;
}

.home-tips .layui-layer-content {
    padding: 10px 20px;
    color: #444444;
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: .5px;
    font-weight: 700;
    word-wrap: break-word;
    word-break: normal;
}

/*扫码*/
.qr {
    text-align: center;
    position: relative;
}

.qr svg {
    display: block;
    margin: 0 auto;
}

.qr img {
    height: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*购买页*/
.main-box .goods-img {
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 10px;
    width: calc(100% - 30px);
    height: 0;
    position: relative;
    padding-bottom: calc(100% - 40px);
}

.main-box .goods-msg {
    margin-right: 20px;
    margin-left: 10px;
    margin-top: 20px;
}

.main-box .goods-img img {
    width: calc(100% - 10px);
    box-shadow: 0 5px 6px 0 rgba(73, 105, 230, .22);
    border-radius: 5px;
    margin-top: 5px;
    /*padding: 5px;*/
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.main-box .goods-msg .goods-name {
    font-weight: 700;
    font-size: 18px;
    color: #545454;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 5px;
}

.layui-form-select dl dd.layui-this {
    /*修改下拉框的颜色*/
    background-color: #22b6f2;
}

/*tips*/
.small-tips {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 5px;
    line-height: initial;
}

.tips-cyan {
    background: #ccdcf6;
    color: #2F4056;
}

.tips-pink {
    background: #ffebe8;
    color: #fb636b;
}

.tips-green {
    background: #dff7ea;
    color: #28C76F;
}

.tips-yellow {
    background: #fbf7da;
    color: #d6b900;
}

.tips-blue {
    background: #cadbff;
    color: #3C8CE7;
}

.tips-red {
    background: #ffd3d3;
    color: #FA016D;
}

.tips-black {
    background: #262626;
    color: #ffffff
}

.pay {
    margin-top: 20px;
    border-top: 1px solid #f7f7f7;
    padding-top: 10px;
}

.pay-type {
    display: inline-block;
    text-align: center;
    background: #f7f7f7;
    border: 2px solid #e7e7e7;
    border-radius: 5px;
    position: relative;
    padding: 7px 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.pay-type svg {
    vertical-align: middle;
}

.pay-select {
    border: 2px solid rgb(51, 105, 255);
    background: rgb(248, 250, 255);
    color: rgb(51, 105, 255);
}

.sale {
    margin-top: 5px;
    margin-left: -5px;
}

.sale .small-tips {
    margin-bottom: 5px;
}

.l-msg {
    color: #999;
    width: 72px;
    display: inline-block;
    vertical-align: middle;
}

.price {
    margin-top: 5px;
}

.price .price-sign {
    color: #e4393c;
    font-size: 16px;
}

.price .price-num {
    color: #e4393c;
    font-size: 22px;
}

.price .price-c {
    margin-left: 5px;
    color: #666;
    font: 12px/150% tahoma, arial, Microsoft YaHei, Hiragino Sans GB, "\u5b8b\u4f53", sans-serif;
}

.entry {
    margin-top: 15px;
}

.pay-num {
    width: 50px !important;
    text-align: center;
    font-size: 20px !important;
}

.sub svg, .add svg {
    vertical-align: middle;
    margin-top: -7px;
    cursor: pointer;
}

.input input {
    display: inline-block;
    padding: 0 5px;
    height: 35px;
    width: 300px;
    font-weight: 500;
    font-size: 14px;
    color: #999;
    background: #fff;
    border: 1px solid #f0f0f0;
    -webkit-box-shadow: 0 4px 10px 0 rgba(135, 142, 154, .07);
    box-shadow: 0 4px 10px 0 rgba(135, 142, 154, .07);
    border-radius: 4px;
    overflow: hidden;
}

.code img {
    height: 35px;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    vertical-align: middle;
    margin-top: -3px;
}

.code input {
    width: 178px !important;
}

#wait-geetest-captcha {
    color: #999;
}

.err_title {
    color: #545454;
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
}

.err_content {
    margin-top: 30px;
    margin-bottom: 30px;
    color: #737373;
}

.err_but {
    padding-bottom: 100px;
}

.btn a, .btn button {
    border: initial;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    width: 160px;
    line-height: 45px;
    margin-top: 15px;
    border-radius: 100px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: 0 5px 6px 0 rgba(73, 105, 230, .22);
    background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
}

.pay-title {
    color: #737373;
    font-weight: 700;
    font-size: 20px;
    margin: 0 15px;
}

.order-list {
    margin-left: initial;
    margin-right: initial;
    margin-top: 10px;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 5px;
}

.info-ui {
    color: #737373;
}

.info-ui strong {
    width: 30%;
    margin-bottom: 3px;
    text-align: right;
    display: inline-block;
}

.order-info {
    width: calc(100% - 12px);
    height: 75px;
    overflow-wrap: break-word;
    padding: 5px;
    overflow: auto;
    resize: none !important;
    border: 1px solid #f0f0f0;
    -webkit-box-shadow: 0 4px 10px 0 rgba(135, 142, 154, .07);
    box-shadow: 0 4px 10px 0 rgba(135, 142, 154, .07);
    border-radius: 4px;
}

/*手机端适应*/
@media (max-width: 768px) {
    :root {
        --m-brand: #6366f1;
        --m-brand-dark: #4f46e5;
        --m-brand-light: #eef2ff;
        --m-accent: #8b5cf6;
        --m-text: #0f172a;
        --m-text-secondary: #475569;
        --m-text-muted: #94a3b8;
        --m-surface: #ffffff;
        --m-surface-muted: #f8fafc;
        --m-border: #f1f5f9;
        --m-border-strong: #e2e8f0;
        --m-bg: #f8fafc;
        --m-radius: 10px;
        --m-radius-lg: 14px;
        --m-radius-xl: 20px;
        --m-gap-xs: 4px;
        --m-gap-sm: 8px;
        --m-gap-md: 12px;
        --m-gap-lg: 16px;
        --m-gap-xl: 24px;
        --m-shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
        --m-shadow-md: 0 4px 12px rgba(15,23,42,0.06);
        --m-shadow-brand: 0 4px 14px rgba(99,102,241,0.25);
    }

    body {
        background: var(--m-bg);
        font-size: 14px;
        color: var(--m-text);
        -webkit-font-smoothing: antialiased;
        letter-spacing: -0.01em;
    }

    /* Google翻译 */
    .goog-te-banner-frame, .goog-te-banner, #goog-gt-tt, .goog-te-balloon-frame {
        display: none !important;
    }
    body { top: 0 !important; }
    #google_translate_element {
        top: 2px !important; right: 4px !important;
        transform: scale(0.6); transform-origin: top right;
    }

    /* === 头部：粘性极简顶栏 === */
    .header {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: #fff;
        height: 48px;
        margin-bottom: 0;
        border-radius: 0;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 1px 8px rgba(99,102,241,0.15);
    }
    .header .header-box {
        padding: 0 var(--m-gap-lg);
        height: 48px;
        display: flex;
        align-items: center;
    }
    .header .header-box img {
        max-width: 24px; max-height: 24px;
        border-radius: 6px;
    }
    .header .header-box .info {
        font-size: 17px; font-weight: 700;
        color: #fff !important;
        margin-left: var(--m-gap-sm);
        letter-spacing: -0.02em;
    }
    .header .header-box .query { display: none; }
    .header .header-box .notice { display: none; }

    /* === 主容器：无边框，靠留白分组 === */
    .layui-row { margin: 0; }
    .main .main-box {
        margin: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    /* === 公告：浮岛式淡色卡片 === */
    .main.layui-hide-xs { display: none !important; }
    .main.layui-show-xs {
        margin: var(--m-gap-sm) var(--m-gap-lg) 0;
    }
    .main.layui-show-xs .main-box {
        margin: 0;
        padding: var(--m-gap-md) var(--m-gap-lg);
        border-radius: var(--m-radius-lg);
        background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
        box-shadow: var(--m-shadow-sm);
        border: none;
    }
    .main.layui-show-xs .title .tit {
        font-size: 13px; font-weight: 700;
        color: var(--m-brand-dark);
        margin: 0;
        letter-spacing: -0.01em;
    }
    .main.layui-show-xs .goods {
        margin: 0; border: none; padding: 0;
    }
    .main.layui-show-xs .goods .tips {
        font-size: 12px;
        line-height: 1.65;
        color: var(--m-text-secondary);
        max-height: 72px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: var(--m-gap-xs);
        padding-right: 4px;
        scrollbar-width: thin;
        scrollbar-color: #c7d2fe transparent;
    }
    .main.layui-show-xs .goods .tips::-webkit-scrollbar { width: 3px; }
    .main.layui-show-xs .goods .tips::-webkit-scrollbar-track { background: transparent; }
    .main.layui-show-xs .goods .tips::-webkit-scrollbar-thumb {
        background: #c7d2fe; border-radius: 2px;
    }

    /* === 分类区：section 标题 + 网格 === */
    .main .title {
        margin: var(--m-gap-xl) var(--m-gap-lg) var(--m-gap-sm);
        font-size: 13px;
        font-weight: 700;
        color: var(--m-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: flex;
        align-items: center;
        gap: var(--m-gap-xs);
    }
    .main .title svg { display: none; }
    .main .cate {
        padding: 0 var(--m-gap-lg);
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--m-gap-sm);
    }
    .main .cate .cate-box {
        min-width: unset !important;
        width: 100% !important;
        height: auto;
        min-height: 52px;
        background: var(--m-surface);
        border-radius: var(--m-radius);
        padding: var(--m-gap-sm) var(--m-gap-md);
        margin: 0;
        border: none;
        box-shadow: var(--m-shadow-sm);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .main .cate .cate-box:active {
        transform: scale(0.96);
        box-shadow: var(--m-shadow-md);
    }
    .main .cate .cate-box p {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: var(--m-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .main .cate .cate-box div {
        margin-top: 2px;
        font-size: 11px;
        color: var(--m-text-muted);
    }
    .main .cate .cate-box-select {
        background: var(--m-text);
        box-shadow: var(--m-shadow-md);
    }
    .main .cate .cate-box-select p { color: #fff; }
    .main .cate .cate-box-select div { color: rgba(255,255,255,0.6); }

    .cate-btn-container {
        margin: var(--m-gap-md) 0 var(--m-gap-xs);
    }
    .expand-btn {
        padding: var(--m-gap-xs) var(--m-gap-lg);
        font-size: 12px;
        font-weight: 600;
        border-radius: 20px;
        background: var(--m-surface);
        color: var(--m-text-secondary);
        box-shadow: var(--m-shadow-sm);
        border: none;
    }

    /* === 商品列表：section 标题 + 列表 === */
    .main .goods {
        margin: 0;
        padding-top: 0;
        border: none;
    }
    .main .title-2 {
        margin: var(--m-gap-xl) var(--m-gap-lg) var(--m-gap-sm);
        font-size: 13px;
        font-weight: 700;
        color: var(--m-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: flex;
        align-items: center;
        gap: var(--m-gap-xs);
    }
    .main .title-2 svg { display: none; }

    .goods-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 var(--m-gap-lg);
    }

    /* 商品卡片：无边框列表式，靠分隔线分组 */
    .goods-box {
        height: auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: var(--m-gap-md) 0 !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid var(--m-border) !important;
        box-shadow: none !important;
        background: transparent !important;
        display: flex !important;
        align-items: center;
        transition: opacity 0.15s ease;
    }
    .goods-box:active {
        opacity: 0.6;
    }
    .goods-box .msg {
        height: auto !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        padding: 0 !important;
        flex: 1;
        min-width: 0;
    }
    .main .goods .picture {
        min-width: 44px;
        width: 44px;
        height: 44px;
        margin-right: var(--m-gap-md);
        flex-shrink: 0;
        border-radius: var(--m-radius);
        overflow: hidden;
    }
    .main .goods .picture img {
        border-radius: var(--m-radius);
    }
    .main .goods .msg .goods-name {
        margin: 0 0 var(--m-gap-xs);
        font-size: 14px;
        font-weight: 600;
        color: var(--m-text);
        -webkit-line-clamp: 1;
        max-height: 1.4em;
        line-height: 1.4;
    }
    .main .goods .msg .goods-price {
        font-size: 16px;
        font-weight: 700;
        color: var(--m-text);
        margin-bottom: 0;
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: var(--m-gap-xs);
        letter-spacing: -0.02em;
    }
    .main .goods .msg .goods-price div {
        font-size: 10px;
        padding: 1px 5px;
        margin: 0;
        border-radius: 4px;
        background: var(--m-brand-light);
        color: var(--m-brand-dark);
        font-weight: 600;
    }
    .main .goods .msg .goods-num {
        margin-top: var(--m-gap-xs);
        display: flex;
        align-items: center;
        gap: var(--m-gap-xs);
    }
    .main .goods .msg .goods-num div {
        width: 36px;
        height: 3px;
        border-radius: 2px;
        background: var(--m-border-strong);
    }
    .main .goods .msg .goods-num div p {
        background: var(--m-brand) !important;
    }
    .main .goods .msg .goods-num span {
        font-size: 11px;
        margin: 0;
        color: var(--m-text-muted);
        font-weight: 500;
    }

    /* === 页脚 === */
    .footer {
        margin: var(--m-gap-xl) var(--m-gap-lg) var(--m-gap-md);
        font-size: 11px;
        color: var(--m-text-muted);
        text-align: center;
    }

    /* === 查单 FAB === */
    .query-m {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        right: var(--m-gap-lg);
        bottom: calc(15% + 16px);
        border-radius: 50%;
        background: var(--m-text);
        box-shadow: 0 6px 20px rgba(15,23,42,0.2);
        z-index: 50;
    }
    .query-m a {
        width: 52px; height: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .query-m svg { width: 22px; height: 22px; margin: 0; }
    .query-m span { font-size: 9px; margin-top: 0; font-weight: 600; }

    .order-m { display: none; }

    /* === 购买页 / 商品详情 === */
    .main-box .goods-img {
        width: 100%;
        margin: 0 0 var(--m-gap-md);
        padding-bottom: 100%;
    }
    .main-box .goods-img img {
        width: 100%;
        height: 100%;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
    }
    .main-box .goods-msg {
        margin: 0 var(--m-gap-lg) var(--m-gap-lg);
        width: calc(100% - var(--m-gap-lg) * 2);
    }
    .main-box .goods-msg .goods-name {
        font-size: 16px !important;
        line-height: 1.4;
        word-break: break-word;
        padding-bottom: var(--m-gap-sm);
    }
    .price { margin-top: var(--m-gap-sm); }
    .price .price-num { font-size: 22px; }
    .price .price-sign { font-size: 14px; }
    .small-tips {
        font-size: 10px;
        padding: 1px 4px;
        margin-left: 3px;
        margin-bottom: 3px;
    }
    .sale {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: var(--m-gap-sm);
    }
    .entry { margin-top: var(--m-gap-md); }
    .input input { width: calc(100% - 95px); }
    .code input { width: calc(100% - 219px) !important; }
    .geetest_holder.geetest_wind {
        margin-top: var(--m-gap-sm);
        transform: scale(0.9);
        transform-origin: left top;
    }
    .pay {
        margin-top: var(--m-gap-md);
        padding-top: var(--m-gap-sm);
    }
    .pay-type {
        width: 100% !important;
        margin-bottom: var(--m-gap-sm);
        padding: 10px 0;
    }
    .layui-form-item { margin-bottom: 10px; }
    .layui-form-label {
        width: 70px !important;
        padding: 9px 8px 9px 0 !important;
        font-size: 13px;
    }
    .layui-input-block {
        margin-left: 78px !important;
        min-height: 36px;
    }
    .layui-input, .layui-select, .layui-textarea {
        height: 36px;
        font-size: 14px;
    }
    .layui-btn {
        height: 40px;
        line-height: 40px;
        font-size: 15px;
        width: 100%;
    }
    .order-info { margin-top: var(--m-gap-sm); }

    /* === 主容器全宽适配 === */
    .main .main-box {
        margin: var(--m-gap-md) var(--m-gap-lg);
        width: calc(100% - var(--m-gap-lg) * 2);
        box-sizing: border-box;
    }
    .layui-col-md8.layui-col-md-offset2 {
        margin-left: 0;
        width: 100%;
    }

    /* === 订单详情页 === */
    .pay-title {
        font-size: 16px;
        padding: 0 var(--m-gap-lg);
    }
    .info-box { padding: var(--m-gap-md) var(--m-gap-lg) !important; }
    .info-ui li {
        font-size: 13px;
        line-height: 1.8;
        word-break: break-all;
    }
    .order-list .layui-col-md4 {
        width: 100%;
        margin-bottom: var(--m-gap-sm);
    }
    .layui-table {
        width: 100%;
        font-size: 12px;
    }
    .layui-table th, .layui-table td {
        padding: 8px 6px;
        word-break: break-all;
    }

    /* === 支付页 === */
    .product-info p {
        font-size: 14px !important;
        margin: var(--m-gap-md) 0 !important;
        padding: 0 var(--m-gap-md);
        word-break: break-word;
    }
    .layui-card-body > div[style*="text-align: center"] {
        width: 260px !important;
        max-width: 100% !important;
    }
    .layui-card-body > div[style*="text-align: center"] img {
        width: 180px !important;
        height: 180px !important;
    }
    .product-pay-price { font-size: 14px !important; }

    /* === 通用文字溢出修复 === */
    body { word-break: break-word; overflow-wrap: break-word; }
    p, span, div, li, td, th {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* === 导航栏 === */
    .header .header-box { padding-top: 10px; padding-bottom: 10px; }
    .header .header-box img { max-width: 110px; max-height: 34px; }
    .header .header-box .info { font-size: 14px; }

    /* === 底部 === */
    .footer { padding: var(--m-gap-lg); font-size: 12px; text-align: center; }
    .footer img { max-width: 120px; }

    /* === 表单弹窗 === */
    .layui-layer {
        width: 92% !important;
        max-width: 360px !important;
    }
    .layui-layer-content { padding: var(--m-gap-md) !important; }
}

@media (max-width: 375px) {
    .main .cate .cate-box p { font-size: 12px; }
    .main .goods .msg .goods-name { font-size: 13px; }
    .main .goods .msg .goods-price { font-size: 15px; }
}


/* =========================================================
   移动端增强修复（弹窗/文字溢出/布局）
   ========================================================= */


/* =========================================================
   六六顺发卡系统 - 移动端修复
   ========================================================= */

@media (max-width: 768px) {

/* ========== 顶部导航 - 文字logo完整显示 ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.header .header-box {
    padding: 12px 15px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto !important;
}

.header .header-box > a {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    text-decoration: none;
    min-width: 0;
}

.header .header-box img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.header .header-box .info {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 查询按钮 */
.header .header-box .query {
    display: flex !important;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 12px !important;
    color: #666;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: 10px;
}

.header .header-box .query svg {
    width: 14px !important;
    height: 14px !important;
}

/* 公告栏隐藏（首页有专门的） */
.header .notice { display: none !important; }

/* 背景图隐藏 */
.background { display: none !important; }

body {
    background: #f5f5f5 !important;
}

/* ========== 主容器宽度适配 ========== */
.layui-row { margin: 0 !important; }

.layui-col-md8.layui-col-md-offset2,
.layui-col-md8 {
    margin-left: 0 !important;
    width: 100% !important;
    float: none !important;
}

.main .main-box {
    margin: 12px 12px !important;
    width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
    background: #fff;
    border-radius: 10px;
    padding: 15px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ========== 商品详情页 ========== */
.main-box .goods-img {
    margin: 0 0 12px !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 100% !important;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.main-box .goods-img img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    border-radius: 8px;
}

.main-box .goods-msg {
    margin: 0 !important;
    width: 100% !important;
}

.main-box .goods-msg .goods-name {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    color: #333;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #f0f0f0;
}

/* 价格 */
.price {
    margin: 10px 0 !important;
}

.price .price-sign {
    font-size: 14px;
    color: #e4393c;
    font-weight: 700;
}

.price .price-num {
    font-size: 24px;
    color: #e4393c;
    font-weight: 700;
}

.price .price-c {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
}

/* 小标签 */
.small-tips {
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 3px;
    margin-bottom: 4px;
    border-radius: 3px;
    line-height: 1.5;
    display: inline-block;
}

/* 购买表单 */
.entry { margin-top: 12px; }

.layui-form-item { margin-bottom: 10px; }

.layui-form-label {
    width: auto !important;
    padding: 8px 10px 8px 0 !important;
    font-size: 13px !important;
}

.layui-input-block {
    margin-left: 0 !important;
}

.layui-input, .layui-select, .layui-textarea {
    height: 38px !important;
    font-size: 14px !important;
    border-radius: 6px;
}

.layui-btn {
    height: 42px !important;
    line-height: 42px !important;
    font-size: 15px !important;
    width: 100% !important;
    border-radius: 6px !important;
}

/* ========== 标题栏 ========== */
.main .title {
    margin: 0 !important;
    padding: 0 0 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0;
    word-break: break-word;
}

.pay-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px !important;
    word-break: break-word;
    color: #333 !important;
}

/* ========== 订单详情 ========== */
.layui-card-body.info-box {
    padding: 10px 0 0 !important;
}

.order-list .layui-col-md4 {
    width: 100% !important;
    margin-bottom: 0 !important;
    float: none !important;
}

.info-ui {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-ui li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
    color: #333;
}

.info-ui li:last-child { border-bottom: none; }

.info-ui li strong {
    color: #666;
    font-weight: 500;
    margin-right: 5px;
}

.layui-table {
    width: 100% !important;
    font-size: 12px !important;
}

.layui-table th,
.layui-table td {
    padding: 8px 6px !important;
    word-break: break-all;
}

/* ========== 支付页 ========== */
.product-info p {
    padding: 0 !important;
    font-size: 14px !important;
    color: #666 !important;
    margin: 10px 0 !important;
    word-break: break-word !important;
    line-height: 1.6 !important;
    text-align: center;
}

.layui-card-body > div[style*="text-align: center"] {
    width: 260px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.layui-card-body > div[style*="text-align: center"] img {
    width: 180px !important;
    height: 180px !important;
}

/* ========== 通用文字修复 ========== */
body { word-break: break-word; overflow-wrap: break-word; }

p, span, div, li, td, th, a, button, input, textarea {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ========== 底部 ========== */
.footer {
    padding: 20px 15px !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #999 !important;
    background: transparent !important;
}

.footer img { max-width: 100px !important; }

/* ========== 弹窗（购买提示等） ========== */
.layui-layer {
    width: 92% !important;
    max-width: 360px !important;
    max-height: 85vh !important;
    border-radius: 10px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
    right: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.layui-layer-title {
    flex-shrink: 0 !important;
    font-size: 15px !important;
    padding: 0 50px 0 16px !important;
    height: 44px !important;
    line-height: 44px !important;
    border-radius: 10px 10px 0 0 !important;
    word-break: break-word !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.4 !important;
    padding: 12px 50px 12px 16px !important;
}

.layui-layer-content {
    flex: 1 !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    word-break: break-word !important;
    max-height: calc(85vh - 100px) !important;
}

.layui-layer-content img {
    max-width: 100% !important;
    height: auto !important;
}

.layui-layer-close {
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 20px !important;
    line-height: 32px !important;
    z-index: 10 !important;
}

/* 弹窗按钮组 */
.layui-layer-btn {
    flex-shrink: 0 !important;
    padding: 10px 12px 14px !important;
    border-radius: 0 0 10px 10px !important;
}

.layui-layer-btn a {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    padding: 0 20px !important;
}

} /* @media end */

/* ========== 小屏手机优化 ========== */
@media (max-width: 375px) {
    .header .header-box .info { font-size: 15px !important; }
    .price .price-num { font-size: 22px; }
    .main-box .goods-msg .goods-name { font-size: 16px !important; }
}

