/* Mobile Navigation + Mobile Menu + Products Side Drawer (shared component styles) */

.mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 0.5rem 1rem;
}

.mobile-navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 998;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
    width: 320px;
    padding: 16px 16px 0;
    flex-direction: column;
    row-gap: 24px;
    align-items: center;
    overflow: hidden;
    filter: drop-shadow(0 1px 5px #00000026);
    backface-visibility: hidden;
    transform: translateZ(0);
    border-radius: 0;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu-panel {
    display: none;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.mobile-menu-panel.active {
    display: flex;
    overflow-y: auto;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    line-height: 24px;
    font-weight: 400;
    height: 48px;
    margin: 0;
    border-radius: 0;
    column-gap: 8px;
    padding: 0 0 11px 4px;
    border-bottom: 1px solid #d9e0e6;
}

.mobile-menu-link::before {
    content: "";
    width: 2px;
    height: 24px;
    background: #4eacea;
    border-radius: 2px;
    flex: 0 0 auto;
}

.mobile-menu-btn {
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

.mobile-submenu {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    line-height: 24px;
    font-weight: 400;
    height: 48px;
    margin: 0;
    border-radius: 0;
    column-gap: 8px;
    padding: 0 0 11px 4px;
    border-bottom: 1px solid #d9e0e6;
}

.mobile-submenu-link::before {
    content: "";
    width: 2px;
    height: 24px;
    background: #4eacea;
    border-radius: 2px;
    flex: 0 0 auto;
}

.side-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 998;
}

.side-drawer-overlay.active {
    display: block;
}

.side-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    background: #fff;
    z-index: 999;
    padding: 16px 16px 0;
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    filter: drop-shadow(0 1px 5px #00000026);
    backface-visibility: hidden;
    transform: translateZ(0);
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.side-drawer.active {
    transform: translateX(0);
}

.side-drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.side-drawer-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    line-height: 24px;
    font-weight: 400;
    height: 48px;
    margin: 0;
    border-radius: 0;
    column-gap: 8px;
    padding: 0 0 11px 4px;
    border-bottom: 1px solid #d9e0e6;
}

.side-drawer-link::before {
    content: "";
    width: 2px;
    height: 24px;
    background: #4eacea;
    border-radius: 2px;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    .mobile-navbar {
        display: block;
    }
}
