/* ==========================================================================
   BusanaLab - Mobile First & Responsive Breakpoints
   ========================================================================== */

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.25rem;
}

@media (max-width: 1024px) {
  .editor-layout {
    grid-template-columns: 280px 1fr;
  }
  .sketch-layout {
    grid-template-columns: 260px 1fr;
  }
  .editor-sidebar.right-sidebar {
    grid-column: 1 / -1;
    max-height: none;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.show {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .editor-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sketch-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pola-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pola-chips {
    display: flex;
  }

  .editor-sidebar {
    max-height: none;
  }

  #fashion-stage {
    width: 330px;
    height: 420px;
  }

  .hero-card {
    padding: 2rem 1.25rem;
  }

  .hero-card h1 {
    font-size: 1.75rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .main-wrapper {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .brand-logo span {
    font-size: 1.1rem;
  }
  #fashion-stage {
    width: 290px;
    height: 380px;
  }
  .toolbar-group {
    flex-wrap: wrap;
  }
}
