/* =========================================================
   Prebuilt PC product page with inline customisation (single-product-builder.php).
   Deep band hero, build stage on the left, "What's inside" list on the right.
   Colours come from dtn-brand.css tokens.
   ========================================================= */
.pcb-hero { background: var(--bg-deep); color: var(--ink-inv); padding: 36px 0 64px; position: relative; overflow: hidden; }
.pcb-hero::before { content: ""; position: absolute; right: -220px; top: -260px; width: 640px; height: 640px; background: var(--dtn-glow); opacity: .7; pointer-events: none; }
.pcb-hero > * { position: relative; }
.pcb-crumbs, .pcb-crumbs a { color: var(--ink-inv-2); }
.pcb-crumbs a:hover { color: #fff; }
.pcb-hero .eyebrow { color: #9DB8FF; }
.pcb-hero .eyebrow::before { background-image: var(--pulse-inv); }
.pcb-hero__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin: 22px 0 28px; }
.pcb-hero__title { max-width: 660px; }
.pcb-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin: 12px 0; font-weight: 800; }
.pcb-hero__lede { color: var(--ink-inv-2); font-size: 16px; line-height: 1.6; margin: 0; }
.pcb-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pcb-chips li { display: inline-flex; align-items: center; gap: 6px; background: rgba(157,184,255,.12); border: 1px solid rgba(157,184,255,.22); color: #DCE5FF; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 99px; }

.pcb-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: 28px; align-items: start; }
.pcb-stage { position: sticky; top: 96px; }
.pcb-view { position: relative; background: linear-gradient(160deg, #FFFFFF 0%, #EEF2FF 100%); border-radius: 20px; height: 540px; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(0,0,0,.7); }
.pcb-view img { width: 100%; height: 100%; object-fit: contain; padding: 28px; box-sizing: border-box; transition: opacity .25s; }
.pcb-badge { position: absolute; left: 16px; top: 16px; background: var(--bg-deep); color: #9DB8FF; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.pcb-badge.is-custom { background: var(--dtn-grad); color: #fff; }

.pcb-inside { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pcb-inside__item { display: flex; align-items: center; gap: 8px; min-width: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(157,184,255,.16); border-radius: var(--r-2); padding: 7px; }
.pcb-inside__item img { width: 38px; height: 38px; border-radius: var(--r-1); object-fit: cover; flex: none; background: #fff; }
.pcb-inside__item b { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-inv-2); }
.pcb-inside__item span { display: block; min-width: 0; font-size: 12px; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pcb-buy { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.pcb-buy__lbl { font-size: 12.5px; color: var(--ink-inv-2); }
.pcb-buy__total { font-family: var(--f-head); font-weight: 800; font-size: 38px; line-height: 1; color: #fff; letter-spacing: -.02em; }
.pcb-buy__delta { font-size: 12.5px; font-weight: 700; color: #9DB8FF; margin-top: 6px; }
.pcb-buy__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pcb .btn--ghost-inv { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.pcb .btn--ghost-inv:hover { background: rgba(255,255,255,.12); }
.pcb-err { margin-top: 12px; background: #FFF1F1; border: 1px solid #F3B4B4; color: #B42318; border-radius: var(--r-2); padding: 10px 14px; font-size: 13px; font-weight: 600; }
.pcb-small { font-size: 12.5px; color: var(--ink-inv-2); margin: 14px 0 0; line-height: 1.55; }
.pcb-small a { color: #fff; font-weight: 700; }

.pcb-spec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pcb-spec__head h2 { color: #fff; font-size: 20px; margin: 0; }
.pcb-spec__head span { font-size: 12.5px; color: var(--ink-inv-2); }
.pcb-steps { background: #fff; color: var(--ink); border-radius: 18px; padding: 6px 18px; box-shadow: 0 24px 48px -30px rgba(0,0,0,.7); }

.pcb-row { border-bottom: 1px solid var(--rule); }
.pcb-row:last-child { border-bottom: 0; }
.pcb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 13px 2px; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.pcb-row.is-fixed .pcb-head { cursor: default; }
.pcb-head__l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pcb-head__l > span:last-child { min-width: 0; }
.pcb-num { width: 24px; height: 24px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--rule); }
.pcb-row.is-open .pcb-num { background: var(--dtn-grad); color: #fff; border-color: transparent; }
.pcb-row.is-fixed .pcb-num { color: var(--ok); }
.pcb-head__k { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.pcb-head__v { display: block; font-weight: 700; font-size: 14px; color: var(--ink); }
.pcb-head__d { font-weight: 800; font-size: 12.5px; white-space: nowrap; color: var(--ink-3); }
.pcb-head__d.is-up { color: var(--accent); }
.pcb-head__d.is-down { color: #15803D; }

.pcb-opts { display: none; flex-direction: column; gap: 8px; padding: 0 2px 14px 36px; }
.pcb-row.is-open .pcb-opts { display: flex; }
.pcb-chip { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: var(--r-2); padding: 8px 10px; cursor: pointer; }
.pcb-chip:hover:not(:disabled) { border-color: rgba(26,92,255,.35); }
.pcb-chip.is-on { background: var(--accent-soft); border-color: var(--accent); }
.pcb-chip:disabled { opacity: .45; cursor: not-allowed; }
.pcb-chip img { width: 36px; height: 36px; flex: none; border-radius: var(--r-1); object-fit: cover; background: #fff; }
.pcb-chip img.is-sil { object-fit: contain; padding: 6px; box-sizing: border-box; }
.pcb-chip__t { min-width: 0; }
.pcb-chip__n { display: block; font-weight: 700; font-size: 13px; line-height: 1.25; }
.pcb-chip__s { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.pcb-chip__p { margin-left: auto; font-weight: 800; font-size: 12.5px; white-space: nowrap; color: var(--accent); }
.pcb-chip__p.is-down { color: #15803D; }
.pcb-chip__p.is-zero { color: var(--ink-3); }
.pcb-next { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 4px; padding: 11px 16px; border: 0; border-radius: var(--r-2); background: var(--dtn-grad); color: #fff; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.pcb-next.is-done { background: var(--bg-deep); }

.pcb-bar { display: none; }

.pcb-more { background: var(--bg-soft); }
.pcb-more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pcb-more h2 { font-size: 24px; margin: 0 0 14px; }
.pcb-more p { color: var(--ink-2); line-height: 1.65; margin: 0 0 16px; }
.pcb-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pcb-ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.pcb-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12l4 4 8-8' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 12px; }
.pcb-links, .pcb-talk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pcb-talk { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); }
.pcb-talk span { width: 100%; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pcb-desc__body { max-width: 860px; }

@media (max-width: 960px) {
    .pcb-grid, .pcb-more__grid { grid-template-columns: minmax(0, 1fr); }
    .pcb-hero__head, .pcb-hero__title, .pcb-stage, .pcb-spec { min-width: 0; max-width: 100%; }
    .pcb-hero h1 { overflow-wrap: anywhere; }
    .pcb-buy, .pcb-buy__btns { width: 100%; }
    .pcb-buy__btns .btn { flex: 1 1 auto; justify-content: center; }
    .pcb-stage { position: static; }
    .pcb-view { height: 340px; }
    .pcb-inside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pcb-inside__item span { white-space: normal; }
    .pcb-hero { padding-bottom: 96px; }
    .pcb-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; align-items: center; justify-content: space-between; gap: 10px; background: rgba(11,18,38,.94); backdrop-filter: blur(8px); border: 1px solid rgba(157,184,255,.2); border-radius: 16px; padding: 10px 12px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); }
    .pcb-bar__lbl { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9DB8FF; }
    .pcb-bar__total { display: block; font-family: var(--f-head); font-weight: 800; font-size: 19px; color: #fff; line-height: 1.1; }
    .pcb-bar__btns { display: flex; gap: 8px; }
    .pcb-bar .btn { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 520px) {
    .pcb-bar #pcb-bar-next { display: none; }
    .pcb-opts { padding-left: 0; }
}

/* Phones: lift the floating call / WhatsApp / chat buttons clear of the sticky price bar */
@media (max-width: 960px) {
    body:has(.pcb-bar) .v2-float,
    body:has(.pcb-bar) .fcw-btn { transform: translateY(-78px); }
}
