/**
 * Allbirds — banner height + sticky header nav.
 * Theme already owns colors / type; only fix ShopForge chrome clamps.
 */

/* Black announcement: flush to viewport top, sticky like www.allbirds.com */
body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__global-banner"] {
	position: sticky !important;
	top: 0 !important;
	margin: 0 !important;
	z-index: 60;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	overflow: hidden;
}

body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__global-banner"] > .relative,
body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__global-banner"] > div {
	position: relative !important;
	inset: auto !important;
	top: auto !important;
	margin: 0 !important;
	height: auto !important;
	max-height: none !important;
}

body.sf-shopify-package.sf-allbirds-fix [data-section-type="global-banner"] .swiper-slide {
	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
}

/* Keep header section collapsed in flow; pill is fixed by JS/CSS below */
body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__header"] {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 70;
	height: 0 !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
	pointer-events: none;
}

body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__header"] > div {
	height: 0 !important;
	overflow: visible !important;
	pointer-events: none;
}

/* White nav pill — below banner by ~top-5 (20px), same as original absolute top-5 */
body.sf-shopify-package.sf-allbirds-fix .sf-ab-header-bar,
body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__header"] .absolute.top-5.right-5.left-5 {
	position: fixed !important;
	top: var(--sf-ab-nav-top, 52px) !important;
	right: 1.25rem !important;
	left: 1.25rem !important;
	width: auto !important;
	z-index: 70 !important;
	pointer-events: auto !important;
}

body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__header"] nav,
body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__header"] a,
body.sf-shopify-package.sf-allbirds-fix .shopify-section-group-header-group[id*="__header"] button {
	pointer-events: auto;
}
