/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.6.1.1774474909
Updated: 2026-03-25 21:41:49

*//* ============================================================
   Sattvik Healing — Ayurvedic Food Analyzer Mobile Fixes
   Paste into: Appearance > Customize > Additional CSS
   OR your child theme's style.css
   ============================================================ */

/* ── 1. SEARCH / BROWSE PANEL ─────────────────────────────── */

/* Make the search box and button full-width on mobile */
@media (max-width: 768px) {
  .food-analyzer-search-box,
  .food-analyzer-search-input,
  #food-search-input,
  input[placeholder*="Snake Gourd"],
  input[placeholder*="Turmer"] {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .food-analyzer-btn,
  button[id*="analyze"],
  .analyze-btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ── 2. CATEGORY PILLS ─────────────────────────────────────── */

/* Wrap pills in a proper flex row that wraps neatly */
@media (max-width: 768px) {
  .category-filters,
  .food-categories,
  .browse-categories,
  [class*="category-pills"],
  [class*="filter-pills"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  /* Make each pill uniform — min-width keeps them from being too narrow */
  .category-filters button,
  .category-filters a,
  .food-categories button,
  .food-categories a,
  [class*="category-pill"],
  [class*="filter-pill"] {
    flex: 0 0 auto !important;
    min-width: 90px !important;
    text-align: center !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-size: 0.875rem !important;
  }
}

/* ── 3. PROPERTY CARDS GRID (Rasa / Virya / Vipaka / Guna etc.) */

@media (max-width: 768px) {
  /* Force true 2-col grid with equal columns */
  .property-grid,
  .ayurvedic-properties-grid,
  [class*="properties-grid"],
  [class*="property-cards"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* Each card: let it breathe, don't let label break layout */
  .property-card,
  [class*="property-card"],
  [class*="prop-card"] {
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    min-height: 90px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  /* Green uppercase label inside each card */
  .property-card .label,
  .property-card [class*="label"],
  .property-card [class*="title"],
  [class*="property-card"] > span:first-child,
  [class*="property-card"] > p:first-child {
    font-size: 0.65rem !important;   /* Shrink label so it doesn't wrap badly */
    line-height: 1.3 !important;
    letter-spacing: 0.04em !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  /* Value text (Sweet, Cooling, Pungent etc.) */
  .property-card .value,
  .property-card [class*="value"],
  [class*="property-card"] > p:last-child,
  [class*="property-card"] > span:last-child {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }
}

/* ── 4. HEALTH BENEFITS — prevent cut-off ─────────────────── */

@media (max-width: 768px) {
  .health-benefits,
  [class*="health-benefits"],
  [class*="benefits-section"] {
    padding-bottom: 24px !important;
    overflow: visible !important;
  }

  .health-benefits ul,
  [class*="health-benefits"] ul {
    padding-left: 18px !important;
  }

  .health-benefits li,
  [class*="health-benefits"] li {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
  }
}

/* ── 5. OVERALL CONTAINER PADDING ─────────────────────────── */

@media (max-width: 768px) {
  .food-analyzer-wrapper,
  .analyzer-container,
  [class*="food-analyzer"] {
    padding: 16px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}




