/* BEDROPÁS v2, karta produktu. Platí jen pro .bps-top (krátký popis) a .bps (podrobný popis). Barvy a rytmus shodné s Bedrohřejem v9. */

/* ---------- Krátký popis ---------- */
.bps-top { line-height: 1.55; }
.bps-top p { margin: 0 0 10px; font-size: 16px; }
.bps-top .bps-facts { margin: 0 0 14px; padding: 0; list-style: none; }
.bps-top .bps-facts li { position: relative; padding-left: 28px; margin: 6px 0; }
.bps-top .bps-facts li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #8F81BC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat; }
.bps-top .bps-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 14px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 13px; }
.bps-top .bps-icons li { display: flex; align-items: center; gap: 8px; }
.bps-top .bps-icons img { width: 44px; height: 44px; }
.bps-top .bps-small { font-size: 13px; color: #666; }
.bps-top a { color: #5c4a8a; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Podrobný popis ---------- */
.bps { max-width: 1100px; margin: 0 auto; line-height: 1.6; color: #222; }
.bps h2 { margin: 0 0 14px; font-size: 26px !important; line-height: 1.2; color: #8F81BC; }
.bps h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: #8F81BC; }
.bps p { margin: 0 0 10px; }
.bps a { color: #5c4a8a; text-decoration: underline; text-underline-offset: 3px; }
.bps .bps-small { font-size: 14px; color: #6f6680; margin: -4px 0 12px; }
.bps .bps-sec { padding: 0 !important; position: relative; }
.bps figure { margin: 0 !important; }

/* Oddělovač s větvičkou */
.bps .bps-div { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 36px 0; }
.bps .bps-div span { display: block; width: 220px; max-width: 30%; height: 1px; background: #e3ddec; }
.bps .bps-div img { height: 28px; width: auto; display: block; }

/* Panely */
.bps .bps-panel { background: #f8f5fc; border-radius: 18px; padding: 24px !important; }
.bps .bps-beige { background: #f5efe6; border-radius: 18px; padding: 24px !important; }
.bps .bps-panel > :last-child, .bps .bps-beige > :last-child, .bps .bps-box > :last-child, .bps .bps-row > div > :last-child { margin-bottom: 0 !important; }
.bps .bps-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bps .bps-boxes { margin-bottom: 24px; align-items: stretch; }
.bps .bps-box { background: #fff; border: 1px solid #e3ddec; border-radius: 14px; padding: 18px 20px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.bps .bps-box:hover { transform: scale(1.05); box-shadow: 0 10px 26px rgba(92,74,138,.14); }
.bps .bps-box p { margin: 0; }
.bps .bps-btn { display: inline-block; background: #5c4a8a; color: #fff !important; text-decoration: none !important; font-weight: 700; padding: 13px 24px; border-radius: 999px; }
.bps .bps-btn:hover { background: #4a3a72; }
.bps .bps-btn-sm { padding: 10px 18px; font-size: 14px; }

/* Ohlasy: 4 karty, posun po 6 s */
.bps .bps-car { overflow: hidden; }
.bps .bps-track { display: flex; gap: 16px; }
.bps .bps-track.bps-anim { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.bps .bps-rev { flex: 0 0 calc((100% - 48px) / 4); background: #fff; border: 1px solid #e3ddec; border-radius: 14px; padding: 18px 18px 16px; display: grid; gap: 6px; align-content: start; }
.bps .bps-rev .bps-st { color: #8F81BC; letter-spacing: 2px; font-size: 14px; }
.bps .bps-rev p { font-style: italic; font-size: 15px; margin: 0; }
.bps .bps-rev cite { font-style: normal; font-size: 13px; color: #666; }

/* Velikosti: postavičky S / M / XXL */
.bps .bps-sizes { display: grid; gap: 22px; background: #f4eef9; }
.bps .bps-sizes-head { text-align: center; max-width: 62ch; margin: 0 auto; }
.bps .bps-sizes-head p { color: #6f6680; }
.bps .bps-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.bps .bps-fig { background: none; border: 0; padding: 10px 6px 0; cursor: pointer; display: grid; justify-items: center; gap: 4px; border-radius: 14px; font: inherit; color: inherit; opacity: .42; filter: saturate(.15); transition: opacity .45s, filter .45s, transform .45s cubic-bezier(.2,.7,.2,1); }
.bps .bps-fig.bps-on { opacity: 1; filter: none; transform: translateY(-8px); }
.bps .bps-fig img { width: min(100%, 210px); height: auto; display: block; border: 0; box-shadow: none; }
.bps .bps-fig.bps-on img { animation: bps-breathe 3.2s ease-in-out infinite; }
.bps .bps-fig .bps-lab { font-weight: 700; font-size: 20px; color: #5c4a8a; line-height: 1.15; text-align: center; }
.bps .bps-fig .bps-lab small { display: block; font-weight: 400; font-size: 13px; color: #6f6680; }
@keyframes bps-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.bps .bps-szbtns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bps .bps-szbtn { border: 1px solid #e3ddec; background: #fff; color: #222; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; cursor: pointer; transition: .25s; }
.bps .bps-szbtn.bps-on { border-color: #8F81BC; background: #efe9f7; color: #5c4a8a; }
.bps .bps-readout { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid #e3ddec; border-radius: 14px; padding: 18px 22px; }
.bps .bps-readout .bps-big { font-weight: 800; font-size: clamp(40px, 6vw, 60px); line-height: 1; color: #8F81BC; min-width: 3ch; }
.bps .bps-readout .bps-cm { font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); font-variant-numeric: tabular-nums; }
.bps .bps-readout .bps-cm span { color: #5c4a8a; }
.bps .bps-readout .bps-desc { color: #6f6680; font-size: 14px; margin: 4px 0 0; }
.bps .bps-tape { height: 12px; border-radius: 999px; background: #f8f5fc; border: 1px solid #e3ddec; position: relative; overflow: hidden; margin-top: 10px; }
.bps .bps-tape .bps-tape-fill { position: absolute; left: 0; top: 0; bottom: 0; height: 100%; width: 40%; display: block; background: #8F81BC; border-radius: 999px; transition: width .6s cubic-bezier(.2,.7,.2,1); z-index: 1; }
.bps .bps-tape::after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 9%, rgba(92,74,138,.18) 9% 10%); }
.bps .bps-tape-scale { display: flex; justify-content: space-between; font-size: 11px; color: #9a94a8; font-variant-numeric: tabular-nums; margin-top: 4px; }
.bps .bps-sizes-foot { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.bps .bps-sizes-foot .bps-small { margin: 0; }
.bps .bps-video { display: flex; align-items: center; gap: 14px; justify-self: end; background: #fff; border: 1px solid #e3ddec; border-radius: 14px; padding: 12px 18px 12px 12px; text-decoration: none !important; color: #222 !important; font-weight: 700; font-size: 15px; line-height: 1.3; transition: border-color .2s, box-shadow .2s; }
.bps .bps-video:hover { border-color: #8F81BC; box-shadow: 0 6px 18px rgba(92,74,138,.12); }
.bps .bps-video .bps-yt { flex: 0 0 56px; width: 56px; height: 40px; border-radius: 10px; background: #ff0033; position: relative; }
.bps .bps-video .bps-yt::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent #fff; }
.bps .bps-video small { display: block; font-weight: 400; font-size: 13px; color: #6f6680; }

/* Dílna: fotka 300 px, pět tváří v jednom okně, střídání po 4 s */
.bps .bps-row { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; }
.bps .bps-row > div { min-width: 0; }
.bps .bps-row p { margin-bottom: 8px; }
.bps .bps-fig-ph { width: 300px; max-width: 100%; }
.bps .bps-crop { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 1 / 1; position: relative; }
.bps .bps-crop .bps-rot-img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; border: 0; box-shadow: none; opacity: 0; transition: opacity .8s ease; }
.bps .bps-crop .bps-rot-img.bps-on { opacity: 1; }
.bps .bps-cap { display: block; font-size: 14px; font-style: italic !important; text-align: center !important; margin-top: 6px; color: #6f6680; }
.bps .bps-cite { margin: 12px 0 0 !important; padding: 14px 18px !important; background: #fff; border: 1px solid #e3ddec; border-left: 4px solid #8F81BC; border-radius: 14px; quotes: none; }
.bps .bps-cite::before, .bps .bps-cite::after { content: none !important; }
.bps .bps-cite p { margin: 0 0 6px; font-style: italic; font-size: 15px; line-height: 1.6; }
.bps .bps-cite footer { font-size: 13px; color: #6f6680; }

/* Proč: kroky a fotka */
.bps .bps-steps { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.bps .bps-step { display: flex; align-items: center; gap: 8px; background: #efe9f7; color: #5c4a8a; border-radius: 999px; padding: 7px 14px 7px 8px; font-weight: 700; font-size: 15px; }
.bps .bps-step b { width: 24px; height: 24px; border-radius: 50%; background: #5c4a8a; color: #fff; display: grid; place-items: center; font-size: 13px; }
.bps .bps-photo { width: 300px !important; height: 300px !important; max-width: 100% !important; object-fit: cover !important; border-radius: 14px !important; display: block; margin: 0 !important; border: 0; box-shadow: none; }

/* Pro koho */
.bps .bps-who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bps .bps-who-item { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3ddec; border-radius: 14px; padding: 10px 12px; font-size: 14px; line-height: 1.4; color: #222; }
.bps .bps-who-item .bps-ico { width: 48px; height: 48px; flex: 0 0 48px; margin: 0; border: 0; }
.bps .bps-who-item b { color: #5c4a8a; }

/* Doplňky: Bedrohřej velký, modrý pás úzký */
.bps .bps-compact { display: grid !important; grid-template-columns: 300px 1fr !important; gap: 24px !important; align-items: center !important; }
.bps .bps-compact .bps-photo { height: 225px !important; }
.bps .bps-compact h2 { margin-bottom: 8px; }
.bps .bps-compact p { margin-bottom: 14px !important; }
.bps .bps-gift { display: flex; align-items: center; gap: 20px; background: #f8f5fc; border-radius: 18px; padding: 20px 24px; margin-top: 24px; }
.bps .bps-gift img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; flex: 0 0 140px; border: 0; box-shadow: none; }
.bps .bps-gift p { margin: 0 0 10px; }

/* FAQ */
.bps .bps-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; }
.bps .bps-q { border-top: 1px solid #e3ddec; padding: 12px 0; background: transparent; }
.bps .bps-faq-col .bps-q:last-of-type { border-bottom: 0; }
.bps .bps-q summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bps .bps-q summary::-webkit-details-marker { display: none; }
.bps .bps-q summary::after { content: "+"; font-weight: 400; color: #7c5496; font-size: 24px; line-height: 1; transition: transform .3s ease; }
.bps .bps-q[open] summary::after { transform: rotate(45deg); }
.bps .bps-q p { margin: 10px 0 0; }

/* Složení */
.bps .bps-comp { font-size: 15px; line-height: 1.8; }
.bps .bps-comp p { margin: 0; }

/* Plovoucí tlačítko (stejné jako Bedrohřej) */
.bps-sticky { position: fixed; left: 24px; bottom: 24px; z-index: 900; background: #5c4a8a; color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 15px; padding: 14px 22px; border-radius: 999px; box-shadow: 0 8px 24px rgba(60,40,100,.28); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .2s ease; }
.bps-sticky.bps-sticky-on { opacity: 1; transform: none; pointer-events: auto; }
.bps-sticky:hover { background: #4a3a72; }

/* Vyplavání bloků */
.bps .bps-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.bps .bps-reveal.bps-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .bps-top .bps-icons { grid-template-columns: 1fr 1fr; }
  .bps h2 { font-size: 23px !important; }
  .bps .bps-panel, .bps .bps-beige { padding: 16px !important; }
  .bps .bps-g3, .bps .bps-row, .bps .bps-who, .bps .bps-faq-grid, .bps .bps-sizes-foot { grid-template-columns: 1fr; gap: 14px; }
  .bps .bps-compact { grid-template-columns: 1fr !important; gap: 14px !important; }
  .bps .bps-div { margin: 26px 0; }
  .bps .bps-rev { flex-basis: calc((100% - 16px) / 2); }
  .bps .bps-readout { grid-template-columns: 1fr; }
  .bps .bps-figs { gap: 4px; }
  .bps .bps-fig .bps-lab { font-size: 16px; }
  .bps .bps-fig-ph { width: 100%; }
  .bps .bps-crop { aspect-ratio: 4 / 3; }
  .bps .bps-photo { width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; }
  .bps .bps-gift { flex-direction: column; align-items: flex-start; }
  .bps-sticky { left: 16px; right: 16px; bottom: 16px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bps .bps-fig, .bps .bps-tape .bps-tape-fill, .bps .bps-track, .bps .bps-box, .bps .bps-crop .bps-rot-img { transition: none; }
  .bps .bps-fig.bps-on img { animation: none; }
  .bps .bps-reveal { opacity: 1; transform: none; transition: none; }
}
