{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "cozy-block/featured-product-tabs",
  "title": "Featured Products Tab (Pro)",
  "category": "cozy-block/woocommerce",
  "keywords": [
    "product"
  ],
  "textdomain": "cozy-addons",
  "supports": {
    "html": false,
    "color": {
      "background": true,
      "gradients": true,
      "link": true,
      "text": true
    },
    "spacing": {
      "padding": true,
      "margin": [
        "top",
        "bottom"
      ],
      "__experimentalDefaultControls": {
        "padding": true
      }
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true
      }
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontStyle": true,
      "__experimentalFontWeight": true,
      "__experimentalTextTransform": true,
      "__experimentalFontFamily": true,
      "__experimentalLetterSpacing": true,
      "__experimentalTextDecoration": true,
      "__experimentalSkipSerialization": [
        "textDecoration"
      ],
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    }
  },
  "attributes": {
    "cover": {
      "type": "string",
      "default": ""
    },
    "clientId": {
      "type": "string",
      "default": ""
    },
    "style": {
      "type": "object",
      "default": {
        "typography": {
          "fontSize": "14px"
        }
      }
    },
    "siteURL": {
      "type": "string",
      "default": ""
    },
    "display": {
      "type": "string",
      "default": "grid"
    },
    "height": {
      "type": "string",
      "default": "430px"
    },
    "enableOptions": {
      "type": "object",
      "default": {
        "latest": true,
        "seller": true,
        "rated": true,
        "sale": true
      }
    },
    "gridOptions": {
      "type": "object",
      "default": {
        "columnCount": 3,
        "gap": "26px"
      }
    },
    "listOptions": {
      "type": "object",
      "default": {
        "gap": "26px"
      }
    },
    "sliderOptions": {
      "type": "object",
      "default": {
        "direction": "horizontal",
        "height": "430px",
        "loop": false,
        "autoplay": {
          "status": true,
          "pauseOnMouseEnter": true,
          "reverseDirection": false,
          "delay": 2500
        },
        "centeredSlides": false,
        "slidesPerView": 3,
        "spaceBetween": 26,
        "speed": 1500
      }
    },
    "pagination": {
      "type": "object",
      "default": {
        "enabled": true,
        "default": {
          "width": "10px",
          "height": "10px",
          "radius": "10px",
          "color": "#6a6a6a",
          "colorHover": ""
        },
        "active": {
          "width": "10px",
          "height": "10px",
          "radius": "10px",
          "border": {
            "width": "",
            "style": "",
            "color": ""
          },
          "offset": "1px",
          "color": "#f90",
          "colorHover": ""
        },
        "verticalPosition": 0,
        "gap": "4px",
        "align": "center",
        "left": "0px",
        "right": "0px"
      }
    },
    "navigation": {
      "type": "object",
      "default": {
        "enabled": true,
        "hoverShow": true,
        "size": "15px",
        "boxWidth": "35px",
        "boxHeight": "35px",
        "border": {
          "width": "",
          "style": "",
          "color": ""
        },
        "radius": "100px",
        "borderColorHover": "",
        "bgColor": "#007cba",
        "bgColorHover": "#f90",
        "color": "#fff",
        "colorHover": ""
      }
    },
    "perPage": {
      "type": "object",
      "default": {
        "latest": 3,
        "seller": 3,
        "rated": 3,
        "sale": 3
      }
    },
    "tabHeading": {
      "type": "object",
      "default": {
        "enabled": true,
        "content": "Featured Products",
        "tag": "h2",
        "gap": "16px",
        "fontSize": "20px",
        "fontWeight": "600",
        "fontFamily": "",
        "letterCase": "none",
        "decoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "color": ""
      }
    },
    "tabJustification": {
      "type": "string",
      "default": "space-between"
    },
    "tabGap": {
      "type": "string",
      "default": "26px"
    },
    "iconBox": {
      "type": "object",
      "default": {
        "padding": {
          "top": "5px",
          "right": "5px",
          "bottom": "5px",
          "left": "5px"
        },
        "border": {
          "width": "",
          "style": "",
          "color": ""
        },
        "radius": "100px",
        "bgColor": "#fff",
        "bgColorActive": "#5566ca",
        "borderColorActive": ""
      }
    },
    "icon": {
      "type": "object",
      "default": {
        "enabled": true,
        "position": "before",
        "gap": "6px",
        "view": "default",
        "layout": "fill",
        "size": "20px",
        "opacity": 100,
        "strokeWidth": 1,
        "selectedToggle": "latest",
        "latest": {
          "path": "M12.0051 2.8C6.9251 2.8 2.8051 6.92 2.8051 12C2.8051 17.08 6.9251 21.2 12.0051 21.2C17.0851 21.2 21.2051 17.08 21.2051 12C21.2051 6.92 17.0851 2.8 12.0051 2.8ZM12.7451 19.56C12.7051 19.56 12.6051 19.56 12.6051 19.58V15.24C13.6051 15.22 14.5851 15.2 15.4451 15.14C14.6851 17.48 13.2851 19.04 12.7451 19.56ZM11.2651 19.56C10.7251 19.02 9.3251 17.46 8.5651 15.14C9.4051 15.2 10.4051 15.24 11.4051 15.24V19.58C11.4051 19.58 11.3251 19.56 11.2651 19.56ZM4.4051 12C4.4051 11.5 4.4651 11 4.5451 10.52C4.9851 10.44 5.8251 10.32 7.0051 10.2C6.9051 10.78 6.8451 11.38 6.8451 12.02C6.8451 12.66 6.9051 13.26 6.9851 13.82C5.8251 13.7 4.96509 13.58 4.52509 13.5C4.46509 13 4.4051 12.5 4.4051 12ZM8.0651 12C8.0651 11.32 8.1451 10.68 8.2651 10.08C9.1851 10.02 10.2051 9.96001 11.4051 9.96001V14.04C10.2051 14.02 9.1851 13.98 8.2451 13.9C8.1451 13.32 8.0651 12.68 8.0651 12ZM12.7251 4.43999C13.2651 4.97999 14.6451 6.58001 15.4251 8.86001C14.5851 8.80001 13.6051 8.76001 12.6051 8.76001V4.41999C12.6051 4.41999 12.6851 4.43999 12.7251 4.43999ZM11.4051 4.41999V8.76001C10.4051 8.78001 9.4251 8.80001 8.5851 8.86001C9.3451 6.58001 10.7451 4.97999 11.2651 4.43999C11.3251 4.43999 11.4051 4.41999 11.4051 4.41999ZM12.6051 14.04V9.96001C13.8051 9.98001 14.8251 10.02 15.7451 10.08C15.8651 10.68 15.9451 11.32 15.9451 12C15.9451 12.68 15.8851 13.32 15.7651 13.92C14.8451 13.98 13.8051 14.02 12.6051 14.04ZM16.9851 10.2C18.1651 10.32 19.0051 10.44 19.4451 10.52C19.5451 11 19.5851 11.5 19.5851 12C19.5851 12.5 19.5251 13 19.4451 13.48C19.0051 13.56 18.1651 13.68 16.9851 13.8C17.0851 13.22 17.1251 12.62 17.1251 11.98C17.1451 11.38 17.0851 10.76 16.9851 10.2ZM19.0851 9.23999C18.5251 9.15999 17.7251 9.06001 16.7051 8.96001C16.2251 7.24001 15.3851 5.86 14.6851 4.88C16.7051 5.64 18.3051 7.23999 19.0851 9.23999ZM9.32509 4.88C8.60509 5.84 7.7851 7.21999 7.3051 8.93999C6.3051 9.01999 5.50509 9.14 4.92509 9.22C5.70509 7.24 7.32509 5.64 9.32509 4.88ZM4.92509 14.76C5.48509 14.84 6.2851 14.94 7.2851 15.04C7.7651 16.76 8.5651 18.14 9.2851 19.1C7.2851 18.32 5.70509 16.74 4.92509 14.76ZM14.7251 19.1C15.4451 18.14 16.2451 16.78 16.7251 15.06C17.7251 14.98 18.5251 14.86 19.0851 14.78C18.3051 16.74 16.7251 18.32 14.7251 19.1Z",
          "viewBox": {
            "vx": 0,
            "vy": 0,
            "vw": 24,
            "vh": 24
          }
        },
        "rated": {
          "path": "M14.765 21.2C12.285 21.2 8.385 20.38 7.425 19.7C7.205 19.54 7.08501 19.3 7.08501 19.04V11.22C7.08501 10.98 7.20501 10.74 7.38501 10.6C7.44501 10.56 8.845 9.45999 10.305 8.63999C12.125 7.63999 13.385 6.24001 13.685 5.36001C14.045 4.28001 14.565 2.8 16.205 2.8C16.985 2.8 17.625 3.24 17.965 4C18.645 5.56 17.925 7.72 16.725 9.42C17.525 9.6 18.525 9.85999 19.125 10.04C20.225 10.38 20.945 11.18 21.105 12.16C21.245 13.16 20.745 14.18 19.685 14.96C18.905 17.06 17.565 20.38 16.585 20.92C16.205 21.12 15.545 21.2 14.765 21.2ZM8.68501 18.56C10.205 19.2 14.885 19.86 15.765 19.52C16.225 19.1 17.405 16.42 18.225 14.16C18.285 14 18.385 13.86 18.525 13.76C19.185 13.32 19.525 12.8 19.465 12.36C19.405 12 19.085 11.7 18.605 11.54C17.605 11.22 15.125 10.68 15.085 10.68C14.805 10.62 14.585 10.42 14.485 10.14C14.385 9.85999 14.465 9.56001 14.665 9.36001C16.465 7.42001 16.785 5.43999 16.445 4.63999C16.345 4.39999 16.225 4.4 16.165 4.4C15.765 4.4 15.585 4.68001 15.165 5.88001C14.685 7.28001 13.025 8.95999 11.045 10.04C10.085 10.56 9.125 11.26 8.645 11.62V18.56H8.68501ZM5.525 19.12V11.14C5.525 10.42 4.945 9.83999 4.225 9.83999C3.505 9.83999 2.925 10.42 2.925 11.14V19.12C2.925 19.84 3.505 20.42 4.225 20.42C4.925 20.42 5.525 19.82 5.525 19.12Z",
          "viewBox": {
            "vx": 0,
            "vy": 0,
            "vw": 24,
            "vh": 24
          }
        },
        "seller": {
          "path": "M1.75 15L0 13.25L9.25 3.9375L14.25 8.9375L20.75 2.5H17.5V0H25V7.5H22.5V4.25L14.25 12.5L9.25 7.5L1.75 15Z",
          "viewBox": {
            "vx": 0,
            "vy": 0,
            "vw": 25,
            "vh": 15
          }
        },
        "sale": {
          "path": "M19.4508 8.82582L11.1742 0.54918C10.8226 0.197548 10.3456 2.6003e-06 9.84836 0H1.875C0.839453 0 0 0.839453 0 1.875V9.84836C2.6003e-06 10.3456 0.197548 10.8226 0.54918 11.1742L8.82582 19.4508C9.55801 20.183 10.7452 20.1831 11.4775 19.4508L19.4508 11.4775C20.183 10.7452 20.183 9.55805 19.4508 8.82582ZM4.375 6.25C3.33945 6.25 2.5 5.41055 2.5 4.375C2.5 3.33945 3.33945 2.5 4.375 2.5C5.41055 2.5 6.25 3.33945 6.25 4.375C6.25 5.41055 5.41055 6.25 4.375 6.25ZM24.4508 11.4775L16.4775 19.4508C15.7452 20.183 14.558 20.183 13.8258 19.4508L13.8118 19.4368L20.6109 12.6376C21.275 11.9736 21.6406 11.0907 21.6406 10.1516C21.6406 9.21258 21.2749 8.32973 20.6109 7.6657L12.9452 0H14.8484C15.3456 2.6003e-06 15.8226 0.197548 16.1742 0.54918L24.4508 8.82582C25.183 9.55805 25.183 10.7452 24.4508 11.4775Z",
          "viewBox": {
            "vx": 0,
            "vy": 0,
            "vw": 25,
            "vh": 20
          }
        }
      }
    },
    "productOptions": {
      "type": "object",
      "default": {
        "image": true,
        "imgLinkPost": true,
        "imgLinkNewTab": false,
        "categories": true,
        "linkCat": true,
        "catNewTab": false,
        "title": true,
        "titleLinkPost": true,
        "titleLinkNewTab": false,
        "content": true,
        "price": true,
        "rating": true,
        "excerpt": 20,
        "cartButton": true,
        "saleBadge": true,
        "cart": true,
        "wishlist": true,
        "quickView": true
      }
    },
    "itemStyles": {
      "type": "object",
      "default": {
        "padding": {
          "top": "0px",
          "right": "0px",
          "bottom": "0px",
          "left": "0px"
        },
        "border": {
          "width": "",
          "style": "",
          "color": ""
        },
        "shadow": {
          "enabled": false,
          "horizontal": 0,
          "vertical": 0,
          "blur": 0,
          "spread": 0,
          "color": "",
          "position": ""
        },
        "radius": "0px",
        "textAlignment": "left",
        "bgColor": "",
        "bgColorHover": "",
        "borderColorHover": ""
      }
    },
    "imageStyles": {
      "type": "object",
      "default": {
        "hoverEffect": true,
        "margin": {
          "top": "0px",
          "bottom": "10px"
        },
        "width": "",
        "height": "330px",
        "objectFit": "cover",
        "objectPosition": "top",
        "radius": {
          "top": "0px",
          "right": "0px",
          "bottom": "0px",
          "left": "0px"
        },
        "overlay": "#1c1c1c96"
      }
    },
    "saleBadge": {
      "type": "object",
      "default": {
        "padding": {
          "top": "2px",
          "right": "4px",
          "bottom": "2px",
          "left": "4px"
        },
        "border": {
          "style": "",
          "width": "",
          "color": ""
        },
        "radius": "5px",
        "labelBefore": "",
        "labelAfter": "",
        "contentType": "default",
        "position": "left",
        "top": 10,
        "right": 10,
        "left": 10,
        "rotate": 0,
        "bgColor": "#5566ca",
        "fontSize": "12px",
        "fontFamily": "Public Sans",
        "fontWeight": "400",
        "letterCase": "none",
        "decoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "color": "#fff"
      }
    },
    "utilIcon": {
      "type": "object",
      "default": {
        "size": "16px",
        "gap": "6px",
        "hoverShow": true,
        "direction": "vertical",
        "align": {
          "vertical": "top",
          "horizontal": "right"
        },
        "margin": {
          "top": 10,
          "left": "10px",
          "right": "10px"
        },
        "box": {
          "width": "40px",
          "height": "40px",
          "border": {
            "width": "",
            "style": "",
            "color": ""
          },
          "radius": "50px"
        },
        "color": {
          "text": "#090b10",
          "textHover": "#fff",
          "textActive": "#fff",
          "bg": "#fff",
          "bgHover": "#f90",
          "bgActive": "#5566ca",
          "borderHover": "",
          "borderActive": ""
        }
      }
    },
    "categoryStyles": {
      "type": "object",
      "default": {
        "gap": "10px",
        "hoverEffect": true,
        "padding": {
          "top": "2px",
          "right": "10px",
          "bottom": "2px",
          "left": "10px"
        },
        "marginTop": "0px",
        "marginBottom": "0px",
        "border": {
          "width": "",
          "style": "",
          "color": ""
        },
        "radius": "100px",
        "color": "#fff",
        "colorHover": "",
        "bgColor": "#5566ca",
        "bgColorHover": "#f90",
        "borderColorHover": "",
        "fontSize": "12px",
        "fontFamily": "Public Sans",
        "fontWeight": "400",
        "letterCase": "none",
        "decoration": "none",
        "lineHeight": "",
        "letterSpacing": ""
      }
    },
    "title": {
      "type": "object",
      "default": {
        "marginTop": "6px",
        "marginBottom": "6px",
        "fontSize": "18px",
        "fontFamily": "Public Sans",
        "fontWeight": "600",
        "letterCase": "none",
        "decoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "color": "#090b10",
        "colorHover": "#f90"
      }
    },
    "priceRatingWrapper": {
      "type": "object",
      "default": {
        "display": "flex",
        "justifyContent": "space-between",
        "gap": "26px"
      }
    },
    "price": {
      "type": "object",
      "default": {
        "marginTop": "8px",
        "marginBottom": "8px",
        "fontSize": "16px",
        "fontFamily": "Public Sans",
        "fontWeight": "500",
        "letterCase": "none",
        "decoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "color": "#090b10"
      }
    },
    "rating": {
      "type": "object",
      "default": {
        "marginTop": "16px",
        "marginBottom": "0px",
        "fontSize": "14px",
        "fontFamily": "Public Sans",
        "fontWeight": "500",
        "letterCase": "none",
        "decoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "color": "",
        "iconColor": "#f90"
      }
    },
    "cartButton": {
      "type": "object",
      "default": {
        "label": "Add to Cart",
        "width": "",
        "padding": {
          "top": "8px",
          "right": "16px",
          "bottom": "8px",
          "left": "16px"
        },
        "margin": {
          "top": "10px",
          "bottom": "0px"
        },
        "border": {
          "width": "",
          "style": "",
          "color": ""
        },
        "radius": "0px",
        "font": {
          "size": "14px",
          "weight": "500",
          "family": "Public Sans"
        },
        "letterCase": "none",
        "decoration": "none",
        "lineHeight": "",
        "letterSpacing": "",
        "color": {
          "text": "#fff",
          "textHover": "",
          "bg": "#5566ca",
          "bgHover": "#f90",
          "borderHover": ""
        }
      }
    },
    "tabStyles": {
      "type": "object",
      "default": {
        "marginTop": "0px",
        "marginBottom": "6px",
        "padding": {
          "top": "4px",
          "right": "10px",
          "bottom": "4px",
          "left": "10px"
        },
        "radius": {
          "top": "0",
          "right": "0",
          "bottom": "0",
          "left": "0"
        },
        "default": {
          "border": {
            "width": "",
            "style": "",
            "color": ""
          },
          "color": "#6a6a6a",
          "bgColor": ""
        },
        "active": {
          "tabOverlay": false,
          "border": {
            "width": "",
            "style": "",
            "color": ""
          },
          "color": "#5566ca",
          "bgColor": ""
        },
        "fontSize": "14px",
        "fontFamily": "Public Sans",
        "fontWeight": "500",
        "letterCase": "none",
        "decoration": "none",
        "lineHeight": "",
        "letterSpacing": ""
      }
    },
    "separatorStyles": {
      "type": "object",
      "default": {
        "padding": {
          "top": "0px",
          "right": "0px",
          "bottom": "0px",
          "left": "0px"
        },
        "border": {
          "width": "",
          "style": "",
          "color": ""
        },
        "radius": {
          "top": "0px",
          "right": "0px",
          "bottom": "0px",
          "left": "0px"
        },
        "bgColor": ""
      }
    }
  },
  "editorScript": [
    "file:./index.js",
    "file:../index.js"
  ],
  "editorStyle": "file:./index.css",
  "style": [
    "file:./style-index.css",
    "cozy-swiper-bundle",
    "cozy-block--global-block-styles"
  ],
  "script": [
    "cozy-swiper-bundle"
  ],
  "viewScript": [
    "cozy-block--featured-product-tabs--frontend-script"
  ],
  "render": "file:./render.php"
}