html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #000 !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
    background-color: #000000;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Main container */
  .products-main {
      background-color: #000000;
      padding-top: 30px;
      padding-bottom: 60px;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 120px;
  }
  
  .products-header {
      background-color: #000000;
      color: white;
      font-family: "Fjalla One", sans-serif;
      font-size: 2rem;
      display: flex;
      justify-content: center;
      padding-top: 30px;
      padding-bottom: 10px;
  }
  
  /* Individual product box */
  .product-1 {
      width: 300px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      border: none;
      padding: 0px;
      box-sizing: border-box;
      background-color: #000000;
      position: relative;
      transition: box-shadow 0.3s ease;
  }
  
  /* Hover image on any part of product box */
  .product-1:hover img {
      transform: scale(1.05);
      box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.7);
  }
  
  /* Link styles */
  .product-link {
      display: block;
      text-decoration: none;
      height: 100%;
  }
  
  /* Image container */
  .product-image1 {
      width: 100%;
      overflow: hidden;
      position: relative;
      flex-grow: 1;
  }
  
  /* Image styles */
  .product-image1 img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      object-position: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Title styles */
  .product-title1 {
      background-color: #000000;
      color: white;
      font-family: "Montserrat", sans-serif;
      text-align: center;
      font-size: 16px;
      font-weight: 300;
      margin-top: 10px;
      padding: 0;
  }
  
  /* Underline title when hovering anywhere on the product */
  .product-1:hover .product-title1 p {
      text-decoration: underline;
  }
  
  .product-title1 p {
      margin: 0;
      padding: 0;
      transition: text-decoration 0.3s ease;
  }
  .product-image1 {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex-grow: 1;
}

/* Add shadow overlay */
.product-image1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* fully transparent by default */
    transition: background 0.3s ease;
    pointer-events: none; /* so it doesn't block hover */
}

/* On hover, fade in a subtle shadow */
.product-1:hover .product-image1::after {
    background: rgba(0, 0, 0, 0.25); /* slight black shadow overlay */
}
