/* Build PC bản mới (KCC 26/11/2026) — lớp gắn thêm, gỡ 2 dòng include là về bản cũ */
.kcc-moi{--kcc-cam:#f26b21;--kcc-cam-nhat:#fff1e8;--kcc-do:#e5361b;--kcc-line:#e6e8ec;--kcc-mute:#6b7280;--kcc-fg:#111827}
.kcc-moi .content.box-w{background:#f3f4f6!important}
.kcc-moi .build-pc_content>h3{font-size:24px!important;font-weight:800!important;color:var(--kcc-fg)!important;border:0!important;padding:0!important;margin:4px 0 12px!important}
.kcc-moi .kcc-h{font-size:17px;font-weight:700;margin:6px 0 10px;color:var(--kcc-fg)}
.kcc-moi .kcc-h small{font-weight:400;color:var(--kcc-mute);font-size:13px;margin-left:6px}
.kcc-moi .kcc-bos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.kcc-moi .kcc-bo{background:#fff;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;border:1.5px solid transparent;position:relative}
.kcc-moi .kcc-bo:hover{border-color:#f6b38c}
.kcc-moi .kcc-bo img{width:100%;height:140px;object-fit:contain}
.kcc-moi .kcc-nhan{position:absolute;top:10px;left:10px;background:var(--kcc-fg);color:#fff;font-size:12px;font-weight:700;border-radius:6px;padding:2px 8px}
.kcc-moi .kcc-bt{font-weight:600;font-size:14px;line-height:1.4;color:var(--kcc-fg)}
.kcc-moi .kcc-mo{color:var(--kcc-mute);font-size:13px}
.kcc-moi .kcc-gia{color:var(--kcc-do);font-weight:800;font-size:18px;margin-top:auto}
.kcc-moi .kcc-dung{border:1.5px solid var(--kcc-cam);background:#fff;color:var(--kcc-cam);font-weight:700;border-radius:8px;padding:9px;font-size:14px;cursor:pointer}
.kcc-moi .kcc-dung:hover{background:var(--kcc-cam);color:#fff}
/* danh sách linh kiện */
.kcc-moi .list-drive{background:#fff;border:0!important;border-radius:12px;padding:4px 14px}
.kcc-moi .list-drive .item-drive{display:flex!important;align-items:flex-start;gap:12px;border:0!important;border-bottom:1px solid var(--kcc-line)!important;padding:12px 0!important;margin:0!important;background:none!important;min-height:0!important;height:auto!important}
.kcc-moi .list-drive .item-drive:last-child{border-bottom:0!important}
.kcc-moi .list-drive .item-drive>.d-name{display:flex!important;align-items:center;gap:10px;flex:0 0 190px;width:auto!important;float:none!important;border:0!important;padding:0!important;background:none!important;font-weight:700!important;font-size:15px!important;color:var(--kcc-fg)!important;line-height:1.3!important;height:auto!important}
.kcc-moi .kcc-ic{width:40px;height:40px;border-radius:10px;background:var(--kcc-cam-nhat);color:var(--kcc-cam);display:grid;place-items:center;flex:none}
.kcc-moi .kcc-ic svg{width:22px;height:22px}
.kcc-moi .list-drive .drive-checked{flex:1;min-width:0;float:none!important;width:auto!important;border:0!important;padding:0!important;margin:0!important}
.kcc-moi .list-drive .open-selection{display:inline-flex;align-items:center;gap:6px;background:var(--kcc-cam)!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:9px 16px!important;font-weight:700!important;font-size:14.5px!important;line-height:1.2!important;height:auto!important;margin-top:2px}
.kcc-moi .list-drive .open-selection:hover{filter:brightness(1.06)}
.kcc-moi .list-drive .drive-checked .js-add-more-holder .add-more-selection{background:#fff!important;color:var(--kcc-cam)!important;border:1.5px dashed var(--kcc-cam)!important;margin-top:8px}
.kcc-moi .contain-item-drive .d-name a{font-size:15px!important;font-weight:600!important;color:var(--kcc-fg)!important;line-height:1.4}
.kcc-moi .contain-item-drive .d-price,.kcc-moi .contain-item-drive .sum_price{color:var(--kcc-do)!important;font-weight:800!important;font-size:16px!important}
.kcc-moi .contain-item-drive .btn-action_seclect{border-radius:8px!important}
.kcc-moi .kcc-ghi{font-size:13px;line-height:1.5;border-radius:8px;padding:7px 10px;margin-top:8px}
.kcc-moi .kcc-ghi.kcc-ok{background:#ecf8f1;color:#15803d;font-weight:600}
.kcc-moi .kcc-ghi.kcc-tv{background:#fff6e0;color:#8a5300}
.kcc-moi .kcc-ghi.kcc-loi{background:#fff0ed;color:#b3261e}
.kcc-moi .kcc-ghi b{font-weight:700}
.kcc-moi .js-config-summary,.kcc-moi .total-price-config{color:var(--kcc-do)!important}
.kcc-moi #kcc-tom{clear:both;padding-top:6px}
.kcc-moi .kcc-canh{border-radius:8px;padding:9px 12px;font-size:14px;font-weight:600;margin:8px 0}
.kcc-moi .kcc-canh.kcc-ok{background:#ecf8f1;color:#15803d}
.kcc-moi .kcc-canh.kcc-tv{background:#fff6e0;color:#8a5300}
.kcc-moi .kcc-canh.kcc-loi{background:#fff0ed;color:#b3261e}
.kcc-moi .kcc-mess{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:420px;margin:10px 0 0 auto;border:0;border-radius:10px;padding:13px;background:#0a7cff;color:#fff;font-weight:800;font-size:15px;cursor:pointer}
.kcc-moi .kcc-mess svg{width:20px;height:20px}
.kcc-moi .list-btn-action li span,.kcc-moi .list-btn-action li a{border-radius:8px!important}
/* bảng chọn linh kiện: chữ to, rõ */
.mask-popup .popup-select .p-item .p-name{font-size:15.5px!important;font-weight:600!important;color:#111827!important;line-height:1.4!important}
.mask-popup .popup-select .p-item .p-price{color:#e5361b!important;font-weight:800!important;font-size:17px!important}
.mask-popup .popup-select .p-item .btn-buy{background:#f26b21!important;color:#fff!important;border-radius:8px!important;font-weight:700!important}
.mask-popup .popup-select .p-item .kcc-ghi{font-size:13px;line-height:1.45;border-radius:8px;padding:6px 9px;margin-top:6px}
.mask-popup .popup-select .p-item .kcc-ghi.kcc-ok{background:#ecf8f1;color:#15803d;font-weight:600}
.mask-popup .popup-select .p-item .kcc-ghi.kcc-tv{background:#fff6e0;color:#8a5300}
.mask-popup .popup-select .p-item .kcc-ghi.kcc-loi{background:#fff0ed;color:#b3261e;font-weight:600}
.mask-popup .popup-select .p-item.kcc-ko .p-img,.mask-popup .popup-select .p-item.kcc-ko .p-name{opacity:.55}
/* điện thoại */
.kcc-mbar{display:none}
@media (max-width:767px){
  .kcc-moi .build-pc_content>h3{font-size:20px!important}
  .kcc-moi .kcc-bos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;scrollbar-width:none}
  .kcc-moi .kcc-bos::-webkit-scrollbar{display:none}
  .kcc-moi .kcc-bo{flex:0 0 72%;scroll-snap-align:start}
  .kcc-moi .kcc-bo img{height:110px}
  .kcc-moi .list-drive{padding:2px 12px}
  .kcc-moi .list-drive .item-drive{flex-wrap:wrap;gap:8px}
  .kcc-moi .list-drive .item-drive>.d-name{flex:1 1 auto;font-size:15px!important}
  .kcc-moi .kcc-ic{width:34px;height:34px}.kcc-moi .kcc-ic svg{width:19px;height:19px}
  .kcc-moi .list-drive .drive-checked{flex:1 1 100%}
  .kcc-moi .list-drive .item-drive:not(:has(.contain-item-drive)){flex-wrap:nowrap;align-items:center}
  .kcc-moi .list-drive .item-drive:not(:has(.contain-item-drive)) .drive-checked{flex:0 0 auto;text-align:right}
  .kcc-moi .kcc-mess{display:none}
  body:has(.kcc-moi){padding-bottom:78px}
  .kcc-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:999;background:#fff;box-shadow:0 -2px 14px rgba(0,0,0,.12);align-items:center;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))}
  .kcc-mbar-t{flex:1;min-width:0}
  .kcc-mbar small{display:block;color:#6b7280;font-size:12px}
  .kcc-mbar b{color:#e5361b;font-size:19px}
  .kcc-mbar #kcc-mbar-canh{display:block;color:#b3261e;font-size:11.5px;font-weight:600}
  .kcc-mbar button{background:#0a7cff;color:#fff;border:0;border-radius:10px;padding:12px 14px;font-weight:800;font-size:14px}
  .mask-popup .popup-select .p-item .p-name{font-size:15px!important}
}
.kcc-lapvua{display:inline-flex;align-items:center;gap:6px;margin:8px 10px;border:0;border-radius:999px;background:#111827;color:#fff;font-weight:700;font-size:14px;padding:8px 14px;cursor:pointer}

.kcc-moi .kcc-luu-y{clear:both;text-align:center;font-size:13px;color:#6b7280;margin:14px 0 4px}
