/* E-POUKAZ v1 (ep-v1.css), karta produktu Elektronický dárkový poukaz. Platí jen pro .ep-top (krátký popis) a .ep (podrobný popis). Barvy a rytmus shodné s Bedrohřejem / Bedropásem. */

/* ---------- Krátký popis ---------- */
.ep-top { line-height: 1.55; }
.ep-top p { margin: 0 0 10px; font-size: 16px; }
.ep-top .ep-facts { margin: 0 0 14px; padding: 0; list-style: none; }
.ep-top .ep-facts li { position: relative; padding-left: 28px; margin: 6px 0; }
.ep-top .ep-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; }
.ep-top .ep-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 14px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 13px; }
.ep-top .ep-icons li { display: flex; align-items: center; gap: 8px; }
.ep-top .ep-icons img { width: 44px; height: 44px; border: 0; box-shadow: none; }
.ep-top .ep-small { font-size: 13px; color: #666; }
.ep-top a { color: #5c4a8a; text-decoration: underline; text-underline-offset: 3px; }

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

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

/* Panely */
.ep .ep-panel { background: #f8f5fc; border-radius: 18px; padding: 24px !important; }
.ep .ep-beige { background: #f5efe6; border-radius: 18px; padding: 24px !important; }
.ep .ep-panel > :last-child, .ep .ep-beige > :last-child, .ep .ep-box > :last-child { margin-bottom: 0 !important; }
.ep .ep-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ep .ep-box { background: #fff; border: 1px solid #e3ddec; border-radius: 14px; padding: 18px 20px; min-width: 0; }
.ep .ep-box p { margin: 0; }
.ep .ep-note { margin: 14px 0 0 !important; }
.ep .ep-btn { display: inline-block; background: #5c4a8a; color: #fff !important; text-decoration: none !important; font-weight: 700; padding: 13px 24px; border-radius: 999px; }
.ep .ep-btn:hover { background: #4a3a72; }

/* Jak to funguje: 4 kroky */
.ep .ep-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ep .ep-step { background: #fff; border: 1px solid #e3ddec; border-radius: 14px; padding: 18px 16px 16px; min-width: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.ep .ep-step:hover { transform: scale(1.04); box-shadow: 0 10px 26px rgba(92,74,138,.14); }
.ep .ep-step b { width: 30px; height: 30px; border-radius: 50%; background: #5c4a8a; color: #fff; display: grid; place-items: center; font-size: 14px; margin-bottom: 10px; }
.ep .ep-step strong { display: block; color: #5c4a8a; margin-bottom: 4px; }
.ep .ep-step p { margin: 0; font-size: 15px; }
.ep .ep-step.ep-hl { border-color: #8F81BC; box-shadow: 0 0 0 3px #efe9f7; }

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

/* Uplatnění: ukázkový kód */
.ep .ep-code { display: inline-block; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; background: #fff; border: 1px dashed #8F81BC; border-radius: 8px; padding: 2px 10px; color: #5c4a8a; letter-spacing: .04em; }

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

/* Tištěný poukaz */
.ep .ep-gift { display: flex; align-items: center; gap: 20px; background: #f8f5fc; border-radius: 18px; padding: 20px 24px !important; }
.ep .ep-gift .ep-gift-ico { width: 96px; height: 96px; flex: 0 0 96px; margin: 0; }
.ep .ep-gift h2 { margin-bottom: 8px; }
.ep .ep-gift p { margin: 0 0 12px; }

/* Podmínky */
.ep .ep-terms { margin-top: 36px; font-size: 14px; color: #6f6680; }
.ep .ep-terms ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 28px; }
.ep .ep-terms li { break-inside: avoid; margin-bottom: 6px; }

@media (max-width: 760px) {
  .ep-top .ep-icons { grid-template-columns: 1fr; }
  .ep h2 { font-size: 23px !important; }
  .ep .ep-panel, .ep .ep-beige { padding: 16px !important; }
  .ep .ep-g2, .ep .ep-who, .ep .ep-faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .ep .ep-steps { grid-template-columns: 1fr 1fr; }
  .ep .ep-terms ol { columns: 1; }
  .ep .ep-gift { flex-direction: column; align-items: flex-start; }
  .ep .ep-div { margin: 26px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ep .ep-step, .ep .ep-q summary::after { transition: none; }
}
