{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "awt/author-pro-header",
  "version": "1.0.0",
  "title": "Header ( Author Pro )",
  "category": "theme",
  "icon": "menu",
  "description": "Dynamic header with WordPress menu integration, mobile toggle, and Smart Pro Locking for styling controls.",
  "keywords": [
    "header",
    "navigation",
    "menu",
    "child-author"
  ],
  "textdomain": "author-website-templates",
  "editorScript": "file:./index.js",
  "viewScript": "file:./view.js",
  "render": "file:./render.php",
  "attributes": {
    "align": {
      "type": "string",
      "default": "full"
    },
    "menuSlug": {
      "type": "string",
      "default": ""
    },
    "logoText": {
      "type": "string",
      "default": "John Doe"
    },
    "ctaText": {
      "type": "string",
      "default": "Latest Book!"
    },
    "ctaUrl": {
      "type": "string",
      "default": "#featured-book"
    },
    "navBgColor": {
      "type": "string",
      "default": ""
    },
    "linkColor": {
      "type": "string",
      "default": ""
    },
    "btnBgColor": {
      "type": "string",
      "default": ""
    },
    "blockId": {
      "type": "string",
      "default": ""
    },
    "headerStyle": {
      "type": "string",
      "default": "author-pro"
    },
    "logoType": {
      "type": "string",
      "default": "custom"
    },
    "logoImageId": {
      "type": "number",
      "default": 0
    },
    "logoImageUrl": {
      "type": "string",
      "default": ""
    },
    "headerBgColor": {
      "type": "string",
      "default": ""
    },
    "siteTitleColor": {
      "type": "string",
      "default": ""
    },
    "btnTextColor": {
      "type": "string",
      "default": ""
    },
    "btnHoverBgColor": {
      "type": "string",
      "default": ""
    },
    "btnHoverTextColor": {
      "type": "string",
      "default": ""
    },
    "isSticky": {
      "type": "boolean",
      "default": false
    },
    "showCta": {
      "type": "boolean",
      "default": true
    },
    "showMiniCart": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "html": false,
    "align": [
      "full"
    ],
    "alignWide": true
  }
}