/**
Theme Name: Golden Teacher
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: golden-teacher
Template: astra
*/

:root {
  --sl-ink: #0F2921;
  --sl-paper: #FAF9F6;
  --sl-formula-darkest: #0F2921;
  --sl-formula-primary: #1F4D3F;
  --sl-formula-mid: #6FA08F;
  --sl-formula-light: #DCEBE5;
  --sl-tincture: #D98A2B;
  --sl-alert: #B5443A;
  --sl-text-secondary: #4A5C55;
  --sl-tincture-ink: #3A2405;

  --sl-formula-primary-tint: color-mix(in srgb, var(--sl-formula-primary) 14%, var(--sl-paper));
  --sl-formula-mid-tint: color-mix(in srgb, var(--sl-formula-mid) 16%, var(--sl-paper));
  --sl-tincture-tint: color-mix(in srgb, var(--sl-tincture) 16%, var(--sl-paper));
  --sl-alert-tint: color-mix(in srgb, var(--sl-alert) 14%, var(--sl-paper));
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

h2 {
  font-weight: 600;
}
.ingredient-hero {
  max-width: 1040px;
  background: var(--sl-paper);
  border-bottom: 1px solid var(--sl-formula-light);
  border-radius: 12px;
  padding: 40px;
  margin: 40px auto 0;
}

.ingredient-hero-top {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.ingredient-hero-image {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sl-formula-light);
}

.ingredient-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ingredient-hero-main {
  flex: 1;
  min-width: 0;
}

.ingredient-title {
  padding: 0;
  text-align: left;
  font-weight: 500;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  margin: 0 0 8px;
}

.ingredient-inci {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--sl-text-secondary);
  margin: 0 0 16px;
}

.ingredient-inci span {
  color: var(--sl-formula-mid);
  font-weight: 600;
  margin-right: 8px;
}

.ingredient-description {
  max-width: 640px;
  padding: 0;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--sl-text-secondary);
}

@media (max-width: 640px) {
  .ingredient-hero-top {
    flex-direction: column;
  }
  .ingredient-hero-image {
    width: 100%;
    height: 200px;
  }
}

/* Full-width content sections (Benefits, Uses, Safety, Learn more) */
.sl-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 40px;
  border-bottom: 1px solid var(--sl-formula-light);
}

.sl-section:last-of-type {
  border-bottom: none;
}

.sl-section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sl-formula-mid);
  margin: 0 0 12px;
}

.sl-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 14px;
}

.sl-section__heading-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.sl-section__heading-row h2 { margin: 0; }

.sl-safety-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--sl-alert);
}

.sl-section__body {
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--sl-text-secondary);
}

.sl-section__body p { margin: 0 0 12px; }
.sl-section__body p:last-child { margin-bottom: 0; }

.sl-rating-caption {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--sl-text-secondary);
}

.rating-badge {
  background: #e1f2ec;
  color: #2a5243;
  padding: 5px 15px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
  font-size:18px;
  }

.rating-container {
  text-align: center;
}

.two-column-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  margin: 40px 0;
}

.column {
  flex: 1;
}

.image-column img {
  max-width: 75%;
  height: auto;
  border-radius: 20px;
}

.ingredent-header {
  font-weight:600;
  padding:10px;
}

/* Responsive for mobile */
@media screen and (max-width: 768px) {
  .two-column-layout {
    flex-direction: column;
  }

  .image-column,
  .content-column {
    flex: unset;
    width: 100%;
  }
  }

.ingredient-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* space between items */
  list-style: none;
  padding: 0;
  margin-top: 28px;
}

.ingredient-categories li {
  margin: 0; /* spacing handled by gap */
}

.ingredient-categories a {
  display: inline-block;
  padding: 5px 12px;
  background: var(--sl-formula-light);
  color: var(--sl-ink);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap; /* prevent awkward wrapping */
  transition: border-color 0.2s ease;
  text-align: center;
}

.ingredient-categories a:hover {
  border-color: var(--sl-formula-primary);
}


.rating-badge.rating-great {
  background-color: #c3e6cb;
}

.rating-badge.rating-good {
  background-color: #e8f5e9;
}

.rating-badge.rating-fair {
  background-color: #fde9d9;
}

.rating-badge.rating-poor {
  background-color: #fbe4e4;
}


.ingredient-filter {
  margin-bottom: 20px;
  text-align: center;
}

.ingredient-filter select {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Main Layout */
.ingredient-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.ingredient-entry {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.ingredient-img {
  flex-shrink: 0;
  width: 225px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
}

.ingredient-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ingredient-content {
  flex-grow: 1;
}

.ingredient-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: nowrap;
}


.ingredient-header h2 {
  font-size: 1.5rem;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
}

.ingredient-short-description {
  padding-top:10px;
  font-size: .8rem;
}


.ps-breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.ps-breadcrumbs span {
  font-weight: 500;
}

.ps-brand {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sl-formula-primary);
}

.ps-brand a {
  color: inherit;
  text-decoration: none;
}


.ps-product-ingredients {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-bottom: 1px solid #eee;  
  padding: 20px;
  border-radius: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.ps-ingredient-highlights {
  border-radius: 20px;
  margin-top: 30px;
  margin-bottom: 30px;

}


.ps-key-ingredients ul {
  list-style: none;
  padding: 0;
}

.ps-key-ingredients li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.ps-key-ingredients a {
  text-decoration: none;
}

.ps-full-ingredients p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 20px;
}

.ps-full-ingredients a:hover {
  color: #3a3a3a;
  text-decoration: underline;
}

.ps-description {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size:20px;
}


.ps-price-range {
  display: inline-block;
  padding: 0 10px;
  font-weight: 700;
  font-weight: 500;
  font-size: 1.3rem;
  margin-top:0px;
  margin-right: 10px;
}

.ps-title-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin: 0 0 12px;
}

.ps-title-price-row .ps-title {
  margin: 0;
}

.ps-title-price-row .ps-price-range {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}


.ps-brand-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ps-amazon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: none;
  border-radius: 10px;
  background: var(--sl-formula-primary);
  color: var(--sl-formula-light);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;


}

.ps-amazon-button:visited {
  color: var(--sl-formula-light);
}

.ps-amazon-button:hover,
.ps-amazon-button:visited:hover {
  background: var(--sl-ink);
  color: var(--sl-formula-light);
  text-decoration: none;
}

.ps-ingredient-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.ps-ingredient-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* =========================
   Single Product Hero
   ========================= */

.ps-product-header.two-column-layout {
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  max-width: 1180px;
  margin: 32px auto 28px;
  padding: 0 24px;
}

.ps-product-header .column {
  flex: unset;
}

.ps-product-header .image-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

.ps-product-header .image-column img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
}

.sl-reactions-float {
  align-self: flex-start;
  margin-bottom: 10px;
}

.sl-reactions-float .sl-reactions {
  margin: 0;
}

.ps-product-header .content-column {
  max-width: 660px;
}

.ps-breadcrumbs-left {
  margin-bottom: 0px;
  text-align: left;
  font-size: 14px;
  color: #777;
}

.ps-breadcrumbs-left a {
  color: #777;
  text-decoration: none;
}

.ps-breadcrumbs-left a:hover {
  color: #3a3a3a;
}

.ps-brand {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sl-formula-primary);
}

.ps-brand a {
  color: inherit;
  text-decoration: none;
}

.ps-title {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 18px;
  font-family: 'Fraunces', Georgia, serif;
}


.ps-hero-description {
  font-size: 16px;
  line-height: 1.65;
  color: var(--sl-text-secondary);
  margin: 0 0 18px;
  max-width: 620px;
}

.ps-hero-description p {
  margin: 0;
  font-size:16px;
}

.ps-affiliate-cta {
  margin: 18px 0 24px;
}

@media screen and (max-width: 768px) {
  .ps-product-header.two-column-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
    padding: 0 18px;
  }

  .ps-product-header .image-column img {
    max-width: 320px;
  }

  .ps-breadcrumbs {
    margin-bottom: 14px;
  }
}

/* ===== Product Page Core Ingredient Card ===== */

.gt-core-ingredients {
  margin: 30px 0;
}

.gt-core-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
}

.gt-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.gt-core-card {
  display: block;

  padding: 14px 16px;

  border: 1px solid #ddd;
  border-radius: 10px;

  background: #fff;

  text-decoration: none;
  color: inherit;
}

.gt-core-card strong {
  display:block;
  font-size:16px;
  margin-bottom:4px;
}

.gt-core-card span {
  font-size:13px;
  color:#666;
}

.ps-product-details-blocks p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--sl-text-secondary);
  margin: 0 0 14px;
}

.ps-product-details-blocks p:last-child {
  margin-bottom: 0;
}

.ps-highlight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.ps-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 860px) {
  .ps-highlight-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.ps-highlight-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.ps-highlight-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ps-highlight-avatar.is-mono {
  background: var(--sl-formula-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--sl-formula-primary);
}

.ps-highlight-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 2px;
}

.ps-highlight-name-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.ps-highlight-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--sl-ink);
}

.ps-highlight-overview {
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sl-text-secondary);
}

.ps-highlight-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sl-formula-mid);
  white-space: nowrap;
}

.ps-feature-badge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 14px;
}

.ps-feature-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sl-formula-light);
  color: var(--sl-ink);
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ps-feature-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sl-formula-primary);
  font-size: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.ps-feature-badge--warn {
  background: transparent;
  color: var(--sl-alert);
  border-color: var(--sl-alert);
  cursor: default;
}

.ps-feature-badge--warn .ps-feature-badge-icon {
  color: var(--sl-alert);
}

.ps-feature-badge-tooltip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  max-width: 260px;
  width: max-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--sl-ink);
  color: var(--sl-paper);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  white-space: normal;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 20;
}

.ps-feature-badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--sl-ink);
}

.ps-feature-badge--warn:hover .ps-feature-badge-tooltip,
.ps-feature-badge--warn:focus .ps-feature-badge-tooltip,
.ps-feature-badge--warn:focus-visible .ps-feature-badge-tooltip {
  opacity: 1;
  visibility: visible;
}

.ps-full-ingredient-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ps-full-ing-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #dee2e6;
  background: #f1f3f5;
  color: #444;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.ps-full-ing-pill:hover {
  color: #111;
  background: #e9ecef;
  text-decoration: none;
}

.ps-full-ing-pill.is-muted {
  color: #666;
}

.ps-benefit-list {
  display: flex;
  flex-direction: column;
}

.ps-benefit-list-extra[hidden] {
  display: none;
}

.ps-benefit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 12px 4px;
  border: none;
  border-bottom: 1px solid var(--sl-formula-light);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease;
}

.ps-benefit-row:hover,
.ps-benefit-row:focus,
.ps-benefit-row:active {
  background: #faf9f5 !important;
}

.ps-benefit-row:focus:not(:focus-visible) {
  outline: none;
}

.ps-benefit-row:focus-visible {
  outline: 2px solid var(--sl-formula-primary);
  outline-offset: -2px;
}

.ps-benefit-row-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--sl-ink);
}

.ps-benefit-row-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--sl-formula-light);
  color: var(--sl-ink);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.ps-benefit-show-all {
  align-self: flex-start;
  margin-top: 14px;
  padding: 0;
  border: none;
  background: none;
  color: var(--sl-formula-primary);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.ps-benefit-show-all:hover,
.ps-benefit-show-all:focus,
.ps-benefit-show-all:active {
  background: none !important;
  color: var(--sl-formula-primary) !important;
  text-decoration: underline;
}

.ps-benefit-show-all:focus:not(:focus-visible) {
  outline: none;
}

.ps-benefit-show-all:focus-visible {
  outline: 2px solid var(--sl-formula-primary);
  outline-offset: 2px;
}

/* Benefits modal */
.ps-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.ps-modal.is-open {
  display: flex;
}

body.ps-modal-open {
  overflow: hidden;
}

.ps-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 38, 63, .45);
}

.ps-modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 80vh;
  margin: 20px;
  padding: 28px 24px 24px;
  overflow-y: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18,38,63,.20);
}

.ps-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #f1f3f5;
  color: #555;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.ps-modal-close:hover {
  background: #e9ecef;
}

.ps-modal-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.ps-modal-subtitle {
  margin: 0 0 16px;
  font-size: 13px;
  color: #777;
}

.ps-modal-ingredient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-modal-ingredient-list li {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}

.ps-modal-ingredient-list li:hover {
  color: #111;
  background: #e9ecef;
}

.ps-modal-ingredient-list a {
  color: inherit;
  text-decoration: none;
}



.brand-page {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.brand-header {
  margin-bottom: 2rem;
}

.brand-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.brand-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.brand-products h2,
.brand-products-text h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.brand-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.product-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #f6f6f6;
  object-fit: cover;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-top: 10px;
}


/* ==========================================================================
   Site-wide pagination — WordPress's paginate_links()/the_posts_pagination()
   already emit .page-numbers/.current/.prev/.next/.dots everywhere on the
   site (ingredient + product archives, brand page, search results), so this
   one set of rules is the shared system for all of them.
   ========================================================================== */

.ingredient-pagination,
.pagination-wrapper,
.navigation.pagination {
  margin: 40px 0 20px;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 4px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: #f1f3f5;
  color: #444;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

a.page-numbers:hover,
a.page-numbers:focus,
a.page-numbers:active {
  background: #e9ecef !important;
  border-color: #dee2e6 !important;
  color: #111 !important;
  text-decoration: none;
}

.page-numbers.current {
  border-color: #8a4b00;
  background: #8a4b00;
  color: #fff;
}

.page-numbers.dots {
  border-color: transparent;
  background: none;
  color: #999;
}

.page-numbers.prev,
.page-numbers.next {
  padding: 0 18px;
  font-weight: 800;
}

/* paginate_links(['type'=>'list']) puts the "page-numbers" class on both the
   wrapping <ul> and every <a>/<span> inside it, so the pill styling above
   also lands on the <ul> itself, and the default <li> bullets are never
   reset. Override the container specifically (higher specificity than the
   bare .page-numbers rule above, which still applies to the links). */
ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  background: none;
}

ul.page-numbers li {
  list-style: none;
}

.ps-related-products { 
  margin-top: 1rem; 
}

.ps-related-brand {
  font-size:16px; 
  color:#555; 
  font-weight:500;
}


  /* ===== Archive Product Hero  ===== */
  .ps-archive-hero {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    border-bottom: 1px solid #eee;
    padding: 36px 0 24px;
    border-radius: 12px;
  }
  .ps-archive-hero .ps-hero-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: end;
  }
  .ps-hero-title {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
  }
  .ps-hero-sub {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    color: #666;
  }
  .sl-reactions-wrap {
    grid-column: 1 / -1;
  }
  .ps-filter { margin: 0; }
  .ps-select {
    appearance: none;
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    min-width: 220px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  }
  .screen-reader-text { position: absolute; left: -9999px; }

  .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  }

  .product-title { font-size: 16px; margin: 4px 0; line-height: 1.25; }
  .product-title a { text-decoration: none; color: #111; }
  .product-title a:hover { text-decoration: underline; }

  .product-brand, .product-price { font-size: 13px; color: #666; margin-top: 2px; }
  .product-desc { margin-top: 8px; font-size: 14px; color: #444; }

  /* Pagination spacing */
  .navigation.pagination { max-width: 1100px; margin: 12px auto 32px; padding: 0 16px; }


/* --- Center the archive + neutralize Astra sidebar/floats only on product archives --- */
.post-type-archive-product #primary,
.post-type-archive-product .content-area,
.post-type-archive-product .site-content .ast-container {
  float: none;
  width: 100%;
  max-width: 1280px;   /* wider canvas so 4 columns breathe */
  margin-left: auto;
  margin-right: auto;
}


.tax-product_category #primary,
.tax-product_category .content-area,
.tax-product_category .site-content .ast-container {
  float: none;
  width: 100%;
  max-width: 1280px;   /* wider canvas so 4 columns breathe */
  margin-left: auto;
  margin-right: auto;
}


.tax-product_subcategory #primary,
.tax-product_subcategory .content-area,
.tax-product_subcategory .site-content .ast-container {
  float: none;
  width: 100%;
  max-width: 1280px;   /* wider canvas so 4 columns breathe */
  margin-left: auto;
  margin-right: auto;
}


.single-brand #primary,
.single-brand .content-area,
.single-brand .site-content .ast-container {
  float: none;
  width: 100%;
  max-width: 1280px;   /* wider canvas so 4 columns breathe */
  margin-left: auto;
  margin-right: auto;
}




/* --- Product Archive Grid--- */
.product-archive-grid {
  max-width: 1180px;
  margin: 32px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-archive-grid > * {
  width: auto;
  margin: 0;
}


@media (max-width: 980px) {
  .product-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .product-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .product-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Ingredient Snapshot + Ratings
   ========================= */

.content-body {
  padding-top:20px;
}

.sl-ingredient-meta{
  max-width: 1040px;
  margin: 36px auto;
  padding: 0 40px;
}

.sl-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.sl-card--full{
  grid-column: 1 / -1;
}

.sl-card--half{
  grid-column: span 1;
}

@media (max-width: 860px){
  .sl-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ingredient-hero,
  .sl-ingredient-meta,
  .sl-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.sl-card{
  background: #fff;
  border: 1px solid var(--sl-formula-light);
  border-radius: 12px;
  overflow: hidden;
}

.sl-card__header{
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--sl-formula-light);
}

.sl-card__title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.sl-dl{
  margin: 0;
  padding: 10px 16px 14px;
  font-size: 16px;
}

.sl-dl__row{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(100,116,139,.25);
}

.sl-dl__row:last-child{ border-bottom: 0; }

.sl-dl dt{
  font-weight: 750;
  color: #3a3a3a;
  font-size: 16px;
}

.sl-dl dd{
  margin: 0;
  font-size: 16px;
}

/* Pills */
.sl-pill{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(15,23,42,.04);
  color: #111;
  white-space: nowrap;
}

.sl-pill--good,
.sl-pill--low{ background:var(--sl-formula-mid); border-color:var(--sl-formula-mid); color:var(--sl-ink); }
.sl-pill--great,
.sl-pill--excellent,
.sl-pill--none{ background:var(--sl-formula-primary); border-color:var(--sl-formula-primary); color:var(--sl-formula-light); }
.sl-pill--fair,
.sl-pill--average,
.sl-pill--med{ background:var(--sl-tincture); border-color:var(--sl-tincture); color:var(--sl-tincture-ink); }
.sl-pill--poor,
.sl-pill--high{ background:var(--sl-alert); border-color:var(--sl-alert); color:var(--sl-paper); }

/* Ratings rows */
.sl-rating{
  padding: 14px 16px 12px;
  border-bottom: 1px dashed rgba(100,116,139,.25);
}
.sl-rating:last-of-type{ border-bottom: 0; }

.sl-rating__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.sl-rating__label{
  margin: 0;
  font-size: 14px;
  font-weight: 750;
  color: #475569;
}

/* Meter (5 segments) */
.sl-meter{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.sl-meter--4{
  grid-template-columns: repeat(4, 1fr);
}

.sl-meter__seg{
  height: 10px;
  border-radius: 999px;
  background: var(--sl-formula-light);
  border: 1px solid color-mix(in srgb, var(--sl-formula-mid) 25%, transparent);
}

.sl-meter__seg.is-on{
  background: var(--sl-formula-primary);
  border-color: var(--sl-formula-primary);
}

/* Mobile tweaks */
@media (max-width: 560px){
  .sl-dl__row{ grid-template-columns: 1fr; }
}




/* ---------------- Search results styling ---------------- */

.search-results-count {
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 0 24px;
  color: #666;
  font-size: 14px;
}

.sl-search-section {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.sl-search-section-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #666;
}

.sl-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Compact ingredient/article card */
.sl-search-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(18,38,63,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sl-search-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(18,38,63,.10);
  text-decoration: none;
}

.sl-search-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.sl-search-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #3a3a3a;
}

.sl-search-title a {
  color: inherit;
  text-decoration: none;
}

.sl-search-title a:hover {
  color: #8a4b00;
  text-decoration: none;
}

.sl-search-excerpt {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

.sl-search-link {
  display: inline-flex;
  margin-top: 16px;
  color: #8a4b00;
  font-size: 14px;
  font-weight: 800;
}

/* Rating pills */
.sl-search-rating {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.sl-search-rating--great {
  background: var(--sl-formula-primary);
  color: var(--sl-formula-light);
  border: 1px solid var(--sl-formula-primary);
}

.sl-search-rating--good {
  background: var(--sl-formula-mid);
  color: var(--sl-ink);
  border: 1px solid var(--sl-formula-mid);
}

.sl-search-rating--fair {
  background: var(--sl-tincture);
  color: var(--sl-tincture-ink);
  border: 1px solid var(--sl-tincture);
}

.sl-search-rating--poor {
  background: var(--sl-alert);
  color: var(--sl-paper);
  border: 1px solid var(--sl-alert);
}

/* Article cards */
.sl-search-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-height: 240px;
}

.sl-search-article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(18,38,63,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sl-search-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(18,38,63,.10);
  text-decoration: none;
}

.sl-search-article-thumb {
  height: 240px;
  background: #faf9f5;
}

.sl-search-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-search-article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.sl-search-article-label {
  display: inline-flex;
  width: max-content;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #555;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sl-search-article-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.sl-search-article-body p {
  flex: 1;
  margin: 0 0 14px;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

.sl-search-article-body strong {
  margin-top: auto;
  color: #8a4b00;
}

/* Responsive */
@media (max-width: 900px) {
  .sl-search-article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sl-search-grid {
    grid-template-columns: 1fr;
  }

  .sl-search-card {
    min-height: auto;
  }

  .sl-search-title {
    font-size: 18px;
  }
}

/* ------------ End Search results styling ---------------- */


/* ==========================================================================
   GT Similar Products Widget
   ========================================================================== */

/* --- Section wrapper ---------------------------------------------------- */
.gt-similar-products {
  margin: 56px 0 56px;
}

.gt-similar-header {
  margin-bottom: 0px;
}

.gt-similar-header h2{
  font-size:1rem;
}
.gt-similar-header p{
  font-size:16px;
}

.gt-similar-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.gt-similar-subtitle {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
  letter-spacing: 0.02em;
}

.ps-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px;
  border-bottom: 1px solid var(--sl-formula-light);
}

.ps-section:last-of-type {
  border-bottom: none;
}

.ps-section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sl-formula-mid);
  margin: 0 0 12px;
}

.ps-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 16px;
}

.gt-top-matches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.gt-top-match-card {
  display: block;
  padding: 14px;
  border: 1px solid var(--sl-formula-light);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.gt-top-match-card.is-best {
  border: 2px solid var(--sl-tincture);
}

.gt-top-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--sl-formula-light);
  color: var(--sl-ink);
}

.gt-top-match-card.is-best .gt-top-badge {
  background: var(--sl-tincture);
  color: var(--sl-tincture-ink);
}

.gt-top-image {
  height: 100px;
  margin: 10px 0;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius: 8px;
  overflow: hidden;
  background: var(--sl-paper);
}

.gt-top-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

  transform: none;
}

.gt-more-save {
  color: var(--sl-formula-mid);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.gt-top-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sl-ink);
}

.gt-top-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.gt-top-price {
  font-weight: 600;
  color: var(--sl-ink);
  font-variant-numeric: tabular-nums;
}

.gt-top-save {
  color: var(--sl-formula-mid);
  font-size: 11px;
  font-weight: 600;
}

.gt-more-matches-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--sl-ink);
  margin: 0 0 12px;
}

@media (max-width: 720px) {
  .gt-top-matches {
    grid-template-columns: 1fr;
  }
}

.gt-similar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gt-products-show-all {
  display: block;
  align-self: unset;
  margin: 20px auto 0;
  text-align: center;
}

.gt-more-card {
  border: 1px solid var(--sl-formula-light);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.gt-more-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: var(--sl-paper);
  padding: 12px;
}

.gt-more-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gt-more-body {
  padding: 12px;
}

.gt-more-brand {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--sl-formula-mid);
}

.gt-more-title {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.35;
}

.gt-more-title a {
  color: var(--sl-ink);
  text-decoration: none;
}

.gt-more-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gt-more-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--sl-ink);
  font-variant-numeric: tabular-nums;
}

.gt-more-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.gt-more-btn {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 9px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  color: #3a3a3a;
  font-weight: 700;
  text-decoration: none;
}

.gt-more-btn:hover {
  background: #fafafa;
  color: #111;
}

.ingredients-h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--sl-ink);
  padding: 20px 0 14px;
  margin: 0;
}

.related-ingredients ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-ingredient-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--sl-formula-light);
  border-radius: 8px;
}

.related-ingredient-item a {
  color: var(--sl-ink);
  text-decoration: none;
  font-size: 14.5px;
}

.related-ingredient-item a strong {
  font-weight: 500;
}

@media (max-width: 900px) {
  .gt-similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gt-similar-grid {
    grid-template-columns: 1fr;
  }
}


/* --- Card --------------------------------------------------------------- */
.gt-similar-card {
  position: relative;
  background: #fff;
  border: 1px solid #ece7e0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  animation: gt-card-in 0.4s ease both;
  animation-delay: calc(var(--card-index, 0) * 60ms);
}

@keyframes gt-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gt-similar-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}

/* --- Rank badge --------------------------------------------------------- */
.gt-match-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}

.gt-rank-1 { background: #2d6a4f; color: #fff; }
.gt-rank-2 { background: #52796f; color: #fff; }
.gt-rank-3 { background: #84a98c; color: #fff; }

/* --- Thumbnail ---------------------------------------------------------- */
.gt-card-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sl-paper);
}

.gt-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gt-similar-card:hover .gt-card-thumb img {
  transform: scale(1.04);
}

/* --- Card body ---------------------------------------------------------- */
.gt-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gt-card-brand {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;
}

.gt-card-brand a {
  color: inherit;
  text-decoration: none;
}

.gt-card-brand a:hover {
  color: #2d6a4f;
}

.gt-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.gt-card-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.gt-card-title a:hover {
  color: #2d6a4f;
}

.gt-card-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.04em;
}

/* --- Score bar ---------------------------------------------------------- */
.gt-score-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.gt-score-bar-track {
  flex: 1;
  height: 5px;
  background: #ede8e1;
  border-radius: 99px;
  overflow: hidden;
}

.gt-score-bar-fill {
  height: 100%;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, #52796f, #2d6a4f);
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gt-score-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #2d6a4f;
  white-space: nowrap;
  min-width: 52px;
}

/* --- Shared ingredient pills -------------------------------------------- */
.gt-shared-ings {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 6px;
}

.gt-shared-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gt-shared-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.gt-ing-pill {
    display: inline-block;
    font-size: 0.5rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;        /* rounded corners */
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
    background: var(--sl-formula-light);
    color: var(--sl-ink);
    border: 1px solid var(--sl-formula-light);
}

.gt-ing-pill:hover { opacity: 0.75; }

.gt-ing-pill--more {
    background: transparent;
    color: #999;
    border: 1px dashed #ccc;
    cursor: default;
    border-radius: 3px;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 768px) {
  .gt-similar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .gt-similar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gt-card-body {
    padding: 10px 12px 12px;
  }
}


/* --- How we rank box --------------------------------------------------------- */

.gt-dupe-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 26px;
  padding: 14px 18px;
  border: 1px solid #a7ead8;
  border-radius: 10px;
  background: #e9fbf5;
  color: #075f4a;
  font-size: 15px;
  font-weight: 500;
}

.gt-dupe-alert strong {
  font-weight: 800;
}


.gt-rank-label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #666;
}

/* ==========================================================================
   SkincareLab Homepage
   ========================================================================== */

.sl-home {
  background: var(--sl-paper);
  color: var(--sl-ink);
}

.sl-home-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.sl-home-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 56px 0 44px;
  text-align: center;
  background: var(--sl-paper);
  border-bottom: 1px solid var(--sl-formula-light);
}

.sl-home-hero-copy {
  max-width: 640px;
}

.sl-home-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--sl-formula-mid);
}

.sl-home-hero h1 {
  max-width: 620px;
  margin: 0 auto 14px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.sl-home-hero-sub {
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sl-text-secondary);
}

.sl-home-search {
  display: flex;
  max-width: 460px;
  margin: 0 auto 16px;
  background: var(--sl-paper);
  border: 1px solid var(--sl-formula-mid);
  border-radius: 10px;
  overflow: hidden;
}

.sl-home-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 13px 16px;
  font-size: 14px;
  outline: none;
  background: transparent;
  color: var(--sl-ink);
}

.sl-home-search button {
  border: 0;
  padding: 0 22px;
  background: var(--sl-formula-primary);
  color: var(--sl-formula-light);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.sl-home-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sl-text-secondary);
}

.sl-home-popular a {
  padding: 5px 14px;
  border: none;
  border-radius: 999px;
  background: var(--sl-formula-light);
  color: var(--sl-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
}

.sl-home-popular a:hover {
  background: var(--sl-formula-mid);
}

.sl-home-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 44px 0;
  background: var(--sl-paper);
  border-bottom: 1px solid var(--sl-formula-light);
}

.sl-home-section-soft {
  background: var(--sl-paper);
}

.sl-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.sl-section-header h2 {
  margin: 0 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
}

.sl-section-header p {
  margin: 0;
  color: var(--sl-text-secondary);
  font-size: 14px;
}

.sl-section-header > a {
  color: var(--sl-formula-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.sl-goal-grid,
.sl-feature-grid {
  display: grid;
  gap: 14px;
}

.sl-goal-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sl-goal-card {
  min-height: 160px;
  padding: 18px 14px;
  border: 1px solid var(--sl-formula-light);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.sl-goal-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--sl-formula-light);
  color: var(--sl-formula-primary);
  font-size: 18px;
}

.sl-goal-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sl-goal-card h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}

.sl-goal-card p {
  margin: 0;
  color: var(--sl-text-secondary);
  font-size: 12.5px;
  line-height: 1.5;
}

.sl-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sl-home-section-soft .sl-home-container {
  display: flex;
  flex-direction: column;
}

.sl-home-section-soft .sl-tool-grid {
  width: 100%;
}

.sl-tool-card {
  padding: 20px;
  border: 1px solid var(--sl-formula-light);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.sl-tool-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--sl-formula-light);
  color: var(--sl-formula-primary);
  font-size: 18px;
  font-weight: 600;
}

.sl-tool-card h3 {
  margin: 0 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 16px;
}

.sl-tool-card p {
  margin: 0 0 12px;
  color: var(--sl-text-secondary);
  line-height: 1.55;
  font-size: 13px;
  max-width: 420px;
}

.sl-tool-card strong,
.sl-feature-card strong,
.sl-article-card strong {
  color: var(--sl-formula-primary);
  font-size: 13px;
}

.sl-feature-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sl-feature-card {
  border: 1px solid var(--sl-formula-light);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.sl-feature-image {
  height: 100px;
  border-radius: 10px;
  background: var(--sl-paper);
  overflow: hidden;
}

.sl-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-feature-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sl-feature-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.sl-feature-body p {
  margin: 0 0 10px;
  color: var(--sl-text-secondary);
  font-size: 12px;
  line-height: 1.45;
  flex:1;
}
.sl-feature-body strong {
  margin-top: auto;
}

.sl-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sl-article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sl-formula-light);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.sl-article-thumb {
  height: 150px;
  background: var(--sl-paper);
}

.sl-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.sl-article-body span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sl-formula-light);
  color: var(--sl-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sl-article-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.sl-article-body p {
  margin: 0 0 10px;
  color: var(--sl-text-secondary);
  font-size: 12.5px;
  line-height: 1.5;
  flex: 1;
}

.sl-article-body strong {
  margin-top: auto;
}

.sl-home-stats {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
}

.sl-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--sl-formula-primary);
  max-width: none;
  padding: 32px 24px;
}

.sl-stats-grid div {
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid rgba(250,249,246,.2);
}

.sl-stats-grid div:last-child {
  border-right: none;
}

.sl-stats-grid strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.1;
  color: var(--sl-paper);
}

.sl-stats-grid span {
  display: block;
  margin-top: 4px;
  color: #A8CDBF;
  font-size: 11.5px;
}

/* Responsive */
@media (max-width: 980px) {
  .sl-goal-grid,
  .sl-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }


  .sl-article-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .sl-feature-grid {
    grid-template-columns: 1fr;
  }

  .sl-feature-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: center;
  }

  .sl-feature-image {
    margin-left:5px;
  }

  .sl-feature-body {
    padding: 16px 16px 16px 0;
  }

  .sl-feature-body h3 {
    font-size: 15px;
  }

  .sl-feature-body p {
    margin-bottom: 12px;
  }

}

@media (max-width: 640px) {
  .sl-home-hero {
    padding: 40px 0 32px;
  }

  .sl-home-search {
    flex-direction: column;
  }

  .sl-home-search button {
    padding: 14px 18px;
  }

  .sl-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

    .sl-tool-grid {
    grid-template-columns: 1fr;
  }

  .sl-goal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sl-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .sl-stats-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(250,249,246,.2);
    padding-bottom: 16px;
  }

  .sl-article-thumb {
    height: 180px;
  }
}

/* ==========================================================================
   Like / Dislike reactions
   ========================================================================== */

.sl-reactions {
  display: inline-flex;
  gap: 8px;
  margin: 16px 0;
}

.sl-reactions-label {
  margin-bottom: 2px;
  font-size: 10px;
}

.sl-reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 14px;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  background: #f1f3f5;
  color: #444;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.sl-reaction-count {
  font-variant-numeric: tabular-nums;
}

.sl-reaction-btn:hover,
.sl-reaction-btn:focus,
.sl-reaction-btn:active {
  background: #e9ecef !important;
  border-color: #dee2e6 !important;
  color: #444 !important;
}

.sl-reaction-btn--like.is-active:hover,
.sl-reaction-btn--like.is-active:focus,
.sl-reaction-btn--like.is-active:active {
  background: var(--sl-formula-primary-tint) !important;
  border-color: color-mix(in srgb, var(--sl-formula-primary) 40%, transparent) !important;
  color: var(--sl-formula-primary) !important;
}

.sl-reaction-btn--dislike.is-active:hover,
.sl-reaction-btn--dislike.is-active:focus,
.sl-reaction-btn--dislike.is-active:active {
  background: var(--sl-alert-tint) !important;
  border-color: color-mix(in srgb, var(--sl-alert) 45%, transparent) !important;
  color: var(--sl-alert) !important;
}

.sl-reaction-btn:focus:not(:focus-visible) {
  outline: none;
}

.sl-reaction-btn:focus-visible {
  outline: 2px solid var(--sl-formula-primary);
  outline-offset: 2px;
}

.sl-reaction-btn:disabled {
  opacity: .6;
  cursor: default;
}

.sl-reaction-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.sl-reaction-btn--like.is-active {
  background: var(--sl-formula-primary-tint);
  border-color: color-mix(in srgb, var(--sl-formula-primary) 40%, transparent);
  color: var(--sl-formula-primary);
}

.sl-reaction-btn--dislike.is-active {
  background: var(--sl-alert-tint);
  border-color: color-mix(in srgb, var(--sl-alert) 45%, transparent);
  color: var(--sl-alert);
}

/* ==========================================================================
   Report-an-issue flag button + modal
   ========================================================================== */

.sl-flag-slot {
  display: flex;
  justify-content: center;
  margin: 40px 0 20px;
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--sl-formula-light);
}

.sl-flag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 14px;
  border: 1px solid color-mix(in srgb, var(--sl-alert) 35%, transparent);
  border-radius: 999px;
  background: var(--sl-alert-tint);
  color: #555;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.sl-flag-btn:hover,
.sl-flag-btn:focus,
.sl-flag-btn:active {
  background: color-mix(in srgb, var(--sl-alert) 25%, var(--sl-paper)) !important;
  color: #555 !important;
}

.sl-flag-btn:focus:not(:focus-visible) {
  outline: none;
}

.sl-flag-btn:focus-visible {
  outline: 2px solid var(--sl-alert);
  outline-offset: 2px;
}

.sl-flag-icon {
  font-size: 14px;
  line-height: 1;
}

.sl-flag-form textarea {
  width: 100%;
  min-height: 120px;
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 14px;
  resize: vertical;
}

.sl-flag-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  background: #fff;
  color: #3a3a3a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sl-flag-submit:hover,
.sl-flag-submit:focus,
.sl-flag-submit:active {
  background: #fafafa !important;
  color: #111 !important;
}

.sl-flag-submit:disabled {
  opacity: .6;
  cursor: default;
}

.sl-flag-success {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eef9e7;
  color: #3d6f25;
  font-size: 14px;
  font-weight: 600;
}

