.cco-desktop-bar {
	display: none;
}

@media (min-width: 1024px) {
	.cco-desktop-bar {
		position: sticky;
		top: 0;
		z-index: 90;
		display: block;
		background: #fff;
		border-bottom: 1px solid #b8d8da;
		box-shadow: 0 2px 4px #03343c19;
		color: #005662;
		font: 700 14px/1.2 system-ui, sans-serif;
	}

	body.admin-bar:has(#wpadminbar):not(:has(.cco)) .cco-desktop-bar {
		top: var(--wp-admin--admin-bar--height, 32px);
	}

	.cco-desktop-bar + .wp-site-blocks {
		margin-block-start: 0;
	}

	.cco-desktop-bar__row {
		box-sizing: border-box;
		max-width: 1240px;
		margin-inline: auto;
		padding-inline: clamp(16px, 4vw, 50px);
		display: flex;
		align-items: center;
		gap: 14px;
		min-height: 39px;
	}

	.cco-desktop-bar__row > :is(a, button, span),
	.cco-desktop-bar summary {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		min-height: 38px;
		min-width: 32px;
		padding: 0;
		color: inherit;
		background: transparent;
		border: 0;
		font: inherit;
		text-decoration: none;
		white-space: nowrap;
	}

	.cco-desktop-bar :is(a, button, summary) {
		cursor: pointer;
	}

	.cco-desktop-bar :is(a, button, summary):focus-visible {
		outline: 2px solid #007681;
		outline-offset: 1px;
	}

	.cco-desktop-bar :is(a, button, summary):hover {
		color: #00343c;
		text-decoration: underline;
	}

	.cco-desktop-bar__row > span {
		color: #647d82;
	}

	.cco-desktop-bar svg {
		width: 17px;
		height: 17px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.7;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.cco-desktop-bar__search {
		position: relative;
		margin-inline-start: auto;
	}

	.cco-desktop-bar summary::-webkit-details-marker {
		display: none;
	}

	.cco-desktop-bar form {
		position: absolute;
		inset: calc(100% + 1px) 0 auto auto;
		display: flex;
		gap: 6px;
		padding: 8px;
		background: #fff;
		border: 1px solid #b8d8da;
		border-radius: 0 0 6px 6px;
	}

	.cco-desktop-bar form input {
		width: 225px;
		min-height: 36px;
		padding-inline: 8px;
		font: 400 14px system-ui, sans-serif;
	}

	.cco-desktop-bar form button {
		padding-inline: 12px;
		border: 0;
		border-radius: 4px;
		background: #005662;
		color: #fff;
		font: inherit;
	}

	.cco-desktop-bar form button:hover {
		background: #00343c;
		color: #fff;
	}
}
