/* HEADER PRINCIPALE */
#sup-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #ffffff;
	opacity: 0.8;
	box-sizing: border-box;
	z-index: 2;
	transition: opacity 0.3s ease;
}

#sup-header.scrolled {
	opacity: 1;
}

/* CONTENITORE HEADER */
#header-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	gap: 20px;
}

/* LOGO IMMAGINE */
#logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 300px;
	top: 0px;
	opacity: 1;
	transition: opacity 0.5s ease, width 0.5s ease;
}

/* TESTO CHE SOSTITUISCE IL LOGO */
#logo-text {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.6rem;
	font-weight: 700;
	color: #868686;
	letter-spacing: 1px;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none; /* evita click indesiderati */
}

/* EFFETTO SCROLL */
#sup-header.scrolled #logo {
	opacity: 0;
	width: 100px;
}

#sup-header.scrolled #logo-text {
	opacity: 1;
}

/* MENU */
#boxing-menu {
	flex-grow: 1;
	display: flex;
	align-items: center;
}

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

.menu li a {
	display: block;	
	color: #000000 !important;	
	font-size: 16px;
	text-decoration: none;	
	transition: color 0.3s;
	font-weight: bold !important;
	white-space: nowrap;
	margin-top: 10px;
}

.menu li a:hover {
	color: #132c26 !important;	
}

/* PULSANTI LOGIN / CART */
#auth-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.auth-btn {
	background-color: #3f2f16;
	color: #ffffff !important;
	padding: 8px 14px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
	transition: background-color 0.3s ease;
	border: 0;
}

.auth-btn:hover {
	background-color: #5e441c;
}

.cart-btn {
	position: relative;
	display: inline-block;
}
.cart-btn i {
	font-size: 16px;
}
.cart-count {
	position: absolute;
	top: -6px;
	right: -6px;
	background-color: #000000;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* BOX DROPDOWN */
.box-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: rgb(253, 205, 255);
	padding: 25px 5%;
	border: 1px solid #ccc;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	z-index: 9998;
	text-align: left;
}
