/* ===== SHELZY'S BEAUTY — 2026 EDITORIAL BEAUTY DESIGN ===== */
/* Palette: Soft Rose + Warm Neutral + Cocoa — inspired by Glossier, Rhode, Summer Fridays */

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

:root {
  --rose: #c17c74;
  --rose-soft: #d4a59a;
  --rose-pale: #f2e0dc;
  --rose-bg: #faf5f3;
  --cocoa: #5c4033;
  --cocoa-light: #8b6f5e;
  --cream: #fdfaf7;
  --warm-white: #f8f4f0;
  --text: #3b2f2b;
  --text-body: #5a4a44;
  --text-light: #8a7a72;
  --text-muted: #b5a69e;
  --border: #ebe3de;
  --border-light: #f2ece8;
  --cta: #c17c74;
  --cta-hover: #a8635b;
  --shadow-sm: 0 1px 3px rgba(92,64,51,0.04);
  --shadow: 0 4px 20px rgba(92,64,51,0.06);
  --shadow-lg: 0 12px 40px rgba(92,64,51,0.08);
  --radius: 6px;
  --radius-lg: 10px;
  --max-width: 1140px;
  --content-width: 720px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cta-hover); }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(253,250,247,0.92);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.site-logo span {
  font-weight: 400;
  color: var(--rose);
}

nav { display: flex; gap: 2px; align-items: center; }

nav a {
  color: var(--text-light);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition);
  border-radius: var(--radius);
}

nav a:hover, nav a.active {
  color: var(--text);
  background: var(--rose-pale);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--rose-pale) 0%, var(--warm-white) 50%, var(--cream) 100%);
  padding: 72px 32px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.hero h1 {
  font-size: 52px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
  font-weight: 700;
}

.hero p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== MAIN CONTENT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px;
}

/* ===== CATEGORY FILTER ===== */
.category-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.cat-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
}

.cat-btn:hover {
  border-color: var(--rose-soft);
  color: var(--text);
  background: var(--rose-bg);
}

.cat-btn.active {
  border-color: var(--rose);
  background: var(--rose);
  color: #fff;
}

/* ===== POST GRID ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Category-colored card headers — replaces emojis */
.card-img {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px 20px;
  font-size: 0; /* hide emoji text */
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-pale), var(--warm-white));
}

/* Category-specific gradients for visual variety */
.post-card[data-cat="Best Of"] .card-img {
  background: linear-gradient(135deg, #f2e0dc 0%, #e8ccc6 40%, #f5e6e2 100%);
}
.post-card[data-cat="Reviews"] .card-img {
  background: linear-gradient(135deg, #e8ddd5 0%, #ddd0c6 40%, #f0e8e2 100%);
}
.post-card[data-cat="How-To"] .card-img {
  background: linear-gradient(135deg, #dde5db 0%, #cfd9cc 40%, #e8efe6 100%);
}
.post-card[data-cat="Compare"] .card-img {
  background: linear-gradient(135deg, #dbd8e8 0%, #ccc8dc 40%, #e8e5f0 100%);
}
.post-card[data-cat="Budget"] .card-img {
  background: linear-gradient(135deg, #e0ddd5 0%, #d5d0c4 40%, #ece9e2 100%);
}
.post-card[data-cat="Gift Guide"] .card-img {
  background: linear-gradient(135deg, #f2dce0 0%, #e8c6cc 40%, #f5e2e6 100%);
}
.post-card[data-cat="Deep Dive"] .card-img {
  background: linear-gradient(135deg, #d5dde0 0%, #c4d0d5 40%, #e2eaec 100%);
}

/* Decorative circle accent on card headers */
.card-img::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -20px;
  top: -20px;
  background: rgba(255,255,255,0.35);
}

.card-img::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  right: 40px;
  bottom: 20px;
  background: rgba(255,255,255,0.2);
}

.card-body { padding: 22px 24px 24px; }

.card-cat {
  display: inline-block;
  color: var(--rose);
  padding: 0;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 600;
}

.card-title a { color: inherit; }
.card-title a:hover { color: var(--rose); }

.card-excerpt {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== SINGLE POST ===== */
.post-header {
  background: linear-gradient(160deg, var(--rose-pale) 0%, var(--warm-white) 60%, var(--cream) 100%);
  padding: 64px 32px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.post-header .card-cat {
  color: var(--rose);
  margin-bottom: 16px;
}

.post-header h1 {
  font-size: 40px;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.post-header .card-meta {
  color: var(--text-muted);
  font-size: 13px;
}

.post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.post-content h2 {
  font-size: 28px;
  color: var(--text);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  line-height: 1.3;
}

.post-content h2:first-of-type { margin-top: 0; }

.post-content h3 {
  font-size: 22px;
  color: var(--text);
  margin: 32px 0 12px;
}

.post-content p {
  margin-bottom: 20px;
  color: var(--text-body);
}

.post-content ul, .post-content ol {
  margin: 0 0 20px 24px;
  color: var(--text-body);
}

.post-content li { margin-bottom: 8px; }

/* ===== PRODUCT CARD ===== */
.product-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.product-box:hover {
  border-color: var(--rose-soft);
  box-shadow: var(--shadow);
}

.product-box h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  margin: 0 0 6px;
  font-size: 21px;
}

.product-box .price {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.product-box p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.product-box .pros {
  background: #f2f7f2;
  border-left: 3px solid #7bad7b;
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

.product-box .cons {
  background: #fdf6f0;
  border-left: 3px solid var(--rose-soft);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(193,124,116,0.25);
}

.cta-btn::after {
  content: '\2192';
  font-size: 16px;
  transition: transform var(--transition);
}

.cta-btn:hover::after {
  transform: translateX(3px);
}

/* ===== AFFILIATE DISCLOSURE ===== */
.disclosure {
  background: var(--rose-bg);
  border-left: 3px solid var(--rose-soft);
  padding: 16px 20px;
  margin: 0 0 36px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.disclosure strong { color: var(--text-body); }

/* ===== RELATED POSTS ===== */
.related-posts {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-posts h2 {
  text-align: center;
  border: none;
  margin-bottom: 28px;
  font-size: 24px;
  padding-bottom: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 40px 32px;
  margin-top: 0;
  font-size: 13px;
}

.site-footer a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.site-footer a:hover { color: #fff; }

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 28px 0;
}

.toc h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.toc ol { margin: 0; padding-left: 20px; }
.toc li { font-size: 14px; margin-bottom: 6px; color: var(--text-light); }
.toc li a { color: var(--text-body); }
.toc li a:hover { color: var(--rose); }

/* ===== NEWSLETTER BOX ===== */
.newsletter-box {
  background: linear-gradient(135deg, var(--rose-pale), var(--warm-white));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin: 16px 0 0;
  border: 1px solid var(--border-light);
}

.newsletter-box h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 26px;
}

.newsletter-box p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 15px; }
  .hero { padding: 48px 24px 44px; }
  .post-header h1 { font-size: 28px; }
  .post-header { padding: 48px 20px 40px; }
  .post-grid { grid-template-columns: 1fr; }
  .header-inner {
    height: auto;
    padding: 14px 20px;
    flex-direction: column;
    gap: 10px;
  }
  nav { justify-content: center; flex-wrap: wrap; }
  nav a { padding: 6px 12px; font-size: 12px; }
  .container { padding: 32px 20px; }
  .card-body { padding: 18px 20px 20px; }
  .product-box { padding: 20px; }
  .post-content { padding: 32px 16px 48px; }
  .newsletter-box { padding: 36px 24px; }
  .card-img { height: 130px; }
}

/* ===== UTILITY ===== */
::selection {
  background: var(--rose-pale);
  color: var(--text);
}
