/*
 Theme Name:   Makemoolah
 Theme URI:    https://makemoolah.co.za
 Description:  Makemoolah Child Theme for Astra
 Author:       Makemoolah
 Template:     astra
 Version:      1.0.0
 Text Domain:  makemoolah-child
*/

:root {
  --mm-green:  #1B5C3A;
  --mm-gold:   #C9A84C;
  --mm-bg:     #F9F6F0;
  --mm-dark:   #1A1A1A;
  --mm-muted:  #6B6B6B;
  --mm-border: #E2DDD5;
}

/* ========================
   TYPOGRAPHY
   ======================== */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--mm-bg);
  color: var(--mm-dark);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--mm-dark);
}

/* ========================
   BUTTONS
   ======================== */
.ast-button,
.button,
a.button,
input[type="submit"],
button[type="submit"],
.wc-block-components-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: var(--mm-gold) !important;
  color: var(--mm-dark) !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  border: none !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.ast-button:hover,
.button:hover,
a.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background-color: var(--mm-green) !important;
  color: #ffffff !important;
}

/* ========================
   WOOCOMMERCE PRODUCT CARDS
   ======================== */
.woocommerce ul.products li.product {
  background: #fff;
  border: 0.5px solid var(--mm-border);
  border-radius: 12px;
  padding: 12px;
  transition: box-shadow 0.2s;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.woocommerce ul.products li.product .price {
  color: var(--mm-green);
  font-weight: 500;
}

.woocommerce ul.products li.product .button {
  background: var(--mm-gold) !important;
  color: var(--mm-dark) !important;
  border-radius: 50px !important;
}

.woocommerce span.onsale {
  background: var(--mm-gold) !important;
  color: var(--mm-dark) !important;
  border-radius: 6px !important;
}

/* ========================
   HERO SECTION
   ======================== */
.mm-hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.mm-hero-overlay {
  position: absolute;
  inset: 0;
  background: #1B5C3A;
  opacity: 0.55;
}

.mm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.mm-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.mm-hero-content p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.mm-btn-gold {
  display: inline-block;
  background: var(--mm-gold);
  color: var(--mm-dark) !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  margin: 0 8px;
  transition: background 0.2s;
}

.mm-btn-gold:hover { background: #b8913e; }

.mm-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  margin: 0 8px;
  transition: background 0.2s, color 0.2s;
}

.mm-btn-outline:hover { background: #fff; color: var(--mm-dark) !important; }

.mm-btn-green {
  display: inline-block;
  background: var(--mm-green);
  color: #fff !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  margin: 8px;
  transition: background 0.2s;
}

.mm-btn-green:hover { background: #16472d; }

/* ========================
   TRUST BAR
   ======================== */
.mm-trust-bar {
  background: var(--mm-bg);
  padding: 80px 20px;
}

.mm-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mm-trust-icon {
  font-size: 40px;
  color: var(--mm-green);
  margin-bottom: 12px;
}

.mm-trust-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mm-muted);
  display: block;
  margin-top: 8px;
}

/* ========================
   CATEGORY CARDS
   ======================== */
.mm-category-section {
  padding: 80px 20px;
  background: #fff;
}

.mm-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mm-category-card {
  position: relative;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.mm-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
}

.mm-category-card-content {
  position: relative;
  z-index: 2;
}

.mm-category-card-content p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.mm-category-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 16px;
}

.mm-category-card-content a.mm-card-btn {
  display: inline-block;
  background: #fff;
  color: var(--mm-green) !important;
  border-radius: 50px;
  padding: 10px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* ========================
   FEATURED PRODUCTS
   ======================== */
.mm-featured-section {
  padding: 80px 20px;
  background: var(--mm-bg);
  text-align: center;
}

.mm-featured-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--mm-dark);
  margin-bottom: 40px;
}

.mm-featured-section .mm-explore-btn {
  margin-top: 40px;
  text-align: center;
}

/* ========================
   SELLER BANNER
   ======================== */
.mm-seller-banner {
  background: var(--mm-green);
  padding: 80px 20px;
  text-align: center;
}

.mm-seller-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #fff;
  margin-bottom: 16px;
}

.mm-seller-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ========================
   SELL WITH US PAGE
   ======================== */
.mm-sell-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mm-step-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.mm-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--mm-dark);
  margin-bottom: 8px;
}

.mm-step p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mm-muted);
}

/* ========================
   FOOTER
   ======================== */
.site-footer .ast-small-footer {
  background: var(--mm-dark) !important;
}

.site-footer .ast-small-footer-wrap {
  color: rgba(255,255,255,0.7);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .mm-hero-content h1 { font-size: 32px; }
  .mm-hero-content p { font-size: 16px; }
  .mm-trust-grid { grid-template-columns: 1fr; }
  .mm-category-grid { grid-template-columns: 1fr; }
  .mm-sell-steps { grid-template-columns: 1fr; }
}
