/* Offcanvas width */
@media (min-width: 768px) {
    .mega-offcanvas-width {
        width: 600px !important;
    }
}

/* Category drawer sizing */
.mega-offcanvas-width {
    width: 600px !important;
    height: auto !important;
    max-height: 100vh;
}

/* Prevent Bootstrap full-height stretching */
.mega-offcanvas-width.offcanvas {
    bottom: auto;
}

/* Keep the contents sized to the categories */
.mega-offcanvas-width .offcanvas-body {
    height: auto;
    overflow: visible;
    flex-grow: 0;
}

/* Category grid spacing */
.drawer-menu-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease-in-out;
}

.drawer-menu-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
    border-color: #0d6efd;
    transform: translateX(4px);
}

.drawer-menu-item .icon {
    margin-right: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}



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

#landing-navbar .ms-auto {
    margin-left: auto !important;
}

@media (max-width: 767.98px) {
    #landing-navbar .container {
        justify-content: flex-start;
    }

    #landing-navbar .ms-auto {
        margin-left: auto !important;
    }
}