@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:   #f7c5c5;
  --rose:   #e8838a;
  --deep:   #c0444d;
  --cream:  #fdf6f0;
  --white:  #ffffff;
  --dark:   #1a1a2e;
  --gray:   #6b7280;
  --light:  #f3f4f6;
  --gold:   #d4a843;
  --green:  #4caf50;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--dark); line-height: 1.75; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0e4e4;
  padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--deep); text-decoration: none; }
.nav-logo span { color: var(--rose); }
.nav-back { font-size: .9rem; color: var(--gray); text-decoration: none; font-weight: 500; }
.nav-back:hover { color: var(--rose); }

/* HERO */
.page-hero {
  background: linear-gradient(135deg, #fff0f0 0%, #fdf6f0 60%, #fff8f0 100%);
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid #f0e4e4;
}
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.page-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--rose), var(--deep));
  color: #fff; font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem 1.1rem; border-radius: 99px; margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
}
.page-hero .subtitle { font-size: 1.1rem; color: var(--gray); max-width: 640px; }
.meta { display: flex; gap: 1.5rem; margin-top: 1.2rem; flex-wrap: wrap; }
.meta span { font-size: .82rem; color: var(--gray); }
.meta strong { color: var(--dark); }

/* LAYOUT */
.page-layout {
  max-width: 1060px; margin: 0 auto;
  padding: 3rem 2rem;
  display: grid; grid-template-columns: 1fr 300px; gap: 3rem;
}
@media(max-width: 768px) { .page-layout { grid-template-columns: 1fr; } }

/* ARTICLE */
.article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem; font-weight: 700;
  margin: 2.4rem 0 .9rem; color: var(--dark);
}
.article h3 { font-size: 1.1rem; font-weight: 600; margin: 1.6rem 0 .6rem; }
.article p { color: #444; margin-bottom: 1rem; }
.article ul, .article ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.article li { color: #444; margin-bottom: .4rem; }
.article a { color: var(--rose); text-decoration: none; }
.article a:hover { text-decoration: underline; }

/* CALLOUT BOXES */
.callout {
  border-radius: var(--radius); padding: 1.2rem 1.5rem;
  margin: 1.5rem 0; font-size: .93rem;
}
.callout-green { background: #f0faf0; border-left: 4px solid var(--green); }
.callout-red   { background: #fff0f0; border-left: 4px solid var(--rose); }
.callout-blue  { background: #f0f4ff; border-left: 4px solid #4a7fe8; }
.callout-gold  { background: #fffbf0; border-left: 4px solid var(--gold); }
.callout strong { display: block; margin-bottom: .3rem; font-size: 1rem; }

/* SCORE CARD */
.score-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.score-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 1rem; }
.score-row { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.score-label { font-size: .85rem; width: 110px; flex-shrink: 0; color: var(--gray); }
.score-bar { flex: 1; height: 7px; background: var(--light); border-radius: 99px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--rose), var(--deep)); }
.score-num { font-size: .82rem; font-weight: 600; color: var(--dark); width: 28px; text-align: right; }

/* VERDICT BOX */
.verdict {
  background: linear-gradient(135deg, var(--dark), #2d1b2e);
  color: #fff; border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 2rem;
}
.verdict h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: .6rem; color: var(--pink); }
.verdict p { font-size: .9rem; color: #ccc; }
.verdict-score { font-size: 2.5rem; font-weight: 700; color: var(--pink); font-family: 'Playfair Display', serif; }

/* QUICK FACTS SIDEBAR */
.sidebar-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: .9rem; color: var(--dark); }
.fact-row { display: flex; justify-content: space-between; align-items: flex-start; padding: .45rem 0; border-bottom: 1px solid var(--light); font-size: .85rem; gap: .5rem; }
.fact-row:last-child { border-bottom: none; }
.fact-label { color: var(--gray); flex-shrink: 0; }
.fact-val { font-weight: 500; text-align: right; }

/* COMPARISON TABLE */
.comp-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.comp-table th { background: var(--dark); color: #fff; padding: .8rem 1rem; text-align: left; }
.comp-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--light); }
.comp-table tr:nth-child(even) td { background: #fdf6f0; }
.comp-table tr:hover td { background: #fff0f0; }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--rose); font-weight: 700; }

/* RELATED PAGES */
.related-links a {
  display: block; padding: .6rem .9rem;
  background: var(--light); border-radius: 8px;
  text-decoration: none; color: var(--dark);
  font-size: .85rem; margin-bottom: .5rem;
  transition: background .2s, color .2s;
}
.related-links a:hover { background: var(--pink); color: var(--deep); }

/* FOOTER */
footer {
  background: var(--dark); color: #888;
  padding: 2rem; text-align: center; font-size: .82rem;
  margin-top: 4rem;
}
footer a { color: var(--pink); text-decoration: none; }

/* FADE */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── AMAZON BUY BUTTON ── */
.amazon-btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  background: linear-gradient(180deg, #FFD814 0%, #F7CA00 100%);
  color: #0F1111;
  border: 1px solid #C8A600;
  border-radius: 8px;
  padding: .75rem 1.3rem;
  font-size: .92rem; font-weight: 700;
  text-decoration: none;
  transition: filter .15s, transform .15s;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  cursor: pointer;
  width: 100%;
  text-align: center;
}
.amazon-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  text-decoration: none;
}
.amazon-btn .amz-logo {
  font-family: 'Arial Black', sans-serif;
  font-size: .82rem; font-style: italic; font-weight: 900;
  letter-spacing: -.5px;
}
.amazon-btn-prime {
  background: linear-gradient(180deg, #FF9900 0%, #E88800 100%);
  border-color: #C07000; color: #fff;
}
.amazon-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; font-weight: 600; color: #555;
  background: #f0f0f0; border-radius: 6px;
  padding: .25rem .7rem; margin-top: .5rem;
}
.amazon-badge svg { width: 14px; height: 14px; }

/* ── PRODUCT IMAGE CARD (sidebar) ── */
.product-img-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #f0e4e4;
  margin-bottom: 1.5rem;
}
.product-img-card .prod-img-wrap {
  background: #fff;
  padding: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid #f0e4e4;
  min-height: 180px;
}
.product-img-card .prod-img-wrap img {
  max-width: 100%; max-height: 200px;
  object-fit: contain;
  transition: transform .3s;
}
.product-img-card .prod-img-wrap img:hover { transform: scale(1.04); }
.product-img-card .prod-info {
  padding: 1.1rem 1.2rem;
}
.product-img-card .prod-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  margin-bottom: .25rem; line-height: 1.35;
}
.product-img-card .prod-price {
  font-size: .88rem; font-weight: 600; color: var(--deep);
  margin-bottom: .85rem;
}
.product-img-card .prod-amz-note {
  font-size: .75rem; color: #888; text-align: center; margin-top: .5rem;
}

/* ── PRODUCT CARD WITH IMAGE (grid cards for review pages) ── */
.product-buy-block {
  background: var(--white);
  border: 1px solid #f0e4e4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-buy-block:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,.13); }
.product-buy-block .pbb-img {
  background: #fff;
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid #f5eded;
}
.product-buy-block .pbb-img img {
  max-height: 180px; max-width: 100%; object-fit: contain;
}
.product-buy-block .pbb-body { padding: 1.4rem; flex: 1; }
.product-buy-block .pbb-brand { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--rose); margin-bottom: .3rem; }
.product-buy-block .pbb-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; line-height: 1.3; }
.product-buy-block .pbb-price { font-size: .9rem; font-weight: 600; color: var(--deep); margin-bottom: .9rem; }
.product-buy-block .pbb-note { font-size: .82rem; color: var(--gray); margin-bottom: 1.1rem; }
.product-buy-block .pbb-footer { padding: 0 1.4rem 1.4rem; }
