/*
Theme Name:   Maczin Child
Template:     maczin
Description:  Fill The Gaps child theme for Maczin (created 2026-09-26). Keeps FTG customisations out of the parent theme:
              header uses the theme's own menu (UberMenu removed), single <title> (Yoast), shop category grid CSS
              that no longer depends on WPBakery. Parent theme settings (SMOF) are stored in theme_mods_maczin-child.
Version:      1.0.0
Author:       Fill The Gaps
Text Domain:  maczin-child
*/

/* Home page (rebuilt with core blocks 2026-09-26): headings are now <h2><a>..</a></h2> instead of <a><h2>..</h2></a>;
   keep the white text on the dark bar that the parent's "#homepage h2" rule gives. */
#homepage h2 a,
#homepage h2 a:hover,
#homepage h2 a:focus { color: inherit; text-decoration: none; }
#homepage .wp-block-image { margin: 0 0 10px; }

/* Shop page category rows (woocommerce/archive-product.php) use WPBakery grid class names. These rules replicate the
   few WPBakery 6.6 rules they relied on, scoped to the shop wrapper, so the layout survives removing WPBakery. */
#vntd-woocommerce .vc_col-sm-4,
#vntd-woocommerce .vc_col-sm-8 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; -webkit-box-sizing: border-box; box-sizing: border-box; }
#vntd-woocommerce .vc_column_container { width: 100%; padding-left: 0; padding-right: 0; }
@media (min-width: 768px) {
	#vntd-woocommerce .vc_col-sm-4,
	#vntd-woocommerce .vc_col-sm-8 { float: left; }
	#vntd-woocommerce .vc_col-sm-4 { width: 33.33333333%; }
	#vntd-woocommerce .vc_col-sm-8 { width: 66.66666667%; }
}
