/* Mycotrop product and category copy components (growkit redesign, 2026-10-03).
   Markup lives in product/category descriptions: <div class="mt-desc">…</div>.
   Palette follows mycotrop-growkit-guide (paper, gold, ink). Font: the theme's Karla. */

.mt-desc,
.mt-short {
  --mt-ink: #242424;
  --mt-text: #45423d;
  --mt-muted: #6b665d;
  --mt-line: #e4dfd5;
  --mt-paper: #faf8f2;
  --mt-gold: #b88718;
  --mt-gold-soft: #f5ead0;
  --mt-link: #765307;
  --mt-sage: #eef4ec;
  --mt-sage-line: #cfe0c9;
  --mt-sage-ink: #2f5130;
  --mt-amber: #fff6e0;
  --mt-amber-line: #ecd291;
  --mt-amber-ink: #6b4b00;
  --mt-radius: 14px;
  font-family: Karla, "Helvetica Neue", Arial, sans-serif;
}

.mt-desc *,
.mt-short * {
  box-sizing: border-box;
}

/* ---------- base typography ---------- */
.mt-desc {
  color: var(--mt-text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 1080px;
}

.mt-desc p,
.mt-desc li,
.mt-desc dd,
.mt-desc td {
  color: var(--mt-text);
  font-size: 16px;
  line-height: 1.7;
}

.mt-desc p {
  margin: 0 0 14px;
}

.mt-desc h2 {
  color: var(--mt-ink);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 48px 0 14px;
}

.mt-desc h3 {
  color: var(--mt-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 26px 0 8px;
}

.mt-desc strong {
  color: var(--mt-ink);
}

/* the theme forces a grey link colour on product descriptions */
.mt-desc a {
  color: var(--mt-link) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mt-desc a:hover {
  color: var(--mt-ink) !important;
}

.mt-desc a:focus-visible,
.mt-short a:focus-visible {
  outline: 3px solid #f1bd3f;
  outline-offset: 3px;
}

.mt-desc ul,
.mt-desc ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

/* the theme sets list-style on li; component lists draw their own markers */
.mt-chips li,
.mt-links li,
.mt-meters li,
.mt-points li,
.mt-steps li,
.mt-ticks li {
  list-style: none !important;
}

.mt-desc li {
  margin: 0 0 6px;
}

.mt-eyebrow {
  color: var(--mt-gold) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 10px !important;
  text-transform: uppercase;
}

.mt-lead {
  color: var(--mt-ink) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
}

/* ---------- hero ---------- */
.mt-hero {
  background: var(--mt-paper);
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-radius);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  padding: 34px;
}

.mt-hero h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.12;
  margin: 0 0 14px;
}

.mt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

.mt-chips li {
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 999px;
  color: var(--mt-ink);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  padding: 5px 13px;
}

.mt-chips li.mt-chip--gold {
  background: var(--mt-gold-soft);
  border-color: #ead7a6;
}

/* key facts card (dl) */
.mt-facts {
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  margin: 0;
  padding: 6px 20px;
}

.mt-facts div {
  border-bottom: 1px solid var(--mt-line);
  display: grid;
  gap: 2px;
  padding: 11px 0;
}

.mt-facts div:last-child {
  border-bottom: 0;
}

.mt-facts dt {
  color: var(--mt-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mt-facts dd {
  color: var(--mt-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

/* ---------- strain profile meters ---------- */
.mt-profile {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mt-meters {
  background: var(--mt-paper);
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  list-style: none;
  margin: 0 !important;
  padding: 18px 20px !important;
}

.mt-meters li {
  display: grid;
  gap: 4px 12px;
  grid-template-columns: 1fr auto;
  margin: 0 0 14px;
}

.mt-meters li:last-child {
  margin-bottom: 0;
}

.mt-meters strong {
  font-size: 15px;
}

.mt-meters em {
  color: var(--mt-muted);
  font-size: 14px;
  font-style: normal;
  text-align: right;
}

.mt-meter {
  background: #ebe5d8;
  border-radius: 999px;
  display: block;
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.mt-meter::after {
  background: linear-gradient(90deg, #d9a93a, var(--mt-gold));
  border-radius: 999px;
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 0;
}

/* level = score out of 5 in half points: mt-lvl-1 = 0.5 … mt-lvl-10 = 5 */
.mt-lvl-1::after { width: 10%; }
.mt-lvl-2::after { width: 20%; }
.mt-lvl-3::after { width: 30%; }
.mt-lvl-4::after { width: 40%; }
.mt-lvl-5::after { width: 50%; }
.mt-lvl-6::after { width: 60%; }
.mt-lvl-7::after { width: 70%; }
.mt-lvl-8::after { width: 80%; }
.mt-lvl-9::after { width: 90%; }
.mt-lvl-10::after { width: 100%; }

.mt-points {
  background: var(--mt-paper);
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  list-style: none;
  margin: 0 !important;
  padding: 16px 20px !important;
}

.mt-points li {
  border-bottom: 1px solid var(--mt-line);
  margin: 0;
  padding: 9px 0;
}

.mt-points li:last-child {
  border-bottom: 0;
}

.mt-sources {
  border-top: 1px solid var(--mt-line);
  color: var(--mt-muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin-top: 26px !important;
  padding-top: 14px;
}

.mt-desc .mt-sources a {
  color: var(--mt-muted) !important;
}

.mt-small {
  color: var(--mt-muted) !important;
  font-size: 14px !important;
}

/* ---------- cards and callouts ---------- */
.mt-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 0 0 8px;
}

.mt-card {
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  padding: 18px 20px;
}

.mt-card h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.mt-card p:last-child {
  margin-bottom: 0;
}

.mt-callout {
  border: 1px solid;
  border-radius: 12px;
  margin: 18px 0;
  padding: 18px 22px;
}

.mt-callout p:last-child,
.mt-callout ul:last-child {
  margin-bottom: 0;
}

.mt-callout--safety {
  background: var(--mt-sage);
  border-color: var(--mt-sage-line);
}

.mt-callout--safety strong,
.mt-callout--safety h3 {
  color: var(--mt-sage-ink);
}

.mt-callout--dose {
  background: var(--mt-amber);
  border-color: var(--mt-amber-line);
}

.mt-callout--dose strong,
.mt-callout--dose h3 {
  color: var(--mt-amber-ink);
}

.mt-callout h3 {
  margin-top: 0;
}

/* ---------- numbered steps ---------- */
.mt-steps {
  counter-reset: mt-step;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.mt-steps li {
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  counter-increment: mt-step;
  margin: 0;
  padding: 14px 18px 14px 64px;
  position: relative;
}

.mt-steps li::before {
  align-items: center;
  background: var(--mt-gold-soft);
  border-radius: 50%;
  color: var(--mt-link);
  content: counter(mt-step);
  display: flex;
  font-size: 16px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  left: 16px;
  position: absolute;
  top: 14px;
  width: 34px;
}

/* ---------- guide call to action ---------- */
.mt-cta {
  align-items: center;
  background: var(--mt-ink);
  border-radius: var(--mt-radius);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 22px 0;
  padding: 24px 28px;
}

.mt-cta p {
  color: #e9e4da !important;
  margin: 0 !important;
}

.mt-cta strong {
  color: #fff;
  display: block;
  font-size: 19px;
  margin-bottom: 4px;
}

.mt-desc a.mt-btn,
.mt-short a.mt-btn {
  background: #f1bd3f;
  border-radius: 999px;
  color: #1d1a14 !important;
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  text-decoration: none !important;
  white-space: nowrap;
}

.mt-desc a.mt-btn:hover,
.mt-short a.mt-btn:hover {
  background: #e3a91f;
}

/* ---------- tables ---------- */
.mt-table-wrap {
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  margin: 0 0 18px;
  overflow-x: auto;
}

.mt-desc table {
  border-collapse: collapse;
  margin: 0;
  min-width: 100%;
  width: 100%;
}

.mt-desc th,
.mt-desc td {
  border-bottom: 1px solid var(--mt-line);
  font-size: 15px;
  line-height: 1.5;
  padding: 11px 16px;
  text-align: left;
  vertical-align: top;
}

.mt-desc tr:last-child th,
.mt-desc tr:last-child td {
  border-bottom: 0;
}

.mt-desc thead th {
  background: var(--mt-paper);
  color: var(--mt-ink);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mt-desc tbody th {
  color: var(--mt-ink);
  font-weight: 700;
  width: 34%;
}

/* tables with a header row: let the first column size to its content */
.mt-desc thead + tbody th {
  width: auto;
}

.mt-desc tbody tr:nth-child(even) {
  background: #fcfbf8;
}

/* ---------- link pills ---------- */
.mt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.mt-links li {
  margin: 0;
}

.mt-desc .mt-links a {
  background: var(--mt-paper);
  border: 1px solid var(--mt-line);
  border-radius: 999px;
  color: var(--mt-ink) !important;
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 7px 15px;
  text-decoration: none;
}

.mt-desc .mt-links a:hover {
  background: var(--mt-gold-soft);
  border-color: #ead7a6;
}

/* ---------- FAQ ---------- */
.mt-faq {
  border-top: 1px solid var(--mt-line);
}

.mt-faq h3 {
  border-bottom: 0;
  font-size: 17px;
  margin: 0;
  padding: 18px 0 6px;
}

.mt-faq p {
  border-bottom: 1px solid var(--mt-line);
  margin: 0;
  padding: 0 0 18px;
}

/* ---------- short description (under the H1) ---------- */
.mt-short {
  color: #45423d;
  font-size: 15px;
  line-height: 1.6;
}

.mt-short p {
  color: #45423d;
  font-size: 15px;
  margin: 0 0 10px;
}

.mt-ticks {
  list-style: none;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.mt-ticks li {
  color: #242424;
  font-size: 15px;
  margin: 0 0 6px;
  padding-left: 26px;
  position: relative;
}

.mt-ticks li::before {
  background: #f5ead0;
  border-radius: 50%;
  color: #765307;
  content: "✓";
  font-size: 12px;
  font-weight: 700;
  height: 18px;
  left: 0;
  line-height: 18px;
  position: absolute;
  text-align: center;
  top: 3px;
  width: 18px;
}

.mt-short a {
  color: #765307 !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mt-short a:hover {
  color: #242424 !important;
}

/* ---------- category intro ---------- */
.mt-cat-intro p {
  font-size: 16px;
}

/* growkit category: the FAQ accordion already shows "FAQ" on its button */
.mgk-acc__content .mycotrop-growkit-faq-heading {
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.mgk-acc__content .mt-cat-intro {
  margin: 0 auto 18px;
  max-width: 1080px;
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .mt-hero,
  .mt-profile,
  .mt-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .mt-hero {
    padding: 22px 18px;
  }

  .mt-desc h2 {
    margin-top: 36px;
  }

  .mt-desc tbody th {
    width: 42%;
  }

  .mt-cta {
    padding: 22px 20px;
  }
}
