/* ════════════════════════════════════════════════════════════════════ */
/* BESTCOMP.cz — SDÍLENÝ EXTERNÍ STYLESHEET (bc-styles.css)              */
/* Používá se sitewide přes <link> v Záhlaví HTML kódu (Shoptet admin).  */
/* Sdílené třídy pro produktové stránky (sablona-product.html) i         */
/* blogové články (sablona-clanku.html).                                 */
/*                                                                        */
/* PŘI ÚPRAVĚ: měň VÝHRADNĚ tento soubor, nikdy nekopíruj CSS zpět        */
/* natvrdo do jednotlivých produktů/článků. Po každé úpravě zvyš verzi   */
/* v odkazu na soubor (?v=2, ?v=3...), ať se změna projeví u všech        */
/* návštěvníků okamžitě a ne až po vypršení cache prohlížeče.            */
/* ════════════════════════════════════════════════════════════════════ */

/* ─── ZÁKLADNÍ OBALOVÝ KONTEJNER ─── */
.bc-page { margin: 0; padding: 0; font-family: Arial, sans-serif; color: #333; line-height: 1.6; }

/* ─── NAVIGACE: POPISEK + KOTVY NA ZAČÁTKU STRÁNKY ─── */
.bc-anchor-nav { text-align: center; margin-bottom: 30px; }
.bc-nav-label { font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin: 0 0 8px 0; font-weight: 700; }
a.bc-anchor { background-color: #4f63d2; color: #ffffff; padding: 8px 18px; border-radius: 20px; font-size: 0.9em; font-weight: bold; text-decoration: none; border: 1px solid #4f63d2; display: inline-block; margin: 4px; transition: all 0.2s ease; }
a.bc-anchor:hover { background-color: #16a34a; border-color: #16a34a; color: #fff; }

/* ─── NADPISY SEKCÍ ─── */
h2.bc-h2 { color: #cc9900; border-bottom: 3px solid #cc9900; padding-bottom: 10px; margin-top: 40px; margin-bottom: 20px; text-transform: uppercase; font-size: 1.6em; font-weight: 700; scroll-margin-top: 150px; font-family: Arial, sans-serif; }

/* ─── ANSWER BOX (odpověď pro AI Overviews / AI Mode hned na začátku) ─── */
.bc-answer-box { background: #f8fafc; border-left: 6px solid #4f63d2; border-radius: 10px; padding: 24px 30px; margin-bottom: 22px; }
.bc-answer-box p { margin: 0; line-height: 1.8; }

/* ─── ČASOVÁ ZNAČKA AKTUALIZACE (signál čerstvosti obsahu) ─── */
.bc-freshness { font-size: 0.85em; color: #666; display: block; margin-bottom: 35px; }

/* ─── UNIVERZÁLNÍ MŘÍŽKOVÝ SYSTÉM PRO VŠECHNY TYPY MODRÝCH KARET ─── */
/* (Používá se pro: výpis komponent / příplatkovou výbavu / výběr skříní) */
.bc-grid-container { margin: 25px 0 35px 0; }
.bc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.bc-card { display: flex; align-items: center; background: #f4f7ff; border: 1px solid #e0e7ff; border-radius: 8px; padding: 14px 18px; transition: all 0.2s ease; }
.bc-card:not(.bc-highlight):hover { border-color: #cc9900; background: #ffffff; box-shadow: 0 4px 12px rgba(204, 153, 0, 0.06); }
.bc-card.bc-highlight { background: #ebf1ff; border: 1.5px solid #4f63d2; box-shadow: 0 4px 14px rgba(79, 99, 210, 0.1); }
.bc-card.bc-highlight:hover { border-color: #cc9900; box-shadow: 0 4px 14px rgba(204, 153, 0, 0.15); }
.bc-card.bc-span-2 { grid-column: span 2; }
.bc-card-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #ffffff; border-radius: 6px; font-size: 1.45em; margin-right: 16px; flex-shrink: 0; border: 1px solid rgba(79, 99, 210, 0.08); }
.bc-card-text { font-size: 0.95em; line-height: 1.5; color: #333; font-family: Arial, sans-serif; width: 100%; }
.bc-card-text strong { color: #1f2937; font-weight: 700; }
.bc-card-muted { display: block; font-size: 0.85em; color: #555; margin-top: 3px; }
.bc-card-meta { display: block; font-size: 0.85em; color: #4f63d2; font-weight: 700; margin-top: 10px; border-top: 1px dashed #e0e7ff; padding-top: 8px; }

/* ─── DVOJICE VYSVĚTLUJÍCÍCH KARET ("Jak silný je..." / "Proč grafika...") ─── */
.bc-info-flex { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.bc-info-card { flex: 1; min-width: 250px; background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #eee; }
.bc-info-card h3 { color: #4f63d2; margin-top: 0; font-size: 1.2em; }
.bc-info-card p { margin-bottom: 0; }

/* ─── ŽLUTÝ INFORMAČNÍ BOX (upozornění, dodací lhůty apod.) ─── */
.bc-note-box { background: #fff9e6; border-left: 4px solid #cc9900; padding: 12px 18px; border-radius: 4px; margin-bottom: 20px; line-height: 1.5; }

/* ─── STYLY PRO POKROČILOU MATRICI FPS TABULKY ─── */
.bc-table-wrapper { margin-bottom: 30px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); background: #fff; }
table.bc-adv-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 0.95em; }
table.bc-adv-table thead { background: #1f2937; color: #cc9900; }
table.bc-adv-table th { padding: 16px 15px; font-weight: bold; letter-spacing: 0.5px; }
table.bc-adv-table td { padding: 12px 15px; vertical-align: middle; border-bottom: 1px solid rgba(0,0,0,0.05); }
table.bc-adv-table tbody tr:hover { filter: brightness(0.97); transition: filter 0.15s ease; }
.bc-game-link { color: #4f63d2; font-weight: 700; font-family: Arial, sans-serif; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.2s ease; }
.bc-game-link:hover { color: #cc9900; }
.bc-setting-badge { background: rgba(255,255,255,0.75); padding: 4px 10px; border-radius: 4px; font-size: 0.9em; font-weight: 600; color: #475569; display: inline-block; border: 1px solid rgba(0,0,0,0.08); }
.bc-setting-badge.bc-rt { background: #fff0f0; border-color: #fca5a5; color: #991b1b; }

/* Univerzální paleta pro odlišení řádků tabulky — cykluj 1 až 7, NEVYTVÁŘEJ nové */
.bc-row-1 { background-color: #cfe5ff !important; }
.bc-row-2 { background-color: #e0f7fa !important; }
.bc-row-3 { background-color: #fffbc7 !important; }
.bc-row-4 { background-color: #e0d6d1 !important; }
.bc-row-5 { background-color: #e2f6f0 !important; }
.bc-row-6 { background-color: #f3e8f5 !important; }
.bc-row-7 { background-color: #fff0d4 !important; }

/* Bodge hodnocení plynulosti FPS */
.fps-green { background: #e6f9e6; color: #1a7a1a; padding: 4px 12px; border-radius: 15px; font-weight: bold; display: inline-block; border: 1px solid rgba(26,122,26,0.1); }
.fps-yellow { background: #fff8e6; color: #b38600; padding: 4px 12px; border-radius: 15px; font-weight: bold; display: inline-block; border: 1px solid rgba(179,134,0,0.1); }
.fps-orange { background: #fff0e6; color: #d96d00; padding: 4px 12px; border-radius: 15px; font-weight: bold; display: inline-block; border: 1px solid rgba(217,109,0,0.1); }
.fps-red { background: #ffe6e6; color: #cc1111; padding: 4px 12px; border-radius: 15px; font-weight: bold; display: inline-block; border: 1px solid rgba(204,17,17,0.1); }

/* Mobilní 2-sloupcový matrix pro tabulku — počítá se 4 sloupci: Hra | Nastavení | 1080p | 4K. */
/* Pokud má produkt jiná rozlišení/sloupce, uprav text v ::before u td:nth-child(3)/(4) přímo na dané stránce. */
.bc-table-wrapper { box-shadow: none; background: transparent; }
table.bc-adv-table, table.bc-adv-table thead, table.bc-adv-table tbody, table.bc-adv-table tr, table.bc-adv-table td { display: block; width: 100% !important; box-sizing: border-box; }
table.bc-adv-table thead { display: none; }
table.bc-adv-table tbody { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 2px; }
table.bc-adv-table tbody tr { margin-bottom: 0; border: 1px solid rgba(0,0,0,0.06); border-radius: 10px; padding: 14px 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; flex-direction: column; justify-content: space-between; transition: box-shadow 0.15s ease; }
table.bc-adv-table tbody tr:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); filter: brightness(0.98); }
table.bc-adv-table td { text-align: left !important; padding: 3px 0 !important; border: none !important; }
table.bc-adv-table td:nth-child(1) { font-size: 0.9em; line-height: 1.2; margin-bottom: 8px; }
.bc-game-link { font-size: 1em; display: inline-flex; }
table.bc-adv-table td:nth-child(2), table.bc-adv-table td:nth-child(3), table.bc-adv-table td:nth-child(4) { display: inline-block; margin-right: 8px; }
.bc-setting-badge { font-size: 0.75em; padding: 3px 7px; }
table.bc-adv-table td:nth-child(3)::before { content: "1080p: "; font-weight: bold; font-size: 0.75em; color: #555; margin-right: 3px; }
table.bc-adv-table td:nth-child(4)::before { content: "4K: "; font-weight: bold; font-size: 0.75em; color: #555; margin-right: 3px; }
.fps-green, .fps-yellow, .fps-orange, .fps-red { font-size: 0.8em; padding: 3px 9px; border-radius: 11px; }

@media screen and (min-width: 1100px) {
  table.bc-adv-table tbody { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 480px) {
  table.bc-adv-table tbody { grid-template-columns: 1fr; }
}

/* ─── BOX S YOUTUBE PŘEHRÁVACÍM SEZNAMEM (starší/jednodušší varianta bez lazy-embed videí) ─── */
.bc-youtube-box { border: 2px solid #eee; border-radius: 8px; padding: 15px; text-align: center; background: #fff; }
.bc-youtube-box img { max-width: 100%; border-radius: 5px; margin-bottom: 15px; }
.bc-youtube-btn { background: #ff0000; color: #fff; padding: 10px 25px; text-decoration: none; border-radius: 20px; font-weight: bold; display: inline-block; }

/* ─── LEHKÝ (LAZY) EMBED YOUTUBE VIDEÍ — načte se jen náhled, iframe až po kliknutí ─── */
.bc-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.bc-video-item { display: flex; flex-direction: column; gap: 8px; }
.bc-video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.bc-video-embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-video-thumb-link { position: absolute; inset: 0; display: block; cursor: pointer; }
.bc-video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 42px; background: rgba(0,0,0,0.75); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6em; transition: background 0.2s ease, transform 0.2s ease; pointer-events: none; }
.bc-video-embed:hover .bc-video-play-btn { background: #ff0000; transform: translate(-50%, -50%) scale(1.08); }
.bc-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bc-video-caption { font-size: 0.85em; font-weight: 700; color: #1f2937; text-align: center; }

@media screen and (max-width: 767px) {
  .bc-video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media screen and (max-width: 480px) {
  .bc-video-grid { grid-template-columns: 1fr; }
}

/* ─── DROBNÁ POZNÁMKA POD MŘÍŽKOU (např. hvězdičkové vysvětlení) ─── */
.bc-caption-note { font-size: 0.85em; color: #666; margin-top: -5px; padding-left: 5px; }

/* ─── DŮVĚRYHODNOSTNÍ PATIČKA SEKCE (řemeslo, servis na pobočce) ─── */
.bc-trust-footer { margin: 40px 0 20px 0; padding-top: 20px; border-top: 1px solid #eee; text-align: center; font-size: 0.95em; color: #666; }

/* ─── ELEGANTNÍ KLIKACÍ FAQ HARMONIKA — ČISTĚ HTML, BEZ JAVASCRIPTU ─── */
.bc-faq-container { margin: 25px 0 35px 0; font-family: Arial, sans-serif; }
details.bc-faq-item { background: #f4f7ff; border: 1px solid #e0e7ff; border-radius: 8px; margin-bottom: 12px; overflow: hidden; transition: all 0.2s ease; }
details.bc-faq-item[open] { border-color: #4f63d2; box-shadow: 0 4px 12px rgba(79, 99, 210, 0.08); background: #ffffff; }
summary.bc-faq-question { list-style: none; font-weight: 700; color: #1f2937; padding: 16px 40px 16px 20px; cursor: pointer; position: relative; font-size: 1em; line-height: 1.4; }
summary.bc-faq-question::-webkit-details-marker { display: none; }
summary.bc-faq-question::marker { content: ""; }
summary.bc-faq-question:hover { color: #4f63d2; }
summary.bc-faq-question::after { content: "▼"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #cc9900; font-size: 0.8em; transition: transform 0.2s ease; }
details.bc-faq-item[open] summary.bc-faq-question { color: #4f63d2; }
details.bc-faq-item[open] summary.bc-faq-question::after { transform: translateY(-50%) rotate(180deg); color: #4f63d2; }
.bc-faq-answer { padding: 14px 20px 18px 20px; font-size: 0.95em; line-height: 1.6; color: #333; border-top: 1px solid #e0e7ff; background: #ffffff; }

/* ─── AUTORSKÝ E-E-A-T BOX (Lukáš Blecha) ─── */
.bc-author-box { display: flex; align-items: center; gap: 18px; background: #f4f7ff; border: 1px solid #e0e7ff; border-radius: 10px; padding: 20px 24px; margin: 35px 0 25px 0; }
.bc-author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bc-author-box p { margin: 0; font-size: 0.95em; line-height: 1.6; }

/* ─── MOBILNÍ ZOBRAZENÍ MŘÍŽKY KARET A INFO-FLEXU (jeden sloupec) ─── */
@media screen and (max-width: 767px) {
  .bc-grid { grid-template-columns: 1fr; gap: 8px; }
  .bc-card.bc-span-2 { grid-column: span 1; }
  .bc-card { padding: 12px 14px; }
  .bc-card-icon { width: 36px; height: 36px; font-size: 1.25em; margin-right: 12px; }
  .bc-card-text { font-size: 0.9em; }
  .bc-card-muted { font-size: 0.82em; }
  .bc-author-box { flex-direction: column; text-align: center; }
}
