/*
 * Global resets and design-direction overrides.
 *
 * Astra doesn't expose CSS custom properties for font-family or
 * border-radius the way it does for colors (those are computed
 * server-side into literal values), so both are overridden here directly
 * at the selector level. This file must load after Astra's own stylesheet
 * (see inc/enqueue.php dependency) so these rules win the cascade.
 */

:root {
	--azpma-font-base: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
	--azpma-radius: 4px;   /* default corner radius — square-ish, not bubbly */
	--azpma-radius-sm: 2px;
}

/* Typography — route Astra's body/heading/button/input text through Poppins */
body,
button,
input,
select,
textarea,
.ast-button,
h1, h2, h3, h4, h5, h6,
.site-title,
.site-description {
	font-family: var(--azpma-font-base);
}

/* Border radius — reduce Astra/WordPress-core defaults to a subtle, consistent corner */
.ast-button,
.button,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea,
.wp-block-button__link,
.wp-block-search__button,
.wp-block-image img,
.wp-block-group,
.wp-block-columns,
.card,
.ast-woocommerce-container div.product,
.woocommerce ul.products li.product,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--azpma-radius);
}

/* Fully-rounded ("pill") button presets some blocks ship with by default are squared off */
.wp-block-button__link.is-style-rounded,
.wp-block-button.is-style-rounded .wp-block-button__link {
	border-radius: var(--azpma-radius);
}
