.wrapper {
  margin: 0 auto;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(minmax(150px, 1fr));
  grid-template-rows: max-content;
}

#inventory {
  color: red;
}

.product-image {
  grid-column: 1/2;
  grid-row: 1/4;
}

.product-image img {
  width: 90%;
  border-radius: 15px;
  box-shadow: 5px 5px 15px #333;
}

.product-para {
  grid-row: 1;
  grid-column: 2/4;
}

.price {
  grid-row: 2;
  grid-column: 2/4;
}

.price p {
  font-weight: bolder;  
  margin: 0;
}

.price h3 {
  font-size: 1.5em;
}
  
  
.price a {
  text-decoration: none;
  color: maroon;
  font-size: 1.5em;
}

.button {
  grid-row: 3;
  grid-column: 3/4;
  margin: 1em 0 0 0;
}

.button a {
  text-decoration: none;
}

.button img {
  width: 30%;
}

.cta {
  width: 100%;
}

.cta h3 {
  text-align: right;
  font-size: 1.4em;
}

.cta h3 a {
  color: maroon;
  text-decoration: none;
}

.outStock {
  color: maroon;
  text-shadow: 2px 2px 4px #555;
}



@media only screen and (max-width: 1199px) {
  .width-container {
    width: 90%;
  }

}


@media only screen and (max-width: 960px) {

  .product-image img {
    width: 100%;
  }

  .product-para {
    width: 85%;
    justify-self: end;
  }

  .price {
    text-align: right;
  }


  .button {
    grid-column: 2/4;

  }

  .button img {
    width: 20%;
    margin: auto 5%;

  }

}


@media only screen and (max-width: 768px) {
  .product-image {
    grid-column: 1/4;
    grid-row: 1/2;
  }

  .product-image img {
    width: 60%;
    
  }

  .product-para {
    grid-row: 2/3;
    grid-column: 1/4;
    width: 90%;
  }

  .price {
    grid-row: 3/4;
  }

   .button {
    grid-row: 4/5;
    grid-column: 1/4;
  }

  .button img {
    width: 20%;
  }
}

@media only screen and (max-width: 610px) {

  .product-image img {
    width: 70%;
  }

  .button img {
    width: 25%;
    margin: auto 2%;

  }

}


@media only screen and (max-width: 480px) {}


@media only screen and (max-width: 320px) {}