/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#sellpost-fields {
  display: block;
  width: 100%;
  padding: 0 0 0.5rem 0;
  border-bottom: 1px solid #e7edf2;
  margin-bottom: 0.5rem;
}

#sellpost-fields #selling_price_activity {
  display: inline;
  width: unset;
  height: 30px;
}

.sellpost-add-to-cart-button {
  padding: 0;
  width: 180px;
  fill: #fff;
  color: #5561e2;
}

.sellpost-add-to-cart-button:hover {
  fill: #5561e2;
  color: #fff;
}

.sellpost-add-to-cart-button .inactive-label {
  margin: 0.375rem auto;
}

.sellpost-add-to-cart-button .hover-label {
  display: none;
  margin: 0.375rem auto;
}

.sellpost-add-to-cart-button:hover .inactive-label {
  display: none;
}

.sellpost-add-to-cart-button:hover .hover-label {
  display: inline;
}

.selling-posts-header {
  margin: 10px 0;
}

.selling-posts-header form {
  display: flex;
}

.selling-posts-search {
  width: 70%;
}

.selling-posts-per-page {
  width: 30%;
}

.selling-posts-per-page select {
  width: 100%;
}

.selling-posts-list {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 2%;
}

.selling-post-item {
  flex: 1 1 32%;
  flex-direction: column;
  width: 32%;
  max-width: 32%;
  padding: 10px;
  background: #eee;
  border-radius: 20px;
  margin-bottom: 2%;
  overflow: hidden;
}

.page-template-social-full .selling-posts-list {
  gap: 1%;
}

.page-template-social-full .selling-post-item {
  flex: 1 1 24%;
  width: 24%;
  max-width: 24%;
}

@media screen and (max-width: 640px) {
  .selling-posts-list {
    gap: 2%;
  }

  .selling-post-item {
    flex: 1 1 49%;
    width: 49%;
    max-width: 49%;
  }
}

@media screen and (max-width: 480px) {
  .selling-posts-list {
    gap: 0%;
  }

  .selling-post-item {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}

.selling-post-item .rtmedia-activity-container .rtm-activity-media-list {
  max-width: unset;
  margin: 0 !important;
}

.selling-post-item-header {
  max-height: 210px;
  height: 210px;
  margin: -10px -10px 5px -10px;
  overflow: hidden;
}

.selling-post-item-header img {
  width: 100%;
}

.selling-post-item-body {
  height: 80px;
  overflow: hidden;
}

.selling-post-item-footer {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.bp-user .selling-post-item-footer {
  display: block;
  margin-bottom: 0;
}

.selling-post-seller {
  width: 70%;
  text-wrap: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.selling-post-seller .avatar {
  width: 40px;
}

.sellpost-add-to-cart-btn {
  display: block;
  width: 100%;
}

.selling-post-price {
  width: 30%;
  text-align: right;
  font-weight: bolder;
}

.bp-user .selling-post-price {
  width: 100%;
  text-align: right;
  font-weight: bolder;
}

.cart-header {
  text-align: right;
  margin-bottom: 20px;
}

.cart-seller-info {}

.cart-seller-info .avatar {
  max-width: 50px;
}

.cart-product-table {
  table-layout: fixed;
}

.cart-product-table .cart-product-header {
  width: 4%;
  vertical-align: middle;
}

/* .cart-product-table .cart-product-header input[type="checkbox"] {
  width: 100%;
  height: initial;
  aspect-ratio: 1;
}
.cart-product-table .cart-product-header input[type="checkbox"]:checked::after {
  animation: unset !important;
} */

.select_all_by_seller:indeterminate::before {
  content: "\ead3";
  font-family: "unicons";
  font-weight: 600;
  border-color: #5561e2;
  box-shadow: 0 6px 10px -2px rgba(58, 46, 68, 0.1);
  display: inline-block;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cart-product-table .cart-product-image {
  width: 26%;
}

.cart-product-table .cart-product-body {
  width: 50%;
}

.cart-product-table .cart-product-price {
  width: 20%;
  text-align: right;
}

.cart-total-label {
  width: 80%;
  text-align: right;
}

.cart-total-value {
  width: 20%;
  text-align: right;
  font-weight: bold;
}

.cart-total-value-token.loading {
  animation: blink 1s infinite both;
}

#payment-token {
  display: inline-block;
}

.cart-checkout-wrapper {
  text-align: right;
}

#cart-checkout {
  width: 240px;
  background: #505cdd;
  border-color: #505cdd;
}

#cart-checkout.loading {
  background: linear-gradient(270deg, #505cdd, #5561e2);
  background-size: 400% 400%;
  animation: movingBG 1s infinite both;
}

.bp-navs.single-screen-navs ul li#selling-posts-personal-li a::before {
  content: "\eb73";
}

@keyframes blink {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

@keyframes movingBG {

  0%,
  100% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 0% 50%;
  }
}

.selling-posts-pagination {
  text-align: center;
}

#cart-checkout-warning-prompt {
  color: var(--orange);
  font-weight: bold;
}

#cart-checkout-error-prompt {
  color: var(--red);
  font-weight: bold;
}

.pending-review-list-wrapper {
  padding: 10px;
  margin: 10px 0;
  background: #eee;
  border-radius: 8px;
  /*  */
}

.pending-review {
  display: flex;
}

.pending-review-column {
  flex: 1;
  width: 50%;
}

.pending-review .review-seller img,
.reviews-recent-card .review-recent-buyer img {
  max-width: 40px;
}

.pending-review .review-products,
.reviews-recent-card .review-products {
  margin-top: 5px;
}

.pending-review .review-products .review-product,
.reviews-recent-card .review-products .review-product {
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin-right: -40px;
  padding: 5px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 20%;
  background: #fff;
  text-align: center;
  align-content: center;
}

.pending-review .review-products .review-produc img,
.reviews-recent-card .review-products .review-product img {
  aspect-ratio: 1;
  border-radius: 20%;
  overflow: hidden;
}

.pending-review .review-purchase-amount,
.pending-review .review-purchase-trx-hash {
  text-align: right;
}

.pending-review .review-form .review-form-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.pending-review .review-form .review-form-rating input {
  display: none !important;
}

.pending-review .review-form .review-form-rating label {
  font-size: 24px;
  cursor: pointer;
}

.pending-review .review-form .review-form-rating label:hover,
.pending-review .review-form .review-form-rating label:hover~label {
  color: orange;
}

.pending-review .review-form .review-form-rating input:checked~label {
  color: orange;
}

.pending-review .review-form .review-form-submit {
  display: flex;
  text-align: right;
}

@media screen and (max-width: 640px) {
  .pending-review .review-form .review-form-submit {
    display: block;
  }

  .pending-review .review-form .review-form-submit button {
    width: 100%;
  }
}

.more-pending-review {
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 40px;
}

.reviews {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 10px 0;
}

.reviews-rating {
  display: flex;
}

.reviews-rating-score {
  width: 50%;
}

.reviews-rating-score h5 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.reviews-rating-score .reviews-rating-star.checked,
.reviews-recent-card .review-recent-buyer .reviews-rating-star.checked {
  color: orange;
}

.reviews-recent {
  width: 50%;
}

.reviews-recent-card {
  display: flex;
}

.review-recent-buyer {
  align-content: center;
  margin-right: 10px;
}

.review-recent-text {
  width: 50%;
  align-content: center;
}

.bp-messages-content #bp-message-thread-list .message-metadata {
  position: relative;
}

.bp-messages-hook.before-message-meta {
  position: absolute;
  top: 0;
}

.bp-messages-hook.before-message-meta .bp-verified-badge {
  position: absolute;
  top: 15px;
  left: 15px;
}

.selling-post-item-footer-btn-wrapper {
  display: flex;
}

.selling-post-item-footer-btn-wrapper .button,
.selling-post-item-footer-btn-wrapper button {
  flex: 1;
}