/* Navigazione + sticky CTA verso il configuratore */

/* Voce menu "Configura ordine" come bottone */
.wd-nav .menu-item-60 > a,
.wd-nav-mobile .menu-item-60 > a,
.wd-header .menu-item-60 > a {
	background: linear-gradient(180deg, #ff9a3c 0%, #f07818 55%, #e5670a 100%) !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 10px 18px !important;
	font-weight: 800 !important;
	box-shadow: 0 6px 18px rgba(240, 120, 24, 0.35);
}

.wd-nav .menu-item-60 > a:hover,
.wd-nav-mobile .menu-item-60 > a:hover,
.wd-header .menu-item-60 > a:hover {
	color: #fff !important;
	filter: brightness(1.05);
}

/* Sticky bar */
.msk-sticky-order {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: max(12px, env(safe-area-inset-bottom));
	z-index: 100040;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	width: min(720px, calc(100% - 24px));
	padding: 12px 14px;
	border-radius: 16px;
	background: #1c2612;
	color: #fff;
	box-shadow: 0 12px 36px rgba(28, 38, 18, 0.35);
}

.msk-sticky-order__text {
	margin: 0;
	flex: 1 1 200px;
	min-width: 0;
	line-height: 1.35;
}

.msk-sticky-order__text strong {
	display: block;
	font-size: 0.98rem;
	font-weight: 800;
}

.msk-sticky-order__text span {
	display: block;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.82);
	margin-top: 2px;
}

.msk-sticky-order__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff9a3c 0%, #f07818 55%, #e5670a 100%);
	color: #fff !important;
	font-weight: 800;
	font-size: 0.95rem;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(240, 120, 24, 0.4);
	white-space: nowrap;
}

.msk-sticky-order__btn:hover {
	filter: brightness(1.06);
	color: #fff !important;
}

body.msk-configurator-page .msk-sticky-order,
body.woocommerce-cart .msk-sticky-order,
body.woocommerce-checkout .msk-sticky-order {
	display: none !important;
}

/* Spazio in basso così la barra non copre il footer */
body:not(.msk-configurator-page):not(.woocommerce-cart):not(.woocommerce-checkout) {
	padding-bottom: 96px;
}

@media (max-width: 600px) {
	.msk-sticky-order {
		bottom: max(8px, env(safe-area-inset-bottom));
		padding: 12px;
	}

	.msk-sticky-order__btn {
		width: 100%;
	}
}
