.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: #6B7280;
}

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


/*极验*/
.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: #374151;
    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(40, 167, 69, .22);
    background-image: linear-gradient(135deg, #28a745 10%, #20c997 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: #374151;
    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 6px 0 0 rgba(0, 0, 0, .01), 0 15px 32px 0 rgba(237, 169, 195, .14);
    box-shadow: 0 6px 0 0 rgba(0, 0, 0, .01), 0 15px 32px 0 rgba(237, 169, 195, .14);
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    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: #374151;
}

.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, #28a745 10%, #20c997 100%);
    -webkit-box-shadow: 0 7px 10px 0 rgba(40, 167, 69, .23);
    box-shadow: 0 7px 10px 0 rgba(40, 167, 69, .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: #374151;
    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: #374151;
}

.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 6px 0 0 rgba(0, 0, 0, .01), 0 15px 32px 0 rgba(237, 169, 195, .14);
    box-shadow: 0 6px 0 0 rgba(0, 0, 0, .01), 0 15px 32px 0 rgba(237, 169, 195, .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: #374151;
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
}

.main .goods .msg .goods-price {
    color: #16a34a;
    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, #28a745 10%, #20c997 100%);
    border-radius: 50%;
    right: 20px;
    bottom: 20%;
    box-shadow: 0 5px 6px 0 rgba(40, 167, 69, .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, #28a745 10%, #20c997 100%);
    border-radius: 50%;
    right: 100px;
    bottom: 20%;
    box-shadow: 0 5px 6px 0 rgba(40, 167, 69, .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(40, 167, 69, .22);
    background-image: linear-gradient(135deg, #28a745 10%, #20c997 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, #28a745 10%, #20c997 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(40, 167, 69, .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: #374151;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 5px;
}

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

/*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: #16a34a;
}

.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 #28a745;
    background: rgba(40, 167, 69, 0.06);
    color: #28a745;
}

.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(237, 169, 195, .10);
    box-shadow: 0 4px 10px 0 rgba(237, 169, 195, .10);
    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: #374151;
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
}

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

.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(40, 167, 69, .22);
    background-image: linear-gradient(135deg, #28a745 10%, #20c997 100%);
}

.pay-title {
    color: #6B7280;
    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: #6B7280;
}

.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(237, 169, 195, .10);
    box-shadow: 0 4px 10px 0 rgba(237, 169, 195, .10);
    border-radius: 4px;
}

/*手机端适应*/
@media (max-width: 768px) {
    body {
        background: initial;
    }
    .header {
        background: transparent;
        height: auto;
        margin-bottom: 0;
        border-radius: 0;
    }

    .header .info {
        color: #16a34a !important;
    }

    .query-m {
        display: initial;
    }

    .order-m {
        display: none;
    }

    .input input {
        width: calc(100% - 95px);
    }

    .code input {
        width: calc(100% - 219px) !important;
    }

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

    .main .goods .goods-price div {
        margin-bottom: 5px;
    }

    .geetest_holder.geetest_wind {
        margin-top: 10px;
    }

    .order-info {
        margin-top: 10px;
    }
}

@media (max-width: 425px) {
    .main .cate .cate-box {
        min-width: calc(50% - 60px);
    }
}

/* ========== Modern Enhancements ========== */

/* Body & Global */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Banner — Floating Card Style */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d4a24 0%, #1a7a3a 25%, #28a745 50%, #20c997 80%, #38ef7d 100%);
    padding: 40px 20px 36px;
    text-align: center;
    color: #fff;
    border-radius: 18px;
    max-width: 1100px;
    margin: 12px auto 0;
    box-shadow: 0 4px 24px rgba(40, 167, 69, 0.15);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(32, 201, 151,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(40,167,69,0.2) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, 3%) scale(1.05); }
}

.hero-banner .hero-content {
    position: relative;
    z-index: 1;
}

.hero-banner .hero-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero-banner .hero-subtitle {
    font-size: 14px;
    opacity: 0.85;
    letter-spacing: 1px;
    font-weight: 400;
}

.hero-banner .hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-banner .hero-stat {
    text-align: center;
}

.hero-banner .hero-stat-num {
    font-size: 22px;
    font-weight: 700;
}

.hero-banner .hero-stat-label {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 2px;
}

/* Notice Section Enhancement */
.notice-panel {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 8px 30px rgba(237, 169, 195, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.06);
}

.notice-panel .notice-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #16a34a, #20c997) 1;
}

.notice-panel .notice-heading .tit {
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
}

.notice-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.notice-list .notice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px !important;
    margin: 8px 0 !important;
    border-left: 4px solid #16a34a !important;
    border-radius: 0 8px 8px 0 !important;
    background: linear-gradient(90deg, rgba(40,167,69,0.04), rgba(32, 201, 151,0.02)) !important;
    box-shadow: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

.notice-list .notice-item:hover {
    transform: translateX(4px);
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.1) !important;
}

.notice-list .highlight {
    color: #16a34a !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

.notice-list .warning {
    color: #e74c3c !important;
    font-weight: 600 !important;
}

.notice-contact {
    margin-top: 16px;
    padding: 14px 18px !important;
    background: linear-gradient(135deg, #f0faf3, #fdf0f5) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(40, 167, 69, 0.12) !important;
    font-size: 14px !important;
    color: #475569 !important;
}

.tg-link {
    display: inline-block !important;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: #fff !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    cursor: pointer !important;
}

.tg-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Category Cards Enhancement */
.main .cate .cate-box {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1.5px solid #f1e0e8 !important;
    box-shadow: 0 2px 8px rgba(237, 169, 195, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 12px !important;
    height: auto !important;
    min-height: 64px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: 12px 18px !important;
}

.main .cate .cate-box:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.12) !important;
    border-color: rgba(40, 167, 69, 0.2) !important;
}

.main .cate .cate-box-select {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.25) !important;
    transform: translateY(-2px);
}

.main .cate .cate-box-select:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 28px rgba(40, 167, 69, 0.3) !important;
}

.main .cate .cate-box p {
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #2a3a5a !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

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

.main .cate .cate-box div {
    font-size: 11px !important;
    color: #8a9ab5 !important;
    margin-top: 0 !important;
    opacity: 1 !important;
}

.main .cate .cate-box-select div {
    color: rgba(255,255,255,0.85) !important;
}

/* Category Badge */
.cate-box .cate-badge {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 600;
}

.main .cate .cate-box-select .cate-badge {
    background: rgba(255,255,255,0.25);
}

/* Goods Cards Enhancement */
.goods-list {
    gap: 12px !important;
}

.goods-box {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1.5px solid #f1e0e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 3px 12px rgba(237, 169, 195, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    text-decoration: none;
}

.goods-box:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(40, 167, 69, 0.12) !important;
    border-color: rgba(40, 167, 69, 0.15) !important;
}

.goods-box .msg {
    padding: 12px 14px !important;
}

.goods-box .goods-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    line-height: 1.4 !important;
}

.goods-box .goods-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.goods-box .goods-price div {
    display: inline-block !important;
    background: linear-gradient(135deg, rgba(40,167,69,0.08), rgba(32, 201, 151,0.06)) !important;
    color: #16a34a !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    -webkit-text-fill-color: #16a34a;
    margin-top: 4px;
}

.goods-box .goods-num span {
    color: #0db26a !important;
    font-weight: 500 !important;
    font-size: 12px !important;
}

.goods-box .goods-num div {
    border-radius: 4px !important;
    height: 6px !important;
}

.goods-box .goods-num div p {
    background: linear-gradient(90deg, #65d69e, #20c997) !important;
    border-radius: 4px !important;
}

/* Out of stock style */
.goods-box[style*="cursor:not-allowed"] {
    opacity: 0.55;
    filter: grayscale(30%);
}

.goods-box[style*="cursor:not-allowed"]:hover {
    transform: none !important;
    box-shadow: 0 3px 12px rgba(237, 169, 195, 0.05) !important;
}

/* Title Enhancement */
.main .title, .main .title-2 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #16a34a, #20c997) 1;
    margin-bottom: 16px !important;
}

.main .title svg path, .main .title-2 svg path {
    fill: url(#titleGrad) !important;
}

/* Section Divider */
.goods {
    margin-top: 20px !important;
    border-top: none !important;
    padding-top: 0 !important;
}

/* Expand Button Enhancement */
.expand-btn {
    padding: 10px 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.25) !important;
}

/* Footer Enhancement */
.footer {
    margin-top: 60px !important;
    padding: 24px 20px !important;
    background: linear-gradient(180deg, transparent, rgba(237, 169, 195, 0.04)) !important;
}

.footer p {
    font-size: 13px;
    color: #8a9ab5;
}

.footer a {
    color: #16a34a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer a:hover {
    color: #20c997;
}

/* Mobile Query Button Enhancement */
.query-m {
    border-radius: 16px !important;
    width: 52px !important;
    height: 52px !important;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.query-m:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

.query-m a {
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.query-m svg {
    margin-left: 0 !important;
    margin-top: 2px !important;
}

.query-m span {
    margin-top: 0 !important;
    font-size: 10px;
    font-weight: 600;
}

/* Stagger Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cate-box {
    animation: fadeSlideUp 0.4s ease forwards;
    opacity: 0;
}

.goods-box {
    animation: fadeSlideUp 0.4s ease forwards;
    opacity: 0;
}

/* Header PC Enhancement — Floating Glass Container */
@media (min-width: 769px) {
    .background {
        background-attachment: fixed;
    }

    .header {
        position: relative;
        z-index: 100;
        margin: 18px auto 0;
        max-width: 1100px;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .header .layui-row {
        margin: 0;
    }

    .header .layui-col-md8 {
        width: 100%;
        margin-left: 0;
    }

    .header .header-box {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(237, 169, 195, 0.10), 0 1px 6px rgba(0,0,0,0.04);
        padding: 12px 24px !important;
        display: flex;
        align-items: center;
        transition: box-shadow 0.3s;
    }

    .header .header-box:hover {
        box-shadow: 0 6px 30px rgba(237, 169, 195, 0.14), 0 2px 8px rgba(0,0,0,0.05);
    }

    .header .header-box img {
        filter: none;
        max-width: 120px;
        max-height: 38px;
    }

    .header .header-box .info {
        color: #16a34a !important;
        font-size: 17px;
        text-shadow: none;
    }

    .header .header-box .query {
        margin-left: auto;
        float: none;
    }

    .header .header-box .query a {
        background: linear-gradient(135deg, #28a745 10%, #20c997 100%) !important;
        backdrop-filter: none;
        border: none;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
        transition: all 0.3s;
    }

    .header .header-box .query a:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(40, 167, 69, 0.35) !important;
    }

    .header .header-box .notice {
        margin-top: 0;
        margin-left: 16px;
        flex: 1;
        min-width: 0;
    }

    /* Adjust hero to sit below floating nav */
    .hero-banner {
        margin-top: -6px;
        border-radius: 18px;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
        padding: 36px 20px 32px;
    }

    /* Main content wider */
    .main .layui-col-md8 {
        width: 82%;
        margin-left: 9%;
    }
}

/* Mobile Header Enhancement */
@media (max-width: 768px) {
    /* ===== Global Mobile Reset ===== */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    body {
        background: linear-gradient(180deg, #f0faf3 0%, #fdf0f5 40%, #f8f9fa 100%) !important;
        font-size: 14px !important;
    }

    /* ===== Header — Floating Glass ===== */
    .header {
        background: transparent !important;
        padding: 10px 6px 0 !important;
        margin-bottom: 0 !important;
        height: auto !important;
    }

    .header .header-box {
        background: rgba(255, 255, 255, 0.88) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border: 1px solid rgba(255, 255, 255, 0.45) !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 16px rgba(237, 169, 195, 0.08), 0 1px 4px rgba(0,0,0,0.03) !important;
        padding: 10px 14px !important;
        display: flex !important;
        align-items: center !important;
    }

    .header .header-box img {
        filter: none !important;
        max-width: 100px !important;
        max-height: 32px !important;
    }

    .header .header-box .info {
        color: #16a34a !important;
        font-size: 14px !important;
    }

    .header .header-box .query a {
        background: linear-gradient(135deg, #28a745 10%, #20c997 100%) !important;
        box-shadow: 0 3px 10px rgba(40, 167, 69, 0.25);
    }

    .header .header-box .notice {
        margin-top: 8px !important;
        width: 100%;
    }

    /* ===== Main Container ===== */
    .main {
        padding: 0 6px !important;
    }

    .main .main-box {
        margin-top: 10px !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 16px rgba(237, 169, 195, 0.06) !important;
        padding-top: 10px !important;
        padding-bottom: 14px !important;
        border: none !important;
    }

    /* ===== Section Titles ===== */
    .main .title,
    .main .title-2 {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        margin: 0 14px !important;
        padding: 4px 0 !important;
    }

    .main .title svg,
    .main .title-2 svg {
        width: 18px !important;
        height: 18px !important;
        margin-right: 6px !important;
    }

    .main .title-2 {
        border-top: none !important;
        margin-top: 6px !important;
        padding-top: 10px !important;
    }

    .main .goods {
        margin-top: 4px !important;
        padding-top: 6px !important;
    }

    /* ===== Hero Banner Mobile ===== */
    .hero-banner {
        padding: 24px 14px 20px !important;
        border-radius: 16px !important;
        margin: 8px 6px 0 !important;
    }

    .hero-banner .hero-title {
        font-size: 22px !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
        margin-bottom: 6px !important;
    }

    .hero-banner .hero-subtitle {
        font-size: 12px !important;
        letter-spacing: 0.5px !important;
        opacity: 0.8 !important;
    }

    .hero-banner .hero-stats {
        gap: 0 !important;
        margin-top: 16px !important;
        justify-content: space-around !important;
        background: rgba(255,255,255,0.12) !important;
        backdrop-filter: blur(10px);
        border-radius: 12px !important;
        padding: 12px 8px !important;
    }

    .hero-banner .hero-stat {
        flex: 1 !important;
        text-align: center !important;
    }

    .hero-banner .hero-stat + .hero-stat {
        border-left: 1px solid rgba(255,255,255,0.2) !important;
    }

    .hero-banner .hero-stat-num {
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    .hero-banner .hero-stat-label {
        font-size: 11px !important;
        opacity: 0.75 !important;
        margin-top: 2px !important;
    }

    /* ===== Category Cards Mobile ===== */
    .main .cate {
        padding: 10px 6px !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .main .cate .cate-box {
        padding: 0 !important;
        min-height: unset !important;
        height: auto !important;
        width: calc(50% - 4px) !important;
        margin: 0 !important;
        border-radius: 14px !important;
        border: 1.5px solid #f1e0e8 !important;
        background: rgba(255, 255, 255, 0.85) !important;
        box-shadow: 0 2px 8px rgba(237, 169, 195, 0.06) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        padding: 12px 14px !important;
        box-sizing: border-box !important;
    }

    .main .cate .cate-box p {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
    }

    /* Show count as compact badge on mobile */
    .main .cate .cate-box div {
        font-size: 0 !important;
        height: auto !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
    }

    .main .cate .cate-box div .cate-badge {
        display: inline-block !important;
        font-size: 11px !important;
        background: linear-gradient(135deg, #28a745, #20c997) !important;
        color: #fff !important;
        padding: 1px 8px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }

    /* Selected category */
    .main .cate .cate-box-select {
        background: linear-gradient(135deg, #28a745, #20c997) !important;
        border-color: transparent !important;
        box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3) !important;
        transform: scale(1.02);
    }

    .main .cate .cate-box-select p {
        color: #fff !important;
        font-weight: 700 !important;
    }

    .main .cate .cate-box-select div .cate-badge {
        background: rgba(255,255,255,0.3) !important;
        color: #fff !important;
    }

    .main .cate .cate-box:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1) !important;
    }

    /* Expand button mobile */
    .cate-btn-container {
        margin: 6px 0 10px !important;
    }

    .expand-btn {
        padding: 8px 28px !important;
        font-size: 13px !important;
        border-radius: 20px !important;
    }

    /* ===== Goods Cards Mobile ===== */
    .goods-list {
        gap: 8px !important;
        padding: 0 6px !important;
    }

    .main .goods .goods-box {
        width: calc(50% - 4px) !important;
        min-width: unset !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: inline-flex !important;
        flex-shrink: 0 !important;
        border-radius: 14px !important;
        border: 1.5px solid #f1e0e8 !important;
        background: rgba(255, 255, 255, 0.85) !important;
        box-shadow: 0 3px 10px rgba(237, 169, 195, 0.08) !important;
    }

    .goods-box .picture {
        width: 60px !important;
        min-width: 60px !important;
        height: 60px !important;
        margin-right: 0 !important;
        border-radius: 10px 0 0 10px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f8f9fb !important;
    }

    .goods-box .picture img {
        max-width: 44px !important;
        max-height: 44px !important;
        object-fit: contain !important;
    }

    .goods-box .msg {
        padding: 8px 10px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .goods-box .goods-name {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 4px !important;
    }

    .goods-box .goods-price {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #16a34a !important;
        margin-bottom: 2px !important;
    }

    .goods-box .goods-price div {
        font-size: 10px !important;
        padding: 1px 5px !important;
        margin-bottom: 0 !important;
    }

    .goods-box .goods-num {
        margin-top: 2px !important;
    }

    .goods-box .goods-num span {
        font-size: 11px !important;
        color: #0db26a !important;
    }

    .goods-box .goods-num div {
        height: 4px !important;
        border-radius: 2px !important;
        background: #e8ecf1 !important;
        overflow: hidden !important;
    }

    .goods-box .goods-num div p {
        height: 4px !important;
        border-radius: 2px !important;
    }

    /* ===== Notice Panel Mobile ===== */
    .notice-panel {
        padding: 14px 12px !important;
        margin: 8px 6px 0 !important;
        border-radius: 14px !important;
    }

    .notice-panel .notice-heading {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }

    .notice-panel .notice-heading .tit {
        font-size: 16px !important;
    }

    .notice-list .notice-item {
        display: block !important;
        padding: 10px 12px !important;
        margin: 6px 0 !important;
        border-left-width: 3px !important;
        border-radius: 0 8px 8px 0 !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .notice-list .notice-item .highlight {
        white-space: normal !important;
        display: inline !important;
        font-weight: 700 !important;
        margin-right: 4px !important;
    }

    .notice-list .notice-item .warning {
        white-space: normal !important;
        display: inline !important;
    }

    .notice-contact {
        margin-top: 12px !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
        border-radius: 10px !important;
    }

    .notice-contact .warning {
        white-space: normal !important;
        display: inline !important;
    }

    .tg-link {
        padding: 3px 10px !important;
        font-size: 12px !important;
    }

    /* ===== Query Button Mobile ===== */
    .query-m {
        right: 12px !important;
        bottom: 20px !important;
    }

    .query-m a {
        width: 48px !important;
        height: 48px !important;
    }

    /* ===== Footer Mobile ===== */
    .footer {
        padding: 16px 10px !important;
        font-size: 12px !important;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .hero-banner .hero-title {
        font-size: 19px !important;
    }

    .hero-banner .hero-stats {
        gap: 10px !important;
    }

    .hero-banner .hero-stat-num {
        font-size: 15px !important;
    }

    .goods-box .goods-name {
        font-size: 11px !important;
    }

    .main .cate .cate-box p {
        font-size: 11px !important;
    }
}

/* Scrollbar Enhancement - luankao style */
::-webkit-scrollbar {
    width: 5px !important;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(246, 193, 193, 0.3) !important;
    border-radius: 10px !important;
    background: transparent !important;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px !important;
    background: rgba(245, 196, 196, 0.3) !important;
    -webkit-box-shadow: inset 0 0 6px rgba(236, 186, 186, 0.5) !important;
}

/* Selection Color */
::selection {
    background: rgba(40, 167, 69, 0.15);
    color: #1E293B;
}
