/* ===================================================================
   套餐页 —— 深色科技风（完全照参考图）
   -------------------------------------------------------------------
   配色取自参考截图：
     卡片底 #0f1522 → #131b2b 渐变
     描边   rgba(64, 120, 200, .22)
     主蓝   #3b82f6 / #60a5fa
     绿     #22c55e / #4ade80
     紫     #a855f7 / #c084fc
     橙     #f59e0b / #fbbf24
     正文   #e2e8f0 / #94a3b8 / #64748b
   =================================================================== */

/* ---------------------------------------------------------------- 页面底 */
.mc-price-wrap { max-width: 1240px; }

body.mc-wide-page {
    background:
        radial-gradient(1100px 480px at 50% -8%, #eaf5ff 0%, transparent 62%),
        radial-gradient(800px 420px at 100% 100%, #f2f9ff 0%, transparent 60%),
        #f6fafd;
}

.mc-price-head h2 { color: #22313f; font-size: 25px; }
.mc-price-head p  { color: #7b90a6; font-size: 14px; }

/* ---------------------------------------------------------------- 分组标题 */
.mc-price-group-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 26px 0 14px;
    padding-bottom: 9px;
    border-bottom: 2px solid #e8f1fa;
}
.mc-price-group-title:first-child { margin-top: 6px; }
.mc-price-group-name {
    position: relative;
    padding-left: 13px;
    font-size: 17px;
    font-weight: 700;
    color: #22313f;
}
.mc-price-group-name::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 17px;
    background: linear-gradient(180deg, #3fb8ff, #1f8fe8);
    border-radius: 3px;
}
.mc-price-group-count { margin-left: auto; font-size: 12px; color: #9aabc0; }

/* ---------------------------------------------------------------- 分组卡片（外层） */
/* 外层只显示 4 张分组卡，信息量向套餐卡看齐：
   名称/起价、副标题、整合包建议、CPU·网络·防御、档位、折扣、按钮 */
.mc-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
    align-items: stretch;
}

.mc-group-card {
    position: relative;
    padding: 20px 18px 16px;
    background: #fff;
    border: 1px solid #e2edf8;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(16, 42, 67, .06);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mc-group-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #7ec4f0, #2cb2ff, #7ec4f0);
    border-radius: 14px 14px 0 0;
}
.mc-group-card:hover {
    transform: translateY(-4px);
    border-color: #a8d8f5;
    box-shadow: 0 12px 34px rgba(44, 178, 255, .18);
}
.mc-group-card:hover .mc-group-card-btn {
    color: #fff;
    background: linear-gradient(135deg, #3fb8ff, #1f8fe8);
    border-color: transparent;
}

/* 角标 */
.mc-group-badge {
    position: absolute;
    top: 0;
    right: 16px;
    padding: 3px 11px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
    background: linear-gradient(135deg, #4fc3f7, #1f8fe8);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 3px 10px rgba(44, 178, 255, .28);
}
.mc-group-badge::before { content: '✦ '; font-size: 9px; }
.mc-badge-rec { background: linear-gradient(135deg, #4ade80, #22c55e); box-shadow: 0 3px 10px rgba(34,197,94,.3); }
.mc-badge-hot { background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 3px 10px rgba(245,158,11,.3); }

/* 名称 + 价格一行 */
.mc-group-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}
.mc-group-card-name {
    font-size: 17px;
    font-weight: 700;
    color: #22313f;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
}
.mc-group-card-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex: 0 0 auto;
}
.mc-group-card-price .cur { font-size: 14px; font-weight: 700; color: #2cb2ff; }
.mc-group-card-price .num { font-size: 26px; font-weight: 800; color: #2cb2ff; line-height: 1; }
.mc-group-card-price .unit { font-size: 11px; color: #9aabc0; margin-left: 3px; }

/* 副标题 */
.mc-group-card-tiers {
    font-size: 11.5px;
    color: #8b9bb0;
    line-height: 1.55;
    margin-bottom: 10px;
    min-height: 0;
}

/* 整合包建议胶囊 */
.mc-group-advice {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    margin-bottom: 11px;
    font-size: 10.5px;
    color: #1f8fe8;
    background: #eef7ff;
    border: 1px solid #d6ebfb;
    border-radius: 8px;
    max-width: 100%;
    overflow: hidden;
}
.mc-group-advice b {
    flex: 0 0 auto;
    color: #2cb2ff;
    font-weight: 600;
}
.mc-group-advice span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 规格块：CPU / 网络 / 防御 */
.mc-group-spec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 8px;
    padding: 12px 11px 11px;
    margin-bottom: 11px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6fbff 100%);
    border: 1px solid #e8f1fa;
    border-radius: 11px;
}
.mc-gs-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    text-align: center;
    min-width: 0;
}
.mc-gs-cell span { font-size: 10px; color: #8b9bb0; }
.mc-gs-cell b {
    font-size: 14px;
    font-weight: 700;
    color: #3d5470;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.mc-gs-cell em { font-style: normal; font-size: 9.5px; color: #9aabc0; }

/* 防御峰值跨栏居中 */
.mc-gs-guard {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding-top: 8px;
    margin-top: 2px;
    border-top: 1px dashed #e4eef8;
}
.mc-gs-guard span { font-size: 10px; color: #8b9bb0; }
.mc-gs-guard b {
    font-size: 19px;
    font-weight: 800;
    color: #1f8a5a;
    letter-spacing: .3px;
}
.mc-gs-guard em { font-style: normal; font-size: 9.5px; color: #d13b34; }

/* 档位标签 */
.mc-group-tiers-line {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 11px;
}
.mc-group-tier {
    padding: 3px 9px;
    font-size: 10.5px;
    font-weight: 600;
    color: #48627d;
    background: #f4f9fe;
    border: 1px solid #eaf2fa;
    border-radius: 6px;
}

/* 折扣标签 */
.mc-group-disc {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 11px;
}
.mc-group-disc span {
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 600;
    color: #d97706;
    background: #fff8ec;
    border: 1px solid #fde3b8;
    border-radius: 7px;
}

/* 按钮 */
.mc-group-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    margin-top: auto;
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #1f8fe8;
    background: #f2f9ff;
    border: 1px solid #d6ebfb;
    border-radius: 10px;
    transition: all .17s;
}
.mc-group-card-btn svg { transition: transform .17s; }
.mc-group-card:hover .mc-group-card-btn svg { transform: translateX(2px); }

/* 底部小字 */
.mc-group-refund {
    margin-top: 8px;
    text-align: center;
    font-size: 10px;
    color: #b8c4d2;
}

/* ---------------------------------------------------------------- 套餐卡片（参考图样式） */
.mc-price-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.mc-price-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2edf8;
    border-radius: 14px;
    padding: 20px 18px 16px;
    box-shadow: 0 2px 14px rgba(16, 42, 67, .06);
    display: flex;
    flex-direction: column;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}

/* 顶部一道细光带 */
.mc-price-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, #7ec4f0, #2cb2ff, #7ec4f0);
    border-radius: 14px 14px 0 0;
}
.mc-price-card:hover {
    transform: translateY(-3px);
    border-color: #a8d8f5;
    box-shadow: 0 12px 34px rgba(44, 178, 255, .18);
}

/* 推荐款：绿描边 */
.mc-price-card.is-rec {
    border-color: #b6e5cc;
    box-shadow: 0 6px 26px rgba(52, 168, 83, .14);
}
.mc-price-card.is-rec::before {
    background: linear-gradient(90deg, #7ed8a8, #34a853, #7ed8a8);
}

/* 售罄 */
.mc-price-card.is-out { opacity: .5; filter: grayscale(.6); }
.mc-price-card.is-out:hover { transform: none; }

/* ---- 右上角角标 ---- */
.mc-price-badge {
    position: absolute;
    top: 0;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
    background: linear-gradient(135deg, #4fc3f7, #1f8fe8);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(44, 178, 255, .3);
}
.mc-price-badge::before { content: '✦'; font-size: 9px; }

/* ---- 卡片头部：名称 + 价格 ---- */
.mc-price-name {
    font-size: 19px;
    font-weight: 700;
    color: #22313f;
    margin-bottom: 3px;
    letter-spacing: .2px;
}
.mc-price-desc {
    font-size: 12px;
    color: #8b9bb0;
    line-height: 1.5;
    margin: 0 0 12px;
}

/* 价格：右上角大号 */
.mc-price-amount {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 26px;
    font-weight: 800;
    color: #2cb2ff;
    line-height: 1;
    margin: 0;
}
.mc-price-amount .num { color: #2cb2ff; }
.mc-price-amount .unit {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #9aabc0;
    text-align: right;
    margin-top: 2px;
}
.mc-per-month { display: none; }

/* ---- MC 整合包建议胶囊 ---- */
.mc-price-advice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin-bottom: 12px;
    font-size: 11px;
    color: #1f8fe8;
    background: #eef7ff;
    border: 1px solid #d6ebfb;
    border-radius: 8px;
    max-width: 100%;
    overflow: hidden;
}
.mc-price-advice svg { flex: 0 0 auto; }
.mc-price-advice span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-price-advice::before {
    content: 'MC 整合包建议';
    flex: 0 0 auto;
    color: #2cb2ff;
    font-weight: 600;
    margin-right: 2px;
}

/* ---- 规格块（深色框） ---- */
.mc-price-spec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    padding: 14px 12px 12px;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6fbff 100%);
    border: 1px solid #e8f1fa;
    border-radius: 11px;
}
.mc-price-spec > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    min-width: 0;
}
.mc-price-spec span {
    font-size: 10.5px;
    color: #8b9bb0;
}
.mc-price-spec b {
    font-size: 15px;
    font-weight: 700;
    color: #3d5470;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.mc-spec-sub {
    font-style: normal;
    font-size: 10px;
    color: #9aabc0;
    margin-top: 1px;
}

/* 防御峰值：整行居中，绿色大字 */
.mc-price-spec > div.mc-spec-guard {
    grid-column: 1 / -1;
    padding-top: 7px;
    margin-top: 3px;
    border-top: 1px dashed #e4eef8;
}
.mc-price-spec > div.mc-spec-guard span { color: #8b9bb0; }
.mc-price-spec > div.mc-spec-guard b {
    font-size: 22px;
    color: #1f8a5a;
    letter-spacing: .3px;
}
.mc-price-spec > div.mc-spec-guard .mc-spec-sub {
    color: #d13b34;
    font-size: 10.5px;
}

/* ---- 核心特色 ---- */
.mc-price-feat {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.mc-price-feat li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 11px;
    color: #48627d;
    background: #f4f9fe;
    border: 1px solid #eaf2fa;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 四条不同颜色，对应参考图的四种点缀 */
.mc-price-feat li:nth-child(1) { color: #1f8a5a; border-color: #c9ebd9; background: #f2fbf6; }
.mc-price-feat li:nth-child(2) { color: #1f8fe8; border-color: #cfe6f8; background: #f4fbff; }
.mc-price-feat li:nth-child(3) { color: #7c5cd6; border-color: #e0d6f8; background: #f8f5ff; }
.mc-price-feat li:nth-child(4) { color: #c9820a; border-color: #f5dfb0; background: #fffbf2; }
.mc-price-feat li::before {
    content: '✦';
    font-size: 9px;
    flex: 0 0 auto;
    opacity: .9;
}

/* ---- 折扣标签（橙色） ---- */
.mc-price-disc {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.mc-price-disc span {
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 600;
    color: #d97706;
    background: #fff8ec;
    border: 1px solid #fde3b8;
    border-radius: 7px;
}

/* ---- 按钮：大号蓝色 ---- */
.mc-price-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #fff;
    background: linear-gradient(135deg, #3fb8ff, #1f8fe8);
    border: none;
    border-radius: 11px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(44, 178, 255, .3);
    transition: all .18s;
}
.mc-price-buy::before {
    content: '+';
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}
.mc-price-buy:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 9px 28px rgba(44, 178, 255, .45);
}
.mc-price-card.is-rec .mc-price-buy {
    background: linear-gradient(135deg, #34d399, #22c55e);
    box-shadow: 0 4px 18px rgba(34, 197, 94, .28);
}
.mc-price-card.is-out .mc-price-buy {
    background: #e8eef4;
    color: #9aabc0;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- 底部小字 ---- */
.mc-price-refund {
    margin-top: 9px;
    text-align: center;
    font-size: 10.5px;
    color: #b8c4d2;
    line-height: 1.5;
}

/* ---- 库存 ---- */
.mc-stock {
    display: inline-block;
    padding: 2px 9px;
    font-size: 10.5px;
    color: #7b90a6;
    background: #f2f7fc;
    border: 1px solid #e6eef8;
    border-radius: 999px;
    margin-bottom: 10px;
}


.mc-price-note {
    color: #8b9bb0 !important;
    font-size: 12.5px;
    text-align: center;
    margin-top: 20px;
}

/* 隐藏的卡片数据源 */
.mc-plans-hidden { display: none !important; }

@media (max-width: 640px) {
    .mc-price-grid { grid-template-columns: 1fr; }
    .mc-price-feat { grid-template-columns: 1fr; }
    .mc-group-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
    .mc-group-card { padding: 15px 14px 13px; }
    .mc-group-card-name { font-size: 14px; }
    .mc-group-card-price .num { font-size: 23px; }
    .mc-group-card-tiers { font-size: 10.5px; min-height: 0; }
    .mc-price-amount { position: static; text-align: left; margin: 8px 0 4px; }
    .mc-price-amount .unit { text-align: left; display: inline; margin-left: 4px; }
}

/* ===================================================================
   套餐订购弹窗
   -------------------------------------------------------------------
   浅蓝调，与面板统一。
   左侧套餐列表，右侧详情 + 付款周期 + 下单。
   =================================================================== */
.mc-order-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mc-order-mask {
    position: absolute;
    inset: 0;
    background: rgba(16, 42, 67, .45);
    backdrop-filter: blur(2px);
}
.mc-order-box {
    position: relative;
    width: 100%;
    max-width: 780px;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2edf8;
    border-radius: 15px;
    box-shadow: 0 18px 52px rgba(16, 42, 67, .3);
    overflow: hidden;
    animation: mc-order-pop .18s cubic-bezier(.2, .9, .3, 1.1);
}
@keyframes mc-order-pop {
    from { transform: translateY(12px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* 标题栏 */
.mc-order-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f9fe 100%);
    border-bottom: 1px solid #eaf2fa;
    flex: 0 0 auto;
}
.mc-order-title { font-size: 15px; font-weight: 700; color: #22313f; }
.mc-order-sub { font-size: 11.5px; color: #9aabc0; margin-left: auto; }
.mc-order-close {
    width: 27px; height: 27px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; line-height: 1;
    color: #8b9bb0; background: transparent;
    border: none; border-radius: 7px;
    cursor: pointer; padding: 0; margin-left: 6px;
    transition: all .14s;
}
.mc-order-close:hover { color: #d13b34; background: #fdf2f2; }

/* 主体两栏 */
.mc-order-body {
    display: grid;
    grid-template-columns: 210px 1fr;
    flex: 1 1 auto;
    min-height: 0;
}
.mc-order-side {
    border-right: 1px solid #eef4fa;
    background: #fafcfe;
    padding: 12px 10px;
    overflow-y: auto;
}
.mc-order-side-title {
    font-size: 11px; color: #9aabc0;
    letter-spacing: .4px; padding: 2px 1px 8px;
}
.mc-order-plan-item {
    position: relative;
    padding: 10px 12px; margin-bottom: 6px;
    background: #fff;
    border: 1px solid #e8f1fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all .14s;
}
.mc-order-plan-item:hover { border-color: #a8d8f5; background: #f6fbff; }
.mc-order-plan-item.on {
    border-color: #2cb2ff; background: #f2f9ff;
    box-shadow: 0 0 0 2px rgba(44, 178, 255, .13);
}
.mc-order-plan-item.out { opacity: .5; cursor: not-allowed; }
.mc-opi-name {
    font-size: 13px; font-weight: 700; color: #3d5470;
    display: flex; align-items: center; gap: 6px;
}
.mc-opi-rec {
    padding: 1px 6px; font-size: 9.5px; font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 4px;
}
.mc-opi-price { margin-top: 3px; font-size: 14px; font-weight: 700; color: #2cb2ff; }
.mc-opi-price small { font-size: 10.5px; font-weight: 500; color: #9aabc0; margin-left: 2px; }
.mc-opi-out {
    position: absolute; top: 50%; right: 12px;
    transform: translateY(-50%);
    font-size: 10.5px; color: #c0392b;
}

.mc-order-main {
    padding: 15px 18px 16px;
    overflow-y: auto;
    display: flex; flex-direction: column;
}
.mc-order-plan { margin-bottom: 13px; }
.mc-order-plan-name {
    display: flex; align-items: baseline; gap: 10px;
    font-size: 16px; font-weight: 700; color: #22313f;
    margin-bottom: 9px;
}
.mc-order-plan-price { margin-left: auto; font-size: 18px; font-weight: 800; color: #2cb2ff; }
.mc-order-plan-price small { font-size: 11px; font-weight: 500; color: #9aabc0; margin-left: 2px; }

/* 规格区：左右两栏 + 底部跨栏的防御峰值 */
.mc-order-plan-spec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 13px 15px 12px;
    background: #fafcfe;
    border: 1px solid #eef4fa;
    border-radius: 10px;
}

/* 左右两栏各自纵向排 */
.mc-ord-col {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 0;
}
.mc-ord-col-l { padding-right: 15px; }
.mc-ord-col-r {
    padding-left: 15px;
    border-left: 1px dashed #e4eef8;
}
.mc-ord-col > div {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

/* 防御峰值：跨两栏居中 */
.mc-ord-guard {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #e4eef8;
}
.mc-ord-guard span { font-size: 10.5px; color: #8b9bb0; }
.mc-ord-guard b {
    font-size: 22px;
    font-weight: 800;
    color: #1f8a5a;
    letter-spacing: .3px;
}
.mc-ord-guard em {
    font-style: normal;
    font-size: 10px;
    color: #d13b34;
}

/* 通用文字样式 */
.mc-order-plan-spec span { font-size: 10.5px; color: #8b9bb0; }
.mc-order-plan-spec b { font-size: 13.5px; font-weight: 700; color: #3d5470; }
.mc-order-plan-spec em { font-style: normal; font-size: 10px; color: #9aabc0; }

.mc-order-sec { margin-bottom: 12px; }
.mc-order-sec-title {
    font-size: 12px; font-weight: 600; color: #7b90a6;
    letter-spacing: .3px; margin-bottom: 8px;
}
.mc-order-periods { display: flex; flex-wrap: wrap; gap: 7px; }
.mc-order-period {
    position: relative;
    padding: 8px 15px;
    font-size: 12.5px; color: #48627d;
    background: #fff;
    border: 1px solid #dce8f4;
    border-radius: 9px;
    cursor: pointer;
    transition: all .14s;
}
.mc-order-period:hover:not(:disabled) {
    color: #1f8fe8; border-color: #a8d8f5; background: #f4fbff;
}
.mc-order-period.on {
    color: #fff;
    background: linear-gradient(135deg, #3fb8ff, #1f8fe8);
    border-color: transparent; font-weight: 600;
    box-shadow: 0 3px 12px rgba(44, 178, 255, .28);
}
.mc-order-period:disabled { opacity: .45; cursor: not-allowed; }
.mc-order-period em {
    font-style: normal; display: block;
    font-size: 10px; margin-top: 1px; opacity: .85;
}
.mc-order-period.on em { color: #e8f6ff; }

.mc-order-field { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mc-order-field label {
    flex: 0 0 74px;
    font-size: 12.5px; color: #7b90a6;
    margin: 0; font-weight: 400;
}
.mc-order-field input {
    flex: 1 1 auto; min-width: 0;
    height: 37px; padding: 7px 12px;
    font-size: 13px; color: #22313f;
    background: #fff;
    border: 1px solid #dce8f4;
    border-radius: 9px;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
.mc-order-field input:focus {
    border-color: #2cb2ff;
    box-shadow: 0 0 0 3px rgba(44, 178, 255, .14);
    outline: none;
}

.mc-order-foot {
    display: flex; align-items: center; gap: 14px;
    margin-top: auto; padding-top: 13px;
    border-top: 1px solid #eef4fa;
}
.mc-order-total {
    display: flex; align-items: baseline; gap: 7px;
    font-size: 12.5px; color: #7b90a6;
}
.mc-order-total b { font-size: 23px; font-weight: 800; color: #2cb2ff; }
.mc-order-submit {
    margin-left: auto;
    padding: 11px 34px;
    font-size: 14px; font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3fb8ff, #1f8fe8);
    border: none; border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(44, 178, 255, .3);
    transition: all .17s;
}
.mc-order-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(44, 178, 255, .42);
}
.mc-order-submit:disabled {
    background: #e8eef4; color: #9aabc0;
    box-shadow: none; cursor: not-allowed;
}
.mc-order-err {
    margin-top: 10px; padding: 9px 12px;
    font-size: 12.5px; color: #c0392b;
    background: #fff5f5;
    border: 1px solid #f8d4d1;
    border-radius: 9px;
}

/* 弹窗里的分组小标题 */
.mc-opi-group {
    padding: 9px 2px 5px;
    font-size: 11px; font-weight: 600;
    color: #9aabc0; letter-spacing: .4px;
    border-bottom: 1px dashed #e8f1fa;
    margin-bottom: 7px;
}
.mc-opi-group:first-child { padding-top: 2px; }

@media (max-width: 640px) {
    .mc-order-box { max-height: 92vh; }
    .mc-order-body { grid-template-columns: 1fr; }
    .mc-order-side {
        border-right: none;
        border-bottom: 1px solid #eef4fa;
        max-height: 150px;
        display: flex; gap: 7px;
        overflow-x: auto; overflow-y: hidden;
        padding: 10px;
    }
    .mc-order-side-title { display: none; }
    .mc-order-plan-item { flex: 0 0 130px; margin-bottom: 0; }
    .mc-order-field { flex-direction: column; align-items: stretch; gap: 4px; }
    .mc-order-field label { flex: none; }
    .mc-order-submit { padding: 11px 22px; }
}

/* 窄屏：规格区两栏改单栏，避免文字挤成竖条 */
@media (max-width: 520px) {
    .mc-order-plan-spec { grid-template-columns: 1fr; }
    .mc-ord-col-r {
        padding-left: 0;
        padding-top: 13px;
        margin-top: 13px;
        border-left: none;
        border-top: 1px dashed #e4eef8;
    }
    .mc-ord-col-l { padding-right: 0; }
}

/* 窄屏：分组卡片单列，规格块保持两栏 */
@media (max-width: 640px) {
    .mc-group-grid { grid-template-columns: 1fr; gap: 13px; }
    .mc-group-card { padding: 16px 14px 13px; }
    .mc-group-card-name { font-size: 15px; }
    .mc-group-card-price .num { font-size: 22px; }
    .mc-group-spec { grid-template-columns: 1fr 1fr; }
    .mc-gs-guard b { font-size: 17px; }
}
