/* === From Nature — custom bloky pro popis produktu ============================
   Prefix: fn-  (ať nic nekoliduje se šablonou e-shopu)
   Vše obalit do <div class="fn"> … </div>, jednotlivé bloky jsou nezávislé.
=============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@400;600;700;800&display=swap');

.fn,
.fn * {
  box-sizing: border-box;
  font-family: 'Dosis', 'Segoe UI', sans-serif;
}

.fn {
  color: #4a5e3a;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.fn h2 {
  margin: 0 0 14px;
  color: #253d1a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.fn p { margin: 0; font-size: 15px; line-height: 1.75; }

/* --- Eyebrow (malý titulek nad nadpisem) ----------------------------------- */
.fn-eyebrow {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 700;
  color: #84c461;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* --- Image + text row ------------------------------------------------------- */
.fn-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  padding: 32px;
  background: #f4faef;
  border-radius: 14px;
}
.fn-row--reverse { flex-direction: row-reverse; }

.fn-row > img {
  width: 44%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.fn-row > .fn-content { flex: 1; }

/* Alternativní pozadí — použij dle potřeby */
.fn-bg-1 { background: #f4faef; }
.fn-bg-2 { background: #edf7e5; }
.fn-bg-3 { background: #e6f2dc; }
.fn-bg-4 { background: #f8fbf5; }
.fn-bg-5 { background: #f0f8e8; }

/* --- Checkmark list (✓) ----------------------------------------------------- */
.fn-checks { list-style: none; margin: 0; padding: 0; }
.fn-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.55;
}
.fn-checks li::before {
  content: "✓";
  color: #84c461;
  font-size: 19px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Numbered steps (1,2,3 v zelené bublině) ------------------------------- */
.fn-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.fn-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  counter-increment: step;
}
.fn-steps li::before {
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #84c461;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fn-steps li p { padding-top: 6px; font-size: 15px; line-height: 1.6; }

/* --- Bullet list (•) -------------------------------------------------------- */
.fn-bullets { list-style: none; margin: 14px 0 0; padding: 0; }
.fn-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
}
.fn-bullets li::before {
  content: "•";
  color: #84c461;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Arrow list (→) --------------------------------------------------------- */
.fn-arrows { list-style: none; margin: 0; padding: 0; }
.fn-arrows li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.55;
}
.fn-arrows li::before {
  content: "→";
  color: #84c461;
  font-size: 19px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Ingredience (🌿 nadpis + popis) ---------------------------------------- */
.fn-ingredient { margin-bottom: 14px; }
.fn-ingredient-name {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: #5a9340;
}
.fn-ingredient-desc {
  margin: 0;
  font-size: 14px;
  color: #4a5e3a;
  line-height: 1.55;
}

/* --- Hero banner (centered, gradient pozadí) -------------------------------- */
.fn-hero {
  background: linear-gradient(135deg, #dff0d0 0%, #e6f2dc 100%);
  border-radius: 14px;
  padding: 48px 40px;
  text-align: center;
}
.fn-hero h2 { font-size: 26px; font-weight: 800; line-height: 1.25; margin: 0 0 16px; }
.fn-hero p { max-width: 580px; margin: 0 auto 28px; }

/* --- Pill badges (řada štítků pod heroem) ----------------------------------- */
.fn-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.fn-badges span {
  display: inline-block;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(132, 196, 97, 0.4);
  border-radius: 30px;
  color: #5a9340;
  font-size: 14px;
  font-weight: 600;
}

/* --- Tabulka (nutriční hodnoty apod.) --------------------------------------- */
.fn-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0;
}
.fn-table th {
  padding: 10px 14px;
  background: #84c461;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.fn-table th:last-child { text-align: right; }
.fn-table td {
  padding: 9px 14px;
  font-size: 14px;
  color: #4a5e3a;
}
.fn-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #253d1a;
}
.fn-table tbody tr:nth-child(odd) td { background: #f1f8eb; }
.fn-table tbody tr:nth-child(even) td { background: #fff; }
.fn-table tr.fn-sub td:first-child {
  padding-left: 26px;
  color: #6b7e5c;
}

/* --- Tags (zaoblené štítky uvnitř bloku) ----------------------------------- */
.fn-tags { margin-top: 14px; }
.fn-tags span {
  display: inline-block;
  background: rgba(132, 196, 97, 0.18);
  color: #5a9340;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 4px 6px 0 0;
}

/* --- Benefits grid 2×2 ------------------------------------------------------ */
.fn-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fn-benefit {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 4px solid #84c461;
}
.fn-benefit-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #5a9340;
}
.fn-benefit-desc {
  margin: 3px 0 0;
  font-size: 13px;
  color: #6b7e5c;
  line-height: 1.5;
}

/* --- Info grid karty (2 nebo 3 sloupce) ------------------------------------ */
.fn-info {
  background: #eef6e6;
  border-radius: 14px;
  padding: 28px;
}
.fn-info--alt { background: #edf7e5; }
.fn-info--light { background: #f8fbf5; }

.fn-info-grid {
  display: grid;
  gap: 14px;
}
.fn-info-grid--2 { grid-template-columns: 1fr 1fr; }
.fn-info-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

.fn-info-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  border-left: 4px solid #84c461;
}
.fn-info-card .fn-eyebrow { font-size: 11px; margin: 0 0 5px; }
.fn-info-card p { font-size: 14px; line-height: 1.6; margin: 0; }

.fn-mfg-name {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
  color: #253d1a;
}

/* --- Note (jednoduchý box s levým akcentem) -------------------------------- */
.fn-note {
  background: #fafdf7;
  border-radius: 14px;
  padding: 24px 28px;
  border-left: 5px solid #84c461;
}
.fn-note p {
  font-size: 13px;
  color: #4a5e3a;
  line-height: 1.75;
}

/* --- Warn (alergeny — oranžový akcent) ------------------------------------- */
.fn-warn {
  background: #fffbef;
  border-radius: 14px;
  padding: 24px 28px;
  border-left: 5px solid #f5a623;
}
.fn-warn .fn-eyebrow { color: #7c4f00; margin-bottom: 14px; }
.fn-warn-section { margin-bottom: 14px; }
.fn-warn-section:last-child { margin-bottom: 0; }
.fn-warn-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #7c4f00;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.fn-tag-danger,
.fn-tag-warn {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 4px 4px 0 0;
}
.fn-tag-danger { background: #fee2e2; color: #991b1b; }
.fn-tag-warn   { background: #fef3c7; color: #92400e; }

/* --- Certifikáty (zaoblené pilulky se zeleným rámem) ------------------------ */
.fn-certs {
  background: #dff0d0;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}
.fn-certs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.fn-cert {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 2px solid #84c461;
  border-radius: 40px;
  padding: 10px 22px;
  margin: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #5a9340;
}

/* --- Mobil (≤ 720 px): rozbít row do sloupce, gridy na 1 sloupec ----------- */
@media (max-width: 720px) {
  .fn-row,
  .fn-row--reverse {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }
  .fn-row > img { width: 100%; }

  .fn-info-grid--2,
  .fn-info-grid--3,
  .fn-benefits {
    grid-template-columns: 1fr;
  }

  .fn-hero { padding: 36px 24px; }
  .fn-hero h2 { font-size: 22px; }
}
