/*
 * v598 narrow visual patch.
 * Keep the accepted v592 DOM, links, behavior and page layout.
 * Restore the official header brand mark and refine only the contact rail.
 */
html body #gap-side-contact-rail-v391,
html body #gap-side-contact-rail-v392,
html body #gap-desktop-contact-rail-v577,
html body #gap-contact-rail-v581,
html body #gap-contact-rail-v582,
html body #gap-contact-rail-v583,
html body #gap-contact-rail-v584,
html body #gap-contact-rail-v585,
html body #gap-contact-rail-v586,
html body #gap-contact-rail-v588,
html body #gap-contact-rail-v589,
html body #gap-contact-rail-v590,
html body #gap-contact-rail-v591,
html body #gap-mobile-contact-bar-fixed-v52,
html body #gap-mobile-contact-bar-fixed-v53,
html body #gap-mobile-contact-rail-v433,
html body .gap-side-contact-rail,
html body .gap-mobile-contact-bar:not(#gap-contact-rail-v592) {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Restore the authorized official brand mark without consuming the live
 * ::before wordmark or ::after RESEARCH ONLY slots. */
html body a.wd-logo.wd-main-logo > .gap-header-brand-icon-v598 {
	display: block !important;
	order: -1 !important;
	flex: 0 0 42px !important;
	width: 42px !important;
	height: 42px !important;
	margin: 0 10px 0 0 !important;
	background: url("getallpeptides-brand-icon.png") center / contain no-repeat !important;
	pointer-events: none !important;
}

/* Remove persistent zero-count dots. Keep real positive counts as restrained
 * white badges without changing the existing header controls or links. */
.wd-header-wishlist .wd-tools-count,
.wd-header-compare .wd-tools-count,
.wd-header-cart .wd-tools-count {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 16px !important;
	height: 16px !important;
	min-height: 16px !important;
	padding: 0 4px !important;
	border: 1px solid rgba(21, 48, 71, .18) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #153047 !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	line-height: 14px !important;
	letter-spacing: 0 !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .12) !important;
	box-sizing: border-box !important;
}

.wd-header-wishlist .wd-tools-count:empty,
.wd-header-compare .wd-tools-count:empty,
.wd-header-cart .wd-tools-count:empty,
.wd-header-wishlist .wd-tools-count[data-gap-count-state="empty"],
.wd-header-compare .wd-tools-count[data-gap-count-state="empty"],
.wd-header-cart .wd-tools-count[data-gap-count-state="empty"] {
	display: none !important;
}

#gap-contact-rail-v592 {
	left: 10px !important;
	gap: 10px !important;
	width: 54px !important;
}

#gap-contact-rail-v592 a,
#gap-contact-rail-v592 button {
	flex: 0 0 54px !important;
	width: 54px !important;
	height: 54px !important;
	min-width: 54px !important;
	min-height: 54px !important;
}

#gap-contact-rail-v592 .gap-contact-email svg {
	width: 44px !important;
	height: 44px !important;
	padding: 7px !important;
	border-width: 3px !important;
}

#gap-contact-rail-v592 .gap-brand-logo-whatsapp,
#gap-contact-rail-v592 .gap-brand-logo-facebook {
	width: 44px !important;
	height: 44px !important;
	border-width: 3px !important;
}

#gap-contact-rail-v592 .gap-brand-logo-whatsapp svg {
	width: 30px !important;
	height: 30px !important;
}

@media (max-width: 768px) {
	html body a.wd-logo.wd-main-logo > .gap-header-brand-icon-v598 {
		flex-basis: 32px !important;
		width: 32px !important;
		height: 32px !important;
		margin-right: 7px !important;
	}

	#gap-contact-rail-v592 {
		left: 8px !important;
		left: max(8px, env(safe-area-inset-left)) !important;
		right: auto !important;
		gap: 10px !important;
		width: 54px !important;
	}

	#gap-contact-rail-v592 a,
	#gap-contact-rail-v592 button {
		flex-basis: 54px !important;
		width: 54px !important;
		height: 54px !important;
		min-width: 54px !important;
		min-height: 54px !important;
	}
}

@media (max-width: 480px) {
	html body .site-logo > a.wd-logo.wd-main-logo,
	html body a.wd-logo.wd-main-logo {
		justify-content: flex-start !important;
	}

	html body a.wd-logo.wd-main-logo > .gap-header-brand-icon-v598 {
		flex-basis: 28px !important;
		width: 28px !important;
		height: 28px !important;
		margin-right: 6px !important;
	}

	html body .site-logo > a.wd-logo.wd-main-logo::before,
	html body a.wd-logo.wd-main-logo::before {
		font-size: 20px !important;
		line-height: 20px !important;
	}

	html body .site-logo > a.wd-logo.wd-main-logo::after,
	html body a.wd-logo.wd-main-logo::after {
		font-size: 8px !important;
		line-height: 8.5px !important;
	}
}
