.card__link:hover {
  text-decoration: none;
}

.card__img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card__img img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: block;
  width: 100%;
}

.card__descr {
  min-height: 50px;
  margin-top: 10px;
  font-size: 18px;
  color: #333;
}

.pagination-catalog {
  display: table;
  margin: 0 auto;
}

.product .title {
  margin: 0;
}

.product .titleOrig {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #999;
}

.product .main {
  margin-top: 20px;
}

.product__info {
  display: table;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.product__info li {
  display: table-row;
}

.product__info li:not(:last-of-type) {
  border-bottom: 1px solid #999;
}

.product__info li span {
  display: table-cell;
  width: 50%;
  padding: 10px;
}

.product__info li span:first-child {
  font-weight: 700;
}

.poster {
  margin: 0 auto;
}

.poster img {
  display: block;
  width: 100%;
}

.product__assets {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 50%;
      -ms-flex: 1 1 50%;
          flex: 1 1 50%;
  padding: 0 15px;
}

.product__assets .btn {
  display: block;
  min-width: 150px;
  margin: 0 auto;
}

.main .tns-outer {
  width: 100%;
  max-width: 250px;
  margin: 0 auto 20px;
}

.screenshots {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.screenshots li {
  max-width: 100%;
}

.screenshots li img {
  display: block;
  width: 100%;
}

.description {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.3;
}

.prices {
  width: 100%;
  font-size: 14px;
}

.prices th {
  width: 50%;
  padding: 10px;
  font-weight: 700;
  background: #ccc;
}

.prices td {
  padding: 10px;
  font-size: 14px;
  border-top: 1px solid #999;
}

.prices .price {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
          align-items: center;
}

.prices .price button {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
          align-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 0;
  background: none;
  border: none;
  -webkit-border-radius: 50%;
          border-radius: 50%;
  cursor: pointer;
}

.prices .price button:hover {
  background: #ccc;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
          align-items: center;
  background: rgba(0, 0, 0, .5);
  z-index: 10;
  opacity: 1;
  pointer-events: auto;
  -webkit-user-select: auto;
     -moz-user-select: auto;
      -ms-user-select: auto;
          user-select: auto;
  -webkit-transition: opacity .2s ease-in-out;
          transition: opacity .2s ease-in-out;
}

.overlay._hidden {
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.modal {
  position: static;
  display: block;
  width: 100%;
  max-width: 500px;
  padding: 10px;
  background: #fff;
  -webkit-border-radius: 5px;
          border-radius: 5px;
}

.modal__close {
  position: relative;
  display: block;
  margin-left: auto;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.modal__close::before,
.modal__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #222;
}

.modal__close::before {
  -webkit-transform: translateY(-50%) rotate(45deg);
      -ms-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}

.modal__close::after {
  -webkit-transform: translateY(-50%) rotate(-45deg);
      -ms-transform: translateY(-50%) rotate(-45deg);
          transform: translateY(-50%) rotate(-45deg);
}

.modal__content {
  margin-top: 10px;
}

.preloader {
  fill: #222;
  display: block;
  width: 100px;
  height: 100px;
}

@media screen and (max-width: 768px) {
  .product .title {
    font-size: 24px;
  }

  .product .titleOrig {
    margin-top: 5px;
  }

  .poster .btn {
    display: block;
    margin: 20px auto 0;
  }

  .product__info {
    display: block;
    font-size: 12px;
    padding-right: 15px;
  }

  .product__info li {
    display: block;
    padding: 5px;
  }

  .product__info li span {
    display: inline-block;
    vertical-align: top;
    width: auto;
    padding: 0;
  }

  .product__info li span.data {
    margin-left: 5px;
  }

  .product__assets {
    margin: 20px auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
