@media (max-width: 767px), (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  #gstore-side-menu {
    position: fixed;
    inset: 0;
    z-index: 100200;
    pointer-events: none;
  }

  #gstore-side-menu.is-open {
    pointer-events: auto;
  }

  .gstore-side-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(128, 128, 128, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100200;
    pointer-events: none;
  }

  #gstore-side-menu.is-open .gstore-side-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .side-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    max-width: 320px;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 100210;
    display: flex;
    flex-direction: column;
    transform: translateX(-110%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 5px 0 30px rgba(0,0,0,0.1);
  }

  #gstore-side-menu.is-open .side-menu-drawer {
    transform: translateX(0);
  }

  .side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    min-height: 60px;
  }

  .side-menu-header .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.06);
  }

  .side-menu-header .icon-btn svg {
    width: 20px;
    height: 20px;
    stroke: #333;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .logo-area {
    font-size: 18px;
    font-weight: 700;
    color: #333;
  }

  .menu-scroll-area {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .account-section-container {
    padding: 15px 20px;
    background: linear-gradient(to bottom, rgba(58, 111, 248, 0.03), transparent);
  }

  .account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .account-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #64748b;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  .account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .account-name {
    font-weight: 600;
    font-size: 16px;
    color: #1e293b;
  }

  .account-link {
    font-size: 12px;
    font-weight: 600;
    color: #3a6ff8;
    background: rgba(58, 111, 248, 0.08);
    border-radius: 999px;
    padding: 6px 10px;
  }

  .guest-view {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .guest-info {
    flex: 1;
  }

  .guest-name {
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
  }

  .guest-subtitle {
    font-size: 12px;
    color: #64748b;
  }

  .login-btn-primary {
    background: #3a6ff8;
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
  }

  .menu-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 10px 0 20px;
  }

  .menu-section {
    padding: 0 20px 20px;
  }

  .menu-section-title {
    font-size: 13px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    font-weight: 600;
  }

  .menu-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8px;
    border-radius: 10px;
    color: #1e293b;
    font-weight: 600;
    background: rgba(255,255,255,0.55);
    text-decoration: none;
  }

  .side-menu-footer {
    padding: 12px 20px 18px;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .switcher-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .switcher-label {
    font-size: 12px;
    color: #64748b;
  }

  .lang-switcher,
  .theme-switcher {
    display: flex;
    gap: 6px;
  }

  .lang-btn,
  .theme-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .theme-btn {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
  }

  .lang-btn.active {
    border-color: #3a6ff8;
    box-shadow: 0 0 0 2px rgba(58, 111, 248, 0.2);
  }

  .theme-btn svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  #gstore-side-menu { display: none !important; }
}

@media (min-width: 1025px) {
  #gstore-side-menu { display: none !important; }
}
