
.pg-topbar {
    background: #111;
    border-bottom: 1px solid #e4e4e4;
    font-size: 14px;
}
.pg-topbar-inner {
    display: flex;
    justify-content: space-between;
    padding: 6px 20px;
}
.pg-top-left i {
    margin-right: 6px;
    color: var(--primary);
}


.pg-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.pg-container {
    max-width: 1300px;
    margin: auto;
    padding: 12px 20px;
}


.pg-header .pg-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
}


.pg-logo img {
    height: 40px;
    object-fit: contain;
}


.pg-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap; 
}

.pg-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    position: relative;
    font-size: 16px;
}

.pg-menu .fa-chevron-down {
    font-size: 12px;
    margin-left: 6px;
}

.pg-dropdown {
    position: relative;
}
.pg-dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 6px;
    z-index: 1000;
}
.pg-dropdown:hover .pg-dropdown-menu {
    display: block;
}
.pg-dropdown-menu a {
    padding: 10px 15px;
    display: block;
    color: #222;
}
.pg-dropdown-menu a:hover {
    background: #f1f1f1;
}

/* 
.pg-user-icons {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
} */

.pg-icon {
    position: relative;
    font-size: 20px;
    color: #000;
}
.pg-icon:hover {
    color: var(--primary);
}

.pg-badge {
    background: #ff4d4d;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    right: -8px;
}


.pg-mobile-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
}


.pg-gerocry-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    padding: 30px 25px;
    box-shadow: -4px 0 10px rgba(0,0,0,0.15);
    transition: .4s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99999;
}

.pg-mobile-logo {
    width: 150px;
}
.pg-close {
    font-size: 32px;
    cursor: pointer;
    color: #000 !important;
}

.pg-close i,
.pg-close i::before {
    color: #000 !important;
}


.pg-gerocry-menu a,
.pg-gerocry-menu .pg-dropdown {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    font-size: 18px;
    color: #111;
    font-weight: 500;
}

.pg-gerocry-menu .pg-drop-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.pg-gerocry-menu .pg-dropdown-menu {
    display: none;
    position: relative;
    padding-left: 20px;
    margin-top: 8px;
}


@media (max-width: 991px) {
    .pg-menu {
        display: none;
    }
    .pg-mobile-btn {
        display: block;
    }
}
.pg-gerocry-menu a {
    text-decoration: none !important;
    border-bottom: none !important;
}
.pg-gerocry-menu a:hover {
    text-decoration: none !important;
}


.pg-login-links a{
    color: #fff !important;
    text-decoration: none;
}

/* USER BOX WRAPPER */
.pg-user-icons {
    display: flex !important;
    align-items: center;
    gap: 15px;
    z-index: 999;
}
/* USER BOX (image + name) */
.pg-user-box {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: 0.2s ease;
}

.pg-user-box:hover {
    background: #f3f3f3;
}

/* USER PROFILE IMAGE */
.pg-user-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #e0e0e0;
}

/* USER NAME */
.pg-user-name {
    font-size: 14px;
    color: #ffffff; /* change to black if using light header */
    font-weight: 500;
    text-transform: capitalize;
}

.pg-user-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 160px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.25);
    padding: 10px 0;
    display: none;
    z-index: 999999 !important; /* SUPER HIGH */
}


/* DROPDOWN LINKS */
.pg-user-dropdown a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
}

.pg-user-dropdown a:hover {
    background: #f2f2f2;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .pg-user-icons {
        gap: 12px;
    }

    .pg-user-img {
        width: 32px;
        height: 32px;
    }

    .pg-user-name {
        display: none; /* hide name on mobile for clean layout */
    }

    .pg-user-dropdown {
        top: 45px;
    }
}


/* TOPBAR ACCOUNT ICONS (Black Bar) */
.pg-account-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}
.pg-account-icons .pg-user-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}
.pg-account-icons .pg-user-name {
    color: #fff; /* WHITE name only in top bar */
}
.pg-account-icons .pg-user-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 160px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.25);
    padding: 10px 0;
    display: none;
    z-index: 9999;
}





.pg-footer {
    background: #111;
    color: #ffffff;
    padding-top: 60px;
    margin-top: 60px;
}

/* Main grid - perfect top alignment */
.pg-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;  /* FIX: more balanced layout */
    align-items: start;                        /* FIX: top align all columns */
    gap: 60px;                                  /* FIX: equal spacing */
    padding-bottom: 40px;
}

/* Logo image size reduced */
.pg-footer-logo-img img {
    width: 150px;
    margin-bottom: 15px;
}

/* Fix weird paragraph wide look */
.pg-footer-about {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 280px;   /* FIX: reduces height and aligns columns */
}

/* Headings */
.pg-footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px; /* Fix spacing */
    color: #fc6e1d;
    font-weight: 700;
}

/* List */
.pg-footer-col ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pg-footer-col ul li {
    margin-bottom: 12px;
}

.pg-footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.85;
    transition: 0.3s;
}

.pg-footer-col ul li a:hover {
    opacity: 1;
    color: #fc6e1d;
    padding-left: 3px;
}

/* Contact section */
.pg-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px; /* FIX spacing */
}

.pg-contact-list li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.85;
    transition: 0.3s;
}

.pg-contact-list li a:hover {
    color: #fc6e1d;
}

.pg-contact-list i {
    color: #fc6e1d;
    font-size: 16px;
    margin-top: 4px;
}

/* Footer bottom */
.pg-footer-bottom {
    text-align: center;
    padding: 15px 0;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.pg-footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Fix */
@media (max-width: 991px) {
    .pg-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .pg-footer-inner {
        grid-template-columns: 1fr;
    }
}
/* new design  */
:root {
    --primary: #fc6e1d;
    --dark: #111111;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
/* trigger menu */
/* MEGA MENU LOOK */
.main-cat-trigger {
    /* background: var(--primary); */
    color: var(--dark) !important;
    padding: 10px 20px !important;
    /* border-radius: 5px; */
    /* margin-right: 10px; */
}

.mega-menu {
    width: 300px; /* Bada dropdown */
    display: grid !important;
    grid-template-columns: 2fr 3fr; /* Do columns mein categories */
    gap: 10px;
    border-radius: 20px; 
    padding: 25px !important;
}

.mega-title {
    font-weight: 700 !important;
    color: var(--primary) !important;
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
    padding-bottom: 5px;
    display: block;
}

.mega-subs a {
    display: block;
    font-size: 14px;
    color: #666;
    padding: 4px 0;
    transition: 0.3s;
}

.mega-subs a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* MOBILE FIXES */
.mobile-section-label {
    padding: 10px 15px;
    font-weight: 700;
    background: #f4f4f4;
    font-size: 14px;
    margin: 15px 0 10px 0;
    color: #333;
}

@media (max-width: 991px) {
    .mega-menu {
        width: 100%;
        display: block !important;
        padding: 0 !important;
    }
}

/* TOPBAR UPGRADE */
.pg-topbar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.text-white-link { color: #eee; text-decoration: none; transition: var(--transition); }
.text-white-link:hover { color: var(--primary); }
.ripple { color: var(--primary); animation: pulse-red 2s infinite; }

@keyframes pulse-red {
    0% { transform: scale(0.95); text-shadow: 0 0 0 rgba(252, 110, 29, 0.7); }
    70% { transform: scale(1); text-shadow: 0 0 10px rgba(252, 110, 29, 0); }
    100% { transform: scale(0.95); text-shadow: 0 0 0 rgba(252, 110, 29, 0); }
}

/* HEADER UPGRADE */
.pg-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    transition: var(--transition);
}

.pg-logo img {
    height: 45px;
    transition: transform 0.3s ease;
}
.pg-logo:hover img { transform: scale(1.05); }

/* MENU ANIMATIONS */
.pg-menu { gap: 30px; }
.nav-link {
    color: #333;
    font-size: 15px;
    padding: 5px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* DROPDOWN LUXURY LOOK */
.pg-dropdown-menu {
    border: none;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    padding: 15px;
    border-top: 3px solid var(--primary);
    transform: translateY(20px);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background: #fff;
    min-width: 200px;
    z-index: 1000;
    display: block; /* Ensure it exists for transition */
}

/* Desktop Hover Only */
@media (min-width: 992px) {
    .pg-dropdown:hover .pg-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* MOBILE MENU FIXES */
@media (max-width: 991px) {
    .pg-dropdown-menu {
        position: static; /* Mobile par list ki tarah dikhe */
        opacity: 1;
        visibility: visible;
        display: none; /* By default hidden on mobile */
        transform: none;
        box-shadow: none;
        width: 100%;
        background: #f9f9f9;
        padding-left: 20px;
        border-top: none;
        border-left: 2px solid var(--primary);
        margin-top: 10px;
    }

    /* Class to show menu via JS */
    .pg-dropdown-menu.show-mobile {
        display: block !important;
    }

    .pg-gerocry-menu {
        display: block !important; /* Ensure container is visible */
        z-index: 999999;
    }

    .pg-gerocry-menu a, .pg-gerocry-menu .pg-drop-btn {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        margin-bottom: 5px;
    }
}

/* Side Menu Close Button Fix */
.pg-mobile-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.pg-dropdown:hover .pg-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ICONS & BADGES */
.pg-badge {
    background: var(--primary);
    min-width: 18px;
    height: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(252, 110, 29, 0.4);
}
.pulse { animation: badge-pulse 1.5s infinite; }
@keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
/* ICON BADGES PULSE */
.pg-badge.pulse {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* USER BOX TOPBAR */
.pg-user-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.pg-user-box:hover { background: rgba(255,255,255,0.15); }
.pg-user-img { border: 2px solid var(--primary); }

/* FOOTER UPGRADE */
.pg-footer {
    background: #0d0d0d;
    border-top: 5px solid var(--primary);
}
.pg-footer-col h4 {
    position: relative;
    padding-bottom: 12px;
}
.pg-footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.pg-footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 10px; /* Smooth slide effect */
}

/* MOBILE RESPONSIVE FIXES */
/* Hide mobile menu on desktop by default */
.pg-gerocry-menu,
.mobile-overlay,
.mobile-search-box,
.mobile-quick-actions,
.mobile-main-nav,
.mobile-mega-section,
.mobile-bottom-links {
    display: none !important;
}

@media (max-width: 991px) {
    /* Show mobile menu only on mobile/tablet */
    .pg-gerocry-menu,
    .mobile-overlay,
    .mobile-search-box,
    .mobile-quick-actions,
    .mobile-main-nav,
    .mobile-mega-section,
    .mobile-bottom-links {
        display: flex !important;
    }
    
    .pg-mobile-btn {
        color: var(--dark);
        display: flex !important;
        transition: 0.3s;
    }
    .pg-mobile-btn:hover { color: var(--primary); }
    .pg-user-name { display: none; }
}

@media (min-width: 992px) {
    /* Hide mobile elements on desktop */
    .pg-mobile-btn,
    .pg-gerocry-menu,
    .mobile-overlay {
        display: none !important;
    }
    
    /* Ensure desktop menu is visible */
    .pg-menu {
        display: flex !important;
    }
}

/* MOBILE SLIDE MENU Glassmorphism */
.pg-gerocry-menu {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}
/* mobile menu */
/* MOBILE MENU CONTAINER */
.pg-gerocry-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.pg-gerocry-menu.menu-open {
    right: 0;
}

/* Mobile menu sections that need scrolling */
.mobile-mega-section {
    padding: 5px 10px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Header */
.pg-mobile-header {
    padding: 0px;
    /* background: linear-gradient(135deg, var(--dark) 0%, #000000 100%); */
}

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

.pg-mobile-logo {
    width: 200px;
    height: auto;
}

.pg-close {
    font-size: 20px;
    cursor: pointer;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #000000 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pg-close:hover {
   background: linear-gradient(135deg, var(--primary) 0%,var(--primary) 100%);
    transform: rotate(90deg);
}

.pg-close i,
.pg-close i::before {
    color: #fff !important;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99998;
}

.mobile-overlay.overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Search Box */
.mobile-search-box {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.mobile-search-form {
    display: flex;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.mobile-search-input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.mobile-search-btn {
    padding: 12px 18px;
    background: var(--primary);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-search-btn:hover {
    background: #e55a1a;
}

/* Quick Actions */
.mobile-quick-actions {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 10px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-action-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.mobile-action-btn i {
    font-size: 18px;
}

.mobile-action-badge {
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.mobile-action-btn:hover .mobile-action-badge {
    background: #fff;
    color: var(--primary);
}

/* Mobile Navigation Items */
.mobile-main-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-item:hover {
    background: linear-gradient(90deg, rgba(252, 110, 29, 0.1) 0%, transparent 100%);
    padding-left: 25px;
}

.mobile-nav-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #e55a1a 100%);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
}

.mobile-nav-text {
    flex: 1;
}

/* Categories Section */
.mobile-mega-section {
    padding: 15px 20px;
    flex: 1;
    overflow-y: auto;
}

.mobile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mobile-section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    font-weight: 700;
}

.mobile-expand-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
}

.mobile-expand-icon.active,
.mobile-expand-icon:hover {
    background: var(--primary);
    color: #fff;
}

.mobile-category-grid {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.mobile-category-grid.expanded,
.mobile-category-grid.show {
    display: flex;
}

.mobile-mega-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.mobile-mega-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(252, 110, 29, 0.1);
}

.mobile-mega-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}

.mobile-mega-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600 !important;
    color: var(--dark) !important;
    font-size: 14px;
    text-decoration: none;
}

.mobile-mega-title i {
    color: var(--primary);
    font-size: 14px;
}

.m-sub-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 12px;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.m-sub-toggle.active {
    transform: rotate(45deg);
    background: var(--primary);
    color: #fff;
}

.mobile-mega-subs {
    display: none;
    background: #fff;
    padding: 10px 15px;
    border-top: 1px solid #eee;
}

.mobile-mega-subs.show {
    display: block;
}

.mobile-mega-subs a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 12px 40px;
    font-size: 13px;
    color: #555 !important;
    text-decoration: none;
    border-bottom: 1px solid #f9f9f9;
    transition: all 0.2s ease;
}

.mobile-mega-subs a:hover {
    background: #f8f9fa;
    color: var(--primary) !important;
    padding-left: 45px;
}

.mobile-mega-subs a i {
    font-size: 10px;
    color: #bbb;
}

/* Bottom Links */
.mobile-bottom-links {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-bottom-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-bottom-links a:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.mobile-bottom-links a i {
    width: 20px;
    color: var(--primary);
}

/* Responsive for small mobile */
@media (max-width: 480px) {
    .pg-gerocry-menu {
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-quick-actions {
        flex-wrap: wrap;
    }
    
    .mobile-action-btn {
        min-width: calc(33.33% - 7px);
    }
}

/* Old styles - kept for compatibility */
.pg-gerocry-menu {
    background: #ffffff !important;
}

.mobile-main-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.mobile-main-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-main-nav a i { color: var(--primary); }

/* Categories Section */
.mobile-mega-section {
    padding: 15px 20px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.mobile-section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
    font-weight: 700;
}

.mobile-mega-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.mobile-mega-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
}

.mobile-mega-title {
    font-weight: 700 !important;
    color: var(--dark) !important;
    font-size: 15px;
}

.m-sub-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 12px;
    color: var(--primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.m-sub-toggle.active {
    transform: rotate(45deg);
    background: var(--primary);
    color: #fff;
}

.mobile-mega-subs {
    display: none; /* JS will toggle this */
    background: #fff;
    padding: 10px 15px;
    border-top: 1px solid #eee;
}

.mobile-mega-subs a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 14px;
    color: #555 !important;
    border-bottom: 1px solid #f9f9f9;
}

.mobile-mega-subs a i {
    font-size: 10px;
    color: var(--primary);
}
#mobileAllCatBtn i {
    transition: transform 0.3s ease;
}
.mobile-category-grid {
    margin-top: 15px;
}

/* Animation removed - using CSS transitions instead */