/* Enhanced Rich Styling for Mobile Offcanvas Header */
.offcanvas-header {
    border-bottom: 1px solid rgba(91, 61, 15, 0.1);
    padding: 1rem;
    background-color: rgba(246, 241, 229, 0.6);
}

.offcanvas-logo {
    max-width: 120px;
    transition: transform 0.3s ease;
}

.offcanvas-logo:hover {
    transform: scale(1.03);
}

.offcanvas-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Enhance the mobile navigation */
.offcanvas-body {
    background-color: #fffdf9;
}

/* Override inline styles on sub-menu screens for consistent white background */
#age-menu-screen,
#category-menu-screen,
#main-sidebar-content {
    background-color: #fffdf9 !important;
}

/* Sub-menu screen headers */
#age-menu-screen .offcanvas-header,
#category-menu-screen .offcanvas-header {
    background-color: #fffdf9 !important;
}

/* Add subtle animation to nav items */
.nav-links .nav-item {
    position: relative;
    overflow: hidden;
}

.nav-links .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-teal);
    transition: width 0.3s ease;
}

.nav-links .nav-item:hover::after {
    width: 100%;
}

/* Section titles with subtle flair */
.nav-section-title {
    position: relative;
}

.nav-section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10px;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--text-teal), transparent);
}
