/* ==========================================
   NOVAÉ - Luxury E-Commerce Responsive Styles
   Breakpoints: 1200px, 1024px, 768px, 480px
   ========================================== */

/* Laptop & Desktop (1200px and below) */
@media (max-width: 1200px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--spacing-lg);
  }
}

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
  }

  .nav-menu {
    gap: var(--spacing-md);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section .grid-2 {
    grid-template-columns: 1fr;
  }

  .quickview-grid {
    grid-template-columns: 1fr;
  }

  .quickview-details {
    padding: var(--spacing-md);
  }
}

/* Mobile & Tablet Portrait (768px and below) */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Mobile Full Drawer Navigation */
  .mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 2200;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
  }

  .mobile-nav-drawer.active {
    transform: translateX(0);
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
  }

  /* Shop filter bottom sheet on mobile */
  .shop-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 80vh;
    background-color: var(--bg-secondary);
    z-index: 2100;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: var(--spacing-lg);
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform var(--transition-smooth);
    box-shadow: var(--shadow-lg);
  }

  .shop-sidebar.active {
    transform: translateY(0);
  }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
  .brand-logo {
    font-size: 1.7rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  .product-quick-actions {
    display: none; /* Show direct tap trigger on mobile */
  }

  .sticky-mobile-buy {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    z-index: 990;
    display: flex;
    gap: 12px;
    box-shadow: var(--shadow-lg);
  }
}
