/* ==================================================
   YFP – Supplements Index
   File: /css/supplements-index.css
   ================================================== */

body.yfp-style-supplements-index {
  --yfp-max: 1100px;
  --yfp-border: #e5e7eb;
  --yfp-muted: #64748b;
  --yfp-text: #0f172a;
  --yfp-accent: #0ea5e9;
  color: var(--yfp-text);
}

body.yfp-style-supplements-index .container {
  max-width: var(--yfp-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* HERO */
body.yfp-style-supplements-index .yfp-hero {
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--yfp-border);
}

body.yfp-style-supplements-index .yfp-hero__overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.20));
}

body.yfp-style-supplements-index .yfp-hero__inner {
  padding: 38px 0 30px;
  text-align: center;
}

body.yfp-style-supplements-index .yfp-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

/* Hero search */
body.yfp-style-supplements-index .yfp-supsearch {
  display: inline-block;
  width: min(620px, 100%);
}

body.yfp-style-supplements-index .yfp-supsearch__field {
  display: flex;
  align-items: center;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--yfp-border);
}

body.yfp-style-supplements-index .yfp-supsearch__input {
  flex: 1;
  border: 0;
  height: 100%;
  padding: 0 0.9rem;
  font: inherit;
  outline: none;
}

body.yfp-style-supplements-index .yfp-supsearch__button {
  width: 48px;
  height: 100%;
  border: 0;
  background: #9ca3af;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.yfp-style-supplements-index .yfp-supsearch__button:hover { background: #6b7280; }
body.yfp-style-supplements-index .yfp-supsearch__button svg { display:block; }

/* ALPHA FILTERS */
body.yfp-style-supplements-index .yfp-alpha {
  background: #fff;
  border-bottom: 1px solid var(--yfp-border);
}

body.yfp-style-supplements-index .yfp-alpha__inner {
  padding: 12px 0;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}

body.yfp-style-supplements-index .yfp-alpha__link {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--yfp-border);
  background: #fff;
  border-radius: 999px;
  padding: .35rem .7rem;
  font-weight: 650;
  font-size: .95rem;
}
body.yfp-style-supplements-index .yfp-alpha__link:hover { background:#f8fafc; }
body.yfp-style-supplements-index .yfp-alpha__link.is-active {
  background: #f1f5f9;
}

/* INTRO */
body.yfp-style-supplements-index .yfp-supintro {
  padding: 18px 0 6px;
}
body.yfp-style-supplements-index .yfp-supintro__title {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
body.yfp-style-supplements-index .yfp-supintro__subtitle {
  margin: .35rem 0 0;
  color: var(--yfp-muted);
}

/* LIST */
body.yfp-style-supplements-index .yfp-supresults {
  padding: 14px 0 28px;
}

body.yfp-style-supplements-index .yfp-sup-list {
  display: grid;
  gap: 1rem;
}

body.yfp-style-supplements-index .yfp-sup-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  padding: .9rem;
  border: 1px solid var(--yfp-border);
  border-radius: 14px;
  background: #fff;
}

body.yfp-style-supplements-index .yfp-sup-item__media {
  width: 160px;
  display: block;
}

body.yfp-style-supplements-index .yfp-sup-item__thumbimg {
  width: 100%;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

body.yfp-style-supplements-index .yfp-sup-item__thumbimg--placeholder {
  background: #f1f5f9;
  border: 1px dashed var(--yfp-border);
}

body.yfp-style-supplements-index .yfp-sup-item__title {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  line-height: 1.25;
}
body.yfp-style-supplements-index .yfp-sup-item__title a {
  color: inherit;
  text-decoration: none;
  font-weight: 750;
}
body.yfp-style-supplements-index .yfp-sup-item__title a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.yfp-style-supplements-index .yfp-sup-item__row {
  margin-top: .25rem;
  color: #334155;
  font-size: .95rem;
  line-height: 1.35;
}
body.yfp-style-supplements-index .yfp-sup-item__label {
  color: var(--yfp-muted);
  font-weight: 650;
  margin-right: .25rem;
}

/* Pagination */
body.yfp-style-supplements-index .yfp-sup-pagination {
  margin-top: 1.25rem;
}
body.yfp-style-supplements-index .yfp-sup-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
body.yfp-style-supplements-index .yfp-sup-pagination a,
body.yfp-style-supplements-index .yfp-sup-pagination span {
  display: inline-block;
  border: 1px solid var(--yfp-border);
  border-radius: 10px;
  padding: .45rem .7rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
body.yfp-style-supplements-index .yfp-sup-pagination .current {
  background: #f1f5f9;
  font-weight: 750;
}
body.yfp-style-supplements-index .yfp-sup-pagination a:hover { background:#f8fafc; }

/* Mobile */
@media (max-width: 720px) {
  body.yfp-style-supplements-index .yfp-sup-item {
    grid-template-columns: 1fr;
  }
  body.yfp-style-supplements-index .yfp-sup-item__media {
    width: 100%;
  }
  body.yfp-style-supplements-index .yfp-sup-item__thumbimg {
    height: 180px;
  }
}
