/*
Theme Name: SuperBuy Fresh Clean SEO Theme
Theme URI: https://cnfansfindspreadsheet.com/
Author: SEO Specialist
Description: Clean, bright, and modern light-mode theme for SuperBuy. Vibrant emerald green accents, crisp typography, and highly intuitive shopping card design.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: superbuy-fresh-clean
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-light: #f8fafc;
  --card-white: #ffffff;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-orange: #f97316;
  --border-subtle: #e2e8f0;
  --radius-clean: 14px;
  --shadow-clean: 0 4px 20px rgba(15, 23, 42, 0.05);
  --transition: all 0.25s ease;
}

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

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

header.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; height: 78px; }

.logo a {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo span.emerald { color: var(--accent-emerald); }

.fresh-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #ecfdf5;
  color: var(--accent-emerald-dark);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
}

.nav-menu { display: flex; list-style: none; gap: 10px; align-items: center; }
.nav-item { position: relative; }
.nav-item > a {
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  color: var(--text-primary);
  transition: var(--transition);
}

.nav-item > a:hover { color: var(--accent-emerald); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--card-white);
  min-width: 220px;
  border-radius: var(--radius-clean);
  padding: 10px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-clean);
  z-index: 100;
}

.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 6px;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  color: var(--accent-emerald-dark);
  background: #ecfdf5;
}

/* Intro Box */
.intro-fresh {
  margin: 32px 0 16px;
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-emerald);
  border-radius: var(--radius-clean);
  padding: 30px;
  box-shadow: var(--shadow-clean);
}

.intro-fresh h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.intro-fresh p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Hero Section */
.hero-fresh {
  text-align: center;
  padding: 40px 0 35px;
}

.hero-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-emerald-dark);
  background: #d1fae5;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title span.highlight {
  color: var(--accent-emerald);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 30px;
}

.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 25px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-emerald {
  background: var(--accent-emerald);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  background: var(--accent-emerald-dark);
  transform: translateY(-2px);
}

.btn-orange-outline {
  background: var(--card-white);
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
  box-shadow: var(--shadow-clean);
}

.btn-orange-outline:hover {
  background: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Category Grid */
.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin: 45px 0 24px;
  color: var(--text-primary);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}

.cat-card {
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-clean);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-clean);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cat-card-icon { font-size: 28px; }

.cat-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.cat-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.12);
}

/* Article Cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.article-card {
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-clean);
  padding: 26px;
  box-shadow: var(--shadow-clean);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--text-primary);
}

.article-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.read-more {
  color: var(--accent-emerald-dark);
  font-weight: 700;
  font-size: 14px;
}

.article-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
}

.content-area {
  background: var(--card-white);
  padding: 40px;
  border-radius: var(--radius-clean);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-clean);
  margin: 30px 0 60px;
}

.entry-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
}

.entry-content { color: #334155; font-size: 16px; line-height: 1.8; }

.internal-link-box {
  background: #ecfdf5;
  border-left: 4px solid var(--accent-emerald);
  padding: 20px;
  margin: 30px 0 10px;
  border-radius: 6px;
}

footer.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .hero-title { font-size: 36px; }
  .header-inner { flex-direction: column; height: auto; padding: 14px 0; gap: 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .content-area { padding: 20px; }
}