/* Nizoli Prints — Store Styles */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --orange: #e85d04;
  --orange-light: #ff7a2f;
  --orange-pale: #fff3ea;
  --yellow: #f9c74f;
  --green: #52b788;
  --blue: #4cc9f0;
  --purple: #7b2d8b;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --bg: #fdfaf6;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.nav {
  background: var(--white);
  border-bottom: 2px solid var(--orange);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(232,93,4,0.12);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
}
.nav-brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.nav-brand-text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-links a:hover { background: var(--orange-pale); }
.nav-links .btn-nav {
  background: var(--orange);
  color: white;
  padding: 8px 20px;
}
.nav-links .btn-nav:hover { background: var(--orange-light); text-decoration: none; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #fff8f0 0%, #ffecd6 50%, #fff3ea 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '📚 🌟 ✏️ 🎨 🔢 🌍 🦁 🎯';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  font-size: 24px;
  opacity: 0.12;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: 40px;
}
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.1;
  color: var(--text);
}
.hero h1 em {
  color: var(--orange);
  font-style: normal;
}
.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 12px rgba(232,93,4,0.35);
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); text-decoration: none; color: white; }
.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--orange);
  color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
}
.trust-item { display: flex; align-items: center; gap: 8px; }

/* ── SECTION ── */
.section { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.section-title { font-size: 32px; font-weight: 800; margin: 0 0 8px; }
.section-sub { color: var(--text-muted); margin: 0 0 40px; font-size: 16px; }

/* ── CATEGORY PILLS ── */
.category-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cat-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s;
  line-height: 1.2;
}
.cat-pill span { font-size: 11px; font-weight: 400; color: var(--text-muted); }
.cat-pill:hover, .cat-pill.active {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  text-decoration: none;
}
.cat-pill.active span, .cat-pill:hover span { color: rgba(255,255,255,0.8); }

/* ── PRODUCT GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-cover {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
}
.product-card-cover .cover-emoji { font-size: 72px; }
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}
.product-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.product-card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.product-card-actions { display: flex; gap: 8px; }
.btn-buy {
  flex: 1;
  background: var(--orange);
  color: white;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-buy:hover { background: var(--orange-light); text-decoration: none; color: white; }
.btn-details {
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s;
  white-space: nowrap;
}
.btn-details:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }

/* cover colors */
.cover-abc { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.cover-numbers { background: linear-gradient(135deg, #a5f3fc, #38bdf8); }
.cover-brainboost { background: linear-gradient(135deg, #bbf7d0, #4ade80); }
.cover-zambia { background: linear-gradient(135deg, #fecdd3, #f87171); }
.cover-animals { background: linear-gradient(135deg, #e9d5ff, #a855f7); }

/* ── BUNDLES ── */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.bundle-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.bundle-card.best-value { border-color: var(--orange); }
.bundle-best-badge {
  position: absolute;
  top: 16px;
  right: -8px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 20px;
  letter-spacing: 0.5px;
}
.bundle-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.bundle-card p { color: var(--text-muted); margin: 0 0 20px; }
.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.bundle-price-main { font-size: 36px; font-weight: 800; color: var(--text); }
.bundle-price-old { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.bundle-savings { font-size: 14px; color: var(--green); font-weight: 600; margin-bottom: 20px; }
.bundle-includes { list-style: none; padding: 0; margin: 0 0 24px; }
.bundle-includes li { padding: 4px 0; font-size: 14px; color: var(--text-muted); }
.bundle-includes li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* ── PRODUCT DETAIL ── */
.product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.product-cover-large {
  height: 380px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}
.product-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.product-breadcrumb a { color: var(--text-muted); }
.product-breadcrumb a:hover { color: var(--orange); }
.product-cat-label {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.product-detail h1 { font-size: 32px; font-weight: 800; margin: 0 0 16px; line-height: 1.2; }
.product-meta-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.product-meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-muted); }
.product-description { font-size: 16px; line-height: 1.7; color: #374151; margin-bottom: 24px; }
.product-sidebar {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.product-sidebar-price { font-size: 40px; font-weight: 800; margin: 0 0 4px; }
.product-sidebar-note { font-size: 13px; color: var(--text-muted); margin: 0 0 20px; }
.product-sidebar .btn-buy { width: 100%; padding: 14px; font-size: 16px; border-radius: 10px; margin-bottom: 12px; }
.product-guarantees { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--border); padding-top: 20px; }
.product-guarantees li { padding: 6px 0; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }

/* ── SUCCESS / DOWNLOAD ── */
.success-page {
  max-width: 600px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}
.success-icon { font-size: 72px; margin-bottom: 24px; }
.success-page h1 { font-size: 32px; font-weight: 800; margin: 0 0 12px; }
.success-page p { color: var(--text-muted); margin: 0 0 32px; font-size: 16px; }
.download-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin: 0 0 24px;
  text-align: left;
}
.download-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.download-item:last-child { border-bottom: none; }
.download-item-emoji { font-size: 24px; }
.btn-download-all {
  display: block;
  background: var(--orange);
  color: white;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 24px auto 0;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-download-all:hover { background: var(--orange-light); text-decoration: none; color: white; }
.btn-download-single {
  background: var(--orange);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-left: auto;
  white-space: nowrap;
}
.btn-download-single:hover { background: var(--orange-light); text-decoration: none; color: white; }

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.how-item { text-align: center; }
.how-icon { font-size: 40px; margin-bottom: 12px; }
.how-item h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.how-item p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ── FOOTER ── */
.footer {
  background: #1a1a1a;
  color: #9ca3af;
  padding: 40px 24px;
  text-align: center;
  margin-top: 80px;
}
.footer-brand { color: white; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin: 16px 0; flex-wrap: wrap; }
.footer-links a { color: #9ca3af; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-note { font-size: 13px; margin: 0; }

/* ── ADMIN ── */
.admin-page { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: #f3f4f6; padding: 12px; text-align: left; font-size: 13px; font-weight: 600; }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-ready { background: #d1fae5; color: #065f46; }
.status-missing { background: #fee2e2; color: #991b1b; }
.admin-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-form input { flex: 1; min-width: 200px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.admin-form button { padding: 8px 16px; background: var(--orange); color: white; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 60px 16px; }
  .hero p { font-size: 16px; }
  .trust-strip { gap: 16px; font-size: 12px; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .product-sidebar { position: static; }
  .product-cover-large { height: 260px; font-size: 72px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .section { padding: 40px 16px; }
}
