/* ============================================================
   PREFERRED PRODUCTS — preferred-products.css
   Depends on: global.css, header.css
   ============================================================ */

body { background: var(--bg-dark); }

/* ============================================================
   HERO
   ============================================================ */
.pp-hero {
  background: linear-gradient(155deg, #021C10 0%, #0A2818 45%, #0D3020 100%);
  padding: 96px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 65%, rgba(0,88,89,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 15%, rgba(251,122,2,0.07) 0%, transparent 45%);
  pointer-events: none;
}
.pp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  animation: ppFadeUp 0.85s ease both;
}

.pp-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.pp-eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--brand-orange);
  opacity: 0.65;
}
.pp-eyebrow-row span {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.pp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-inverse);
  margin-bottom: 18px;
}
.pp-hero h1 em {
  font-style: italic;
  color: var(--brand-mint);
}
.pp-hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(245,240,232,0.55);
  max-width: 540px;
  margin: 0 auto 40px;
}

/* Category jump nav */
.pp-cat-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.pp-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  color: rgba(245,240,232,0.52);
  border: 1px solid rgba(245,240,232,0.13);
  border-radius: 20px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.pp-pill-icon { display: flex; align-items: center; }
.pp-pill-icon svg { width: 13px; height: 13px; opacity: 0.6; }
.pp-cat-pill:hover {
  color: var(--text-inverse);
  border-color: rgba(245,240,232,0.30);
  background: rgba(245,240,232,0.07);
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.pp-disclaimer {
  background: var(--warm-cream);
  border-bottom: 1px solid rgba(251,122,2,0.10);
}
.pp-disclaimer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pp-disclaimer-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--brand-orange);
  margin-top: 2px;
}
.pp-disclaimer-inner p {
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.pp-disclaimer-inner strong { color: var(--brand-orange); font-weight: 600; }

/* ============================================================
   PRODUCT SECTIONS
   ============================================================ */
.pp-main { padding-bottom: 0; }

.pp-section {
  padding: 64px 24px 56px;
  scroll-margin-top: 110px;
}
.pp-bg-white { background: var(--soft-white); }
.pp-bg-cream  { background: var(--warm-cream); }

.pp-section-inner { max-width: 1120px; margin: 0 auto; }

/* Section header — title left, intro right */
.pp-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,88,89,0.10);
}
.pp-section-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pp-section-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0,88,89,0.07);
  border: 1px solid rgba(0,88,89,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-teal);
}
.pp-section-icon svg { width: 20px; height: 20px; }

.pp-section-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 4px;
}
.pp-section-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}
.pp-section-intro {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-secondary);
}

/* Product grid */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.pp-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.pp-bg-cream .pp-card { background: white; }
.pp-card:hover {
  border-color: rgba(0,88,89,0.22);
  box-shadow: 0 8px 32px rgba(0,88,89,0.09);
  transform: translateY(-2px);
}

/* Badge */
.pp-badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 16px 16px 0;
  padding: 4px 10px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 4px;
}
.pp-badge--teal   { background: rgba(0,88,89,0.08);   color: var(--brand-teal); }
.pp-badge--mint   { background: rgba(53,189,143,0.10); color: #1a9e72; }
.pp-badge--orange { background: rgba(251,122,2,0.10);  color: var(--brand-orange); }

.pp-card-body {
  padding: 14px 20px 12px;
  flex: 1;
}
.pp-brand {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.pp-product-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.pp-product-desc {
  font-size: 13px;
  line-height: 1.68;
  color: var(--text-secondary);
}

/* Discount code */
.pp-code-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 10px;
  background: rgba(0,88,89,0.05);
  border: 1px dashed rgba(0,88,89,0.20);
  border-radius: 6px;
}
.pp-code-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pp-code-value {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-teal);
  letter-spacing: 0.06em;
  background: none;
  padding: 0;
}

/* Card footer */
.pp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.pp-price {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.pp-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: white;
  background: var(--brand-teal);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.pp-shop-btn:hover {
  background: #006b6c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,88,89,0.28);
}
.pp-shop-btn svg { flex-shrink: 0; transition: transform 0.18s; }
.pp-shop-btn:hover svg { transform: translateX(2px); }

/* ============================================================
   MEDICAL DISCLAIMER
   ============================================================ */
.pp-medical {
  background: var(--warm-cream);
  border-top: 1px solid rgba(0,88,89,0.08);
}
.pp-medical-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
}
.pp-medical-inner p {
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-muted);
}
.pp-medical-inner strong { font-weight: 600; color: var(--text-secondary); }

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.pp-cta {
  background: linear-gradient(155deg, #021C10 0%, #0A2818 55%, #0F3020 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 30%, rgba(251,122,2,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.pp-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}
.pp-cta-divider {
  width: 40px;
  height: 1px;
  background: var(--brand-teal);
  opacity: 0.28;
  margin: 0 auto 20px;
}
.pp-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 400;
  color: var(--text-inverse);
  line-height: 1.2;
  margin-bottom: 14px;
}
.pp-cta h2 em { font-style: italic; color: var(--brand-mint); }
.pp-cta p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(245,240,232,0.55);
  line-height: 1.72;
  margin-bottom: 32px;
}
.pp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--soft-white);
  background: var(--brand-teal);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
}
.pp-btn-primary:hover {
  background: #006b6c;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,88,89,0.35);
}

/* ============================================================
   ANIMATION
   ============================================================ */
@keyframes ppFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pp-section-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .pp-hero { padding: 72px 20px 56px; }
  .pp-section { padding: 48px 16px 40px; }
  .pp-grid { grid-template-columns: 1fr; gap: 16px; }
  .pp-cat-nav { gap: 6px; }
  .pp-cat-pill { font-size: 11px; padding: 6px 12px; }
  .pp-section-title-group { gap: 12px; }
  .pp-section-icon { width: 44px; height: 44px; }
}