/* ============================================
   KIDDIE KANDY TREATS — Wholesale Website CSS
   ============================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:   #1A2B5E;
  --blue:   #C8922A;
  --dark:   #0D1B3E;
  --mint:   #2E5090;
  --yellow: #E8C46A;
  --purple: #1A2B5E;
  --white:  #F5F2EB;
  --font:   'Nunito', sans-serif;
  --heading:'Fredoka One', cursive;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--heading);
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 28px;
  line-height: 1.2;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  background: var(--dark);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--blue);
}

.nav-brand {
  font-family: var(--heading);
  font-size: 22px;
  color: #fff;
}

.nav-brand span { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
}

.nav-cta:hover { background: #A07020 !important; color: #fff !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 72px 24px 60px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 28px,
    rgba(255,255,255,0.03) 28px, rgba(255,255,255,0.03) 56px
  );
}

.hero-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-logo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 4px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-family: var(--heading);
  font-size: 48px;
  color: #fff;
  line-height: 1.1;
}

.hero h1 span { color: var(--blue); }

.hero-sub {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 6px;
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  max-width: 520px;
}

.hero-price-tag {
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--heading);
  font-size: 26px;
  padding: 12px 32px;
  border-radius: 12px;
  text-align: center;
  line-height: 1.2;
}

.hero-price-tag small {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  display: block;
  margin-top: 2px;
}

/* ============================================
   BANNER
   ============================================ */
.banner {
  background: var(--blue);
  padding: 13px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.banner-item {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.banner-sep {
  color: rgba(255,255,255,0.35);
  font-size: 14px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 64px 0; }
.section-alt { background: #FBF5E6; }
.section-dark { background: var(--dark); }

/* ============================================
   PRODUCT INTRO
   ============================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.intro-card {
  border-radius: 16px;
  padding: 28px;
}

.intro-card.card-blue {
  background: #FBF5E6;
  border: 2px solid var(--blue);
}

.intro-card.card-yellow {
  background: #FFF8D6;
  border: 2px solid var(--yellow);
}

.intro-card h3 {
  font-family: var(--heading);
  font-size: 22px;
  margin-bottom: 12px;
}

.card-blue h3 { color: #8B6010; }
.card-yellow h3 { color: #7A5000; }

.intro-card p {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  line-height: 1.7;
}

/* Bullet list */
.use-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.use-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #444;
}

.use-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* ============================================
   RETURN SAVINGS BANNER
   ============================================ */
.savings-bar {
  background: linear-gradient(135deg, var(--blue), #9A6B18);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 48px 0 0;
  flex-wrap: wrap;
}

.savings-bar-text {
  font-family: var(--heading);
  font-size: 22px;
  color: #fff;
  line-height: 1.2;
}

.savings-bar-text span {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  display: block;
}

.savings-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.savings-pill {
  background: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  text-align: center;
}

.savings-pill strong {
  display: block;
  font-family: var(--heading);
  font-size: 22px;
  color: #9A6B18;
}

.savings-pill span {
  font-size: 11px;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   FLAVORS
   ============================================ */
.section-dark .section-title { color: #fff; }
.section-dark .section-eyebrow { background: var(--mint); color: var(--dark); }

.flavor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flavor-tag {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(200,146,42,0.18);
  border: 1.5px solid rgba(200,146,42,0.4);
  color: #F0D898;
}

/* ============================================
   PACKAGES
   ============================================ */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pkg-card {
  border-radius: 16px;
  border: 2px solid;
  padding: 26px 20px;
  position: relative;
}

.pkg-card.pkg-1 { background: #FBF5E6; border-color: var(--blue); }
.pkg-card.pkg-2 { background: #FBF5E6; border-color: #A07020; }
.pkg-card.pkg-3 { background: #F6EDD4; border-color: var(--yellow); }
.pkg-card.pkg-4 { background: #F6EDD4; border-color: var(--purple); }

.pkg-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.pkg-tier {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pkg-1 .pkg-tier { color: #A07020; }
.pkg-2 .pkg-tier { color: #8B6010; }
.pkg-3 .pkg-tier { color: #C8922A; }
.pkg-4 .pkg-tier { color: var(--purple); }

.pkg-name {
  font-family: var(--heading);
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 4px;
}

.pkg-count {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  margin-bottom: 12px;
}

.pkg-price {
  font-family: var(--heading);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 2px;
}

.pkg-1 .pkg-price { color: #A07020; }
.pkg-2 .pkg-price { color: #8B6010; }
.pkg-3 .pkg-price { color: #C8922A; }
.pkg-4 .pkg-price { color: var(--purple); }

.pkg-per {
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 16px;
}

.pkg-divider {
  border: none;
  border-top: 1.5px solid rgba(0,0,0,0.08);
  margin-bottom: 14px;
}

.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pkg-features li {
  font-size: 12px;
  font-weight: 700;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
}

.check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
  color: #fff;
}

.pkg-1 .check, .pkg-2 .check { background: var(--blue); }
.pkg-3 .check { background: var(--yellow); color: var(--dark); }
.pkg-4 .check { background: var(--purple); }

/* ============================================
   RECURRING BANNER
   ============================================ */
.recurring-bar {
  background: linear-gradient(135deg, var(--blue), #9A6B18);
  border-radius: 14px;
  padding: 22px 28px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.recurring-bar p {
  font-family: var(--heading);
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
}

.recurring-bar p span {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  display: block;
}

/* ============================================
   WHO IS THIS FOR
   ============================================ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.who-card {
  border-radius: 14px;
  padding: 20px;
  border: 2px solid;
}

.who-card:nth-child(1) { background: #FBF5E6; border-color: rgba(26,43,94,0.28); }
.who-card:nth-child(2) { background: #FBF5E6; border-color: rgba(200,146,42,0.38); }
.who-card:nth-child(3) { background: #F6EDD4; border-color: rgba(232,196,106,0.4); }
.who-card:nth-child(4) { background: #F6EDD4; border-color: rgba(46,80,144,0.38); }
.who-card:nth-child(5) { background: #F6EDD4; border-color: rgba(26,43,94,0.3); }
.who-card:nth-child(6) { background: #FBF5E6; border-color: rgba(200,146,42,0.3); }

.who-card h4 {
  font-size: 14px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}

.who-card p {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  line-height: 1.55;
}

/* ============================================
   WHY US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 2px solid;
}

.why-card:nth-child(1) { background: #FBF5E6; border-color: rgba(200,146,42,0.38); }
.why-card:nth-child(2) { background: #F6EDD4; border-color: rgba(232,196,106,0.4); }
.why-card:nth-child(3) { background: #F6EDD4; border-color: rgba(46,80,144,0.38); }
.why-card:nth-child(4) { background: #F6EDD4; border-color: rgba(26,43,94,0.3); }

.why-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 18px;
  flex-shrink: 0;
}

.why-card:nth-child(1) .why-num { background: var(--blue); color: #fff; }
.why-card:nth-child(2) .why-num { background: var(--yellow); color: var(--dark); }
.why-card:nth-child(3) .why-num { background: var(--mint); color: var(--dark); }
.why-card:nth-child(4) .why-num { background: var(--purple); color: #fff; }

.why-text h4 {
  font-size: 14px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 5px;
}

.why-text p {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  line-height: 1.6;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #9A6B18, var(--blue));
  border-radius: 20px;
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-section h2 {
  font-family: var(--heading);
  font-size: 34px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 420px;
}

.cta-section p strong { color: var(--yellow); }

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-pill {
  background: #fff;
  border-radius: 10px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-pill:hover { opacity: 0.85; }

.contact-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark);
  padding: 24px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

footer img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

.footer-dot { color: var(--blue); font-size: 6px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { grid-template-columns: 1fr; }
  .cta-contacts { flex-direction: row; flex-wrap: wrap; }
  .intro-grid { grid-template-columns: 1fr; }
  .savings-bar { flex-direction: column; text-align: center; }
  .recurring-bar { flex-direction: column; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 26px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 20px 24px; gap: 16px; }
  .nav-toggle { display: flex; }
  .banner { justify-content: flex-start; }
  .banner-sep { display: none; }
  .cta-section { padding: 36px 24px; }
}
