/* page-product-config 页面样式（由内联 <style> 外置；来源：user/product-config.php） */
    :root {
        --primary-color: var(--sk-brand, #165dff);
        --success-color: #00b42a;
        --warning-color: #ff7d00;
        --danger-color: #f53f3f;
        --text-color: #1d2129;
        --text-secondary: #4e5969;
        --text-muted: #86909c;
        --border-color: #e5e6eb;
        --white: #fff;
    }

    /* 付费周期选项 */
    .cycle-options {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
    }
    .cycle-option {
        background: #f7f8fa;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        padding: 15px;
        cursor: pointer;
        transition: all 0.3s;
        text-align: center;
        flex: 0 1 auto;
        min-width: 108px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cycle-option:hover { border-color: var(--primary-color); }
    .cycle-option.active {
        border-color: var(--primary-color);
        background: rgba(22, 93, 255, 0.06);
    }
    .cycle-name { font-weight: 600; color: var(--text-color); margin-bottom: 8px; font-size: 14px; }
    .cycle-price { font-size: 18px; font-weight: 700; color: var(--primary-color); }
    .cycle-price.free { color: var(--success-color); }
    .cycle-setup { font-size: 11px; color: var(--text-muted); margin-top: 5px; }

    .product-title-card .arco-card-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: wrap;
        min-height: 48px;
        text-align: left;
    }
    .product-title-card .product-title-text {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        font-weight: 700;
        color: var(--text-color);
    }

    /* 配置选项组 */
    .config-option-group {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid #edf2f7;
    }
    .config-option-group:last-child { border-bottom: 0; }
    .config-option-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-color);
        line-height: 1.5;
        margin: 0;
    }
    .config-option-control { min-width: 0; }
    .config-subs {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
    }
    .config-sub {
        background: var(--white);
        border: 1px solid #dce7f5;
        border-radius: 8px;
        padding: 10px 12px;
        cursor: pointer;
        transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex: 0 1 auto;
        width: auto;
        min-width: 88px;
        max-width: 100%;
        min-height: 42px;
        position: relative;
        text-align: center;
    }
    .config-sub:hover {
        border-color: #9cc0ff;
        box-shadow: 0 8px 22px rgba(22, 93, 255, 0.08);
    }
    .config-sub.active {
        border-color: var(--primary-color);
        background: rgba(22, 93, 255, 0.06);
        box-shadow: 0 10px 28px rgba(22, 93, 255, 0.12);
    }
    .config-sub-name {
        flex: 1 1 auto;
        min-width: 0;
        font-weight: 600;
        color: var(--text-color);
        font-size: 14px;
        line-height: 1.55;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        text-align: center;
    }
    .config-sub-price {
        display: none;
    }
    .config-sub.is-disabled,
    .os-type-btn.is-disabled,
    .group-tab.is-disabled {
        opacity: 0.46;
        cursor: not-allowed;
        background: #f7f8fa !important;
        border-color: #e5e6eb !important;
        color: #9ca3af !important;
        box-shadow: none !important;
    }
    .config-sub.is-disabled * { pointer-events: none; }

    /* 滑动条样式 */
    .config-slider {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: nowrap;
        padding: 0;
    }
    .slider-container {
        flex: 1;
        min-width: 240px;
    }
    .config-range {
        width: 100%;
        height: 6px;
        -webkit-appearance: none;
        background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 0%, var(--border-color) 0%, var(--border-color) 100%);
        border-radius: 8px;
        outline: none;
        cursor: pointer;
    }
    .config-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        background: var(--primary-color);
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(22, 93, 255, 0.4);
    }
    .config-range::-moz-range-thumb {
        width: 18px;
        height: 18px;
        background: var(--primary-color);
        border-radius: 50%;
        cursor: pointer;
        border: none;
    }
    .slider-labels {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: var(--text-muted);
        margin-top: 5px;
    }
    .slider-value-box {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 14px;
        background: #fff;
        border: 1px solid #dce7f5;
        border-radius: 8px;
    }
    .slider-input {
        width: 88px;
        padding: 8px 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        font-size: 14px;
        text-align: center;
    }
    .slider-input:focus {
        outline: none;
        border-color: var(--primary-color);
    }
    .slider-unit {
        font-size: 14px;
        color: var(--text-secondary);
    }
    .slider-price {
        display: none;
    }

    /* 下拉菜单样式 */
    .config-dropdown, .config-grouped-dropdown {
        width: 100%;
        max-width: 420px;
        min-height: 42px;
        border-radius: 8px;
    }
    .dropdown-price {
        display: none;
        align-items: center;
        justify-content: center;
        min-width: 88px;
        padding: 0 12px;
        min-height: 42px;
        border-radius: 8px;
        background: #eff6ff;
        border: 1px solid #cfe0ff;
        font-weight: 700;
        color: var(--primary-color);
    }

    /* 分组选择器样式 */
    .grouped-selector {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .group-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .group-tab {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
        background: var(--white);
        font-size: 14px;
        font-weight: 500;
        color: var(--text-color);
    }
    .group-tab:hover {
        border-color: var(--primary-color);
        background: rgba(22, 93, 255, 0.03);
    }
    .group-tab.active {
        border-color: var(--primary-color);
        background: var(--primary-color);
        color: white;
    }
    .group-tab small {
        font-size: 11px;
        opacity: 0.7;
    }
    .group-select-row, .simple-select-row {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .group-select-row select, .simple-select-row select {
        flex: 1;
        max-width: 420px;
        min-width: 240px;
    }

    /* 复选框样式 */
    .config-checkbox {
        padding: 4px 0;
    }
    .checkbox-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        cursor: pointer;
        font-size: 14px;
        padding: 14px 16px;
        background: #fff;
        border: 1px solid #dce7f5;
        border-radius: 8px;
    }
    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--primary-color);
        flex-shrink: 0;
    }
    .checkbox-price {
        display: none;
    }

    /* 单选按钮组样式 */
    .config-radio-group {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
    }
    .config-radio-group .config-sub {
        width: auto;
    }

    /* 操作系统选择器样式 */
    .os-selector {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .os-type-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .os-type-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
        background: var(--white);
    }
    .os-type-btn:hover {
        border-color: var(--primary-color);
        background: rgba(22, 93, 255, 0.03);
    }
    .os-type-btn.active {
        border-color: var(--sk-brand, #165dff) !important;
        background: var(--sk-brand, #165dff) !important;
        color: #fff !important;
        box-shadow: 0 8px 18px rgba(22, 93, 255, 0.24);
        font-weight: 700;
    }
    .os-type-btn img {
        width: 24px;
        height: 24px;
    }
    .os-type-btn.active img {
        filter: brightness(0) invert(1);
    }
    .os-count {
        font-size: 11px;
        color: var(--text-muted);
        margin-left: 2px;
    }
    .os-type-btn.active .os-count {
        color: rgba(255,255,255,0.86) !important;
    }
    .os-type-btn.active span,
    .os-type-btn.active small {
        color: #fff !important;
    }
    .os-version-select {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    .os-version-select select {
        max-width: 420px;
        min-width: 240px;
    }
    .os-price {
        display: none;
        align-items: center;
        justify-content: center;
        min-width: 88px;
        min-height: 42px;
        padding: 0 12px;
        border-radius: 8px;
        background: #eff6ff;
        border: 1px solid #cfe0ff;
        font-weight: 700;
        color: var(--primary-color);
    }

    /* 价格汇总 */
    .price-summary {
        background: #fff;
        padding: 22px;
        border-radius: 12px;
        color: #111827;
        border: 1px solid #e5edf7;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    }
    .price-summary .user-inline-icon { color: var(--sk-brand, #165dff); opacity: 0.72; }
    .summary-row {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 14px;
        color: #4b5563;
    }
    .summary-row > span:last-child {
        font-weight: 700;
        color: #111827;
        white-space: nowrap;
    }
    .summary-row.summary-discount-row,
    .summary-row.summary-discount-row > span:last-child {
        color: #d97706;
    }
    .summary-row.total {
        font-size: 22px;
        font-weight: 700;
        padding-top: 16px;
        border-top: 1px solid #e5edf7;
        margin-top: 16px;
        color: #0f172a;
    }
    .summary-row.total > span:last-child {
        color: var(--sk-brand, #165dff);
    }
    .summary-config-details {
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid #e5edf7;
    }
    .summary-config-title {
        font-size: 13px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 8px;
    }
    .summary-config-list {
        display: flex;
        flex-direction: column;
        gap: 7px;
        max-height: 260px;
        overflow: auto;
        padding-right: 2px;
    }
    .summary-config-empty {
        font-size: 12px;
        color: #9ca3af;
    }
    .summary-config-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: start;
        font-size: 12px;
        color: #4b5563;
        padding: 8px 0;
        border-bottom: 1px dashed #e5edf7;
    }
    .summary-config-item:last-child {
        border-bottom: 0;
    }
    .summary-config-item strong {
        display: block;
        color: #111827;
        font-size: 12px;
        line-height: 1.35;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .summary-config-item em {
        display: block;
        margin-top: 2px;
        font-style: normal;
        color: #86909c;
        line-height: 1.35;
        word-break: break-word;
    }
    .summary-config-item span {
        white-space: nowrap;
        color: var(--sk-brand, #165dff);
        font-weight: 700;
    }
    .action-buttons { display: flex; gap: 12px; margin-top: 15px; }
    .action-buttons .arco-btn { flex: 1; padding: 0 15px; height: 42px; line-height: 42px; }
    .purchase-action-link,
    .purchase-action-cart,
    .purchase-action-buy {
        text-align: center;
    }
    .price-summary .purchase-action-link,
    .price-summary .purchase-action-buy {
        background: var(--sk-brand, #165dff);
        color: #fff;
        border-color: var(--sk-brand, #165dff);
    }
    .price-summary .purchase-action-link:hover,
    .price-summary .purchase-action-buy:hover {
        background: #0f4fd8;
        color: #fff;
    }
    .price-summary .purchase-action-cart {
        background: #eef5ff;
        color: var(--sk-brand, #165dff);
        border-color: #b9d4ff;
    }
    .price-summary .purchase-action-cart:hover {
        background: #dbeafe;
        color: #0f4fd8;
    }
    .mobile-purchase-bar {
        display: none;
    }
    .mobile-purchase-spacer {
        display: none;
    }

    /* 产品描述 */
    .product-description {
        color: var(--text-secondary);
        font-size: 15px;
        line-height: 1.95;
        margin: 0;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .product-description ul, .product-description ol {
        margin: 12px 0;
        padding-left: 22px;
    }
    .product-description li {
        margin: 7px 0;
    }
    .product-description p {
        margin: 10px 0;
    }
    .product-description strong, .product-description b {
        color: var(--text-color);
    }
    .product-description img {
        max-width: 100%;
        height: auto;
    }
    .product-description table {
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
        display: table;
    }
    .product-description button,
    .product-description [role="button"] {
        position: relative;
        z-index: 1;
    }
    .product-description #configModal,
    .product-description .product-desc-modal,
    .product-description [data-product-modal] {
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
    }

    @media (max-width: 768px) {
        .user-arco-main {
            padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px));
        }
        .config-right {
            padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
        }
        .cycle-options {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            gap: 10px;
        }
        .cycle-option {
            min-width: 88px;
            padding: 12px 14px;
        }
        .action-buttons { flex-direction: column; }
        .config-option-group {
            grid-template-columns: 1fr;
            gap: 10px;
            padding: 14px 0;
        }
        .config-subs,
        .config-radio-group {
            flex-direction: row;
            align-items: stretch;
            justify-content: flex-start;
        }
        .config-sub {
            padding: 11px 12px;
            width: auto;
            min-width: 78px;
            flex: 0 1 auto;
        }
        .group-select-row,
        .simple-select-row,
        .os-version-select,
        .config-slider {
            flex-direction: column;
            align-items: stretch;
        }
        .group-select-row select,
        .simple-select-row select,
        .os-version-select select,
        .config-dropdown,
        .config-grouped-dropdown,
        .slider-container {
            max-width: 100%;
            min-width: 0;
        }
        .dropdown-price,
        .os-price,
        .slider-value-box {
            width: 100%;
        }
        .checkbox-label {
            align-items: flex-start;
            flex-wrap: wrap;
        }
        .mobile-purchase-bar {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 120;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
            background: rgba(255, 255, 255, 0.96);
            border-top: 1px solid #e5edf8;
            box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.10);
            backdrop-filter: blur(12px);
        }
        .mobile-purchase-info {
            flex: 1;
            min-width: 0;
        }
        .mobile-purchase-label {
            font-size: 11px;
            color: #64748b;
            line-height: 1.2;
        }
        .mobile-purchase-total {
            margin-top: 2px;
            font-size: 19px;
            line-height: 1.1;
            font-weight: 700;
            color: #0f172a;
            white-space: nowrap;
        }
        .mobile-purchase-cycle {
            margin-top: 2px;
            font-size: 11px;
            color: #4e5969;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .mobile-purchase-detail {
            height: 38px;
            padding: 0 10px;
            border: 1px solid #dbe4f0;
            border-radius: 8px;
            background: #fff;
            color: #334155;
            font-size: 12px;
            flex-shrink: 0;
        }
        .mobile-purchase-actions {
            display: flex;
            gap: 6px;
            flex-shrink: 0;
            justify-content: flex-end;
        }
        .mobile-purchase-actions.is-single {
            min-width: 112px;
        }
        .mobile-purchase-actions .arco-btn {
            margin: 0;
            height: 38px;
            line-height: 38px;
            padding: 0 10px;
            border-radius: 8px;
            font-size: 12px;
            white-space: nowrap;
        }
        .mobile-purchase-actions .purchase-mobile-primary {
            background: var(--sk-brand, #165dff);
            color: #fff;
            border-color: var(--sk-brand, #165dff);
            text-align: center;
        }
        .mobile-purchase-actions .purchase-mobile-primary:hover {
            background: #0e4de0;
            color: #fff;
        }
        .mobile-purchase-actions .purchase-mobile-cart {
            background: #f8fafc;
            color: var(--sk-brand, #165dff);
            border-color: #cfe0ff;
        }
        .mobile-purchase-actions .purchase-mobile-cart:hover {
            background: #edf4ff;
            color: var(--sk-brand, #165dff);
        }
        .mobile-purchase-spacer {
            display: block;
            height: calc(180px + env(safe-area-inset-bottom, 0px));
        }
        #purchase-summary-card {
            display: none;
        }
    }

    /* 左右分栏布局 */
    .product-config-wrapper {
        display: flex;
        gap: 18px;
        align-items: flex-start;
    }
    
    .config-left {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 398px);
    }
    
    .config-right {
        width: 380px;
        flex-shrink: 0;
        position: sticky;
        top: 20px;
    }

    .config-right .price-summary {
        position: relative;
    }

    @media (max-width: 1024px) {
        .product-config-wrapper {
            flex-direction: column;
        }

        .config-right {
            width: 100%;
            position: static;
        }
        .config-left {
            max-width: none;
        }
    }

    .config-price-tooltip {
        position: fixed;
        z-index: 100000;
        display: none;
        max-width: 220px;
        padding: 7px 10px;
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.94);
        color: #fff;
        font-size: 12px;
        line-height: 1.45;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
        pointer-events: none;
        transform: translate(12px, 12px);
        white-space: nowrap;
    }
    .config-price-tooltip strong {
        font-weight: 700;
        color: #bfdbfe;
    }

    /* 上游产品配置样式 */
    .upstream-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .upstream-tab {
        padding: 10px 20px;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
        background: var(--white);
        font-size: 14px;
    }
    .upstream-tab:hover {
        border-color: var(--primary-color);
    }
    .upstream-tab.active {
        border-color: var(--primary-color);
        background: var(--primary-color);
        color: white;
    }
    .upstream-package-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 12px;
    }
    .upstream-package {
        border: 2px solid var(--border-color);
        border-radius: 8px;
        padding: 15px;
        cursor: pointer;
        transition: all 0.3s;
        background: var(--white);
    }
    .upstream-package:hover {
        border-color: var(--primary-color);
    }
    .upstream-package.active {
        border-color: var(--primary-color);
        background: rgba(22, 93, 255, 0.05);
    }
    .upstream-package .pkg-name {
        font-weight: 600;
        font-size: 15px;
        color: var(--text-color);
        margin-bottom: 8px;
    }
    .upstream-package .pkg-desc {
        font-size: 13px;
        color: var(--text-secondary);
        line-height: 1.6;
        white-space: pre-line;
    }
    .upstream-slider {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .upstream-slider .config-range {
        flex: 1;
        max-width: 300px;
    }
    .upstream-slider .slider-value {
        font-weight: 600;
        color: var(--primary-color);
        min-width: 60px;
    }

body.user-arco-body--sidebarless .user-arco-main.config-page {
    min-height: calc(100vh - 64px);
    padding: 30px 32px 48px;
    background:
        radial-gradient(ellipse at 8% 0%, rgba(219, 234, 254, .55), transparent 34%),
        var(--sk-bg, #f7f9fc);
}

body.user-arco-body--sidebarless:has(.config-page) .uc-footer {
    padding: 0 32px 28px;
}

.config-page .user-arco-main__inner {
    width: min(1240px, 100%);
}

.config-product-intro {
    margin: 0 0 22px;
    padding: 4px 0 20px;
    border-bottom: 1px solid #e7ecf3;
}

.config-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #8190a5;
    font-size: 12px;
}

.config-breadcrumb a { color: #53657d; }
.config-breadcrumb a:hover { color: #165dff; }
.config-breadcrumb > span:last-child { color: #8b97a8; }

.config-product-intro__content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.config-product-intro__copy { min-width: 0; }
.config-product-kicker { margin: 0 0 7px; color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.config-product-intro h1 { margin: 0; color: #152238; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.04em; line-height: 1.18; }
.config-product-description { max-width: 760px; margin: 10px 0 0; color: #68788f; font-size: 14px; line-height: 1.75; }

.config-back-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    background: rgba(255,255,255,.8);
    color: #40536e;
    font-size: 13px;
    font-weight: 600;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.config-back-link:hover { border-color: #9bbcff; background: #fff; color: #165dff; }

.config-stock-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.config-stock-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #dce4ef;
    border-radius: 999px;
    background: #fff;
    color: #596a80;
    font-size: 12px;
}
.config-stock-pill.is-sold-out { border-color: #fecaca; background: #fff5f5; color: #c2413a; }
.config-stock-pill.is-low { border-color: #fed7aa; background: #fffaf2; color: #b45309; }
.config-stock-pill.is-available { border-color: #bbf7d0; background: #f3fff7; color: #15803d; }
.config-stock-pill.is-limit { border-color: #c7d8ff; background: #f5f8ff; color: #315ec3; }

.config-page .config-notice,
.config-page .arco-card.user-page-card {
    overflow: hidden;
    border: 1px solid #e4eaf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 38, 68, .035);
}

.config-page .arco-card-header {
    min-height: 52px;
    padding: 15px 20px;
    border-bottom: 1px solid #edf1f6;
    color: #23334a;
    font-size: 14px;
    font-weight: 650;
}
.config-page .arco-card-body { padding: 20px; }
.config-page .product-config-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
    align-items: start;
    gap: 22px;
}
.config-page .config-left { min-width: 0; max-width: none; }
.config-page .config-right { position: sticky; top: 84px; width: auto; min-width: 0; }
.config-page .config-right .price-summary { overflow: hidden; border: 1px solid #dce5f2; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(26, 54, 94, .09); }
.config-page .price-summary .summary-row { padding: 12px 18px; border-bottom: 1px solid #eef2f7; color: #4a5d75; }
.config-page .summary-cycle-selector { padding: 16px 18px 18px; border-bottom: 1px solid #edf1f6; }
.config-page .summary-cycle-title { margin-bottom: 11px; color: #53647b; font-size: 12px; font-weight: 650; }
.config-page .summary-cycle-selector .cycle-options { display: grid; grid-template-columns: repeat(4, 58px); justify-content: start; gap: 8px; }
.config-page .summary-cycle-selector .cycle-option { position: relative; display: flex; width: 58px; min-width: 0; min-height: 50px; align-items: center; justify-content: center; padding: 8px 3px; text-align: center; }
.config-page .summary-cycle-selector .cycle-name { font-size: 12px; }
.config-page .summary-cycle-selector .cycle-option-content { display: flex; min-width: 0; min-height: 0; align-items: center; justify-content: center; }
.config-page .summary-cycle-selector .cycle-saving-badge { top: -8px; right: 5px; z-index: 2; min-height: 16px; padding: 2px 5px; border-color: #bfe7cf; background: #effbf3; font-size: 9px; }
.config-page .summary-upstream-cycles { color: #8290a3; font-size: 12px; }
.config-page .summary-upstream-cycles > .cycle-options { margin: 0; }
.config-page .summary-upstream-cycles > p { margin: 0; padding: 10px 0; }
.config-page .price-summary .summary-row.total { padding: 17px 18px; color: #16243a; font-size: 15px; }
.config-page .price-summary .summary-row.total > span:last-child { color: #145bd7; font-size: 25px; font-weight: 750; }
.config-page .summary-config-details { margin: 0 18px; padding: 14px 0; border-bottom: 1px solid #eef2f7; }
.config-page .summary-promo { margin: 0 18px; padding: 14px 0; border-bottom: 1px solid #eef2f7; }
.config-page .summary-promo > label { display: block; margin-bottom: 8px; color: #53647b; font-size: 12px; font-weight: 650; }
.config-page .summary-promo__controls { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 7px; }
.config-page .summary-promo__controls .arco-input { min-width: 0; height: 36px; border-radius: 9px; }
.config-page .summary-promo__controls .arco-btn { height: 36px; border-radius: 9px; }
.config-page #promo-result { display: none; margin-top: 7px; font-size: 12px; line-height: 1.45; }
.config-page #promo-result:not(:empty) { display: block; }
.config-page .summary-promo__remove { margin-left: 6px; padding: 0; border: 0; background: transparent; color: #b45309; font: inherit; font-size: 11px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.config-page .summary-promo__remove:hover { color: #92400e; }
.config-page .action-buttons { display: grid; grid-template-columns: 1fr; gap: 9px; padding: 16px 18px 18px; }
.config-page .action-buttons .arco-btn { min-height: 44px; border-radius: 10px; font-weight: 650; }
.config-page .purchase-action-cart { border: 1px solid #cbd8ea; background: #fff; color: #214c8d; }
.config-page .purchase-action-buy { border: 1px solid #165dff; background: #165dff; color: #fff; }
.config-page .purchase-action-buy:hover { border-color: #0e4dd1; background: #0e4dd1; }
.config-page .cycle-options { gap: 10px; }
.config-page .cycle-option { position: relative; min-height: 74px; padding: 23px 14px 12px; border: 1px solid #e1e8f1; border-radius: 12px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.config-page .cycle-option:hover { border-color: #9bbcff; }
.config-page .cycle-option.active { border-color: #2769e8; background: #f5f8ff; box-shadow: inset 0 0 0 1px #2769e8; }
.config-page .cycle-option-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 100%; }
.config-page .cycle-name { margin: 0; }
.config-page .cycle-saving-badge { position: absolute; top: 7px; right: 8px; z-index: 1; display: inline-flex; align-items: center; min-height: 20px; margin: 0; padding: 2px 7px; border: 1px solid #bfe7cf; border-radius: 999px; background: #effbf3; color: #16804a; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; }
.config-page .config-option-group { padding: 18px 0; border-bottom-color: #edf1f6; }
.config-page .config-option-title { color: #354860; font-size: 13px; font-weight: 650; }
.config-page .config-right .arco-card { margin-bottom: 0; }
.config-page .mobile-purchase-spacer { display: none; }

@media (max-width: 960px) {
    body.user-arco-body--sidebarless .user-arco-main.config-page { padding: 24px 20px 36px; }
    body.user-arco-body--sidebarless:has(.config-page) .uc-footer { padding: 0 20px 24px; }
    .config-page .product-config-wrapper { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .config-page .config-right { position: static; }
    .config-product-intro__content { align-items: flex-start; }
}

@media (max-width: 768px) {
    .config-page #purchase-summary-card { display: block; }
    .config-page #purchase-summary-card .action-buttons { display: none; }
    .config-page .summary-promo { margin-inline: 15px; }
    .config-page .summary-cycle-selector { padding: 14px 15px 15px; }
    .config-page .summary-cycle-selector .cycle-options { grid-template-columns: repeat(4, 54px); gap: 7px; }
    .config-page .summary-cycle-selector .cycle-option { width: 54px; min-height: 46px; padding-inline: 2px; }
    .config-page .summary-cycle-selector .cycle-saving-badge { right: 3px; font-size: 8px; }
}

@media (max-width: 640px) {
    body.user-arco-body--sidebarless .user-arco-main.config-page { padding: 18px 14px 24px; }
    body.user-arco-body--sidebarless:has(.config-page) .uc-footer { padding: 0 14px 20px; }
    .config-product-intro { margin-bottom: 16px; padding-bottom: 16px; }
    .config-breadcrumb { margin-bottom: 14px; }
    .config-product-intro__content { flex-direction: column; gap: 14px; }
    .config-product-intro h1 { font-size: 25px; }
    .config-product-description { margin-top: 8px; font-size: 13px; }
    .config-back-link { min-height: 36px; padding-inline: 11px; }
    .config-page .arco-card-header { min-height: 48px; padding: 13px 15px; }
    .config-page .arco-card-body { padding: 15px; }
    .config-page .summary-promo { margin-inline: 15px; }
    .config-page .action-buttons { grid-template-columns: 1fr; padding: 14px 15px 16px; }
    .config-page .mobile-purchase-spacer { display: block; height: calc(126px + env(safe-area-inset-bottom)); }
}

@media (max-width: 768px) {
    .mobile-purchase-bar#mobilePurchaseBar {
        position: fixed !important;
        inset-inline: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
    }

    .mobile-purchase-bar#mobilePurchaseBar .mobile-purchase-detail {
        justify-self: end;
    }

    .mobile-purchase-bar#mobilePurchaseBar .mobile-purchase-actions {
        justify-self: end;
        margin-left: 0;
    }
}

@media (min-width: 961px) {
    body.user-arco-body--sidebarless .user-arco-main.config-page {
        padding-right: 0;
        padding-left: 0;
    }

    body.user-arco-body--sidebarless .user-arco-main__inner {
        width: min(1140px, calc(100vw - 40px));
    }
}
