@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-grid,
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.7rem 0;
  }
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 56px;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 0.8rem 1.5rem 1.2rem;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    transform-origin: top;
    transform: scaleY(0.7);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease;
  }
  .nav--open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    order: -1;
  }
  .product-grid,
  .card-grid,
  .blog-list,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cookie-banner {
    flex-direction: column;
    bottom: 0.8rem;
  }
}

@media (max-width: 540px) {
  .product-grid,
  .card-grid,
  .blog-list,
  .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
