<?php
/**
 * Brand Kits as a module.
 *
 * A tab-only feature: the module gates the Brand Kits admin tab (and its stat
 * card); the free/Pro content inside the tab is unchanged. register() is a
 * no-op — the admin class reads the module's active state to show/hide the tab.
 * Free tier; on by default.
 *
 * @package EMCP_Tools
 * @since   3.1.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Brand Kits module.
 *
 * @since 3.1.0
 */
class EMCP_Tools_Brand_Kits_Module extends EMCP_Tools_Module {

	public function id(): string {
		return 'brand-kits';
	}

	public function title(): string {
		return __( 'Brand Kits', 'emcp-tools' );
	}

	public function description(): string {
		return __( 'One-click color + typography kits for your site — bundled free kits plus the premium library.', 'emcp-tools' );
	}

	public function tier(): string {
		return 'free';
	}

	public function default_active(): bool {
		return true;
	}

	/** The dedicated Brand Kits admin tab is the config surface. */
	public function settings_url(): string {
		return admin_url( 'admin.php?page=' . EMCP_Tools_Admin::PAGE_SLUG . '-brand-kits' );
	}

	/** No overlay settings; the feature lives on its admin tab. */
	public function render_settings(): void {}

	/** Tab-only feature — the admin class gates the tab; nothing to wire here. */
	public function register(): void {}
}
