/* FitNextt account panel — isolated from Bootstrap dropdown theme rules */

.top-bar,
.top-bar .container,
.top-bar .shop-header-top-inner,
.top-bar .shop-topbar-profile-slot {
	overflow: visible !important;
}

.top-bar .shop-topbar-profile-slot {
	display: block !important;
	float: right !important;
	margin: 0;
	min-height: 42px;
	padding: 2px 0 0;
	position: relative;
	visibility: visible !important;
	z-index: 120;
}

.fitnextt-topbar-auth {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 2px;
}

.fitnextt-topbar-login-btn,
.fitnextt-topbar-google-btn {
	align-items: center;
	background: #fff;
	border-radius: 8px;
	box-sizing: border-box;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	line-height: 1;
	padding: 8px 14px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.fitnextt-topbar-login-btn {
	border: 1px solid #00b29c;
	color: #00b29c;
}

.fitnextt-topbar-login-btn:hover,
.fitnextt-topbar-login-btn:focus {
	background: #00b29c;
	border-color: #00b29c;
	color: #fff;
	outline: none;
	text-decoration: none;
}

.fitnextt-topbar-google-btn {
	border: 1px solid #dadce0;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
	color: #3c4043;
}

.fitnextt-topbar-google-btn img {
	flex-shrink: 0;
}

.fitnextt-topbar-google-btn:hover,
.fitnextt-topbar-google-btn:focus {
	background: #f8f9fa;
	border-color: #d2e3fc;
	box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
	color: #3c4043;
	outline: none;
	text-decoration: none;
}

@media (max-width: 767px) {
	.fitnextt-topbar-google-btn span {
		display: none;
	}

	.fitnextt-topbar-google-btn {
		padding: 8px 10px;
	}
}

.fitnextt-profile {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	z-index: 120;
}

body.cart-panel-is-open .top-bar .shop-topbar-profile-slot,
body.cart-panel-is-open .fitnextt-profile,
body.cart-panel-is-open .fitnextt-profile__panel {
	z-index: 1 !important;
	pointer-events: none !important;
}

.fitnextt-profile__trigger {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	display: inline-flex;
	line-height: 0;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

.fitnextt-profile__trigger:focus {
	outline: none;
}

.fitnextt-profile__trigger:focus-visible .fitnextt-profile__avatar {
	box-shadow: 0 0 0 3px rgba(0, 178, 156, 0.35);
}

.fitnextt-profile__avatar {
	align-items: center;
	background: linear-gradient(145deg, #00c4ad 0%, #00a088 100%);
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 178, 156, 0.35);
	color: #fff;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	width: 40px;
}

.fitnextt-profile__trigger:hover .fitnextt-profile__avatar,
.fitnextt-profile.is-open .fitnextt-profile__avatar {
	box-shadow: 0 6px 18px rgba(0, 178, 156, 0.45);
	transform: translateY(-1px);
}

.fitnextt-profile__panel {
	background: #fff;
	border: 1px solid rgba(0, 178, 156, 0.14);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(0, 178, 156, 0.08);
	box-sizing: border-box;
	display: none;
	left: auto;
	margin: 10px 0 0;
	min-width: 270px;
	opacity: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	right: 0;
	top: 100%;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	z-index: 2000;
}

.fitnextt-profile.is-open > .fitnextt-profile__panel {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.fitnextt-profile__head {
	align-items: center;
	background: linear-gradient(135deg, #00b29c 0%, #008f7d 100%);
	color: #fff;
	display: flex;
	gap: 12px;
	padding: 16px 18px;
}

.fitnextt-profile__head-avatar {
	align-items: center;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.fitnextt-profile__head-text {
	min-width: 0;
}

.fitnextt-profile__name {
	color: #fff;
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fitnextt-profile__email {
	color: rgba(255, 255, 255, 0.88);
	display: block;
	font-size: 12px;
	line-height: 1.35;
	margin-top: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fitnextt-profile__list {
	list-style: none;
	margin: 0;
	padding: 8px;
}

.fitnextt-profile__list > li {
	border: none !important;
	display: block !important;
	float: none !important;
	line-height: normal !important;
	list-style: none;
	margin: 0;
	padding: 0 !important;
}

.fitnextt-profile__link {
	align-items: center;
	border-radius: 10px;
	color: #24312e;
	display: flex;
	font-size: 14px;
	font-weight: 500;
	gap: 12px;
	line-height: 1.3;
	padding: 11px 12px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.fitnextt-profile__link .fitnextt-profile-icon--menu {
	color: #00b29c;
	flex-shrink: 0;
	opacity: 0.95;
}

.fitnextt-profile__link span {
	flex: 1;
	min-width: 0;
}

.fitnextt-profile__link:hover,
.fitnextt-profile__link:focus {
	background: #f0faf8;
	color: #00836f;
	outline: none;
	text-decoration: none;
}

.fitnextt-profile__footer {
	border-top: 1px solid #edf2f0;
	padding: 10px 12px 12px;
}

.fitnextt-profile__logout {
	align-items: center;
	background: #fff5f5;
	border: 1px solid #f5d0d0;
	border-radius: 10px;
	color: #c0392b;
	display: flex;
	font-size: 14px;
	font-weight: 600;
	justify-content: center;
	padding: 10px 14px;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.fitnextt-profile__logout:hover,
.fitnextt-profile__logout:focus {
	background: #ffecec;
	border-color: #efb8b8;
	color: #a93226;
	text-decoration: none;
}

.fitnextt-profile-icon {
	display: block;
}
