/*
Theme Name: ZZF Base
Theme URI: https://zoonumzigaflow.example
Author: ZoonumZigaFlow Agency
Author URI: https://zoonumzigaflow.example
Description: Base block theme for the ZZF Starter Kit. Neutral, token-driven foundation for RUO e-commerce client sites. All brand values (colors, fonts) are supplied by a generated child theme that overrides the theme.json design tokens; this theme ships neutral grayscale defaults only. Compliance behaviors (RUO notices, age gate, attestation) are rendered by the ZZF Core plugin, never by theme content.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zzf
Tags: block-theme, e-commerce, full-site-editing, block-patterns
*/

/*
 * Structural CSS only. All color / typography / spacing values come from
 * theme.json design tokens (never hardcode brand values here).
 */

/* Card block style — fallback mirror of the theme.json
 * styles.blocks.core/group.variations.zzf-card definition, so the card
 * treatment holds even where block style variation output is unavailable
 * (e.g. classic WooCommerce hook output wrapped by pattern markup). */
.is-style-zzf-card {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--zzf--radius, 14px);
}

/* Header commerce icons (WooCommerce Mini-Cart + Customer Account blocks)
 * inherit the token text color instead of Woo defaults. */
.wc-block-mini-cart__button,
.wp-block-woocommerce-customer-account a {
	color: var(--wp--preset--color--contrast);
}

/* Keep header icon blocks vertically centered against the site title row. */
.wp-block-woocommerce-mini-cart,
.wp-block-woocommerce-customer-account {
	display: flex;
	align-items: center;
}

/* Media inside content respects the soft radius token. */
.wp-block-post-content img,
.wp-block-post-content .wp-block-embed iframe {
	border-radius: var(--wp--custom--zzf--radius-s, 8px);
}
