/**
 * Theme Name:     EarthEssence Child
 * Author:         Gokul
 * Template:       kadence
 * Text Domain:	   earthessence-child
 * Description:    Custom styles for EarthEssence
 * Version:        1.0
 */


/* === RESET & BASE === */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* === BUTTONS === */
.wp-block-button__link {
  border-radius: 8px;
  background-color: #4CAF50;
  color: #fff;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.wp-block-button__link:hover {
  background-color: #388E3C;
  text-decoration: underline;
}

/* === PRODUCT CARDS === */
.product-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.02);
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  font-size: 16px;
  margin-bottom: 16px;
}

/* === GRID LAYOUT === */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}


/* === Moringa Product Page Styles === */

/* Hero Section */
.moringa-hero {
  background-color: #f5fdf5;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

/* Benefits List */
.moringa-benefits {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.moringa-benefits li::marker {
  color: #4caf50;
}

/* Product Card */
.moringa-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.moringa-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Review Slider */
.review-slider .testimonial {
  border-left: 4px solid #4caf50;
  padding-left: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ? Canva Embed Wrapper */
.canva-footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
  margin-top: 2em;
}

.canva-footer-wrapper iframe {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(63, 69, 81, 0.16);
  width: 100%;
}

/* ? Footer Container */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
}

/* ? Footer Columns Layout */
.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
}

/* ? Individual Column Styling */
.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h4 {
  margin-bottom: 0.5em;
  font-size: 1.1rem;
}

/* ? Link List Styling */
.footer-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.4em;
}

.footer-column a {
  text-decoration: none;
  color: #333;
}

.footer-column a:hover {
  color: #4caf50;
}

.social-icons {
  display: flex;
  gap: 1em;
  margin-top: 0.5em;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2em;
  font-size: 0.9rem;
  color: #666;
}

/* TEMP FIX: Hiding legacy Elementor footer */
.elementor-location-footer {
  display: none !important;
}

/* Hide second footer if both share same class */
footer:nth-of-type(2) {
  display: none !important;
}

