.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'ContrafaceText-Bold', sans-serif;
	height:90px;
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	text-transform: uppercase;
}

.nav-left {
	background: #ed720f;
	display: flex;
	align-items: center;
	padding: 10px 20px;
	flex: 1;
	height:100%;
}

.nav-right {
	background: #2d2d2d;
	color: white;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 10px 20px;
	height:100%;
}

.logo {
	height:57px !important;
	margin-right: 30px;
}

.menu ul {
	list-style: none;
	display: flex;
	gap: 25px;
	margin: 0;
	padding: 0;
}

.menu a {
	color: white;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.6em;
}

.sucursal-nombre {
	font-family: 'ContrafaceDisplayTitling';
	font-size:1.2em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background:url(../img/icon-location.png) no-repeat 10px center;
	line-height:20px;
	padding: 10px 20px;
	padding-left: 50px;
	margin-right: 40px;
	background-color: #2d2d2d;
	max-width: 200px;
	height: 60px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: all ease 0.3s;
	display: flex;
	align-items: center;

}
.sucursal-nombre:hover{
	background-color: #222;
	border-radius: 20px;
}

.search-form {
	border: none;
	border-radius: 20px;
	font-family: 'ContrafaceText', sans-serif;
	font-size: 1.4em;
	color: #666;
	background: #fff url(../img/icon-lupa.png) no-repeat right 8px center;
	background-size: 22px 22px;
	padding-right: 40px;
	width:300px;
}

/* Dropdown styles */
.menu .dropdown {
	position: relative;
}

.menu .dropdown-toggle {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap:5px;
}

.menu .dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #ed720f; /* naranja */
	min-width: 220px;
	border-radius: 0 0 10px 10px;
	padding: 5px 0;
	z-index: 1001;
}

.menu .dropdown-menu li {
	padding: 0 5px;
}

.menu .dropdown-menu a {
	font-family: 'ContrafaceText', sans-serif;
	text-transform: uppercase;
	display: block;
	padding: 10px 20px;
	color: #fff;
	font-size: 1.2em;
	white-space: nowrap;
	transition: all ease 0.3s;
	border-radius: 10px;
}

.menu .dropdown-menu a:hover {
	background: #2d2d2d; /* gris */
	color: #fff;
}

/* Show dropdown on hover */
.menu .dropdown:hover .dropdown-menu,
.menu .dropdown:focus-within .dropdown-menu {
	display: block;
}

.hamburger {
	display: none;
}

/* Responsive: Hamburger menu for mobile */
@media (max-width: 768px) {
	.nav {
		flex-direction: column;
		height: auto;
		padding: 0;
	}
	.nav-left, .nav-right {
		width: 100%;
		padding: 10px;
		justify-content: space-between;
		position: relative;
	}
	.menu {
		display: none;
		flex-direction: column;
		background: #2d2d2d;
		position: absolute;
		top: 90px;
		left: 0;
		width: 100%;
		z-index: 1002;
	}
	.menu.open {
		display: flex;
	}
	.menu ul {
		flex-direction: column;
		gap: 0;
	}
	.menu a, .menu .dropdown-menu a {
		font-size: 1.2em;
		padding: 15px 20px;
		border-radius: 0;
		display:block;
	}
	.menu .dropdown-menu {
		position: static;
		background: #ed720f;
		border-radius: 0;
		box-shadow: none;
		min-width: 0;
	}
	.menu .dropdown:hover .dropdown-menu,
	.menu .dropdown:focus-within .dropdown-menu {
		display: none;
	}
	.menu .dropdown.open .dropdown-menu {
		display: block;
	}
	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		cursor: pointer;
		width: 40px;
		height: 40px;
		margin-left: auto;
		position: relative;
		z-index: 1100;
	}
	.hamburger span {
		height: 4px;
		width: 100%;
		background: #fff;
		margin: 4px 0;
		border-radius: 2px;
		transition: 0.3s;
		display: block;
		position: relative;
	}
	.hamburger.active span:nth-child(1) {
		transform: translateY(12px) rotate(45deg);
	}
	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}
	.hamburger.active span:nth-child(3) {
		transform: translateY(-12px) rotate(-45deg);
	}

	.menu .dropdown-menu {
		display: block !important;
		position: static;
		background: #3d3d3d;
		border-radius: 0;
		box-shadow: none;
		min-width: 0;
	}
	.menu .dropdown {
		position: static;
	}
	.menu .dropdown-toggle {
		pointer-events: none;
	}

	.menu .dropdown-toggle i {
		display: none;
	}

	.search-form {
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		width: 40px;
		transition: width 0.3s, color 0.3s, background-color 0.3s;
		background-color:transparent;
	}
	.search-form::placeholder {
		color: transparent;
	}

	.search-form:focus,
	.search-form:not(:placeholder-shown) {
		width: calc(100% - 40px);
		color: #666;
		background-color: #fff;
		padding-right: 40px;
		cursor: text;
	}
	.search-form:focus::placeholder,
	.search-form:not(:placeholder-shown)::placeholder {
		color: #666;
	}
}