/*
Theme Name: Dalia's Detox Theme
Theme URI: https://app.daliasdetox.com
Description: Complete Dalia's Detox membership platform - gut health transformation through functional nutrition. Features PMPro payments, live Zoom classes, RSVP system, member resources, and instructor dashboard.
Author: Dalia's Detox
Author URI: https://daliasdetox.com
Template: astra
Version: 3.0.0
License: Private - All Rights Reserved
Text Domain: dalias-detox
*/

/* Restaurant Menu Modal Styles */
.dd-menu-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.dd-menu-modal-content {
  position: relative;
  background-color: #ffffff;
  margin: 5% auto;
  padding: 2em;
  width: 90%;
  max-width: 50em;
  border-radius: 0.5em;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 0.5em 2em rgba(0,0,0,0.3);
}

.dd-menu-close {
  color: #556631;
  float: right;
  font-size: 2.5em;
  font-weight: bold;
  line-height: 0.8em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.dd-menu-close:hover,
.dd-menu-close:focus {
  color: #E6C11F;
}

#ddMenuTitle {
  color: #556631;
  margin-bottom: 1em;
  font-size: 1.5em;
  margin-top: 0;
}

#ddMenuBody img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5em;
  box-shadow: 0 0.25em 0.5em rgba(85,102,49,0.2);
}

/* Language Selector - TINY VERSION */
.dd-language-selector,
#dd-floating-lang {
  position: fixed !important;
  bottom: 12px !important;
  right: 12px !important;
  top: auto !important;
  z-index: 10001 !important;
  display: flex !important;
  gap: 2px !important;
  background: rgba(255,255,255,0.9) !important;
  padding: 2px 3px !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
  font-size: 9px !important;
  border: 1px solid rgba(230,193,31,0.5) !important;
}

.dd-lang-btn {
  background: transparent !important;
  color: #556631 !important;
  border: none !important;
  padding: 2px 5px !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 9px !important;
  min-width: 22px !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
}

.dd-lang-btn.active {
  background: #556631 !important;
  color: white !important;
}

.dd-lang-btn:hover {
  background: rgba(85,102,49,0.1) !important;
}

/* Partnership Tabs */
.dd-tab-navigation {
  display: flex;
  gap: 0.5em;
  justify-content: center;
  margin-bottom: 2em;
  flex-wrap: wrap;
}

.dd-tab-btn {
  background: #8C8C62;
  color: white;
  padding: 1em 2em;
  border: none;
  border-radius: 0.5em;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
}

.dd-tab-btn:hover {
  transform: translateY(-0.125em);
  box-shadow: 0 0.25em 0.5em rgba(85,102,49,0.3);
}

.dd-tab-btn.active {
  background: #556631;
}

.dd-tab-content {
  display: none;
}

.dd-tab-content.active {
  display: block;
}

/* Mobile Navigation */
.dd-mobile-nav-button {
  position: fixed;
  bottom: 1.5em;
  right: 1.5em;
  width: 3.5em;
  height: 3.5em;
  background: linear-gradient(135deg, #556631 0%, #6b7a3f 100%);
  color: white;
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0.4em 1em rgba(85,102,49,0.4);
  overflow: hidden;
  font-size: 1.4em;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 0.5em 1.5em rgba(85,102,49,0.5);
  transition: all 0.3s ease;
  font-weight: bold;
}

.dd-mobile-navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 3px solid #556631;
  box-shadow: 0 -0.5em 2em rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  max-height: 85vh;
  overflow-y: auto;
  display: none;
  border-radius: 1.5em 1.5em 0 0;
}

.dd-mobile-navigation.active {
  transform: translateY(0);
  display: block;
}

.dd-mobile-nav-links a {
  display: block;
  width: 100%;
  padding: 1.2em 1.5em;
  color: #556631;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.2s ease;
  background: #ffffff;
  border-radius: 0.75em;
  box-shadow: 0 2px 6px rgba(85,102,49,0.1);
  border: 2px solid rgba(85,102,49,0.1);
  margin-bottom: 0.75em;
  box-sizing: border-box;
}

.dd-mobile-nav-links a:hover {
  background: linear-gradient(135deg, rgba(230,193,31,0.2) 0%, rgba(230,193,31,0.1) 100%);
  border-left: 5px solid #E6C11F;
  padding-left: 1.8em;
}

/* Hide footer widgets */
.footer-widget-area,
.site-footer .widget,
.footer-adv,
.ast-footer-widget-area,
footer .widget,
footer aside,
footer .footer-widget-area,
.ast-footer-html-1,
.ast-footer-html-2,
.footer-adv-layout-4,
.footer-adv-layout-3,
.footer-adv-layout-2,
.footer-adv-layout-1 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

[class*="advertise"],
[id*="advertise"] {
  display: none !important;
}

/* Mobile Responsive */
@media (max-width: 48em) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .dd-language-selector,
  #dd-floating-lang {
    bottom: 10px !important;
    right: 10px !important;
    top: auto !important;
    flex-direction: row !important;
    gap: 2px !important;
    padding: 2px 3px !important;
    font-size: 8px !important;
  }
  
  .dd-lang-btn {
    font-size: 8px !important;
    padding: 2px 4px !important;
    min-width: 20px !important;
  }
  
  .dd-mobile-nav-button {
    display: flex !important;
  }
  
  .founder-section {
    grid-template-columns: 1fr !important;
  }
  
  .founder-image {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .dd-mobile-nav-button {
    bottom: 1.5em !important;
    right: 1.5em !important;
    width: 3.5em !important;
    height: 3.5em !important;
  }
  
  /* Prevent buttons from being cut off */
  body {
    padding-bottom: 1em !important;
  }
  
  /* Fix green shadow bleed on mobile nav button */
  #dd-mobile-nav-btn {
    box-shadow: 0 0.4em 1em rgba(85,102,49,0.4) !important;
    overflow: hidden !important;
    clip-path: circle(50%);
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px !important;
  }
}

/* iPhone specific */
@supports (-webkit-touch-callout: none) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px !important;
  }
}

/* ========== Site polish – readable, consistent, clean ========== */
#dd-all-sections h2 {
  letter-spacing: 0.02em;
  font-weight: 700;
}
#dd-all-sections .dd-section p {
  line-height: 1.65;
}
/* Partner cards – clean logos, name, discount % */
.dd-partner-card {
  min-width: 0;
}
.dd-partner-card .dd-partner-logo-wrap img,
#partners .dd-partner-card img,
#dd-downloads-partner-deals .dd-partner-card img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.dd-partner-card strong {
  display: block;
}
#partners .dd-partners-grid,
#dd-downloads-partner-deals .dd-partners-grid {
  align-items: stretch;
}
@media (max-width: 600px) {
  .dd-partner-card {
    padding: 1.5em 1.25em !important;
  }
}
.dd-founder-page-img img {
  border-radius: 1em;
  box-shadow: 0 8px 24px rgba(85, 102, 49, 0.12);
}
.dd-pricing-table {
  border-radius: 0.5em;
  overflow: hidden;
}
#dd-compliance-footer {
  border-top: 2px solid #556631;
}



