/* ============================================
   LuxeNest Interiors — Responsive Styles
   Desktop / Laptop / Tablet / Mobile
   ============================================ */

@media (max-width: 1200px) {
  .cat-grid,
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-image-wrap img {
    height: min(58vh, 480px);
  }

  .hero-float.f1 { left: 8px; }
  .hero-float.f2 { right: 8px; }

  .nav-links a {
    padding: 8px 8px;
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .story-grid,
  .pdp,
  .cart-layout,
  .checkout-grid,
  .contact-grid,
  .promo {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 36px 0 48px;
  }

  .hero-copy {
    padding-left: 16px;
  }

  .hero-image-wrap img {
    height: 420px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid,
  .stats-row,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .decor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-strip {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-strip form {
    min-width: 0;
    width: 100%;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .navbar .container {
    position: relative;
  }

  .help-cards,
  .blog-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .product-slider {
    gap: 8px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .topbar .container {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    min-height: 0;
    padding: 28px 0 48px;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .section {
    padding: 64px 0;
  }

  .cat-grid,
  .collection-grid,
  .product-grid,
  .blog-grid,
  .testimonial-grid,
  .help-cards {
    grid-template-columns: 1fr 1fr;
  }

  .promo {
    padding: 32px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item > div:last-child {
    grid-column: 1 / -1;
  }

  .gallery-main {
    height: 360px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom > span:first-child,
  .footer-bottom nav {
    justify-self: center;
  }

  .page-hero {
    padding: 40px 0;
  }

  .legal {
    padding: 28px 22px;
  }
}

@media (max-width: 560px) {
  .cat-grid,
  .collection-grid,
  .product-grid,
  .blog-grid,
  .testimonial-grid,
  .help-cards,
  .values-grid,
  .stats-row,
  .team-grid,
  .decor-grid {
    grid-template-columns: 1fr;
  }

  .decor-item.wide,
  .decor-item.tall {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
  }

  .hero-copy {
    padding-left: 8px;
  }

  .hero-image-wrap img {
    height: 280px;
  }

  .hero-float {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .nav-login span {
    display: none;
  }

  .card-actions {
    opacity: 1;
    transform: none;
  }

  .pdp-actions .btn {
    flex: 1;
  }

  .qty-row {
    flex-wrap: wrap;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .newsletter-strip form {
    flex-direction: column;
  }
}
