/* Snow Art Tools – mobilni meni preko cijelog ekrana */
html.satm-lock, html.satm-lock body { overflow: hidden !important; }

.satm {
	position: fixed;
	inset: 0;
	z-index: 100000;
	color: var(--satm-tx, #fff);
	background:
		radial-gradient(120% 60% at 100% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%),
		linear-gradient(165deg, var(--satm-bg, #2472ba) 0%, var(--satm-bg2, #0f3d6b) 100%);
	font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
	opacity: 0;
	transition: opacity .25s ease;
	-webkit-font-smoothing: antialiased;
}
.satm[hidden] { display: none; }
.satm.is-open { opacity: 1; }
.satm *, .satm *::before, .satm *::after { box-sizing: border-box; }
.satm a, .satm button {
	color: inherit !important;
	text-decoration: none !important;
	font-family: inherit !important;
	letter-spacing: normal;
	text-shadow: none !important;
	box-shadow: none;
}
.satm a, .satm button, .satm li, .satm ul { border: 0 !important; box-shadow: none !important; background-image: none; }
.satm .satm-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.16) !important; }
.satm .satm-sub a { border-left: 2px solid rgba(255,255,255,.28) !important; }
.satm .satm-sub a[aria-current="page"] { border-left-color: #fff !important; }
.satm .satm-book { color: var(--satm-bg2, #0f3d6b) !important; box-shadow: 0 10px 24px rgba(0,0,0,.22) !important; }
.satm .satm-book span { color: inherit !important; }
.satm .satm-social a:hover, .satm .satm-social a:focus, .satm .satm-lang a[aria-current="true"] { color: var(--satm-bg2, #0f3d6b) !important; }
.satm button { background: none; border: 0; margin: 0; padding: 0; cursor: pointer; min-height: 0; }
.satm button:hover, .satm button:focus { background: none !important; color: inherit !important; }
.satm :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

/* ukrasne pahulje u pozadini */
.satm::before {
	content: "";
	position: absolute;
	right: -60px;
	bottom: 120px;
	width: 280px;
	height: 280px;
	opacity: .07;
	pointer-events: none;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M9 3.8 12 6l3-2.2M9 20.2 12 18l3 2.2M3.6 10.4l3.5.6-1.3 3.4M20.4 13.6l-3.5-.6 1.3-3.4M3.6 13.6l3.5-.6-1.3-3.4M20.4 10.4l-3.5.6 1.3 3.4'/%3E%3C/svg%3E");
}

.satm-in {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: max(14px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	max-width: 640px;
	margin: 0 auto;
}

.satm-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.satm-logo { display: inline-flex; width: 58px; height: 58px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.satm-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }
.satm-close {
	width: 48px; height: 48px; border-radius: 50% !important;
	display: inline-flex !important; align-items: center; justify-content: center;
	background: rgba(255,255,255,.14) !important;
	transition: transform .2s ease, background .2s ease;
}
.satm-close:hover, .satm-close:focus { background: rgba(255,255,255,.24) !important; }
.satm.is-open .satm-close { transform: rotate(90deg); }

/* stavke */
.satm-nav { margin: 22px 0 18px; }
.satm-nav ul { list-style: none; margin: 0; padding: 0; }
.satm-nav > ul > li {
	border-bottom: 1px solid rgba(255,255,255,.16);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .35s ease, transform .35s ease;
	transition-delay: calc(60ms + var(--i, 0) * 45ms);
}
.satm.is-open .satm-nav > ul > li { opacity: 1; transform: none; }
.satm-nav > ul > li > a,
.satm-acc {
	display: flex !important;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 17px 2px !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	text-transform: uppercase;
	letter-spacing: .4px !important;
	text-align: left;
}
.satm-nav > ul > li > a[aria-current="page"]::after {
	content: "";
	width: 8px; height: 8px; border-radius: 50%;
	background: currentColor;
	flex: none;
}
.satm-acc svg { flex: none; transition: transform .2s ease; opacity: .85; }
.satm-acc[aria-expanded="true"] svg { transform: rotate(180deg); }

.satm-sub { padding: 0 0 12px 2px !important; }
.satm-sub[hidden] { display: none; }
.satm-sub li { margin: 0; }
.satm-sub a {
	display: block;
	padding: 10px 14px !important;
	margin: 2px 0;
	border-radius: 10px;
	font-size: 17px !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: .3px !important;
	opacity: .9;
	border-left: 2px solid rgba(255,255,255,.28);
}
.satm-sub a:hover, .satm-sub a:focus { background: rgba(255,255,255,.1); opacity: 1; }
.satm-sub a[aria-current="page"] { background: rgba(255,255,255,.16); border-left-color: #fff; opacity: 1; }

/* dno */
.satm-foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; padding-top: 8px;
	opacity: 0; transform: translateY(10px); transition: opacity .35s ease .3s, transform .35s ease .3s; }
.satm.is-open .satm-foot { opacity: 1; transform: none; }

.satm-book {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	border-radius: 14px;
	background: #fff;
	color: var(--satm-bg2, #0f3d6b) !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	letter-spacing: .3px !important;
	box-shadow: 0 10px 24px rgba(0,0,0,.22) !important;
	transition: transform .15s ease;
}
.satm-book:active { transform: scale(.98); }
.satm-book svg { width: 22px; height: 22px; color: #25d366; }

.satm-contact { display: grid; gap: 4px; }
.satm-contact a { display: flex !important; align-items: center; gap: 12px; padding: 8px 2px !important; font-size: 16px !important; font-weight: 600 !important; }
.satm-contact svg { width: 18px; height: 18px; opacity: .85; flex: none; }

.satm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); }
.satm-social { display: flex; gap: 10px; }
.satm-social a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center; background: rgba(255,255,255,.14); }
.satm-social a:hover, .satm-social a:focus { background: #fff; color: var(--satm-bg2, #0f3d6b) !important; }
.satm-social svg { width: 20px; height: 20px; }

.satm-lang { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.18); }
.satm-lang a { display: inline-flex !important; align-items: center; gap: 6px; padding: 8px 14px !important; border-radius: 999px; font-size: 14px !important; font-weight: 700 !important; opacity: .8; }
.satm-lang a[aria-current="true"] { background: #fff; color: var(--satm-bg2, #0f3d6b) !important; opacity: 1; }
.satm-lang img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; display: block; }

@media (min-width: 600px) {
	.satm-in { padding-left: 40px; padding-right: 40px; }
	.satm-nav > ul > li > a, .satm-acc { font-size: 26px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.satm, .satm *, .satm-nav > ul > li, .satm-foot { transition: none !important; animation: none !important; }
}
