@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
body {
  font-family: 'Roboto', sans-serif;
}

/* START FRAMEWORK CSS*/
a {
  text-decoration: none;
  color: initial;
}
a:focus {
  outline: none;
}
a:active {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
.sm-in-block {
  display: inline-block;
}
.sm-container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.sm-container::before,
.sm-container::after {
  content: '';
  display: table;
  clear: both;
}
.sm-content {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.sm-flex-container {
  display: flex;
  flex-wrap: wrap;
}
.sm-flex {
  display: flex;
}
.sm-flex-middle {
  align-items: center;
}
.sm-flex-center {
  justify-content: center;
}
.sm-flex-between {
  justify-content: space-between;
}
.sm-relative {
  position: relative;
}
.sm-absolute {
  position: absolute;
}
.sm-right-bottom {
  right: 0;
  bottom: 0;
}
.sm-left-bottom {
  left: 0;
  bottom: 0;
}
.sm-text-center {
  text-align: center;
}
/* END FRAMEWORK CSS */

/* START CATALOG V2*/
.product-card {
  position: relative;
  overflow: hidden;
  width: 290px;
  height: 515px;
  background: #fff;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  display: grid;
  grid-gap: 0;
  grid-template-rows: min-content 1fr;
  padding: 0;
}
.product-card .product-img {
  height: 305px;
  overflow: hidden;
}
.product-card .new-title {
  width: 98px;
  height: 28px;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background: #e8372b;
  border-radius: 0px 0px 4px 4px;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: #fff;
}
.product-card .open-desc {
  top: 34%;
  right: 12px;
  width: 2ch;
  line-height: 130%;
  word-break: break-word;
  flex-direction: column;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  color: #000;
  padding: 12.15px;
  background: #efe8e7;
  cursor: pointer;
}
.product-card .open-desc::after {
  content: url(https://cloud.devtome.top/domains/prizeme.com.ua/catalog/open.svg);
  display: inline-block;
  margin-top: 5px;
}
.product-card .close-desc {
  top: 40%;
  right: 10px;
  background: #eadbd9;
  border-radius: 2px;
  width: 31px;
  height: 31px;
  z-index: 2;
  cursor: pointer;
}
.slider ~ .close-desc {
  top: 10px;
}
.product-card .close-desc::after {
  content: url(https://cloud.devtome.top/domains/prizeme.com.ua/catalog/close.svg);
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.product-card .product-desc {
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: #efe8e7;
  color: #000;
  font-size: 16px;
  line-height: 130%;
  right: 0;
  transition: 0.5s ease;
  z-index: 10;
}
.product-card .product-desc .wrap-text {
  max-width: 250px;
  padding: 10px;
}
.product-card .product-desc .wrap-text ul {
  padding-left: 20px;
  margin-bottom: 0;
}
.product-card .active-desc {
  width: 100%;
  left: 0;
}
.product-card .wrap-price {
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.product-card .code-product {
  color: #6f6f6f;
  font-size: 11px;
  line-height: 22px;
}
.product-card .code-product span {
  font-weight: 500;
}
.product-card .name-product {
  min-height: 40px;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: #000;
  text-align: left;
  flex: 2 0 auto;
}
.product-card .old-amount {
  color: #6f6f6f;
  text-decoration: line-through;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
}
.product-card .discount-amount,
.product-card .new-amount {
  color: #000;
  font-size: 17px;
  line-height: 20px;
  font-weight: 500;
}
.product-card .discount-amount div {
  font-weight: bold;
  color: #dd4c36;
}
.product-card .btn-card {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  background: #e8372b;
  text-transform: uppercase;
  color: #fff;
  border: none;
  outline: none;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.product-card .btn-card:active,
.product-card .btn-card:focus,
.product-card .btn-card:hover {
  background: #d50c30;
}
.product-card .slide_num_nav {
  top: unset;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-align: center;
  background: #eadbd9;
  border-radius: 2px;
  width: 31px;
  height: 31px;
}
.product-card .product-desc-1 {
  background: #efe8e7;
  font-size: 12px;
  padding: 10px 40px 10px 10px;
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
  line-height: 15.6px;
  user-select: none;
}
.product-card .slide_nav {
  background: #ffe3da;
}
.product-card .slide_nav > span {
  background: #ecbfb1;
}

.loader {
  grid-column: 1 / -1;
  margin: 50px auto;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #eb4141;
  box-shadow: 32px 0 #eb4141, -32px 0 #eb4141;
  position: relative;
  animation: flash 0.3s ease-in infinite alternate;
}
.loader::before,
.loader::after {
  content: '';
  position: absolute;
  left: -64px;
  top: 0;
  background: #eb4141;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform-origin: 35px -35px;
  transform: rotate(45deg);
  animation: hitL 0.3s ease-in infinite alternate;
}

.loader::after {
  left: 64px;
  transform: rotate(-45deg);
  transform-origin: -35px -35px;
  animation: hitR 0.3s ease-out infinite alternate;
}

@keyframes flash {
  0%,
  100% {
    background-color: rgba(235, 65, 65, 0.25);
    box-shadow: 32px 0 rgba(235, 65, 65, 0.25), -32px 0 rgba(235, 65, 65, 0.25);
  }
  25% {
    background-color: rgba(235, 65, 65, 0.25);
    box-shadow: 32px 0 rgba(235, 65, 65, 0.25), -32px 0 rgb(235, 65, 65);
  }
  50% {
    background-color: rgb(235, 65, 65);
    box-shadow: 32px 0 rgba(235, 65, 65, 0.25), -32px 0 rgba(235, 65, 65, 0.25);
  }
  75% {
    background-color: rgba(235, 65, 65, 0.25);
    box-shadow: 32px 0 rgb(235, 65, 65), -32px 0 rgba(235, 65, 65, 0.25);
  }
}

@keyframes hitL {
  0% {
    transform: rotate(45deg);
    background-color: rgb(235, 65, 65);
  }
  25%,
  100% {
    transform: rotate(0deg);
    background-color: rgba(235, 65, 65, 0.25);
  }
}

@keyframes hitR {
  0%,
  75% {
    transform: rotate(0deg);
    background-color: rgba(235, 65, 65, 0.25);
  }
  100% {
    transform: rotate(-45deg);
    background-color: rgb(235, 65, 65);
  }
}
/* END CATALOG V2*/
