body {
  background-color: #eff0e1;
}

.products-page {
  background-color: rgba(255, 255, 255, 0.6);
  font-family: georgia, palatino, "book antiqua", "palatino linotype", serif;
  padding: 30px 20px;
}

.products-page h1 {
  margin-bottom: 30px;
  font-size: 25px;
  color: #706C6C;
  letter-spacing: 0.1em;
  text-align: center;
}

.products-page__sort {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.products-page__sort select {
  border: 1px solid #404041;
  color: #404041;
  font-size: 15px;
  padding: 5px 10px;
  outline: none;
}

.products-page__showcase {
  margin: -10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.products-page__show-more {
  display: flex;
  justify-content: center;
  width: 100%;
}

.products-page__show-more button {
  background-color: white;
  border: 1px solid #9E727D;
  color: #9E727D;
  min-width: 22%;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.products-page__show-more button:hover {
  opacity: 0.7;
}

.products-page__show-more button:focus {
  outline: none;
}

.products-page__item {
  margin: 10px;
  border: 1px solid transparent;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: block;
  max-width: 300px;
}

.products-page__item:hover {
  border: 1px solid black;
}

.products-page__item:hover .products-page__item__quick-view {
  transform: translateY(0);
}

.products-page__item__img-area {
  overflow: hidden;
  position: relative;
}

.products-page__item__new {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 10px;
  color: white;
  font-size: 16px;
  background-color: #A57D6B;
}

.products-page__item__img-area img {
    width: 300px;
    height: 300px;
    object-fit: cover;
} 

.products-page__item__quick-view {
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.products-page__item__quick-view:focus {
  outline: none;
}

.products-page__item__info {
  padding: 15px 25px;
}

.products-page__item__info h2 {
  margin-bottom: 5px;
  color: #404041;
  font-size: 16px;
  font-weight: 400;
}

.products-page__item__info span {
  color: #706C6C;
  font-size: 13px;
}

.products-page__modal {
  position: relative;
  z-index: 10001;
}

.products-page__modal .zoomed-image {
  min-width: 500px;
  min-height: 350px !important;
}

.products-page__modal .product-page__left {
  max-width: unset;
}

.products-page__modal .product-page__right .price {
  display: flex;
  align-items: flex-end;
}

.products-page__modal .product-page__right .price span {
  display: block;
  margin-right: 10px;
}

.products-page__modal .product-page__right .price a {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  opacity: 0.6;
  color: #404041;
  font-size: 12px;
}

.products-page__modal__bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.5;
}

.products-page__modal__card {
  max-width: 100vw;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  z-index: 1;
  background: #EFF0E1;
}

.products-page__modal__card__inner {
  display: flex;
}

.products-page__modal__card__close {
  position: absolute;
  right: 5px;
  top: 0;
  cursor: pointer;
  font-size: 30px;
  color: #a1a1a1;
  font-family: courier;
}

@media (max-width: 960px) {
  .products-page {
    max-width: calc(100% - 20px) !important;
  }

  .products-page__item img {
    max-width: 100%;
  }

  .products-page__item__quick-view {
    display: none;
  }

  .products-page__sort__inner {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .products-page__sort__inner select {
    width: 100%;
    max-width: 400px;
  }
}

