/* ============================================================
   PLANTED HEALTH — PEPTIDES PAGE STYLES
   ============================================================ */

/* ---- PEPTIDES HERO ---- */
.pep-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  overflow: hidden;
  padding-top: 80px;
}

.pep-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=1800&q=80');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.12;
  filter: grayscale(20%);
  z-index: 1;
}

.pep-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(11, 26, 18, 0.5) 0%, transparent 70%),
    linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 2;
}

.pep-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 40px 80px;
  width: 100%;
}

.pep-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--sage);
  border: 1px solid rgba(125, 175, 122, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.2s both;
}

.pep-hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.35s both;
}

.pep-hero-headline em {
  font-style: italic;
  color: var(--sage);
}

.pep-hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(237, 234, 222, 0.65);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 48px;
  animation: fadeUp 0.8s 0.5s both;
}

.pep-hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.8s 0.65s both;
}

.pep-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pep-stat-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
}

.pep-stat-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(237, 234, 222, 0.5);
  text-transform: uppercase;
}

.pep-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(237, 234, 222, 0.15);
}

.pep-hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 60px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(237, 234, 222, 0.35);
}

.pep-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(237,234,222,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ---- DISCLAIMER ---- */
.pep-disclaimer {
  background: rgba(201, 168, 76, 0.08);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 16px 40px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
}

.pep-disclaimer svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.pep-disclaimer p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(237, 234, 222, 0.6);
  line-height: 1.6;
  margin: 0;
}

.pep-disclaimer strong {
  color: var(--gold);
  font-weight: 600;
}

/* ---- CATEGORY NAV ---- */
.pep-cat-nav {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: rgba(10, 14, 10, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 40px;
}

.pep-cat-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0;
}

.pep-cat-nav-inner::-webkit-scrollbar { display: none; }

.pep-cat-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(237, 234, 222, 0.5);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 7px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.pep-cat-btn:hover {
  color: var(--ivory);
  border-color: rgba(125, 175, 122, 0.3);
}

.pep-cat-btn.active {
  color: var(--bg-deep);
  background: var(--sage);
  border-color: var(--sage);
  font-weight: 600;
}

/* ---- CATALOG MAIN ---- */
.pep-catalog {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 40px 80px;
}

/* ---- CATEGORY SECTION ---- */
.pep-category {
  margin-bottom: 80px;
}

.pep-category.hidden {
  display: none;
}

.pep-cat-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pep-cat-icon {
  width: 48px;
  height: 48px;
  background: rgba(125, 175, 122, 0.1);
  border: 1px solid rgba(125, 175, 122, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage);
}

.pep-cat-icon svg {
  width: 22px;
  height: 22px;
}

.pep-cat-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 6px;
  line-height: 1.2;
}

.pep-cat-info p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(237, 234, 222, 0.5);
  line-height: 1.6;
  max-width: 560px;
}

/* ---- PRODUCT GRID ---- */
.pep-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ---- PRODUCT CARD ---- */
.pep-card {
  background: var(--bg-forest);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.pep-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(125, 175, 122, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pep-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 175, 122, 0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(125,175,122,0.1);
}

.pep-card:hover::before {
  opacity: 1;
}

/* Featured card (has product image) */
.pep-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.pep-card.featured .pep-card-img {
  height: 100%;
  min-height: 220px;
  background: #1a2a1f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.pep-card.featured .pep-card-img img {
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

.pep-card.featured .pep-card-body {
  padding: 28px 28px 28px 0;
}

/* Standard card layout */
.pep-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.pep-card-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(125, 175, 122, 0.12);
  color: var(--sage);
  border: 1px solid rgba(125, 175, 122, 0.2);
  white-space: nowrap;
}

.pep-card-tag.rx {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.25);
}

.pep-card-sku {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(237, 234, 222, 0.25);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.pep-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 8px;
  line-height: 1.2;
}

.pep-card-type {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(237, 234, 222, 0.4);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.pep-card-description {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: rgba(237, 234, 222, 0.6);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Variants list */
.pep-variants-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237, 234, 222, 0.35);
  margin-bottom: 10px;
}

.pep-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pep-variant-pill {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(237, 234, 222, 0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 4px 10px;
  transition: all 0.2s ease;
}

.pep-card:hover .pep-variant-pill {
  border-color: rgba(125, 175, 122, 0.2);
  color: rgba(237, 234, 222, 0.75);
}

/* Inquire button */
.pep-card-action {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pep-inquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  background: transparent;
  border: 1px solid rgba(125, 175, 122, 0.3);
  border-radius: 100px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.pep-inquire-btn:hover {
  background: rgba(125, 175, 122, 0.1);
  border-color: var(--sage);
  color: var(--sage);
}

/* ---- FEATURED PRODUCT CARDS (Tesamorelin, Wolverine) ---- */
.pep-featured-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}

.pep-featured-card {
  background: var(--bg-forest);
  border: 1px solid rgba(125, 175, 122, 0.15);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pep-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(125,175,122,0.2);
}

.pep-featured-img {
  background: #111a14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  min-height: 260px;
}

.pep-featured-img img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6));
  transition: transform 0.4s ease;
}

.pep-featured-card:hover .pep-featured-img img {
  transform: scale(1.04) translateY(-4px);
}

.pep-featured-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pep-featured-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.pep-featured-body h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 6px;
  line-height: 1.2;
}

.pep-featured-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.pep-featured-body p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(237, 234, 222, 0.6);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.pep-featured-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.pep-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pep-featured-footer .pep-inquire-btn {
  font-size: 14px;
  padding: 10px 22px;
}

.pep-featured-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(237, 234, 222, 0.35);
  letter-spacing: 0.04em;
}

/* ---- CTA BANNER ---- */
.pep-cta-banner {
  background: var(--bg-forest);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 40px;
}

.pep-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.pep-cta-text .section-label {
  margin-bottom: 16px;
}

.pep-cta-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 16px;
}

.pep-cta-text h2 em {
  font-style: italic;
  color: var(--sage);
}

.pep-cta-text p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgba(237, 234, 222, 0.55);
  line-height: 1.65;
  max-width: 440px;
}

.pep-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-lg {
  padding: 16px 36px !important;
  font-size: 15px !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .pep-featured-row {
    grid-template-columns: 1fr;
  }

  .pep-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .pep-cta-text p {
    max-width: 100%;
  }

  .pep-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .pep-hero-content {
    padding: 80px 24px 60px;
  }

  .pep-hero-stats {
    gap: 20px;
  }

  .pep-stat-num {
    font-size: 24px;
  }

  .pep-cat-nav {
    padding: 0 16px;
  }

  .pep-catalog {
    padding: 40px 24px 60px;
  }

  .pep-disclaimer {
    padding: 14px 24px;
  }

  .pep-product-grid {
    grid-template-columns: 1fr;
  }

  .pep-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .pep-card.featured .pep-card-img {
    height: 200px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .pep-card.featured .pep-card-body {
    padding: 24px;
  }

  .pep-hero-scroll {
    display: none;
  }

  .pep-cta-banner {
    padding: 60px 24px;
  }
}

/* ---- FEATURED SECTION HEADER ---- */
.pep-featured-section {
  margin-bottom: 80px;
}

.pep-featured-header {
  margin-bottom: 40px;
}

.pep-featured-header .section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 12px;
}

.pep-featured-header .section-title em {
  font-style: italic;
  color: var(--sage);
}

.pep-featured-header .section-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(237, 234, 222, 0.5);
  line-height: 1.6;
  max-width: 480px;
}

/* ---- ACTIVE NAV LINK ---- */
.nav-links a.active {
  color: var(--sage);
}

/* Featured cards without images */
.pep-featured-card--no-img {
  display: flex;
  flex-direction: column;
}

.pep-featured-card--no-img .pep-featured-body {
  padding: 44px 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .pep-featured-card--no-img .pep-featured-body {
    padding: 32px 28px;
  }
}
