/* Stalco mobile menu (see mobile-menu.js). Modelled on stalco.pl's off-canvas menu. */
.smob[hidden] { display: none !important; }
.smob { position: fixed; inset: 0; z-index: 100000; font-family: 'Noto Sans', sans-serif; }
.smob-overlay { position: absolute; inset: 0; background: rgba(0, 17, 0, .45); opacity: 0; transition: opacity .3s ease-out; }
.smob-sheet {
	position: absolute; top: 0; bottom: 0; left: 0; width: 100%; max-width: 480px;
	display: flex; flex-direction: column; background: #fff;
	transform: translateX(-100%); transition: transform .3s ease-out;
}
.smob.is-open .smob-overlay { opacity: 1; }
.smob.is-open .smob-sheet { transform: translateX(0); }
html.smob-locked, html.smob-locked body { overflow: hidden !important; }

.smob-head {
	position: relative; flex: 0 0 64px; display: flex; align-items: center; justify-content: center;
	padding: 0 64px; box-shadow: 0 3px 6px rgba(0, 0, 0, .16); z-index: 1;
}
.smob-logo { display: block; line-height: 0; transition: opacity .2s ease; }
.smob-logo img { width: 130px; height: auto; }
.smob-title {
	position: absolute; left: 64px; right: 64px; top: 50%; transform: translateY(-50%);
	text-align: center; font-size: 17px; font-weight: 700; color: #001100;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.smob.is-sub .smob-logo { opacity: 0; pointer-events: none; }
.smob-icon {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: #001100; cursor: pointer;
}
.smob-icon[hidden] { display: none; }
.smob-back { left: 8px; }
.smob-close { right: 8px; }
.smob-back::before {
	content: ""; position: absolute; left: 20px; top: 19px; width: 10px; height: 10px;
	border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.smob-close::before, .smob-close::after {
	content: ""; position: absolute; left: 14px; top: 23px; width: 20px; height: 2px; background: currentColor;
}
.smob-close::before { transform: rotate(45deg); }
.smob-close::after { transform: rotate(-45deg); }

.smob-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.smob-panels { position: relative; overflow: hidden; }
.smob-panel { transition: transform .3s ease-out; }
.smob-panel:not(.is-active) { position: absolute; top: 0; left: 0; right: 0; visibility: hidden; }
.smob-panel.is-left { transform: translateX(-100%); }
.smob-panel.is-right { transform: translateX(100%); }
.smob-panel.is-active { position: relative; transform: translateX(0); visibility: visible; }

.smob-list, .smob-extra { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.smob-list li, .smob-extra li { list-style: none; margin: 0; padding: 0; }
.smob-row {
	position: relative; display: flex; align-items: center; width: 100%; min-height: 56px;
	padding: 14px 52px 14px 20px !important; margin: 0;
	border: 0; border-bottom: 1px solid #e2e2e2; background: #fff;
	color: #001100 !important; font: 600 16px/1.3 'Noto Sans', sans-serif; text-align: left; text-decoration: none; cursor: pointer;
}
.smob-row:active, .smob-row:hover { color: #006241 !important; background: #f5f5f5; }
.smob-row[aria-current="page"] { color: #006241 !important; box-shadow: inset 4px 0 0 #006241; }
.smob-row--next::after {
	content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
	border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
}
.smob-row--all { color: #006241 !important; font-weight: 700; }

.smob-extra { padding: 16px 20px 24px !important; }
.smob-extra a { display: block; padding: 8px 0; color: #555 !important; font-size: 14px; text-decoration: none; }
.smob-extra a:hover { color: #006241 !important; }

.smob-foot { flex: 0 0 auto; border-top: 1px solid #e2e2e2; }
.smob-foot-link {
	display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 20px;
	border-bottom: 1px solid #e2e2e2; color: #001100 !important; font-size: 15px; font-weight: 600; text-decoration: none;
}
.smob-foot-link::after { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--smob-icon) center / contain no-repeat; mask: var(--smob-icon) center / contain no-repeat; }
.smob-foot-link--account { --smob-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-8 2.2-8 5v3h16v-3c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E"); }
.smob-foot-link--cart { --smob-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM5.2 4 4.4 2H1v2h2l3.6 7.6L5.2 14c-.6 1.3.4 3 1.8 3h12v-2H7.4l1.1-2h7.5c.8 0 1.4-.4 1.8-1l3.6-6.5c.4-.7-.1-1.5-.9-1.5H5.2Z'/%3E%3C/svg%3E"); }

.smob button:focus-visible, .smob a:focus-visible { outline: 2px solid #006241; outline-offset: -2px; }

/* Divi's own dropdown is replaced by the panel above. */
html.smob-ready .et-l--header .et_mobile_menu { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	.smob-sheet, .smob-overlay, .smob-panel, .smob-logo { transition: none; }
}
