/* Menu mobile — base */
.g2-mobile {
	display: none;
}

@media (max-width: 1023px) {
	.g2-mobile {
		position: fixed;
		inset: 0;
		z-index: 400;
		flex-direction: column;
		height: 100vh;
		height: 100dvh;
		background-color: var(--g2-bg);
		color: #423831;
	}

	.g2-mobile.is-open {
		display: flex;
	}

	.g2-mobile__top {
		position: relative;
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 18px 24px;
	}

	.g2-mobile__logo img {
		display: block;
		width: 108px;
		height: 52px;
	}

	.g2-mobile__close {
		position: absolute;
		top: 18px;
		right: 18px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		background: none;
		color: #423831;
		cursor: pointer;
	}

	.g2-mobile__content {
		flex: 1 1 auto;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 16px 24px 24px;
	}

	.g2-mobile__item {
		border-bottom: 0;
	}

	.g2-mobile__toggle,
	.g2-mobile__direct {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 14px 0;
		border: 0;
		background: none;
		color: #423831;
		font: 400 18px/30px "Lato", sans-serif;
		text-align: left;
		text-decoration: none;
		cursor: pointer;
	}

	.g2-mobile__chev {
		width: 9px;
		height: 9px;
		margin-right: 4px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.2s ease;
	}

	.g2-mobile__toggle[aria-expanded="true"] .g2-mobile__chev {
		transform: rotate(-135deg);
	}

	.g2-mobile__sub {
		padding: 0 0 12px 24px;
	}

	.g2-mobile__sub[hidden] {
		display: none;
	}

	.g2-mobile__sub a {
		display: block;
		padding: 6px 0;
		color: #423831;
		font: 400 16px/26px "Lato", sans-serif;
		text-decoration: none;
	}

	.g2-mobile__heading {
		display: block;
		padding: 10px 0 4px;
		color: #605146;
		font: 700 14px/24px "Lato", sans-serif;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.g2-mobile__bottom {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 24px;
		padding: 16px 24px 24px;
		border-top: 1px solid #b9aa9c;
	}

	.g2-mobile__icon {
		display: block;
		width: 26px;
		height: 26px;
		padding: 0;
		border: 0;
		background-color: #423831;
		cursor: pointer;
	}

	.g2-mobile__user {
		-webkit-mask: url('/wp-content/uploads/2026/10/grattoni-icon-user.svg') center / 26px 26px no-repeat;
		mask: url('/wp-content/uploads/2026/10/grattoni-icon-user.svg') center / 26px 26px no-repeat;
	}

	.g2-mobile__search {
		-webkit-mask: url('/wp-content/uploads/2026/10/grattoni-icon-search.svg') center / 26px 26px no-repeat;
		mask: url('/wp-content/uploads/2026/10/grattoni-icon-search.svg') center / 26px 26px no-repeat;
	}

	.g2-mobile__bag {
		-webkit-mask: url('/wp-content/uploads/2026/10/grattoni-icon-bag.svg') center / 26px 26px no-repeat;
		mask: url('/wp-content/uploads/2026/10/grattoni-icon-bag.svg') center / 26px 26px no-repeat;
	}
}
