
.product-form-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin: 20px auto;
  max-width: 1000px;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.product-cell-contact {
  flex: 1;
  max-width: 45%;
}

.product-cell-contact img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Form  ---*/
.form {
  flex: 1;
  max-width: 45%;
  padding: 20px;
  border: 1px solid #E8D2D2;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.form input,
.form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form button {
  background-color: red;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.form button:hover {
  background-color: #cc0000;
}





/* Responsive: Stack vertically on small screens */
@media screen and (max-width: 768px) {
  .product-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-cell {
    width: 90%; /* Full width but with some margin on sides */
    height: auto; /* Let it grow as per content */
  }
}



/* desktop media queries */

@media screen and (min-width: 1920px) {
  .product-cell {
    width: 242px;
    height: 242px;
  }
}

/* Laptop Media Queries    */

@media screen and (max-width: 1440px) {
  .product-cell {
    width: 230px;
  }
}

@media screen and (max-width: 1280px) {
  .product-cell {
    width: 220px;
  }
}

@media screen and (max-width: 1149px) {
  .product-cell {
    width: 210px;
  }
}

@media screen and (max-width: 1081px) {
  .product-cell {
    width: 200px;
  }
}

@media screen and (max-width: 1024px) {
  .product-cell {
    width: 190px;
  }
}

/* Tablet Media Queries */

@media screen and (max-width: 1024px) {
  .product-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .product-cell {
    width: 45%;
    height: auto;
  }
}

@media screen and (max-width: 834px) {
  .product-cell {
    width: 48%;
    height: auto;
  }
}

/*  Mobile Phone Media Queries */

@media screen and (max-width: 768px) {
  .product-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-cell {
    width: 90%;
    height: auto;
  }
}

@media screen and (max-width: 600px) {
  .product-cell {
    width: 95%;
  }
}

/* small phones */
@media screen and (max-width: 480px) {
  .product-cell {
    width: 95%;
  }
}

@media screen and (max-width: 375px) {
  .product-cell {
    width: 100%;
  }
}

@media screen and (max-width: 320px) {
  .product-cell {
    width: 100%;
    padding: 8px;
  }
}

