/* --- Container --- */
.navbar-container {
	background-color: var(--bg-nav);
	position: sticky;
	top: 0;
	z-index: 10000;
	box-shadow: 0 0 54px rgba(0, 0, 0, 0.8);
}
.navbar {
	display: flex;
	margin: 0 auto;
	padding: 1rem 1rem;
	justify-content: space-between;
}

/* --- Left --- */
.navbar-left {
	display: flex;
	gap: 2rem;
}
.navbar-logo {
	display: flex;
	place-items: center;
	flex-direction: row;
	gap: 0.6rem;
}
.navbar-logo img {
	width: 2.6rem;
	aspect-ratio: 1/1;
}
.navbar-logo span {
	font-size: 1.8rem;
	letter-spacing: 2px;
	font-weight: 900;
	color: white;
}

/* --- Links --- */
.navbar-links {
	display: flex;
	place-items: center;
	gap: 0.6rem;
}
.navbar-links a {
	color: white;
	font-size: 0.8rem;
	font-weight: 500;
}
.navbar-links .link {
	display: none;
	background-color: #353539;
	padding: 0 0.8rem;
	height: 32px;
	place-items: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	gap: 0.4rem;
	background-color: unset;
	border: 1px solid var(--line);
}
.navbar-links .link:hover {
	background: var(--bg-secondary);
}
.navbar-links .link.active {
	background: var(--bg-secondary);
}

/* --- Right --- */
.navbar-right {
	display: flex;
	place-items: center;
	gap: 0.6rem;
}
.navbar-right button,
.navbar-links .link,
.navbar-right select {
	color: white;
	height: fit-content;
	place-self: center;
	border-radius: 10px;
	font-size: 0.8rem;
	font-weight: 500;
	cursor: pointer;
}
.navbar-right .action,
.navbar-links .link {
	display: none;
	position: relative;
	background-color: #353539;
	padding: 0 0.8rem;
	height: 32px;
	min-width: 75px;
	place-items: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	gap: 0.4rem;
	background-color: unset;
	border: 1px solid var(--line);
	justify-content: center;
}
.navbar-right .action.small {
	min-width: unset;
}
.navbar-right .action:hover {
	background: var(--bg-secondary);
}
.navbar-right .action.active {
	background: var(--bg-secondary);
}
.action.light i {
	font-size: 0.7rem;
}

/* --- Primary Button --- */
#primary {
	background-color: var(--primary-color);
	color: black;
}

/* --- Burger --- */
.burger {
	background-color: unset;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	width: 32px;
	aspect-ratio: 1/1;
	height: fit-content;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	box-sizing: content-box;
}
.burger span {
	display: block;
	width: 100%;
	height: 4px;
	background: white;
	border-radius: 2px;
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
}
.burger span.open:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}
.burger span.open:nth-child(2) {
	opacity: 0;
}
.burger span.open:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* --- User Dropdown --- */
.user {
	position: relative;
	display: inline-block;
}
.user button {
	max-width: 150px;
}
.user button span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.dropdown-menu {
	position: absolute;
	display: none;
	flex-direction: column;
	right: 0;
	margin-top: 6px;
	background: var(--bg-secondary);
	border: 1px solid var(--line);
	color: white;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	min-width: 5rem;
	width: 7rem;
	list-style: none;
	overflow: hidden;
	padding: 0;
	z-index: 10;
}
.dropdown-menu li {
	display: flex;
	flex-direction: row;
	place-items: center;
	gap: 0rem;
	padding: 0.6rem 0.8rem;
	font-size: 0.8rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
.dropdown-menu li i {
	font-size: 0;
	transition: all 0.2s ease;
}
.dropdown-menu li:hover {
	gap: 0.4rem;
}
.dropdown-menu li:hover i {
	font-size: 0.7rem;
}
.sign-out:hover {
	color: #d9534f;
}
.burger-menu {
	display: flex;
	flex-direction: column;
	padding: 0rem 1rem;
	margin: 0 auto;
	overflow: hidden;
}
.burger-user {
	display: flex;
	flex-direction: column;
	padding: 0.8rem;
}
.burger-user-top {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.burger-user-icon {
	color: white;
	height: 40px;
	aspect-ratio: 1/1;
	background-color: var(--bg-secondary);
	border-radius: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--line);
}
.burger-user-icon i {
	font-size: 0.8rem;
}
.burger-user-name {
	display: flex;
	height: 40px;
	place-items: center;
	justify-content: center;
	background-color: var(--bg-secondary);
	padding: 0 1rem;
	border-radius: 6px;
	flex-grow: 1;
	font-size: 1rem;
	font-weight: bold;
	color: white;
	min-width: 0;
	border: 1px solid var(--line);
}
.burger-user-name span {
	display: block;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	max-width: 100%;
	width: 100%;
}
.burger-user-out {
	color: white;
	height: 40px;
	aspect-ratio: 1/1;
	background-color: #d9534f;
	border-radius: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.burger-menu-links {
	display: flex;
	flex-direction: column;
}
.burger-menu-links h4 {
	display: flex;
	align-items: center;
	font-size: 1.2rem;
	padding: 0.8rem;
	color: white;
	font-weight: 900;
}
.burger-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1rem;
	padding: 0.8rem;
	border-radius: 6px;
	font-weight: bold;
}
.burger-link i {
	font-size: 0.8rem;
	color: var(--font-secondary);
}
.burger-link:hover {
	background-color: var(--bg-secondary);
}
.burger-user-bottom {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.burger-user-bottom button {
	flex-grow: 1;
	background-color: var(--bg-secondary);
	border: 1px solid var(--line);
	border-radius: 6px;
	height: 50px;
	font-weight: bold;
	cursor: pointer;
}
.burger-user-bottom button:hover {
	background-color: var(--line);
}
.notification-dropdown {
	position: relative;
	display: inline-block;
}
.notification-dropdown-menu {
	min-width: 220px;
	position: absolute;
	display: flex;
	flex-direction: column;
	right: 0;
	margin-top: 6px;
	background: var(--bg-secondary);
	border: 1px solid var(--line);
	color: white;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	width: 100%;
	list-style: none;
	overflow: hidden;
	padding: 0;
	z-index: 10;
}
.notification-dropdown-menu li {
	display: flex;
	flex-direction: row;
	place-items: center;
	gap: 0rem;
	padding: 0.6rem 0.8rem;
	font-size: 0.8rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
.notification-dropdown-menu li.empty {
	justify-content: center;
	padding: 1.4rem 0.8rem;
	cursor: unset;
}
.notif-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	background-color: red;
	color: white;
	border-radius: 50%;
	width: 6px;
	height: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: bold;
}
.cart-badge {
	background-color: red;
	color: white;
	border-radius: 50%;
	width: 13px;
	height: 13px;
	font-size: 0.6rem;
	font-weight: bold;
	position: absolute;
	top: 3px;
	right: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#sign-up {
	display: none;
}
.currency {
	position: relative;
	display: inline-block;
}
.currency .dropdown-menu {
	min-width: unset;
  	width: 73px;
}
.currency .action {
	display: flex;
}
.currency .dropdown-menu {
	display: flex;
}
/* --- Responsive --- */
@media (min-width: 568px) {
	.navbar {
		width: 90%;
		padding: 1rem 0;
	}
	.burger-user-bottom {
		flex-direction: row;
	}
}
@media (min-width: 768px) {
	
}
@media (min-width: 992px) {
	.navbar-right .action,
	.navbar-links .link {
		display: flex;
	}
	.burger {
		display: none;
	}
	.burger-menu,
	.burger-menu.active {
		display: none !important;
	}
	#sign-up {
		display: flex;
	}
	.dropdown-menu {
		display: flex;
	}
}
@media (min-width: 1600px) {
	.navbar {
		width: 80%;
	}
}
