* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fefefe;
}

.overlay {
  background: url('./BG/1440x1024-desktop-dog.png') no-repeat bottom center;
  background-size: cover;
  min-height: 100vh;
  padding: 25px 10px;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

header {
  text-align: left;
  margin-bottom: 15px;
}

header img {
  max-width: 700px;
  height: auto;
  width: 100%;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.product {
  width: 100%;
  height: auto;
  max-width: 260px;
}

.retailer {
  margin-top: -8px;
}

.retailer img {
  width: 100%;
  max-width: 260px;
  display: block;
  margin-bottom: -8px;
}

/* Tablet (smaller desktop) */
@media (max-width: 1200px) {
  .overlay {
    background: url('./BG/1440x1024-desktop-dog.png') no-repeat right center;
    background-size: cover;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .overlay {
    background: url('./BG/puppy_background_2x.png') no-repeat bottom center fixed;
    background-size: cover;
    padding: 0px;
  }

  .container {
    gap: 16px;
  }

  header {
      text-align: center;
      overflow: hidden;
      display: flex;
      justify-content: center;
      margin-bottom: -20px;
  }

  header img {
      width: 480px;
      position: relative;
      bottom: 35px;
  }

  body {
      overflow: hidden;
  }

  .card {
    align-items: center;
  }
}
