/* 购物车美化覆盖 —— 删除 includes/currency.tpl 中的引用即可回滚 */
:root {
    --cb-radius: 14px;
    --cb-grad: linear-gradient(135deg, #0052d9 0%, #3b82f6 55%, #36cfc9 100%);
    --cb-grad-btn: linear-gradient(90deg, #0052d9 0%, #2f7bff 100%);
    --cb-shadow: 0 6px 24px rgba(15, 35, 95, .06);
    --cb-shadow-hover: 0 18px 40px rgba(0, 82, 217, .16);
    --cb-bg: #f3f6fb;
}

body { background: var(--cb-bg) !important; }

/* ---------- 顶部标题条 ---------- */
.navtop-standingPosition {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e9eef6;
}
.navtop-standingPosition .nav-top-page .return {
    padding: 4px 12px;
    border-radius: 16px;
    background: #f2f5fa;
    transition: background .2s;
}
.navtop-standingPosition .nav-top-page .return:hover { background: #e6efff; }
.navtop-standingPosition .nav-top-page .return:hover i,
.navtop-standingPosition .nav-top-page .return:hover span { color: var(--Original); }
.navtop-standingPosition .nav-top-page .page-title {
    position: relative;
    padding-left: 12px;
    line-height: 28px;
}
.navtop-standingPosition .nav-top-page .page-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 4px;
    background: var(--cb-grad);
}

/* ---------- 左侧分类栏 ---------- */
.shopping-cart-page .shopping-cart-content .sky-cart-sidebar {
    background: transparent;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box input {
    height: 38px;
    border-radius: 19px;
    border: 1px solid #e3e8f0;
    background: #fff;
    padding-left: 34px;
    box-shadow: var(--cb-shadow);
    transition: border-color .2s, box-shadow .2s;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box input:focus {
    border: 1px solid var(--Original);
    box-shadow: 0 0 0 3px rgba(0, 82, 217, .12);
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box .sky-cart-search-icon { left: 10px; }
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results {
    border-radius: 12px;
    border-color: #e9eef6;
    box-shadow: var(--cb-shadow-hover);
}
.sky-cart-sidebar .sky-cart-menu {
    background: #fff;
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    padding: 8px;
    margin: 14px 0;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-menu-title {
    border-radius: 10px;
    font-weight: 600;
    padding: 11px 14px;
    transition: background .2s, color .2s;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-menu-title:hover {
    background: #f2f6ff;
    color: var(--Original);
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-menu-title.active {
    color: var(--Original);
    background: linear-gradient(90deg, #eaf2ff, #f6f9ff);
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row {
    padding: 4px 0 8px;
    gap: 2px;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item {
    border-left: none;
    border-radius: 10px;
    padding: 0 12px 0 22px;
    position: relative;
    transition: background .2s, transform .2s;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item:hover {
    background: #f5f8ff;
    transform: translateX(2px);
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item.active {
    border-left: none;
    background: var(--cb-grad-btn);
    box-shadow: 0 6px 16px rgba(0, 82, 217, .28);
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item.active h5 {
    color: #fff;
    font-weight: 600;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item h5 {
    line-height: 38px;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item img {
    border-radius: 3px;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item .tagline {
    border-radius: 10px;
    background: linear-gradient(90deg, #ff5b5b, #ff8a3d);
    box-shadow: 0 3px 8px rgba(255, 91, 91, .3);
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item.active .tagline {
    background: rgba(255, 255, 255, .25);
    box-shadow: none;
}

/* ---------- 产品卡片 ---------- */
.sky-productList { gap: 20px; }
.product-card {
    position: relative;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--cb-shadow);
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
}
.product-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--cb-grad);
    opacity: 0;
    transition: opacity .3s;
    z-index: 2;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 82, 217, .35);
    box-shadow: var(--cb-shadow-hover);
}
.product-card:hover::before { opacity: 1; }
.product-card .product-card-header {
    background: linear-gradient(135deg, #f3f7ff 0%, #fafcff 60%, #ffffff 100%);
    padding: 18px 20px 14px;
    border-bottom: 1px dashed #e6ecf5;
}
.product-card .product-card-header .header-title h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1d2433;
}
.product-card .product-card-header .header-title .stock-info {
    padding: 0 8px;
    line-height: 20px;
    border-radius: 10px;
    background: #fff4e6;
    color: #fa8c16;
    white-space: nowrap;
}
.product-card .product-card-header .header-title .stock-info:after { display: none; }
.product-card .product-card-body .product-description { padding: 12px 20px 4px; }
.product-card .product-card-body .product-description .content-item {
    border-bottom: 1px solid #f3f5f9;
    padding: 2px 0;
}
.product-card .product-card-body .product-description .content-item:last-child { border-bottom: none; }
.product-card .product-card-body .product-description .content-item .label-text { color: #8a93a6; }
.product-card .product-card-body .product-description .content-item .value-text { color: #1d2433; font-weight: 500; text-align: right; }
.product-card .product-Parameters { padding: 0 20px 20px; }
.product-card .product-Parameters .pricing-info { padding: 12px 0 0; }
.product-card .product-Parameters .amount {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.5px;
}
.product-card .product-Parameters .original-price .discount {
    display: inline-block;
    padding: 0 8px;
    margin-right: 6px;
    line-height: 20px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(90deg, #ff4d4f, #ff7a45);
}
.product-card .product-Parameters .original-price .amount,
.product-card .product-Parameters .original-price .currency { text-decoration: line-through; }
.product-card .product-Parameters .buy-now-button {
    margin-top: 14px;
    line-height: 44px;
    border-radius: 22px;
    background: var(--cb-grad-btn);
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 8px 18px rgba(0, 82, 217, .25);
}
.product-card:hover .product-Parameters .buy-now-button:not(.SellOut),
.product-card:hover .purchaseButton .buy-now-button:not(.SellOut) {
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 82, 217, .35);
    filter: brightness(1.06);
}
.product-card .product-Parameters .buy-now-button.SellOut {
    background: #eef0f4;
    color: #9aa1ae;
    box-shadow: none;
    text-shadow: none;
}

/* ---------- 配置页 ---------- */
.allocation-card { gap: 14px; }
.allocation-card .allocation-header {
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    padding: 18px 22px;
    margin-bottom: 0;
    align-items: center;
    background: linear-gradient(120deg, #ffffff 0%, #f3f8ff 100%);
}
.allocation-card .allocation-header .allocation-header-title h1 {
    font-size: 18px;
    color: #1d2433;
    padding-left: 12px;
    position: relative;
}
.allocation-card .allocation-header .allocation-header-title h1::before {
    content: "";
    position: absolute;
    left: 0; top: 3px; bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: var(--cb-grad);
}
.allocation-card .allocation-header .allocation-header-shoppingCart {
    padding: 4px 12px;
    border-radius: 14px;
    background: #fff7e8;
    align-items: center;
}
.allocation-card .allocation-mian {
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    padding: 32px 60px 8px 28px;
}
.allocation-card .allocation-footer {
    border-radius: var(--cb-radius) var(--cb-radius) 0 0;
    box-shadow: 0 -8px 30px rgba(15, 35, 95, .08);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 40px 12px 28px;
}
.allocation-card .allocation-footer .ordersummarybottom-title .ordersummarybottom-price,
.allocation-card .allocation-footer .ordersummarybottom-title .ordersummarybottom-prefix {
    color: #f5222d;
    font-weight: 800;
}
.allocation-card .btn-buyNow {
    padding: 0 36px !important;
    line-height: 46px;
    border-radius: 23px !important;
    border: none !important;
    background: var(--cb-grad-btn) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    box-shadow: 0 10px 22px rgba(0, 82, 217, .3);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.allocation-card .btn-buyNow:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 14px 28px rgba(0, 82, 217, .38);
}
.allocation-card .btn-costDetails { align-items: center; }
.allocation-card .btn-costDetails:hover { color: var(--Original); }
.allocation-card #configurationDetails {
    border-radius: 12px;
    border-color: #e9eef6;
    background: #fff;
    box-shadow: var(--cb-shadow-hover);
}

/* 表单 */
.sky-config-form .sky-form-group .sky-form-label { color: #4e5969; font-weight: 500; }
.sky-config-form .sky-btn-group { gap: 10px; }
.sky-config-form .sky-btn-group .sky-config-btn {
    border-radius: 8px;
    border: 1px solid #e3e8f0;
    background: #fff;
    line-height: 34px;
    padding: 0 22px;
    color: #4e5969;
    transition: all .2s;
}
.sky-config-form .sky-btn-group .sky-config-btn:hover {
    border-color: var(--Original);
    color: var(--Original);
    background: #f5f8ff;
}
.sky-config-form .sky-btn-group .sky-config-btn.active {
    border-color: transparent;
    background: var(--cb-grad-btn);
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 82, 217, .28);
}
.sky-config-form .sky-btn-group .sky-config-btn.active.disabled {
    background: #f2f4f8;
    color: #999;
    box-shadow: none;
}
.sky-config-form .sky-btn-group .cycle-select-discount {
    right: -6px;
    bottom: 80%;
    border-radius: 10px 10px 10px 2px;
    background: linear-gradient(90deg, #ff4d4f, #ff7a45);
    line-height: 18px;
    padding: 0 7px;
    box-shadow: 0 3px 8px rgba(255, 77, 79, .3);
    z-index: 2;
}
.sky-config-form .os-container { gap: 14px; }
.sky-config-form .os-card {
    border-radius: 12px;
    border: 1px solid #e6ebf3;
    background: #fff;
    transition: all .25s;
}
.sky-config-form .os-card .os-header {
    border-radius: 12px 12px 0 0;
    background: #f7f9fc;
}
.sky-config-form .os-card .version-dropdown .dropdown-btn { border-radius: 0 0 12px 12px; }
.sky-config-form .os-card.active, .sky-config-form .os-card:hover {
    border-color: var(--Original);
    box-shadow: 0 8px 20px rgba(0, 82, 217, .12);
    transform: translateY(-2px);
}
.sky-config-form .os-card.active .os-header,
.sky-config-form .os-card:hover .os-header {
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, #eaf2ff, #f7faff);
}
.sky-config-form .os-card.active::after {
    content: "\2713";
    position: absolute;
    top: -1px; right: -1px;
    width: 22px; height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    border-radius: 0 12px 0 10px;
    background: var(--cb-grad-btn);
}
.sky-config-form .os-card .version-dropdown .version-list {
    border-radius: 10px;
    border: 1px solid #e9eef6;
    box-shadow: var(--cb-shadow-hover);
}
.sky-config-form .sky-config-slider-container .progress-content .sky-config-progress-bar {
    height: 8px;
    border-radius: 4px;
    background: #edf1f7;
}
.sky-config-form .sky-config-slider-container .progress-content .sky-config-progress-bar .sky-config-progress {
    border-radius: 4px;
    background: var(--cb-grad-btn);
}
.sky-config-form .sky-config-slider-container .sky-config-tooltip { background: #1d2433; border-radius: 8px; }
.sky-config-form .sky-config-slider-container .sky-config-tooltip::after { border-top-color: #1d2433; }
.sky-config-form .dataCenter2 {
    border-radius: 10px;
    border: 1px solid #e3e8f0;
    background: #fff;
    transition: all .2s;
}
.sky-config-form .dataCenter2:hover { border-color: var(--Original); }
.sky-config-form .dataCenter2.active {
    border-color: var(--Original);
    background: #f2f7ff;
    box-shadow: 0 0 0 3px rgba(0, 82, 217, .1);
}
.sky-config-form .basicConfigurationItems {
    border-radius: 12px;
    border-bottom: none;
    box-shadow: inset 0 0 0 1px #edf1f7;
    padding: 18px 14px 14px;
    gap: 12px 8px !important;
}
.sky-config-form .basicConfigurationItems .sky-config-btn-three {
    border-radius: 8px;
    border: 1px solid #e3e8f0;
    transition: all .2s;
}
.sky-config-form .basicConfigurationItems .sky-config-btn-three:hover { border-color: var(--Original); color: var(--Original); }
.sky-config-form .basicConfigurationItems .sky-config-btn-three.active {
    border-color: transparent;
    background: var(--cb-grad-btn);
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 82, 217, .28);
}
.sky-config-form .basicConfigurationItems .sky-config-btn-three.sellOut { border-color: #eef0f4; }
.sky-config-form .basicConfigurationItems .sky-config-btn-three .threetag {
    border-radius: 8px 8px 8px 2px;
    padding: 0 6px;
    background: linear-gradient(90deg, #ff4d4f, #ff7a45);
}
.sky-config-form input.form-control,
.sky-config-form .bootstrap-select > .dropdown-toggle {
    border-radius: 8px !important;
}
.sky-config-form input.form-control { height: 38px; border-color: #e3e8f0; }
.sky-config-form input.form-control:focus { box-shadow: 0 0 0 3px rgba(0, 82, 217, .12); }
.sky-config-form .host_password .create_random_pass {
    border-radius: 8px;
    transition: all .2s;
}
.sky-config-form .host_password .create_random_pass:hover { background: var(--Original); color: #fff; }

/* ---------- 结算页 ---------- */
.sky-viewcart-body .sky-viewcart-header .sky-viewcart-title { font-size: 18px; color: #1d2433; }
.sky-viewcart-body .sky-viewcart-header .sky-viewcart-title:before {
    width: 4px; height: 20px;
    border-radius: 4px;
    background: var(--cb-grad);
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-items-c {
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    border: 1px solid #edf1f7;
    padding: 20px 24px;
    transition: box-shadow .25s, border-color .25s;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-items-c:hover {
    border-color: rgba(0, 82, 217, .25);
    box-shadow: 0 10px 30px rgba(0, 82, 217, .1);
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header {
    padding-bottom: 14px;
    border-bottom: 1px dashed #e6ecf5;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-name { color: #1d2433; }
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    margin-left: 8px;
    border-radius: 50%;
    background: #f2f6ff;
    transition: background .2s;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions a i { font-size: 18px; }
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions a:hover { background: #e0ebff; }
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-details {
    margin: 14px 0 4px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f8fafd;
    gap: 12px 20px;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info { padding-top: 12px; }
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row .sky-viewcart-subtotal-value {
    color: #f5222d;
    font-size: 18px;
    font-weight: 800;
}
.sky-viewcart-pay-body .pay-body-content {
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    border: 1px solid #edf1f7;
    padding: 28px 24px;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method .payment_method,
.sky-viewcart-pay-body .sky-viewcart-remarks-header .sky-viewcart-remarks-title { font-weight: 600; color: #1d2433; }
.sky-viewcart-pay-body .sky-viewcart-remarks-header .sky-viewcart-remarks-input-group .sky-viewcart-remarks-input,
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-input .form-control,
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-applied .form-control {
    border-radius: 8px !important;
    border: 1px solid #e3e8f0;
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list { gap: 16px; }
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment,
.sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon {
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e3e8f0;
    overflow: hidden;
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment:hover {
    border-color: var(--Original);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 82, 217, .1);
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment.active,
.sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon.checkboxSelect {
    border-color: var(--Original);
    background: #f4f8ff;
    box-shadow: 0 0 0 3px rgba(0, 82, 217, .12);
}
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-input button,
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-applied button {
    border-radius: 8px;
    padding: 8px 18px;
    background: var(--cb-grad-btn);
}
.sky-viewcart-footer {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e9eef6;
    box-shadow: 0 -8px 30px rgba(15, 35, 95, .08);
}
.sky-viewcart-footer .sky-viewcart-summary .sky-viewcart-total-value .sky-viewcart-total-label .price-num {
    color: #f5222d;
    font-weight: 800;
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button,
.sky-viewcart-footer .sky-viewcart-f .previousStep,
.sky-viewcart-footer .sky-viewcart-f .nextStep {
    border-radius: 22px;
    padding: 11px 30px;
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.sky-viewcart-footer .sky-viewcart-f .previousStep { background: #f2f4f8; color: #666; }
.sky-viewcart-footer .sky-viewcart-f .nextStep,
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button:not(:disabled) {
    background: var(--cb-grad-btn);
    box-shadow: 0 8px 18px rgba(0, 82, 217, .28);
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button:not(:disabled) {
    background: linear-gradient(90deg, #ff4d4f 0%, #ff7a45 100%);
    box-shadow: 0 8px 18px rgba(255, 77, 79, .3);
}
.sky-viewcart-footer .sky-viewcart-f .nextStep:hover,
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button:not(:disabled):hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
    .product-card:hover { transform: none; }
    .allocation-card .allocation-mian { padding: 20px 14px 4px; border-radius: 12px; }
    .allocation-card .allocation-header { padding: 14px 16px; border-radius: 12px; }
    .allocation-card .allocation-footer { padding: 12px 14px; }
    .allocation-card .btn-buyNow { padding: 0 22px !important; line-height: 40px; }
    .sky-viewcart-body .sky-viewcart-items .sky-viewcart-items-c,
    .sky-viewcart-pay-body .pay-body-content { padding: 16px; border-radius: 12px; }
    .sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button,
    .sky-viewcart-footer .sky-viewcart-f .nextStep { padding: 10px 20px; }
}

/* 提示条 */
.shopping-cart-page .layui-elem-quote,
.sky-viewcart-cart-body .layui-elem-quote {
    border-radius: 10px;
    border-left-width: 4px;
    overflow: hidden;
}

/* 镜像版本下拉：避免被后续卡片遮挡、完整显示 */
.sky-config-form .os-card,
.sky-config-form .os-card.active,
.sky-config-form .os-card:hover { transform: none; position: relative; z-index: 1; }
.sky-config-form .os-card:hover,
.sky-config-form .os-card:focus-within { z-index: 20; }
.sky-config-form .os-card .version-dropdown { position: relative; }
.sky-config-form .os-card .version-dropdown .version-list {
    top: 100%;
    left: -1px;
    width: auto;
    min-width: calc(100% + 2px);
    max-width: 420px;
    max-height: 320px;
    margin-top: 6px;
    padding: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 35, 95, .18);
    z-index: 1000;
}
.sky-config-form .os-card .version-dropdown .version-list li {
    padding: 10px 12px;
    border-top: none;
    border-radius: 8px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    color: #1d2433;
    font-size: 14px;
}
.sky-config-form .os-card .version-dropdown .version-list li:hover { background: #f2f6ff; color: var(--Original); }
.sky-config-form .os-card .version-dropdown .version-list li.active {
    background: var(--cb-grad-btn);
    color: #fff;
}
.sky-config-form .os-card .version-dropdown .dropdown-btn {
    position: relative;
    padding-right: 32px;
}
.sky-config-form .os-card .version-dropdown .dropdown-btn::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 7px; height: 7px;
    margin-top: -6px;
    border-right: 1.5px solid #9aa1ae;
    border-bottom: 1.5px solid #9aa1ae;
    transform: rotate(45deg);
}
.sky-config-form .os-card .version-list::-webkit-scrollbar { width: 6px; }
.sky-config-form .os-card .version-list::-webkit-scrollbar-thumb { background: #d5dbe6; border-radius: 3px; }
.sky-config-form .os-card:has(.version-list[style*="block"]) { z-index: 30; }
/* 下拉改为卡片内展开，避免被滚动容器裁切 */
.sky-config-form .os-container { align-items: start; }
.sky-config-form .os-card .version-dropdown .version-list {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: 260px;
    margin: 0;
    padding: 6px;
    border: none;
    border-top: 1px solid #edf1f7;
    border-radius: 0 0 12px 12px;
    box-shadow: none;
}
.sky-config-form .os-card .version-dropdown .version-list li {
    white-space: normal;
    word-break: break-all;
    line-height: 1.4;
}
.sky-config-form .os-card .version-dropdown .dropdown-btn { white-space: normal; word-break: break-all; line-height: 1.5; }
.sky-config-form .os-card:has(.version-list[style*="block"]) .dropdown-btn::after { transform: rotate(-135deg); margin-top: -2px; }

/* PC：版本列表以浮层形式横向展示（定位由 cart-beautify.js 计算） */
@media (min-width: 769px) {
    .sky-config-form .os-card .version-dropdown .version-list.cb-float {
        position: fixed;
        z-index: 2000;
        max-height: 50vh;
        margin: 0;
        padding: 14px;
        border: 1px solid #e3e8f0;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 48px rgba(15, 35, 95, .2);
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 8px;
    }
    .sky-config-form .os-card .version-dropdown .version-list.cb-float[style*="block"] { display: grid !important; }
    .sky-config-form .os-card .version-dropdown .version-list.cb-float li {
        padding: 10px 14px;
        border: 1px solid #edf1f7;
        border-radius: 10px;
        background: #f8fafd;
        transition: all .15s;
    }
    .sky-config-form .os-card .version-dropdown .version-list.cb-float li:hover {
        border-color: var(--Original);
        background: #f2f6ff;
    }
    .sky-config-form .os-card .version-dropdown .version-list.cb-float li.active { border-color: transparent; }
    .sky-config-form .os-card .version-dropdown .version-list.cb-float li[disabled] { opacity: .5; }
}

/* PC：镜像卡片放宽 */
@media (min-width: 769px) {
    .sky-config-form .os-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        align-items: stretch;
    }
    .sky-config-form .os-card { width: auto !important; min-width: 0; }
    .sky-config-form .os-card .version-dropdown .dropdown-btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 移动端：版本列表以底部弹层展示 */
.cb-sheet-mask {
    position: fixed; inset: 0; z-index: 1999;
    background: rgba(10, 20, 40, .45);
    opacity: 0; visibility: hidden; transition: opacity .2s;
}
.cb-sheet-mask.show { opacity: 1; visibility: visible; }
@media (max-width: 768px) {
    .sky-config-form .os-card .version-dropdown .version-list.cb-sheet {
        position: fixed !important;
        left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
        width: auto !important; max-width: none;
        max-height: 62vh;
        margin: 0;
        padding: 26px 14px calc(16px + env(safe-area-inset-bottom));
        border: none;
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: 0 -10px 40px rgba(15, 35, 95, .25);
        z-index: 2000;
        overflow-y: auto;
        grid-template-columns: 1fr;
        gap: 8px;
        animation: cbSheetUp .22s ease-out;
    }
    .sky-config-form .os-card .version-dropdown .version-list.cb-sheet[style*="block"] { display: grid !important; }
    .sky-config-form .os-card .version-dropdown .version-list.cb-sheet::before {
        content: "";
        position: absolute; top: 10px; left: 50%;
        width: 40px; height: 4px; margin-left: -20px;
        border-radius: 2px; background: #d5dbe6;
    }
    .sky-config-form .os-card .version-dropdown .version-list.cb-sheet li {
        padding: 13px 16px;
        border: 1px solid #edf1f7;
        border-radius: 12px;
        background: #f8fafd;
        font-size: 15px;
    }
    .sky-config-form .os-card .version-dropdown .version-list.cb-sheet li.active { border-color: transparent; }
    .sky-config-form .os-card .version-dropdown .version-list.cb-sheet li[disabled] { opacity: .5; }
}
@keyframes cbSheetUp { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 768px) {
    .sky-config-form .os-card:has(.version-list.cb-sheet[style*="block"]) { z-index: 2001 !important; transform: none !important; }
}

/* PC：版本浮层改为竖向单列 */
@media (min-width: 769px) {
    .sky-config-form .os-card .version-dropdown .version-list.cb-float {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 8px;
    }
    .sky-config-form .os-card .version-dropdown .version-list.cb-float li {
        white-space: nowrap;
        word-break: normal;
    }
}

/* 移动端费用明细：去掉底栏毛玻璃（会让 fixed 弹层被限制在底栏内），改为完整底部弹层 */
.shopping-cart-page.mobileEnd .allocation-card .allocation-footer {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    filter: none !important;
    background: #fff;
}
.shopping-cart-page.mobileEnd.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown {
    top: 0 !important;
    right: 0;
    width: 100%;
    min-width: 0;
    max-height: none;
    margin: 0;
    border-radius: 0;
    background-color: rgba(10, 20, 40, .5);
    z-index: 3000;
    overflow: hidden;
}
.shopping-cart-page.mobileEnd.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .price-breakdown-body {
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    max-height: 75vh;
    max-height: calc(var(--vh, 1vh) * 75);
    padding: 16px 14px calc(20px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 40px rgba(15, 35, 95, .25);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.shopping-cart-page.mobileEnd.type_configureproduct .price-breakdown .ordersummary-table { margin: 10px 0 0; }
.shopping-cart-page.mobileEnd.type_configureproduct .price-breakdown .ordersummary-table th,
.shopping-cart-page.mobileEnd.type_configureproduct .price-breakdown .ordersummary-table td {
    white-space: normal;
    word-break: break-all;
}
.shopping-cart-page.mobileEnd.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .config-details {
    max-width: none;
}
.shopping-cart-page.mobileEnd.type_configureproduct .price-breakdown .ordersummary-table th,
.shopping-cart-page.mobileEnd.type_configureproduct .price-breakdown .ordersummary-table td { padding: 10px 8px; }
.shopping-cart-page.mobileEnd.type_configureproduct .price-breakdown .ordersummary-table .config-name { width: 90px; }
.shopping-cart-page.mobileEnd.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .config-details {
    display: block;
    width: auto;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.shopping-cart-page.mobileEnd.type_configureproduct .price-breakdown .ordersummary-table .config-details img { vertical-align: middle; }
