/* ============================================================
   设计令牌 DESIGN TOKENS
   换肤 / 调色 / 调圆角只改这一块
   ============================================================ */
#order-standard_cart {
    /* 主色 */
    --cst-blue: #0066ff;
    --cst-blue-dark: #0052cc;

    /* 文字 */
    --cst-ink: #0d1526;
    --cst-text: #33415c;
    --cst-text-soft: #5c6b82;
    --cst-muted: #8b98ad;
    --cst-muted-2: #9aa7ba;
    --cst-muted-3: #a8b3c4;

    /* 描边 */
    --cst-line: #eef3fb;
    --cst-line-soft: #f2f6fb;
    --cst-line-2: #e8eefb;
    --cst-line-soft2: #edf3fc;
    --cst-line-input: #e2e8f2;

    /* 底色 */
    --cst-surface: #f7faff;
    --cst-surface-2: #fafcff;
    --cst-surface-blue: #f4f8ff;
    --cst-surface-gray: #f8f9fb;
    --cst-disabled-bg: #e8ebf0;

    /* 圆角 */
    --cst-r-xxl: 20px;
    --cst-r-xl: 26px;
    --cst-r-lg: 18px;
    --cst-r-md: 14px;
    --cst-r-sm: 12px;
    --cst-r-xs: 10px;
    --cst-r-xs2: 8px;

    /* 间距与阴影 */
    --cst-gutter: 20px;
    --cst-shadow-card: 0 2px 10px rgba(15, 47, 92, .04);
    --cst-shadow-hover: 0 6px 18px rgba(0, 102, 255, .10), 0 20px 48px rgba(15, 47, 92, .09);
}

/* ============================================================
   CST Cart 2026 — 腾讯云式选购页视觉层
   仅作用于 #order-standard_cart.tc-config，不影响其他页面
   ============================================================ */

/* ---------- 布局：去掉左侧分类栏，主区铺满 ---------- */
#order-standard_cart.tc-config .cart-sidebar { display: none; }
#order-standard_cart.tc-config .cart-body { width: 100%; float: none; }
#order-standard_cart.tc-config .header-lined { margin-bottom: 18px; }
#order-standard_cart.tc-config .header-lined h1 { font-size: 22px; font-weight: 600; }

#order-standard_cart.tc-config .secondary-cart-body { width: 68%; }
#order-standard_cart.tc-config .secondary-cart-sidebar { width: 32%; }

@media (max-width: 991.98px) {
    #order-standard_cart.tc-config .secondary-cart-body,
    #order-standard_cart.tc-config .secondary-cart-sidebar { width: 100%; float: none; }
}

/* ---------- 顶部产品信息 ---------- */
#order-standard_cart.tc-config .product-info {
    margin: 0 0 18px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: var(--cst-r-xs);
}

#order-standard_cart.tc-config .product-info .product-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    color: var(--cst-ink);
}

#order-standard_cart.tc-config .product-info p { color: var(--cst-text-soft); font-size: 13px; }

/* ---------- 分组卡片 ---------- */
#order-standard_cart.tc-config .sub-heading {
    height: auto;
    margin: 22px 0 0;
    padding: 0;
    border: 0;
    text-align: left;
}

#order-standard_cart.tc-config .sub-heading span {
    display: flex;
    align-items: center;
    top: 0;
    padding: 0 0 0 11px;
    font-size: 15px;
    font-weight: 600;
    color: var(--cst-ink);
    line-height: 1.4;
    border-left: 3px solid var(--cst-blue);
    border-radius: 0;
    background: transparent !important;
}

#order-standard_cart.tc-config .field-container {
    margin: 12px 0 0;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: var(--cst-r-xs);
}

/* ---------- 计费周期：卡片胶囊 ---------- */
#order-standard_cart.tc-config .tc-cycles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 12px;
    margin: 4px 0 0;
}

#order-standard_cart.tc-config .tc-cycle {
    position: relative;
    display: block;
    padding: 14px 14px 12px;
    border: 1px solid #dfe3ea;
    border-radius: var(--cst-r-xs2);
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    text-align: left;
}

#order-standard_cart.tc-config .tc-cycle:hover {
    border-color: var(--cst-blue);
    box-shadow: 0 4px 14px rgba(0, 102, 255, .10);
}

#order-standard_cart.tc-config .tc-cycle.is-active {
    border-color: var(--cst-blue);
    background: #f3f8ff;
    box-shadow: 0 0 0 1px var(--cst-blue) inset;
}

#order-standard_cart.tc-config .tc-cycle__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--cst-ink);
    line-height: 1.35;
}

#order-standard_cart.tc-config .tc-cycle__price {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #7a879c;
    line-height: 1.4;
    word-break: break-all;
}

#order-standard_cart.tc-config .tc-cycle.is-active .tc-cycle__label { color: var(--cst-blue); }

#order-standard_cart.tc-config .tc-cycle__tick {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-top: 18px solid var(--cst-blue);
    border-radius: 0 7px 0 0;
    display: none;
}

#order-standard_cart.tc-config .tc-cycle.is-active .tc-cycle__tick { display: block; }

#order-standard_cart.tc-config #inputBillingcycle.tc-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#order-standard_cart.tc-config .tc-cycle-native { display: none; }

/* ---------- 右侧价格卡片 ---------- */
#order-standard_cart.tc-config .secondary-cart-sidebar {
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

#order-standard_cart.tc-config .order-summary {
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: var(--cst-r-xs);
    border-bottom: 1px solid #e6e8eb;
    overflow: hidden;
}

#order-standard_cart.tc-config .order-summary h2 {
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #eef1f5;
    color: var(--cst-ink);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

#order-standard_cart.tc-config .summary-container {
    background: #fff;
    padding: 16px 20px;
    min-height: 0;
    font-size: 13px;
}

#order-standard_cart.tc-config .order-summary .total-due-today .amt {
    font-size: 30px;
    font-weight: 700;
    color: var(--cst-blue);
    font-variant-numeric: tabular-nums;
}

#order-standard_cart.tc-config .order-summary .total-due-today span { text-align: right; }

#order-standard_cart.tc-config #btnCompleteProductConfig {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 20px;
    border: 0;
    border-radius: var(--cst-r-xs2);
    background: var(--cst-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
}

#order-standard_cart.tc-config #btnCompleteProductConfig:hover { background: #0055d4; }

/* 移动端：底部固定操作栏 */
@media (max-width: 991.98px) {
    #order-standard_cart.tc-config .secondary-cart-sidebar {
        position: sticky;
        bottom: 0;
        top: auto;
        z-index: 40;
        padding: 0;
        margin-top: 16px;
    }

    #order-standard_cart.tc-config .order-summary h2 { display: none; }
}

/* ---------- 可配置选项卡片化 ---------- */
#order-standard_cart.tc-config .field-container .form-group > label {
    font-size: 13px;
    font-weight: 500;
    color: var(--cst-text);
    margin-bottom: 8px;
}

#order-standard_cart.tc-config .field-container .form-control {
    border-radius: var(--cst-r-xs2);
    border-color: #dfe3ea;
    height: 40px;
}

/* ---------- 规格卡片（CPU/内存/硬盘/带宽/流量） ---------- */
#order-standard_cart.tc-config .tc-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

#order-standard_cart.tc-config .tc-spec {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: var(--cst-r-xs2);
}

#order-standard_cart.tc-config .tc-spec__label {
    display: block;
    font-size: 12px;
    color: var(--cst-muted);
    margin-bottom: 6px;
}

#order-standard_cart.tc-config .tc-spec__value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--cst-ink);
    line-height: 1.35;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    #order-standard_cart.tc-config .tc-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 系统芯片 ---------- */
#order-standard_cart.tc-config .tc-hidden-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#order-standard_cart.tc-config .tc-os {
    margin-top: 4px;
}

#order-standard_cart.tc-config .tc-os__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 7px 0;
}

#order-standard_cart.tc-config .tc-os__name {
    flex: 0 0 124px;
    font-size: 13px;
    color: var(--cst-text);
    line-height: 32px;
}

#order-standard_cart.tc-config .tc-os__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#order-standard_cart.tc-config .tc-os__chip {
    padding: 6px 14px;
    min-width: 64px;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #fff;
    color: var(--cst-text);
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

#order-standard_cart.tc-config .tc-os__chip:hover {
    border-color: var(--cst-blue);
    color: var(--cst-blue);
}

#order-standard_cart.tc-config .tc-os__chip.is-active {
    border-color: var(--cst-blue);
    background: #f3f8ff;
    color: var(--cst-blue);
    font-weight: 500;
}

@media (max-width: 991.98px) {
    #order-standard_cart.tc-config .tc-os__row { display: block; }
    #order-standard_cart.tc-config .tc-os__name { flex: none; line-height: 1.6; margin-bottom: 6px; }
}

/* ---------- 产品列表页：分类栏收窄，给卡片更多空间 ---------- */
@media (min-width: 992px) {
    #order-standard_cart .cart-sidebar {
        width: 21%;
        padding-right: 10px;
        padding-left: 0;
    }

    #order-standard_cart .cart-sidebar .panel-body,
    #order-standard_cart .cart-sidebar .card-body {
        padding: 12px 14px;
    }

    #order-standard_cart .cart-sidebar .list-group-item {
        padding: 6px 10px;
        font-size: 13px;
    }

    #order-standard_cart .cart-body {
        width: 79%;
        padding-left: 14px;
        padding-right: 0;
    }
}

/* ---------- 列表页内嵌配置 ---------- */
#order-standard_cart .tc-inline {
    margin: 0;
    padding: 14px 22px 2px;
    border-top: 1px dashed #e6e8eb;
}

#order-standard_cart .tc-inline:empty { display: none; }

#order-standard_cart .tc-inline__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px 13px;
    border-radius: var(--cst-r-xs);
    background: #fbfdff;
}

#order-standard_cart .tc-inline__label {
    flex: 0 0 68px;
    font-size: 12px;
    color: var(--cst-muted);
}

#order-standard_cart .tc-inline__select {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 4px 8px;
    border: 1px solid #dfe3ea;
    border-radius: 7px;
    background: #fff;
    font-size: 13px;
    color: var(--cst-text);
}

#order-standard_cart .tc-inline__qty {
    width: 72px;
    height: 34px;
    padding: 4px 8px;
    border: 1px solid #dfe3ea;
    border-radius: 7px;
    font-size: 13px;
    text-align: center;
    color: var(--cst-text);
}

#order-standard_cart .tc-inline__select:focus,
#order-standard_cart .tc-inline__qty:focus {
    outline: 0;
    border-color: var(--cst-blue);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, .12);
}

/* ============================================================
   产品列表页（tc-products）：去左侧分类栏 + 地域导航
   ============================================================ */
#order-standard_cart.tc-products .cart-body {
    width: 100%;
    float: none;
    padding: 0;
}

#order-standard_cart.tc-products .header-lined {
    margin: 0 0 18px;
    padding: 0;
    text-align: left;
    border: 0;
}

#order-standard_cart.tc-products .header-lined h1 {
    font-size: 22px;
    font-weight: 600;
    color: var(--cst-ink);
    line-height: 1.4;
}

#order-standard_cart.tc-products .header-lined p {
    margin: 8px 0 0;
    color: var(--cst-text-soft);
    font-size: 13.5px;
    line-height: 1.7;
}

/* ---------- 地域卡片 ---------- */
.tc-region {
    margin: 0 0 24px;
    padding: 20px 24px 22px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: var(--cst-r-sm);
}

.tc-region__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.tc-region__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--cst-ink);
}

.tc-region__tip {
    color: #b6c0cf;
    font-size: 13px;
    cursor: help;
}

.tc-region__hint {
    margin-left: 4px;
    font-size: 12.5px;
    color: var(--cst-muted);
}

.tc-region__tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #eef1f5;
    margin-bottom: 16px;
}

.tc-region__tab {
    position: relative;
    padding: 8px 2px 12px;
    border: 0;
    background: none;
    font-size: 14px;
    color: var(--cst-text-soft);
    cursor: pointer;
    transition: color .15s;
}

.tc-region__tab:hover { color: var(--cst-blue); }

.tc-region__tab.is-active {
    color: var(--cst-blue);
    font-weight: 600;
}

.tc-region__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--cst-blue);
    border-radius: 2px;
}

.tc-region__pane { display: none; }

.tc-region__pane.is-active {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tc-region__city {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    padding: 11px 18px;
    border: 1px solid #dfe3ea;
    border-radius: var(--cst-r-xs2);
    background: #fff;
    text-decoration: none !important;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.tc-region__city:hover {
    border-color: var(--cst-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 255, .10);
}

.tc-region__city.is-active {
    border-color: var(--cst-blue);
    background: #f3f8ff;
    box-shadow: 0 0 0 1px var(--cst-blue) inset;
}

.tc-region__city-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--cst-ink);
    line-height: 1.4;
}

.tc-region__city.is-active .tc-region__city-name { color: var(--cst-blue); }

.tc-region__city-sub {
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--cst-muted);
    line-height: 1.4;
}

.tc-region__city.is-active .tc-region__city-sub { color: #4d8ef0; }

@media (max-width: 600px) {
    .tc-region { padding: 16px; }
    .tc-region__tabs { gap: 18px; }
    .tc-region__hint { display: none; }
    .tc-region__city { flex: 1 1 calc(50% - 5px); min-width: 0; }
}

/* ============================================================
   顶部产品导航（方案 A）：单行吸顶条
   地区胶囊 + 当前产品下拉，整条 48px
   ============================================================ */
.tc-pnav {
    position: sticky;
    top: 10px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    backdrop-filter: saturate(180%) blur(8px);
    border: 1px solid var(--cst-line);
    border-radius: var(--cst-r-sm);
    box-shadow: 0 2px 10px rgba(15, 47, 92, .05);
}

.tc-pnav__regions {
    display: flex;
    gap: 5px;
    flex: 0 0 auto;
}

.tc-pnav__region {
    padding: 6px 14px;
    border: 0;
    border-radius: var(--cst-r-xxl);
    background: #f4f7fc;
    font-size: 13px;
    color: var(--cst-text-soft);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.tc-pnav__region:hover {
    background: #eaf1fb;
    color: var(--cst-blue);
}

.tc-pnav__region.is-active {
    background: var(--cst-blue);
    color: #fff;
    font-weight: 600;
}

.tc-pnav__sep {
    flex: 0 0 1px;
    width: 1px;
    height: 18px;
    background: var(--cst-line);
}

.tc-pnav__cur {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 6px 10px;
    border: 0;
    border-radius: var(--cst-r-xs2);
    background: none;
    cursor: pointer;
    transition: background-color .15s ease;
}

.tc-pnav__cur:hover,
.tc-pnav.is-open .tc-pnav__cur {
    background: var(--cst-surface-blue);
}

.tc-pnav__dot {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cst-blue);
}

.tc-pnav__curName {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cst-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-pnav__curSub {
    font-size: 11.5px;
    color: var(--cst-muted-2);
    white-space: nowrap;
}

.tc-pnav__caret {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-right: 1.5px solid var(--cst-muted);
    border-bottom: 1.5px solid var(--cst-muted);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
}

.tc-pnav.is-open .tc-pnav__caret {
    transform: translateY(1px) rotate(-135deg);
}

.tc-pnav__count {
    margin-left: auto;
    padding-right: 4px;
    font-size: 12px;
    color: var(--cst-muted-2);
    white-space: nowrap;
}

/* ---------- 下拉面板 ---------- */
.tc-pnav__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: 62vh;
    overflow: auto;
    padding: 14px 16px 16px;
    background: #fff;
    border: 1px solid var(--cst-line);
    border-radius: var(--cst-r-md);
    box-shadow: 0 16px 40px rgba(15, 47, 92, .14);
}

.tc-pnav__panel[hidden] { display: none; }

.tc-pnav__pane { display: none; }
.tc-pnav__pane.is-active { display: block; }

.tc-pnav__group + .tc-pnav__group { margin-top: 12px; }

.tc-pnav__glabel {
    margin-bottom: 7px;
    font-size: 11px;
    color: var(--cst-muted-2);
    letter-spacing: .03em;
}

.tc-pnav__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tc-pnav__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 208px;
    padding: 9px 14px;
    border: 1px solid var(--cst-line-2);
    border-radius: var(--cst-r-xs2);
    background: var(--cst-surface-2);
    text-decoration: none !important;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.tc-pnav__item:hover {
    border-color: var(--cst-blue);
    background: #eaf2ff;
    box-shadow: 0 4px 12px rgba(0, 102, 255, .10);
}

.tc-pnav__item.is-active {
    background: var(--cst-blue);
    border-color: var(--cst-blue);
}

.tc-pnav__iname {
    font-size: 13px;
    font-weight: 500;
    color: var(--cst-ink);
    line-height: 1.4;
    white-space: normal;
}

.tc-pnav__isub {
    font-size: 11px;
    color: #6b86ad;
    line-height: 1.4;
}

.tc-pnav__item.is-active .tc-pnav__iname { color: #fff; }
.tc-pnav__item.is-active .tc-pnav__isub { color: #d6e6ff; }

@media (max-width: 767.98px) {
    .tc-pnav {
        gap: 8px;
        padding: 6px 8px;
        top: 6px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tc-pnav::-webkit-scrollbar { display: none; }

    .tc-pnav__regions { gap: 4px; }

    .tc-pnav__region {
        padding: 5px 11px;
        font-size: 12.5px;
    }

    .tc-pnav__curName {
        max-width: 40vw;
        font-size: 13px;
    }

    .tc-pnav__curSub,
    .tc-pnav__count { display: none; }

    .tc-pnav__item {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* 三列小卡：标题下方描述收紧 */
#order-standard_cart.tc-products .header-lined h1 {
    font-size: 20px;
}

#order-standard_cart.tc-products .header-lined p {
    font-size: 13px;
    line-height: 1.65;
}

/* ============================================================
   配置页 v2 —— 2026-11-11 美化
   圆角白卡 / 蓝色主色 / 原生下拉框
   ============================================================ */

/* ---------- 页头 ---------- */
#order-standard_cart.tc-config .tc-pagehead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 26px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: var(--cst-r-lg);
    box-shadow: 0 2px 10px rgba(15, 47, 92, .04);
}

#order-standard_cart.tc-config .tc-pagehead__title {
    margin: 0 0 4px;
    font-size: 21px;
    font-weight: 600;
    color: var(--cst-ink);
    line-height: 1.3;
}

#order-standard_cart.tc-config .tc-pagehead__sub {
    margin: 0;
    font-size: 12.5px;
    color: var(--cst-muted);
}

#order-standard_cart.tc-config .tc-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

#order-standard_cart.tc-config .tc-step {
    padding: 5px 12px;
    border-radius: var(--cst-r-xxl);
    background: #f4f7fc;
    color: var(--cst-muted-2);
    white-space: nowrap;
}

#order-standard_cart.tc-config .tc-step.is-done {
    background: #eef7f1;
    color: #2f9e5f;
}

#order-standard_cart.tc-config .tc-step.is-active {
    background: var(--cst-blue);
    color: #fff;
    font-weight: 600;
}

/* ---------- 两栏布局 ---------- */
#order-standard_cart.tc-config .tc-cfg {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 0;
}

#order-standard_cart.tc-config .tc-cfg .secondary-cart-body {
    flex: 1 1 auto;
    width: auto;
    float: none;
    padding: 0;
    min-width: 0;
}

#order-standard_cart.tc-config .tc-cfg .secondary-cart-sidebar {
    flex: 0 0 340px;
    width: 340px;
    padding: 0;
}

/* ---------- 分区卡片 ---------- */
#order-standard_cart.tc-config .tc-sec {
    padding: 20px 24px 22px;
    margin: 0 0 16px;
    background: #fff;
    border-radius: var(--cst-r-lg);
    box-shadow: 0 2px 10px rgba(15, 47, 92, .04);
}

#order-standard_cart.tc-config .tc-sec__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--cst-line-soft);
}

#order-standard_cart.tc-config .tc-sec__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--cst-ink);
    line-height: 1.4;
}

#order-standard_cart.tc-config .tc-sec__title::before {
    content: "";
    flex: 0 0 4px;
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: var(--cst-blue);
}

#order-standard_cart.tc-config .tc-sec__hint {
    margin-left: auto;
    font-size: 12px;
    color: var(--cst-muted-2);
    white-space: nowrap;
}

#order-standard_cart.tc-config .tc-sec__desc {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--cst-text-soft);
}

/* ---------- 产品标题与描述 ---------- */
#order-standard_cart.tc-config .product-info {
    padding: 0;
    margin: 0 0 16px;
    background: none;
    border: 0;
}

#order-standard_cart.tc-config .product-info .product-title {
    margin: 0 0 6px;
    padding: 0;
    font-size: 19px;
    font-weight: 600;
    color: var(--cst-ink);
    letter-spacing: -.01em;
    line-height: 1.35;
    border: 0;
    background: none;
}

#order-standard_cart.tc-config .product-info p:not(.product-title) {
    margin: 0;
    font-size: 12.5px;
    color: var(--cst-muted-2);
    line-height: 1.7;
}

/* ---------- 规格格子 ---------- */
#order-standard_cart.tc-config .tc-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

#order-standard_cart.tc-config .tc-spec {
    padding: 10px 14px;
    background: var(--cst-surface);
    border: 1px solid var(--cst-line-soft2);
    border-radius: var(--cst-r-sm);
}

#order-standard_cart.tc-config .tc-spec__label {
    display: block;
    font-size: 11px;
    color: var(--cst-muted-2);
    line-height: 1.3;
    margin: 0;
}

#order-standard_cart.tc-config .tc-spec__value {
    display: block;
    margin-top: 2px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cst-ink);
    line-height: 1.35;
    word-break: break-word;
}

/* ---------- 付款周期 ---------- */
#order-standard_cart.tc-config .tc-cycles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin: 0;
}

#order-standard_cart.tc-config .tc-cycle {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--cst-line-2);
    border-radius: var(--cst-r-sm);
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

#order-standard_cart.tc-config .tc-cycle:hover {
    border-color: #c9dcff;
    background: var(--cst-surface-2);
}

#order-standard_cart.tc-config .tc-cycle.is-active {
    border-color: var(--cst-blue);
    background: var(--cst-surface-blue);
    box-shadow: inset 0 0 0 1px var(--cst-blue);
}

#order-standard_cart.tc-config .tc-cycle__label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cst-text);
    line-height: 1.3;
}

#order-standard_cart.tc-config .tc-cycle__price {
    font-size: 11.5px;
    color: var(--cst-muted);
    line-height: 1.4;
}

#order-standard_cart.tc-config .tc-cycle__tick {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cst-blue);
    display: none;
}

#order-standard_cart.tc-config .tc-cycle__tick::after {
    content: "";
    display: block;
    width: 3px;
    height: 6px;
    margin: 3.5px auto 0;
    border: 1.5px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
}

#order-standard_cart.tc-config .tc-cycle.is-active .tc-cycle__tick { display: block; }

/* ---------- 表单字段 ---------- */
#order-standard_cart.tc-config .tc-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    margin: 0 0 16px;
}

#order-standard_cart.tc-config .tc-field:last-child { margin-bottom: 0; }

#order-standard_cart.tc-config .tc-field > label {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--cst-text);
    line-height: 1.4;
}

#order-standard_cart.tc-config .tc-field .form-control {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--cst-line-input);
    border-radius: var(--cst-r-xs);
    font-size: 13.5px;
    color: var(--cst-ink);
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

#order-standard_cart.tc-config .tc-field .form-control:focus {
    border-color: var(--cst-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .12);
    outline: 0;
}

#order-standard_cart.tc-config .tc-field select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238b98ad' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    cursor: pointer;
}

#order-standard_cart.tc-config .tc-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

#order-standard_cart.tc-config .tc-grid2 .tc-field { margin: 0; }

/* 数量输入 */
#order-standard_cart.tc-config .tc-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

#order-standard_cart.tc-config .tc-qty .form-control {
    width: 120px;
    flex: 0 0 120px;
    text-align: center;
    font-weight: 600;
}

#order-standard_cart.tc-config .tc-qty__unit {
    font-size: 12.5px;
    color: var(--cst-muted);
}

/* ---------- 可配置选项布局 ---------- */
#order-standard_cart.tc-config .product-configurable-options .row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin: 0;
}

#order-standard_cart.tc-config .product-configurable-options [class*="col-"] {
    padding: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
}

#order-standard_cart.tc-config .product-configurable-options .col-sm-6 {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

#order-standard_cart.tc-config .product-configurable-options .tc-field { margin: 0; }

/* 单选 / 勾选 */
#order-standard_cart.tc-config .tc-radio,
#order-standard_cart.tc-config .tc-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 9px;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--cst-text);
    cursor: pointer;
}

#order-standard_cart.tc-config .tc-radio input,
#order-standard_cart.tc-config .tc-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--cst-blue);
}

#order-standard_cart.tc-config .tc-field__help {
    font-size: 12px;
    color: var(--cst-muted-2);
}

/* ---------- 右侧摘要 ---------- */
#order-standard_cart.tc-config .tc-cfg .secondary-cart-sidebar {
    position: sticky;
    top: 90px;
}

#order-standard_cart.tc-config .order-summary {
    background: #fff;
    border: 1px solid var(--cst-line);
    border-radius: var(--cst-r-lg);
    box-shadow: 0 2px 10px rgba(15, 47, 92, .04);
    overflow: hidden;
}

#order-standard_cart.tc-config .order-summary h2 {
    margin: 0;
    padding: 18px 22px 13px;
    background: #fff;
    border-bottom: 1px solid var(--cst-line-soft);
    font-size: 13px;
    font-weight: 500;
    color: var(--cst-muted-2);
    letter-spacing: .04em;
    text-align: left;
}

#order-standard_cart.tc-config .summary-container {
    padding: 14px 22px 18px;
    background: #fff;
    font-size: 12.5px;
    min-height: 0;
}

#order-standard_cart.tc-config .summary-container .product-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--cst-ink);
    line-height: 1.4;
}

#order-standard_cart.tc-config .summary-container .product-group {
    display: block;
    margin: 2px 0 14px;
    font-size: 11.5px;
    color: var(--cst-muted-2);
}

#order-standard_cart.tc-config .summary-container .clearfix {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    font-size: 12.5px;
    color: var(--cst-text-soft);
}

#order-standard_cart.tc-config .summary-container .clearfix > span {
    float: none !important;
}

#order-standard_cart.tc-config .summary-container .clearfix > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

#order-standard_cart.tc-config .summary-container .clearfix > span:last-child {
    flex: 0 0 auto;
    color: var(--cst-text);
    font-variant-numeric: tabular-nums;
}

#order-standard_cart.tc-config .summary-container .summary-totals {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--cst-line-soft);
}

#order-standard_cart.tc-config .summary-container .total-due-today {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px dashed var(--cst-line-2);
}

#order-standard_cart.tc-config .summary-container .total-due-today .amt {
    font-size: 27px;
    font-weight: 700;
    color: var(--cst-ink);
    letter-spacing: -.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

#order-standard_cart.tc-config .summary-container .total-due-today span:last-child {
    order: -1;
    font-size: 12px;
    color: var(--cst-muted-2);
}

/* CTA */
#order-standard_cart.tc-config #btnCompleteProductConfig {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    border-radius: var(--cst-r-md);
    background: var(--cst-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 102, 255, .24);
    transition: background-color .18s ease, box-shadow .18s ease;
}

#order-standard_cart.tc-config #btnCompleteProductConfig:hover {
    background: var(--cst-blue-dark);
    box-shadow: 0 10px 24px rgba(0, 102, 255, .3);
}

#order-standard_cart.tc-config .tc-buy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 12px 0 0;
    font-size: 11.5px;
    color: var(--cst-muted-2);
    text-align: center;
}

/* ---------- 底部帮助条 ---------- */
#order-standard_cart.tc-config .tc-helpbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: #fffbeb;
    border: 1px solid #fdeec2;
    border-radius: var(--cst-r-md);
    font-size: 12.5px;
    color: #8a6d3b;
}

#order-standard_cart.tc-config .tc-helpbar a {
    margin-left: auto;
    padding: 6px 14px;
    border-radius: var(--cst-r-xs2);
    background: #f6c453;
    color: #5c4310;
    font-weight: 600;
    text-decoration: none;
}

#order-standard_cart.tc-config .tc-helpbar a:hover { background: #eeb93f; }

/* ---------- 屏读文本 ---------- */
#order-standard_cart.tc-config .tc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    #order-standard_cart.tc-config .tc-cfg { gap: 16px; }
    #order-standard_cart.tc-config .tc-cfg .secondary-cart-sidebar {
        flex: 0 0 300px;
        width: 300px;
    }
}

@media (max-width: 991.98px) {
    #order-standard_cart.tc-config .tc-cfg {
        flex-direction: column;
        gap: 0;
    }

    #order-standard_cart.tc-config .tc-cfg .secondary-cart-sidebar {
        position: static;
        width: 100%;
        flex: 1 1 auto;
    }

    #order-standard_cart.tc-config .tc-sec { padding: 18px 18px 20px; }
    #order-standard_cart.tc-config .tc-pagehead { padding: 18px 20px; }
    #order-standard_cart.tc-config .tc-steps { display: none; }
    #order-standard_cart.tc-config .tc-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #order-standard_cart.tc-config .tc-grid2 { grid-template-columns: 1fr; }
    #order-standard_cart.tc-config .product-configurable-options .col-sm-6 { flex: 1 1 100%; max-width: 100%; }
}

@media (max-width: 560px) {
    #order-standard_cart.tc-config .tc-cycles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #order-standard_cart.tc-config .tc-pagehead__title { font-size: 18px; }
}

/* ---------- 覆盖主题自带的绿色结算按钮（5 个 id 的高优先级规则） ---------- */
#order-standard_cart.tc-config #frmConfigureProduct #scrollingPanelContainer #orderSummary button#btnCompleteProductConfig {
    width: 100%;
    height: 50px;
    padding: 0;
    border: 0 !important;
    border-radius: var(--cst-r-md) !important;
    background: var(--cst-blue) !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 102, 255, .24);
}

#order-standard_cart.tc-config #frmConfigureProduct #scrollingPanelContainer #orderSummary button#btnCompleteProductConfig:hover {
    background: var(--cst-blue-dark) !important;
}

/* ---------- 付款周期改为 3 列（6 个周期刚好两行） ---------- */
@media (min-width: 992px) {
    #order-standard_cart.tc-config .tc-cycles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 产品描述被 JS 隐藏后不占位 */
#order-standard_cart.tc-config .product-info:empty,
#order-standard_cart.tc-config .product-info p[style*="display: none"] {
    display: none;
}

/* 描述被 JS 隐藏后，整块不占位，避免标题与规格之间空一大截 */
#order-standard_cart.tc-config .product-info {
    margin: 0;
}

#order-standard_cart.tc-config .product-info:has(p[style*="none"]) {
    display: none;
}

#order-standard_cart.tc-config .tc-sec__head {
    margin-bottom: 14px;
    padding-bottom: 12px;
}

/* Root 密码：只读锁死，灰底不可编辑 */
#order-standard_cart.tc-config .tc-field .form-control.is-locked,
#order-standard_cart.tc-config .tc-field .form-control[readonly] {
    background: #f2f4f7;
    border-color: var(--cst-disabled-bg);
    color: #7b8798;
    cursor: not-allowed;
}

#order-standard_cart.tc-config .tc-field .form-control.is-locked:focus {
    border-color: var(--cst-disabled-bg);
    box-shadow: none;
}

/* ---------- 骨架屏尺寸（配置页） ---------- */
#order-standard_cart.tc-config .tc-specs:empty:not([data-ready])::before {
    grid-column: 1 / -1;
    height: 76px;
}

#order-standard_cart.tc-config .tc-cycles:empty:not([data-ready])::before {
    grid-column: 1 / -1;
    height: 62px;
}

#order-standard_cart.tc-config .summary-container:empty::before {
    height: 13px;
    box-shadow: 0 26px 0 #f1f4f9, 0 52px 0 #f1f4f9, 0 78px 0 #f1f4f9;
    margin-bottom: 92px;
}

/* 减少动效偏好时关闭流光 */
@media (prefers-reduced-motion: reduce) {
    #order-standard_cart .tc-specs:empty:not([data-ready])::before,
    #order-standard_cart .tc-cycles:empty:not([data-ready])::before,
    #order-standard_cart .summary-container:empty::before,
    #order-standard_cart .products:empty::before {
        animation: none;
    }
}

/* 配置页不引 custom.css，骨架屏基础样式需自备一份 */
#order-standard_cart .tc-specs:empty:not([data-ready])::before,
#order-standard_cart .tc-cycles:empty:not([data-ready])::before,
#order-standard_cart .summary-container:empty::before {
    content: "";
    display: block;
    border-radius: var(--cst-r-sm);
    background: linear-gradient(90deg, #f1f4f9 25%, #e7edf6 37%, #f1f4f9 63%);
    background-size: 200% 100%;
    animation: cstSkeleton 1.4s ease-in-out infinite;
}

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

/* 手机端：地区胶囊自身横向滚动，当前产品按钮固定不被挤掉 */
@media (max-width: 767.98px) {
    .tc-pnav {
        overflow: visible;
    }

    .tc-pnav__regions {
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 1px;
    }

    .tc-pnav__regions::-webkit-scrollbar { display: none; }

    .tc-pnav__sep { display: none; }

    .tc-pnav__cur {
        flex: 0 0 auto;
        max-width: 52vw;
    }

    .tc-pnav__curName {
        max-width: 40vw;
    }
}
