/*----------------------------------
 box-post
----------------------------------*/
.box-post {
  background-color: #d2d9e6;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.box-post .header {
  padding: 5px 10px 0 10px;
}

/*----------------------------------
 box-post Name A
----------------------------------*/
.Name-A-box-post p {
  margin-bottom: 5px;
  text-align: center;
}


/*----------------------------------
 box-post thumbnail
----------------------------------*/
.thumbnail-box-post img {
  width: 100%;
  height: auto;
}

/*----------------------------------
 box-post Solid
----------------------------------*/
.Solid-box-post {
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: center;
}

.Solid-box-post .right {
  width: 66.6%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.Solid-box-post .left {
  border-right: 1px #9ea2a7 dashed;
  width: 33.3%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*----------------------------------
 box-post Description
----------------------------------*/
.Description-box-post-up,
.Description-box-post-down {
  width: 100%;
  height: 30%;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.Description-box-post-up p {
  font-size: 13px;
}

.Description-box-post-up span {
  font-family: javan;
  font-size: 23px;
  color: #9b9e00;
}

.Description-box-post-center {
  width: 100%;
  height: 40%;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #E1E6F1;
  color: #5f2b71;
}

.Description-box-post-center h2 {
  font-size: 25px;
  font-family: Plasma;
}

.Description-box-post-down span {
  background-color: #d9db86;
  margin-right: 5px;
  padding: 0 5px;
}

@media screen and (max-width: 310px) {
  .Description-box-post-up span {
    font-size: 19px;
  }

  .Description-box-post-center h2 {
    font-size: 22px;
  }
}

/*----------------------------------
 box-post Support
----------------------------------*/
p.Support-box-post {
  font-size: 20px;
  color: chocolate;
  font-family: javan;
}

/*----------------------------------
 box-post price
----------------------------------*/
span.woocommerce-Price-amount bdi {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}


.box-post p.price-box-post {
  color: #a36e2f;
}

.woocommerce-Price-currencySymbol {
  color: #222f3e;
  font-size: 15px;
}

/*----------------------------------
 box-post cart
----------------------------------*/
.cart-box-post {
  width: 60px;
  height: 70px;
  display: flex;
  flex-direction: column;
}

.cart-box-post .up {
  width: 100%;
  height: 40%;
  border-radius: 3px 3px 0 0;
  background-color: #38b84b;
  border: 1px solid #3fce54;
  border-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-box-post .up i {
  color: #EFF1F5;
  font-size: 18px;
}

.cart-box-post .down {
  width: 100%;
  height: 60%;
  background-color: #3cca52;
  border: 1px solid #3fce54;
  border-radius: 0 0 3px 3px;
  border-top: 0;
}

.cart-box-post .down p {
  font-size: 13px;
  margin-bottom: -7px;
  margin-top: -3px;
  color: #222f3e;
}

.cart-box-post .down span {
  font-size: 15px;
  color: #222f3e;
}

.cart-box-post .up:hover,
.cart-box-post .down:hover {
  opacity: 90%;
}

/*----------------------------------
 تنظیمات مربوط به ON - OFF
----------------------------------*/
@media screen and (min-width: 1024px) {
  .thumbnail-box-post img {
    transition: 0.5s;
  }

  .box-post:hover .thumbnail-box-post img {
    opacity: 0;
  }

  .OFF-box-post {
    transition: 0.4s;
  }

  .box-post:hover .OFF-box-post {
    transform: translate(0, -145px);
  }

  .ON-box-post {
    transition: 0.7s;
    position: absolute;
    width: 100%;
  }

  .box-post:hover .ON-box-post {
    transform: translate(0, -120px);
  }

  .box-post:hover .Name-A-box-post p {
    font-weight: 600;
  }

  .box-post:hover h2.kod-box-post {
    font-weight: 600;
    color: chocolate;
  }
}

@media screen and (max-width: 1023px) {
  .ON-box-post {
    background-color: #e1e6f1;
  }

  .Solid-box-post .left {
    padding-right: 5px;
  }

  .cart-box-post .down p {
    margin-bottom: -10px;
    margin-top: -2px;
  }

  .Description-box-post-center {
    background-color: #e1e6f1;
    color: #513b66;
  }
}

@media screen and (max-width: 799px) {
  .Name-A-box-post p {
    font-weight: 600;
  }

  h2.kod-box-post {
    font-weight: 600;
    color: chocolate;
  }
}