/* =====================================================
   EverNew Kids — PREMIUM REDESIGN & COMPLETE STYLES
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary:      #FF5A5F;
  --primary-dark: #E0474C;
  --secondary:    #FF9A3C;
  --green:        #3ECF8E;
  --purple:       #9B59B6;
  --blue:         #3498DB;
  --yellow:       #FFD93D;

  --bg:           #FFFBF7;
  --surface:      #FFFFFF;
  --border:       #F0E8DF;
  --text:         #1C1C2E;
  --muted:        #7A7A9D;

  --shadow-xs: 0 1px 4px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.11);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.15);
  --shadow-col: 0 8px 32px rgba(255,90,95,0.18);

  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 999px;

  --font-h: 'Poppins', 'Nunito', system-ui, -apple-system, sans-serif;
  --font-b: 'Nunito', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

.grad-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-weight: 700;
  border-radius: var(--r-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
  justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255,90,95,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,90,95,0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.8);
  color: var(--text);
  border: 2px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: rgba(255,90,95,0.05); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* Announcement & Header */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; text-align: center; padding: 10px 24px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
}

.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,251,247,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; box-shadow: 0 4px 14px rgba(255,90,95,0.35);
}
.logo-words { font-family: var(--font-h); line-height: 1; font-size: 1.35rem; }
.logo-ever  { font-weight: 900; color: var(--text); }
.logo-new   { font-weight: 900; color: var(--primary); }
.logo-kids  { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { font-size: 0.9rem; font-weight: 600; color: var(--muted); position: relative; transition: color 0.18s; }
.main-nav a:hover { color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 700; font-size: 0.9rem;
  padding: 10px 22px; border-radius: var(--r-pill);
  box-shadow: 0 4px 16px rgba(255,90,95,0.35); transition: all 0.2s;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,90,95,0.45); }
.cart-count {
  background: #fff; color: var(--primary);
  font-size: 0.72rem; font-weight: 900;
  min-width: 20px; height: 20px; border-radius: var(--r-pill);
  display: grid; place-items: center; padding: 0 5px; transition: transform 0.2s;
}
.cart-count.bump { transform: scale(1.5); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; }

/* Hero Section */
.hero { min-height: calc(100vh - 110px); position: relative; overflow: hidden; display: flex; align-items: center; padding-block: 5rem; }
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; }
.shape-1 { width: 600px; height: 600px; background: radial-gradient(circle, #FF5A5F, transparent); top: -200px; right: -100px; }
.shape-2 { width: 500px; height: 500px; background: radial-gradient(circle, #FFD93D, transparent); bottom: -150px; left: -100px; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(255,90,95,0.12), rgba(255,154,60,0.12));
  border: 1.5px solid rgba(255,90,95,0.25); color: var(--primary); font-weight: 800; font-size: 0.82rem;
  padding: 8px 18px; border-radius: var(--r-pill); margin-bottom: 1.5rem;
}
.hero-heading { font-family: var(--font-h); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900; line-height: 1.12; margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.1rem; color: var(--muted); line-height: 1.8; margin-bottom: 2.5rem; max-width: 500px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.5rem; }
.hero-trust { display: flex; gap: 2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; }
.trust-icon { width: 32px; height: 32px; background: var(--surface); border-radius: 8px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }

.hero-visual { position: relative; }
.books-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px;
  background: rgba(255,255,255,0.6); border-radius: var(--r-xl);
  backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow-lg);
}
.book-card { border-radius: var(--r-lg); padding: 28px 20px; text-align: center; transition: transform 0.3s; }
.book-card:hover { transform: translateY(-8px) scale(1.03); }
.bc-1 { background: linear-gradient(135deg, #FFEBE8, #FFD0CC); }
.bc-2 { background: linear-gradient(135deg, #F0E8FF, #E0D0FF); }
.bc-3 { background: linear-gradient(135deg, #E8F4FF, #C8E8FF); }
.bc-4 { background: linear-gradient(135deg, #E8FFE8, #C8F0C8); }
.book-emoji { font-size: 3.5rem; margin-bottom: 10px; }
.book-title { font-family: var(--font-h); font-size: 0.9rem; font-weight: 800; }

.hero-float-badge, .hero-float-badge2 {
  position: absolute; background: var(--surface); border-radius: var(--r-md);
  padding: 12px 16px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; border: 1px solid var(--border);
}
.hero-float-badge  { bottom: -16px; left: -24px; }
.hero-float-badge2 { top: -16px; right: -16px; }

/* Stats Banner */
.stats-banner { background: linear-gradient(135deg, var(--text) 0%, #2D2D4E 100%); padding: 3rem 0; }
.stats-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; padding: 0 3rem; }
.stat-num { font-family: var(--font-h); font-size: 2.2rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: #9CA3AF; font-size: 0.85rem; font-weight: 600; margin-top: 6px; text-transform: uppercase; }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }

/* Products Section */
.products-section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,90,95,0.1); color: var(--primary); font-size: 0.8rem; font-weight: 800; padding: 6px 16px; border-radius: var(--r-pill); margin-bottom: 14px; }
.section-title { font-family: var(--font-h); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }

.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 3rem; }
.filter-tab { padding: 9px 22px; border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 700; color: var(--muted); background: var(--surface); border: 2px solid var(--border); transition: all 0.2s; }
.filter-tab.active, .filter-tab:hover { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-color: transparent; color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.product-card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.3s; position: relative; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-col); }

.pc-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 0.7rem; font-weight: 900; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); }
.pc-badge.hot { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }

.pc-thumb { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.pc-real-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s; }
.product-card:hover .pc-real-img { transform: scale(1.08); }

.pc-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,28,46,0.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; opacity: 0; transition: opacity 0.3s; }
.product-card:hover .pc-overlay { opacity: 1; }
.pc-overlay-btn { padding: 10px; border-radius: var(--r-sm); background: rgba(255,255,255,0.15); color: #fff; font-weight: 700; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); margin-bottom: 6px; cursor: pointer; text-align: center; }

.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.pc-name { font-family: var(--font-h); font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.pc-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.55; margin-bottom: 12px; flex: 1; }
.pc-footer { display: flex; align-items: center; justify-content: space-between; }
.pc-price { font-family: var(--font-h); font-size: 1.15rem; font-weight: 900; color: var(--primary); }
.pc-price-old { font-size: 0.85rem; text-decoration: line-through; color: var(--muted); margin-left: 6px; font-weight: 600; }

/* 🌟 بہتر اور ماڈرن Add بٹن ڈیزائن */

..btn-add {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  color: #fff !important;
  font-family: var(--font-h) !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 8px 16px !important;
  border-radius: var(--r-pill) !important;
  box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3) !important;
  cursor: pointer !important;
  border: none !important;
}

.btn-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 90, 95, 0.45);
}

.btn-add.added {
  background: linear-gradient(135deg, var(--green), #1DB481);
}

.view-more-container { text-align: center; margin: 50px auto; }
.view-more-btn { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 14px 35px; font-size: 16px; font-weight: bold; border-radius: 50px; cursor: pointer; }
.view-more-container.hidden { display: none !important; }

/* Why Us & Testimonials */
.why-us { padding: 5rem 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-features { display: grid; gap: 20px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.wf-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; color: #fff; }
.why-card-big { background: var(--bg); border: 1.5px solid var(--border); padding: 40px; border-radius: var(--r-xl); text-align: center; }
.review-avatars { display: flex; align-items: center; justify-content: center; margin-top: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: bold; font-size: 0.85rem; border: 2px solid #fff; margin-left: -10px; }
.avatar:first-child { margin-left: 0; }

.testimonials { padding: 6rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testi-card { background: var(--surface); border: 1.5px solid var(--border); padding: 30px; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; }
.testi-stars { margin-bottom: 14px; }
.testi-text { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: bold; }

/* Newsletter */
.newsletter { padding: 4rem 0 6rem; }
.newsletter-box { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--r-xl); padding: 4rem 2rem; text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.nl-deco { font-size: 1.5rem; margin-bottom: 1rem; opacity: 0.8; }
.nl-title { font-family: var(--font-h); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 10px; }
.nl-sub { font-size: 1rem; opacity: 0.9; margin-bottom: 2rem; }
.nl-form { max-width: 500px; margin: 0 auto; display: flex; background: #fff; padding: 6px; border-radius: var(--r-pill); box-shadow: var(--shadow-md); }
.nl-form input { flex: 1; border: none; padding: 12px 20px; font-size: 0.95rem; outline: none; border-radius: var(--r-pill); }
.nl-form button { background: var(--text); color: #fff; font-weight: 800; padding: 12px 28px; border-radius: var(--r-pill); cursor: pointer; }
.nl-note { font-size: 0.8rem; opacity: 0.8; margin-top: 12px; }

/* Toast */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--text); color: #fff; padding: 14px 20px; border-radius: var(--r-md); box-shadow: var(--shadow-lg); font-weight: 600; display: flex; align-items: center; gap: 10px; }

/* Footer */
.site-footer { background: var(--text); padding-top: 5rem; padding-bottom: 2rem; color: #9CA3AF; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.social-row { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: 50%; display: grid; place-items: center; transition: background 0.2s; }
.social-btn:hover { background: var(--primary); }
.footer-col h4 { color: #fff; font-family: var(--font-h); font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .why-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-float-badge, .hero-float-badge2 { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
}