/**
 * CLUBUZ Core Header Styles
 * Version: 1.5.0
 */

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

.clubuz-main-header,
.clubuz-main-header * {
	box-sizing: border-box;
}

.clubuz-main-header {
	position: relative;
	z-index: 9999;
	width: 100%;
	max-width: 100%;
	margin: 0;
	background: #ffffff;
	border-bottom: 1px solid #e8ecf2;
	box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
	font-family: inherit;
}

.clubuz-header-container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 14px 24px;
}

.clubuz-header-mobile-top {
	display: none;
}

.clubuz-header-row {
	display: grid;
	grid-template-columns: auto minmax(560px, 720px) auto auto auto;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	min-width: 0;
}

.clubuz-header-logo {
	display: inline-flex;
	align-items: center;
	color: #2874f0;
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.4px;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
	white-space: nowrap;
}

.clubuz-header-logo:hover,
.clubuz-header-logo:focus,
.clubuz-header-logo:visited {
	color: #175ac6;
	text-decoration: none !important;
}

.clubuz-header-search {
	width: 100%;
	min-width: 0;
}

.clubuz-header-search-form {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	height: 50px;
	background: #ffffff;
	border: 1px solid #cfd7e3;
	border-radius: 13px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clubuz-header-search-form:focus-within {
	border-color: #2874f0;
	box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.12);
}

.clubuz-search-icon {
	flex: 0 0 auto;
	margin-left: 14px;
	color: #687386;
	font-size: 22px;
	line-height: 1;
	transform: rotate(-20deg);
}

.clubuz-header-search-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 48px;
	margin: 0 !important;
	padding: 0 14px 0 11px !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #182230;
	font-size: 15px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.clubuz-header-search-input::placeholder {
	color: #7c8696;
	opacity: 1;
}

.clubuz-header-search-submit {
	display: none !important;
}

.clubuz-location-button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 48px;
	padding: 6px 10px;
	border: 1px solid transparent;
	border-radius: 11px;
	background: transparent;
	color: #182230;
	cursor: pointer;
	white-space: nowrap;
}

.clubuz-location-button:hover,
.clubuz-location-button:focus {
	background: #f5f8ff;
	border-color: #dce5f2;
}

.clubuz-location-icon {
	color: #2874f0;
	font-size: 19px;
	line-height: 1;
}

.clubuz-location-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	line-height: 1.15;
}

.clubuz-location-label {
	max-width: 120px;
	overflow: hidden;
	color: #182230;
	font-size: 14px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.clubuz-location-subtitle {
	max-width: 120px;
	overflow: hidden;
	margin-top: 3px;
	color: #7c8696;
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.clubuz-location-chevron {
	color: #697386;
	font-size: 13px;
}

.clubuz-header-business-link,
.clubuz-header-account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 13px;
	border: 0 !important;
	border-radius: 10px;
	box-shadow: none !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}

.clubuz-header-business-link {
	background: #edf4ff;
	color: #2874f0;
}

.clubuz-header-account-link {
	color: #182230;
	background: transparent;
}

@media (max-width: 1250px) {
	.clubuz-header-row {
		grid-template-columns: auto minmax(420px, 1fr) auto auto;
		justify-content: stretch;
		gap: 12px;
	}

	.clubuz-header-business-link {
		display: none;
	}
}

@media (max-width: 767px) {
	.clubuz-header-container {
		max-width: none;
		padding: 14px 12px;
	}

	.clubuz-header-mobile-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		margin-bottom: 14px;
	}

	.clubuz-header-row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 88px;
		align-items: center;
		justify-content: stretch;
		gap: 8px;
		width: 100%;
	}

	.clubuz-header-logo-desktop,
	.clubuz-header-account-desktop,
	.clubuz-header-business-link {
		display: none;
	}

	.clubuz-header-logo {
		font-size: 24px;
	}

	.clubuz-header-mobile-top .clubuz-header-account-link {
		min-height: 34px;
		padding: 0 4px;
		font-size: 14px;
	}

	.clubuz-header-search-form {
		height: 48px;
		border-radius: 13px;
	}

	.clubuz-header-search-input {
		height: 46px;
		padding-right: 7px !important;
		padding-left: 7px !important;
		font-size: 14px;
	}

	.clubuz-search-icon {
		margin-left: 10px;
		font-size: 20px;
	}

	.clubuz-location-button {
		width: 88px;
		min-width: 88px;
		max-width: 88px;
		min-height: 48px;
		justify-content: center;
		padding: 5px 4px;
		gap: 3px;
		border-color: #dce4ef;
		background: #ffffff;
	}

	.clubuz-location-content {
		max-width: 54px;
	}

	.clubuz-location-label {
		max-width: 54px;
		font-size: 12px;
	}

	.clubuz-location-subtitle,
	.clubuz-location-chevron {
		display: none;
	}

	.clubuz-location-icon {
		font-size: 15px;
	}
}

@media (max-width: 380px) {
	.clubuz-header-container {
		padding-right: 8px;
		padding-left: 8px;
	}

	.clubuz-header-row {
		grid-template-columns: minmax(0, 1fr) 82px;
		gap: 6px;
	}

	.clubuz-location-button {
		width: 82px;
		min-width: 82px;
		max-width: 82px;
	}

	.clubuz-location-content,
	.clubuz-location-label {
		max-width: 49px;
	}

	.clubuz-header-search-input {
		font-size: 13px;
	}
}
