body {
    background: #f5f7fb;
}

#app.vps-buy-page {
    padding: 14px 0 56px;
}

.vps-buy-page .breadcrumb-box {
    margin-bottom: 10px;
}

.vps-buy-page .page-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.vps-buy-page .page-container.has-summary {
    grid-template-columns: minmax(0, 1fr) 350px;
}

.vps-buy-page .page-left {
    width: auto;
    min-width: 0;
}

.vps-buy-page .page-right {
    --summary-sticky-offset: 84px;
    position: relative;
    align-self: stretch;
    right: auto;
    width: auto;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.vps-buy-page .order-summary-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    position: sticky;
    top: var(--summary-sticky-offset);
    max-height: calc(100vh - var(--summary-sticky-offset) - 20px);
}

.vps-buy-page .product-main-box {
    box-sizing: border-box;
    width: 100%;
    padding: 14px 16px;
    margin: 0 0 12px;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    box-shadow: none;
}

.vps-buy-page .product-main-box-title {
    padding-bottom: 8px;
    margin-bottom: 12px;
    color: #132b50;
    font-size: 16px;
    line-height: 22px;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.vps-buy-page .purchase-selector-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.vps-buy-page .purchase-selector-heading .product-main-box-title {
    margin-bottom: 0;
}

.vps-buy-page .region-selection-box {
    padding-top: 20px;
    padding-bottom: 20px;
}

.vps-buy-page .region-selection-box .purchase-selector-heading {
    margin-bottom: 16px;
}

.vps-buy-page .region-selection-box .area-box {
    margin-bottom: 18px;
}

.vps-buy-page .area-search-input {
    flex: 0 1 188px;
}

.vps-buy-page .area-box {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-bottom: 8px;
}

.vps-buy-page .area-box:last-child {
    margin-bottom: 0;
}

.vps-buy-page .area-title,
.vps-buy-page .area-title1,
.vps-buy-page .area-title2 {
    width: auto;
    margin: 8px 0 0;
    color: #51627c;
    font-size: 13px;
    line-height: 20px;
}

.vps-buy-page .product-area,
.vps-buy-page .product-area1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 8px;
    width: 100%;
}

.vps-buy-page .product-area1 {
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.vps-buy-page .location-grid,
.vps-buy-page .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    column-gap: 14px;
    row-gap: 12px;
}

.vps-buy-page .product-area1 .product-area-item3,
.vps-buy-page .product-area-item,
.vps-buy-page .product-area-item1,
.vps-buy-page .product-area-item2,
.vps-buy-page .product-area-item-more,
.vps-buy-page .product-area-item-more1,
.vps-buy-page .product-area-item-collapse,
.vps-buy-page .product-area-item-collapse1 {
    box-sizing: border-box;
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 36px;
    height: 36px;
    padding: 6px 9px;
    border: 1px solid #dbe4f0;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    color: #334864;
    font-size: 13px;
    line-height: 18px;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.vps-buy-page .product-area-item,
.vps-buy-page .product-area-item2,
.vps-buy-page .product-area-item-more,
.vps-buy-page .product-area-item-more1,
.vps-buy-page .product-area-item-collapse,
.vps-buy-page .product-area-item-collapse1 {
    justify-content: center;
}

.vps-buy-page .product-area-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vps-buy-page .product-area-item1,
.vps-buy-page .product-area-item3 {
    justify-content: flex-start;
}

.vps-buy-page .product-area-item:hover,
.vps-buy-page .product-area-item1:hover,
.vps-buy-page .product-area-item2:hover,
.vps-buy-page .product-area-item3:hover {
    border-color: #90b4ee;
    background: #f7faff;
}

.vps-buy-page .product-area-item.active,
.vps-buy-page .product-area-item1.active,
.vps-buy-page .product-area-item2.active,
.vps-buy-page .product-area-item3.active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px #2563eb;
    color: #1d4ed8;
}

.vps-buy-page .product-area-icon {
    display: flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.vps-buy-page .product-area-icon svg,
.vps-buy-page .product-area-icon .icon,
.vps-buy-page .product-area-icon img {
    display: block;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
    border-radius: 50%;
}

.vps-buy-page .product-area-body {
    display: flex;
    min-width: 0;
    align-items: center;
    overflow: hidden;
}

.vps-buy-page .product-area-title,
.vps-buy-page .product-area-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vps-buy-page .product-area-title {
    color: inherit;
    font-size: 13px;
    line-height: 18px;
}

.vps-buy-page .product-area-text {
    color: #75869d;
    font-size: 11px;
    line-height: 16px;
}

.vps-buy-page .product-area-item-more svg,
.vps-buy-page .product-area-item-more1 svg,
.vps-buy-page .product-area-item-collapse svg,
.vps-buy-page .product-area-item-collapse1 svg {
    width: 14px !important;
    height: 14px !important;
    margin-right: 4px !important;
}

.vps-buy-page .nomore {
    min-height: 36px;
    margin: 0 !important;
    padding: 8px 10px;
    border: 1px dashed #d7e0ec;
    border-radius: 6px;
    color: #718198;
    font-size: 13px;
}

.vps-buy-page .item-box {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.vps-buy-page .item-box:last-child {
    margin-bottom: 0;
}

.vps-buy-page .item-title {
    flex: 0 0 76px;
    width: 76px;
    margin: 7px 0 0;
    color: #51627c;
    font-size: 13px;
    line-height: 18px;
}

.vps-buy-page .fixed-value {
    padding: 6px 10px;
    border: 1px solid #b9d0f7;
    border-radius: 5px;
    box-shadow: none;
    color: #1d4ed8;
    font-size: 13px;
    line-height: 18px;
}

.vps-buy-page .el-radio-group {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 6px;
}

.vps-buy-page .el-radio-button {
    margin: 0;
}

.vps-buy-page .el-radio-button__inner {
    min-width: 58px;
    padding: 7px 10px;
    border: 1px solid #dbe4f0 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: #334864;
    font-size: 13px;
}

.vps-buy-page .el-radio-button__orig-radio:checked + .el-radio-button__inner {
    border-color: #2563eb !important;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px #2563eb !important;
    color: #1d4ed8;
}

.vps-buy-page .harddisk-box {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.vps-buy-page .harddisk-box .el-slider {
    width: min(80%, 480px) !important;
}

.vps-buy-page .system-box > .el-select:first-child {
    width: 180px !important;
    margin-right: 10px !important;
}

.vps-buy-page .system-box > .el-select:last-child {
    width: min(100%, 360px) !important;
}

.vps-buy-page .note-textarea {
    width: min(100%, 600px);
}

.vps-buy-page .note-textarea .el-textarea__inner {
    min-height: 58px !important;
    padding: 8px 10px;
    line-height: 18px;
    resize: vertical;
}

.vps-buy-page .order-summary-hero {
    padding: 20px;
    border-radius: 8px;
    background: #132f5c;
    box-shadow: 0 12px 28px rgba(19, 47, 92, 0.18);
    color: #fff;
}

.vps-buy-page .summary-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d7e4f7;
    font-size: 13px;
    line-height: 18px;
}

.vps-buy-page .summary-kicker span:last-child {
    color: #9ec5ff;
    font-size: 12px;
}

.vps-buy-page .summary-total {
    display: flex;
    align-items: baseline;
    margin-top: 8px;
    color: #fff;
    line-height: 1;
}

.vps-buy-page .summary-total > span {
    margin-right: 3px;
    font-size: 22px;
    font-weight: 600;
}

.vps-buy-page .summary-total strong {
    font-size: 38px;
    font-weight: 650;
}

.vps-buy-page .summary-total em {
    margin-left: 7px;
    color: #c4d8f2;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
}

.vps-buy-page .summary-subtitle {
    margin-top: 7px;
    color: #cedcf0;
    font-size: 13px;
    line-height: 18px;
}

.vps-buy-page .order-summary-hero .page-right-tips {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(210, 226, 247, 0.22);
    color: #bdd0e9;
    font-size: 12px;
    line-height: 18px;
}

.vps-buy-page .order-summary-hero .buy-btn,
.vps-buy-page .order-summary-hero .buy-btn1 {
    height: 44px;
    margin-top: 14px;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 600;
}

.vps-buy-page .order-summary-hero .buy-btn {
    border-color: #17a98c !important;
    background: #17a98c !important;
}

.vps-buy-page .order-summary-hero .buy-btn:hover,
.vps-buy-page .order-summary-hero .buy-btn:focus {
    border-color: #118b73 !important;
    background: #118b73 !important;
    opacity: 1;
}

.vps-buy-page .order-summary-hero .buy-btn1 {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #d7e4f7 !important;
}

.vps-buy-page .summary-details {
    min-height: 0;
    padding: 0 16px 6px;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 39, 77, 0.07);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #c6d2e1 transparent;
    scrollbar-width: thin;
}

.vps-buy-page .summary-details::-webkit-scrollbar {
    width: 5px;
}

.vps-buy-page .summary-details::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #c6d2e1;
}

.vps-buy-page .summary-details::-webkit-scrollbar-track {
    background: transparent;
}

.vps-buy-page .summary-details-heading {
    padding: 14px 0 10px;
    border-bottom: 1px solid #dce5f0;
    color: #19345e;
    font-size: 14px;
    font-weight: 650;
    line-height: 20px;
}

.vps-buy-page .page-right-item {
    display: grid;
    grid-template-columns: minmax(72px, 0.85fr) minmax(0, 1.65fr);
    gap: 10px;
    min-height: 38px;
    padding: 8px 0;
    border-bottom: 1px solid #edf1f6;
}

.vps-buy-page .page-right-item:last-child {
    border-bottom: 0;
}

.vps-buy-page .page-right-item div:first-child {
    width: auto;
    color: #65758c;
    font-size: 13px;
    line-height: 20px;
}

.vps-buy-page .page-right-item div:last-child {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    overflow-wrap: anywhere;
    color: #263852;
    font-size: 13px;
    line-height: 20px;
    text-align: right;
}

.vps-buy-page .page-right-item div:last-child span {
    flex: 0 0 auto;
    color: #17a98c;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .vps-buy-page .page-container.has-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .vps-buy-page .page-right {
        position: static;
        align-self: auto;
        height: auto;
        margin-top: 0;
    }

    .vps-buy-page .order-summary-panel {
        display: block;
        position: static;
        max-height: none;
    }

    .vps-buy-page .summary-details {
        margin-top: 12px;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    #app.vps-buy-page {
        padding: 10px 0 36px;
    }

    .vps-buy-page .breadcrumb-box {
        padding: 0 14px;
    }

    .vps-buy-page .page-container {
        gap: 12px;
    }

    .vps-buy-page .product-main-box {
        padding: 14px;
        border-radius: 6px;
    }

    .vps-buy-page .order-summary-hero,
    .vps-buy-page .summary-details {
        border-radius: 6px;
    }

    .vps-buy-page .order-summary-hero {
        padding: 18px;
    }

    .vps-buy-page .summary-total strong {
        font-size: 34px;
    }

    .vps-buy-page .summary-details {
        padding: 0 14px 4px;
    }

    .vps-buy-page .purchase-selector-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .vps-buy-page .area-search-input {
        flex-basis: auto;
        width: 100%;
    }

    .vps-buy-page .area-box {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-bottom: 14px;
    }

    .vps-buy-page .area-title,
    .vps-buy-page .area-title1,
    .vps-buy-page .area-title2 {
        margin-top: 0;
    }

    .vps-buy-page .product-area,
    .vps-buy-page .product-area1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .vps-buy-page .location-grid,
    .vps-buy-page .category-grid {
        column-gap: 7px;
        row-gap: 7px;
    }

    .vps-buy-page .product-area-item,
    .vps-buy-page .product-area-item1,
    .vps-buy-page .product-area-item2,
    .vps-buy-page .product-area-item3,
    .vps-buy-page .product-area-item-more,
    .vps-buy-page .product-area-item-more1,
    .vps-buy-page .product-area-item-collapse,
    .vps-buy-page .product-area-item-collapse1 {
        min-height: 38px;
        height: auto;
    }

    .vps-buy-page .product-area-text {
        display: none;
    }

    .vps-buy-page .item-box {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
    }

    .vps-buy-page .item-title {
        flex-basis: 100%;
        width: 100%;
        margin-top: 0;
    }

    .vps-buy-page .el-radio-group,
    .vps-buy-page .system-box,
    .vps-buy-page .harddisk-box {
        width: 100%;
    }

    .vps-buy-page .system-box > .el-select:first-child,
    .vps-buy-page .system-box > .el-select:last-child {
        width: 100% !important;
        margin: 0 0 8px !important;
    }

    .vps-buy-page .harddisk-box .el-slider {
        width: calc(100% - 42px) !important;
    }
}
