/**
 * Zotta Forest — mobile header + bottom FAB.
 * Theme core stays untouched. Desktop unchanged.
 */

@media (max-width: 767px) {
	/* ---- Campaign bar (nera): una riga, niente frecce, niente wrap ---- */
	.campaign-bar {
		height: 36px;
		min-height: 36px;
		max-height: 36px;
		line-height: 36px;
		overflow: hidden;
	}

	.campaign-bar-type--slides .campaign-bar__container {
		width: calc(100% - 36px);
		max-width: none;
	}

	.campaign-bar-type--slides .campaign-bar__text,
	.campaign-bar-type--slides .campaign-bar__text:first-letter {
		text-transform: none;
	}

	.campaign-bar-type--slides .campaign-bar__text {
		padding-left: 8px;
		padding-right: 8px;
		font-size: 12px;
		line-height: 36px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.campaign-bar .swiper-button-prev,
	.campaign-bar .swiper-button-next {
		display: none !important;
	}

	.campaign-bar__close {
		padding-left: 10px;
		padding-right: 10px;
	}

	/* ---- Topbar verde: altezza bloccata, slide a una riga ---- */
	.topbar.topbar-mobile {
		height: 38px;
		min-height: 38px;
		max-height: 38px;
		overflow: hidden;
	}

	.topbar-mobile .topbar-container,
	.topbar-mobile .topbar-items,
	.topbar-mobile .topbar-slides,
	.topbar-mobile .topbar-slides__inner,
	.topbar-mobile .swiper {
		height: 38px;
		min-height: 38px;
		max-height: 38px;
	}

	.topbar-mobile .topbar-slides {
		padding: 0 12px;
		max-width: 100%;
	}

	.topbar-mobile .topbar-slides .navigation-merged,
	.topbar-mobile .topbar-slides .swiper-button-prev,
	.topbar-mobile .topbar-slides .swiper-button-next {
		display: none !important;
	}

	.topbar-mobile .topbar-slides__item {
		white-space: nowrap !important;
		overflow: hidden;
		text-overflow: ellipsis;
		height: 38px !important;
		line-height: 38px !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		font-size: 12.5px;
	}

	/* Contatti: nasconde pipe/emoji, tiene 3 tap target compatti */
	.topbar-mobile .topbar-slides__item:has(a[href^="tel"]) {
		font-size: 0;
		display: flex !important;
		justify-content: center;
		align-items: center;
		gap: 18px;
		letter-spacing: 0;
	}

	.topbar-mobile .topbar-slides__item:has(a[href^="tel"]) a {
		font-size: 12px;
		font-weight: 600;
		line-height: 1;
		display: inline-flex;
		align-items: center;
		padding: 0;
		white-space: nowrap;
	}

	.topbar-mobile .topbar-slides__item:has(a[href^="tel"]) a[href^="mailto"] {
		font-size: 0;
	}

	.topbar-mobile .topbar-slides__item:has(a[href^="tel"]) a[href^="mailto"]::before {
		content: "Email";
		font-size: 12px;
		font-weight: 600;
	}
}

/* ---- WhatsApp sopra la barra mobile, carrello libero ---- */
@media (max-width: 1024px) {
	body.mobile-has-navigation-bar .joinchat {
		--sep: 14px;
		--s: 48px;
		--bottom: calc(var(--gz-navigation-bar-height, 65px) + 10px);
	}

	body.mobile-has-navigation-bar.glozin-atc-sticky-height-open .joinchat {
		--bottom: calc(var(--gz-navigation-bar-height, 65px) + var(--gz-atc-sticky-height, 0px) + 10px);
	}

	body.mobile-has-navigation-bar .joinchat__tooltip {
		display: none !important;
	}

	body.mobile-has-navigation-bar .gz-button-go-top {
		display: none !important;
	}
}
