/* ═══════════════════════════════════════════════════════════
   RAYKA MEGA MENU - Premium Complete Design
   Desktop + Mobile Drawer - Zero Bugs
   ═══════════════════════════════════════════════════════════ */

:root {
    --mm-primary: #F97316;
    --mm-primary-dark: #EA580C;
    --mm-primary-light: #FFF7ED;
    --mm-secondary: #6366F1;
    --mm-yellow: #FBBF24;
    --mm-red: #DC2626;
    --mm-dark: #111827;
    --mm-gray-50: #F9FAFB;
    --mm-gray-100: #F3F4F6;
    --mm-gray-200: #E5E7EB;
    --mm-gray-300: #D1D5DB;
    --mm-gray-400: #9CA3AF;
    --mm-gray-500: #6B7280;
    --mm-gray-600: #4B5563;
    --mm-gray-700: #374151;
    --mm-gray-800: #1F2937;
    --mm-gray-900: #111827;
    --mm-white: #FFFFFF;
    --mm-gradient: linear-gradient(135deg, #F97316 0%, #DC2626 100%);
    --mm-gradient-warm: linear-gradient(135deg, #FBBF24 0%, #F97316 50%, #DC2626 100%);
    --mm-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --mm-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --mm-shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --mm-shadow-brand: 0 10px 30px rgba(249, 115, 22, 0.25);
    --mm-radius: 12px;
    --mm-radius-lg: 16px;
    --mm-radius-xl: 20px;
    --mm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════
   DESKTOP MEGA MENU
   ═══════════════════════════════════════════════════════════ */

.mega-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mega-nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-nav-item {
    position: relative;
}

.mega-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: var(--mm-gray-700);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--mm-transition);
    white-space: nowrap;
    position: relative;
}

.mega-nav-link i:first-child {
    font-size: 0.875rem;
    color: var(--mm-primary);
    transition: var(--mm-transition);
}

.mega-nav-link:hover,
.mega-nav-link.active {
    background: var(--mm-primary-light);
    color: var(--mm-primary);
}

.mega-nav-link:hover i:first-child,
.mega-nav-link.active i:first-child {
    transform: scale(1.1);
}

.mega-chevron {
    font-size: 0.625rem;
    color: var(--mm-gray-400);
    transition: transform 0.3s ease;
}

.has-mega.is-open .mega-chevron,
.has-mega:hover .mega-chevron {
    transform: rotate(180deg);
    color: var(--mm-primary);
}

/* ═══════════════════════════════════════════════════════════
   MEGA DROPDOWN - با پل نامرئی برای حل مشکل hover gap
   ═══════════════════════════════════════════════════════════ */

.mega-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 50%;
    transform: translateX(50%) translateY(10px);
    width: 920px;
    max-width: 94vw;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 2000;
}

/* ═══ Invisible Hover Bridge - کلیدی‌ترین بخش ═══ */
.mega-hover-bridge {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    display: none;
}

.has-mega:hover .mega-hover-bridge,
.has-mega.is-open .mega-hover-bridge {
    display: block;
}

.has-mega.is-open .mega-dropdown,
.has-mega:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
}

.mega-dropdown-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--mm-white);
    border-radius: var(--mm-radius-xl);
    box-shadow: var(--mm-shadow-lg);
    border: 1px solid var(--mm-gray-200);
    overflow: hidden;
    min-height: 520px;
    position: relative;
}

/* فلش کوچک بالای dropdown */
.mega-dropdown-inner::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 50%;
    transform: translateX(50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: var(--mm-white);
    border-left: 1px solid var(--mm-gray-200);
    border-top: 1px solid var(--mm-gray-200);
    z-index: 1;
}

/* ═══════ Parents Column (Right) ═══════ */
.mega-parents-col {
    padding: 1.5rem 1rem;
    background: linear-gradient(180deg, var(--mm-gray-50), var(--mm-white));
    border-left: 1px solid var(--mm-gray-200);
    overflow-y: auto;
    max-height: 560px;
}

.mega-parents-col::-webkit-scrollbar { width: 4px; }
.mega-parents-col::-webkit-scrollbar-track { background: var(--mm-gray-100); border-radius: 2px; }
.mega-parents-col::-webkit-scrollbar-thumb { background: var(--mm-primary); border-radius: 2px; }

.mega-parents-header {
    padding: 0 0.5rem 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--mm-gray-200);
    position: relative;
}

.mega-parents-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0.5rem;
    width: 40px;
    height: 2px;
    background: var(--mm-gradient);
}

.mega-parents-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--mm-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.mega-parents-header i {
    color: var(--mm-primary);
}

.mega-parents-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-parent-item {
    margin: 0;
}

.mega-parent-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    color: var(--mm-gray-700);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--mm-transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.parent-icon {
    width: 34px;
    height: 34px;
    background: var(--mm-primary-light);
    color: var(--mm-primary);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    flex-shrink: 0;
    transition: var(--mm-transition);
}

.parent-name {
    flex: 1;
    transition: var(--mm-transition);
}

.parent-arrow {
    font-size: 0.6875rem;
    color: var(--mm-gray-300);
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--mm-transition);
}

.mega-parent-link:hover,
.mega-parent-item.is-active .mega-parent-link {
    background: var(--mm-gradient);
    color: var(--mm-white);
    box-shadow: var(--mm-shadow-brand);
    transform: translateX(-3px);
}

.mega-parent-link:hover .parent-icon,
.mega-parent-item.is-active .parent-icon {
    background: rgba(255, 255, 255, 0.25);
    color: var(--mm-white);
}

.mega-parent-link:hover .parent-arrow,
.mega-parent-item.is-active .parent-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--mm-white);
}

.mega-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0 0;
    padding: 0.75rem 1rem;
    background: var(--mm-gray-100);
    color: var(--mm-gray-700);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--mm-transition);
}

.mega-view-all:hover {
    background: var(--mm-dark);
    color: var(--mm-white);
    transform: translateY(-2px);
}

/* ═══════ Children Column (Left) ═══════ */
.mega-children-col {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    max-height: 560px;
}

.mega-panels-wrapper {
    flex: 1;
    position: relative;
}

.mega-panel {
    display: none;
    animation: megaFadeSlide 0.35s ease;
}

.mega-panel.is-active {
    display: block;
}

@keyframes megaFadeSlide {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--mm-gray-200);
    position: relative;
}

.panel-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: var(--mm-gradient);
}

.panel-icon {
    width: 44px;
    height: 44px;
    background: var(--mm-gradient);
    color: var(--mm-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    box-shadow: var(--mm-shadow-brand);
    flex-shrink: 0;
}

.panel-title small {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--mm-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.panel-title h5 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--mm-dark);
    margin: 0;
}

.mega-children-grid {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
}

.mega-child-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
    color: var(--mm-gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9px;
    transition: var(--mm-transition);
    position: relative;
    border: 1px solid transparent;
}

.child-dot {
    width: 6px;
    height: 6px;
    background: var(--mm-gray-300);
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--mm-transition);
}

.child-name {
    flex: 1;
    transition: var(--mm-transition);
}

.child-arrow {
    opacity: 0;
    transform: translateX(-6px);
    color: var(--mm-primary);
    font-size: 0.6875rem;
    transition: var(--mm-transition);
}

.mega-child-link:hover {
    background: var(--mm-primary-light);
    color: var(--mm-primary);
    border-color: rgba(249, 115, 22, 0.15);
    transform: translateX(-3px);
}

.mega-child-link:hover .child-dot {
    background: var(--mm-primary);
    transform: scale(1.4);
}

.mega-child-link:hover .child-arrow {
    opacity: 1;
    transform: translateX(0);
}

.panel-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: var(--mm-primary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--mm-transition);
}

.panel-view-all:hover {
    background: var(--mm-primary-light);
    gap: 0.75rem;
}

.mega-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--mm-gray-400);
}

.mega-empty i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.4;
}

.mega-empty p {
    margin: 0;
    font-size: 0.875rem;
}

/* ═══════ Promo Card ═══════ */
.mega-promo-card {
    position: relative;
    background: var(--mm-gradient);
    border-radius: var(--mm-radius-lg);
    padding: 1.25rem;
    overflow: hidden;
    color: var(--mm-white);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.promo-blob {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 160px;
    height: 160px;
    opacity: 0.5;
    pointer-events: none;
}

.promo-blob svg {
    width: 100%;
    height: 100%;
}

.promo-icon {
    position: relative;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 2;
    flex-shrink: 0;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-content h6 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.125rem;
}

.promo-content p {
    font-size: 0.8125rem;
    opacity: 0.95;
    margin: 0;
}

.promo-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: var(--mm-white);
    color: var(--mm-primary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--mm-transition);
    z-index: 2;
    white-space: nowrap;
    flex-shrink: 0;
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: var(--mm-primary);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE DRAWER - Premium Redesign
   ═══════════════════════════════════════════════════════════ */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -380px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: var(--mm-white);
    z-index: 2999;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.is-active {
    right: 0;
}

.mobile-drawer::-webkit-scrollbar { width: 6px; }
.mobile-drawer::-webkit-scrollbar-thumb { background: var(--mm-gray-300); border-radius: 3px; }

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--mm-primary-light), var(--mm-white));
    border-bottom: 1px solid var(--mm-gray-200);
    flex-shrink: 0;
}

.drawer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon-sm {
    width: 44px;
    height: 44px;
    background: var(--mm-gradient);
    color: var(--mm-white);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--mm-shadow-brand);
}

.drawer-logo strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    background: var(--mm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.drawer-logo small {
    display: block;
    font-size: 0.6875rem;
    color: var(--mm-gray-500);
    margin-top: 2px;
}

.drawer-close {
    width: 38px;
    height: 38px;
    background: var(--mm-white);
    border: 1px solid var(--mm-gray-200);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mm-gray-700);
    font-size: 1rem;
    transition: var(--mm-transition);
}

.drawer-close:hover {
    background: #FEE2E2;
    color: var(--mm-red);
    border-color: #FCA5A5;
    transform: rotate(90deg);
}

/* User Section */
.drawer-user-section {
    padding: 1.25rem 1.5rem;
    background: var(--mm-gray-50);
    border-bottom: 1px solid var(--mm-gray-200);
    flex-shrink: 0;
}

.drawer-user-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: var(--mm-white);
    border-radius: var(--mm-radius);
    text-decoration: none;
    border: 1px solid var(--mm-gray-200);
    transition: var(--mm-transition);
}

.drawer-user-card:hover {
    border-color: var(--mm-primary);
    box-shadow: var(--mm-shadow-sm);
}

.drawer-user-avatar {
    width: 44px;
    height: 44px;
    background: var(--mm-gradient);
    color: var(--mm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.drawer-user-info {
    flex: 1;
    min-width: 0;
}

.drawer-user-info strong {
    display: block;
    color: var(--mm-dark);
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-user-info small {
    display: block;
    color: var(--mm-gray-500);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-user-card i.fa-chevron-left {
    color: var(--mm-gray-400);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Guest Box */
.drawer-guest {
    text-align: center;
    padding: 0.5rem 0;
}

.drawer-guest-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    background: var(--mm-gradient);
    color: var(--mm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--mm-shadow-brand);
}

.drawer-guest p {
    color: var(--mm-gray-600);
    font-size: 0.875rem;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.drawer-guest-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.drawer-btn-outline,
.drawer-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    transition: var(--mm-transition);
}

.drawer-btn-outline {
    background: var(--mm-white);
    color: var(--mm-primary);
    border: 2px solid var(--mm-primary);
}

.drawer-btn-outline:hover {
    background: var(--mm-primary-light);
}

.drawer-btn-primary {
    background: var(--mm-gradient);
    color: var(--mm-white);
    box-shadow: var(--mm-shadow-brand);
}

.drawer-btn-primary:hover {
    transform: translateY(-1px);
}

/* Drawer Search */
.drawer-search {
    margin: 1rem 1.5rem;
    position: relative;
    flex-shrink: 0;
}

.drawer-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mm-gray-400);
    font-size: 0.875rem;
    pointer-events: none;
}

.drawer-search input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.5rem;
    background: var(--mm-gray-100);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--mm-dark);
    transition: var(--mm-transition);
}

.drawer-search input:focus {
    outline: none;
    background: var(--mm-white);
    border-color: var(--mm-primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

/* Drawer Navigation */
.drawer-nav {
    flex: 1;
    padding: 0.5rem 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.drawer-nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.drawer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-menu-item {
    border-bottom: 1px solid var(--mm-gray-100);
}

.drawer-menu-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.5rem;
    color: var(--mm-gray-700);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    transition: var(--mm-transition);
}

.drawer-menu-link:hover,
.drawer-menu-link.active {
    background: var(--mm-primary-light);
    color: var(--mm-primary);
}

.drawer-menu-link i:first-child {
    width: 24px;
    color: var(--mm-primary);
    font-size: 1rem;
    text-align: center;
}

.drawer-menu-link span {
    flex: 1;
}

.submenu-arrow {
    font-size: 0.75rem;
    color: var(--mm-gray-400);
    transition: transform 0.3s ease;
}

.has-submenu.is-open .submenu-arrow {
    transform: rotate(180deg);
    color: var(--mm-primary);
}

/* Drawer Submenu */
.drawer-submenu {
    max-height: 0;
    overflow: hidden;
    background: var(--mm-gray-50);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.has-submenu.is-open .drawer-submenu {
    max-height: 3000px;
}

/* Parent Groups (Nested) */
.drawer-parent-group {
    border-bottom: 1px solid var(--mm-gray-200);
}

.drawer-parent-group:last-child {
    border-bottom: none;
}

.drawer-parent-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--mm-dark);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    transition: var(--mm-transition);
}

.drawer-parent-trigger:hover {
    background: var(--mm-white);
}

.drawer-parent-icon {
    width: 30px;
    height: 30px;
    background: var(--mm-primary-light);
    color: var(--mm-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    flex-shrink: 0;
    transition: var(--mm-transition);
}

.drawer-parent-group.is-open .drawer-parent-icon {
    background: var(--mm-gradient);
    color: var(--mm-white);
}

.drawer-parent-name {
    flex: 1;
}

.parent-arrow {
    font-size: 0.6875rem;
    color: var(--mm-gray-400);
    transition: transform 0.3s ease;
}

.drawer-parent-group.is-open .parent-arrow {
    transform: rotate(180deg);
    color: var(--mm-primary);
}

.drawer-parent-content {
    max-height: 0;
    overflow: hidden;
    background: var(--mm-white);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-parent-group.is-open .drawer-parent-content {
    max-height: 1000px;
}

.drawer-children-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-child-link {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 3.75rem;
    color: var(--mm-gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid var(--mm-gray-100);
    transition: var(--mm-transition);
    position: relative;
}

.drawer-child-link::before {
    content: '';
    position: absolute;
    right: 2.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--mm-gray-300);
    border-radius: 50%;
    transition: var(--mm-transition);
}

.drawer-child-link:hover {
    background: var(--mm-primary-light);
    color: var(--mm-primary);
    padding-right: 2.25rem;
}

.drawer-child-link:hover::before {
    background: var(--mm-primary);
    transform: translateY(-50%) scale(1.5);
}

.drawer-parent-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem;
    color: var(--mm-primary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    background: var(--mm-primary-light);
    transition: var(--mm-transition);
}

.drawer-parent-view-all:hover {
    background: var(--mm-primary);
    color: var(--mm-white);
}

.drawer-view-all-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 1.5rem;
    padding: 0.875rem;
    background: var(--mm-gradient);
    color: var(--mm-white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: var(--mm-shadow-brand);
    transition: var(--mm-transition);
}

.drawer-view-all-categories:hover {
    transform: translateY(-2px);
    color: var(--mm-white);
}

/* Drawer Footer */
.drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--mm-gray-200);
    background: var(--mm-gray-50);
    flex-shrink: 0;
}

.drawer-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--mm-white);
    border: 2px solid var(--mm-primary);
    border-radius: var(--mm-radius);
    text-decoration: none;
    color: var(--mm-dark);
    transition: var(--mm-transition);
    margin-bottom: 1rem;
}

.drawer-contact-btn:hover {
    background: var(--mm-primary);
    color: var(--mm-white);
}

.drawer-contact-btn i {
    width: 40px;
    height: 40px;
    background: var(--mm-primary-light);
    color: var(--mm-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--mm-transition);
}

.drawer-contact-btn:hover i {
    background: rgba(255, 255, 255, 0.2);
    color: var(--mm-white);
}

.drawer-contact-btn strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.drawer-contact-btn small {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.8;
}

.drawer-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.drawer-social a {
    width: 40px;
    height: 40px;
    background: var(--mm-white);
    border: 1px solid var(--mm-gray-200);
    color: var(--mm-gray-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--mm-transition);
}

.drawer-social a:hover {
    background: var(--mm-gradient);
    color: var(--mm-white);
    border-color: transparent;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .mega-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-drawer {
        width: 100%;
        max-width: 100vw;
        right: -100%;
    }
}

@media (min-width: 1201px) {
    .mobile-drawer,
    .mobile-overlay {
        display: none !important;
    }
}