/**
 * Eko štart page — design layer.
 *
 * The page shell (breadcrumb, leaf headline, lead, sticky anchor nav, content
 * card, eco callout, teal CTA band, feature strip) is the Ekomateriály layer:
 * pages/ekomaterialy.css is enqueued alongside this file for both eco pages.
 * Only the patterns Eko štart adds live here, scoped under .eko-start so they
 * never leak: the three benefit cards, the package photo grid and the buy card.
 */

/* ---- Benefit cards (three-up, teal-50 icon tile + copy) ------------------ */
.eko-start .es-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.eko-start .es-benefit {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.eko-start .es-benefit-ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.eko-start .es-benefit-ico svg { width: 24px; height: 24px; }
.eko-start .es-benefit h3 {
  margin: var(--space-1) 0 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}
.eko-start .es-benefit p { margin: 0; font-size: 14px; line-height: 1.6; }

/* ---- Heading with the decorative garnish --------------------------------- */
.eko-start .es-h2-row { display: flex; align-items: center; gap: var(--space-3); }
.eko-start .es-deco { flex: none; width: 54px; height: auto; }
.eko-start .es-h2-row .eko-h2 { margin: 0; }

/* ---- Package item strip --------------------------------------------------
   Six shots in one row, as the legacy gallery (columns="6"). They are product
   cut-outs on white, so the cell contains rather than crops them. */
.eko-start .es-gallery-sec { margin-top: calc(-1 * var(--space-5)); }
.eko-start .es-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-2);
}
.eko-start .es-gallery-cell {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding: var(--space-2);
}
.eko-start .es-gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Buy card: the shared WC loop card, constrained + a note beside it ---- */
.eko-start .es-buy {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}
/* The WC loop wrapper (ul.products) is a grid on archives — one card here. */
.eko-start .es-buy ul.products {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}
.eko-start .es-buy ul.products::before,
.eko-start .es-buy ul.products::after { content: none; }
.eko-start .es-buy ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}
.eko-start .es-buy-note {
  background: var(--teal-50);
  border: 1px solid var(--teal-line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
}
.eko-start .es-buy-note p { margin: 0; color: var(--teal-600); font-size: 14.5px; line-height: 1.6; }
.eko-start .es-buy-note p b { color: var(--teal-600); }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .eko-start .es-benefits { grid-template-columns: 1fr; }
  .eko-start .es-buy { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .eko-start .es-gallery { grid-template-columns: repeat(3, 1fr); }
  .eko-start .es-deco { width: 42px; }
}
