/* Honey Nuts — hand-coded static store. No frameworks. */
/* Palette: deep brown #3B2314, gold #C9A227 / #D4A017, cream #FAF6EF, white. */
/* NOTE (KPWA lesson): hero / first-screen content is visible by default.
   No fade-in entrance animation anywhere. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #3B2314;
  background: #FAF6EF;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #3B2314; }

h1, h2, h3 { color: #3B2314; line-height: 1.25; margin-top: 0; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; }

section { padding: 3rem 0; scroll-margin-top: 80px; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-lead { text-align: center; max-width: 640px; margin: 0 auto 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-gold { background: #D4A017; color: #3B2314; border-color: #D4A017; }
.btn-gold:hover, .btn-gold:focus { background: #C9A227; border-color: #C9A227; }
.btn-outline { background: transparent; color: #3B2314; border-color: #3B2314; }
.btn-outline:hover, .btn-outline:focus { background: #3B2314; color: #FAF6EF; }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8ddc9;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(59, 35, 20, 0.15); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: #3B2314;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-left: auto; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.6rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
}
.main-nav a:hover, .main-nav a:focus { background: #FAF6EF; color: #C9A227; }
.header-cta { white-space: nowrap; }

/* ---------- Hero (visible by default — no entrance animation) ---------- */
.hero { background: #FAF6EF; padding: 2.5rem 0 3rem; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-subline { font-size: 1.2rem; font-weight: 700; color: #8a6d1a; }
.hero-intro { font-size: 1.1rem; }
.hero-desc { margin-bottom: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.hero-gift { font-weight: 700; }
.hero-image img { border-radius: 16px; box-shadow: 0 8px 30px rgba(59, 35, 20, 0.2); }

/* ---------- Benefits ---------- */
.benefits { background: #fff; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.benefit-card {
  background: #FAF6EF;
  border: 1px solid #e8ddc9;
  border-radius: 12px;
  padding: 1.25rem 0.75rem;
  text-align: center;
}
.benefit-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.benefit-card h3 { margin: 0; font-size: 1rem; }

/* ---------- Ingredients ---------- */
.ingredients-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ingredients-grid li {
  background: #fff;
  border: 1px solid #e8ddc9;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.ingredients-grid li strong { display: block; font-size: 1.05rem; }
.ingredients-grid li span { color: #6b543a; }
.ingredients-note { text-align: center; max-width: 640px; margin: 1.5rem auto 0; }

/* ---------- Pricing ---------- */
.pricing { background: #fff; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: #FAF6EF;
  border: 2px solid #e8ddc9;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.price-card.best-value { border-color: #D4A017; }
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #D4A017;
  color: #3B2314;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pack-size { font-size: 1.1rem; margin: 0.25rem 0; }
.price { font-size: 2rem; font-weight: 800; margin: 0.5rem 0; }
.pack-sku { color: #6b543a; font-size: 0.9rem; }
.pricing-note { text-align: center; margin-top: 1.5rem; }

/* ---------- Why ---------- */
.why-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: grid;
  gap: 0.75rem;
}
.why-list li {
  background: #fff;
  border: 1px solid #e8ddc9;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
}

/* ---------- How to order ---------- */
.how-to-order { background: #fff; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.steps li {
  background: #FAF6EF;
  border: 1px solid #e8ddc9;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D4A017;
  color: #3B2314;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { margin: 0; }

/* ---------- Order form ---------- */
.order { background: #3B2314; }
.order h2, .order .section-lead, .order .total-line, .order .cod-note { color: #FAF6EF; }
.order-image { max-width: 560px; margin: 0 auto 1.5rem; }
.order-image img { border-radius: 16px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
#order-form {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}
.pack-fieldset { border: 1px solid #e8ddc9; border-radius: 10px; padding: 1rem; margin: 0 0 1rem; }
.pack-fieldset legend { font-weight: 700; padding: 0 0.5rem; }
.pack-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
}
.pack-option input { width: 20px; height: 20px; accent-color: #C9A227; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  font-size: 1rem;
  font-family: inherit;
  color: #3B2314;
  background: #fff;
  border: 1px solid #cbb894;
  border-radius: 8px;
}
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid #D4A017;
  outline-offset: 1px;
  border-color: #D4A017;
}
.qty-stepper { display: flex; gap: 0.5rem; align-items: stretch; }
.qty-stepper button {
  min-width: 44px;
  min-height: 44px;
  font-size: 1.4rem;
  font-weight: 800;
  background: #FAF6EF;
  border: 1px solid #cbb894;
  border-radius: 8px;
  cursor: pointer;
  color: #3B2314;
}
.qty-stepper input { text-align: center; flex: 1; }
.error { color: #b3261e; font-size: 0.9rem; margin: 0.35rem 0 0; }
.total-line { font-size: 1.25rem; text-align: center; }
.cod-note { text-align: center; font-size: 0.95rem; }
.btn-submit { width: 100%; line-height: 1.4; padding: 0.8rem 1rem; }
.direct-whatsapp { text-align: center; margin-top: 1rem; }
.direct-whatsapp a { color: #FAF6EF; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 1px solid #e8ddc9;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 0 auto 0.75rem;
  max-width: 720px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq details p { margin: 0.75rem 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #3B2314;
  color: #FAF6EF;
  text-align: center;
  padding: 2.5rem 0;
}
.site-footer a { color: #FAF6EF; }
.site-footer .btn { margin: 0.5rem 0; }
.footer-brand { font-size: 1.4rem; font-weight: 800; }
.copyright { color: #d8c9a8; font-size: 0.9rem; }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  section { padding: 2rem 0; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
  .main-nav a { padding: 0.5rem 0.4rem; font-size: 0.95rem; }
  .header-cta { margin-left: auto; }
  .hero-cta .btn { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
  #order-form { padding: 1.1rem; }
  .btn-submit { font-size: 0.95rem; }
}

/* ---------- Trust strip / pack images / save note ---------- */
.trust-strip { background: #3B2314; padding: 0.9rem 0; }
.trust-strip p { color: #FAF6EF; text-align: center; font-weight: 700; margin: 0; }
.pack-image { width: 100%; max-width: 200px; height: auto; margin: 0 auto 0.75rem; border-radius: 12px; }
.save-note { color: #8a6d1a; font-weight: 800; margin: 0.25rem 0 0; }

.easypaisa-details { background: #FAF6EF; border: 1px solid #e8ddc9; border-radius: 10px; padding: 0.9rem 1rem; margin-bottom: 0.75rem; }

/* ---------- Reviews ---------- */
.reviews { background: #fff; }
.reviews-list { max-width: 720px; margin: 0 auto 1.5rem; display: grid; gap: 0.75rem; }
.reviews-empty { text-align: center; color: #6b543a; margin: 0; }
.review-card { background: #FAF6EF; border: 1px solid #e8ddc9; border-radius: 12px; padding: 1rem 1.25rem; }
.review-stars { color: #C9A227; font-size: 1.1rem; letter-spacing: 0.1rem; }
.review-card h3 { margin: 0.25rem 0; }
.review-card p { margin: 0; }
.review-pending { font-size: 0.85rem; color: #8a6d1a; font-weight: 700; }
#review-form { background: #FAF6EF; border: 1px solid #e8ddc9; border-radius: 16px; padding: 1.5rem; max-width: 560px; margin: 0 auto; }
#review-form h3 { text-align: center; }
.field-label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.star-rating { display: flex; gap: 0.25rem; }
.star { background: none; border: none; cursor: pointer; font-size: 2rem; line-height: 1; color: #d8c9a8; padding: 0.25rem; min-width: 44px; min-height: 44px; }
.star:hover { color: #D4A017; }
.star.selected { color: #C9A227; }
.review-note { text-align: center; font-size: 0.9rem; color: #6b543a; }
#review-success { color: #3B2314; font-weight: 700; }
.order-success { color: #FAF6EF; text-align: center; font-weight: 700; margin-top: 1rem; }

/* Order-form text sits on the WHITE form card, so it must be dark (the cream
   .order rule above is only for text on the dark section background). */
#order-form .total-line, #order-form .cod-note, #order-form .order-success { color: #3B2314; }
