/* Sandbox Computers - BUILD YOUR OWN PC (6 Oct 2026). Dark text on light surfaces only; light text only on the navy summary heading. */
body.sbx-pk-page .pg-wrap { max-width: 1240px; }
body.sbx-pk-page .pg-card { background: transparent; border: 0; box-shadow: none; padding: 0; }
.sbx-pk { color: #12202e; font-size: 16px; }
.pk-loading { padding: 40px; text-align: center; color: #3d4b58; }
.pk-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.pk-steps { display: flex; flex-direction: column; gap: 10px; }
.pk-step { background: #fff; border: 1px solid #dde4ec; border-radius: 12px; box-shadow: 0 1px 2px rgba(10,19,32,.06); }
.pk-step.is-open { border-color: #0f6cc4; }
.pk-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: transparent; border: 0; cursor: pointer; text-align: left; color: #12202e; font: inherit; }
.pk-num { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #0a1320; color: #fff; display: grid; place-items: center; font-weight: 800; }
.pk-step.is-done .pk-num { background: #1f7a4d; }
.pk-title { flex: 0 0 auto; font-weight: 800; font-size: 18px; min-width: 150px; }
.pk-title i { font-weight: 500; font-style: normal; color: #55636f; font-size: 14px; }
.pk-pick { flex: 1; min-width: 0; color: #3d4b58; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-pick b { color: #12202e; margin-left: 6px; }
.pk-body { padding: 4px 16px 16px; }
.pk-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.pk-q { flex: 1 1 220px; min-height: 44px; padding: 0 14px; border: 1px solid #c3cfdb; border-radius: 8px; font-size: 16px; background: #fff; color: #12202e; }
.pk-sort { min-height: 44px; padding: 0 10px; border: 1px solid #c3cfdb; border-radius: 8px; background: #fff; color: #12202e; font-size: 15px; }
.pk-clear { min-height: 44px; padding: 0 14px; border: 1px solid #c3cfdb; border-radius: 8px; background: #fff; color: #12202e; cursor: pointer; font-size: 15px; }
.pk-skip { color: #55636f; font-size: 14px; }
.pk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; background: #fff; border: 2px solid #dde4ec; border-radius: 10px; cursor: pointer; text-align: left; color: #12202e; font: inherit; }
.pk-item:hover { border-color: #8fb8e2; }
.pk-item.is-on { border-color: #0f6cc4; background: #eaf3fd; }
.pk-item.is-off { background: #f4f6f9; color: #55636f; cursor: not-allowed; }
.pk-item.is-off:hover { border-color: #dde4ec; }
.pk-item img, .pk-noimg { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; border-radius: 6px; background: #fff; }
.pk-item.is-off img { opacity: .5; }
.pk-itxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pk-itxt b { font-size: 15px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.pk-itxt span { font-size: 13.5px; color: #3d4b58; }
.pk-item.is-off .pk-itxt span { color: #55636f; }
.pk-itxt .pk-why { color: #8a1c13; font-weight: 700; }
.pk-price { flex: 0 0 auto; font-weight: 800; font-size: 17px; white-space: nowrap; }
.pk-more { margin: 12px 0 0; min-height: 44px; padding: 0 18px; border: 1px solid #c3cfdb; border-radius: 8px; background: #fff; color: #12202e; font-weight: 700; cursor: pointer; }
.pk-none { padding: 14px; background: #f4f6f9; border-radius: 8px; color: #12202e; }

.pk-sum { position: sticky; top: 14px; background: #fff; border: 1px solid #dde4ec; border-radius: 14px; box-shadow: 0 8px 24px rgba(10,19,32,.10); padding: 0 0 16px; overflow: hidden; }
.pk-sum h2 { margin: 0; padding: 14px 18px; background: #0a1320; color: #fff !important; font-size: 20px !important; line-height: 1.2; }
.pk-sum > *:not(h2) { margin-left: 18px; margin-right: 18px; }
.pk-empty { margin-top: 14px; color: #3d4b58; }
.pk-rows { list-style: none; padding: 0; margin-top: 10px; margin-bottom: 0; }
.pk-rows li { display: grid; grid-template-columns: 1fr auto 28px; gap: 8px; align-items: start; padding: 8px 0; border-bottom: 1px solid #eef1f5; font-size: 14px; }
.pk-rows li > span:first-child b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #55636f; }
.pk-sp { font-weight: 800; white-space: nowrap; }
.pk-x { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #eef1f5; color: #12202e; cursor: pointer; font-size: 18px; line-height: 1; }
.pk-meter { margin-top: 12px; padding: 12px; border-radius: 10px; background: #f4f6f9; color: #12202e; }
.pk-mtop { display: flex; justify-content: space-between; font-size: 14px; }
.pk-bar { height: 10px; border-radius: 999px; background: #dde4ec; margin: 8px 0; overflow: hidden; }
.pk-bar i { display: block; height: 100%; background: #1f7a4d; }
.pk-tight .pk-bar i { background: #b26a00; } .pk-bad .pk-bar i { background: #b42318; }
.pk-meter p { margin: 0; font-size: 14px; }
.pk-probs { list-style: none; padding: 0; margin-top: 12px; margin-bottom: 0; display: grid; gap: 6px; }
.pk-probs li.pk-bad button { width: 100%; text-align: left; padding: 9px 12px; background: #fdecea; border: 1px solid #f1b5ae; border-radius: 8px; color: #8a1c13; font: inherit; font-size: 14px; cursor: pointer; }
.pk-todo { padding: 9px 12px; background: #eef6ff; border-radius: 8px; font-size: 14px; color: #12202e; }
.pk-tot { margin-top: 12px; font-size: 15px; }
.pk-tot > div { display: flex; justify-content: space-between; padding: 3px 0; }
.pk-grand { font-size: 22px; font-weight: 800; border-top: 2px solid #12202e; margin-top: 4px; padding-top: 8px !important; }
.pk-build { margin-top: 12px; padding: 12px; border-left: 4px solid #0f6cc4; background: #eef6ff; border-radius: 8px; color: #12202e; }
.pk-build p { margin: 4px 0 0; font-size: 14px; }
.pk-err { margin-top: 10px; padding: 10px 12px; background: #fdecea; color: #8a1c13; border-radius: 8px; font-size: 14px; }
.pk-add { width: calc(100% - 36px); justify-content: center; min-height: 54px; margin-top: 14px; font-size: 18px; }
.pk-add[disabled] { background: #5b6b7b !important; color: #fff !important; cursor: not-allowed; }
.pk-help { margin-top: 12px; font-size: 13.5px; color: #3d4b58; }
.pk-help a { color: #0b4f94; }

@media (max-width: 960px) {
  .pk-wrap { grid-template-columns: 1fr; }
  .pk-sum { position: static; order: -1; }
  .pk-title { min-width: 0; }
  .pk-head { flex-wrap: wrap; }
  .pk-pick { flex: 1 1 100%; white-space: normal; padding-left: 44px; }
}
@media (max-width: 520px) {
  .pk-item { flex-wrap: wrap; }
  .pk-price { margin-left: 68px; }
  .pk-body { padding: 4px 10px 14px; }
}

.pk-note { margin-top: 12px; margin-bottom: 0; padding: 10px 12px; background: #f4f6f9; border-radius: 8px; font-size: 13.5px; color: #12202e; }

html body.sbx-rd .sbx-pk .pk-sum h2 { color: #fff !important; background: #0a1320; }
html body.sbx-rd .sbx-pk .pk-title, html body.sbx-rd .sbx-pk .pk-itxt b { color: #12202e !important; }

/* phones: the part's name gets the full row beside its picture, the price goes underneath (never a thin strip of letters) */
.pk-itxt { min-width: 160px; }
@media (max-width: 640px) {
  .pk-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
  .pk-item img, .pk-item .pk-noimg { grid-row: 1 / span 2; }
  .pk-itxt { min-width: 0; }
  .pk-price { margin-left: 0; grid-column: 2; }
}

/* reserve the room the picker will fill, so the footer does not jump when the parts appear (a layout-shift fault) */
.sbx-pk { min-height: 1500px; }
@media (max-width: 960px) { .sbx-pk { min-height: 900px; } }

/* show fewer + the note about parts hidden because they do not fit */
.pk-more + .pk-more, .pk-less { margin-left: 8px; }
.pk-hidden { margin: 12px 0 0; padding: 10px 12px; background: #eef3f8; border-left: 4px solid #0f6cc4; border-radius: 6px; color: #12202e; font-size: 15px; line-height: 1.45; }
.pk-link { background: none; border: 0; padding: 0; color: #0b5cad; font-weight: 700; text-decoration: underline; cursor: pointer; font-size: inherit; }

.pk-os { display: block; margin: 12px 0 0; padding: 10px 12px; background: #eef3f8; border-radius: 8px; color: #12202e; font-weight: 700; line-height: 1.4; cursor: pointer; }
.pk-os input { margin-right: 8px; transform: scale(1.2); }
.pk-os small { display: block; margin-top: 4px; font-weight: 400; color: #3a4a5c; }

.pk-win { margin: 12px 0 0; padding: 10px 12px; border: 1px solid #c3cfdb; border-radius: 8px; background: #fff; color: #12202e; }
.pk-win legend { padding: 0 6px; font-weight: 700; }
.pk-win label { display: block; margin: 6px 0; line-height: 1.4; cursor: pointer; }
.pk-win input { margin-right: 8px; transform: scale(1.2); }

.pk-qty { margin: 0 0 12px; padding: 10px 12px; background: #eef3f8; border-radius: 8px; color: #12202e; line-height: 1.5; }
.pk-qty select { min-height: 40px; margin: 0 8px 0 4px; padding: 0 8px; border: 1px solid #c3cfdb; border-radius: 6px; background: #fff; font-size: 16px; }
.pk-qnote { display: inline-block; font-size: 15px; color: #3a4a5c; }

/* the totals: a name that can wrap, the price kept on the right */
.pk-tot > div { gap: 14px; align-items: flex-start; }
.pk-tot > div > span:first-child { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.pk-tot > div > span:last-child { flex: 0 0 auto; white-space: nowrap; font-weight: 700; }
.pk-feerow small { display: block; margin-top: 2px; font-size: 13px; color: #3a4a5c; font-weight: 400; line-height: 1.35; }
.pk-rowqty { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; }
.pk-rowqty select { min-height: 34px; margin-left: 6px; padding: 0 6px; border: 1px solid #c3cfdb; border-radius: 6px; background: #fff; font-size: 15px; }

.pk-group { margin: 26px 0 10px; font-size: 22px; font-weight: 800; color: #12202e; }
.pk-group i { font-weight: 400; font-size: 16px; color: #3a4a5c; }
.pk-loading { margin: 14px 0; color: #3a4a5c; font-style: italic; }
.pk-hint { margin: 10px 0 0; color: #3a4a5c; font-size: 15px; line-height: 1.45; }

/* saved builds */
.pk-banner { margin: 0 0 14px; padding: 12px 14px; background: #fff7e0; border-left: 5px solid #c98a00; border-radius: 6px; color: #3d2c00; font-size: 16px; line-height: 1.5; }
.pk-save { margin: 14px 0 0; padding: 12px; background: #eef3f8; border-radius: 8px; color: #12202e; }
.pk-saved { margin: 0 0 10px; padding: 10px; background: #e6f4ec; border-left: 4px solid #1f7a4d; border-radius: 6px; line-height: 1.5; }
.pk-em { display: block; font-weight: 700; font-size: 15px; }
.pk-em input { display: block; width: 100%; box-sizing: border-box; min-height: 44px; margin: 4px 0 10px; padding: 0 10px; border: 1px solid #c3cfdb; border-radius: 6px; font-size: 16px; font-weight: 400; }
.pk-savebtn { width: 100%; background: #0f6cc4; color: #fff; }
.pk-fine { margin: 8px 0 0; font-size: 13px; color: #3a4a5c; line-height: 1.4; }

/* the Info panel */
.pk-list li { position: relative; }
.pk-info { position: absolute; right: 12px; bottom: 10px; min-height: 34px; padding: 0 14px; border: 1px solid #0b5cad; border-radius: 6px; background: #fff; color: #0b5cad; font-weight: 700; font-size: 14px; cursor: pointer; }
.pk-info:hover, .pk-info:focus-visible { background: #0b5cad; color: #fff; }
.pk-list li .pk-item { padding-bottom: 50px; }
.pk-nm { display: inline; padding: 0; border: 0; background: none; color: #0b5cad; font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.pk-modalwrap { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pk-modalwrap[hidden] { display: none; }
.pk-overlay { position: absolute; inset: 0; background: rgba(5, 9, 15, .72); }
.pk-modal { position: relative; width: 100%; max-width: 920px; max-height: 92vh; overflow: auto; background: #fff; color: #12202e; border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.5); outline: none; }
.pk-mx { position: absolute; top: 8px; right: 10px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eef3f8; color: #12202e; font-size: 28px; line-height: 1; cursor: pointer; }
.pk-mbody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; padding: 28px 28px 8px; }
.pk-mimg img { display: block; width: 100%; max-height: 360px; object-fit: contain; background: #fff; border-radius: 8px; }
.pk-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pk-th { width: 56px; height: 56px; padding: 2px; border: 2px solid #c3cfdb; border-radius: 6px; background: #fff; cursor: pointer; }
.pk-th.is-on { border-color: #0b5cad; }
.pk-th img { width: 100%; height: 100%; object-fit: contain; }
.pk-mcat { margin: 0 0 4px; color: #3a4a5c; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pk-modal h2 { margin: 0 44px 8px 0; font-size: 22px; line-height: 1.25; color: #12202e; }
.pk-mprice { margin: 0 0 8px; font-size: 20px; }
.pk-mprice .pk-ok { color: #1f7a4d; font-size: 15px; font-weight: 700; margin-left: 8px; }
.pk-mprice .pk-no { color: #b42318; font-size: 15px; font-weight: 700; margin-left: 8px; }
.pk-code { display: block; margin-top: 2px; font-size: 14px; color: #3a4a5c; }
.pk-glance { margin: 0 0 10px; padding: 8px 10px; background: #eef3f8; border-radius: 6px; font-size: 15px; }
.pk-mwhy { margin: 0 0 10px; padding: 8px 10px; background: #fff7e0; border-left: 4px solid #c98a00; border-radius: 6px; font-size: 15px; }
.pk-spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.pk-spec th, .pk-spec td { padding: 6px 8px; border-bottom: 1px solid #e3eaf1; text-align: left; vertical-align: top; color: #12202e; }
.pk-spec th { width: 36%; font-weight: 700; background: #f5f8fb; }
.pk-sum2 { font-size: 15px; line-height: 1.5; }
.pk-mact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 28px 22px; }
.pk-mfull { color: #0b5cad; font-weight: 700; margin-left: auto; }
.pk-mclose { min-height: 44px; padding: 0 18px; border: 1px solid #c3cfdb; border-radius: 8px; background: #fff; color: #12202e; font-weight: 700; cursor: pointer; }
body.pk-noscroll { overflow: hidden; }
@media (max-width: 700px) {
  .pk-modalwrap { padding: 0; align-items: flex-end; }
  .pk-modal { max-height: 94vh; border-radius: 16px 16px 0 0; }
  .pk-mbody { grid-template-columns: 1fr; gap: 14px; padding: 20px 16px 4px; }
  .pk-mact { padding: 12px 16px 20px; } .pk-mfull { margin-left: 0; width: 100%; }
}
@media (max-width: 700px) { .pk-mact { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #e3eaf1; box-shadow: 0 -6px 12px rgba(0,0,0,.08); } .pk-mpick { flex: 1 1 100%; } }

/* Recommended for your build */
.pk-item.is-rec { border-color: #1f7a4d; background: #f1faf5; box-shadow: 0 0 0 2px rgba(31,122,77,.25); }
.pk-rec { display: inline-block; margin: 4px 0 0; padding: 3px 10px; border-radius: 999px; background: #1f7a4d; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.pk-recwhy { display: block; margin-top: 4px; color: #14502f; font-size: 14px; font-weight: 600; line-height: 1.4; }
.pk-mrec { margin: 0 0 10px; padding: 8px 10px; background: #f1faf5; border-left: 4px solid #1f7a4d; border-radius: 6px; color: #14502f; font-size: 15px; }
.pk-item .pk-itxt .pk-rec { display: inline-block !important; width: auto !important; background: #1f7a4d !important; color: #fff !important; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; margin: 6px 0 0; }
.pk-item .pk-itxt .pk-recwhy { display: block; color: #14502f !important; font-weight: 600; font-size: 14px; margin-top: 5px; }
.pk-item .pk-itxt .pk-rec { width: fit-content !important; max-width: 100%; }

.pk-info.pk-info-row { position: static; display: block; margin: 8px 0 0; min-height: 32px; padding: 0 12px; font-size: 13px; }
.pk-nm { display: inline; }

/* the Save button at the top of Your PC */
.pk-sum .pk-sumhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; background: #0a1320; border-radius: 13px 13px 0 0; padding-right: 12px; }
.pk-sum .pk-sumhead h2 { flex: 1 1 auto; margin: 0; }
.pk-savetop { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border: 2px solid #fff; border-radius: 8px; background: #fff; color: #0a1320; font-weight: 800; font-size: 14px; cursor: pointer; }
.pk-savetop:hover, .pk-savetop:focus-visible { background: #4db1ff; border-color: #4db1ff; }
.pk-savetop[disabled] { opacity: .6; cursor: default; }
.pk-sum > .pk-savedtop { margin: 10px 18px 0; padding: 8px 10px; background: #e6f4ec; border-left: 4px solid #1f7a4d; border-radius: 6px; color: #12202e; font-size: 15px; }
.pk-sum > .pk-sumhead { margin-left: 0; margin-right: 0; }

/* Your PC scrolls INSIDE itself on a big screen, so a long list of parts never pushes the total and the basket button off the bottom of the window */
@media (min-width: 961px) {
  .pk-sum { max-height: calc(100vh - 28px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; }
  .pk-sum .pk-sumhead { position: sticky; top: 0; z-index: 3; }
  .pk-sum .pk-add { position: sticky; bottom: 8px; z-index: 2; box-shadow: 0 6px 16px rgba(10,19,32,.28); }
}
