.wdes-menu-shortcut-woo-cart {
  display: inline-block;
  margin-left: 15px;

  // Icon
  a.cart-contents {
    position: relative;
    text-decoration: none;

    span.count {
      position: absolute;
      right: -11px;
      top: -8px;
      background: #c51e39;
      color: #fff;
      border-radius: 100%;
      width: 16px;
      height: 16px;
      font-family: var(--text-font);
      font-size: 12px;
      font-weight: 400;
      text-align: center;
      line-height: initial;
      padding-top: 0.5px;
    }

    &:after {
      display: none;
    }
  }

  // Content
  .dropdown-menu {
    background-color: #fff;
    border: 0;
    border-radius: 0;
    min-width: 220px;
    padding: 20px;
    font-family: var(--text-font);
    font-size: 14px;
    color: #7e7e7e;
    font-weight: 400;

    p {
      margin: 0;
      font-family: inherit;
      font-size: inherit;
      font-weight: inherit;
    }

    .product_list_widget {
      li.woocommerce-mini-cart-item.mini_cart_item {
        padding-left: 0;
        padding-right: 2em;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
        padding-bottom: 10px;

        &:last-child {
          border-bottom: 0;
          margin-bottom: 0;
          padding-bottom: 0;
        }

        a {
          font-family: var(--main-font);
          font-size: 13px;
          font-weight: 400;
          text-decoration: none;
        }

        img {
          width: 60px;
          height: 60px;
          object-fit: cover;
        }

        a.remove.remove_from_cart_button {
          right: 0;
          left: initial;
          color: #c51e39;
          font-size: 14px;
          font-weight: 400;
          border: 1px solid #c51e39;
          border-radius: 100%;
          width: 20px;
          height: 20px;
          text-align: center;
          font-family: inherit;
          line-height: initial;
        }
      }
    }

    .woocommerce-mini-cart__total.total {
      border: 0;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #eee;
      margin: 10px 0;
      padding: 10px 0;

      span.woocommerce-Price-amount.amount {
        font-weight: 700;
        color: #242424;
      }
    }

    .woocommerce-mini-cart__buttons {
      a {
        width: 100%;
        text-align: center;
        font-weight: 400;
        font-size: 14px;
        padding: 10px;
        text-transform: uppercase;
      }

      a.checkout {
        background-color: #c51e39;
        margin-top: 0;
      }
    }
  }
}

html[dir="rtl"] .wdes-menu-shortcut-woo-cart {
  margin-left: 0;
  margin-right: 15px;
}

html[dir="rtl"] .wdes-menu-shortcut-woo-cart a.cart-contents span.count {
  right: 11px;
}