/* ===========================================================
   Herbal Impact â Shared Stylesheet
   =========================================================== */

:root{
  --green: #2f6b4a;
  --green-dark: #1e4c34;
  --green-darker: #14331f;
  --yellow-light: #fff6d6;
  --blue-light: #e3f2fa;
  --white: #ffffff;
  --text: #253227;
  --text-soft: #4c5b50;
  --border: #e2e6df;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 76, 52, 0.08);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4{
  font-family: var(--font-head);
  color: var(--green-darker);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p{ margin: 0 0 1em; }

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

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

.container{
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 64px 0; }
.section.alt{ background: var(--yellow-light); }
.section.blue{ background: var(--blue-light); }

.eyebrow{
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.btn{
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover{ transform: translateY(-2px); text-decoration: none; }
.btn-primary{ background: var(--green); color: var(--white); }
.btn-primary:hover{ background: var(--green-dark); color: var(--white); }
.btn-outline{ background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline:hover{ background: var(--green); color: var(--white); }

header.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-darker);
}
.brand img{ height: 46px; width: auto; }
.brand small{
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  font-weight: 600;
}
nav.main-nav{ display: flex; align-items: center; gap: 22px; }
nav.main-nav a{
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a.active, nav.main-nav a:hover{ color: var(--green); text-decoration: none; }
.menu-toggle{
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--green-darker);
}

@media (max-width: 860px){
  nav.main-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 14px;
  }
  nav.main-nav.open{ display: flex; }
  .menu-toggle{ display: block; }
}

.hero{
  background: linear-gradient(180deg, var(--yellow-light) 0%, var(--white) 100%);
  padding: 72px 0;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1{ font-size: 2.6rem; margin-bottom: 20px; }
.hero p.lead{ font-size: 1.15rem; color: var(--text-soft); margin-bottom: 28px; }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-light);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  color: var(--green-dark);
  font-size: 1.4rem;
  text-align: center;
  padding: 20px;
}

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 2rem; }
}

.page-hero{
  background: var(--green-darker);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1{ color: var(--white); margin-bottom: 8px; }
.page-hero p{ color: #d9e6dc; max-width: 640px; margin: 0 auto; }

.grid{ display: grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px){
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3{ font-size: 1.2rem; }
.card .icon{
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.section-head{ text-align: center; max-width: 640px; margin: 0 auto 44px; }

footer.site-footer{
  background: var(--green-darker);
  color: #d9e6dc;
  padding: 48px 0 24px;
  margin-top: 40px;
}
footer.site-footer h4{ color: var(--white); font-family: var(--font-body); font-size: 1rem; }
footer.site-footer a{ color: #d9e6dc; }
footer.site-footer a:hover{ color: var(--white); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
.footer-grid ul{ list-style: none; padding: 0; margin: 0; }
.footer-grid li{ margin-bottom: 8px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.85rem;
  text-align: center;
  color: #a9c2b0;
}

.newsletter{
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.newsletter h3{ color: var(--white); }
.newsletter form{
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 20px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter input[type="email"]{
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
}
.newsletter .btn-primary{ background: var(--green-darker); }
.newsletter .note{ font-size: 0.8rem; color: #dcefe1; margin-top: 10px; }

.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px){ .form-grid{ grid-template-columns: 1fr; } }
label{ display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
input, textarea, select{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
}
textarea{ resize: vertical; min-height: 120px; }
.field{ margin-bottom: 18px; }
.field.full{ grid-column: 1 / -1; }

.download-card{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.download-card .tag{
  display: inline-block;
  background: var(--yellow-light);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  width: fit-content;
}

.tool-card{ margin-bottom: 40px; }
.tool-card .result{
  background: var(--blue-light);
  border-radius: 10px;
  padding: 18px;
  margin-top: 18px;
  font-weight: 700;
}
table.schedule{
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.85rem;
}
table.schedule th, table.schedule td{
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: right;
}
table.schedule th{ background: var(--yellow-light); text-align: right; }
table.schedule td:first-child, table.schedule th:first-child{ text-align: left; }
.table-wrap{ max-height: 340px; overflow-y: auto; border-radius: 10px; }
.radio-row{ display: flex; gap: 22px; margin-bottom: 16px; }
.radio-row label{ display: flex; align-items: center; gap: 6px; font-weight: 600; }
.radio-row input{ width: auto; }

.blog-card .meta{ font-size: 0.8rem; color: var(--text-soft); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card .thumb{
  background: var(--blue-light);
  border-radius: 10px;
  height: 160px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-family: var(--font-head);
}
article.post h2{ margin-top: 1.2em; }
article.post h3{ margin-top: 1em; font-size: 1.15rem; }
article.post ul{ padding-left: 1.2em; }
.disclaimer{
  background: var(--yellow-light);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 32px;
}

.video-card iframe, .video-card blockquote{ width: 100%; }
.video-embed{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-darker);
  min-height: 400px;
}

.store-hero{
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.text-center{ text-align: center; }
.mt-40{ margin-top: 40px; }
.small{ font-size: 0.85rem; color: var(--text-soft); }


/* ===========================================================
   New feature styles (Payhip products, photos, WhatsApp,
   social icons, visitor counter, Swahili toggles)
   =========================================================== */

.hero-image{ padding:0; overflow:hidden; }
.hero-image img{ width:100%; height:100%; min-height:260px; object-fit:cover; display:block; }

.thumb{ padding:0; overflow:hidden; }
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

.blog-cover{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); margin:20px 0 8px; }
.blog-cover img{ width:100%; max-height:340px; object-fit:cover; display:block; }

.sw-btn{ display:inline-block; margin:10px 0 20px; padding:9px 18px; background:var(--yellow-light); color:var(--green-darker); border-radius:999px; font-weight:800; font-size:0.85rem; letter-spacing:0.02em; }
.sw-btn:hover{ text-decoration:none; background:var(--green); color:#fff; }

.sw-toggle{ margin-top:14px; }
.sw-toggle summary{ cursor:pointer; color:var(--green); font-weight:800; list-style:none; font-size:0.85rem; }
.sw-toggle summary::-webkit-details-marker{ display:none; }
.sw-box{ background: var(--yellow-light); border-radius:10px; padding:12px 14px; margin-top:8px; font-size:0.92rem; color:var(--text); }

.featured-products{ margin-top:40px; }
.product-card img{ width:100%; height:170px; object-fit:cover; border-radius:10px; margin-bottom:14px; }
.product-card .price{ color:var(--green); font-weight:800; margin-bottom:10px; }

.whatsapp-float{
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); text-decoration:none; }
.whatsapp-float svg{ width: 30px; height: 30px; }

.footer-social{ display:flex; gap:12px; margin-top:16px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%;
  background: rgba(255,255,255,0.12); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background: var(--green); }
.footer-social svg{ width:17px; height:17px; fill: currentColor; }

.visitor-counter{ margin-top:12px; color:#a9c2b0; font-size:0.8rem; }
