/* Overlay backdrop */
    .mobile-menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0);
      z-index: 99998;
      pointer-events: none;
      transition: background 0.35s ease;
    }
    .mobile-menu-overlay.active {
      background: rgba(0, 0, 0, 0.5);
      pointer-events: all;
    }

    /* Slide-in panel */
    .mobile-menu-panel {
      position: fixed;
      top: 0;
      right: 0;
      width: 320px;
      max-width: 85vw;
      height: 100%;
      background: #050d1a;
      z-index: 99999999999;
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    .mobile-menu-panel.open {
      transform: translateX(0);
    }

    /* Panel header */
    .mobile-menu-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 24px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mobile-menu-header img {
      height: 30px;
      width: auto;
    }
    .mobile-menu-close {
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.6);
      font-size: 22px;
      padding: 8px;
      cursor: pointer;
      transition: color 0.2s, transform 0.2s;
      line-height: 1;
    }
    .mobile-menu-close:hover {
      color: #fff;
      transform: rotate(90deg);
    }

    /* Search section */
    .mobile-menu-search {
      padding: 20px 24px 12px;
      font-size: 13px;
    }
    .mobile-menu-search input,
    .mobile-menu-search input::placeholder {
      font-size: 16px;
    }

    /* Quick action buttons */
    .mobile-menu-actions {
      display: flex;
      gap: 10px;
      padding: 8px 24px 20px;
    }
    .mobile-menu-actions a {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .mobile-menu-actions a:active {
      transform: scale(0.97);
    }
    .mobile-menu-actions .mm-coa-btn {
      background: linear-gradient(135deg, #0d6efd, #0b5ed7);
      color: #fff;
    }
    .mobile-menu-actions .mm-cart-btn {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.12);
    }
    .mobile-menu-actions .mm-cart-btn .cart-count {
      background: orange;
      color: #fff;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
    }

    /* Divider */
    .mobile-menu-divider {
      height: 1px;
      background: rgba(255, 255, 255, 0.08);
      margin: 0 24px;
    }

    /* Navigation links */
    .mobile-menu-nav {
      padding: 12px 0;
      flex: 1;
    }
    .mobile-menu-nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .mobile-menu-nav > ul > li {
      opacity: 0;
      transform: translateX(20px);
    }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li {
      opacity: 1;
      transform: translateX(0);
      transition: opacity 0.35s ease, transform 0.35s ease;
    }
    /* Stagger animation for each menu item */
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(1) { transition-delay: 0.08s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(2) { transition-delay: 0.12s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(3) { transition-delay: 0.16s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(4) { transition-delay: 0.20s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(5) { transition-delay: 0.24s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(6) { transition-delay: 0.28s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(7) { transition-delay: 0.32s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(8) { transition-delay: 0.36s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(9) { transition-delay: 0.40s; }
    .mobile-menu-panel.open .mobile-menu-nav > ul > li:nth-child(10) { transition-delay: 0.44s; }

    .mobile-menu-nav a {
      display: block;
      padding: 14px 24px;
      color: rgba(255, 255, 255, 0.85);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      letter-spacing: 0.3px;
      transition: background 0.2s, color 0.2s, padding-left 0.2s;
      border-left: 3px solid transparent;
    }
    .mobile-menu-nav a:hover,
    .mobile-menu-nav a:focus {
      background: rgba(255, 255, 255, 0.05);
      color: #fff;
      padding-left: 28px;
      border-left-color: #0d6efd;
    }
    .mobile-menu-nav .current-menu-item > a,
    .mobile-menu-nav .current_page_item > a {
      color: #fff;
      border-left-color: #0d6efd;
      background: rgba(13, 110, 253, 0.08);
    }

    /* Sub-menus */
    .mobile-menu-nav .sub-menu {
      padding-left: 0;
      background: rgba(0, 0, 0, 0.15);
    }
    .mobile-menu-nav .sub-menu a {
      padding-left: 40px;
      font-size: 14px;
      color: rgba(255, 255, 255, 0.6);
    }
    .mobile-menu-nav .sub-menu a:hover {
      padding-left: 44px;
      color: rgba(255, 255, 255, 0.9);
    }

    /* Footer section */
    .mobile-menu-footer {
      padding: 20px 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      margin-top: auto;
    }
    .mobile-menu-footer .mm-account-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 10px;
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: background 0.2s;
      margin-bottom: 10px;
    }
    .mobile-menu-footer .mm-account-link:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }
    .mobile-menu-footer .mm-account-link i {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      font-size: 14px;
    }
    .mobile-menu-footer .mm-account-links {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .mobile-menu-footer .mm-account-sub {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      color: rgba(255, 255, 255, 0.5);
      text-decoration: none;
      font-size: 13px;
      border-radius: 8px;
      transition: background 0.2s, color 0.2s;
    }
    .mobile-menu-footer .mm-account-sub:hover {
      background: rgba(255, 255, 255, 0.05);
      color: rgba(255, 255, 255, 0.8);
    }
    .mobile-menu-footer .mm-account-sub i {
      width: 20px;
      text-align: center;
      font-size: 12px;
    }

    .mobile-menu-translate {
      padding: 12px 0 0;
    }

    /* Prevent body scroll when menu is open */
    body.mobile-menu-open {
      overflow: hidden;
    }

    /* Hide on desktop */
    @media (min-width: 992px) {
      .mobile-menu-panel,
      .mobile-menu-overlay,
      .mobile-menu-toggle {
        display: none !important;
      }
    }