/*
Theme Name: DIY HiFi Shop
Theme URI: https://diyhifi.shop
Description: Child theme of Twenty Twenty-Five for the DIY HiFi shop.
Author: DIY HiFi
Template: twentytwentyfive
Version: 1.0.6
Text Domain: diyhifi-shop
*/

/*
 * Fixed site header. Block-editor sticky on inner groups cannot work because
 * those blocks are constrained by the header wrapper height. position: sticky
 * on the wrapper also fails in some block-theme / cache setups, so we pin the
 * template-part with position: fixed and offset page content with a fixed
 * 70px padding (matches the visible top bar; do not use JS-measured height).
 */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > .wp-block-template-part:first-child {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1000;
}

.wp-site-blocks {
	padding-top: 70px !important;
}

/* Checkout / full-width pages: less top space, centered content column. */
.page-template-page-full-width-no-footer main#wp--skip-link--target {
	margin-top: 0 !important;
}

.page-template-page-full-width-no-footer main > .wp-block-group {
	padding-top: 1.25rem !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 48rem !important;
	width: 100%;
}

.page-template-page-full-width-no-footer .wp-block-post-title {
	text-align: center;
	margin-top: 0 !important;
	margin-bottom: 1rem;
}

.page-template-page-full-width-no-footer .entry-content,
.page-template-page-full-width-no-footer .wp-block-post-content {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 48rem !important;
	width: 100%;
}

.page-template-page-full-width-no-footer .lite-store-checkout__empty {
	text-align: center;
}
