/* Rozpočtové stránky /herni-pc-do-… a rozcestník /herni-pc-sestavy.
   Základ (sekce, nadpisy, tlačítka, FAQ, banner) sdílí s graphic-category.css (proměnné --gc-*). */

.bb-hero { padding-bottom: 44px; }
.bb-hero-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.bb-hero .gc-lead { margin-bottom: 18px !important; }
.bb-hero .gc-lead b { color: var(--gc-ink); }

.bb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.bb-tags-top { margin: -6px 0 18px; }
.bb-tag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--gc-line); font-size: 13px; font-weight: 600; color: var(--gc-ink-2); }
.bb-tag-use { background: var(--gc-orange-50); border-color: transparent; color: var(--gc-orange-600); }

.bb-others { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13.5px; color: var(--gc-muted); }
.bb-others span { margin-right: 2px; }
.gc-hero .bb-others a { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--gc-line); background: #fff; color: var(--gc-ink); font-weight: 600; text-decoration: none; }
.gc-hero .bb-others a:hover { border-color: var(--gc-orange); color: var(--gc-orange); }

/* Souhrn ceny v hero */
.bb-sum { background: #fff; border: 1px solid var(--gc-line); border-radius: 18px; padding: 24px; box-shadow: 0 10px 30px rgba(28, 36, 41, .06); display: flex; flex-direction: column; gap: 10px; }
.bb-sum small { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gc-muted); }
.bb-sum-name { font-size: 20px; font-weight: 800; }
.bb-sum-price { font-size: 38px; font-weight: 900; letter-spacing: -.6px; line-height: 1.1; color: var(--gc-ink); }
.bb-sum-sub { color: var(--gc-muted); font-size: 14px; margin-bottom: 6px !important; }
.bb-sum-note { color: var(--gc-muted); font-size: 12.5px; line-height: 1.45; }
.bb-btn-full { justify-content: center; width: 100%; white-space: normal; text-align: center; height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; line-height: 1.3; }

/* Řádky komponent */
.bb-list { background: #fff; border: 1px solid var(--gc-line); border-radius: 16px; overflow: hidden; }
.bb-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--gc-line); }
.bb-row-compact { grid-template-columns: minmax(0, 1fr); padding: 12px 20px; }
.bb-row-img { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--gc-line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--gc-orange); }
.bb-row-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bb-row-img .gc-i { width: 26px; height: 26px; }
.bb-row-main { min-width: 0; }
.bb-row-main small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gc-muted); }
.bb-row-main b { display: inline; font-size: 17px; color: var(--gc-ink); }
.bb-row-detail { margin-left: 8px; font-size: 13.5px; color: var(--gc-muted); }
.bb-why { margin-top: 4px !important; font-size: 14px; line-height: 1.5; color: var(--gc-ink-2); }
.bb-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.bb-row-price { font-size: 17px; font-weight: 800; white-space: nowrap; }
.gc-s a.bb-row-btn { height: 34px; padding: 0 14px; font-size: 13.5px; gap: 6px; border-color: var(--gc-orange); color: var(--gc-orange); }
.gc-s a.bb-row-btn:hover, .gc-s a.bb-row-btn:focus { border-color: var(--gc-orange-600); background: var(--gc-orange-50); color: var(--gc-orange-600); }
.bb-row-btn .gc-i { width: 14px; height: 14px; }
.bb-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; background: var(--gc-bg); font-size: 15px; }
.bb-total b { font-size: 22px; font-weight: 900; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Výkon */
.bb-perf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
.bb-perf .gc-card { padding: 20px 22px; }
.bb-perf h3 { font-family: inherit; font-size: 17px; font-weight: 800; margin: 0 0 12px; color: var(--gc-ink); }
.bb-perf h3 small { font-size: 13px; font-weight: 600; color: var(--gc-muted); }
.bb-checks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bb-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.bb-checks .gc-i { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; stroke-width: 2.4; }
.bb-check-ok .gc-i { background: #e7f5ec; color: var(--gc-good); }
.bb-check-warning .gc-i { background: #fdf3df; color: #a86d00; }
.bb-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.bb-game { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px; background: #fff; border: 1px solid var(--gc-line); border-radius: 12px; }
.bb-game-img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--gc-bg); display: grid; place-items: center; color: var(--gc-muted); }
.bb-game-img img { width: 100%; height: 100%; object-fit: cover; }
.bb-game-name { min-width: 0; }
.bb-game-name b { display: block; font-size: 15px; color: var(--gc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-game-name small { font-size: 12.5px; color: var(--gc-muted); }
.bb-game-fps { display: flex; gap: 14px; }
.bb-game-fps div { min-width: 44px; text-align: center; }
.bb-game-fps b { display: block; font-size: 17px; font-weight: 800; color: var(--gc-ink); }
.bb-game-fps small { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gc-muted); }

/* Karty (varianty, sousední rozpočty, rozcestník, tipy) */
.bb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bb-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bb-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--gc-line); border-radius: 16px; color: var(--gc-ink); }
.bb-card p { color: var(--gc-ink-2); font-size: 14.5px; line-height: 1.55; flex: 1; }
.bb-card .gc-btn { align-self: flex-start; margin-top: auto; }
.gc-s a.bb-card-link { text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.gc-s a.bb-card-link:hover { border-color: var(--gc-orange); box-shadow: 0 6px 18px rgba(28, 36, 41, .08); color: var(--gc-ink); text-decoration: none; }
.bb-card-img { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--gc-line); border-radius: 12px; color: #b7c4cc; }
/* absolutně - procentní výška v grid buňce bez pevné řady se nespočítá a obrázek by se ořízl */
.bb-card-img img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.bb-card-img .gc-i { width: 56px; height: 56px; stroke-width: 1.2; }
.bb-card-over { flex: 0 !important; margin: -4px 0 0 !important; font-size: 13.5px !important; color: #8a5a00 !important; }
.bb-card-k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gc-orange); }
.bb-card-price { font-size: 26px; font-weight: 900; letter-spacing: -.4px; }
.bb-card-price small { font-size: 14px; font-weight: 600; color: var(--gc-muted); letter-spacing: 0; }
.bb-card-parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bb-card-parts li { display: flex; gap: 8px; align-items: center; font-size: 14.5px; font-weight: 600; }
.bb-card-parts .gc-i { color: var(--gc-muted); }
.bb-card-diff { font-size: 13.5px !important; color: var(--gc-muted) !important; flex: 0 !important; }
.bb-card-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--gc-orange); }
.bb-card-cheap .bb-card-diff { flex: 1 !important; }
.bb-card .bb-tag { align-self: flex-start; }

@media (max-width: 991px) {
    .bb-hero-in, .bb-perf { grid-template-columns: minmax(0, 1fr); }
    .bb-cards, .bb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .bb-games { grid-template-columns: minmax(0, 1fr); }
    .bb-game { grid-template-columns: 48px minmax(0, 1fr); }
    .bb-game-img { width: 48px; height: 48px; }
    .bb-game-fps { grid-column: 1 / -1; justify-content: space-around; }
    .bb-cards, .bb-cards-2, .bb-grid { grid-template-columns: minmax(0, 1fr); }
    .bb-row { grid-template-columns: 48px minmax(0, 1fr); padding: 14px 16px; }
    .bb-row-img { width: 48px; height: 48px; }
    .bb-row-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
    .bb-row-detail { display: block; margin-left: 0; }
    .bb-sum-price { font-size: 32px; }
}

.bb-note { margin: -6px 0 18px !important; padding: 12px 14px; border-radius: 12px; background: #fdf3df; color: #6b4a00; font-size: 14.5px; line-height: 1.5; max-width: 600px; }
.bb-perf-single { grid-template-columns: minmax(0, 1fr); }
.bb-perf-single .bb-checks ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
@media (max-width: 640px) { .bb-perf-single .bb-checks ul { grid-template-columns: 1fr; } }

.gc-s a.bb-row-best { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--gc-orange); text-decoration: none; }
.gc-s a.bb-row-best:hover { color: var(--gc-orange-600); }
