/* ==========================================================
   Angel's Homeopathy - New Design (Impreza + WPBakery safe)
   All rules are scoped under .ahd-page to avoid theme clashes
   ========================================================== */

.ahd-page {
  --ahd-green-dark: #1f3d34;
  --ahd-green: #2f6d5e;
  --ahd-green-light: #4a9482;
  --ahd-cream: #f7f4ec;
  --ahd-cream-dark: #efe9db;
  --ahd-text: #29332f;
  --ahd-radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ahd-text);
  overflow-x: hidden;
}

.ahd-page * { box-sizing: border-box; }
.ahd-page img { max-width: 100%; display: block; }
.ahd-page a { text-decoration: none; }

.ahd-section { padding: 70px 20px; }
.ahd-inner { max-width: 1180px; margin: 0 auto; }

/* -------------------- Free shipping strip -------------------- */
.ahd-strip {
  background: var(--ahd-cream-dark);
  text-align: center;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ahd-green-dark);
  letter-spacing: .3px;
}
.ahd-strip svg { vertical-align: -3px; margin-right: 6px; }

/* -------------------- Hero -------------------- */
.ahd-hero {
  position: relative;
  background: linear-gradient(120deg, #fdfcf8 0%, var(--ahd-cream) 55%, #eef4ef 100%);
  padding: 90px 20px;
  overflow: hidden;
}
.ahd-hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.ahd-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.15;
  color: var(--ahd-green-dark);
  margin: 0 0 20px;
}
.ahd-hero p.ahd-sub {
  font-size: 18px;
  color: #4a544e;
  margin-bottom: 32px;
  max-width: 440px;
}
.ahd-btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.ahd-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ahd-btn-primary { background: var(--ahd-green); color: #fff !important; box-shadow: 0 6px 18px rgba(47,109,94,.28); }
.ahd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(47,109,94,.35); }
.ahd-btn-outline { border: 2px solid var(--ahd-green-dark); color: var(--ahd-green-dark) !important; background: transparent; }
.ahd-btn-outline:hover { background: var(--ahd-green-dark); color: #fff !important; }

.ahd-hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.ahd-hero-art svg { width: 100%; height: auto; max-width: 460px; }

/* decorative blobs */
.ahd-blob { position: absolute; border-radius: 50%; opacity: .5; filter: blur(2px); z-index: 1; }
.ahd-blob-1 { width: 220px; height: 220px; background: #d9ecd0; top: -60px; right: 10%; }
.ahd-blob-2 { width: 160px; height: 160px; background: #f6e7b0; bottom: -40px; left: 4%; }

/* -------------------- Section headings -------------------- */
.ahd-heading { text-align: center; margin-bottom: 46px; }
.ahd-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  color: var(--ahd-green-dark);
  margin: 0 0 10px;
}
.ahd-heading p { color: #667169; font-size: 16px; margin: 0; }

/* -------------------- Category cards -------------------- */
.ahd-categories { background: #fff; }
.ahd-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ahd-cat-card {
  background: var(--ahd-cream);
  border-radius: var(--ahd-radius);
  padding: 34px 26px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ahd-cat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(31,61,52,.12); }
.ahd-cat-icon {
  width: 84px; height: 84px; margin: 0 auto 20px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(31,61,52,.08);
}
.ahd-cat-icon svg { width: 42px; height: 42px; }
.ahd-cat-card h3 { font-size: 19px; margin: 0 0 8px; color: var(--ahd-green-dark); }
.ahd-cat-card p { font-size: 14px; color: #667169; margin: 0 0 18px; min-height: 40px; }
.ahd-cat-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  color: var(--ahd-green); text-transform: uppercase;
  background: #fff; padding: 10px 18px; border-radius: 30px;
}
.ahd-cat-link:hover { background: var(--ahd-green); color: #fff !important; }

/* -------------------- About / trust card -------------------- */
.ahd-about {
  background: var(--ahd-cream);
  background-image: radial-gradient(circle at 90% 10%, #eef4ef 0%, transparent 55%);
}
.ahd-about-card {
  background: #fff;
  border-radius: var(--ahd-radius);
  max-width: 780px;
  margin: 0 auto;
  padding: 54px 50px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(31,61,52,.08);
}
.ahd-about-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  color: var(--ahd-green-dark);
  margin: 0 0 20px;
}
.ahd-about-card p { font-size: 16px; line-height: 1.7; color: #4a544e; margin: 0 0 26px; }
.ahd-about-card strong { color: var(--ahd-green); }

/* -------------------- Featured products -------------------- */
.ahd-products { background: #fff; }
.ahd-page .ahd-products ul.products { display: flex !important; gap: 22px; overflow-x: auto; padding-bottom: 10px; list-style: none; margin: 0; }
.ahd-page .ahd-products ul.products li.product {
  min-width: 220px; flex: 0 0 220px;
  background: var(--ahd-cream); border-radius: var(--ahd-radius);
  padding: 18px; text-align: center;
}
.ahd-page .ahd-products ul.products li.product img { border-radius: 10px; margin-bottom: 12px; }
.ahd-page .ahd-products ul.products li.product .price { color: var(--ahd-green); font-weight: 700; }
.ahd-page .ahd-products ul.products li.product a.button {
  background: var(--ahd-green) !important; color: #fff !important;
  border-radius: 30px !important; font-size: 13px !important;
}
.ahd-products-cta { text-align: center; margin-top: 34px; }

/* -------------------- Newsletter / CTA band -------------------- */
.ahd-newsletter {
  background: linear-gradient(120deg, var(--ahd-green-dark), var(--ahd-green));
  color: #fff;
  text-align: center;
}
.ahd-newsletter h2 { font-family: Georgia, serif; font-size: 30px; margin: 0 0 10px; color: #fff; }
.ahd-newsletter p { opacity: .9; margin: 0 0 26px; }
.ahd-newsletter-form { display: flex; max-width: 460px; margin: 0 auto; gap: 10px; }
.ahd-newsletter-form input {
  flex: 1; padding: 14px 18px; border-radius: 30px; border: none; font-size: 14px;
}
.ahd-newsletter-form button {
  background: #fff; color: var(--ahd-green-dark); border: none;
  padding: 14px 26px; border-radius: 30px; font-weight: 700; cursor: pointer;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .ahd-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .ahd-hero p.ahd-sub { margin-left: auto; margin-right: auto; }
  .ahd-btn-row { justify-content: center; }
  .ahd-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ahd-hero h1 { font-size: 34px; }
  .ahd-cat-grid { grid-template-columns: 1fr; }
  .ahd-newsletter-form { flex-direction: column; }
  .ahd-section { padding: 50px 16px; }
}
