/*
 * Public price list — com_ekcjenik.
 *
 * The theme's own palette is declared inside the HOME PAGE's inline <style>
 * block (a Gantry custom-HTML particle), not in a stylesheet the whole site
 * loads. A component page therefore starts with none of it, which is why the
 * tokens are restated here instead of being inherited. They are the same
 * values, kept in sync by hand; if the theme's greens ever change, this block
 * is the second place to edit.
 *
 * Fonts are named but not loaded: the outline already pulls Inter and Space
 * Grotesk from Google Fonts, and a second request for the same faces would
 * cost a round trip for nothing. The fallback stack is what renders if the
 * page is ever served without them.
 */
:root {
  --ek-g: #5b7d2a;
  --ek-g-d: #445e1d;
  --ek-g-dd: #2d4213;
  --ek-olive: #46611f;
  --ek-lime: #a9c860;
  --ek-lime-2: #c6dd8c;
  --ek-ink: #10150b;
  --ek-soft: #f4f7ed;
  --ek-line: #e5ebd8;
  --ek-text: #3b4232;
  --ek-steel: #79836a;
}

.ek-cj {
  padding: 56px 0 96px;
  color: var(--ek-text);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(1200px 380px at 85% -60px, rgba(169, 200, 96, .16), transparent 70%),
    #fff;
}

.ek-cj__shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- header ---- */

.ek-cj__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 48px;
}

.ek-cj__headtext { max-width: 780px; }

.ek-cj__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(91, 125, 42, .1);
  color: var(--ek-g-d);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ek-cj__title {
  margin: 0 0 14px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.6px;
  color: var(--ek-ink);
  text-wrap: balance;
}

.ek-cj__lead {
  margin: 0;
  font-size: 17.5px;
  color: #5d6552;
}

.ek-cj__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--ek-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(45, 66, 19, .25);
  overflow: hidden;
}

.ek-cj__facts > div {
  padding: 18px 22px;
}

.ek-cj__facts > div + div { border-left: 1px solid var(--ek-line); }

.ek-cj__facts dt {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ek-steel);
}

.ek-cj__facts dd {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ek-g-dd);
  font-variant-numeric: tabular-nums;
}

.ek-cj__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

/* White on #5b7d2a is 4.02:1 and fails AA, so fills use #445e1d (5.9:1). */
.ek-cj__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border: 1.5px solid var(--ek-g-d);
  border-radius: 50px;
  background: var(--ek-g-d);
  color: #fff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .3px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.ek-cj__btn:hover,
.ek-cj__btn:focus-visible {
  background: var(--ek-g-dd);
  border-color: var(--ek-g-dd);
  color: #fff;
  transform: translateY(-1px);
}

.ek-cj__btn--ghost {
  background: transparent;
  color: var(--ek-g-d);
}

.ek-cj__empty {
  margin: 0 0 36px;
  padding: 20px 24px;
  border: 1px solid var(--ek-line);
  border-left: 4px solid var(--ek-g);
  border-radius: 14px;
  background: var(--ek-soft);
  font-size: 16px;
}

/* ---- one block per direction of payment ---- */

.ek-cj__block { margin: 0 0 40px; }

.ek-cj__dirhead {
  padding-left: 16px;
  border-left: 4px solid var(--ek-lime);
  margin-bottom: 18px;
}

.ek-cj__dir {
  margin: 0 0 4px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ek-g-dd);
  scroll-margin-top: 110px;
}

.ek-cj__block--buy .ek-cj__dirhead { border-left-color: var(--ek-olive); }

.ek-cj__dirnote {
  margin: 0;
  font-size: 15px;
  color: #5d6552;
}

/* section jump chips */
.ek-cj__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.ek-cj__chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 15px;
  border: 1px solid var(--ek-line);
  border-radius: 50px;
  background: #fff;
  color: var(--ek-g-dd);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.ek-cj__chips a span {
  min-width: 24px;
  padding: 1px 8px;
  border-radius: 50px;
  background: var(--ek-soft);
  color: var(--ek-g-d);
  font-size: 12px;
  text-align: center;
}

.ek-cj__chips a:hover,
.ek-cj__chips a:focus-visible {
  background: var(--ek-soft);
  border-color: var(--ek-lime-2);
}

.ek-cj__section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 12px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ek-g-d);
  scroll-margin-top: 110px;
}

.ek-cj__section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ek-line);
}

/* ---- tables: one grid for every section ---- */

.ek-cj__card {
  border: 1px solid var(--ek-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px -20px rgba(45, 66, 19, .35);
  overflow: hidden;
}

.ek-cj__table {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
}

.ek-cj__c-key  { width: 118px; }
.ek-cj__c-unit { width: 74px; }
.ek-cj__c-num  { width: 132px; }
.ek-cj__c-vat  { width: 92px; }
.ek-cj__c-tot  { width: 148px; }
.ek-cj__c-base { width: 128px; }

.ek-cj__table thead th {
  padding: 13px 18px;
  background: var(--ek-soft);
  border-bottom: 1px solid var(--ek-line);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-align: left;
  color: var(--ek-g-dd);
  line-height: 1.35;
}

.ek-cj__table thead th.ek-cj__num { text-align: right; }

.ek-cj__table th,
.ek-cj__table td {
  padding: 14px 18px;
  vertical-align: middle;
}

.ek-cj__table tbody tr + tr > * { border-top: 1px solid var(--ek-line); }

.ek-cj__table tbody tr { transition: background .15s ease; }
.ek-cj__table tbody tr:hover { background: rgba(244, 247, 237, .8); }
.ek-cj__table tbody tr:target { background: rgba(198, 221, 140, .28); }

.ek-cj__name {
  font-weight: 600;
  color: var(--ek-ink);
  text-align: left;
  line-height: 1.45;
}

.ek-cj__name .ek-cj__note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ek-steel);
}

.ek-cj__sale {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 50px;
  background: rgba(169, 200, 96, .25);
  color: var(--ek-g-dd);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  vertical-align: 2px;
}

.ek-cj__kb {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--ek-soft);
  color: var(--ek-g-dd);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ek-cj__unit {
  color: #5d6552;
  white-space: nowrap;
}

.ek-cj__num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ek-cj__vat { color: #5d6552; }

.ek-cj__total { background: rgba(244, 247, 237, .55); }

.ek-cj__total .ek-cj__price {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ek-g-dd);
}

.ek-cj__price small {
  margin-left: 1px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ek-steel);
}

.ek-cj__base {
  color: #4e5744;
  font-weight: 500;
}

.ek-cj__ask {
  text-align: right;
  color: #5d6552;
  font-style: italic;
  white-space: nowrap;
}

/* Secondary but legible; never struck through. #5f6853 on white is 5.7:1. */
.ek-anchor {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  color: #5f6853;
}

.ek-anchor__value {
  font-weight: 600;
  color: var(--ek-text);
  font-variant-numeric: tabular-nums;
}

.ek-cj__low30 {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: #5f6853;
}

.ek-cj__low30 strong {
  color: var(--ek-text);
  font-variant-numeric: tabular-nums;
}

/* ---- footnotes ---- */

.ek-cj__notes {
  display: flex;
  gap: 16px;
  margin: 40px 0 0;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--ek-soft);
  border: 1px solid var(--ek-line);
}

.ek-cj__notes-icon {
  flex: none;
  margin-top: 2px;
  color: var(--ek-g);
}

.ek-cj__notes p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #4e5744;
}

.ek-cj__notes p:last-child { margin-bottom: 0; }

/* ---- machine-readable block ---- */

.ek-cj__data {
  margin-top: 64px;
  scroll-margin-top: 100px;
}

.ek-cj__data h2 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--ek-ink);
}

.ek-cj__datalead {
  max-width: 860px;
  margin: 0 0 24px;
  font-size: 15px;
  color: #5d6552;
}

.ek-cj__datagrid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.ek-cj__panel {
  padding: 24px 26px;
  border: 1px solid var(--ek-line);
  border-radius: 18px;
  background: #fff;
}

.ek-cj__panel--main {
  background: linear-gradient(180deg, var(--ek-soft), #fff 70%);
}

.ek-cj__panel h3 {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ek-g-dd);
}

.ek-cj__panel p {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: #5d6552;
}

.ek-cj__file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ek-line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ek-cj__file:hover,
.ek-cj__file:focus-visible {
  border-color: var(--ek-lime);
  box-shadow: 0 8px 22px -14px rgba(45, 66, 19, .45);
}

.ek-cj__file-ext {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 56px;
  border-radius: 10px;
  background: var(--ek-g-d);
  color: #fff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
}

.ek-cj__file-body { min-width: 0; }

.ek-cj__file-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ek-g-dd);
  overflow-wrap: anywhere;
}

.ek-cj__file-body small {
  font-size: 13px;
  color: #5d6552;
}

.ek-cj__minor { margin: 18px 0 8px !important; font-size: 13.5px !important; }

.ek-cj__list,
.ek-cj__feeds,
.ek-cj__days {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ek-cj__list li {
  padding: 7px 0;
  border-top: 1px dashed var(--ek-line);
  font-size: 13px;
}

.ek-cj__list a { color: var(--ek-g-d); overflow-wrap: anywhere; }
.ek-cj__list small { display: block; color: var(--ek-steel); }

.ek-cj__feeds li + li { margin-top: 8px; }

.ek-cj__feeds a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--ek-line);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.ek-cj__feeds a:hover,
.ek-cj__feeds a:focus-visible {
  border-color: var(--ek-lime);
  background: var(--ek-soft);
}

.ek-cj__tag {
  flex: none;
  min-width: 48px;
  padding: 3px 0;
  border-radius: 7px;
  background: var(--ek-soft);
  color: var(--ek-g-dd);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.ek-cj__feeds code {
  min-width: 0;
  font-size: 12px;
  color: #5d6552;
  overflow-wrap: anywhere;
  background: none;
  padding: 0;
}

/* daily archive */
.ek-cj__month {
  border-top: 1px solid var(--ek-line);
}

.ek-cj__month summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 2px;
  cursor: pointer;
  list-style: none;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ek-g-dd);
}

.ek-cj__month summary::-webkit-details-marker { display: none; }

.ek-cj__month summary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ek-g);
  border-bottom: 2px solid var(--ek-g);
  transform: rotate(-45deg);
  transition: transform .2s ease;
}

.ek-cj__month[open] summary::before { transform: rotate(45deg); }

.ek-cj__month summary span {
  padding: 1px 9px;
  border-radius: 50px;
  background: var(--ek-soft);
  color: var(--ek-g-d);
  font-size: 12px;
}

.ek-cj__days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  padding: 2px 0 18px;
}

.ek-cj__days li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--ek-line);
  border-radius: 12px;
  font-size: 13px;
}

.ek-cj__day {
  margin-right: auto;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--ek-ink);
  font-variant-numeric: tabular-nums;
}

.ek-cj__days a {
  color: var(--ek-g-d);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.ek-cj__days a:hover { text-decoration: underline; }

/* archive: one row per published NN file */
.ek-cj__arch {
  margin: 0;
  padding: 2px 0 18px;
  list-style: none;
}

.ek-cj__arch li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  border: 1px solid var(--ek-line);
  border-radius: 12px;
  font-size: 13px;
}

.ek-cj__arch li + li { margin-top: 8px; }

.ek-cj__arch li.is-current {
  border-color: var(--ek-lime);
  background: var(--ek-soft);
}

.ek-cj__arch .ek-cj__day { grid-row: span 2; margin: 0; }

.ek-cj__arch a {
  color: var(--ek-g-d);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.ek-cj__arch a:hover { text-decoration: underline; }

.ek-cj__arch small { color: #5d6552; font-size: 12.5px; }

.ek-cj__archive-empty {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--ek-lime);
  background: var(--ek-soft);
  color: var(--ek-g-dd);
  font-size: 14px;
}

/* ---- responsive ---- */

@media (max-width: 960px) {
  .ek-cj__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ek-cj__facts > div:nth-child(3) { border-left: 0; }
  .ek-cj__facts > div:nth-child(n+3) { border-top: 1px solid var(--ek-line); }
  .ek-cj__datagrid { grid-template-columns: minmax(0, 1fr); }
  .ek-cj__c-num { width: 112px; }
  .ek-cj__c-tot { width: 128px; }
  .ek-cj__c-base { width: 108px; }
  .ek-cj__table th, .ek-cj__table td { padding: 13px 12px; }
}

/* Phones: every row becomes a card with labelled figures. */
@media (max-width: 760px) {
  .ek-cj { padding: 40px 0 64px; }
  .ek-cj__shell { padding: 0 16px; }
  .ek-cj__facts dd { font-size: 18px; }
  .ek-cj__facts > div { padding: 14px 16px; }
  .ek-cj__btn { flex: 1 1 auto; justify-content: center; }

  .ek-cj__card {
    border: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }

  .ek-cj__table,
  .ek-cj__table tbody { display: block; }
  .ek-cj__table colgroup,
  .ek-cj__table thead { display: none; }

  .ek-cj__table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid var(--ek-line);
    border-radius: 16px;
    background: #fff;
  }

  .ek-cj__table tbody tr + tr > * { border-top: 0; }

  .ek-cj__table th,
  .ek-cj__table td {
    display: block;
    padding: 0;
    text-align: left;
    background: none;
  }

  .ek-cj__name {
    grid-column: 1 / -1;
    margin-bottom: 10px;
    font-size: 15.5px;
  }

  .ek-cj__table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--ek-steel);
  }

  .ek-cj__table td { padding: 6px 0; }
  .ek-cj__num { text-align: left; }

  .ek-cj__total {
    grid-column: 1 / -1;
    order: 9;
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 10px 12px !important;
    border-radius: 10px;
    background: var(--ek-soft) !important;
  }

  .ek-cj__total::before { display: inline !important; }
  .ek-cj__ask { grid-column: 1 / -1; }
}

/* the theme underlines every link; chips and buttons are not running text */
.ek-cj__chips a,
.ek-cj__btn,
.ek-cj__file,
.ek-cj__feeds a { text-decoration: none !important; }

@media (max-width: 760px) {
  .ek-cj__table tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ek-cj__unit { display: none !important; }       /* the total carries "/kg" */
  .ek-cj__base {
    grid-column: 1 / -1;
    order: 10;
    display: flex !important;
    justify-content: space-between;
    padding: 6px 12px 0 !important;
    font-size: 13.5px;
  }
  .ek-cj__base::before { display: inline !important; }
}
