:root {
	--tnf-announcement-height: 36px;
	--tnf-header-height: 64px;
	--tnf-header-compact-height: 64px;
	--tnf-header-inline-gap: 24px;
	--tnf-header-border: rgba(0, 0, 0, 0.12);
}

.tnf-header__menu-slot {
	display: none;
}

@media (max-width: 959px) {
	:root {
		--tnf-header-height: 54px;
		--tnf-header-compact-height: 54px;
		--tnf-mobile-icon-size: 22px;
	}

	#mr_text_slider {
		position: relative !important;
		top: auto !important;
	}

	#transparent-header-wrap #site-header {
		height: auto !important;
		min-height: var(--tnf-header-height);
		padding: 0 !important;
		background: #f7f8f8 !important;
	}

	#transparent-header-wrap .oceanwp-sticky-header-holder.is-sticky #site-header {
		top: 0 !important;
	}

	#site-header #site-header-inner {
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		padding: 0 12px !important;
	}

	.tnf-header {
		position: relative;
		display: grid;
		grid-template-columns: 44px auto minmax(0, 1fr);
		align-items: center;
		column-gap: 4px;
		min-height: var(--tnf-header-height);
		direction: rtl;
		color: #111;
	}

	.tnf-header__desktop {
		display: contents;
	}

	.tnf-header__navigation,
	.tnf-header__utility,
	#site-header.tnf-header-mobile-ready .oceanwp-mobile-menu-icon,
	#site-header .tnf-header__menu-toggle > .hamburger {
		display: none !important;
	}

	.tnf-header__menu-slot:not([hidden]) {
		display: flex;
		grid-column: 1;
		grid-row: 1;
		align-items: center;
	}

	#site-header .tnf-header__menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		color: currentColor;
		font-size: var(--tnf-mobile-icon-size);
		line-height: 1;
	}

	#site-header .tnf-header__menu-toggle > .icon-menu {
		position: relative;
		display: block;
		width: var(--tnf-mobile-icon-size);
		height: 2px;
		border-radius: 2px;
		background: currentColor;
	}

	#site-header .tnf-header__menu-toggle > .icon-menu::before,
	#site-header .tnf-header__menu-toggle > .icon-menu::after {
		content: "";
		position: absolute;
		right: 0;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
	}

	#site-header .tnf-header__menu-toggle > .icon-menu::before {
		top: -7px;
		width: var(--tnf-mobile-icon-size);
	}

	#site-header .tnf-header__menu-toggle > .icon-menu::after {
		top: 7px;
		width: 13px;
	}

	.tnf-header__menu-toggle:focus-visible,
	.tnf-header__search a:focus-visible,
	.tnf-header__account:focus-visible {
		outline: 2px solid currentColor;
		outline-offset: -2px;
	}

	.tnf-header__brand {
		grid-column: 3;
		grid-row: 1;
		min-width: 0;
		justify-self: end;
	}

	#site-header .tnf-header__brand #site-logo {
		position: static !important;
		float: none !important;
		width: auto !important;
		margin: 0 !important;
		transform: none !important;
	}

	#site-header .tnf-header__brand #site-logo-inner,
	#site-header .tnf-header__brand .custom-logo-link {
		display: flex;
		align-items: center;
		justify-content: center;
		height: auto !important;
	}

	#site-header .tnf-header__brand #site-logo #site-logo-inner a img {
		width: 80px !important;
		height: auto !important;
		max-height: 40px !important;
		margin: 0 !important;
		filter: none;
	}

	.tnf-header__services {
		display: flex;
		grid-column: 2;
		grid-row: 1;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
		min-width: 0;
		direction: ltr;
	}

	.tnf-header__search,
	.tnf-header__account,
	.tnf-header__cart {
		position: static;
		flex: 0 0 44px;
		width: 44px;
		min-height: 44px;
	}

	.tnf-header__search .dgwt-wcas-search-wrapp {
		position: static !important;
		min-width: 44px;
		width: 44px;
		margin: 0;
		color: inherit;
	}

	.tnf-header__search .dgwt-wcas-search-icon,
	.tnf-header__account,
	.tnf-header__cart .fkcart-shortcode-container {
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		width: 44px;
		min-height: 44px;
		height: 44px;
		padding: 0;
		color: currentColor;
	}

	.tnf-header__account {
		font-size: var(--tnf-mobile-icon-size);
		line-height: 1;
	}

	.tnf-header__search .dgwt-wcas-search-icon svg {
		width: var(--tnf-mobile-icon-size);
		height: var(--tnf-mobile-icon-size);
		margin: 0;
		padding: 0;
	}

	#transparent-header-wrap #site-header .tnf-header__search .dgwt-wcas-search-icon svg path {
		fill: currentColor !important;
	}

	.tnf-header__search .dgwt-wcas-layout-icon-open .dgwt-wcas-search-form {
		position: absolute;
		top: 100% !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		margin: 0 !important;
		transform: none !important;
		color: #111;
		z-index: 20;
	}

	.tnf-header__cart .fkcart-shortcode-container::after {
		content: none !important;
	}

	#transparent-header-wrap #site-header .tnf-header__cart .fkcart-shortcode-icon-wrap {
		width: var(--tnf-mobile-icon-size);
		height: var(--tnf-mobile-icon-size);
		flex: 0 0 var(--tnf-mobile-icon-size);
		margin: 0 !important;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain !important;
		filter: none !important;
	}
}

@media (min-width: 601px) and (max-width: 959px) {
	body.admin-bar #transparent-header-wrap .oceanwp-sticky-header-holder.is-sticky #site-header {
		top: var(--wp-admin--admin-bar--height, 32px) !important;
	}
}

@media (min-width: 960px) {
	body #top-bar-wrap {
		display: none;
	}

	#mr_text_slider {
		position: relative !important;
		top: auto !important;
		display: flex;
		align-items: center;
		justify-content: center;
		height: var(--tnf-announcement-height) !important;
		min-height: var(--tnf-announcement-height) !important;
		padding: 0 28px;
		background: #252525 !important;
		color: #fff;
	}

	#mr_text_slider > .swiper {
		width: calc(100% - 560px);
		max-width: 680px;
		min-width: 0;
		height: var(--tnf-announcement-height);
		margin: 0 auto;
	}

	#mr_text_slider .swiper-slide,
	#mr_text_slider .swiper-slide a {
		color: #fff;
		font-size: 13px;
		line-height: var(--tnf-announcement-height) !important;
	}

	#mr_text_slider > .tnf-header__utility {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		gap: 18px;
		padding-inline: 28px;
		pointer-events: none;
		color: #fff;
	}

	#mr_text_slider > .tnf-header__utility a {
		pointer-events: auto;
	}

	#mr_text_slider > .tnf-header__utility a:first-child {
		margin-inline-start: auto;
	}

	#mr_text_slider > .tnf-header__utility a:last-child {
		order: -1;
	}

	#site-header {
		position: relative;
		padding-top: 0 !important;
		border-bottom: 1px solid transparent;
		background: #f7f8f8;
		transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	}

	#transparent-header-wrap #site-header {
		padding: 0 !important;
	}

	#transparent-header-wrap .oceanwp-sticky-header-holder.is-sticky #site-header {
		top: 0 !important;
	}

	body.admin-bar #transparent-header-wrap .oceanwp-sticky-header-holder.is-sticky #site-header {
		top: 32px !important;
	}

	body.home #transparent-header-wrap:not(.tnf-header-is-open) .oceanwp-sticky-header-holder:not(.is-sticky) #site-header {
		background: transparent !important;
	}

	body.home #transparent-header-wrap.tnf-header-is-open #site-header,
	#transparent-header-wrap .oceanwp-sticky-header-holder.is-sticky #site-header,
	body:not(.home) #site-header {
		border-color: var(--tnf-header-border);
		background: #f7f8f8 !important;
		box-shadow: none;
	}

	#site-header #site-header-inner {
		width: 100% !important;
		max-width: none !important;
		height: auto;
		padding: 0 28px !important;
	}

	.tnf-header {
		display: grid;
		grid-template-columns: 144px minmax(0, 1fr) 144px;
		align-items: center;
		min-height: var(--tnf-header-height);
		column-gap: var(--tnf-header-inline-gap);
		direction: rtl;
	}

	.tnf-header__brand,
	.tnf-header__desktop,
	.tnf-header__navigation,
	.tnf-header__services {
		min-width: 0;
	}

	#site-header .tnf-header__brand #site-logo {
		float: none;
		width: auto;
		margin: 0;
		position: static;
	}

	#site-header .tnf-header__brand #site-logo-inner,
	#site-header .tnf-header__brand .custom-logo-link {
		display: flex;
		align-items: center;
	}

	#site-header .tnf-header__brand #site-logo #site-logo-inner a img {
		width: 88px;
		max-width: 100%;
		max-height: 42px;
		margin: 0 !important;
		transition: filter 180ms ease;
	}

	.tnf-header__desktop {
		display: contents;
	}

	#site-header .tnf-header__navigation #site-navigation-wrap,
	#site-header .tnf-header__navigation #site-navigation {
		float: none;
		position: static;
		width: auto;
		height: auto;
	}

	#site-header .tnf-header__navigation .dropdown-menu {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 24px;
		height: auto;
		white-space: nowrap;
	}

	#site-header .tnf-header__navigation .dropdown-menu > li {
		float: none;
	}

	#site-header .tnf-header__navigation .dropdown-menu > li > a {
		display: flex;
		align-items: center;
		min-height: var(--tnf-header-height);
		padding: 0 4px;
		background: transparent;
		color: #111;
		font-size: 16px;
		font-weight: 500;
		letter-spacing: 0;
		line-height: 1.2;
	}

	#site-header .tnf-header__navigation .dropdown-menu > li > a:hover,
	#site-header .tnf-header__navigation .dropdown-menu > li.sfHover > a,
	#site-header .tnf-header__navigation .dropdown-menu > li.current-menu-item > a {
		color: #c22014;
	}

	#site-header .tnf-header__navigation .dropdown-menu > li.custom-mobile-item,
	#site-header .tnf-header__navigation .dropdown-menu > li.main_menu__desktop_small {
		display: none;
	}

	#site-header .tnf-header__navigation .dropdown-menu > li.full-mega {
		position: static;
	}

	#site-header .tnf-header__navigation .dropdown-menu > li.full-mega > .megamenu {
		top: 100% !important;
		inset-inline: 0;
		width: 100%;
		max-width: none;
		margin-inline: 0 !important;
		transform: none !important;
	}

	.tnf-header__services {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 8px;
		direction: rtl;
		color: #111;
	}

	.tnf-header__utility {
		display: none;
		direction: rtl;
		white-space: nowrap;
	}

	.tnf-header__utility a {
		color: currentColor;
		font-size: 12px;
		font-weight: 500;
		line-height: 1.2;
	}

	.tnf-header__utility a:hover,
	.tnf-header__utility a:focus-visible {
		color: #c22014;
	}

	.tnf-header__search {
		position: relative;
		flex: 0 0 40px;
		width: 40px;
		min-height: 40px;
		z-index: 12;
	}

	.tnf-header__search .dgwt-wcas-search-wrapp {
		min-width: 40px;
		width: 40px;
		margin: 0;
		color: inherit;
	}

	.tnf-header__search .dgwt-wcas-search-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		color: currentColor;
	}

	.tnf-header__search .dgwt-wcas-search-icon svg {
		width: 25px;
		height: 25px;
		margin: 0;
	}

	.tnf-header__search .dgwt-wcas-search-icon svg path,
	.tnf-header__cart svg {
		fill: currentColor;
	}

	.tnf-header__search .dgwt-wcas-layout-icon-open .dgwt-wcas-search-form {
		position: absolute;
		top: calc(100% + 12px) !important;
		left: 0 !important;
		right: auto !important;
		width: min(400px, calc(100vw - 56px)) !important;
		margin: 0 !important;
		transform: none !important;
		color: #111;
	}

	.tnf-header__account {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 40px;
		width: 40px;
		height: 40px;
		color: currentColor;
		font-size: 25px;
		line-height: 1;
	}

	.tnf-header__account:hover,
	.tnf-header__account:focus-visible {
		color: currentColor;
	}

	.tnf-header__account:focus-visible,
	.tnf-header__search a:focus-visible {
		outline: 2px solid currentColor;
		outline-offset: 2px;
	}

	.tnf-header__cart,
	.tnf-header__cart .fkcart-shortcode-container {
		display: flex;
		align-items: center;
		justify-content: center;
		color: currentColor;
	}

	.tnf-header__cart .fkcart-shortcode-container {
		position: relative;
		min-width: 40px;
		min-height: 40px;
		padding: 0;
		cursor: pointer;
	}

	.tnf-header__cart .fkcart-shortcode-count {
		position: absolute;
		top: -5px;
		right: -6px;
	}

	.tnf-header__cart .fkcart-shortcode-container::after {
		content: none !important;
	}

	body.home #transparent-header-wrap:not(.tnf-header-is-open) .oceanwp-sticky-header-holder:not(.is-sticky) .tnf-header {
		color: #fff;
	}

	body.home #transparent-header-wrap:not(.tnf-header-is-open) .oceanwp-sticky-header-holder:not(.is-sticky) .tnf-header__brand img.custom-logo {
		filter: brightness(0) invert(1);
	}

	body.home #transparent-header-wrap:not(.tnf-header-is-open) .oceanwp-sticky-header-holder:not(.is-sticky) .tnf-header__navigation .dropdown-menu > li > a,
	body.home #transparent-header-wrap:not(.tnf-header-is-open) .oceanwp-sticky-header-holder:not(.is-sticky) .tnf-header__services {
		color: #fff;
	}

	#transparent-header-wrap .oceanwp-sticky-header-holder.is-sticky .tnf-header {
		min-height: var(--tnf-header-compact-height);
	}

	#transparent-header-wrap .oceanwp-sticky-header-holder.is-sticky #site-header .tnf-header__brand #site-logo #site-logo-inner a img {
		width: 88px !important;
		max-height: 42px !important;
	}

	#transparent-header-wrap .oceanwp-sticky-header-holder.is-sticky #site-header .tnf-header__navigation .dropdown-menu > li > a {
		min-height: var(--tnf-header-height);
	}
}

@media (min-width: 960px) and (max-width: 1199px) {
	#site-header #site-header-inner {
		padding-inline: 20px !important;
	}

	.tnf-header {
		grid-template-columns: 112px minmax(0, 1fr) 112px;
		column-gap: 16px;
	}

	.tnf-header__services {
		gap: 0;
	}

	#site-header .tnf-header__navigation .dropdown-menu {
		gap: 10px;
	}

	#site-header .tnf-header__navigation .dropdown-menu > li > a {
		padding-inline: 2px !important;
		font-size: 15px !important;
	}

	#mr_text_slider > .tnf-header__utility {
		gap: 10px;
	}

	#mr_text_slider > .swiper {
		width: calc(100% - 440px);
	}
}

@media (min-width: 960px) {
	.tnf-header__cart .fkcart-shortcode-icon-wrap {
		width: 25px;
		height: 25px;
		flex: 0 0 25px;
		margin: 0 !important;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain !important;
		filter: none;
	}

	body.home #transparent-header-wrap:not(.tnf-header-is-open) .oceanwp-sticky-header-holder:not(.is-sticky) .tnf-header__cart .fkcart-shortcode-icon-wrap {
		filter: brightness(0) invert(1);
	}
}
