input {
  border-radius: 5px;
}

textarea {
  border-radius: 5px;
}

select {
  border-radius: 5px;
}

.products-product-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.products-product-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90vw;
  min-width: 370px;
  margin: 7px;
  padding: 5px;
}

.products-product-card-name h3 {
  text-align: center;
}

.products-product-card-description p {
  text-align: center;
}

.products-product-card-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.products-product-card-store-link {
  display: block;
}

.products-product-card-links {
  margin: 10px;
}

.products-product-card-links
  > .products-product-card-store-link:not(:first-child) {
  margin: 0 15px;
}

.products-product-card-feedback-button {
  background-color: transparent;
  color: var(--color);
  border: none;
  text-decoration: underline;
}

.products-product-card-feedback-button:hover {
  cursor: pointer;
}

.products-product-card-content {
  overflow-y: auto;
}

.products-product-card-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.products-product-card-image {
  max-width: min(45vw, 400px);
  max-height: min(calc(45vw - 100px), 300px);
}

.products-review-form {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 3fr;
  margin: 5px;
}

.products-review-form > div {
  margin: 5px;
}

.products-review-form-selects {
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.products-review-form-input-div > * {
  display: block;
}

.products-review-form-input-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  /*align-items: center;*/
}

.products-review-form textarea {
  font-family: monospace;
  resize: none;
}

.products-review-form input,
.products-review-form textarea,
.products-review-form select {
  width: 90%;
  /*width: 100ch;*/
  border: none;
  padding: 5px;
  margin: 5px 0px;
}

.products-review-input {
  background-color: var(--input-background-color);
}

.products-review-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.products-review-button {
  display: block;
  margin: 10px 20px;
  font-size: 1.2rem;
  background-color: transparent;
}

.products-review-error-resp {
  font-size: 18px;
  color: red;
  text-align: center;
}

/*
.products-review-clear-button {}
.products-review-submit-button {}
*/

@media (min-width: 780px) {
  .products-product-card {
    width: 45vw;
    aspect-ratio: 1;
    /*overflow: scroll;*/
    overflow: auto;
    max-width: 400px;
  }
}

/*
@media (min-width: 1560px) {
  .products-product-card {
    width: 45vw;
    aspect-ratio: 1;
    overflow: scroll;
  }
}
*/
