/*
Theme Name:   Raven Recorder
Theme URI:    https://ravenrecorder.ai
Description:  Storefront theme for Raven Recorder. A block child theme — all
              design lives in theme.json and templates/, so it is versioned in
              git rather than trapped in the database.
Author:       Raven Recorder
Version:      0.1.0
Template:     twentytwentyfive
Requires PHP: 8.1
Text Domain:  ravenrecorder
*/

/*
 * Nearly everything belongs in theme.json, not here — it generates CSS custom
 * properties and utility classes the block editor can also see, so the admin
 * preview matches the front end. Reserve this file for the handful of rules
 * the theme.json schema cannot express.
 */

/* WooCommerce ships its own layout primitives that predate block themes; keep
   its grids from fighting the theme's content width. */
.woocommerce-page .wp-block-post-content > .woocommerce {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

/* Product gallery images arrive at wildly different aspect ratios until the
   photography is standardised. Pin them so the grid does not jitter. */
.woocommerce ul.products li.product img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
