.arosta-mm {
	display: none;
}

.arosta-mm__backdrop[hidden],
.arosta-mm__sheet[hidden] {
	display: none;
}

@media (max-width: 860px) {
	body.arosta-mm-active {
		padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
	}

	html.arosta-mm-ready .arosta-mm {
		display: block;
	}

	body.arosta-mm-sheet-open .arosta-cw,
	body.arosta-mm-sheet-open .ar-contacts-fab {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	html.arosta-mm-ready body.arosta-mm-keep-theme {
		padding-bottom: calc(8.15rem + env(safe-area-inset-bottom, 0px));
	}

	html.arosta-mm-ready body.arosta-mm-keep-theme .arosta-mm__bar {
		bottom: calc(3.9rem + env(safe-area-inset-bottom, 0px));
	}

	html.arosta-mm-ready body.arosta-mm-keep-theme .arosta-mm__sheet {
		bottom: calc(8.15rem + env(safe-area-inset-bottom, 0px));
	}

	html.arosta-mm-ready body.arosta-mm-keep-theme .arosta-mm__backdrop {
		bottom: calc(8.15rem + env(safe-area-inset-bottom, 0px));
	}

	.arosta-mm__bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		min-height: 3.9rem;
		background: var(--mm-bg, #ffffff);
		border-top: 1px solid var(--mm-border, #e7ddce);
		box-shadow: 0 -6px 24px rgba(18, 58, 82, 0.08);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}

	.arosta-mm__item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.2rem;
		min-height: 3.9rem;
		padding: 0.35rem 0.25rem;
		border: 0;
		background: transparent;
		font-family: inherit;
		font-size: 0.62rem;
		font-weight: 600;
		line-height: 1.1;
		color: var(--mm-text, #5c6b77);
		text-align: center;
		text-decoration: none;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		transition: color 0.15s ease;
	}

	.arosta-mm__item svg {
		display: block;
		width: 20px;
		height: 20px;
		flex-shrink: 0;
	}

	.arosta-mm__item.is-active {
		color: var(--mm-active, #f07818);
	}

	.arosta-mm__item:active {
		opacity: 0.7;
	}

	.arosta-mm__cta {
		background: var(--mm-cta-bg, #f07818);
		color: var(--mm-cta-text, #ffffff) !important;
		border-radius: 14px;
		margin: 0.35rem 0.3rem;
		min-height: 3.4rem;
		box-shadow: 0 4px 14px rgba(240, 120, 24, 0.35);
	}

	.arosta-mm__toggle {
		position: relative;
	}

	.arosta-mm__cta.is-active {
		color: var(--mm-cta-text, #fff);
	}

	.arosta-mm__chevron {
		position: absolute;
		top: 0.4rem;
		right: 0.35rem;
		display: flex;
		opacity: 0.65;
	}

	.arosta-mm__chevron svg {
		width: 11px;
		height: 11px;
		transform: rotate(-90deg);
		transition: transform 0.2s ease;
	}

	.arosta-mm__toggle[aria-expanded="true"] .arosta-mm__chevron svg {
		transform: rotate(90deg);
	}

	.arosta-mm__backdrop {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
		z-index: 88;
		background: rgba(18, 58, 82, 0.45);
		-webkit-tap-highlight-color: transparent;
	}

	.arosta-mm__sheet {
		position: fixed;
		left: 0;
		right: 0;
		bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
		z-index: 89;
		max-height: 60vh;
		overflow-y: auto;
		padding: 0.55rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
		background: var(--mm-bg, #ffffff);
		border-top: 1px solid var(--mm-border, #e7ddce);
		box-shadow: 0 -10px 28px rgba(18, 58, 82, 0.14);
	}

	.arosta-mm__sheet[data-anim="slide"] {
		transform: translateY(12px);
		transition: transform 0.22s ease;
	}

	.arosta-mm__sheet[data-anim="fade"] {
		opacity: 0;
		transition: opacity 0.22s ease;
	}

	.arosta-mm__sheet[data-anim="zoom"] {
		opacity: 0;
		transform: scale(0.96);
		transform-origin: bottom center;
		transition: transform 0.22s ease, opacity 0.22s ease;
	}

	.arosta-mm__sheet[data-anim="none"] {
		transition: none;
	}

	.arosta-mm__sheet.is-open {
		transform: none;
		opacity: 1;
	}

	.arosta-mm__sheet-list {
		margin: 0;
		padding: 0;
		list-style: none;
		display: grid;
		gap: 0.2rem;
	}

	.arosta-mm__sheet-link {
		display: flex;
		align-items: center;
		gap: 0.6rem;
		padding: 0.65rem 0.55rem;
		border-radius: 10px;
		color: var(--mm-text, #5c6b77);
		font-size: 0.85rem;
		font-weight: 600;
		line-height: 1.25;
		text-decoration: none;
	}

	.arosta-mm__sheet-link svg {
		width: 18px;
		height: 18px;
		flex-shrink: 0;
	}

	.arosta-mm__sheet-link:hover,
	.arosta-mm__sheet-link:focus-visible {
		background: rgba(18, 58, 82, 0.06);
	}

	.arosta-mm__sheet-link.is-active {
		color: var(--mm-active, #f07818);
	}

	.arosta-mm--no-labels .arosta-mm__bar .arosta-mm__label {
		display: none;
	}

	.arosta-mm--no-labels .arosta-mm__bar .arosta-mm__item svg {
		width: 24px;
		height: 24px;
	}

	.arosta-mm--no-labels .arosta-mm__bar .arosta-mm__chevron svg {
		width: 11px;
		height: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.arosta-mm__sheet,
	.arosta-mm__sheet.is-open {
		transform: none;
		opacity: 1;
		transition: none !important;
	}

	.arosta-mm__chevron svg {
		transition: none;
	}
}
