/* =========================
   NSD Single Shortcode Header Row
   Left: hamburger + logo
   Right: account/wishlist/cart
   ========================= */

.nsdW9k2x_root{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	width:100%;
	min-width:0;
}

/* LEFT */
.nsdW9k2x_left{
	display:flex;
	align-items:center;
	gap:10px;
	min-width:0;
}

.nsdW9k2x_hamburger{
	display:flex;
	align-items:center;
}

/* logo */
.nsdW9k2x_logo{
	display:flex;
	align-items:center;
	text-decoration:none;
	min-width:0;
}

.nsdW9k2x_logoImg{
	display:block;
	height:36px;
	width:auto;
	max-width:240px;
	object-fit:contain;
}

/* RIGHT */
.nsdW9k2x_right{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:14px;
}

/* Buttons base (doar în right) */
.nsdW9k2x_right .motta-button{
	display:inline-flex;
	align-items:center;
	gap:10px;
	flex-direction:row !important;
	padding:10px 12px;
	border-radius:999px;
	line-height:1;
	text-decoration:none;
	transition:transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}

.nsdW9k2x_right .motta-button--icon-top{
	flex-direction:row !important;
}

/* Icon sizing */
.nsdW9k2x_right .motta-button__icon{
	display:inline-flex;
	align-items:center;
	justify-content:center;
}

.nsdW9k2x_right .motta-button__icon svg{
	width:22px;
	height:22px;
}

/* Text */
.nsdW9k2x_right .motta-button__text{
	display:inline-flex;
	align-items:center;
	gap:6px;
	font-size:16px;
	letter-spacing:.2px;
	opacity:.92;
}

.nsdW9k2x_right .screen-reader-text{
	position:static !important;
	width:auto !important;
	height:auto !important;
	margin:0 !important;
	overflow:visible !important;
	clip:auto !important;
	clip-path:none !important;
	white-space:nowrap !important;
}

/* Hover */
.nsdW9k2x_right .motta-button:hover{
	transform:translateY(-1px);
	box-shadow:0 10px 24px rgba(0,0,0,.08);
}

/* Counters */
.nsdW9k2x_right .header-cart__counter,
.nsdW9k2x_right .header-wishlist__counter,
.nsdW9k2x_right .cart-counter{
	transform:translateY(-1px);
}

/* Mobile: icons only + logo smaller */
@media (max-width: 991px){
	.nsdW9k2x_root{ gap:12px; }
	.nsdW9k2x_left{ gap:8px; }

	.nsdW9k2x_logoImg{
		max-width:175px !important;
		margin-left: 15px;
	}

	.nsdW9k2x_right{ gap:10px; }

	.nsdW9k2x_right .motta-button{
		padding:10px;
		border-radius:999px;
	}

	.nsdW9k2x_right .motta-button__text{
		display:none;
	}
}

/* Desktop: ascunde hamburger + logo */
@media (min-width: 992px){
	.nsdW9k2x_left{
		display:none !important;
	}
}

/* Mobile: arată hamburger + logo (explicit) */
@media (max-width: 991px){
	.nsdW9k2x_left{
		display:flex !important;
	}
}

/* Desktop layout fix */
@media (min-width: 768px){

	.nsdW9k2x_root{
		justify-content:flex-start; /* anulăm space-between */
	}

	.nsdW9k2x_right{
		margin-left:auto; /* împinge iconurile în dreapta */
	}
}

/* =========================
   NSD Mobile: logo centered + hide account & wishlist
   (keep: hamburger left, cart right)
   ========================= */

@media (max-width: 991px){

	/* root becomes anchor for absolute-centered logo */
	.nsdW9k2x_root{
		position:relative;
		justify-content:space-between; /* keep left/right pinned */
	}

	/* keep sides as natural width */
	.nsdW9k2x_left,
	.nsdW9k2x_right{
		flex:0 0 auto;
		min-width:0;
	}

	/* kill the previous desktop fix pushing right via margin-left:auto */
	.nsdW9k2x_right{
		margin-left:0 !important;
	}

	/* center the logo independently of the left group */
	.nsdW9k2x_logo{
		position:absolute;
		left:50%;
		top:50%;
		transform:translate(-50%, -50%);
		z-index:5;
		max-width:60vw;
	}

	/* remove your manual offset on mobile */
	.nsdW9k2x_logoImg{
		margin-left:0 !important;
	}

	/* hide account + wishlist on mobile (multiple Motta selectors for safety) */
	.nsdW9k2x_right .header-account,
	.nsdW9k2x_right .header-wishlist,
	.nsdW9k2x_right .motta-header-account,
	.nsdW9k2x_right .motta-header-wishlist,
	.nsdW9k2x_right .motta-button--account,
	.nsdW9k2x_right .motta-button--wishlist,
	.nsdW9k2x_right a[href*="my-account"],
	.nsdW9k2x_right a[href*="wishlist"]{
		display:none !important;
	}
}

/* =========================
   NSD Hamburger size
   ========================= */

.nsdW9k2x_hamburger svg{
	width:26px;
	height:26px;
}

/* Mobile mai mare pentru touch */
@media (max-width:991px){
	.nsdW9k2x_hamburger svg{
		width:30px;
		height:30px;
	}
}