@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;
}
.tovarka_section img {
  max-width: 100%;
  height: 377px;
  width: 100%;
}
.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: 300px;
  height: 580px;
  background: #FFF7E2;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  display: grid;
  grid-gap: 0;
  grid-template-rows: min-content 1fr;
  padding: 0;
  border: 2px solid #ffb01e;
  border-radius: 12px;
}
.product-card .product-img {
  height: 377px;
  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: 73%;
  right: 12px;
  width: 2ch;
  line-height: 130%;
  word-break: break-word;
  flex-direction: column;
  text-align: center;
  text-transform: uppercase;
  padding: 12.15px;
  cursor: pointer;
}
.product-card .open-desc::after {
  content: url(https://cloud.devtome.top/domains/imageclub.com.ua/catalog/img/info.svg);
  display: inline-block;
  margin-top: 5px;
  background-color: #edeae2;
  border-radius: 50px;
}
.close-desc {
  top: 24px;
  right: 24px;
  border-radius: 2px;
  width: 31px;
  height: 31px;
  z-index: 2;
  cursor: pointer;
}
.slider ~ .close-desc {
  top: 10px;
}
.close-desc::after {
  content: url(https://cloud.devtome.top/domains/imageclub.com.ua/catalog/img/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: #ffb01e;
  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-desc{
      position: fixed;
    width: 630px;
    height: 80%;
    top: 10%;
    background-color: #FFF7E2;
    display: flex;
    align-content: center;
    align-items: center;
    padding-left: 80px;
    padding-right: 80px;
    /* margin: auto; */
    left: calc(50% - 315px);
    display: none;
    border-radius: 16px;
}
.product-desc.active {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  z-index: 120;
}
@media screen and (max-width:760px) {
  .product-desc{
     width: calc(100% - 30px);
     left: 0;
     margin-left: 15px;
     margin-right: 15px;
     height: 70%;
     padding-left: 15px;
     padding-right: 15px;
  }
}





.product-card .wrap-price {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.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: 60px;
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
  flex: 2 0 auto;
  width: 90%;
}
/* .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;
} */

.btn-card{
    background: #169C00;
    border-radius: 15px;
    width: 100%;
    height: 50px;
    margin-top: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #FFF7E2;
    border: none;
    outline: none;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.1em;
    cursor: pointer;
}


.product-card .discount-amount div {
  font-weight: bold;
  color: #dd4c36;
}
.product-card .btn-card {
  /* background: url(https://cloud.devtome.top/domains/imageclub.com.ua/catalog/img/pay.svg); */
  background: #169C00;
  border-radius: 15px;
  width: 100%;
  height: 50px;
  margin-top: 15px;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  /* background: #e8372b; */
  text-transform: uppercase;
  color: #FFF7E2;
  border: none;
  outline: none;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.1em;
  cursor: pointer;
  max-width: 148px;
}
.product-card .btn-card:active,
.product-card .btn-card:focus,
.product-card .btn-card:hover {
  background: #107500;
  opacity: 0.9;
  /* background: url(https://cloud.devtome.top/domains/imageclub.com.ua/catalog/img/payh.svg); */
}
.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*/
