/* Mobile-first responsive styles */
:root {
  --page-bg: #f8fafc;
  --card-bg: #ffffff;
  --shadow-soft: 0 18px 60px -45px rgba(15, 23, 42, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  transition: all 0.2s ease-in-out;
}

main {
  width: min(100%, 1200px);
  margin-inline: auto;
}

section {
  width: 100%;
}

#productGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

#productGrid > article {
  width: 100%;
  overflow: hidden;
  background: var(--card-bg);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  #productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  #productGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  main {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .rounded-\[32px\],
  .rounded-\[28px\] {
    border-radius: 1.25rem !important;
  }
}
