/* Header commerce/contact DS 2.0 polish */
@media (min-width: 1025px) {
	.whb-header .wd-search-form[class*="wd-header-search-form"] form.searchform {
		display: flex;
		align-items: center;
		min-height: 46px;
		padding: 0 54px 0 0;

		overflow: hidden !important;
	}

	.whb-header .searchform input[type="text"],
	.whb-header .searchform input[type="search"] {
		min-height: 44px !important;
		height: 44px !important;
		padding: 0 18px !important;
		line-height: 44px !important;
	}

	.whb-header .searchform .searchsubmit {
		position: absolute !important;
		inset: auto 5px auto auto !important;
		top: 50% !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 36px !important;
		min-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
		padding: 0 !important;
		border: 1px solid rgba(168, 217, 41, 0.64) !important;
		border-radius: 999px !important;
		background: var(--jt-accent) !important;
		box-shadow: none !important;
		color: var(--jt-bg-deep) !important;
		transform: translateY(-50%) !important;
	}

	.whb-header .searchform .searchsubmit:hover,
	.whb-header .searchform .searchsubmit:focus-visible {
		background: var(--jt-accent-hover) !important;
		border-color: var(--jt-accent-hover) !important;
		box-shadow: 0 0 0 3px rgba(147, 190, 32, 0.18) !important;
	}

	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account, .wd-header-cart) > a {
		flex: 0 0 auto;
		text-decoration: none !important;
		transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
	}

	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account) > a {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-height: 40px;
		padding: 0 11px !important;
		border: 1px solid rgba(241, 246, 228, 0.16) !important;
		border-radius: 999px !important;
		background: rgba(241, 246, 228, 0.045) !important;
		color: var(--jt-ink) !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
	}

	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account) .wd-tools-icon {
		width: 20px !important;
		min-width: 20px !important;
		height: 20px !important;
		min-height: 20px !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: var(--jt-ink) !important;
	}

	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account) .wd-tools-inner {
		display: inline-flex !important;
		align-items: center;
		gap: 7px;
		min-height: auto !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account) .wd-tools-text {
		display: inline-flex !important;
		align-items: center;
		color: var(--jt-ink);
		font-size: 12px;

		line-height: 1;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account):hover > a,
	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account):focus-within > a {
		border-color: rgba(147, 190, 32, 0.46) !important;
		background: rgba(147, 190, 32, 0.105) !important;
		color: var(--jt-ink) !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 22px rgba(0, 0, 0, 0.18) !important;
	}

	.whb-header .wd-header-compare .wd-tools-count {
		top: -9px;
		right: -10px;
		width: 17px;
		min-width: 17px;
		height: 17px;
		min-height: 17px;
		border: 1px solid #0a0a0c;
		border-radius: 999px;
		background: var(--jt-accent-hover) !important;
		color: var(--jt-bg-deep) !important;
		font-size: 10px;
		font-weight: 950;
		line-height: 15px;
	}

	.whb-header .wd-header-cart > a {
		display: flex !important;

		min-height: 40px;
		padding: 0 !important;
		border: 1px solid rgba(147, 190, 32, 0.68) !important;
		border-radius: 999px !important;
		background: linear-gradient(135deg, #93be20 0%, #a8d929 100%) !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(147, 190, 32, 0.18) !important;
		color: #0d110a !important;
	}

	.whb-header .wd-header-cart .wd-tools-inner {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		gap: 8px;
		min-height: 38px;
		padding: 0 12px 0 11px;


	}

	.whb-header .wd-header-cart .wd-tools-icon {
		position: relative;
		width: 20px !important;
		min-width: 20px !important;
		height: 20px !important;
		min-height: 20px !important;

		border-radius: 999px !important;

		color: #0d110a !important;
	}

	.whb-header .wd-header-cart .wd-tools-text {
		display: inline-flex !important;
		align-items: center;
		flex: 0 0 auto;

		color: #0d110a !important;
		font-size: 13px;
		font-weight: 950;
		font-variant-numeric: tabular-nums;
		line-height: 1;

	}

	.whb-header .wd-header-cart :is(.wd-cart-subtotal, .amount, bdi, .woocommerce-Price-currencySymbol) {
		color: inherit !important;
		font: inherit !important;
		opacity: 1 !important;
	}

	.whb-header .wd-header-cart .wd-cart-number {


		right: -9px;

		align-items: center;
		justify-content: center;
		width: 18px;
		min-width: 18px;
		height: 18px;
		min-height: 18px;
		border: 1px solid #0a0a0c;
		border-radius: 999px;
		background: #a8d929 !important;
		color: #0d110a !important;
		font-size: 10px;


	}

	.whb-header .wd-header-cart .wd-cart-number span {
		display: none;
	}

	.whb-header .wd-header-cart:hover > a,
	.whb-header .wd-header-cart:focus-within > a {
		border-color: var(--jt-accent-hover) !important;
		background: linear-gradient(135deg, #a8d929 0%, #b6ee2d 100%) !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 30px rgba(147, 190, 32, 0.24) !important;
	}

	.whb-top-bar .wd-info-box.jt-header-phone-info {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		width: auto !important;
		min-width: 0;
		min-height: 34px;
		padding: 0 12px 0 10px;
		border: 1px solid rgba(241, 246, 228, 0.16);
		border-radius: 999px;
		background: rgba(241, 246, 228, 0.055) !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
		color: var(--jt-ink);
	}

	.whb-top-bar .wd-info-box.jt-header-phone-info::before {
		content: "";
		flex: 0 0 24px;
		width: 24px;
		height: 24px;
		border-radius: 999px;
		background-color: rgba(147, 190, 32, 0.14);
	}

	.whb-top-bar .wd-info-box.jt-header-phone-info::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 15px;
		width: 14px;
		height: 14px;
		background: var(--jt-accent);
		-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M22%2016.92v3a2%202%200%200%201-2.18%202%2019.8%2019.8%200%200%201-8.63-3.07%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.12%204.18%202%202%200%200%201%204.11%202h3a2%202%200%200%201%202%201.72c.12.9.33%201.77.63%202.61a2%202%200%200%201-.45%202.11L8.09%209.91a16%2016%200%200%200%206%206l1.47-1.2a2%202%200%200%201%202.11-.45c.84.3%201.71.51%202.61.63A2%202%200%200%201%2022%2016.92z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
		mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M22%2016.92v3a2%202%200%200%201-2.18%202%2019.8%2019.8%200%200%201-8.63-3.07%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.12%204.18%202%202%200%200%201%204.11%202h3a2%202%200%200%201%202%201.72c.12.9.33%201.77.63%202.61a2%202%200%200%201-.45%202.11L8.09%209.91a16%2016%200%200%200%206%206l1.47-1.2a2%202%200%200%201%202.11-.45c.84.3%201.71.51%202.61.63A2%202%200%200%201%2022%2016.92z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
		transform: translateY(-50%);
	}

	.whb-top-bar .wd-info-box.jt-header-phone-info .box-icon-wrapper,
	.whb-top-bar .wd-info-box.jt-header-phone-info .info-box-icon {
		display: none !important;
	}

	.whb-top-bar .wd-info-box.jt-header-phone-info .info-box-content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 2px;
		min-width: 0;
	}

	.whb-top-bar .wd-info-box.jt-header-phone-info .info-box-title {
		order: 1;
		margin: 0;
		color: var(--jt-ink) !important;
		font-size: 12px !important;
		font-weight: 850 !important;
		line-height: 1;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.whb-top-bar .wd-info-box.jt-header-phone-info .info-box-subtitle {
		order: 2;
		margin: 0;
		color: var(--jt-ink-faint) !important;
		font-size: 10px !important;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0;
		white-space: nowrap;
	}
}

/* Distilled desktop control hierarchy: search is the dominant pill; utility
 * actions remain compact but never fall below the shared target size. */
@media (min-width: 1025px) {
	.whb-header :is(.searchsubmit, .wd-clear-search),
	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account) > a,
	.whb-header .wd-header-cart > a {
		min-height: var(--jt-header-control, 44px);
	}
}

@media (min-width: 1025px) and (max-width: 1599px) {
	.whb-header .wd-search-form[class*="wd-header-search-form"] {
		width: min(540px, 38vw) !important;
		max-width: min(540px, 38vw) !important;
		flex: 0 1 min(540px, 38vw) !important;
	}

	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account) > a {
		padding-inline: 8px !important;
	}

	.whb-header :is(.wd-header-compare, .wd-header-wishlist, .wd-header-my-account) .wd-tools-text,
	.whb-header .wd-header-cart .wd-tools-text {
		font-size: 11px;
	}

	.whb-header .wd-header-cart .wd-tools-inner {
		gap: 6px;
		padding-inline: 9px;
	}

	.whb-header .wd-header-cart.wd-tools-element,
	.whb-header .wd-header-cart.wd-tools-element > a {
		width: auto !important;
		min-width: max-content !important;
	}

	.whb-header .wd-header-cart.wd-tools-element .wd-tools-text {
		display: inline-flex !important;
	}
}

/* Mobile header search icon parity - 2026-07-06 */
@media (max-width: 1024px) {
	.whb-header .searchform input.s {
		padding-right: 104px !important;
	}

	.whb-header .searchform .searchsubmit,
	.whb-header .wd-search-form form.searchform .searchsubmit {
		position: absolute !important;
		inset: 1px 1px 1px auto !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 44px !important;
		min-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		padding: 0 !important;
		border: 1px solid rgba(147, 190, 32, 0.72) !important;
		border-radius: 999px !important;
		background: #0b100a !important;
		color: var(--jt-accent, #93be20) !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
	}

	.whb-header .searchform .searchsubmit:hover,
	.whb-header .searchform .searchsubmit:focus-visible,
	.whb-header .wd-search-form form.searchform .searchsubmit:hover,
	.whb-header .wd-search-form form.searchform .searchsubmit:focus-visible {
		border-color: var(--jt-accent-hover, #a8d929) !important;
		background: rgba(147, 190, 32, 0.14) !important;
		color: var(--jt-accent-hover, #a8d929) !important;
		box-shadow: var(--jt-focus-ring, 0 0 0 3px rgba(147, 190, 32, 0.18)) !important;
		outline: 0 !important;
	}

	.whb-header .wd-clear-search.wd-hide,
	.wd-search-form .wd-clear-search.wd-hide,
	.searchform .wd-clear-search.wd-hide {
		display: none !important;
	}

	.whb-header .wd-clear-search:not(.wd-hide),
	.wd-search-form .wd-clear-search:not(.wd-hide),
	.searchform .wd-clear-search:not(.wd-hide) {
		position: absolute !important;
		top: 50% !important;
		right: 54px !important;
		z-index: 2;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 44px !important;
		min-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 999px !important;
		background: transparent !important;
		color: rgba(241, 246, 228, 0.72) !important;
		cursor: pointer;
		transform: translateY(-50%) !important;
	}

	.whb-header .wd-clear-search:not(.wd-hide):is(:hover, :focus-visible),
	.wd-search-form .wd-clear-search:not(.wd-hide):is(:hover, :focus-visible),
	.searchform .wd-clear-search:not(.wd-hide):is(:hover, :focus-visible) {
		background: rgba(241, 246, 228, 0.08) !important;
		color: var(--jt-ink, #f1f6e4) !important;
		box-shadow: 0 0 0 2px rgba(241, 246, 228, 0.14) !important;
		outline: 0 !important;
	}

	html body .whb-header .wd-search-form form.searchform > .searchsubmit.searchsubmit {
		inset: 1px 1px 1px auto !important;
		width: 44px !important;
		min-width: 44px !important;
		max-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		max-height: 44px !important;
	}
}
