/* ============================================================
   HE-BLOKY.CSS — kombinované štýly pre 4 bloky hlavnej stránky
   ============================================================
   Pôvodne 4 samostatné súbory:
   - he-lyzicka.css
   - he-compare.css
   - he-why.css
   - he-trust.css

   Zlúčené do jedného súboru pre menej HTTP požiadaviek.
   ============================================================ */


/* ============================================================
   1) BLOK LYZICKA  —  .nf-liq
   ============================================================ */
.nf-liq, .nf-liq *, .nf-liq *::before, .nf-liq *::after {
  box-sizing: border-box;
}

.nf-liq {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background-color: #fff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 60px 24px 30px;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

.nf-liq__inner {
  max-width: 1300px;
  margin: 0 auto;
}

.nf-liq .nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.nf-liq .nl-text {
  display: flex;
  flex-direction: column;
}

.nf-liq .nl-h2 {
  font-family: "Inter", sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #1B3A1A;
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 0 0 24px;
  white-space: nowrap;
}

.nf-liq .nl-intro {
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 28px;
  font-weight: 500;
}

.nf-liq .nl-intro strong {
  color: #1B3A1A;
  font-weight: 600;
}

.nf-liq .nl-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.nf-liq .nl-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #1a1a1a;
}

.nf-liq .nl-check strong {
  color: #1B3A1A;
  font-weight: 600;
}

.nf-liq .nl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A7C35 0%, #7CB342 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.nf-liq .nl-seo {
  background: #f8f6f1;
  border-left: 3px solid #4A7C35;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #1a1a1a;
}

.nf-liq .nl-seo strong {
  color: #1B3A1A;
  font-weight: 600;
}

.nf-liq .nl-media {
  position: relative;
}

.nf-liq .nl-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 12px 35px rgba(27, 58, 26, 0.1);
}

@media (max-width: 850px) {
  .nf-liq {
    padding: 40px 16px 20px;
  }
  .nf-liq .nl-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nf-liq .nl-h2 {
    font-size: 28px;
    white-space: normal;
  }
  .nf-liq .nl-intro {
    font-size: 16px;
  }
}


/* ============================================================
   2) BLOK COMPARE (porovnávacia tabuľka)  —  .he-compare-*
   ============================================================ */
.he-compare-outer,
.he-compare-outer *,
.he-compare-outer *::before,
.he-compare-outer *::after {
  box-sizing: border-box;
}

.he-compare-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background-color: #fff;
  padding: 60px 24px 30px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.he-compare {
  max-width: 950px;
  margin: 0 auto;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 1;
}

.he-compare__header {
  text-align: center;
  margin-bottom: 45px;
}

.he-compare__title {
  color: #1B3A1A;
  font-family: inherit;
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.he-compare__subtitle {
  color: #1a1a1a;
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.1px;
}

.he-compare__grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
  border-radius: 16px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.04);
  background: #fff;
  position: relative;
  border: 1px solid #e0e0e0;
  margin-top: 40px;
}

.he-compare__cell {
  height: 60px;
  padding: 0 15px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.he-compare__col-labels .he-compare__cell {
  justify-content: flex-start;
  text-align: left;
  font-weight: 700;
  color: #1B3A1A;
  padding-left: 25px;
  background-color: #f9fafa;
}

.he-compare__cell:last-child {
  border-bottom: none;
}

.he-compare__col-header {
  padding: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #1B3A1A;
  border-bottom: 2px solid #e0e0e0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1.3;
  background-color: #fff;
  letter-spacing: -0.01em;
}

.he-compare__col-labels .he-compare__col-header {
  border-top-left-radius: 16px;
}

.he-compare__sub-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  margin-top: 4px;
}

.he-compare__val-low {
  color: #c0392b;
  font-weight: 500;
}

.he-compare__val-mid {
  color: #e67e22;
  font-weight: 500;
}

.he-compare__col-winner {
  background: #fff;
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(46,125,50,0.15);
  border-radius: 16px;
  border: 2px solid #7CB342;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  margin-top: -8px;
  margin-bottom: -8px;
}

.he-compare__col-winner .he-compare__col-header {
  background: linear-gradient(135deg, #7CB342 0%, #558B2F 100%);
  color: #fff;
  border-radius: 14px 14px 0 0;
  border-bottom: none;
  height: 86px;
  padding: 0;
}

.he-compare__brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.he-compare__col-winner .he-compare__sub-label {
  color: #e8f5e9;
}

.he-compare__col-winner .he-compare__cell {
  font-weight: 700;
  color: #2E7D32;
  background: transparent;
  font-size: 15px;
  height: 60px;
}

.he-compare__footer {
  margin-top: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.he-compare__footer-text {
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  text-align: center;
  margin: 0;
}

.he-compare__footer-text strong {
  color: #1B3A1A;
  font-weight: 600;
}

@media (max-width: 850px) {
  .he-compare-outer {
    padding: 40px 15px 20px;
  }
  .he-compare__header {
    margin-bottom: 28px;
  }
  .he-compare__title {
    font-size: 26px;
  }
  .he-compare__subtitle {
    font-size: 15px;
  }
  .he-compare__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    box-shadow: none;
    border: none;
    background: transparent;
    overflow: visible;
    margin-top: 24px;
  }
  .he-compare__col-labels {
    display: none;
  }
  .he-compare__col-standard,
  .he-compare__col-tincture {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding-bottom: 12px;
  }
  .he-compare__col-winner {
    grid-column: 1 / -1;
    border: 2px solid #7CB342;
    transform: none;
    margin: 0;
    padding-bottom: 12px;
  }
  .he-compare__col-header {
    border-radius: 14px 14px 0 0;
    border-bottom: 1px solid #eee;
    height: auto;
    min-height: 70px;
    padding: 14px 8px;
    font-size: 14px;
  }
  .he-compare__col-winner .he-compare__col-header {
    height: auto;
    min-height: 80px;
    padding: 14px 8px;
  }
  .he-compare__sub-label {
    font-size: 12px;
  }
  .he-compare__cell {
    flex-direction: column;
    height: auto;
    padding: 10px 6px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
  }
  .he-compare__col-winner .he-compare__cell {
    font-size: 13px;
  }
  .he-compare__cell::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }
  .he-compare__footer {
    margin-top: 24px;
  }
  .he-compare__footer-text {
    font-size: 14.5px;
    text-align: left;
  }
}


/* ============================================================
   3) BLOK WHY (Prečo sme iní)  —  .he-why-*
   ============================================================ */
/* Preskopované len na hlavnú stránku, aby nevypínalo horizontálny 
   scroll na iných stránkach eshopu. Plné šírkové bloky používajú 
   100vw trik, ktorý môže spôsobiť mierne horizontálne presahy. */
body.type-index { overflow-x: hidden; }

.he-why-outer,
.he-why-outer *,
.he-why-outer *::before,
.he-why-outer *::after {
  box-sizing: border-box;
}

.he-why-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #fff;
  background-image: url('https://www.huboveextrakty.sk/user/documents/upload/Obrazky/01-Hlavna-stranka/03-BLOK-PRECO-SME-INY/Pozadie_huby_kvapka_banner_1.jpg');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  padding: 60px 24px 30px;
}

.he-why {
  --he-ink: #1a1a1a;
  --he-ink-soft: #444;
  --he-line: #D8E3D2;
  --he-green-dark: #1B3A1A;
  --he-green-mid: #4A7C35;
  --he-accent: #B5584C;

  color: var(--he-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  -webkit-font-smoothing: antialiased;
}

.he-why__header {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 900px;
}

.he-why__eyebrow {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--he-green-mid);
  font-weight: 700;
  margin: 0 0 18px;
}

.he-why__title {
  color: var(--he-green-dark);
  font-family: inherit;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}

.he-why__intro {
  color: var(--he-green-mid);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
  font-style: italic;
}

.he-why__step {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 30px 0;
}

.he-why__step:nth-child(even) {
  grid-template-columns: 1fr 1.1fr;
}

.he-why__step:nth-child(even) .he-why__media {
  order: 2;
}

.he-why__step:nth-child(even) .he-why__text {
  order: 1;
}

.he-why__media {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background-color: #EFE7D4;
}

.he-why__step-eyebrow {
  font-size: 14px;
  color: var(--he-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 600;
}

.he-why__heading {
  font-size: 36px;
  font-weight: 600;
  color: var(--he-ink);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 22px;
  font-family: inherit;
}

.he-why__lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--he-ink);
  margin: 0 0 16px;
  font-weight: 500;
}

.he-why__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--he-ink-soft);
  margin: 0;
}

.he-why__bold {
  font-weight: 600;
  color: var(--he-ink);
}

@media (max-width: 800px) {
  .he-why-outer {
    background-image: none;
    padding: 40px 18px 20px;
  }
  .he-why__header {
    margin-bottom: 36px;
  }
  .he-why__title {
    font-size: 28px;
  }
  .he-why__intro {
    font-size: 16px;
  }
  .he-why__step,
  .he-why__step:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 0;
  }
  .he-why__step:nth-child(even) .he-why__media,
  .he-why__step:nth-child(even) .he-why__text {
    order: 0;
  }
  .he-why__media {
    height: 260px;
  }
  .he-why__step-eyebrow {
    font-size: 13px;
    letter-spacing: 1.8px;
  }
  .he-why__heading {
    font-size: 26px;
  }
  .he-why__lead {
    font-size: 16px;
  }
  .he-why__body {
    font-size: 15px;
  }
}


/* ============================================================
   4) BLOK TRUST (Naše štandardy)  —  .he-trust-*
   ============================================================ */
.he-trust-outer,
.he-trust-outer *,
.he-trust-outer *::before,
.he-trust-outer *::after {
  box-sizing: border-box;
}

.he-trust-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background-color: #fff;
  padding: 60px 24px 30px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
}

.he-trust {
  max-width: 1200px;
  width: 100%;
}

.he-trust__header {
  text-align: center;
  margin-bottom: 60px;
}

.he-trust__eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #4A7C35;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}

.he-trust__title {
  font-family: inherit;
  font-size: 40px;
  font-weight: 600;
  color: #1B3A1A;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.he-trust__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.he-trust__media {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  max-height: 600px;
  max-width: 460px;
  margin: 0 auto;
}

.he-trust__media img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: contain;
}

.he-trust__list {
  display: flex;
  flex-direction: column;
}

.he-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.he-trust__item:last-child {
  border-bottom: none;
}

.he-trust__check {
  width: 26px;
  height: 26px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.he-trust__check svg {
  width: 14px;
  height: 14px;
  stroke: #4A7C35;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.he-trust__text {
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.55;
  font-weight: 400;
}

.he-trust__text strong {
  font-weight: 600;
  color: #1B3A1A;
}

@media (max-width: 950px) {
  .he-trust-outer {
    padding: 40px 18px 20px;
  }
  .he-trust__header {
    margin-bottom: 36px;
  }
  .he-trust__title {
    font-size: 28px;
  }
  .he-trust__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .he-trust__media {
    max-width: 500px;
    margin: 0 auto;
    height: auto;
    max-height: none;
  }
  .he-trust__media img {
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 600px) {
  .he-trust-outer {
    padding: 35px 15px 20px;
  }
  .he-trust__title {
    font-size: 26px;
  }
  .he-trust__text {
    font-size: 15px;
  }
}


/* ============================================================
   5) DIVIDER (jemný oddeľovač medzi blokmi)  —  .he-divider
   ============================================================
   Margin 95px hore a 5px dole kompenzuje paddingy susedných 
   blokov (padding-bottom 30px + padding-top 60px = 90px), aby 
   bol divider opticky v strede medzi dvoma blokmi.
   ============================================================ */
.he-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #7CB342, transparent);
  margin: 95px auto 5px;
  border: none;
  display: block;
}


/* ============================================================
   6) SKRYTIE PRÁZDNEHO UVÍTACIEHO OBALU NA HLAVNEJ STRÁNKE
   ============================================================
   Po presune 4 blokov JavaScriptom zostáva v Apollo šablóne 
   prázdny obal Vitajte s titulkom „Hubové extrakty". 
   Toto pravidlo ho skryje.
   ============================================================ */
body.type-index .content-wrapper.homepage-box.welcome-wrapper {
  display: none !important;
}