@media only screen and (min-width:767px) {

    .mobile-search {
        display: none;
    }

    .mobile-filter-toggle {
        display: none;
    }
}

@media only screen and (min-width:320px) and (max-width:767px) {
    .d-flex.single_product {
        display: block !important;
        width: 100%;
    }

    .add_cart_btn {
        width: 100%;
    }

    .order_now_btn {
        width: 98%;
        margin-left: 0;
    }

    .pro_img {
        height: 158px;
    }

    header#navbar_top {
        position: inherit;
    }

    .product_sliders {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    .cat_img a {
        display: block;
        height: 100%;
    }

    .cat_img img {
        height: 100%;
    }

    .cat_img {
        height: 75px;
        text-align: center;
    }

    .payment-method-wrappers {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter_sort {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 0 6px;
        margin-top: 12px;
    }

    .filter_sidebar {
        display: none; /* Hidden by default on mobile, toggled inline via slideToggle */
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        z-index: 10 !important;
        background: #fff !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow-y: visible !important;
        padding: 15px !important;
        border: 1px solid #eee !important;
        border-radius: 8px !important;
        margin-bottom: 15px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        transition: none !important;
    }

    .filter_btn {
        display: inline-block;
        background: var(--primary-color);
        color: #fff;
        width: 55px;
        height: 33px;
        line-height: 33px;
        font-size: 17px;
        border: 1px solid #ddd;
        text-align: center;
        text-transform: capitalize;
        cursor: pointer;
    }

    .filter_close {
        display: none !important;
    }

    .sidebar-menu {
        display: none;
    }



    .scrolltop {
        display: none !important;
    }

    .hightlight_cont ul {

        padding-left: 5px;
    }

    .mobile_hide {
        display: none;
    }

    .desktop_hide {
        display: block;
    }

    .sorting-section {
        margin-top: -15px;
    }

    .card-body.cartlist {
        overflow-x: scroll;
    }

    .section-title-header .section-title-name {
        font-size: 15px;
    }

    #content {
        margin-left: 0;
        padding-top: 0;
    }

    .meta_description {
        display: none;
    }

    .mm-ocd {
        display: none;
    }

    .page-sort {
        padding-right: 6px;
    }

    .showing-data {
        display: none;
    }

    .mobile-filter-toggle {
        display: flex;
        justify-content: center;
        margin: 10px 0;
        align-items: center;
        column-gap: 10px;
        display: none;
    }

    .mobile-filter-toggle span {
        font-size: 17px;
        text-transform: uppercase;
        font-weight: 500;
    }

    .home-slider-container {
        width: 100%;
        margin-left: 0;
    }

    .feature-products p {
        padding-left: 20px;
    }

    .feature-products {
        position: fixed;
        top: 0;
        z-index: 99999;
        background-color: #fff;
        left: -300px;
        width: 300px;
        padding-top: 10px;
        height: 100vh;
        overflow-y: auto;
        transition: all 0.3s ease;
    }

    .category-breadcrumb {
        justify-content: center;
    }

    .feature-products.active {
        left: 0;
    }

    .mobile-menu {
        width: 300px;
        left: 0;
        position: fixed;
        top: 0;
        z-index: 1;
        /* Below the main content wrapper */
        background-color: #fff;
        height: 100vh;
        visibility: hidden;
        /* Hide initially */
        transition: all 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu.active {
        visibility: visible;
    }

    .mobile-menu::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #F5F5F5;
    }

    .mobile-menu::-webkit-scrollbar {
        width: 6px;
        background-color: #F5F5F5;
    }

    .mobile-menu::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
    }

    .mobile-search {
        background-color: #fff;
        padding: 2px 16px 0 16px;
        margin-top: 2px;
    }

    .mobile-search form {
        display: flex;
        border: 1px solid;
        border-radius: 50px;
        background-color: var(--primary-color);
        height: 40px;
        overflow: hidden;
        position: relative;
        border-color: hsla(0, 0%, 100%, .09);
    }

    .mobile-search form svg {
        height: 16px;
        width: 16px;
        color: #fff;
    }

    .mobile-search form input {
        text-align: left;
        padding-left: 15px;
        color: #000;
    }

    .mobile-search form button {
        background-color: var(--primary-color);
        flex: 0 0 60px;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        padding: 10px 15px;
    }

    .logo-image img {
        height: 40px;
        width: auto;
    }

    .mobile-menu-close {
        height: 40px;
        width: 40px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .mobile-menu-close i {
        font-size: 22px;
    }

    .first-nav .parent-category {
        display: block;
        line-height: 33px;
    }

    .first-nav .menu-category-list {
        display: block;
    }

    .first-nav .menu-category-list .menu-category-link {
        padding: 10px 0;
        display: block;
        padding-left: 20px;
    }

    .first-nav .parent-category .menu-category-name {
        display: block;
        padding: 10px;
        padding-left: 20px;
        text-transform: capitalize;
        font-weight: 600;
        color: #222;
    }

    .mobile-menu li.parent-category {
        position: relative;
    }

    .mobile-menu span.menu-category-toggle {
        position: absolute;
        right: 0px;
        top: 0px;
        display: flex;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center;
    }

    .mobile-menu span.menu-category-toggle.active i {
        transition: transform 0.3s ease;
    }

    .mobile-menu span.menu-category-toggle.active i {
        transform: rotate(180deg);
    }

    .second-nav {
        padding: 0 0px;
        background-color: #fff;
    }

    .second-nav.active {
        min-height: 15px;
    }

    .parent-subcategory {
        display: block;
        position: relative;
        padding: 0px;
    }

    .parent-subcategory .menu-subcategory-name {
        display: block;
        padding: 10px;
        padding-left: 40px;
    }

    span.menu-subcategory-toggle {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center;
    }

    span.menu-subcategory-toggle.active i {
        transition: transform 0.3s ease;
    }

    span.menu-subcategory-toggle.active i {
        transform: rotate(180deg);
    }

    li.childcategory {
        display: block;
    }

    ul.third-nav {
        padding: 0;
        background-color: #f2f2f2;
    }

    li.parent-category.active {
        background-color: rgba(0, 0, 0, .05);
    }

    li.parent-subcategory.active {
        background-color: #fff;
    }

    .menu-childcategory-name {
        display: block;
        padding: 10px 0;
        padding-left: 60px;
    }

    header .toggle {
        margin-top: 0;
        padding-left: 30px;
    }

    .mobile-menu-social .mobile-social-list .mobile-social-link i {
        color: #c0c0c0;
        font-size: 16px;
    }

    .mobile-menu-social .mobile-social-list .mobile-social-link {
        border: 2px solid #c0c0c0;
        padding: 5px 13px;
        border-radius: 5px;
        display: block;
    }

    .mobile-menu-social .mobile-menu-social {
        display: flex;
        column-gap: 5px;
        padding-left: 20px;
    }

    .logo-area {
        display: none;
    }

    .menu-area {
        display: none;
    }

    .header-left {
        justify-content: center;
    }

    .header-right {
        display: none;
    }

    .category-item {
        padding: 5px 0;
    }

    .category-item p {
        font-weight: 400;
    }

    .qty-cart .quantity {
        height: 35px;
        margin-left: 4px;
    }

    .quantity .minus,
    .quantity .plus {
        height: 35px;
        line-height: 35px;
        width: 35px;
        font-size: 35px;
    }

    .d-flex.single_product.col-sm-6 {
        margin-left: 4px;
        margin-top: 10px;
    }

    .qty-cart {
        width: auto !important;
    }

    .cus-order-2 {
        order: 0;
    }

    .cus-order-1 {
        order: 1;
    }

    .chheckout-section {
        padding: 10px 0;
    }

    .cart_details {
        margin-bottom: 15px;
    }

    .success-img img {
        width: 200px;
    }

    .main_product_inner {
        grid-template-columns: 1fr 1fr;
    }

    .qty-cart {
        grid-template-columns: 130px auto;
    }

    .quantity .minus {
        width: 40px;
    }

    .quantity .plus {
        width: 40px;
    }

    .compare_store.mobile-show {
        display: block !important;
        line-height: 42px;
        text-align: center;
    }

    .add-to-cart.mobile-fix {
        position: fixed;
        bottom: 64px;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 10px;
        margin: 0 10px;
    }

    .footer-top {
        padding: 30px 0;
    }

    .footer-menu ul li img {
        margin: 0 auto;
        display: block;
    }

    .front-view-flex {
        padding: 10px 0px;
    }

    .front_category_title h1 {
        font-size: 20px;
    }

    .front-view-item {
        margin-bottom: 15px;
    }

    .front-view-title a {
        font-size: 13px;
    }

    .home-page-section-title-box h3 {
        font-size: 20px;
    }

    .category-banner-products {
        padding: 20px 5px;
    }

    .flash-product-section .col-sm-4 {
        padding: 10px 10px !important;
    }

    .flash_all {
        margin-top: 10px;
    }

    .slider-section .offset-sm-3 {
        padding-left: 5px;
    }

    .main-header {
        display: none;
    }

    .mobile-header {
        display: block;
        background-color: var(--primary-color);
    }

    .mobile-header .menu-bar i,
    .mobile-header .menu-bag p,
    .mobile-header .menu-bag p i {
        color: #fff;
    }

    .mobile-top {
        background: #108BC3;
        padding: 8px 0;
    }

    .mobile-top ul {
        text-align: right;
    }

    .mobile-top ul li a {
        color: #fff;
        margin: 0 5px;
    }

    .menu-bar i {
        font-size: 22px;
    }

    .mobile-logo {
        display: grid;
        grid-template-columns: 20% 55% 20%;
        text-align: center;
        font-size: 16px;
        height: 65px;
        align-items: center;
    }

    .fixed-top .mobile-logo {
        margin-bottom: 0px;
    }

    .menu-logo img {
    width: auto;
    height: 60px;
    max-width: 100%;
    margin-top: 0;
    }
    .footer-menu ul li a {
        text-align: center;
        text-transform: capitalize;
    }

    .main-search.mobile-search {
        margin: 18px 0;
        padding: 0 10px;
    }

    .menu-bar {
        margin-top: 0;
    }

    .menu-bag .margin-shopping {
        position: relative;
        width: 30px;
    }

    .menu-bag .margin-shopping span {
        position: absolute;
        display: inline-block;
        background-color: #fe5200;
        height: 20px;
        border-radius: 50px;
        padding: 1px 7px;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        top: -10px;
        right: 0;
    }

    .menu-bag .margin-shopping span i.fa-solid.fa-bag-shopping {
        font-size: 22px;
    }

    .menu-bag {
        margin-top: 0px;
        display: flex;
        justify-content: flex-end;
        margin-right: 7px;
    }

    .menu-bag ul li a {
        margin-right: 15px;
        position: relative;
    }

    .menu-bag li span {
        background: #E62E04;
        font-size: 10px;
        color: #fff;
        position: absolute;
        top: 0;
        left: 12px;
        width: 15px;
        height: 15px;
        border-radius: 50px;
        line-height: 15px;
    }

    .slider-item {
        height: 200px;
        margin-top: 0px;
    }

    .footer-about p {
        text-align: center;
    }

    .footer-bottom {
        margin-bottom: 24px;
        padding-bottom: 10px;
    }

    .footer-about {
        text-align: center;
        padding: 0 15px;
    }



    .section-title-left h4 {
        font-size: 16px;
    }

    .section-title-right a {
        font-size: 13px;
    }

    .product-info .name {
        height: 70px;
    }

    .product-info {
        padding: 15px 10px;
    }

    .row>* {
        padding-right: calc(var(--bs-gutter-x) * .3);
        padding-left: calc(var(--bs-gutter-x) * .3);
    }

    .feature-title ul {
        text-align: center;
        overflow-y: scroll;
    }

    .feature-title h4 {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-top {
        padding-bottom: 32px;
    }

    .category-sidebar {
        position: fixed;
        z-index: 9999;
        width: 100%;
        top: 0;
        background: #fff;
        left: 0;
        visibility: hidden;
        opacity: 0;
        transition: 0.35s all;
    }

    .close_filter {
        position: absolute;
        top: 0;
        right: 12px;
        border: 2px solid #ddd;
        font-size: 19px;
        padding: 0px 10px;
        border-radius: 50px;
        background: #d3b520;
        color: #fff;
    }

    .close_filter,
    .show_filter {
        display: block;
    }

    .show_filter {
        display: inline-block;
        margin-right: 10px;
        margin-left: 8px;
    }

    .page-title h5 {
        font-size: 16px;
    }

    .product-section {
        margin-top: 0;
    }

    .sort-form select {
        font-size: 14px;
    }

    .category-sidebar.active {
        visibility: visible;
        opacity: 1;
    }

    .auth-section,
    .checkout-shipping {
        margin-top: 5px;
    }

    .payment-form .gap-3 {
        gap: 0 !important;
    }

    .modal-view.quick-product {
        width: 100%;
    }

    .quick-product .short_description,
    .quick-product .details_short {
        display: none;
    }

    .quick-product-img {
        width: 20%;
    }

    .quick-product-content {
        width: 80%;
    }

    .close-modal {
        left: 50%;
        top: -17px;
        transform: translateX(-50%);
    }

    .vcart-section {
        margin-top: 60px;
    }

    .menu-product {
        display: none;
    }

    .details-wishlist {
        display: none !important;
    }

    a.details-wishlist.compare_store.cursor {
        display: none !important;
    }
}

@media only screen and (min-width:767px) and (max-width:991px) {
    .menu-product {
        display: none;
    }

}

@media only screen and (min-width:992px) and (max-width:1140px) {}

@media only screen and (min-width:1141px) {}

/* ===== NAV DRAWER (MOBILE MENU) STYLES ===== */

/* Drawer Header */
.mobile-menu-header {
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 15px 15px;
    min-height: 90px;
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.mobile-menu-avatar i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.85);
}

.mobile-menu-user-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-user-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.menu-user-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    display: block;
}

.menu-login-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
}

.mobile-menu-header .mobile-menu-close {
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.mobile-menu-header .mobile-menu-close i {
    font-size: 18px;
    color: #fff;
}

/* Drawer Nav List */
.drawer-nav-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

/* Staggered entry animation when menu becomes active */
.mobile-menu .drawer-nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.active .drawer-nav-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .drawer-nav-item:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active .drawer-nav-item:nth-child(2) { transition-delay: 0.09s; }
.mobile-menu.active .drawer-nav-item:nth-child(3) { transition-delay: 0.13s; }
.mobile-menu.active .drawer-nav-item:nth-child(4) { transition-delay: 0.17s; }
.mobile-menu.active .drawer-nav-item:nth-child(5) { transition-delay: 0.21s; }
.mobile-menu.active .drawer-nav-item:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu.active .drawer-nav-item:nth-child(7) { transition-delay: 0.29s; }
.mobile-menu.active .drawer-nav-item:nth-child(8) { transition-delay: 0.33s; }
.mobile-menu.active .drawer-nav-item:nth-child(9) { transition-delay: 0.37s; }
.mobile-menu.active .drawer-nav-item:nth-child(10) { transition-delay: 0.41s; }
.mobile-menu.active .drawer-nav-item:nth-child(11) { transition-delay: 0.45s; }
.mobile-menu.active .drawer-nav-item:nth-child(12) { transition-delay: 0.49s; }
.mobile-menu.active .drawer-nav-item:nth-child(13) { transition-delay: 0.53s; }
.mobile-menu.active .drawer-nav-item:nth-child(14) { transition-delay: 0.57s; }
.mobile-menu.active .drawer-nav-item:nth-child(15) { transition-delay: 0.61s; }

.drawer-nav-item>a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Left animated indicator & hover glow background */
.drawer-nav-item>a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 128, 128, 0.05) 0%, rgba(0, 128, 128, 0) 100%);
    border-left: 0px solid var(--primary-color);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
    pointer-events: none;
}

.drawer-nav-item>a:hover {
    color: var(--primary-color);
    transform: translateX(6px);
    background: rgba(0, 128, 128, 0.01);
}

.drawer-nav-item>a:hover::before {
    width: 100%;
    border-left: 4px solid var(--primary-color);
}

.drawer-nav-item>a>* {
    position: relative;
    z-index: 1;
}

.drawer-icon {
    width: 30px;
    height: 30px;
    background: #e8f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.drawer-nav-item>a:hover .drawer-icon {
    transform: scale(1.15) rotate(4deg);
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.12);
}

.drawer-icon i {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.drawer-nav-item>a:hover .drawer-icon i {
    transform: scale(1.1);
}

.drawer-chevron, .drawer-arrow {
    margin-left: auto;
    font-size: 10px;
    color: #bbb;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
}

.drawer-nav-item>a:hover .drawer-chevron {
    transform: translateX(4px);
    color: var(--primary-color);
}

.drawer-has-sub.open .drawer-arrow {
    transform: rotate(180deg);
}

/* Drawer Submenu */
.drawer-submenu {
    display: none;
    background: #f8fffe;
    border-left: 3px solid var(--primary-color);
    margin: 0;
    padding: 0;
    list-style: none;
}

.drawer-submenu li {
    position: relative;
    display: block;
}

.drawer-submenu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 28px;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.drawer-submenu li a:hover {
    color: var(--primary-color);
    background: rgba(0, 128, 128, 0.03);
    padding-left: 34px;
}

.drawer-submenu li a .side_cat_img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.drawer-submenu li a:hover .side_cat_img {
    transform: scale(1.1);
}

/* Second & Third nav inside submenu */
.drawer-submenu .second-nav {
    background: #fff;
    padding: 0;
}

.drawer-submenu .second-nav a {
    padding-left: 40px;
    font-size: 12px;
    color: #555;
}

/* Divider */
.drawer-nav-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 6px 0;
}

/* Logout item */
.drawer-logout>a {
    color: #e74c3c !important;
}

.drawer-logout .drawer-icon {
    background: #fdecea;
}

.drawer-logout .drawer-icon i {
    color: #e74c3c;
}

/* Drawer Footer */
.drawer-footer {
    padding: 15px 18px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    text-align: center;
}

.drawer-footer p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Category toggle inside submenu */
.drawer-submenu .menu-category-toggle {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 11px;
}

/* Drawer label text */
.drawer-label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Right chevron arrow */
.drawer-chevron {
    font-size: 10px;
    color: #bbb;
    margin-left: auto;
}

/* Color-coded icon backgrounds */
.drawer-icon-home {
    background: #e8f5f5;
}

.drawer-icon-dashboard {
    background: #e8f0fe;
}

.drawer-icon-orders {
    background: #fce8e6;
}

.drawer-icon-category {
    background: #e6f4ea;
}

.drawer-icon-deals {
    background: #fff3e0;
}

.drawer-icon-track {
    background: #e8eaf6;
}

.drawer-icon-help {
    background: #fce4ec;
}

.drawer-icon-page {
    background: #f3e5f5;
}

.drawer-icon-settings {
    background: #e0f2f1;
}

.drawer-icon-login {
    background: #e8f5e9;
}

.drawer-icon-home i {
    color: var(--primary-color);
}

.drawer-icon-dashboard i {
    color: #3f51b5;
}

.drawer-icon-orders i {
    color: #e53935;
}

.drawer-icon-category i {
    color: #43a047;
}

.drawer-icon-deals i {
    color: #fb8c00;
}

.drawer-icon-track i {
    color: #1e88e5;
}

.drawer-icon-help i {
    color: #d81b60;
}

.drawer-icon-page i {
    color: #8e24aa;
}

.drawer-icon-settings i {
    color: #00897b;
}

.drawer-icon-login i {
    color: #2e7d32;
}

/* Subitem styling */
.drawer-subitem {
    position: relative;
    display: block;
}

.drawer-subitem>a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px 11px 24px;
    font-size: 13.5px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.drawer-subitem>a:hover {
    color: var(--primary-color);
    background: #f0fafa;
    padding-left: 30px;
}

.drawer-subitem .side_cat_img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.drawer-subitem>a:hover .side_cat_img {
    transform: scale(1.1);
}

/* =========================================
   MOBILE DRAWER ENHANCED ANIMATIONS
   ========================================= */

/* Header wave shimmer */
@keyframes drawerHeaderShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.mobile-menu-header {
    background-size: 200% 100% !important;
    background-image: linear-gradient(
        110deg,
        var(--primary-color) 0%,
        var(--primary-color) 40%,
        rgba(255,255,255,0.15) 50%,
        var(--primary-color) 60%,
        var(--primary-color) 100%
    ) !important;
    animation: drawerHeaderShimmer 3.5s linear infinite !important;
}

/* Icon entrance pulse on drawer open */
@keyframes iconPop {
    0%   { transform: scale(0.6); opacity: 0; }
    70%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.mobile-menu.active .drawer-nav-item .drawer-icon {
    animation: iconPop 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}
.mobile-menu.active .drawer-nav-item:nth-child(1)  .drawer-icon { animation-delay: 0.06s; }
.mobile-menu.active .drawer-nav-item:nth-child(2)  .drawer-icon { animation-delay: 0.10s; }
.mobile-menu.active .drawer-nav-item:nth-child(3)  .drawer-icon { animation-delay: 0.14s; }
.mobile-menu.active .drawer-nav-item:nth-child(4)  .drawer-icon { animation-delay: 0.18s; }
.mobile-menu.active .drawer-nav-item:nth-child(5)  .drawer-icon { animation-delay: 0.22s; }
.mobile-menu.active .drawer-nav-item:nth-child(6)  .drawer-icon { animation-delay: 0.26s; }
.mobile-menu.active .drawer-nav-item:nth-child(7)  .drawer-icon { animation-delay: 0.30s; }
.mobile-menu.active .drawer-nav-item:nth-child(8)  .drawer-icon { animation-delay: 0.34s; }
.mobile-menu.active .drawer-nav-item:nth-child(9)  .drawer-icon { animation-delay: 0.38s; }
.mobile-menu.active .drawer-nav-item:nth-child(10) .drawer-icon { animation-delay: 0.42s; }

/* Ripple effect on nav item click */
.drawer-nav-item > a .nav-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 128, 128, 0.18);
    transform: scale(0);
    animation: navRipple 0.55s linear;
    pointer-events: none;
    z-index: 10;
}
@keyframes navRipple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Smooth label reveal on drawer open */
@keyframes labelSlideIn {
    from { opacity: 0; letter-spacing: -2px; }
    to   { opacity: 1; letter-spacing: normal; }
}
.mobile-menu.active .drawer-label {
    animation: labelSlideIn 0.35s ease both;
}
.mobile-menu.active .drawer-nav-item:nth-child(1)  .drawer-label { animation-delay: 0.07s; }
.mobile-menu.active .drawer-nav-item:nth-child(2)  .drawer-label { animation-delay: 0.11s; }
.mobile-menu.active .drawer-nav-item:nth-child(3)  .drawer-label { animation-delay: 0.15s; }
.mobile-menu.active .drawer-nav-item:nth-child(4)  .drawer-label { animation-delay: 0.19s; }
.mobile-menu.active .drawer-nav-item:nth-child(5)  .drawer-label { animation-delay: 0.23s; }
.mobile-menu.active .drawer-nav-item:nth-child(6)  .drawer-label { animation-delay: 0.27s; }
.mobile-menu.active .drawer-nav-item:nth-child(7)  .drawer-label { animation-delay: 0.31s; }
.mobile-menu.active .drawer-nav-item:nth-child(8)  .drawer-label { animation-delay: 0.35s; }
.mobile-menu.active .drawer-nav-item:nth-child(9)  .drawer-label { animation-delay: 0.39s; }
.mobile-menu.active .drawer-nav-item:nth-child(10) .drawer-label { animation-delay: 0.43s; }

/* Active indicator: animated left bar */
.drawer-nav-item > a.active-page {
    color: var(--primary-color) !important;
    background: rgba(0, 128, 128, 0.04) !important;
    border-left: 3px solid var(--primary-color);
}

/* Logout item pulse on hover */
@keyframes logoutPulse {
    0%, 100% { box-shadow: none; }
    50%       { box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.12); }
}
.drawer-logout > a:hover .drawer-icon {
    animation: logoutPulse 1s ease infinite;
}
