.mobile-bottom-menu {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #ffffff;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
z-index: 9999;
display: none;
padding: 8px 0 max(8px, env(safe-area-inset-bottom));
} @media (max-width: 768px) {
.mobile-bottom-menu {
display: block;
} body.has-mobile-bottom-menu {
padding-bottom: 70px;
}
}
.mobile-bottom-menu-container {
display: flex;
justify-content: space-around;
align-items: center;
max-width: 100%;
margin: 0 auto;
}
.mobile-bottom-menu-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
color: #666666;
transition: all 0.3s ease;
padding: 8px 4px;
position: relative;
}
.mobile-bottom-menu-item:hover,
.mobile-bottom-menu-item:focus {
color: #0073aa;
text-decoration: none;
}
.mobile-bottom-menu-item.active {
color: #0073aa;
}
.mobile-bottom-menu-item.active::after {
content: '';
position: absolute;
top: -8px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 3px;
background: #0073aa;
border-radius: 0 0 3px 3px;
}
.mobile-bottom-menu-icon {
font-size: 24px;
line-height: 1;
margin-bottom: 4px;
display: flex;
align-items: center;
justify-content: center;
}
.mobile-bottom-menu-icon .dashicons {
width: 24px;
height: 24px;
font-size: 24px;
line-height: 1;
}
.mobile-bottom-menu-icon .dashicons::before {
width: 24px;
height: 24px;
font-size: 24px;
}
.mobile-bottom-menu-icon i {
font-size: 24px;
}
.mobile-bottom-menu-label {
font-size: 11px;
line-height: 1.2;
text-align: center;
font-weight: 500;
} .mobile-bottom-menu.theme-dark {
background: #1a1a1a;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
.mobile-bottom-menu.theme-dark .mobile-bottom-menu-item {
color: #999999;
}
.mobile-bottom-menu.theme-dark .mobile-bottom-menu-item:hover,
.mobile-bottom-menu.theme-dark .mobile-bottom-menu-item:focus,
.mobile-bottom-menu.theme-dark .mobile-bottom-menu-item.active {
color: #ffffff;
}
.mobile-bottom-menu.theme-dark .mobile-bottom-menu-item.active::after {
background: #ffffff;
} .mobile-bottom-menu.theme-custom .mobile-bottom-menu-item.active,
.mobile-bottom-menu.theme-custom .mobile-bottom-menu-item:hover,
.mobile-bottom-menu.theme-custom .mobile-bottom-menu-item:focus {
color: var(--swpabm-primary-color, #0073aa);
}
.mobile-bottom-menu.theme-custom .mobile-bottom-menu-item.active::after {
background: var(--swpabm-primary-color, #0073aa);
} @keyframes slideUp {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.mobile-bottom-menu.animate {
animation: slideUp 0.3s ease-out;
} .elementor-widget-surewp-app-bottom-menu .mobile-bottom-menu {
position: relative;
display: block;
}
.elementor-widget-surewp-app-bottom-menu .mobile-bottom-menu-item {
min-width: 60px;
} .mobile-bottom-menu-badge {
position: absolute;
top: 4px;
right: 50%;
transform: translateX(50%);
background: #ff0000;
color: #ffffff;
border-radius: 10px;
padding: 2px 6px;
font-size: 10px;
font-weight: bold;
line-height: 1;
min-width: 18px;
text-align: center;
} .mobile-bottom-menu-item::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(0, 115, 170, 0.2);
transform: translate(-50%, -50%);
transition: width 0.3s, height 0.3s;
}
.mobile-bottom-menu-item:active::before {
width: 100%;
height: 100%;
} .mobile-bottom-menu-item:focus-visible {
outline: 2px solid #0073aa;
outline-offset: 2px;
border-radius: 4px;
} @media (max-width: 768px) and (orientation: landscape) {
.mobile-bottom-menu {
padding: 4px 0 max(4px, env(safe-area-inset-bottom));
}
.mobile-bottom-menu-item {
padding: 4px 4px;
}
.mobile-bottom-menu-label {
font-size: 10px;
}
.mobile-bottom-menu-icon {
font-size: 20px;
margin-bottom: 2px;
}
.mobile-bottom-menu-icon .dashicons {
width: 20px;
height: 20px;
font-size: 20px;
}
}