/* ═══════════════════════════════════════════════════
   Shelzy's Beauty — Article Page Components
   Loaded only on article pages
   ═══════════════════════════════════════════════════ */

/* ── Article nav ────────────────────────────────────── */

.site-nav {
  background: rgba(248, 245, 241, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--caption);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--ink); }

/* ── Sticky bar ──────────────────────────────────────── */

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  flex-wrap: wrap;
}

.sticky-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.sticky-product {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  padding: 9px 20px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.sticky-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.35); }

/* ── Article layout ──────────────────────────────────── */

.article-main {
  background: var(--paper);
}

.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

/* ── Article hero image ──────────────────────────────── */

.article-hero-image {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 0 32px;
  display: block;
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.98) saturate(0.95);
}

@media (max-width: 640px) {
  .article-hero-image { padding: 0 20px; }
}

/* ── Breadcrumb ──────────────────────────────────────── */

.article-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.article-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.article-breadcrumb a:hover { color: var(--ink); }

/* ── Article header ──────────────────────────────────── */

.article-header {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.article-cat {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose);
  background: var(--rose-pale);
  padding: 4px 12px;
  display: inline-block;
}

.article-date {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.article-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--caption);
  line-height: 1.75;
  margin-bottom: 20px;
}

.article-byline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── Article intro ───────────────────────────────────── */

.article-intro {
  margin-bottom: 40px;
}

.article-intro p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--caption);
  line-height: 1.9;
  margin-bottom: 18px;
}

/* ── Article body sections ───────────────────────────── */

.article-section {
  margin-bottom: 48px;
}

.article-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-section p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--caption);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* ── Quick picks box ─────────────────────────────────── */

.quick-picks-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 32px;
  margin: 0 0 48px;
}

.quick-picks-box h2 {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 20px;
}

.quick-picks-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-picks-box li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--caption);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.quick-picks-box li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 400;
}

.quick-picks-box strong {
  font-weight: 500;
  color: var(--ink);
}

/* ── Product box extended header ─────────────────────── */

.product-box-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.product-rank {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--border-strong);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  font-style: italic;
  width: 52px;
  text-align: right;
}

.product-box-title {
  flex: 1;
  min-width: 0;
}

.product-box-title h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.product-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  background: var(--surface-deep);
  padding: 4px 10px;
  border: 1px solid var(--border);
}

.product-badge.badge-top {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

.product-badge.badge-value {
  color: var(--ink);
  background: var(--nude);
  border-color: var(--border);
}

/* ── Product box body ────────────────────────────────── */

.product-box-body p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--caption);
  line-height: 1.85;
  margin-bottom: 16px;
}

.product-box-body p strong {
  font-weight: 500;
  color: var(--ink);
}

/* ── Pros/cons columns ───────────────────────────────── */

.product-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.pros-col,
.cons-col {
  padding: 20px 24px;
}

.pros-col {
  background: #F4F5EF;
  border-left: 2px solid #A8B89A;
}

.cons-col {
  background: #F5F0EC;
  border-left: 2px solid #C4A882;
}

.pros-col h4,
.cons-col h4 {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 14px;
}

.pros-col ul,
.cons-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pros-col li,
.cons-col li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--caption);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.pros-col li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #A8B89A;
  font-weight: 500;
}

.cons-col li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: #C4A882;
  font-weight: 500;
}

/* ── Affiliate CTA button ────────────────────────────── */

.product-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  padding: 14px 32px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: background 0.2s;
  border: 1px solid var(--accent);
  margin-top: 8px;
}

.product-cta-btn:hover {
  background: #3A3A3A;
  border-color: #3A3A3A;
  color: var(--paper);
}

/* ── Email capture (in-article) ──────────────────────── */

.email-capture {
  background: var(--surface-deep);
  border: 1px solid var(--border);
  padding: 40px;
  margin: 48px 0;
  text-align: center;
}

.email-capture h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

.email-capture p {
  font-family: var(--font-body);
  color: var(--caption);
  font-size: 0.88rem;
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.75;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
  .nav-inner { padding: 0 24px; }
  .article-container { padding: 40px 24px 64px; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 0 20px; height: 56px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.62rem; }
  .nav-links li:nth-child(n+4) { display: none; }
  .sticky-inner { padding: 0 16px; gap: 10px; }
  .sticky-product { display: none; }
  .article-container { padding: 32px 20px 56px; }
  .article-header h1 { font-size: 1.75rem; }
  .quick-picks-box { padding: 24px 20px; }
  .product-pros-cons { grid-template-columns: 1fr; }
  .product-box-header { gap: 12px; }
  .product-rank { font-size: 1.8rem; width: 36px; }
  .product-box-title h2 { font-size: 1.15rem; }
}
