* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fbfcfd;
  color: #111827;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pm-site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: 48px;
  background: #fff;
  border-bottom: 1px solid #e8edf0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.pm-site-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1a5f7a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background .15s;
}
.pm-site-back:hover {
  background: #eef5f8;
}

.pm-site-name {
  color: #9eabb3;
  font-size: 12px;
  font-weight: 500;
}

.pm-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 14px 44px;
}

.pm-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: #6f92a3;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.pm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 30px;
  align-items: center;
  padding: 46px 38px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 15%, rgba(160,195,210,.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbfc 52%, #ffffff 100%);
  border: 1px solid rgba(160,195,210,.22);
  box-shadow: 0 24px 80px rgba(15,23,42,.045);
}

.pm-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid #e3edf2;
  color: #58707a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.pm-hero h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: .97;
  letter-spacing: -0.03em;
}

.pm-ua {
  margin-top: 10px;
  color: #8aa1ab;
  font-size: 17px;
  font-weight: 650;
}

.pm-hero p {
  max-width: 650px;
  margin: 20px 0 0;
  color: #44515f;
  font-size: 17px;
  line-height: 1.72;
}

.pm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.pm-chips span {
  padding: 9px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e4edf2;
  color: #334155;
  font-size: 13px;
  font-weight: 650;
}

.pm-profile {
  background: rgba(255,255,255,.78);
  border: 1px solid #e4edf2;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 55px rgba(15,23,42,.05);
}

.pm-profile-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pm-profile strong {
  display: inline-block;
  color: #0f172a;
  font-size: 44px;
  line-height: 1;
}

.pm-profile > span {
  color: #64748b;
  font-size: 14px;
}

.pm-profile p {
  margin: 16px 0 0;
  color: #52616f;
  font-size: 14px;
  line-height: 1.6;
}

.pm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.pm-card,
.pm-list-card,
.pm-benefit {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 24px;
  padding: 24px;
}

.pm-card.is-tinted {
  background: #fbfdff;
}

.pm-card h2,
.pm-list-card h2,
.pm-cta h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 24px;
  line-height: 1.22;
}

.pm-card p,
.pm-benefit p,
.pm-cta p {
  margin: 0;
  color: #4b5b68;
  font-size: 15px;
  line-height: 1.78;
}

.pm-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pm-benefit {
  min-height: 150px;
}

.pm-benefit h3 {
  margin: 0 0 9px;
  color: #111827;
  font-size: 16px;
}

.pm-list-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pm-list-card li {
  position: relative;
  padding-left: 28px;
  color: #4b5b68;
  font-size: 15px;
  line-height: 1.8;
}

.pm-list-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #A0C3D2;
  font-weight: 900;
}

.pm-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 26px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fbfdff 0%, #f3f8fb 100%);
  border: 1px solid #dfeaf0;
  box-shadow: 0 18px 55px rgba(15,23,42,.045);
}

.pm-cta a,
.pm-cta-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #A0C3D2;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}

.pm-cta-search-btn:hover {
  background: #8eb6c6;
}

@media (max-width: 820px) {
  .pm-page {
    padding: 16px 10px 28px;
  }

  .pm-hero,
  .pm-grid-2,
  .pm-benefits,
  .pm-cta {
    grid-template-columns: 1fr;
  }

  .pm-hero {
    padding: 24px 16px;
    border-radius: 22px;
    gap: 18px;
  }

  .pm-hero h1 {
    font-size: clamp(28px, 10vw, 40px);
  }

  .pm-card,
  .pm-list-card,
  .pm-benefit,
  .pm-cta,
  .pm-profile {
    border-radius: 18px;
    padding: 16px;
  }

  .pm-cta a {
    width: 100%;
  }
}
.pm-hub-tools {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.pm-hub-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pm-hub-search {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #dceaf0;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.pm-hub-search:focus {
  border-color: #A0C3D2;
  box-shadow: 0 0 0 4px rgba(160,195,210,.16);
}

.pm-hub-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #A0C3D2;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(160,195,210,.32);
  transition: opacity .15s, transform .15s, box-shadow .15s;
  opacity: 0;
  pointer-events: none;
  transform: scale(.94);
}

.pm-hub-search-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.pm-hub-search-btn:hover {
  background: #8eb6c6;
  box-shadow: 0 10px 26px rgba(160,195,210,.4);
  transform: translateY(-1px) scale(1);
}

@media (max-width: 540px) {
  .pm-hub-search-btn span {
    display: none;
  }
}

.pm-hub-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pm-hub-letters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6eef3;
  color: #51636d;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.pm-hub-letters a:hover {
  border-color: #A0C3D2;
  color: #111827;
}

/* ── Hub header ───────────────────────────────────────────── */
.pm-hub-header {
  padding: 32px 0 8px;
}

.pm-hub-header h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
}

.pm-hub-header p {
  margin: 0;
  font-size: 15px;
  color: #7a8d97;
}

/* ── Hub list ─────────────────────────────────────────────── */
.pm-hub-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #edf2f7;
}

.pm-hub-row {
  border-bottom: 1px solid #edf2f7;
}

.pm-hub-row.is-hidden {
  display: none;
}

.pm-hub-row a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 4px;
  text-decoration: none;
  color: #111827;
  transition: background .12s;
  flex-wrap: wrap;
}

.pm-hub-row a:hover {
  background: #f8fbfc;
}

.pm-hub-row-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  min-width: 180px;
}

.pm-hub-row-ua {
  font-size: 13px;
  color: #8aa1ab;
  flex: 1;
}

.pm-hub-row-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pm-hub-row-chips em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #5a6d77;
  background: #f3f8fb;
  border: 1px solid #dceaf0;
  border-radius: 999px;
  padding: 2px 8px;
}

@media (max-width: 600px) {
  .pm-hub-row-ua {
    display: none;
  }
  .pm-hub-row-chips {
    display: none;
  }
}

/* ── Typesense product results panel ─────────────────────── */
.pm-search-results {
  display: none;
  margin-top: 14px;
  background: #fff;
  border: 1px solid #dceaf0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15,23,42,.08);
}

.pm-search-results.is-open {
  display: block;
}

.pm-search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
  border-bottom: 1px solid #f0f5f8;
}

.pm-search-results-head span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #7a8d97;
  letter-spacing: .04em;
}

.pm-search-results-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
  transition: color .15s;
}

.pm-search-results-close:hover {
  color: #334155;
}

.pm-search-results-list {
  display: flex;
  flex-direction: column;
}

.pm-search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  text-decoration: none;
  color: #111827;
  border-bottom: 1px solid #f5f8fa;
  transition: background .15s;
}

.pm-search-result-item:last-child {
  border-bottom: none;
}

.pm-search-result-item:hover {
  background: #f8fbfc;
}

.pm-search-result-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f3f8fb;
}

.pm-search-result-img-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f3f8fb;
}

.pm-search-result-info {
  flex: 1;
  min-width: 0;
}

.pm-search-result-brand {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: .05em;
  margin-bottom: 2px;
}

.pm-search-result-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-search-result-price {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

.pm-search-results-empty {
  padding: 28px 18px;
  text-align: center;
  color: #7a8d97;
  font-size: 14px;
}

.pm-search-results-loading {
  padding: 28px 18px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

.pm-search-results-footer {
  padding: 10px 18px 14px;
  border-top: 1px solid #f0f5f8;
  text-align: center;
}

.pm-search-results-footer a {
  font-size: 13px;
  font-weight: 700;
  color: #A0C3D2;
  text-decoration: none;
}

.pm-search-results-footer a:hover {
  color: #7aafc3;
}

/* ── Article layout (list-style ingredient pages) ─────────────────────── */

.pm-article {
  max-width: 720px;
}

.pm-article-header {
  margin-bottom: 36px;
}

.pm-article-header .pm-kicker {
  margin-bottom: 8px;
}

.pm-article-header h1 {
  margin: 0 0 4px;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
}

.pm-article-header .pm-ua {
  color: #9eabb3;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
}

.pm-article-lead {
  margin: 16px 0 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #334155;
}

.pm-article-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #edf2f7;
}

.pm-article-section:last-of-type {
  border-bottom: none;
}

.pm-article-section h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.pm-article-section p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: #4b5b68;
}

.pm-article-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pm-article-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5b68;
  padding-left: 20px;
  position: relative;
}

.pm-article-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #A0C3D2;
  font-weight: 700;
}

.pm-article-list li strong {
  color: #111827;
  font-weight: 700;
}

.pm-article-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px 22px;
  background: #f8fbfc;
  border: 1px solid #e8f0f4;
  border-radius: 16px;
}

.pm-article-meta-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.pm-meta-label {
  font-size: 12px;
  font-weight: 700;
  color: #9eabb3;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  padding-top: 3px;
  min-width: 110px;
}

.pm-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pm-meta-tags em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #2d5f76;
  background: #e8f4f9;
  border-radius: 999px;
  padding: 3px 10px;
}

.pm-article-note {
  margin-bottom: 28px;
  padding: 18px 20px;
  background: #fffbeb;
  border-left: 3px solid #fcd34d;
  border-radius: 0 12px 12px 0;
}

.pm-article-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
}

.pm-article-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #78350f;
}

@media (max-width: 820px) {
  .pm-article-header h1 {
    font-size: clamp(28px, 10vw, 38px);
  }
  .pm-article-meta {
    padding: 14px 14px;
  }
  .pm-meta-label {
    min-width: 90px;
    font-size: 11px;
  }
}