.top-bar {
    background: #0b2a2a;
    color: #fff;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

.top-bar-menu {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-bar-menu a {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}

.top-bar-menu a:hover {
    opacity: 1;
}

.top-bar .search-field {
    padding: 4px 8px;
}


/* =========================
   Top Bar – Search (scoped)
   ========================= */

.top-bar .search-form {
	display: flex;
	align-items: center;
	height: 32px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	overflow: hidden;
	transition: background 0.2s ease;
}

.top-bar .search-form:focus-within {
	background: rgba(255, 255, 255, 0.14);
}

/* Input */
.top-bar .search-field {
	width: 160px;
	height: 100%;
	padding: 0 12px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 13px;
	outline: none;
}

.top-bar .search-field::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

/* Button */
.top-bar .search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 100%;
	border: none;
	background: transparent;
	color: #fff;
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.2s ease, transform 0.15s ease;
}

.top-bar .search-submit:hover {
	opacity: 1;
	transform: scale(1.05);
}

/* Dashicon sizing */
.top-bar .search-submit .dashicons {
	font-size: 18px;
	line-height: 1;
}


.top-bar .search-field {
	width: 230px;
}

.top-bar .search-form {
	background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
	.top-bar .search-field {
		display: none;
	}
}

/* Ensure dashicon is visible in top bar */
.top-bar .search-submit .dashicons {
	color: #fff;
	opacity: 1;
	font-size: 18px;
	display: inline-block;
}

.top-bar .search-submit {
	opacity: 1;
}

.top-bar .search-submit:hover .dashicons {
	opacity: 1;
}

.top-bar .search-submit {
	color: rgba(255, 255, 255, 0.85);
}

.top-bar .search-submit:hover {
	color: #fff;
}


/* =========================
   Top Bar – Live Search Results
   ========================= */

.top-bar .top-bar-search-results {
	position: fixed;
	top: 40px;
	left: 80px;
	width: fit-content;
	min-width: 320px;
	max-width: 90vw;
	background: #0e3a3a;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.35);
	z-index: 999;
	display: none;
	overflow: hidden;
	padding: .5rem;
}


.top-bar .top-bar-search-results ul {
	list-style: none;
	margin: 0;
	padding: 1rem;
	width: 100%;
}

.top-bar .top-bar-search-results li a {
	display: flex;
	gap: .5rem;
	justify-content: space-between;
}

.top-bar .top-bar-search-results li a:hover {
	background: rgba(255,255,255,0.08);
	color: #fff;
}

.top-bar .top-bar-search-results li a span.title {
	padding-right: 1rem;
}

.top-bar .top-bar-search-results ul li {
	border-bottom: 1px dotted #fff;
	margin: .5rem 0;
}

.top-bar .top-bar-search-results .type {
	font-size: 11px;
	opacity: 0.6;
	text-transform: uppercase;
}

.top-bar .top-bar-search-results .no-results {
	padding: 10px 14px;
	font-size: 13px;
	opacity: 0.7;
}


.top-bar .search-form {
	position: relative;
}

.search-field::-webkit-search-decoration,
.search-field::-webkit-search-cancel-button,
.search-field::-webkit-search-results-button,
.search-field::-webkit-search-results-decoration {
	display: none;
}

.top-bar-search-results a.is-active {
	background: rgba(255,255,255,0.15);
}

.top-bar-search-results mark {
	background: rgba(255,255,255,0.25);
	color: #fff;
	padding: 0 2px;
	border-radius: 3px;
}


.top-bar-menu .connect-wa a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 20px;
	background: #25d366;
	color: #fff !important;
	font-weight: 500;
}

.top-bar-menu .connect-wa a::before {
	content: '';
	width: 18px;
	height: 18px;
	background: currentColor;
	mask: url('/wp-content/themes/tta_gp_child/assets/icons/whatsapp/tta-whatsapp-2.svg') no-repeat center;
	-webkit-mask: url('/wp-content/themes/tta_gp_child/assets/icons/whatsapp/tta-whatsapp-2.svg') no-repeat center;
	mask-size: contain;
	-webkit-mask-size: contain;
}

.search-submit .search-icon {
	width: 18px;
	height: 18px;
	background: currentColor;
	mask: url('/wp-content/themes/tta_gp_child/assets/icons/search/search-01.svg') no-repeat center;
	-webkit-mask: url('/wp-content/themes/tta_gp_child/assets/icons/search/search-01.svg') no-repeat center;
	mask-size: contain;
	-webkit-mask-size: contain;
	display: inline-block;
}

.top-bar .btn-start-here {
	background: var(--tta-sunset);
	color: #fff;
	border: none;
	border-radius: var(--tta-radius);
	padding: 0.2em 1em !important;
	cursor: pointer;
	transition: background var(--tta-transition);
}