.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: 40px;
}

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

.header .header-box .info {
    display: inline-block;
    vertical-align: middle;
    background-image: linear-gradient(
        90deg,
        #e879a8 0%,
        #f0a060 12%,
        #e8b84a 24%,
        #f0a060 36%,
        #e879a8 48%,
        #f0a060 60%,
        #e8b84a 72%,
        #f0a060 84%,
        #e879a8 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shimmer 6s linear infinite;
    width: auto;
    max-width: 300px;
    font-weight: bold;
    font-size: 22px;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}





.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: 5px;
    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%);
    margin-top: 6px;
}

.header .header-box .query a svg {
    margin-left: -4px;
    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, .06);
    box-shadow: 0 7px 29px 0 rgba(18, 52, 91, .06);
    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: 14px;
    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: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.68);
    border-radius: 12px;
    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;
    -webkit-box-shadow:
        0 1px 1px rgba(15, 23, 42, 0.018),
        0 10px 28px -26px rgba(15, 23, 42, 0.22);
    box-shadow:
        0 1px 1px rgba(15, 23, 42, 0.018),
        0 10px 28px -26px rgba(15, 23, 42, 0.22);
}

.main .cate .cate-box-select {
    background-image: linear-gradient(135deg, #f8f6ff 0%, #fff8f0 100%);
    border-color: rgba(186, 168, 231, 0.28);
    -webkit-box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.025),
        0 14px 30px -26px rgba(124, 110, 230, 0.22);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.025),
        0 14px 30px -26px rgba(124, 110, 230, 0.22);
}

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

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

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

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

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


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

/* 首页商品列表：一行一张横向卡片 */
.main .goods .goods-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 8px;
}

.main .goods .goods-cate-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 2px 2px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.main .goods .goods-cate-divider:first-child {
    margin-top: 2px;
}

.main .goods .goods-cate-divider::before {
    content: "";
    width: 4px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d6ad62, #f0d28a);
    box-shadow: 0 4px 10px rgba(190, 150, 78, 0.18);
}

.main .goods .goods-cate-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0));
}

.main .goods .goods-cate-divider span {
    color: #64748b;
}

.main .goods .goods-cate-divider em {
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.main .goods .tips {
    line-height: 1.8;
}

.main .goods .tips p {
    margin-bottom: 0.5em;
}

.main .title-2 {
    margin-bottom: 14px;
    color: #545454;
    font-weight: 600;
}

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

.main .goods .goods-box {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 10px 14px;
    margin: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.38);
    border-radius: 12px;
    box-shadow:
        0 1px 1px rgba(15, 23, 42, 0.018),
        0 10px 28px -27px rgba(15, 23, 42, 0.24);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.main .goods .goods-box:hover {
    transform: translateY(-1px);
    border-color: rgba(203, 213, 225, 0.42);
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.026),
        0 14px 32px -29px rgba(15, 23, 42, 0.28);
}

.main .goods .goods-box:active {
    transform: translateY(0);
}

.main .goods .goods-box--disabled {
    opacity: 0.72;
    pointer-events: none;
}

.main .goods .goods-box--disabled:hover {
    transform: none;
    border-color: rgba(226, 232, 240, 0.48);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px -6px rgba(60, 140, 231, 0.08);
}

.main .goods .goods-box--disabled::after {
    opacity: 0.15;
}

.main .goods .picture {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.main .goods .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main .goods .picture-placeholder {
    background: linear-gradient(135deg, #e8f1fc 0%, #f0f9ff 50%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main .goods .picture-placeholder-inner {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(60, 140, 231, 0.2), rgba(0, 234, 255, 0.25));
    opacity: 0.9;
}

.main .goods .msg {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(120px, auto) 72px minmax(128px, 160px);
    align-items: center;
    gap: 14px;
    padding: 0;
}

.main .goods .msg .goods-name {
    margin: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main .goods .msg .goods-offers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    min-width: 0;
}

.main .goods .msg .goods-price-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.main .goods .msg .goods-price-main {
    color: #4f46e5;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.main .goods .msg .goods-price-tag {
    display: inline-block;
    background: #fff1f2;
    color: #fb7185;
    border: 1px solid #ffe4e6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.main .goods .msg .goods-num {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
}

.main .goods .msg .goods-stock-bar {
    width: 88px;
    height: 3px;
    background: #eef2f6;
    position: relative;
    border-radius: 999px;
    overflow: hidden;
}

.main .goods .msg .goods-stock-bar p {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    margin: 0;
    background: linear-gradient(90deg, #34d399, #10b981);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.main .goods .msg .goods-stock-text {
    flex-shrink: 0;
    color: #059669;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.main .goods .msg .goods-num--critical .goods-stock-bar p {
    background: linear-gradient(90deg, #fca5a5, #ef4444);
}
.main .goods .msg .goods-num--critical .goods-stock-text {
    color: #dc2626;
}

.main .goods .msg .goods-num--low .goods-stock-bar p {
    background: linear-gradient(90deg, #fdba74, #f97316);
}
.main .goods .msg .goods-num--low .goods-stock-text {
    color: #ea580c;
}

.main .goods .msg .goods-num--warn .goods-stock-bar p {
    background: linear-gradient(90deg, #fde047, #eab308);
}
.main .goods .msg .goods-num--warn .goods-stock-text {
    color: #ca8a04;
}

.main .goods .msg .goods-num--mid .goods-stock-bar p {
    background: linear-gradient(90deg, #93c5fd, #3b82f6);
}
.main .goods .msg .goods-num--mid .goods-stock-text {
    color: #2563eb;
}

.main .goods .msg .goods-num--normal .goods-stock-bar p {
    background: linear-gradient(90deg, #86efac, #22c55e);
}
.main .goods .msg .goods-num--normal .goods-stock-text {
    color: #16a34a;
}

.main .goods .msg .goods-num--empty .goods-stock-bar p {
    background: transparent;
}

.main .goods .goods-buy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(203, 213, 225, 0.72);
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.05);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.main .goods .goods-box:hover .goods-buy-btn {
    color: #2563eb;
    border-color: rgba(60, 140, 231, 0.28);
    box-shadow: 0 4px 12px rgba(60, 140, 231, 0.12);
}

/*手机端查单*/
.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: 5px;
    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;
}

/*页面布局 - 页脚固定底部*/
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

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


/*首页提示框*/
.home-tips {
    border-radius: 5px !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: 5px 5px 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: 1px 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: 1px solid rgb(51 105 255 / 48%);
    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: 75px !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;
}

.input input::placeholder{
    color: #eee;
}

.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: 5px;
    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: 18px;
    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 (min-width: 769px) {
    .header {
        position: relative;
        z-index: 0;
        isolation: isolate;
        height: 56px;
        overflow: visible;
    }

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #fff;
        box-shadow: 0 2px 10px 0 rgba(18, 52, 91, 0.07);
        z-index: -1;
        pointer-events: none;
    }

    .header .header-box {
        padding-top: 0 !important;
        height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .header .header-box > a {
        display: flex !important;
        align-items: center !important;
        line-height: normal;
        float: none !important;
    }

    .header .header-box > a img {
        vertical-align: middle;
    }

    .header .header-box .info {
        width: auto;
        max-width: 300px;
        line-height: normal;
        display: inline-block;
    }

    .header .header-box .query {
        margin-top: 0 !important;
        float: none !important;
        display: block !important;
        line-height: normal;
    }

    .header .header-box .query a {
        margin-top: 0 !important;
        display: inline-flex !important;
        align-items: center;
        line-height: 35px;
    }
}

/*手机端适应*/
@media (max-width: 768px) {
    body {
        background: initial;
    }
    .header {
        background-image: linear-gradient(135deg, #f1e5d3 0%, #fff4df 46%, #ead0a2 100%);
        color: #5f574d;
        height: 205px;
        margin-bottom: -145px;
        border-radius: 0 0 10px 10px;
    }

    .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-box {
        padding: 10px 12px;
        gap: 10px;
    }

    .main .goods .msg {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 10px;
    }

    .main .goods .msg .goods-name {
        grid-column: 1 / -1;
        min-width: 0;
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        -webkit-line-clamp: initial;
        -webkit-box-orient: initial;
    }

    .main .goods .msg .goods-offers {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .main .goods .msg .goods-price-row {
        grid-column: 1;
    }

    .main .goods .msg .goods-num {
        grid-column: 2;
        grid-row: 3;
    }

    .main .goods .msg .goods-stock-bar {
        display: none;
    }

    .main .goods .goods-buy-btn {
        min-width: 46px;
        height: 26px;
        padding: 0 10px;
    }

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

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

@media (max-width: 425px) {
    .main .cate {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0 20px;
    }

    .main .cate .cate-box {
        box-sizing: border-box;
        width: calc(50% - 5px);
        min-width: 0;
        margin: 0;
        padding: 0 14px;
    }

    .main .goods .picture {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .main .goods .goods-buy-btn {
        display: none;
    }
}

/* 统一按钮为轻量胶囊风格，去掉蓝色渐变 */
.header .header-box .query a,
.buy button,
.btn a,
.btn button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #fbfaff 55%, #fffaf4 100%) !important;
    background-image: linear-gradient(135deg, #ffffff 0%, #fbfaff 55%, #fffaf4 100%) !important;
    color: #475569 !important;
    border: 1px solid rgba(203, 213, 225, 0.72) !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.05) !important;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header .header-box .query a:hover,
.buy button:hover,
.btn a:hover,
.btn button:hover,
.main .goods .goods-box:hover .goods-buy-btn {
    color: #7b7067 !important;
    border-color: rgba(200, 169, 120, 0.34) !important;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.075) !important;
}

.header .header-box .query a svg path {
    fill: #64748b !important;
}

.main .goods .goods-buy-btn {
    color: #475569;
    border-color: rgba(203, 213, 225, 0.72);
    background: linear-gradient(135deg, #ffffff 0%, #fbfaff 55%, #fffaf4 100%);
}

.query-m,
.order-m {
    background: linear-gradient(135deg, #ffffff 0%, #fbfaff 55%, #fffaf4 100%) !important;
    background-image: linear-gradient(135deg, #ffffff 0%, #fbfaff 55%, #fffaf4 100%) !important;
    border: 1px solid rgba(203, 213, 225, 0.72);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.075) !important;
}

.query-m span,
.order-m span {
    color: #475569 !important;
}

.query-m svg path,
.order-m svg path {
    fill: #64748b !important;
}

.pay-select {
    border: 1px solid rgba(203, 213, 225, 0.8);
    background: #fff;
    color: #475569;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.05);
}
