.content-margin{
  padding: 1.5em;
  height: 100%;
  background-color: #f6f8fc;
}

.catalog-banner img {
  width: 100%;
  display: block;
  height: 100%;
  border-radius: 25px;
}

.content-margin h3{
  font-size: 20px;
  margin: 2em 0 1em;
  color: rgb(75, 75, 75);
}

.catalog-products {
  display: grid;
  margin: 0 auto;
  max-width: 100%;
  gap: 40px 30px;
  justify-items: center;
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13vw), 1fr));
}

.product {
  width: 100%;
  background-color: white;
  padding: 1.5em;
  border-radius: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product img{
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 15px;
}

.product h2{font-size: clamp(1em, 1.5vw, 1.5em);}
.product-description h4{color: black;}

.product-description input{
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  font-family: 'Montserrat', sans-serif;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.no-find h3{
  margin: 1em 0 0;
  font-size: clamp(.9em, 1.4vw, 1.3em);
}

.no-find{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
}

.price{
  margin-top: 5px;
  font-weight: bold;
}

.unity{
  color: grey;
  margin: .5em 0 1em;
  display: block;
}

.add-to-btn{
  width: 100%;
  font-weight: bold;
  font-size: 15px;
  display: flex;
  background-color: #303f90;
  color: white;
  align-items: center;
  justify-content: center;
  padding: 0 1em;
  height: 40px;
  border-radius: 12px;
  gap: 0.4em;
  transition: .4s;
  border: 2px solid #303f90;
}

.add-to-btn:hover {
  color: #303f90;
  background-color: rgb(246, 248, 252);
}

.add-to-btn:hover svg{color: #303f90;}

/* Responsive Mode */
@media (max-width: 1920px){
  .catalog-products {grid-template-columns: repeat(auto-fill, minmax(min(100%, 20vw), 1fr));}
}

@media (max-width: 1100px){
  .product img {
    display: block;
    width: 100%;
    margin: 0 auto 15px;
  }
}

@media (max-width: 800px){
  .catalog-products {grid-template-columns: repeat(auto-fill, minmax(min(100%, 45%), 1fr));}
}

@media (max-width: 700px){
  .content-margin {
    padding: 1.5em 1em 3em;
    min-height: auto;
    height: auto;
  }

  .catalog-banner img {border-radius: 15px;}
  .catalog-products {gap: 20px 15px;}
  .product {padding: 0em 1em 1em;}

  .product img {
    height: 150px;
    margin: 0 auto 10px;
  }

  .product-description h4 {font-size: 13px;}
  .price {margin-top: 10px;}
  .unity {margin: 0 0 1em;}

  .add-to-btn {
    height: 30px;
    gap: 0.5em;
    border-radius: 7px;
  }

  .no-find {padding: 1.5em 1em 1em;}
}