/* ============================================
   SweetErrific.com - Fun & Colorful Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700&display=swap');

:root {
  --pink: #ff6b9d;
  --purple: #c44dff;
  --yellow: #ffcf48;
  --mint: #4ecdc4;
  --orange: #ff8a5c;
  --cream: #fff8f0;
  --dark: #2d1b4e;
  --light-pink: #fff0f5;
  --light-purple: #f5eeff;
  --card-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
}

/* ---- HEADER / NAV ---- */
header {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(196, 77, 255, 0.3);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.logo {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

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

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--yellow); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(160deg, var(--light-pink), var(--light-purple));
  text-align: center;
  padding: 4rem 1.5rem 3rem;
}

.hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.8rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.hero h1 .accent { color: var(--pink); }

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #555;
}

/* ---- CONTENT WRAPPERS ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ---- CARD GRID ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.card-body h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: scale(1.04); }

.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #e8558a; }

.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: #b040e8; }

.btn-mint { background: var(--mint); color: #fff; }
.btn-mint:hover { background: #3dbdb5; }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e87a50; }

.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: #f0c040; }

/* ---- PRODUCT LIST (Roundup page) ---- */
.product-item {
  display: flex;
  gap: 2rem;
  background: #fff;
  border-radius: 18px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: var(--card-shadow);
  align-items: center;
}

.product-item:nth-child(even) { flex-direction: row-reverse; }

.product-emoji {
  font-size: 5rem;
  min-width: 120px;
  text-align: center;
}

.product-info h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.product-info .price {
  font-weight: 700;
  color: var(--pink);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-info p { color: #666; margin-bottom: 1rem; font-size: 0.95rem; }

.product-number {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--purple);
  margin-bottom: 0.2rem;
}

/* ---- GIFT GUIDE GRID ---- */
.gift-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s;
}

.gift-card:hover { transform: translateY(-5px); }

.gift-emoji { font-size: 3.5rem; margin-bottom: 1rem; }

.gift-card h3 {
  font-family: 'Fredoka One', cursive;
  margin-bottom: 0.3rem;
}

.gift-card .price {
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.gift-card p { color: #666; font-size: 0.92rem; margin-bottom: 1.2rem; }

.occasion-tag {
  display: inline-block;
  background: var(--light-purple);
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  margin: 0.2rem;
}

/* ---- ARTICLE PAGE ---- */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

.article-content h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  margin: 2rem 0 0.8rem;
  color: var(--purple);
}

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

.article-content p { margin-bottom: 1rem; color: #555; }

.article-content .tip-box {
  background: linear-gradient(135deg, var(--light-pink), var(--light-purple));
  border-left: 4px solid var(--pink);
  padding: 1.2rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

.article-content .tip-box strong { color: var(--pink); }

.inline-cta {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  text-align: center;
  margin: 2rem 0;
}

.inline-cta p { color: #fff; margin-bottom: 0.8rem; font-weight: 600; }

/* ---- FEATURED BANNER ---- */
.featured-banner {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 18px;
  margin: 2rem 0;
}

.featured-banner h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.featured-banner p { max-width: 550px; margin: 0 auto 1.5rem; opacity: 0.9; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  color: #ccc;
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

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

.affiliate-disclosure {
  font-size: 0.82rem;
  color: #999;
  max-width: 600px;
  margin: 0.8rem auto 0;
  line-height: 1.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  .hero h1 { font-size: 2rem; }
  .product-item,
  .product-item:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }
  .nav-container { flex-direction: column; gap: 0.8rem; }
  nav a { margin-left: 0.8rem; }
}
