/* ============================================================
   247CanITakeWith — Main Stylesheet
   Mobile-first · Clean medical · Teal/white
   ============================================================ */

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #ccfbf1;
  --teal-xlight: #f0fdfa;
  --green: #16a34a;
  --green-light: #dcfce7;
  --amber: #d97706;
  --amber-light: #fef3c7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --dark: #1f2937;
  --dark-light: #f3f4f6;
  --grey: #6b7280;
  --grey-light: #f9fafb;
  --border: #e5e7eb;
  --text: #111827;
  --text-muted: #6b7280;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 760px; }

/* ─── COOKIE BANNER ─────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--dark); color: #fff; padding: 12px 16px;
}
.cookie-inner { display: flex; align-items: center; gap: 16px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; }
.cookie-inner p { font-size: 0.875rem; flex: 1; }
.cookie-inner a { color: var(--teal-light); }
#cookie-accept { background: var(--teal); color: #fff; border: none; padding: 8px 20px; border-radius: 6px; font-size: 0.875rem; font-weight: 600; }

/* ─── MEDICAL DISCLAIMER BANNER ─────────────────────────── */
.medical-disclaimer {
  background: #fffbeb; border-bottom: 2px solid #fbbf24;
  padding: 10px 16px; font-size: 0.875rem; text-align: center; line-height: 1.5;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header { background: var(--teal); color: #fff; padding: 12px 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 1.125rem; font-weight: 700; text-decoration: none; }
.logo-icon { font-size: 1.375rem; }
.logo-text strong { font-weight: 800; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: rgba(255,255,255,0.9); padding: 6px 12px; border-radius: 6px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background 0.15s; }
.site-nav a:hover { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb { padding: 12px 0; font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.breadcrumb li + li::before { content: '›'; margin-right: 4px; color: var(--grey); }
.breadcrumb a { color: var(--teal); }

/* ─── PAGE HEADER ────────────────────────────────────────── */
.page-h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; line-height: 1.2; margin: 16px 0 8px; color: var(--dark); }
.last-updated { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.source-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; font-style: italic; }

/* ─── ALSO KNOWN AS ─────────────────────────────────────── */
.also-known-as { background: var(--grey-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

/* ─── VERDICT BOX ────────────────────────────────────────── */
.verdict-box {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius-lg); margin: 0 0 24px;
  border-width: 2px; border-style: solid;
}
.verdict-safe   { background: var(--green-light); border-color: var(--green); }
.verdict-caution{ background: var(--amber-light); border-color: var(--amber); }
.verdict-avoid  { background: var(--red-light); border-color: var(--red); }
.verdict-seek   { background: var(--dark-light); border-color: var(--dark); }
.verdict-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.verdict-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; color: var(--dark); }
.one-line-answer { font-size: 1.05rem; font-weight: 600; line-height: 1.5; color: var(--dark); }

/* ─── CONTENT GRID ───────────────────────────────────────── */
.content-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .content-grid { grid-template-columns: 1fr 280px; } }

/* ─── CONTENT SECTIONS ───────────────────────────────────── */
.content-section { margin-bottom: 28px; }
.content-section h2 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--teal-light); }
.content-section p { color: var(--text); line-height: 1.75; margin-bottom: 8px; }
.explanation-text { font-size: 1rem; }

.if-taken-box { background: var(--teal-xlight); border: 1px solid var(--teal-light); border-radius: var(--radius); padding: 16px 20px; }
.if-taken-box h2 { border-bottom-color: var(--teal); }

/* ─── PHARMACIST CTA ─────────────────────────────────────── */
.pharmacist-cta {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--dark); color: #fff; border-radius: var(--radius-lg);
  padding: 20px 24px; margin: 24px 0;
}
.cta-icon { font-size: 2rem; flex-shrink: 0; }
.cta-content p { margin-bottom: 8px; font-size: 0.95rem; }
.cta-button {
  display: inline-block; background: var(--teal); color: #fff;
  padding: 10px 20px; border-radius: 6px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; margin: 8px 0; transition: background 0.15s;
}
.cta-button:hover { background: var(--teal-dark); text-decoration: none; }
.cta-note { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* ─── AMAZON BLOCK ───────────────────────────────────────── */
.amazon-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 20px 16px; margin: 24px 0; }
.amazon-block > h3 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.amazon-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.amazon-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.amazon-card-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber); }
.amazon-card.top-pick { border: 2px solid #fbbf24; background: #fffbeb; }
.amazon-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.amazon-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.amazon-link { display: block; background: #f59e0b; color: #fff; text-align: center; padding: 9px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 700; margin-top: 6px; text-decoration: none; transition: background 0.15s; }
.amazon-link:hover { background: #d97706; color: #fff; text-decoration: none; }
.affiliate-disclosure { font-size: 0.72rem; color: var(--text-muted); margin-top: 12px; border-top: 1px solid var(--border); padding-top: 10px; }
.affiliate-disclosure strong { color: #f59e0b; }

/* ─── FAQ SECTION ────────────────────────────────────────── */
.faq-section { margin: 28px 0; }
.faq-section h2 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--teal-light); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { background: var(--grey-light); padding: 14px 16px; font-size: 0.95rem; font-weight: 600; color: var(--dark); }
.faq-a { padding: 14px 16px; font-size: 0.9rem; color: var(--text); line-height: 1.7; }

/* ─── RELATED SECTION ────────────────────────────────────── */
.related-section { margin: 24px 0; }
.related-section h2 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.related-list { display: flex; flex-wrap: wrap; gap: 8px; }
.related-list li a { display: inline-block; background: var(--teal-xlight); color: var(--teal-dark); border: 1px solid var(--teal-light); padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; }
.related-list li a:hover { background: var(--teal-light); text-decoration: none; }

/* ─── SIDEBAR ────────────────────────────────────────────── */
.content-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-widget { background: var(--grey-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.sidebar-widget h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.sidebar-widget ul { display: flex; flex-direction: column; gap: 6px; }
.sidebar-widget ul li a { font-size: 0.875rem; color: var(--teal); }
.emergency-widget { background: #fff1f2; border-color: var(--red); }
.emergency-widget p { font-size: 0.875rem; margin-bottom: 4px; }
.sidebar-search { display: flex; flex-direction: column; gap: 8px; }
.sidebar-search input { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.875rem; font-family: inherit; }
.sidebar-search button { background: var(--teal); color: #fff; border: none; padding: 8px 12px; border-radius: 6px; font-size: 0.875rem; font-weight: 600; }

/* ─── HOMEPAGE HERO ──────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; padding: 48px 0 40px; text-align: center; }
.hero-h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; margin-bottom: 12px; }
.hero-highlight { color: var(--teal-light); }
.hero-tagline { font-size: clamp(1rem, 2.5vw, 1.25rem); opacity: 0.9; margin-bottom: 28px; }
.hero-search { max-width: 600px; margin: 0 auto; }
.hero-search form { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-search input { flex: 1; min-width: 200px; padding: 14px 16px; border: none; border-radius: 8px; font-size: 1rem; font-family: inherit; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.hero-search button { background: #fff; color: var(--teal-dark); border: none; padding: 14px 24px; border-radius: 8px; font-size: 1rem; font-weight: 800; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.hero-search-hint { font-size: 0.85rem; opacity: 0.8; margin-top: 10px; }
.hero-search-hint a { color: var(--teal-light); }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.how-it-works { background: var(--teal-xlight); padding: 36px 0; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.how-item { text-align: center; }
.how-icon { font-size: 2.5rem; margin-bottom: 12px; }
.how-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.how-item p { font-size: 0.875rem; color: var(--text-muted); }

/* ─── POPULAR / COMBO GRID ───────────────────────────────── */
.popular-section { padding: 40px 0; }
.popular-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; color: var(--dark); }
.combo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.combo-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border);
  transition: box-shadow 0.15s, transform 0.1s; text-decoration: none; color: var(--text);
}
.combo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); text-decoration: none; }
.combo-card.verdict-safe   { border-left: 4px solid var(--green); }
.combo-card.verdict-caution{ border-left: 4px solid var(--amber); }
.combo-card.verdict-avoid  { border-left: 4px solid var(--red); }
.combo-card.verdict-seek   { border-left: 4px solid var(--dark); }
.combo-verdict-dot { font-size: 1.25rem; flex-shrink: 0; }
.combo-title { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.combo-label { font-size: 0.75rem; color: var(--text-muted); }

/* ─── CATEGORY CARDS ─────────────────────────────────────── */
.categories-section { background: var(--grey-light); padding: 40px 0; }
.categories-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; color: var(--dark); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; text-decoration: none; color: var(--text); transition: box-shadow 0.15s; display: block; }
.cat-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.cat-icon { font-size: 2rem; margin-bottom: 12px; }
.cat-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.cat-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* ─── DRUG INDEX ─────────────────────────────────────────── */
.drug-index-section { padding: 40px 0; }
.drug-index-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.drug-index-section > .container > p { color: var(--text-muted); margin-bottom: 16px; }
.drug-index-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.drug-index-link { background: var(--teal-xlight); color: var(--teal-dark); border: 1px solid var(--teal-light); padding: 6px 14px; border-radius: 20px; font-size: 0.875rem; font-weight: 600; transition: background 0.15s; }
.drug-index-link:hover { background: var(--teal-light); text-decoration: none; }
.see-all-link { color: var(--teal); font-weight: 600; font-size: 0.9rem; }

/* ─── TRUST SECTION ──────────────────────────────────────── */
.trust-section { background: var(--dark); color: #fff; padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.trust-icon { font-size: 2rem; margin-bottom: 10px; }
.trust-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.trust-item p { font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.5; }

/* ─── HOMEPAGE DISCLAIMER ────────────────────────────────── */
.homepage-disclaimer { background: var(--amber-light); border-top: 1px solid var(--amber); padding: 16px 0; }
.homepage-disclaimer p { font-size: 0.875rem; color: var(--dark); }

/* ─── INTERACTION GRID (category pages) ─────────────────── */
.interaction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 20px 0; }
.interaction-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; text-decoration: none; color: var(--text); transition: box-shadow 0.15s;
}
.interaction-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.interaction-card.verdict-safe   { border-left: 4px solid var(--green); }
.interaction-card.verdict-caution{ border-left: 4px solid var(--amber); }
.interaction-card.verdict-avoid  { border-left: 4px solid var(--red); }
.int-card-verdict { font-size: 1.25rem; flex-shrink: 0; }
.int-card-title { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.int-card-verdict-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.int-card-summary { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ─── FILTER BAR ─────────────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 16px 0; font-size: 0.875rem; color: var(--text-muted); }
.filter-btn { background: var(--grey-light); border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; color: var(--dark); transition: all 0.15s; }
.filter-btn.active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ─── HUB SECTIONS ───────────────────────────────────────── */
.hub-section { margin: 28px 0; }
.hub-section h2 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.hub-interaction-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; border-radius: var(--radius); border: 1px solid; }
.hub-interaction-card.verdict-safe   { background: var(--green-light); border-color: var(--green); }
.hub-interaction-card.verdict-caution{ background: var(--amber-light); border-color: var(--amber); }
.hub-interaction-card.verdict-avoid  { background: var(--red-light); border-color: var(--red); }
.hub-verdict { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.hub-interaction-card p { font-size: 0.9rem; line-height: 1.6; color: var(--dark); }
.read-more-link { font-size: 0.875rem; font-weight: 700; color: var(--teal); }

/* ─── DRUG INFO CARD ─────────────────────────────────────── */
.drug-info-card { background: var(--teal-xlight); border: 1px solid var(--teal-light); border-radius: var(--radius-lg); padding: 24px; margin: 16px 0 28px; }
.drug-info-card h2 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.drug-info-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .drug-info-grid { grid-template-columns: 1fr 220px; } }
.drug-meta { display: flex; flex-direction: column; gap: 10px; }
.drug-meta-item { background: #fff; border-radius: 6px; padding: 8px 12px; }
.meta-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px; }
.meta-value { font-size: 0.875rem; color: var(--dark); font-weight: 500; }

/* ─── ALSO CHECK ─────────────────────────────────────────── */
.also-check-section { background: var(--grey-light); border-radius: var(--radius); padding: 20px; margin: 28px 0; }
.also-check-section h2 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.also-check-links { display: flex; flex-wrap: wrap; gap: 8px; }
.also-check-link { background: #fff; border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; font-size: 0.875rem; color: var(--teal); font-weight: 500; }

/* ─── PROSE CONTENT ──────────────────────────────────────── */
.prose-content h2 { font-size: 1.25rem; font-weight: 700; margin: 24px 0 10px; color: var(--dark); }
.prose-content h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; color: var(--dark); }
.prose-content p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 14px; color: var(--text); }
.prose-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.prose-content ul li { font-size: 0.95rem; line-height: 1.7; margin-bottom: 4px; }
.prose-content a { color: var(--teal); text-decoration: underline; }

/* ─── CATEGORY PAGE INTRO ────────────────────────────────── */
.category-intro { font-size: 1rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 48px 0 24px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-col h4 { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-col p { font-size: 0.8rem; line-height: 1.6; margin-bottom: 8px; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col ul li a { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.footer-col ul li a:hover { color: #fff; }
.footer-links-portfolio { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-links-portfolio a { color: var(--teal-light); margin: 0 4px; }
.footer-disclaimer { background: rgba(0,0,0,0.2); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.footer-disclaimer p { font-size: 0.75rem; line-height: 1.7; }
.footer-copyright { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-align: center; margin-top: 16px; }

/* ─── MOBILE OPTIMISATIONS ───────────────────────────────── */
@media (max-width: 480px) {
  .site-nav { display: none; }
  .verdict-box { flex-direction: column; gap: 8px; }
  .pharmacist-cta { flex-direction: column; }
  .hero-search form { flex-direction: column; }
  .hero-search input, .hero-search button { width: 100%; }
}

/* ─── SIDEBAR AFFILIATE WIDGET ───────────────────────────── */
.sidebar-affiliate { background: #fff; border: 2px solid #fbbf24; border-radius: var(--radius-lg); padding: 14px; }
.sidebar-affiliate-label { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 10px; }
.sidebar-product-item { padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.sidebar-product-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.sidebar-product-item h4 { font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; line-height: 1.3; }
.sidebar-product-item p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; line-height: 1.4; }
.sidebar-amz-btn { display: block; background: #f59e0b; color: #fff; text-align: center; padding: 8px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; text-decoration: none; transition: background 0.15s, box-shadow 0.15s; box-shadow: 0 2px 6px rgba(245,158,11,0.35); }
.sidebar-amz-btn:hover { background: #d97706; color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(245,158,11,0.5); }

/* ─── AMAZON BUTTON GLOW UPGRADE ─────────────────────────── */
.amazon-link { box-shadow: 0 2px 8px rgba(245,158,11,0.3); }
.amazon-link:hover { box-shadow: 0 4px 16px rgba(245,158,11,0.55); transform: translateY(-1px); }

/* ─── HOMEPAGE AFFILIATE STRIP ───────────────────────────── */
.homepage-affiliate { background: var(--grey-light); padding: 40px 0; border-top: 1px solid var(--border); }
.homepage-affiliate h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; color: var(--dark); }
.homepage-affiliate .section-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; }
.homepage-affiliate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.homepage-aff-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.homepage-aff-card.featured { border: 2px solid #fbbf24; background: #fffbeb; }
.homepage-aff-badge { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--amber); }
.homepage-aff-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.homepage-aff-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.homepage-aff-btn { display: block; background: #f59e0b; color: #fff; text-align: center; padding: 10px 14px; border-radius: 6px; font-size: 0.875rem; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgba(245,158,11,0.3); transition: all 0.15s; margin-top: 4px; }
.homepage-aff-btn:hover { background: #d97706; color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(245,158,11,0.5); transform: translateY(-1px); }

/* ─── CATEGORY PAGE AFFILIATE STRIP ──────────────────────── */
.category-affiliate { background: #fffbeb; border: 1px solid #fbbf24; border-radius: var(--radius-lg); padding: 16px 20px; margin: 20px 0; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.category-affiliate p { font-size: 0.875rem; color: var(--dark); flex: 1; }
.category-affiliate p strong { font-weight: 700; }
.category-aff-links { display: flex; gap: 8px; flex-wrap: wrap; }
.category-aff-link { display: inline-block; background: #f59e0b; color: #fff; padding: 8px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 6px rgba(245,158,11,0.3); transition: all 0.15s; }
.category-aff-link:hover { background: #d97706; color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(245,158,11,0.5); }
