/* Ebook landing — premium, standalone */
*, *::before, *::after { box-sizing: border-box; }

.page-ebook {
  --blue: #6FAFCF;
  --blue-dark: #5a9fbf;
  --blue-hero: #6FAFCF;
  --blue-soft: rgba(111, 175, 207, 0.14);
  --gold: #e5a020;
  --gold-dark: #c8870a;
  --gold-soft: #fef6e6;
  --cream: #faf8f5;
  --ink: #1F1F1F;
  --muted: rgba(31, 31, 31, 0.62);
  --line: rgba(31, 31, 31, 0.09);
  --shadow: 0 4px 24px rgba(31, 31, 31, 0.06);
  --shadow-lg: 0 16px 48px rgba(111, 175, 207, 0.18);
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.page-ebook img { max-width: 100%; height: auto; display: block; }
.page-ebook a { color: inherit; text-decoration: none; }
.page-ebook h1,
.page-ebook h2,
.page-ebook h3,
.page-ebook h4 { font-family: var(--font); font-weight: 600; }

.eb-wrap {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 20px;
}

.eb-narrow { max-width: 640px; margin-inline: auto; }

/* Header — jak pływający pasek na stronie głównej */
.eb-chrome {
  position: relative;
  z-index: 200;
  padding: 10px 0 0;
  background: #fff;
}

.eb-header {
  position: sticky;
  top: 8px;
  z-index: 200;
  background: transparent;
  border: none;
  backdrop-filter: none;
}

.eb-header-shell { padding-inline: clamp(12px, 3vw, 20px); }

.eb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px clamp(18px, 3vw, 28px);
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(111, 175, 207, 0.22);
  box-shadow:
    0 4px 8px rgba(31, 31, 31, 0.03),
    0 18px 44px rgba(111, 175, 207, 0.14);
}

.eb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.eb-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.eb-logo-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.eb-logo-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Przyciski */
.eb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0b429 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(229, 160, 32, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.eb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(229, 160, 32, 0.5);
}

.eb-btn--header { min-height: 40px; padding: 0 18px; font-size: 13px; }
.eb-btn--sticky { min-height: 44px; padding: 0 22px; font-size: 14px; white-space: nowrap; }

.eb-btn--cta {
  display: inline-flex;
  width: 100%;
  max-width: 400px;
  min-height: 56px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(111, 175, 207, 0.45);
  text-shadow: none;
  font-size: 16px;
  text-align: center;
}

.eb-btn--cta:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 32px rgba(111, 175, 207, 0.5);
}

.eb-btn--blue {
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(111, 175, 207, 0.35);
  text-shadow: none;
}

.eb-btn--blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(111, 175, 207, 0.4);
}

.eb-btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: none;
  text-shadow: none;
}

.eb-btn--ghost:hover {
  background: rgba(111, 175, 207, 0.08);
  transform: none;
  box-shadow: none;
}

.eb-buy form { margin: 0; }
.eb-buy .eb-btn { width: 100%; min-height: 54px; font-size: 16px; }
.eb-pay-note { margin: 10px 0 0; font-size: 11px; color: var(--muted); text-align: center; }
.eb-buy-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.eb-warn { font-size: 13px; padding: 12px; background: #fff8e6; border-radius: 8px; }
.eb-warn--paused { background: #eef4f8; border: 1px solid #c8dde9; color: #52606d; }
.eb-warn--paused a { color: #4a90a8; font-weight: 600; }

/* Badge */
.eb-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eb-badge--gold {
  background: linear-gradient(135deg, #f0b429, var(--gold));
  color: #fff;
  box-shadow: 0 2px 12px rgba(229, 160, 32, 0.4);
}

.eb-badge--block { display: block; text-align: center; width: fit-content; margin-inline: auto; }

/* HERO — jak strona główna: białe tło, delikatne plamy */
.eb-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(0.5rem, 2vw, 1.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: #fff;
  color: var(--ink);
}

.eb-hero-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.eb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: ebOrbFloat 14s ease-in-out infinite;
}

.eb-orb-1 {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: 6%;
  left: -8%;
  background: radial-gradient(circle, rgba(111, 175, 207, 0.32) 0%, transparent 70%);
}

.eb-orb-2 {
  width: min(34vw, 340px);
  height: min(34vw, 340px);
  bottom: 8%;
  right: -6%;
  background: radial-gradient(circle, rgba(111, 175, 207, 0.24) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes ebOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(16px, -20px) scale(1.04); }
  66% { transform: translate(-12px, 14px) scale(0.97); }
}

.eb-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.eb-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.eb-hero-copy {
  max-width: 540px;
}

.eb-hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
  text-shadow: none;
}

.eb-accent { color: var(--blue); }

.eb-hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.eb-hero-lead {
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 32em;
}

.eb-hero-facts {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.eb-hero-facts li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.eb-hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.eb-hero-facts strong { font-weight: 600; }

.eb-hero-buy {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: 380px;
  box-shadow: none;
}

.eb-hero-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.eb-hero-price-was {
  font-size: 18px;
  color: var(--muted);
}

.eb-hero-price-now {
  font-size: clamp(2rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.eb-hero-price-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.eb-hero-buy .eb-btn {
  width: 100%;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(111, 175, 207, 0.35);
  text-shadow: none;
}

.eb-hero-buy .eb-btn:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(111, 175, 207, 0.4);
}

.eb-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.eb-book-img {
  width: min(72vw, 250px);
  margin-inline: auto;
  border-radius: 6px;
  box-shadow:
    0 20px 50px rgba(111, 175, 207, 0.22),
    0 8px 24px rgba(31, 31, 31, 0.08);
}

/* Pasek pod hero — jak hero-highlights na stronie głównej */
.eb-highlights {
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 2.75rem);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.eb-highlights-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.eb-highlight {
  font-size: clamp(13px, 1.1vw, 14.5px);
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  padding: 1rem 1.1rem;
  background: rgba(111, 175, 207, 0.1);
  border: 1px solid rgba(111, 175, 207, 0.18);
  border-radius: 18px;
}

/* Sekcje + panele */
.eb-section { padding: 56px 0; }
.eb-section--alt { background: #fff; }
.eb-section--quote { padding: 48px 0; background: var(--blue-soft); }

.eb-panel {
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 5vw, 40px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.eb-panel--preview { padding-bottom: clamp(32px, 6vw, 48px); }

.eb-panel-head { margin-bottom: 28px; }
.eb-panel-head--center { text-align: center; max-width: 520px; margin-inline: auto; margin-bottom: 32px; }

.eb-panel-foot {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.eb-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 8px;
}

.eb-title {
  font-family: var(--font);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.eb-title--sm { font-size: 1.35rem; }
.eb-title--light { color: #fff; }

.eb-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 10px 0 0;
}

.eb-desc--light { color: rgba(255, 255, 255, 0.88); }

/* Sekcja empatii — dla mam */
.eb-section--empathy {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}

.eb-empathy {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.eb-empathy-head {
  max-width: 680px;
}

.eb-empathy-head .eb-title {
  font-size: clamp(1.65rem, 3.8vw, 2.25rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.eb-empathy-lead {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 38em;
}

.eb-moments {
  display: grid;
  gap: 14px;
}

.eb-moment {
  position: relative;
  background: #fff;
  border: 1px solid rgba(111, 175, 207, 0.2);
  border-radius: 20px;
  padding: 22px 22px 22px 28px;
  box-shadow: 0 4px 20px rgba(31, 31, 31, 0.04);
}

.eb-moment-mark {
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  opacity: 0.22;
  pointer-events: none;
}

.eb-moment blockquote {
  margin: 0 0 8px;
  padding: 0;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.eb-moment p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.eb-empathy-bridge {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(111, 175, 207, 0.24);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 32px);
  box-shadow:
    0 4px 8px rgba(31, 31, 31, 0.03),
    0 20px 44px rgba(111, 175, 207, 0.12);
}

.eb-empathy-photo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center center;
  border: 3px solid rgba(111, 175, 207, 0.35);
  flex-shrink: 0;
}

.eb-empathy-bridge-lead {
  margin: 0 0 16px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  color: var(--ink);
  font-weight: 500;
}

.eb-empathy-bridge-lead strong { font-weight: 600; color: var(--blue-dark); }

.eb-empathy-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: left;
}

.eb-empathy-points li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.eb-empathy-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 2px solid var(--blue);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .eb-moments {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }

  .eb-moment {
    display: flex;
    flex-direction: column;
    padding-top: 28px;
  }

  .eb-empathy-bridge {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 22px;
  }

  .eb-empathy-photo { margin-top: 4px; }
}

@media (max-width: 767px) {
  .eb-moments .eb-moment + .eb-moment {
    margin-top: 0;
  }

  .eb-empathy-photo {
    width: 92px;
    height: 92px;
    border-width: 4px;
  }
}

/* Karty emocji — legacy (inne sekcje) */
.eb-cards { display: grid; gap: 14px; }

.eb-card {
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.eb-card--pain {
  background: linear-gradient(135deg, var(--blue-soft) 0%, #fff 100%);
  border: 1px solid rgba(90, 159, 191, 0.2);
}

.eb-card strong { color: var(--ink); }

.eb-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}

/* Podgląd — 3 karty poziomo + lightbox */
.eb-section--preview {
  background: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.eb-preview-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
}

.eb-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 20px);
  align-items: stretch;
}

.eb-preview-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(111, 175, 207, 0.22);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(31, 31, 31, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eb-preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 175, 207, 0.38);
  box-shadow: 0 14px 40px rgba(111, 175, 207, 0.16);
}

.eb-preview-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 14px 18px;
  border: none;
  background: linear-gradient(165deg, #f8f5f0 0%, #ebe6de 100%);
  cursor: zoom-in;
  aspect-ratio: 595 / 842;
  overflow: hidden;
}

.eb-preview-page {
  display: flex;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px rgba(31, 31, 31, 0.14);
  overflow: hidden;
}

.eb-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.eb-preview-card:hover .eb-preview-thumb img {
  transform: scale(1.05);
}

.eb-preview-zoom-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(31, 31, 31, 0.42);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.eb-preview-card:hover .eb-preview-zoom-ui,
.eb-preview-thumb:focus-visible .eb-preview-zoom-ui {
  opacity: 1;
}

.eb-preview-thumb:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.eb-preview-card-body {
  flex: 1;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eb-preview-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.eb-preview-card-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.eb-preview-card-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 900px) {
  .eb-preview-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-inline: auto;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .eb-preview-card-body { padding: 16px; }
  .eb-preview-card-body h3 { font-size: 0.95rem; }
  .eb-preview-card-body p { font-size: 12px; }
}

/* Lightbox */
.eb-lightbox {
  width: min(94vw, 680px);
  max-height: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.eb-lightbox::backdrop {
  background: rgba(15, 22, 28, 0.88);
  backdrop-filter: blur(6px);
}

.eb-lightbox-frame {
  background: linear-gradient(165deg, #f8f5f0 0%, #ebe6de 100%);
  padding: clamp(18px, 3.5vw, 28px);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.eb-lightbox-img {
  width: 100%;
  height: auto;
  max-height: calc(92vh - 56px);
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 10px 32px rgba(31, 31, 31, 0.2);
  background: #fff;
}

.eb-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.eb-lightbox-close:hover { background: var(--gold-soft); }

/* Zawartość — co dostajesz */
.eb-section--includes {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 55%, var(--cream) 100%);
}

.eb-includes-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
}

.eb-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
}

.eb-include {
  background: #fff;
  border: 1px solid rgba(111, 175, 207, 0.18);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 28px) clamp(18px, 2.5vw, 22px);
  text-align: center;
  box-shadow: 0 4px 20px rgba(31, 31, 31, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eb-include:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 175, 207, 0.34);
  box-shadow: 0 14px 36px rgba(111, 175, 207, 0.12);
}

.eb-include-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: rgba(111, 175, 207, 0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.eb-include:hover .eb-include-icon {
  transform: scale(1.06);
  background: rgba(111, 175, 207, 0.18);
}

.eb-include-icon svg {
  width: 26px;
  height: 26px;
}

.eb-include h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.eb-include p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 900px) {
  .eb-includes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .eb-includes-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* Quote */
.eb-quote {
  margin: 0;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.eb-quote p {
  font-family: var(--font);
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 16px;
  color: var(--blue-dark);
}

.eb-quote footer {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.eb-quote em { font-style: normal; font-weight: 600; color: var(--ink); }

/* Autor + cena */
.eb-section--buy {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: #fff;
}

.eb-buy-block {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.5rem);
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(111, 175, 207, 0.2);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 28px);
  box-shadow: 0 8px 32px rgba(111, 175, 207, 0.1);
  overflow: hidden;
}

.eb-buy-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(111, 175, 207, 0.1) 0%, rgba(111, 175, 207, 0.03) 100%);
  border-radius: 18px;
  padding: clamp(12px, 2vw, 16px) clamp(12px, 2vw, 16px) clamp(12px, 2vw, 16px);
}

.eb-buy-photo-wrap {
  width: 100%;
  max-width: min(100%, 300px);
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 18px);
  line-height: 0;
  box-shadow: 0 8px 24px rgba(111, 175, 207, 0.15);
}

.eb-buy-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.eb-buy-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  min-height: 0;
}

.eb-buy-author .eb-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.eb-buy-lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 36em;
}

.eb-author-tags {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb-author-tags li {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.eb-buy-price {
  background: linear-gradient(180deg, #fff 0%, rgba(111, 175, 207, 0.06) 100%);
  border: 1px solid rgba(111, 175, 207, 0.22);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 26px);
}

.eb-buy-launch {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.eb-price-label {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}

.eb-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.eb-price-was {
  font-size: 20px;
  color: var(--muted);
  text-decoration: line-through;
}

.eb-price-big {
  font-family: var(--font);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.eb-price-includes {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.eb-price-includes li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.eb-price-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 2px solid var(--blue);
  box-sizing: border-box;
}

.eb-price-vs {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.eb-buy-price .eb-btn {
  width: 100%;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(111, 175, 207, 0.35);
  text-shadow: none;
}

.eb-buy-price .eb-btn:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(111, 175, 207, 0.4);
}

@media (min-width: 900px) {
  .eb-buy-block {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 0;
    padding: 0;
    align-items: start;
  }

  .eb-buy-visual {
    border-radius: 0;
    padding: clamp(28px, 3.5vw, 40px) clamp(14px, 1.8vw, 22px) clamp(28px, 3.5vw, 40px);
  }

  .eb-buy-content {
    padding: clamp(28px, 3.5vw, 40px) clamp(28px, 3.5vw, 40px) clamp(28px, 3.5vw, 40px) clamp(20px, 2.5vw, 28px);
  }

  .eb-buy-photo-wrap {
    max-width: min(100%, 340px);
  }
}

@media (max-width: 899px) {
  .eb-buy-photo-wrap {
    max-width: min(100%, 280px);
    margin-inline: auto;
  }
}

/* FAQ */
.eb-faq { display: grid; gap: 8px; }

.eb-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.eb-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  padding: 16px 18px;
  list-style: none;
}

.eb-faq-item summary::-webkit-details-marker { display: none; }

.eb-faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* Final CTA */
.eb-final {
  padding: clamp(3rem, 7vw, 4.5rem) 0 calc(clamp(3rem, 7vw, 4.5rem) + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--cream) 0%, rgba(111, 175, 207, 0.14) 100%);
}

.eb-final-card {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: center;
  background: #fff;
  border: 1px solid rgba(111, 175, 207, 0.28);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow:
    0 8px 16px rgba(31, 31, 31, 0.04),
    0 24px 64px rgba(111, 175, 207, 0.22);
}

.eb-final-visual {
  position: relative;
  flex-shrink: 0;
  width: min(100%, 158px);
  margin-inline: auto;
  padding-top: 6px;
}

.eb-final-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(31, 31, 31, 0.22);
}

.eb-final-badge {
  position: absolute;
  top: 0;
  right: -4px;
  left: auto;
  z-index: 1;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(229, 160, 32, 0.45);
  white-space: nowrap;
}

.eb-final-copy {
  min-width: 0;
}

.eb-final-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.eb-final-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eb-final-lead {
  margin: 0 0 18px;
  font-size: clamp(0.98rem, 1.35vw, 1.05rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 34em;
}

.eb-final-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.eb-final-price-was {
  font-size: 20px;
  color: var(--muted);
}

.eb-final-price-now {
  font-size: clamp(2.2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.eb-final-price-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
}

.eb-final-perks {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.eb-final-perks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

.eb-final-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(111, 175, 207, 0.25);
}

.eb-buy--final {
  margin-top: 4px;
}

.eb-buy--final .eb-btn,
.eb-buy--final .eb-btn--cta {
  width: 100%;
  max-width: none;
}

.eb-pay-note--final {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}

.eb-buy--final .eb-buy-note {
  text-align: left;
  margin-top: 8px;
}

/* Sticky */
.eb-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}

.eb-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.eb-sticky-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.eb-sticky-text strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eb-sticky-text span { font-size: 12px; color: var(--muted); }

.eb-footer {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--cream);
}

.eb-footer a { color: var(--blue-dark); }
.eb-footer a:hover { text-decoration: underline; }

/* Thanks page */
.page-ebook-thanks { background: var(--cream); min-height: 100vh; display: flex; flex-direction: column; }
.eb-thanks { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 20px; text-align: center; }
.eb-thanks h1 { font-family: var(--font); font-size: 1.75rem; margin: 0 0 12px; }
.eb-thanks p { color: var(--muted); line-height: 1.65; max-width: 28em; margin: 0 auto 20px; }

/* Desktop */
@media (min-width: 768px) {
  .eb-book-img { width: min(280px, 32vw); }

  .eb-cards--3 { grid-template-columns: repeat(3, 1fr); }

  .eb-final-card {
    grid-template-columns: 158px minmax(0, 1fr);
    gap: clamp(2rem, 3.5vw, 2.75rem);
    padding: clamp(28px, 3.5vw, 40px);
    align-items: center;
  }

  .eb-final-visual {
    width: 158px;
    margin-inline: 0;
  }
}

@media (max-width: 767px) {
  .eb-sticky { display: block; }
  .eb-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 960px) {
  .eb-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
  }

  .eb-hero-visual {
    order: 1;
    padding-bottom: 1.5rem;
  }

  .eb-hero-copy {
    order: 2;
    max-width: none;
    text-align: center;
  }

  .eb-hero-lead { margin-inline: auto; }

  .eb-hero-facts {
    max-width: 340px;
    margin-inline: auto;
    text-align: left;
  }

  .eb-hero-buy { margin-inline: auto; }

  .eb-highlights-inner {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .eb-logo-sub { display: none; }
  .eb-header-inner { padding: 8px 14px; }
}

@media (min-width: 900px) {
  .eb-hero-copy h1 { max-width: 13ch; }
}

@media (prefers-reduced-motion: reduce) {
  .eb-orb { animation: none; }
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #dbe7ef;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 16px 48px rgba(31, 31, 31, 0.14);
}
.cookie-banner p {
  flex: 1 1 220px;
  font-size: 13px;
  line-height: 1.6;
  color: #52606d;
  margin: 0;
}
.cookie-banner a { color: #6fafcf; font-weight: 600; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-accept {
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 11px 20px;
  font-size: 13px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-family: inherit;
}
.cookie-reject {
  border: 1px solid #dbe7ef;
  background: #fff;
  color: #52606d;
  cursor: pointer;
  white-space: nowrap;
  padding: 11px 16px;
  font-size: 13px;
  border-radius: 999px;
  font-family: inherit;
}
@media (max-width: 900px) {
  .cookie-banner { bottom: 78px; left: 12px; right: 12px; }
}
