.td-header-desktop-actions,
.td-header-mobile-actions {
	display: flex;
	align-items: center;
}

.td-header-desktop-actions {
	align-self: center;
	gap: 4px;
}

.td-header-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.td-header-action[hidden],
.td-header-search-panel[hidden] {
	display: none;
}

.td-header-action > svg {
	width: 21px;
	height: 21px;
}

.td-header-action:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}

.td-header-desktop-actions .tdgc-header-launch {
	color: #476d33;
}

.td-header-desktop-actions .td-header-action:hover {
	background: #f0f5eb;
}

@media (min-width: 770px) {
	.topbar-device-mobile.td-header-mobile.visible-xxs {
		display: none !important;
	}

	#stx .header-middle .search-div {
		flex: 1 1 0%;
		min-width: 0;
		max-width: none;
	}
}

@media (max-width: 769.98px) {
	.topbar-device-mobile.td-header-mobile {
		align-items: center;
		min-height: 50px;
		padding-inline: 8px;
		color: #fff;
	}

	.td-header-mobile > nav {
		flex: none;
	}

	.td-header-mobile > nav:has(#nav-icon3) {
		display: grid;
		place-items: center;
		width: 40px;
	}

	.td-header-mobile > .mobile-logo {
		flex: 1;
		min-width: 0;
		width: auto;
		padding: 0 4px;
		text-align: left;
	}

	.td-header-mobile .mobile-logo .logo-theme,
	.td-header-mobile .mobile-logo a {
		display: block;
		line-height: 1;
	}

	.td-header-mobile .mobile-logo img {
		display: block;
		width: auto;
		height: auto;
		max-width: min(100%, 216px);
		max-height: 40px;
	}

	.td-header-mobile-actions {
		flex: none;
	}

	.td-header-mobile .td-header-mobile-actions .tms-store-trigger--mobile {
		position: static;
		width: 40px;
		height: 44px;
	}

	.td-header-mobile .td-header-action:hover,
	.td-header-mobile .td-header-action[aria-expanded="true"] {
		background: rgb(0 0 0 / 12%);
	}

	.td-header-mobile .tdgc-header-launch {
		color: #fff1bd;
	}

	.td-header-mobile .td-header-action > i {
		font-size: 19px;
		line-height: 1;
	}

	.td-header-search-panel {
		position: absolute;
		inset: 100% 0 auto;
		padding: 8px;
		background: #fff;
		color: #24272e;
		box-shadow: 0 5px 12px rgb(0 0 0 / 14%);
	}

	.td-header-search-panel form {
		width: 100%;
		margin: 0;
	}
}

@media (max-width: 359px) {
	.td-header-mobile .mobile-logo a {
		width: min(100%, 54px);
		overflow: hidden;
	}

	.td-header-mobile .mobile-logo img {
		width: 132px;
		max-width: none;
	}
}

body:has([data-tdcc-open-chat]:not([hidden])) #smartsupp-widget-container [data-testid="widgetButtonFrame"] {
	display: none !important;
}
