{
  "component_name": "theme-settings",
  "version": "1.5.0",
  "description": "Configuraciones globales del tema: layout y JavaScript personalizado",
  "groups": {
    "layout": {
      "label": "Layout y Contenedor",
      "priority": 5,
      "fields": {
        "container_max_width": {
          "type": "select",
          "label": "Ancho maximo del contenedor principal",
          "default": "1320",
          "editable": true,
          "options": {
            "1140": "1140px (Bootstrap md)",
            "1200": "1200px (Compacto)",
            "1320": "1320px (Bootstrap xxl - Default)",
            "1400": "1400px (Amplio)",
            "100%": "100% (Fluido)"
          },
          "description": "Ancho maximo del .container principal. Valores menores dejan mas espacio para Rail Ads"
        },
        "content_column_width": {
          "type": "select",
          "label": "Ancho columna de contenido",
          "default": "col-lg-9",
          "editable": true,
          "options": {
            "col-lg-8": "8 columnas (66.67%)",
            "col-lg-9": "9 columnas (75% - Default)",
            "col-lg-10": "10 columnas (83.33%)",
            "col-lg-12": "12 columnas (100% sin sidebar)"
          },
          "description": "Proporcion Bootstrap de la columna principal vs sidebar"
        }
      }
    },
    "custom_code": {
      "label": "JavaScript Personalizado",
      "priority": 10,
      "fields": {
        "custom_js_header": {
          "type": "textarea",
          "label": "JavaScript en Header",
          "default": "",
          "editable": true,
          "description": "JavaScript que se inyecta en wp_head. No incluir etiquetas <script>"
        },
        "custom_js_footer": {
          "type": "textarea",
          "label": "JavaScript en Footer",
          "default": "",
          "editable": true,
          "description": "JavaScript que se inyecta en wp_footer. No incluir etiquetas <script>"
        }
      }
    }
  }
}
