

.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: 13px;
    color: #545454;
    margin-top: 12px;
}

.main .cate .cate-box-select p {
    color: #fff;
}

.main .cate .cate-box div {
    opacity: .76;
    color: #999;
    font-size: 13px;
    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: 13px;
    font-weight: 400;
    margin-top: 5px;
    word-break: break-all
}

.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) {
    body {
        background: initial;
    }
    

    .header .info {
        color: #fff !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);
    }
}

/* 售罄提示容器 start */
/* 终极简约售罄提示 */
.goods-con .soldout-notice {
    padding: 18px;
    margin: 24px 0;
    background: #fafafa;
    border-left: 3px solid #e0e0e0;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
    line-height: 1.5;
    position: relative;
}

/* 更克制的图标 */
.goods-con .soldout-icon {
    margin-right: 14px;
    color: #777;
    font-size: 20px;
    font-weight: 300;
}

/* 精致文字链接 */
.goods-con .soldout-link {
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1px;
    margin-left: 6px;
    transition: all 0.2s ease;
}

.goods-con .soldout-link:hover {
    text-decoration: none;
}

/* 极简动画 */
.goods-con .soldout-notice {
    transition: all 0.3s ease;
}

.goods-con .soldout-notice:hover {
    background: #f5f5f5;
}
/*售罄提示容器 end*/
/* Babaili Refresh - Goods List & Detail */
.bl-page,
.bl-detail-page {
    --bl-primary: #4C7D71;
    --bl-primary-soft: #EDF2F1;
    --bl-ink: #1f2d2a;
    --bl-muted: #7a8582;
    --bl-border: #e3ebe7;
    background: #f5f7f6;
}

.bl-page {
    padding: 20px 0 40px;
    min-height: calc(100vh - 180px);
}

.bl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.bl-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--bl-border);
    box-shadow: 0 12px 28px rgba(31, 45, 42, 0.08);
}

.bl-hero {
    padding: 18px 22px;
}

.bl-hero-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bl-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bl-hero-title i {
    color: var(--bl-primary);
}

.bl-hero-body {
    margin-top: 10px;
    font-size: 14px;
    color: var(--bl-muted);
    line-height: 1.8;
}

.bl-section {
    margin-top: 20px;
    padding: 18px 22px 22px;
}

.bl-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bl-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bl-ink);
}

.bl-category-grid {
    display: grid;
    gap: 12px;
}

.cate-card {
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.2s ease;
    position: relative;
    min-width: 0;
}

.cate-card-active {
    z-index: 2;
}

.cate-box {
    background: #fff;
    border: 1px solid var(--bl-border);
    border-radius: 14px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 6px 16px rgba(31, 45, 42, 0.06);
}

.cate-box-main {
    flex: 1;
    min-width: 0;
}

.cate-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--bl-ink);
}

.cate-box div {
    margin-top: 6px;
    font-size: 12px;
    color: var(--bl-muted);
}

.cate-box:hover {
    border-color: rgba(76, 125, 113, 0.4);
}

.cate-card-active .cate-box {
    border-color: rgba(76, 125, 113, 0.45);
    box-shadow: 0 10px 20px rgba(76, 125, 113, 0.14);
}

.cate-box-select {
    background: linear-gradient(135deg, #4C7D71 0%, #3b6a5f 100%);
    border-color: transparent;
    box-shadow: 0 12px 22px rgba(76, 125, 113, 0.2);
}

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

.cate-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #dfe7e2;
    background: #f7faf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bl-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cate-box-select .cate-toggle {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.cate-toggle:hover {
    background: var(--bl-primary-soft);
}

.cate-card.is-expanded .cate-toggle i {
    transform: rotate(180deg);
}

.cate-children {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 220px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2ebe7;
    box-shadow: 0 12px 24px rgba(31, 45, 42, 0.12);
    z-index: 6;
}

.cate-card.is-expanded .cate-children {
    display: flex;
}

.cate-child {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f3f6f4;
    border: 1px solid #e4ece8;
    font-size: 12px;
    color: var(--bl-ink);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cate-child:hover {
    border-color: rgba(76, 125, 113, 0.45);
    color: var(--bl-primary);
}

.cate-child-select {
    background: var(--bl-primary);
    color: #fff;
    border-color: var(--bl-primary);
    box-shadow: 0 6px 12px rgba(76, 125, 113, 0.2);
}

.bl-products-body {
    margin-top: 6px;
}

.goods-list {
    display: none;
}

.goods-list-select {
    display: grid;
}

.goods-list.is-loading {
    opacity: 0.7;
}

.bl-product-card {
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eef2ef;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    align-items: center;
    box-shadow: 0 6px 18px rgba(31, 45, 42, 0.06);
}

.bl-product-card:hover {
    border-color: rgba(76, 125, 113, 0.35);
    box-shadow: 0 14px 28px rgba(76, 125, 113, 0.14);
    transform: translateY(-2px);
}

.bl-product-media {
    width: 86px;
    height: 86px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f4f2;
    flex-shrink: 0;
}

.bl-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bl-product-card:hover .bl-product-media img {
    transform: scale(1.05);
}

.bl-product-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bl-product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--bl-ink);
    line-height: 1.4;
}

.bl-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--bl-primary);
}

.bl-product-price .currency {
    font-size: 12px;
    margin-right: 2px;
}

.bl-stock {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bl-stock-bar {
    width: 72px;
    height: 6px;
    background: #eef3f0;
    border-radius: 999px;
    overflow: hidden;
}

.bl-stock-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #4C7D71, #6f9a8f);
}

.bl-stock-text {
    font-size: 12px;
    color: var(--bl-primary);
}

.bl-skeleton-card {
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eef2ef;
    box-shadow: 0 6px 18px rgba(31, 45, 42, 0.04);
}

.bl-skeleton-media {
    width: 86px;
    height: 86px;
    border-radius: 16px;
    background: #f1f4f2;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.bl-skeleton-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bl-skeleton-line {
    height: 12px;
    border-radius: 999px;
    background: #f1f4f2;
    position: relative;
    overflow: hidden;
}

.bl-skeleton-line.short {
    width: 60%;
}

.bl-skeleton-line.tiny {
    width: 45%;
}

.bl-skeleton-bar {
    width: 80px;
    height: 6px;
    border-radius: 999px;
    background: #eef3f0;
    position: relative;
    overflow: hidden;
    margin-top: 2px;
}

.bl-skeleton-shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.7), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: bl-shimmer 1.2s ease infinite;
}

.bl-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: var(--bl-muted);
}

.bl-empty-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--bl-ink);
}

.bl-empty-desc {
    font-size: 13px;
}

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

/* Goods detail page */
.bl-detail-card {
    padding: 22px;
}

.bl-detail-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

.bl-detail-media {
    border-radius: 16px;
    overflow: hidden;
    background: #f2f5f3;
    box-shadow: 0 10px 24px rgba(31, 45, 42, 0.12);
}

.bl-detail-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.bl-detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bl-detail-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--bl-ink);
}

.bl-detail-tags {
    display: flex;
    gap: 8px;
}

.bl-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bl-primary-soft);
    color: var(--bl-primary);
}

.bl-pill.manual {
    background: #fff1e6;
    color: #d46b08;
}

.bl-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bl-detail-stats .bl-stat {
    font-size: 12px;
    color: #5f6b67;
    background: #f3f6f4;
    border: 1px solid #e6ece8;
    border-radius: 999px;
    padding: 4px 10px;
}

.bl-detail-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--bl-primary);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.bl-detail-price .currency {
    font-size: 13px;
}

.bl-form-section {
    background: #f7faf8;
    border: 1px solid #e7ede9;
    border-radius: 12px;
    padding: 14px;
}

.form-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--bl-ink);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-option {
    padding: 7px 14px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

.spec-option:hover {
    border-color: var(--bl-primary);
    color: var(--bl-primary);
}

.spec-option.active {
    border-color: var(--bl-primary);
    color: var(--bl-primary);
    background: #eef5f2;
    position: relative;
}

.spec-option.active::after {
    content: "✓";
    position: absolute;
    right: 6px;
    top: 4px;
    font-size: 12px;
    font-weight: bold;
}

.spec-option.disabled {
    color: #b0b7c3;
    border-color: #e6eaf0;
    background: #f5f7fa;
    cursor: not-allowed;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
}

.quantity-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #d7dde5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5b6673;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    border-color: var(--bl-primary);
    color: var(--bl-primary);
}

.quantity-input {
    width: 48px;
    height: 34px;
    border: 1px solid #d7dde5;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 14px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.payment-item {
    padding: 10px;
    border: 1px solid #d7dde5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.payment-item:hover {
    border-color: var(--bl-primary);
}

.payment-item.active {
    border-color: var(--bl-primary);
    background: #eef5f2;
}

.payment-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f4f8;
}

.payment-icon img {
    width: 24px;
    height: 24px;
}

.payment-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--bl-ink);
}

.payment-checked {
    color: var(--bl-primary);
    font-size: 18px;
    display: none;
}

.payment-item.active .payment-checked {
    display: block;
}

.drawer-footer {
    margin-top: 10px;
}

.drawer-actions {
    display: flex;
}

.drawer-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #4C7D71 10%, #6f9a8f 100%);
    box-shadow: 0 10px 24px rgba(76, 125, 113, 0.3);
    transition: all 0.2s ease;
}

.drawer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(76, 125, 113, 0.35);
}

.total-price {
    margin-left: 8px;
    font-weight: 600;
    font-size: 16px;
}

.bl-detail-desc .intro {
    padding: 10px 0 0;
    color: #444;
    font-size: 14px;
    line-height: 2;
}

.bl-detail-desc .intro img {
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .bl-detail-grid {
        grid-template-columns: 1fr;
    }
    .bl-detail-media img {
        min-height: 260px;
    }
    .bl-product-card {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
    .bl-product-media {
        width: 80px;
        height: 80px;
    }

    .cate-children {
        padding: 8px;
        max-height: 220px;
        overflow-y: auto;
    }
    .cate-child {
        font-size: 13px;
    }
}

/* Coupon input */
.coupon-input-wrap {
    position: relative;
}
.coupon-input-wrap .coupon-input {
    padding-right: 86px;
    background: #f8fafb;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.coupon-input-wrap .coupon-input:focus {
    background: #fff;
    border-color: #3C8CE7;
    box-shadow: 0 0 0 3px rgba(60, 140, 231, 0.18);
}
.coupon-input-wrap .coupon-input:disabled {
    background: #f1f3f5;
    color: #9aa3af;
    border-color: #e5e7eb;
}
.coupon-input-wrap .coupon-apply-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    background-image: linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(60, 140, 231, 0.35);
}
.coupon-input-wrap .coupon-apply-btn:hover {
    filter: brightness(1.05);
}
.coupon-input-wrap .coupon-apply-btn.layui-btn-disabled,
.coupon-input-wrap .coupon-apply-btn:disabled {
    background: #f1f3f5;
    color: #9aa3af;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}
.coupon-change-link {
    margin-left: 6px;
    font-size: 12px;
    color: #3C8CE7;
    text-decoration: none;
    display: none;
}
.coupon-change-link:hover {
    text-decoration: underline;
}
.coupon-tip {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #ff4d4f;
}

