.pc-builder { padding-block: 50px 90px; }
.pc-builder-heading { max-width: 720px; margin: 0 auto 35px; text-align: center; }
.pc-builder-heading h1 { margin: 9px 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.35; }
.pc-builder-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.pc-builder-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr); gap: 20px; align-items: stretch; }
.pc-builder-visual-panel, .pc-builder-controls { min-width: 0; border: 1px solid rgb(135 158 222 / 16%); border-radius: 20px; background: linear-gradient(145deg, rgb(13 23 57 / 88%), rgb(7 14 38 / 94%)); box-shadow: 0 24px 70px rgb(0 0 0 / 19%); }
.pc-builder-visual-panel { display: flex; min-height: 650px; flex-direction: column; padding: 22px; overflow: hidden; }
.pc-builder-visual-caption, .pc-builder-live { display: flex; align-items: center; }
.pc-builder-visual-caption { justify-content: space-between; color: #aebce0; font: 10px var(--font-mono); letter-spacing: .08em; }
.pc-builder-live { gap: 7px; color: #73f5cb; }
.pc-builder-live i { width: 7px; height: 7px; border-radius: 50%; background: #38e6af; box-shadow: 0 0 12px #38e6af; }
.pc-case-stage { position: relative; display: grid; min-height: 450px; flex: 1; place-items: center; perspective: 1100px; isolation: isolate; }
.pc-stage-glow { position: absolute; z-index: -1; right: 12%; bottom: 8%; left: 12%; height: 24%; border-radius: 50%; background: radial-gradient(ellipse, rgb(51 92 255 / 27%), transparent 68%); filter: blur(20px); }
.pc-case { position: relative; width: min(390px, 78%); aspect-ratio: 1.05 / 1; transform: rotateY(-16deg) rotateX(1deg); transform-style: preserve-3d; transition: transform .6s ease; }
.pc-case:hover { transform: rotateY(-8deg) rotateX(0); }
.pc-case-interior { position: absolute; inset: 5% 21% 5% 4%; overflow: hidden; border: 2px solid rgb(144 169 220 / 48%); border-radius: 15px 7px 7px 15px; background: linear-gradient(135deg, rgb(8 15 37 / 75%), rgb(19 34 71 / 82%)); box-shadow: inset 0 0 35px rgb(1 5 18 / 68%), 0 20px 50px rgb(0 0 0 / 38%); transform: translateZ(12px); }
.pc-case-front { position: absolute; z-index: 3; inset: 0 0 0 auto; width: 23%; overflow: hidden; border: 2px solid rgb(147 167 215 / 60%); border-radius: 8px 18px 18px 8px; background: linear-gradient(110deg, #1a2751, #0b1431 42%, #162246); box-shadow: inset 0 0 22px rgb(0 0 0 / 55%), 12px 10px 24px rgb(0 0 0 / 28%); transform: translateZ(24px); }
.pc-case-front::before { position: absolute; inset: 0 8px; border-inline: 1px solid rgb(119 147 213 / 20%); content: ""; }
.pc-case-front-vent { position: absolute; top: 14%; right: 50%; width: 3px; height: 34%; border-radius: 5px; background: linear-gradient(#1b2b59, #415485, #1b2b59); box-shadow: 7px 0 #1b2b59, -7px 0 #1b2b59; }
.pc-case-power { position: absolute; top: 6%; right: 50%; width: 8px; height: 8px; border: 1px solid #6f8dc6; border-radius: 50%; background: #21d8ff; box-shadow: 0 0 12px #21d8ff; }
.pc-case-front-fan { position: absolute; top: 57%; right: 50%; width: 45px; height: 45px; border: 3px solid #334b80; border-radius: 50%; background: repeating-conic-gradient(from 25deg, #1a2c59 0 20deg, #324b83 21deg 39deg, #1a2c59 40deg 60deg); box-shadow: 0 0 12px rgb(42 134 255 / 56%), inset 0 0 8px #111c3b; transform: translateX(50%); }
.pc-case-front-fan-bottom { top: 76%; width: 35px; height: 35px; }
.pc-case-side { position: absolute; inset: 0 21% 0 4%; border: 2px solid rgb(146 170 219 / 47%); border-radius: 16px 7px 7px 16px; background: linear-gradient(125deg, rgb(111 155 255 / 7%), rgb(48 75 143 / 16%)); transform: translateZ(17px); pointer-events: none; }
.pc-builder-part { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid rgb(98 139 255 / 65%); border-radius: 5px; background: linear-gradient(145deg, #203467, #111e40); color: #94a8d7; font: 8px var(--font-mono); text-align: center; transition: background .3s ease, box-shadow .3s ease, border-color .3s ease; }
.pc-builder-part.is-selected { border-color: #47d9ff; background: linear-gradient(145deg, #263b7b, #142551); box-shadow: 0 0 15px rgb(28 159 255 / 32%), inset 0 0 12px rgb(65 83 255 / 15%); color: #e5f7ff; }
.pc-part-motherboard { top: 14%; right: 8%; width: 53%; height: 68%; border-color: #4a71b9; background: linear-gradient(135deg, #152e42, #142c38 55%, #19384b); }
.pc-part-cpu { top: 24%; right: 39%; width: 17%; height: 18%; }
.pc-part-gpu { top: 56%; right: 15%; width: 70%; height: 16%; }
.pc-part-psu { right: 3%; bottom: 5%; width: 35%; height: 15%; }
.pc-part-storage { top: 6%; left: 4%; width: 23%; height: 11%; }
.pc-part-ram { top: 24%; right: 59%; display: flex; width: 9%; height: 34%; gap: 4px; padding: 3px; border: 0; background: transparent; }
.pc-part-ram i { flex: 1; border: 1px solid #7258dc; border-radius: 3px; background: linear-gradient(90deg, #291a59, #6748b8, #291a59); box-shadow: 0 0 8px rgb(144 72 255 / 40%); }
.pc-builder-fan { position: absolute; display: block; width: 43px; height: 43px; border: 3px solid #293d6d; border-radius: 50%; background: repeating-conic-gradient(#234e80 0 25deg, #152749 26deg 50deg); box-shadow: inset 0 0 8px #121b39, 0 0 10px rgb(0 201 255 / 34%); }
.pc-fan-top { top: 5%; right: 28%; }
.pc-fan-rear { top: 35%; left: 5%; width: 36px; height: 36px; }
.pc-builder-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pc-builder-summary > div { display: grid; gap: 4px; text-align: center; }
.pc-builder-summary span { color: #8998bc; font: 9px var(--font-mono); }
.pc-builder-summary strong { color: #e6edff; font-size: 13px; }
.pc-builder-controls { padding: 22px; }
.pc-builder-controls-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.pc-builder-controls-heading h2 { margin: 4px 0 0; font-size: 20px; }
.pc-builder-reset { padding: 7px 12px; border: 1px solid rgb(143 158 208 / 22%); border-radius: 999px; background: transparent; color: #b6c3e3; font-size: 10px; cursor: pointer; }
.pc-builder-reset:hover { border-color: #7675ee; color: white; }
.pc-builder-slots { display: grid; gap: 8px; }
.pc-builder-slot { display: grid; grid-template-columns: 35px minmax(80px, 1fr) minmax(130px, 1.1fr); min-height: 63px; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgb(135 158 222 / 12%); border-radius: 12px; background: rgb(5 12 33 / 55%); }
.pc-builder-slot-icon { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgb(86 118 220 / 25%); border-radius: 9px; background: rgb(46 57 130 / 24%); color: #9cafff; font: 9px var(--font-mono); }
.pc-builder-slot-copy { display: grid; min-width: 0; gap: 2px; }
.pc-builder-slot-copy strong { color: #e0e7f8; font-size: 11px; }
.pc-builder-slot-copy small { overflow: hidden; color: #8190b3; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.pc-builder-slot select { width: 100%; min-width: 0; height: 36px; padding: 0 8px; border: 1px solid rgb(135 158 222 / 20%); border-radius: 8px; background: #0c1737; color: #dce5fc; font-size: 10px; }
.pc-builder-slot select:focus-visible { outline: 2px solid #53a9ff; outline-offset: 2px; }
.pc-builder-compatibility { margin-top: 15px; padding: 14px; border: 1px solid rgb(135 158 222 / 15%); border-radius: 12px; background: rgb(4 11 31 / 55%); }
.pc-builder-compatibility h3 { margin: 0 0 8px; font-size: 13px; }
.pc-builder-compatibility ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pc-builder-compatibility li { display: flex; align-items: flex-start; gap: 8px; color: #a9b5d3; font-size: 10px; line-height: 1.7; }
.pc-builder-compatibility li i { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: #8290b0; }
.pc-builder-compatibility li.is-ok i { background: #38d9a6; box-shadow: 0 0 8px rgb(56 217 166 / 50%); }
.pc-builder-compatibility li.is-error { color: #ff9aa6; }
.pc-builder-compatibility li.is-error i { background: #ff6376; }
.pc-builder-compatibility li.is-unknown { color: #e6bd77; }
.pc-builder-compatibility li.is-unknown i { background: #e6ae4b; }
.pc-power-estimate { margin: 0 0 9px; color: #98a7cb; font-size: 10px; }
.pc-power-estimate strong { color: #61dafa; font-family: var(--font-mono); }
.pc-builder-disclaimer, .pc-builder-loading, .pc-builder-error { color: #8795b7; font-size: 10px; line-height: 1.8; }
.pc-builder-disclaimer { margin: 10px 2px 0; }
.pc-builder-error { color: #ff9aa6; }
@media (max-width: 900px) {
  .pc-builder-layout { grid-template-columns: 1fr; }
  .pc-builder-visual-panel { min-height: 550px; }
}
@media (max-width: 560px) {
  .pc-builder { padding-block: 32px 55px; }
  .pc-builder-heading { margin-bottom: 22px; }
  .pc-builder-heading p { font-size: 12px; }
  .pc-builder-visual-panel, .pc-builder-controls { padding: 15px; border-radius: 15px; }
  .pc-builder-visual-panel { min-height: 480px; }
  .pc-case-stage { min-height: 320px; }
  .pc-case { width: min(330px, 90%); }
  .pc-builder-slot { grid-template-columns: 30px minmax(70px, .8fr) minmax(110px, 1fr); gap: 7px; padding: 7px; }
  .pc-builder-slot-icon { width: 28px; height: 28px; }
  .pc-builder-slot-copy strong { font-size: 10px; }
  .pc-builder-slot select { font-size: 9px; }
  .pc-builder-summary { gap: 4px; }
  .pc-builder-summary span { font-size: 8px; }
  .pc-builder-summary strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-case, .pc-builder-part { transition: none; }
}

/* Match builder controls to the storefront's readable text scale. */
.pc-builder-heading p, .pc-builder-compatibility li,
.pc-power-estimate, .pc-builder-disclaimer,
.pc-builder-loading, .pc-builder-error { font-size: var(--type-small); }
.pc-builder-visual-caption, .pc-builder-summary span,
.pc-builder-reset, .pc-builder-slot-copy small { font-size: var(--type-caption); }
.pc-builder-summary strong, .pc-builder-slot-copy strong,
.pc-builder-slot select { font-size: var(--type-small); }
@media (max-width: 560px) {
  .pc-builder-slot-copy strong, .pc-builder-slot select { font-size: var(--type-caption); }
  .pc-builder-summary strong { font-size: var(--type-small); }
}

/* A rotatable case shell. The component plane sits behind the glass face. */
.pc-case-stage { touch-action: none; cursor: grab; user-select: none; }
.pc-case-stage.is-dragging { cursor: grabbing; }
.pc-case-stage:focus-visible { outline: 2px solid #53a9ff; outline-offset: -5px; border-radius: 14px; }
.pc-case {
  --case-depth: 82px;
  --case-accent: #47d9ff;
  width: min(350px, 70%);
  aspect-ratio: 1 / 1;
  transform: rotateX(var(--case-rotate-x, -9deg)) rotateY(var(--case-rotate-y, -24deg));
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
  will-change: transform;
}
.pc-case-stage.is-dragging .pc-case { transition: none; }
.pc-case:hover { transform: rotateX(var(--case-rotate-x, -9deg)) rotateY(var(--case-rotate-y, -24deg)); }
.pc-case-back, .pc-case-top, .pc-case-bottom { position: absolute; inset: 0; border: 2px solid #435b95; background: linear-gradient(145deg, #111d3e, #080e24); backface-visibility: visible; }
.pc-case-back { border-radius: 15px; transform: translateZ(calc(-1 * var(--case-depth))); box-shadow: inset 0 0 35px #030a1e; }
.pc-case-top, .pc-case-bottom { height: var(--case-depth); border-radius: 9px; background: repeating-linear-gradient(90deg, #0c1731 0 13px, #162749 14px 17px); }
.pc-case-top { top: 0; bottom: auto; transform-origin: center top; transform: rotateX(-90deg); }
.pc-case-bottom { top: auto; bottom: 0; transform-origin: center bottom; transform: rotateX(90deg); }
.pc-case-interior { inset: 0; overflow: hidden; border-radius: 15px; transform: translateZ(0); background: radial-gradient(circle at 63% 41%, #173452, #0a142d 75%); }
.pc-case-front { z-index: 3; top: 0; right: auto; bottom: auto; left: 100%; width: var(--case-depth); height: 100%; border-radius: 0 14px 14px 0; transform-origin: left center; transform: rotateY(90deg); }
.pc-case-side { z-index: 4; inset: 0; border-color: rgb(148 194 255 / 52%); border-radius: 15px; background: linear-gradient(115deg, rgb(135 185 255 / 5%), rgb(84 163 255 / 17%) 55%, rgb(10 26 58 / 9%)); box-shadow: inset 0 0 25px rgb(90 156 255 / 8%), 0 0 24px rgb(45 110 255 / 13%); transform: translateZ(8px); }
.pc-case.has-case .pc-case-side { border-color: var(--case-accent); box-shadow: inset 0 0 28px rgb(90 156 255 / 16%), 0 0 24px var(--case-accent); }
.pc-builder-part { visibility: hidden; opacity: 0; transform: scale(.82); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.pc-builder-part.is-selected { visibility: visible; opacity: 1; transform: scale(1); border-color: var(--case-accent); }
.pc-part-motherboard { z-index: 1; }
.pc-part-cpu, .pc-part-ram, .pc-part-gpu, .pc-part-storage, .pc-part-hdd, .pc-part-cooler, .pc-part-psu { z-index: 2; }
.pc-part-cooler { top: 24%; right: 39%; width: 19%; height: 19%; border-radius: 50%; background: repeating-conic-gradient(#113762 0 30deg, #2c8dd4 31deg 48deg); }
.pc-part-hdd { left: 6%; bottom: 10%; width: 24%; height: 13%; }
.pc-builder-visual-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4px 16px; color: #aebce0; font-size: var(--type-caption); }
.pc-builder-visual-actions button { flex: 0 0 auto; padding: 7px 12px; border: 1px solid rgb(143 158 208 / 32%); border-radius: 999px; background: #101d43; color: #dce8ff; font: inherit; cursor: pointer; }
.pc-builder-visual-actions button:hover, .pc-builder-visual-actions button:focus-visible { border-color: #53a9ff; color: white; }
@media (max-width: 560px) {
  .pc-case { --case-depth: 58px; width: min(270px, 68%); }
  .pc-builder-visual-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Configurator layout: stages above, an immersive model, choices below. */
.pc-builder { max-width: 1440px; }
.pc-builder-heading { margin-bottom: 24px; }
.pc-builder-steps { display: flex; justify-content: center; gap: clamp(8px, 3vw, 40px); margin: 0 auto 18px; border-bottom: 1px solid rgb(135 158 222 / 20%); }
.pc-builder-steps button { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #8798c1; font: inherit; font-size: var(--type-small); cursor: pointer; }
.pc-builder-steps button span { font: 11px var(--font-mono); }
.pc-builder-steps button[aria-current="step"] { border-bottom-color: #8b5cf6; color: #fff; }
.pc-builder-steps button:hover, .pc-builder-steps button:focus-visible { color: #fff; }
.pc-builder-layout { display: flex; flex-direction: column; gap: 0; }
.pc-builder-visual-panel { position: relative; min-height: 0; padding: 24px 32px 16px; border-radius: 24px 24px 0 0; border-bottom: 0; background: radial-gradient(ellipse at 50% 70%, #162c6b 0, #0a163b 39%, #080f29 75%); }
.pc-builder-visual-caption { position: relative; z-index: 1; font-family: inherit; letter-spacing: 0; }
.pc-case-stage { min-height: clamp(340px, 30vw, 440px); flex: auto; }
.pc-case { width: min(420px, 54%); }
.pc-builder-visual-actions { justify-content: center; padding-bottom: 12px; }
.pc-builder-model-note { margin: -4px 12px 12px; color: #aebce0; font-size: var(--type-caption); line-height: 1.7; text-align: center; }
.pc-builder-placement { min-height: 1.5em; margin: 0 0 10px; color: #d7b9ff; font-size: var(--type-caption); text-align: center; }
.pc-builder-visual-actions button { display: none; }
.pc-builder-view-tools { position: absolute; z-index: 5; top: 50%; right: 22px; display: grid; gap: 8px; transform: translateY(-50%); }
.pc-builder-view-tools button { width: 40px; height: 40px; border: 1px solid rgb(148 178 245 / 35%); border-radius: 50%; background: rgb(11 24 56 / 80%); color: #e5edff; font-size: 24px; cursor: pointer; }
.pc-builder-view-tools button:hover, .pc-builder-view-tools button:focus-visible { border-color: #8b5cf6; }
.pc-builder-summary { gap: 0; padding-top: 16px; }
.pc-builder-summary > div + div { border-inline-start: 1px solid rgb(135 158 222 / 18%); }
.pc-builder-summary span { font-family: inherit; }
.pc-builder-controls { padding: 20px 32px 28px; border-radius: 0 0 24px 24px; border-top: 1px solid rgb(135 158 222 / 16%); background: #0b1534; }
.pc-builder-controls-heading { margin-bottom: 14px; }
.pc-builder-controls-heading h2 { font-size: 18px; }
.pc-builder-slots { display: block; }
.pc-builder-category-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.pc-builder-category-tabs button { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; min-height: 40px; padding: 0 15px; border: 1px solid rgb(135 158 222 / 24%); border-radius: 999px; background: #101d43; color: #acbce0; font: inherit; font-size: var(--type-small); cursor: pointer; }
.pc-builder-category-tabs button[aria-selected="true"] { border-color: #8b5cf6; background: #241a58; color: #fff; }
.pc-builder-category-tabs button span { color: #68e5bc; }
.pc-builder-option-heading { display: flex; align-items: baseline; gap: 14px; margin: 7px 0 13px; }
.pc-builder-option-heading strong { color: #fff; font-size: 17px; }
.pc-builder-option-heading span { color: #9bacd0; font-size: var(--type-small); }
.pc-builder-options { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: thin; }
.pc-builder-option { display: flex; flex: 0 0 154px; min-height: 166px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; padding: 10px; border: 1px solid rgb(135 158 222 / 22%); border-radius: 13px; background: #101c3d; color: #eaf0ff; font: inherit; text-align: center; cursor: pointer; }
.pc-builder-option[aria-pressed="true"] { border-color: #9d74ff; background: #221c50; box-shadow: 0 0 0 2px rgb(157 116 255 / 14%); }
.pc-builder-option:hover, .pc-builder-option:focus-visible { border-color: #9d74ff; }
.pc-builder-option img { width: 100%; height: 93px; object-fit: contain; }
.pc-builder-option strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12px; line-height: 1.5; }
.pc-builder-option small { margin-top: auto; color: #a7b9df; font-size: 11px; }
.pc-builder-option-empty { justify-content: center; }
.pc-builder-option-empty-icon { display: grid; width: 56px; height: 56px; place-items: center; border: 1px dashed #778bbc; border-radius: 50%; color: #aabce8; font-size: 28px; }
.pc-builder-picked { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-builder-picked > div { display: grid; gap: 6px; padding: 14px; border: 1px solid rgb(135 158 222 / 20%); border-radius: 12px; }
.pc-builder-picked span { color: #93a5ca; font-size: var(--type-caption); }
.pc-builder-picked strong { color: #eaf0ff; font-size: var(--type-small); }
.pc-builder-compatibility { margin-top: 14px; }
.pc-builder-layout:not([data-active-step="summary"]) .pc-builder-compatibility, .pc-builder-layout:not([data-active-step="summary"]) .pc-builder-disclaimer { display: none; }
.pc-builder-layout[data-active-step="summary"] .pc-builder-controls-heading { display: none; }
.pc-builder-layout:not([data-active-step="summary"]) .pc-builder-checkout { display: none; }
.pc-builder-checkout { display: grid; justify-items: start; gap: 12px; margin-top: 18px; }
.pc-builder-checkout p { margin: 0; color: #adbee2; font-size: var(--type-small); line-height: 1.8; }
.pc-builder-checkout p.is-error { color: #ff9eaa; }
.pc-builder-checkout button { min-height: 48px; padding: 10px 22px; border: 0; border-radius: 12px; background: linear-gradient(120deg, #8c27f4, #6a3aff); color: #fff; font: inherit; font-size: var(--type-small); font-weight: 700; cursor: pointer; }
.pc-builder-checkout button:disabled { opacity: .45; cursor: not-allowed; }
.pc-case-stage.has-webgl { perspective: none; touch-action: auto; cursor: default; }
.pc-case-stage.has-webgl .pc-case { display: none; }
.pc-builder-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.pc-builder-model-credit { color: #adbee2; font-size: var(--type-small); line-height: 1.7; }
.pc-builder-model-credit[hidden] { display: none; }
.pc-builder-model-credit a { color: #9fc8ff; text-decoration: underline; text-underline-offset: 3px; }
.pc-builder-dimensions { margin: 0 0 12px; color: #c3d5f4; font: 600 var(--type-small) var(--font-mono); text-align: center; direction: ltr; }
.pc-builder-dimensions[hidden] { display: none; }
.pc-builder-color-picker { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid rgb(135 158 222 / 22%); border-radius: 14px; background: rgb(9 18 45 / 72%); }
.pc-builder-color-picker > strong { color: #f1f4ff; font-size: var(--type-small); }
.pc-builder-color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-builder-color-options button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 12px; border: 1px solid rgb(135 158 222 / 32%); border-radius: 10px; background: #111e42; color: #d9e5ff; font: inherit; font-size: var(--type-small); cursor: pointer; }
.pc-builder-color-options button[aria-pressed="true"] { border-color: #aa85ff; background: #29204f; box-shadow: 0 0 0 2px rgb(170 133 255 / 18%); }
.pc-builder-color-options button:focus-visible { outline: 2px solid #9d74ff; outline-offset: 2px; }
.pc-builder-color-swatch { width: 19px; height: 19px; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; background: #24272d; }
.pc-builder-color-swatch.is-white { background: #dfe5ea; }
.pc-builder-color-swatch.is-orange { background: #e66b24; }
.pc-builder-color-swatch.is-red { background: #b72c3c; }
.pc-builder-color-picker p { margin: 0; color: #aebce0; font-size: var(--type-caption); line-height: 1.7; }
@media (max-width: 760px) {
  .pc-builder-visual-panel { padding: 16px; }
  .pc-builder-controls { padding: 18px 16px 24px; }
  .pc-case-stage { min-height: 380px; }
  .pc-case { width: min(330px, 65%); }
  .pc-builder-view-tools { right: 12px; }
  .pc-builder-picked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pc-builder-steps { justify-content: space-between; gap: 0; }
  .pc-builder-steps button { flex-direction: column; justify-content: center; gap: 0; min-width: 0; padding: 4px 8px; font-size: 11px; }
  .pc-builder-visual-panel { min-height: 0; }
  .pc-case-stage { min-height: 310px; }
  .pc-case { --case-depth: 58px; width: min(235px, 65%); }
  .pc-builder-view-tools button { width: 34px; height: 34px; font-size: 20px; }
  .pc-builder-visual-actions { align-items: center; }
  .pc-builder-visual-actions span { text-align: center; }
  .pc-builder-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-builder-summary strong { overflow-wrap: anywhere; }
  .pc-builder-option-heading { flex-direction: column; gap: 3px; }
  .pc-builder-option { flex-basis: 132px; min-height: 154px; }
  .pc-builder-option img { height: 80px; }
  .pc-builder-picked { grid-template-columns: 1fr; }
}
