

.pricing-page { padding-bottom: 64px; }


.pricing-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}
.pricing-aside {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.pc-group {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    overflow: hidden;
}
.pc-group-head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 18px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    transition: background .15s ease;
}
.pc-group-head:hover { background: var(--bg-card-light); }
.pc-group-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-group-name { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.pc-group-desc {
    font-size: 12px; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pc-group-chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform .2s ease; }
.pc-group-head.is-collapsed .pc-group-chev { transform: rotate(-90deg); }
.pc-group-body.is-collapsed { display: none; }


.pc-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 18px;
    border-top: 1px solid var(--line);
    cursor: pointer;
    transition: background .15s ease;
}
.pc-row:hover { background: rgba(79, 124, 255, .05); }
.pc-row.is-on,
.pc-opt.is-on { background: rgba(79, 124, 255, .08); box-shadow: inset 3px 0 0 var(--primary); }

.pc-check { flex-shrink: 0; width: 18px; padding-top: 2px; }
.pc-check input[type="checkbox"],
.pc-check input[type="radio"] {
    -webkit-appearance: none; appearance: none;
    width: 17px; height: 17px; margin: 0;
    background: var(--bg-card-light);
    border: 1.5px solid rgba(255, 255, 255, .28);
    border-radius: 4px;
    cursor: pointer; position: relative; flex-shrink: 0;
    transition: background .12s ease, border-color .12s ease;
}
.pc-check input:hover { border-color: var(--primary); }
.pc-check input:checked { background: var(--primary); border-color: var(--primary); }
.pc-check input:checked::after {
    content: "";
    position: absolute;
    left: 4.5px; top: 1.5px;
    width: 4.5px; height: 8.5px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pc-info-name { font-size: 14.5px; font-weight: 500; color: var(--text-main); }
.pc-info-name a { color: inherit; text-decoration: none; }
.pc-info-name a:hover { color: var(--primary); }
.pc-info-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; }

.pc-price {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14.5px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.pc-badge {
    display: inline-block; font-style: normal; font-size: 11px;
    color: var(--primary); background: rgba(79, 124, 255, .14);
    border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 1px;
}


.pc-row--spec { border-top: 1px solid var(--line); }
.pc-spec-head {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, .02);
}
.pc-spec-name { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--text-main); }
.pc-spec-name a { color: inherit; text-decoration: none; }
.pc-spec-name a:hover { color: var(--primary); }
.pc-spec-hint { flex-shrink: 0; font-size: 12px; color: var(--text-muted); }

.pc-opts { margin-left: 30px; border-left: 2px solid var(--line); }
.pc-opt {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 11px 16px 11px 14px;
    cursor: pointer;
    transition: background .15s ease;
}
.pc-opt:hover { background: rgba(79, 124, 255, .05); }
.pc-opt + .pc-opt { border-top: 1px dashed var(--line); }

.pc-unit-x { color: var(--text-muted); font-weight: 400; }
.pc-unit {
    max-width: 120px;
    padding: 2px 6px;
    font-size: 13px;
    color: var(--text-main);
    background: var(--bg-card-light);
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}


.pc-panel {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}
.pc-panel--total {
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        linear-gradient(120deg, rgba(79, 124, 255, .65), rgba(79, 124, 255, .08)) border-box;
    border: 1px solid transparent;
}
.pc-total-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.pc-total-amount {
    font-size: 32px; font-weight: 800;
    background: linear-gradient(100deg, #fff 20%, var(--primary) 90%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}
.pc-total-amount i { font-style: normal; font-size: 20px; margin-right: 3px; }
.pc-panel-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pc-reset {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 10px 14px; font-size: 13px;
    color: var(--text-secondary); background: none;
    border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
    transition: color .15s, border-color .15s;
}
.pc-reset .icon { width: 14px; height: 14px; }
.pc-reset:hover { color: var(--primary); border-color: var(--primary); }


.pc-list-title {
    font-size: 15px; margin: 0 0 4px;
    padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.pc-selected-list { display: flex; flex-direction: column; }
.pc-sel-row {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
    padding: 9px 0; border-bottom: 1px dashed var(--line);
}
.pc-sel-name { font-size: 13px; color: var(--text-main); }
.pc-sel-meta { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.pc-sel-price { font-size: 13px; color: var(--primary); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc-empty { color: var(--text-muted); text-align: center; padding: 22px 0; font-style: italic; font-size: 13px; }

.pc-notice {
    padding: 13px 16px; font-size: 12.5px; line-height: 1.8;
    color: var(--text-secondary); background: var(--bg-section);
    border: 1px dashed var(--line); border-radius: var(--radius-md);
}


@media (max-width: 980px) {
    .pricing-wrap { grid-template-columns: 1fr; }
    .pricing-aside { position: static; }
}
@media (max-width: 600px) {
    .pc-opts { margin-left: 16px; }
    .pc-row, .pc-opt { padding-left: 14px; padding-right: 14px; }
    .pc-price { flex-wrap: wrap; justify-content: flex-end; }
}

