/* 版权所有 青岛银信通信息科技有限公司 */
/* 顶栏期限色阶 + 内部续费商城 */

/* 剩余 ≤30 天橘黄，≤15 天红色（只改字体与图标颜色） */
.mac-desktop .mac-actions .mac-chip.mac-chip-license.is-warning{color:#d97706!important;}
.mac-desktop .mac-actions .mac-chip.mac-chip-license.is-warning svg{stroke:#d97706!important;}
.mac-desktop .mac-actions .mac-chip.mac-chip-license.is-critical{color:#dc2626!important;}
.mac-desktop .mac-actions .mac-chip.mac-chip-license.is-critical svg{stroke:#dc2626!important;}

.mac-license-store-layer{border-radius:22px!important;overflow:hidden!important;border:1px solid rgba(15,23,42,.12)!important;box-shadow:0 30px 80px -28px rgba(15,23,42,.55)!important;background:#f7f9fc!important;}
.mac-license-store-layer .layui-layer-content{height:100%!important;overflow:hidden!important;}
.mac-license-check-layer .layui-layer-content{height:auto!important;overflow:visible!important;}
.mac-license-check-layer{border-radius:18px!important;overflow:hidden!important;border:1px solid rgba(15,23,42,.12)!important;box-shadow:0 24px 60px -20px rgba(15,23,42,.5)!important;background:#fff!important;}

.mls-wrap{height:100%;display:flex;flex-direction:column;background:linear-gradient(180deg,#f8fbff 0%,#f4f6fa 62%,#f7f8fb 100%);}
.mls-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 26px 18px;background:linear-gradient(135deg,#ffffff 0%,#f4f9ff 72%,#fff8ec 100%);border-bottom:1px solid #e6edf5;}
.mls-head-main{min-width:0;}
.mls-kicker{font-size:10px;letter-spacing:2px;color:#7c95b4;font-weight:600;}
.mls-head h2{margin:5px 0 6px;font-size:22px;line-height:1.2;color:#172033;font-weight:700;letter-spacing:-.3px;}
.mls-head p{margin:0;font-size:12px;color:#6f7e92;line-height:1.7;}
.mls-head-actions{display:flex;align-items:center;gap:10px;flex:none;}
.mls-cart-btn{height:34px;padding:0 14px;border-radius:999px;border:1px solid rgba(10,132,255,.22);background:#fff;color:#0a6fd8;font-size:12px;font-weight:600;cursor:pointer;box-shadow:0 4px 12px -8px rgba(10,132,255,.5);}
.mls-cart-btn:hover{background:#eff7ff;border-color:rgba(10,132,255,.4);}
.mls-cart-btn b{display:inline-flex;min-width:19px;height:19px;padding:0 5px;margin-left:3px;border-radius:999px;background:#0a84ff;color:#fff;font-size:11px;align-items:center;justify-content:center;vertical-align:1px;}
.layui-layer.mac-license-store-layer .layui-layer-setwin{display:none!important;pointer-events:none!important;}
.mls-close{position:relative;z-index:12;width:34px;height:34px;border-radius:50%;border:0;background:#ff453a;color:#fff;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 7px 16px -8px rgba(255,69,58,.8);transition:background .15s ease,transform .15s ease;}
.mls-close svg{width:15px;height:15px;display:block;stroke:#fff;stroke-width:2.4;stroke-linecap:round;fill:none;}
.mls-close:hover{background:#e03127;color:#fff;transform:scale(1.04);}
.mls-close:active{transform:scale(.96);}

.mls-grid{flex:1;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:16px;padding:20px 24px 18px;align-content:start;}
.mls-card{background:#fff;border:1px solid #e6edf5;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px -26px rgba(15,23,42,.45);transition:transform .18s ease,box-shadow .18s ease;}
.mls-card:hover{transform:translateY(-2px);box-shadow:0 18px 40px -24px rgba(15,23,42,.42);}
.mls-cover{height:132px;position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eaf4ff,#fff7e9);overflow:hidden;}
.mls-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.mls-cover.is-empty .mls-cover-empty{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:16px;background:#fff;color:#2d6ca8;font-size:12px;font-weight:700;letter-spacing:1px;box-shadow:0 10px 24px -16px rgba(15,23,42,.4);}
.mls-badge{position:absolute;left:10px;top:10px;padding:3px 8px;border-radius:999px;background:rgba(15,23,42,.64);color:#fff;font-size:10px;line-height:1.4;}
.mls-sales{position:absolute;right:10px;bottom:10px;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.88);color:#6b7a90;font-size:10px;line-height:1.4;backdrop-filter:blur(8px);}
.mls-card-body{padding:13px 14px 15px;}
.mls-name{font-size:15px;line-height:1.45;font-weight:650;color:#1b2536;min-height:44px;}
.mls-spec-text{margin-top:5px;font-size:11px;color:#8a97a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mls-price{display:flex;align-items:baseline;gap:5px;margin:8px 0 7px;color:#e5484d;font-size:18px;font-weight:700;}
.mls-price b{font-size:20px;letter-spacing:-.4px;}
.mls-price em{font-style:normal;font-size:11px;color:#e5484d;font-weight:500;}
.mls-price del{margin-left:4px;color:#a8b0bd;font-size:11px;font-weight:400;}
.mls-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:11px;color:#7b8798;}
.mls-card-actions{display:flex;gap:8px;}
.mls-btn{height:32px;border-radius:6px;border:1px solid transparent;font-size:12px;font-weight:600;cursor:pointer;padding:0 12px;transition:.15s ease;}
.mls-btn-buy{flex:1;background:linear-gradient(180deg,#3b9eff,#0878e8);color:#fff;border-color:rgba(10,132,255,.5);box-shadow:0 6px 14px -9px rgba(10,132,255,.8);}
.mls-btn-buy:hover{filter:brightness(1.04);}
.mls-btn-cart{flex:1;background:#f4f8fd;border-color:#d7e5f5;color:#1769b0;}
.mls-btn-cart:hover{background:#e9f4ff;border-color:#b9d8f6;}
.mls-empty{grid-column:1/-1;padding:70px 20px;border:1px dashed #d9e3f0;border-radius:16px;text-align:center;color:#8a97a8;font-size:13px;background:#fff;}

.mls-footer{flex:none;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 24px 14px;background:rgba(255,255,255,.94);border-top:1px solid #e6edf5;backdrop-filter:blur(16px);}
.mls-support-btn{height:38px;padding:0 17px;border-radius:9px;border:1px solid rgba(90,59,31,.26);background:linear-gradient(180deg,#7b5738,#5c3d22);color:#fff;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:8px;cursor:pointer;box-shadow:0 8px 18px -11px rgba(74,45,20,.8);transition:filter .15s ease,transform .15s ease;}
.mls-support-btn svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.mls-support-btn:hover{filter:brightness(1.08);transform:translateY(-1px);}
.mls-support-btn:active{transform:translateY(0);}
.mls-support-btn:focus-visible{outline:2px solid rgba(10,132,255,.45);outline-offset:2px;}
.mls-pay-label{font-size:12px;font-weight:600;color:#5c6b80;}
.mls-pay-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.mls-pay{height:28px;padding:0 10px;border-radius:999px;border:1px solid #dfe7f1;background:#fff;color:#55647a;font-size:11px;display:inline-flex;align-items:center;gap:5px;cursor:pointer;}
.mls-pay:hover{border-color:#b9d8f6;background:#f4faff;}
.mls-pay.is-active{border-color:#0a84ff;background:#eaf4ff;color:#0a6fd8;font-weight:600;}
.mls-pay.is-disabled{opacity:.5;cursor:not-allowed;}
.mls-pay.is-disabled span{font-size:10px;color:#a0a8b5;}
.mls-pay-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:none;}
.mls-pay-dot.wechat{background:#22c55e;}
.mls-pay-dot.alipay{background:#1677ff;}
.mls-pay-dot.bank{background:#f59e0b;}
.mls-tip{margin-left:auto;font-size:11px;color:#93a0b2;line-height:1.55;}

.mls-checkout{padding:20px 22px 18px;background:#fff;}
.mls-check-head h3{margin:0 0 5px;font-size:18px;color:#182235;}
.mls-check-head p{margin:0;font-size:11px;color:#8592a5;line-height:1.6;}
.mls-check-list{margin:16px 0 12px;display:flex;flex-direction:column;gap:10px;max-height:250px;overflow:auto;}
.mls-check-item{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #e8eff7;border-radius:12px;background:#f9fbff;}
.mls-check-cover{width:56px;height:56px;border-radius:9px;overflow:hidden;background:linear-gradient(135deg,#eaf4ff,#fff7e9);display:flex;align-items:center;justify-content:center;color:#8ba0b8;font-size:10px;flex:none;}
.mls-check-cover img{width:100%;height:100%;object-fit:cover;}
.mls-check-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
.mls-check-info b{font-size:12px;color:#1c2738;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mls-check-info .mls-spec-select{height:24px;border:1px solid #dfe7f1;border-radius:5px;background:#fff;color:#526177;font-size:11px;padding:0 4px;max-width:220px;}
.mls-check-spec{font-size:10px;color:#8c99aa;}
.mls-check-unit{font-size:11px;color:#7b8798;}
.mls-check-unit em{font-style:normal;color:#e5484d;}
.mls-check-qty{font-size:11px;color:#7b8798;flex:none;}
.mls-check-subtotal{width:68px;text-align:right;font-size:11px;color:#e5484d;flex:none;}
.mls-check-subtotal b{font-size:14px;}
.mls-check-sum{display:flex;align-items:baseline;justify-content:flex-end;gap:8px;padding:10px 2px 14px;border-bottom:1px solid #edf2f8;}
.mls-check-sum span{font-size:12px;color:#7b8798;}
.mls-check-sum b{color:#e5484d;font-size:15px;}
.mls-check-sum em{font-style:normal;font-size:22px;}
.mls-check-pay-label{margin:12px 0 8px;font-size:11px;font-weight:600;color:#65748a;}
.mls-check-pay{margin-bottom:4px;}
.mls-bank-box{margin-top:8px;}
.mls-bank-box:empty{display:none;}
.mls-bank-box{padding:9px 11px;border:1px dashed #e8d5aa;border-radius:9px;background:#fffbf2;color:#8a6b2e;font-size:11px;line-height:1.7;}
.mls-bank-box b{display:block;color:#73551c;font-size:11px;margin-bottom:2px;}
.mls-bank-box span{display:block;}
.mls-check-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px;}
.mls-check-actions .mls-btn{width:92px;flex:none;height:34px;}

@media (max-width:720px){
    .mls-grid{grid-template-columns:1fr;padding:14px;}
    .mls-head{padding:16px 16px 14px;}
    .mls-head h2{font-size:18px;}
    .mls-footer{padding:10px 14px;gap:8px;}
    .mls-support-btn{width:100%;justify-content:center;}
    .mls-tip{width:100%;margin-left:0;}
    .mac-license-store-layer{width:94%!important;left:3%!important;}
}
