#pc-configurator {
    width: 100%;
}

.pc-configurator-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 20px 16px 48px;
    color: #111827;
}

.pc-configurator-topbar {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
}

.pc-configurator-eyebrow,
.pc-summary-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #667085;
}

.pc-configurator-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 700;
    color: #0f172a;
}

.pc-configurator-subtitle {
    margin: 10px 0 0;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.65;
    color: #667085;
}

.pc-progress-wrap {
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.05);
    backdrop-filter: blur(12px);
}

.pc-progress-track {
    height: 10px;
    border-radius: 999px;
    background: #eef2f7;
    overflow: hidden;
}

.pc-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #111827 0%, #475467 100%);
    transition: width 0.35s ease;
}

.pc-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 14px;
    color: #667085;
}

.pc-configurator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.pc-configurator-main {
    min-width: 0;
}

.pc-configurator-sidebar {
    min-width: 0;
}

.pc-step-card {
    margin-bottom: 20px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(17,24,39,0.09);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 16px 38px rgba(15,23,42,0.05);
    backdrop-filter: blur(14px);
}

.pc-step-panel {
    scroll-margin-top: 20px;
}

.pc-step-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.pc-step-number {
    flex: 0 0 auto;
    min-width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pc-step-head-text h3 {
    margin: 0;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.pc-step-head-text p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: #667085;
}

.pc-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pc-card-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pc-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17,24,39,0.12);
    border-radius: 24px;
    padding: 56px 18px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 10px 24px rgba(15,23,42,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    cursor: pointer;
    text-align: left;
}

.pc-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(17,24,39,0) 0%, rgba(17,24,39,0.18) 50%, rgba(17,24,39,0) 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.pc-card:hover {
    border-color: rgba(17,24,39,0.16);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15,23,42,0.09);
}

.pc-card:hover::after {
    opacity: 1;
}

.pc-card.active {
    border: 1.5px solid #111827;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
    box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}

.pc-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 18px;
    background: #f8fafc;
    padding: 14px;
    margin-bottom: 16px;
}

.pc-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.pc-card p {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.55;
    color: #667085;
}

.pc-card p strong {
    color: #344054;
    font-weight: 600;
}

.pc-choice-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    font-size: 24px;
    margin-bottom: 16px;
}

.pc-price {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
}

.pc-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: calc(100% - 60px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-badge-recommended {
    background: #edf7f0;
    color: #3d6b52;
    border: 1px solid #d8eadf;
    box-shadow: 0 4px 12px rgba(61,107,82,0.06);
}

.pc-card-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.pc-card.active .pc-card-check {
    opacity: 1;
    transform: scale(1);
}

.pc-note {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #fcfcfd 0%, #f8fafc 100%);
    color: #475467;
    font-size: 14px;
    line-height: 1.55;
}

.pc-summary {
    position: sticky;
    top: 14px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(17,24,39,0.09);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.07);
    backdrop-filter: blur(18px);
}

.pc-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.pc-summary-header h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.pc-summary-total-mini {
    text-align: right;
    display: none;
}

.pc-summary-total-mini span {
    display: block;
    font-size: 12px;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.pc-summary-total-mini strong {
    font-size: 18px;
    color: #111827;
}

.pc-build-name-block {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.pc-build-name-label {
    font-weight: 600;
    color: #344054;
    font-size: 14px;
}

.pc-build-name-input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 16px;
    padding: 13px 14px;
    font: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-build-name-input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17,24,39,0.06);
}

.pc-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

.pc-summary-row:last-child {
    border-bottom: none;
}

.pc-summary-label {
    font-weight: 600;
    color: #344054;
    flex: 0 0 98px;
    font-size: 14px;
}

.pc-summary-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 0;
}

.pc-summary-value {
    text-align: right;
    color: #111827;
    max-width: 220px;
    word-break: break-word;
    font-size: 14px;
    line-height: 1.45;
}

.pc-summary-price {
    font-size: 13px;
    color: #667085;
    text-align: right;
}

.pc-summary-total {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.pc-summary-total-label {
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.pc-summary-total-value {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.03em;
    color: #111827;
}

.pc-summary-actions {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.pc-button {
    border: none;
    border-radius: 18px;
    padding: 15px 18px;
    font-weight: 700;
    font-size: 15px;
    background: #111827;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(15,23,42,0.15);
}

.pc-button:hover {
    opacity: 0.96;
    transform: translateY(-1px);
}

.pc-button-secondary {
    background: #f5f7fa;
    color: #111827;
    border: 1px solid #d8dee8;
    box-shadow: none;
}

.pc-cart-status {
    min-height: 22px;
    font-size: 13px;
    line-height: 1.45;
}

.pc-cart-status.is-success {
    color: #18794e;
}

.pc-cart-status.is-error {
    color: #b42318;
}

.pc-cart-status.is-loading {
    color: #667085;
}

.pc-card-skeleton {
    pointer-events: none;
    cursor: default;
}

.pc-skeleton {
    position: relative;
    overflow: hidden;
    background: #eef2f6;
    border-radius: 14px;
}

.pc-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
    animation: pcShimmer 1.35s infinite;
}

.pc-skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 16px;
    border-radius: 18px;
}

.pc-skeleton-title {
    height: 22px;
    width: 72%;
    margin-bottom: 12px;
}

.pc-skeleton-line {
    height: 14px;
    width: 100%;
    margin-bottom: 10px;
}

.pc-skeleton-line.short {
    width: 68%;
}

.pc-skeleton-price {
    height: 18px;
    width: 34%;
    margin-top: 16px;
}

@keyframes pcShimmer {
    100% {
        transform: translateX(100%);
    }
}

.pc-mobile-summary-bar,
.pc-mobile-summary-overlay,
.pc-mobile-summary-drawer {
    display: none;
}

@media (min-width: 640px) {
    .pc-configurator-shell {
        padding: 24px 20px 56px;
    }

    .pc-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-card-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 981px) {
    .pc-configurator-layout {
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 24px;
    }

    .pc-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-card-grid-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-summary-total-mini {
        display: block;
    }
}

@media (min-width: 1200px) {
    .pc-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pc-mobile-summary-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.pc-mobile-summary-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.pc-mobile-summary-label {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}

.pc-mobile-summary-hint {
    font-size: 12px;
    line-height: 1.2;
    color: #667085;
}

.pc-mobile-summary-total {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #111827;
}

.pc-mobile-summary-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #f5f7fa;
    color: #344054;
    font-size: 14px;
    line-height: 1;
    transition: transform 0.22s ease, background 0.22s ease;
    transform: rotate(180deg);
}

.pc-mobile-summary-chevron.is-open {
    transform: rotate(0deg);
    background: #eef2f6;
}

@media (max-width: 980px) {
    body.pc-mobile-drawer-open {
        overflow: hidden;
    }

    .pc-configurator-shell {
        padding-bottom: 96px;
    }

    .pc-configurator-sidebar {
        display: none;
    }

    .pc-step-card {
        background: #ffffff;
        border: 1px solid rgba(17,24,39,0.10);
        box-shadow: 0 12px 28px rgba(15,23,42,0.06);
    }

    .pc-mobile-summary-bar {
        display: block;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 60;
    }

    .pc-mobile-summary-toggle {
        width: 100%;
        border: 1px solid rgba(17,24,39,0.08);
        border-radius: 22px;
        padding: 16px 18px;
        background: rgba(255,255,255,0.94);
        backdrop-filter: blur(18px);
        box-shadow: 0 20px 40px rgba(15,23,42,0.18);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        font: inherit;
        color: #111827;
    }

    .pc-mobile-summary-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 70;
    }

    .pc-mobile-summary-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .pc-mobile-summary-drawer {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        max-height: 88vh;
        background: #fff;
        border-radius: 28px 28px 0 0;
        box-shadow: 0 -10px 30px rgba(15,23,42,0.14);
        transform: translateY(100%);
        transition: transform 0.28s ease;
        overflow: hidden;
    }

    .pc-mobile-summary-drawer.is-open {
        transform: translateY(0);
    }

    .pc-mobile-summary-drawer-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 18px 12px;
        border-bottom: 1px solid #eef2f6;
    }

    .pc-mobile-summary-drawer-head h3 {
        margin: 0;
        font-size: 24px;
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .pc-mobile-summary-close {
        border: none;
        background: #f5f7fa;
        color: #111827;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .pc-mobile-summary-drawer-body {
        overflow-y: auto;
        max-height: calc(88vh - 72px);
        padding: 14px 18px 26px;
    }

    .pc-mobile-summary-drawer .pc-summary-row,
    .pc-mobile-summary-drawer .pc-summary-total,
    .pc-mobile-summary-drawer .pc-build-name-block,
    .pc-mobile-summary-drawer .pc-summary-actions,
    .pc-mobile-summary-drawer .pc-cart-status {
        display: flex;
    }

    .pc-mobile-summary-drawer .pc-build-name-block {
        display: grid;
    }

    .pc-mobile-summary-drawer .pc-summary-item {
        display: flex;
    }

    .pc-mobile-summary-drawer .pc-summary-actions {
        display: grid;
    }
}

@media (max-width: 639px) {
    .pc-configurator-title {
        font-size: 34px;
    }

    .pc-step-card {
        padding: 16px;
        border-radius: 24px;
    }

    .pc-step-head {
        gap: 12px;
    }

    .pc-step-number {
        min-width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .pc-card {
        border-radius: 20px;
        padding: 52px 16px 16px;
        border: 1px solid rgba(17,24,39,0.14);
        box-shadow: 0 14px 30px rgba(15,23,42,0.09);
    }

    .pc-card h4 {
        font-size: 17px;
    }

    .pc-card img {
        border-radius: 16px;
    }

    .pc-choice-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 22px;
    }

    .pc-badge {
        top: 12px;
        left: 12px;
        max-width: calc(100% - 56px);
        font-size: 10px;
        padding: 7px 9px;
    }

    .pc-card-check {
        top: 12px;
        right: 12px;
        width: 26px;
        height: 26px;
    }
}

@media (min-width: 381px) and (max-width: 639px) {
    .pc-card-grid,
    .pc-card-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pc-card {
        padding: 48px 12px 14px;
    }

    .pc-card h4 {
        font-size: 15px;
        line-height: 1.2;
    }

    .pc-card p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 4px;
    }

    .pc-price {
        font-size: 15px;
        margin-top