/* ==========================================================================
   MyAayurveda Exact Custom Footer Styles
   ========================================================================== */

.myaayurveda-custom-footer {
  width: 100%;
  background-color: #0b2e1e;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  box-sizing: border-box;
  position: relative;
}

.myaayurveda-custom-footer *,
.myaayurveda-custom-footer *::before,
.myaayurveda-custom-footer *::after {
  box-sizing: border-box;
}

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

/* ==========================================================================
   1. NEWSLETTER SUBSCRIPTION ROW
   ========================================================================== */
.mya-footer-newsletter-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 38px 0;
}

.mya-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.mya-newsletter-text {
  flex: 1 1 400px;
}

.mya-newsletter-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.mya-newsletter-desc {
  font-size: 14.5px;
  color: #d1fae5;
  margin: 0;
  opacity: 0.9;
}

.mya-newsletter-form-wrap {
  flex: 1 1 460px;
  max-width: 520px;
}

.mya-newsletter-form {
  display: flex;
  width: 100%;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mya-newsletter-input {
  flex: 1;
  background: #ffffff !important;
  color: #1f2937 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 13px 22px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  margin: 0 !important;
  border-radius: 9999px 0 0 9999px !important;
}

.mya-newsletter-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.mya-newsletter-btn {
  background: #caa237 !important;
  color: #1a1a1a !important;
  border: none !important;
  outline: none !important;
  padding: 0 32px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: 0 9999px 9999px 0 !important;
  transition: background 0.2s ease !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mya-newsletter-btn:hover {
  background: #b58d24 !important;
  color: #000000 !important;
}

/* ==========================================================================
   2. MAIN FOOTER CONTENT (4 Columns)
   ========================================================================== */
.mya-footer-main-row {
  padding: 52px 0 42px;
}

.mya-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  gap: 40px;
}

/* Column 1: Brand */
.mya-footer-logo-card {
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mya-footer-logo-img {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.mya-footer-brand-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}

/* Column 2 & 3: Headings & Links */
.mya-footer-col-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.mya-footer-links-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mya-footer-links-list li {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

.mya-footer-links-list li a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  transition: color 0.15s ease, padding-left 0.15s ease !important;
  display: inline-block !important;
}

.mya-footer-links-list li a:hover {
  color: #caa237 !important;
  padding-left: 4px !important;
}

/* Column 4: 6 Trust Badges Grid */
.mya-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 14px;
  max-width: 250px;
}

.mya-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.mya-badge-item:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.mya-trust-badge-svg {
  width: 62px;
  height: 62px;
  color: #ffffff;
  display: block;
}

/* ==========================================================================
   3. BOTTOM COPYRIGHT & DISCLAIMER ROW
   ========================================================================== */
.mya-footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 28px;
}

.mya-footer-bottom-inner {
  text-align: center;
}

.mya-footer-copyright {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin: 0 0 8px 0;
  letter-spacing: 0.01em;
}

.mya-footer-disclaimer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
  line-height: 1.6;
  max-width: 960px;
  margin: 0 auto;
}

/* ==========================================================================
   4. FLOATING STICKY CART BADGE
   ========================================================================== */
.mya-floating-cart {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mya-floating-cart:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.mya-floating-cart-badge {
  position: absolute;
  top: -4px;
  left: 0;
  width: 17px;
  height: 17px;
  background: #0b2e1e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  line-height: 1;
}

/* ==========================================================================
   RESPONSIVE FOOTER STYLES
   ========================================================================== */
@media (max-width: 1100px) {
  .mya-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .mya-footer-newsletter-row {
    padding: 28px 0;
  }

  .mya-newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .mya-newsletter-text {
    flex: 1 1 40px;
    width: 100%;
  }

  .mya-newsletter-form-wrap {
    flex: 1 1 40px;
    width: 100%;
    max-width: 100%;
  }

  .mya-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .mya-footer-col-brand,
  .mya-footer-col-badges {
    grid-column: 1 / -1;
  }

  .mya-footer-col-links,
  .mya-footer-col-service {
    grid-column: span 1;
  }

  .mya-footer-col-title {
    font-size: 13.5px;
    margin-bottom: 14px;
  }

  .mya-footer-links-list li {
    margin-bottom: 8px !important;
  }

  .mya-footer-links-list li a {
    font-size: 13px !important;
  }

  .mya-footer-main-row {
    padding: 36px 0 28px;
  }

  .mya-badges-grid {
    max-width: -webkit-fill-available;
  }

  .mya-floating-cart {
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
  }
}

